!function(){function e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(c){s=!0,i=c}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}(e,t)||i(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||i(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=i(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw a}}}}function i(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function a(e,t,n){return(a=m()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&u(i,n.prototype),i}).apply(null,arguments)}function s(){return(s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=c(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}}).apply(this,arguments)}function c(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=p(e)););return e}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e){var t=m();return function(){var n,r=p(e);if(t){var i=p(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return h(this,n)}}function h(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return f(e)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t,n){return t&&g(e.prototype,t),n&&g(e,n),e}(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"+5jU":function(e,t,n){var r=n("HMbd");e.exports=function(e,t){var n=Number(t);return r(e,-n)}},"+6+2":function(e,t,n){var r=n("yNUO");e.exports=function(e){var t=r(e);return t.setMinutes(0,0,0),t}},"+f+M":function(e,t,n){var r=n("iWRJ");e.exports=function(e,t){return r(e)-r(t)}},"+nbD":function(e,t,n){var r=n("yNUO"),i=n("iUbB"),o=n("hLnY");e.exports=function(e,t){var n=r(e),a=Number(t),s=o(n);return i(n,a-s)}},"+zZ+":function(e,t,n){var r=n("uPm0"),i=n("yNUO");e.exports=function(e,t){var n=i(e),o=i(t);return 4*(n.getFullYear()-o.getFullYear())+(r(n)-r(o))}},"//w5":function(e,t,n){e.exports=function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){e.exports=n(1)},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"mm dd yyyy",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=t.minYear,o=void 0===i?1:i,a=t.maxYear,s=void 0===a?9999:a,c=e.split(/[^dmyHMS]+/).sort((function(e,t){return r.indexOf(e)-r.indexOf(t)}));return function(t){var r=[],i={dd:31,mm:12,yy:99,yyyy:s,HH:23,MM:59,SS:59},a={dd:1,mm:1,yy:0,yyyy:o,HH:0,MM:0,SS:0},l=t.split("");c.forEach((function(t){var n=e.indexOf(t),o=parseInt(i[t].toString().substr(0,1),10);parseInt(l[n],10)>o&&(l[n+1]=l[n],l[n]=0,r.push(n))}));var u=0;return!c.some((function(r){var c=e.indexOf(r),l=r.length,d=t.substr(c,l).replace(/\D/g,""),h=parseInt(d,10);"mm"===r&&(u=h||0);var f="dd"===r?n[u]:i[r];if("yyyy"===r&&(1!==o||9999!==s)){var m=parseInt(i[r].toString().substring(0,d.length),10);return h<parseInt(a[r].toString().substring(0,d.length),10)||h>m}return h>f||d.length===l&&h<a[r]}))&&{value:l.join(""),indexesOfPipedChars:r}}};var n=[31,31,29,31,30,31,30,31,31,30,31,30,31],r=["yyyy","yy","mm","dd","HH","MM","SS"]}])},"/LN1":function(e,t,n){var r=n("ZmXw");e.exports=function(e,t){var n=Number(t);return r(e,12*n)}},"/Tkk":function(e,t,n){var r=n("CXhC");e.exports=function(e,t){var n=r(e),i=r(t);return n.getTime()===i.getTime()}},0:function(e,t,n){e.exports=n("zUnb")},"0u2M":function(e,t,n){var r=n("54Wo");e.exports=function(e,t){var n=r(e,t)/36e5;return n>0?Math.floor(n):Math.ceil(n)}},1:function(e,t){},"1CCG":function(e,t,n){var r=n("CXhC");e.exports=function(e,t){var n=r(e),i=r(t),o=n.getTime()-6e4*n.getTimezoneOffset(),a=i.getTime()-6e4*i.getTimezoneOffset();return Math.round((o-a)/864e5)}},"1HMO":function(e,t,n){var r=n("yNUO");e.exports=function(e,t){var n=r(e),i=Number(t);return n.setMilliseconds(i),n}},"1K6H":function(e,t,n){var r=n("9d03");e.exports=function(e,t){var n=Number(t);return r(e,-n)}},"1vin":function(e,t,n){var r=n("yNUO");e.exports=function(e){var t=r(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}},2:function(e,t){},"2QA8":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},"2XXS":function(e,t,n){var r=n("yNUO");e.exports=function(e){var t=r(e),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(23,59,59,999),t}},"2fFW":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=!1,i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){var t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else r&&console.log("RxJS: Back to a better error behavior. Thank you. <3");r=e},get useDeprecatedSynchronousErrorHandling(){return r}}},"3d+l":function(e,t,n){var r=n("rMQs");e.exports=function(e){return r(e)?366:365}},"3hPP":function(e,t,n){var r=n("iWRJ"),i=n("tMf1");e.exports=function(e){var t=r(e),n=new Date(0);n.setFullYear(t+1,0,4),n.setHours(0,0,0,0);var o=i(n);return o.setDate(o.getDate()-1),o}},"3zVU":function(e,t,n){var r=n("J6Hf");e.exports=function(e,t){var n=Number(t);return r(e,-n)}},"4Toj":function(e,t,n){var r=n("54Wo");e.exports=function(e,t){var n=r(e,t)/1e3;return n>0?Math.floor(n):Math.ceil(n)}},"4coB":function(e,t,n){var r=n("eoPS");e.exports=function(e,t){var n=Number(t);return r(e,-n)}},"4v8u":function(e,t,n){var r=n("iUbB");e.exports=function(e,t){var n=Number(t);return r(e,-n)}},"5+tZ":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("lJxs"),i=n("Cfvw"),o=n("zx2A");function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof t?function(o){return o.pipe(a((function(n,o){return Object(i.a)(e(n,o)).pipe(Object(r.a)((function(e,r){return t(n,e,o,r)})))}),n))}:("number"==typeof t&&(n=t),function(t){return t.lift(new s(e,n))})}var s=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;v(this,e),this.project=t,this.concurrent=n}return y(e,[{key:"call",value:function(e,t){return t.subscribe(new c(e,this.project,this.concurrent))}}]),e}(),c=function(e){l(n,e);var t=d(n);function n(e,r){var i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return v(this,n),(i=t.call(this,e)).project=r,i.concurrent=o,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return y(n,[{key:"_next",value:function(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}},{key:"_tryNext",value:function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(t)}},{key:"_innerSub",value:function(e){var t=new o.a(this),n=this.destination;n.add(t);var r=Object(o.c)(e,t);r!==t&&n.add(r)}},{key:"_complete",value:function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}},{key:"notifyNext",value:function(e){this.destination.next(e)}},{key:"notifyComplete",value:function(){var e=this.buffer;this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),n}(o.b)},"54Wo":function(e,t,n){var r=n("yNUO");e.exports=function(e,t){var n=r(e),i=r(t);return n.getTime()-i.getTime()}},"5R0t":function(e,t){e.exports=function(){var e=new Date,t=e.getFullYear(),n=e.getMonth(),r=e.getDate(),i=new Date(0);return i.setFullYear(t,n,r-1),i.setHours(23,59,59,999),i}},"5iAy":function(e,t,n){var r=n("xq5I");e.exports=function(e){return r(new Date,e)}},"5z3u":function(e,t,n){var r=n("yNUO"),i=n("gfz1");e.exports=function(e,t){var n=r(e),o=Number(t),a=i(n)-o;return n.setDate(n.getDate()-7*a),n}},"6DAA":function(e,t,n){var r=n("kOWh");e.exports=function(){var e=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],t=["January","February","March","April","May","June","July","August","September","October","November","December"],n=["Su","Mo","Tu","We","Th","Fr","Sa"],i=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],o=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],a=["AM","PM"],s=["am","pm"],c=["a.m.","p.m."],l={MMM:function(t){return e[t.getMonth()]},MMMM:function(e){return t[e.getMonth()]},dd:function(e){return n[e.getDay()]},ddd:function(e){return i[e.getDay()]},dddd:function(e){return o[e.getDay()]},A:function(e){return e.getHours()/12>=1?a[1]:a[0]},a:function(e){return e.getHours()/12>=1?s[1]:s[0]},aa:function(e){return e.getHours()/12>=1?c[1]:c[0]}};return["M","D","DDD","d","Q","W"].forEach((function(e){l[e+"o"]=function(t,n){return function(e){var t=e%100;if(t>20||t<10)switch(t%10){case 1:return e+"st";case 2:return e+"nd";case 3:return e+"rd"}return e+"th"}(n[e](t))}})),{formatters:l,formattingTokensRegExp:r(l)}}},"6WtA":function(e,t,n){var r=n("yNUO");e.exports=function(e){var t=r(e);return t.setSeconds(0,0),t}},"6qX0":function(e,t,n){var r=n("yNUO");e.exports=function(e,t,n,i){var o=r(e).getTime(),a=r(t).getTime(),s=r(n).getTime(),c=r(i).getTime();if(o>a||s>c)throw new Error("The start of the range cannot be after the end of the range");return o<c&&s<a}},"7B8A":function(e,t,n){var r=n("yNUO");e.exports=function(e,t){var n=r(e).getTime(),i=Number(t);return new Date(n+i)}},"7KIa":function(e,t,n){var r=n("yNUO");e.exports=function(e){var t=r(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(0,0,0,0),t}},"7o/Q":function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var r=n("n6bG"),i=n("gRHU"),o=n("quSY"),a=n("2QA8"),c=n("2fFW"),u=n("NJ4a"),h=function(e,t){l(r,e);var n=d(r);function r(e,t,o){var a;switch(v(this,r),(a=n.call(this)).syncErrorValue=null,a.syncErrorThrown=!1,a.syncErrorThrowable=!1,a.isStopped=!1,arguments.length){case 0:a.destination=i.a;break;case 1:if(!e){a.destination=i.a;break}if("object"==typeof e){e instanceof r?(a.syncErrorThrowable=e.syncErrorThrowable,a.destination=e,e.add(f(a))):(a.syncErrorThrowable=!0,a.destination=new m(f(a),e));break}default:a.syncErrorThrowable=!0,a.destination=new m(f(a),e,t,o)}return a}return y(r,[{key:t,value:function(){return this}},{key:"next",value:function(e){this.isStopped||this._next(e)}},{key:"error",value:function(e){this.isStopped||(this.isStopped=!0,this._error(e))}},{key:"complete",value:function(){this.isStopped||(this.isStopped=!0,this._complete())}},{key:"unsubscribe",value:function(){this.closed||(this.isStopped=!0,s(p(r.prototype),"unsubscribe",this).call(this))}},{key:"_next",value:function(e){this.destination.next(e)}},{key:"_error",value:function(e){this.destination.error(e),this.unsubscribe()}},{key:"_complete",value:function(){this.destination.complete(),this.unsubscribe()}},{key:"_unsubscribeAndRecycle",value:function(){var e=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}],[{key:"create",value:function(e,t,n){var i=new r(e,t,n);return i.syncErrorThrowable=!1,i}}]),r}(o.a,a.a),m=function(e){l(n,e);var t=d(n);function n(e,o,a,s){var c,l;v(this,n),(c=t.call(this))._parentSubscriber=e;var u=f(c);return Object(r.a)(o)?l=o:o&&(l=o.next,a=o.error,s=o.complete,o!==i.a&&(u=Object.create(o),Object(r.a)(u.unsubscribe)&&c.add(u.unsubscribe.bind(u)),u.unsubscribe=c.unsubscribe.bind(f(c)))),c._context=u,c._next=l,c._error=a,c._complete=s,c}return y(n,[{key:"next",value:function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;c.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}},{key:"error",value:function(e){if(!this.isStopped){var t=this._parentSubscriber,n=c.a.useDeprecatedSynchronousErrorHandling;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):Object(u.a)(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;Object(u.a)(e)}}}},{key:"complete",value:function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var n=function(){return e._complete.call(e._context)};c.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}}},{key:"__tryOrUnsub",value:function(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),c.a.useDeprecatedSynchronousErrorHandling)throw n;Object(u.a)(n)}}},{key:"__tryOrSetError",value:function(e,t,n){if(!c.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return c.a.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(Object(u.a)(r),!0)}return!1}},{key:"_unsubscribe",value:function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}]),n}(h)},"7pFD":function(e,t,n){var r=n("O8cK");e.exports=function(e,t){var n=r(e,t)/7;return n>0?Math.floor(n):Math.ceil(n)}},"8Y7J":function(e,i,o){"use strict";o.r(i),o.d(i,"ANALYZE_FOR_ENTRY_COMPONENTS",(function(){return Vs})),o.d(i,"APP_BOOTSTRAP_LISTENER",(function(){return ug})),o.d(i,"APP_ID",(function(){return ig})),o.d(i,"APP_INITIALIZER",(function(){return ng})),o.d(i,"ApplicationInitStatus",(function(){return rg})),o.d(i,"ApplicationModule",(function(){return Yy})),o.d(i,"ApplicationRef",(function(){return sy})),o.d(i,"Attribute",(function(){return H})),o.d(i,"COMPILER_OPTIONS",(function(){return Ag})),o.d(i,"CUSTOM_ELEMENTS_SCHEMA",(function(){return xr})),o.d(i,"ChangeDetectionStrategy",(function(){return Qe})),o.d(i,"ChangeDetectorRef",(function(){return Ra})),o.d(i,"Compiler",(function(){return Tg})),o.d(i,"CompilerFactory",(function(){return Pg})),o.d(i,"Component",(function(){return Uv})),o.d(i,"ComponentFactory",(function(){return Sh})),o.d(i,"ComponentFactoryResolver",(function(){return xh})),o.d(i,"ComponentRef",(function(){return wh})),o.d(i,"ContentChild",(function(){return Hs})),o.d(i,"ContentChildren",(function(){return Us})),o.d(i,"DEFAULT_CURRENCY_CODE",(function(){return mg})),o.d(i,"DebugElement",(function(){return Vy})),o.d(i,"DebugEventListener",(function(){return ky})),o.d(i,"DebugNode",(function(){return Ly})),o.d(i,"DefaultIterableDiffer",(function(){return Gh})),o.d(i,"Directive",(function(){return Bv})),o.d(i,"ElementRef",(function(){return Ah})),o.d(i,"EmbeddedViewRef",(function(){return by})),o.d(i,"ErrorHandler",(function(){return Ir})),o.d(i,"EventEmitter",(function(){return Fp})),o.d(i,"Host",(function(){return B})),o.d(i,"HostBinding",(function(){return Kv})),o.d(i,"HostListener",(function(){return zv})),o.d(i,"INJECTOR",(function(){return Ee})),o.d(i,"Inject",(function(){return j})),o.d(i,"InjectFlags",(function(){return G})),o.d(i,"Injectable",(function(){return $a})),o.d(i,"InjectionToken",(function(){return _e})),o.d(i,"Injector",(function(){return ys})),o.d(i,"Input",(function(){return Gv})),o.d(i,"IterableDiffers",(function(){return Qh})),o.d(i,"KeyValueDiffers",(function(){return Xh})),o.d(i,"LOCALE_ID",(function(){return fg})),o.d(i,"MissingTranslationStrategy",(function(){return gg})),o.d(i,"ModuleWithComponentFactories",(function(){return kg})),o.d(i,"NO_ERRORS_SCHEMA",(function(){return Or})),o.d(i,"NgModule",(function(){return $v})),o.d(i,"NgModuleFactory",(function(){return Ue})),o.d(i,"NgModuleFactoryLoader",(function(){return ly})),o.d(i,"NgModuleRef",(function(){return Be})),o.d(i,"NgProbeToken",(function(){return Xg})),o.d(i,"NgZone",(function(){return Mg})),o.d(i,"Optional",(function(){return F})),o.d(i,"Output",(function(){return qv})),o.d(i,"PACKAGE_ROOT_URL",(function(){return dg})),o.d(i,"PLATFORM_ID",(function(){return lg})),o.d(i,"PLATFORM_INITIALIZER",(function(){return cg})),o.d(i,"Pipe",(function(){return Hv})),o.d(i,"PlatformRef",(function(){return iy})),o.d(i,"Query",(function(){return Bs})),o.d(i,"QueryList",(function(){return Vp})),o.d(i,"ReflectiveInjector",(function(){return Fs})),o.d(i,"ReflectiveKey",(function(){return Ss})),o.d(i,"Renderer2",(function(){return Nh})),o.d(i,"RendererFactory2",(function(){return Rh})),o.d(i,"RendererStyleFlags2",(function(){return Mh})),o.d(i,"ResolvedReflectiveFactory",(function(){return Ts})),o.d(i,"Sanitizer",(function(){return Lh})),o.d(i,"SecurityContext",(function(){return yi})),o.d(i,"Self",(function(){return L})),o.d(i,"SimpleChange",(function(){return Nt})),o.d(i,"SkipSelf",(function(){return V})),o.d(i,"SystemJsNgModuleLoader",(function(){return vy})),o.d(i,"SystemJsNgModuleLoaderConfig",(function(){return my})),o.d(i,"TRANSLATIONS",(function(){return pg})),o.d(i,"TRANSLATIONS_FORMAT",(function(){return vg})),o.d(i,"TemplateRef",(function(){return nf})),o.d(i,"Testability",(function(){return Hg})),o.d(i,"TestabilityRegistry",(function(){return Gg})),o.d(i,"Type",(function(){return ja})),o.d(i,"VERSION",(function(){return Bh})),o.d(i,"Version",(function(){return Vh})),o.d(i,"ViewChild",(function(){return qs})),o.d(i,"ViewChildren",(function(){return Gs})),o.d(i,"ViewContainerRef",(function(){return af})),o.d(i,"ViewEncapsulation",(function(){return tt})),o.d(i,"ViewRef",(function(){return yy})),o.d(i,"WrappedValue",(function(){return Rc})),o.d(i,"asNativeElements",(function(){return Sy})),o.d(i,"assertPlatform",(function(){return ty})),o.d(i,"createPlatform",(function(){return $g})),o.d(i,"createPlatformFactory",(function(){return ey})),o.d(i,"defineInjectable",(function(){return Y})),o.d(i,"destroyPlatform",(function(){return ny})),o.d(i,"enableProdMode",(function(){return zr})),o.d(i,"forwardRef",(function(){return ae})),o.d(i,"getDebugNode",(function(){return My})),o.d(i,"getModuleFactory",(function(){return hy})),o.d(i,"getPlatform",(function(){return ry})),o.d(i,"inject",(function(){return Ne})),o.d(i,"isDevMode",(function(){return Kr})),o.d(i,"platformCore",(function(){return By})),o.d(i,"resolveForwardRef",(function(){return se})),o.d(i,"setTestabilityGetter",(function(){return qg})),o.d(i,"\u02750",(function(){return N})),o.d(i,"\u02751",(function(){return U})),o.d(i,"\u0275ALLOW_MULTIPLE_PLATFORMS",(function(){return Qg})),o.d(i,"\u0275APP_ID_RANDOM_PROVIDER",(function(){return ag})),o.d(i,"\u0275ChangeDetectorStatus",(function(){return Xe})),o.d(i,"\u0275CodegenComponentFactoryResolver",(function(){return Oh})),o.d(i,"\u0275Compiler_compileModuleAndAllComponentsAsync__POST_R3__",(function(){return xg})),o.d(i,"\u0275Compiler_compileModuleAndAllComponentsSync__POST_R3__",(function(){return Eg})),o.d(i,"\u0275Compiler_compileModuleAsync__POST_R3__",(function(){return Sg})),o.d(i,"\u0275Compiler_compileModuleSync__POST_R3__",(function(){return Cg})),o.d(i,"\u0275ComponentFactory",(function(){return Sh})),o.d(i,"\u0275Console",(function(){return hg})),o.d(i,"\u0275DEFAULT_LOCALE_ID",(function(){return gd})),o.d(i,"\u0275EMPTY_ARRAY",(function(){return tm})),o.d(i,"\u0275EMPTY_MAP",(function(){return nm})),o.d(i,"\u0275INJECTOR_IMPL__POST_R3__",(function(){return vs})),o.d(i,"\u0275INJECTOR_SCOPE",(function(){return ns})),o.d(i,"\u0275LifecycleHooksFeature",(function(){return bc})),o.d(i,"\u0275LocaleDataIndex",(function(){return pd})),o.d(i,"\u0275NG_COMP_DEF",(function(){return ge})),o.d(i,"\u0275NG_DIR_DEF",(function(){return ye})),o.d(i,"\u0275NG_ELEMENT_ID",(function(){return Se})),o.d(i,"\u0275NG_INJ_DEF",(function(){return $})),o.d(i,"\u0275NG_MOD_DEF",(function(){return ke})),o.d(i,"\u0275NG_PIPE_DEF",(function(){return be})),o.d(i,"\u0275NG_PROV_DEF",(function(){return X})),o.d(i,"\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR",(function(){return Ym})),o.d(i,"\u0275NO_CHANGE",(function(){return Qi})),o.d(i,"\u0275NgModuleFactory",(function(){return hp})),o.d(i,"\u0275NoopNgZone",(function(){return Ug})),o.d(i,"\u0275ReflectionCapabilities",(function(){return Ha})),o.d(i,"\u0275Render3ComponentFactory",(function(){return rp})),o.d(i,"\u0275Render3ComponentRef",(function(){return ip})),o.d(i,"\u0275Render3NgModuleRef",(function(){return dp})),o.d(i,"\u0275SWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__",(function(){return Ma})),o.d(i,"\u0275SWITCH_COMPILE_COMPONENT__POST_R3__",(function(){return Yv})),o.d(i,"\u0275SWITCH_COMPILE_DIRECTIVE__POST_R3__",(function(){return Wv})),o.d(i,"\u0275SWITCH_COMPILE_INJECTABLE__POST_R3__",(function(){return es})),o.d(i,"\u0275SWITCH_COMPILE_NGMODULE__POST_R3__",(function(){return eg})),o.d(i,"\u0275SWITCH_COMPILE_PIPE__POST_R3__",(function(){return Zv})),o.d(i,"\u0275SWITCH_ELEMENT_REF_FACTORY__POST_R3__",(function(){return Ph})),o.d(i,"\u0275SWITCH_IVY_ENABLED__POST_R3__",(function(){return yg})),o.d(i,"\u0275SWITCH_RENDERER2_FACTORY__POST_R3__",(function(){return jh})),o.d(i,"\u0275SWITCH_TEMPLATE_REF_FACTORY__POST_R3__",(function(){return rf})),o.d(i,"\u0275SWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__",(function(){return sf})),o.d(i,"\u0275_sanitizeHtml",(function(){return vi})),o.d(i,"\u0275_sanitizeUrl",(function(){return Xr})),o.d(i,"\u0275allowSanitizationBypassAndThrow",(function(){return jr})),o.d(i,"\u0275and",(function(){return Wy})),o.d(i,"\u0275angular_packages_core_core_a",(function(){return ce})),o.d(i,"\u0275angular_packages_core_core_b",(function(){return De})),o.d(i,"\u0275angular_packages_core_core_ba",(function(){return an})),o.d(i,"\u0275angular_packages_core_core_bb",(function(){return un})),o.d(i,"\u0275angular_packages_core_core_bc",(function(){return bn})),o.d(i,"\u0275angular_packages_core_core_bd",(function(){return jn})),o.d(i,"\u0275angular_packages_core_core_bf",(function(){return _p})),o.d(i,"\u0275angular_packages_core_core_bg",(function(){return Ep})),o.d(i,"\u0275angular_packages_core_core_bh",(function(){return Ip})),o.d(i,"\u0275angular_packages_core_core_bi",(function(){return xp})),o.d(i,"\u0275angular_packages_core_core_bj",(function(){return Op})),o.d(i,"\u0275angular_packages_core_core_bk",(function(){return _i})),o.d(i,"\u0275angular_packages_core_core_bl",(function(){return R})),o.d(i,"\u0275angular_packages_core_core_bm",(function(){return M})),o.d(i,"\u0275angular_packages_core_core_bn",(function(){return q})),o.d(i,"\u0275angular_packages_core_core_bp",(function(){return $i})),o.d(i,"\u0275angular_packages_core_core_bq",(function(){return ah})),o.d(i,"\u0275angular_packages_core_core_c",(function(){return Le})),o.d(i,"\u0275angular_packages_core_core_d",(function(){return Ls})),o.d(i,"\u0275angular_packages_core_core_e",(function(){return Is})),o.d(i,"\u0275angular_packages_core_core_f",(function(){return Ds})),o.d(i,"\u0275angular_packages_core_core_g",(function(){return og})),o.d(i,"\u0275angular_packages_core_core_h",(function(){return Ta})),o.d(i,"\u0275angular_packages_core_core_i",(function(){return Aa})),o.d(i,"\u0275angular_packages_core_core_j",(function(){return uy})),o.d(i,"\u0275angular_packages_core_core_k",(function(){return Cy})),o.d(i,"\u0275angular_packages_core_core_l",(function(){return wy})),o.d(i,"\u0275angular_packages_core_core_m",(function(){return Ny})),o.d(i,"\u0275angular_packages_core_core_n",(function(){return Uh})),o.d(i,"\u0275angular_packages_core_core_o",(function(){return Wh})),o.d(i,"\u0275angular_packages_core_core_p",(function(){return Uy})),o.d(i,"\u0275angular_packages_core_core_q",(function(){return Hy})),o.d(i,"\u0275angular_packages_core_core_r",(function(){return Gy})),o.d(i,"\u0275angular_packages_core_core_s",(function(){return Ky})),o.d(i,"\u0275angular_packages_core_core_t",(function(){return zy})),o.d(i,"\u0275angular_packages_core_core_u",(function(){return yd})),o.d(i,"\u0275angular_packages_core_core_v",(function(){return Bm})),o.d(i,"\u0275angular_packages_core_core_w",(function(){return bf})),o.d(i,"\u0275angular_packages_core_core_x",(function(){return Ft})),o.d(i,"\u0275angular_packages_core_core_y",(function(){return np})),o.d(i,"\u0275angular_packages_core_core_z",(function(){return hr})),o.d(i,"\u0275bypassSanitizationTrustHtml",(function(){return Lr})),o.d(i,"\u0275bypassSanitizationTrustResourceUrl",(function(){return Hr})),o.d(i,"\u0275bypassSanitizationTrustScript",(function(){return Br})),o.d(i,"\u0275bypassSanitizationTrustStyle",(function(){return Vr})),o.d(i,"\u0275bypassSanitizationTrustUrl",(function(){return Ur})),o.d(i,"\u0275ccf",(function(){return pm})),o.d(i,"\u0275clearOverrides",(function(){return wk})),o.d(i,"\u0275clearResolutionOfComponentResourcesQueue",(function(){return Zs})),o.d(i,"\u0275cmf",(function(){return Sk})),o.d(i,"\u0275compileComponent",(function(){return _v})),o.d(i,"\u0275compileDirective",(function(){return Ev})),o.d(i,"\u0275compileNgModule",(function(){return pv})),o.d(i,"\u0275compileNgModuleDefs",(function(){return vv})),o.d(i,"\u0275compileNgModuleFactory__POST_R3__",(function(){return Wg})),o.d(i,"\u0275compilePipe",(function(){return Lv})),o.d(i,"\u0275createInjector",(function(){return cs})),o.d(i,"\u0275crt",(function(){return Ef})),o.d(i,"\u0275defaultIterableDiffers",(function(){return ef})),o.d(i,"\u0275defaultKeyValueDiffers",(function(){return tf})),o.d(i,"\u0275detectChanges",(function(){return Xs})),o.d(i,"\u0275devModeEqual",(function(){return Dc})),o.d(i,"\u0275did",(function(){return Fm})),o.d(i,"\u0275eld",(function(){return Zy})),o.d(i,"\u0275findLocaleData",(function(){return ud})),o.d(i,"\u0275flushModuleScopingQueueAsMuchAsPossible",(function(){return fv})),o.d(i,"\u0275getComponentViewDefinitionFactory",(function(){return vm})),o.d(i,"\u0275getDebugNodeR2",(function(){return jy})),o.d(i,"\u0275getDebugNode__POST_R3__",(function(){return Ry})),o.d(i,"\u0275getDirectives",(function(){return oc})),o.d(i,"\u0275getHostElement",(function(){return sc})),o.d(i,"\u0275getInjectableDef",(function(){return Z})),o.d(i,"\u0275getLContext",(function(){return Di})),o.d(i,"\u0275getLocaleCurrencyCode",(function(){return dd})),o.d(i,"\u0275getLocalePluralCase",(function(){return hd})),o.d(i,"\u0275getModuleFactory__POST_R3__",(function(){return dy})),o.d(i,"\u0275getSanitizationBypassType",(function(){return Fr})),o.d(i,"\u0275global",(function(){return fe})),o.d(i,"\u0275initServicesIfNeeded",(function(){return Fb})),o.d(i,"\u0275inlineInterpolate",(function(){return $f})),o.d(i,"\u0275interpolate",(function(){return Xf})),o.d(i,"\u0275isBoundToModule__POST_R3__",(function(){return Jg})),o.d(i,"\u0275isDefaultChangeDetectionStrategy",(function(){return $e})),o.d(i,"\u0275isListLikeIterable",(function(){return Mc})),o.d(i,"\u0275isObservable",(function(){return Sl})),o.d(i,"\u0275isPromise",(function(){return wl})),o.d(i,"\u0275ivyEnabled",(function(){return bg})),o.d(i,"\u0275makeDecorator",(function(){return P})),o.d(i,"\u0275markDirty",(function(){return $s})),o.d(i,"\u0275mod",(function(){return cm})),o.d(i,"\u0275mpd",(function(){return sm})),o.d(i,"\u0275ncd",(function(){return ob})),o.d(i,"\u0275noSideEffects",(function(){return x})),o.d(i,"\u0275nov",(function(){return xm})),o.d(i,"\u0275overrideComponentView",(function(){return Ck})),o.d(i,"\u0275overrideProvider",(function(){return kk})),o.d(i,"\u0275pad",(function(){return cb})),o.d(i,"\u0275patchComponentDefWithScope",(function(){return bv})),o.d(i,"\u0275pid",(function(){return Lm})),o.d(i,"\u0275pod",(function(){return lb})),o.d(i,"\u0275ppd",(function(){return sb})),o.d(i,"\u0275prd",(function(){return Vm})),o.d(i,"\u0275publishDefaultGlobalUtils",(function(){return fc})),o.d(i,"\u0275publishGlobalUtil",(function(){return mc})),o.d(i,"\u0275qud",(function(){return eb})),o.d(i,"\u0275registerLocaleData",(function(){return ld})),o.d(i,"\u0275registerModuleFactory",(function(){return sp})),o.d(i,"\u0275registerNgModuleType",(function(){return lp})),o.d(i,"\u0275renderComponent",(function(){return pc})),o.d(i,"\u0275resetCompiledComponents",(function(){return gv})),o.d(i,"\u0275resetJitOptions",(function(){return lv})),o.d(i,"\u0275resolveComponentResources",(function(){return Ks})),o.d(i,"\u0275setClassMetadata",(function(){return op})),o.d(i,"\u0275setCurrentInjector",(function(){return Ae})),o.d(i,"\u0275setDocument",(function(){return Ht})),o.d(i,"\u0275setLocaleId",(function(){return wd})),o.d(i,"\u0275store",(function(){return cl})),o.d(i,"\u0275stringify",(function(){return re})),o.d(i,"\u0275ted",(function(){return db})),o.d(i,"\u0275transitiveScopesFor",(function(){return kv})),o.d(i,"\u0275unregisterLocaleData",(function(){return md})),o.d(i,"\u0275unv",(function(){return _f})),o.d(i,"\u0275unwrapSafeValue",(function(){return Nr})),o.d(i,"\u0275vid",(function(){return mb})),o.d(i,"\u0275whenRendered",(function(){return kc})),o.d(i,"\u0275\u0275CopyDefinitionFeature",(function(){return Tc})),o.d(i,"\u0275\u0275InheritDefinitionFeature",(function(){return wc})),o.d(i,"\u0275\u0275NgOnChangesFeature",(function(){return jt})),o.d(i,"\u0275\u0275ProvidersFeature",(function(){return Ch})),o.d(i,"\u0275\u0275advance",(function(){return ro})),o.d(i,"\u0275\u0275attribute",(function(){return Hc})),o.d(i,"\u0275\u0275attributeInterpolate1",(function(){return Xc})),o.d(i,"\u0275\u0275attributeInterpolate2",(function(){return $c})),o.d(i,"\u0275\u0275attributeInterpolate3",(function(){return el})),o.d(i,"\u0275\u0275attributeInterpolate4",(function(){return tl})),o.d(i,"\u0275\u0275attributeInterpolate5",(function(){return nl})),o.d(i,"\u0275\u0275attributeInterpolate6",(function(){return rl})),o.d(i,"\u0275\u0275attributeInterpolate7",(function(){return il})),o.d(i,"\u0275\u0275attributeInterpolate8",(function(){return ol})),o.d(i,"\u0275\u0275attributeInterpolateV",(function(){return al})),o.d(i,"\u0275\u0275classMap",(function(){return su})),o.d(i,"\u0275\u0275classMapInterpolate1",(function(){return Pu})),o.d(i,"\u0275\u0275classMapInterpolate2",(function(){return Du})),o.d(i,"\u0275\u0275classMapInterpolate3",(function(){return Ru})),o.d(i,"\u0275\u0275classMapInterpolate4",(function(){return Mu})),o.d(i,"\u0275\u0275classMapInterpolate5",(function(){return Nu})),o.d(i,"\u0275\u0275classMapInterpolate6",(function(){return ju})),o.d(i,"\u0275\u0275classMapInterpolate7",(function(){return Fu})),o.d(i,"\u0275\u0275classMapInterpolate8",(function(){return Lu})),o.d(i,"\u0275\u0275classMapInterpolateV",(function(){return Vu})),o.d(i,"\u0275\u0275classProp",(function(){return iu})),o.d(i,"\u0275\u0275contentQuery",(function(){return Xp})),o.d(i,"\u0275\u0275defineComponent",(function(){return ot})),o.d(i,"\u0275\u0275defineDirective",(function(){return ft})),o.d(i,"\u0275\u0275defineInjectable",(function(){return z})),o.d(i,"\u0275\u0275defineInjector",(function(){return W})),o.d(i,"\u0275\u0275defineNgModule",(function(){return ut})),o.d(i,"\u0275\u0275definePipe",(function(){return mt})),o.d(i,"\u0275\u0275directiveInject",(function(){return ul})),o.d(i,"\u0275\u0275disableBindings",(function(){return ln})),o.d(i,"\u0275\u0275element",(function(){return gl})),o.d(i,"\u0275\u0275elementContainer",(function(){return kl})),o.d(i,"\u0275\u0275elementContainerEnd",(function(){return bl})),o.d(i,"\u0275\u0275elementContainerStart",(function(){return yl})),o.d(i,"\u0275\u0275elementEnd",(function(){return vl})),o.d(i,"\u0275\u0275elementStart",(function(){return pl})),o.d(i,"\u0275\u0275enableBindings",(function(){return cn})),o.d(i,"\u0275\u0275getCurrentView",(function(){return Cl})),o.d(i,"\u0275\u0275getFactoryOf",(function(){return Cr})),o.d(i,"\u0275\u0275getInheritedFactory",(function(){return wr})),o.d(i,"\u0275\u0275hostProperty",(function(){return id})),o.d(i,"\u0275\u0275i18n",(function(){return lh})),o.d(i,"\u0275\u0275i18nApply",(function(){return hh})),o.d(i,"\u0275\u0275i18nAttributes",(function(){return uh})),o.d(i,"\u0275\u0275i18nEnd",(function(){return ch})),o.d(i,"\u0275\u0275i18nExp",(function(){return dh})),o.d(i,"\u0275\u0275i18nPostprocess",(function(){return fh})),o.d(i,"\u0275\u0275i18nStart",(function(){return sh})),o.d(i,"\u0275\u0275inject",(function(){return Re})),o.d(i,"\u0275\u0275injectAttribute",(function(){return dl})),o.d(i,"\u0275\u0275injectPipeChangeDetectorRef",(function(){return av})),o.d(i,"\u0275\u0275invalidFactory",(function(){return hl})),o.d(i,"\u0275\u0275invalidFactoryDep",(function(){return Me})),o.d(i,"\u0275\u0275listener",(function(){return _l})),o.d(i,"\u0275\u0275loadQuery",(function(){return tv})),o.d(i,"\u0275\u0275namespaceHTML",(function(){return Hn})),o.d(i,"\u0275\u0275namespaceMathML",(function(){return Un})),o.d(i,"\u0275\u0275namespaceSVG",(function(){return Bn})),o.d(i,"\u0275\u0275nextContext",(function(){return Tl})),o.d(i,"\u0275\u0275pipe",(function(){return Tp})),o.d(i,"\u0275\u0275pipeBind1",(function(){return Ap})),o.d(i,"\u0275\u0275pipeBind2",(function(){return Pp})),o.d(i,"\u0275\u0275pipeBind3",(function(){return Dp})),o.d(i,"\u0275\u0275pipeBind4",(function(){return Rp})),o.d(i,"\u0275\u0275pipeBindV",(function(){return Mp})),o.d(i,"\u0275\u0275projection",(function(){return Ml})),o.d(i,"\u0275\u0275projectionDef",(function(){return Pl})),o.d(i,"\u0275\u0275property",(function(){return fl})),o.d(i,"\u0275\u0275propertyInterpolate",(function(){return Nl})),o.d(i,"\u0275\u0275propertyInterpolate1",(function(){return jl})),o.d(i,"\u0275\u0275propertyInterpolate2",(function(){return Fl})),o.d(i,"\u0275\u0275propertyInterpolate3",(function(){return Ll})),o.d(i,"\u0275\u0275propertyInterpolate4",(function(){return Vl})),o.d(i,"\u0275\u0275propertyInterpolate5",(function(){return Bl})),o.d(i,"\u0275\u0275propertyInterpolate6",(function(){return Ul})),o.d(i,"\u0275\u0275propertyInterpolate7",(function(){return Hl})),o.d(i,"\u0275\u0275propertyInterpolate8",(function(){return Gl})),o.d(i,"\u0275\u0275propertyInterpolateV",(function(){return ql})),o.d(i,"\u0275\u0275pureFunction0",(function(){return fp})),o.d(i,"\u0275\u0275pureFunction1",(function(){return mp})),o.d(i,"\u0275\u0275pureFunction2",(function(){return pp})),o.d(i,"\u0275\u0275pureFunction3",(function(){return vp})),o.d(i,"\u0275\u0275pureFunction4",(function(){return gp})),o.d(i,"\u0275\u0275pureFunction5",(function(){return yp})),o.d(i,"\u0275\u0275pureFunction6",(function(){return bp})),o.d(i,"\u0275\u0275pureFunction7",(function(){return kp})),o.d(i,"\u0275\u0275pureFunction8",(function(){return Cp})),o.d(i,"\u0275\u0275pureFunctionV",(function(){return wp})),o.d(i,"\u0275\u0275queryRefresh",(function(){return Wp})),o.d(i,"\u0275\u0275reference",(function(){return ll})),o.d(i,"\u0275\u0275resolveBody",(function(){return Dt})),o.d(i,"\u0275\u0275resolveDocument",(function(){return Pt})),o.d(i,"\u0275\u0275resolveWindow",(function(){return At})),o.d(i,"\u0275\u0275restoreView",(function(){return hn})),o.d(i,"\u0275\u0275sanitizeHtml",(function(){return bi})),o.d(i,"\u0275\u0275sanitizeResourceUrl",(function(){return wi})),o.d(i,"\u0275\u0275sanitizeScript",(function(){return Si})),o.d(i,"\u0275\u0275sanitizeStyle",(function(){return ki})),o.d(i,"\u0275\u0275sanitizeUrl",(function(){return Ci})),o.d(i,"\u0275\u0275sanitizeUrlOrResourceUrl",(function(){return Ei})),o.d(i,"\u0275\u0275setComponentScope",(function(){return at})),o.d(i,"\u0275\u0275setNgModuleScope",(function(){return dt})),o.d(i,"\u0275\u0275staticContentQuery",(function(){return $p})),o.d(i,"\u0275\u0275staticViewQuery",(function(){return Zp})),o.d(i,"\u0275\u0275styleMap",(function(){return ou})),o.d(i,"\u0275\u0275styleMapInterpolate1",(function(){return Bu})),o.d(i,"\u0275\u0275styleMapInterpolate2",(function(){return Uu})),o.d(i,"\u0275\u0275styleMapInterpolate3",(function(){return Hu})),o.d(i,"\u0275\u0275styleMapInterpolate4",(function(){return Gu})),o.d(i,"\u0275\u0275styleMapInterpolate5",(function(){return qu})),o.d(i,"\u0275\u0275styleMapInterpolate6",(function(){return Ku})),o.d(i,"\u0275\u0275styleMapInterpolate7",(function(){return zu})),o.d(i,"\u0275\u0275styleMapInterpolate8",(function(){return Yu})),o.d(i,"\u0275\u0275styleMapInterpolateV",(function(){return Wu})),o.d(i,"\u0275\u0275styleProp",(function(){return ru})),o.d(i,"\u0275\u0275stylePropInterpolate1",(function(){return Zu})),o.d(i,"\u0275\u0275stylePropInterpolate2",(function(){return Ju})),o.d(i,"\u0275\u0275stylePropInterpolate3",(function(){return Qu})),o.d(i,"\u0275\u0275stylePropInterpolate4",(function(){return Xu})),o.d(i,"\u0275\u0275stylePropInterpolate5",(function(){return $u})),o.d(i,"\u0275\u0275stylePropInterpolate6",(function(){return ed})),o.d(i,"\u0275\u0275stylePropInterpolate7",(function(){return td})),o.d(i,"\u0275\u0275stylePropInterpolate8",(function(){return nd})),o.d(i,"\u0275\u0275stylePropInterpolateV",(function(){return rd})),o.d(i,"\u0275\u0275syntheticHostListener",(function(){return El})),o.d(i,"\u0275\u0275syntheticHostProperty",(function(){return od})),o.d(i,"\u0275\u0275template",(function(){return sl})),o.d(i,"\u0275\u0275templateRefExtractor",(function(){return ov})),o.d(i,"\u0275\u0275text",(function(){return ku})),o.d(i,"\u0275\u0275textInterpolate",(function(){return Cu})),o.d(i,"\u0275\u0275textInterpolate1",(function(){return wu})),o.d(i,"\u0275\u0275textInterpolate2",(function(){return Su})),o.d(i,"\u0275\u0275textInterpolate3",(function(){return _u})),o.d(i,"\u0275\u0275textInterpolate4",(function(){return Eu})),o.d(i,"\u0275\u0275textInterpolate5",(function(){return Iu})),o.d(i,"\u0275\u0275textInterpolate6",(function(){return xu})),o.d(i,"\u0275\u0275textInterpolate7",(function(){return Ou})),o.d(i,"\u0275\u0275textInterpolate8",(function(){return Tu})),o.d(i,"\u0275\u0275textInterpolateV",(function(){return Au})),o.d(i,"\u0275\u0275viewQuery",(function(){return Jp}));var c=o("XNiG"),u=o("quSY"),h=o("HDdC"),m=o("VRyK"),g=o("7o/Q");function b(){return function(e){return e.lift(new C(e))}}var k,C=function(){function e(t){v(this,e),this.connectable=t}return y(e,[{key:"call",value:function(e,t){var n=this.connectable;n._refCount++;var r=new w(e,n),i=t.subscribe(r);return r.closed||(r.connection=n.connect()),i}}]),e}(),w=function(e){l(n,e);var t=d(n);function n(e,r){var i;return v(this,n),(i=t.call(this,e)).connectable=r,i}return y(n,[{key:"_unsubscribe",value:function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null}}]),n}(g.a),S=function(e){l(n,e);var t=d(n);function n(e,r){var i;return v(this,n),(i=t.call(this)).source=e,i.subjectFactory=r,i._refCount=0,i._isComplete=!1,i}return y(n,[{key:"_subscribe",value:function(e){return this.getSubject().subscribe(e)}},{key:"getSubject",value:function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}},{key:"connect",value:function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new u.a).add(this.source.subscribe(new E(this.getSubject(),this))),e.closed&&(this._connection=null,e=u.a.EMPTY)),e}},{key:"refCount",value:function(){return b()(this)}}]),n}(h.a),_={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:(k=S.prototype)._subscribe},_isComplete:{value:k._isComplete,writable:!0},getSubject:{value:k.getSubject},connect:{value:k.connect},refCount:{value:k.refCount}},E=function(e){l(n,e);var t=d(n);function n(e,r){var i;return v(this,n),(i=t.call(this,e)).connectable=r,i}return y(n,[{key:"_error",value:function(e){this._unsubscribe(),s(p(n.prototype),"_error",this).call(this,e)}},{key:"_complete",value:function(){this.connectable._isComplete=!0,this._unsubscribe(),s(p(n.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value:function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}]),n}(c.b);function I(){return new c.a}
/**
 * @license Angular v10.2.5
 * (c) 2010-2020 Google LLC. https://angular.io/
 * License: MIT
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function x(e){return{toString:e}.toString()}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var O="__annotations__",T="__parameters__",A="__prop__metadata__";function P(e,t,n,r,i){return x((function(){var o=D(t);function s(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(this instanceof s)return o.call.apply(o,[this].concat(t)),this;var c=a(s,t);return function(e){return i&&i.apply(void 0,[e].concat(t)),(e.hasOwnProperty(O)?e[O]:Object.defineProperty(e,O,{value:[]})[O]).push(c),r&&r(e),e}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s}))}function D(e){return function(){if(e){var t=e.apply(void 0,arguments);for(var n in t)this[n]=t[n]}}}function R(e,t,n){return x((function(){var r=D(t);function i(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(this instanceof i)return r.apply(this,t),this;var o=a(i,t);return s.annotation=o,s;function s(e,t,n){for(var r=e.hasOwnProperty(T)?e[T]:Object.defineProperty(e,T,{value:[]})[T];r.length<=n;)r.push(null);return(r[n]=r[n]||[]).push(o),e}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i}))}function M(e,t,n,r){return x((function(){var i=D(t);function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(this instanceof o)return i.apply(this,t),this;var s=a(o,t);return function(e,n){var i=e.constructor,o=i.hasOwnProperty(A)?i[A]:Object.defineProperty(i,A,{value:{}})[A];o[n]=o.hasOwnProperty(n)&&o[n]||[],o[n].unshift(s),r&&r.apply(void 0,[e,n].concat(t))}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o}))}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var N=function(e){return{token:e}},j=R("Inject",N),F=R("Optional"),L=R("Self"),V=R("SkipSelf"),B=R("Host"),U=function(e){return{attributeName:e}},H=R("Attribute",U),G=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function q(e){for(var t in e)if(e[t]===q)return t;throw Error("Could not find renamed property on target object.")}function K(e,t){for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function z(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}var Y=z;function W(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function Z(e){return J(e,e[X])||J(e,e[te])}function J(e,t){return t&&t.token===e?t:null}function Q(e){return e&&(e.hasOwnProperty($)||e.hasOwnProperty(ne))?e[$]:null}var X=q({"\u0275prov":q}),$=q({"\u0275inj":q}),ee=q({"\u0275provFallback":q}),te=q({ngInjectableDef:q}),ne=q({ngInjectorDef:q});
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function re(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(re).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;var t=e.toString();if(null==t)return""+t;var n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function ie(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var oe=q({__forward_ref__:q});function ae(e){return e.__forward_ref__=ae,e.toString=function(){return re(this())},e}function se(e){return ce(e)?e():e}function ce(e){return"function"==typeof e&&e.hasOwnProperty(oe)&&e.__forward_ref__===ae}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var le="undefined"!=typeof globalThis&&globalThis,ue="undefined"!=typeof window&&window,de="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,he="undefined"!=typeof global&&global,fe=le||he||ue||de,me=function(e){return e[e.Token=0]="Token",e[e.Attribute=1]="Attribute",e[e.ChangeDetectorRef=2]="ChangeDetectorRef",e[e.Invalid=3]="Invalid",e}({});
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function pe(){var e=fe.ng;if(!e||!e.\u0275compilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n  - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n  - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n  - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return e.\u0275compilerFacade}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var ve,ge=q({"\u0275cmp":q}),ye=q({"\u0275dir":q}),be=q({"\u0275pipe":q}),ke=q({"\u0275mod":q}),Ce=q({"\u0275loc":q}),we=q({"\u0275fac":q}),Se=q({__NG_ELEMENT_ID__:q}),_e=function(){function e(t,n){v(this,e),this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=z({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}return y(e,[{key:"toString",value:function(){return"InjectionToken "+this._desc}}]),e}(),Ee=new _e("INJECTOR",-1),Ie={},xe=/\n/gm,Oe=q({provide:String,useValue:q}),Te=void 0;
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Ae(e){var t=Te;return Te=e,t}function Pe(e){var t=ve;return ve=e,t}function De(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:G.Default;if(void 0===Te)throw new Error("inject() must be called from an injection context");return null===Te?je(e,void 0,t):Te.get(e,t&G.Optional?null:void 0,t)}function Re(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:G.Default;return(ve||De)(se(e),t)}function Me(e){throw new Error("invalid")}var Ne=Re;function je(e,t,n){var r=Z(e);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&G.Optional)return null;if(void 0!==t)return t;throw new Error("Injector: NOT_FOUND [".concat(re(e),"]"))}function Fe(e){for(var t=[],n=0;n<e.length;n++){var r=se(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");for(var i=void 0,o=G.Default,a=0;a<r.length;a++){var s=r[a];s instanceof F||"Optional"===s.ngMetadataName||s===F?o|=G.Optional:s instanceof V||"SkipSelf"===s.ngMetadataName||s===V?o|=G.SkipSelf:s instanceof L||"Self"===s.ngMetadataName||s===L?o|=G.Self:i=s instanceof j||s===j?s.token:s}t.push(Re(i,o))}else t.push(Re(r))}return t}var Le=function(){function e(){v(this,e)}return y(e,[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ie;if(t===Ie){var n=new Error("NullInjectorError: No provider for ".concat(re(e),"!"));throw n.name="NullInjectorError",n}return t}}]),e}(),Ve={"\u0275\u0275defineInjectable":z,"\u0275\u0275defineInjector":W,"\u0275\u0275inject":Re,"\u0275\u0275getFactoryOf":function e(t){var n=t;if(ce(t))return function(){var t=e(se(n));return t?t():null};var r=Z(n)||Q(n);return r&&void 0!==r.factory?r.factory:null}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */,"\u0275\u0275invalidFactoryDep":Me},Be=function e(){v(this,e)},Ue=function e(){v(this,e)};
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function He(e,t){for(var n=0;n<e.length;n++)t.push(e[n])}function Ge(e,t){void 0===t&&(t=e);for(var n=0;n<e.length;n++){var r=e[n];Array.isArray(r)?(t===e&&(t=e.slice(0,n)),Ge(r,t)):t!==e&&t.push(r)}return t}function qe(e,t){e.forEach((function(e){return Array.isArray(e)?qe(e,t):t(e)}))}function Ke(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ze(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ye(e,t){for(var n=[],r=0;r<e;r++)n.push(t);return n}function We(e,t,n){var r=Je(e,t);return r>=0?e[1|r]=n:function(e,t,n,r){var i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r=~r,t,n),r}function Ze(e,t){var n=Je(e,t);if(n>=0)return e[1|n]}function Je(e,t){return function(e,t,n){for(var r=0,i=e.length>>1;i!==r;){var o=r+(i-r>>1),a=e[o<<1];if(t===a)return o<<1;a>t?i=o:r=o+1}return~(i<<1)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */(e,t)}var Qe=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}({}),Xe=function(e){return e[e.CheckOnce=0]="CheckOnce",e[e.Checked=1]="Checked",e[e.CheckAlways=2]="CheckAlways",e[e.Detached=3]="Detached",e[e.Errored=4]="Errored",e[e.Destroyed=5]="Destroyed",e}({});function $e(e){return null==e||e===Qe.Default}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var et,tt=((et={})[et.Emulated=0]="Emulated",et[et.Native=1]="Native",et[et.None=2]="None",et[et.ShadowDom=3]="ShadowDom",et),nt={},rt=[],it=0;
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function ot(e){return x((function(){var t={},n={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Qe.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||rt,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||tt.Emulated,id:"c",styles:e.styles||rt,_:null,setInput:null,schemas:e.schemas||null,tView:null},r=e.directives,i=e.features,o=e.pipes;return n.id+=it++,n.inputs=ht(e.inputs,t),n.outputs=ht(e.outputs),i&&i.forEach((function(e){return e(n)})),n.directiveDefs=r?function(){return("function"==typeof r?r():r).map(st)}:null,n.pipeDefs=o?function(){return("function"==typeof o?o():o).map(ct)}:null,n}))}function at(e,t,n){var r=e.\u0275cmp;r.directiveDefs=function(){return t.map(st)},r.pipeDefs=function(){return n.map(ct)}}function st(e){return pt(e)||vt(e)}function ct(e){return gt(e)}var lt={};function ut(e){var t={type:e.type,bootstrap:e.bootstrap||rt,declarations:e.declarations||rt,imports:e.imports||rt,exports:e.exports||rt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&x((function(){lt[e.id]=e.type})),t}function dt(e,t){return x((function(){var n=bt(e,!0);n.declarations=t.declarations||rt,n.imports=t.imports||rt,n.exports=t.exports||rt}))}function ht(e,t){if(null==e)return nt;var n={};for(var r in e)if(e.hasOwnProperty(r)){var i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,t&&(t[i]=o)}return n}var ft=ot;function mt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function pt(e){return e[ge]||null}function vt(e){return e[ye]||null}function gt(e){return e[be]||null}function yt(e,t){return e.hasOwnProperty(we)?e[we]:null}function bt(e,t){var n=e[ke]||null;if(!n&&!0===t)throw new Error("Type ".concat(re(e)," does not have '\u0275mod' property."));return n}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function kt(e){return Array.isArray(e)&&"object"==typeof e[1]}function Ct(e){return Array.isArray(e)&&!0===e[1]}function wt(e){return 0!=(8&e.flags)}function St(e){return 2==(2&e.flags)}function _t(e){return 1==(1&e.flags)}function Et(e){return null!==e.template}function It(e){return 0!=(512&e[2])}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function xt(e){return"string"==typeof e?e:null==e?"":""+e}function Ot(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():xt(e)}var Tt=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(fe);function At(e){return{name:"window",target:e.ownerDocument.defaultView}}function Pt(e){return{name:"document",target:e.ownerDocument}}function Dt(e){return{name:"body",target:e.ownerDocument.body}}function Rt(e){return e instanceof Function?e():e}function Mt(e,t){var n=t?" in "+t:"";throw new Error("No provider for ".concat(Ot(e)," found").concat(n))}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var Nt=function(){function e(t,n,r){v(this,e),this.previousValue=t,this.currentValue=n,this.firstChange=r}return y(e,[{key:"isFirstChange",value:function(){return this.firstChange}}]),e}();
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function jt(){return Ft}function Ft(e){return e.type.prototype.ngOnChanges&&(e.setInput=Vt),Lt}function Lt(){var e=Bt(this),t=null==e?void 0:e.current;if(t){var n=e.previous;if(n===nt)e.previous=t;else for(var r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Vt(e,t,n,r){var i=Bt(e)||function(e,t){return e.__ngSimpleChanges__=t}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */(e,{previous:nt,current:null}),o=i.current||(i.current={}),a=i.previous,s=this.declaredInputs[n],c=a[s];o[s]=new Nt(c&&c.currentValue,t,a===nt),e[r]=t}function Bt(e){return e.__ngSimpleChanges__||null}jt.ngInherit=!0;
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
var Ut=void 0;function Ht(e){Ut=e}function Gt(){return void 0!==Ut?Ut:"undefined"!=typeof document?document:void 0}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function qt(e){return!!e.listen}var Kt={createRenderer:function(e,t){return Gt()}};
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function zt(e){for(;Array.isArray(e);)e=e[0];return e}function Yt(e,t){return zt(t[e+20])}function Wt(e,t){return zt(t[e.index])}function Zt(e,t){return e.data[t+20]}function Jt(e,t){return e[t+20]}function Qt(e,t){var n=t[e];return kt(n)?n:n[0]}function Xt(e){return e.__ngContext__||null}function $t(e){var t=Xt(e);return t?Array.isArray(t)?t:t.lView:null}function en(e){return 4==(4&e[2])}function tn(e){return 128==(128&e[2])}function nn(e,t){return null===e||null==t?null:e[t]}function rn(e){e[18]=0}function on(e,t){e[5]+=t;for(var n=e,r=e[3];null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */}var an={lFrame:Dn(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function sn(){return an.bindingsEnabled}function cn(){an.bindingsEnabled=!0}function ln(){an.bindingsEnabled=!1}function un(){return an.lFrame.lView}function dn(){return an.lFrame.tView}function hn(e){an.lFrame.contextLView=e}function fn(){return an.lFrame.currentTNode}function mn(e,t){an.lFrame.currentTNode=e,an.lFrame.isParent=t}function pn(){return an.lFrame.isParent}function vn(){an.lFrame.isParent=!1}function gn(){return an.isInCheckNoChangesMode}function yn(e){an.isInCheckNoChangesMode=e}function bn(){var e=an.lFrame,t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function kn(){return an.lFrame.bindingIndex}function Cn(e){return an.lFrame.bindingIndex=e}function wn(){return an.lFrame.bindingIndex++}function Sn(e){var t=an.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function _n(e,t){var n=an.lFrame;n.bindingIndex=n.bindingRootIndex=e,En(t)}function En(e){an.lFrame.currentDirectiveIndex=e}function In(e){var t=an.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function xn(){return an.lFrame.currentQueryIndex}function On(e){an.lFrame.currentQueryIndex=e}function Tn(e,t){var n=Pn();an.lFrame=n,n.currentTNode=t,n.lView=e}function An(e){var t=Pn(),n=e[1];an.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex}function Pn(){var e=an.lFrame,t=null===e?null:e.child;return null===t?Dn(e):t}function Dn(e){var t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null};return null!==e&&(e.child=t),t}function Rn(){var e=an.lFrame;return an.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Mn=Rn;function Nn(){var e=Rn();e.isParent=!0,e.tView=null,e.selectedIndex=0,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function jn(e){return(an.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,an.lFrame.contextLView))[8]}function Fn(){return an.lFrame.selectedIndex}function Ln(e){an.lFrame.selectedIndex=e}function Vn(){var e=an.lFrame;return Zt(e.tView,e.selectedIndex)}function Bn(){an.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function Un(){an.lFrame.currentNamespace="http://www.w3.org/1998/MathML/"}function Hn(){an.lFrame.currentNamespace=null}function Gn(e,t){for(var n=t.directiveStart,r=t.directiveEnd;n<r;n++){var i=e.data[n].type.prototype,o=i.ngAfterContentInit,a=i.ngAfterContentChecked,s=i.ngAfterViewInit,c=i.ngAfterViewChecked,l=i.ngOnDestroy;o&&(e.contentHooks||(e.contentHooks=[])).push(-n,o),a&&((e.contentHooks||(e.contentHooks=[])).push(n,a),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,a)),s&&(e.viewHooks||(e.viewHooks=[])).push(-n,s),c&&((e.viewHooks||(e.viewHooks=[])).push(n,c),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,c)),null!=l&&(e.destroyHooks||(e.destroyHooks=[])).push(n,l)}}function qn(e,t,n){Yn(e,t,3,n)}function Kn(e,t,n,r){(3&e[2])===n&&Yn(e,t,n,r)}function zn(e,t){var n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Yn(e,t,n,r){for(var i=null!=r?r:-1,o=0,a=void 0!==r?65535&e[18]:0;a<t.length;a++)if("number"==typeof t[a+1]){if(o=t[a],null!=r&&o>=r)break}else t[a]<0&&(e[18]+=65536),(o<i||-1==i)&&(Wn(e,n,t,a),e[18]=(4294901760&e[18])+a+2),a++}function Wn(e,t,n,r){var i=n[r]<0,o=n[r+1],a=e[i?-n[r]:n[r]];i?e[2]>>11<e[18]>>16&&(3&e[2])===t&&(e[2]+=2048,o.call(a)):o.call(a)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var Zn=function e(t,n,r){v(this,e),this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r};function Jn(e,t,n){for(var r=qt(e),i=0;i<n.length;){var o=n[i];if("number"==typeof o){if(0!==o)break;i++;var a=n[i++],s=n[i++],c=n[i++];r?e.setAttribute(t,s,c,a):t.setAttributeNS(a,s,c)}else{var l=o,u=n[++i];Xn(l)?r&&e.setProperty(t,l,u):r?e.setAttribute(t,l,u):t.setAttribute(l,u),i++}}return i}function Qn(e){return 3===e||4===e||6===e}function Xn(e){return 64===e.charCodeAt(0)}function $n(e,t){if(null===t||0===t.length);else if(null===e||0===e.length)e=t.slice();else for(var n=-1,r=0;r<t.length;r++){var i=t[r];"number"==typeof i?n=i:0===n||er(e,n,i,null,-1===n||2===n?t[++r]:null)}return e}function er(e,t,n,r,i){var o=0,a=e.length;if(-1===t)a=-1;else for(;o<e.length;){var s=e[o++];if("number"==typeof s){if(s===t){a=-1;break}if(s>t){a=o-1;break}}}for(;o<e.length;){var c=e[o];if("number"==typeof c)break;if(c===n){if(null===r)return void(null!==i&&(e[o+1]=i));if(r===e[o+1])return void(e[o+2]=i)}o++,null!==r&&o++,null!==i&&o++}-1!==a&&(e.splice(a,0,t),o=a+1),e.splice(o++,0,n),null!==r&&e.splice(o++,0,r),null!==i&&e.splice(o++,0,i)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function tr(e){return-1!==e}function nr(e){return 32767&e}function rr(e,t){for(var n=e>>16,r=t;n>0;)r=r[15],n--;return r}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var ir=!0;function or(e){var t=ir;return ir=e,t}var ar=0;function sr(e,t){var n=lr(e,t);if(-1!==n)return n;var r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,cr(r.data,e),cr(t,null),cr(r.blueprint,null));var i=ur(e,t),o=e.injectorIndex;if(tr(i))for(var a=nr(i),s=rr(i,t),c=s[1].data,l=0;l<8;l++)t[o+l]=s[a+l]|c[a+l];return t[o+8]=i,o}function cr(e,t){e.push(0,0,0,0,0,0,0,0,t)}function lr(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function ur(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var n=0,r=null,i=t;null!==i;){var o=i[1],a=o.type;if(null===(r=2===a?o.declTNode:1===a?i[6]:null))return-1;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function dr(e,t,n){!function(e,t,n){var r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Se)&&(r=n[Se]),null==r&&(r=n[Se]=ar++);var i=255&r,o=1<<i,a=64&i,s=32&i,c=t.data;128&i?a?s?c[e+7]|=o:c[e+6]|=o:s?c[e+5]|=o:c[e+4]|=o:a?s?c[e+3]|=o:c[e+2]|=o:s?c[e+1]|=o:c[e]|=o}(e,t,n)}function hr(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;var n=e.attrs;if(n)for(var r=n.length,i=0;i<r;){var o=n[i];if(Qn(o))break;if(0===o)i+=2;else if("number"==typeof o)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(o===t)return n[i+1];i+=2}}return null}function fr(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:G.Default,i=arguments.length>4?arguments[4]:void 0;if(null!==e){var o=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;var t=e.hasOwnProperty(Se)?e[Se]:void 0;return"number"==typeof t&&t>0?255&t:t}(n);if("function"==typeof o){Tn(t,e);try{var a=o();if(null!=a||r&G.Optional)return a;Mt(n)}finally{Mn()}}else if("number"==typeof o){if(-1===o)return new kr(e,t);var s=null,c=lr(e,t),l=-1,u=r&G.Host?t[16][6]:null;for((-1===c||r&G.SkipSelf)&&(-1!==(l=-1===c?ur(e,t):t[c+8])&&br(r,!1)?(s=t[1],c=nr(l),t=rr(l,t)):c=-1);-1!==c;){var d=t[1];if(yr(o,c,d.data)){var h=pr(c,t,n,s,r,u);if(h!==mr)return h}-1!==(l=t[c+8])&&br(r,t[1].data[c+8]===u)&&yr(o,c,t)?(s=d,c=nr(l),t=rr(l,t)):c=-1}}}if(r&G.Optional&&void 0===i&&(i=null),0==(r&(G.Self|G.Host))){var f=t[9],m=Pe(void 0);try{return f?f.get(n,i,r&G.Optional):je(n,i,r&G.Optional)}finally{Pe(m)}}if(r&G.Optional)return i;Mt(n,"NodeInjector")}var mr={};function pr(e,t,n,r,i,o){var a=t[1],s=a.data[e+8],c=vr(s,a,n,null==r?St(s)&&ir:r!=a&&2===s.type,i&G.Host&&o===s);return null!==c?gr(t,a,c,s):mr}function vr(e,t,n,r,i){for(var o=e.providerIndexes,a=t.data,s=1048575&o,c=e.directiveStart,l=o>>20,u=i?s+l:e.directiveEnd,d=r?s:s+l;d<u;d++){var h=a[d];if(d<c&&n===h||d>=c&&h.type===n)return d}if(i){var f=a[c];if(f&&Et(f)&&f.type===n)return c}return null}function gr(e,t,n,r){var i=e[n],o=t.data;if(i instanceof Zn){var a=i;a.resolving&&function(e,t){throw new Error("Circular dependency in DI detected for "+e)}(Ot(o[n]));var s=or(a.canSeeViewProviders);a.resolving=!0;var c=a.injectImpl?Pe(a.injectImpl):null;Tn(e,r);try{i=e[n]=a.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function(e,t,n){var r=t.type.prototype,i=r.ngOnChanges,o=r.ngOnInit,a=r.ngDoCheck;if(i){var s=Ft(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),a&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,a))}(n,o[n],t)}finally{null!==c&&Pe(c),or(s),a.resolving=!1,Mn()}}return i}function yr(e,t,n){var r=64&e,i=32&e;return!!((128&e?r?i?n[t+7]:n[t+6]:i?n[t+5]:n[t+4]:r?i?n[t+3]:n[t+2]:i?n[t+1]:n[t])&1<<e)}function br(e,t){return!(e&G.Self||e&G.Host&&t)}var kr=function(){function e(t,n){v(this,e),this._tNode=t,this._lView=n}return y(e,[{key:"get",value:function(e,t){return fr(this._tNode,this._lView,e,void 0,t)}}]),e}();function Cr(e){var t=e;if(ce(e))return function(){var e=Cr(se(t));return e?e():null};var n=yt(t);if(null===n){var r=Q(t);n=r&&r.factory}return n||null}function wr(e){return x((function(){for(var t=e.prototype.constructor,n=t[we]||Cr(t),r=Object.prototype,i=Object.getPrototypeOf(e.prototype).constructor;i&&i!==r;){var o=i[we]||Cr(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return function(e){return new e}}))}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Sr(e){return e.ngDebugContext}function _r(e){return e.ngOriginalError}function Er(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.error.apply(e,n)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var Ir=function(){function e(){v(this,e),this._console=console}return y(e,[{key:"handleError",value:function(e){var t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e.ngErrorLogger||Er}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)}},{key:"_findContext",value:function(e){return e?Sr(e)?Sr(e):this._findContext(_r(e)):null}},{key:"_findOriginalError",value:function(e){for(var t=_r(e);t&&_r(t);)t=_r(t);return t}}]),e}(),xr={name:"custom-elements"},Or={name:"no-errors-schema"},Tr=function(){function e(t){v(this,e),this.changingThisBreaksApplicationSecurity=t}return y(e,[{key:"toString",value:function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"}}]),e}(),Ar=function(e){l(n,e);var t=d(n);function n(){return v(this,n),t.apply(this,arguments)}return y(n,[{key:"getTypeName",value:function(){return"HTML"}}]),n}(Tr),Pr=function(e){l(n,e);var t=d(n);function n(){return v(this,n),t.apply(this,arguments)}return y(n,[{key:"getTypeName",value:function(){return"Style"}}]),n}(Tr),Dr=function(e){l(n,e);var t=d(n);function n(){return v(this,n),t.apply(this,arguments)}return y(n,[{key:"getTypeName",value:function(){return"Script"}}]),n}(Tr),Rr=function(e){l(n,e);var t=d(n);function n(){return v(this,n),t.apply(this,arguments)}return y(n,[{key:"getTypeName",value:function(){return"URL"}}]),n}(Tr),Mr=function(e){l(n,e);var t=d(n);function n(){return v(this,n),t.apply(this,arguments)}return y(n,[{key:"getTypeName",value:function(){return"ResourceURL"}}]),n}(Tr);
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Nr(e){return e instanceof Tr?e.changingThisBreaksApplicationSecurity:e}function jr(e,t){var n=Fr(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error("Required a safe ".concat(t,", got a ").concat(n," (see http://g.co/ng/security#xss)"))}return n===t}function Fr(e){return e instanceof Tr&&e.getTypeName()||null}function Lr(e){return new Ar(e)}function Vr(e){return new Pr(e)}function Br(e){return new Dr(e)}function Ur(e){return new Rr(e)}function Hr(e){return new Mr(e)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var Gr=!0,qr=!1;function Kr(){return qr=!0,Gr}function zr(){if(qr)throw new Error("Cannot enable prod mode after platform setup.");Gr=!1}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Yr(e){return function(){try{return!!(new window.DOMParser).parseFromString("","text/html")}catch(e){return!1}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */()?new Wr:new Zr(e)}var Wr=function(){function e(){v(this,e)}return y(e,[{key:"getInertBodyElement",value:function(e){e="<body><remove></remove>"+e;try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(n){return null}}}]),e}(),Zr=function(){function e(t){if(v(this,e),this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){var n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);var r=this.inertDocument.createElement("body");n.appendChild(r)}}return y(e,[{key:"getInertBodyElement",value:function(e){var t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=e,t;var n=this.inertDocument.createElement("body");return n.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}},{key:"stripCustomNsAttrs",value:function(e){for(var t=e.attributes,n=t.length-1;0<n;n--){var r=t.item(n).name;"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||e.removeAttribute(r)}for(var i=e.firstChild;i;)i.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(i),i=i.nextSibling}}]),e}(),Jr=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,Qr=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Xr(e){return(e=String(e)).match(Jr)||e.match(Qr)?e:(Kr()&&console.warn("WARNING: sanitizing unsafe URL value ".concat(e," (see http://g.co/ng/security#xss)")),"unsafe:"+e)}function $r(e){return(e=String(e)).split(",").map((function(e){return Xr(e.trim())})).join(", ")}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function ei(e){var t,n={},i=r(e.split(","));try{for(i.s();!(t=i.n()).done;){n[t.value]=!0}}catch(o){i.e(o)}finally{i.f()}return n}function ti(){for(var e={},t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];for(var i=0,o=n;i<o.length;i++){var a=o[i];for(var s in a)a.hasOwnProperty(s)&&(e[s]=!0)}return e}var ni,ri=ei("area,br,col,hr,img,wbr"),ii=ei("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),oi=ei("rp,rt"),ai=ti(oi,ii),si=ti(ri,ti(ii,ei("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),ti(oi,ei("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),ai),ci=ei("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),li=ei("srcset"),ui=ti(ci,li,ei("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ei("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),di=ei("script,style,template"),hi=function(){function e(){v(this,e),this.sanitizedSomething=!1,this.buf=[]}return y(e,[{key:"sanitizeChildren",value:function(e){for(var t=e.firstChild,n=!0;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);var r=this.checkClobberedElement(t,t.nextSibling);if(r){t=r;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}},{key:"startElement",value:function(e){var t=e.nodeName.toLowerCase();if(!si.hasOwnProperty(t))return this.sanitizedSomething=!0,!di.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);for(var n=e.attributes,r=0;r<n.length;r++){var i=n.item(r),o=i.name,a=o.toLowerCase();if(ui.hasOwnProperty(a)){var s=i.value;ci[a]&&(s=Xr(s)),li[a]&&(s=$r(s)),this.buf.push(" ",o,'="',pi(s),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0}},{key:"endElement",value:function(e){var t=e.nodeName.toLowerCase();si.hasOwnProperty(t)&&!ri.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}},{key:"chars",value:function(e){this.buf.push(pi(e))}},{key:"checkClobberedElement",value:function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t}}]),e}(),fi=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,mi=/([^\#-~ |!])/g;function pi(e){return e.replace(/&/g,"&").replace(fi,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(mi,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(/</g,"<").replace(/>/g,">")}function vi(e,t){var n=null;try{ni=ni||Yr(e);var r=t?String(t):"";n=ni.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=ni.getInertBodyElement(r)}while(r!==o);var a=new hi,s=a.sanitizeChildren(gi(n)||n);return Kr()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),s}finally{if(n)for(var c=gi(n)||n;c.firstChild;)c.removeChild(c.firstChild)}}function gi(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */(e)?e.content:null}var yi=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}({});
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function bi(e){var t=Ii();return t?t.sanitize(yi.HTML,e)||"":jr(e,"HTML")?Nr(e):vi(Gt(),xt(e))}function ki(e){var t=Ii();return t?t.sanitize(yi.STYLE,e)||"":jr(e,"Style")?Nr(e):xt(e)}function Ci(e){var t=Ii();return t?t.sanitize(yi.URL,e)||"":jr(e,"URL")?Nr(e):Xr(xt(e))}function wi(e){var t=Ii();if(t)return t.sanitize(yi.RESOURCE_URL,e)||"";if(jr(e,"ResourceURL"))return Nr(e);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)")}function Si(e){var t=Ii();if(t)return t.sanitize(yi.SCRIPT,e)||"";if(jr(e,"Script"))return Nr(e);throw new Error("unsafe value used in a script context")}function _i(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?wi:Ci}function Ei(e,t,n){return _i(t,n)(e)}function Ii(){var e=un();return e&&e[12]}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var xi=/^>|^->|<!--|-->|--!>|<!-$/g,Oi=/(<|>)/;function Ti(e){return e.replace(xi,(function(e){return e.replace(Oi,"\u200b$1\u200b")}))}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var Ai=/([A-Z])/g;function Pi(e){try{return null!=e?e.toString().slice(0,30):e}catch(t){return"[ERROR] Exception while trying to serialize the value"}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Di(e){var t,n=Xt(e);if(n){if(Array.isArray(n)){var r,i=n,o=void 0,a=void 0;if((t=e)&&t.constructor&&t.constructor.\u0275cmp){if(-1==(r=Li(i,e)))throw new Error("The provided component was not found in the application");o=e}else if(function(e){return e&&e.constructor&&e.constructor.\u0275dir}(e)){if(-1==(r=function(e,t){for(var n=e[1].firstChild;n;){for(var r=n.directiveEnd,i=n.directiveStart;i<r;i++)if(e[i]===t)return n.index;n=Fi(n)}return-1}(i,e)))throw new Error("The provided directive was not found in the application");a=Vi(r,i,!1)}else if(-1==(r=ji(i,e)))return null;var s=zt(i[r]),c=Xt(s),l=c&&!Array.isArray(c)?c:Ri(i,r,s);if(o&&void 0===l.component&&(l.component=o,Ni(l.component,l)),a&&void 0===l.directives){l.directives=a;for(var u=0;u<a.length;u++)Ni(a[u],l)}Ni(l.native,l),n=l}}else for(var d=e,h=d;h=h.parentNode;){var f=Xt(h);if(f){var m;if(!(m=Array.isArray(f)?f:f.lView))return null;var p=ji(m,d);if(p>=0){var v=zt(m[p]),g=Ri(m,p,v);Ni(v,g),n=g;break}}}return n||null}function Ri(e,t,n){return{lView:e,nodeIndex:t,native:n,component:void 0,directives:void 0,localRefs:void 0}}function Mi(e){var t,n=Xt(e);if(Array.isArray(n)){var r=Li(n,e),i=Ri(n,r,(t=Qt(r,n))[0]);i.component=e,Ni(e,i),Ni(i.native,i)}else t=Qt(n.nodeIndex,n.lView);return t}function Ni(e,t){e.__ngContext__=t}function ji(e,t){for(var n=e[1],r=20;r<n.bindingStartIndex;r++)if(zt(e[r])===t)return r;return-1}function Fi(e){if(e.child&&e.child.parent===e)return e.child;if(e.next)return e.next;for(;e.parent&&!e.parent.next;)e=e.parent;return e.parent&&e.parent.next}function Li(e,t){var n=e[1].components;if(n)for(var r=0;r<n.length;r++){var i=n[r];if(Qt(i,e)[8]===t)return i}else if(Qt(20,e)[8]===t)return 20;return-1}function Vi(e,t,n){var r=t[1].data[e],i=r.directiveStart;return 0==i?rt:(!n&&2&r.flags&&i++,t.slice(i,r.directiveEnd))}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Bi(e,t,n){for(var r=e.length;;){var i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){var o=t.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}n=i+1}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Ui(e,t,n){for(var r=0;r<e.length;){var i=e[r++];if(n&&"class"===i){if(-1!==Bi((i=e[r]).toLowerCase(),t,0))return!0}else if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===t)return!0;return!1}}return!1}function Hi(e){return 0===e.type&&"ng-template"!==e.tagName}function Gi(e,t,n){return t===(0!==e.type||n?e.tagName:"ng-template")}function qi(e,t,n){for(var r=4,i=e.attrs||[],o=function(e){for(var t=0;t<e.length;t++)if(Qn(e[t]))return t;return e.length}(i),a=!1,s=0;s<t.length;s++){var c=t[s];if("number"!=typeof c){if(!a)if(4&r){if(r=2|1&r,""!==c&&!Gi(e,c,n)||""===c&&1===t.length){if(Ki(r))return!1;a=!0}}else{var l=8&r?c:t[++s];if(8&r&&null!==e.attrs){if(!Ui(e.attrs,l,n)){if(Ki(r))return!1;a=!0}continue}var u=zi(8&r?"class":c,i,Hi(e),n);if(-1===u){if(Ki(r))return!1;a=!0;continue}if(""!==l){var d;d=u>o?"":i[u+1].toLowerCase();var h=8&r?d:null;if(h&&-1!==Bi(h,l,0)||2&r&&l!==d){if(Ki(r))return!1;a=!0}}}}else{if(!a&&!Ki(r)&&!Ki(c))return!1;if(a&&Ki(c))continue;a=!1,r=c|1&r}}return Ki(r)||a}function Ki(e){return 0==(1&e)}function zi(e,t,n,r){if(null===t)return-1;var i=0;if(r||!n){for(var o=!1;i<t.length;){var a=t[i];if(a===e)return i;if(3===a||6===a)o=!0;else{if(1===a||2===a){for(var s=t[++i];"string"==typeof s;)s=t[++i];continue}if(4===a)break;if(0===a){i+=4;continue}}i+=o?1:2}return-1}return function(e,t){var n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){var r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function Yi(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=0;r<t.length;r++)if(qi(e,t[r],n))return!0;return!1}function Wi(e,t){e:for(var n=0;n<t.length;n++){var r=t[n];if(e.length===r.length){for(var i=0;i<e.length;i++)if(e[i]!==r[i])continue e;return!0}}return!1}function Zi(e,t){return e?":not("+t.trim()+")":t}function Ji(e){for(var t=e[0],n=1,r=2,i="",o=!1;n<e.length;){var a=e[n];if("string"==typeof a)if(2&r){var s=e[++n];i+="["+a+(s.length>0?'="'+s+'"':"")+"]"}else 8&r?i+="."+a:4&r&&(i+=" "+a);else""===i||Ki(a)||(t+=Zi(o,i),i=""),r=a,o=o||!Ki(r);n++}return""!==i&&(t+=Zi(o,i)),t}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var Qi={};
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Xi(e){var t=e[3];return Ct(t)?t[3]:t}function $i(e){return function(e){for(var t=kt(e)?e:$t(e);t&&!(512&t[2]);)t=Xi(t);return t}(e)[8]}function eo(e){return no(e[13])}function to(e){return no(e[4])}function no(e){for(;null!==e&&!Ct(e);)e=e[4];return e}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function ro(e){io(dn(),un(),Fn()+e,gn())}function io(e,t,n,r){if(!r)if(3==(3&t[2])){var i=e.preOrderCheckHooks;null!==i&&qn(t,i,n)}else{var o=e.preOrderHooks;null!==o&&Kn(t,o,0,n)}Ln(n)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function oo(e,t){return e<<17|t<<2}function ao(e){return e>>17&32767}function so(e){return 2|e}function co(e){return(131068&e)>>2}function lo(e,t){return-131069&e|t<<2}function uo(e){return 1|e}var ho=Promise.resolve(null);function fo(e,t){var n=e.contentQueries;if(null!==n)for(var r=0;r<n.length;r+=2){var i=n[r],o=n[r+1];if(-1!==o){var a=e.data[o];On(i),a.contentQueries(2,t[o],o)}}}function mo(e,t,n){return qt(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function po(e,t,n,r,i,o,a,s,c,l){var u=t.blueprint.slice();return u[0]=i,u[2]=140|r,rn(u),u[3]=u[15]=e,u[8]=n,u[10]=a||e&&e[10],u[11]=s||e&&e[11],u[12]=c||e&&e[12]||null,u[9]=l||e&&e[9]||null,u[6]=o,u[16]=2==t.type?e[16]:u,u}function vo(e,t,n,r,i){var o=t+20,a=e.data[o]||function(e,t,n,r,i){var o=fn(),a=pn(),s=e.data[t]=function(e,t,n,r,i,o){return{type:n,index:r,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,tagName:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,a?o:o&&o.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=s),null!==o&&(a&&null==o.child&&null!==s.parent?o.child=s:a||(o.next=s)),s}(e,o,n,r,i);return mn(a,!0),a}function go(e,t,n){An(t);try{var r=e.viewQuery;null!==r&&Qo(1,r,n);var i=e.template;null!==i&&ko(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&fo(e,t),e.staticViewQueries&&Qo(2,e.viewQuery,n);var o=e.components;null!==o&&function(e,t){for(var n=0;n<t.length;n++)Ko(e,t[n])}(t,o)}catch(a){throw e.firstCreatePass&&(e.incompleteFirstPass=!0),a}finally{t[2]&=-5,Nn()}}function yo(e,t,n,r){var i=t[2];if(256!=(256&i)){An(t);var o=gn();try{rn(t),Cn(e.bindingStartIndex),null!==n&&ko(e,t,n,2,r);var a=3==(3&i);if(!o)if(a){var s=e.preOrderCheckHooks;null!==s&&qn(t,s,null)}else{var c=e.preOrderHooks;null!==c&&Kn(t,c,0,null),zn(t,0)}if(function(e){for(var t=eo(e);null!==t;t=to(t))if(t[2])for(var n=t[9],r=0;r<n.length;r++){var i=n[r],o=i[3];0==(1024&i[2])&&on(o,1),i[2]|=1024}}(t),function(e){for(var t=eo(e);null!==t;t=to(t))for(var n=10;n<t.length;n++){var r=t[n],i=r[1];tn(r)&&yo(i,r,i.template,r[8])}}(t),null!==e.contentQueries&&fo(e,t),!o)if(a){var l=e.contentCheckHooks;null!==l&&qn(t,l)}else{var u=e.contentHooks;null!==u&&Kn(t,u,1),zn(t,1)}!function(e,t){try{var n=e.expandoInstructions;if(null!==n)for(var r=e.expandoStartIndex,i=-1,o=0;o<n.length;o++){var a=n[o];"number"==typeof a?a<=0?(Ln(0-a),i=r+=9+n[++o]):r+=a:(null!==a&&(_n(r,i),a(2,t[i])),i++)}}finally{Ln(-1)}}(e,t);var d=e.components;null!==d&&function(e,t){for(var n=0;n<t.length;n++)qo(e,t[n])}(t,d);var h=e.viewQuery;if(null!==h&&Qo(2,h,r),!o)if(a){var f=e.viewCheckHooks;null!==f&&qn(t,f)}else{var m=e.viewHooks;null!==m&&Kn(t,m,2),zn(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),o||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,on(t[3],-1))}finally{Nn()}}}function bo(e,t,n,r){var i=t[10],o=!gn(),a=en(t);try{o&&!a&&i.begin&&i.begin(),a&&go(e,t,r),yo(e,t,n,r)}finally{o&&!a&&i.end&&i.end()}}function ko(e,t,n,r,i){var o=Fn();try{Ln(-1),2&r&&t.length>20&&io(e,t,0,gn()),n(r,i)}finally{Ln(o)}}function Co(e,t,n){if(wt(t))for(var r=t.directiveEnd,i=t.directiveStart;i<r;i++){var o=e.data[i];o.contentQueries&&o.contentQueries(1,n[i],i)}}function wo(e,t,n){sn()&&(function(e,t,n,r){var i=n.directiveStart,o=n.directiveEnd;e.firstCreatePass||sr(n,t),Ni(r,t);for(var a=n.initialInputs,s=i;s<o;s++){var c=e.data[s],l=Et(c);l&&Vo(t,n,c);var u=gr(t,e,s,n);Ni(u,t),null!==a&&Uo(0,s-i,u,c,0,a),l&&(Qt(n.index,t)[8]=u)}}(e,t,n,Wt(n,t)),128==(128&n.flags)&&function(e,t,n){var r=n.directiveStart,i=n.directiveEnd,o=e.expandoInstructions,a=e.firstCreatePass,s=n.index-20,c=an.lFrame.currentDirectiveIndex;try{Ln(s);for(var l=r;l<i;l++){var u=e.data[l],d=t[l];En(l),null!==u.hostBindings||0!==u.hostVars||null!==u.hostAttrs?Ro(u,d):a&&o.push(null)}}finally{Ln(-1),En(c)}}(e,t,n))}function So(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Wt,r=t.localNames;if(null!==r)for(var i=t.index+1,o=0;o<r.length;o+=2){var a=r[o+1],s=-1===a?n(t,e):e[a];e[i++]=s}}function _o(e){var t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Eo(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Eo(e,t,n,r,i,o,a,s,c,l){var u=20+r,d=u+i,h=function(e,t){for(var n=[],r=0;r<t;r++)n.push(r<e?null:Qi);return n}(u,d),f="function"==typeof l?l():l;return h[1]={type:e,blueprint:h,template:n,queries:null,viewQuery:s,declTNode:t,data:h.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:d,expandoInstructions:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof a?a():a,firstChild:null,schemas:c,consts:f,incompleteFirstPass:!1}}function Io(e,t,n){if(qt(e))return e.selectRootElement(t,n===tt.ShadowDom);var r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}function xo(e,t,n,r){var i=$o(t);i.push(n),e.firstCreatePass&&function(e){return e.cleanup||(e.cleanup=[])}(e).push(r,i.length-1)}function Oo(e,t,n){for(var r in e)if(e.hasOwnProperty(r)){var i=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,i):n[r]=[t,i]}return n}function To(e,t,n,r,i,o,a,s){var c,l,u=Wt(t,n),d=t.inputs;!s&&null!=d&&(c=d[r])?(na(e,n,c,r,i),St(t)&&function(e,t){var n=Qt(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):2===t.type&&(r="class"===(l=r)?"className":"for"===l?"htmlFor":"formaction"===l?"formAction":"innerHtml"===l?"innerHTML":"readonly"===l?"readOnly":"tabindex"===l?"tabIndex":l,i=null!=a?a(i,t.tagName||"",r):i,qt(o)?o.setProperty(u,r,i):Xn(r)||(u.setProperty?u.setProperty(r,i):u[r]=i))}function Ao(e,t,n,r){var i=!1;if(sn()){var o=function(e,t,n){var r=e.directiveRegistry,i=null;if(r)for(var o=0;o<r.length;o++){var a=r[o];Yi(n,a.selectors,!1)&&(i||(i=[]),dr(sr(n,t),e,a.type),Et(a)?(No(e,n),i.unshift(a)):i.push(a))}return i}(e,t,n),a=null===r?null:{"":-1};if(null!==o){var s=0;i=!0,Fo(n,e.data.length,o.length);for(var c=0;c<o.length;c++){var l=o[c];l.providersResolver&&l.providersResolver(l)}Mo(e,n,o.length);for(var u=!1,d=!1,h=0;h<o.length;h++){var f=o[h];n.mergedAttrs=$n(n.mergedAttrs,f.hostAttrs),Lo(e,t,f),jo(e.data.length-1,f,a),null!==f.contentQueries&&(n.flags|=8),null===f.hostBindings&&null===f.hostAttrs&&0===f.hostVars||(n.flags|=128);var m=f.type.prototype;!u&&(m.ngOnChanges||m.ngOnInit||m.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index-20),u=!0),d||!m.ngOnChanges&&!m.ngDoCheck||((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index-20),d=!0),Po(e,f),s+=f.hostVars}!function(e,t){for(var n=t.directiveEnd,r=e.data,i=t.attrs,o=[],a=null,s=null,c=t.directiveStart;c<n;c++){var l=r[c],u=l.inputs,d=null===i||Hi(t)?null:Ho(u,i);o.push(d),a=Oo(u,c,a),s=Oo(l.outputs,c,s)}null!==a&&(a.hasOwnProperty("class")&&(t.flags|=16),a.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=o,t.inputs=a,t.outputs=s}(e,n),Do(e,t,s)}a&&function(e,t,n){if(t)for(var r=e.localNames=[],i=0;i<t.length;i+=2){var o=n[t[i+1]];if(null==o)throw new Error("Export of name '".concat(t[i+1],"' not found!"));r.push(t[i],o)}}(n,r,a)}return n.mergedAttrs=$n(n.mergedAttrs,n.attrs),i}function Po(e,t){var n=e.expandoInstructions;n.push(t.hostBindings),0!==t.hostVars&&n.push(t.hostVars)}function Do(e,t,n){for(var r=0;r<n;r++)t.push(Qi),e.blueprint.push(Qi),e.data.push(null)}function Ro(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Mo(e,t,n){var r=20-t.index,i=e.data.length-(1048575&t.providerIndexes);(e.expandoInstructions||(e.expandoInstructions=[])).push(r,i,n)}function No(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function jo(e,t,n){if(n){if(t.exportAs)for(var r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Et(t)&&(n[""]=e)}}function Fo(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Lo(e,t,n){e.data.push(n);var r=n.factory||(n.factory=yt(n.type)),i=new Zn(r,Et(n),null);e.blueprint.push(i),t.push(i)}function Vo(e,t,n){var r=Wt(t,e),i=_o(n),o=e[10],a=zo(e,po(e,i,null,n.onPush?64:16,r,t,o,o.createRenderer(r,n),null,null));e[t.index]=a}function Bo(e,t,n,r,i,o){var a=Wt(e,t),s=t[11];if(null==r)qt(s)?s.removeAttribute(a,n,o):a.removeAttribute(n);else{var c=null==i?xt(r):i(r,e.tagName||"",n);qt(s)?s.setAttribute(a,n,c,o):o?a.setAttributeNS(o,n,c):a.setAttribute(n,c)}}function Uo(e,t,n,r,i,o){var a=o[t];if(null!==a)for(var s=r.setInput,c=0;c<a.length;){var l=a[c++],u=a[c++],d=a[c++];null!==s?r.setInput(n,d,l,u):n[u]=d}}function Ho(e,t){for(var n=null,r=0;r<t.length;){var i=t[r];if(0!==i)if(5!==i){if("number"==typeof i)break;e.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,e[i],t[r+1])),r+=2}else r+=2;else r+=4}return n}function Go(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function qo(e,t){var n=Qt(t,e);if(tn(n)){var r=n[1];80&n[2]?yo(r,n,r.template,n[8]):n[5]>0&&function e(t){for(var n=eo(t);null!==n;n=to(n))for(var r=10;r<n.length;r++){var i=n[r];if(1024&i[2]){var o=i[1];yo(o,i,o.template,i[8])}else i[5]>0&&e(i)}var a=t[1].components;if(null!==a)for(var s=0;s<a.length;s++){var c=Qt(a[s],t);tn(c)&&c[5]>0&&e(c)}}(n)}}function Ko(e,t){var n=Qt(t,e),r=n[1];!function(e,t){for(var n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n),go(r,n,n[8])}function zo(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Yo(e){for(;e;){e[2]|=64;var t=Xi(e);if(It(e)&&!t)return e;e=t}return null}function Wo(e){for(var t=0;t<e.components.length;t++){var n=e.components[t],r=$t(n),i=r[1];bo(i,r,i.template,n)}}function Zo(e,t,n){var r=t[10];r.begin&&r.begin();try{yo(e,t,e.template,n)}catch(i){throw ta(t,i),i}finally{r.end&&r.end()}}function Jo(e){Wo(e[8])}function Qo(e,t,n){On(0),t(e,n)}var Xo=ho;function $o(e){return e[7]||(e[7]=[])}function ea(e,t,n){return(null===e||Et(e))&&(n=function(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function ta(e,t){var n=e[9],r=n?n.get(Ir,null):null;r&&r.handleError(t)}function na(e,t,n,r,i){for(var o=0;o<n.length;){var a=n[o++],s=n[o++],c=t[a],l=e.data[a];null!==l.setInput?l.setInput(c,i,r,s):c[s]=i}}function ra(e,t,n){var r=Yt(t,e),i=e[11];qt(i)?i.setValue(r,n):r.textContent=n}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function ia(e,t,n,r,i){if(null!=r){var o,a=!1;Ct(r)?o=r:kt(r)&&(a=!0,r=r[0]);var s=zt(r);0===e&&null!==n?null==i?ha(t,n,s):da(t,n,s,i||null):1===e&&null!==n?da(t,n,s,i||null):2===e?ga(t,s,a):3===e&&t.destroyNode(s),null!=o&&function(e,t,n,r,i){var o=n[7];o!==zt(n)&&ia(t,e,r,o,i);for(var a=10;a<n.length;a++){var s=n[a];ba(s[1],s,e,t,r,o)}}(t,e,o,n,i)}}function oa(e,t){return qt(t)?t.createText(e):t.createTextNode(e)}function aa(e,t){var n=e[9],r=n.indexOf(t),i=t[3];1024&t[2]&&(t[2]&=-1025,on(i,-1)),n.splice(r,1)}function sa(e,t){if(!(e.length<=10)){var n,r=10+t,i=e[r];if(i){var o=i[17];null!==o&&o!==e&&aa(o,i),t>0&&(e[r-1][4]=i[4]);var a=ze(e,10+t);ba(i[1],n=i,n[11],2,null,null),n[0]=null,n[6]=null;var s=a[19];null!==s&&s.detachView(a[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}}function ca(e,t){if(!(256&t[2])){var n=t[11];qt(n)&&n.destroyNode&&ba(e,t,n,3,null,null),function(e){var t=e[13];if(!t)return la(e[1],e);for(;t;){var n=null;if(kt(t))n=t[13];else{var r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)kt(t)&&la(t[1],t),t=t[3];null===t&&(t=e),kt(t)&&la(t[1],t),n=t&&t[4]}t=n}}(t)}}function la(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){var n;if(null!=e&&null!=(n=e.destroyHooks))for(var r=0;r<n.length;r+=2){var i=t[n[r]];if(!(i instanceof Zn)){var o=n[r+1];if(Array.isArray(o))for(var a=0;a<o.length;a+=2)o[a+1].call(i[o[a]]);else o.call(i)}}}(e,t),function(e,t){var n=e.cleanup;if(null!==n){for(var r=t[7],i=0;i<n.length-1;i+=2)if("string"==typeof n[i]){var o=n[i+1],a="function"==typeof o?o(t):zt(t[o]),s=r[n[i+2]],c=n[i+3];"boolean"==typeof c?a.removeEventListener(n[i],s,c):c>=0?r[c]():r[-c].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);t[7]=null}}(e,t),1===t[1].type&&qt(t[11])&&t[11].destroy();var n=t[17];if(null!==n&&Ct(t[3])){n!==t[3]&&aa(n,t);var r=t[19];null!==r&&r.detachView(e)}}}function ua(e,t,n){for(var r=t.parent;null!=r&&(3===r.type||4===r.type);)r=(t=r).parent;if(null===r)return n[0];if(t&&4===t.type&&4&t.flags)return Wt(t,n).parentNode;if(2&r.flags){var i=e.data,o=i[i[r.index].directiveStart].encapsulation;if(o!==tt.ShadowDom&&o!==tt.Native)return null}return Wt(r,n)}function da(e,t,n,r){qt(e)?e.insertBefore(t,n,r):t.insertBefore(n,r,!0)}function ha(e,t,n){qt(e)?e.appendChild(t,n):t.appendChild(n)}function fa(e,t,n,r){null!==r?da(e,t,n,r):ha(e,t,n)}function ma(e,t){return qt(e)?e.parentNode(t):t.parentNode}function pa(e,t){return 3===e.type||4===e.type?Wt(e,t):null}function va(e,t,n,r){var i=ua(e,r,t);if(null!=i){var o=t[11],a=pa(r.parent||t[6],t);if(Array.isArray(n))for(var s=0;s<n.length;s++)fa(o,i,n[s],a);else fa(o,i,n,a)}}function ga(e,t,n){var r=ma(e,t);r&&function(e,t,n,r){qt(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}function ya(e,t,n,r,i,o,a){for(;null!=n;){var s=r[n.index],c=n.type;a&&0===t&&(s&&Ni(zt(s),r),n.flags|=4),64!=(64&n.flags)&&(3===c||4===c?(ya(e,t,n.child,r,i,o,!1),ia(t,e,i,s,o)):1===c?Ca(e,t,r,n,i,o):ia(t,e,i,s,o)),n=a?n.projectionNext:n.next}}function ba(e,t,n,r,i,o){ya(n,r,e.firstChild,t,i,o,!1)}function ka(e,t,n){Ca(t[11],0,t,n,ua(e,n,t),pa(n.parent||t[6],t))}function Ca(e,t,n,r,i,o){var a=n[16],s=a[6].projection[r.projection];if(Array.isArray(s))for(var c=0;c<s.length;c++)ia(t,e,i,s[c],o);else ya(e,t,s,a[3],i,o,!0)}function wa(e,t,n){qt(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function Sa(e,t,n){qt(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var _a,Ea,Ia,xa=function(){function e(t,n){v(this,e),this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._viewContainerRef=null}return y(e,[{key:"rootNodes",get:function(){var e=this._lView,t=e[1];return function e(t,r,i,o){for(var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];null!==i;){var s=r[i.index];if(null!==s&&o.push(zt(s)),Ct(s))for(var c=10;c<s.length;c++){var l=s[c],u=l[1].firstChild;null!==u&&e(l[1],l,u,o)}var d=i.type;if(3===d||4===d)e(t,r,i.child,o);else if(1===d){var h=r[16],f=h[6].projection[i.projection];if(Array.isArray(f))o.push.apply(o,n(f));else{var m=Xi(h);e(m[1],m,f,o,!0)}}i=a?i.projectionNext:i.next}return o}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */(t,e,t.firstChild,[])}},{key:"context",get:function(){return this._lView[8]}},{key:"destroyed",get:function(){return 256==(256&this._lView[2])}},{key:"destroy",value:function(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){var e=this._viewContainerRef.indexOf(this);e>-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}ca(this._lView[1],this._lView)}},{key:"onDestroy",value:function(e){xo(this._lView[1],this._lView,null,e)}},{key:"markForCheck",value:function(){Yo(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){Zo(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(e,t,n){yn(!0);try{Zo(e,t,n)}finally{yn(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}},{key:"detachFromAppRef",value:function(){var e;this._appRef=null,ba(this._lView[1],e=this._lView,e[11],2,null,null)}},{key:"attachToAppRef",value:function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}]),e}(),Oa=function(e){l(n,e);var t=d(n);function n(e){var r;return v(this,n),(r=t.call(this,e))._view=e,r}return y(n,[{key:"detectChanges",value:function(){Jo(this._view)}},{key:"checkNoChanges",value:function(){!function(e){yn(!0);try{Jo(e)}finally{yn(!1)}}(this._view)}},{key:"context",get:function(){return null}}]),n}(xa);function Ta(e,t,n){return _a||(_a=function(e){l(n,e);var t=d(n);function n(){return v(this,n),t.apply(this,arguments)}return n}(e)),new _a(Wt(t,n))}function Aa(e,t,n,r){return Ea||(Ea=function(e){l(n,e);var t=d(n);function n(e,r,i){var o;return v(this,n),(o=t.call(this))._declarationView=e,o._declarationTContainer=r,o.elementRef=i,o}return y(n,[{key:"createEmbeddedView",value:function(e){var t=this._declarationTContainer.tViews,n=po(this._declarationView,t,e,16,null,t.declTNode,null,null,null,null);n[17]=this._declarationView[this._declarationTContainer.index];var r=this._declarationView[19];return null!==r&&(n[19]=r.createEmbeddedView(t)),go(t,n,e),new xa(n)}}]),n}(e)),0===n.type?new Ea(r,n,Ta(t,n,r)):null}function Pa(e,t,n,r){var i;Ia||(Ia=function(e){l(r,e);var n=d(r);function r(e,t,i){var o;return v(this,r),(o=n.call(this))._lContainer=e,o._hostTNode=t,o._hostView=i,o}return y(r,[{key:"element",get:function(){return Ta(t,this._hostTNode,this._hostView)}},{key:"injector",get:function(){return new kr(this._hostTNode,this._hostView)}},{key:"parentInjector",get:function(){var e=ur(this._hostTNode,this._hostView);if(tr(e)){var t=rr(e,this._hostView),n=nr(e);return new kr(t[1].data[n+8],t)}return new kr(null,this._hostView)}},{key:"clear",value:function(){for(;this.length>0;)this.remove(this.length-1)}},{key:"get",value:function(e){return null!==this._lContainer[8]&&this._lContainer[8][e]||null}},{key:"length",get:function(){return this._lContainer.length-10}},{key:"createEmbeddedView",value:function(e,t,n){var r=e.createEmbeddedView(t||{});return this.insert(r,n),r}},{key:"createComponent",value:function(e,t,n,r,i){var o=n||this.parentInjector;if(!i&&null==e.ngModule&&o){var a=o.get(Be,null);a&&(i=a)}var s=e.create(o,r,void 0,i);return this.insert(s.hostView,t),s}},{key:"insert",value:function(e,t){var n=e._lView,r=n[1];if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),Ct(n[3])){var i=this.indexOf(e);if(-1!==i)this.detach(i);else{var o=n[3],a=new Ia(o,o[6],o[3]);a.detach(a.indexOf(e))}}var s=this._adjustIndex(t),c=this._lContainer;!function(e,t,n,r){var i=10+r,o=n.length;r>0&&(n[i-1][4]=t),r<o-10?(t[4]=n[i],Ke(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;var a=t[17];null!==a&&n!==a&&function(e,t){var n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(a,t);var s=t[19];null!==s&&s.insertView(e),t[2]|=128}(r,n,c,s);var l=function e(t,n){var r=10+t+1;if(r<n.length){var i=n[r],o=i[1].firstChild;if(null!==o)return function t(n,r){if(null!==r){var i=r.type;if(2===i)return Wt(r,n);if(0===i)return e(-1,n[r.index]);if(3===i||4===i){var o=r.child;if(null!==o)return t(n,o);var a=n[r.index];return Ct(a)?e(-1,a):zt(a)}var s=n[16],c=s[6],l=Xi(s),u=c.projection[r.projection];return null!=u?t(l,u):t(n,r.next)}return null}(i,o)}return n[7]}(s,c),u=n[11],d=ma(u,c[7]);return null!==d&&function(e,t,n,r,i,o){r[0]=i,r[6]=t,ba(e,r,n,1,i,o)}(r,c[6],u,n,d,l),e.attachToViewContainerRef(this),Ke(c[8],s,e),e}},{key:"move",value:function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(e,t)}},{key:"indexOf",value:function(e){var t=this._lContainer[8];return null!==t?t.indexOf(e):-1}},{key:"remove",value:function(e){this.allocateContainerIfNeeded();var t=this._adjustIndex(e,-1),n=sa(this._lContainer,t);n&&(ze(this._lContainer[8],t),ca(n[1],n))}},{key:"detach",value:function(e){this.allocateContainerIfNeeded();var t=this._adjustIndex(e,-1),n=sa(this._lContainer,t);return n&&null!=ze(this._lContainer[8],t)?new xa(n):null}},{key:"_adjustIndex",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return null==e?this.length+t:e}},{key:"allocateContainerIfNeeded",value:function(){null===this._lContainer[8]&&(this._lContainer[8]=[])}}]),r}(e));var o=r[n.index];if(Ct(o))i=o;else{var a;if(3===n.type)a=zt(o);else if(a=r[11].createComment(""),It(r)){var s=r[11],c=Wt(n,r);da(s,ma(s,c),a,function(e,t){return qt(e)?e.nextSibling(t):t.nextSibling}(s,c))}else va(r[1],r,a,n);r[n.index]=i=Go(o,r,a,n),zo(r,i)}return new Ia(i,n,r)}function Da(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(e,t,n){if(!n&&St(e)){var r=Qt(e.index,t);return new xa(r,r)}return 2===e.type||0===e.type||3===e.type||4===e.type?new xa(t[16],t):null}(fn(),un(),e)}var Ra=function(){var e=function e(){v(this,e)};return e.__NG_ELEMENT_ID__=function(){return Na()},e}(),Ma=Da,Na=Ma,ja=Function;function Fa(e){return"function"==typeof e}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var La=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|[^()]+\(arguments\))\)/,Va=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,Ba=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,Ua=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{\s*super\(\.\.\.arguments\)/,Ha=function(){function e(t){v(this,e),this._reflect=t||fe.Reflect}return y(e,[{key:"isReflectionEnabled",value:function(){return!0}},{key:"factory",value:function(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return a(e,n)}}},{key:"_zipTypesAndAnnotations",value:function(e,t){var n;n=Ye(void 0===e?t.length:e.length);for(var r=0;r<n.length;r++)n[r]=void 0===e?[]:e[r]&&e[r]!=Object?[e[r]]:[],t&&null!=t[r]&&(n[r]=n[r].concat(t[r]));return n}},{key:"_ownParameters",value:function(e,t){if(n=e.toString(),La.test(n)||Ua.test(n)||Va.test(n)&&!Ba.test(n))return null;var n;if(e.parameters&&e.parameters!==t.parameters)return e.parameters;var r=e.ctorParameters;if(r&&r!==t.ctorParameters){var i="function"==typeof r?r():r,o=i.map((function(e){return e&&e.type})),a=i.map((function(e){return e&&Ga(e.decorators)}));return this._zipTypesAndAnnotations(o,a)}var s=e.hasOwnProperty(T)&&e[T],c=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",e);return c||s?this._zipTypesAndAnnotations(c,s):Ye(e.length)}},{key:"parameters",value:function(e){if(!Fa(e))return[];var t=qa(e),n=this._ownParameters(e,t);return n||t===Object||(n=this.parameters(t)),n||[]}},{key:"_ownAnnotations",value:function(e,t){if(e.annotations&&e.annotations!==t.annotations){var n=e.annotations;return"function"==typeof n&&n.annotations&&(n=n.annotations),n}return e.decorators&&e.decorators!==t.decorators?Ga(e.decorators):e.hasOwnProperty(O)?e[O]:null}},{key:"annotations",value:function(e){if(!Fa(e))return[];var t=qa(e),n=this._ownAnnotations(e,t)||[];return(t!==Object?this.annotations(t):[]).concat(n)}},{key:"_ownPropMetadata",value:function(e,t){if(e.propMetadata&&e.propMetadata!==t.propMetadata){var n=e.propMetadata;return"function"==typeof n&&n.propMetadata&&(n=n.propMetadata),n}if(e.propDecorators&&e.propDecorators!==t.propDecorators){var r=e.propDecorators,i={};return Object.keys(r).forEach((function(e){i[e]=Ga(r[e])})),i}return e.hasOwnProperty(A)?e[A]:null}},{key:"propMetadata",value:function(e){if(!Fa(e))return{};var t=qa(e),r={};if(t!==Object){var i=this.propMetadata(t);Object.keys(i).forEach((function(e){r[e]=i[e]}))}var o=this._ownPropMetadata(e,t);return o&&Object.keys(o).forEach((function(e){var t=[];r.hasOwnProperty(e)&&t.push.apply(t,n(r[e])),t.push.apply(t,n(o[e])),r[e]=t})),r}},{key:"ownPropMetadata",value:function(e){return Fa(e)&&this._ownPropMetadata(e,qa(e))||{}}},{key:"hasLifecycleHook",value:function(e,t){return e instanceof ja&&t in e.prototype}},{key:"guards",value:function(e){return{}}},{key:"getter",value:function(e){return new Function("o","return o."+e+";")}},{key:"setter",value:function(e){return new Function("o","v","return o."+e+" = v;")}},{key:"method",value:function(e){return new Function("o","args","if (!o.".concat(e,") throw new Error('\"").concat(e,"\" is undefined');\n        return o.").concat(e,".apply(o, args);"))}},{key:"importUri",value:function(e){return"object"==typeof e&&e.filePath?e.filePath:"./"+re(e)}},{key:"resourceUri",value:function(e){return"./"+re(e)}},{key:"resolveIdentifier",value:function(e,t,n,r){return r}},{key:"resolveEnum",value:function(e,t){return e[t]}}]),e}();function Ga(e){return e?e.map((function(e){return a(e.type.annotationCls,n(e.args?e.args:[]))})):[]}function qa(e){var t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var Ka=null;function za(){return Ka=Ka||new Ha}function Ya(e){return Wa(za().parameters(e))}function Wa(e){var t=pe();return e.map((function(e){return function(e,t){var n={token:null,host:!1,optional:!1,resolved:e.R3ResolvedDependencyType.Token,self:!1,skipSelf:!1};function r(t){n.resolved=e.R3ResolvedDependencyType.Token,n.token=t}if(Array.isArray(t)&&t.length>0)for(var i=0;i<t.length;i++){var o=t[i];if(void 0!==o){var a=Object.getPrototypeOf(o);if(o instanceof F||"Optional"===a.ngMetadataName)n.optional=!0;else if(o instanceof V||"SkipSelf"===a.ngMetadataName)n.skipSelf=!0;else if(o instanceof L||"Self"===a.ngMetadataName)n.self=!0;else if(o instanceof B||"Host"===a.ngMetadataName)n.host=!0;else if(o instanceof j)n.token=o.token;else if(o instanceof H){if(void 0===o.attributeName)throw new Error("Attribute name must be defined.");n.token=o.attributeName,n.resolved=e.R3ResolvedDependencyType.Attribute}else o===Ra?(n.token=o,n.resolved=e.R3ResolvedDependencyType.ChangeDetectorRef):r(o)}}else void 0===t||Array.isArray(t)&&0===t.length?(n.token=void 0,n.resolved=me.Invalid):r(t);return n}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */(t,e)}))}var Za=q({provide:String,useValue:q});function Ja(e){return void 0!==e.useClass}function Qa(e){return void 0!==e.useFactory}function Xa(e,t){var n=t||{providedIn:null},r={name:e.name,type:e,typeArgumentCount:0,providedIn:n.providedIn,userDeps:void 0};return(Ja(n)||Qa(n))&&void 0!==n.deps&&(r.userDeps=Wa(n.deps)),Ja(n)?r.useClass=se(n.useClass):function(e){return Za in e}(n)?r.useValue=se(n.useValue):Qa(n)?r.useFactory=n.useFactory:function(e){return void 0!==e.useExisting}(n)&&(r.useExisting=se(n.useExisting)),r}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var $a=P("Injectable",void 0,void 0,void 0,(function(e,t){return ts(e,t)})),es=function(e,t){var n=null,r=null;e.hasOwnProperty(X)||(Object.defineProperty(e,X,{get:function(){return null===n&&(n=pe().compileInjectable(Ve,"ng:///".concat(e.name,"/\u0275prov.js"),Xa(e,t))),n}}),e.hasOwnProperty(ee)||(e[ee]=function(){return e[X]})),e.hasOwnProperty(we)||Object.defineProperty(e,we,{get:function(){if(null===r){var n=Xa(e,t),i=pe();r=i.compileFactory(Ve,"ng:///".concat(e.name,"/\u0275fac.js"),{name:n.name,type:n.type,typeArgumentCount:n.typeArgumentCount,deps:Ya(e),injectFn:"inject",target:i.R3FactoryTarget.Injectable})}return r},configurable:!0})},ts=es,ns=new _e("Set Injector scope."),rs={},is={},os=[],as=void 0;function ss(){return void 0===as&&(as=new Le),as}function cs(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3?arguments[3]:void 0,i=ls(e,t,n,r);return i._resolveInjectorDefTypes(),i}function ls(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3?arguments[3]:void 0;return new us(e,n,t||ss(),r)}var us=function(){function e(t,n,r){var i=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;v(this,e),this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var a=[];n&&qe(n,(function(e){return i.processProvider(e,t,n)})),qe([t],(function(e){return i.processInjectorType(e,[],a)})),this.records.set(Ee,fs(void 0,this));var s=this.records.get(ns);this.scope=null!=s?s.value:null,this.source=o||("object"==typeof t?null:re(t))}return y(e,[{key:"destroyed",get:function(){return this._destroyed}},{key:"destroy",value:function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach((function(e){return e.ngOnDestroy()}))}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ie,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:G.Default;this.assertNotDestroyed();var r,i=Ae(this);try{if(!(n&G.SkipSelf)){var o=this.records.get(e);if(void 0===o){var a=("function"==typeof(r=e)||"object"==typeof r&&r instanceof _e)&&Z(e);o=a&&this.injectableDefInScope(a)?fs(ds(e),rs):null,this.records.set(e,o)}if(null!=o)return this.hydrate(e,o)}return(n&G.Self?ss():this.parent).get(e,t=n&G.Optional&&t===Ie?null:t)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(re(e)),i)throw s;return function(e,t,n,r){var i=e.ngTempTokenPath;throw t.__source&&i.unshift(t.__source),e.message=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;var i=re(t);if(Array.isArray(t))i=t.map(re).join(" -> ");else if("object"==typeof t){var o=[];for(var a in t)if(t.hasOwnProperty(a)){var s=t[a];o.push(a+":"+("string"==typeof s?JSON.stringify(s):re(s)))}i="{".concat(o.join(", "),"}")}return"".concat(n).concat(r?"("+r+")":"","[").concat(i,"]: ").concat(e.replace(xe,"\n  "))}("\n"+e.message,i,"R3InjectorError",r),e.ngTokenPath=i,e.ngTempTokenPath=null,e}(s,e,0,this.source)}throw s}finally{Ae(i)}}},{key:"_resolveInjectorDefTypes",value:function(){var e=this;this.injectorDefTypes.forEach((function(t){return e.get(t)}))}},{key:"toString",value:function(){var e=[];return this.records.forEach((function(t,n){return e.push(re(n))})),"R3Injector[".concat(e.join(", "),"]")}},{key:"assertNotDestroyed",value:function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}},{key:"processInjectorType",value:function(e,t,n){var r=this;if(!(e=se(e)))return!1;var i=Q(e),o=null==i&&e.ngModule||void 0,a=void 0===o?e:o,s=-1!==n.indexOf(a);if(void 0!==o&&(i=Q(o)),null==i)return!1;if(null!=i.imports&&!s){var c;n.push(a);try{qe(i.imports,(function(e){r.processInjectorType(e,t,n)&&(void 0===c&&(c=[]),c.push(e))}))}finally{}if(void 0!==c)for(var l=function(e){var t=c[e],n=t.ngModule,i=t.providers;qe(i,(function(e){return r.processProvider(e,n,i||os)}))},u=0;u<c.length;u++)l(u)}this.injectorDefTypes.add(a),this.records.set(a,fs(i.factory,rs));var d=i.providers;if(null!=d&&!s){var h=e;qe(d,(function(e){return r.processProvider(e,h,d)}))}return void 0!==o&&void 0!==e.providers}},{key:"processProvider",value:function(e,t,n){var r=ps(e=se(e))?e:se(e&&e.provide),i=function(e,t,n){return ms(e)?fs(void 0,e.useValue):fs(hs(e),rs)}(e);if(ps(e)||!0!==e.multi)this.records.get(r);else{var o=this.records.get(r);o||((o=fs(void 0,rs,!0)).factory=function(){return Fe(o.multi)},this.records.set(r,o)),r=e,o.multi.push(e)}this.records.set(r,i)}},{key:"hydrate",value:function(e,t){var n;return t.value===rs&&(t.value=is,t.value=t.factory()),"object"==typeof t.value&&t.value&&null!==(n=t.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value}},{key:"injectableDefInScope",value:function(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||e.providedIn===this.scope:this.injectorDefTypes.has(e.providedIn))}}]),e}();function ds(e){var t=Z(e),n=null!==t?t.factory:yt(e);if(null!==n)return n;var r=Q(e);if(null!==r)return r.factory;if(e instanceof _e)throw new Error("Token ".concat(re(e)," is missing a \u0275prov definition."));if(e instanceof Function)return function(e){var t=e.length;if(t>0){var n=Ye(t,"?");throw new Error("Can't resolve all parameters for ".concat(re(e),": (").concat(n.join(", "),")."))}var r=function(e){var t=e&&(e[X]||e[te]||e[ee]&&e[ee]());if(t){var n=function(e){if(e.hasOwnProperty("name"))return e.name;var t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn('DEPRECATED: DI is instantiating a token "'.concat(n,'" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "').concat(n,'" class.')),t}return null}(e);return null!==r?function(){return r.factory(e)}:function(){return new e}}(e);throw new Error("unreachable")}function hs(e,t,r){var i,o=void 0;if(ps(e)){var s=se(e);return yt(s)||ds(s)}if(ms(e))o=function(){return se(e.useValue)};else if((i=e)&&i.useFactory)o=function(){return e.useFactory.apply(e,n(Fe(e.deps||[])))};else if(function(e){return!(!e||!e.useExisting)}(e))o=function(){return Re(se(e.useExisting))};else{var c=se(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return yt(c)||ds(c);o=function(){return a(c,n(Fe(e.deps)))}}return o}function fs(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:e,value:t,multi:n?[]:void 0}}function ms(e){return null!==e&&"object"==typeof e&&Oe in e}function ps(e){return"function"==typeof e}function vs(e,t,n){return cs({name:n},t,e,n)}var gs=vs,ys=function(){var e=function(){function e(){v(this,e)}return y(e,null,[{key:"create",value:function(e,t){return Array.isArray(e)?gs(e,t,""):gs(e.providers,e.parent,e.name||"")}}]),e}();return e.THROW_IF_NOT_FOUND=Ie,e.NULL=new Le,e.\u0275prov=z({token:e,providedIn:"any",factory:function(){return Re(Ee)}}),e.__NG_ELEMENT_ID__=-1,e}();function bs(e){return e.length>1?" ("+
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function(e){for(var t=[],n=0;n<e.length;++n){if(t.indexOf(e[n])>-1)return t.push(e[n]),t;t.push(e[n])}return t}(e.slice().reverse()).map((function(e){return re(e.token)})).join(" -> ")+")":""}function ks(e,t,n,r){var i=[t],o=n(i),a=r?function(e,t){var n="".concat(e," caused by: ").concat(t instanceof Error?t.message:t),r=Error(n);return r.ngOriginalError=t,r}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */(o,r):Error(o);return a.addKey=Cs,a.keys=i,a.injectors=[e],a.constructResolvingMessage=n,a.ngOriginalError=r,a}function Cs(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function ws(e,t){for(var n=[],r=0,i=t.length;r<i;r++){var o=t[r];n.push(o&&0!=o.length?o.map(re).join(" "):"?")}return Error("Cannot resolve all parameters for '"+re(e)+"'("+n.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+re(e)+"' is decorated with Injectable.")}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var Ss=function(){function e(t,n){if(v(this,e),this.token=t,this.id=n,!t)throw new Error("Token must be defined!");this.displayName=re(this.token)}return y(e,null,[{key:"get",value:function(e){return _s.get(se(e))}},{key:"numberOfKeys",get:function(){return _s.numberOfKeys}}]),e}(),_s=new(function(){function e(){v(this,e),this._allKeys=new Map}return y(e,[{key:"get",value:function(e){if(e instanceof Ss)return e;if(this._allKeys.has(e))return this._allKeys.get(e);var t=new Ss(e,Ss.numberOfKeys);return this._allKeys.set(e,t),t}},{key:"numberOfKeys",get:function(){return this._allKeys.size}}]),e}()),Es=new(function(){function e(t){v(this,e),this.reflectionCapabilities=t}return y(e,[{key:"updateCapabilities",value:function(e){this.reflectionCapabilities=e}},{key:"factory",value:function(e){return this.reflectionCapabilities.factory(e)}},{key:"parameters",value:function(e){return this.reflectionCapabilities.parameters(e)}},{key:"annotations",value:function(e){return this.reflectionCapabilities.annotations(e)}},{key:"propMetadata",value:function(e){return this.reflectionCapabilities.propMetadata(e)}},{key:"hasLifecycleHook",value:function(e,t){return this.reflectionCapabilities.hasLifecycleHook(e,t)}},{key:"getter",value:function(e){return this.reflectionCapabilities.getter(e)}},{key:"setter",value:function(e){return this.reflectionCapabilities.setter(e)}},{key:"method",value:function(e){return this.reflectionCapabilities.method(e)}},{key:"importUri",value:function(e){return this.reflectionCapabilities.importUri(e)}},{key:"resourceUri",value:function(e){return this.reflectionCapabilities.resourceUri(e)}},{key:"resolveIdentifier",value:function(e,t,n,r){return this.reflectionCapabilities.resolveIdentifier(e,t,n,r)}},{key:"resolveEnum",value:function(e,t){return this.reflectionCapabilities.resolveEnum(e,t)}}]),e}())(new Ha),Is=function(){function e(t,n,r){v(this,e),this.key=t,this.optional=n,this.visibility=r}return y(e,null,[{key:"fromKey",value:function(t){return new e(t,!1,null)}}]),e}(),xs=[],Os=function e(t,n,r){v(this,e),this.key=t,this.resolvedFactories=n,this.multiProvider=r,this.resolvedFactory=this.resolvedFactories[0]},Ts=function e(t,n){v(this,e),this.factory=t,this.dependencies=n};function As(e){var t,n;if(e.useClass){var r=se(e.useClass);t=Es.factory(r),n=Rs(r)}else e.useExisting?(t=function(e){return e},n=[Is.fromKey(Ss.get(e.useExisting))]):e.useFactory?(t=e.useFactory,n=function(e,t){if(t){var n=t.map((function(e){return[e]}));return t.map((function(t){return Ms(e,t,n)}))}return Rs(e)}(e.useFactory,e.deps)):(t=function(){return e.useValue},n=xs);return new Ts(t,n)}function Ps(e){return new Os(Ss.get(e.provide),[As(e)],e.multi||!1)}function Ds(e){var t=function(e,t){for(var n=0;n<e.length;n++){var r=e[n],i=t.get(r.key.id);if(i){if(r.multiProvider!==i.multiProvider)throw Error("Cannot mix multi providers and regular providers, got: ".concat(i," ").concat(r));if(r.multiProvider)for(var o=0;o<r.resolvedFactories.length;o++)i.resolvedFactories.push(r.resolvedFactories[o]);else t.set(r.key.id,r)}else{var a;a=r.multiProvider?new Os(r.key,r.resolvedFactories.slice(),r.multiProvider):r,t.set(r.key.id,a)}}return t}(function e(t,n){return t.forEach((function(t){if(t instanceof ja)n.push({provide:t,useClass:t});else if(t&&"object"==typeof t&&void 0!==t.provide)n.push(t);else{if(!Array.isArray(t))throw Error("Invalid provider - only instances of Provider and Type are allowed, got: "+t);e(t,n)}})),n}(e,[]).map(Ps),new Map);return Array.from(t.values())}function Rs(e){var t=Es.parameters(e);if(!t)return[];if(t.some((function(e){return null==e})))throw ws(e,t);return t.map((function(n){return Ms(e,n,t)}))}function Ms(e,t,n){var r=null,i=!1;if(!Array.isArray(t))return Ns(t instanceof j?t.token:t,i,null);for(var o=null,a=0;a<t.length;++a){var s=t[a];s instanceof ja?r=s:s instanceof j?r=s.token:s instanceof F?i=!0:s instanceof L||s instanceof V?o=s:s instanceof _e&&(r=s)}if(null!=(r=se(r)))return Ns(r,i,o);throw ws(e,n)}function Ns(e,t,n){return new Is(Ss.get(e),t,n)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var js={},Fs=function(){function e(){v(this,e)}return y(e,null,[{key:"resolve",value:function(e){return Ds(e)}},{key:"resolveAndCreate",value:function(t,n){var r=e.resolve(t);return e.fromResolvedProviders(r,n)}},{key:"fromResolvedProviders",value:function(e,t){return new Ls(e,t)}}]),e}(),Ls=function(){var e=function(){function e(t,n){v(this,e),this._constructionCounter=0,this._providers=t,this.parent=n||null;var r=t.length;this.keyIds=[],this.objs=[];for(var i=0;i<r;i++)this.keyIds[i]=t[i].key.id,this.objs[i]=js}return y(e,[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ie;return this._getByKey(Ss.get(e),null,t)}},{key:"resolveAndCreateChild",value:function(e){var t=Fs.resolve(e);return this.createChildFromResolved(t)}},{key:"createChildFromResolved",value:function(t){var n=new e(t);return n.parent=this,n}},{key:"resolveAndInstantiate",value:function(e){return this.instantiateResolved(Fs.resolve([e])[0])}},{key:"instantiateResolved",value:function(e){return this._instantiateProvider(e)}},{key:"getProviderAtIndex",value:function(e){if(e<0||e>=this._providers.length)throw function(e){return Error("Index ".concat(e," is out-of-bounds."))}(e);return this._providers[e]}},{key:"_new",value:function(e){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw ks(this,e.key,(function(e){return"Cannot instantiate cyclic dependency!"+bs(e)}));return this._instantiateProvider(e)}},{key:"_getMaxNumberOfObjects",value:function(){return this.objs.length}},{key:"_instantiateProvider",value:function(e){if(e.multiProvider){for(var t=[],n=0;n<e.resolvedFactories.length;++n)t[n]=this._instantiate(e,e.resolvedFactories[n]);return t}return this._instantiate(e,e.resolvedFactories[0])}},{key:"_instantiate",value:function(e,t){var r,i,o,a=this,s=t.factory;try{r=t.dependencies.map((function(e){return a._getByReflectiveDependency(e)}))}catch(c){throw c.addKey&&c.addKey(this,e.key),c}try{i=s.apply(void 0,n(r))}catch(c){throw ks(this,e.key,(function(e){var t=re(e[0].token);return"".concat(o.message,": Error during instantiation of ").concat(t,"!").concat(bs(e),".")}),o=c)}return i}},{key:"_getByReflectiveDependency",value:function(e){return this._getByKey(e.key,e.visibility,e.optional?null:Ie)}},{key:"_getByKey",value:function(t,n,r){return t===e.INJECTOR_KEY?this:n instanceof L?this._getByKeySelf(t,r):this._getByKeyDefault(t,r,n)}},{key:"_getObjByKeyId",value:function(e){for(var t=0;t<this.keyIds.length;t++)if(this.keyIds[t]===e)return this.objs[t]===js&&(this.objs[t]=this._new(this._providers[t])),this.objs[t];return js}},{key:"_throwOrNull",value:function(e,t){if(t!==Ie)return t;throw function(e,t){return ks(e,t,(function(e){return"No provider for ".concat(re(e[0].token),"!").concat(bs(e))}))}(this,e)}},{key:"_getByKeySelf",value:function(e,t){var n=this._getObjByKeyId(e.id);return n!==js?n:this._throwOrNull(e,t)}},{key:"_getByKeyDefault",value:function(t,n,r){var i;for(i=r instanceof V?this.parent:this;i instanceof e;){var o=i,a=o._getObjByKeyId(t.id);if(a!==js)return a;i=o.parent}return null!==i?i.get(t.token,n):this._throwOrNull(t,n)}},{key:"displayName",get:function(){return"ReflectiveInjector(providers: [".concat(function(e,t){for(var n=[],r=0;r<e._providers.length;++r)n[r]=' "'+e.getProviderAtIndex(r).key.displayName+'" ';return n}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */(this).join(", "),"])")}},{key:"toString",value:function(){return this.displayName}}]),e}();return e.INJECTOR_KEY=Ss.get(ys),e}(),Vs=new _e("AnalyzeForEntryComponents"),Bs=function e(){v(this,e)},Us=M("ContentChildren",(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.assign({selector:e,first:!1,isViewQuery:!1,descendants:!1},t)}),Bs),Hs=M("ContentChild",(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.assign({selector:e,first:!0,isViewQuery:!1,descendants:!0},t)}),Bs),Gs=M("ViewChildren",(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.assign({selector:e,first:!1,isViewQuery:!0,descendants:!0},t)}),Bs),qs=M("ViewChild",(function(e,t){return Object.assign({selector:e,first:!0,isViewQuery:!0,descendants:!0},t)}),Bs);
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function Ks(e){var t=[],n=new Map;function r(t){var r=n.get(t);if(!r){var i=e(t);n.set(t,r=i.then(Js))}return r}return zs.forEach((function(e,n){var i=[];e.templateUrl&&i.push(r(e.templateUrl).then((function(t){e.template=t})));var o=e.styleUrls,a=e.styles||(e.styles=[]),s=e.styles.length;o&&o.forEach((function(t,n){a.push(""),i.push(r(t).then((function(r){a[s+n]=r,o.splice(o.indexOf(t),1),0==o.length&&(e.styleUrls=void 0)})))}));var c=Promise.all(i).then((function(){return function(e){Ys.delete(e)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */(n)}));t.push(c)})),Zs(),Promise.all(t).then((function(){}))}var zs=new Map,Ys=new Set;function Ws(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length)}function Zs(){var e=zs;return zs=new Map,e}function Js(e){return"string"==typeof e?e:e.text()}function Qs(e,t,n){var r=n?e.styles:null,i=n?e.classes:null,o=0;if(null!==t)for(var a=0;a<t.length;a++){var s=t[a];"number"==typeof s?o=s:1==o?i=ie(i,s):2==o&&(r=ie(r,s+": "+t[++a]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Xs(e){var t=Mi(e);Zo(t[1],t,e)}function $s(e){var t,n;0===(t=Yo(Mi(e))[8]).flags&&t.clean==ho&&(t.flags|=1,t.clean=new Promise((function(e){return n=e})),t.scheduler((function(){if(1&t.flags&&(t.flags&=-2,Wo(t)),2&t.flags){t.flags&=-3;var e=t.playerHandler;e&&e.flushPlayers()}t.clean=ho,n(null)})))}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function ec(e){uc(e);var t,n,r,i=ac(e,!1);return null===i?null:(void 0===i.component&&(i.component=(t=i.nodeIndex,n=i.lView,2&(r=n[1].data[t]).flags?n[r.directiveStart]:null)),i.component)}function tc(e){uc(e);var t=ac(e,!1);return null===t?null:t.lView[8]}function nc(e){var t=ac(e,!1);if(null===t)return null;for(var n,r=t.lView;2===r[1].type&&(n=Xi(r));)r=n;return 512&r[2]?null:r[8]}function rc(e){return n($i(e).components)}function ic(e){var t=ac(e,!1);return null===t?ys.NULL:new kr(t.lView[1].data[t.nodeIndex],t.lView)}function oc(e){var t=ac(e);return void 0===t.directives&&(t.directives=Vi(t.nodeIndex,t.lView,!1)),null===t.directives?[]:n(t.directives)}function ac(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=Di(e);if(!n&&t)throw new Error("Invalid ng target");return n}function sc(e){return Di(e).native}function cc(e){uc(e);var t=ac(e,!1);if(null===t)return[];var n=t.lView,r=n[7],i=n[1].cleanup,o=[];if(i&&r)for(var a=0;a<i.length;){var s=i[a++],c=i[a++];if("string"==typeof s){var l=s,u=zt(n[c]),d=r[i[a++]],h=i[a++],f="boolean"==typeof h||h>=0?"dom":"output",m="boolean"==typeof h&&h;e==u&&o.push({element:e,name:l,callback:d,useCapture:m,type:f})}}return o.sort(lc),o}function lc(e,t){return e.name==t.name?0:e.name<t.name?-1:1}function uc(e){if("undefined"!=typeof Element&&!(e instanceof Element))throw new Error("Expecting instance of DOM Element")}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function dc(e){$s(e),rc(e).forEach((function(e){return Xs(e)}))}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var hc=!1;function fc(){hc||(hc=!0,mc("getComponent",ec),mc("getContext",tc),mc("getListeners",cc),mc("getOwningComponent",nc),mc("getHostElement",sc),mc("getInjector",ic),mc("getRootComponents",rc),mc("getDirectives",oc),mc("applyChanges",dc))}function mc(e,t){if("undefined"==typeof COMPILED||!COMPILED){var n=fe;if(n){var r=n.ng;r||(r=n.ng={}),r[e]=t}}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function pc(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.rendererFactory||Kt,r=t.sanitizer||null,i=pt(e);i.type!=e&&(i.type=e);var o,a=i.selectors[0][0],s=Io(n.createRenderer(null,null),t.host||a,i.encapsulation),c=i.onPush?576:528,l=yc(t.scheduler,t.playerHandler),u=n.createRenderer(s,i),d=Eo(0,null,null,1,0,null,null,null,null,null),h=po(null,d,l,c,null,null,n,u,null,t.injector||null);An(h);try{n.begin&&n.begin(),o=gc(vc(s,i,h,n,u,r),i,h,l,t.hostFeatures||null),go(d,h,null),yo(d,h,null,null)}finally{Nn(),n.end&&n.end()}return o}function vc(e,t,n,r,i,o){var a=n[1];n[20]=e;var s=vo(a,0,2,null,null),c=s.mergedAttrs=t.hostAttrs;null!==c&&(Qs(s,c,!0),null!==e&&(Jn(i,e,c),null!==s.classes&&Sa(i,e,s.classes),null!==s.styles&&wa(i,e,s.styles)));var l=r.createRenderer(e,t),u=po(n,_o(t),null,t.onPush?64:16,n[20],s,r,l,o||null,null);return a.firstCreatePass&&(dr(sr(s,n),a,t.type),No(a,s),Fo(s,n.length,1)),zo(n,u),n[20]=u}function gc(e,t,n,r,i){var o=n[1],a=function(e,t,n){var r=fn();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Mo(e,r,1),Lo(e,t,n));var i=gr(t,e,t.length-1,r);Ni(i,t);var o=Wt(r,t);return o&&Ni(o,t),i}(o,n,t);r.components.push(a),e[8]=a,i&&i.forEach((function(e){return e(a,t)})),t.contentQueries&&t.contentQueries(1,a,n.length-1);var s=fn();if(o.firstCreatePass&&(null!==t.hostBindings||null!==t.hostAttrs)){Ln(s.index-20);var c=n[1];Po(c,t),Do(c,n,t.hostVars),Ro(t,a)}return a}function yc(e,t){return{components:[],scheduler:e||Tt,clean:Xo,playerHandler:t||null,flags:0}}function bc(e,t){var n=$t(e)[1],r=n.data.length-1;Gn(n,{directiveStart:r,directiveEnd:r+1})}function kc(e){return $i(e).clean}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Cc(e){return Object.getPrototypeOf(e.prototype).constructor}function wc(e){for(var t=Cc(e.type),n=!0,r=[e];t;){var i=void 0;if(Et(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");i=t.\u0275dir}if(i){if(n){r.push(i);var o=e;o.inputs=Sc(e.inputs),o.declaredInputs=Sc(e.declaredInputs),o.outputs=Sc(e.outputs);var a=i.hostBindings;a&&Ic(e,a);var s=i.viewQuery,c=i.contentQueries;if(s&&_c(e,s),c&&Ec(e,c),K(e.inputs,i.inputs),K(e.declaredInputs,i.declaredInputs),K(e.outputs,i.outputs),Et(i)&&i.data.animation){var l=e.data;l.animation=(l.animation||[]).concat(i.data.animation)}}var u=i.features;if(u)for(var d=0;d<u.length;d++){var h=u[d];h&&h.ngInherit&&h(e),h===wc&&(n=!1)}}t=Object.getPrototypeOf(t)}!function(e){for(var t=0,n=null,r=e.length-1;r>=0;r--){var i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=$n(i.hostAttrs,n=$n(n,i.hostAttrs))}}(r)}function Sc(e){return e===nt?{}:e===rt?[]:e}function _c(e,t){var n=e.viewQuery;e.viewQuery=n?function(e,r){t(e,r),n(e,r)}:t}function Ec(e,t){var n=e.contentQueries;e.contentQueries=n?function(e,r,i){t(e,r,i),n(e,r,i)}:t}function Ic(e,t){var n=e.hostBindings;e.hostBindings=n?function(e,r){t(e,r),n(e,r)}:t}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var xc=["providersResolver"],Oc=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function Tc(e){var t,n=Cc(e.type);t=Et(e)?n.\u0275cmp:n.\u0275dir;var i,o=e,a=r(xc);try{for(a.s();!(i=a.n()).done;){var s=i.value;o[s]=t[s]}}catch(d){a.e(d)}finally{a.f()}if(Et(t)){var c,l=r(Oc);try{for(l.s();!(c=l.n()).done;){var u=c.value;o[u]=t[u]}}catch(d){l.e(d)}finally{l.f()}}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var Ac=null;function Pc(){if(!Ac){var e=fe.Symbol;if(e&&e.iterator)Ac=e.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),n=0;n<t.length;++n){var r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(Ac=r)}}return Ac}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Dc(e,t){var n=Mc(e),r=Mc(t);return n&&r?function(e,t,n){for(var r=e[Pc()](),i=t[Pc()]();;){var o=r.next(),a=i.next();if(o.done&&a.done)return!0;if(o.done||a.done)return!1;if(!n(o.value,a.value))return!1}}(e,t,Dc):!(n||!(e&&("object"==typeof e||"function"==typeof e))||r||!(t&&("object"==typeof t||"function"==typeof t)))||Object.is(e,t)}var Rc=function(){function e(t){v(this,e),this.wrapped=t}return y(e,null,[{key:"wrap",value:function(t){return new e(t)}},{key:"unwrap",value:function(t){return e.isWrapped(t)?t.wrapped:t}},{key:"isWrapped",value:function(t){return t instanceof e}}]),e}();function Mc(e){return!!Nc(e)&&(Array.isArray(e)||!(e instanceof Map)&&Pc()in e)}function Nc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function jc(e,t,n){return e[t]=n}function Fc(e,t){return e[t]}function Lc(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Vc(e,t,n,r){var i=Lc(e,t,n);return Lc(e,t+1,r)||i}function Bc(e,t,n,r,i){var o=Vc(e,t,n,r);return Lc(e,t+2,i)||o}function Uc(e,t,n,r,i,o){var a=Vc(e,t,n,r);return Vc(e,t+2,i,o)||a}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Hc(e,t,n,r){var i=un();return Lc(i,wn(),t)&&(dn(),Bo(Vn(),i,e,t,n,r)),Hc}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Gc(e,t){for(var n=!1,r=kn(),i=1;i<t.length;i+=2)n=Lc(e,r++,t[i])||n;if(Cn(r),!n)return Qi;for(var o=t[0],a=1;a<t.length;a+=2)o+=xt(t[a])+t[a+1];return o}function qc(e,t,n,r){return Lc(e,wn(),n)?t+xt(n)+r:Qi}function Kc(e,t,n,r,i,o){var a=Vc(e,kn(),n,i);return Sn(2),a?t+xt(n)+r+xt(i)+o:Qi}function zc(e,t,n,r,i,o,a,s){var c=Bc(e,kn(),n,i,a);return Sn(3),c?t+xt(n)+r+xt(i)+o+xt(a)+s:Qi}function Yc(e,t,n,r,i,o,a,s,c,l){var u=Uc(e,kn(),n,i,a,c);return Sn(4),u?t+xt(n)+r+xt(i)+o+xt(a)+s+xt(c)+l:Qi}function Wc(e,t,n,r,i,o,a,s,c,l,u,d){var h=kn(),f=Uc(e,h,n,i,a,c);return f=Lc(e,h+4,u)||f,Sn(5),f?t+xt(n)+r+xt(i)+o+xt(a)+s+xt(c)+l+xt(u)+d:Qi}function Zc(e,t,n,r,i,o,a,s,c,l,u,d,h,f){var m=kn(),p=Uc(e,m,n,i,a,c);return p=Vc(e,m+4,u,h)||p,Sn(6),p?t+xt(n)+r+xt(i)+o+xt(a)+s+xt(c)+l+xt(u)+d+xt(h)+f:Qi}function Jc(e,t,n,r,i,o,a,s,c,l,u,d,h,f,m,p){var v=kn(),g=Uc(e,v,n,i,a,c);return g=Bc(e,v+4,u,h,m)||g,Sn(7),g?t+xt(n)+r+xt(i)+o+xt(a)+s+xt(c)+l+xt(u)+d+xt(h)+f+xt(m)+p:Qi}function Qc(e,t,n,r,i,o,a,s,c,l,u,d,h,f,m,p,v,g){var y=kn(),b=Uc(e,y,n,i,a,c);return b=Uc(e,y+4,u,h,m,v)||b,Sn(8),b?t+xt(n)+r+xt(i)+o+xt(a)+s+xt(c)+l+xt(u)+d+xt(h)+f+xt(m)+p+xt(v)+g:Qi}function Xc(e,t,n,r,i,o){var a=un(),s=qc(a,t,n,r);return s!==Qi&&Bo(Vn(),a,e,s,i,o),Xc}function $c(e,t,n,r,i,o,a,s){var c=un(),l=Kc(c,t,n,r,i,o);return l!==Qi&&Bo(Vn(),c,e,l,a,s),$c}function el(e,t,n,r,i,o,a,s,c,l){var u=un(),d=zc(u,t,n,r,i,o,a,s);return d!==Qi&&Bo(Vn(),u,e,d,c,l),el}function tl(e,t,n,r,i,o,a,s,c,l,u,d){var h=un(),f=Yc(h,t,n,r,i,o,a,s,c,l);return f!==Qi&&Bo(Vn(),h,e,f,u,d),tl}function nl(e,t,n,r,i,o,a,s,c,l,u,d,h,f){var m=un(),p=Wc(m,t,n,r,i,o,a,s,c,l,u,d);return p!==Qi&&Bo(Vn(),m,e,p,h,f),nl}function rl(e,t,n,r,i,o,a,s,c,l,u,d,h,f,m,p){var v=un(),g=Zc(v,t,n,r,i,o,a,s,c,l,u,d,h,f);return g!==Qi&&Bo(Vn(),v,e,g,m,p),rl}function il(e,t,n,r,i,o,a,s,c,l,u,d,h,f,m,p,v,g){var y=un(),b=Jc(y,t,n,r,i,o,a,s,c,l,u,d,h,f,m,p);return b!==Qi&&Bo(Vn(),y,e,b,v,g),il}function ol(e,t,n,r,i,o,a,s,c,l,u,d,h,f,m,p,v,g,y,b){var k=un(),C=Qc(k,t,n,r,i,o,a,s,c,l,u,d,h,f,m,p,v,g);return C!==Qi&&Bo(Vn(),k,e,C,y,b),ol}function al(e,t,n,r){var i=un(),o=Gc(i,t);return o!==Qi&&Bo(Vn(),i,e,o,n,r),al}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function sl(e,t,n,r,i,o,a,s){var c=un(),l=dn(),u=e+20,d=l.firstCreatePass?function(e,t,n,r,i,o,a,s,c){var l=t.consts,u=vo(t,e,0,a||null,nn(l,s));Ao(t,n,u,nn(l,c)),Gn(t,u);var d=u.tViews=Eo(2,u,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l);return null!==t.queries&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}(e,l,c,t,n,r,i,o,a):l.data[u];mn(d,!1);var h=c[11].createComment("");va(l,c,h,d),Ni(h,c),zo(c,c[u]=Go(h,c,h,d)),_t(d)&&wo(l,c,d),null!=a&&So(c,d,s)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function cl(e,t,n,r){var i=n+20;i>=e.data.length&&(e.data[i]=null,e.blueprint[i]=null),t[i]=r}function ll(e){return Jt(an.lFrame.contextLView,e)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function ul(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:G.Default,n=un();return null===n?Re(e,t):fr(fn(),n,se(e),t)}function dl(e){return hr(fn(),e)}function hl(){throw new Error("invalid")}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function fl(e,t,n){var r=un();return Lc(r,wn(),t)&&To(dn(),Vn(),r,e,t,r[11],n,!1),fl}function ml(e,t,n,r,i){var o=i?"class":"style";na(e,n,t.inputs[o],o,r)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function pl(e,t,n,r){var i=un(),o=dn(),a=20+e,s=i[11],c=i[a]=mo(t,s,an.lFrame.currentNamespace),l=o.firstCreatePass?function(e,t,n,r,i,o,a){var s=t.consts,c=vo(t,e,2,i,nn(s,o));return Ao(t,n,c,nn(s,a)),null!==c.attrs&&Qs(c,c.attrs,!1),null!==c.mergedAttrs&&Qs(c,c.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,c),c}(e,o,i,0,t,n,r):o.data[a];mn(l,!0);var u=l.mergedAttrs;null!==u&&Jn(s,c,u);var d=l.classes;null!==d&&Sa(s,c,d);var h=l.styles;null!==h&&wa(s,c,h),va(o,i,c,l),0===an.lFrame.elementDepthCount&&Ni(c,i),an.lFrame.elementDepthCount++,_t(l)&&(wo(o,i,l),Co(o,l,i)),null!==r&&So(i,l)}function vl(){var e=fn();pn()?vn():mn(e=e.parent,!1);var t=e;an.lFrame.elementDepthCount--;var n=dn();n.firstCreatePass&&(Gn(n,e),wt(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&ml(n,t,un(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */(t)&&ml(n,t,un(),t.stylesWithoutHost,!1)}function gl(e,t,n,r){pl(e,t,n,r),vl()}function yl(e,t,n){var r=un(),i=dn(),o=e+20,a=i.firstCreatePass?
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function(e,t,n,r,i){var o=t.consts,a=nn(o,r),s=vo(t,e,3,"ng-container",a);return null!==a&&Qs(s,a,!0),Ao(t,n,s,nn(o,i)),null!==t.queries&&t.queries.elementStart(t,s),s}(e,i,r,t,n):i.data[o];mn(a,!0);var s=r[o]=r[11].createComment("");va(i,r,s,a),Ni(s,r),_t(a)&&(wo(i,r,a),Co(i,a,r)),null!=n&&So(r,a)}function bl(){var e=fn(),t=dn();pn()?vn():mn(e=e.parent,!1),t.firstCreatePass&&(Gn(t,e),wt(e)&&t.queries.elementEnd(e))}function kl(e,t,n){yl(e,t,n),bl()}function Cl(){return un()}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function wl(e){return!!e&&"function"==typeof e.then}function Sl(e){return!!e&&"function"==typeof e.subscribe}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function _l(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0,i=un(),o=dn(),a=fn();return Il(o,i,i[11],a,e,t,n,r),_l}function El(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0,i=fn(),o=un(),a=dn();return Il(a,o,ea(In(a.data),i,o),i,e,t,n,r),El}function Il(e,t,n,r,i,o){var a=arguments.length>6&&void 0!==arguments[6]&&arguments[6],s=arguments.length>7?arguments[7]:void 0,c=_t(r),l=e.firstCreatePass&&(e.cleanup||(e.cleanup=[])),u=$o(t),d=!0;if(2===r.type){var h=Wt(r,t),f=s?s(h):nt,m=f.target||h,p=u.length,v=s?function(e){return s(zt(e[r.index])).target}:r.index;if(qt(n)){var g=null;if(!s&&c&&(g=function(e,t,n,r){var i=e.cleanup;if(null!=i)for(var o=0;o<i.length-1;o+=2){var a=i[o];if(a===n&&i[o+1]===r){var s=t[7],c=i[o+2];return s.length>c?s[c]:null}"string"==typeof a&&(o+=2)}return null}(e,t,i,r.index)),null!==g)(g.__ngLastListenerFn__||g).__ngNextListenerFn__=o,g.__ngLastListenerFn__=o,d=!1;else{o=Ol(r,t,o,!1);var y=n.listen(f.name||m,i,o);u.push(o,y),l&&l.push(i,v,p,p+1)}}else o=Ol(r,t,o,!0),m.addEventListener(i,o,a),u.push(o),l&&l.push(i,v,p,a)}var b,k=r.outputs;if(d&&null!==k&&(b=k[i])){var C=b.length;if(C)for(var w=0;w<C;w+=2){var S=t[b[w]][b[w+1]].subscribe(o),_=u.length;u.push(o,S),l&&l.push(i,r.index,_,-(_+1))}}}function xl(e,t,n){try{return!1!==t(n)}catch(r){return ta(e,r),!1}}function Ol(e,t,n,r){return function i(o){if(o===Function)return n;var a=2&e.flags?Qt(e.index,t):t;0==(32&t[2])&&Yo(a);for(var s=xl(t,n,o),c=i.__ngNextListenerFn__;c;)s=xl(t,c,o)&&s,c=c.__ngNextListenerFn__;return r&&!1===s&&(o.preventDefault(),o.returnValue=!1),s
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */}}function Tl(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return jn(e)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Al(e,t){for(var n=null,r=function(e){var t=e.attrs;if(null!=t){var n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e),i=0;i<t.length;i++){var o=t[i];if("*"!==o){if(null===r?Yi(e,o,!0):Wi(r,o))return i}else n=i}return n}function Pl(e){var t=un()[16][6];if(!t.projection)for(var n=t.projection=Ye(e?e.length:1,null),r=n.slice(),i=t.child;null!==i;){var o=e?Al(i,e):0;null!==o&&(r[o]?r[o].projectionNext=i:n[o]=i,r[o]=i),i=i.next}}var Dl=!1;function Rl(e){Dl=e}function Ml(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,r=un(),i=dn(),o=vo(i,e,1,null,n||null);null===o.projection&&(o.projection=t),vn(),Dl||ka(i,r,o)}function Nl(e,t,n){return jl(e,"",t,"",n),Nl}function jl(e,t,n,r,i){var o=un(),a=qc(o,t,n,r);return a!==Qi&&To(dn(),Vn(),o,e,a,o[11],i,!1),jl}function Fl(e,t,n,r,i,o,a){var s=un(),c=Kc(s,t,n,r,i,o);return c!==Qi&&To(dn(),Vn(),s,e,c,s[11],a,!1),Fl}function Ll(e,t,n,r,i,o,a,s,c){var l=un(),u=zc(l,t,n,r,i,o,a,s);return u!==Qi&&To(dn(),Vn(),l,e,u,l[11],c,!1),Ll}function Vl(e,t,n,r,i,o,a,s,c,l,u){var d=un(),h=Yc(d,t,n,r,i,o,a,s,c,l);return h!==Qi&&To(dn(),Vn(),d,e,h,d[11],u,!1),Vl}function Bl(e,t,n,r,i,o,a,s,c,l,u,d,h){var f=un(),m=Wc(f,t,n,r,i,o,a,s,c,l,u,d);return m!==Qi&&To(dn(),Vn(),f,e,m,f[11],h,!1),Bl}function Ul(e,t,n,r,i,o,a,s,c,l,u,d,h,f,m){var p=un(),v=Zc(p,t,n,r,i,o,a,s,c,l,u,d,h,f);return v!==Qi&&To(dn(),Vn(),p,e,v,p[11],m,!1),Ul}function Hl(e,t,n,r,i,o,a,s,c,l,u,d,h,f,m,p,v){var g=un(),y=Jc(g,t,n,r,i,o,a,s,c,l,u,d,h,f,m,p);return y!==Qi&&To(dn(),Vn(),g,e,y,g[11],v,!1),Hl}function Gl(e,t,n,r,i,o,a,s,c,l,u,d,h,f,m,p,v,g,y){var b=un(),k=Qc(b,t,n,r,i,o,a,s,c,l,u,d,h,f,m,p,v,g);return k!==Qi&&To(dn(),Vn(),b,e,k,b[11],y,!1),Gl}function ql(e,t,n){var r=un(),i=Gc(r,t);return i!==Qi&&To(dn(),Vn(),r,e,i,r[11],n,!1),ql}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var Kl=[];function zl(e,t,n,r,i){for(var o=e[n+1],a=null===t,s=r?ao(o):co(o),c=!1;0!==s&&(!1===c||a);){var l=e[s+1];Yl(e[s],t)&&(c=!0,e[s+1]=r?uo(l):so(l)),s=r?ao(l):co(l)}c&&(e[n+1]=r?so(o):uo(o))}function Yl(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Je(e,t)>=0}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var Wl={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Zl(e){return e.substring(Wl.key,Wl.keyEnd)}function Jl(e){return e.substring(Wl.value,Wl.valueEnd)}function Ql(e,t){var n=Wl.textEnd;return n===t?-1:(t=Wl.keyEnd=function(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Wl.key=t,n),eu(e,t,n))}function Xl(e,t){var n=Wl.textEnd,r=Wl.key=eu(e,t,n);return n===r?-1:(r=Wl.keyEnd=function(e,t,n){for(var r;t<n&&(45===(r=e.charCodeAt(t))||95===r||(-33&r)>=65&&(-33&r)<=90||r>=48&&r<=57);)t++;return t}(e,r,n),r=tu(e,r,n),r=Wl.value=eu(e,r,n),r=Wl.valueEnd=function(e,t,n){for(var r=-1,i=-1,o=-1,a=t,s=a;a<n;){var c=e.charCodeAt(a++);if(59===c)return s;34===c||39===c?s=a=nu(e,c,a,n):t===a-4&&85===o&&82===i&&76===r&&40===c?s=a=nu(e,41,a,n):c>32&&(s=a),o=i,i=r,r=-33&c}return s}(e,r,n),tu(e,r,n))}function $l(e){Wl.key=0,Wl.keyEnd=0,Wl.value=0,Wl.valueEnd=0,Wl.textEnd=e.length}function eu(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function tu(e,t,n,r){return(t=eu(e,t,n))<n&&t++,t}function nu(e,t,n,r){for(var i=-1,o=n;o<r;){var a=e.charCodeAt(o++);if(a==t&&92!==i)return o;i=92==a&&92===i?0:a}throw new Error}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function ru(e,t,n){return lu(e,t,n,!1),ru}function iu(e,t){return lu(e,t,null,!0),iu}function ou(e){uu(pu,au,e,!1)}function au(e,t){for(var n=function(e){return $l(e),Xl(e,eu(e,0,Wl.textEnd))}(t);n>=0;n=Xl(t,n))pu(e,Zl(t),Jl(t))}function su(e){uu(We,cu,e,!0)}function cu(e,t){for(var n=function(e){return $l(e),Ql(e,eu(e,0,Wl.textEnd))}(t);n>=0;n=Ql(t,n))We(e,Zl(t),!0)}function lu(e,t,n,r){var i=un(),o=dn(),a=Sn(2);o.firstUpdatePass&&hu(o,e,a,r),t!==Qi&&Lc(i,a,t)&&vu(o,o.data[Fn()+20],i,i[11],e,i[a+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=re(Nr(e)))),e}(t,n),r,a)}function uu(e,t,n,r){var i=dn(),o=Sn(2);i.firstUpdatePass&&hu(i,null,o,r);var a=un();if(n!==Qi&&Lc(a,o,n)){var s=i.data[Fn()+20];if(bu(s,r)&&!du(i,o)){var c=r?s.classesWithoutHost:s.stylesWithoutHost;null!==c&&(n=ie(c,n||"")),ml(i,s,a,n,r)}else!function(e,t,n,r,i,o,a,s){i===Qi&&(i=Kl);for(var c=0,l=0,u=0<i.length?i[0]:null,d=0<o.length?o[0]:null;null!==u||null!==d;){var h=c<i.length?i[c+1]:void 0,f=l<o.length?o[l+1]:void 0,m=null,p=void 0;u===d?(c+=2,l+=2,h!==f&&(m=d,p=f)):null===d||null!==u&&u<d?(c+=2,m=u):(l+=2,m=d,p=f),null!==m&&vu(e,t,n,r,m,p,a,s),u=c<i.length?i[c]:null,d=l<o.length?o[l]:null}}(i,s,a,a[11],a[o+1],a[o+1]=function(e,t,n){if(null==n||""===n)return Kl;var r=[],i=Nr(n);if(Array.isArray(i))for(var o=0;o<i.length;o++)e(r,i[o],!0);else if("object"==typeof i)for(var a in i)i.hasOwnProperty(a)&&e(r,a,i[a]);else"string"==typeof i&&t(r,i);return r}(e,t,n),r,o)}}function du(e,t){return t>=e.expandoStartIndex}function hu(e,t,n,r){var i=e.data;if(null===i[n+1]){var o=i[Fn()+20],a=du(e,n);bu(o,r)&&null===t&&!a&&(t=!1),t=function(e,t,n,r){var i=In(e),o=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=mu(n=fu(null,e,t,n,r),t.attrs,r),o=null);else{var a=t.directiveStylingLast;if(-1===a||e[a]!==i)if(n=fu(i,e,t,n,r),null===o){var s=function(e,t,n){var r=n?t.classBindings:t.styleBindings;if(0!==co(r))return e[ao(r)]}(e,t,r);void 0!==s&&Array.isArray(s)&&function(e,t,n,r){e[ao(n?t.classBindings:t.styleBindings)]=r}(e,t,r,s=mu(s=fu(null,e,t,s[1],r),t.attrs,r))}else o=function(e,t,n){for(var r=void 0,i=t.directiveEnd,o=1+t.directiveStylingLast;o<i;o++)r=mu(r,e[o].hostAttrs,n);return mu(r,t.attrs,n)}(e,t,r)}return void 0!==o&&(r?t.residualClasses=o:t.residualStyles=o),n}(i,o,t,r),function(e,t,n,r,i,o){var a=o?t.classBindings:t.styleBindings,s=ao(a),c=co(a);e[r]=n;var l,u=!1;if(Array.isArray(n)){var d=n;(null===(l=d[1])||Je(d,l)>0)&&(u=!0)}else l=n;if(i)if(0!==c){var h=ao(e[s+1]);e[r+1]=oo(h,s),0!==h&&(e[h+1]=lo(e[h+1],r)),e[s+1]=131071&e[s+1]|r<<17}else e[r+1]=oo(s,0),0!==s&&(e[s+1]=lo(e[s+1],r)),s=r;else e[r+1]=oo(c,0),0===s?s=r:e[c+1]=lo(e[c+1],r),c=r;u&&(e[r+1]=so(e[r+1])),zl(e,l,r,!0),zl(e,l,r,!1),function(e,t,n,r,i){var o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&Je(o,t)>=0&&(n[r+1]=uo(n[r+1]))}(t,l,e,r,o),a=oo(s,c),o?t.classBindings=a:t.styleBindings=a}(i,o,t,n,a,r)}}function fu(e,t,n,r,i){var o=null,a=n.directiveEnd,s=n.directiveStylingLast;for(-1===s?s=n.directiveStart:s++;s<a&&(r=mu(r,(o=t[s]).hostAttrs,i),o!==e);)s++;return null!==e&&(n.directiveStylingLast=s),r}function mu(e,t,n){var r=n?1:2,i=-1;if(null!==t)for(var o=0;o<t.length;o++){var a=t[o];"number"==typeof a?i=a:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),We(e,a,!!n||t[++o]))}return void 0===e?null:e}function pu(e,t,n){We(e,t,Nr(n))}function vu(e,t,n,r,i,o,a,s){if(2===t.type){var c=e.data,l=c[s+1];yu(1==(1&l)?gu(c,t,n,i,co(l),a):void 0)||(yu(o)||2==(2&l)&&(o=gu(c,null,n,i,s,a)),function(e,t,n,r,i){var o=qt(e);if(t)i?o?e.addClass(n,r):n.classList.add(r):o?e.removeClass(n,r):n.classList.remove(r);else{var a=-1==r.indexOf("-")?void 0:2;null==i?o?e.removeStyle(n,r,a):n.style.removeProperty(r):o?e.setStyle(n,r,i,a):n.style.setProperty(r,i)}}(r,a,Yt(Fn(),n),i,o))}}function gu(e,t,n,r,i,o){for(var a=null===t,s=void 0;i>0;){var c=e[i],l=Array.isArray(c),u=l?c[1]:c,d=null===u,h=n[i+1];h===Qi&&(h=d?Kl:void 0);var f=d?Ze(h,r):u===r?h:void 0;if(l&&!yu(f)&&(f=Ze(c,r)),yu(f)&&(s=f,a))return s;var m=e[i+1];i=a?ao(m):co(m)}if(null!==t){var p=o?t.residualClasses:t.residualStyles;null!=p&&(s=Ze(p,r))}return s}function yu(e){return void 0!==e}function bu(e,t){return 0!=(e.flags&(t?16:32))}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function ku(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=un(),r=dn(),i=e+20,o=r.firstCreatePass?vo(r,e,2,null,null):r.data[i],a=n[i]=oa(t,n[11]);va(r,n,a,o),mn(o,!1)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Cu(e){return wu("",e,""),Cu}function wu(e,t,n){var r=un(),i=qc(r,e,t,n);return i!==Qi&&ra(r,Fn(),i),wu}function Su(e,t,n,r,i){var o=un(),a=Kc(o,e,t,n,r,i);return a!==Qi&&ra(o,Fn(),a),Su}function _u(e,t,n,r,i,o,a){var s=un(),c=zc(s,e,t,n,r,i,o,a);return c!==Qi&&ra(s,Fn(),c),_u}function Eu(e,t,n,r,i,o,a,s,c){var l=un(),u=Yc(l,e,t,n,r,i,o,a,s,c);return u!==Qi&&ra(l,Fn(),u),Eu}function Iu(e,t,n,r,i,o,a,s,c,l,u){var d=un(),h=Wc(d,e,t,n,r,i,o,a,s,c,l,u);return h!==Qi&&ra(d,Fn(),h),Iu}function xu(e,t,n,r,i,o,a,s,c,l,u,d,h){var f=un(),m=Zc(f,e,t,n,r,i,o,a,s,c,l,u,d,h);return m!==Qi&&ra(f,Fn(),m),xu}function Ou(e,t,n,r,i,o,a,s,c,l,u,d,h,f,m){var p=un(),v=Jc(p,e,t,n,r,i,o,a,s,c,l,u,d,h,f,m);return v!==Qi&&ra(p,Fn(),v),Ou}function Tu(e,t,n,r,i,o,a,s,c,l,u,d,h,f,m,p,v){var g=un(),y=Qc(g,e,t,n,r,i,o,a,s,c,l,u,d,h,f,m,p,v);return y!==Qi&&ra(g,Fn(),y),Tu}function Au(e){var t=un(),n=Gc(t,e);return n!==Qi&&ra(t,Fn(),n),Au}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Pu(e,t,n){uu(We,cu,qc(un(),e,t,n),!0)}function Du(e,t,n,r,i){uu(We,cu,Kc(un(),e,t,n,r,i),!0)}function Ru(e,t,n,r,i,o,a){uu(We,cu,zc(un(),e,t,n,r,i,o,a),!0)}function Mu(e,t,n,r,i,o,a,s,c){uu(We,cu,Yc(un(),e,t,n,r,i,o,a,s,c),!0)}function Nu(e,t,n,r,i,o,a,s,c,l,u){uu(We,cu,Wc(un(),e,t,n,r,i,o,a,s,c,l,u),!0)}function ju(e,t,n,r,i,o,a,s,c,l,u,d,h){uu(We,cu,Zc(un(),e,t,n,r,i,o,a,s,c,l,u,d,h),!0)}function Fu(e,t,n,r,i,o,a,s,c,l,u,d,h,f,m){uu(We,cu,Jc(un(),e,t,n,r,i,o,a,s,c,l,u,d,h,f,m),!0)}function Lu(e,t,n,r,i,o,a,s,c,l,u,d,h,f,m,p,v){uu(We,cu,Qc(un(),e,t,n,r,i,o,a,s,c,l,u,d,h,f,m,p,v),!0)}function Vu(e){uu(We,cu,Gc(un(),e),!0)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Bu(e,t,n){ou(qc(un(),e,t,n))}function Uu(e,t,n,r,i){ou(Kc(un(),e,t,n,r,i))}function Hu(e,t,n,r,i,o,a){ou(zc(un(),e,t,n,r,i,o,a))}function Gu(e,t,n,r,i,o,a,s,c){ou(Yc(un(),e,t,n,r,i,o,a,s,c))}function qu(e,t,n,r,i,o,a,s,c,l,u){ou(Wc(un(),e,t,n,r,i,o,a,s,c,l,u))}function Ku(e,t,n,r,i,o,a,s,c,l,u,d,h){ou(Zc(un(),e,t,n,r,i,o,a,s,c,l,u,d,h))}function zu(e,t,n,r,i,o,a,s,c,l,u,d,h,f,m){ou(Jc(un(),e,t,n,r,i,o,a,s,c,l,u,d,h,f,m))}function Yu(e,t,n,r,i,o,a,s,c,l,u,d,h,f,m,p,v){ou(Qc(un(),e,t,n,r,i,o,a,s,c,l,u,d,h,f,m,p,v))}function Wu(e){ou(Gc(un(),e))}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Zu(e,t,n,r,i){return lu(e,qc(un(),t,n,r),i,!1),Zu}function Ju(e,t,n,r,i,o,a){return lu(e,Kc(un(),t,n,r,i,o),a,!1),Ju}function Qu(e,t,n,r,i,o,a,s,c){return lu(e,zc(un(),t,n,r,i,o,a,s),c,!1),Qu}function Xu(e,t,n,r,i,o,a,s,c,l,u){return lu(e,Yc(un(),t,n,r,i,o,a,s,c,l),u,!1),Xu}function $u(e,t,n,r,i,o,a,s,c,l,u,d,h){return lu(e,Wc(un(),t,n,r,i,o,a,s,c,l,u,d),h,!1),$u}function ed(e,t,n,r,i,o,a,s,c,l,u,d,h,f,m){return lu(e,Zc(un(),t,n,r,i,o,a,s,c,l,u,d,h,f),m,!1),ed}function td(e,t,n,r,i,o,a,s,c,l,u,d,h,f,m,p,v){return lu(e,Jc(un(),t,n,r,i,o,a,s,c,l,u,d,h,f,m,p),v,!1),td}function nd(e,t,n,r,i,o,a,s,c,l,u,d,h,f,m,p,v,g,y){return lu(e,Qc(un(),t,n,r,i,o,a,s,c,l,u,d,h,f,m,p,v,g),y,!1),nd}function rd(e,t,n){return lu(e,Gc(un(),t),n,!1),rd}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function id(e,t,n){var r=un();return Lc(r,wn(),t)&&To(dn(),Vn(),r,e,t,r[11],n,!0),id}function od(e,t,n){var r=un();if(Lc(r,wn(),t)){var i=dn(),o=Vn();To(i,o,r,e,t,ea(In(i.data),o,r),n,!0)}return od}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var ad=void 0,sd=["en",[["a","p"],["AM","PM"],ad],[["AM","PM"],ad,ad],[["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"]],ad,[["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"]],ad,[["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}",ad,"{1} 'at' {0}",ad],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}],cd={};function ld(e,t,n){"string"!=typeof t&&(n=t,t=e[pd.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),cd[t]=e,n&&(cd[t][pd.ExtraData]=n)}function ud(e){var t=function(e){return e.toLowerCase().replace(/_/g,"-")}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */(e),n=fd(t);if(n)return n;var r=t.split("-")[0];if(n=fd(r))return n;if("en"===r)return sd;throw new Error('Missing locale data for the locale "'.concat(e,'".'))}function dd(e){return ud(e)[pd.CurrencyCode]||null}function hd(e){return ud(e)[pd.PluralCase]}function fd(e){return e in cd||(cd[e]=fe.ng&&fe.ng.common&&fe.ng.common.locales&&fe.ng.common.locales[e]),cd[e]}function md(){cd={}}var pd=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}({}),vd=["zero","one","two","few","many"],gd="en-US",yd="USD",bd={marker:"element"},kd={marker:"comment"},Cd=gd;function wd(e){var t;null==(t=e)&&function(e,t,n,r){throw new Error("ASSERTION ERROR: Expected localeId to be defined"+" [Expected=> null != ".concat(t," <=Actual]"))}(0,t),"string"==typeof e&&(Cd=e.toLowerCase().replace(/_/g,"-"))}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var Sd=[],_d=-1,Ed=0,Id=0;function xd(e,t,n,r){for(var i=r[11],o=null,a=null,s=[],c=0;c<n.length;c++){var l=n[c];if("string"==typeof l){var u=oa(l,i),d=n[++c];a=o,o=Rd(e,r,d,2,u,null),s.push(d),vn()}else if("number"==typeof l)switch(7&l){case 1:var h=l>>>17;a=Pd(e,o,h===t?r[6]:Zt(e,h),a,r);break;case 0:var f=l>=0,m=(f?l:~l)>>>3;s.push(m),a=o,(o=Zt(e,m))&&mn(o,f);break;case 5:a=o=Zt(e,l>>>3),mn(o,!1);break;case 4:var p=n[++c],v=n[++c];Bo(Zt(e,l>>>3),r,p,v,null,null);break;default:throw new Error('Unable to determine the type of mutate operation for "'.concat(l,'"'))}else switch(l){case kd:var g=n[++c],y=n[++c],b=i.createComment(g);a=o,o=Rd(e,r,y,4,b,null),s.push(y),Ni(b,r),vn();break;case bd:var k=n[++c],C=n[++c];a=o,o=Rd(e,r,C,2,i.createElement(k),k),s.push(C);break;default:throw new Error('Unable to determine the type of mutate operation for "'.concat(l,'"'))}}return vn(),s}function Od(e,t,n,r,i,o){for(var a=!1,s=0;s<r.length;s++){var c=r[s],l=r[++s];if(c&o)for(var u="",d=s+1;d<=s+l;d++){var h=r[d];if("string"==typeof h)u+=h;else if("number"==typeof h)if(h<0)u+=xt(n[i-h]);else{var f=h>>>2;switch(3&h){case 1:var m=r[++d],p=r[++d];To(e,Zt(e,f),n,m,u,n[11],p,!1);break;case 0:ra(n,f,u);break;case 2:a=Ad(e,t,r[++d],n,u);break;case 3:Td(e,t,r[++d],i,n,a)}}}s+=l}}function Td(e,t,n,r,i,o){var a=t[n],s=i[a.currentCaseLViewIndex];null!==s&&Od(e,t,i,a.update[s],r,o?-1:Ed)}function Ad(e,t,n,r,i){!function e(t,n,r,i){var o=n[r],a=i[o.currentCaseLViewIndex];if(null!==a)for(var s=o.remove[a],c=0;c<s.length;c++){var l=s[c],u=l>>>3;switch(7&l){case 3:Dd(t,i,u,!1);break;case 6:e(t,n,u,i)}}}(e,t,n,r);var o=!1,a=t[n],s=function(e,t){var n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:var r=function(e,t){var n=hd(t)(parseInt(e,10)),r=vd[n];return void 0!==r?r:"other"}(t,Cd);-1===(n=e.cases.indexOf(r))&&"other"!==r&&(n=e.cases.indexOf("other"));break;case 0:n=e.cases.indexOf("other")}return n}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */(a,i);return r[a.currentCaseLViewIndex]=-1!==s?s:null,s>-1&&(xd(e,-1,a.create[s],r),o=!0),o}function Pd(e,t,n,r,i){var o=t.next;r||(r=n),r===n&&t!==n.child?(t.next=n.child,null===t.parent?e.firstChild=t:n.child=t):r!==n&&t!==r.next?(t.next=r.next,r.next=t):t.next=null,n!==i[6]&&(t.parent=n);for(var a=t.next;a;)a.next===t&&(a.next=o),a=a.next;if(1===t.type)return ka(e,i,t),t;va(e,i,Wt(t,i),t);var s=i[t.index];return 0!==t.type&&Ct(s)&&va(e,i,s[7],t),t}function Dd(e,t,n,r){var i=Zt(e,n),o=Yt(n,t);o&&ga(t[11],o);var a=Jt(t,n);if(Ct(a)){var s=a;0!==i.type&&ga(t[11],s[7])}r&&i&&(i.flags|=64)}function Rd(e,t,n,r,i,o){var a=fn();t[n+20]=i;var s=vo(e,n,r,o,null);return a&&a.next===s&&(a.next=null),s}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var Md,Nd=/\ufffd(\d+):?\d*\ufffd/gi,jd=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,Fd=/\ufffd(\d+)\ufffd/,Ld=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,Vd=[],Bd=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,Ud=/\ufffd(\/?[#*!]\d+):?\d*\ufffd/gi,Hd=/\uE500/g;function Gd(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=[null,null],o=e.split(Nd),a=0,s=0;s<o.length;s++){var c=o[s];if(1&s){var l=parseInt(c,10);i.push(-1-l),a|=zd(l)}else""!==c&&i.push(c)}return i.push(t<<2|(n?1:0)),n&&i.push(n,r),i[0]=a,i[1]=i.length-2,i}function qd(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;n|=zd(e.mainBinding);for(var r=0;r<e.values.length;r++)for(var i=e.values[r],o=0;o<i.length;o++){var a=i[o];if("string"==typeof a)for(;t=Nd.exec(a);)n|=zd(parseInt(t[1],10));else n=qd(a,n)}return n}function Kd(e){return e+Md++}function zd(e){return 1<<Math.min(e,31)}function Yd(e){return void 0===e}function Wd(e){for(var t,n,r="",i=0,o=!1;null!==(t=Bd.exec(e));)o?t[0]==="\ufffd/*".concat(n,"\ufffd")&&(i=t.index,o=!1):(r+=e.substring(i,t.index+t[0].length),n=t[1],o=!0);return r+=e.substr(i)}function Zd(e,t,n,r){for(var i=[],o=[],a=[],s=[],c=[],l=t.values,u=0;u<l.length;u++){for(var d=l[u],h=[],f=0;f<d.length;f++){var m=d[f];if("string"!=typeof m){var p=h.push(m)-1;d[f]="\x3c!--\ufffd".concat(p,"\ufffd--\x3e")}}var v=Qd(d.join(""),n,h,e,r);i.push(v.create),o.push(v.remove),a.push(v.update),s.push(v.vars),c.push(v.childIcus)}e.push({type:t.type,vars:s,currentCaseLViewIndex:20+r+1,childIcus:c,cases:t.cases,create:i,remove:o,update:a}),Md+=Math.max.apply(Math,s)}function Jd(e){for(var t=[],n=[],r=1,i=0,o=Xd(e=e.replace(Ld,(function(e,t,n){return r="select"===n?0:1,i=parseInt(t.substr(1),10),""}))),a=0;a<o.length;){var s=o[a++].trim();1===r&&(s=s.replace(/\s*(?:=)?(\w+)\s*/,"$1")),s.length&&t.push(s);var c=Xd(o[a++]);t.length>n.length&&n.push(c)}return{type:r,mainBinding:i,cases:t,values:n}}function Qd(e,t,r,i,o){var a=Yr(Gt()).getInertBodyElement(e);if(!a)throw new Error("Unable to generate inert body element");var s={vars:1,childIcus:[],create:[],remove:[],update:[]};return function e(t,r,i,o,a,s){if(t){for(var c=[];t;){var l=t.nextSibling,u=s+ ++r.vars;switch(t.nodeType){case Node.ELEMENT_NODE:var d=t,h=d.tagName.toLowerCase();if(si.hasOwnProperty(h)){r.create.push(bd,h,u,i<<17|1);for(var f=d.attributes,m=0;m<f.length;m++){var p=f.item(m),v=p.name.toLowerCase();p.value.match(Nd)?ui.hasOwnProperty(v)&&He(ci[v]?Gd(p.value,u,p.name,Xr):li[v]?Gd(p.value,u,p.name,$r):Gd(p.value,u,p.name),r.update):r.create.push(u<<3|4,p.name,p.value)}e(t.firstChild,r,u,o,a,s),r.remove.push(u<<3|3)}else r.vars--;break;case Node.TEXT_NODE:var g=t.textContent||"",y=g.match(Nd);r.create.push(y?"":g,u,i<<17|1),r.remove.push(u<<3|3),y&&He(Gd(g,u),r.update);break;case Node.COMMENT_NODE:var b=Fd.exec(t.textContent||"");if(b){var k=parseInt(b[1],10);r.create.push(kd,"",u,i<<17|1),c.push([o[k],u])}else r.vars--;break;default:r.vars--}t=l}for(var C=0;C<c.length;C++){var w=c[C][0],S=c[C][1];Zd(a,w,S,s+r.vars);var _=a.length-1;r.vars+=Math.max.apply(Math,n(a[_].vars)),r.childIcus.push(_);var E=qd(w);r.update.push(zd(w.mainBinding),3,-1-w.mainBinding,S<<2|2,_,E,2,S<<2|3,_),r.remove.push(_<<3|6,S<<3|3)}}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */((gi(a)||a).firstChild,s,t,r,i,o),s}function Xd(e){if(!e)return[];var t,n=0,r=[],i=[],o=/[{}]/g;for(o.lastIndex=0;t=o.exec(e);){var a=t.index;if("}"==t[0]){if(r.pop(),0==r.length){var s=e.substring(n,a);Ld.test(s)?i.push(Jd(s)):i.push(s),n=a+1}}else{if(0==r.length){var c=e.substring(n,a);i.push(c),n=a+1}r.push("{")}}var l=e.substring(n);return i.push(l),i}var $d=/\[(\ufffd.+?\ufffd?)\]/,eh=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,th=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,nh=/{([A-Z0-9_]+)}/g,rh=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,ih=/\/\*/,oh=/\d+\:(\d+)/;function ah(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e;if($d.test(e)){var i={},o=[0];r=r.replace(eh,(function(e,n,r){var a=n||r,s=i[a]||[];if(s.length||(a.split("|").forEach((function(e){var t=e.match(oh),n=t?parseInt(t[1],10):0,r=ih.test(e);s.push([n,r,e])})),i[a]=s),!s.length)throw new Error("i18n postprocess: unmatched placeholder - "+a);for(var c=o[o.length-1],l=0,u=0;u<s.length;u++)if(s[u][0]===c){l=u;break}var d=t(s[l],3),h=d[0],f=d[1],m=d[2];return f?o.pop():c!==h&&o.push(h),s.splice(l,1),m}))}return Object.keys(n).length?r=(r=(r=r.replace(th,(function(e,t,r,i,o,a){return n.hasOwnProperty(r)?"".concat(t).concat(n[r]).concat(a):e}))).replace(nh,(function(e,t){return n.hasOwnProperty(t)?n[t]:e}))).replace(rh,(function(e,t){if(n.hasOwnProperty(t)){var r=n[t];if(!r.length)throw new Error("i18n postprocess: unmatched ICU - ".concat(e," with key: ").concat(t));return r.shift()}return e})):r}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function sh(e,t,n){var r=dn(),i=nn(r.consts,t);!function(e){Sd[++_d]=e}(e),Rl(!0),r.firstCreatePass&&null===r.data[e+20]&&function(e,t,n,r,i){var o=t.blueprint.length-20;Md=0;var a=fn(),s=pn()?a:a&&a.parent,c=s&&s!==e[6]?s.index-20:n,l=0;Vd[l]=c;var u=[];if(n>0&&a!==s){var d=a.index-20;pn()||(d=~d),u.push(d<<3|0)}var h,f=[],m=[];if(""===r&&Yd(i))u.push(r,Kd(o),c<<17|1);else for(var p=function(e,t){if(Yd(t))return Wd(e);var n=e.indexOf(":".concat(t,"\ufffd"))+2+t.toString().length,r=e.search(new RegExp("\ufffd\\/\\*\\d+:".concat(t,"\ufffd")));return Wd(e.substring(n,r))}(r,i),v=(h=p,h.replace(Hd," ")).split(Ud),g=0;g<v.length;g++){var y=v[g];if(1&g)if("/"===y.charAt(0)){if("#"===y.charAt(1)){var b=parseInt(y.substr(2),10);c=Vd[--l],u.push(b<<3|5)}}else{var k=parseInt(y.substr(1),10),C="#"===y.charAt(0);u.push((C?k:~k)<<3|0,c<<17|1),C&&(Vd[++l]=c=k)}else for(var w=Xd(y),S=0;S<w.length;S++)if(1&S){var _=w[S];if("object"!=typeof _)throw new Error('Unable to parse ICU expression in "'.concat(p,'" message.'));var E=Kd(o);u.push(kd,"",E,c<<17|1);var I=qd(_);Zd(m,_,E,E);var x=m.length-1;f.push(zd(_.mainBinding),3,-1-_.mainBinding,E<<2|2,x,I,2,E<<2|3,x)}else if(""!==w[S]){var O=w[S],T=O.match(Nd),A=Kd(o);u.push(T?"":O,A,c<<17|1),T&&He(Gd(O,A),f)}}Md>0&&function(e,t,n){if(n>0&&e.firstCreatePass){for(var r=0;r<n;r++)e.blueprint.push(null),e.data.push(null),t.push(null);e.expandoInstructions?e.expandoInstructions.push(n):e.expandoStartIndex+=n}}(t,e,Md),t.data[n+20]={vars:Md,create:u,update:f,icus:m.length?m:null}}(un(),r,e,i,n)}function ch(){var e=un();(function(e,t){for(var n=Sd[_d--],r=e.data[n+20],i=fn(),o=xd(e,n,r.create,t),a=n+1;null!==i&&a<=i.index-20;){-1===o.indexOf(a)&&Dd(e,t,a,!0);var s=Zt(e,a);!s||0!==s.type&&2!==s.type&&3!==s.type||null===s.localNames||(a+=s.localNames.length>>1),a++}})(dn(),e),Rl(!1)}function lh(e,t,n){sh(e,t,n),ch()}function uh(e,t){var n=un(),r=dn();!function(e,t,n,r){for(var i=fn().index-20,o=[],a=0;a<r.length;a+=2)for(var s=r[a],c=r[a+1].split(jd),l=0;l<c.length;l++){var u=c[l];if(1&l)throw new Error("ICU expressions are not yet supported in attributes");if(""!==u)if(u.match(Nd))t.firstCreatePass&&null===t.data[n+20]&&He(Gd(u,i,s),o);else{var d=Zt(t,i);2===d.type&&Bo(d,e,s,u,null,null);var h=null!==d.inputs&&d.inputs[s];h&&na(t,e,h,s,u)}}t.firstCreatePass&&null===t.data[n+20]&&(t.data[n+20]=o)}(n,r,e,nn(r.consts,t))}function dh(e){return Lc(un(),wn(),e)&&(Ed|=1<<Id),Id++,dh}function hh(e){!function(e,t,n){if(Id>0){var r,i=e.data[n+20],o=null;Array.isArray(i)?r=i:(r=i.update,o=i.icus),Od(e,o,t,r,kn()-Id-1,Ed),Ed=0,Id=0}}(dn(),un(),e)}function fh(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return ah(e,t)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function mh(e,t,n,r,i){if(e=se(e),Array.isArray(e))for(var o=0;o<e.length;o++)mh(e[o],t,n,r,i);else{var a=dn(),s=un(),c=ps(e)?e:se(e.provide),l=hs(e),u=fn(),d=1048575&u.providerIndexes,h=u.directiveStart,f=u.providerIndexes>>20;if(ps(e)||!e.multi){var m=new Zn(l,i,ul),p=gh(c,t,i?d:d+f,h);-1===p?(dr(sr(u,s),a,c),ph(a,e,t.length),t.push(c),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),n.push(m),s.push(m)):(n[p]=m,s[p]=m)}else{var v=gh(c,t,d+f,h),g=gh(c,t,d,d+f),y=v>=0&&n[v],b=g>=0&&n[g];if(i&&!b||!i&&!y){dr(sr(u,s),a,c);var k=function(e,t,n,r,i){var o=new Zn(e,n,ul);return o.multi=[],o.index=t,o.componentProviders=0,vh(o,i,r&&!n),o}(i?bh:yh,n.length,i,r,l);!i&&b&&(n[g].providerFactory=k),ph(a,e,t.length,0),t.push(c),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),n.push(k),s.push(k)}else ph(a,e,v>-1?v:g,vh(n[i?g:v],l,!i&&r));!i&&r&&b&&n[g].componentProviders++}}}function ph(e,t,n,r){var i=ps(t);if(i||t.useClass){var o=(t.useClass||t).prototype.ngOnDestroy;if(o){var a=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){var s=a.indexOf(n);-1===s?a.push(n,[r,o]):a[s+1].push(r,o)}else a.push(n,o)}}}function vh(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function gh(e,t,n,r){for(var i=n;i<r;i++)if(t[i]===e)return i;return-1}function yh(e,t,n,r){return kh(this.multi,[])}function bh(e,t,n,r){var i,o=this.multi;if(this.providerFactory){var a=this.providerFactory.componentProviders,s=gr(n,n[1],this.providerFactory.index,r);kh(o,i=s.slice(0,a));for(var c=a;c<s.length;c++)i.push(s[c])}else kh(o,i=[]);return i}function kh(e,t){for(var n=0;n<e.length;n++)t.push((0,e[n])());return t}function Ch(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return function(n){n.providersResolver=function(n,r){return function(e,t,n){var r=dn();if(r.firstCreatePass){var i=Et(e);mh(n,r.data,r.blueprint,i,!0),mh(t,r.data,r.blueprint,i,!1)}}(n,r?r(e):e,t)}}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var wh=function e(){v(this,e)},Sh=function e(){v(this,e)};
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function _h(e){var t=Error("No component factory found for ".concat(re(e),". Did you add it to @NgModule.entryComponents?"));return t[Eh]=e,t}var Eh="ngComponent",Ih=function(){function e(){v(this,e)}return y(e,[{key:"resolveComponentFactory",value:function(e){throw _h(e)}}]),e}(),xh=function(){var e=function e(){v(this,e)};return e.NULL=new Ih,e}(),Oh=function(){function e(t,n,r){v(this,e),this._parent=n,this._ngModule=r,this._factories=new Map;for(var i=0;i<t.length;i++){var o=t[i];this._factories.set(o.componentType,o)}}return y(e,[{key:"resolveComponentFactory",value:function(e){var t=this._factories.get(e);if(!t&&this._parent&&(t=this._parent.resolveComponentFactory(e)),!t)throw _h(e);return new Th(t,this._ngModule)}}]),e}(),Th=function(e){l(n,e);var t=d(n);function n(e,r){var i;return v(this,n),(i=t.call(this)).factory=e,i.ngModule=r,i.selector=e.selector,i.componentType=e.componentType,i.ngContentSelectors=e.ngContentSelectors,i.inputs=e.inputs,i.outputs=e.outputs,i}return y(n,[{key:"create",value:function(e,t,n,r){return this.factory.create(e,t,n,r||this.ngModule)}}]),n}(Sh),Ah=function(){var e=function e(t){v(this,e),this.nativeElement=t};return e.__NG_ELEMENT_ID__=function(){return Dh(e)},e}(),Ph=function(e){return Ta(e,fn(),un())},Dh=Ph,Rh=function e(){v(this,e)},Mh=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({}),Nh=function(){var e=function e(){v(this,e)};return e.__NG_ELEMENT_ID__=function(){return Fh()},e}(),jh=function(){var e=un(),t=Qt(fn().index,e);return function(e){var t=e[11];if(qt(t))return t;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(kt(t)?t:e)},Fh=jh,Lh=function(){var e=function e(){v(this,e)};return e.\u0275prov=z({token:e,providedIn:"root",factory:function(){return null}}),e}(),Vh=function e(t){v(this,e),this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")},Bh=new Vh("10.2.5"),Uh=function(){function e(){v(this,e)}return y(e,[{key:"supports",value:function(e){return Mc(e)}},{key:"create",value:function(e){return new Gh(e)}}]),e}(),Hh=function(e,t){return t},Gh=function(){function e(t){v(this,e),this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Hh}return y(e,[{key:"forEachItem",value:function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)}},{key:"forEachOperation",value:function(e){for(var t=this._itHead,n=this._removalsHead,r=0,i=null;t||n;){var o=!n||t&&t.currentIndex<Yh(n,r,i)?t:n,a=Yh(o,r,i),s=o.currentIndex;if(o===n)r--,n=n._nextRemoved;else if(t=t._next,null==o.previousIndex)r++;else{i||(i=[]);var c=a-r,l=s-r;if(c!=l){for(var u=0;u<c;u++){var d=u<i.length?i[u]:i[u]=0,h=d+u;l<=h&&h<c&&(i[u]=d+1)}i[o.previousIndex]=l-c}}a!==s&&e(o,a,s)}}},{key:"forEachPreviousItem",value:function(e){var t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}},{key:"forEachAddedItem",value:function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}},{key:"forEachMovedItem",value:function(e){var t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}},{key:"forEachRemovedItem",value:function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}},{key:"forEachIdentityChange",value:function(e){var t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}},{key:"diff",value:function(e){if(null==e&&(e=[]),!Mc(e))throw new Error("Error trying to diff '".concat(re(e),"'. Only arrays and iterables are allowed"));return this.check(e)?this:null}},{key:"onDestroy",value:function(){}},{key:"check",value:function(e){var t=this;this._reset();var n,r,i,o=this._itHead,a=!1;if(Array.isArray(e)){this.length=e.length;for(var s=0;s<this.length;s++)r=e[s],i=this._trackByFn(s,r),null!==o&&Object.is(o.trackById,i)?(a&&(o=this._verifyReinsertion(o,r,i,s)),Object.is(o.item,r)||this._addIdentityChange(o,r)):(o=this._mismatch(o,r,i,s),a=!0),o=o._next}else n=0,function(e,t){if(Array.isArray(e))for(var n=0;n<e.length;n++)t(e[n]);else for(var r,i=e[Pc()]();!(r=i.next()).done;)t(r.value)}(e,(function(e){i=t._trackByFn(n,e),null!==o&&Object.is(o.trackById,i)?(a&&(o=t._verifyReinsertion(o,e,i,n)),Object.is(o.item,e)||t._addIdentityChange(o,e)):(o=t._mismatch(o,e,i,n),a=!0),o=o._next,n++})),this.length=n;return this._truncate(o),this.collection=e,this.isDirty}},{key:"isDirty",get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}},{key:"_reset",value:function(){if(this.isDirty){var e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}},{key:"_mismatch",value:function(e,t,n,r){var i;return null===e?i=this._itTail:(i=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,i,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,i,r)):e=this._addAfter(new qh(t,n),i,r),e}},{key:"_verifyReinsertion",value:function(e,t,n,r){var i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?e=this._reinsertAfter(i,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}},{key:"_truncate",value:function(e){for(;null!==e;){var t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}},{key:"_reinsertAfter",value:function(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);var r=e._prevRemoved,i=e._nextRemoved;return null===r?this._removalsHead=i:r._nextRemoved=i,null===i?this._removalsTail=r:i._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e}},{key:"_moveAfter",value:function(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}},{key:"_addAfter",value:function(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}},{key:"_insertAfter",value:function(e,t,n){var r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new zh),this._linkedRecords.put(e),e.currentIndex=n,e}},{key:"_remove",value:function(e){return this._addToRemovals(this._unlink(e))}},{key:"_unlink",value:function(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);var t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}},{key:"_addToMoves",value:function(e,t){return e.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}},{key:"_addToRemovals",value:function(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new zh),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}},{key:"_addIdentityChange",value:function(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}]),e}(),qh=function e(t,n){v(this,e),this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null},Kh=function(){function e(){v(this,e),this._head=null,this._tail=null}return y(e,[{key:"add",value:function(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}},{key:"get",value:function(e,t){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}},{key:"remove",value:function(e){var t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}]),e}(),zh=function(){function e(){v(this,e),this.map=new Map}return y(e,[{key:"put",value:function(e){var t=e.trackById,n=this.map.get(t);n||(n=new Kh,this.map.set(t,n)),n.add(e)}},{key:"get",value:function(e,t){var n=this.map.get(e);return n?n.get(e,t):null}},{key:"remove",value:function(e){var t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}},{key:"isEmpty",get:function(){return 0===this.map.size}},{key:"clear",value:function(){this.map.clear()}}]),e}();function Yh(e,t,n){var r=e.previousIndex;if(null===r)return r;var i=0;return n&&r<n.length&&(i=n[r]),r+t+i}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var Wh=function(){function e(){v(this,e)}return y(e,[{key:"supports",value:function(e){return e instanceof Map||Nc(e)}},{key:"create",value:function(){return new Zh}}]),e}(),Zh=function(){function e(){v(this,e),this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return y(e,[{key:"isDirty",get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}},{key:"forEachItem",value:function(e){var t;for(t=this._mapHead;null!==t;t=t._next)e(t)}},{key:"forEachPreviousItem",value:function(e){var t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}},{key:"forEachChangedItem",value:function(e){var t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}},{key:"forEachAddedItem",value:function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}},{key:"forEachRemovedItem",value:function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}},{key:"diff",value:function(e){if(e){if(!(e instanceof Map||Nc(e)))throw new Error("Error trying to diff '".concat(re(e),"'. Only maps and objects are allowed"))}else e=new Map;return this.check(e)?this:null}},{key:"onDestroy",value:function(){}},{key:"check",value:function(e){var t=this;this._reset();var n=this._mapHead;if(this._appendAfter=null,this._forEach(e,(function(e,r){if(n&&n.key===r)t._maybeAddToChanges(n,e),t._appendAfter=n,n=n._next;else{var i=t._getOrCreateRecordForKey(r,e);n=t._insertBeforeOrAppend(n,i)}})),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(var r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}},{key:"_insertBeforeOrAppend",value:function(e,t){if(e){var n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}},{key:"_getOrCreateRecordForKey",value:function(e,t){if(this._records.has(e)){var n=this._records.get(e);this._maybeAddToChanges(n,t);var r=n._prev,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}var o=new Jh(e);return this._records.set(e,o),o.currentValue=t,this._addToAdditions(o),o}},{key:"_reset",value:function(){if(this.isDirty){var e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}},{key:"_maybeAddToChanges",value:function(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}},{key:"_addToAdditions",value:function(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}},{key:"_addToChanges",value:function(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}},{key:"_forEach",value:function(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach((function(n){return t(e[n],n)}))}}]),e}(),Jh=function e(t){v(this,e),this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null},Qh=function(){var e=function(){function e(t){v(this,e),this.factories=t}return y(e,[{key:"find",value:function(e){var t,n=this.factories.find((function(t){return t.supports(e)}));if(null!=n)return n;throw new Error("Cannot find a differ supporting object '".concat(e,"' of type '").concat((t=e).name||typeof t,"'"))}}],[{key:"create",value:function(t,n){if(null!=n){var r=n.factories.slice();t=t.concat(r)}return new e(t)}},{key:"extend",value:function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new V,new F]]}}}]),e}();return e.\u0275prov=z({token:e,providedIn:"root",factory:function(){return new e([new Uh])}}),e}(),Xh=function(){var e=function(){function e(t){v(this,e),this.factories=t}return y(e,[{key:"find",value:function(e){var t=this.factories.find((function(t){return t.supports(e)}));if(t)return t;throw new Error("Cannot find a differ supporting object '".concat(e,"'"))}}],[{key:"create",value:function(t,n){if(n){var r=n.factories.slice();t=t.concat(r)}return new e(t)}},{key:"extend",value:function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new V,new F]]}}}]),e}();return e.\u0275prov=z({token:e,providedIn:"root",factory:function(){return new e([new Wh])}}),e}(),$h=[new Wh],ef=new Qh([new Uh]),tf=new Xh($h),nf=function(){var e=function e(){v(this,e)};return e.__NG_ELEMENT_ID__=function(){return of(e,Ah)},e}(),rf=function(e,t){return Aa(e,t,fn(),un())},of=rf,af=function(){var e=function e(){v(this,e)};return e.__NG_ELEMENT_ID__=function(){return cf(e,Ah)},e}(),sf=function(e,t){return Pa(e,t,fn(),un())},cf=sf;
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function lf(e,t,n,r){var i="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '".concat(t,"'. Current value: '").concat(n,"'.");return r&&(i+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(e,t){var n=new Error(e);return uf(n,t),n}(i,e)}function uf(e,t){e.ngDebugContext=t,e.ngErrorLogger=t.logError.bind(t)}function df(e){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+e)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function hf(e,t,n){var r=e.state,i=1792&r;return i===t?(e.state=-1793&r|n,e.initIndex=-1,!0):i===n}function ff(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function mf(e,t){return e.nodes[t]}function pf(e,t){return e.nodes[t]}function vf(e,t){return e.nodes[t]}function gf(e,t){return e.nodes[t]}function yf(e,t){return e.nodes[t]}var bf=function e(){v(this,e)},kf={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0},Cf=function(){},wf=new Map;
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function Sf(e){var t=wf.get(e);return t||(t=re(e)+"_"+wf.size,wf.set(e,t)),t}function _f(e,t,n,r){if(Rc.isWrapped(r)){r=Rc.unwrap(r);var i=e.def.nodes[t].bindingIndex+n,o=Rc.unwrap(e.oldValues[i]);e.oldValues[i]=new Rc(o)}return r}function Ef(e){return{id:"$$undefined",styles:e.styles,encapsulation:e.encapsulation,data:e.data}}var If=0;function xf(e,t,n,r){return!(!(2&e.state)&&Object.is(e.oldValues[t.bindingIndex+n],r))}function Of(e,t,n,r){return!!xf(e,t,n,r)&&(e.oldValues[t.bindingIndex+n]=r,!0)}function Tf(e,t,n,r){var i=e.oldValues[t.bindingIndex+n];if(1&e.state||!Dc(i,r)){var o=t.bindings[n].name;throw lf(kf.createDebugContext(e,t.nodeIndex),"".concat(o,": ").concat(i),"".concat(o,": ").concat(r),0!=(1&e.state))}}function Af(e){for(var t=e;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function Pf(e,t){for(var n=e;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function Df(e,t,n,r){try{return Af(33554432&e.def.nodes[t].flags?pf(e,t).componentView:e),kf.handleEvent(e,t,n,r)}catch(i){e.root.errorHandler.handleError(i)}}function Rf(e){return e.parent?pf(e.parent,e.parentNodeDef.nodeIndex):null}function Mf(e){return e.parent?e.parentNodeDef.parent:null}function Nf(e,t){switch(201347067&t.flags){case 1:return pf(e,t.nodeIndex).renderElement;case 2:return mf(e,t.nodeIndex).renderText}}function jf(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function Ff(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function Lf(e){return 1<<e%32}function Vf(e){var n={},r=0,i={};return e&&e.forEach((function(e){var o=t(e,2),a=o[0],s=o[1];"number"==typeof a?(n[a]=s,r|=Lf(a)):i[a]=s})),{matchedQueries:n,references:i,matchedQueryIds:r}}function Bf(e,n){return e.map((function(e){var r,i,o;return Array.isArray(e)?(o=(r=t(e,2))[0],i=r[1]):(o=0,i=e),i&&("function"==typeof i||"object"==typeof i)&&n&&Object.defineProperty(i,"__source",{value:n,configurable:!0}),{flags:o,token:i,tokenKey:Sf(i)}}))}function Uf(e,t,n){var r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===tt.Native?pf(e,n.renderParent.nodeIndex).renderElement:void 0:t}var Hf=new WeakMap;function Gf(e){var t=Hf.get(e);return t||((t=e((function(){return Cf}))).factory=e,Hf.set(e,t)),t}function qf(e,t,n,r,i){3===t&&(n=e.renderer.parentNode(Nf(e,e.def.lastRenderRootNode))),Kf(e,t,0,e.def.nodes.length-1,n,r,i)}function Kf(e,t,n,r,i,o,a){for(var s=n;s<=r;s++){var c=e.def.nodes[s];11&c.flags&&Yf(e,c,t,i,o,a),s+=c.childCount}}function zf(e,t,n,r,i,o){for(var a=e;a&&!jf(a);)a=a.parent;for(var s=a.parent,c=Mf(a),l=c.nodeIndex+c.childCount,u=c.nodeIndex+1;u<=l;u++){var d=s.def.nodes[u];d.ngContentIndex===t&&Yf(s,d,n,r,i,o),u+=d.childCount}if(!s.parent){var h=e.root.projectableNodes[t];if(h)for(var f=0;f<h.length;f++)Wf(e,h[f],n,r,i,o)}}function Yf(e,t,n,r,i,o){if(8&t.flags)zf(e,t.ngContent.index,n,r,i,o);else{var a=Nf(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags?(16&t.bindingFlags&&Wf(e,a,n,r,i,o),32&t.bindingFlags&&Wf(pf(e,t.nodeIndex).componentView,a,n,r,i,o)):Wf(e,a,n,r,i,o),16777216&t.flags)for(var s=pf(e,t.nodeIndex).viewContainer._embeddedViews,c=0;c<s.length;c++)qf(s[c],n,r,i,o);1&t.flags&&!t.element.name&&Kf(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,r,i,o)}}function Wf(e,t,n,r,i,o){var a=e.renderer;switch(n){case 1:a.appendChild(r,t);break;case 2:a.insertBefore(r,t,i);break;case 3:a.removeChild(r,t);break;case 0:o.push(t)}}var Zf=/^:([^:]+):(.+)$/;function Jf(e){if(":"===e[0]){var t=e.match(Zf);return[t[1],t[2]]}return["",e]}function Qf(e){for(var t=0,n=0;n<e.length;n++)t|=e[n].flags;return t}function Xf(e,t){for(var n="",r=0;r<2*e;r+=2)n=n+t[r]+em(t[r+1]);return n+t[2*e]}function $f(e,t,n,r,i,o,a,s,c,l,u,d,h,f,m,p,v,g,y,b){switch(e){case 1:return t+em(n)+r;case 2:return t+em(n)+r+em(i)+o;case 3:return t+em(n)+r+em(i)+o+em(a)+s;case 4:return t+em(n)+r+em(i)+o+em(a)+s+em(c)+l;case 5:return t+em(n)+r+em(i)+o+em(a)+s+em(c)+l+em(u)+d;case 6:return t+em(n)+r+em(i)+o+em(a)+s+em(c)+l+em(u)+d+em(h)+f;case 7:return t+em(n)+r+em(i)+o+em(a)+s+em(c)+l+em(u)+d+em(h)+f+em(m)+p;case 8:return t+em(n)+r+em(i)+o+em(a)+s+em(c)+l+em(u)+d+em(h)+f+em(m)+p+em(v)+g;case 9:return t+em(n)+r+em(i)+o+em(a)+s+em(c)+l+em(u)+d+em(h)+f+em(m)+p+em(v)+g+em(y)+b;default:throw new Error("Does not support more than 9 expressions")}}function em(e){return null!=e?e.toString():""}var tm=[],nm={},rm={},im=Sf(ys),om=Sf(Ee),am=Sf(Be);function sm(e,t,n,r){return n=se(n),{index:-1,deps:Bf(r,re(t)),flags:e,token:t,value:n}}function cm(e){for(var t={},n=[],r=null,i=0;i<e.length;i++){var o=e[i];o.token===ns&&(r=o.value),1073741824&o.flags&&n.push(o.token),o.index=i,t[Sf(o.token)]=o}return{factory:null,providersByKey:t,providers:e,modules:n,scope:r}}function lm(e,t){var n,r,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ys.THROW_IF_NOT_FOUND,o=Ae(e);try{if(8&t.flags)return t.token;if(2&t.flags&&(i=null),1&t.flags)return e._parent.get(t.token,i);var a=t.tokenKey;switch(a){case im:case om:case am:return e}var s,c=e._def.providersByKey[a];if(c){var l=e._providers[c.index];return void 0===l&&(l=e._providers[c.index]=um(e,c)),l===rm?void 0:l}if((s=Z(t.token))&&(n=e,null!=(r=s.providedIn)&&("any"===r||r===n._def.scope||function(e,t){return e._def.modules.indexOf(t)>-1}(n,r)))){var u=e._providers.length;return e._def.providers[u]=e._def.providersByKey[t.tokenKey]={flags:5120,value:s.factory,deps:[],index:u,token:t.token},e._providers[u]=rm,e._providers[u]=um(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?i:e._parent.get(t.token,i)}finally{Ae(o)}}function um(e,t){var n;switch(201347067&t.flags){case 512:n=function(e,t,n){var r=n.length;switch(r){case 0:return new t;case 1:return new t(lm(e,n[0]));case 2:return new t(lm(e,n[0]),lm(e,n[1]));case 3:return new t(lm(e,n[0]),lm(e,n[1]),lm(e,n[2]));default:for(var i=[],o=0;o<r;o++)i[o]=lm(e,n[o]);return a(t,i)}}(e,t.value,t.deps);break;case 1024:n=function(e,t,n){var r=n.length;switch(r){case 0:return t();case 1:return t(lm(e,n[0]));case 2:return t(lm(e,n[0]),lm(e,n[1]));case 3:return t(lm(e,n[0]),lm(e,n[1]),lm(e,n[2]));default:for(var i=[],o=0;o<r;o++)i[o]=lm(e,n[o]);return t.apply(void 0,i)}}(e,t.value,t.deps);break;case 2048:n=lm(e,t.deps[0]);break;case 256:n=t.value}return n===rm||null===n||"object"!=typeof n||131072&t.flags||"function"!=typeof n.ngOnDestroy||(t.flags|=131072),void 0===n?rm:n}function dm(e,t){var n=e.viewContainer._embeddedViews;if((null==t||t>=n.length)&&(t=n.length-1),t<0)return null;var r=n[t];return r.viewContainerParent=null,ze(n,t),kf.dirtyParentQueries(r),fm(r),r}function hm(e,t,n){var r=t?Nf(t,t.def.lastRenderRootNode):e.renderElement,i=n.renderer.parentNode(r),o=n.renderer.nextSibling(r);qf(n,2,i,o,void 0)}function fm(e){qf(e,3,null,null,void 0)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var mm={};function pm(e,t,n,r,i,o){return new gm(e,t,n,r,i,o)}function vm(e){return e.viewDefFactory}var gm=function(e){l(n,e);var t=d(n);function n(e,r,i,o,a,s){var c;return v(this,n),(c=t.call(this)).selector=e,c.componentType=r,c._inputs=o,c._outputs=a,c.ngContentSelectors=s,c.viewDefFactory=i,c}return y(n,[{key:"inputs",get:function(){var e=[],t=this._inputs;for(var n in t)e.push({propName:n,templateName:t[n]});return e}},{key:"outputs",get:function(){var e=[];for(var t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e}},{key:"create",value:function(e,t,n,r){if(!r)throw new Error("ngModule should be provided");var i=Gf(this.viewDefFactory),o=i.nodes[0].element.componentProvider.nodeIndex,a=kf.createRootView(e,t||[],n,i,r,mm),s=vf(a,o).instance;return n&&a.renderer.setAttribute(pf(a,0).renderElement,"ng-version",Bh.full),new ym(a,new wm(a),s)}}]),n}(Sh),ym=function(e){l(n,e);var t=d(n);function n(e,r,i){var o;return v(this,n),(o=t.call(this))._view=e,o._viewRef=r,o._component=i,o._elDef=o._view.def.nodes[0],o.hostView=r,o.changeDetectorRef=r,o.instance=i,o}return y(n,[{key:"location",get:function(){return new Ah(pf(this._view,this._elDef.nodeIndex).renderElement)}},{key:"injector",get:function(){return new Im(this._view,this._elDef)}},{key:"componentType",get:function(){return this._component.constructor}},{key:"destroy",value:function(){this._viewRef.destroy()}},{key:"onDestroy",value:function(e){this._viewRef.onDestroy(e)}}]),n}(wh);function bm(e,t,n){return new km(e,t,n)}var km=function(){function e(t,n,r){v(this,e),this._view=t,this._elDef=n,this._data=r,this._embeddedViews=[]}return y(e,[{key:"element",get:function(){return new Ah(this._data.renderElement)}},{key:"injector",get:function(){return new Im(this._view,this._elDef)}},{key:"parentInjector",get:function(){for(var e=this._view,t=this._elDef.parent;!t&&e;)t=Mf(e),e=e.parent;return e?new Im(e,t):new Im(this._view,null)}},{key:"clear",value:function(){for(var e=this._embeddedViews.length-1;e>=0;e--){var t=dm(this._data,e);kf.destroyView(t)}}},{key:"get",value:function(e){var t=this._embeddedViews[e];if(t){var n=new wm(t);return n.attachToViewContainerRef(this),n}return null}},{key:"length",get:function(){return this._embeddedViews.length}},{key:"createEmbeddedView",value:function(e,t,n){var r=e.createEmbeddedView(t||{});return this.insert(r,n),r}},{key:"createComponent",value:function(e,t,n,r,i){var o=n||this.parentInjector;i||e instanceof Th||(i=o.get(Be));var a=e.create(o,r,void 0,i);return this.insert(a.hostView,t),a}},{key:"insert",value:function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,r,i,o,a,s=e;
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */return n=this._view,r=this._data,i=t,o=s._view,a=r.viewContainer._embeddedViews,null==i&&(i=a.length),o.viewContainerParent=n,Ke(a,i,o),function(e,t){var n=Rf(t);if(n&&n!==e&&!(16&t.state)){t.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(t),function(e,t){if(!(4&t.flags)){e.nodeFlags|=4,t.flags|=4;for(var n=t.parent;n;)n.childFlags|=4,n=n.parent}}(t.parent.def,t.parentNodeDef)}}(r,o),kf.dirtyParentQueries(o),hm(r,i>0?a[i-1]:null,o),s.attachToViewContainerRef(this),e}},{key:"move",value:function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,r,i,o,a,s=this._embeddedViews.indexOf(e._view);return n=this._data,r=s,i=t,o=n.viewContainer._embeddedViews,a=o[r],ze(o,r),null==i&&(i=o.length),Ke(o,i,a),kf.dirtyParentQueries(a),fm(a),hm(n,i>0?o[i-1]:null,a),e}},{key:"indexOf",value:function(e){return this._embeddedViews.indexOf(e._view)}},{key:"remove",value:function(e){var t=dm(this._data,e);t&&kf.destroyView(t)}},{key:"detach",value:function(e){var t=dm(this._data,e);return t?new wm(t):null}}]),e}();function Cm(e){return new wm(e)}var wm=function(){function e(t){v(this,e),this._view=t,this._viewContainerRef=null,this._appRef=null}return y(e,[{key:"rootNodes",get:function(){return qf(this._view,0,void 0,void 0,e=[]),e;var e}},{key:"context",get:function(){return this._view.context}},{key:"destroyed",get:function(){return 0!=(128&this._view.state)}},{key:"markForCheck",value:function(){Af(this._view)}},{key:"detach",value:function(){this._view.state&=-5}},{key:"detectChanges",value:function(){var e=this._view.root.rendererFactory;e.begin&&e.begin();try{kf.checkAndUpdateView(this._view)}finally{e.end&&e.end()}}},{key:"checkNoChanges",value:function(){kf.checkNoChangesView(this._view)}},{key:"reattach",value:function(){this._view.state|=4}},{key:"onDestroy",value:function(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)}},{key:"destroy",value:function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),kf.destroyView(this._view)}},{key:"detachFromAppRef",value:function(){this._appRef=null,fm(this._view),kf.dirtyParentQueries(this._view)}},{key:"attachToAppRef",value:function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}},{key:"attachToViewContainerRef",value:function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}}]),e}();function Sm(e,t){return new _m(e,t)}var _m=function(e){l(n,e);var t=d(n);function n(e,r){var i;return v(this,n),(i=t.call(this))._parentView=e,i._def=r,i}return y(n,[{key:"createEmbeddedView",value:function(e){return new wm(kf.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))}},{key:"elementRef",get:function(){return new Ah(pf(this._parentView,this._def.nodeIndex).renderElement)}}]),n}(nf);function Em(e,t){return new Im(e,t)}var Im=function(){function e(t,n){v(this,e),this.view=t,this.elDef=n}return y(e,[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ys.THROW_IF_NOT_FOUND;return kf.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:Sf(e)},t)}}]),e}();function xm(e,t){var n=e.def.nodes[t];if(1&n.flags){var r=pf(e,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return mf(e,n.nodeIndex).renderText;if(20240&n.flags)return vf(e,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+t)}function Om(e,t,n,r){return new Tm(e,t,n,r)}var Tm=function(){function e(t,n,r,i){v(this,e),this._moduleType=t,this._parent=n,this._bootstrapComponents=r,this._def=i,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(e){for(var t=e._def,n=e._providers=Ye(t.providers.length),r=0;r<t.providers.length;r++){var i=t.providers[r];4096&i.flags||void 0===n[r]&&(n[r]=um(e,i))}}(this)}return y(e,[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ys.THROW_IF_NOT_FOUND,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:G.Default,r=0;return n&G.SkipSelf?r|=1:n&G.Self&&(r|=4),lm(this,{token:e,tokenKey:Sf(e),flags:r},t)}},{key:"instance",get:function(){return this.get(this._moduleType)}},{key:"componentFactoryResolver",get:function(){return this.get(xh)}},{key:"destroy",value:function(){if(this._destroyed)throw new Error("The ng module ".concat(re(this.instance.constructor)," has already been destroyed."));this._destroyed=!0,function(e,t){for(var n=e._def,r=new Set,i=0;i<n.providers.length;i++)if(131072&n.providers[i].flags){var o=e._providers[i];if(o&&o!==rm){var a=o.ngOnDestroy;"function"!=typeof a||r.has(o)||(a.apply(o),r.add(o))}}}(this),this._destroyListeners.forEach((function(e){return e()}))}},{key:"onDestroy",value:function(e){this._destroyListeners.push(e)}}]),e}(),Am=Sf(Nh),Pm=Sf(Ah),Dm=Sf(af),Rm=Sf(nf),Mm=Sf(Ra),Nm=Sf(ys),jm=Sf(Ee);
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Fm(e,n,r,i,o,a,s,c){var l=[];if(s)for(var u in s){var d=t(s[u],2),h=d[0],f=d[1];l[h]={flags:8,name:u,nonMinifiedName:f,ns:null,securityContext:null,suffix:null}}var m=[];if(c)for(var p in c)m.push({type:1,propName:p,target:null,eventName:c[p]});return Bm(e,n|=16384,r,i,o,o,a,l,m)}function Lm(e,t,n){return Bm(-1,e|=16,null,0,t,t,n)}function Vm(e,t,n,r,i){return Bm(-1,e,t,0,n,r,i)}function Bm(e,t,n,r,i,o,a,s,c){var l=Vf(n),u=l.matchedQueries,d=l.references,h=l.matchedQueryIds;c||(c=[]),s||(s=[]),o=se(o);var f=Bf(a,re(i));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:u,matchedQueryIds:h,references:d,ngContentIndex:-1,childCount:r,bindings:s,bindingFlags:Qf(s),outputs:c,element:null,provider:{token:i,value:o,deps:f},text:null,query:null,ngContent:null}}function Um(e,t){return Km(e,t)}function Hm(e,t){for(var n=e;n.parent&&!jf(n);)n=n.parent;return zm(n.parent,Mf(n),!0,t.provider.value,t.provider.deps)}function Gm(e,t){var n=zm(e,t.parent,(32768&t.flags)>0,t.provider.value,t.provider.deps);if(t.outputs.length)for(var r=0;r<t.outputs.length;r++){var i=t.outputs[r],o=n[i.propName];if(!Sl(o))throw new Error("@Output ".concat(i.propName," not initialized in '").concat(n.constructor.name,"'."));var a=o.subscribe(qm(e,t.parent.nodeIndex,i.eventName));e.disposables[t.outputIndex+r]=a.unsubscribe.bind(a)}return n}function qm(e,t,n){return function(r){return Df(e,t,n,r)}}function Km(e,t){var n=(8192&t.flags)>0,r=t.provider;switch(201347067&t.flags){case 512:return zm(e,t.parent,n,r.value,r.deps);case 1024:return function(e,t,n,r,i){var o=i.length;switch(o){case 0:return r();case 1:return r(Wm(e,t,n,i[0]));case 2:return r(Wm(e,t,n,i[0]),Wm(e,t,n,i[1]));case 3:return r(Wm(e,t,n,i[0]),Wm(e,t,n,i[1]),Wm(e,t,n,i[2]));default:for(var a=[],s=0;s<o;s++)a.push(Wm(e,t,n,i[s]));return r.apply(void 0,a)}}(e,t.parent,n,r.value,r.deps);case 2048:return Wm(e,t.parent,n,r.deps[0]);case 256:return r.value}}function zm(e,t,n,r,i){var o=i.length;switch(o){case 0:return new r;case 1:return new r(Wm(e,t,n,i[0]));case 2:return new r(Wm(e,t,n,i[0]),Wm(e,t,n,i[1]));case 3:return new r(Wm(e,t,n,i[0]),Wm(e,t,n,i[1]),Wm(e,t,n,i[2]));default:for(var s=[],c=0;c<o;c++)s.push(Wm(e,t,n,i[c]));return a(r,s)}}var Ym={};function Wm(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:ys.THROW_IF_NOT_FOUND;if(8&r.flags)return r.token;var o=e;2&r.flags&&(i=null);var a=r.tokenKey;a===Mm&&(n=!(!t||!t.element.componentView)),t&&1&r.flags&&(n=!1,t=t.parent);for(var s=e;s;){if(t)switch(a){case Am:return Zm(s,t,n).renderer;case Pm:return new Ah(pf(s,t.nodeIndex).renderElement);case Dm:return pf(s,t.nodeIndex).viewContainer;case Rm:if(t.element.template)return pf(s,t.nodeIndex).template;break;case Mm:return Cm(Zm(s,t,n));case Nm:case jm:return Em(s,t);default:var c=(n?t.element.allProviders:t.element.publicProviders)[a];if(c){var l=vf(s,c.nodeIndex);return l||(l={instance:Km(s,c)},s.nodes[c.nodeIndex]=l),l.instance}}n=jf(s),t=Mf(s),s=s.parent,4&r.flags&&(s=null)}var u=o.root.injector.get(r.token,Ym);return u!==Ym||i===Ym?u:o.root.ngModule.injector.get(r.token,i)}function Zm(e,t,n){var r;if(n)r=pf(e,t.nodeIndex).componentView;else for(r=e;r.parent&&!jf(r);)r=r.parent;return r}function Jm(e,t,n,r,i,o){if(32768&n.flags){var a=pf(e,n.parent.nodeIndex).componentView;2&a.def.flags&&(a.state|=8)}if(t.instance[n.bindings[r].name]=i,524288&n.flags){o=o||{};var s=Rc.unwrap(e.oldValues[n.bindingIndex+r]);o[n.bindings[r].nonMinifiedName]=new Nt(s,i,0!=(2&e.state))}return e.oldValues[n.bindingIndex+r]=i,o}function Qm(e,t){if(e.def.nodeFlags&t)for(var n=e.def.nodes,r=0,i=0;i<n.length;i++){var o=n[i],a=o.parent;for(!a&&o.flags&t&&$m(e,i,o.flags&t,r++),0==(o.childFlags&t)&&(i+=o.childCount);a&&1&a.flags&&i===a.nodeIndex+a.childCount;)a.directChildFlags&t&&(r=Xm(e,a,t,r)),a=a.parent}}function Xm(e,t,n,r){for(var i=t.nodeIndex+1;i<=t.nodeIndex+t.childCount;i++){var o=e.def.nodes[i];o.flags&n&&$m(e,i,o.flags&n,r++),i+=o.childCount}return r}function $m(e,t,n,r){var i=vf(e,t);if(i){var o=i.instance;o&&(kf.setCurrentNode(e,t),1048576&n&&ff(e,512,r)&&o.ngAfterContentInit(),2097152&n&&o.ngAfterContentChecked(),4194304&n&&ff(e,768,r)&&o.ngAfterViewInit(),8388608&n&&o.ngAfterViewChecked(),131072&n&&o.ngOnDestroy())}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var ep=function(e){l(n,e);var t=d(n);function n(e){var r;return v(this,n),(r=t.call(this)).ngModule=e,r}return y(n,[{key:"resolveComponentFactory",value:function(e){var t=pt(e);return new rp(t,this.ngModule)}}]),n}(xh);function tp(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}var np=new _e("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return Tt}}),rp=function(e){l(n,e);var t=d(n);function n(e,r){var i;return v(this,n),(i=t.call(this)).componentDef=e,i.ngModule=r,i.componentType=e.type,i.selector=e.selectors.map(Ji).join(","),i.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],i.isBoundToModule=!!r,i}return y(n,[{key:"inputs",get:function(){return tp(this.componentDef.inputs)}},{key:"outputs",get:function(){return tp(this.componentDef.outputs)}},{key:"create",value:function(e,t,n,r){var i,o,a=(r=r||this.ngModule)?function(e,t){return{get:function(n,r,i){var o=e.get(n,Ym,i);return o!==Ym||r===Ym?o:t.get(n,r,i)}}}(e,r.injector):e,s=a.get(Rh,Kt),c=a.get(Lh,null),l=s.createRenderer(null,this.componentDef),u=this.componentDef.selectors[0][0]||"div",d=n?Io(l,n,this.componentDef.encapsulation):mo(u,s.createRenderer(null,this.componentDef),function(e){var t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(u)),h=this.componentDef.onPush?576:528,f=yc(),m=Eo(0,null,null,1,0,null,null,null,null,null),p=po(null,m,f,h,null,null,s,l,c,a);An(p);try{var v=vc(d,this.componentDef,p,s,l);if(d)if(n)Jn(l,d,["ng-version",Bh.full]);else{var g=function(e){for(var t=[],n=[],r=1,i=2;r<e.length;){var o=e[r];if("string"==typeof o)2===i?""!==o&&t.push(o,e[++r]):8===i&&n.push(o);else{if(!Ki(i))break;i=o}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]),y=g.attrs,b=g.classes;y&&Jn(l,d,y),b&&b.length>0&&Sa(l,d,b.join(" "))}if(o=Zt(m,0),void 0!==t)for(var k=o.projection=[],C=0;C<this.ngContentSelectors.length;C++){var w=t[C];k.push(null!=w?Array.from(w):null)}i=gc(v,this.componentDef,p,f,[bc]),go(m,p,null)}finally{Nn()}return new ip(this.componentType,i,Ta(Ah,o,p),p,o)}}]),n}(Sh),ip=function(e){l(n,e);var t=d(n);function n(e,r,i,o,a){var s;return v(this,n),(s=t.call(this)).location=i,s._rootLView=o,s._tNode=a,s.destroyCbs=[],s.instance=r,s.hostView=s.changeDetectorRef=new Oa(o),s.componentType=e,s}return y(n,[{key:"injector",get:function(){return new kr(this._tNode,this._rootLView)}},{key:"destroy",value:function(){this.destroyCbs&&(this.destroyCbs.forEach((function(e){return e()})),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}},{key:"onDestroy",value:function(e){this.destroyCbs&&this.destroyCbs.push(e)}}]),n}(wh);
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function op(e,t,r,i){return x((function(){var o,a=e,s=a.prototype?Object.getPrototypeOf(a.prototype):null,c=s&&s.constructor;null!==t&&(void 0===a.decorators||c&&c.decorators===a.decorators?a.decorators=t:(o=a.decorators).push.apply(o,n(t))),null!==r&&(a.ctorParameters=r),null!==i&&(a.propDecorators=void 0===a.propDecorators||c&&c.propDecorators===a.propDecorators?i:Object.assign(Object.assign({},a.propDecorators),i))}))}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var ap=new Map;function sp(e,t){var n=ap.get(e);cp(e,n&&n.moduleType,t.moduleType),ap.set(e,t)}function cp(e,t,n){if(t&&t!==n)throw new Error("Duplicate module registered for ".concat(e," - ").concat(re(t)," vs ").concat(re(t.name)))}function lp(e){var t=new Set;!function e(n){var i=bt(n,!0),o=i.id;null!==o&&(cp(o,ap.get(o),n),ap.set(o,n));var a,s=r(Rt(i.imports));try{for(s.s();!(a=s.n()).done;){var c=a.value;t.has(c)||(t.add(c),e(c))}}catch(l){s.e(l)}finally{s.f()}}(e)}function up(e){return ap.get(e)||lt[e]}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var dp=function(e){l(n,e);var t=d(n);function n(e,r){var i;v(this,n),(i=t.call(this))._parent=r,i._bootstrapComponents=[],i.injector=f(i),i.destroyCbs=[],i.componentFactoryResolver=new ep(f(i));var o=bt(e),a=e[Ce]||null;return a&&wd(a),i._bootstrapComponents=Rt(o.bootstrap),i._r3Injector=ls(e,r,[{provide:Be,useValue:f(i)},{provide:xh,useValue:i.componentFactoryResolver}],re(e)),i._r3Injector._resolveInjectorDefTypes(),i.instance=i.get(e),i}return y(n,[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ys.THROW_IF_NOT_FOUND,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:G.Default;return e===ys||e===Be||e===Ee?this:this._r3Injector.get(e,t,n)}},{key:"destroy",value:function(){var e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach((function(e){return e()})),this.destroyCbs=null}},{key:"onDestroy",value:function(e){this.destroyCbs.push(e)}}]),n}(Be),hp=function(e){l(n,e);var t=d(n);function n(e){var r;return v(this,n),(r=t.call(this)).moduleType=e,null!==bt(e)&&lp(e),r}return y(n,[{key:"create",value:function(e){return new dp(this.moduleType,e)}}]),n}(Ue);
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function fp(e,t,n){var r=bn()+e,i=un();return i[r]===Qi?jc(i,r,n?t.call(n):t()):Fc(i,r)}function mp(e,t,n,r){return _p(un(),bn(),e,t,n,r)}function pp(e,t,n,r,i){return Ep(un(),bn(),e,t,n,r,i)}function vp(e,t,n,r,i,o){return Ip(un(),bn(),e,t,n,r,i,o)}function gp(e,t,n,r,i,o,a){return xp(un(),bn(),e,t,n,r,i,o,a)}function yp(e,t,n,r,i,o,a,s){var c=bn()+e,l=un(),u=Uc(l,c,n,r,i,o);return Lc(l,c+4,a)||u?jc(l,c+5,s?t.call(s,n,r,i,o,a):t(n,r,i,o,a)):Fc(l,c+5)}function bp(e,t,n,r,i,o,a,s,c){var l=bn()+e,u=un(),d=Uc(u,l,n,r,i,o);return Vc(u,l+4,a,s)||d?jc(u,l+6,c?t.call(c,n,r,i,o,a,s):t(n,r,i,o,a,s)):Fc(u,l+6)}function kp(e,t,n,r,i,o,a,s,c,l){var u=bn()+e,d=un(),h=Uc(d,u,n,r,i,o);return Bc(d,u+4,a,s,c)||h?jc(d,u+7,l?t.call(l,n,r,i,o,a,s,c):t(n,r,i,o,a,s,c)):Fc(d,u+7)}function Cp(e,t,n,r,i,o,a,s,c,l,u){var d=bn()+e,h=un(),f=Uc(h,d,n,r,i,o);return Uc(h,d+4,a,s,c,l)||f?jc(h,d+8,u?t.call(u,n,r,i,o,a,s,c,l):t(n,r,i,o,a,s,c,l)):Fc(h,d+8)}function wp(e,t,n,r){return Op(un(),bn(),e,t,n,r)}function Sp(e,t){var n=e[t];return n===Qi?void 0:n}function _p(e,t,n,r,i,o){var a=t+n;return Lc(e,a,i)?jc(e,a+1,o?r.call(o,i):r(i)):Sp(e,a+1)}function Ep(e,t,n,r,i,o,a){var s=t+n;return Vc(e,s,i,o)?jc(e,s+2,a?r.call(a,i,o):r(i,o)):Sp(e,s+2)}function Ip(e,t,n,r,i,o,a,s){var c=t+n;return Bc(e,c,i,o,a)?jc(e,c+3,s?r.call(s,i,o,a):r(i,o,a)):Sp(e,c+3)}function xp(e,t,n,r,i,o,a,s,c){var l=t+n;return Uc(e,l,i,o,a,s)?jc(e,l+4,c?r.call(c,i,o,a,s):r(i,o,a,s)):Sp(e,l+4)}function Op(e,t,n,r,i,o){for(var a=t+n,s=!1,c=0;c<i.length;c++)Lc(e,a++,i[c])&&(s=!0);return s?jc(e,a,r.apply(o,i)):Sp(e,a)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Tp(e,t){var n,r=dn(),i=e+20;r.firstCreatePass?(n=function(e,t){if(t)for(var n=t.length-1;n>=0;n--){var r=t[n];if(e===r.name)return r}throw new Error("The pipe '".concat(e,"' could not be found!"))}(t,r.pipeRegistry),r.data[i]=n,n.onDestroy&&(r.destroyHooks||(r.destroyHooks=[])).push(i,n.onDestroy)):n=r.data[i];var o=n.factory||(n.factory=yt(n.type)),a=Pe(ul);try{var s=or(!1),c=o();return or(s),cl(r,un(),e,c),c}finally{Pe(a)}}function Ap(e,t,n){var r=un(),i=Jt(r,e);return jp(r,Np(r,e)?_p(r,bn(),t,i.transform,n,i):i.transform(n))}function Pp(e,t,n,r){var i=un(),o=Jt(i,e);return jp(i,Np(i,e)?Ep(i,bn(),t,o.transform,n,r,o):o.transform(n,r))}function Dp(e,t,n,r,i){var o=un(),a=Jt(o,e);return jp(o,Np(o,e)?Ip(o,bn(),t,a.transform,n,r,i,a):a.transform(n,r,i))}function Rp(e,t,n,r,i,o){var a=un(),s=Jt(a,e);return jp(a,Np(a,e)?xp(a,bn(),t,s.transform,n,r,i,o,s):s.transform(n,r,i,o))}function Mp(e,t,n){var r=un(),i=Jt(r,e);return jp(r,Np(r,e)?Op(r,bn(),t,i.transform,n,i):i.transform.apply(i,n))}function Np(e,t){return e[1].data[t+20].pure}function jp(e,t){return Rc.isWrapped(t)&&(t=Rc.unwrap(t),e[kn()]=Qi),t}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var Fp=function(e){l(n,e);var t=d(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return v(this,n),(e=t.call(this)).__isAsync=r,e}return y(n,[{key:"emit",value:function(e){s(p(n.prototype),"next",this).call(this,e)}},{key:"subscribe",value:function(e,t,r){var i,o=function(e){return null},a=function(){return null};e&&"object"==typeof e?(i=this.__isAsync?function(t){setTimeout((function(){return e.next(t)}))}:function(t){e.next(t)},e.error&&(o=this.__isAsync?function(t){setTimeout((function(){return e.error(t)}))}:function(t){e.error(t)}),e.complete&&(a=this.__isAsync?function(){setTimeout((function(){return e.complete()}))}:function(){e.complete()})):(i=this.__isAsync?function(t){setTimeout((function(){return e(t)}))}:function(t){e(t)},t&&(o=this.__isAsync?function(e){setTimeout((function(){return t(e)}))}:function(e){t(e)}),r&&(a=this.__isAsync?function(){setTimeout((function(){return r()}))}:function(){r()}));var c=s(p(n.prototype),"subscribe",this).call(this,i,o,a);return e instanceof u.a&&e.add(c),c}}]),n}(c.a);
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Lp(){return this._results[Pc()]()}var Vp=function(){function e(){v(this,e),this.dirty=!0,this._results=[],this.changes=new Fp,this.length=0;var t=Pc(),n=e.prototype;n[t]||(n[t]=Lp)}return y(e,[{key:"map",value:function(e){return this._results.map(e)}},{key:"filter",value:function(e){return this._results.filter(e)}},{key:"find",value:function(e){return this._results.find(e)}},{key:"reduce",value:function(e,t){return this._results.reduce(e,t)}},{key:"forEach",value:function(e){this._results.forEach(e)}},{key:"some",value:function(e){return this._results.some(e)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(e){this._results=Ge(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}},{key:"notifyOnChanges",value:function(){this.changes.emit(this)}},{key:"setDirty",value:function(){this.dirty=!0}},{key:"destroy",value:function(){this.changes.complete(),this.changes.unsubscribe()}}]),e}(),Bp=function(){function e(t){v(this,e),this.queryList=t,this.matches=null}return y(e,[{key:"clone",value:function(){return new e(this.queryList)}},{key:"setDirty",value:function(){this.queryList.setDirty()}}]),e}(),Up=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];v(this,e),this.queries=t}return y(e,[{key:"createEmbeddedView",value:function(t){var n=t.queries;if(null!==n){for(var r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[],o=0;o<r;o++){var a=n.getByIndex(o);i.push(this.queries[a.indexInDeclarationView].clone())}return new e(i)}return null}},{key:"insertView",value:function(e){this.dirtyQueriesWithMatches(e)}},{key:"detachView",value:function(e){this.dirtyQueriesWithMatches(e)}},{key:"dirtyQueriesWithMatches",value:function(e){for(var t=0;t<this.queries.length;t++)null!==iv(e,t).matches&&this.queries[t].setDirty()}}]),e}(),Hp=function e(t,n,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;v(this,e),this.predicate=t,this.descendants=n,this.isStatic=r,this.read=i},Gp=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];v(this,e),this.queries=t}return y(e,[{key:"elementStart",value:function(e,t){for(var n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,t)}},{key:"elementEnd",value:function(e){for(var t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)}},{key:"embeddedTView",value:function(t){for(var n=null,r=0;r<this.length;r++){var i=null!==n?n.length:0,o=this.getByIndex(r).embeddedTView(t,i);o&&(o.indexInDeclarationView=r,null!==n?n.push(o):n=[o])}return null!==n?new e(n):null}},{key:"template",value:function(e,t){for(var n=0;n<this.queries.length;n++)this.queries[n].template(e,t)}},{key:"getByIndex",value:function(e){return this.queries[e]}},{key:"length",get:function(){return this.queries.length}},{key:"track",value:function(e){this.queries.push(e)}}]),e}(),qp=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;v(this,e),this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}return y(e,[{key:"elementStart",value:function(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}},{key:"elementEnd",value:function(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}},{key:"template",value:function(e,t){this.elementStart(e,t)}},{key:"embeddedTView",value:function(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}},{key:"isApplyingToNode",value:function(e){if(this._appliesToNextNode&&!1===this.metadata.descendants){for(var t=this._declarationNodeIndex,n=e.parent;null!==n&&3===n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(e,t){var n=this.metadata.predicate;if(Array.isArray(n))for(var r=0;r<n.length;r++){var i=n[r];this.matchTNodeWithReadOption(e,t,Kp(t,i)),this.matchTNodeWithReadOption(e,t,vr(t,e,i,!1,!1))}else n===nf?0===t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,vr(t,e,n,!1,!1))}},{key:"matchTNodeWithReadOption",value:function(e,t,n){if(null!==n){var r=this.metadata.read;if(null!==r)if(r===Ah||r===af||r===nf&&0===t.type)this.addMatch(t.index,-2);else{var i=vr(t,e,r,!1,!1);null!==i&&this.addMatch(t.index,i)}else this.addMatch(t.index,n)}}},{key:"addMatch",value:function(e,t){null===this.matches?this.matches=[e,t]:this.matches.push(e,t)}}]),e}();
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Kp(e,t){var n=e.localNames;if(null!==n)for(var r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function zp(e,t,n,r){return-1===n?function(e,t){return 2===e.type||3===e.type?Ta(Ah,e,t):0===e.type?Aa(nf,Ah,e,t):null}(t,e):-2===n?function(e,t,n){return n===Ah?Ta(Ah,t,e):n===nf?Aa(nf,Ah,t,e):n===af?Pa(af,Ah,t,e):void 0}(e,t,r):gr(e,e[1],n,t)}function Yp(e,t,n,r){var i=t[19].queries[r];if(null===i.matches){for(var o=e.data,a=n.matches,s=[],c=0;c<a.length;c+=2){var l=a[c];s.push(l<0?null:zp(t,o[l],a[c+1],n.metadata.read))}i.matches=s}return i.matches}function Wp(e){var t=un(),n=dn(),r=xn();On(r+1);var i=iv(n,r);if(e.dirty&&en(t)===i.metadata.isStatic){if(null===i.matches)e.reset([]);else{var o=i.crossesNgTemplate?function e(t,n,r,i){var o=t.queries.getByIndex(r),a=o.matches;if(null!==a)for(var s=Yp(t,n,o,r),c=0;c<a.length;c+=2){var l=a[c];if(l>0)i.push(s[c/2]);else{for(var u=a[c+1],d=n[-l],h=10;h<d.length;h++){var f=d[h];f[17]===f[3]&&e(f[1],f,u,i)}if(null!==d[9])for(var m=d[9],p=0;p<m.length;p++){var v=m[p];e(v[1],v,u,i)}}}return i}(n,t,r,[]):Yp(n,t,i,r);e.reset(o),e.notifyOnChanges()}return!0}return!1}function Zp(e,t,n){Qp(dn(),un(),e,t,n,!0)}function Jp(e,t,n){Qp(dn(),un(),e,t,n,!1)}function Qp(e,t,n,r,i,o){e.firstCreatePass&&(rv(e,new Hp(n,r,o,i),-1),o&&(e.staticViewQueries=!0)),nv(e,t)}function Xp(e,t,n,r){ev(dn(),un(),t,n,r,!1,fn(),e)}function $p(e,t,n,r){ev(dn(),un(),t,n,r,!0,fn(),e)}function ev(e,t,n,r,i,o,a,s){e.firstCreatePass&&(rv(e,new Hp(n,r,o,i),a.index),function(e,t){var n=e.contentQueries||(e.contentQueries=[]);t!==(e.contentQueries.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(e,s),o&&(e.staticContentQueries=!0)),nv(e,t)}function tv(){return e=un(),t=xn(),e[19].queries[t].queryList;var e,t}function nv(e,t){var n=new Vp;xo(e,t,n,n.destroy),null===t[19]&&(t[19]=new Up),t[19].queries.push(new Bp(n))}function rv(e,t,n){null===e.queries&&(e.queries=new Gp),e.queries.track(new qp(t,n))}function iv(e,t){return e.queries.getByIndex(t)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function ov(e,t){return Aa(nf,Ah,e,t)}function av(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:G.Default,t=Da(!0);if(null!=t||e&G.Optional)return t;Mt("ChangeDetectorRef")}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var sv={"\u0275\u0275attribute":Hc,"\u0275\u0275attributeInterpolate1":Xc,"\u0275\u0275attributeInterpolate2":$c,"\u0275\u0275attributeInterpolate3":el,"\u0275\u0275attributeInterpolate4":tl,"\u0275\u0275attributeInterpolate5":nl,"\u0275\u0275attributeInterpolate6":rl,"\u0275\u0275attributeInterpolate7":il,"\u0275\u0275attributeInterpolate8":ol,"\u0275\u0275attributeInterpolateV":al,"\u0275\u0275defineComponent":ot,"\u0275\u0275defineDirective":ft,"\u0275\u0275defineInjectable":z,"\u0275\u0275defineInjector":W,"\u0275\u0275defineNgModule":ut,"\u0275\u0275definePipe":mt,"\u0275\u0275directiveInject":ul,"\u0275\u0275getFactoryOf":Cr,"\u0275\u0275getInheritedFactory":wr,"\u0275\u0275inject":Re,"\u0275\u0275injectAttribute":dl,"\u0275\u0275invalidFactory":hl,"\u0275\u0275invalidFactoryDep":Me,"\u0275\u0275injectPipeChangeDetectorRef":av,"\u0275\u0275templateRefExtractor":ov,"\u0275\u0275NgOnChangesFeature":jt,"\u0275\u0275ProvidersFeature":Ch,"\u0275\u0275CopyDefinitionFeature":Tc,"\u0275\u0275InheritDefinitionFeature":wc,"\u0275\u0275nextContext":Tl,"\u0275\u0275namespaceHTML":Hn,"\u0275\u0275namespaceMathML":Un,"\u0275\u0275namespaceSVG":Bn,"\u0275\u0275enableBindings":cn,"\u0275\u0275disableBindings":ln,"\u0275\u0275elementStart":pl,"\u0275\u0275elementEnd":vl,"\u0275\u0275element":gl,"\u0275\u0275elementContainerStart":yl,"\u0275\u0275elementContainerEnd":bl,"\u0275\u0275elementContainer":kl,"\u0275\u0275pureFunction0":fp,"\u0275\u0275pureFunction1":mp,"\u0275\u0275pureFunction2":pp,"\u0275\u0275pureFunction3":vp,"\u0275\u0275pureFunction4":gp,"\u0275\u0275pureFunction5":yp,"\u0275\u0275pureFunction6":bp,"\u0275\u0275pureFunction7":kp,"\u0275\u0275pureFunction8":Cp,"\u0275\u0275pureFunctionV":wp,"\u0275\u0275getCurrentView":Cl,"\u0275\u0275restoreView":hn,"\u0275\u0275listener":_l,"\u0275\u0275projection":Ml,"\u0275\u0275syntheticHostProperty":od,"\u0275\u0275syntheticHostListener":El,"\u0275\u0275pipeBind1":Ap,"\u0275\u0275pipeBind2":Pp,"\u0275\u0275pipeBind3":Dp,"\u0275\u0275pipeBind4":Rp,"\u0275\u0275pipeBindV":Mp,"\u0275\u0275projectionDef":Pl,"\u0275\u0275hostProperty":id,"\u0275\u0275property":fl,"\u0275\u0275propertyInterpolate":Nl,"\u0275\u0275propertyInterpolate1":jl,"\u0275\u0275propertyInterpolate2":Fl,"\u0275\u0275propertyInterpolate3":Ll,"\u0275\u0275propertyInterpolate4":Vl,"\u0275\u0275propertyInterpolate5":Bl,"\u0275\u0275propertyInterpolate6":Ul,"\u0275\u0275propertyInterpolate7":Hl,"\u0275\u0275propertyInterpolate8":Gl,"\u0275\u0275propertyInterpolateV":ql,"\u0275\u0275pipe":Tp,"\u0275\u0275queryRefresh":Wp,"\u0275\u0275viewQuery":Jp,"\u0275\u0275staticViewQuery":Zp,"\u0275\u0275staticContentQuery":$p,"\u0275\u0275loadQuery":tv,"\u0275\u0275contentQuery":Xp,"\u0275\u0275reference":ll,"\u0275\u0275classMap":su,"\u0275\u0275classMapInterpolate1":Pu,"\u0275\u0275classMapInterpolate2":Du,"\u0275\u0275classMapInterpolate3":Ru,"\u0275\u0275classMapInterpolate4":Mu,"\u0275\u0275classMapInterpolate5":Nu,"\u0275\u0275classMapInterpolate6":ju,"\u0275\u0275classMapInterpolate7":Fu,"\u0275\u0275classMapInterpolate8":Lu,"\u0275\u0275classMapInterpolateV":Vu,"\u0275\u0275styleMap":ou,"\u0275\u0275styleMapInterpolate1":Bu,"\u0275\u0275styleMapInterpolate2":Uu,"\u0275\u0275styleMapInterpolate3":Hu,"\u0275\u0275styleMapInterpolate4":Gu,"\u0275\u0275styleMapInterpolate5":qu,"\u0275\u0275styleMapInterpolate6":Ku,"\u0275\u0275styleMapInterpolate7":zu,"\u0275\u0275styleMapInterpolate8":Yu,"\u0275\u0275styleMapInterpolateV":Wu,"\u0275\u0275styleProp":ru,"\u0275\u0275stylePropInterpolate1":Zu,"\u0275\u0275stylePropInterpolate2":Ju,"\u0275\u0275stylePropInterpolate3":Qu,"\u0275\u0275stylePropInterpolate4":Xu,"\u0275\u0275stylePropInterpolate5":$u,"\u0275\u0275stylePropInterpolate6":ed,"\u0275\u0275stylePropInterpolate7":td,"\u0275\u0275stylePropInterpolate8":nd,"\u0275\u0275stylePropInterpolateV":rd,"\u0275\u0275classProp":iu,"\u0275\u0275advance":ro,"\u0275\u0275template":sl,"\u0275\u0275text":ku,"\u0275\u0275textInterpolate":Cu,"\u0275\u0275textInterpolate1":wu,"\u0275\u0275textInterpolate2":Su,"\u0275\u0275textInterpolate3":_u,"\u0275\u0275textInterpolate4":Eu,"\u0275\u0275textInterpolate5":Iu,"\u0275\u0275textInterpolate6":xu,"\u0275\u0275textInterpolate7":Ou,"\u0275\u0275textInterpolate8":Tu,"\u0275\u0275textInterpolateV":Au,"\u0275\u0275i18n":lh,"\u0275\u0275i18nAttributes":uh,"\u0275\u0275i18nExp":dh,"\u0275\u0275i18nStart":sh,"\u0275\u0275i18nEnd":ch,"\u0275\u0275i18nApply":hh,"\u0275\u0275i18nPostprocess":fh,"\u0275\u0275resolveWindow":At,"\u0275\u0275resolveDocument":Pt,"\u0275\u0275resolveBody":Dt,"\u0275\u0275setComponentScope":at,"\u0275\u0275setNgModuleScope":dt,"\u0275\u0275sanitizeHtml":bi,"\u0275\u0275sanitizeStyle":ki,"\u0275\u0275sanitizeResourceUrl":wi,"\u0275\u0275sanitizeScript":Si,"\u0275\u0275sanitizeUrl":Ci,"\u0275\u0275sanitizeUrlOrResourceUrl":Ei},cv=null;function lv(){cv=null}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var uv=[],dv=[],hv=!1;function fv(){if(!hv){hv=!0;try{for(var e=dv.length-1;e>=0;e--){var t=dv[e],n=t.moduleType,r=t.ngModule;r.declarations&&r.declarations.every(mv)&&(dv.splice(e,1),yv(n,r))}}finally{hv=!1}}}function mv(e){return Array.isArray(e)?e.every(mv):!!se(e)}function pv(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};vv(e,t),function(e,t){dv.push({moduleType:e,ngModule:t})}(e,t)}function vv(e,t){var n=Ge(t.declarations||uv),r=null;Object.defineProperty(e,ke,{configurable:!0,get:function(){return null===r&&((r=pe().compileNgModule(sv,"ng:///".concat(e.name,"/\u0275mod.js"),{type:e,bootstrap:Ge(t.bootstrap||uv).map(se),declarations:n.map(se),imports:Ge(t.imports||uv).map(se).map(Cv),exports:Ge(t.exports||uv).map(se).map(Cv),schemas:t.schemas?Ge(t.schemas):null,id:t.id||null})).schemas||(r.schemas=[])),r}});var i=null;Object.defineProperty(e,$,{get:function(){if(null===i){var n={name:e.name,type:e,deps:Ya(e),providers:t.providers||uv,imports:[(t.imports||uv).map(se),(t.exports||uv).map(se)]};i=pe().compileInjector(sv,"ng:///".concat(e.name,"/\u0275inj.js"),n)}return i},configurable:!1})}new Map,new Map;function gv(){new Map,new Map,dv.length=0}function yv(e,t){var n=Ge(t.declarations||uv),r=kv(e);n.forEach((function(t){t.hasOwnProperty(ge)?bv(pt(t),r):t.hasOwnProperty(ye)||t.hasOwnProperty(be)||(t.ngSelectorScope=e)}))}function bv(e,t){e.directiveDefs=function(){return Array.from(t.compilation.directives).map((function(e){return e.hasOwnProperty(ge)?pt(e):vt(e)})).filter((function(e){return!!e}))},e.pipeDefs=function(){return Array.from(t.compilation.pipes).map((function(e){return gt(e)}))},e.schemas=t.schemas,e.tView=null}function kv(e){if(!wv(e))throw new Error(e.name+" does not have a module def (\u0275mod property)");var t=bt(e);if(null!==t.transitiveCompileScopes)return t.transitiveCompileScopes;var n={schemas:t.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return Rt(t.imports).forEach((function(e){var t=e;if(!wv(t))throw new Error("Importing ".concat(t.name," which does not have a \u0275mod property"));var r=kv(t);r.exported.directives.forEach((function(e){return n.compilation.directives.add(e)})),r.exported.pipes.forEach((function(e){return n.compilation.pipes.add(e)}))})),Rt(t.declarations).forEach((function(e){gt(e)?n.compilation.pipes.add(e):n.compilation.directives.add(e)})),Rt(t.exports).forEach((function(e){var t=e;if(wv(t)){var r=kv(t);r.exported.directives.forEach((function(e){n.compilation.directives.add(e),n.exported.directives.add(e)})),r.exported.pipes.forEach((function(e){n.compilation.pipes.add(e),n.exported.pipes.add(e)}))}else gt(t)?n.exported.pipes.add(t):n.exported.directives.add(t)})),t.transitiveCompileScopes=n,n}function Cv(e){return function(e){return void 0!==e.ngModule}(e)?e.ngModule:e}function wv(e){return!!bt(e)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var Sv=0;function _v(e,t){var n=null;!function(e,t){Ws(t)&&(zs.set(e,t),Ys.add(e))}(e,t),xv(e,t),Object.defineProperty(e,ge,{get:function(){if(null===n){var r=pe();if(Ws(t)){var i=["Component '".concat(e.name,"' is not resolved:")];throw t.templateUrl&&i.push(" - templateUrl: "+t.templateUrl),t.styleUrls&&t.styleUrls.length&&i.push(" - styleUrls: "+JSON.stringify(t.styleUrls)),i.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(i.join("\n"))}var o=cv,a=t.preserveWhitespaces;void 0===a&&(a=null!==o&&void 0!==o.preserveWhitespaces&&o.preserveWhitespaces);var s=t.encapsulation;void 0===s&&(s=null!==o&&void 0!==o.defaultEncapsulation?o.defaultEncapsulation:tt.Emulated);var c=t.templateUrl||"ng:///".concat(e.name,"/template.html"),l=Object.assign(Object.assign({},Tv(e,t)),{typeSourceSpan:r.createParseSourceSpan("Component",e.name,c),template:t.template||"",preserveWhitespaces:a,styles:t.styles||rt,animations:t.animations,directives:[],changeDetection:t.changeDetection,pipes:new Map,encapsulation:s,interpolation:t.interpolation,viewProviders:t.viewProviders||null});Sv++;try{l.usesInheritance&&Av(e),n=r.compileComponent(sv,c,l)}finally{Sv--}if(0===Sv&&fv(),void 0!==e.ngSelectorScope){var u=kv(e.ngSelectorScope);bv(n,u)}}return n},configurable:!1})}function Ev(e,t){var n=null;xv(e,t||{}),Object.defineProperty(e,ye,{get:function(){if(null===n){var r=Iv(e,t||{});n=pe().compileDirective(sv,r.sourceMapUrl,r.metadata)}return n},configurable:!1})}function Iv(e,t){var n=e&&e.name,r="ng:///".concat(n,"/\u0275dir.js"),i=pe(),o=Tv(e,t);return o.typeSourceSpan=i.createParseSourceSpan("Directive",n,r),o.usesInheritance&&Av(e),{metadata:o,sourceMapUrl:r}}function xv(e,t){var n=null;Object.defineProperty(e,we,{get:function(){if(null===n){var r=Iv(e,t),i=pe();n=i.compileFactory(sv,"ng:///".concat(e.name,"/\u0275fac.js"),Object.assign(Object.assign({},r.metadata),{injectFn:"directiveInject",target:i.R3FactoryTarget.Directive}))}return n},configurable:!1})}function Ov(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function Tv(e,t){var n,r=za(),i=r.ownPropMetadata(e);return{name:e.name,type:e,typeArgumentCount:0,selector:void 0!==t.selector?t.selector:null,deps:Ya(e),host:t.host||nt,propMetadata:i,inputs:t.inputs||rt,outputs:t.outputs||rt,queries:Pv(e,i,Dv),lifecycle:{usesOnChanges:r.hasLifecycleHook(e,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!Ov(e),exportAs:(n=t.exportAs,void 0===n?null:Nv(n)),providers:t.providers||null,viewQueries:Pv(e,i,Rv)}}function Av(e){for(var t=Object.prototype,n=Object.getPrototypeOf(e.prototype).constructor;n&&n!==t;)vt(n)||pt(n)||!Fv(n)||Ev(n,null),n=Object.getPrototypeOf(n)}function Pv(e,t,n){var r=[],i=function(i){if(t.hasOwnProperty(i)){var o=t[i];o.forEach((function(t){if(n(t)){if(!t.selector)throw new Error("Can't construct a query for the property \"".concat(i,'" of "').concat(Ot(e),"\" since the query selector wasn't defined."));if(o.some(Mv))throw new Error("Cannot combine @Input decorators with query decorators");r.push(function(e,t){return{propertyName:e,predicate:(n=t.selector,"string"==typeof n?Nv(n):se(n)),descendants:t.descendants,first:t.first,read:t.read?t.read:null,static:!!t.static};var n}(i,t))}}))}};for(var o in t)i(o);return r}function Dv(e){var t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function Rv(e){var t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function Mv(e){return"Input"===e.ngMetadataName}function Nv(e){return e.split(",").map((function(e){return e.trim()}))}var jv=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function Fv(e){var t=za();if(jv.some((function(n){return t.hasLifecycleHook(e,n)})))return!0;var n=t.propMetadata(e);for(var r in n)for(var i=n[r],o=0;o<i.length;o++){var a=i[o],s=a.ngMetadataName;if(Mv(a)||Dv(a)||Rv(a)||"Output"===s||"HostBinding"===s||"HostListener"===s)return!0}return!1}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Lv(e,t){var n=null,r=null;Object.defineProperty(e,we,{get:function(){if(null===r){var n=Vv(e,t),i=pe();r=i.compileFactory(sv,"ng:///".concat(n.name,"/\u0275fac.js"),Object.assign(Object.assign({},n),{injectFn:"directiveInject",target:i.R3FactoryTarget.Pipe}))}return r},configurable:!1}),Object.defineProperty(e,be,{get:function(){if(null===n){var r=Vv(e,t);n=pe().compilePipe(sv,"ng:///".concat(r.name,"/\u0275pipe.js"),r)}return n},configurable:!1})}function Vv(e,t){return{type:e,typeArgumentCount:0,name:e.name,deps:Ya(e),pipeName:t.name,pure:void 0===t.pure||t.pure}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var Bv=P("Directive",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e}),void 0,void 0,(function(e,t){return Qv(e,t)})),Uv=P("Component",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign({changeDetection:Qe.Default},e)}),Bv,void 0,(function(e,t){return Jv(e,t)})),Hv=P("Pipe",(function(e){return Object.assign({pure:!0},e)}),void 0,void 0,(function(e,t){return Xv(e,t)})),Gv=M("Input",(function(e){return{bindingPropertyName:e}})),qv=M("Output",(function(e){return{bindingPropertyName:e}})),Kv=M("HostBinding",(function(e){return{hostPropertyName:e}})),zv=M("HostListener",(function(e,t){return{eventName:e,args:t}})),Yv=_v,Wv=Ev,Zv=Lv,Jv=Yv,Qv=Wv,Xv=Zv,$v=P("NgModule",(function(e){return e}),void 0,void 0,(function(e,t){return tg(e,t)})),eg=pv,tg=eg,ng=new _e("Application Initializer"),rg=function(){var e=function(){function e(t){var n=this;v(this,e),this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise((function(e,t){n.resolve=e,n.reject=t}))}return y(e,[{key:"runInitializers",value:function(){var e=this;if(!this.initialized){var t=[],n=function(){e.done=!0,e.resolve()};if(this.appInits)for(var r=0;r<this.appInits.length;r++){var i=this.appInits[r]();wl(i)&&t.push(i)}Promise.all(t).then((function(){n()})).catch((function(t){e.reject(t)})),0===t.length&&n(),this.initialized=!0}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Re(ng,8))},e.\u0275prov=z({token:e,factory:e.\u0275fac}),e}(),ig=new _e("AppId");function og(){return"".concat(sg()).concat(sg()).concat(sg())}var ag={provide:ig,useFactory:og,deps:[]};function sg(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var cg=new _e("Platform Initializer"),lg=new _e("Platform ID"),ug=new _e("appBootstrapListener"),dg=new _e("Application Packages Root URL"),hg=function(){var e=function(){function e(){v(this,e)}return y(e,[{key:"log",value:function(e){console.log(e)}},{key:"warn",value:function(e){console.warn(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=z({token:e,factory:e.\u0275fac}),e}(),fg=new _e("LocaleId"),mg=new _e("DefaultCurrencyCode"),pg=new _e("Translations"),vg=new _e("TranslationsFormat"),gg=function(e){return e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore",e}({}),yg=!0,bg=yg,kg=function e(t,n){v(this,e),this.ngModuleFactory=t,this.componentFactories=n},Cg=function(e){return new hp(e)},wg=Cg,Sg=function(e){return Promise.resolve(Cg(e))},_g=Sg,Eg=function(e){var t=Cg(e),n=Rt(bt(e).declarations).reduce((function(e,t){var n=pt(t);return n&&e.push(new rp(n)),e}),[]);return new kg(t,n)},Ig=Eg,xg=function(e){return Promise.resolve(Eg(e))},Og=xg,Tg=function(){var e=function(){function e(){v(this,e),this.compileModuleSync=wg,this.compileModuleAsync=_g,this.compileModuleAndAllComponentsSync=Ig,this.compileModuleAndAllComponentsAsync=Og}return y(e,[{key:"clearCache",value:function(){}},{key:"clearCacheFor",value:function(e){}},{key:"getModuleId",value:function(e){}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=z({token:e,factory:e.\u0275fac}),e}(),Ag=new _e("compilerOptions"),Pg=function e(){v(this,e)},Dg=Promise.resolve(0);function Rg(e){"undefined"==typeof Zone?Dg.then((function(){e&&e.apply(null,null)})):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var Mg=function(){function e(t){var n,r,i=t.enableLongStackTrace,o=void 0!==i&&i,a=t.shouldCoalesceEventChangeDetection,s=void 0!==a&&a;if(v(this,e),this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Fp(!1),this.onMicrotaskEmpty=new Fp(!1),this.onStable=new Fp(!1),this.onError=new Fp(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),o&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=s,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){var e=fe.requestAnimationFrame,t=fe.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){var n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);var r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,r=!!(n=this).shouldCoalesceEventChangeDetection&&n.nativeRequestAnimationFrame&&function(){!function(e){-1===e.lastRequestAnimationFrameId&&(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(fe,(function(){e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",(function(){e.lastRequestAnimationFrameId=-1,Lg(e),Fg(e)}),void 0,(function(){}),(function(){}))),e.fakeTopEventTask.invoke()})),Lg(e))}(n)},n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:r},onInvokeTask:function(e,t,i,o,a,s){try{return Vg(n),e.invokeTask(i,o,a,s)}finally{r&&"eventTask"===o.type&&r(),Bg(n)}},onInvoke:function(e,t,r,i,o,a,s){try{return Vg(n),e.invoke(r,i,o,a,s)}finally{Bg(n)}},onHasTask:function(e,t,r,i){e.hasTask(r,i),t===r&&("microTask"==i.change?(n._hasPendingMicrotasks=i.microTask,Lg(n),Fg(n)):"macroTask"==i.change&&(n.hasPendingMacrotasks=i.macroTask))},onHandleError:function(e,t,r,i){return e.handleError(r,i),n.runOutsideAngular((function(){return n.onError.emit(i)})),!1}})}return y(e,[{key:"run",value:function(e,t,n){return this._inner.run(e,t,n)}},{key:"runTask",value:function(e,t,n,r){var i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+r,e,jg,Ng,Ng);try{return i.runTask(o,t,n)}finally{i.cancelTask(o)}}},{key:"runGuarded",value:function(e,t,n){return this._inner.runGuarded(e,t,n)}},{key:"runOutsideAngular",value:function(e){return this._outer.run(e)}}],[{key:"isInAngularZone",value:function(){return!0===Zone.current.get("isAngularZone")}},{key:"assertInAngularZone",value:function(){if(!e.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}},{key:"assertNotInAngularZone",value:function(){if(e.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}}]),e}();function Ng(){}var jg={};function Fg(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular((function(){return e.onStable.emit(null)}))}finally{e.isStable=!0}}}function Lg(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||e.shouldCoalesceEventChangeDetection&&-1!==e.lastRequestAnimationFrameId)}function Vg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Bg(e){e._nesting--,Fg(e)}var Ug=function(){function e(){v(this,e),this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Fp,this.onMicrotaskEmpty=new Fp,this.onStable=new Fp,this.onError=new Fp}return y(e,[{key:"run",value:function(e,t,n){return e.apply(t,n)}},{key:"runGuarded",value:function(e,t,n){return e.apply(t,n)}},{key:"runOutsideAngular",value:function(e){return e()}},{key:"runTask",value:function(e,t,n,r){return e.apply(t,n)}}]),e}(),Hg=function(){var e=function(){function e(t){var n=this;v(this,e),this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run((function(){n.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")}))}return y(e,[{key:"_watchAngularEvents",value:function(){var e=this;this._ngZone.onUnstable.subscribe({next:function(){e._didWork=!0,e._isZoneStable=!1}}),this._ngZone.runOutsideAngular((function(){e._ngZone.onStable.subscribe({next:function(){Mg.assertNotInAngularZone(),Rg((function(){e._isZoneStable=!0,e._runCallbacksIfReady()}))}})}))}},{key:"increasePendingRequestCount",value:function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}},{key:"decreasePendingRequestCount",value:function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}},{key:"isStable",value:function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}},{key:"_runCallbacksIfReady",value:function(){var e=this;if(this.isStable())Rg((function(){for(;0!==e._callbacks.length;){var t=e._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(e._didWork)}e._didWork=!1}));else{var t=this.getPendingTasks();this._callbacks=this._callbacks.filter((function(e){return!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)})),this._didWork=!0}}},{key:"getPendingTasks",value:function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map((function(e){return{source:e.source,creationLocation:e.creationLocation,data:e.data}})):[]}},{key:"addCallback",value:function(e,t,n){var r=this,i=-1;t&&t>0&&(i=setTimeout((function(){r._callbacks=r._callbacks.filter((function(e){return e.timeoutId!==i})),e(r._didWork,r.getPendingTasks())}),t)),this._callbacks.push({doneCb:e,timeoutId:i,updateCb:n})}},{key:"whenStable",value:function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(e,t,n){return[]}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Re(Mg))},e.\u0275prov=z({token:e,factory:e.\u0275fac}),e}(),Gg=function(){var e=function(){function e(){v(this,e),this._applications=new Map,zg.addToWindow(this)}return y(e,[{key:"registerApplication",value:function(e,t){this._applications.set(e,t)}},{key:"unregisterApplication",value:function(e){this._applications.delete(e)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(e){return this._applications.get(e)||null}},{key:"getAllTestabilities",value:function(){return Array.from(this._applications.values())}},{key:"getAllRootElements",value:function(){return Array.from(this._applications.keys())}},{key:"findTestabilityInTree",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return zg.findTestabilityInTree(this,e,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=z({token:e,factory:e.\u0275fac}),e}();function qg(e){zg=e}var Kg,zg=new(function(){function e(){v(this,e)}return y(e,[{key:"addToWindow",value:function(e){}},{key:"findTestabilityInTree",value:function(e,t,n){return null}}]),e}()),Yg=Wg;
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Wg(e,t,n){var r=new hp(n);return Promise.resolve(r)}var Zg=Jg;function Jg(e){return e.isBoundToModule}var Qg=new _e("AllowMultipleToken"),Xg=function e(t,n){v(this,e),this.name=t,this.token=n};function $g(e){if(Kg&&!Kg.destroyed&&!Kg.injector.get(Qg,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Kg=e.get(iy);var t=e.get(cg,null);return t&&t.forEach((function(e){return e()})),Kg}function ey(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r="Platform: "+t,i=new _e(r);return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=ry();if(!o||o.injector.get(Qg,!1))if(e)e(n.concat(t).concat({provide:i,useValue:!0}));else{var a=n.concat(t).concat({provide:i,useValue:!0},{provide:ns,useValue:"platform"});$g(ys.create({providers:a,name:r}))}return ty(i)}}function ty(e){var t=ry();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}function ny(){Kg&&!Kg.destroyed&&Kg.destroy()}function ry(){return Kg&&!Kg.destroyed?Kg:null}var iy=function(){var e=function(){function e(t){v(this,e),this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return y(e,[{key:"bootstrapModuleFactory",value:function(e,t){var n,r,i=this,o=(n=t?t.ngZone:void 0,r=t&&t.ngZoneEventCoalescing||!1,"noop"===n?new Ug:("zone.js"===n?void 0:n)||new Mg({enableLongStackTrace:Kr(),shouldCoalesceEventChangeDetection:r})),a=[{provide:Mg,useValue:o}];return o.run((function(){var t=ys.create({providers:a,parent:i.injector,name:e.moduleType.name}),n=e.create(t),r=n.injector.get(Ir,null);if(!r)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy((function(){return cy(i._modules,n)})),o.runOutsideAngular((function(){return o.onError.subscribe({next:function(e){r.handleError(e)}})})),function(e,t,r){try{var o=((a=n.injector.get(rg)).runInitializers(),a.donePromise.then((function(){return bg&&wd(n.injector.get(fg,gd)||gd),i._moduleDoBootstrap(n),n})));return wl(o)?o.catch((function(n){throw t.runOutsideAngular((function(){return e.handleError(n)})),n})):o}catch(s){throw t.runOutsideAngular((function(){return e.handleError(s)})),s}var a}(r,o)}))}},{key:"bootstrapModule",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=oy({},n);return Yg(this.injector,r,e).then((function(e){return t.bootstrapModuleFactory(e,r)}))}},{key:"_moduleDoBootstrap",value:function(e){var t=e.injector.get(sy);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach((function(e){return t.bootstrap(e)}));else{if(!e.instance.ngDoBootstrap)throw new Error("The module ".concat(re(e.instance.constructor),' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.'));e.instance.ngDoBootstrap(t)}this._modules.push(e)}},{key:"onDestroy",value:function(e){this._destroyListeners.push(e)}},{key:"injector",get:function(){return this._injector}},{key:"destroy",value:function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach((function(e){return e.destroy()})),this._destroyListeners.forEach((function(e){return e()})),this._destroyed=!0}},{key:"destroyed",get:function(){return this._destroyed}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Re(ys))},e.\u0275prov=z({token:e,factory:e.\u0275fac}),e}();function oy(e,t){return Array.isArray(t)?t.reduce(oy,e):Object.assign(Object.assign({},e),t)}var ay,sy=((ay=function(){function e(t,n,r,i,o,a){var s=this;v(this,e),this._zone=t,this._console=n,this._injector=r,this._exceptionHandler=i,this._componentFactoryResolver=o,this._initStatus=a,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Kr(),this._zone.onMicrotaskEmpty.subscribe({next:function(){s._zone.run((function(){s.tick()}))}});var c=new h.a((function(e){s._stable=s._zone.isStable&&!s._zone.hasPendingMacrotasks&&!s._zone.hasPendingMicrotasks,s._zone.runOutsideAngular((function(){e.next(s._stable),e.complete()}))})),l=new h.a((function(e){var t;s._zone.runOutsideAngular((function(){t=s._zone.onStable.subscribe((function(){Mg.assertNotInAngularZone(),Rg((function(){s._stable||s._zone.hasPendingMacrotasks||s._zone.hasPendingMicrotasks||(s._stable=!0,e.next(!0))}))}))}));var n=s._zone.onUnstable.subscribe((function(){Mg.assertInAngularZone(),s._stable&&(s._stable=!1,s._zone.runOutsideAngular((function(){e.next(!1)})))}));return function(){t.unsubscribe(),n.unsubscribe()}}));this.isStable=Object(m.a)(c,l.pipe((function(e){return b()((t=I,function(e){var n;n="function"==typeof t?t:function(){return t};var r=Object.create(e,_);return r.source=e,r.subjectFactory=n,r})(e));var t})))}return y(e,[{key:"bootstrap",value:function(e,t){var n,r=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=e instanceof Sh?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var i=Zg(n)?void 0:this._injector.get(Be),o=n.create(ys.NULL,[],t||n.selector,i);o.onDestroy((function(){r._unloadComponent(o)}));var a=o.injector.get(Hg,null);return a&&o.injector.get(Gg).registerApplication(o.location.nativeElement,a),this._loadComponent(o),Kr()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),o}},{key:"tick",value:function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;var t,n=r(this._views);try{for(n.s();!(t=n.n()).done;)t.value.detectChanges()}catch(a){n.e(a)}finally{n.f()}if(this._enforceNoNewChanges){var i,o=r(this._views);try{for(o.s();!(i=o.n()).done;)i.value.checkNoChanges()}catch(a){o.e(a)}finally{o.f()}}}catch(s){this._zone.runOutsideAngular((function(){return e._exceptionHandler.handleError(s)}))}finally{this._runningTick=!1}}},{key:"attachView",value:function(e){var t=e;this._views.push(t),t.attachToAppRef(this)}},{key:"detachView",value:function(e){var t=e;cy(this._views,t),t.detachFromAppRef()}},{key:"_loadComponent",value:function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(ug,[]).concat(this._bootstrapListeners).forEach((function(t){return t(e)}))}},{key:"_unloadComponent",value:function(e){this.detachView(e.hostView),cy(this.components,e)}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach((function(e){return e.destroy()}))}},{key:"viewCount",get:function(){return this._views.length}}]),e}()).\u0275fac=function(e){return new(e||ay)(Re(Mg),Re(hg),Re(ys),Re(Ir),Re(xh),Re(rg))},ay.\u0275prov=z({token:ay,factory:ay.\u0275fac}),ay);function cy(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var ly=function e(){v(this,e)};function uy(e){var t=up(e);if(!t)throw fy(e);return t}function dy(e){var t=up(e);if(!t)throw fy(e);return new hp(t)}var hy=dy;function fy(e){return new Error("No module with ID ".concat(e," loaded"))}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var my=function e(){v(this,e)},py={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},vy=function(){var e=function(){function e(t,n){v(this,e),this._compiler=t,this._config=n||py}return y(e,[{key:"load",value:function(e){return!bg&&this._compiler instanceof Tg?this.loadFactory(e):this.loadAndCompile(e)}},{key:"loadAndCompile",value:function(e){var n=this,r=t(e.split("#"),2),i=r[0],a=r[1];return void 0===a&&(a="default"),o("crnd")(i).then((function(e){return e[a]})).then((function(e){return gy(e,i,a)})).then((function(e){return n._compiler.compileModuleAsync(e)}))}},{key:"loadFactory",value:function(e){var n=t(e.split("#"),2),r=n[0],i=n[1],a="NgFactory";return void 0===i&&(i="default",a=""),o("crnd")(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then((function(e){return e[i+a]})).then((function(e){return gy(e,r,i)}))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Re(Tg),Re(my,8))},e.\u0275prov=z({token:e,factory:e.\u0275fac}),e}();function gy(e,t,n){if(!e)throw new Error("Cannot find '".concat(n,"' in '").concat(t,"'"));return e}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var yy=function(e){l(n,e);var t=d(n);function n(){return v(this,n),t.apply(this,arguments)}return n}(Ra),by=function(e){l(n,e);var t=d(n);function n(){return v(this,n),t.apply(this,arguments)}return n}(yy),ky=function e(t,n){v(this,e),this.name=t,this.callback=n},Cy=function(){function e(t,n,r){v(this,e),this.listeners=[],this.parent=null,this._debugContext=r,this.nativeNode=t,n&&n instanceof wy&&n.addChild(this)}return y(e,[{key:"injector",get:function(){return this._debugContext.injector}},{key:"componentInstance",get:function(){return this._debugContext.component}},{key:"context",get:function(){return this._debugContext.context}},{key:"references",get:function(){return this._debugContext.references}},{key:"providerTokens",get:function(){return this._debugContext.providerTokens}}]),e}(),wy=function(e){l(r,e);var t=d(r);function r(e,n,i){var o;return v(this,r),(o=t.call(this,e,n,i)).properties={},o.attributes={},o.classes={},o.styles={},o.childNodes=[],o.nativeElement=e,o}return y(r,[{key:"addChild",value:function(e){e&&(this.childNodes.push(e),e.parent=this)}},{key:"removeChild",value:function(e){var t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))}},{key:"insertChildrenAfter",value:function(e,t){var r,i=this,o=this.childNodes.indexOf(e);-1!==o&&((r=this.childNodes).splice.apply(r,[o+1,0].concat(n(t))),t.forEach((function(t){t.parent&&t.parent.removeChild(t),e.parent=i})))}},{key:"insertBefore",value:function(e,t){var n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(n,0,t))}},{key:"query",value:function(e){return this.queryAll(e)[0]||null}},{key:"queryAll",value:function(e){var t=[];return function e(t,n,i){t.childNodes.forEach((function(t){t instanceof r&&(n(t)&&i.push(t),e(t,n,i))}))}(this,e,t),t}},{key:"queryAllNodes",value:function(e){var t=[];return function e(t,n,i){t instanceof r&&t.childNodes.forEach((function(t){n(t)&&i.push(t),t instanceof r&&e(t,n,i)}))}(this,e,t),t}},{key:"children",get:function(){return this.childNodes.filter((function(e){return e instanceof r}))}},{key:"triggerEventHandler",value:function(e,t){this.listeners.forEach((function(n){n.name==e&&n.callback(t)}))}}]),r}(Cy);function Sy(e){return e.map((function(e){return e.nativeElement}))}var _y=function(){function e(t){v(this,e),this.nativeNode=t}return y(e,[{key:"parent",get:function(){var e=this.nativeNode.parentNode;return e?new Ey(e):null}},{key:"injector",get:function(){return ic(this.nativeNode)}},{key:"componentInstance",get:function(){var e=this.nativeNode;return e&&(ec(e)||nc(e))}},{key:"context",get:function(){return ec(this.nativeNode)||tc(this.nativeNode)}},{key:"listeners",get:function(){return cc(this.nativeNode).filter((function(e){return"dom"===e.type}))}},{key:"references",get:function(){return e=this.nativeNode,null===(t=ac(e,!1))?{}:(void 0===t.localRefs&&(t.localRefs=function(e,t){var n=e[1].data[t];if(n&&n.localNames){for(var r={},i=n.index+1,o=0;o<n.localNames.length;o+=2)r[n.localNames[o]]=e[i],i++;return r}return null}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */(t.lView,t.nodeIndex)),t.localRefs||{});var e,t}},{key:"providerTokens",get:function(){return function(e){var t=ac(e,!1);if(null===t)return[];for(var n,r=t.lView[1],i=r.data[t.nodeIndex],o=[],a=i.directiveEnd,s=1048575&i.providerIndexes;s<a;s++){var c=r.data[s];void 0!==(n=c).type&&void 0!==n.template&&void 0!==n.declaredInputs&&(c=c.type),o.push(c)}return o}(this.nativeNode)}}]),e}(),Ey=function(e){l(n,e);var t=d(n);function n(e){return v(this,n),t.call(this,e)}return y(n,[{key:"nativeElement",get:function(){return this.nativeNode.nodeType==Node.ELEMENT_NODE?this.nativeNode:null}},{key:"name",get:function(){try{var e=ac(this.nativeNode);return e.lView[1].data[e.nodeIndex].tagName}catch(t){return this.nativeNode.nodeName}}},{key:"properties",get:function(){var e=ac(this.nativeNode,!1);if(null==e)return{};var t=e.lView,n=t[1].data,r=n[e.nodeIndex],i={};return function(e,t){if(e)for(var n=Object.getPrototypeOf(e),r=Node.prototype;null!==n&&n!==r;){var i=Object.getOwnPropertyDescriptors(n);for(var o in i)if(!o.startsWith("__")&&!o.startsWith("on")){var a=e[o];Iy(a)&&(t[o]=a)}n=Object.getPrototypeOf(n)}}(this.nativeElement,i),function(e,t,n,r){var i=t.propertyBindings;if(null!==i)for(var o=0;o<i.length;o++){var a=i[o],s=r[a].split("\ufffd"),c=s[0];if(s.length>1){for(var l=s[1],u=1;u<s.length-1;u++)l+=xt(n[a+u-1])+s[u+1];e[c]=l}else e[c]=n[a]}}(i,r,t,n),i}},{key:"attributes",get:function(){var e={},t=this.nativeElement;if(!t)return e;var n=ac(t,!1);if(null==n)return{};var r=n.lView[1].data[n.nodeIndex].attrs,i=[];if(r)for(var o=0;o<r.length;){var a=r[o];if("string"!=typeof a)break;e[a]=r[o+1],i.push(a.toLowerCase()),o+=2}for(var s=t.attributes,c=0;c<s.length;c++){var l=s[c],u=l.name.toLowerCase();-1===i.indexOf(u)&&(e[u]=l.value)}return e}},{key:"styles",get:function(){return this.nativeElement&&this.nativeElement.style?this.nativeElement.style:{}}},{key:"classes",get:function(){var e={},t=this.nativeElement.className;return(t&&"string"!=typeof t?t.baseVal.split(" "):t.split(" ")).forEach((function(t){return e[t]=!0})),e}},{key:"childNodes",get:function(){for(var e=this.nativeNode.childNodes,t=[],n=0;n<e.length;n++)t.push(Ry(e[n]));return t}},{key:"children",get:function(){var e=this.nativeElement;if(!e)return[];for(var t=e.children,n=[],r=0;r<t.length;r++)n.push(Ry(t[r]));return n}},{key:"query",value:function(e){return this.queryAll(e)[0]||null}},{key:"queryAll",value:function(e){var t=[];return xy(this,e,t,!0),t}},{key:"queryAllNodes",value:function(e){var t=[];return xy(this,e,t,!1),t}},{key:"triggerEventHandler",value:function(e,t){var n=this.nativeNode,r=[];this.listeners.forEach((function(i){if(i.name===e){var o=i.callback;o.call(n,t),r.push(o)}})),"function"==typeof n.eventListeners&&n.eventListeners(e).forEach((function(e){if(-1!==e.toString().indexOf("__ngUnwrap__")){var i=e("__ngUnwrap__");return-1===r.indexOf(i)&&i.call(n,t)}}))}}]),n}(_y);function Iy(e){return"string"==typeof e||"boolean"==typeof e||"number"==typeof e||null===e}function xy(e,t,n,r){var i=ac(e.nativeNode,!1);null!==i?Oy(i.lView[1].data[i.nodeIndex],i.lView,t,n,r,e.nativeNode):Py(e.nativeNode,t,n,r)}function Oy(e,t,n,i,o,a){var s=function(e,t){var n=null===e?-1:e.index;return-1!==n?zt(t[n]):null}(e,t);if(2===e.type||3===e.type){if(Ay(s,n,i,o,a),St(e)){var c=Qt(e.index,t);c&&c[1].firstChild&&Oy(c[1].firstChild,c,n,i,o,a)}else e.child&&Oy(e.child,t,n,i,o,a),s&&Py(s,n,i,o);var l=t[e.index];Ct(l)&&Ty(l,n,i,o,a)}else if(0===e.type){var u=t[e.index];Ay(u[7],n,i,o,a),Ty(u,n,i,o,a)}else if(1===e.type){var d=t[16],h=d[6].projection[e.projection];if(Array.isArray(h)){var f,m=r(h);try{for(m.s();!(f=m.n()).done;){Ay(f.value,n,i,o,a)}}catch(g){m.e(g)}finally{m.f()}}else if(h){var p=d[3];Oy(p[1].data[h.index],p,n,i,o,a)}}else e.child&&Oy(e.child,t,n,i,o,a);if(a!==s){var v=4&e.flags?e.projectionNext:e.next;v&&Oy(v,t,n,i,o,a)}}function Ty(e,t,n,r,i){for(var o=10;o<e.length;o++){var a=e[o],s=a[1].firstChild;s&&Oy(s,a,t,n,r,i)}}function Ay(e,t,n,r,i){if(i!==e){var o=My(e);if(!o)return;(r&&o instanceof Ey&&t(o)&&-1===n.indexOf(o)||!r&&t(o)&&-1===n.indexOf(o))&&n.push(o)}}function Py(e,t,n,r){for(var i=e.childNodes,o=i.length,a=0;a<o;a++){var s=i[a],c=My(s);c&&((r&&c instanceof Ey&&t(c)&&-1===n.indexOf(c)||!r&&t(c)&&-1===n.indexOf(c))&&n.push(c),Py(s,t,n,r))}}var Dy=new Map;function Ry(e){return e instanceof Node?(e.hasOwnProperty("__ng_debug__")||(e.__ng_debug__=e.nodeType==Node.ELEMENT_NODE?new Ey(e):new _y(e)),e.__ng_debug__):null}var My=Ry;function Ny(e){return function(e){return Dy.get(e)||null}(e)}var jy=function(e){return null};function Fy(e){Dy.set(e.nativeNode,e)}var Ly=_y,Vy=Ey,By=ey(null,"core",[{provide:lg,useValue:"unknown"},{provide:iy,deps:[ys]},{provide:Gg,deps:[]},{provide:hg,deps:[]}]);
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Uy(){return ef}function Hy(){return tf}function Gy(e){return e=e||bg&&"undefined"!=typeof $localize&&$localize.locale||gd,bg&&wd(e),e}var qy=yd,Ky=[{provide:sy,useClass:sy,deps:[Mg,hg,ys,Ir,xh,rg]},{provide:np,deps:[Mg],useFactory:zy},{provide:rg,useClass:rg,deps:[[new F,ng]]},{provide:Tg,useClass:Tg,deps:[]},ag,{provide:Qh,useFactory:Uy,deps:[]},{provide:Xh,useFactory:Hy,deps:[]},{provide:fg,useFactory:Gy,deps:[[new j(fg),new F,new V]]},{provide:mg,useValue:qy}];function zy(e){var t=[];return e.onStable.subscribe((function(){for(;t.length;)t.pop()()})),function(e){t.push(e)}}var Yy=function(){var e=function e(t){v(this,e)};return e.\u0275mod=ut({type:e}),e.\u0275inj=W({factory:function(t){return new(t||e)(Re(sy))},providers:Ky}),e}();
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Wy(e,t,n,r,i,o){e|=1;var a=Vf(t),s=a.matchedQueries,c=a.references;return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:e,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:s,matchedQueryIds:a.matchedQueryIds,references:c,ngContentIndex:n,childCount:r,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:o?Gf(o):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:i||Cf},provider:null,text:null,query:null,ngContent:null}}function Zy(e,n,r,i,o,a){var s,c=arguments.length>6&&void 0!==arguments[6]?arguments[6]:[],l=arguments.length>7?arguments[7]:void 0,u=arguments.length>8?arguments[8]:void 0,d=arguments.length>9?arguments[9]:void 0,h=arguments.length>10?arguments[10]:void 0,f=arguments.length>11?arguments[11]:void 0;d||(d=Cf);var m=Vf(r),p=m.matchedQueries,v=m.references,g=m.matchedQueryIds,y=null,b=null;a&&(y=(s=t(Jf(a),2))[0],b=s[1]),l=l||[];for(var k=[],C=0;C<l.length;C++){var w=t(l[C],3),S=w[0],_=w[1],E=w[2],I=Jf(_),x=t(I,2),O=x[0],T=x[1],A=void 0,P=void 0;switch(15&S){case 4:P=E;break;case 1:case 8:A=E}k[C]={flags:S,ns:O,name:T,nonMinifiedName:T,securityContext:A,suffix:P}}u=u||[];for(var D=[],R=0;R<u.length;R++){var M=t(u[R],2),N=M[0],j=M[1];D[R]={type:0,target:N,eventName:j,propName:null}}var F=(c=c||[]).map((function(e){var n=t(e,2),r=n[0],i=n[1],o=t(Jf(r),2);return[o[0],o[1],i]}));return f=function(e){if(e&&"$$undefined"===e.id){var t=null!=e.encapsulation&&e.encapsulation!==tt.None||e.styles.length||Object.keys(e.data).length;e.id=t?"c"+If++:"$$empty"}return e&&"$$empty"===e.id&&(e=null),e||null}(f),h&&(n|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:n|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:p,matchedQueryIds:g,references:v,ngContentIndex:i,childCount:o,bindings:k,bindingFlags:Qf(k),outputs:D,element:{ns:y,name:b,attrs:F,template:null,componentProvider:null,componentView:h||null,componentRendererType:f,publicProviders:null,allProviders:null,handleEvent:d||Cf},provider:null,text:null,query:null,ngContent:null}}function Jy(e,n,r){var i,o=r.element,a=e.root.selectorOrNode,s=e.renderer;if(e.parent||!a){i=o.name?s.createElement(o.name,o.ns):s.createComment("");var c=Uf(e,n,r);c&&s.appendChild(c,i)}else i=s.selectRootElement(a,!!o.componentRendererType&&o.componentRendererType.encapsulation===tt.ShadowDom);if(o.attrs)for(var l=0;l<o.attrs.length;l++){var u=t(o.attrs[l],3),d=u[0],h=u[1],f=u[2];s.setAttribute(i,h,f,d)}return i}function Qy(e,t,n,r){for(var i=0;i<n.outputs.length;i++){var o=n.outputs[i],a=Xy(e,n.nodeIndex,(d=o.eventName,(u=o.target)?"".concat(u,":").concat(d):d)),s=o.target,c=e;"component"===o.target&&(s=null,c=t);var l=c.renderer.listen(s||r,o.eventName,a);e.disposables[n.outputIndex+i]=l}var u,d}function Xy(e,t,n){return function(r){return Df(e,t,n,r)}}function $y(e,t,n,r){if(!Of(e,t,n,r))return!1;var i=t.bindings[n],o=pf(e,t.nodeIndex),a=o.renderElement,s=i.name;switch(15&i.flags){case 1:!function(e,t,n,r,i,o){var a=t.securityContext,s=a?e.root.sanitizer.sanitize(a,o):o;s=null!=s?s.toString():null;var c=e.renderer;null!=o?c.setAttribute(n,i,s,r):c.removeAttribute(n,i,r)}(e,i,a,i.ns,s,r);break;case 2:!function(e,t,n,r){var i=e.renderer;r?i.addClass(t,n):i.removeClass(t,n)}(e,a,s,r);break;case 4:!function(e,t,n,r,i){var o=e.root.sanitizer.sanitize(yi.STYLE,i);if(null!=o){o=o.toString();var a=t.suffix;null!=a&&(o+=a)}else o=null;var s=e.renderer;null!=o?s.setStyle(n,r,o):s.removeStyle(n,r)}(e,i,a,s,r);break;case 8:!function(e,t,n,r,i){var o=t.securityContext,a=o?e.root.sanitizer.sanitize(o,i):i;e.renderer.setProperty(n,r,a)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */(33554432&t.flags&&32&i.flags?o.componentView:e,i,a,s,r)}return!0}function eb(e,t,n){var r=[];for(var i in n)r.push({propName:i,bindingType:n[i]});return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,ngContentIndex:-1,matchedQueries:{},matchedQueryIds:0,references:{},childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:{id:t,filterId:Lf(t),bindings:r},ngContent:null}}function tb(e){for(var t=e.def.nodeMatchedQueries;e.parent&&Ff(e);){var n=e.parentNodeDef;e=e.parent;for(var r=n.nodeIndex+n.childCount,i=0;i<=r;i++){var o=e.def.nodes[i];67108864&o.flags&&536870912&o.flags&&(o.query.filterId&t)===o.query.filterId&&yf(e,i).setDirty(),!(1&o.flags&&i+o.childCount<n.nodeIndex)&&67108864&o.childFlags&&536870912&o.childFlags||(i+=o.childCount)}}if(134217728&e.def.nodeFlags)for(var a=0;a<e.def.nodes.length;a++){var s=e.def.nodes[a];134217728&s.flags&&536870912&s.flags&&yf(e,a).setDirty(),a+=s.childCount}}function nb(e,t){var n=yf(e,t.nodeIndex);if(n.dirty){var r,i=void 0;if(67108864&t.flags){var o=t.parent.parent;i=rb(e,o.nodeIndex,o.nodeIndex+o.childCount,t.query,[]),r=vf(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(i=rb(e,0,e.def.nodes.length-1,t.query,[]),r=e.component);n.reset(i);for(var a=t.query.bindings,s=!1,c=0;c<a.length;c++){var l=a[c],u=void 0;switch(l.bindingType){case 0:u=n.first;break;case 1:u=n,s=!0}r[l.propName]=u}s&&n.notifyOnChanges()}}function rb(e,t,n,r,i){for(var o=t;o<=n;o++){var a=e.def.nodes[o],s=a.matchedQueries[r.id];if(null!=s&&i.push(ib(e,a,s)),1&a.flags&&a.element.template&&(a.element.template.nodeMatchedQueries&r.filterId)===r.filterId){var c=pf(e,o);if((a.childMatchedQueries&r.filterId)===r.filterId&&(rb(e,o+1,o+a.childCount,r,i),o+=a.childCount),16777216&a.flags)for(var l=c.viewContainer._embeddedViews,u=0;u<l.length;u++){var d=l[u],h=Rf(d);h&&h===c&&rb(d,0,d.def.nodes.length-1,r,i)}var f=c.template._projectedViews;if(f)for(var m=0;m<f.length;m++){var p=f[m];rb(p,0,p.def.nodes.length-1,r,i)}}(a.childMatchedQueries&r.filterId)!==r.filterId&&(o+=a.childCount)}return i}function ib(e,t,n){if(null!=n)switch(n){case 1:return pf(e,t.nodeIndex).renderElement;case 0:return new Ah(pf(e,t.nodeIndex).renderElement);case 2:return pf(e,t.nodeIndex).template;case 3:return pf(e,t.nodeIndex).viewContainer;case 4:return vf(e,t.nodeIndex).instance}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function ob(e,t){return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:8,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:e,childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:null,ngContent:{index:t}}}function ab(e,t,n){var r=Uf(e,t,n);r&&zf(e,n.ngContent.index,1,r,null,void 0)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function sb(e,t){return ub(128,e,Ye(t+1))}function cb(e,t){return ub(32,e,Ye(t))}function lb(e,t){for(var n=Object.keys(t),r=n.length,i=[],o=0;o<r;o++)i.push(n[o]);return ub(64,e,i)}function ub(e,t,n){for(var r=[],i=0;i<n.length;i++){var o=n[i];r.push({flags:8,name:o,ns:null,nonMinifiedName:o,securityContext:null,suffix:null})}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:r,bindingFlags:Qf(r),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function db(e,t,n){for(var r=[],i=1;i<n.length;i++)r[i-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[i]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:r,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function hb(e,t,n){var r,i=e.renderer;r=i.createText(n.text.prefix);var o=Uf(e,t,n);return o&&i.appendChild(o,r),{renderText:r}}function fb(e,t){return(null!=e?e.toString():"")+t.suffix}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function mb(e,t,n,r){for(var i=0,o=0,a=0,s=0,c=0,l=null,u=null,d=!1,h=!1,f=null,m=0;m<t.length;m++){var p=t[m];if(p.nodeIndex=m,p.parent=l,p.bindingIndex=i,p.outputIndex=o,p.renderParent=u,a|=p.flags,c|=p.matchedQueryIds,p.element){var v=p.element;v.publicProviders=l?l.element.publicProviders:Object.create(null),v.allProviders=v.publicProviders,d=!1,h=!1,p.element.template&&(c|=p.element.template.nodeMatchedQueries)}if(vb(l,p,t.length),i+=p.bindings.length,o+=p.outputs.length,!u&&3&p.flags&&(f=p),20224&p.flags){d||(d=!0,l.element.publicProviders=Object.create(l.element.publicProviders),l.element.allProviders=l.element.publicProviders);var g=0!=(32768&p.flags);0==(8192&p.flags)||g?l.element.publicProviders[Sf(p.provider.token)]=p:(h||(h=!0,l.element.allProviders=Object.create(l.element.publicProviders)),l.element.allProviders[Sf(p.provider.token)]=p),g&&(l.element.componentProvider=p)}if(l?(l.childFlags|=p.flags,l.directChildFlags|=p.flags,l.childMatchedQueries|=p.matchedQueryIds,p.element&&p.element.template&&(l.childMatchedQueries|=p.element.template.nodeMatchedQueries)):s|=p.flags,p.childCount>0)l=p,pb(p)||(u=p);else for(;l&&m===l.nodeIndex+l.childCount;){var y=l.parent;y&&(y.childFlags|=l.childFlags,y.childMatchedQueries|=l.childMatchedQueries),u=(l=y)&&pb(l)?l.renderParent:l}}return{factory:null,nodeFlags:a,rootNodeFlags:s,nodeMatchedQueries:c,flags:e,nodes:t,updateDirectives:n||Cf,updateRenderer:r||Cf,handleEvent:function(e,n,r,i){return t[n].element.handleEvent(e,r,i)},bindingCount:i,outputCount:o,lastRenderRootNode:f}}function pb(e){return 0!=(1&e.flags)&&null===e.element.name}function vb(e,t,n){var r=t.element&&t.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index ".concat(t.nodeIndex,"!"))}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index ".concat(t.nodeIndex,"!"));if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index ".concat(t.nodeIndex,"!"));if(134217728&t.flags&&e)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index ".concat(t.nodeIndex,"!"))}if(t.childCount){var i=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=i&&t.nodeIndex+t.childCount>i)throw new Error("Illegal State: childCount of node leads outside of parent, at index ".concat(t.nodeIndex,"!"))}}function gb(e,t,n,r){var i=kb(e.root,e.renderer,e,t,n);return Cb(i,e.component,r),wb(i),i}function yb(e,t,n){var r=kb(e,e.renderer,null,null,t);return Cb(r,n,n),wb(r),r}function bb(e,t,n,r){var i,o=t.element.componentRendererType;return i=o?e.root.rendererFactory.createRenderer(r,o):e.root.renderer,kb(e.root,i,e,t.element.componentProvider,n)}function kb(e,t,n,r,i){var o=new Array(i.nodes.length),a=i.outputCount?new Array(i.outputCount):null;return{def:i,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:o,state:13,root:e,renderer:t,oldValues:new Array(i.bindingCount),disposables:a,initIndex:-1}}function Cb(e,t,n){e.component=t,e.context=n}function wb(e){var t;jf(e)&&(t=pf(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);for(var n=e.def,r=e.nodes,i=0;i<n.nodes.length;i++){var o=n.nodes[i],a=void 0;switch(kf.setCurrentNode(e,i),201347067&o.flags){case 1:var s=Jy(e,t,o),c=void 0;if(33554432&o.flags){var l=Gf(o.element.componentView);c=kf.createComponentView(e,o,l,s)}Qy(e,c,o,s),a={renderElement:s,componentView:c,viewContainer:null,template:o.element.template?Sm(e,o):void 0},16777216&o.flags&&(a.viewContainer=bm(e,o,a));break;case 2:a=hb(e,t,o);break;case 512:case 1024:case 2048:case 256:(a=r[i])||4096&o.flags||(a={instance:Um(e,o)});break;case 16:a={instance:Hm(e,o)};break;case 16384:(a=r[i])||(a={instance:Gm(e,o)}),32768&o.flags&&Cb(pf(e,o.parent.nodeIndex).componentView,a.instance,a.instance);break;case 32:case 64:case 128:a={value:void 0};break;case 67108864:case 134217728:a=new Vp;break;case 8:ab(e,t,o),a=void 0}r[i]=a}Pb(e,Ab.CreateViewNodes),Nb(e,201326592,268435456,0)}function Sb(e){Ib(e),kf.updateDirectives(e,1),Db(e,Ab.CheckNoChanges),kf.updateRenderer(e,1),Pb(e,Ab.CheckNoChanges),e.state&=-97}function _b(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,hf(e,0,256),Ib(e),kf.updateDirectives(e,0),Db(e,Ab.CheckAndUpdate),Nb(e,67108864,536870912,0);var t=hf(e,256,512);Qm(e,2097152|(t?1048576:0)),kf.updateRenderer(e,0),Pb(e,Ab.CheckAndUpdate),Nb(e,134217728,536870912,0),Qm(e,8388608|((t=hf(e,512,768))?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,hf(e,768,1024)}function Eb(e,t,r,i,o,a,s,c,l,u,d,h,f){return 0===r?function(e,t,n,r,i,o,a,s,c,l,u,d){switch(201347067&t.flags){case 1:return function(e,t,n,r,i,o,a,s,c,l,u,d){var h=t.bindings.length,f=!1;return h>0&&$y(e,t,0,n)&&(f=!0),h>1&&$y(e,t,1,r)&&(f=!0),h>2&&$y(e,t,2,i)&&(f=!0),h>3&&$y(e,t,3,o)&&(f=!0),h>4&&$y(e,t,4,a)&&(f=!0),h>5&&$y(e,t,5,s)&&(f=!0),h>6&&$y(e,t,6,c)&&(f=!0),h>7&&$y(e,t,7,l)&&(f=!0),h>8&&$y(e,t,8,u)&&(f=!0),h>9&&$y(e,t,9,d)&&(f=!0),f}(e,t,n,r,i,o,a,s,c,l,u,d);case 2:return function(e,t,n,r,i,o,a,s,c,l,u,d){var h=!1,f=t.bindings,m=f.length;if(m>0&&Of(e,t,0,n)&&(h=!0),m>1&&Of(e,t,1,r)&&(h=!0),m>2&&Of(e,t,2,i)&&(h=!0),m>3&&Of(e,t,3,o)&&(h=!0),m>4&&Of(e,t,4,a)&&(h=!0),m>5&&Of(e,t,5,s)&&(h=!0),m>6&&Of(e,t,6,c)&&(h=!0),m>7&&Of(e,t,7,l)&&(h=!0),m>8&&Of(e,t,8,u)&&(h=!0),m>9&&Of(e,t,9,d)&&(h=!0),h){var p=t.text.prefix;m>0&&(p+=fb(n,f[0])),m>1&&(p+=fb(r,f[1])),m>2&&(p+=fb(i,f[2])),m>3&&(p+=fb(o,f[3])),m>4&&(p+=fb(a,f[4])),m>5&&(p+=fb(s,f[5])),m>6&&(p+=fb(c,f[6])),m>7&&(p+=fb(l,f[7])),m>8&&(p+=fb(u,f[8])),m>9&&(p+=fb(d,f[9]));var v=mf(e,t.nodeIndex).renderText;e.renderer.setValue(v,p)}return h}(e,t,n,r,i,o,a,s,c,l,u,d);case 16384:return function(e,t,n,r,i,o,a,s,c,l,u,d){var h=vf(e,t.nodeIndex),f=h.instance,m=!1,p=void 0,v=t.bindings.length;return v>0&&xf(e,t,0,n)&&(m=!0,p=Jm(e,h,t,0,n,p)),v>1&&xf(e,t,1,r)&&(m=!0,p=Jm(e,h,t,1,r,p)),v>2&&xf(e,t,2,i)&&(m=!0,p=Jm(e,h,t,2,i,p)),v>3&&xf(e,t,3,o)&&(m=!0,p=Jm(e,h,t,3,o,p)),v>4&&xf(e,t,4,a)&&(m=!0,p=Jm(e,h,t,4,a,p)),v>5&&xf(e,t,5,s)&&(m=!0,p=Jm(e,h,t,5,s,p)),v>6&&xf(e,t,6,c)&&(m=!0,p=Jm(e,h,t,6,c,p)),v>7&&xf(e,t,7,l)&&(m=!0,p=Jm(e,h,t,7,l,p)),v>8&&xf(e,t,8,u)&&(m=!0,p=Jm(e,h,t,8,u,p)),v>9&&xf(e,t,9,d)&&(m=!0,p=Jm(e,h,t,9,d,p)),p&&f.ngOnChanges(p),65536&t.flags&&ff(e,256,t.nodeIndex)&&f.ngOnInit(),262144&t.flags&&f.ngDoCheck(),m}(e,t,n,r,i,o,a,s,c,l,u,d);case 32:case 64:case 128:return function(e,t,n,r,i,o,a,s,c,l,u,d){var h=t.bindings,f=!1,m=h.length;if(m>0&&Of(e,t,0,n)&&(f=!0),m>1&&Of(e,t,1,r)&&(f=!0),m>2&&Of(e,t,2,i)&&(f=!0),m>3&&Of(e,t,3,o)&&(f=!0),m>4&&Of(e,t,4,a)&&(f=!0),m>5&&Of(e,t,5,s)&&(f=!0),m>6&&Of(e,t,6,c)&&(f=!0),m>7&&Of(e,t,7,l)&&(f=!0),m>8&&Of(e,t,8,u)&&(f=!0),m>9&&Of(e,t,9,d)&&(f=!0),f){var p,v=gf(e,t.nodeIndex);switch(201347067&t.flags){case 32:p=[],m>0&&p.push(n),m>1&&p.push(r),m>2&&p.push(i),m>3&&p.push(o),m>4&&p.push(a),m>5&&p.push(s),m>6&&p.push(c),m>7&&p.push(l),m>8&&p.push(u),m>9&&p.push(d);break;case 64:p={},m>0&&(p[h[0].name]=n),m>1&&(p[h[1].name]=r),m>2&&(p[h[2].name]=i),m>3&&(p[h[3].name]=o),m>4&&(p[h[4].name]=a),m>5&&(p[h[5].name]=s),m>6&&(p[h[6].name]=c),m>7&&(p[h[7].name]=l),m>8&&(p[h[8].name]=u),m>9&&(p[h[9].name]=d);break;case 128:var g=n;switch(m){case 1:p=g.transform(n);break;case 2:p=g.transform(r);break;case 3:p=g.transform(r,i);break;case 4:p=g.transform(r,i,o);break;case 5:p=g.transform(r,i,o,a);break;case 6:p=g.transform(r,i,o,a,s);break;case 7:p=g.transform(r,i,o,a,s,c);break;case 8:p=g.transform(r,i,o,a,s,c,l);break;case 9:p=g.transform(r,i,o,a,s,c,l,u);break;case 10:p=g.transform(r,i,o,a,s,c,l,u,d)}}v.value=p}return f}(e,t,n,r,i,o,a,s,c,l,u,d);default:throw"unreachable"}}(e,t,i,o,a,s,c,l,u,d,h,f):function(e,t,r){switch(201347067&t.flags){case 1:return function(e,t,n){for(var r=!1,i=0;i<n.length;i++)$y(e,t,i,n[i])&&(r=!0);return r}(e,t,r);case 2:return function(e,t,n){for(var r=t.bindings,i=!1,o=0;o<n.length;o++)Of(e,t,o,n[o])&&(i=!0);if(i){for(var a="",s=0;s<n.length;s++)a+=fb(n[s],r[s]);a=t.text.prefix+a;var c=mf(e,t.nodeIndex).renderText;e.renderer.setValue(c,a)}return i}(e,t,r);case 16384:return function(e,t,n){for(var r=vf(e,t.nodeIndex),i=r.instance,o=!1,a=void 0,s=0;s<n.length;s++)xf(e,t,s,n[s])&&(o=!0,a=Jm(e,r,t,s,n[s],a));return a&&i.ngOnChanges(a),65536&t.flags&&ff(e,256,t.nodeIndex)&&i.ngOnInit(),262144&t.flags&&i.ngDoCheck(),o}(e,t,r);case 32:case 64:case 128:return function(e,t,r){for(var i=t.bindings,o=!1,a=0;a<r.length;a++)Of(e,t,a,r[a])&&(o=!0);if(o){var s,c=gf(e,t.nodeIndex);switch(201347067&t.flags){case 32:s=r;break;case 64:s={};for(var l=0;l<r.length;l++)s[i[l].name]=r[l];break;case 128:var u=r[0],d=r.slice(1);s=u.transform.apply(u,n(d))}c.value=s}return o}(e,t,r);default:throw"unreachable"}}(e,t,i)}function Ib(e){var t=e.def;if(4&t.nodeFlags)for(var n=0;n<t.nodes.length;n++){var r=t.nodes[n];if(4&r.flags){var i=pf(e,n).template._projectedViews;if(i)for(var o=0;o<i.length;o++){var a=i[o];a.state|=32,Pf(a,e)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function xb(e,t,n,r,i,o,a,s,c,l,u,d,h){return 0===n?function(e,t,n,r,i,o,a,s,c,l,u,d){var h=t.bindings.length;h>0&&Tf(e,t,0,n),h>1&&Tf(e,t,1,r),h>2&&Tf(e,t,2,i),h>3&&Tf(e,t,3,o),h>4&&Tf(e,t,4,a),h>5&&Tf(e,t,5,s),h>6&&Tf(e,t,6,c),h>7&&Tf(e,t,7,l),h>8&&Tf(e,t,8,u),h>9&&Tf(e,t,9,d)}(e,t,r,i,o,a,s,c,l,u,d,h):function(e,t,n){for(var r=0;r<n.length;r++)Tf(e,t,r,n[r])}(e,t,r),!1}function Ob(e,t){if(yf(e,t.nodeIndex).dirty)throw lf(kf.createDebugContext(e,t.nodeIndex),"Query ".concat(t.query.id," not dirty"),"Query ".concat(t.query.id," dirty"),0!=(1&e.state))}function Tb(e){if(!(128&e.state)){if(Db(e,Ab.Destroy),Pb(e,Ab.Destroy),Qm(e,131072),e.disposables)for(var t=0;t<e.disposables.length;t++)e.disposables[t]();!function(e){if(16&e.state){var t=Rf(e);if(t){var n=t.template._projectedViews;n&&(ze(n,n.indexOf(e)),kf.dirtyParentQueries(e))}}}(e),e.renderer.destroyNode&&function(e){for(var t=e.def.nodes.length,n=0;n<t;n++){var r=e.def.nodes[n];1&r.flags?e.renderer.destroyNode(pf(e,n).renderElement):2&r.flags?e.renderer.destroyNode(mf(e,n).renderText):(67108864&r.flags||134217728&r.flags)&&yf(e,n).destroy()}}(e),jf(e)&&e.renderer.destroy(),e.state|=128}}var Ab=function(e){return e[e.CreateViewNodes=0]="CreateViewNodes",e[e.CheckNoChanges=1]="CheckNoChanges",e[e.CheckNoChangesProjectedViews=2]="CheckNoChangesProjectedViews",e[e.CheckAndUpdate=3]="CheckAndUpdate",e[e.CheckAndUpdateProjectedViews=4]="CheckAndUpdateProjectedViews",e[e.Destroy=5]="Destroy",e}({});function Pb(e,t){var n=e.def;if(33554432&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var i=n.nodes[r];33554432&i.flags?Rb(pf(e,r).componentView,t):0==(33554432&i.childFlags)&&(r+=i.childCount)}}function Db(e,t){var n=e.def;if(16777216&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var i=n.nodes[r];if(16777216&i.flags)for(var o=pf(e,r).viewContainer._embeddedViews,a=0;a<o.length;a++)Rb(o[a],t);else 0==(16777216&i.childFlags)&&(r+=i.childCount)}}function Rb(e,t){var n=e.state;switch(t){case Ab.CheckNoChanges:0==(128&n)&&(12==(12&n)?Sb(e):64&n&&Mb(e,Ab.CheckNoChangesProjectedViews));break;case Ab.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?Sb(e):64&n&&Mb(e,t));break;case Ab.CheckAndUpdate:0==(128&n)&&(12==(12&n)?_b(e):64&n&&Mb(e,Ab.CheckAndUpdateProjectedViews));break;case Ab.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?_b(e):64&n&&Mb(e,t));break;case Ab.Destroy:Tb(e);break;case Ab.CreateViewNodes:wb(e)}}function Mb(e,t){Db(e,t),Pb(e,t)}function Nb(e,t,n,r){if(e.def.nodeFlags&t&&e.def.nodeFlags&n)for(var i=e.def.nodes.length,o=0;o<i;o++){var a=e.def.nodes[o];if(a.flags&t&&a.flags&n)switch(kf.setCurrentNode(e,a.nodeIndex),r){case 0:nb(e,a);break;case 1:Ob(e,a)}a.childFlags&t&&a.childFlags&n||(o+=a.childCount)}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var jb=!1;function Fb(){if(!jb){jb=!0;var e=Kr()?{setCurrentNode:ak,createRootView:Vb,createEmbeddedView:Ub,createComponentView:Hb,createNgModuleRef:Gb,overrideProvider:Yb,overrideComponentView:Wb,clearOverrides:Zb,checkAndUpdateView:$b,checkNoChangesView:ek,destroyView:tk,createDebugContext:function(e,t){return new mk(e,t)},handleEvent:sk,updateDirectives:ck,updateRenderer:lk}:{setCurrentNode:function(){},createRootView:Lb,createEmbeddedView:gb,createComponentView:bb,createNgModuleRef:Om,overrideProvider:Cf,overrideComponentView:Cf,clearOverrides:Cf,checkAndUpdateView:_b,checkNoChangesView:Sb,destroyView:Tb,createDebugContext:function(e,t){return new mk(e,t)},handleEvent:function(e,t,n,r){return e.def.handleEvent(e,t,n,r)},updateDirectives:function(e,t){return e.def.updateDirectives(0===t?Qb:Xb,e)},updateRenderer:function(e,t){return e.def.updateRenderer(0===t?Qb:Xb,e)}};kf.setCurrentNode=e.setCurrentNode,kf.createRootView=e.createRootView,kf.createEmbeddedView=e.createEmbeddedView,kf.createComponentView=e.createComponentView,kf.createNgModuleRef=e.createNgModuleRef,kf.overrideProvider=e.overrideProvider,kf.overrideComponentView=e.overrideComponentView,kf.clearOverrides=e.clearOverrides,kf.checkAndUpdateView=e.checkAndUpdateView,kf.checkNoChangesView=e.checkNoChangesView,kf.destroyView=e.destroyView,kf.resolveDep=Wm,kf.createDebugContext=e.createDebugContext,kf.handleEvent=e.handleEvent,kf.updateDirectives=e.updateDirectives,kf.updateRenderer=e.updateRenderer,kf.dirtyParentQueries=tb}}function Lb(e,t,n,r,i,o){var a=i.injector.get(Rh);return yb(Bb(e,i,a,t,n),r,o)}function Vb(e,t,n,r,i,o){var a=i.injector.get(Rh),s=Bb(e,i,new yk(a),t,n),c=Jb(r);return vk(ok.create,yb,null,[s,c,o])}function Bb(e,t,n,r,i){var o=t.injector.get(Lh),a=t.injector.get(Ir),s=n.createRenderer(null,null);return{ngModule:t,injector:e,projectableNodes:r,selectorOrNode:i,sanitizer:o,rendererFactory:n,renderer:s,errorHandler:a}}function Ub(e,t,n,r){var i=Jb(n);return vk(ok.create,gb,null,[e,t,i,r])}function Hb(e,t,n,r){return n=zb.get(t.element.componentProvider.provider.token)||Jb(n),vk(ok.create,bb,null,[e,t,n,r])}function Gb(e,t,n,r){return Om(e,t,n,function(e){var t=function(e){var t=!1,n=!1;return 0===qb.size||(e.providers.forEach((function(e){var r=qb.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)})),e.modules.forEach((function(e){Kb.forEach((function(r,i){Z(i).providedIn===e&&(t=!0,n=n||r.deprecatedBehavior)}))}))),{hasOverrides:t,hasDeprecatedOverrides:n}}(e),n=t.hasOverrides,r=t.hasDeprecatedOverrides;return n?(function(e){for(var t=0;t<e.providers.length;t++){var n=e.providers[t];r&&(n.flags|=4096);var i=qb.get(n.token);i&&(n.flags=-3841&n.flags|i.flags,n.deps=Bf(i.deps),n.value=i.value)}if(Kb.size>0){var o=new Set(e.modules);Kb.forEach((function(t,n){if(o.has(Z(n).providedIn)){var i={token:n,flags:t.flags|(r?4096:0),deps:Bf(t.deps),value:t.value,index:e.providers.length};e.providers.push(i),e.providersByKey[Sf(n)]=i}}))}}(e=e.factory((function(){return Cf}))),e):e}(r))}var qb=new Map,Kb=new Map,zb=new Map;function Yb(e){var t;qb.set(e.token,e),"function"==typeof e.token&&(t=Z(e.token))&&"function"==typeof t.providedIn&&Kb.set(e.token,e)}function Wb(e,t){var n=Gf(vm(t)),r=Gf(n.nodes[0].element.componentView);zb.set(e,r)}function Zb(){qb.clear(),Kb.clear(),zb.clear()}function Jb(e){if(0===qb.size)return e;var t=function(e){for(var t=[],n=null,r=0;r<e.nodes.length;r++){var i=e.nodes[r];1&i.flags&&(n=i),n&&3840&i.flags&&qb.has(i.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory((function(){return Cf}));for(var n=0;n<t.length;n++)r(e,t[n]);return e;function r(e,t){for(var n=t+1;n<e.nodes.length;n++){var r=e.nodes[n];if(1&r.flags)return;if(3840&r.flags){var i=r.provider,o=qb.get(i.token);o&&(r.flags=-3841&r.flags|o.flags,i.deps=Bf(o.deps),i.value=o.value)}}}}function Qb(e,t,n,r,i,o,a,s,c,l,u,d,h){var f=e.def.nodes[t];return Eb(e,f,n,r,i,o,a,s,c,l,u,d,h),224&f.flags?gf(e,t).value:void 0}function Xb(e,t,n,r,i,o,a,s,c,l,u,d,h){var f=e.def.nodes[t];return xb(e,f,n,r,i,o,a,s,c,l,u,d,h),224&f.flags?gf(e,t).value:void 0}function $b(e){return vk(ok.detectChanges,_b,null,[e])}function ek(e){return vk(ok.checkNoChanges,Sb,null,[e])}function tk(e){return vk(ok.destroy,Tb,null,[e])}var nk,rk,ik,ok=function(e){return e[e.create=0]="create",e[e.detectChanges=1]="detectChanges",e[e.checkNoChanges=2]="checkNoChanges",e[e.destroy=3]="destroy",e[e.handleEvent=4]="handleEvent",e}({});function ak(e,t){rk=e,ik=t}function sk(e,t,n,r){return ak(e,t),vk(ok.handleEvent,e.def.handleEvent,null,[e,t,n,r])}function ck(e,t){if(128&e.state)throw df(ok[nk]);return ak(e,hk(e,0)),e.def.updateDirectives((function(e,n,r){for(var i=e.def.nodes[n],o=arguments.length,a=new Array(o>3?o-3:0),s=3;s<o;s++)a[s-3]=arguments[s];return 0===t?uk(e,i,r,a):dk(e,i,r,a),16384&i.flags&&ak(e,hk(e,n)),224&i.flags?gf(e,i.nodeIndex).value:void 0}),e)}function lk(e,t){if(128&e.state)throw df(ok[nk]);return ak(e,fk(e,0)),e.def.updateRenderer((function(e,n,r){for(var i=e.def.nodes[n],o=arguments.length,a=new Array(o>3?o-3:0),s=3;s<o;s++)a[s-3]=arguments[s];return 0===t?uk(e,i,r,a):dk(e,i,r,a),3&i.flags&&ak(e,fk(e,n)),224&i.flags?gf(e,i.nodeIndex).value:void 0}),e)}function uk(e,t,r,i){if(Eb.apply(void 0,[e,t,r].concat(n(i)))){var o=1===r?i[0]:i;if(16384&t.flags){for(var a={},s=0;s<t.bindings.length;s++){var c=t.bindings[s],l=o[s];8&c.flags&&(a[(m=c.nonMinifiedName,"ng-reflect-"+m.replace(/[$@]/g,"_").replace(Ai,(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return"-"+t[1].toLowerCase()})))]=Pi(l))}var u=t.parent,d=pf(e,u.nodeIndex).renderElement;if(u.element.name)for(var h in a){var f=a[h];null!=f?e.renderer.setAttribute(d,h,f):e.renderer.removeAttribute(d,h)}else e.renderer.setValue(d,Ti("bindings="+JSON.stringify(a,null,2)))}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var m}function dk(e,t,r,i){xb.apply(void 0,[e,t,r].concat(n(i)))}function hk(e,t){for(var n=t;n<e.def.nodes.length;n++){var r=e.def.nodes[n];if(16384&r.flags&&r.bindings&&r.bindings.length)return n}return null}function fk(e,t){for(var n=t;n<e.def.nodes.length;n++){var r=e.def.nodes[n];if(3&r.flags&&r.bindings&&r.bindings.length)return n}return null}var mk=function(){function e(t,n){v(this,e),this.view=t,this.nodeIndex=n,null==n&&(this.nodeIndex=n=0),this.nodeDef=t.def.nodes[n];for(var r=this.nodeDef,i=t;r&&0==(1&r.flags);)r=r.parent;if(!r)for(;!r&&i;)r=Mf(i),i=i.parent;this.elDef=r,this.elView=i}return y(e,[{key:"elOrCompView",get:function(){return pf(this.elView,this.elDef.nodeIndex).componentView||this.view}},{key:"injector",get:function(){return Em(this.elView,this.elDef)}},{key:"component",get:function(){return this.elOrCompView.component}},{key:"context",get:function(){return this.elOrCompView.context}},{key:"providerTokens",get:function(){var e=[];if(this.elDef)for(var t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){var n=this.elView.def.nodes[t];20224&n.flags&&e.push(n.provider.token),t+=n.childCount}return e}},{key:"references",get:function(){var e={};if(this.elDef){pk(this.elView,this.elDef,e);for(var t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){var n=this.elView.def.nodes[t];20224&n.flags&&pk(this.elView,n,e),t+=n.childCount}}return e}},{key:"componentRenderElement",get:function(){var e=function(e){for(;e&&!jf(e);)e=e.parent;return e.parent?pf(e.parent,Mf(e).nodeIndex):null}(this.elOrCompView);return e?e.renderElement:void 0}},{key:"renderNode",get:function(){return 2&this.nodeDef.flags?Nf(this.view,this.nodeDef):Nf(this.elView,this.elDef)}},{key:"logError",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i,o;2&this.nodeDef.flags?(i=this.view.def,o=this.nodeDef.nodeIndex):(i=this.elView.def,o=this.elDef.nodeIndex);var a=function(e,t){for(var n=-1,r=0;r<=t;r++)3&e.nodes[r].flags&&n++;return n}(i,o),s=-1;i.factory((function(){var t;return++s===a?(t=e.error).bind.apply(t,[e].concat(n)):Cf})),s<a&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error.apply(e,n))}}]),e}();function pk(e,t,n){for(var r in t.references)n[r]=ib(e,t,t.references[r])}function vk(e,t,n,r){var i,o,a=nk,s=rk,c=ik;try{nk=e;var l=t.apply(n,r);return rk=s,ik=c,nk=a,l}catch(u){if(Sr(u)||!rk)throw u;throw i=u,o=gk(),i instanceof Error||(i=new Error(i.toString())),uf(i,o),i}}function gk(){return rk?new mk(rk,ik):null}var yk=function(){function e(t){v(this,e),this.delegate=t}return y(e,[{key:"createRenderer",value:function(e,t){return new bk(this.delegate.createRenderer(e,t))}},{key:"begin",value:function(){this.delegate.begin&&this.delegate.begin()}},{key:"end",value:function(){this.delegate.end&&this.delegate.end()}},{key:"whenRenderingDone",value:function(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)}}]),e}(),bk=function(){function e(t){v(this,e),this.delegate=t,this.debugContextFactory=gk,this.data=this.delegate.data}return y(e,[{key:"createDebugContext",value:function(e){return this.debugContextFactory(e)}},{key:"destroyNode",value:function(e){var t=My(e);!function(e){Dy.delete(e.nativeNode)}(t),t instanceof Cy&&(t.listeners.length=0),this.delegate.destroyNode&&this.delegate.destroyNode(e)}},{key:"destroy",value:function(){this.delegate.destroy()}},{key:"createElement",value:function(e,t){var n=this.delegate.createElement(e,t),r=this.createDebugContext(n);if(r){var i=new wy(n,null,r);i.name=e,Fy(i)}return n}},{key:"createComment",value:function(e){var t=this.delegate.createComment(Ti(e)),n=this.createDebugContext(t);return n&&Fy(new Cy(t,null,n)),t}},{key:"createText",value:function(e){var t=this.delegate.createText(e),n=this.createDebugContext(t);return n&&Fy(new Cy(t,null,n)),t}},{key:"appendChild",value:function(e,t){var n=My(e),r=My(t);n&&r&&n instanceof wy&&n.addChild(r),this.delegate.appendChild(e,t)}},{key:"insertBefore",value:function(e,t,n){var r=My(e),i=My(t),o=My(n);r&&i&&r instanceof wy&&r.insertBefore(o,i),this.delegate.insertBefore(e,t,n)}},{key:"removeChild",value:function(e,t){var n=My(e),r=My(t);n&&r&&n instanceof wy&&n.removeChild(r),this.delegate.removeChild(e,t)}},{key:"selectRootElement",value:function(e,t){var n=this.delegate.selectRootElement(e,t),r=gk();return r&&Fy(new wy(n,null,r)),n}},{key:"setAttribute",value:function(e,t,n,r){var i=My(e);i&&i instanceof wy&&(i.attributes[r?r+":"+t:t]=n),this.delegate.setAttribute(e,t,n,r)}},{key:"removeAttribute",value:function(e,t,n){var r=My(e);r&&r instanceof wy&&(r.attributes[n?n+":"+t:t]=null),this.delegate.removeAttribute(e,t,n)}},{key:"addClass",value:function(e,t){var n=My(e);n&&n instanceof wy&&(n.classes[t]=!0),this.delegate.addClass(e,t)}},{key:"removeClass",value:function(e,t){var n=My(e);n&&n instanceof wy&&(n.classes[t]=!1),this.delegate.removeClass(e,t)}},{key:"setStyle",value:function(e,t,n,r){var i=My(e);i&&i instanceof wy&&(i.styles[t]=n),this.delegate.setStyle(e,t,n,r)}},{key:"removeStyle",value:function(e,t,n){var r=My(e);r&&r instanceof wy&&(r.styles[t]=null),this.delegate.removeStyle(e,t,n)}},{key:"setProperty",value:function(e,t,n){var r=My(e);r&&r instanceof wy&&(r.properties[t]=n),this.delegate.setProperty(e,t,n)}},{key:"listen",value:function(e,t,n){if("string"!=typeof e){var r=My(e);r&&r.listeners.push(new ky(t,n))}return this.delegate.listen(e,t,n)}},{key:"parentNode",value:function(e){return this.delegate.parentNode(e)}},{key:"nextSibling",value:function(e){return this.delegate.nextSibling(e)}},{key:"setValue",value:function(e,t){return this.delegate.setValue(e,t)}}]),e}();
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function kk(e){return Fb(),kf.overrideProvider(e)}function Ck(e,t){return Fb(),kf.overrideComponentView(e,t)}function wk(){return Fb(),kf.clearOverrides()}function Sk(e,t,n){return new _k(e,t,n)}var _k=function(e){l(n,e);var t=d(n);function n(e,r,i){var o;return v(this,n),(o=t.call(this)).moduleType=e,o._bootstrapComponents=r,o._ngModuleDefFactory=i,o}return y(n,[{key:"create",value:function(e){Fb();var t=function(e){var t=Array.from(e.providers),n=Array.from(e.modules),r={};for(var i in e.providersByKey)r[i]=e.providersByKey[i];return{factory:e.factory,scope:e.scope,providers:t,modules:n,providersByKey:r}}(Gf(this._ngModuleDefFactory));return kf.createNgModuleRef(this.moduleType,e||ys.NULL,this._bootstrapComponents,t)}}]),n}(Ue);
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */},"9WSG":function(e,t,n){var r=n("6WtA");e.exports=function(e,t){var n=r(e),i=r(t);return n.getTime()===i.getTime()}},"9WoD":function(e,t,n){var r=n("yNUO");e.exports=function(e,t,n){var i=r(e).getTime(),o=r(t).getTime(),a=r(n).getTime();if(o>a)throw new Error("The start of the range cannot be after the end of the range");return i>=o&&i<=a}},"9d03":function(e,t,n){var r=n("ZmXw");e.exports=function(e,t){var n=Number(t);return r(e,3*n)}},"9m1m":function(e,t,n){var r=n("JtXv");e.exports=function(e){return r(new Date,e)}},"9ppp":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e}()},AVfB:function(e,t,n){var r=n("Zipn");e.exports=function(e){return r(new Date,e)}},CXhC:function(e,t,n){var r=n("yNUO");e.exports=function(e){var t=r(e);return t.setHours(0,0,0,0),t}},Cfvw:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n("HDdC"),i=n("SeVD"),o=n("quSY"),a=n("kJWO"),s=n("jZKg"),c=n("Lhse"),l=n("c2HN"),u=n("I55L");function d(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[a.a]}(e))return function(e,t){return new r.a((function(n){var r=new o.a;return r.add(t.schedule((function(){var i=e[a.a]();r.add(i.subscribe({next:function(e){r.add(t.schedule((function(){return n.next(e)})))},error:function(e){r.add(t.schedule((function(){return n.error(e)})))},complete:function(){r.add(t.schedule((function(){return n.complete()})))}}))}))),r}))}(e,t);if(Object(l.a)(e))return function(e,t){return new r.a((function(n){var r=new o.a;return r.add(t.schedule((function(){return e.then((function(e){r.add(t.schedule((function(){n.next(e),r.add(t.schedule((function(){return n.complete()})))})))}),(function(e){r.add(t.schedule((function(){return n.error(e)})))}))}))),r}))}(e,t);if(Object(u.a)(e))return Object(s.a)(e,t);if(function(e){return e&&"function"==typeof e[c.a]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new r.a((function(n){var r,i=new o.a;return i.add((function(){r&&"function"==typeof r.return&&r.return()})),i.add(t.schedule((function(){r=e[c.a](),i.add(t.schedule((function(){if(!n.closed){var e,t;try{var i=r.next();e=i.value,t=i.done}catch(o){return void n.error(o)}t?n.complete():(n.next(e),this.schedule())}})))}))),i}))}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof r.a?e:new r.a(Object(i.a)(e))}},DH7j:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=Array.isArray||function(e){return e&&"number"==typeof e.length}},DT56:function(e,t,n){var r=n("yNUO");e.exports=function(e,t){var n=r(e).getTime(),i=r(t).getTime();return n<i?-1:n>i?1:0}},EMgV:function(e,t,n){var r=n("yNUO");e.exports=function(e){return r(e).getFullYear()}},Ev1t:function(e,t,n){var r=n("ZmXw");e.exports=function(e,t){var n=Number(t);return r(e,-n)}},F809:function(e,t,n){var r=n("yNUO"),i=n("sunR"),o=n("DT56");e.exports=function(e,t){var n=r(e),a=r(t),s=o(n,a),c=Math.abs(i(n,a));return n.setMonth(n.getMonth()-s*c),s*(c-(o(n,a)===-s))}},FF6D:function(e,t,n){var r=n("yNUO");e.exports=function(e){var t=r(e);return t.setMilliseconds(999),t}},FGiv:function(e,t){var n=1e3,r=60*n,i=60*r,o=24*i;function a(e,t,n){if(!(e<t))return e<1.5*t?Math.floor(e/t)+" "+n:Math.ceil(e/t)+" "+n+"s"}e.exports=function(e,t){t=t||{};var s,c=typeof e;if("string"===c&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(t){var a=parseFloat(t[1]);switch((t[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}}}}(e);if("number"===c&&!1===isNaN(e))return t.long?a(s=e,o,"day")||a(s,i,"hour")||a(s,r,"minute")||a(s,n,"second")||s+" ms":function(e){return e>=o?Math.round(e/o)+"d":e>=i?Math.round(e/i)+"h":e>=r?Math.round(e/r)+"m":e>=n?Math.round(e/n)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},FYuM:function(e,t,n){var r=n("yNUO"),i=n("OBTA");e.exports=function(e,t){var n=r(e),o=Number(t)-(Math.floor(n.getMonth()/3)+1);return i(n,n.getMonth()+3*o)}},FpO7:function(e,t,n){e.exports=function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(3);Object.defineProperty(t,"conformToMask",{enumerable:!0,get:function(){return r(i).default}});var o=n(2);Object.defineProperty(t,"adjustCaretPosition",{enumerable:!0,get:function(){return r(o).default}});var a=n(5);Object.defineProperty(t,"createTextMaskInputElement",{enumerable:!0,get:function(){return r(a).default}})},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.placeholderChar="_",t.strFunction="function"},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.previousConformedValue,i=void 0===t?r:t,o=e.previousPlaceholder,a=void 0===o?r:o,s=e.currentCaretPosition,c=void 0===s?0:s,l=e.conformedValue,u=e.rawValue,d=e.placeholderChar,h=e.placeholder,f=e.indexesOfPipedChars,m=void 0===f?n:f,p=e.caretTrapIndexes,v=void 0===p?n:p;if(0===c||!u.length)return 0;var g=i.length,y=h.length,b=l.length,k=u.length-g,C=k>0;if(k>1&&!C&&0!==g)return c;var w=0,S=void 0,_=void 0;if(!C||i!==l&&l!==h){var E=l.toLowerCase(),I=u.toLowerCase().substr(0,c).split(r).filter((function(e){return-1!==E.indexOf(e)}));_=I[I.length-1];var x=a.substr(0,I.length).split(r).filter((function(e){return e!==d})).length,O=h.substr(0,I.length).split(r).filter((function(e){return e!==d})).length;!C&&(O!==x||void 0!==a[I.length-1]&&void 0!==h[I.length-2]&&a[I.length-1]!==d&&a[I.length-1]!==h[I.length-1]&&a[I.length-1]===h[I.length-2])&&x>0&&h.indexOf(_)>-1&&void 0!==u[c]&&(S=!0,_=u[c]);for(var T=m.map((function(e){return E[e]})).filter((function(e){return e===_})).length,A=I.filter((function(e){return e===_})).length,P=h.substr(0,h.indexOf(d)).split(r).filter((function(e,t){return e===_&&u[t]!==e})).length+A+T+(S?1:0),D=0,R=0;R<b&&(w=R+1,E[R]===_&&D++,!(D>=P));R++);}else w=c-k;if(C){for(var M=w,N=w;N<=y;N++)if(h[N]===d&&(M=N),h[N]===d||-1!==v.indexOf(N)||N===y)return M}else if(S){for(var j=w-1;j>=0;j--)if(l[j]===_||-1!==v.indexOf(j)||0===j)return j}else for(var F=w;F>=0;F--)if(h[F-1]===d||-1!==v.indexOf(F)||0===F)return F};var n=[],r=""},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!(0,i.isArray)(t)){if((void 0===t?"undefined":r(t))!==o.strFunction)throw new Error("Text-mask:conformToMask; The mask property must be an array.");t=t(e,n),t=(0,i.processCaretTraps)(t).maskWithoutCaretTraps}var c=n.guide,l=void 0===c||c,u=n.previousConformedValue,d=void 0===u?s:u,h=n.placeholderChar,f=void 0===h?o.placeholderChar:h,m=n.placeholder,p=void 0===m?(0,i.convertMaskToPlaceholder)(t,f):m,v=n.keepCharPositions,g=!1===l&&void 0!==d,y=e.length,b=d.length,k=p.length,C=t.length,w=y-b,S=w>0,_=n.currentCaretPosition+(S?-w:0),E=_+Math.abs(w);if(!0===v&&!S){for(var I=s,x=_;x<E;x++)p[x]===f&&(I+=f);e=e.slice(0,_)+I+e.slice(_,y)}for(var O=e.split(s).map((function(e,t){return{char:e,isNew:t>=_&&t<E}})),T=y-1;T>=0;T--){var A=O[T].char;A!==f&&A===p[T>=_&&b===C?T-w:T]&&O.splice(T,1)}var P=s,D=!1;e:for(var R=0;R<k;R++){var M=p[R];if(M===f){if(O.length>0)for(;O.length>0;){var N=O.shift(),j=N.char,F=N.isNew;if(j===f&&!0!==g){P+=f;continue e}if(t[R].test(j)){if(!0===v&&!1!==F&&d!==s&&!1!==l&&S){for(var L=O.length,V=null,B=0;B<L;B++){var U=O[B];if(U.char!==f&&!1===U.isNew)break;if(U.char===f){V=B;break}}null!==V?(P+=j,O.splice(V,1)):R--}else P+=j;continue e}D=!0}!1===g&&(P+=p.substr(R,k));break}P+=M}if(g&&!1===S){for(var H=null,G=0;G<P.length;G++)p[G]===f&&(H=G);P=null!==H?P.substr(0,H+1):s}return{conformedValue:P,meta:{someCharsRejected:D}}};var i=n(4),o=n(1),a=[],s=""},function(e,t,n){"use strict";function r(e){return Array.isArray&&Array.isArray(e)||e instanceof Array}Object.defineProperty(t,"__esModule",{value:!0}),t.convertMaskToPlaceholder=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.placeholderChar;if(!r(e))throw new Error("Text-mask:convertMaskToPlaceholder; The mask property must be an array.");if(-1!==e.indexOf(t))throw new Error("Placeholder character must not be used as part of the mask. Please specify a character that is not present in your mask as your placeholder character.\n\nThe placeholder character that was received is: "+JSON.stringify(t)+"\n\nThe mask that was received is: "+JSON.stringify(e));return e.map((function(e){return e instanceof RegExp?t:e})).join("")},t.isArray=r,t.isString=function(e){return"string"==typeof e||e instanceof String},t.isNumber=function(e){return"number"==typeof e&&void 0===e.length&&!isNaN(e)},t.isNil=function(e){return null==e},t.processCaretTraps=function(e){for(var t=[],n=void 0;-1!==(n=e.indexOf(a));)t.push(n),e.splice(n,1);return{maskWithoutCaretTraps:e,indexes:t}};var i=n(1),o=[],a="[]"},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){document.activeElement===e&&(p?v((function(){return e.setSelectionRange(t,t,f)}),0):e.setSelectionRange(t,t,f))}function o(e){if((0,u.isString)(e))return e;if((0,u.isNumber)(e))return String(e);if(null==e)return h;throw new Error("The 'value' provided to Text Mask needs to be a string or a number. The value received was:\n\n "+JSON.stringify(e))}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e){var t={previousConformedValue:void 0,previousPlaceholder:void 0};return{state:t,update:function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,f=r.inputElement,p=r.mask,v=r.guide,g=r.pipe,y=r.placeholderChar,b=void 0===y?d.placeholderChar:y,k=r.keepCharPositions,C=void 0!==k&&k,w=r.showMask,S=void 0!==w&&w;if(void 0===n&&(n=f.value),n!==t.previousConformedValue){(void 0===p?"undefined":s(p))===m&&void 0!==p.pipe&&void 0!==p.mask&&(g=p.pipe,p=p.mask);var _=void 0,E=void 0;if(p instanceof Array&&(_=(0,u.convertMaskToPlaceholder)(p,b)),!1!==p){var I=o(n),x=f.selectionEnd,O=t.previousConformedValue,T=t.previousPlaceholder,A=void 0;if((void 0===p?"undefined":s(p))===d.strFunction){if(!1===(E=p(I,{currentCaretPosition:x,previousConformedValue:O,placeholderChar:b})))return;var P=(0,u.processCaretTraps)(E);A=P.indexes,_=(0,u.convertMaskToPlaceholder)(E=P.maskWithoutCaretTraps,b)}else E=p;var D={previousConformedValue:O,guide:v,placeholderChar:b,pipe:g,placeholder:_,currentCaretPosition:x,keepCharPositions:C},R=(0,l.default)(I,E,D).conformedValue,M=(void 0===g?"undefined":s(g))===d.strFunction,N={};M&&(!1===(N=g(R,a({rawValue:I},D)))?N={value:O,rejected:!0}:(0,u.isString)(N)&&(N={value:N}));var j=M?N.value:R,F=(0,c.default)({previousConformedValue:O,previousPlaceholder:T,conformedValue:j,placeholder:_,rawValue:I,currentCaretPosition:x,placeholderChar:b,indexesOfPipedChars:N.indexesOfPipedChars,caretTrapIndexes:A}),L=j===_&&0===F?S?_:h:j;t.previousConformedValue=L,t.previousPlaceholder=_,f.value!==L&&(f.value=L,i(f,F))}}}}};var c=r(n(2)),l=r(n(3)),u=n(4),d=n(1),h="",f="none",m="object",p="undefined"!=typeof navigator&&/Android/i.test(navigator.userAgent),v="undefined"!=typeof requestAnimationFrame?requestAnimationFrame:setTimeout}])},"G6+r":function(e,t,n){var r=n("x84W");e.exports=function(e,t,n){var i=r(e,n),o=r(t,n);return i.getTime()===o.getTime()}},GLf8:function(e,t,n){var r=n("crfB");e.exports=function(e,t){var n=Number(t);return r(e,-n)}},GoQk:function(e,t,n){var r=n("yNUO");e.exports=function(){var e=Array.prototype.slice.call(arguments),t=e.map((function(e){return r(e)})),n=Math.min.apply(null,t);return new Date(n)}},HDdC:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r,i=n("7o/Q"),o=n("2QA8"),a=n("gRHU"),s=n("kJWO"),c=n("SpAZ"),l=n("2fFW"),u=((r=function(e){function t(e){v(this,t),this._isScalar=!1,e&&(this._subscribe=e)}return y(t,[{key:"lift",value:function(e){var n=new t;return n.source=this,n.operator=e,n}},{key:"subscribe",value:function(e,t,n){var r=this.operator,s=function(e,t,n){if(e){if(e instanceof i.a)return e;if(e[o.a])return e[o.a]()}return e||t||n?new i.a(e,t,n):new i.a(a.a)}(e,t,n);if(s.add(r?r.call(s,this.source):this.source||l.a.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),l.a.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}},{key:"_trySubscribe",value:function(e){try{return this._subscribe(e)}catch(t){l.a.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){var t=e,n=t.closed,r=t.destination,o=t.isStopped;if(n||o)return!1;e=r&&r instanceof i.a?r:null}return!0}(e)?e.error(t):console.warn(t)}}},{key:"forEach",value:function(e,t){var n=this;return new(t=d(t))((function(t,r){var i;i=n.subscribe((function(t){try{e(t)}catch(n){r(n),i&&i.unsubscribe()}}),r,t)}))}},{key:"_subscribe",value:function(e){var t=this.source;return t&&t.subscribe(e)}},{key:e,value:function(){return this}},{key:"pipe",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?this:(0===(r=t).length?c.a:1===r.length?r[0]:function(e){return r.reduce((function(e,t){return t(e)}),e)})(this);var r}},{key:"toPromise",value:function(e){var t=this;return new(e=d(e))((function(e,n){var r;t.subscribe((function(e){return r=e}),(function(e){return n(e)}),(function(){return e(r)}))}))}}]),t}(s.a)).create=function(e){return new r(e)},r);function d(e){if(e||(e=l.a.Promise||Promise),!e)throw new Error("no Promise impl found");return e}},HMbd:function(e,t,n){var r=n("7B8A");e.exports=function(e,t){var n=Number(t);return r(e,36e5*n)}},I55L:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},ILER:function(e,t,n){var r=n("CXhC");e.exports=function(e){var t=new Date;return t.setDate(t.getDate()+1),r(e).getTime()===r(t).getTime()}},IpkJ:function(e,t,n){var r=n("yNUO");e.exports=function(e){var t=r(e);return t.setMilliseconds(0),t}},IxzM:function(e,t,n){var r=n("yNUO");e.exports=function(e){return r(e).getSeconds()}},J6Hf:function(e,t,n){var r=n("iWRJ"),i=n("lwZq");e.exports=function(e,t){var n=Number(t);return i(e,r(e)+n)}},JQcg:function(e,t,n){var r=n("yNUO");e.exports=function(e){return 1===r(e).getDay()}},JtXv:function(e,t,n){var r=n("yNUO");e.exports=function(e,t){var n=r(e),i=r(t);return n.getFullYear()===i.getFullYear()}},JxoX:function(e,t,n){var r=n("yNUO");e.exports=function(e){var t=r(e);return t.setMinutes(59,59,999),t}},K1fy:function(e,t,n){var r=n("yNUO");e.exports=function(e){return 0===r(e).getDay()}},K2dx:function(e,t,n){var r=n("yNUO");e.exports=function(e){return r(e).getTime()>(new Date).getTime()}},KoBQ:function(e,t,n){var r=n("mqoM");e.exports=function(e){return r(new Date,e)}},Kpyc:function(e,t,n){var r=n("yNUO");e.exports=function(e,t){var n=r(e),i=r(t);return n.getFullYear()-i.getFullYear()}},"L/99":function(e,t,n){var r=n("RJeW");e.exports=function(e,t){var n=r(e),i=r(t);return n.getTime()===i.getTime()}},L486:function(e,t,n){var r=n("yNUO");e.exports=function(e,t){var n=r(e),i=Number(t);return n.setFullYear(i),n}},LSME:function(e,t,n){var r=n("G6+r");e.exports=function(e,t){return r(new Date,e,t)}},LZbM:function(e,t){e.exports=function(){var e={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};return{localize:function(t,n,r){var i;return r=r||{},i="string"==typeof e[t]?e[t]:1===n?e[t].one:e[t].other.replace("{{count}}",n),r.addSuffix?r.comparison>0?"in "+i:i+" ago":i}}}},Lhse:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},LxoM:function(e,t,n){var r=n("x84W");e.exports=function(e,t,n){var i=r(e,n),o=r(t,n),a=i.getTime()-6e4*i.getTimezoneOffset(),s=o.getTime()-6e4*o.getTimezoneOffset();return Math.round((a-s)/6048e5)}},MNHD:function(e,t,n){var r=n("CXhC");e.exports=function(e){return r(e).getTime()===r(new Date).getTime()}},NAv5:function(e,t,n){e.exports={addDays:n("iUbB"),addHours:n("HMbd"),addISOYears:n("J6Hf"),addMilliseconds:n("7B8A"),addMinutes:n("crfB"),addMonths:n("ZmXw"),addQuarters:n("9d03"),addSeconds:n("rxuJ"),addWeeks:n("eoPS"),addYears:n("/LN1"),areRangesOverlapping:n("6qX0"),closestIndexTo:n("f9gI"),closestTo:n("T2d4"),compareAsc:n("DT56"),compareDesc:n("yHON"),differenceInCalendarDays:n("1CCG"),differenceInCalendarISOWeeks:n("gtzP"),differenceInCalendarISOYears:n("+f+M"),differenceInCalendarMonths:n("sunR"),differenceInCalendarQuarters:n("+zZ+"),differenceInCalendarWeeks:n("LxoM"),differenceInCalendarYears:n("Kpyc"),differenceInDays:n("O8cK"),differenceInHours:n("0u2M"),differenceInISOYears:n("s/X6"),differenceInMilliseconds:n("54Wo"),differenceInMinutes:n("ZXDK"),differenceInMonths:n("F809"),differenceInQuarters:n("gwEV"),differenceInSeconds:n("4Toj"),differenceInWeeks:n("7pFD"),differenceInYears:n("b8ws"),distanceInWords:n("NmtT"),distanceInWordsStrict:n("u3z5"),distanceInWordsToNow:n("YlT8"),eachDay:n("xMJQ"),endOfDay:n("l0SJ"),endOfHour:n("JxoX"),endOfISOWeek:n("QXXb"),endOfISOYear:n("hh1I"),endOfMinute:n("OsOA"),endOfMonth:n("1vin"),endOfQuarter:n("NpEG"),endOfSecond:n("FF6D"),endOfToday:n("dEPG"),endOfTomorrow:n("b056"),endOfWeek:n("dJQg"),endOfYear:n("2XXS"),endOfYesterday:n("5R0t"),format:n("cPJV"),getDate:n("tg+8"),getDay:n("wrXb"),getDayOfYear:n("WA8B"),getDaysInMonth:n("VBar"),getDaysInYear:n("3d+l"),getHours:n("XZVX"),getISODay:n("hLnY"),getISOWeek:n("gfz1"),getISOWeeksInYear:n("O3uf"),getISOYear:n("iWRJ"),getMilliseconds:n("jIFe"),getMinutes:n("xYlI"),getMonth:n("czgO"),getOverlappingDaysInRanges:n("Yzd8"),getQuarter:n("uPm0"),getSeconds:n("IxzM"),getTime:n("kC7l"),getYear:n("EMgV"),isAfter:n("pDEI"),isBefore:n("a4+5"),isDate:n("pzWd"),isEqual:n("q9S1"),isFirstDayOfMonth:n("NT44"),isFriday:n("qFJL"),isFuture:n("K2dx"),isLastDayOfMonth:n("Pu5f"),isLeapYear:n("rMQs"),isMonday:n("JQcg"),isPast:n("qTUo"),isSameDay:n("/Tkk"),isSameHour:n("Zipn"),isSameISOWeek:n("zM65"),isSameISOYear:n("L/99"),isSameMinute:n("9WSG"),isSameMonth:n("WmBB"),isSameQuarter:n("mqoM"),isSameSecond:n("xq5I"),isSameWeek:n("G6+r"),isSameYear:n("JtXv"),isSaturday:n("SKYL"),isSunday:n("K1fy"),isThisHour:n("AVfB"),isThisISOWeek:n("zGRt"),isThisISOYear:n("l6+5"),isThisMinute:n("PvkQ"),isThisMonth:n("m7nI"),isThisQuarter:n("KoBQ"),isThisSecond:n("5iAy"),isThisWeek:n("LSME"),isThisYear:n("9m1m"),isThursday:n("Wjgk"),isToday:n("MNHD"),isTomorrow:n("ILER"),isTuesday:n("dgaN"),isValid:n("fupu"),isWednesday:n("yYDL"),isWeekend:n("mthE"),isWithinRange:n("9WoD"),isYesterday:n("xPkr"),lastDayOfISOWeek:n("UpIE"),lastDayOfISOYear:n("3hPP"),lastDayOfMonth:n("7KIa"),lastDayOfQuarter:n("zj0I"),lastDayOfWeek:n("y5a+"),lastDayOfYear:n("uKeJ"),max:n("leoV"),min:n("GoQk"),parse:n("yNUO"),setDate:n("lX9Q"),setDay:n("t4rR"),setDayOfYear:n("lTB2"),setHours:n("bwD0"),setISODay:n("+nbD"),setISOWeek:n("5z3u"),setISOYear:n("lwZq"),setMilliseconds:n("1HMO"),setMinutes:n("iu1C"),setMonth:n("OBTA"),setQuarter:n("FYuM"),setSeconds:n("kRN8"),setYear:n("L486"),startOfDay:n("CXhC"),startOfHour:n("+6+2"),startOfISOWeek:n("tMf1"),startOfISOYear:n("RJeW"),startOfMinute:n("6WtA"),startOfMonth:n("lCuP"),startOfQuarter:n("Q5nM"),startOfSecond:n("IpkJ"),startOfToday:n("PK5m"),startOfTomorrow:n("gUhM"),startOfWeek:n("x84W"),startOfYear:n("pLeS"),startOfYesterday:n("aTp7"),subDays:n("4v8u"),subHours:n("+5jU"),subISOYears:n("3zVU"),subMilliseconds:n("uttN"),subMinutes:n("GLf8"),subMonths:n("Ev1t"),subQuarters:n("1K6H"),subSeconds:n("g/AU"),subWeeks:n("4coB"),subYears:n("iQJf")}},NJ4a:function(e,t,n){"use strict";function r(e){setTimeout((function(){throw e}),0)}n.d(t,"a",(function(){return r}))},NT44:function(e,t,n){var r=n("yNUO");e.exports=function(e){return 1===r(e).getDate()}},NmtT:function(e,t,n){var r=n("yHON"),i=n("yNUO"),o=n("4Toj"),a=n("F809"),s=n("Us+F");e.exports=function(e,t,n){var c=n||{},l=r(e,t),u=c.locale,d=s.distanceInWords.localize;u&&u.distanceInWords&&u.distanceInWords.localize&&(d=u.distanceInWords.localize);var h,f,m={addSuffix:Boolean(c.addSuffix),comparison:l};l>0?(h=i(e),f=i(t)):(h=i(t),f=i(e));var p,v=o(f,h),g=f.getTimezoneOffset()-h.getTimezoneOffset(),y=Math.round(v/60)-g;if(y<2)return c.includeSeconds?v<5?d("lessThanXSeconds",5,m):v<10?d("lessThanXSeconds",10,m):v<20?d("lessThanXSeconds",20,m):v<40?d("halfAMinute",null,m):d(v<60?"lessThanXMinutes":"xMinutes",1,m):0===y?d("lessThanXMinutes",1,m):d("xMinutes",y,m);if(y<45)return d("xMinutes",y,m);if(y<90)return d("aboutXHours",1,m);if(y<1440)return d("aboutXHours",Math.round(y/60),m);if(y<2520)return d("xDays",1,m);if(y<43200)return d("xDays",Math.round(y/1440),m);if(y<86400)return d("aboutXMonths",p=Math.round(y/43200),m);if((p=a(f,h))<12)return d("xMonths",Math.round(y/43200),m);var b=p%12,k=Math.floor(p/12);return b<3?d("aboutXYears",k,m):b<9?d("overXYears",k,m):d("almostXYears",k+1,m)}},NpEG:function(e,t,n){var r=n("yNUO");e.exports=function(e){var t=r(e),n=t.getMonth();return t.setMonth(n-n%3+3,0),t.setHours(23,59,59,999),t}},O3uf:function(e,t,n){var r=n("RJeW"),i=n("eoPS");e.exports=function(e){var t=r(e),n=r(i(t,60)).valueOf()-t.valueOf();return Math.round(n/6048e5)}},O8cK:function(e,t,n){var r=n("yNUO"),i=n("1CCG"),o=n("DT56");e.exports=function(e,t){var n=r(e),a=r(t),s=o(n,a),c=Math.abs(i(n,a));return n.setDate(n.getDate()-s*c),s*(c-(o(n,a)===-s))}},OBTA:function(e,t,n){var r=n("yNUO"),i=n("VBar");e.exports=function(e,t){var n=r(e),o=Number(t),a=n.getFullYear(),s=n.getDate(),c=new Date(0);c.setFullYear(a,o,15),c.setHours(0,0,0,0);var l=i(c);return n.setMonth(o,Math.min(s,l)),n}},OsOA:function(e,t,n){var r=n("yNUO");e.exports=function(e){var t=r(e);return t.setSeconds(59,999),t}},PK5m:function(e,t,n){var r=n("CXhC");e.exports=function(){return r(new Date)}},Pu5f:function(e,t,n){var r=n("yNUO"),i=n("l0SJ"),o=n("1vin");e.exports=function(e){var t=r(e);return i(t).getTime()===o(t).getTime()}},PvkQ:function(e,t,n){var r=n("9WSG");e.exports=function(e){return r(new Date,e)}},Q5nM:function(e,t,n){var r=n("yNUO");e.exports=function(e){var t=r(e),n=t.getMonth();return t.setMonth(n-n%3,1),t.setHours(0,0,0,0),t}},QXXb:function(e,t,n){var r=n("dJQg");e.exports=function(e){return r(e,{weekStartsOn:1})}},RJeW:function(e,t,n){var r=n("iWRJ"),i=n("tMf1");e.exports=function(e){var t=r(e),n=new Date(0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),i(n)}},SKYL:function(e,t,n){var r=n("yNUO");e.exports=function(e){return 6===r(e).getDay()}},SVse:function(e,n,i){"use strict";i.d(n,"a",(function(){return x})),i.d(n,"b",(function(){return Me})),i.d(n,"c",(function(){return He})),i.d(n,"d",(function(){return Le})),i.d(n,"e",(function(){return f})),i.d(n,"f",(function(){return je})),i.d(n,"g",(function(){return T})),i.d(n,"h",(function(){return g})),i.d(n,"i",(function(){return A})),i.d(n,"j",(function(){return E})),i.d(n,"k",(function(){return ge})),i.d(n,"l",(function(){return be})),i.d(n,"m",(function(){return Ce})),i.d(n,"n",(function(){return Oe})),i.d(n,"o",(function(){return Ee})),i.d(n,"p",(function(){return Ie})),i.d(n,"q",(function(){return xe})),i.d(n,"r",(function(){return Te})),i.d(n,"s",(function(){return O})),i.d(n,"t",(function(){return Fe})),i.d(n,"u",(function(){return m})),i.d(n,"v",(function(){return Ue})),i.d(n,"w",(function(){return Ne})),i.d(n,"x",(function(){return ze})),i.d(n,"y",(function(){return qe})),i.d(n,"z",(function(){return Ke})),i.d(n,"A",(function(){return u})),i.d(n,"B",(function(){return Ge})),i.d(n,"C",(function(){return s})),i.d(n,"D",(function(){return ve})),i.d(n,"E",(function(){return c}));var o=i("8Y7J"),a=null;
/**
 * @license Angular v10.2.5
 * (c) 2010-2020 Google LLC. https://angular.io/
 * License: MIT
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function s(){return a}function c(e){a||(a=e)}var u=function e(){v(this,e)},f=new o.InjectionToken("DocumentToken"),m=function(){var e=function e(){v(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(o["\u0275\u0275defineInjectable"])({factory:p,token:e,providedIn:"platform"}),e}();
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function p(){return Object(o["\u0275\u0275inject"])(b)}var g=new o.InjectionToken("Location Initialized"),b=function(){var e=function(e){l(n,e);var t=d(n);function n(e){var r;return v(this,n),(r=t.call(this))._doc=e,r._init(),r}return y(n,[{key:"_init",value:function(){this.location=s().getLocation(),this._history=s().getHistory()}},{key:"getBaseHrefFromDOM",value:function(){return s().getBaseHref(this._doc)}},{key:"onPopState",value:function(e){s().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}},{key:"onHashChange",value:function(e){s().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)}},{key:"href",get:function(){return this.location.href}},{key:"protocol",get:function(){return this.location.protocol}},{key:"hostname",get:function(){return this.location.hostname}},{key:"port",get:function(){return this.location.port}},{key:"pathname",get:function(){return this.location.pathname},set:function(e){this.location.pathname=e}},{key:"search",get:function(){return this.location.search}},{key:"hash",get:function(){return this.location.hash}},{key:"pushState",value:function(e,t,n){k()?this._history.pushState(e,t,n):this.location.hash=n}},{key:"replaceState",value:function(e,t,n){k()?this._history.replaceState(e,t,n):this.location.hash=n}},{key:"forward",value:function(){this._history.forward()}},{key:"back",value:function(){this._history.back()}},{key:"getState",value:function(){return this._history.state}}]),n}(m);return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275inject"](f))},e.\u0275prov=Object(o["\u0275\u0275defineInjectable"])({factory:C,token:e,providedIn:"platform"}),e}();function k(){return!!window.history.pushState}function C(){return new b(Object(o["\u0275\u0275inject"])(f))}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function w(e,t){if(0==e.length)return t;if(0==t.length)return e;var n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function S(e){var t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function _(e){return e&&"?"!==e[0]?"?"+e:e}var E=function(){var e=function e(){v(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(o["\u0275\u0275defineInjectable"])({factory:I,token:e,providedIn:"root"}),e}();function I(e){var t=Object(o["\u0275\u0275inject"])(f).location;return new O(Object(o["\u0275\u0275inject"])(m),t&&t.origin||"")}var x=new o.InjectionToken("appBaseHref"),O=function(){var e=function(e){l(n,e);var t=d(n);function n(e,r){var i;if(v(this,n),(i=t.call(this))._platformLocation=e,null==r&&(r=i._platformLocation.getBaseHrefFromDOM()),null==r)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return i._baseHref=r,h(i)}return y(n,[{key:"onPopState",value:function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"prepareExternalUrl",value:function(e){return w(this._baseHref,e)}},{key:"path",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this._platformLocation.pathname+_(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?"".concat(t).concat(n):t}},{key:"pushState",value:function(e,t,n,r){var i=this.prepareExternalUrl(n+_(r));this._platformLocation.pushState(e,t,i)}},{key:"replaceState",value:function(e,t,n,r){var i=this.prepareExternalUrl(n+_(r));this._platformLocation.replaceState(e,t,i)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}}]),n}(E);return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275inject"](m),o["\u0275\u0275inject"](x,8))},e.\u0275prov=o["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),T=function(){var e=function(e){l(n,e);var t=d(n);function n(e,r){var i;return v(this,n),(i=t.call(this))._platformLocation=e,i._baseHref="",null!=r&&(i._baseHref=r),i}return y(n,[{key:"onPopState",value:function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"path",value:function(){var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}},{key:"prepareExternalUrl",value:function(e){var t=w(this._baseHref,e);return t.length>0?"#"+t:t}},{key:"pushState",value:function(e,t,n,r){var i=this.prepareExternalUrl(n+_(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(e,t,i)}},{key:"replaceState",value:function(e,t,n,r){var i=this.prepareExternalUrl(n+_(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,i)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}}]),n}(E);return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275inject"](m),o["\u0275\u0275inject"](x,8))},e.\u0275prov=o["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),A=function(){var e=function(){function e(t,n){var r=this;v(this,e),this._subject=new o.EventEmitter,this._urlChangeListeners=[],this._platformStrategy=t;var i=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=S(D(i)),this._platformStrategy.onPopState((function(e){r._subject.emit({url:r.path(!0),pop:!0,state:e.state,type:e.type})}))}return y(e,[{key:"path",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.normalize(this._platformStrategy.path(e))}},{key:"getState",value:function(){return this._platformLocation.getState()}},{key:"isCurrentPathEqualTo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.path()==this.normalize(e+_(t))}},{key:"normalize",value:function(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,D(t)))}},{key:"prepareExternalUrl",value:function(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}},{key:"go",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+_(t)),n)}},{key:"replaceState",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+_(t)),n)}},{key:"forward",value:function(){this._platformStrategy.forward()}},{key:"back",value:function(){this._platformStrategy.back()}},{key:"onUrlChange",value:function(e){var t=this;this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe((function(e){t._notifyUrlChangeListeners(e.url,e.state)})))}},{key:"_notifyUrlChangeListeners",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;this._urlChangeListeners.forEach((function(n){return n(e,t)}))}},{key:"subscribe",value:function(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275inject"](E),o["\u0275\u0275inject"](m))},e.normalizeQueryParams=_,e.joinWithSlash=w,e.stripTrailingSlash=S,e.\u0275prov=Object(o["\u0275\u0275defineInjectable"])({factory:P,token:e,providedIn:"root"}),e}();function P(){return new A(Object(o["\u0275\u0275inject"])(E),Object(o["\u0275\u0275inject"])(m))}function D(e){return e.replace(/\/index.html$/,"")}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var R={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]},M=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}({}),N=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({}),j=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}({}),F=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}({}),L=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}({}),V=function(e){return e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e[1/0]=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup",e}({});
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function B(e,t){return Y(Object(o["\u0275findLocaleData"])(e)[o["\u0275LocaleDataIndex"].DateFormat],t)}function U(e,t){return Y(Object(o["\u0275findLocaleData"])(e)[o["\u0275LocaleDataIndex"].TimeFormat],t)}function H(e,t){return Y(Object(o["\u0275findLocaleData"])(e)[o["\u0275LocaleDataIndex"].DateTimeFormat],t)}function G(e,t){var n=Object(o["\u0275findLocaleData"])(e),r=n[o["\u0275LocaleDataIndex"].NumberSymbols][t];if(void 0===r){if(t===V.CurrencyDecimal)return n[o["\u0275LocaleDataIndex"].NumberSymbols][V.Decimal];if(t===V.CurrencyGroup)return n[o["\u0275LocaleDataIndex"].NumberSymbols][V.Group]}return r}function q(e,t){return Object(o["\u0275findLocaleData"])(e)[o["\u0275LocaleDataIndex"].NumberFormats][t]}var K=o["\u0275getLocalePluralCase"];function z(e){if(!e[o["\u0275LocaleDataIndex"].ExtraData])throw new Error('Missing extra locale data for the locale "'.concat(e[o["\u0275LocaleDataIndex"].LocaleId],'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.'))}function Y(e,t){for(var n=t;n>-1;n--)if(void 0!==e[n])return e[n];throw new Error("Locale data API: locale data undefined")}function W(e){var n=t(e.split(":"),2);return{hours:+n[0],minutes:+n[1]}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var Z=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,J={},Q=/((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,X=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}({}),$=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}({}),ee=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}({});function te(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,(function(e,n){return null!=t&&n in t?t[n]:e}))),e}function ne(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"-",r=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0,o="";(e<0||i&&e<=0)&&(i?e=1-e:(e=-e,o=n));for(var a=String(e);a.length<t;)a="0"+a;return r&&(a=a.substr(a.length-t)),o+a}function re(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return function(o,a){var s,c=function(e,t){switch(e){case $.FullYear:return t.getFullYear();case $.Month:return t.getMonth();case $.Date:return t.getDate();case $.Hours:return t.getHours();case $.Minutes:return t.getMinutes();case $.Seconds:return t.getSeconds();case $.FractionalSeconds:return t.getMilliseconds();case $.Day:return t.getDay();default:throw new Error('Unknown DateType value "'.concat(e,'".'))}}(e,o);if((n>0||c>-n)&&(c+=n),e===$.Hours)0===c&&-12===n&&(c=12);else if(e===$.FractionalSeconds)return s=t,ne(c,3).substr(0,s);var l=G(a,V.MinusSign);return ne(c,t,l,r,i)}}function ie(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:j.Format,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return function(a,s){return function(e,n,r,i,a,s){switch(r){case ee.Months:return function(e,t,n){var r=Object(o["\u0275findLocaleData"])(e),i=Y([r[o["\u0275LocaleDataIndex"].MonthsFormat],r[o["\u0275LocaleDataIndex"].MonthsStandalone]],t);return Y(i,n)}(n,a,i)[e.getMonth()];case ee.Days:return function(e,t,n){var r=Object(o["\u0275findLocaleData"])(e),i=Y([r[o["\u0275LocaleDataIndex"].DaysFormat],r[o["\u0275LocaleDataIndex"].DaysStandalone]],t);return Y(i,n)}(n,a,i)[e.getDay()];case ee.DayPeriods:var c=e.getHours(),l=e.getMinutes();if(s){var u=function(e){var t=Object(o["\u0275findLocaleData"])(e);return z(t),(t[o["\u0275LocaleDataIndex"].ExtraData][2]||[]).map((function(e){return"string"==typeof e?W(e):[W(e[0]),W(e[1])]}))}(n),d=function(e,t,n){var r=Object(o["\u0275findLocaleData"])(e);z(r);var i=Y([r[o["\u0275LocaleDataIndex"].ExtraData][0],r[o["\u0275LocaleDataIndex"].ExtraData][1]],t)||[];return Y(i,n)||[]}(n,a,i),h=u.findIndex((function(e){if(Array.isArray(e)){var n=t(e,2),r=n[0],i=n[1],o=c>=r.hours&&l>=r.minutes,a=c<i.hours||c===i.hours&&l<i.minutes;if(r.hours<i.hours){if(o&&a)return!0}else if(o||a)return!0}else if(e.hours===c&&e.minutes===l)return!0;return!1}));if(-1!==h)return d[h]}return function(e,t,n){var r=Object(o["\u0275findLocaleData"])(e),i=Y([r[o["\u0275LocaleDataIndex"].DayPeriodsFormat],r[o["\u0275LocaleDataIndex"].DayPeriodsStandalone]],t);return Y(i,n)}(n,a,i)[c<12?0:1];case ee.Eras:return function(e,t){return Y(Object(o["\u0275findLocaleData"])(e)[o["\u0275LocaleDataIndex"].Eras],t)}(n,i)[e.getFullYear()<=0?0:1];default:throw new Error("unexpected translation type "+r)}}(a,s,e,n,r,i)}}function oe(e){return function(t,n,r){var i=-1*r,o=G(n,V.MinusSign),a=i>0?Math.floor(i/60):Math.ceil(i/60);switch(e){case X.Short:return(i>=0?"+":"")+ne(a,2,o)+ne(Math.abs(i%60),2,o);case X.ShortGMT:return"GMT"+(i>=0?"+":"")+ne(a,1,o);case X.Long:return"GMT"+(i>=0?"+":"")+ne(a,2,o)+":"+ne(Math.abs(i%60),2,o);case X.Extended:return 0===r?"Z":(i>=0?"+":"")+ne(a,2,o)+":"+ne(Math.abs(i%60),2,o);default:throw new Error('Unknown zone width "'.concat(e,'"'))}}}function ae(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,r){var i,o,a,s;if(t){var c=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,l=n.getDate();i=1+Math.floor((l+c)/7)}else{var u=(s=n,new Date(s.getFullYear(),s.getMonth(),s.getDate()+(4-s.getDay()))),d=(o=u.getFullYear(),a=new Date(o,0,1).getDay(),new Date(o,0,1+(a<=4?4:11)-a)),h=u.getTime()-d.getTime();i=1+Math.round(h/6048e5)}return ne(i,e,G(r,V.MinusSign))}}var se={};function ce(e,t){e=e.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function le(e){return e instanceof Date&&!isNaN(e.valueOf())}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var ue=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function de(e,t,n,r,i,o){var a=arguments.length>6&&void 0!==arguments[6]&&arguments[6],s="",c=!1;if(isFinite(e)){var l=function(e){var t,n,r,i,o,a=Math.abs(e)+"",s=0;for((n=a.indexOf("."))>-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))t=[0],n=1;else{for(o--;"0"===a.charAt(o);)o--;for(n-=r,t=[],i=0;r<=o;r++,i++)t[i]=Number(a.charAt(r))}return n>22&&(t=t.splice(0,21),s=n-1,n=1),{digits:t,exponent:s,integerLen:n}}(e);a&&(l=function(e){if(0===e.digits[0])return e;var t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(0===t?e.digits.push(0,0):1===t&&e.digits.push(0),e.integerLen+=2),e}(l));var u=t.minInt,d=t.minFrac,h=t.maxFrac;if(o){var f=o.match(ue);if(null===f)throw new Error(o+" is not a valid digit info");var m=f[1],p=f[3],v=f[5];null!=m&&(u=fe(m)),null!=p&&(d=fe(p)),null!=v?h=fe(v):null!=p&&d>h&&(h=d)}!function(e,t,n){if(t>n)throw new Error("The minimum number of digits after fraction (".concat(t,") is higher than the maximum (").concat(n,")."));var r=e.digits,i=r.length-e.integerLen,o=Math.min(Math.max(t,i),n),a=o+e.integerLen,s=r[a];if(a>0){r.splice(Math.max(e.integerLen,a));for(var c=a;c<r.length;c++)r[c]=0}else{i=Math.max(0,i),e.integerLen=1,r.length=Math.max(1,a=o+1),r[0]=0;for(var l=1;l<a;l++)r[l]=0}if(s>=5)if(a-1<0){for(var u=0;u>a;u--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[a-1]++;for(;i<Math.max(0,o);i++)r.push(0);var d=0!==o,h=t+e.integerLen,f=r.reduceRight((function(e,t,n,r){return r[n]=(t+=e)<10?t:t-10,d&&(0===r[n]&&n>=h?r.pop():d=!1),t>=10?1:0}),0);f&&(r.unshift(f),e.integerLen++)}(l,d,h);var g=l.digits,y=l.integerLen,b=l.exponent,k=[];for(c=g.every((function(e){return!e}));y<u;y++)g.unshift(0);for(;y<0;y++)g.unshift(0);y>0?k=g.splice(y,g.length):(k=g,g=[0]);var C=[];for(g.length>=t.lgSize&&C.unshift(g.splice(-t.lgSize,g.length).join(""));g.length>t.gSize;)C.unshift(g.splice(-t.gSize,g.length).join(""));g.length&&C.unshift(g.join("")),s=C.join(G(n,r)),k.length&&(s+=G(n,i)+k.join("")),b&&(s+=G(n,V.Exponential)+"+"+b)}else s=G(n,V.Infinity);return s=e<0&&!c?t.negPre+s+t.negSuf:t.posPre+s+t.posSuf}function he(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-",n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(";"),i=r[0],o=r[1],a=-1!==i.indexOf(".")?i.split("."):[i.substring(0,i.lastIndexOf("0")+1),i.substring(i.lastIndexOf("0")+1)],s=a[0],c=a[1]||"";n.posPre=s.substr(0,s.indexOf("#"));for(var l=0;l<c.length;l++){var u=c.charAt(l);"0"===u?n.minFrac=n.maxFrac=l+1:"#"===u?n.maxFrac=l+1:n.posSuf+=u}var d=s.split(",");if(n.gSize=d[1]?d[1].length:0,n.lgSize=d[2]||d[1]?(d[2]||d[1]).length:0,o){var h=i.length-n.posPre.length-n.posSuf.length,f=o.indexOf("#");n.negPre=o.substr(0,f).replace(/'/g,""),n.negSuf=o.substr(f+h).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}function fe(e){var t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var me=function e(){v(this,e)},pe=function(){var e=function(e){l(n,e);var t=d(n);function n(e){var r;return v(this,n),(r=t.call(this)).locale=e,r}return y(n,[{key:"getPluralCategory",value:function(e,t){switch(K(t||this.locale)(e)){case N.Zero:return"zero";case N.One:return"one";case N.Two:return"two";case N.Few:return"few";case N.Many:return"many";default:return"other"}}}]),n}(me);return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275inject"](o.LOCALE_ID))},e.\u0275prov=o["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}();
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function ve(e,n){n=encodeURIComponent(n);var i,o=r(e.split(";"));try{for(o.s();!(i=o.n()).done;){var a=i.value,s=a.indexOf("="),c=t(-1==s?[a,""]:[a.slice(0,s),a.slice(s+1)],2),l=c[0],u=c[1];if(l.trim()===n)return decodeURIComponent(u)}}catch(d){o.e(d)}finally{o.f()}return null}var ge=function(){var e=function(){function e(t,n,r,i){v(this,e),this._iterableDiffers=t,this._keyValueDiffers=n,this._ngEl=r,this._renderer=i,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}return y(e,[{key:"klass",set:function(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}},{key:"ngClass",set:function(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Object(o["\u0275isListLikeIterable"])(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}},{key:"ngDoCheck",value:function(){if(this._iterableDiffer){var e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){var t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}},{key:"_applyKeyValueChanges",value:function(e){var t=this;e.forEachAddedItem((function(e){return t._toggleClass(e.key,e.currentValue)})),e.forEachChangedItem((function(e){return t._toggleClass(e.key,e.currentValue)})),e.forEachRemovedItem((function(e){e.previousValue&&t._toggleClass(e.key,!1)}))}},{key:"_applyIterableChanges",value:function(e){var t=this;e.forEachAddedItem((function(e){if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(o["\u0275stringify"])(e.item));t._toggleClass(e.item,!0)})),e.forEachRemovedItem((function(e){return t._toggleClass(e.item,!1)}))}},{key:"_applyClasses",value:function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach((function(e){return t._toggleClass(e,!0)})):Object.keys(e).forEach((function(n){return t._toggleClass(n,!!e[n])})))}},{key:"_removeClasses",value:function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach((function(e){return t._toggleClass(e,!1)})):Object.keys(e).forEach((function(e){return t._toggleClass(e,!1)})))}},{key:"_toggleClass",value:function(e,t){var n=this;(e=e.trim())&&e.split(/\s+/g).forEach((function(e){t?n._renderer.addClass(n._ngEl.nativeElement,e):n._renderer.removeClass(n._ngEl.nativeElement,e)}))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275directiveInject"](o.IterableDiffers),o["\u0275\u0275directiveInject"](o.KeyValueDiffers),o["\u0275\u0275directiveInject"](o.ElementRef),o["\u0275\u0275directiveInject"](o.Renderer2))},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e}(),ye=function(){function e(t,n,r,i){v(this,e),this.$implicit=t,this.ngForOf=n,this.index=r,this.count=i}return y(e,[{key:"first",get:function(){return 0===this.index}},{key:"last",get:function(){return this.index===this.count-1}},{key:"even",get:function(){return this.index%2==0}},{key:"odd",get:function(){return!this.even}}]),e}(),be=function(){var e=function(){function e(t,n,r){v(this,e),this._viewContainer=t,this._template=n,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return y(e,[{key:"ngForOf",set:function(e){this._ngForOf=e,this._ngForOfDirty=!0}},{key:"ngForTrackBy",get:function(){return this._trackByFn},set:function(e){Object(o.isDevMode)()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn("trackBy must be a function, but received ".concat(JSON.stringify(e),". See https://angular.io/api/common/NgForOf#change-propagation for more information.")),this._trackByFn=e}},{key:"ngForTemplate",set:function(e){e&&(this._template=e)}},{key:"ngDoCheck",value:function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(r){throw new Error("Cannot find a differ supporting object '".concat(e,"' of type '").concat((t=e).name||typeof t,"'. NgFor only supports binding to Iterables such as Arrays."))}}var t;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}},{key:"_applyChanges",value:function(e){var t=this,n=[];e.forEachOperation((function(e,r,i){if(null==e.previousIndex){var o=t._viewContainer.createEmbeddedView(t._template,new ye(null,t._ngForOf,-1,-1),null===i?void 0:i),a=new ke(e,o);n.push(a)}else if(null==i)t._viewContainer.remove(null===r?void 0:r);else if(null!==r){var s=t._viewContainer.get(r);t._viewContainer.move(s,i);var c=new ke(e,s);n.push(c)}}));for(var r=0;r<n.length;r++)this._perViewChange(n[r].view,n[r].record);for(var i=0,o=this._viewContainer.length;i<o;i++){var a=this._viewContainer.get(i);a.context.index=i,a.context.count=o,a.context.ngForOf=this._ngForOf}e.forEachIdentityChange((function(e){t._viewContainer.get(e.currentIndex).context.$implicit=e.item}))}},{key:"_perViewChange",value:function(e,t){e.context.$implicit=t.item}}],[{key:"ngTemplateContextGuard",value:function(e,t){return!0}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275directiveInject"](o.ViewContainerRef),o["\u0275\u0275directiveInject"](o.TemplateRef),o["\u0275\u0275directiveInject"](o.IterableDiffers))},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e}(),ke=function e(t,n){v(this,e),this.record=t,this.view=n},Ce=function(){var e=function(){function e(t,n){v(this,e),this._viewContainer=t,this._context=new we,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=n}return y(e,[{key:"ngIf",set:function(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}},{key:"ngIfThen",set:function(e){Se("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}},{key:"ngIfElse",set:function(e){Se("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}},{key:"_updateView",value:function(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}}],[{key:"ngTemplateContextGuard",value:function(e,t){return!0}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275directiveInject"](o.ViewContainerRef),o["\u0275\u0275directiveInject"](o.TemplateRef))},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e}(),we=function e(){v(this,e),this.$implicit=null,this.ngIf=null};
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Se(e,t){if(t&&!t.createEmbeddedView)throw new Error("".concat(e," must be a TemplateRef, but received '").concat(Object(o["\u0275stringify"])(t),"'."))}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var _e=function(){function e(t,n){v(this,e),this._viewContainerRef=t,this._templateRef=n,this._created=!1}return y(e,[{key:"create",value:function(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}},{key:"destroy",value:function(){this._created=!1,this._viewContainerRef.clear()}},{key:"enforceState",value:function(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}}]),e}(),Ee=function(){var e=function(){function e(){v(this,e),this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}return y(e,[{key:"ngSwitch",set:function(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}},{key:"_addCase",value:function(){return this._caseCount++}},{key:"_addDefault",value:function(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}},{key:"_matchCase",value:function(e){var t=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||t,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t}},{key:"_updateDefaultCases",value:function(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(var t=0;t<this._defaultViews.length;t++)this._defaultViews[t].enforceState(e)}}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),e}(),Ie=function(){var e=function(){function e(t,n,r){v(this,e),this.ngSwitch=r,r._addCase(),this._view=new _e(t,n)}return y(e,[{key:"ngDoCheck",value:function(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275directiveInject"](o.ViewContainerRef),o["\u0275\u0275directiveInject"](o.TemplateRef),o["\u0275\u0275directiveInject"](Ee,1))},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),e}(),xe=function(){var e=function e(t,n,r){v(this,e),r._addDefault(new _e(t,n))};return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275directiveInject"](o.ViewContainerRef),o["\u0275\u0275directiveInject"](o.TemplateRef),o["\u0275\u0275directiveInject"](Ee,1))},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngSwitchDefault",""]]}),e}(),Oe=function(){var e=function(){function e(t,n,r){v(this,e),this._ngEl=t,this._differs=n,this._renderer=r,this._ngStyle=null,this._differ=null}return y(e,[{key:"ngStyle",set:function(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}},{key:"ngDoCheck",value:function(){if(this._differ){var e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}},{key:"_setStyle",value:function(e,n){var r=t(e.split("."),2),i=r[0],o=r[1];null!=(n=null!=n&&o?"".concat(n).concat(o):n)?this._renderer.setStyle(this._ngEl.nativeElement,i,n):this._renderer.removeStyle(this._ngEl.nativeElement,i)}},{key:"_applyChanges",value:function(e){var t=this;e.forEachRemovedItem((function(e){return t._setStyle(e.key,null)})),e.forEachAddedItem((function(e){return t._setStyle(e.key,e.currentValue)})),e.forEachChangedItem((function(e){return t._setStyle(e.key,e.currentValue)}))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275directiveInject"](o.ElementRef),o["\u0275\u0275directiveInject"](o.KeyValueDiffers),o["\u0275\u0275directiveInject"](o.Renderer2))},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),e}(),Te=function(){var e=function(){function e(t){v(this,e),this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}return y(e,[{key:"ngOnChanges",value:function(e){if(this._shouldRecreateView(e)){var t=this._viewContainerRef;this._viewRef&&t.remove(t.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?t.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)}},{key:"_shouldRecreateView",value:function(e){var t=e.ngTemplateOutletContext;return!!e.ngTemplateOutlet||t&&this._hasContextShapeChanged(t)}},{key:"_hasContextShapeChanged",value:function(e){var t=Object.keys(e.previousValue||{}),n=Object.keys(e.currentValue||{});if(t.length===n.length){var i,o=r(n);try{for(o.s();!(i=o.n()).done;){var a=i.value;if(-1===t.indexOf(a))return!0}}catch(s){o.e(s)}finally{o.f()}return!1}return!0}},{key:"_updateExistingContext",value:function(e){for(var t=0,n=Object.keys(e);t<n.length;t++){var r=n[t];this._viewRef.context[r]=this.ngTemplateOutletContext[r]}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275directiveInject"](o.ViewContainerRef))},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[o["\u0275\u0275NgOnChangesFeature"]]}),e}();
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function Ae(e,t){return Error("InvalidPipeArgument: '".concat(t,"' for pipe '").concat(Object(o["\u0275stringify"])(e),"'"))}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var Pe=function(){function e(){v(this,e)}return y(e,[{key:"createSubscription",value:function(e,t){return e.subscribe({next:t,error:function(e){throw e}})}},{key:"dispose",value:function(e){e.unsubscribe()}},{key:"onDestroy",value:function(e){e.unsubscribe()}}]),e}(),De=new(function(){function e(){v(this,e)}return y(e,[{key:"createSubscription",value:function(e,t){return e.then(t,(function(e){throw e}))}},{key:"dispose",value:function(e){}},{key:"onDestroy",value:function(e){}}]),e}()),Re=new Pe,Me=function(){var e=function(){function e(t){v(this,e),this._ref=t,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}return y(e,[{key:"ngOnDestroy",value:function(){this._subscription&&this._dispose()}},{key:"transform",value:function(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}},{key:"_subscribe",value:function(e){var t=this;this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,(function(n){return t._updateLatestValue(e,n)}))}},{key:"_selectStrategy",value:function(t){if(Object(o["\u0275isPromise"])(t))return De;if(Object(o["\u0275isObservable"])(t))return Re;throw Ae(e,t)}},{key:"_dispose",value:function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}},{key:"_updateLatestValue",value:function(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275injectPipeChangeDetectorRef"]())},e.\u0275pipe=o["\u0275\u0275definePipe"]({name:"async",type:e,pure:!1}),e}(),Ne=function(){var e=function(){function e(){v(this,e)}return y(e,[{key:"transform",value:function(t){if(!t)return t;if("string"!=typeof t)throw Ae(e,t);return t.toUpperCase()}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=o["\u0275\u0275definePipe"]({name:"uppercase",type:e,pure:!0}),e}(),je=function(){var e=function(){function e(t){v(this,e),this.locale=t}return y(e,[{key:"transform",value:function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"mediumDate",i=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0;if(null==n||""===n||n!=n)return null;try{return function(e,n,r,i){var a=function(e){if(le(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){e=e.trim();var n,r=parseFloat(e);if(!isNaN(e-r))return new Date(r);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(e)){var i=t(e.split("-").map((function(e){return+e})),3),o=i[0],a=i[1],s=i[2];return new Date(o,a-1,s)}if(n=e.match(Z))return function(e){var t=new Date(0),n=0,r=0,i=e[8]?t.setUTCFullYear:t.setFullYear,o=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),i.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));var a=Number(e[4]||0)-n,s=Number(e[5]||0)-r,c=Number(e[6]||0),l=Math.round(1e3*parseFloat("0."+(e[7]||0)));return o.call(t,a,s,c,l),t}(n)}var c=new Date(e);if(!le(c))throw new Error('Unable to convert "'.concat(e,'" into a date'));return c}(e);n=function e(t,n){var r=function(e){return Object(o["\u0275findLocaleData"])(e)[o["\u0275LocaleDataIndex"].LocaleId]}(t);if(J[r]=J[r]||{},J[r][n])return J[r][n];var i="";switch(n){case"shortDate":i=B(t,L.Short);break;case"mediumDate":i=B(t,L.Medium);break;case"longDate":i=B(t,L.Long);break;case"fullDate":i=B(t,L.Full);break;case"shortTime":i=U(t,L.Short);break;case"mediumTime":i=U(t,L.Medium);break;case"longTime":i=U(t,L.Long);break;case"fullTime":i=U(t,L.Full);break;case"short":var a=e(t,"shortTime"),s=e(t,"shortDate");i=te(H(t,L.Short),[a,s]);break;case"medium":var c=e(t,"mediumTime"),l=e(t,"mediumDate");i=te(H(t,L.Medium),[c,l]);break;case"long":var u=e(t,"longTime"),d=e(t,"longDate");i=te(H(t,L.Long),[u,d]);break;case"full":var h=e(t,"fullTime"),f=e(t,"fullDate");i=te(H(t,L.Full),[h,f])}return i&&(J[r][n]=i),i}(r,n)||n;for(var s,c=[];n;){if(!(s=Q.exec(n))){c.push(n);break}var l=(c=c.concat(s.slice(1))).pop();if(!l)break;n=l}var u=a.getTimezoneOffset();i&&(u=ce(i,u),a=function(e,t,n){var r=e.getTimezoneOffset();return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,-1*(ce(t,r)-r))}(a,i));var d="";return c.forEach((function(e){var t=function(e){if(se[e])return se[e];var t;switch(e){case"G":case"GG":case"GGG":t=ie(ee.Eras,F.Abbreviated);break;case"GGGG":t=ie(ee.Eras,F.Wide);break;case"GGGGG":t=ie(ee.Eras,F.Narrow);break;case"y":t=re($.FullYear,1,0,!1,!0);break;case"yy":t=re($.FullYear,2,0,!0,!0);break;case"yyy":t=re($.FullYear,3,0,!1,!0);break;case"yyyy":t=re($.FullYear,4,0,!1,!0);break;case"M":case"L":t=re($.Month,1,1);break;case"MM":case"LL":t=re($.Month,2,1);break;case"MMM":t=ie(ee.Months,F.Abbreviated);break;case"MMMM":t=ie(ee.Months,F.Wide);break;case"MMMMM":t=ie(ee.Months,F.Narrow);break;case"LLL":t=ie(ee.Months,F.Abbreviated,j.Standalone);break;case"LLLL":t=ie(ee.Months,F.Wide,j.Standalone);break;case"LLLLL":t=ie(ee.Months,F.Narrow,j.Standalone);break;case"w":t=ae(1);break;case"ww":t=ae(2);break;case"W":t=ae(1,!0);break;case"d":t=re($.Date,1);break;case"dd":t=re($.Date,2);break;case"E":case"EE":case"EEE":t=ie(ee.Days,F.Abbreviated);break;case"EEEE":t=ie(ee.Days,F.Wide);break;case"EEEEE":t=ie(ee.Days,F.Narrow);break;case"EEEEEE":t=ie(ee.Days,F.Short);break;case"a":case"aa":case"aaa":t=ie(ee.DayPeriods,F.Abbreviated);break;case"aaaa":t=ie(ee.DayPeriods,F.Wide);break;case"aaaaa":t=ie(ee.DayPeriods,F.Narrow);break;case"b":case"bb":case"bbb":t=ie(ee.DayPeriods,F.Abbreviated,j.Standalone,!0);break;case"bbbb":t=ie(ee.DayPeriods,F.Wide,j.Standalone,!0);break;case"bbbbb":t=ie(ee.DayPeriods,F.Narrow,j.Standalone,!0);break;case"B":case"BB":case"BBB":t=ie(ee.DayPeriods,F.Abbreviated,j.Format,!0);break;case"BBBB":t=ie(ee.DayPeriods,F.Wide,j.Format,!0);break;case"BBBBB":t=ie(ee.DayPeriods,F.Narrow,j.Format,!0);break;case"h":t=re($.Hours,1,-12);break;case"hh":t=re($.Hours,2,-12);break;case"H":t=re($.Hours,1);break;case"HH":t=re($.Hours,2);break;case"m":t=re($.Minutes,1);break;case"mm":t=re($.Minutes,2);break;case"s":t=re($.Seconds,1);break;case"ss":t=re($.Seconds,2);break;case"S":t=re($.FractionalSeconds,1);break;case"SS":t=re($.FractionalSeconds,2);break;case"SSS":t=re($.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=oe(X.Short);break;case"ZZZZZ":t=oe(X.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=oe(X.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=oe(X.Long);break;default:return null}return se[e]=t,t}(e);d+=t?t(a,r,u):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")})),d}(n,r,a||this.locale,i)}catch(s){throw Ae(e,s.message)}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275directiveInject"](o.LOCALE_ID))},e.\u0275pipe=o["\u0275\u0275definePipe"]({name:"date",type:e,pure:!0}),e}(),Fe=function(){var e=function(){function e(t){v(this,e),this._locale=t}return y(e,[{key:"transform",value:function(t,n,r){if(Ve(t))return null;r=r||this._locale;try{return function(e,t,n){return de(e,he(q(t,M.Percent),G(t,V.MinusSign)),t,V.Group,V.Decimal,n,!0).replace(new RegExp("%","g"),G(t,V.PercentSign))}(Be(t),r,n)}catch(i){throw Ae(e,i.message)}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275directiveInject"](o.LOCALE_ID))},e.\u0275pipe=o["\u0275\u0275definePipe"]({name:"percent",type:e,pure:!0}),e}(),Le=function(){var e=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"USD";v(this,e),this._locale=t,this._defaultCurrencyCode=n}return y(e,[{key:"transform",value:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"symbol",i=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0;if(Ve(t))return null;a=a||this._locale,"boolean"==typeof r&&(console&&console.warn&&console.warn('Warning: the currency pipe has been changed in Angular v5. The symbolDisplay option (third parameter) is now a string instead of a boolean. The accepted values are "code", "symbol" or "symbol-narrow".'),r=r?"symbol":"code");var s=n||this._defaultCurrencyCode;"code"!==r&&(s="symbol"===r||"symbol-narrow"===r?function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"en",r=function(e){return Object(o["\u0275findLocaleData"])(e)[o["\u0275LocaleDataIndex"].Currencies]}(n)[e]||R[e]||[],i=r[1];return"narrow"===t&&"string"==typeof i?i:r[0]||e}(s,"symbol"===r?"wide":"narrow",a):r);try{return function(e,t,n,r,i){var o=he(q(t,M.Currency),G(t,V.MinusSign));return o.minFrac=function(e){var t,n=R[e];return n&&(t=n[2]),"number"==typeof t?t:2}(r),o.maxFrac=o.minFrac,de(e,o,t,V.CurrencyGroup,V.CurrencyDecimal,i).replace("\xa4",n).replace("\xa4","").trim()}(Be(t),a,s,n,i)}catch(c){throw Ae(e,c.message)}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275directiveInject"](o.LOCALE_ID),o["\u0275\u0275directiveInject"](o.DEFAULT_CURRENCY_CODE))},e.\u0275pipe=o["\u0275\u0275definePipe"]({name:"currency",type:e,pure:!0}),e}();function Ve(e){return null==e||""===e||e!=e}function Be(e){if("string"==typeof e&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if("number"!=typeof e)throw new Error(e+" is not a number");return e}var Ue=function(){var e=function(){function e(){v(this,e)}return y(e,[{key:"transform",value:function(t,n,r){if(null==t)return t;if(!this.supports(t))throw Ae(e,t);return t.slice(n,r)}},{key:"supports",value:function(e){return"string"==typeof e||Array.isArray(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=o["\u0275\u0275definePipe"]({name:"slice",type:e,pure:!1}),e}(),He=function(){var e=function e(){v(this,e)};return e.\u0275mod=o["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=o["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},providers:[{provide:me,useClass:pe}]}),e}(),Ge="browser";
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function qe(e){return e===Ge}function Ke(e){return"server"===e}var ze=function(){var e=function e(){v(this,e)};return e.\u0275prov=Object(o["\u0275\u0275defineInjectable"])({token:e,providedIn:"root",factory:function(){return new Ye(Object(o["\u0275\u0275inject"])(f),window,Object(o["\u0275\u0275inject"])(o.ErrorHandler))}}),e}(),Ye=function(){function e(t,n,r){v(this,e),this.document=t,this.window=n,this.errorHandler=r,this.offset=function(){return[0,0]}}return y(e,[{key:"setOffset",value:function(e){this.offset=Array.isArray(e)?function(){return e}:e}},{key:"getScrollPosition",value:function(){return this.supportsScrolling()?[this.window.scrollX,this.window.scrollY]:[0,0]}},{key:"scrollToPosition",value:function(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}},{key:"scrollToAnchor",value:function(e){if(this.supportsScrolling()){var t=this.document.getElementById(e)||this.document.getElementsByName(e)[0];t&&this.scrollToElement(t)}}},{key:"setHistoryScrollRestoration",value:function(e){if(this.supportScrollRestoration()){var t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}},{key:"scrollToElement",value:function(e){var t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,r=t.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],r-i[1])}},{key:"supportScrollRestoration",value:function(){try{if(!this.window||!this.window.scrollTo)return!1;var e=We(this.window.history)||We(Object.getPrototypeOf(this.window.history));return!(!e||!e.writable&&!e.set)}catch(t){return!1}}},{key:"supportsScrolling",value:function(){try{return!!this.window.scrollTo}catch(e){return!1}}}]),e}();function We(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}},SeVD:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n("ngJS"),i=n("NJ4a"),o=n("Lhse"),a=n("kJWO"),s=n("I55L"),c=n("c2HN"),l=n("XoHu"),u=function(e){if(e&&"function"==typeof e[a.a])return u=e,function(e){var t=u[a.a]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(Object(s.a)(e))return Object(r.a)(e);if(Object(c.a)(e))return n=e,function(e){return n.then((function(t){e.closed||(e.next(t),e.complete())}),(function(t){return e.error(t)})).then(null,i.a),e};if(e&&"function"==typeof e[o.a])return t=e,function(e){for(var n=t[o.a]();;){var r=void 0;try{r=n.next()}catch(i){return e.error(i),e}if(r.done){e.complete();break}if(e.next(r.value),e.closed)break}return"function"==typeof n.return&&e.add((function(){n.return&&n.return()})),e};var t,n,u,d=Object(l.a)(e)?"an invalid object":"'".concat(e,"'");throw new TypeError("You provided ".concat(d," where a stream was expected. You can provide an Observable, Promise, Array, or Iterable."))}},SpAZ:function(e,t,n){"use strict";function r(e){return e}n.d(t,"a",(function(){return r}))},T2d4:function(e,t,n){var r=n("yNUO");e.exports=function(e,t){if(!(t instanceof Array))throw new TypeError(toString.call(t)+" is not an instance of Array");var n,i,o=r(e).getTime();return t.forEach((function(e){var t=r(e),a=Math.abs(o-t.getTime());(void 0===n||a<i)&&(n=t,i=a)})),n}},UVXo:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("8Y7J"),i=n("s7LF"),o=n("cUpR"),a=n("FpO7"),s=n("8Y7J");t.TextMaskConfig=function(){},t.MASKEDINPUT_VALUE_ACCESSOR={provide:i.NG_VALUE_ACCESSOR,useExisting:r.forwardRef((function(){return c})),multi:!0};var c=function(){function e(e,t,n){var r;this._renderer=e,this._elementRef=t,this._compositionMode=n,this.textMaskConfig={mask:[],guide:!0,placeholderChar:"_",pipe:void 0,keepCharPositions:!1},this.onChange=function(e){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(r=o.\u0275getDOM()?o.\u0275getDOM().getUserAgent():"",!/android (\d+)/.test(r.toLowerCase())))}return e.prototype.ngOnChanges=function(e){this._setupMask(!0),void 0!==this.textMaskInputElement&&this.textMaskInputElement.update(this.inputElement.value)},e.prototype.writeValue=function(e){this._setupMask(),this._renderer.setProperty(this.inputElement,"value",null==e?"":e),void 0!==this.textMaskInputElement&&this.textMaskInputElement.update(e)},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._handleInput=function(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&(this._setupMask(),void 0!==this.textMaskInputElement&&(this.textMaskInputElement.update(e),this.onChange(e=this.inputElement.value)))},e.prototype._setupMask=function(e){void 0===e&&(e=!1),this.inputElement||(this.inputElement="INPUT"===this._elementRef.nativeElement.tagName.toUpperCase()?this._elementRef.nativeElement:this._elementRef.nativeElement.getElementsByTagName("INPUT")[0]),this.inputElement&&e&&(this.textMaskInputElement=a.createTextMaskInputElement(Object.assign({inputElement:this.inputElement},this.textMaskConfig)))},e.prototype._compositionStart=function(){this._composing=!0},e.prototype._compositionEnd=function(e){this._composing=!1,this._compositionMode&&this._handleInput(e)},e.propDecorators={textMaskConfig:[{type:r.Input,args:["textMask"]}]},e.\u0275fac=function(t){return new(t||e)(s.\u0275\u0275directiveInject(s.Renderer2),s.\u0275\u0275directiveInject(s.ElementRef),s.\u0275\u0275directiveInject(i.COMPOSITION_BUFFER_MODE,8))},e.\u0275dir=s.\u0275\u0275defineDirective({type:e,selectors:[["","textMask",""]],hostBindings:function(e,t){1&e&&s.\u0275\u0275listener("input",(function(e){return t._handleInput(e.target.value)}))("blur",(function(){return t.onTouched()}))("compositionstart",(function(){return t._compositionStart()}))("compositionend",(function(e){return t._compositionEnd(e.target.value)}))},inputs:{textMaskConfig:["textMask","textMaskConfig"]},exportAs:["textMask"],features:[s.\u0275\u0275ProvidersFeature([t.MASKEDINPUT_VALUE_ACCESSOR]),s.\u0275\u0275NgOnChangesFeature]}),e}();t.MaskedInputDirective=c,t.TextMaskModule=function(){function e(){}return e.\u0275mod=s.\u0275\u0275defineNgModule({type:e}),e.\u0275inj=s.\u0275\u0275defineInjector({factory:function(t){return new(t||e)}}),e}();var l=n("FpO7");t.conformToMask=l.conformToMask},UpIE:function(e,t,n){var r=n("y5a+");e.exports=function(e){return r(e,{weekStartsOn:1})}},"Us+F":function(e,t,n){var r=n("LZbM"),i=n("6DAA");e.exports={distanceInWords:r(),format:i()}},VBar:function(e,t,n){var r=n("yNUO");e.exports=function(e){var t=r(e),n=t.getFullYear(),i=t.getMonth(),o=new Date(0);return o.setFullYear(n,i+1,0),o.setHours(0,0,0,0),o.getDate()}},VGX7:function(e,t){e.exports=function(e){var t=new Date(e.getTime()),n=t.getTimezoneOffset();return t.setSeconds(0,0),6e4*n+t.getTime()%6e4}},VRyK:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("HDdC"),i=n("z+Ro"),o=n("bHdf"),a=n("yCtX");function s(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var s=Number.POSITIVE_INFINITY,c=null,l=t[t.length-1];return Object(i.a)(l)?(c=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(s=t.pop())):"number"==typeof l&&(s=t.pop()),null===c&&1===t.length&&t[0]instanceof r.a?t[0]:Object(o.a)(s)(Object(a.a)(t,c))}},WA8B:function(e,t,n){var r=n("yNUO"),i=n("pLeS"),o=n("1CCG");e.exports=function(e){var t=r(e);return o(t,i(t))+1}},Wjgk:function(e,t,n){var r=n("yNUO");e.exports=function(e){return 4===r(e).getDay()}},WmBB:function(e,t,n){var r=n("yNUO");e.exports=function(e,t){var n=r(e),i=r(t);return n.getFullYear()===i.getFullYear()&&n.getMonth()===i.getMonth()}},XNiG:function(e,t,n){"use strict";n.d(t,"b",(function(){return h})),n.d(t,"a",(function(){return f}));var r=n("HDdC"),i=n("7o/Q"),o=n("quSY"),a=n("9ppp"),c=n("Ylt2"),u=n("2QA8"),h=function(e){l(n,e);var t=d(n);function n(e){var r;return v(this,n),(r=t.call(this,e)).destination=e,r}return n}(i.a),f=function(){var e=function(e,t){l(i,e);var n=d(i);function i(){var e;return v(this,i),(e=n.call(this)).observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return y(i,[{key:t,value:function(){return new h(this)}},{key:"lift",value:function(e){var t=new m(this,this);return t.operator=e,t}},{key:"next",value:function(e){if(this.closed)throw new a.a;if(!this.isStopped)for(var t=this.observers,n=t.length,r=t.slice(),i=0;i<n;i++)r[i].next(e)}},{key:"error",value:function(e){if(this.closed)throw new a.a;this.hasError=!0,this.thrownError=e,this.isStopped=!0;for(var t=this.observers,n=t.length,r=t.slice(),i=0;i<n;i++)r[i].error(e);this.observers.length=0}},{key:"complete",value:function(){if(this.closed)throw new a.a;this.isStopped=!0;for(var e=this.observers,t=e.length,n=e.slice(),r=0;r<t;r++)n[r].complete();this.observers.length=0}},{key:"unsubscribe",value:function(){this.isStopped=!0,this.closed=!0,this.observers=null}},{key:"_trySubscribe",value:function(e){if(this.closed)throw new a.a;return s(p(i.prototype),"_trySubscribe",this).call(this,e)}},{key:"_subscribe",value:function(e){if(this.closed)throw new a.a;return this.hasError?(e.error(this.thrownError),o.a.EMPTY):this.isStopped?(e.complete(),o.a.EMPTY):(this.observers.push(e),new c.a(this,e))}},{key:"asObservable",value:function(){var e=new r.a;return e.source=this,e}}]),i}(r.a,u.a);return e.create=function(e,t){return new m(e,t)},e}(),m=function(e){l(n,e);var t=d(n);function n(e,r){var i;return v(this,n),(i=t.call(this)).destination=e,i.source=r,i}return y(n,[{key:"next",value:function(e){var t=this.destination;t&&t.next&&t.next(e)}},{key:"error",value:function(e){var t=this.destination;t&&t.error&&this.destination.error(e)}},{key:"complete",value:function(){var e=this.destination;e&&e.complete&&this.destination.complete()}},{key:"_subscribe",value:function(e){return this.source?this.source.subscribe(e):o.a.EMPTY}}]),n}(f)},XZVX:function(e,t,n){var r=n("yNUO");e.exports=function(e){return r(e).getHours()}},XoHu:function(e,t,n){"use strict";function r(e){return null!==e&&"object"==typeof e}n.d(t,"a",(function(){return r}))},YlT8:function(e,t,n){var r=n("NmtT");e.exports=function(e,t){return r(Date.now(),e,t)}},Ylt2:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){l(n,e);var t=d(n);function n(e,r){var i;return v(this,n),(i=t.call(this)).subject=e,i.subscriber=r,i.closed=!1,i}return y(n,[{key:"unsubscribe",value:function(){if(!this.closed){this.closed=!0;var e=this.subject,t=e.observers;if(this.subject=null,t&&0!==t.length&&!e.isStopped&&!e.closed){var n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}}}]),n}(n("quSY").a)},YuTi:function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},Yzd8:function(e,t,n){var r=n("yNUO");e.exports=function(e,t,n,i){var o=r(e).getTime(),a=r(t).getTime(),s=r(n).getTime(),c=r(i).getTime();if(o>a||s>c)throw new Error("The start of the range cannot be after the end of the range");return o<c&&s<a?Math.ceil(((c>a?a:c)-(s<o?o:s))/864e5):0}},ZXDK:function(e,t,n){var r=n("54Wo");e.exports=function(e,t){var n=r(e,t)/6e4;return n>0?Math.floor(n):Math.ceil(n)}},Zipn:function(e,t,n){var r=n("+6+2");e.exports=function(e,t){var n=r(e),i=r(t);return n.getTime()===i.getTime()}},ZmXw:function(e,t,n){var r=n("yNUO"),i=n("VBar");e.exports=function(e,t){var n=r(e),o=Number(t),a=n.getMonth()+o,s=new Date(0);s.setFullYear(n.getFullYear(),a,1),s.setHours(0,0,0,0);var c=i(s);return n.setMonth(a,Math.min(c,n.getDate())),n}},"a4+5":function(e,t,n){var r=n("yNUO");e.exports=function(e,t){var n=r(e),i=r(t);return n.getTime()<i.getTime()}},aTp7:function(e,t){e.exports=function(){var e=new Date,t=e.getFullYear(),n=e.getMonth(),r=e.getDate(),i=new Date(0);return i.setFullYear(t,n,r-1),i.setHours(0,0,0,0),i}},b056:function(e,t){e.exports=function(){var e=new Date,t=e.getFullYear(),n=e.getMonth(),r=e.getDate(),i=new Date(0);return i.setFullYear(t,n,r+1),i.setHours(23,59,59,999),i}},b8ws:function(e,t,n){var r=n("yNUO"),i=n("Kpyc"),o=n("DT56");e.exports=function(e,t){var n=r(e),a=r(t),s=o(n,a),c=Math.abs(i(n,a));return n.setFullYear(n.getFullYear()-s*c),s*(c-(o(n,a)===-s))}},bHdf:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("5+tZ"),i=n("SpAZ");function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return Object(r.a)(i.a,e)}},bwD0:function(e,t,n){var r=n("yNUO");e.exports=function(e,t){var n=r(e),i=Number(t);return n.setHours(i),n}},c2HN:function(e,t,n){"use strict";function r(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}n.d(t,"a",(function(){return r}))},cPJV:function(e,t,n){var r=n("WA8B"),i=n("gfz1"),o=n("iWRJ"),a=n("yNUO"),s=n("fupu"),c=n("Us+F"),l={M:function(e){return e.getMonth()+1},MM:function(e){return d(e.getMonth()+1,2)},Q:function(e){return Math.ceil((e.getMonth()+1)/3)},D:function(e){return e.getDate()},DD:function(e){return d(e.getDate(),2)},DDD:function(e){return r(e)},DDDD:function(e){return d(r(e),3)},d:function(e){return e.getDay()},E:function(e){return e.getDay()||7},W:function(e){return i(e)},WW:function(e){return d(i(e),2)},YY:function(e){return d(e.getFullYear(),4).substr(2)},YYYY:function(e){return d(e.getFullYear(),4)},GG:function(e){return String(o(e)).substr(2)},GGGG:function(e){return o(e)},H:function(e){return e.getHours()},HH:function(e){return d(e.getHours(),2)},h:function(e){var t=e.getHours();return 0===t?12:t>12?t%12:t},hh:function(e){return d(l.h(e),2)},m:function(e){return e.getMinutes()},mm:function(e){return d(e.getMinutes(),2)},s:function(e){return e.getSeconds()},ss:function(e){return d(e.getSeconds(),2)},S:function(e){return Math.floor(e.getMilliseconds()/100)},SS:function(e){return d(Math.floor(e.getMilliseconds()/10),2)},SSS:function(e){return d(e.getMilliseconds(),3)},Z:function(e){return u(e.getTimezoneOffset(),":")},ZZ:function(e){return u(e.getTimezoneOffset())},X:function(e){return Math.floor(e.getTime()/1e3)},x:function(e){return e.getTime()}};function u(e,t){t=t||"";var n=e>0?"-":"+",r=Math.abs(e),i=r%60;return n+d(Math.floor(r/60),2)+t+d(i,2)}function d(e,t){for(var n=Math.abs(e).toString();n.length<t;)n="0"+n;return n}e.exports=function(e,t,n){var r=t?String(t):"YYYY-MM-DDTHH:mm:ss.SSSZ",i=(n||{}).locale,o=c.format.formatters,u=c.format.formattingTokensRegExp;i&&i.format&&i.format.formatters&&(o=i.format.formatters,i.format.formattingTokensRegExp&&(u=i.format.formattingTokensRegExp));var d=a(e);return s(d)?function(e,t,n){var r,i,o=e.match(n),a=o.length;for(r=0;r<a;r++)o[r]=t[o[r]]||l[o[r]]||((i=o[r]).match(/\[[\s\S]/)?i.replace(/^\[|]$/g,""):i.replace(/\\/g,""));return function(e){for(var t="",n=0;n<a;n++)t+=o[n]instanceof Function?o[n](e,l):o[n];return t}}(r,o,u)(d):"Invalid Date"}},cUpR:function(e,t,n){"use strict";n.r(t),n.d(t,"BrowserModule",(function(){return fe})),n.d(t,"BrowserTransferStateModule",(function(){return xe})),n.d(t,"By",(function(){return Oe})),n.d(t,"DomSanitizer",(function(){return ne})),n.d(t,"EVENT_MANAGER_PLUGINS",(function(){return I})),n.d(t,"EventManager",(function(){return x})),n.d(t,"HAMMER_GESTURE_CONFIG",(function(){return G})),n.d(t,"HAMMER_LOADER",(function(){return q})),n.d(t,"HammerGestureConfig",(function(){return K})),n.d(t,"HammerModule",(function(){return J})),n.d(t,"Meta",(function(){return pe})),n.d(t,"Title",(function(){return ge})),n.d(t,"TransferState",(function(){return Ee})),n.d(t,"VERSION",(function(){return Te})),n.d(t,"disableDebugTools",(function(){return we})),n.d(t,"enableDebugTools",(function(){return Ce})),n.d(t,"makeStateKey",(function(){return _e})),n.d(t,"platformBrowser",(function(){return de})),n.d(t,"\u0275BROWSER_SANITIZATION_PROVIDERS",(function(){return ue})),n.d(t,"\u0275BROWSER_SANITIZATION_PROVIDERS__POST_R3__",(function(){return le})),n.d(t,"\u0275BrowserDomAdapter",(function(){return c})),n.d(t,"\u0275BrowserGetTestability",(function(){return g})),n.d(t,"\u0275DomEventsPlugin",(function(){return U})),n.d(t,"\u0275DomRendererFactory2",(function(){return F})),n.d(t,"\u0275DomSanitizerImpl",(function(){return ie})),n.d(t,"\u0275DomSharedStylesHost",(function(){return A})),n.d(t,"\u0275ELEMENT_PROBE_PROVIDERS",(function(){return E})),n.d(t,"\u0275ELEMENT_PROBE_PROVIDERS__POST_R3__",(function(){return S})),n.d(t,"\u0275HAMMER_PROVIDERS__POST_R3__",(function(){return Y})),n.d(t,"\u0275HammerGesturesPlugin",(function(){return z})),n.d(t,"\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS",(function(){return ce})),n.d(t,"\u0275KeyEventsPlugin",(function(){return te})),n.d(t,"\u0275NAMESPACE_URIS",(function(){return P})),n.d(t,"\u0275SharedStylesHost",(function(){return T})),n.d(t,"\u0275TRANSITION_ID",(function(){return h})),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_a",(function(){return ae})),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_b",(function(){return se})),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_c",(function(){return he})),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_d",(function(){return me})),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_e",(function(){return ve})),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_f",(function(){return Ie})),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_g",(function(){return O})),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_h",(function(){return W})),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_i",(function(){return Z})),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_j",(function(){return re})),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_k",(function(){return f})),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_l",(function(){return m})),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_m",(function(){return w})),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_n",(function(){return _})),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_o",(function(){return a})),n.d(t,"\u0275escapeHtml",(function(){return Se})),n.d(t,"\u0275flattenStyles",(function(){return N})),n.d(t,"\u0275initDomAdapter",(function(){return oe})),n.d(t,"\u0275shimContentAttribute",(function(){return R})),n.d(t,"\u0275shimHostAttribute",(function(){return M}));var r=n("SVse"),i=n("8Y7J");n.d(t,"\u0275getDOM",(function(){return r.C}));
/**
 * @license Angular v10.2.5
 * (c) 2010-2020 Google LLC. https://angular.io/
 * License: MIT
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
var o,a=function(e){l(n,e);var t=d(n);function n(){return v(this,n),t.call(this)}return y(n,[{key:"supportsDOMEvents",value:function(){return!0}}]),n}(r.A),c=function(e){l(n,e);var t=d(n);function n(){return v(this,n),t.apply(this,arguments)}return y(n,[{key:"getProperty",value:function(e,t){return e[t]}},{key:"log",value:function(e){window.console&&window.console.log&&window.console.log(e)}},{key:"logGroup",value:function(e){window.console&&window.console.group&&window.console.group(e)}},{key:"logGroupEnd",value:function(){window.console&&window.console.groupEnd&&window.console.groupEnd()}},{key:"onAndCancel",value:function(e,t,n){return e.addEventListener(t,n,!1),function(){e.removeEventListener(t,n,!1)}}},{key:"dispatchEvent",value:function(e,t){e.dispatchEvent(t)}},{key:"remove",value:function(e){return e.parentNode&&e.parentNode.removeChild(e),e}},{key:"getValue",value:function(e){return e.value}},{key:"createElement",value:function(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}},{key:"createHtmlDocument",value:function(){return document.implementation.createHTMLDocument("fakeTitle")}},{key:"getDefaultDocument",value:function(){return document}},{key:"isElementNode",value:function(e){return e.nodeType===Node.ELEMENT_NODE}},{key:"isShadowRoot",value:function(e){return e instanceof DocumentFragment}},{key:"getGlobalEventTarget",value:function(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}},{key:"getHistory",value:function(){return window.history}},{key:"getLocation",value:function(){return window.location}},{key:"getBaseHref",value:function(e){var t,n=u||(u=document.querySelector("base"))?u.getAttribute("href"):null;return null==n?null:(t=n,o||(o=document.createElement("a")),o.setAttribute("href",t),"/"===o.pathname.charAt(0)?o.pathname:"/"+o.pathname)}},{key:"resetBaseElement",value:function(){u=null}},{key:"getUserAgent",value:function(){return window.navigator.userAgent}},{key:"performanceNow",value:function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}},{key:"supportsCookies",value:function(){return!0}},{key:"getCookie",value:function(e){return Object(r.D)(document.cookie,e)}}],[{key:"makeCurrent",value:function(){Object(r.E)(new n)}}]),n}(a),u=null,h=new i.InjectionToken("TRANSITION_ID");
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function f(e,t,n){return function(){n.get(i.ApplicationInitStatus).donePromise.then((function(){var n=Object(r.C)();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter((function(t){return t.getAttribute("ng-transition")===e})).forEach((function(e){return n.remove(e)}))}))}}var m=[{provide:i.APP_INITIALIZER,useFactory:f,deps:[h,r.e,i.Injector],multi:!0}],g=function(){function e(){v(this,e)}return y(e,[{key:"addToWindow",value:function(e){i["\u0275global"].getAngularTestability=function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},i["\u0275global"].getAllAngularTestabilities=function(){return e.getAllTestabilities()},i["\u0275global"].getAllAngularRootElements=function(){return e.getAllRootElements()},i["\u0275global"].frameworkStabilizers||(i["\u0275global"].frameworkStabilizers=[]),i["\u0275global"].frameworkStabilizers.push((function(e){var t=i["\u0275global"].getAllAngularTestabilities(),n=t.length,r=!1,o=function(t){r=r||t,0==--n&&e(r)};t.forEach((function(e){e.whenStable(o)}))}))}},{key:"findTestabilityInTree",value:function(e,t,n){if(null==t)return null;var i=e.getTestability(t);return null!=i?i:n?Object(r.C)().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}],[{key:"init",value:function(){Object(i.setTestabilityGetter)(new e)}}]),e}();
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function b(e,t){"undefined"!=typeof COMPILED&&COMPILED||((i["\u0275global"].ng=i["\u0275global"].ng||{})[e]=t)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var k={ApplicationRef:i.ApplicationRef,NgZone:i.NgZone};function C(e){return Object(i["\u0275getDebugNodeR2"])(e)}function w(e){return b("probe",C),b("coreTokens",Object.assign(Object.assign({},k),(e||[]).reduce((function(e,t){return e[t.name]=t.token,e}),{}))),function(){return C}}var S=[],_=[{provide:i.APP_INITIALIZER,useFactory:w,deps:[[i.NgProbeToken,new i.Optional]],multi:!0}],E=S,I=new i.InjectionToken("EventManagerPlugins"),x=function(){var e=function(){function e(t,n){var r=this;v(this,e),this._zone=n,this._eventNameToPlugin=new Map,t.forEach((function(e){return e.manager=r})),this._plugins=t.slice().reverse()}return y(e,[{key:"addEventListener",value:function(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}},{key:"addGlobalEventListener",value:function(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(e){var t=this._eventNameToPlugin.get(e);if(t)return t;for(var n=this._plugins,r=0;r<n.length;r++){var i=n[r];if(i.supports(e))return this._eventNameToPlugin.set(e,i),i}throw new Error("No event manager plugin found for event "+e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](I),i["\u0275\u0275inject"](i.NgZone))},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),O=function(){function e(t){v(this,e),this._doc=t}return y(e,[{key:"addGlobalEventListener",value:function(e,t,n){var i=Object(r.C)().getGlobalEventTarget(this._doc,e);if(!i)throw new Error("Unsupported event target ".concat(i," for event ").concat(t));return this.addEventListener(i,t,n)}}]),e}(),T=function(){var e=function(){function e(){v(this,e),this._stylesSet=new Set}return y(e,[{key:"addStyles",value:function(e){var t=this,n=new Set;e.forEach((function(e){t._stylesSet.has(e)||(t._stylesSet.add(e),n.add(e))})),this.onStylesAdded(n)}},{key:"onStylesAdded",value:function(e){}},{key:"getAllStyles",value:function(){return Array.from(this._stylesSet)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),A=function(){var e=function(e){l(n,e);var t=d(n);function n(e){var r;return v(this,n),(r=t.call(this))._doc=e,r._hostNodes=new Set,r._styleNodes=new Set,r._hostNodes.add(e.head),r}return y(n,[{key:"_addStylesToHost",value:function(e,t){var n=this;e.forEach((function(e){var r=n._doc.createElement("style");r.textContent=e,n._styleNodes.add(t.appendChild(r))}))}},{key:"addHost",value:function(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)}},{key:"removeHost",value:function(e){this._hostNodes.delete(e)}},{key:"onStylesAdded",value:function(e){var t=this;this._hostNodes.forEach((function(n){return t._addStylesToHost(e,n)}))}},{key:"ngOnDestroy",value:function(){this._styleNodes.forEach((function(e){return Object(r.C)().remove(e)}))}}]),n}(T);return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](r.e))},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),P={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},D=/%COMP%/g;function R(e){return"_ngcontent-%COMP%".replace(D,e)}function M(e){return"_nghost-%COMP%".replace(D,e)}function N(e,t,n){for(var r=0;r<t.length;r++){var i=t[r];Array.isArray(i)?N(e,i,n):(i=i.replace(D,e),n.push(i))}return n}function j(e){return function(t){if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}var F=function(){var e=function(){function e(t,n,r){v(this,e),this.eventManager=t,this.sharedStylesHost=n,this.appId=r,this.rendererByCompId=new Map,this.defaultRenderer=new L(t)}return y(e,[{key:"createRenderer",value:function(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case i.ViewEncapsulation.Emulated:var n=this.rendererByCompId.get(t.id);return n||(n=new V(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n;case i.ViewEncapsulation.Native:case i.ViewEncapsulation.ShadowDom:return new B(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){var r=N(t.id,t.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}},{key:"begin",value:function(){}},{key:"end",value:function(){}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](x),i["\u0275\u0275inject"](A),i["\u0275\u0275inject"](i.APP_ID))},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),L=function(){function e(t){v(this,e),this.eventManager=t,this.data=Object.create(null)}return y(e,[{key:"destroy",value:function(){}},{key:"createElement",value:function(e,t){return t?document.createElementNS(P[t]||t,e):document.createElement(e)}},{key:"createComment",value:function(e){return document.createComment(e)}},{key:"createText",value:function(e){return document.createTextNode(e)}},{key:"appendChild",value:function(e,t){e.appendChild(t)}},{key:"insertBefore",value:function(e,t,n){e&&e.insertBefore(t,n)}},{key:"removeChild",value:function(e,t){e&&e.removeChild(t)}},{key:"selectRootElement",value:function(e,t){var n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error('The selector "'.concat(e,'" did not match any elements'));return t||(n.textContent=""),n}},{key:"parentNode",value:function(e){return e.parentNode}},{key:"nextSibling",value:function(e){return e.nextSibling}},{key:"setAttribute",value:function(e,t,n,r){if(r){t=r+":"+t;var i=P[r];i?e.setAttributeNS(i,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}},{key:"removeAttribute",value:function(e,t,n){if(n){var r=P[n];r?e.removeAttributeNS(r,t):e.removeAttribute("".concat(n,":").concat(t))}else e.removeAttribute(t)}},{key:"addClass",value:function(e,t){e.classList.add(t)}},{key:"removeClass",value:function(e,t){e.classList.remove(t)}},{key:"setStyle",value:function(e,t,n,r){r&i.RendererStyleFlags2.DashCase?e.style.setProperty(t,n,r&i.RendererStyleFlags2.Important?"important":""):e.style[t]=n}},{key:"removeStyle",value:function(e,t,n){n&i.RendererStyleFlags2.DashCase?e.style.removeProperty(t):e.style[t]=""}},{key:"setProperty",value:function(e,t,n){e[t]=n}},{key:"setValue",value:function(e,t){e.nodeValue=t}},{key:"listen",value:function(e,t,n){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,j(n)):this.eventManager.addEventListener(e,t,j(n))}}]),e}(),V=function(e){l(n,e);var t=d(n);function n(e,r,i,o){var a;v(this,n),(a=t.call(this,e)).component=i;var s=N(o+"-"+i.id,i.styles,[]);return r.addStyles(s),a.contentAttr=R(o+"-"+i.id),a.hostAttr=M(o+"-"+i.id),a}return y(n,[{key:"applyToHost",value:function(e){s(p(n.prototype),"setAttribute",this).call(this,e,this.hostAttr,"")}},{key:"createElement",value:function(e,t){var r=s(p(n.prototype),"createElement",this).call(this,e,t);return s(p(n.prototype),"setAttribute",this).call(this,r,this.contentAttr,""),r}}]),n}(L),B=function(e){l(n,e);var t=d(n);function n(e,r,o,a){var s;v(this,n),(s=t.call(this,e)).sharedStylesHost=r,s.hostEl=o,s.component=a,s.shadowRoot=a.encapsulation===i.ViewEncapsulation.ShadowDom?o.attachShadow({mode:"open"}):o.createShadowRoot(),s.sharedStylesHost.addHost(s.shadowRoot);for(var c=N(a.id,a.styles,[]),l=0;l<c.length;l++){var u=document.createElement("style");u.textContent=c[l],s.shadowRoot.appendChild(u)}return s}return y(n,[{key:"nodeOrShadowRoot",value:function(e){return e===this.hostEl?this.shadowRoot:e}},{key:"destroy",value:function(){this.sharedStylesHost.removeHost(this.shadowRoot)}},{key:"appendChild",value:function(e,t){return s(p(n.prototype),"appendChild",this).call(this,this.nodeOrShadowRoot(e),t)}},{key:"insertBefore",value:function(e,t,r){return s(p(n.prototype),"insertBefore",this).call(this,this.nodeOrShadowRoot(e),t,r)}},{key:"removeChild",value:function(e,t){return s(p(n.prototype),"removeChild",this).call(this,this.nodeOrShadowRoot(e),t)}},{key:"parentNode",value:function(e){return this.nodeOrShadowRoot(s(p(n.prototype),"parentNode",this).call(this,this.nodeOrShadowRoot(e)))}}]),n}(L),U=function(){var e=function(e){l(n,e);var t=d(n);function n(e){return v(this,n),t.call(this,e)}return y(n,[{key:"supports",value:function(e){return!0}},{key:"addEventListener",value:function(e,t,n){var r=this;return e.addEventListener(t,n,!1),function(){return r.removeEventListener(e,t,n)}}},{key:"removeEventListener",value:function(e,t,n){return e.removeEventListener(t,n)}}]),n}(O);return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](r.e))},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),H={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},G=new i.InjectionToken("HammerGestureConfig"),q=new i.InjectionToken("HammerLoader"),K=function(){var e=function(){function e(){v(this,e),this.events=[],this.overrides={}}return y(e,[{key:"buildHammer",value:function(e){var t=new Hammer(e,this.options);for(var n in t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0}),this.overrides)t.get(n).set(this.overrides[n]);return t}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),z=function(){var e=function(e){l(n,e);var t=d(n);function n(e,r,i,o){var a;return v(this,n),(a=t.call(this,e))._config=r,a.console=i,a.loader=o,a}return y(n,[{key:"supports",value:function(e){return!(!H.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e)||!window.Hammer&&!this.loader&&(this.console.warn('The "'.concat(e,'" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.')),1))}},{key:"addEventListener",value:function(e,t,n){var r=this,i=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){var o=!1,a=function(){o=!0};return this.loader().then((function(){if(!window.Hammer)return r.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(a=function(){});o||(a=r.addEventListener(e,t,n))})).catch((function(){r.console.warn('The "'.concat(t,'" event cannot be bound because the custom Hammer.JS loader failed.')),a=function(){}})),function(){a()}}return i.runOutsideAngular((function(){var o=r._config.buildHammer(e),a=function(e){i.runGuarded((function(){n(e)}))};return o.on(t,a),function(){o.off(t,a),"function"==typeof o.destroy&&o.destroy()}}))}},{key:"isCustomEvent",value:function(e){return this._config.events.indexOf(e)>-1}}]),n}(O);return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](r.e),i["\u0275\u0275inject"](G),i["\u0275\u0275inject"](i["\u0275Console"]),i["\u0275\u0275inject"](q,8))},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),Y=[],W=[{provide:I,useClass:z,multi:!0,deps:[r.e,G,i["\u0275Console"],[new i.Optional,q]]},{provide:G,useClass:K,deps:[]}],Z=Y,J=function(){var e=function e(){v(this,e)};return e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},providers:W}),e}(),Q=["alt","control","meta","shift"],X={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},$={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},ee={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},te=function(){var e=function(e){l(n,e);var t=d(n);function n(e){return v(this,n),t.call(this,e)}return y(n,[{key:"supports",value:function(e){return null!=n.parseEventName(e)}},{key:"addEventListener",value:function(e,t,i){var o=n.parseEventName(t),a=n.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular((function(){return Object(r.C)().onAndCancel(e,o.domEventName,a)}))}}],[{key:"parseEventName",value:function(e){var t=e.toLowerCase().split("."),r=t.shift();if(0===t.length||"keydown"!==r&&"keyup"!==r)return null;var i=n._normalizeKey(t.pop()),o="";if(Q.forEach((function(e){var n=t.indexOf(e);n>-1&&(t.splice(n,1),o+=e+".")})),o+=i,0!=t.length||0===i.length)return null;var a={};return a.domEventName=r,a.fullKey=o,a}},{key:"getEventFullKey",value:function(e){var t="",n=function(e){var t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&$.hasOwnProperty(t)&&(t=$[t]))}return X[t]||t}(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),Q.forEach((function(r){r!=n&&(0,ee[r])(e)&&(t+=r+".")})),t+=n}},{key:"eventCallback",value:function(e,t,r){return function(i){n.getEventFullKey(i)===e&&r.runGuarded((function(){return t(i)}))}}},{key:"_normalizeKey",value:function(e){switch(e){case"esc":return"escape";default:return e}}}]),n}(O);return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](r.e))},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),ne=function(){var e=function e(){v(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return Object(i["\u0275\u0275inject"])(ie)},token:e,providedIn:"root"}),e}();function re(e){return new ie(e.get(r.e))}var ie=function(){var e=function(e){l(n,e);var t=d(n);function n(e){var r;return v(this,n),(r=t.call(this))._doc=e,r}return y(n,[{key:"sanitize",value:function(e,t){if(null==t)return null;switch(e){case i.SecurityContext.NONE:return t;case i.SecurityContext.HTML:return Object(i["\u0275allowSanitizationBypassAndThrow"])(t,"HTML")?Object(i["\u0275unwrapSafeValue"])(t):Object(i["\u0275_sanitizeHtml"])(this._doc,String(t));case i.SecurityContext.STYLE:return Object(i["\u0275allowSanitizationBypassAndThrow"])(t,"Style")?Object(i["\u0275unwrapSafeValue"])(t):t;case i.SecurityContext.SCRIPT:if(Object(i["\u0275allowSanitizationBypassAndThrow"])(t,"Script"))return Object(i["\u0275unwrapSafeValue"])(t);throw new Error("unsafe value used in a script context");case i.SecurityContext.URL:return Object(i["\u0275getSanitizationBypassType"])(t),Object(i["\u0275allowSanitizationBypassAndThrow"])(t,"URL")?Object(i["\u0275unwrapSafeValue"])(t):Object(i["\u0275_sanitizeUrl"])(String(t));case i.SecurityContext.RESOURCE_URL:if(Object(i["\u0275allowSanitizationBypassAndThrow"])(t,"ResourceURL"))return Object(i["\u0275unwrapSafeValue"])(t);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext ".concat(e," (see http://g.co/ng/security#xss)"))}}},{key:"bypassSecurityTrustHtml",value:function(e){return Object(i["\u0275bypassSanitizationTrustHtml"])(e)}},{key:"bypassSecurityTrustStyle",value:function(e){return Object(i["\u0275bypassSanitizationTrustStyle"])(e)}},{key:"bypassSecurityTrustScript",value:function(e){return Object(i["\u0275bypassSanitizationTrustScript"])(e)}},{key:"bypassSecurityTrustUrl",value:function(e){return Object(i["\u0275bypassSanitizationTrustUrl"])(e)}},{key:"bypassSecurityTrustResourceUrl",value:function(e){return Object(i["\u0275bypassSanitizationTrustResourceUrl"])(e)}}]),n}(ne);return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](r.e))},e.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return re(Object(i["\u0275\u0275inject"])(i.INJECTOR))},token:e,providedIn:"root"}),e}();
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function oe(){c.makeCurrent(),g.init()}function ae(){return new i.ErrorHandler}function se(){return Object(i["\u0275setDocument"])(document),document}var ce=[{provide:i.PLATFORM_ID,useValue:r.B},{provide:i.PLATFORM_INITIALIZER,useValue:oe,multi:!0},{provide:r.e,useFactory:se,deps:[]}],le=[],ue=le,de=Object(i.createPlatformFactory)(i.platformCore,"browser",ce),he=[ue,{provide:i["\u0275INJECTOR_SCOPE"],useValue:"root"},{provide:i.ErrorHandler,useFactory:ae,deps:[]},{provide:I,useClass:U,multi:!0,deps:[r.e,i.NgZone,i.PLATFORM_ID]},{provide:I,useClass:te,multi:!0,deps:[r.e]},Z,{provide:F,useClass:F,deps:[x,A,i.APP_ID]},{provide:i.RendererFactory2,useExisting:F},{provide:T,useExisting:A},{provide:A,useClass:A,deps:[r.e]},{provide:i.Testability,useClass:i.Testability,deps:[i.NgZone]},{provide:x,useClass:x,deps:[I,i.NgZone]},E],fe=function(){var e=function(){function e(t){if(v(this,e),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.")}return y(e,null,[{key:"withServerTransition",value:function(t){return{ngModule:e,providers:[{provide:i.APP_ID,useValue:t.appId},{provide:h,useExisting:i.APP_ID},m]}}}]),e}();return e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)(i["\u0275\u0275inject"](e,12))},providers:he,imports:[r.c,i.ApplicationModule]}),e}();
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function me(){return new pe(Object(i["\u0275\u0275inject"])(r.e))}var pe=function(){var e=function(){function e(t){v(this,e),this._doc=t,this._dom=Object(r.C)()}return y(e,[{key:"addTag",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e?this._getOrCreateElement(e,t):null}},{key:"addTags",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e?e.reduce((function(e,r){return r&&e.push(t._getOrCreateElement(r,n)),e}),[]):[]}},{key:"getTag",value:function(e){return e&&this._doc.querySelector("meta[".concat(e,"]"))||null}},{key:"getTags",value:function(e){if(!e)return[];var t=this._doc.querySelectorAll("meta[".concat(e,"]"));return t?[].slice.call(t):[]}},{key:"updateTag",value:function(e,t){if(!e)return null;t=t||this._parseSelector(e);var n=this.getTag(t);return n?this._setMetaElementAttributes(e,n):this._getOrCreateElement(e,!0)}},{key:"removeTag",value:function(e){this.removeTagElement(this.getTag(e))}},{key:"removeTagElement",value:function(e){e&&this._dom.remove(e)}},{key:"_getOrCreateElement",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!t){var n=this._parseSelector(e),r=this.getTag(n);if(r&&this._containsAttributes(e,r))return r}var i=this._dom.createElement("meta");return this._setMetaElementAttributes(e,i),this._doc.getElementsByTagName("head")[0].appendChild(i),i}},{key:"_setMetaElementAttributes",value:function(e,t){return Object.keys(e).forEach((function(n){return t.setAttribute(n,e[n])})),t}},{key:"_parseSelector",value:function(e){var t=e.name?"name":"property";return"".concat(t,'="').concat(e[t],'"')}},{key:"_containsAttributes",value:function(e,t){return Object.keys(e).every((function(n){return t.getAttribute(n)===e[n]}))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](r.e))},e.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:me,token:e,providedIn:"root"}),e}();
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function ve(){return new ge(Object(i["\u0275\u0275inject"])(r.e))}var ge=function(){var e=function(){function e(t){v(this,e),this._doc=t}return y(e,[{key:"getTitle",value:function(){return this._doc.title}},{key:"setTitle",value:function(e){this._doc.title=e||""}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](r.e))},e.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:ve,token:e,providedIn:"root"}),e}(),ye="undefined"!=typeof window&&window||{},be=function e(t,n){v(this,e),this.msPerTick=t,this.numTicks=n},ke=function(){function e(t){v(this,e),this.appRef=t.injector.get(i.ApplicationRef)}return y(e,[{key:"timeChangeDetection",value:function(e){var t=e&&e.record,n=null!=ye.console.profile;t&&n&&ye.console.profile("Change Detection");for(var i=Object(r.C)().performanceNow(),o=0;o<5||Object(r.C)().performanceNow()-i<500;)this.appRef.tick(),o++;var a=Object(r.C)().performanceNow();t&&n&&ye.console.profileEnd("Change Detection");var s=(a-i)/o;return ye.console.log("ran ".concat(o," change detection cycles")),ye.console.log(s.toFixed(2)+" ms per check"),new be(s,o)}}]),e}();
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function Ce(e){return b("profiler",new ke(e)),e}function we(){b("profiler",null)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Se(e){var t={"&":"&a;",'"':"&q;","'":"&s;","<":"&l;",">":"&g;"};return e.replace(/[&"'<>]/g,(function(e){return t[e]}))}function _e(e){return e}var Ee=function(){var e=function(){function e(){v(this,e),this.store={},this.onSerializeCallbacks={}}return y(e,[{key:"get",value:function(e,t){return void 0!==this.store[e]?this.store[e]:t}},{key:"set",value:function(e,t){this.store[e]=t}},{key:"remove",value:function(e){delete this.store[e]}},{key:"hasKey",value:function(e){return this.store.hasOwnProperty(e)}},{key:"onSerialize",value:function(e,t){this.onSerializeCallbacks[e]=t}},{key:"toJson",value:function(){for(var e in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(e))try{this.store[e]=this.onSerializeCallbacks[e]()}catch(t){console.warn("Exception in onSerialize callback: ",t)}return JSON.stringify(this.store)}}],[{key:"init",value:function(t){var n=new e;return n.store=t,n}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}();function Ie(e,t){var n,r,i=e.getElementById(t+"-state"),o={};if(i&&i.textContent)try{o=JSON.parse((n=i.textContent,r={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"},n.replace(/&[^;]+;/g,(function(e){return r[e]}))))}catch(a){console.warn("Exception while restoring TransferState for app "+t,a)}return Ee.init(o)}var xe=function(){var e=function e(){v(this,e)};return e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},providers:[{provide:Ee,useFactory:Ie,deps:[r.e,i.APP_ID]}]}),e}(),Oe=function(){function e(){v(this,e)}return y(e,null,[{key:"all",value:function(){return function(){return!0}}},{key:"css",value:function(e){return function(t){return null!=t.nativeElement&&function(e,t){return!!Object(r.C)().isElementNode(e)&&(e.matches&&e.matches(t)||e.msMatchesSelector&&e.msMatchesSelector(t)||e.webkitMatchesSelector&&e.webkitMatchesSelector(t))}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */(t.nativeElement,e)}}},{key:"directive",value:function(e){return function(t){return-1!==t.providerTokens.indexOf(e)}}}]),e}(),Te=new i.Version("10.2.5");
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */},cp0P:function(e,t,r){"use strict";r.d(t,"a",(function(){return l}));var i=r("HDdC"),o=r("DH7j"),a=r("lJxs"),s=r("XoHu"),c=r("Cfvw");function l(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(1===t.length){var i=t[0];if(Object(o.a)(i))return u(i,null);if(Object(s.a)(i)&&Object.getPrototypeOf(i)===Object.prototype){var c=Object.keys(i);return u(c.map((function(e){return i[e]})),c)}}if("function"==typeof t[t.length-1]){var l=t.pop();return u(t=1===t.length&&Object(o.a)(t[0])?t[0]:t,null).pipe(Object(a.a)((function(e){return l.apply(void 0,n(e))})))}return u(t,null)}function u(e,t){return new i.a((function(n){var r=e.length;if(0!==r)for(var i=new Array(r),o=0,a=0,s=function(s){var l=Object(c.a)(e[s]),u=!1;n.add(l.subscribe({next:function(e){u||(u=!0,a++),i[s]=e},error:function(e){return n.error(e)},complete:function(){++o!==r&&u||(a===r&&n.next(t?t.reduce((function(e,t,n){return e[t]=i[n],e}),{}):i),n.complete())}}))},l=0;l<r;l++)s(l);else n.complete()}))}},crfB:function(e,t,n){var r=n("7B8A");e.exports=function(e,t){var n=Number(t);return r(e,6e4*n)}},crnd:function(e,t){function n(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="crnd"},czgO:function(e,t,n){var r=n("yNUO");e.exports=function(e){return r(e).getMonth()}},dEPG:function(e,t,n){var r=n("l0SJ");e.exports=function(){return r(new Date)}},dJQg:function(e,t,n){var r=n("yNUO");e.exports=function(e,t){var n=t&&Number(t.weekStartsOn)||0,i=r(e),o=i.getDay(),a=6+(o<n?-7:0)-(o-n);return i.setDate(i.getDate()+a),i.setHours(23,59,59,999),i}},dgaN:function(e,t,n){var r=n("yNUO");e.exports=function(e){return 2===r(e).getDay()}},eoPS:function(e,t,n){var r=n("iUbB");e.exports=function(e,t){var n=Number(t);return r(e,7*n)}},f9gI:function(e,t,n){var r=n("yNUO");e.exports=function(e,t){if(!(t instanceof Array))throw new TypeError(toString.call(t)+" is not an instance of Array");var n,i,o=r(e).getTime();return t.forEach((function(e,t){var a=r(e),s=Math.abs(o-a.getTime());(void 0===n||s<i)&&(n=t,i=s)})),n}},fupu:function(e,t,n){var r=n("pzWd");e.exports=function(e){if(r(e))return!isNaN(e);throw new TypeError(toString.call(e)+" is not an instance of Date")}},"g/AU":function(e,t,n){var r=n("rxuJ");e.exports=function(e,t){var n=Number(t);return r(e,-n)}},gRHU:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("2fFW"),i=n("NJ4a"),o={closed:!0,next:function(e){},error:function(e){if(r.a.useDeprecatedSynchronousErrorHandling)throw e;Object(i.a)(e)},complete:function(){}}},gUhM:function(e,t){e.exports=function(){var e=new Date,t=e.getFullYear(),n=e.getMonth(),r=e.getDate(),i=new Date(0);return i.setFullYear(t,n,r+1),i.setHours(0,0,0,0),i}},gfz1:function(e,t,n){var r=n("yNUO"),i=n("tMf1"),o=n("RJeW");e.exports=function(e){var t=r(e),n=i(t).getTime()-o(t).getTime();return Math.round(n/6048e5)+1}},gtzP:function(e,t,n){var r=n("tMf1");e.exports=function(e,t){var n=r(e),i=r(t),o=n.getTime()-6e4*n.getTimezoneOffset(),a=i.getTime()-6e4*i.getTimezoneOffset();return Math.round((o-a)/6048e5)}},gwEV:function(e,t,n){var r=n("F809");e.exports=function(e,t){var n=r(e,t)/3;return n>0?Math.floor(n):Math.ceil(n)}},hLnY:function(e,t,n){var r=n("yNUO");e.exports=function(e){var t=r(e).getDay();return 0===t&&(t=7),t}},hh1I:function(e,t,n){var r=n("iWRJ"),i=n("tMf1");e.exports=function(e){var t=r(e),n=new Date(0);n.setFullYear(t+1,0,4),n.setHours(0,0,0,0);var o=i(n);return o.setMilliseconds(o.getMilliseconds()-1),o}},iQJf:function(e,t,n){var r=n("/LN1");e.exports=function(e,t){var n=Number(t);return r(e,-n)}},iUbB:function(e,t,n){var r=n("yNUO");e.exports=function(e,t){var n=r(e),i=Number(t);return n.setDate(n.getDate()+i),n}},iWRJ:function(e,t,n){var r=n("yNUO"),i=n("tMf1");e.exports=function(e){var t=r(e),n=t.getFullYear(),o=new Date(0);o.setFullYear(n+1,0,4),o.setHours(0,0,0,0);var a=i(o),s=new Date(0);s.setFullYear(n,0,4),s.setHours(0,0,0,0);var c=i(s);return t.getTime()>=a.getTime()?n+1:t.getTime()>=c.getTime()?n:n-1}},iu1C:function(e,t,n){var r=n("yNUO");e.exports=function(e,t){var n=r(e),i=Number(t);return n.setMinutes(i),n}},jIFe:function(e,t,n){var r=n("yNUO");e.exports=function(e){return r(e).getMilliseconds()}},jZKg:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("HDdC"),i=n("quSY");function o(e,t){return new r.a((function(n){var r=new i.a,o=0;return r.add(t.schedule((function(){o!==e.length?(n.next(e[o++]),n.closed||r.add(this.schedule())):n.complete()}))),r}))}},kC7l:function(e,t,n){var r=n("yNUO");e.exports=function(e){return r(e).getTime()}},kJWO:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="function"==typeof Symbol&&Symbol.observable||"@@observable"},kOWh:function(e,t){var n=["M","MM","Q","D","DD","DDD","DDDD","d","E","W","WW","YY","YYYY","GG","GGGG","H","HH","h","hh","m","mm","s","ss","S","SS","SSS","Z","ZZ","X","x"];e.exports=function(e){var t=[];for(var r in e)e.hasOwnProperty(r)&&t.push(r);var i=n.concat(t).sort().reverse();return new RegExp("(\\[[^\\[]*\\])|(\\\\)?("+i.join("|")+"|.)","g")}},kRN8:function(e,t,n){var r=n("yNUO");e.exports=function(e,t){var n=r(e),i=Number(t);return n.setSeconds(i),n}},ktc5:function(e,t,n){(function(e){var r;/*! https://mths.be/he v1.2.0 by @mathias | MIT license */!function(i){"object"==typeof global&&global;var o=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,a=/[\x01-\x7F]/g,s=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,c=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,l={"\xad":"shy","\u200c":"zwnj","\u200d":"zwj","\u200e":"lrm","\u2063":"ic","\u2062":"it","\u2061":"af","\u200f":"rlm","\u200b":"ZeroWidthSpace","\u2060":"NoBreak","\u0311":"DownBreve","\u20db":"tdot","\u20dc":"DotDot","\t":"Tab","\n":"NewLine","\u2008":"puncsp","\u205f":"MediumSpace","\u2009":"thinsp","\u200a":"hairsp","\u2004":"emsp13","\u2002":"ensp","\u2005":"emsp14","\u2003":"emsp","\u2007":"numsp","\xa0":"nbsp","\u205f\u200a":"ThickSpace","\u203e":"oline",_:"lowbar","\u2010":"dash","\u2013":"ndash","\u2014":"mdash","\u2015":"horbar",",":"comma",";":"semi","\u204f":"bsemi",":":"colon","\u2a74":"Colone","!":"excl","\xa1":"iexcl","?":"quest","\xbf":"iquest",".":"period","\u2025":"nldr","\u2026":"mldr","\xb7":"middot","'":"apos","\u2018":"lsquo","\u2019":"rsquo","\u201a":"sbquo","\u2039":"lsaquo","\u203a":"rsaquo",'"':"quot","\u201c":"ldquo","\u201d":"rdquo","\u201e":"bdquo","\xab":"laquo","\xbb":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","\u2308":"lceil","\u2309":"rceil","\u230a":"lfloor","\u230b":"rfloor","\u2985":"lopar","\u2986":"ropar","\u298b":"lbrke","\u298c":"rbrke","\u298d":"lbrkslu","\u298e":"rbrksld","\u298f":"lbrksld","\u2990":"rbrkslu","\u2991":"langd","\u2992":"rangd","\u2993":"lparlt","\u2994":"rpargt","\u2995":"gtlPar","\u2996":"ltrPar","\u27e6":"lobrk","\u27e7":"robrk","\u27e8":"lang","\u27e9":"rang","\u27ea":"Lang","\u27eb":"Rang","\u27ec":"loang","\u27ed":"roang","\u2772":"lbbrk","\u2773":"rbbrk","\u2016":"Vert","\xa7":"sect","\xb6":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","\u2030":"permil","\u2031":"pertenk","\u2020":"dagger","\u2021":"Dagger","\u2022":"bull","\u2043":"hybull","\u2032":"prime","\u2033":"Prime","\u2034":"tprime","\u2057":"qprime","\u2035":"bprime","\u2041":"caret","`":"grave","\xb4":"acute","\u02dc":"tilde","^":"Hat","\xaf":"macr","\u02d8":"breve","\u02d9":"dot","\xa8":"die","\u02da":"ring","\u02dd":"dblac","\xb8":"cedil","\u02db":"ogon","\u02c6":"circ","\u02c7":"caron","\xb0":"deg","\xa9":"copy","\xae":"reg","\u2117":"copysr","\u2118":"wp","\u211e":"rx","\u2127":"mho","\u2129":"iiota","\u2190":"larr","\u219a":"nlarr","\u2192":"rarr","\u219b":"nrarr","\u2191":"uarr","\u2193":"darr","\u2194":"harr","\u21ae":"nharr","\u2195":"varr","\u2196":"nwarr","\u2197":"nearr","\u2198":"searr","\u2199":"swarr","\u219d":"rarrw","\u219d\u0338":"nrarrw","\u219e":"Larr","\u219f":"Uarr","\u21a0":"Rarr","\u21a1":"Darr","\u21a2":"larrtl","\u21a3":"rarrtl","\u21a4":"mapstoleft","\u21a5":"mapstoup","\u21a6":"map","\u21a7":"mapstodown","\u21a9":"larrhk","\u21aa":"rarrhk","\u21ab":"larrlp","\u21ac":"rarrlp","\u21ad":"harrw","\u21b0":"lsh","\u21b1":"rsh","\u21b2":"ldsh","\u21b3":"rdsh","\u21b5":"crarr","\u21b6":"cularr","\u21b7":"curarr","\u21ba":"olarr","\u21bb":"orarr","\u21bc":"lharu","\u21bd":"lhard","\u21be":"uharr","\u21bf":"uharl","\u21c0":"rharu","\u21c1":"rhard","\u21c2":"dharr","\u21c3":"dharl","\u21c4":"rlarr","\u21c5":"udarr","\u21c6":"lrarr","\u21c7":"llarr","\u21c8":"uuarr","\u21c9":"rrarr","\u21ca":"ddarr","\u21cb":"lrhar","\u21cc":"rlhar","\u21d0":"lArr","\u21cd":"nlArr","\u21d1":"uArr","\u21d2":"rArr","\u21cf":"nrArr","\u21d3":"dArr","\u21d4":"iff","\u21ce":"nhArr","\u21d5":"vArr","\u21d6":"nwArr","\u21d7":"neArr","\u21d8":"seArr","\u21d9":"swArr","\u21da":"lAarr","\u21db":"rAarr","\u21dd":"zigrarr","\u21e4":"larrb","\u21e5":"rarrb","\u21f5":"duarr","\u21fd":"loarr","\u21fe":"roarr","\u21ff":"hoarr","\u2200":"forall","\u2201":"comp","\u2202":"part","\u2202\u0338":"npart","\u2203":"exist","\u2204":"nexist","\u2205":"empty","\u2207":"Del","\u2208":"in","\u2209":"notin","\u220b":"ni","\u220c":"notni","\u03f6":"bepsi","\u220f":"prod","\u2210":"coprod","\u2211":"sum","+":"plus","\xb1":"pm","\xf7":"div","\xd7":"times","<":"lt","\u226e":"nlt","<\u20d2":"nvlt","=":"equals","\u2260":"ne","=\u20e5":"bne","\u2a75":"Equal",">":"gt","\u226f":"ngt",">\u20d2":"nvgt","\xac":"not","|":"vert","\xa6":"brvbar","\u2212":"minus","\u2213":"mp","\u2214":"plusdo","\u2044":"frasl","\u2216":"setmn","\u2217":"lowast","\u2218":"compfn","\u221a":"Sqrt","\u221d":"prop","\u221e":"infin","\u221f":"angrt","\u2220":"ang","\u2220\u20d2":"nang","\u2221":"angmsd","\u2222":"angsph","\u2223":"mid","\u2224":"nmid","\u2225":"par","\u2226":"npar","\u2227":"and","\u2228":"or","\u2229":"cap","\u2229\ufe00":"caps","\u222a":"cup","\u222a\ufe00":"cups","\u222b":"int","\u222c":"Int","\u222d":"tint","\u2a0c":"qint","\u222e":"oint","\u222f":"Conint","\u2230":"Cconint","\u2231":"cwint","\u2232":"cwconint","\u2233":"awconint","\u2234":"there4","\u2235":"becaus","\u2236":"ratio","\u2237":"Colon","\u2238":"minusd","\u223a":"mDDot","\u223b":"homtht","\u223c":"sim","\u2241":"nsim","\u223c\u20d2":"nvsim","\u223d":"bsim","\u223d\u0331":"race","\u223e":"ac","\u223e\u0333":"acE","\u223f":"acd","\u2240":"wr","\u2242":"esim","\u2242\u0338":"nesim","\u2243":"sime","\u2244":"nsime","\u2245":"cong","\u2247":"ncong","\u2246":"simne","\u2248":"ap","\u2249":"nap","\u224a":"ape","\u224b":"apid","\u224b\u0338":"napid","\u224c":"bcong","\u224d":"CupCap","\u226d":"NotCupCap","\u224d\u20d2":"nvap","\u224e":"bump","\u224e\u0338":"nbump","\u224f":"bumpe","\u224f\u0338":"nbumpe","\u2250":"doteq","\u2250\u0338":"nedot","\u2251":"eDot","\u2252":"efDot","\u2253":"erDot","\u2254":"colone","\u2255":"ecolon","\u2256":"ecir","\u2257":"cire","\u2259":"wedgeq","\u225a":"veeeq","\u225c":"trie","\u225f":"equest","\u2261":"equiv","\u2262":"nequiv","\u2261\u20e5":"bnequiv","\u2264":"le","\u2270":"nle","\u2264\u20d2":"nvle","\u2265":"ge","\u2271":"nge","\u2265\u20d2":"nvge","\u2266":"lE","\u2266\u0338":"nlE","\u2267":"gE","\u2267\u0338":"ngE","\u2268\ufe00":"lvnE","\u2268":"lnE","\u2269":"gnE","\u2269\ufe00":"gvnE","\u226a":"ll","\u226a\u0338":"nLtv","\u226a\u20d2":"nLt","\u226b":"gg","\u226b\u0338":"nGtv","\u226b\u20d2":"nGt","\u226c":"twixt","\u2272":"lsim","\u2274":"nlsim","\u2273":"gsim","\u2275":"ngsim","\u2276":"lg","\u2278":"ntlg","\u2277":"gl","\u2279":"ntgl","\u227a":"pr","\u2280":"npr","\u227b":"sc","\u2281":"nsc","\u227c":"prcue","\u22e0":"nprcue","\u227d":"sccue","\u22e1":"nsccue","\u227e":"prsim","\u227f":"scsim","\u227f\u0338":"NotSucceedsTilde","\u2282":"sub","\u2284":"nsub","\u2282\u20d2":"vnsub","\u2283":"sup","\u2285":"nsup","\u2283\u20d2":"vnsup","\u2286":"sube","\u2288":"nsube","\u2287":"supe","\u2289":"nsupe","\u228a\ufe00":"vsubne","\u228a":"subne","\u228b\ufe00":"vsupne","\u228b":"supne","\u228d":"cupdot","\u228e":"uplus","\u228f":"sqsub","\u228f\u0338":"NotSquareSubset","\u2290":"sqsup","\u2290\u0338":"NotSquareSuperset","\u2291":"sqsube","\u22e2":"nsqsube","\u2292":"sqsupe","\u22e3":"nsqsupe","\u2293":"sqcap","\u2293\ufe00":"sqcaps","\u2294":"sqcup","\u2294\ufe00":"sqcups","\u2295":"oplus","\u2296":"ominus","\u2297":"otimes","\u2298":"osol","\u2299":"odot","\u229a":"ocir","\u229b":"oast","\u229d":"odash","\u229e":"plusb","\u229f":"minusb","\u22a0":"timesb","\u22a1":"sdotb","\u22a2":"vdash","\u22ac":"nvdash","\u22a3":"dashv","\u22a4":"top","\u22a5":"bot","\u22a7":"models","\u22a8":"vDash","\u22ad":"nvDash","\u22a9":"Vdash","\u22ae":"nVdash","\u22aa":"Vvdash","\u22ab":"VDash","\u22af":"nVDash","\u22b0":"prurel","\u22b2":"vltri","\u22ea":"nltri","\u22b3":"vrtri","\u22eb":"nrtri","\u22b4":"ltrie","\u22ec":"nltrie","\u22b4\u20d2":"nvltrie","\u22b5":"rtrie","\u22ed":"nrtrie","\u22b5\u20d2":"nvrtrie","\u22b6":"origof","\u22b7":"imof","\u22b8":"mumap","\u22b9":"hercon","\u22ba":"intcal","\u22bb":"veebar","\u22bd":"barvee","\u22be":"angrtvb","\u22bf":"lrtri","\u22c0":"Wedge","\u22c1":"Vee","\u22c2":"xcap","\u22c3":"xcup","\u22c4":"diam","\u22c5":"sdot","\u22c6":"Star","\u22c7":"divonx","\u22c8":"bowtie","\u22c9":"ltimes","\u22ca":"rtimes","\u22cb":"lthree","\u22cc":"rthree","\u22cd":"bsime","\u22ce":"cuvee","\u22cf":"cuwed","\u22d0":"Sub","\u22d1":"Sup","\u22d2":"Cap","\u22d3":"Cup","\u22d4":"fork","\u22d5":"epar","\u22d6":"ltdot","\u22d7":"gtdot","\u22d8":"Ll","\u22d8\u0338":"nLl","\u22d9":"Gg","\u22d9\u0338":"nGg","\u22da\ufe00":"lesg","\u22da":"leg","\u22db":"gel","\u22db\ufe00":"gesl","\u22de":"cuepr","\u22df":"cuesc","\u22e6":"lnsim","\u22e7":"gnsim","\u22e8":"prnsim","\u22e9":"scnsim","\u22ee":"vellip","\u22ef":"ctdot","\u22f0":"utdot","\u22f1":"dtdot","\u22f2":"disin","\u22f3":"isinsv","\u22f4":"isins","\u22f5":"isindot","\u22f5\u0338":"notindot","\u22f6":"notinvc","\u22f7":"notinvb","\u22f9":"isinE","\u22f9\u0338":"notinE","\u22fa":"nisd","\u22fb":"xnis","\u22fc":"nis","\u22fd":"notnivc","\u22fe":"notnivb","\u2305":"barwed","\u2306":"Barwed","\u230c":"drcrop","\u230d":"dlcrop","\u230e":"urcrop","\u230f":"ulcrop","\u2310":"bnot","\u2312":"profline","\u2313":"profsurf","\u2315":"telrec","\u2316":"target","\u231c":"ulcorn","\u231d":"urcorn","\u231e":"dlcorn","\u231f":"drcorn","\u2322":"frown","\u2323":"smile","\u232d":"cylcty","\u232e":"profalar","\u2336":"topbot","\u233d":"ovbar","\u233f":"solbar","\u237c":"angzarr","\u23b0":"lmoust","\u23b1":"rmoust","\u23b4":"tbrk","\u23b5":"bbrk","\u23b6":"bbrktbrk","\u23dc":"OverParenthesis","\u23dd":"UnderParenthesis","\u23de":"OverBrace","\u23df":"UnderBrace","\u23e2":"trpezium","\u23e7":"elinters","\u2423":"blank","\u2500":"boxh","\u2502":"boxv","\u250c":"boxdr","\u2510":"boxdl","\u2514":"boxur","\u2518":"boxul","\u251c":"boxvr","\u2524":"boxvl","\u252c":"boxhd","\u2534":"boxhu","\u253c":"boxvh","\u2550":"boxH","\u2551":"boxV","\u2552":"boxdR","\u2553":"boxDr","\u2554":"boxDR","\u2555":"boxdL","\u2556":"boxDl","\u2557":"boxDL","\u2558":"boxuR","\u2559":"boxUr","\u255a":"boxUR","\u255b":"boxuL","\u255c":"boxUl","\u255d":"boxUL","\u255e":"boxvR","\u255f":"boxVr","\u2560":"boxVR","\u2561":"boxvL","\u2562":"boxVl","\u2563":"boxVL","\u2564":"boxHd","\u2565":"boxhD","\u2566":"boxHD","\u2567":"boxHu","\u2568":"boxhU","\u2569":"boxHU","\u256a":"boxvH","\u256b":"boxVh","\u256c":"boxVH","\u2580":"uhblk","\u2584":"lhblk","\u2588":"block","\u2591":"blk14","\u2592":"blk12","\u2593":"blk34","\u25a1":"squ","\u25aa":"squf","\u25ab":"EmptyVerySmallSquare","\u25ad":"rect","\u25ae":"marker","\u25b1":"fltns","\u25b3":"xutri","\u25b4":"utrif","\u25b5":"utri","\u25b8":"rtrif","\u25b9":"rtri","\u25bd":"xdtri","\u25be":"dtrif","\u25bf":"dtri","\u25c2":"ltrif","\u25c3":"ltri","\u25ca":"loz","\u25cb":"cir","\u25ec":"tridot","\u25ef":"xcirc","\u25f8":"ultri","\u25f9":"urtri","\u25fa":"lltri","\u25fb":"EmptySmallSquare","\u25fc":"FilledSmallSquare","\u2605":"starf","\u2606":"star","\u260e":"phone","\u2640":"female","\u2642":"male","\u2660":"spades","\u2663":"clubs","\u2665":"hearts","\u2666":"diams","\u266a":"sung","\u2713":"check","\u2717":"cross","\u2720":"malt","\u2736":"sext","\u2758":"VerticalSeparator","\u27c8":"bsolhsub","\u27c9":"suphsol","\u27f5":"xlarr","\u27f6":"xrarr","\u27f7":"xharr","\u27f8":"xlArr","\u27f9":"xrArr","\u27fa":"xhArr","\u27fc":"xmap","\u27ff":"dzigrarr","\u2902":"nvlArr","\u2903":"nvrArr","\u2904":"nvHarr","\u2905":"Map","\u290c":"lbarr","\u290d":"rbarr","\u290e":"lBarr","\u290f":"rBarr","\u2910":"RBarr","\u2911":"DDotrahd","\u2912":"UpArrowBar","\u2913":"DownArrowBar","\u2916":"Rarrtl","\u2919":"latail","\u291a":"ratail","\u291b":"lAtail","\u291c":"rAtail","\u291d":"larrfs","\u291e":"rarrfs","\u291f":"larrbfs","\u2920":"rarrbfs","\u2923":"nwarhk","\u2924":"nearhk","\u2925":"searhk","\u2926":"swarhk","\u2927":"nwnear","\u2928":"toea","\u2929":"tosa","\u292a":"swnwar","\u2933":"rarrc","\u2933\u0338":"nrarrc","\u2935":"cudarrr","\u2936":"ldca","\u2937":"rdca","\u2938":"cudarrl","\u2939":"larrpl","\u293c":"curarrm","\u293d":"cularrp","\u2945":"rarrpl","\u2948":"harrcir","\u2949":"Uarrocir","\u294a":"lurdshar","\u294b":"ldrushar","\u294e":"LeftRightVector","\u294f":"RightUpDownVector","\u2950":"DownLeftRightVector","\u2951":"LeftUpDownVector","\u2952":"LeftVectorBar","\u2953":"RightVectorBar","\u2954":"RightUpVectorBar","\u2955":"RightDownVectorBar","\u2956":"DownLeftVectorBar","\u2957":"DownRightVectorBar","\u2958":"LeftUpVectorBar","\u2959":"LeftDownVectorBar","\u295a":"LeftTeeVector","\u295b":"RightTeeVector","\u295c":"RightUpTeeVector","\u295d":"RightDownTeeVector","\u295e":"DownLeftTeeVector","\u295f":"DownRightTeeVector","\u2960":"LeftUpTeeVector","\u2961":"LeftDownTeeVector","\u2962":"lHar","\u2963":"uHar","\u2964":"rHar","\u2965":"dHar","\u2966":"luruhar","\u2967":"ldrdhar","\u2968":"ruluhar","\u2969":"rdldhar","\u296a":"lharul","\u296b":"llhard","\u296c":"rharul","\u296d":"lrhard","\u296e":"udhar","\u296f":"duhar","\u2970":"RoundImplies","\u2971":"erarr","\u2972":"simrarr","\u2973":"larrsim","\u2974":"rarrsim","\u2975":"rarrap","\u2976":"ltlarr","\u2978":"gtrarr","\u2979":"subrarr","\u297b":"suplarr","\u297c":"lfisht","\u297d":"rfisht","\u297e":"ufisht","\u297f":"dfisht","\u299a":"vzigzag","\u299c":"vangrt","\u299d":"angrtvbd","\u29a4":"ange","\u29a5":"range","\u29a6":"dwangle","\u29a7":"uwangle","\u29a8":"angmsdaa","\u29a9":"angmsdab","\u29aa":"angmsdac","\u29ab":"angmsdad","\u29ac":"angmsdae","\u29ad":"angmsdaf","\u29ae":"angmsdag","\u29af":"angmsdah","\u29b0":"bemptyv","\u29b1":"demptyv","\u29b2":"cemptyv","\u29b3":"raemptyv","\u29b4":"laemptyv","\u29b5":"ohbar","\u29b6":"omid","\u29b7":"opar","\u29b9":"operp","\u29bb":"olcross","\u29bc":"odsold","\u29be":"olcir","\u29bf":"ofcir","\u29c0":"olt","\u29c1":"ogt","\u29c2":"cirscir","\u29c3":"cirE","\u29c4":"solb","\u29c5":"bsolb","\u29c9":"boxbox","\u29cd":"trisb","\u29ce":"rtriltri","\u29cf":"LeftTriangleBar","\u29cf\u0338":"NotLeftTriangleBar","\u29d0":"RightTriangleBar","\u29d0\u0338":"NotRightTriangleBar","\u29dc":"iinfin","\u29dd":"infintie","\u29de":"nvinfin","\u29e3":"eparsl","\u29e4":"smeparsl","\u29e5":"eqvparsl","\u29eb":"lozf","\u29f4":"RuleDelayed","\u29f6":"dsol","\u2a00":"xodot","\u2a01":"xoplus","\u2a02":"xotime","\u2a04":"xuplus","\u2a06":"xsqcup","\u2a0d":"fpartint","\u2a10":"cirfnint","\u2a11":"awint","\u2a12":"rppolint","\u2a13":"scpolint","\u2a14":"npolint","\u2a15":"pointint","\u2a16":"quatint","\u2a17":"intlarhk","\u2a22":"pluscir","\u2a23":"plusacir","\u2a24":"simplus","\u2a25":"plusdu","\u2a26":"plussim","\u2a27":"plustwo","\u2a29":"mcomma","\u2a2a":"minusdu","\u2a2d":"loplus","\u2a2e":"roplus","\u2a2f":"Cross","\u2a30":"timesd","\u2a31":"timesbar","\u2a33":"smashp","\u2a34":"lotimes","\u2a35":"rotimes","\u2a36":"otimesas","\u2a37":"Otimes","\u2a38":"odiv","\u2a39":"triplus","\u2a3a":"triminus","\u2a3b":"tritime","\u2a3c":"iprod","\u2a3f":"amalg","\u2a40":"capdot","\u2a42":"ncup","\u2a43":"ncap","\u2a44":"capand","\u2a45":"cupor","\u2a46":"cupcap","\u2a47":"capcup","\u2a48":"cupbrcap","\u2a49":"capbrcup","\u2a4a":"cupcup","\u2a4b":"capcap","\u2a4c":"ccups","\u2a4d":"ccaps","\u2a50":"ccupssm","\u2a53":"And","\u2a54":"Or","\u2a55":"andand","\u2a56":"oror","\u2a57":"orslope","\u2a58":"andslope","\u2a5a":"andv","\u2a5b":"orv","\u2a5c":"andd","\u2a5d":"ord","\u2a5f":"wedbar","\u2a66":"sdote","\u2a6a":"simdot","\u2a6d":"congdot","\u2a6d\u0338":"ncongdot","\u2a6e":"easter","\u2a6f":"apacir","\u2a70":"apE","\u2a70\u0338":"napE","\u2a71":"eplus","\u2a72":"pluse","\u2a73":"Esim","\u2a77":"eDDot","\u2a78":"equivDD","\u2a79":"ltcir","\u2a7a":"gtcir","\u2a7b":"ltquest","\u2a7c":"gtquest","\u2a7d":"les","\u2a7d\u0338":"nles","\u2a7e":"ges","\u2a7e\u0338":"nges","\u2a7f":"lesdot","\u2a80":"gesdot","\u2a81":"lesdoto","\u2a82":"gesdoto","\u2a83":"lesdotor","\u2a84":"gesdotol","\u2a85":"lap","\u2a86":"gap","\u2a87":"lne","\u2a88":"gne","\u2a89":"lnap","\u2a8a":"gnap","\u2a8b":"lEg","\u2a8c":"gEl","\u2a8d":"lsime","\u2a8e":"gsime","\u2a8f":"lsimg","\u2a90":"gsiml","\u2a91":"lgE","\u2a92":"glE","\u2a93":"lesges","\u2a94":"gesles","\u2a95":"els","\u2a96":"egs","\u2a97":"elsdot","\u2a98":"egsdot","\u2a99":"el","\u2a9a":"eg","\u2a9d":"siml","\u2a9e":"simg","\u2a9f":"simlE","\u2aa0":"simgE","\u2aa1":"LessLess","\u2aa1\u0338":"NotNestedLessLess","\u2aa2":"GreaterGreater","\u2aa2\u0338":"NotNestedGreaterGreater","\u2aa4":"glj","\u2aa5":"gla","\u2aa6":"ltcc","\u2aa7":"gtcc","\u2aa8":"lescc","\u2aa9":"gescc","\u2aaa":"smt","\u2aab":"lat","\u2aac":"smte","\u2aac\ufe00":"smtes","\u2aad":"late","\u2aad\ufe00":"lates","\u2aae":"bumpE","\u2aaf":"pre","\u2aaf\u0338":"npre","\u2ab0":"sce","\u2ab0\u0338":"nsce","\u2ab3":"prE","\u2ab4":"scE","\u2ab5":"prnE","\u2ab6":"scnE","\u2ab7":"prap","\u2ab8":"scap","\u2ab9":"prnap","\u2aba":"scnap","\u2abb":"Pr","\u2abc":"Sc","\u2abd":"subdot","\u2abe":"supdot","\u2abf":"subplus","\u2ac0":"supplus","\u2ac1":"submult","\u2ac2":"supmult","\u2ac3":"subedot","\u2ac4":"supedot","\u2ac5":"subE","\u2ac5\u0338":"nsubE","\u2ac6":"supE","\u2ac6\u0338":"nsupE","\u2ac7":"subsim","\u2ac8":"supsim","\u2acb\ufe00":"vsubnE","\u2acb":"subnE","\u2acc\ufe00":"vsupnE","\u2acc":"supnE","\u2acf":"csub","\u2ad0":"csup","\u2ad1":"csube","\u2ad2":"csupe","\u2ad3":"subsup","\u2ad4":"supsub","\u2ad5":"subsub","\u2ad6":"supsup","\u2ad7":"suphsub","\u2ad8":"supdsub","\u2ad9":"forkv","\u2ada":"topfork","\u2adb":"mlcp","\u2ae4":"Dashv","\u2ae6":"Vdashl","\u2ae7":"Barv","\u2ae8":"vBar","\u2ae9":"vBarv","\u2aeb":"Vbar","\u2aec":"Not","\u2aed":"bNot","\u2aee":"rnmid","\u2aef":"cirmid","\u2af0":"midcir","\u2af1":"topcir","\u2af2":"nhpar","\u2af3":"parsim","\u2afd":"parsl","\u2afd\u20e5":"nparsl","\u266d":"flat","\u266e":"natur","\u266f":"sharp","\xa4":"curren","\xa2":"cent",$:"dollar","\xa3":"pound","\xa5":"yen","\u20ac":"euro","\xb9":"sup1","\xbd":"half","\u2153":"frac13","\xbc":"frac14","\u2155":"frac15","\u2159":"frac16","\u215b":"frac18","\xb2":"sup2","\u2154":"frac23","\u2156":"frac25","\xb3":"sup3","\xbe":"frac34","\u2157":"frac35","\u215c":"frac38","\u2158":"frac45","\u215a":"frac56","\u215d":"frac58","\u215e":"frac78","\ud835\udcb6":"ascr","\ud835\udd52":"aopf","\ud835\udd1e":"afr","\ud835\udd38":"Aopf","\ud835\udd04":"Afr","\ud835\udc9c":"Ascr","\xaa":"ordf","\xe1":"aacute","\xc1":"Aacute","\xe0":"agrave","\xc0":"Agrave","\u0103":"abreve","\u0102":"Abreve","\xe2":"acirc","\xc2":"Acirc","\xe5":"aring","\xc5":"angst","\xe4":"auml","\xc4":"Auml","\xe3":"atilde","\xc3":"Atilde","\u0105":"aogon","\u0104":"Aogon","\u0101":"amacr","\u0100":"Amacr","\xe6":"aelig","\xc6":"AElig","\ud835\udcb7":"bscr","\ud835\udd53":"bopf","\ud835\udd1f":"bfr","\ud835\udd39":"Bopf","\u212c":"Bscr","\ud835\udd05":"Bfr","\ud835\udd20":"cfr","\ud835\udcb8":"cscr","\ud835\udd54":"copf","\u212d":"Cfr","\ud835\udc9e":"Cscr","\u2102":"Copf","\u0107":"cacute","\u0106":"Cacute","\u0109":"ccirc","\u0108":"Ccirc","\u010d":"ccaron","\u010c":"Ccaron","\u010b":"cdot","\u010a":"Cdot","\xe7":"ccedil","\xc7":"Ccedil","\u2105":"incare","\ud835\udd21":"dfr","\u2146":"dd","\ud835\udd55":"dopf","\ud835\udcb9":"dscr","\ud835\udc9f":"Dscr","\ud835\udd07":"Dfr","\u2145":"DD","\ud835\udd3b":"Dopf","\u010f":"dcaron","\u010e":"Dcaron","\u0111":"dstrok","\u0110":"Dstrok","\xf0":"eth","\xd0":"ETH","\u2147":"ee","\u212f":"escr","\ud835\udd22":"efr","\ud835\udd56":"eopf","\u2130":"Escr","\ud835\udd08":"Efr","\ud835\udd3c":"Eopf","\xe9":"eacute","\xc9":"Eacute","\xe8":"egrave","\xc8":"Egrave","\xea":"ecirc","\xca":"Ecirc","\u011b":"ecaron","\u011a":"Ecaron","\xeb":"euml","\xcb":"Euml","\u0117":"edot","\u0116":"Edot","\u0119":"eogon","\u0118":"Eogon","\u0113":"emacr","\u0112":"Emacr","\ud835\udd23":"ffr","\ud835\udd57":"fopf","\ud835\udcbb":"fscr","\ud835\udd09":"Ffr","\ud835\udd3d":"Fopf","\u2131":"Fscr","\ufb00":"fflig","\ufb03":"ffilig","\ufb04":"ffllig","\ufb01":"filig",fj:"fjlig","\ufb02":"fllig","\u0192":"fnof","\u210a":"gscr","\ud835\udd58":"gopf","\ud835\udd24":"gfr","\ud835\udca2":"Gscr","\ud835\udd3e":"Gopf","\ud835\udd0a":"Gfr","\u01f5":"gacute","\u011f":"gbreve","\u011e":"Gbreve","\u011d":"gcirc","\u011c":"Gcirc","\u0121":"gdot","\u0120":"Gdot","\u0122":"Gcedil","\ud835\udd25":"hfr","\u210e":"planckh","\ud835\udcbd":"hscr","\ud835\udd59":"hopf","\u210b":"Hscr","\u210c":"Hfr","\u210d":"Hopf","\u0125":"hcirc","\u0124":"Hcirc","\u210f":"hbar","\u0127":"hstrok","\u0126":"Hstrok","\ud835\udd5a":"iopf","\ud835\udd26":"ifr","\ud835\udcbe":"iscr","\u2148":"ii","\ud835\udd40":"Iopf","\u2110":"Iscr","\u2111":"Im","\xed":"iacute","\xcd":"Iacute","\xec":"igrave","\xcc":"Igrave","\xee":"icirc","\xce":"Icirc","\xef":"iuml","\xcf":"Iuml","\u0129":"itilde","\u0128":"Itilde","\u0130":"Idot","\u012f":"iogon","\u012e":"Iogon","\u012b":"imacr","\u012a":"Imacr","\u0133":"ijlig","\u0132":"IJlig","\u0131":"imath","\ud835\udcbf":"jscr","\ud835\udd5b":"jopf","\ud835\udd27":"jfr","\ud835\udca5":"Jscr","\ud835\udd0d":"Jfr","\ud835\udd41":"Jopf","\u0135":"jcirc","\u0134":"Jcirc","\u0237":"jmath","\ud835\udd5c":"kopf","\ud835\udcc0":"kscr","\ud835\udd28":"kfr","\ud835\udca6":"Kscr","\ud835\udd42":"Kopf","\ud835\udd0e":"Kfr","\u0137":"kcedil","\u0136":"Kcedil","\ud835\udd29":"lfr","\ud835\udcc1":"lscr","\u2113":"ell","\ud835\udd5d":"lopf","\u2112":"Lscr","\ud835\udd0f":"Lfr","\ud835\udd43":"Lopf","\u013a":"lacute","\u0139":"Lacute","\u013e":"lcaron","\u013d":"Lcaron","\u013c":"lcedil","\u013b":"Lcedil","\u0142":"lstrok","\u0141":"Lstrok","\u0140":"lmidot","\u013f":"Lmidot","\ud835\udd2a":"mfr","\ud835\udd5e":"mopf","\ud835\udcc2":"mscr","\ud835\udd10":"Mfr","\ud835\udd44":"Mopf","\u2133":"Mscr","\ud835\udd2b":"nfr","\ud835\udd5f":"nopf","\ud835\udcc3":"nscr","\u2115":"Nopf","\ud835\udca9":"Nscr","\ud835\udd11":"Nfr","\u0144":"nacute","\u0143":"Nacute","\u0148":"ncaron","\u0147":"Ncaron","\xf1":"ntilde","\xd1":"Ntilde","\u0146":"ncedil","\u0145":"Ncedil","\u2116":"numero","\u014b":"eng","\u014a":"ENG","\ud835\udd60":"oopf","\ud835\udd2c":"ofr","\u2134":"oscr","\ud835\udcaa":"Oscr","\ud835\udd12":"Ofr","\ud835\udd46":"Oopf","\xba":"ordm","\xf3":"oacute","\xd3":"Oacute","\xf2":"ograve","\xd2":"Ograve","\xf4":"ocirc","\xd4":"Ocirc","\xf6":"ouml","\xd6":"Ouml","\u0151":"odblac","\u0150":"Odblac","\xf5":"otilde","\xd5":"Otilde","\xf8":"oslash","\xd8":"Oslash","\u014d":"omacr","\u014c":"Omacr","\u0153":"oelig","\u0152":"OElig","\ud835\udd2d":"pfr","\ud835\udcc5":"pscr","\ud835\udd61":"popf","\u2119":"Popf","\ud835\udd13":"Pfr","\ud835\udcab":"Pscr","\ud835\udd62":"qopf","\ud835\udd2e":"qfr","\ud835\udcc6":"qscr","\ud835\udcac":"Qscr","\ud835\udd14":"Qfr","\u211a":"Qopf","\u0138":"kgreen","\ud835\udd2f":"rfr","\ud835\udd63":"ropf","\ud835\udcc7":"rscr","\u211b":"Rscr","\u211c":"Re","\u211d":"Ropf","\u0155":"racute","\u0154":"Racute","\u0159":"rcaron","\u0158":"Rcaron","\u0157":"rcedil","\u0156":"Rcedil","\ud835\udd64":"sopf","\ud835\udcc8":"sscr","\ud835\udd30":"sfr","\ud835\udd4a":"Sopf","\ud835\udd16":"Sfr","\ud835\udcae":"Sscr","\u24c8":"oS","\u015b":"sacute","\u015a":"Sacute","\u015d":"scirc","\u015c":"Scirc","\u0161":"scaron","\u0160":"Scaron","\u015f":"scedil","\u015e":"Scedil","\xdf":"szlig","\ud835\udd31":"tfr","\ud835\udcc9":"tscr","\ud835\udd65":"topf","\ud835\udcaf":"Tscr","\ud835\udd17":"Tfr","\ud835\udd4b":"Topf","\u0165":"tcaron","\u0164":"Tcaron","\u0163":"tcedil","\u0162":"Tcedil","\u2122":"trade","\u0167":"tstrok","\u0166":"Tstrok","\ud835\udcca":"uscr","\ud835\udd66":"uopf","\ud835\udd32":"ufr","\ud835\udd4c":"Uopf","\ud835\udd18":"Ufr","\ud835\udcb0":"Uscr","\xfa":"uacute","\xda":"Uacute","\xf9":"ugrave","\xd9":"Ugrave","\u016d":"ubreve","\u016c":"Ubreve","\xfb":"ucirc","\xdb":"Ucirc","\u016f":"uring","\u016e":"Uring","\xfc":"uuml","\xdc":"Uuml","\u0171":"udblac","\u0170":"Udblac","\u0169":"utilde","\u0168":"Utilde","\u0173":"uogon","\u0172":"Uogon","\u016b":"umacr","\u016a":"Umacr","\ud835\udd33":"vfr","\ud835\udd67":"vopf","\ud835\udccb":"vscr","\ud835\udd19":"Vfr","\ud835\udd4d":"Vopf","\ud835\udcb1":"Vscr","\ud835\udd68":"wopf","\ud835\udccc":"wscr","\ud835\udd34":"wfr","\ud835\udcb2":"Wscr","\ud835\udd4e":"Wopf","\ud835\udd1a":"Wfr","\u0175":"wcirc","\u0174":"Wcirc","\ud835\udd35":"xfr","\ud835\udccd":"xscr","\ud835\udd69":"xopf","\ud835\udd4f":"Xopf","\ud835\udd1b":"Xfr","\ud835\udcb3":"Xscr","\ud835\udd36":"yfr","\ud835\udcce":"yscr","\ud835\udd6a":"yopf","\ud835\udcb4":"Yscr","\ud835\udd1c":"Yfr","\ud835\udd50":"Yopf","\xfd":"yacute","\xdd":"Yacute","\u0177":"ycirc","\u0176":"Ycirc","\xff":"yuml","\u0178":"Yuml","\ud835\udccf":"zscr","\ud835\udd37":"zfr","\ud835\udd6b":"zopf","\u2128":"Zfr","\u2124":"Zopf","\ud835\udcb5":"Zscr","\u017a":"zacute","\u0179":"Zacute","\u017e":"zcaron","\u017d":"Zcaron","\u017c":"zdot","\u017b":"Zdot","\u01b5":"imped","\xfe":"thorn","\xde":"THORN","\u0149":"napos","\u03b1":"alpha","\u0391":"Alpha","\u03b2":"beta","\u0392":"Beta","\u03b3":"gamma","\u0393":"Gamma","\u03b4":"delta","\u0394":"Delta","\u03b5":"epsi","\u03f5":"epsiv","\u0395":"Epsilon","\u03dd":"gammad","\u03dc":"Gammad","\u03b6":"zeta","\u0396":"Zeta","\u03b7":"eta","\u0397":"Eta","\u03b8":"theta","\u03d1":"thetav","\u0398":"Theta","\u03b9":"iota","\u0399":"Iota","\u03ba":"kappa","\u03f0":"kappav","\u039a":"Kappa","\u03bb":"lambda","\u039b":"Lambda","\u03bc":"mu","\xb5":"micro","\u039c":"Mu","\u03bd":"nu","\u039d":"Nu","\u03be":"xi","\u039e":"Xi","\u03bf":"omicron","\u039f":"Omicron","\u03c0":"pi","\u03d6":"piv","\u03a0":"Pi","\u03c1":"rho","\u03f1":"rhov","\u03a1":"Rho","\u03c3":"sigma","\u03a3":"Sigma","\u03c2":"sigmaf","\u03c4":"tau","\u03a4":"Tau","\u03c5":"upsi","\u03a5":"Upsilon","\u03d2":"Upsi","\u03c6":"phi","\u03d5":"phiv","\u03a6":"Phi","\u03c7":"chi","\u03a7":"Chi","\u03c8":"psi","\u03a8":"Psi","\u03c9":"omega","\u03a9":"ohm","\u0430":"acy","\u0410":"Acy","\u0431":"bcy","\u0411":"Bcy","\u0432":"vcy","\u0412":"Vcy","\u0433":"gcy","\u0413":"Gcy","\u0453":"gjcy","\u0403":"GJcy","\u0434":"dcy","\u0414":"Dcy","\u0452":"djcy","\u0402":"DJcy","\u0435":"iecy","\u0415":"IEcy","\u0451":"iocy","\u0401":"IOcy","\u0454":"jukcy","\u0404":"Jukcy","\u0436":"zhcy","\u0416":"ZHcy","\u0437":"zcy","\u0417":"Zcy","\u0455":"dscy","\u0405":"DScy","\u0438":"icy","\u0418":"Icy","\u0456":"iukcy","\u0406":"Iukcy","\u0457":"yicy","\u0407":"YIcy","\u0439":"jcy","\u0419":"Jcy","\u0458":"jsercy","\u0408":"Jsercy","\u043a":"kcy","\u041a":"Kcy","\u045c":"kjcy","\u040c":"KJcy","\u043b":"lcy","\u041b":"Lcy","\u0459":"ljcy","\u0409":"LJcy","\u043c":"mcy","\u041c":"Mcy","\u043d":"ncy","\u041d":"Ncy","\u045a":"njcy","\u040a":"NJcy","\u043e":"ocy","\u041e":"Ocy","\u043f":"pcy","\u041f":"Pcy","\u0440":"rcy","\u0420":"Rcy","\u0441":"scy","\u0421":"Scy","\u0442":"tcy","\u0422":"Tcy","\u045b":"tshcy","\u040b":"TSHcy","\u0443":"ucy","\u0423":"Ucy","\u045e":"ubrcy","\u040e":"Ubrcy","\u0444":"fcy","\u0424":"Fcy","\u0445":"khcy","\u0425":"KHcy","\u0446":"tscy","\u0426":"TScy","\u0447":"chcy","\u0427":"CHcy","\u045f":"dzcy","\u040f":"DZcy","\u0448":"shcy","\u0428":"SHcy","\u0449":"shchcy","\u0429":"SHCHcy","\u044a":"hardcy","\u042a":"HARDcy","\u044b":"ycy","\u042b":"Ycy","\u044c":"softcy","\u042c":"SOFTcy","\u044d":"ecy","\u042d":"Ecy","\u044e":"yucy","\u042e":"YUcy","\u044f":"yacy","\u042f":"YAcy","\u2135":"aleph","\u2136":"beth","\u2137":"gimel","\u2138":"daleth"},u=/["&'<>`]/g,d={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"},h=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,f=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,m=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,p={aacute:"\xe1",Aacute:"\xc1",abreve:"\u0103",Abreve:"\u0102",ac:"\u223e",acd:"\u223f",acE:"\u223e\u0333",acirc:"\xe2",Acirc:"\xc2",acute:"\xb4",acy:"\u0430",Acy:"\u0410",aelig:"\xe6",AElig:"\xc6",af:"\u2061",afr:"\ud835\udd1e",Afr:"\ud835\udd04",agrave:"\xe0",Agrave:"\xc0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03b1",Alpha:"\u0391",amacr:"\u0101",Amacr:"\u0100",amalg:"\u2a3f",amp:"&",AMP:"&",and:"\u2227",And:"\u2a53",andand:"\u2a55",andd:"\u2a5c",andslope:"\u2a58",andv:"\u2a5a",ang:"\u2220",ange:"\u29a4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29a8",angmsdab:"\u29a9",angmsdac:"\u29aa",angmsdad:"\u29ab",angmsdae:"\u29ac",angmsdaf:"\u29ad",angmsdag:"\u29ae",angmsdah:"\u29af",angrt:"\u221f",angrtvb:"\u22be",angrtvbd:"\u299d",angsph:"\u2222",angst:"\xc5",angzarr:"\u237c",aogon:"\u0105",Aogon:"\u0104",aopf:"\ud835\udd52",Aopf:"\ud835\udd38",ap:"\u2248",apacir:"\u2a6f",ape:"\u224a",apE:"\u2a70",apid:"\u224b",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224a",aring:"\xe5",Aring:"\xc5",ascr:"\ud835\udcb6",Ascr:"\ud835\udc9c",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224d",atilde:"\xe3",Atilde:"\xc3",auml:"\xe4",Auml:"\xc4",awconint:"\u2233",awint:"\u2a11",backcong:"\u224c",backepsilon:"\u03f6",backprime:"\u2035",backsim:"\u223d",backsimeq:"\u22cd",Backslash:"\u2216",Barv:"\u2ae7",barvee:"\u22bd",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23b5",bbrktbrk:"\u23b6",bcong:"\u224c",bcy:"\u0431",Bcy:"\u0411",bdquo:"\u201e",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29b0",bepsi:"\u03f6",bernou:"\u212c",Bernoullis:"\u212c",beta:"\u03b2",Beta:"\u0392",beth:"\u2136",between:"\u226c",bfr:"\ud835\udd1f",Bfr:"\ud835\udd05",bigcap:"\u22c2",bigcirc:"\u25ef",bigcup:"\u22c3",bigodot:"\u2a00",bigoplus:"\u2a01",bigotimes:"\u2a02",bigsqcup:"\u2a06",bigstar:"\u2605",bigtriangledown:"\u25bd",bigtriangleup:"\u25b3",biguplus:"\u2a04",bigvee:"\u22c1",bigwedge:"\u22c0",bkarow:"\u290d",blacklozenge:"\u29eb",blacksquare:"\u25aa",blacktriangle:"\u25b4",blacktriangledown:"\u25be",blacktriangleleft:"\u25c2",blacktriangleright:"\u25b8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20e5",bnequiv:"\u2261\u20e5",bnot:"\u2310",bNot:"\u2aed",bopf:"\ud835\udd53",Bopf:"\ud835\udd39",bot:"\u22a5",bottom:"\u22a5",bowtie:"\u22c8",boxbox:"\u29c9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250c",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252c",boxhD:"\u2565",boxHd:"\u2564",boxHD:"\u2566",boxhu:"\u2534",boxhU:"\u2568",boxHu:"\u2567",boxHU:"\u2569",boxminus:"\u229f",boxplus:"\u229e",boxtimes:"\u22a0",boxul:"\u2518",boxuL:"\u255b",boxUl:"\u255c",boxUL:"\u255d",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255a",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253c",boxvH:"\u256a",boxVh:"\u256b",boxVH:"\u256c",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251c",boxvR:"\u255e",boxVr:"\u255f",boxVR:"\u2560",bprime:"\u2035",breve:"\u02d8",Breve:"\u02d8",brvbar:"\xa6",bscr:"\ud835\udcb7",Bscr:"\u212c",bsemi:"\u204f",bsim:"\u223d",bsime:"\u22cd",bsol:"\\",bsolb:"\u29c5",bsolhsub:"\u27c8",bull:"\u2022",bullet:"\u2022",bump:"\u224e",bumpe:"\u224f",bumpE:"\u2aae",bumpeq:"\u224f",Bumpeq:"\u224e",cacute:"\u0107",Cacute:"\u0106",cap:"\u2229",Cap:"\u22d2",capand:"\u2a44",capbrcup:"\u2a49",capcap:"\u2a4b",capcup:"\u2a47",capdot:"\u2a40",CapitalDifferentialD:"\u2145",caps:"\u2229\ufe00",caret:"\u2041",caron:"\u02c7",Cayleys:"\u212d",ccaps:"\u2a4d",ccaron:"\u010d",Ccaron:"\u010c",ccedil:"\xe7",Ccedil:"\xc7",ccirc:"\u0109",Ccirc:"\u0108",Cconint:"\u2230",ccups:"\u2a4c",ccupssm:"\u2a50",cdot:"\u010b",Cdot:"\u010a",cedil:"\xb8",Cedilla:"\xb8",cemptyv:"\u29b2",cent:"\xa2",centerdot:"\xb7",CenterDot:"\xb7",cfr:"\ud835\udd20",Cfr:"\u212d",chcy:"\u0447",CHcy:"\u0427",check:"\u2713",checkmark:"\u2713",chi:"\u03c7",Chi:"\u03a7",cir:"\u25cb",circ:"\u02c6",circeq:"\u2257",circlearrowleft:"\u21ba",circlearrowright:"\u21bb",circledast:"\u229b",circledcirc:"\u229a",circleddash:"\u229d",CircleDot:"\u2299",circledR:"\xae",circledS:"\u24c8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cire:"\u2257",cirE:"\u29c3",cirfnint:"\u2a10",cirmid:"\u2aef",cirscir:"\u29c2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201d",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",colone:"\u2254",Colone:"\u2a74",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2a6d",Congruent:"\u2261",conint:"\u222e",Conint:"\u222f",ContourIntegral:"\u222e",copf:"\ud835\udd54",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xa9",COPY:"\xa9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21b5",cross:"\u2717",Cross:"\u2a2f",cscr:"\ud835\udcb8",Cscr:"\ud835\udc9e",csub:"\u2acf",csube:"\u2ad1",csup:"\u2ad0",csupe:"\u2ad2",ctdot:"\u22ef",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22de",cuesc:"\u22df",cularr:"\u21b6",cularrp:"\u293d",cup:"\u222a",Cup:"\u22d3",cupbrcap:"\u2a48",cupcap:"\u2a46",CupCap:"\u224d",cupcup:"\u2a4a",cupdot:"\u228d",cupor:"\u2a45",cups:"\u222a\ufe00",curarr:"\u21b7",curarrm:"\u293c",curlyeqprec:"\u22de",curlyeqsucc:"\u22df",curlyvee:"\u22ce",curlywedge:"\u22cf",curren:"\xa4",curvearrowleft:"\u21b6",curvearrowright:"\u21b7",cuvee:"\u22ce",cuwed:"\u22cf",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232d",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",dArr:"\u21d3",Darr:"\u21a1",dash:"\u2010",dashv:"\u22a3",Dashv:"\u2ae4",dbkarow:"\u290f",dblac:"\u02dd",dcaron:"\u010f",Dcaron:"\u010e",dcy:"\u0434",Dcy:"\u0414",dd:"\u2146",DD:"\u2145",ddagger:"\u2021",ddarr:"\u21ca",DDotrahd:"\u2911",ddotseq:"\u2a77",deg:"\xb0",Del:"\u2207",delta:"\u03b4",Delta:"\u0394",demptyv:"\u29b1",dfisht:"\u297f",dfr:"\ud835\udd21",Dfr:"\ud835\udd07",dHar:"\u2965",dharl:"\u21c3",dharr:"\u21c2",DiacriticalAcute:"\xb4",DiacriticalDot:"\u02d9",DiacriticalDoubleAcute:"\u02dd",DiacriticalGrave:"`",DiacriticalTilde:"\u02dc",diam:"\u22c4",diamond:"\u22c4",Diamond:"\u22c4",diamondsuit:"\u2666",diams:"\u2666",die:"\xa8",DifferentialD:"\u2146",digamma:"\u03dd",disin:"\u22f2",div:"\xf7",divide:"\xf7",divideontimes:"\u22c7",divonx:"\u22c7",djcy:"\u0452",DJcy:"\u0402",dlcorn:"\u231e",dlcrop:"\u230d",dollar:"$",dopf:"\ud835\udd55",Dopf:"\ud835\udd3b",dot:"\u02d9",Dot:"\xa8",DotDot:"\u20dc",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22a1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222f",DoubleDot:"\xa8",DoubleDownArrow:"\u21d3",DoubleLeftArrow:"\u21d0",DoubleLeftRightArrow:"\u21d4",DoubleLeftTee:"\u2ae4",DoubleLongLeftArrow:"\u27f8",DoubleLongLeftRightArrow:"\u27fa",DoubleLongRightArrow:"\u27f9",DoubleRightArrow:"\u21d2",DoubleRightTee:"\u22a8",DoubleUpArrow:"\u21d1",DoubleUpDownArrow:"\u21d5",DoubleVerticalBar:"\u2225",downarrow:"\u2193",Downarrow:"\u21d3",DownArrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21f5",DownBreve:"\u0311",downdownarrows:"\u21ca",downharpoonleft:"\u21c3",downharpoonright:"\u21c2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295e",DownLeftVector:"\u21bd",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295f",DownRightVector:"\u21c1",DownRightVectorBar:"\u2957",DownTee:"\u22a4",DownTeeArrow:"\u21a7",drbkarow:"\u2910",drcorn:"\u231f",drcrop:"\u230c",dscr:"\ud835\udcb9",Dscr:"\ud835\udc9f",dscy:"\u0455",DScy:"\u0405",dsol:"\u29f6",dstrok:"\u0111",Dstrok:"\u0110",dtdot:"\u22f1",dtri:"\u25bf",dtrif:"\u25be",duarr:"\u21f5",duhar:"\u296f",dwangle:"\u29a6",dzcy:"\u045f",DZcy:"\u040f",dzigrarr:"\u27ff",eacute:"\xe9",Eacute:"\xc9",easter:"\u2a6e",ecaron:"\u011b",Ecaron:"\u011a",ecir:"\u2256",ecirc:"\xea",Ecirc:"\xca",ecolon:"\u2255",ecy:"\u044d",Ecy:"\u042d",eDDot:"\u2a77",edot:"\u0117",eDot:"\u2251",Edot:"\u0116",ee:"\u2147",efDot:"\u2252",efr:"\ud835\udd22",Efr:"\ud835\udd08",eg:"\u2a9a",egrave:"\xe8",Egrave:"\xc8",egs:"\u2a96",egsdot:"\u2a98",el:"\u2a99",Element:"\u2208",elinters:"\u23e7",ell:"\u2113",els:"\u2a95",elsdot:"\u2a97",emacr:"\u0113",Emacr:"\u0112",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25fb",emptyv:"\u2205",EmptyVerySmallSquare:"\u25ab",emsp:"\u2003",emsp13:"\u2004",emsp14:"\u2005",eng:"\u014b",ENG:"\u014a",ensp:"\u2002",eogon:"\u0119",Eogon:"\u0118",eopf:"\ud835\udd56",Eopf:"\ud835\udd3c",epar:"\u22d5",eparsl:"\u29e3",eplus:"\u2a71",epsi:"\u03b5",epsilon:"\u03b5",Epsilon:"\u0395",epsiv:"\u03f5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2a96",eqslantless:"\u2a95",Equal:"\u2a75",equals:"=",EqualTilde:"\u2242",equest:"\u225f",Equilibrium:"\u21cc",equiv:"\u2261",equivDD:"\u2a78",eqvparsl:"\u29e5",erarr:"\u2971",erDot:"\u2253",escr:"\u212f",Escr:"\u2130",esdot:"\u2250",esim:"\u2242",Esim:"\u2a73",eta:"\u03b7",Eta:"\u0397",eth:"\xf0",ETH:"\xd0",euml:"\xeb",Euml:"\xcb",euro:"\u20ac",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",fcy:"\u0444",Fcy:"\u0424",female:"\u2640",ffilig:"\ufb03",fflig:"\ufb00",ffllig:"\ufb04",ffr:"\ud835\udd23",Ffr:"\ud835\udd09",filig:"\ufb01",FilledSmallSquare:"\u25fc",FilledVerySmallSquare:"\u25aa",fjlig:"fj",flat:"\u266d",fllig:"\ufb02",fltns:"\u25b1",fnof:"\u0192",fopf:"\ud835\udd57",Fopf:"\ud835\udd3d",forall:"\u2200",ForAll:"\u2200",fork:"\u22d4",forkv:"\u2ad9",Fouriertrf:"\u2131",fpartint:"\u2a0d",frac12:"\xbd",frac13:"\u2153",frac14:"\xbc",frac15:"\u2155",frac16:"\u2159",frac18:"\u215b",frac23:"\u2154",frac25:"\u2156",frac34:"\xbe",frac35:"\u2157",frac38:"\u215c",frac45:"\u2158",frac56:"\u215a",frac58:"\u215d",frac78:"\u215e",frasl:"\u2044",frown:"\u2322",fscr:"\ud835\udcbb",Fscr:"\u2131",gacute:"\u01f5",gamma:"\u03b3",Gamma:"\u0393",gammad:"\u03dd",Gammad:"\u03dc",gap:"\u2a86",gbreve:"\u011f",Gbreve:"\u011e",Gcedil:"\u0122",gcirc:"\u011d",Gcirc:"\u011c",gcy:"\u0433",Gcy:"\u0413",gdot:"\u0121",Gdot:"\u0120",ge:"\u2265",gE:"\u2267",gel:"\u22db",gEl:"\u2a8c",geq:"\u2265",geqq:"\u2267",geqslant:"\u2a7e",ges:"\u2a7e",gescc:"\u2aa9",gesdot:"\u2a80",gesdoto:"\u2a82",gesdotol:"\u2a84",gesl:"\u22db\ufe00",gesles:"\u2a94",gfr:"\ud835\udd24",Gfr:"\ud835\udd0a",gg:"\u226b",Gg:"\u22d9",ggg:"\u22d9",gimel:"\u2137",gjcy:"\u0453",GJcy:"\u0403",gl:"\u2277",gla:"\u2aa5",glE:"\u2a92",glj:"\u2aa4",gnap:"\u2a8a",gnapprox:"\u2a8a",gne:"\u2a88",gnE:"\u2269",gneq:"\u2a88",gneqq:"\u2269",gnsim:"\u22e7",gopf:"\ud835\udd58",Gopf:"\ud835\udd3e",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22db",GreaterFullEqual:"\u2267",GreaterGreater:"\u2aa2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2a7e",GreaterTilde:"\u2273",gscr:"\u210a",Gscr:"\ud835\udca2",gsim:"\u2273",gsime:"\u2a8e",gsiml:"\u2a90",gt:">",Gt:"\u226b",GT:">",gtcc:"\u2aa7",gtcir:"\u2a7a",gtdot:"\u22d7",gtlPar:"\u2995",gtquest:"\u2a7c",gtrapprox:"\u2a86",gtrarr:"\u2978",gtrdot:"\u22d7",gtreqless:"\u22db",gtreqqless:"\u2a8c",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\ufe00",gvnE:"\u2269\ufe00",Hacek:"\u02c7",hairsp:"\u200a",half:"\xbd",hamilt:"\u210b",hardcy:"\u044a",HARDcy:"\u042a",harr:"\u2194",hArr:"\u21d4",harrcir:"\u2948",harrw:"\u21ad",Hat:"^",hbar:"\u210f",hcirc:"\u0125",Hcirc:"\u0124",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22b9",hfr:"\ud835\udd25",Hfr:"\u210c",HilbertSpace:"\u210b",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21ff",homtht:"\u223b",hookleftarrow:"\u21a9",hookrightarrow:"\u21aa",hopf:"\ud835\udd59",Hopf:"\u210d",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\ud835\udcbd",Hscr:"\u210b",hslash:"\u210f",hstrok:"\u0127",Hstrok:"\u0126",HumpDownHump:"\u224e",HumpEqual:"\u224f",hybull:"\u2043",hyphen:"\u2010",iacute:"\xed",Iacute:"\xcd",ic:"\u2063",icirc:"\xee",Icirc:"\xce",icy:"\u0438",Icy:"\u0418",Idot:"\u0130",iecy:"\u0435",IEcy:"\u0415",iexcl:"\xa1",iff:"\u21d4",ifr:"\ud835\udd26",Ifr:"\u2111",igrave:"\xec",Igrave:"\xcc",ii:"\u2148",iiiint:"\u2a0c",iiint:"\u222d",iinfin:"\u29dc",iiota:"\u2129",ijlig:"\u0133",IJlig:"\u0132",Im:"\u2111",imacr:"\u012b",Imacr:"\u012a",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22b7",imped:"\u01b5",Implies:"\u21d2",in:"\u2208",incare:"\u2105",infin:"\u221e",infintie:"\u29dd",inodot:"\u0131",int:"\u222b",Int:"\u222c",intcal:"\u22ba",integers:"\u2124",Integral:"\u222b",intercal:"\u22ba",Intersection:"\u22c2",intlarhk:"\u2a17",intprod:"\u2a3c",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",iocy:"\u0451",IOcy:"\u0401",iogon:"\u012f",Iogon:"\u012e",iopf:"\ud835\udd5a",Iopf:"\ud835\udd40",iota:"\u03b9",Iota:"\u0399",iprod:"\u2a3c",iquest:"\xbf",iscr:"\ud835\udcbe",Iscr:"\u2110",isin:"\u2208",isindot:"\u22f5",isinE:"\u22f9",isins:"\u22f4",isinsv:"\u22f3",isinv:"\u2208",it:"\u2062",itilde:"\u0129",Itilde:"\u0128",iukcy:"\u0456",Iukcy:"\u0406",iuml:"\xef",Iuml:"\xcf",jcirc:"\u0135",Jcirc:"\u0134",jcy:"\u0439",Jcy:"\u0419",jfr:"\ud835\udd27",Jfr:"\ud835\udd0d",jmath:"\u0237",jopf:"\ud835\udd5b",Jopf:"\ud835\udd41",jscr:"\ud835\udcbf",Jscr:"\ud835\udca5",jsercy:"\u0458",Jsercy:"\u0408",jukcy:"\u0454",Jukcy:"\u0404",kappa:"\u03ba",Kappa:"\u039a",kappav:"\u03f0",kcedil:"\u0137",Kcedil:"\u0136",kcy:"\u043a",Kcy:"\u041a",kfr:"\ud835\udd28",Kfr:"\ud835\udd0e",kgreen:"\u0138",khcy:"\u0445",KHcy:"\u0425",kjcy:"\u045c",KJcy:"\u040c",kopf:"\ud835\udd5c",Kopf:"\ud835\udd42",kscr:"\ud835\udcc0",Kscr:"\ud835\udca6",lAarr:"\u21da",lacute:"\u013a",Lacute:"\u0139",laemptyv:"\u29b4",lagran:"\u2112",lambda:"\u03bb",Lambda:"\u039b",lang:"\u27e8",Lang:"\u27ea",langd:"\u2991",langle:"\u27e8",lap:"\u2a85",Laplacetrf:"\u2112",laquo:"\xab",larr:"\u2190",lArr:"\u21d0",Larr:"\u219e",larrb:"\u21e4",larrbfs:"\u291f",larrfs:"\u291d",larrhk:"\u21a9",larrlp:"\u21ab",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21a2",lat:"\u2aab",latail:"\u2919",lAtail:"\u291b",late:"\u2aad",lates:"\u2aad\ufe00",lbarr:"\u290c",lBarr:"\u290e",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298b",lbrksld:"\u298f",lbrkslu:"\u298d",lcaron:"\u013e",Lcaron:"\u013d",lcedil:"\u013c",Lcedil:"\u013b",lceil:"\u2308",lcub:"{",lcy:"\u043b",Lcy:"\u041b",ldca:"\u2936",ldquo:"\u201c",ldquor:"\u201e",ldrdhar:"\u2967",ldrushar:"\u294b",ldsh:"\u21b2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27e8",leftarrow:"\u2190",Leftarrow:"\u21d0",LeftArrow:"\u2190",LeftArrowBar:"\u21e4",LeftArrowRightArrow:"\u21c6",leftarrowtail:"\u21a2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27e6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21c3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230a",leftharpoondown:"\u21bd",leftharpoonup:"\u21bc",leftleftarrows:"\u21c7",leftrightarrow:"\u2194",Leftrightarrow:"\u21d4",LeftRightArrow:"\u2194",leftrightarrows:"\u21c6",leftrightharpoons:"\u21cb",leftrightsquigarrow:"\u21ad",LeftRightVector:"\u294e",LeftTee:"\u22a3",LeftTeeArrow:"\u21a4",LeftTeeVector:"\u295a",leftthreetimes:"\u22cb",LeftTriangle:"\u22b2",LeftTriangleBar:"\u29cf",LeftTriangleEqual:"\u22b4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21bf",LeftUpVectorBar:"\u2958",LeftVector:"\u21bc",LeftVectorBar:"\u2952",leg:"\u22da",lEg:"\u2a8b",leq:"\u2264",leqq:"\u2266",leqslant:"\u2a7d",les:"\u2a7d",lescc:"\u2aa8",lesdot:"\u2a7f",lesdoto:"\u2a81",lesdotor:"\u2a83",lesg:"\u22da\ufe00",lesges:"\u2a93",lessapprox:"\u2a85",lessdot:"\u22d6",lesseqgtr:"\u22da",lesseqqgtr:"\u2a8b",LessEqualGreater:"\u22da",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2aa1",lesssim:"\u2272",LessSlantEqual:"\u2a7d",LessTilde:"\u2272",lfisht:"\u297c",lfloor:"\u230a",lfr:"\ud835\udd29",Lfr:"\ud835\udd0f",lg:"\u2276",lgE:"\u2a91",lHar:"\u2962",lhard:"\u21bd",lharu:"\u21bc",lharul:"\u296a",lhblk:"\u2584",ljcy:"\u0459",LJcy:"\u0409",ll:"\u226a",Ll:"\u22d8",llarr:"\u21c7",llcorner:"\u231e",Lleftarrow:"\u21da",llhard:"\u296b",lltri:"\u25fa",lmidot:"\u0140",Lmidot:"\u013f",lmoust:"\u23b0",lmoustache:"\u23b0",lnap:"\u2a89",lnapprox:"\u2a89",lne:"\u2a87",lnE:"\u2268",lneq:"\u2a87",lneqq:"\u2268",lnsim:"\u22e6",loang:"\u27ec",loarr:"\u21fd",lobrk:"\u27e6",longleftarrow:"\u27f5",Longleftarrow:"\u27f8",LongLeftArrow:"\u27f5",longleftrightarrow:"\u27f7",Longleftrightarrow:"\u27fa",LongLeftRightArrow:"\u27f7",longmapsto:"\u27fc",longrightarrow:"\u27f6",Longrightarrow:"\u27f9",LongRightArrow:"\u27f6",looparrowleft:"\u21ab",looparrowright:"\u21ac",lopar:"\u2985",lopf:"\ud835\udd5d",Lopf:"\ud835\udd43",loplus:"\u2a2d",lotimes:"\u2a34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25ca",lozenge:"\u25ca",lozf:"\u29eb",lpar:"(",lparlt:"\u2993",lrarr:"\u21c6",lrcorner:"\u231f",lrhar:"\u21cb",lrhard:"\u296d",lrm:"\u200e",lrtri:"\u22bf",lsaquo:"\u2039",lscr:"\ud835\udcc1",Lscr:"\u2112",lsh:"\u21b0",Lsh:"\u21b0",lsim:"\u2272",lsime:"\u2a8d",lsimg:"\u2a8f",lsqb:"[",lsquo:"\u2018",lsquor:"\u201a",lstrok:"\u0142",Lstrok:"\u0141",lt:"<",Lt:"\u226a",LT:"<",ltcc:"\u2aa6",ltcir:"\u2a79",ltdot:"\u22d6",lthree:"\u22cb",ltimes:"\u22c9",ltlarr:"\u2976",ltquest:"\u2a7b",ltri:"\u25c3",ltrie:"\u22b4",ltrif:"\u25c2",ltrPar:"\u2996",lurdshar:"\u294a",luruhar:"\u2966",lvertneqq:"\u2268\ufe00",lvnE:"\u2268\ufe00",macr:"\xaf",male:"\u2642",malt:"\u2720",maltese:"\u2720",map:"\u21a6",Map:"\u2905",mapsto:"\u21a6",mapstodown:"\u21a7",mapstoleft:"\u21a4",mapstoup:"\u21a5",marker:"\u25ae",mcomma:"\u2a29",mcy:"\u043c",Mcy:"\u041c",mdash:"\u2014",mDDot:"\u223a",measuredangle:"\u2221",MediumSpace:"\u205f",Mellintrf:"\u2133",mfr:"\ud835\udd2a",Mfr:"\ud835\udd10",mho:"\u2127",micro:"\xb5",mid:"\u2223",midast:"*",midcir:"\u2af0",middot:"\xb7",minus:"\u2212",minusb:"\u229f",minusd:"\u2238",minusdu:"\u2a2a",MinusPlus:"\u2213",mlcp:"\u2adb",mldr:"\u2026",mnplus:"\u2213",models:"\u22a7",mopf:"\ud835\udd5e",Mopf:"\ud835\udd44",mp:"\u2213",mscr:"\ud835\udcc2",Mscr:"\u2133",mstpos:"\u223e",mu:"\u03bc",Mu:"\u039c",multimap:"\u22b8",mumap:"\u22b8",nabla:"\u2207",nacute:"\u0144",Nacute:"\u0143",nang:"\u2220\u20d2",nap:"\u2249",napE:"\u2a70\u0338",napid:"\u224b\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266e",natural:"\u266e",naturals:"\u2115",nbsp:"\xa0",nbump:"\u224e\u0338",nbumpe:"\u224f\u0338",ncap:"\u2a43",ncaron:"\u0148",Ncaron:"\u0147",ncedil:"\u0146",Ncedil:"\u0145",ncong:"\u2247",ncongdot:"\u2a6d\u0338",ncup:"\u2a42",ncy:"\u043d",Ncy:"\u041d",ndash:"\u2013",ne:"\u2260",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21d7",nearrow:"\u2197",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200b",NegativeThickSpace:"\u200b",NegativeThinSpace:"\u200b",NegativeVeryThinSpace:"\u200b",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226b",NestedLessLess:"\u226a",NewLine:"\n",nexist:"\u2204",nexists:"\u2204",nfr:"\ud835\udd2b",Nfr:"\ud835\udd11",nge:"\u2271",ngE:"\u2267\u0338",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2a7e\u0338",nges:"\u2a7e\u0338",nGg:"\u22d9\u0338",ngsim:"\u2275",ngt:"\u226f",nGt:"\u226b\u20d2",ngtr:"\u226f",nGtv:"\u226b\u0338",nharr:"\u21ae",nhArr:"\u21ce",nhpar:"\u2af2",ni:"\u220b",nis:"\u22fc",nisd:"\u22fa",niv:"\u220b",njcy:"\u045a",NJcy:"\u040a",nlarr:"\u219a",nlArr:"\u21cd",nldr:"\u2025",nle:"\u2270",nlE:"\u2266\u0338",nleftarrow:"\u219a",nLeftarrow:"\u21cd",nleftrightarrow:"\u21ae",nLeftrightarrow:"\u21ce",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2a7d\u0338",nles:"\u2a7d\u0338",nless:"\u226e",nLl:"\u22d8\u0338",nlsim:"\u2274",nlt:"\u226e",nLt:"\u226a\u20d2",nltri:"\u22ea",nltrie:"\u22ec",nLtv:"\u226a\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xa0",nopf:"\ud835\udd5f",Nopf:"\u2115",not:"\xac",Not:"\u2aec",NotCongruent:"\u2262",NotCupCap:"\u226d",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226f",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226b\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2a7e\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224e\u0338",NotHumpEqual:"\u224f\u0338",notin:"\u2209",notindot:"\u22f5\u0338",notinE:"\u22f9\u0338",notinva:"\u2209",notinvb:"\u22f7",notinvc:"\u22f6",NotLeftTriangle:"\u22ea",NotLeftTriangleBar:"\u29cf\u0338",NotLeftTriangleEqual:"\u22ec",NotLess:"\u226e",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226a\u0338",NotLessSlantEqual:"\u2a7d\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2aa2\u0338",NotNestedLessLess:"\u2aa1\u0338",notni:"\u220c",notniva:"\u220c",notnivb:"\u22fe",notnivc:"\u22fd",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2aaf\u0338",NotPrecedesSlantEqual:"\u22e0",NotReverseElement:"\u220c",NotRightTriangle:"\u22eb",NotRightTriangleBar:"\u29d0\u0338",NotRightTriangleEqual:"\u22ed",NotSquareSubset:"\u228f\u0338",NotSquareSubsetEqual:"\u22e2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22e3",NotSubset:"\u2282\u20d2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2ab0\u0338",NotSucceedsSlantEqual:"\u22e1",NotSucceedsTilde:"\u227f\u0338",NotSuperset:"\u2283\u20d2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2afd\u20e5",npart:"\u2202\u0338",npolint:"\u2a14",npr:"\u2280",nprcue:"\u22e0",npre:"\u2aaf\u0338",nprec:"\u2280",npreceq:"\u2aaf\u0338",nrarr:"\u219b",nrArr:"\u21cf",nrarrc:"\u2933\u0338",nrarrw:"\u219d\u0338",nrightarrow:"\u219b",nRightarrow:"\u21cf",nrtri:"\u22eb",nrtrie:"\u22ed",nsc:"\u2281",nsccue:"\u22e1",nsce:"\u2ab0\u0338",nscr:"\ud835\udcc3",Nscr:"\ud835\udca9",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22e2",nsqsupe:"\u22e3",nsub:"\u2284",nsube:"\u2288",nsubE:"\u2ac5\u0338",nsubset:"\u2282\u20d2",nsubseteq:"\u2288",nsubseteqq:"\u2ac5\u0338",nsucc:"\u2281",nsucceq:"\u2ab0\u0338",nsup:"\u2285",nsupe:"\u2289",nsupE:"\u2ac6\u0338",nsupset:"\u2283\u20d2",nsupseteq:"\u2289",nsupseteqq:"\u2ac6\u0338",ntgl:"\u2279",ntilde:"\xf1",Ntilde:"\xd1",ntlg:"\u2278",ntriangleleft:"\u22ea",ntrianglelefteq:"\u22ec",ntriangleright:"\u22eb",ntrianglerighteq:"\u22ed",nu:"\u03bd",Nu:"\u039d",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224d\u20d2",nvdash:"\u22ac",nvDash:"\u22ad",nVdash:"\u22ae",nVDash:"\u22af",nvge:"\u2265\u20d2",nvgt:">\u20d2",nvHarr:"\u2904",nvinfin:"\u29de",nvlArr:"\u2902",nvle:"\u2264\u20d2",nvlt:"<\u20d2",nvltrie:"\u22b4\u20d2",nvrArr:"\u2903",nvrtrie:"\u22b5\u20d2",nvsim:"\u223c\u20d2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21d6",nwarrow:"\u2196",nwnear:"\u2927",oacute:"\xf3",Oacute:"\xd3",oast:"\u229b",ocir:"\u229a",ocirc:"\xf4",Ocirc:"\xd4",ocy:"\u043e",Ocy:"\u041e",odash:"\u229d",odblac:"\u0151",Odblac:"\u0150",odiv:"\u2a38",odot:"\u2299",odsold:"\u29bc",oelig:"\u0153",OElig:"\u0152",ofcir:"\u29bf",ofr:"\ud835\udd2c",Ofr:"\ud835\udd12",ogon:"\u02db",ograve:"\xf2",Ograve:"\xd2",ogt:"\u29c1",ohbar:"\u29b5",ohm:"\u03a9",oint:"\u222e",olarr:"\u21ba",olcir:"\u29be",olcross:"\u29bb",oline:"\u203e",olt:"\u29c0",omacr:"\u014d",Omacr:"\u014c",omega:"\u03c9",Omega:"\u03a9",omicron:"\u03bf",Omicron:"\u039f",omid:"\u29b6",ominus:"\u2296",oopf:"\ud835\udd60",Oopf:"\ud835\udd46",opar:"\u29b7",OpenCurlyDoubleQuote:"\u201c",OpenCurlyQuote:"\u2018",operp:"\u29b9",oplus:"\u2295",or:"\u2228",Or:"\u2a54",orarr:"\u21bb",ord:"\u2a5d",order:"\u2134",orderof:"\u2134",ordf:"\xaa",ordm:"\xba",origof:"\u22b6",oror:"\u2a56",orslope:"\u2a57",orv:"\u2a5b",oS:"\u24c8",oscr:"\u2134",Oscr:"\ud835\udcaa",oslash:"\xf8",Oslash:"\xd8",osol:"\u2298",otilde:"\xf5",Otilde:"\xd5",otimes:"\u2297",Otimes:"\u2a37",otimesas:"\u2a36",ouml:"\xf6",Ouml:"\xd6",ovbar:"\u233d",OverBar:"\u203e",OverBrace:"\u23de",OverBracket:"\u23b4",OverParenthesis:"\u23dc",par:"\u2225",para:"\xb6",parallel:"\u2225",parsim:"\u2af3",parsl:"\u2afd",part:"\u2202",PartialD:"\u2202",pcy:"\u043f",Pcy:"\u041f",percnt:"%",period:".",permil:"\u2030",perp:"\u22a5",pertenk:"\u2031",pfr:"\ud835\udd2d",Pfr:"\ud835\udd13",phi:"\u03c6",Phi:"\u03a6",phiv:"\u03d5",phmmat:"\u2133",phone:"\u260e",pi:"\u03c0",Pi:"\u03a0",pitchfork:"\u22d4",piv:"\u03d6",planck:"\u210f",planckh:"\u210e",plankv:"\u210f",plus:"+",plusacir:"\u2a23",plusb:"\u229e",pluscir:"\u2a22",plusdo:"\u2214",plusdu:"\u2a25",pluse:"\u2a72",PlusMinus:"\xb1",plusmn:"\xb1",plussim:"\u2a26",plustwo:"\u2a27",pm:"\xb1",Poincareplane:"\u210c",pointint:"\u2a15",popf:"\ud835\udd61",Popf:"\u2119",pound:"\xa3",pr:"\u227a",Pr:"\u2abb",prap:"\u2ab7",prcue:"\u227c",pre:"\u2aaf",prE:"\u2ab3",prec:"\u227a",precapprox:"\u2ab7",preccurlyeq:"\u227c",Precedes:"\u227a",PrecedesEqual:"\u2aaf",PrecedesSlantEqual:"\u227c",PrecedesTilde:"\u227e",preceq:"\u2aaf",precnapprox:"\u2ab9",precneqq:"\u2ab5",precnsim:"\u22e8",precsim:"\u227e",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2ab9",prnE:"\u2ab5",prnsim:"\u22e8",prod:"\u220f",Product:"\u220f",profalar:"\u232e",profline:"\u2312",profsurf:"\u2313",prop:"\u221d",Proportion:"\u2237",Proportional:"\u221d",propto:"\u221d",prsim:"\u227e",prurel:"\u22b0",pscr:"\ud835\udcc5",Pscr:"\ud835\udcab",psi:"\u03c8",Psi:"\u03a8",puncsp:"\u2008",qfr:"\ud835\udd2e",Qfr:"\ud835\udd14",qint:"\u2a0c",qopf:"\ud835\udd62",Qopf:"\u211a",qprime:"\u2057",qscr:"\ud835\udcc6",Qscr:"\ud835\udcac",quaternions:"\u210d",quatint:"\u2a16",quest:"?",questeq:"\u225f",quot:'"',QUOT:'"',rAarr:"\u21db",race:"\u223d\u0331",racute:"\u0155",Racute:"\u0154",radic:"\u221a",raemptyv:"\u29b3",rang:"\u27e9",Rang:"\u27eb",rangd:"\u2992",range:"\u29a5",rangle:"\u27e9",raquo:"\xbb",rarr:"\u2192",rArr:"\u21d2",Rarr:"\u21a0",rarrap:"\u2975",rarrb:"\u21e5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291e",rarrhk:"\u21aa",rarrlp:"\u21ac",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21a3",Rarrtl:"\u2916",rarrw:"\u219d",ratail:"\u291a",rAtail:"\u291c",ratio:"\u2236",rationals:"\u211a",rbarr:"\u290d",rBarr:"\u290f",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298c",rbrksld:"\u298e",rbrkslu:"\u2990",rcaron:"\u0159",Rcaron:"\u0158",rcedil:"\u0157",Rcedil:"\u0156",rceil:"\u2309",rcub:"}",rcy:"\u0440",Rcy:"\u0420",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201d",rdquor:"\u201d",rdsh:"\u21b3",Re:"\u211c",real:"\u211c",realine:"\u211b",realpart:"\u211c",reals:"\u211d",rect:"\u25ad",reg:"\xae",REG:"\xae",ReverseElement:"\u220b",ReverseEquilibrium:"\u21cb",ReverseUpEquilibrium:"\u296f",rfisht:"\u297d",rfloor:"\u230b",rfr:"\ud835\udd2f",Rfr:"\u211c",rHar:"\u2964",rhard:"\u21c1",rharu:"\u21c0",rharul:"\u296c",rho:"\u03c1",Rho:"\u03a1",rhov:"\u03f1",RightAngleBracket:"\u27e9",rightarrow:"\u2192",Rightarrow:"\u21d2",RightArrow:"\u2192",RightArrowBar:"\u21e5",RightArrowLeftArrow:"\u21c4",rightarrowtail:"\u21a3",RightCeiling:"\u2309",RightDoubleBracket:"\u27e7",RightDownTeeVector:"\u295d",RightDownVector:"\u21c2",RightDownVectorBar:"\u2955",RightFloor:"\u230b",rightharpoondown:"\u21c1",rightharpoonup:"\u21c0",rightleftarrows:"\u21c4",rightleftharpoons:"\u21cc",rightrightarrows:"\u21c9",rightsquigarrow:"\u219d",RightTee:"\u22a2",RightTeeArrow:"\u21a6",RightTeeVector:"\u295b",rightthreetimes:"\u22cc",RightTriangle:"\u22b3",RightTriangleBar:"\u29d0",RightTriangleEqual:"\u22b5",RightUpDownVector:"\u294f",RightUpTeeVector:"\u295c",RightUpVector:"\u21be",RightUpVectorBar:"\u2954",RightVector:"\u21c0",RightVectorBar:"\u2953",ring:"\u02da",risingdotseq:"\u2253",rlarr:"\u21c4",rlhar:"\u21cc",rlm:"\u200f",rmoust:"\u23b1",rmoustache:"\u23b1",rnmid:"\u2aee",roang:"\u27ed",roarr:"\u21fe",robrk:"\u27e7",ropar:"\u2986",ropf:"\ud835\udd63",Ropf:"\u211d",roplus:"\u2a2e",rotimes:"\u2a35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2a12",rrarr:"\u21c9",Rrightarrow:"\u21db",rsaquo:"\u203a",rscr:"\ud835\udcc7",Rscr:"\u211b",rsh:"\u21b1",Rsh:"\u21b1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22cc",rtimes:"\u22ca",rtri:"\u25b9",rtrie:"\u22b5",rtrif:"\u25b8",rtriltri:"\u29ce",RuleDelayed:"\u29f4",ruluhar:"\u2968",rx:"\u211e",sacute:"\u015b",Sacute:"\u015a",sbquo:"\u201a",sc:"\u227b",Sc:"\u2abc",scap:"\u2ab8",scaron:"\u0161",Scaron:"\u0160",sccue:"\u227d",sce:"\u2ab0",scE:"\u2ab4",scedil:"\u015f",Scedil:"\u015e",scirc:"\u015d",Scirc:"\u015c",scnap:"\u2aba",scnE:"\u2ab6",scnsim:"\u22e9",scpolint:"\u2a13",scsim:"\u227f",scy:"\u0441",Scy:"\u0421",sdot:"\u22c5",sdotb:"\u22a1",sdote:"\u2a66",searhk:"\u2925",searr:"\u2198",seArr:"\u21d8",searrow:"\u2198",sect:"\xa7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",sfr:"\ud835\udd30",Sfr:"\ud835\udd16",sfrown:"\u2322",sharp:"\u266f",shchcy:"\u0449",SHCHcy:"\u0429",shcy:"\u0448",SHcy:"\u0428",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xad",sigma:"\u03c3",Sigma:"\u03a3",sigmaf:"\u03c2",sigmav:"\u03c2",sim:"\u223c",simdot:"\u2a6a",sime:"\u2243",simeq:"\u2243",simg:"\u2a9e",simgE:"\u2aa0",siml:"\u2a9d",simlE:"\u2a9f",simne:"\u2246",simplus:"\u2a24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2a33",smeparsl:"\u29e4",smid:"\u2223",smile:"\u2323",smt:"\u2aaa",smte:"\u2aac",smtes:"\u2aac\ufe00",softcy:"\u044c",SOFTcy:"\u042c",sol:"/",solb:"\u29c4",solbar:"\u233f",sopf:"\ud835\udd64",Sopf:"\ud835\udd4a",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\ufe00",sqcup:"\u2294",sqcups:"\u2294\ufe00",Sqrt:"\u221a",sqsub:"\u228f",sqsube:"\u2291",sqsubset:"\u228f",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25a1",square:"\u25a1",Square:"\u25a1",SquareIntersection:"\u2293",SquareSubset:"\u228f",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25aa",squf:"\u25aa",srarr:"\u2192",sscr:"\ud835\udcc8",Sscr:"\ud835\udcae",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22c6",star:"\u2606",Star:"\u22c6",starf:"\u2605",straightepsilon:"\u03f5",straightphi:"\u03d5",strns:"\xaf",sub:"\u2282",Sub:"\u22d0",subdot:"\u2abd",sube:"\u2286",subE:"\u2ac5",subedot:"\u2ac3",submult:"\u2ac1",subne:"\u228a",subnE:"\u2acb",subplus:"\u2abf",subrarr:"\u2979",subset:"\u2282",Subset:"\u22d0",subseteq:"\u2286",subseteqq:"\u2ac5",SubsetEqual:"\u2286",subsetneq:"\u228a",subsetneqq:"\u2acb",subsim:"\u2ac7",subsub:"\u2ad5",subsup:"\u2ad3",succ:"\u227b",succapprox:"\u2ab8",succcurlyeq:"\u227d",Succeeds:"\u227b",SucceedsEqual:"\u2ab0",SucceedsSlantEqual:"\u227d",SucceedsTilde:"\u227f",succeq:"\u2ab0",succnapprox:"\u2aba",succneqq:"\u2ab6",succnsim:"\u22e9",succsim:"\u227f",SuchThat:"\u220b",sum:"\u2211",Sum:"\u2211",sung:"\u266a",sup:"\u2283",Sup:"\u22d1",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",supdot:"\u2abe",supdsub:"\u2ad8",supe:"\u2287",supE:"\u2ac6",supedot:"\u2ac4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27c9",suphsub:"\u2ad7",suplarr:"\u297b",supmult:"\u2ac2",supne:"\u228b",supnE:"\u2acc",supplus:"\u2ac0",supset:"\u2283",Supset:"\u22d1",supseteq:"\u2287",supseteqq:"\u2ac6",supsetneq:"\u228b",supsetneqq:"\u2acc",supsim:"\u2ac8",supsub:"\u2ad4",supsup:"\u2ad6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21d9",swarrow:"\u2199",swnwar:"\u292a",szlig:"\xdf",Tab:"\t",target:"\u2316",tau:"\u03c4",Tau:"\u03a4",tbrk:"\u23b4",tcaron:"\u0165",Tcaron:"\u0164",tcedil:"\u0163",Tcedil:"\u0162",tcy:"\u0442",Tcy:"\u0422",tdot:"\u20db",telrec:"\u2315",tfr:"\ud835\udd31",Tfr:"\ud835\udd17",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",theta:"\u03b8",Theta:"\u0398",thetasym:"\u03d1",thetav:"\u03d1",thickapprox:"\u2248",thicksim:"\u223c",ThickSpace:"\u205f\u200a",thinsp:"\u2009",ThinSpace:"\u2009",thkap:"\u2248",thksim:"\u223c",thorn:"\xfe",THORN:"\xde",tilde:"\u02dc",Tilde:"\u223c",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",times:"\xd7",timesb:"\u22a0",timesbar:"\u2a31",timesd:"\u2a30",tint:"\u222d",toea:"\u2928",top:"\u22a4",topbot:"\u2336",topcir:"\u2af1",topf:"\ud835\udd65",Topf:"\ud835\udd4b",topfork:"\u2ada",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25b5",triangledown:"\u25bf",triangleleft:"\u25c3",trianglelefteq:"\u22b4",triangleq:"\u225c",triangleright:"\u25b9",trianglerighteq:"\u22b5",tridot:"\u25ec",trie:"\u225c",triminus:"\u2a3a",TripleDot:"\u20db",triplus:"\u2a39",trisb:"\u29cd",tritime:"\u2a3b",trpezium:"\u23e2",tscr:"\ud835\udcc9",Tscr:"\ud835\udcaf",tscy:"\u0446",TScy:"\u0426",tshcy:"\u045b",TSHcy:"\u040b",tstrok:"\u0167",Tstrok:"\u0166",twixt:"\u226c",twoheadleftarrow:"\u219e",twoheadrightarrow:"\u21a0",uacute:"\xfa",Uacute:"\xda",uarr:"\u2191",uArr:"\u21d1",Uarr:"\u219f",Uarrocir:"\u2949",ubrcy:"\u045e",Ubrcy:"\u040e",ubreve:"\u016d",Ubreve:"\u016c",ucirc:"\xfb",Ucirc:"\xdb",ucy:"\u0443",Ucy:"\u0423",udarr:"\u21c5",udblac:"\u0171",Udblac:"\u0170",udhar:"\u296e",ufisht:"\u297e",ufr:"\ud835\udd32",Ufr:"\ud835\udd18",ugrave:"\xf9",Ugrave:"\xd9",uHar:"\u2963",uharl:"\u21bf",uharr:"\u21be",uhblk:"\u2580",ulcorn:"\u231c",ulcorner:"\u231c",ulcrop:"\u230f",ultri:"\u25f8",umacr:"\u016b",Umacr:"\u016a",uml:"\xa8",UnderBar:"_",UnderBrace:"\u23df",UnderBracket:"\u23b5",UnderParenthesis:"\u23dd",Union:"\u22c3",UnionPlus:"\u228e",uogon:"\u0173",Uogon:"\u0172",uopf:"\ud835\udd66",Uopf:"\ud835\udd4c",uparrow:"\u2191",Uparrow:"\u21d1",UpArrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21c5",updownarrow:"\u2195",Updownarrow:"\u21d5",UpDownArrow:"\u2195",UpEquilibrium:"\u296e",upharpoonleft:"\u21bf",upharpoonright:"\u21be",uplus:"\u228e",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03c5",Upsi:"\u03d2",upsih:"\u03d2",upsilon:"\u03c5",Upsilon:"\u03a5",UpTee:"\u22a5",UpTeeArrow:"\u21a5",upuparrows:"\u21c8",urcorn:"\u231d",urcorner:"\u231d",urcrop:"\u230e",uring:"\u016f",Uring:"\u016e",urtri:"\u25f9",uscr:"\ud835\udcca",Uscr:"\ud835\udcb0",utdot:"\u22f0",utilde:"\u0169",Utilde:"\u0168",utri:"\u25b5",utrif:"\u25b4",uuarr:"\u21c8",uuml:"\xfc",Uuml:"\xdc",uwangle:"\u29a7",vangrt:"\u299c",varepsilon:"\u03f5",varkappa:"\u03f0",varnothing:"\u2205",varphi:"\u03d5",varpi:"\u03d6",varpropto:"\u221d",varr:"\u2195",vArr:"\u21d5",varrho:"\u03f1",varsigma:"\u03c2",varsubsetneq:"\u228a\ufe00",varsubsetneqq:"\u2acb\ufe00",varsupsetneq:"\u228b\ufe00",varsupsetneqq:"\u2acc\ufe00",vartheta:"\u03d1",vartriangleleft:"\u22b2",vartriangleright:"\u22b3",vBar:"\u2ae8",Vbar:"\u2aeb",vBarv:"\u2ae9",vcy:"\u0432",Vcy:"\u0412",vdash:"\u22a2",vDash:"\u22a8",Vdash:"\u22a9",VDash:"\u22ab",Vdashl:"\u2ae6",vee:"\u2228",Vee:"\u22c1",veebar:"\u22bb",veeeq:"\u225a",vellip:"\u22ee",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200a",vfr:"\ud835\udd33",Vfr:"\ud835\udd19",vltri:"\u22b2",vnsub:"\u2282\u20d2",vnsup:"\u2283\u20d2",vopf:"\ud835\udd67",Vopf:"\ud835\udd4d",vprop:"\u221d",vrtri:"\u22b3",vscr:"\ud835\udccb",Vscr:"\ud835\udcb1",vsubne:"\u228a\ufe00",vsubnE:"\u2acb\ufe00",vsupne:"\u228b\ufe00",vsupnE:"\u2acc\ufe00",Vvdash:"\u22aa",vzigzag:"\u299a",wcirc:"\u0175",Wcirc:"\u0174",wedbar:"\u2a5f",wedge:"\u2227",Wedge:"\u22c0",wedgeq:"\u2259",weierp:"\u2118",wfr:"\ud835\udd34",Wfr:"\ud835\udd1a",wopf:"\ud835\udd68",Wopf:"\ud835\udd4e",wp:"\u2118",wr:"\u2240",wreath:"\u2240",wscr:"\ud835\udccc",Wscr:"\ud835\udcb2",xcap:"\u22c2",xcirc:"\u25ef",xcup:"\u22c3",xdtri:"\u25bd",xfr:"\ud835\udd35",Xfr:"\ud835\udd1b",xharr:"\u27f7",xhArr:"\u27fa",xi:"\u03be",Xi:"\u039e",xlarr:"\u27f5",xlArr:"\u27f8",xmap:"\u27fc",xnis:"\u22fb",xodot:"\u2a00",xopf:"\ud835\udd69",Xopf:"\ud835\udd4f",xoplus:"\u2a01",xotime:"\u2a02",xrarr:"\u27f6",xrArr:"\u27f9",xscr:"\ud835\udccd",Xscr:"\ud835\udcb3",xsqcup:"\u2a06",xuplus:"\u2a04",xutri:"\u25b3",xvee:"\u22c1",xwedge:"\u22c0",yacute:"\xfd",Yacute:"\xdd",yacy:"\u044f",YAcy:"\u042f",ycirc:"\u0177",Ycirc:"\u0176",ycy:"\u044b",Ycy:"\u042b",yen:"\xa5",yfr:"\ud835\udd36",Yfr:"\ud835\udd1c",yicy:"\u0457",YIcy:"\u0407",yopf:"\ud835\udd6a",Yopf:"\ud835\udd50",yscr:"\ud835\udcce",Yscr:"\ud835\udcb4",yucy:"\u044e",YUcy:"\u042e",yuml:"\xff",Yuml:"\u0178",zacute:"\u017a",Zacute:"\u0179",zcaron:"\u017e",Zcaron:"\u017d",zcy:"\u0437",Zcy:"\u0417",zdot:"\u017c",Zdot:"\u017b",zeetrf:"\u2128",ZeroWidthSpace:"\u200b",zeta:"\u03b6",Zeta:"\u0396",zfr:"\ud835\udd37",Zfr:"\u2128",zhcy:"\u0436",ZHcy:"\u0416",zigrarr:"\u21dd",zopf:"\ud835\udd6b",Zopf:"\u2124",zscr:"\ud835\udccf",Zscr:"\ud835\udcb5",zwj:"\u200d",zwnj:"\u200c"},v={aacute:"\xe1",Aacute:"\xc1",acirc:"\xe2",Acirc:"\xc2",acute:"\xb4",aelig:"\xe6",AElig:"\xc6",agrave:"\xe0",Agrave:"\xc0",amp:"&",AMP:"&",aring:"\xe5",Aring:"\xc5",atilde:"\xe3",Atilde:"\xc3",auml:"\xe4",Auml:"\xc4",brvbar:"\xa6",ccedil:"\xe7",Ccedil:"\xc7",cedil:"\xb8",cent:"\xa2",copy:"\xa9",COPY:"\xa9",curren:"\xa4",deg:"\xb0",divide:"\xf7",eacute:"\xe9",Eacute:"\xc9",ecirc:"\xea",Ecirc:"\xca",egrave:"\xe8",Egrave:"\xc8",eth:"\xf0",ETH:"\xd0",euml:"\xeb",Euml:"\xcb",frac12:"\xbd",frac14:"\xbc",frac34:"\xbe",gt:">",GT:">",iacute:"\xed",Iacute:"\xcd",icirc:"\xee",Icirc:"\xce",iexcl:"\xa1",igrave:"\xec",Igrave:"\xcc",iquest:"\xbf",iuml:"\xef",Iuml:"\xcf",laquo:"\xab",lt:"<",LT:"<",macr:"\xaf",micro:"\xb5",middot:"\xb7",nbsp:"\xa0",not:"\xac",ntilde:"\xf1",Ntilde:"\xd1",oacute:"\xf3",Oacute:"\xd3",ocirc:"\xf4",Ocirc:"\xd4",ograve:"\xf2",Ograve:"\xd2",ordf:"\xaa",ordm:"\xba",oslash:"\xf8",Oslash:"\xd8",otilde:"\xf5",Otilde:"\xd5",ouml:"\xf6",Ouml:"\xd6",para:"\xb6",plusmn:"\xb1",pound:"\xa3",quot:'"',QUOT:'"',raquo:"\xbb",reg:"\xae",REG:"\xae",sect:"\xa7",shy:"\xad",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",szlig:"\xdf",thorn:"\xfe",THORN:"\xde",times:"\xd7",uacute:"\xfa",Uacute:"\xda",ucirc:"\xfb",Ucirc:"\xdb",ugrave:"\xf9",Ugrave:"\xd9",uml:"\xa8",uuml:"\xfc",Uuml:"\xdc",yacute:"\xfd",Yacute:"\xdd",yen:"\xa5",yuml:"\xff"},g={0:"\ufffd",128:"\u20ac",130:"\u201a",131:"\u0192",132:"\u201e",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02c6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017d",145:"\u2018",146:"\u2019",147:"\u201c",148:"\u201d",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02dc",153:"\u2122",154:"\u0161",155:"\u203a",156:"\u0153",158:"\u017e",159:"\u0178"},y=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],b=String.fromCharCode,k={}.hasOwnProperty,C=function(e,t){return k.call(e,t)},w=function(e,t){if(!e)return t;var n,r={};for(n in t)r[n]=C(e,n)?e[n]:t[n];return r},S=function(e,t){var n="";return e>=55296&&e<=57343||e>1114111?(t&&I("character reference outside the permissible Unicode range"),"\ufffd"):C(g,e)?(t&&I("disallowed character reference"),g[e]):(t&&function(e,t){for(var n=-1,r=e.length;++n<r;)if(e[n]==t)return!0;return!1}(y,e)&&I("disallowed character reference"),e>65535&&(n+=b((e-=65536)>>>10&1023|55296),e=56320|1023&e),n+=b(e))},_=function(e){return"&#x"+e.toString(16).toUpperCase()+";"},E=function(e){return"&#"+e+";"},I=function(e){throw Error("Parse error: "+e)},x=function e(t,n){(n=w(n,e.options)).strict&&f.test(t)&&I("forbidden code point");var r=n.useNamedReferences,i=n.allowUnsafeSymbols,d=n.decimal?E:_,h=function(e){return d(e.charCodeAt(0))};return n.encodeEverything?(t=t.replace(a,(function(e){return r&&C(l,e)?"&"+l[e]+";":h(e)})),r&&(t=t.replace(/>\u20D2/g,"&nvgt;").replace(/<\u20D2/g,"&nvlt;").replace(/fj/g,"&fjlig;")),r&&(t=t.replace(c,(function(e){return"&"+l[e]+";"})))):r?(i||(t=t.replace(u,(function(e){return"&"+l[e]+";"}))),t=(t=t.replace(/>\u20D2/g,"&nvgt;").replace(/<\u20D2/g,"&nvlt;")).replace(c,(function(e){return"&"+l[e]+";"}))):i||(t=t.replace(u,h)),t.replace(o,(function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1);return d(1024*(t-55296)+n-56320+65536)})).replace(s,h)};x.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var O=function e(t,n){var r=(n=w(n,e.options)).strict;return r&&h.test(t)&&I("malformed character reference"),t.replace(m,(function(e,t,i,o,a,s,c,l,u){var d,h,f,m,g,y;return t?p[g=t]:i?(g=i,(y=o)&&n.isAttributeValue?(r&&"="==y&&I("`&` did not start a character reference"),e):(r&&I("named character reference was not terminated by a semicolon"),v[g]+(y||""))):a?(f=a,h=s,r&&!h&&I("character reference was not terminated by a semicolon"),d=parseInt(f,10),S(d,r)):c?(m=c,h=l,r&&!h&&I("character reference was not terminated by a semicolon"),d=parseInt(m,16),S(d,r)):(r&&I("named character reference was not terminated by a semicolon"),e)}))};O.options={isAttributeValue:!1,strict:!1};var T={version:"1.2.0",encode:x,decode:O,escape:function(e){return e.replace(u,(function(e){return d[e]}))},unescape:O};void 0===(r=(function(){return T}).call(t,n,t,e))||(e.exports=r)}()}).call(this,n("YuTi")(e))},l0SJ:function(e,t,n){var r=n("yNUO");e.exports=function(e){var t=r(e);return t.setHours(23,59,59,999),t}},"l6+5":function(e,t,n){var r=n("L/99");e.exports=function(e){return r(new Date,e)}},lCuP:function(e,t,n){var r=n("yNUO");e.exports=function(e){var t=r(e);return t.setDate(1),t.setHours(0,0,0,0),t}},lJxs:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("7o/Q");function i(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new o(e,t))}}var o=function(){function e(t,n){v(this,e),this.project=t,this.thisArg=n}return y(e,[{key:"call",value:function(e,t){return t.subscribe(new a(e,this.project,this.thisArg))}}]),e}(),a=function(e){l(n,e);var t=d(n);function n(e,r,i){var o;return v(this,n),(o=t.call(this,e)).project=r,o.count=0,o.thisArg=i||f(o),o}return y(n,[{key:"_next",value:function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}]),n}(r.a)},lTB2:function(e,t,n){var r=n("yNUO");e.exports=function(e,t){var n=r(e),i=Number(t);return n.setMonth(0),n.setDate(i),n}},lX9Q:function(e,t,n){var r=n("yNUO");e.exports=function(e,t){var n=r(e),i=Number(t);return n.setDate(i),n}},leoV:function(e,t,n){var r=n("yNUO");e.exports=function(){var e=Array.prototype.slice.call(arguments),t=e.map((function(e){return r(e)})),n=Math.max.apply(null,t);return new Date(n)}},lwZq:function(e,t,n){var r=n("yNUO"),i=n("RJeW"),o=n("1CCG");e.exports=function(e,t){var n=r(e),a=Number(t),s=o(n,i(n)),c=new Date(0);return c.setFullYear(a,0,4),c.setHours(0,0,0,0),(n=i(c)).setDate(n.getDate()+s),n}},m7nI:function(e,t,n){var r=n("WmBB");e.exports=function(e){return r(new Date,e)}},mqoM:function(e,t,n){var r=n("Q5nM");e.exports=function(e,t){var n=r(e),i=r(t);return n.getTime()===i.getTime()}},mthE:function(e,t,n){var r=n("yNUO");e.exports=function(e){var t=r(e).getDay();return 0===t||6===t}},n6bG:function(e,t,n){"use strict";function r(e){return"function"==typeof e}n.d(t,"a",(function(){return r}))},ngJS:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return function(t){for(var n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.complete()}}},pDEI:function(e,t,n){var r=n("yNUO");e.exports=function(e,t){var n=r(e),i=r(t);return n.getTime()>i.getTime()}},pLeS:function(e,t,n){var r=n("yNUO");e.exports=function(e){var t=r(e),n=new Date(0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}},pzWd:function(e,t){e.exports=function(e){return e instanceof Date}},q9S1:function(e,t,n){var r=n("yNUO");e.exports=function(e,t){var n=r(e),i=r(t);return n.getTime()===i.getTime()}},qFJL:function(e,t,n){var r=n("yNUO");e.exports=function(e){return 5===r(e).getDay()}},qTUo:function(e,t,n){var r=n("yNUO");e.exports=function(e){return r(e).getTime()<(new Date).getTime()}},quSY:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r,i,o=n("DH7j"),a=n("XoHu"),s=n("n6bG"),c=function(){function e(e){return Error.call(this),this.message=e?"".concat(e.length," errors occurred during unsubscription:\n").concat(e.map((function(e,t){return"".concat(t+1,") ").concat(e.toString())})).join("\n  ")):"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e}(),l=((i=function(){function e(t){v(this,e),this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}return y(e,[{key:"unsubscribe",value:function(){var t;if(!this.closed){var n=this._parentOrParents,r=this._ctorUnsubscribe,i=this._unsubscribe,l=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(var d=0;d<n.length;++d)n[d].remove(this);if(Object(s.a)(i)){r&&(this._unsubscribe=void 0);try{i.call(this)}catch(p){t=p instanceof c?u(p.errors):[p]}}if(Object(o.a)(l))for(var h=-1,f=l.length;++h<f;){var m=l[h];if(Object(a.a)(m))try{m.unsubscribe()}catch(p){t=t||[],p instanceof c?t=t.concat(u(p.errors)):t.push(p)}}if(t)throw new c(t)}}},{key:"add",value:function(t){var n=t;if(!t)return e.EMPTY;switch(typeof t){case"function":n=new e(t);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof e)){var r=n;(n=new e)._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}var i=n._parentOrParents;if(null===i)n._parentOrParents=this;else if(i instanceof e){if(i===this)return n;n._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return n;i.push(this)}var o=this._subscriptions;return null===o?this._subscriptions=[n]:o.push(n),n}},{key:"remove",value:function(e){var t=this._subscriptions;if(t){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}}}]),e}()).EMPTY=((r=new i).closed=!0,r),i);function u(e){return e.reduce((function(e,t){return e.concat(t instanceof c?t.errors:t)}),[])}},rMQs:function(e,t,n){var r=n("yNUO");e.exports=function(e){var t=r(e).getFullYear();return t%400==0||t%4==0&&t%100!=0}},rxuJ:function(e,t,n){var r=n("7B8A");e.exports=function(e,t){var n=Number(t);return r(e,1e3*n)}},"s/X6":function(e,t,n){var r=n("yNUO"),i=n("+f+M"),o=n("DT56"),a=n("3zVU");e.exports=function(e,t){var n=r(e),s=r(t),c=o(n,s),l=Math.abs(i(n,s));return n=a(n,c*l),c*(l-(o(n,s)===-c))}},s7LF:function(e,t,i){"use strict";i.r(t),i.d(t,"AbstractControl",(function(){return ge})),i.d(t,"AbstractControlDirective",(function(){return k})),i.d(t,"AbstractFormGroupDirective",(function(){return _e})),i.d(t,"COMPOSITION_BUFFER_MODE",(function(){return g})),i.d(t,"CheckboxControlValueAccessor",(function(){return m})),i.d(t,"CheckboxRequiredValidator",(function(){return Ye})),i.d(t,"ControlContainer",(function(){return C})),i.d(t,"DefaultValueAccessor",(function(){return b})),i.d(t,"EmailValidator",(function(){return Je})),i.d(t,"FormArray",(function(){return ke})),i.d(t,"FormArrayName",(function(){return Be})),i.d(t,"FormBuilder",(function(){return st})),i.d(t,"FormControl",(function(){return ye})),i.d(t,"FormControlDirective",(function(){return Me})),i.d(t,"FormControlName",(function(){return Ge})),i.d(t,"FormGroup",(function(){return be})),i.d(t,"FormGroupDirective",(function(){return je})),i.d(t,"FormGroupName",(function(){return Le})),i.d(t,"FormsModule",(function(){return lt})),i.d(t,"MaxLengthValidator",(function(){return et})),i.d(t,"MinLengthValidator",(function(){return Xe})),i.d(t,"NG_ASYNC_VALIDATORS",(function(){return P})),i.d(t,"NG_VALIDATORS",(function(){return A})),i.d(t,"NG_VALUE_ACCESSOR",(function(){return h})),i.d(t,"NgControl",(function(){return S})),i.d(t,"NgControlStatus",(function(){return I})),i.d(t,"NgControlStatusGroup",(function(){return x})),i.d(t,"NgForm",(function(){return Se})),i.d(t,"NgModel",(function(){return Ae})),i.d(t,"NgModelGroup",(function(){return xe})),i.d(t,"NgSelectOption",(function(){return Z})),i.d(t,"NumberValueAccessor",(function(){return B})),i.d(t,"PatternValidator",(function(){return nt})),i.d(t,"RadioControlValueAccessor",(function(){return G})),i.d(t,"RangeValueAccessor",(function(){return K})),i.d(t,"ReactiveFormsModule",(function(){return ut})),i.d(t,"RequiredValidator",(function(){return ze})),i.d(t,"SelectControlValueAccessor",(function(){return W})),i.d(t,"SelectMultipleControlValueAccessor",(function(){return X})),i.d(t,"VERSION",(function(){return ct})),i.d(t,"Validators",(function(){return R})),i.d(t,"\u0275InternalFormsSharedModule",(function(){return at})),i.d(t,"\u0275NgNoValidate",(function(){return Pe})),i.d(t,"\u0275NgSelectMultipleOption",(function(){return $})),i.d(t,"\u0275angular_packages_forms_forms_a",(function(){return rt})),i.d(t,"\u0275angular_packages_forms_forms_b",(function(){return it})),i.d(t,"\u0275angular_packages_forms_forms_ba",(function(){return Ke})),i.d(t,"\u0275angular_packages_forms_forms_bb",(function(){return Ze})),i.d(t,"\u0275angular_packages_forms_forms_bc",(function(){return Qe})),i.d(t,"\u0275angular_packages_forms_forms_bd",(function(){return $e})),i.d(t,"\u0275angular_packages_forms_forms_be",(function(){return tt})),i.d(t,"\u0275angular_packages_forms_forms_c",(function(){return ot})),i.d(t,"\u0275angular_packages_forms_forms_d",(function(){return at})),i.d(t,"\u0275angular_packages_forms_forms_e",(function(){return f})),i.d(t,"\u0275angular_packages_forms_forms_f",(function(){return p})),i.d(t,"\u0275angular_packages_forms_forms_g",(function(){return _})),i.d(t,"\u0275angular_packages_forms_forms_h",(function(){return E})),i.d(t,"\u0275angular_packages_forms_forms_i",(function(){return Ce})),i.d(t,"\u0275angular_packages_forms_forms_j",(function(){return Oe})),i.d(t,"\u0275angular_packages_forms_forms_k",(function(){return Ie})),i.d(t,"\u0275angular_packages_forms_forms_l",(function(){return V})),i.d(t,"\u0275angular_packages_forms_forms_m",(function(){return U})),i.d(t,"\u0275angular_packages_forms_forms_n",(function(){return H})),i.d(t,"\u0275angular_packages_forms_forms_o",(function(){return q})),i.d(t,"\u0275angular_packages_forms_forms_p",(function(){return De})),i.d(t,"\u0275angular_packages_forms_forms_q",(function(){return Re})),i.d(t,"\u0275angular_packages_forms_forms_r",(function(){return He})),i.d(t,"\u0275angular_packages_forms_forms_s",(function(){return Ne})),i.d(t,"\u0275angular_packages_forms_forms_t",(function(){return Fe})),i.d(t,"\u0275angular_packages_forms_forms_u",(function(){return Ve})),i.d(t,"\u0275angular_packages_forms_forms_v",(function(){return z})),i.d(t,"\u0275angular_packages_forms_forms_w",(function(){return J})),i.d(t,"\u0275angular_packages_forms_forms_x",(function(){return $})),i.d(t,"\u0275angular_packages_forms_forms_y",(function(){return Pe})),i.d(t,"\u0275angular_packages_forms_forms_z",(function(){return qe}));var o=i("8Y7J"),a=i("SVse"),s=i("cp0P"),c=i("Cfvw"),u=i("lJxs"),h=new o.InjectionToken("NgValueAccessor"),f={provide:h,useExisting:Object(o.forwardRef)((function(){return m})),multi:!0},m=function(){var e=function(){function e(t,n){v(this,e),this._renderer=t,this._elementRef=n,this.onChange=function(e){},this.onTouched=function(){}}return y(e,[{key:"writeValue",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"checked",e)}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275directiveInject"](o.Renderer2),o["\u0275\u0275directiveInject"](o.ElementRef))},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(e,t){1&e&&o["\u0275\u0275listener"]("change",(function(e){return t.onChange(e.target.checked)}))("blur",(function(){return t.onTouched()}))},features:[o["\u0275\u0275ProvidersFeature"]([f])]}),e}(),p={provide:h,useExisting:Object(o.forwardRef)((function(){return b})),multi:!0},g=new o.InjectionToken("CompositionEventMode"),b=function(){var e=function(){function e(t,n,r){var i;v(this,e),this._renderer=t,this._elementRef=n,this._compositionMode=r,this.onChange=function(e){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(i=Object(a.C)()?Object(a.C)().getUserAgent():"",!/android (\d+)/.test(i.toLowerCase())))}return y(e,[{key:"writeValue",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},{key:"_handleInput",value:function(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}},{key:"_compositionStart",value:function(){this._composing=!0}},{key:"_compositionEnd",value:function(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275directiveInject"](o.Renderer2),o["\u0275\u0275directiveInject"](o.ElementRef),o["\u0275\u0275directiveInject"](g,8))},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,t){1&e&&o["\u0275\u0275listener"]("input",(function(e){return t._handleInput(e.target.value)}))("blur",(function(){return t.onTouched()}))("compositionstart",(function(){return t._compositionStart()}))("compositionend",(function(e){return t._compositionEnd(e.target.value)}))},features:[o["\u0275\u0275ProvidersFeature"]([p])]}),e}(),k=function(){var e=function(){function e(){v(this,e)}return y(e,[{key:"value",get:function(){return this.control?this.control.value:null}},{key:"valid",get:function(){return this.control?this.control.valid:null}},{key:"invalid",get:function(){return this.control?this.control.invalid:null}},{key:"pending",get:function(){return this.control?this.control.pending:null}},{key:"disabled",get:function(){return this.control?this.control.disabled:null}},{key:"enabled",get:function(){return this.control?this.control.enabled:null}},{key:"errors",get:function(){return this.control?this.control.errors:null}},{key:"pristine",get:function(){return this.control?this.control.pristine:null}},{key:"dirty",get:function(){return this.control?this.control.dirty:null}},{key:"touched",get:function(){return this.control?this.control.touched:null}},{key:"status",get:function(){return this.control?this.control.status:null}},{key:"untouched",get:function(){return this.control?this.control.untouched:null}},{key:"statusChanges",get:function(){return this.control?this.control.statusChanges:null}},{key:"valueChanges",get:function(){return this.control?this.control.valueChanges:null}},{key:"path",get:function(){return null}},{key:"reset",value:function(e){this.control&&this.control.reset(e)}},{key:"hasError",value:function(e,t){return!!this.control&&this.control.hasError(e,t)}},{key:"getError",value:function(e,t){return this.control?this.control.getError(e,t):null}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e}),e}(),C=function(){var e=function(e){l(n,e);var t=d(n);function n(){return v(this,n),t.apply(this,arguments)}return y(n,[{key:"formDirective",get:function(){return null}},{key:"path",get:function(){return null}}]),n}(k);return e.\u0275fac=function(t){return w(t||e)},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e,features:[o["\u0275\u0275InheritDefinitionFeature"]]}),e}(),w=o["\u0275\u0275getInheritedFactory"](C),S=function(e){l(n,e);var t=d(n);function n(){var e;return v(this,n),(e=t.apply(this,arguments))._parent=null,e.name=null,e.valueAccessor=null,e._rawValidators=[],e._rawAsyncValidators=[],e}return y(n,[{key:"validator",get:function(){}},{key:"asyncValidator",get:function(){}}]),n}(k),_=function(){function e(t){v(this,e),this._cd=t}return y(e,[{key:"ngClassUntouched",get:function(){return!!this._cd.control&&this._cd.control.untouched}},{key:"ngClassTouched",get:function(){return!!this._cd.control&&this._cd.control.touched}},{key:"ngClassPristine",get:function(){return!!this._cd.control&&this._cd.control.pristine}},{key:"ngClassDirty",get:function(){return!!this._cd.control&&this._cd.control.dirty}},{key:"ngClassValid",get:function(){return!!this._cd.control&&this._cd.control.valid}},{key:"ngClassInvalid",get:function(){return!!this._cd.control&&this._cd.control.invalid}},{key:"ngClassPending",get:function(){return!!this._cd.control&&this._cd.control.pending}}]),e}(),E={"[class.ng-untouched]":"ngClassUntouched","[class.ng-touched]":"ngClassTouched","[class.ng-pristine]":"ngClassPristine","[class.ng-dirty]":"ngClassDirty","[class.ng-valid]":"ngClassValid","[class.ng-invalid]":"ngClassInvalid","[class.ng-pending]":"ngClassPending"},I=function(){var e=function(e){l(n,e);var t=d(n);function n(e){return v(this,n),t.call(this,e)}return n}(_);return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275directiveInject"](S,2))},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&o["\u0275\u0275classProp"]("ng-untouched",t.ngClassUntouched)("ng-touched",t.ngClassTouched)("ng-pristine",t.ngClassPristine)("ng-dirty",t.ngClassDirty)("ng-valid",t.ngClassValid)("ng-invalid",t.ngClassInvalid)("ng-pending",t.ngClassPending)},features:[o["\u0275\u0275InheritDefinitionFeature"]]}),e}(),x=function(){var e=function(e){l(n,e);var t=d(n);function n(e){return v(this,n),t.call(this,e)}return n}(_);return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275directiveInject"](C,2))},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(e,t){2&e&&o["\u0275\u0275classProp"]("ng-untouched",t.ngClassUntouched)("ng-touched",t.ngClassTouched)("ng-pristine",t.ngClassPristine)("ng-dirty",t.ngClassDirty)("ng-valid",t.ngClassValid)("ng-invalid",t.ngClassInvalid)("ng-pending",t.ngClassPending)},features:[o["\u0275\u0275InheritDefinitionFeature"]]}),e}();
/**
 * @license Angular v10.2.5
 * (c) 2010-2020 Google LLC. https://angular.io/
 * License: MIT
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function O(e){return null==e||0===e.length}function T(e){return null!=e&&"number"==typeof e.length}var A=new o.InjectionToken("NgValidators"),P=new o.InjectionToken("NgAsyncValidators"),D=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,R=function(){function e(){v(this,e)}return y(e,null,[{key:"min",value:function(e){return function(t){if(O(t.value)||O(e))return null;var n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}},{key:"max",value:function(e){return function(t){if(O(t.value)||O(e))return null;var n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}},{key:"required",value:function(e){return O(e.value)?{required:!0}:null}},{key:"requiredTrue",value:function(e){return!0===e.value?null:{required:!0}}},{key:"email",value:function(e){return O(e.value)||D.test(e.value)?null:{email:!0}}},{key:"minLength",value:function(e){return function(t){return O(t.value)||!T(t.value)?null:t.value.length<e?{minlength:{requiredLength:e,actualLength:t.value.length}}:null}}},{key:"maxLength",value:function(e){return function(t){return T(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}}},{key:"pattern",value:function(t){return t?("string"==typeof t?(r="","^"!==t.charAt(0)&&(r+="^"),r+=t,"$"!==t.charAt(t.length-1)&&(r+="$"),n=new RegExp(r)):(r=t.toString(),n=t),function(e){if(O(e.value))return null;var t=e.value;return n.test(t)?null:{pattern:{requiredPattern:r,actualValue:t}}}):e.nullValidator;var n,r}},{key:"nullValidator",value:function(e){return null}},{key:"compose",value:function(e){if(!e)return null;var t=e.filter(M);return 0==t.length?null:function(e){return j(F(e,t))}}},{key:"composeAsync",value:function(e){if(!e)return null;var t=e.filter(M);return 0==t.length?null:function(e){var n=F(e,t).map(N);return Object(s.a)(n).pipe(Object(u.a)(j))}}}]),e}();function M(e){return null!=e}function N(e){var t=Object(o["\u0275isPromise"])(e)?Object(c.a)(e):e;return Object(o["\u0275isObservable"])(t),t}function j(e){var t={};return e.forEach((function(e){t=null!=e?Object.assign(Object.assign({},t),e):t})),0===Object.keys(t).length?null:t}function F(e,t){return t.map((function(t){return t(e)}))}function L(e){return e.map((function(e){return function(e){return!e.validate}(e)?e:function(t){return e.validate(t)}}))}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var V={provide:h,useExisting:Object(o.forwardRef)((function(){return B})),multi:!0},B=function(){var e=function(){function e(t,n){v(this,e),this._renderer=t,this._elementRef=n,this.onChange=function(e){},this.onTouched=function(){}}return y(e,[{key:"writeValue",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}},{key:"registerOnChange",value:function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275directiveInject"](o.Renderer2),o["\u0275\u0275directiveInject"](o.ElementRef))},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,t){1&e&&o["\u0275\u0275listener"]("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[o["\u0275\u0275ProvidersFeature"]([V])]}),e}(),U={provide:h,useExisting:Object(o.forwardRef)((function(){return G})),multi:!0},H=function(){var e=function(){function e(){v(this,e),this._accessors=[]}return y(e,[{key:"add",value:function(e,t){this._accessors.push([e,t])}},{key:"remove",value:function(e){for(var t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)}},{key:"select",value:function(e){var t=this;this._accessors.forEach((function(n){t._isSameGroup(n,e)&&n[1]!==e&&n[1].fireUncheck(e.value)}))}},{key:"_isSameGroup",value:function(e,t){return!!e[0].control&&e[0]._parent===t._control._parent&&e[1].name===t.name}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=o["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),G=function(){var e=function(){function e(t,n,r,i){v(this,e),this._renderer=t,this._elementRef=n,this._registry=r,this._injector=i,this.onChange=function(){},this.onTouched=function(){}}return y(e,[{key:"ngOnInit",value:function(){this._control=this._injector.get(S),this._checkName(),this._registry.add(this._control,this)}},{key:"ngOnDestroy",value:function(){this._registry.remove(this)}},{key:"writeValue",value:function(e){this._state=e===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}},{key:"registerOnChange",value:function(e){var t=this;this._fn=e,this.onChange=function(){e(t.value),t._registry.select(t)}}},{key:"fireUncheck",value:function(e){this.writeValue(e)}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},{key:"_checkName",value:function(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275directiveInject"](o.Renderer2),o["\u0275\u0275directiveInject"](o.ElementRef),o["\u0275\u0275directiveInject"](H),o["\u0275\u0275directiveInject"](o.Injector))},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(e,t){1&e&&o["\u0275\u0275listener"]("change",(function(){return t.onChange()}))("blur",(function(){return t.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[o["\u0275\u0275ProvidersFeature"]([U])]}),e}(),q={provide:h,useExisting:Object(o.forwardRef)((function(){return K})),multi:!0},K=function(){var e=function(){function e(t,n){v(this,e),this._renderer=t,this._elementRef=n,this.onChange=function(e){},this.onTouched=function(){}}return y(e,[{key:"writeValue",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(e))}},{key:"registerOnChange",value:function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275directiveInject"](o.Renderer2),o["\u0275\u0275directiveInject"](o.ElementRef))},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(e,t){1&e&&o["\u0275\u0275listener"]("change",(function(e){return t.onChange(e.target.value)}))("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[o["\u0275\u0275ProvidersFeature"]([q])]}),e}(),z={provide:h,useExisting:Object(o.forwardRef)((function(){return W})),multi:!0};function Y(e,t){return null==e?""+t:(t&&"object"==typeof t&&(t="Object"),"".concat(e,": ").concat(t).slice(0,50))}var W=function(){var e=function(){function e(t,n){v(this,e),this._renderer=t,this._elementRef=n,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=Object.is}return y(e,[{key:"compareWith",set:function(e){this._compareWith=e}},{key:"writeValue",value:function(e){this.value=e;var t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=Y(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}},{key:"registerOnChange",value:function(e){var t=this;this.onChange=function(n){t.value=t._getOptionValue(n),e(t.value)}}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},{key:"_registerOption",value:function(){return(this._idCounter++).toString()}},{key:"_getOptionId",value:function(e){for(var t=0,n=Array.from(this._optionMap.keys());t<n.length;t++){var r=n[t];if(this._compareWith(this._optionMap.get(r),e))return r}return null}},{key:"_getOptionValue",value:function(e){var t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275directiveInject"](o.Renderer2),o["\u0275\u0275directiveInject"](o.ElementRef))},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,t){1&e&&o["\u0275\u0275listener"]("change",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},inputs:{compareWith:"compareWith"},features:[o["\u0275\u0275ProvidersFeature"]([z])]}),e}(),Z=function(){var e=function(){function e(t,n,r){v(this,e),this._element=t,this._renderer=n,this._select=r,this._select&&(this.id=this._select._registerOption())}return y(e,[{key:"ngValue",set:function(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue(Y(this.id,e)),this._select.writeValue(this._select.value))}},{key:"value",set:function(e){this._setElementValue(e),this._select&&this._select.writeValue(this._select.value)}},{key:"_setElementValue",value:function(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}},{key:"ngOnDestroy",value:function(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275directiveInject"](o.ElementRef),o["\u0275\u0275directiveInject"](o.Renderer2),o["\u0275\u0275directiveInject"](W,9))},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e}(),J={provide:h,useExisting:Object(o.forwardRef)((function(){return X})),multi:!0};
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Q(e,t){return null==e?""+t:("string"==typeof t&&(t="'".concat(t,"'")),t&&"object"==typeof t&&(t="Object"),"".concat(e,": ").concat(t).slice(0,50))}var X=function(){var e=function(){function e(t,n){v(this,e),this._renderer=t,this._elementRef=n,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=Object.is}return y(e,[{key:"compareWith",set:function(e){this._compareWith=e}},{key:"writeValue",value:function(e){var t,n=this;if(this.value=e,Array.isArray(e)){var r=e.map((function(e){return n._getOptionId(e)}));t=function(e,t){e._setSelected(r.indexOf(t.toString())>-1)}}else t=function(e,t){e._setSelected(!1)};this._optionMap.forEach(t)}},{key:"registerOnChange",value:function(e){var t=this;this.onChange=function(n){var r=[];if(void 0!==n.selectedOptions)for(var i=n.selectedOptions,o=0;o<i.length;o++){var a=i.item(o),s=t._getOptionValue(a.value);r.push(s)}else for(var c=n.options,l=0;l<c.length;l++){var u=c.item(l);if(u.selected){var d=t._getOptionValue(u.value);r.push(d)}}t.value=r,e(r)}}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},{key:"_registerOption",value:function(e){var t=(this._idCounter++).toString();return this._optionMap.set(t,e),t}},{key:"_getOptionId",value:function(e){for(var t=0,n=Array.from(this._optionMap.keys());t<n.length;t++){var r=n[t];if(this._compareWith(this._optionMap.get(r)._value,e))return r}return null}},{key:"_getOptionValue",value:function(e){var t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t)._value:e}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275directiveInject"](o.Renderer2),o["\u0275\u0275directiveInject"](o.ElementRef))},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(e,t){1&e&&o["\u0275\u0275listener"]("change",(function(e){return t.onChange(e.target)}))("blur",(function(){return t.onTouched()}))},inputs:{compareWith:"compareWith"},features:[o["\u0275\u0275ProvidersFeature"]([J])]}),e}(),$=function(){var e=function(){function e(t,n,r){v(this,e),this._element=t,this._renderer=n,this._select=r,this._select&&(this.id=this._select._registerOption(this))}return y(e,[{key:"ngValue",set:function(e){null!=this._select&&(this._value=e,this._setElementValue(Q(this.id,e)),this._select.writeValue(this._select.value))}},{key:"value",set:function(e){this._select?(this._value=e,this._setElementValue(Q(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)}},{key:"_setElementValue",value:function(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}},{key:"_setSelected",value:function(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)}},{key:"ngOnDestroy",value:function(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275directiveInject"](o.ElementRef),o["\u0275\u0275directiveInject"](o.Renderer2),o["\u0275\u0275directiveInject"](X,9))},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e}();
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function ee(e,t){return[].concat(n(t.path),[e])}function te(e,t){e.validator=R.compose([e.validator,t.validator]),e.asyncValidator=R.composeAsync([e.asyncValidator,t.asyncValidator]),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange((function(n){e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&ne(e,t)}))}(e,t),function(e,t){e.registerOnChange((function(e,n){t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)}))}(e,t),function(e,t){t.valueAccessor.registerOnTouched((function(){e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&ne(e,t),"submit"!==e.updateOn&&e.markAsTouched()}))}(e,t),t.valueAccessor.setDisabledState&&e.registerOnDisabledChange((function(e){t.valueAccessor.setDisabledState(e)})),t._rawValidators.forEach((function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange((function(){return e.updateValueAndValidity()}))})),t._rawAsyncValidators.forEach((function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange((function(){return e.updateValueAndValidity()}))}))}function ne(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function re(e,t){e.validator=R.compose([e.validator,t.validator]),e.asyncValidator=R.composeAsync([e.asyncValidator,t.asyncValidator])}function ie(e){return null!=e?R.compose(L(e)):null}function oe(e){return null!=e?R.composeAsync(L(e)):null}function ae(e,t){if(!e.hasOwnProperty("model"))return!1;var n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}var se=[m,K,B,W,X,G];function ce(e,t){e._syncPendingControls(),t.forEach((function(e){var t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)}))}function le(e,t){if(!t)return null;Array.isArray(t);var n=void 0,r=void 0,i=void 0;return t.forEach((function(e){var t;e.constructor===b?n=e:(t=e,se.some((function(e){return t.constructor===e}))?r=e:i=e)})),i||r||n||null}function ue(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}function de(e,t,n,r){Object(o.isDevMode)()&&"never"!==r&&((null!==r&&"once"!==r||t._ngModelWarningSentOnce)&&("always"!==r||n._ngModelWarningSent)||(t._ngModelWarningSentOnce=!0,n._ngModelWarningSent=!0))}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function he(e){return(ve(e)?e.validators:e)||null}function fe(e){return Array.isArray(e)?ie(e):e||null}function me(e,t){return(ve(t)?t.asyncValidators:e)||null}function pe(e){return Array.isArray(e)?oe(e):e||null}function ve(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}var ge=function(){function e(t,n){v(this,e),this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=n,this._composedValidatorFn=fe(this._rawValidators),this._composedAsyncValidatorFn=pe(this._rawAsyncValidators)}return y(e,[{key:"validator",get:function(){return this._composedValidatorFn},set:function(e){this._rawValidators=this._composedValidatorFn=e}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn},set:function(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}},{key:"parent",get:function(){return this._parent}},{key:"valid",get:function(){return"VALID"===this.status}},{key:"invalid",get:function(){return"INVALID"===this.status}},{key:"pending",get:function(){return"PENDING"==this.status}},{key:"disabled",get:function(){return"DISABLED"===this.status}},{key:"enabled",get:function(){return"DISABLED"!==this.status}},{key:"dirty",get:function(){return!this.pristine}},{key:"untouched",get:function(){return!this.touched}},{key:"updateOn",get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}},{key:"setValidators",value:function(e){this._rawValidators=e,this._composedValidatorFn=fe(e)}},{key:"setAsyncValidators",value:function(e){this._rawAsyncValidators=e,this._composedAsyncValidatorFn=pe(e)}},{key:"clearValidators",value:function(){this.validator=null}},{key:"clearAsyncValidators",value:function(){this.asyncValidator=null}},{key:"markAsTouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}},{key:"markAllAsTouched",value:function(){this.markAsTouched({onlySelf:!0}),this._forEachChild((function(e){return e.markAllAsTouched()}))}},{key:"markAsUntouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!1,this._pendingTouched=!1,this._forEachChild((function(e){e.markAsUntouched({onlySelf:!0})})),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}},{key:"markAsDirty",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}},{key:"markAsPristine",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!0,this._pendingDirty=!1,this._forEachChild((function(e){e.markAsPristine({onlySelf:!0})})),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}},{key:"markAsPending",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.status="PENDING",!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}},{key:"disable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(e.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild((function(t){t.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))})),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach((function(e){return e(!0)}))}},{key:"enable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(e.onlySelf);this.status="VALID",this._forEachChild((function(t){t.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))})),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach((function(e){return e(!1)}))}},{key:"_updateAncestors",value:function(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}},{key:"setParent",value:function(e){this._parent=e}},{key:"updateValueAndValidity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}},{key:"_updateTreeValidity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{emitEvent:!0};this._forEachChild((function(t){return t._updateTreeValidity(e)})),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}},{key:"_setInitialStatus",value:function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}},{key:"_runValidator",value:function(){return this.validator?this.validator(this):null}},{key:"_runAsyncValidator",value:function(e){var t=this;if(this.asyncValidator){this.status="PENDING",this._hasOwnPendingAsyncValidator=!0;var n=N(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe((function(n){t._hasOwnPendingAsyncValidator=!1,t.setErrors(n,{emitEvent:e})}))}}},{key:"_cancelExistingSubscription",value:function(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}},{key:"setErrors",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}},{key:"get",value:function(e){return function(e,t,n){if(null==t)return null;if(Array.isArray(t)||(t=t.split(".")),Array.isArray(t)&&0===t.length)return null;var r=e;return t.forEach((function(e){r=r instanceof be?r.controls.hasOwnProperty(e)?r.controls[e]:null:r instanceof ke&&r.at(e)||null})),r}(this,e)}},{key:"getError",value:function(e,t){var n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null}},{key:"hasError",value:function(e,t){return!!this.getError(e,t)}},{key:"root",get:function(){for(var e=this;e._parent;)e=e._parent;return e}},{key:"_updateControlsErrors",value:function(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}},{key:"_initObservables",value:function(){this.valueChanges=new o.EventEmitter,this.statusChanges=new o.EventEmitter}},{key:"_calculateStatus",value:function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}},{key:"_anyControlsHaveStatus",value:function(e){return this._anyControls((function(t){return t.status===e}))}},{key:"_anyControlsDirty",value:function(){return this._anyControls((function(e){return e.dirty}))}},{key:"_anyControlsTouched",value:function(){return this._anyControls((function(e){return e.touched}))}},{key:"_updatePristine",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}},{key:"_updateTouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}},{key:"_isBoxedValue",value:function(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}},{key:"_registerOnCollectionChange",value:function(e){this._onCollectionChange=e}},{key:"_setUpdateStrategy",value:function(e){ve(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}},{key:"_parentMarkedDirty",value:function(e){return!e&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}}]),e}(),ye=function(e){l(n,e);var t=d(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=arguments.length>1?arguments[1]:void 0,o=arguments.length>2?arguments[2]:void 0;return v(this,n),(e=t.call(this,he(i),me(o,i)))._onChange=[],e._applyFormState(r),e._setUpdateStrategy(i),e.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),e._initObservables(),e}return y(n,[{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.value=this._pendingValue=e,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach((function(e){return e(t.value,!1!==n.emitViewToModelChange)})),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.setValue(e,t)}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}},{key:"_updateValue",value:function(){}},{key:"_anyControls",value:function(e){return!1}},{key:"_allControlsDisabled",value:function(){return this.disabled}},{key:"registerOnChange",value:function(e){this._onChange.push(e)}},{key:"_clearChangeFns",value:function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}}},{key:"registerOnDisabledChange",value:function(e){this._onDisabledChange.push(e)}},{key:"_forEachChild",value:function(e){}},{key:"_syncPendingControls",value:function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}},{key:"_applyFormState",value:function(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}}]),n}(ge),be=function(e){l(n,e);var t=d(n);function n(e,r,i){var o;return v(this,n),(o=t.call(this,he(r),me(i,r))).controls=e,o._initObservables(),o._setUpdateStrategy(r),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return y(n,[{key:"registerControl",value:function(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}},{key:"addControl",value:function(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"removeControl",value:function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()}},{key:"setControl",value:function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"contains",value:function(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}},{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(e),Object.keys(e).forEach((function(r){t._throwIfControlMissing(r),t.controls[r].setValue(e[r],{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object.keys(e).forEach((function(r){t.controls[r]&&t.controls[r].patchValue(e[r],{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild((function(n,r){n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})})),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}},{key:"getRawValue",value:function(){return this._reduceChildren({},(function(e,t,n){return e[n]=t instanceof ye?t.value:t.getRawValue(),e}))}},{key:"_syncPendingControls",value:function(){var e=this._reduceChildren(!1,(function(e,t){return!!t._syncPendingControls()||e}));return e&&this.updateValueAndValidity({onlySelf:!0}),e}},{key:"_throwIfControlMissing",value:function(e){if(!Object.keys(this.controls).length)throw new Error("\n        There are no form controls registered with this group yet. If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.controls[e])throw new Error("Cannot find form control with name: ".concat(e,"."))}},{key:"_forEachChild",value:function(e){var t=this;Object.keys(this.controls).forEach((function(n){return e(t.controls[n],n)}))}},{key:"_setUpControls",value:function(){var e=this;this._forEachChild((function(t){t.setParent(e),t._registerOnCollectionChange(e._onCollectionChange)}))}},{key:"_updateValue",value:function(){this.value=this._reduceValue()}},{key:"_anyControls",value:function(e){for(var t=0,n=Object.keys(this.controls);t<n.length;t++){var r=n[t],i=this.controls[r];if(this.contains(r)&&e(i))return!0}return!1}},{key:"_reduceValue",value:function(){var e=this;return this._reduceChildren({},(function(t,n,r){return(n.enabled||e.disabled)&&(t[r]=n.value),t}))}},{key:"_reduceChildren",value:function(e,t){var n=e;return this._forEachChild((function(e,r){n=t(n,e,r)})),n}},{key:"_allControlsDisabled",value:function(){for(var e=0,t=Object.keys(this.controls);e<t.length;e++){var n=t[e];if(this.controls[n].enabled)return!1}return Object.keys(this.controls).length>0||this.disabled}},{key:"_checkAllValuesPresent",value:function(e){this._forEachChild((function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control with name: '".concat(n,"'."))}))}}]),n}(ge),ke=function(e){l(n,e);var t=d(n);function n(e,r,i){var o;return v(this,n),(o=t.call(this,he(r),me(i,r))).controls=e,o._initObservables(),o._setUpdateStrategy(r),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return y(n,[{key:"at",value:function(e){return this.controls[e]}},{key:"push",value:function(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"insert",value:function(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()}},{key:"removeAt",value:function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),this.controls.splice(e,1),this.updateValueAndValidity()}},{key:"setControl",value:function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"length",get:function(){return this.controls.length}},{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(e),e.forEach((function(e,r){t._throwIfControlMissing(r),t.at(r).setValue(e,{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.forEach((function(e,r){t.at(r)&&t.at(r).patchValue(e,{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild((function(n,r){n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})})),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}},{key:"getRawValue",value:function(){return this.controls.map((function(e){return e instanceof ye?e.value:e.getRawValue()}))}},{key:"clear",value:function(){this.controls.length<1||(this._forEachChild((function(e){return e._registerOnCollectionChange((function(){}))})),this.controls.splice(0),this.updateValueAndValidity())}},{key:"_syncPendingControls",value:function(){var e=this.controls.reduce((function(e,t){return!!t._syncPendingControls()||e}),!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}},{key:"_throwIfControlMissing",value:function(e){if(!this.controls.length)throw new Error("\n        There are no form controls registered with this array yet. If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.at(e))throw new Error("Cannot find form control at index "+e)}},{key:"_forEachChild",value:function(e){this.controls.forEach((function(t,n){e(t,n)}))}},{key:"_updateValue",value:function(){var e=this;this.value=this.controls.filter((function(t){return t.enabled||e.disabled})).map((function(e){return e.value}))}},{key:"_anyControls",value:function(e){return this.controls.some((function(t){return t.enabled&&e(t)}))}},{key:"_setUpControls",value:function(){var e=this;this._forEachChild((function(t){return e._registerControl(t)}))}},{key:"_checkAllValuesPresent",value:function(e){this._forEachChild((function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control at index: ".concat(n,"."))}))}},{key:"_allControlsDisabled",value:function(){var e,t=r(this.controls);try{for(t.s();!(e=t.n()).done;){if(e.value.enabled)return!1}}catch(n){t.e(n)}finally{t.f()}return this.controls.length>0||this.disabled}},{key:"_registerControl",value:function(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}}]),n}(ge),Ce={provide:C,useExisting:Object(o.forwardRef)((function(){return Se}))},we=Promise.resolve(null),Se=function(){var e=function(e){l(n,e);var t=d(n);function n(e,r){var i;return v(this,n),(i=t.call(this)).submitted=!1,i._directives=[],i.ngSubmit=new o.EventEmitter,i.form=new be({},ie(e),oe(r)),i}return y(n,[{key:"ngAfterViewInit",value:function(){this._setUpdateStrategy()}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"controls",get:function(){return this.form.controls}},{key:"addControl",value:function(e){var t=this;we.then((function(){var n=t._findContainer(e.path);e.control=n.registerControl(e.name,e.control),te(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),t._directives.push(e)}))}},{key:"getControl",value:function(e){return this.form.get(e.path)}},{key:"removeControl",value:function(e){var t=this;we.then((function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name),ue(t._directives,e)}))}},{key:"addFormGroup",value:function(e){var t=this;we.then((function(){var n=t._findContainer(e.path),r=new be({});re(r,e),n.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})}))}},{key:"removeFormGroup",value:function(e){var t=this;we.then((function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name)}))}},{key:"getFormGroup",value:function(e){return this.form.get(e.path)}},{key:"updateModel",value:function(e,t){var n=this;we.then((function(){n.form.get(e.path).setValue(t)}))}},{key:"setValue",value:function(e){this.control.setValue(e)}},{key:"onSubmit",value:function(e){return this.submitted=!0,ce(this.form,this._directives),this.ngSubmit.emit(e),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(e){this.form.reset(e),this.submitted=!1}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}},{key:"_findContainer",value:function(e){return e.pop(),e.length?this.form.get(e):this.form}}]),n}(C);return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275directiveInject"](A,10),o["\u0275\u0275directiveInject"](P,10))},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&o["\u0275\u0275listener"]("submit",(function(e){return t.onSubmit(e)}))("reset",(function(){return t.onReset()}))},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[o["\u0275\u0275ProvidersFeature"]([Ce]),o["\u0275\u0275InheritDefinitionFeature"]]}),e}(),_e=function(){var e=function(e){l(n,e);var t=d(n);function n(){return v(this,n),t.apply(this,arguments)}return y(n,[{key:"ngOnInit",value:function(){this._checkParentType(),this.formDirective.addFormGroup(this)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeFormGroup(this)}},{key:"control",get:function(){return this.formDirective.getFormGroup(this)}},{key:"path",get:function(){return ee(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"validator",get:function(){return ie(this._validators)}},{key:"asyncValidator",get:function(){return oe(this._asyncValidators)}},{key:"_checkParentType",value:function(){}}]),n}(C);return e.\u0275fac=function(t){return Ee(t||e)},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e,features:[o["\u0275\u0275InheritDefinitionFeature"]]}),e}(),Ee=o["\u0275\u0275getInheritedFactory"](_e),Ie={provide:C,useExisting:Object(o.forwardRef)((function(){return xe}))},xe=function(){var e=function(e){l(n,e);var t=d(n);function n(e,r,i){var o;return v(this,n),(o=t.call(this))._parent=e,o._validators=r,o._asyncValidators=i,o}return y(n,[{key:"_checkParentType",value:function(){}}]),n}(_e);return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275directiveInject"](C,5),o["\u0275\u0275directiveInject"](A,10),o["\u0275\u0275directiveInject"](P,10))},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[o["\u0275\u0275ProvidersFeature"]([Ie]),o["\u0275\u0275InheritDefinitionFeature"]]}),e}(),Oe={provide:S,useExisting:Object(o.forwardRef)((function(){return Ae}))},Te=Promise.resolve(null),Ae=function(){var e=function(e){l(n,e);var t=d(n);function n(e,r,i,a){var s;return v(this,n),(s=t.call(this)).control=new ye,s._registered=!1,s.update=new o.EventEmitter,s._parent=e,s._rawValidators=r||[],s._rawAsyncValidators=i||[],s.valueAccessor=le(0,a),s}return y(n,[{key:"ngOnChanges",value:function(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),ae(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"path",get:function(){return this._parent?ee(this.name,this._parent):[this.name]}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"validator",get:function(){return ie(this._rawValidators)}},{key:"asyncValidator",get:function(){return oe(this._rawAsyncValidators)}},{key:"viewToModelUpdate",value:function(e){this.viewModel=e,this.update.emit(e)}},{key:"_setUpControl",value:function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}},{key:"_isStandalone",value:function(){return!this._parent||!(!this.options||!this.options.standalone)}},{key:"_setUpStandalone",value:function(){te(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}},{key:"_checkForErrors",value:function(){this._isStandalone()||this._checkParentType(),this._checkName()}},{key:"_checkParentType",value:function(){}},{key:"_checkName",value:function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}},{key:"_updateValue",value:function(e){var t=this;Te.then((function(){t.control.setValue(e,{emitViewToModelChange:!1})}))}},{key:"_updateDisabled",value:function(e){var t=this,n=e.isDisabled.currentValue,r=""===n||n&&"false"!==n;Te.then((function(){r&&!t.control.disabled?t.control.disable():!r&&t.control.disabled&&t.control.enable()}))}}]),n}(S);return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275directiveInject"](C,9),o["\u0275\u0275directiveInject"](A,10),o["\u0275\u0275directiveInject"](P,10),o["\u0275\u0275directiveInject"](h,10))},e.\u0275dir=o["\u0275\u0275defineDirective"]({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:[o["\u0275\u0275ProvidersFeature"]([Oe]),o["\u0275\u0275InheritDefinitionFeature"],o["\u0275\u0275NgOnChangesFeature"]]}),e}(),Pe=function(){var e=function e(){v(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e}(),De=new o.InjectionToken("NgModelWithFormControlWarning"),Re={provide:S,useExisting:Object(o.forwardRef)((function(){return Me}))},Me=function(){var e=function(e){l(n,e);var t=d(n);function n(e,r,i,a){var s;return v(this,n),(s=t.call(this))._ngModelWarningConfig=a,s.update=new o.EventEmitter,s._ngModelWarningSent=!1,s._rawValidators=e||[],s._rawAsyncValidators=r||[],s.valueAccessor=le(0,i),s}return y(n,[{key:"isDisabled",set:function(e){}},{key:"ngOnChanges",value:function(e){this._isControlChanged(e)&&(te(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),ae(e,this.viewModel)&&(de(0,n,this,this._ngModelWarningConfig),this.form.setValue(this.model),this.viewModel=this.model)}},{key:"path",get:function(){return[]}},{key:"validator",get:function(){return ie(this._rawValidators)}},{key:"asyncValidator",get:function(){return oe(this._rawAsyncValidators)}},{key:"control",get:function(){return this.form}},{key:"viewToModelUpdate",value:function(e){this.viewModel=e,this.update.emit(e)}},{key:"_isControlChanged",value:function(e){return e.hasOwnProperty("form")}}]),n}(S);return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275directiveInject"](A,10),o["\u0275\u0275directiveInject"](P,10),o["\u0275\u0275directiveInject"](h,10),o["\u0275\u0275directiveInject"](De,8))},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[o["\u0275\u0275ProvidersFeature"]([Re]),o["\u0275\u0275InheritDefinitionFeature"],o["\u0275\u0275NgOnChangesFeature"]]}),e._ngModelWarningSentOnce=!1,e}(),Ne={provide:C,useExisting:Object(o.forwardRef)((function(){return je}))},je=function(){var e=function(e){l(n,e);var t=d(n);function n(e,r){var i;return v(this,n),(i=t.call(this))._validators=e,i._asyncValidators=r,i.submitted=!1,i.directives=[],i.form=null,i.ngSubmit=new o.EventEmitter,i}return y(n,[{key:"ngOnChanges",value:function(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"addControl",value:function(e){var t=this.form.get(e.path);return te(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}},{key:"getControl",value:function(e){return this.form.get(e.path)}},{key:"removeControl",value:function(e){ue(this.directives,e)}},{key:"addFormGroup",value:function(e){var t=this.form.get(e.path);re(t,e),t.updateValueAndValidity({emitEvent:!1})}},{key:"removeFormGroup",value:function(e){}},{key:"getFormGroup",value:function(e){return this.form.get(e.path)}},{key:"addFormArray",value:function(e){var t=this.form.get(e.path);re(t,e),t.updateValueAndValidity({emitEvent:!1})}},{key:"removeFormArray",value:function(e){}},{key:"getFormArray",value:function(e){return this.form.get(e.path)}},{key:"updateModel",value:function(e,t){this.form.get(e.path).setValue(t)}},{key:"onSubmit",value:function(e){return this.submitted=!0,ce(this.form,this.directives),this.ngSubmit.emit(e),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(e){this.form.reset(e),this.submitted=!1}},{key:"_updateDomValue",value:function(){var e=this;this.directives.forEach((function(t){var n=e.form.get(t.path);t.control!==n&&(function(e,t){var n=function(){};t.valueAccessor.registerOnChange(n),t.valueAccessor.registerOnTouched(n),t._rawValidators.forEach((function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(null)})),t._rawAsyncValidators.forEach((function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(null)})),e&&e._clearChangeFns()}(t.control,t),n&&te(n,t),t.control=n)})),this.form._updateTreeValidity({emitEvent:!1})}},{key:"_updateRegistrations",value:function(){var e=this;this.form._registerOnCollectionChange((function(){return e._updateDomValue()})),this._oldForm&&this._oldForm._registerOnCollectionChange((function(){})),this._oldForm=this.form}},{key:"_updateValidators",value:function(){var e=ie(this._validators);this.form.validator=R.compose([this.form.validator,e]);var t=oe(this._asyncValidators);this.form.asyncValidator=R.composeAsync([this.form.asyncValidator,t])}},{key:"_checkFormPresent",value:function(){}}]),n}(C);return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275directiveInject"](A,10),o["\u0275\u0275directiveInject"](P,10))},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&o["\u0275\u0275listener"]("submit",(function(e){return t.onSubmit(e)}))("reset",(function(){return t.onReset()}))},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[o["\u0275\u0275ProvidersFeature"]([Ne]),o["\u0275\u0275InheritDefinitionFeature"],o["\u0275\u0275NgOnChangesFeature"]]}),e}(),Fe={provide:C,useExisting:Object(o.forwardRef)((function(){return Le}))},Le=function(){var e=function(e){l(n,e);var t=d(n);function n(e,r,i){var o;return v(this,n),(o=t.call(this))._parent=e,o._validators=r,o._asyncValidators=i,o}return y(n,[{key:"_checkParentType",value:function(){Ue(this._parent)}}]),n}(_e);return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275directiveInject"](C,13),o["\u0275\u0275directiveInject"](A,10),o["\u0275\u0275directiveInject"](P,10))},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[o["\u0275\u0275ProvidersFeature"]([Fe]),o["\u0275\u0275InheritDefinitionFeature"]]}),e}(),Ve={provide:C,useExisting:Object(o.forwardRef)((function(){return Be}))},Be=function(){var e=function(e){l(n,e);var t=d(n);function n(e,r,i){var o;return v(this,n),(o=t.call(this))._parent=e,o._validators=r,o._asyncValidators=i,o}return y(n,[{key:"ngOnInit",value:function(){this._checkParentType(),this.formDirective.addFormArray(this)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeFormArray(this)}},{key:"control",get:function(){return this.formDirective.getFormArray(this)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"path",get:function(){return ee(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"validator",get:function(){return ie(this._validators)}},{key:"asyncValidator",get:function(){return oe(this._asyncValidators)}},{key:"_checkParentType",value:function(){Ue(this._parent)}}]),n}(C);return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275directiveInject"](C,13),o["\u0275\u0275directiveInject"](A,10),o["\u0275\u0275directiveInject"](P,10))},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[o["\u0275\u0275ProvidersFeature"]([Ve]),o["\u0275\u0275InheritDefinitionFeature"]]}),e}();function Ue(e){return!(e instanceof Le||e instanceof je||e instanceof Be)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var He={provide:S,useExisting:Object(o.forwardRef)((function(){return Ge}))},Ge=function(){var e=function(e){l(n,e);var t=d(n);function n(e,r,i,a,s){var c;return v(this,n),(c=t.call(this))._ngModelWarningConfig=s,c._added=!1,c.update=new o.EventEmitter,c._ngModelWarningSent=!1,c._parent=e,c._rawValidators=r||[],c._rawAsyncValidators=i||[],c.valueAccessor=le(0,a),c}return y(n,[{key:"isDisabled",set:function(e){}},{key:"ngOnChanges",value:function(e){this._added||this._setUpControl(),ae(e,this.viewModel)&&(de(0,n,this,this._ngModelWarningConfig),this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"viewToModelUpdate",value:function(e){this.viewModel=e,this.update.emit(e)}},{key:"path",get:function(){return ee(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"validator",get:function(){return ie(this._rawValidators)}},{key:"asyncValidator",get:function(){return oe(this._rawAsyncValidators)}},{key:"_checkParentType",value:function(){}},{key:"_setUpControl",value:function(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}]),n}(S);return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275directiveInject"](C,13),o["\u0275\u0275directiveInject"](A,10),o["\u0275\u0275directiveInject"](P,10),o["\u0275\u0275directiveInject"](h,10),o["\u0275\u0275directiveInject"](De,8))},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[o["\u0275\u0275ProvidersFeature"]([He]),o["\u0275\u0275InheritDefinitionFeature"],o["\u0275\u0275NgOnChangesFeature"]]}),e._ngModelWarningSentOnce=!1,e}(),qe={provide:A,useExisting:Object(o.forwardRef)((function(){return ze})),multi:!0},Ke={provide:A,useExisting:Object(o.forwardRef)((function(){return Ye})),multi:!0},ze=function(){var e=function(){function e(){v(this,e),this._required=!1}return y(e,[{key:"required",get:function(){return this._required},set:function(e){this._required=null!=e&&!1!==e&&""+e!="false",this._onChange&&this._onChange()}},{key:"validate",value:function(e){return this.required?R.required(e):null}},{key:"registerOnValidatorChange",value:function(e){this._onChange=e}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&o["\u0275\u0275attribute"]("required",t.required?"":null)},inputs:{required:"required"},features:[o["\u0275\u0275ProvidersFeature"]([qe])]}),e}(),Ye=function(){var e=function(e){l(n,e);var t=d(n);function n(){return v(this,n),t.apply(this,arguments)}return y(n,[{key:"validate",value:function(e){return this.required?R.requiredTrue(e):null}}]),n}(ze);return e.\u0275fac=function(t){return We(t||e)},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&o["\u0275\u0275attribute"]("required",t.required?"":null)},features:[o["\u0275\u0275ProvidersFeature"]([Ke]),o["\u0275\u0275InheritDefinitionFeature"]]}),e}(),We=o["\u0275\u0275getInheritedFactory"](Ye),Ze={provide:A,useExisting:Object(o.forwardRef)((function(){return Je})),multi:!0},Je=function(){var e=function(){function e(){v(this,e),this._enabled=!1}return y(e,[{key:"email",set:function(e){this._enabled=""===e||!0===e||"true"===e,this._onChange&&this._onChange()}},{key:"validate",value:function(e){return this._enabled?R.email(e):null}},{key:"registerOnValidatorChange",value:function(e){this._onChange=e}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[o["\u0275\u0275ProvidersFeature"]([Ze])]}),e}(),Qe={provide:A,useExisting:Object(o.forwardRef)((function(){return Xe})),multi:!0},Xe=function(){var e=function(){function e(){v(this,e),this._validator=R.nullValidator}return y(e,[{key:"ngOnChanges",value:function(e){"minlength"in e&&(this._createValidator(),this._onChange&&this._onChange())}},{key:"validate",value:function(e){return null==this.minlength?null:this._validator(e)}},{key:"registerOnValidatorChange",value:function(e){this._onChange=e}},{key:"_createValidator",value:function(){this._validator=R.minLength("number"==typeof this.minlength?this.minlength:parseInt(this.minlength,10))}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&o["\u0275\u0275attribute"]("minlength",t.minlength?t.minlength:null)},inputs:{minlength:"minlength"},features:[o["\u0275\u0275ProvidersFeature"]([Qe]),o["\u0275\u0275NgOnChangesFeature"]]}),e}(),$e={provide:A,useExisting:Object(o.forwardRef)((function(){return et})),multi:!0},et=function(){var e=function(){function e(){v(this,e),this._validator=R.nullValidator}return y(e,[{key:"ngOnChanges",value:function(e){"maxlength"in e&&(this._createValidator(),this._onChange&&this._onChange())}},{key:"validate",value:function(e){return null!=this.maxlength?this._validator(e):null}},{key:"registerOnValidatorChange",value:function(e){this._onChange=e}},{key:"_createValidator",value:function(){this._validator=R.maxLength("number"==typeof this.maxlength?this.maxlength:parseInt(this.maxlength,10))}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&o["\u0275\u0275attribute"]("maxlength",t.maxlength?t.maxlength:null)},inputs:{maxlength:"maxlength"},features:[o["\u0275\u0275ProvidersFeature"]([$e]),o["\u0275\u0275NgOnChangesFeature"]]}),e}(),tt={provide:A,useExisting:Object(o.forwardRef)((function(){return nt})),multi:!0},nt=function(){var e=function(){function e(){v(this,e),this._validator=R.nullValidator}return y(e,[{key:"ngOnChanges",value:function(e){"pattern"in e&&(this._createValidator(),this._onChange&&this._onChange())}},{key:"validate",value:function(e){return this._validator(e)}},{key:"registerOnValidatorChange",value:function(e){this._onChange=e}},{key:"_createValidator",value:function(){this._validator=R.pattern(this.pattern)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&o["\u0275\u0275attribute"]("pattern",t.pattern?t.pattern:null)},inputs:{pattern:"pattern"},features:[o["\u0275\u0275ProvidersFeature"]([tt]),o["\u0275\u0275NgOnChangesFeature"]]}),e}(),rt=[Pe,Z,$,b,B,K,m,W,X,G,I,x,ze,Xe,et,nt,Ye,Je],it=[Ae,xe,Se],ot=[Me,je,Ge,Le,Be],at=function(){var e=function e(){v(this,e)};return e.\u0275mod=o["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=o["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)}}),e}(),st=function(){var e=function(){function e(){v(this,e)}return y(e,[{key:"group",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this._reduceControls(e),r=null,i=null,o=void 0;return null!=t&&(
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}(t)?(r=null!=t.validators?t.validators:null,i=null!=t.asyncValidators?t.asyncValidators:null,o=null!=t.updateOn?t.updateOn:void 0):(r=null!=t.validator?t.validator:null,i=null!=t.asyncValidator?t.asyncValidator:null)),new be(n,{asyncValidators:i,updateOn:o,validators:r})}},{key:"control",value:function(e,t,n){return new ye(e,t,n)}},{key:"array",value:function(e,t,n){var r=this,i=e.map((function(e){return r._createControl(e)}));return new ke(i,t,n)}},{key:"_reduceControls",value:function(e){var t=this,n={};return Object.keys(e).forEach((function(r){n[r]=t._createControl(e[r])})),n}},{key:"_createControl",value:function(e){return e instanceof ye||e instanceof be||e instanceof ke?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=o["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),ct=new o.Version("10.2.5"),lt=function(){var e=function e(){v(this,e)};return e.\u0275mod=o["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=o["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},providers:[H],imports:[at]}),e}(),ut=function(){var e=function(){function e(){v(this,e)}return y(e,null,[{key:"withConfig",value:function(t){return{ngModule:e,providers:[{provide:De,useValue:t.warnOnNgModelWithFormControl}]}}}]),e}();return e.\u0275mod=o["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=o["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},providers:[st,H],imports:[at]}),e}()},sunR:function(e,t,n){var r=n("yNUO");e.exports=function(e,t){var n=r(e),i=r(t);return 12*(n.getFullYear()-i.getFullYear())+(n.getMonth()-i.getMonth())}},t4rR:function(e,t,n){var r=n("yNUO"),i=n("iUbB");e.exports=function(e,t,n){var o=n&&Number(n.weekStartsOn)||0,a=r(e),s=Number(t),c=a.getDay();return i(a,((s%7+7)%7<o?7:0)+s-c)}},tMf1:function(e,t,n){var r=n("x84W");e.exports=function(e){return r(e,{weekStartsOn:1})}},"tg+8":function(e,t,n){var r=n("yNUO");e.exports=function(e){return r(e).getDate()}},u3z5:function(e,t,n){var r=n("yHON"),i=n("yNUO"),o=n("4Toj"),a=n("Us+F");e.exports=function(e,t,n){var s=n||{},c=r(e,t),l=s.locale,u=a.distanceInWords.localize;l&&l.distanceInWords&&l.distanceInWords.localize&&(u=l.distanceInWords.localize);var d,h,f,m={addSuffix:Boolean(s.addSuffix),comparison:c};c>0?(d=i(e),h=i(t)):(d=i(t),h=i(e));var p=Math[s.partialMethod?String(s.partialMethod):"floor"],v=o(h,d),g=h.getTimezoneOffset()-d.getTimezoneOffset(),y=p(v/60)-g;if("s"===(f=s.unit?String(s.unit):y<1?"s":y<60?"m":y<1440?"h":y<43200?"d":y<525600?"M":"Y"))return u("xSeconds",v,m);if("m"===f)return u("xMinutes",y,m);if("h"===f)return u("xHours",p(y/60),m);if("d"===f)return u("xDays",p(y/1440),m);if("M"===f)return u("xMonths",p(y/43200),m);if("Y"===f)return u("xYears",p(y/525600),m);throw new Error("Unknown unit: "+f)}},uKeJ:function(e,t,n){var r=n("yNUO");e.exports=function(e){var t=r(e),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(0,0,0,0),t}},uPm0:function(e,t,n){var r=n("yNUO");e.exports=function(e){var t=r(e);return Math.floor(t.getMonth()/3)+1}},uttN:function(e,t,n){var r=n("7B8A");e.exports=function(e,t){var n=Number(t);return r(e,-n)}},wrXb:function(e,t,n){var r=n("yNUO");e.exports=function(e){return r(e).getDay()}},x84W:function(e,t,n){var r=n("yNUO");e.exports=function(e,t){var n=t&&Number(t.weekStartsOn)||0,i=r(e),o=i.getDay(),a=(o<n?7:0)+o-n;return i.setDate(i.getDate()-a),i.setHours(0,0,0,0),i}},xMJQ:function(e,t,n){var r=n("yNUO");e.exports=function(e,t,n){var i=r(e),o=void 0!==n?n:1,a=r(t).getTime();if(i.getTime()>a)throw new Error("The first date cannot be after the second date");var s=[],c=i;for(c.setHours(0,0,0,0);c.getTime()<=a;)s.push(r(c)),c.setDate(c.getDate()+o);return s}},xPkr:function(e,t,n){var r=n("CXhC");e.exports=function(e){var t=new Date;return t.setDate(t.getDate()-1),r(e).getTime()===r(t).getTime()}},xYlI:function(e,t,n){var r=n("yNUO");e.exports=function(e){return r(e).getMinutes()}},xq5I:function(e,t,n){var r=n("IpkJ");e.exports=function(e,t){var n=r(e),i=r(t);return n.getTime()===i.getTime()}},"y5a+":function(e,t,n){var r=n("yNUO");e.exports=function(e,t){var n=t&&Number(t.weekStartsOn)||0,i=r(e),o=i.getDay(),a=6+(o<n?-7:0)-(o-n);return i.setHours(0,0,0,0),i.setDate(i.getDate()+a),i}},yCtX:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("HDdC"),i=n("ngJS"),o=n("jZKg");function a(e,t){return t?Object(o.a)(e,t):new r.a(Object(i.a)(e))}},yHON:function(e,t,n){var r=n("yNUO");e.exports=function(e,t){var n=r(e).getTime(),i=r(t).getTime();return n>i?-1:n<i?1:0}},yNUO:function(e,t,n){var r=n("VGX7"),i=n("pzWd"),o=/[T ]/,a=/:/,s=/^(\d{2})$/,c=[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],l=/^(\d{4})/,u=[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],d=/^-(\d{2})$/,h=/^-?(\d{3})$/,f=/^-?(\d{2})-?(\d{2})$/,m=/^-?W(\d{2})$/,p=/^-?W(\d{2})-?(\d{1})$/,v=/^(\d{2}([.,]\d*)?)$/,g=/^(\d{2}):?(\d{2}([.,]\d*)?)$/,y=/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,b=/([Z+-].*)$/,k=/^(Z)$/,C=/^([+-])(\d{2})$/,w=/^([+-])(\d{2}):?(\d{2})$/;function S(e,t,n){t=t||0,n=n||0;var r=new Date(0);r.setUTCFullYear(e,0,4);var i=7*t+n+1-(r.getUTCDay()||7);return r.setUTCDate(r.getUTCDate()+i),r}e.exports=function(e,t){if(i(e))return new Date(e.getTime());if("string"!=typeof e)return new Date(e);var n=(t||{}).additionalDigits;n=null==n?2:Number(n);var _,E,I=function(e){var t,n={},r=e.split(o);if(a.test(r[0])?(n.date=null,t=r[0]):(n.date=r[0],t=r[1]),t){var i=b.exec(t);i?(n.time=t.replace(i[1],""),n.timezone=i[1]):n.time=t}return n}(e),x=function(e,t){var n,r=c[t],i=u[t];if(n=l.exec(e)||i.exec(e)){var o=n[1];return{year:parseInt(o,10),restDateString:e.slice(o.length)}}if(n=s.exec(e)||r.exec(e)){var a=n[1];return{year:100*parseInt(a,10),restDateString:e.slice(a.length)}}return{year:null}}(I.date,n),O=function(e,t){if(null===t)return null;var n,r,i;if(0===e.length)return(r=new Date(0)).setUTCFullYear(t),r;if(n=d.exec(e))return r=new Date(0),i=parseInt(n[1],10)-1,r.setUTCFullYear(t,i),r;if(n=h.exec(e)){r=new Date(0);var o=parseInt(n[1],10);return r.setUTCFullYear(t,0,o),r}if(n=f.exec(e)){r=new Date(0),i=parseInt(n[1],10)-1;var a=parseInt(n[2],10);return r.setUTCFullYear(t,i,a),r}return(n=m.exec(e))?S(t,parseInt(n[1],10)-1):(n=p.exec(e))?S(t,parseInt(n[1],10)-1,parseInt(n[2],10)-1):null}(x.restDateString,x.year);if(O){var T,A=O.getTime(),P=0;if(I.time&&(P=(E=v.exec(_=I.time))?parseFloat(E[1].replace(",","."))%24*36e5:(E=g.exec(_))?parseInt(E[1],10)%24*36e5+6e4*parseFloat(E[2].replace(",",".")):(E=y.exec(_))?parseInt(E[1],10)%24*36e5+6e4*parseInt(E[2],10)+1e3*parseFloat(E[3].replace(",",".")):null),I.timezone)T=6e4*function(e){var t,n;return(t=k.exec(e))?0:(t=C.exec(e))?(n=60*parseInt(t[2],10),"+"===t[1]?-n:n):(t=w.exec(e))?(n=60*parseInt(t[2],10)+parseInt(t[3],10),"+"===t[1]?-n:n):0}(I.timezone);else{var D=A+P,R=new Date(D);T=r(R);var M=new Date(D);M.setDate(R.getDate()+1);var N=r(M)-r(R);N>0&&(T+=N)}return new Date(A+P+T)}return new Date(e)}},yYDL:function(e,t,n){var r=n("yNUO");e.exports=function(e){return 3===r(e).getDay()}},"z+Ro":function(e,t,n){"use strict";function r(e){return e&&"function"==typeof e.schedule}n.d(t,"a",(function(){return r}))},zGRt:function(e,t,n){var r=n("zM65");e.exports=function(e){return r(new Date,e)}},zM65:function(e,t,n){var r=n("G6+r");e.exports=function(e,t){return r(e,t,{weekStartsOn:1})}},zUnb:function(i,o,a){"use strict";a.r(o);var c=a("8Y7J"),u=a("cUpR"),h=a("SVse"),m=a("z+Ro"),g=a("yCtX"),b=a("jZKg");function k(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[t.length-1];return Object(m.a)(r)?(t.pop(),Object(b.a)(t,r)):Object(g.a)(t)}var C=a("Cfvw"),w=a("XNiG"),S=a("9ppp"),_=function(e){l(n,e);var t=d(n);function n(e){var r;return v(this,n),(r=t.call(this))._value=e,r}return y(n,[{key:"value",get:function(){return this.getValue()}},{key:"_subscribe",value:function(e){var t=s(p(n.prototype),"_subscribe",this).call(this,e);return t&&!t.closed&&e.next(this._value),t}},{key:"getValue",value:function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new S.a;return this._value}},{key:"next",value:function(e){s(p(n.prototype),"next",this).call(this,this._value=e)}}]),n}(w.a),E=a("DH7j"),I=a("7o/Q"),x=function(e){l(n,e);var t=d(n);function n(){return v(this,n),t.apply(this,arguments)}return y(n,[{key:"notifyNext",value:function(e,t,n,r,i){this.destination.next(t)}},{key:"notifyError",value:function(e,t){this.destination.error(e)}},{key:"notifyComplete",value:function(e){this.destination.complete()}}]),n}(I.a),O=function(e){l(n,e);var t=d(n);function n(e,r,i){var o;return v(this,n),(o=t.call(this)).parent=e,o.outerValue=r,o.outerIndex=i,o.index=0,o}return y(n,[{key:"_next",value:function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}},{key:"_error",value:function(e){this.parent.notifyError(e,this),this.unsubscribe()}},{key:"_complete",value:function(){this.parent.notifyComplete(this),this.unsubscribe()}}]),n}(I.a),T=a("SeVD"),A=a("HDdC");function P(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:new O(e,n,r);if(!i.closed)return t instanceof A.a?t.subscribe(i):Object(T.a)(t)(i)}var D={},R=function(){function e(t){v(this,e),this.resultSelector=t}return y(e,[{key:"call",value:function(e,t){return t.subscribe(new M(e,this.resultSelector))}}]),e}(),M=function(e){l(n,e);var t=d(n);function n(e,r){var i;return v(this,n),(i=t.call(this,e)).resultSelector=r,i.active=0,i.values=[],i.observables=[],i}return y(n,[{key:"_next",value:function(e){this.values.push(D),this.observables.push(e)}},{key:"_complete",value:function(){var e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(var n=0;n<t;n++)this.add(P(this,e[n],void 0,n))}}},{key:"notifyComplete",value:function(e){0==(this.active-=1)&&this.destination.complete()}},{key:"notifyNext",value:function(e,t,n){var r=this.values,i=this.toRespond?r[n]===D?--this.toRespond:this.toRespond:0;r[n]=t,0===i&&(this.resultSelector?this._tryResultSelector(r):this.destination.next(r.slice()))}},{key:"_tryResultSelector",value:function(e){var t;try{t=this.resultSelector.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}]),n}(x),N=function(){function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e}(),j=new A.a((function(e){return e.complete()}));function F(e){return e?function(e){return new A.a((function(t){return e.schedule((function(){return t.complete()}))}))}(e):j}function L(e){return new A.a((function(t){var n;try{n=e()}catch(r){return void t.error(r)}return(n?Object(C.a)(n):F()).subscribe(t)}))}var V=a("lJxs"),B=a("bHdf");function U(){return Object(B.a)(1)}function H(e,t){return function(n){return n.lift(new G(e,t))}}var G=function(){function e(t,n){v(this,e),this.predicate=t,this.thisArg=n}return y(e,[{key:"call",value:function(e,t){return t.subscribe(new q(e,this.predicate,this.thisArg))}}]),e}(),q=function(e){l(n,e);var t=d(n);function n(e,r,i){var o;return v(this,n),(o=t.call(this,e)).predicate=r,o.thisArg=i,o.count=0,o}return y(n,[{key:"_next",value:function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}]),n}(I.a),K=function(){function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e}();function z(e){return function(t){return 0===e?F():t.lift(new Y(e))}}var Y=function(){function e(t){if(v(this,e),this.total=t,this.total<0)throw new K}return y(e,[{key:"call",value:function(e,t){return t.subscribe(new W(e,this.total))}}]),e}(),W=function(e){l(n,e);var t=d(n);function n(e,r){var i;return v(this,n),(i=t.call(this,e)).total=r,i.ring=new Array,i.count=0,i}return y(n,[{key:"_next",value:function(e){var t=this.ring,n=this.total,r=this.count++;t.length<n?t.push(e):t[r%n]=e}},{key:"_complete",value:function(){var e=this.destination,t=this.count;if(t>0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,i=0;i<n;i++){var o=t++%n;e.next(r[o])}e.complete()}}]),n}(I.a);function Z(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:X;return function(t){return t.lift(new J(e))}}var J=function(){function e(t){v(this,e),this.errorFactory=t}return y(e,[{key:"call",value:function(e,t){return t.subscribe(new Q(e,this.errorFactory))}}]),e}(),Q=function(e){l(n,e);var t=d(n);function n(e,r){var i;return v(this,n),(i=t.call(this,e)).errorFactory=r,i.hasValue=!1,i}return y(n,[{key:"_next",value:function(e){this.hasValue=!0,this.destination.next(e)}},{key:"_complete",value:function(){if(this.hasValue)return this.destination.complete();var e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}]),n}(I.a);function X(){return new N}function $(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(t){return t.lift(new ee(e))}}var ee=function(){function e(t){v(this,e),this.defaultValue=t}return y(e,[{key:"call",value:function(e,t){return t.subscribe(new te(e,this.defaultValue))}}]),e}(),te=function(e){l(n,e);var t=d(n);function n(e,r){var i;return v(this,n),(i=t.call(this,e)).defaultValue=r,i.isEmpty=!0,i}return y(n,[{key:"_next",value:function(e){this.isEmpty=!1,this.destination.next(e)}},{key:"_complete",value:function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}]),n}(I.a),ne=a("SpAZ"),re=a("zx2A");function ie(e,t){return"function"==typeof t?function(n){return n.pipe(ie((function(n,r){return Object(C.a)(e(n,r)).pipe(Object(V.a)((function(e,i){return t(n,e,r,i)})))})))}:function(t){return t.lift(new oe(e))}}var oe=function(){function e(t){v(this,e),this.project=t}return y(e,[{key:"call",value:function(e,t){return t.subscribe(new ae(e,this.project))}}]),e}(),ae=function(e){l(n,e);var t=d(n);function n(e,r){var i;return v(this,n),(i=t.call(this,e)).project=r,i.index=0,i}return y(n,[{key:"_next",value:function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this._innerSub(t)}},{key:"_innerSub",value:function(e){var t=this.innerSubscription;t&&t.unsubscribe();var n=new re.a(this),r=this.destination;r.add(n),this.innerSubscription=Object(re.c)(e,n),this.innerSubscription!==n&&r.add(this.innerSubscription)}},{key:"_complete",value:function(){var e=this.innerSubscription;e&&!e.closed||s(p(n.prototype),"_complete",this).call(this),this.unsubscribe()}},{key:"_unsubscribe",value:function(){this.innerSubscription=void 0}},{key:"notifyComplete",value:function(){this.innerSubscription=void 0,this.isStopped&&s(p(n.prototype),"_complete",this).call(this)}},{key:"notifyNext",value:function(e){this.destination.next(e)}}]),n}(re.b);function se(e){return function(t){return 0===e?F():t.lift(new ce(e))}}var ce=function(){function e(t){if(v(this,e),this.total=t,this.total<0)throw new K}return y(e,[{key:"call",value:function(e,t){return t.subscribe(new le(e,this.total))}}]),e}(),le=function(e){l(n,e);var t=d(n);function n(e,r){var i;return v(this,n),(i=t.call(this,e)).total=r,i.count=0,i}return y(n,[{key:"_next",value:function(e){var t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))}}]),n}(I.a);function ue(){return U()(k.apply(void 0,arguments))}var de=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];v(this,e),this.accumulator=t,this.seed=n,this.hasSeed=r}return y(e,[{key:"call",value:function(e,t){return t.subscribe(new he(e,this.accumulator,this.seed,this.hasSeed))}}]),e}(),he=function(e){l(n,e);var t=d(n);function n(e,r,i,o){var a;return v(this,n),(a=t.call(this,e)).accumulator=r,a._seed=i,a.hasSeed=o,a.index=0,a}return y(n,[{key:"seed",get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e}},{key:"_next",value:function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}},{key:"_tryNext",value:function(e){var t,n=this.index++;try{t=this.accumulator(this.seed,e,n)}catch(r){this.destination.error(r)}this.seed=t,this.destination.next(t)}}]),n}(I.a);function fe(e){return function(t){var n=new me(e),r=t.lift(n);return n.caught=r}}var me=function(){function e(t){v(this,e),this.selector=t}return y(e,[{key:"call",value:function(e,t){return t.subscribe(new pe(e,this.selector,this.caught))}}]),e}(),pe=function(e){l(n,e);var t=d(n);function n(e,r,i){var o;return v(this,n),(o=t.call(this,e)).selector=r,o.caught=i,o}return y(n,[{key:"error",value:function(e){if(!this.isStopped){var t;try{t=this.selector(e,this.caught)}catch(o){return void s(p(n.prototype),"error",this).call(this,o)}this._unsubscribeAndRecycle();var r=new re.a(this);this.add(r);var i=Object(re.c)(t,r);i!==r&&this.add(i)}}}]),n}(re.b),ve=a("5+tZ");function ge(e,t){return Object(ve.a)(e,t,1)}function ye(e,t){var n=arguments.length>=2;return function(r){return r.pipe(e?H((function(t,n){return e(t,n,r)})):ne.a,se(1),n?$(t):Z((function(){return new N})))}}function be(){}var ke=a("n6bG");function Ce(e,t,n){return function(r){return r.lift(new we(e,t,n))}}var we=function(){function e(t,n,r){v(this,e),this.nextOrObserver=t,this.error=n,this.complete=r}return y(e,[{key:"call",value:function(e,t){return t.subscribe(new Se(e,this.nextOrObserver,this.error,this.complete))}}]),e}(),Se=function(e){l(n,e);var t=d(n);function n(e,r,i,o){var a;return v(this,n),(a=t.call(this,e))._tapNext=be,a._tapError=be,a._tapComplete=be,a._tapError=i||be,a._tapComplete=o||be,Object(ke.a)(r)?(a._context=f(a),a._tapNext=r):r&&(a._context=r,a._tapNext=r.next||be,a._tapError=r.error||be,a._tapComplete=r.complete||be),a}return y(n,[{key:"_next",value:function(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}},{key:"_error",value:function(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}},{key:"_complete",value:function(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}]),n}(I.a),_e=a("quSY"),Ee=function(){function e(t){v(this,e),this.callback=t}return y(e,[{key:"call",value:function(e,t){return t.subscribe(new Ie(e,this.callback))}}]),e}(),Ie=function(e){l(n,e);var t=d(n);function n(e,r){var i;return v(this,n),(i=t.call(this,e)).add(new _e.a(r)),i}return n}(I.a),xe=function e(t,n){v(this,e),this.id=t,this.url=n},Oe=function(e){l(n,e);var t=d(n);function n(e,r){var i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"imperative",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return v(this,n),(i=t.call(this,e,r)).navigationTrigger=o,i.restoredState=a,i}return y(n,[{key:"toString",value:function(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(xe),Te=function(e){l(n,e);var t=d(n);function n(e,r,i){var o;return v(this,n),(o=t.call(this,e,r)).urlAfterRedirects=i,o}return y(n,[{key:"toString",value:function(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}]),n}(xe),Ae=function(e){l(n,e);var t=d(n);function n(e,r,i){var o;return v(this,n),(o=t.call(this,e,r)).reason=i,o}return y(n,[{key:"toString",value:function(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(xe),Pe=function(e){l(n,e);var t=d(n);function n(e,r,i){var o;return v(this,n),(o=t.call(this,e,r)).error=i,o}return y(n,[{key:"toString",value:function(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}]),n}(xe),De=function(e){l(n,e);var t=d(n);function n(e,r,i,o){var a;return v(this,n),(a=t.call(this,e,r)).urlAfterRedirects=i,a.state=o,a}return y(n,[{key:"toString",value:function(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(xe),Re=function(e){l(n,e);var t=d(n);function n(e,r,i,o){var a;return v(this,n),(a=t.call(this,e,r)).urlAfterRedirects=i,a.state=o,a}return y(n,[{key:"toString",value:function(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(xe),Me=function(e){l(n,e);var t=d(n);function n(e,r,i,o,a){var s;return v(this,n),(s=t.call(this,e,r)).urlAfterRedirects=i,s.state=o,s.shouldActivate=a,s}return y(n,[{key:"toString",value:function(){return"GuardsCheckEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,", shouldActivate: ").concat(this.shouldActivate,")")}}]),n}(xe),Ne=function(e){l(n,e);var t=d(n);function n(e,r,i,o){var a;return v(this,n),(a=t.call(this,e,r)).urlAfterRedirects=i,a.state=o,a}return y(n,[{key:"toString",value:function(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(xe),je=function(e){l(n,e);var t=d(n);function n(e,r,i,o){var a;return v(this,n),(a=t.call(this,e,r)).urlAfterRedirects=i,a.state=o,a}return y(n,[{key:"toString",value:function(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(xe),Fe=function(){function e(t){v(this,e),this.route=t}return y(e,[{key:"toString",value:function(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}]),e}(),Le=function(){function e(t){v(this,e),this.route=t}return y(e,[{key:"toString",value:function(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}]),e}(),Ve=function(){function e(t){v(this,e),this.snapshot=t}return y(e,[{key:"toString",value:function(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),Be=function(){function e(t){v(this,e),this.snapshot=t}return y(e,[{key:"toString",value:function(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),Ue=function(){function e(t){v(this,e),this.snapshot=t}return y(e,[{key:"toString",value:function(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),He=function(){function e(t){v(this,e),this.snapshot=t}return y(e,[{key:"toString",value:function(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),Ge=function(){function e(t,n,r){v(this,e),this.routerEvent=t,this.position=n,this.anchor=r}return y(e,[{key:"toString",value:function(){return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(this.position?"".concat(this.position[0],", ").concat(this.position[1]):null,"')")}}]),e}(),qe=function(){function e(t){v(this,e),this.params=t||{}}return y(e,[{key:"has",value:function(e){return Object.prototype.hasOwnProperty.call(this.params,e)}},{key:"get",value:function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t[0]:t}return null}},{key:"getAll",value:function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t:[t]}return[]}},{key:"keys",get:function(){return Object.keys(this.params)}}]),e}();function Ke(e){return new qe(e)}function ze(e){var t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function Ye(e,t,n){var r=n.path.split("/");if(r.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||r.length<e.length))return null;for(var i={},o=0;o<r.length;o++){var a=r[o],s=e[o];if(a.startsWith(":"))i[a.substring(1)]=s;else if(a!==s.path)return null}return{consumed:e.slice(0,r.length),posParams:i}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function We(e,t){var n,r=Object.keys(e),i=Object.keys(t);if(!r||!i||r.length!=i.length)return!1;for(var o=0;o<r.length;o++)if(!Ze(e[n=r[o]],t[n]))return!1;return!0}function Ze(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;var r=n(e).sort(),i=n(t).sort();return r.every((function(e,t){return i[t]===e}))}return e===t}function Je(e){return Array.prototype.concat.apply([],e)}function Qe(e){return e.length>0?e[e.length-1]:null}function Xe(e,t){for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)}function $e(e){return Object(c["\u0275isObservable"])(e)?e:Object(c["\u0275isPromise"])(e)?Object(C.a)(Promise.resolve(e)):k(e)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function et(e,t,n){return n?function(e,t){return We(e,t)}(e.queryParams,t.queryParams)&&function e(t,n){if(!it(t.segments,n.segments))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children){if(!t.children[r])return!1;if(!e(t.children[r],n.children[r]))return!1}return!0}(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every((function(n){return Ze(e[n],t[n])}))}(e.queryParams,t.queryParams)&&function e(t,n){return function t(n,r,i){if(n.segments.length>i.length)return!!it(n.segments.slice(0,i.length),i)&&!r.hasChildren();if(n.segments.length===i.length){if(!it(n.segments,i))return!1;for(var o in r.children){if(!n.children[o])return!1;if(!e(n.children[o],r.children[o]))return!1}return!0}var a=i.slice(0,n.segments.length),s=i.slice(n.segments.length);return!!it(n.segments,a)&&!!n.children.primary&&t(n.children.primary,r,s)}(t,n,n.segments)}(e.root,t.root)}var tt=function(){function e(t,n,r){v(this,e),this.root=t,this.queryParams=n,this.fragment=r}return y(e,[{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=Ke(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){return ct.serialize(this)}}]),e}(),nt=function(){function e(t,n){var r=this;v(this,e),this.segments=t,this.children=n,this.parent=null,Xe(n,(function(e,t){return e.parent=r}))}return y(e,[{key:"hasChildren",value:function(){return this.numberOfChildren>0}},{key:"numberOfChildren",get:function(){return Object.keys(this.children).length}},{key:"toString",value:function(){return lt(this)}}]),e}(),rt=function(){function e(t,n){v(this,e),this.path=t,this.parameters=n}return y(e,[{key:"parameterMap",get:function(){return this._parameterMap||(this._parameterMap=Ke(this.parameters)),this._parameterMap}},{key:"toString",value:function(){return pt(this)}}]),e}();function it(e,t){return e.length===t.length&&e.every((function(e,n){return e.path===t[n].path}))}function ot(e,t){var n=[];return Xe(e.children,(function(e,r){"primary"===r&&(n=n.concat(t(e,r)))})),Xe(e.children,(function(e,r){"primary"!==r&&(n=n.concat(t(e,r)))})),n}var at=function e(){v(this,e)},st=function(){function e(){v(this,e)}return y(e,[{key:"parse",value:function(e){var t=new kt(e);return new tt(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}},{key:"serialize",value:function(e){return"".concat("/"+function e(t,n){if(!t.hasChildren())return lt(t);if(n){var r=t.children.primary?e(t.children.primary,!1):"",i=[];return Xe(t.children,(function(t,n){"primary"!==n&&i.push("".concat(n,":").concat(e(t,!1)))})),i.length>0?"".concat(r,"(").concat(i.join("//"),")"):r}var o=ot(t,(function(n,r){return"primary"===r?[e(t.children.primary,!1)]:["".concat(r,":").concat(e(n,!1))]}));return 1===Object.keys(t.children).length&&null!=t.children.primary?"".concat(lt(t),"/").concat(o[0]):"".concat(lt(t),"/(").concat(o.join("//"),")")}(e.root,!0)).concat((t=e.queryParams,n=Object.keys(t).map((function(e){var n=t[e];return Array.isArray(n)?n.map((function(t){return"".concat(dt(e),"=").concat(dt(t))})).join("&"):"".concat(dt(e),"=").concat(dt(n))})),n.length?"?"+n.join("&"):"")).concat("string"==typeof e.fragment?"#"+encodeURI(e.fragment):"");var t,n}}]),e}(),ct=new st;function lt(e){return e.segments.map((function(e){return pt(e)})).join("/")}function ut(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function dt(e){return ut(e).replace(/%3B/gi,";")}function ht(e){return ut(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ft(e){return decodeURIComponent(e)}function mt(e){return ft(e.replace(/\+/g,"%20"))}function pt(e){return"".concat(ht(e.path)).concat((t=e.parameters,Object.keys(t).map((function(e){return";".concat(ht(e),"=").concat(ht(t[e]))})).join("")));var t}var vt=/^[^\/()?;=#]+/;function gt(e){var t=e.match(vt);return t?t[0]:""}var yt=/^[^=?&#]+/,bt=/^[^?&#]+/,kt=function(){function e(t){v(this,e),this.url=t,this.remaining=t}return y(e,[{key:"parseRootSegment",value:function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new nt([],{}):new nt([],this.parseChildren())}},{key:"parseQueryParams",value:function(){var e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}},{key:"parseFragment",value:function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}},{key:"parseChildren",value:function(){if(""===this.remaining)return{};this.consumeOptional("/");var e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());var t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n.primary=new nt(e,t)),n}},{key:"parseSegment",value:function(){var e=gt(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '".concat(this.remaining,"'."));return this.capture(e),new rt(ft(e),this.parseMatrixParams())}},{key:"parseMatrixParams",value:function(){for(var e={};this.consumeOptional(";");)this.parseParam(e);return e}},{key:"parseParam",value:function(e){var t=gt(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var r=gt(this.remaining);r&&(n=r,this.capture(n))}e[ft(t)]=ft(n)}}},{key:"parseQueryParam",value:function(e){var t=function(e){var t=e.match(yt);return t?t[0]:""}(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var r=function(e){var t=e.match(bt);return t?t[0]:""}(this.remaining);r&&(n=r,this.capture(n))}var i=mt(t),o=mt(n);if(e.hasOwnProperty(i)){var a=e[i];Array.isArray(a)||(a=[a],e[i]=a),a.push(o)}else e[i]=o}}},{key:"parseParens",value:function(e){var t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=gt(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '".concat(this.url,"'"));var i=void 0;n.indexOf(":")>-1?(i=n.substr(0,n.indexOf(":")),this.capture(i),this.capture(":")):e&&(i="primary");var o=this.parseChildren();t[i]=1===Object.keys(o).length?o.primary:new nt([],o),this.consumeOptional("//")}return t}},{key:"peekStartsWith",value:function(e){return this.remaining.startsWith(e)}},{key:"consumeOptional",value:function(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}},{key:"capture",value:function(e){if(!this.consumeOptional(e))throw new Error('Expected "'.concat(e,'".'))}}]),e}(),Ct=function(){function e(t){v(this,e),this._root=t}return y(e,[{key:"root",get:function(){return this._root.value}},{key:"parent",value:function(e){var t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}},{key:"children",value:function(e){var t=wt(e,this._root);return t?t.children.map((function(e){return e.value})):[]}},{key:"firstChild",value:function(e){var t=wt(e,this._root);return t&&t.children.length>0?t.children[0].value:null}},{key:"siblings",value:function(e){var t=St(e,this._root);return t.length<2?[]:t[t.length-2].children.map((function(e){return e.value})).filter((function(t){return t!==e}))}},{key:"pathFromRoot",value:function(e){return St(e,this._root).map((function(e){return e.value}))}}]),e}();function wt(e,t){if(e===t.value)return t;var n,i=r(t.children);try{for(i.s();!(n=i.n()).done;){var o=wt(e,n.value);if(o)return o}}catch(a){i.e(a)}finally{i.f()}return null}function St(e,t){if(e===t.value)return[t];var n,i=r(t.children);try{for(i.s();!(n=i.n()).done;){var o=St(e,n.value);if(o.length)return o.unshift(t),o}}catch(a){i.e(a)}finally{i.f()}return[]}var _t=function(){function e(t,n){v(this,e),this.value=t,this.children=n}return y(e,[{key:"toString",value:function(){return"TreeNode(".concat(this.value,")")}}]),e}();function Et(e){var t={};return e&&e.children.forEach((function(e){return t[e.value.outlet]=e})),t}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var It=function(e){l(n,e);var t=d(n);function n(e,r){var i;return v(this,n),(i=t.call(this,e)).snapshot=r,Dt(f(i),e),i}return y(n,[{key:"toString",value:function(){return this.snapshot.toString()}}]),n}(Ct);function xt(e,t){var n=function(e,t){var n=new At([],{},{},"",{},"primary",t,null,e.root,-1,{});return new Pt("",new _t(n,[]))}(e,t),r=new _([new rt("",{})]),i=new _({}),o=new _({}),a=new _({}),s=new _(""),c=new Ot(r,i,a,s,o,"primary",t,n.root);return c.snapshot=n.root,new It(new _t(c,[]),n)}var Ot=function(){function e(t,n,r,i,o,a,s,c){v(this,e),this.url=t,this.params=n,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=a,this.component=s,this._futureSnapshot=c}return y(e,[{key:"routeConfig",get:function(){return this._futureSnapshot.routeConfig}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=this.params.pipe(Object(V.a)((function(e){return Ke(e)})))),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(V.a)((function(e){return Ke(e)})))),this._queryParamMap}},{key:"toString",value:function(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}}]),e}();function Tt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"emptyOnly",n=e.pathFromRoot,r=0;if("always"!==t)for(r=n.length-1;r>=1;){var i=n[r],o=n[r-1];if(i.routeConfig&&""===i.routeConfig.path)r--;else{if(o.component)break;r--}}return function(e){return e.reduce((function(e,t){return{params:Object.assign(Object.assign({},e.params),t.params),data:Object.assign(Object.assign({},e.data),t.data),resolve:Object.assign(Object.assign({},e.resolve),t._resolvedData)}}),{params:{},data:{},resolve:{}})}(n.slice(r))}var At=function(){function e(t,n,r,i,o,a,s,c,l,u,d){v(this,e),this.url=t,this.params=n,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=a,this.component=s,this.routeConfig=c,this._urlSegment=l,this._lastPathIndex=u,this._resolve=d}return y(e,[{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=Ke(this.params)),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=Ke(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){return"Route(url:'".concat(this.url.map((function(e){return e.toString()})).join("/"),"', path:'").concat(this.routeConfig?this.routeConfig.path:"","')")}}]),e}(),Pt=function(e){l(n,e);var t=d(n);function n(e,r){var i;return v(this,n),(i=t.call(this,r)).url=e,Dt(f(i),r),i}return y(n,[{key:"toString",value:function(){return Rt(this._root)}}]),n}(Ct);function Dt(e,t){t.value._routerState=e,t.children.forEach((function(t){return Dt(e,t)}))}function Rt(e){var t=e.children.length>0?" { ".concat(e.children.map(Rt).join(", ")," } "):"";return"".concat(e.value).concat(t)}function Mt(e){if(e.snapshot){var t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,We(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),We(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;++n)if(!We(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),We(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function Nt(e,t){var n,r;return We(e.params,t.params)&&it(n=e.url,r=t.url)&&n.every((function(e,t){return We(e.parameters,r[t].parameters)}))&&!(!e.parent!=!t.parent)&&(!e.parent||Nt(e.parent,t.parent))}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function jt(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Ft(e){return"object"==typeof e&&null!=e&&e.outlets}function Lt(e,t,n,r,i){var o={};return r&&Xe(r,(function(e,t){o[t]=Array.isArray(e)?e.map((function(e){return""+e})):""+e})),new tt(n.root===e?t:function e(t,n,r){var i={};return Xe(t.children,(function(t,o){i[o]=t===n?r:e(t,n,r)})),new nt(t.segments,i)}(n.root,e,t),o,i)}var Vt=function(){function e(t,n,r){if(v(this,e),this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&jt(r[0]))throw new Error("Root segment cannot have matrix parameters");var i=r.find(Ft);if(i&&i!==Qe(r))throw new Error("{outlets:{}} has to be the last command")}return y(e,[{key:"toRoot",value:function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}]),e}(),Bt=function e(t,n,r){v(this,e),this.segmentGroup=t,this.processChildren=n,this.index=r};function Ut(e,t,n){if(e||(e=new nt([],{})),0===e.segments.length&&e.hasChildren())return Ht(e,t,n);var r=function(e,t,n){for(var r=0,i=t,o={match:!1,pathIndex:0,commandIndex:0};i<e.segments.length;){if(r>=n.length)return o;var a=e.segments[i],s=n[r];if(Ft(s))break;var c=""+s,l=r<n.length-1?n[r+1]:null;if(i>0&&void 0===c)break;if(c&&l&&"object"==typeof l&&void 0===l.outlets){if(!zt(c,l,a))return o;r+=2}else{if(!zt(c,{},a))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(e,t,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){var o=new nt(e.segments.slice(0,r.pathIndex),{});return o.children.primary=new nt(e.segments.slice(r.pathIndex),e.children),Ht(o,0,i)}return r.match&&0===i.length?new nt(e.segments,{}):r.match&&!e.hasChildren()?Gt(e,t,n):r.match?Ht(e,0,i):Gt(e,t,n)}function Ht(e,t,n){if(0===n.length)return new nt(e.segments,{});var r=function(e){return Ft(e[0])?e[0].outlets:{primary:e}}(n),i={};return Xe(r,(function(n,r){null!==n&&(i[r]=Ut(e.children[r],t,n))})),Xe(e.children,(function(e,t){void 0===r[t]&&(i[t]=e)})),new nt(e.segments,i)}function Gt(e,t,n){for(var r=e.segments.slice(0,t),i=0;i<n.length;){var o=n[i];if(Ft(o)){var a=qt(o.outlets);return new nt(r,a)}if(0===i&&jt(n[0]))r.push(new rt(e.segments[t].path,n[0])),i++;else{var s=Ft(o)?o.outlets.primary:""+o,c=i<n.length-1?n[i+1]:null;s&&c&&jt(c)?(r.push(new rt(s,Kt(c))),i+=2):(r.push(new rt(s,{})),i++)}}return new nt(r,{})}function qt(e){var t={};return Xe(e,(function(e,n){null!==e&&(t[n]=Gt(new nt([],{}),0,e))})),t}function Kt(e){var t={};return Xe(e,(function(e,n){return t[n]=""+e})),t}function zt(e,t,n){return e==n.path&&We(t,n.parameters)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var Yt=function(){function e(t,n,r,i){v(this,e),this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=i}return y(e,[{key:"activate",value:function(e){var t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),Mt(this.futureState.root),this.activateChildRoutes(t,n,e)}},{key:"deactivateChildRoutes",value:function(e,t,n){var r=this,i=Et(t);e.children.forEach((function(e){var t=e.value.outlet;r.deactivateRoutes(e,i[t],n),delete i[t]})),Xe(i,(function(e,t){r.deactivateRouteAndItsChildren(e,n)}))}},{key:"deactivateRoutes",value:function(e,t,n){var r=e.value,i=t?t.value:null;if(r===i)if(r.component){var o=n.getContext(r.outlet);o&&this.deactivateChildRoutes(e,t,o.children)}else this.deactivateChildRoutes(e,t,n);else i&&this.deactivateRouteAndItsChildren(t,n)}},{key:"deactivateRouteAndItsChildren",value:function(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}},{key:"detachAndStoreRouteSubtree",value:function(e,t){var n=t.getContext(e.value.outlet);if(n&&n.outlet){var r=n.outlet.detach(),i=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:r,route:e,contexts:i})}}},{key:"deactivateRouteAndOutlet",value:function(e,t){var n=this,r=t.getContext(e.value.outlet);if(r){var i=Et(e),o=e.value.component?r.children:t;Xe(i,(function(e,t){return n.deactivateRouteAndItsChildren(e,o)})),r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated())}}},{key:"activateChildRoutes",value:function(e,t,n){var r=this,i=Et(t);e.children.forEach((function(e){r.activateRoutes(e,i[e.value.outlet],n),r.forwardEvent(new He(e.value.snapshot))})),e.children.length&&this.forwardEvent(new Be(e.value.snapshot))}},{key:"activateRoutes",value:function(e,t,n){var r=e.value,i=t?t.value:null;if(Mt(r),r===i)if(r.component){var o=n.getOrCreateContext(r.outlet);this.activateChildRoutes(e,t,o.children)}else this.activateChildRoutes(e,t,n);else if(r.component){var a=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){var s=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),a.children.onOutletReAttached(s.contexts),a.attachRef=s.componentRef,a.route=s.route.value,a.outlet&&a.outlet.attach(s.componentRef,s.route.value),Wt(s.route)}else{var c=function(e){for(var t=e.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */(r.snapshot),l=c?c.module.componentFactoryResolver:null;a.attachRef=null,a.route=r,a.resolver=l,a.outlet&&a.outlet.activateWith(r,l),this.activateChildRoutes(e,null,a.children)}}else this.activateChildRoutes(e,null,n)}}]),e}();function Wt(e){Mt(e.value),e.children.forEach(Wt)}var Zt=function e(t,n){v(this,e),this.routes=t,this.module=n};
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Jt(e){return"function"==typeof e}function Qt(e){return e instanceof tt}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var Xt=Symbol("INITIAL_VALUE");function $t(){return ie((function(e){return(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=void 0,i=void 0;return Object(m.a)(t[t.length-1])&&(i=t.pop()),"function"==typeof t[t.length-1]&&(r=t.pop()),1===t.length&&Object(E.a)(t[0])&&(t=t[0]),Object(g.a)(t,i).lift(new R(r))}).apply(void 0,n(e.map((function(e){return e.pipe(se(1),function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[t.length-1];return Object(m.a)(r)?(t.pop(),function(e){return ue(t,e,r)}):function(e){return ue(t,e)}}(Xt))})))).pipe(function(e,t){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new de(e,t,n))}}((function(e,t){var n=!1;return t.reduce((function(e,r,i){if(e!==Xt)return e;if(r===Xt&&(n=!0),!n){if(!1===r)return r;if(i===t.length-1||Qt(r))return r}return e}),e)}),Xt),H((function(e){return e!==Xt})),Object(V.a)((function(e){return Qt(e)?e:!0===e})),se(1))}))}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var en=function e(t){v(this,e),this.segmentGroup=t||null},tn=function e(t){v(this,e),this.urlTree=t};function nn(e){return new A.a((function(t){return t.error(new en(e))}))}function rn(e){return new A.a((function(t){return t.error(new tn(e))}))}function on(e){return new A.a((function(t){return t.error(new Error("Only absolute redirects can have named outlets. redirectTo: '".concat(e,"'")))}))}var an=function(){function e(t,n,r,i,o){v(this,e),this.configLoader=n,this.urlSerializer=r,this.urlTree=i,this.config=o,this.allowRedirects=!0,this.ngModule=t.get(c.NgModuleRef)}return y(e,[{key:"apply",value:function(){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,"primary").pipe(Object(V.a)((function(t){return e.createUrlTree(t,e.urlTree.queryParams,e.urlTree.fragment)}))).pipe(fe((function(t){if(t instanceof tn)return e.allowRedirects=!1,e.match(t.urlTree);if(t instanceof en)throw e.noMatchError(t);throw t})))}},{key:"match",value:function(e){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,e.root,"primary").pipe(Object(V.a)((function(n){return t.createUrlTree(n,e.queryParams,e.fragment)}))).pipe(fe((function(e){if(e instanceof en)throw t.noMatchError(e);throw e})))}},{key:"noMatchError",value:function(e){return new Error("Cannot match any routes. URL Segment: '".concat(e.segmentGroup,"'"))}},{key:"createUrlTree",value:function(e,t,n){var r=e.segments.length>0?new nt([],{primary:e}):e;return new tt(r,t,n)}},{key:"expandSegmentGroup",value:function(e,t,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(Object(V.a)((function(e){return new nt([],e)}))):this.expandSegment(e,n,t,n.segments,r,!0)}},{key:"expandChildren",value:function(e,t,n){var r=this;return function(n,i){if(0===Object.keys(n).length)return k({});var o=[],a=[],s={};return Xe(n,(function(n,i){var c,l,u=(c=i,l=n,r.expandSegmentGroup(e,t,l,c)).pipe(Object(V.a)((function(e){return s[i]=e})));"primary"===i?o.push(u):a.push(u)})),k.apply(null,o.concat(a)).pipe(U(),function(e,t){var n=arguments.length>=2;return function(r){return r.pipe(e?H((function(t,n){return e(t,n,r)})):ne.a,z(1),n?$(t):Z((function(){return new N})))}}(),Object(V.a)((function(){return s})))}(n.children)}},{key:"expandSegment",value:function(e,t,r,i,o,a){var s=this;return k.apply(void 0,n(r)).pipe(ge((function(n){return s.expandSegmentAgainstRoute(e,t,r,n,i,o,a).pipe(fe((function(e){if(e instanceof en)return k(null);throw e})))})),ye((function(e){return!!e})),fe((function(e,n){if(e instanceof N||"EmptyError"===e.name){if(s.noLeftoversInUrl(t,i,o))return k(new nt([],{}));throw new en(t)}throw e})))}},{key:"noLeftoversInUrl",value:function(e,t,n){return 0===t.length&&!e.children[n]}},{key:"expandSegmentAgainstRoute",value:function(e,t,n,r,i,o,a){return un(r)!==o?nn(t):void 0===r.redirectTo?this.matchSegmentAgainstRoute(e,t,r,i):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,r,i,o):nn(t)}},{key:"expandSegmentAgainstRouteUsingRedirect",value:function(e,t,n,r,i,o){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,r,o):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,i,o)}},{key:"expandWildCardWithParamsAgainstRouteUsingRedirect",value:function(e,t,n,r){var i=this,o=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?rn(o):this.lineralizeSegments(n,o).pipe(Object(ve.a)((function(n){var o=new nt(n,{});return i.expandSegment(e,o,t,n,r,!1)})))}},{key:"expandRegularSegmentAgainstRouteUsingRedirect",value:function(e,t,n,r,i,o){var a=this,s=sn(t,r,i),c=s.matched,l=s.consumedSegments,u=s.lastChild,d=s.positionalParamSegments;if(!c)return nn(t);var h=this.applyRedirectCommands(l,r.redirectTo,d);return r.redirectTo.startsWith("/")?rn(h):this.lineralizeSegments(r,h).pipe(Object(ve.a)((function(r){return a.expandSegment(e,t,n,r.concat(i.slice(u)),o,!1)})))}},{key:"matchSegmentAgainstRoute",value:function(e,t,n,i){var o=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(e.injector,n).pipe(Object(V.a)((function(e){return n._loadedConfig=e,new nt(i,{})}))):k(new nt(i,{}));var a=sn(t,n,i),s=a.matched,c=a.consumedSegments,l=a.lastChild;if(!s)return nn(t);var u=i.slice(l);return this.getChildConfig(e,n,i).pipe(Object(ve.a)((function(e){var n=e.module,i=e.routes,a=function(e,t,n,i){return n.length>0&&function(e,t,n){return n.some((function(n){return ln(e,t,n)&&"primary"!==un(n)}))}(e,n,i)?{segmentGroup:cn(new nt(t,function(e,t){var n={};n.primary=t;var i,o=r(e);try{for(o.s();!(i=o.n()).done;){var a=i.value;""===a.path&&"primary"!==un(a)&&(n[un(a)]=new nt([],{}))}}catch(s){o.e(s)}finally{o.f()}return n}(i,new nt(n,e.children)))),slicedSegments:[]}:0===n.length&&function(e,t,n){return n.some((function(n){return ln(e,t,n)}))}(e,n,i)?{segmentGroup:cn(new nt(e.segments,function(e,t,n,i){var o,a={},s=r(n);try{for(s.s();!(o=s.n()).done;){var c=o.value;ln(e,t,c)&&!i[un(c)]&&(a[un(c)]=new nt([],{}))}}catch(l){s.e(l)}finally{s.f()}return Object.assign(Object.assign({},i),a)}(e,n,i,e.children))),slicedSegments:n}:{segmentGroup:e,slicedSegments:n}}(t,c,u,i),s=a.segmentGroup,l=a.slicedSegments;return 0===l.length&&s.hasChildren()?o.expandChildren(n,i,s).pipe(Object(V.a)((function(e){return new nt(c,e)}))):0===i.length&&0===l.length?k(new nt(c,{})):o.expandSegment(n,s,i,l,"primary",!0).pipe(Object(V.a)((function(e){return new nt(c.concat(e.segments),e.children)})))})))}},{key:"getChildConfig",value:function(e,t,n){var r=this;return t.children?k(new Zt(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?k(t._loadedConfig):this.runCanLoadGuards(e.injector,t,n).pipe(Object(ve.a)((function(n){return n?r.configLoader.load(e.injector,t).pipe(Object(V.a)((function(e){return t._loadedConfig=e,e}))):function(e){return new A.a((function(t){return t.error(ze("Cannot load children because the guard of the route \"path: '".concat(e.path,"'\" returned false")))}))}(t)}))):k(new Zt([],e))}},{key:"runCanLoadGuards",value:function(e,t,n){var r=this,i=t.canLoad;return i&&0!==i.length?k(i.map((function(r){var i,o=e.get(r);if(function(e){return e&&Jt(e.canLoad)}(o))i=o.canLoad(t,n);else{if(!Jt(o))throw new Error("Invalid CanLoad guard");i=o(t,n)}return $e(i)}))).pipe($t(),Ce((function(e){if(Qt(e)){var t=ze('Redirecting to "'.concat(r.urlSerializer.serialize(e),'"'));throw t.url=e,t}})),Object(V.a)((function(e){return!0===e}))):k(!0)}},{key:"lineralizeSegments",value:function(e,t){for(var n=[],r=t.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return k(n);if(r.numberOfChildren>1||!r.children.primary)return on(e.redirectTo);r=r.children.primary}}},{key:"applyRedirectCommands",value:function(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)}},{key:"applyRedirectCreatreUrlTree",value:function(e,t,n,r){var i=this.createSegmentGroup(e,t.root,n,r);return new tt(i,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}},{key:"createQueryParams",value:function(e,t){var n={};return Xe(e,(function(e,r){if("string"==typeof e&&e.startsWith(":")){var i=e.substring(1);n[r]=t[i]}else n[r]=e})),n}},{key:"createSegmentGroup",value:function(e,t,n,r){var i=this,o=this.createSegments(e,t.segments,n,r),a={};return Xe(t.children,(function(t,o){a[o]=i.createSegmentGroup(e,t,n,r)})),new nt(o,a)}},{key:"createSegments",value:function(e,t,n,r){var i=this;return t.map((function(t){return t.path.startsWith(":")?i.findPosParam(e,t,r):i.findOrReturn(t,n)}))}},{key:"findPosParam",value:function(e,t,n){var r=n[t.path.substring(1)];if(!r)throw new Error("Cannot redirect to '".concat(e,"'. Cannot find '").concat(t.path,"'."));return r}},{key:"findOrReturn",value:function(e,t){var n,i=0,o=r(t);try{for(o.s();!(n=o.n()).done;){var a=n.value;if(a.path===e.path)return t.splice(i),a;i++}}catch(s){o.e(s)}finally{o.f()}return e}}]),e}();function sn(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=(t.matcher||Ye)(n,e,t);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function cn(e){if(1===e.numberOfChildren&&e.children.primary){var t=e.children.primary;return new nt(e.segments.concat(t.segments),t.children)}return e}function ln(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function un(e){return e.outlet||"primary"}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var dn=function e(t){v(this,e),this.path=t,this.route=this.path[this.path.length-1]},hn=function e(t,n){v(this,e),this.component=t,this.route=n};function fn(e,t,n){var r=function(e){if(!e)return null;for(var t=e.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(t);return(r?r.module.injector:n).get(e)}function mn(e,t,n){var r=Et(e),i=e.value;Xe(r,(function(e,r){mn(e,i.component?t?t.children.getContext(r):null:t,n)})),n.canDeactivateChecks.push(new hn(i.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,i))}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function pn(e,t){return null!==e&&t&&t(new Ue(e)),k(!0)}function vn(e,t){return null!==e&&t&&t(new Ve(e)),k(!0)}function gn(e,t,n){var r=t.routeConfig?t.routeConfig.canActivate:null;return r&&0!==r.length?k(r.map((function(r){return L((function(){var i,o=fn(r,t,n);if(function(e){return e&&Jt(e.canActivate)}(o))i=$e(o.canActivate(t,e));else{if(!Jt(o))throw new Error("Invalid CanActivate guard");i=$e(o(t,e))}return i.pipe(ye())}))}))).pipe($t()):k(!0)}function yn(e,t,n){var r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map((function(e){return function(e){var t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)})).filter((function(e){return null!==e})).map((function(t){return L((function(){return k(t.guards.map((function(i){var o,a=fn(i,t.node,n);if(function(e){return e&&Jt(e.canActivateChild)}(a))o=$e(a.canActivateChild(r,e));else{if(!Jt(a))throw new Error("Invalid CanActivateChild guard");o=$e(a(r,e))}return o.pipe(ye())}))).pipe($t())}))}));return k(i).pipe($t())}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var bn=function e(){v(this,e)},kn=function(){function e(t,n,r,i,o,a){v(this,e),this.rootComponentType=t,this.config=n,this.urlTree=r,this.url=i,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=a}return y(e,[{key:"recognize",value:function(){try{var e=Sn(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,"primary"),n=new At([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),r=new _t(n,t),i=new Pt(this.url,r);return this.inheritParamsAndData(i._root),k(i)}catch(o){return new A.a((function(e){return e.error(o)}))}}},{key:"inheritParamsAndData",value:function(e){var t=this,n=e.value,r=Tt(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),e.children.forEach((function(e){return t.inheritParamsAndData(e)}))}},{key:"processSegmentGroup",value:function(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)}},{key:"processChildren",value:function(e,t){var n,r=this,i=ot(t,(function(t,n){return r.processSegmentGroup(e,t,n)}));return n={},i.forEach((function(e){var t=n[e.value.outlet];if(t){var r=t.url.map((function(e){return e.toString()})).join("/"),i=e.value.url.map((function(e){return e.toString()})).join("/");throw new Error("Two segments cannot have the same outlet name: '".concat(r,"' and '").concat(i,"'."))}n[e.value.outlet]=e.value})),i.sort((function(e,t){return"primary"===e.value.outlet?-1:"primary"===t.value.outlet?1:e.value.outlet.localeCompare(t.value.outlet)})),i}},{key:"processSegment",value:function(e,t,n,i){var o,a=r(e);try{for(a.s();!(o=a.n()).done;){var s=o.value;try{return this.processSegmentAgainstRoute(s,t,n,i)}catch(c){if(!(c instanceof bn))throw c}}}catch(l){a.e(l)}finally{a.f()}if(this.noLeftoversInUrl(t,n,i))return[];throw new bn}},{key:"noLeftoversInUrl",value:function(e,t,n){return 0===t.length&&!e.children[n]}},{key:"processSegmentAgainstRoute",value:function(e,t,n,r){if(e.redirectTo)throw new bn;if((e.outlet||"primary")!==r)throw new bn;var i,o=[],a=[];if("**"===e.path){var s=n.length>0?Qe(n).parameters:{};i=new At(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,In(e),r,e.component,e,Cn(t),wn(t)+n.length,xn(e))}else{var c=function(e,t,n){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||n.length>0))throw new bn;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=(t.matcher||Ye)(n,e,t);if(!r)throw new bn;var i={};Xe(r.posParams,(function(e,t){i[t]=e.path}));var o=r.consumed.length>0?Object.assign(Object.assign({},i),r.consumed[r.consumed.length-1].parameters):i;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:o}}(t,e,n);o=c.consumedSegments,a=n.slice(c.lastChild),i=new At(o,c.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,In(e),r,e.component,e,Cn(t),wn(t)+o.length,xn(e))}var l=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),u=Sn(t,o,a,l,this.relativeLinkResolution),d=u.segmentGroup,h=u.slicedSegments;if(0===h.length&&d.hasChildren()){var f=this.processChildren(l,d);return[new _t(i,f)]}if(0===l.length&&0===h.length)return[new _t(i,[])];var m=this.processSegment(l,d,h,"primary");return[new _t(i,m)]}}]),e}();function Cn(e){for(var t=e;t._sourceSegment;)t=t._sourceSegment;return t}function wn(e){for(var t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;t._sourceSegment;)n+=(t=t._sourceSegment)._segmentIndexShift?t._segmentIndexShift:0;return n-1}function Sn(e,t,n,i,o){if(n.length>0&&function(e,t,n){return n.some((function(n){return _n(e,t,n)&&"primary"!==En(n)}))}(e,n,i)){var a=new nt(t,function(e,t,n,i){var o={};o.primary=i,i._sourceSegment=e,i._segmentIndexShift=t.length;var a,s=r(n);try{for(s.s();!(a=s.n()).done;){var c=a.value;if(""===c.path&&"primary"!==En(c)){var l=new nt([],{});l._sourceSegment=e,l._segmentIndexShift=t.length,o[En(c)]=l}}}catch(u){s.e(u)}finally{s.f()}return o}(e,t,i,new nt(n,e.children)));return a._sourceSegment=e,a._segmentIndexShift=t.length,{segmentGroup:a,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some((function(n){return _n(e,t,n)}))}(e,n,i)){var s=new nt(e.segments,function(e,t,n,i,o,a){var s,c={},l=r(i);try{for(l.s();!(s=l.n()).done;){var u=s.value;if(_n(e,n,u)&&!o[En(u)]){var d=new nt([],{});d._sourceSegment=e,d._segmentIndexShift="legacy"===a?e.segments.length:t.length,c[En(u)]=d}}}catch(h){l.e(h)}finally{l.f()}return Object.assign(Object.assign({},o),c)}(e,t,n,i,e.children,o));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}var c=new nt(e.segments,e.children);return c._sourceSegment=e,c._segmentIndexShift=t.length,{segmentGroup:c,slicedSegments:n}}function _n(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function En(e){return e.outlet||"primary"}function In(e){return e.data||{}}function xn(e){return e.resolve||{}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function On(e){return function(t){return t.pipe(ie((function(t){var n=e(t);return n?Object(C.a)(n).pipe(Object(V.a)((function(){return t}))):Object(C.a)([t])})))}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var Tn,An=function(e){l(n,e);var t=d(n);function n(){return v(this,n),t.apply(this,arguments)}return n}(function(){function e(){v(this,e)}return y(e,[{key:"shouldDetach",value:function(e){return!1}},{key:"store",value:function(e,t){}},{key:"shouldAttach",value:function(e){return!1}},{key:"retrieve",value:function(e){return null}},{key:"shouldReuseRoute",value:function(e,t){return e.routeConfig===t.routeConfig}}]),e}()),Pn=((Tn=function e(){v(this,e)}).\u0275fac=function(e){return new(e||Tn)},Tn.\u0275cmp=c["\u0275\u0275defineComponent"]({type:Tn,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&c["\u0275\u0275element"](0,"router-outlet")},directives:function(){return[er]},encapsulation:2}),Tn);
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function Dn(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=0;n<e.length;n++){var r=e[n];Rn(r,Mn(t,r))}}function Rn(e,t){if(!e)throw new Error("\n      Invalid configuration of route '".concat(t,"': Encountered undefined route.\n      The reason might be an extra comma.\n\n      Example:\n      const routes: Routes = [\n        { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n        { path: 'dashboard',  component: DashboardComponent },, << two commas\n        { path: 'detail/:id', component: HeroDetailComponent }\n      ];\n    "));if(Array.isArray(e))throw new Error("Invalid configuration of route '".concat(t,"': Array cannot be specified"));if(!e.component&&!e.children&&!e.loadChildren&&e.outlet&&"primary"!==e.outlet)throw new Error("Invalid configuration of route '".concat(t,"': a componentless route without children or loadChildren cannot have a named outlet set"));if(e.redirectTo&&e.children)throw new Error("Invalid configuration of route '".concat(t,"': redirectTo and children cannot be used together"));if(e.redirectTo&&e.loadChildren)throw new Error("Invalid configuration of route '".concat(t,"': redirectTo and loadChildren cannot be used together"));if(e.children&&e.loadChildren)throw new Error("Invalid configuration of route '".concat(t,"': children and loadChildren cannot be used together"));if(e.redirectTo&&e.component)throw new Error("Invalid configuration of route '".concat(t,"': redirectTo and component cannot be used together"));if(e.path&&e.matcher)throw new Error("Invalid configuration of route '".concat(t,"': path and matcher cannot be used together"));if(void 0===e.redirectTo&&!e.component&&!e.children&&!e.loadChildren)throw new Error("Invalid configuration of route '".concat(t,"'. One of the following must be provided: component, redirectTo, children or loadChildren"));if(void 0===e.path&&void 0===e.matcher)throw new Error("Invalid configuration of route '".concat(t,"': routes must have either a path or a matcher specified"));if("string"==typeof e.path&&"/"===e.path.charAt(0))throw new Error("Invalid configuration of route '".concat(t,"': path cannot start with a slash"));if(""===e.path&&void 0!==e.redirectTo&&void 0===e.pathMatch)throw new Error("Invalid configuration of route '{path: \"".concat(t,'", redirectTo: "').concat(e.redirectTo,"\"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'."));if(void 0!==e.pathMatch&&"full"!==e.pathMatch&&"prefix"!==e.pathMatch)throw new Error("Invalid configuration of route '".concat(t,"': pathMatch can only be set to 'prefix' or 'full'"));e.children&&Dn(e.children,t)}function Mn(e,t){return t?e||t.path?e&&!t.path?e+"/":!e&&t.path?t.path:"".concat(e,"/").concat(t.path):"":e}function Nn(e){var t=e.children&&e.children.map(Nn),n=t?Object.assign(Object.assign({},e),{children:t}):Object.assign({},e);return!n.component&&(t||n.loadChildren)&&n.outlet&&"primary"!==n.outlet&&(n.component=Pn),n}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var jn=new c.InjectionToken("ROUTES"),Fn=function(){function e(t,n,r,i){v(this,e),this.loader=t,this.compiler=n,this.onLoadStartListener=r,this.onLoadEndListener=i}return y(e,[{key:"load",value:function(e,t){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(t),this.loadModuleFactory(t.loadChildren).pipe(Object(V.a)((function(r){n.onLoadEndListener&&n.onLoadEndListener(t);var i=r.create(e);return new Zt(Je(i.injector.get(jn)).map(Nn),i)})))}},{key:"loadModuleFactory",value:function(e){var t=this;return"string"==typeof e?Object(C.a)(this.loader.load(e)):$e(e()).pipe(Object(ve.a)((function(e){return e instanceof c.NgModuleFactory?k(e):Object(C.a)(t.compiler.compileModuleAsync(e))})))}}]),e}(),Ln=function e(){v(this,e),this.outlet=null,this.route=null,this.resolver=null,this.children=new Vn,this.attachRef=null},Vn=function(){function e(){v(this,e),this.contexts=new Map}return y(e,[{key:"onChildOutletCreated",value:function(e,t){var n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)}},{key:"onChildOutletDestroyed",value:function(e){var t=this.getContext(e);t&&(t.outlet=null)}},{key:"onOutletDeactivated",value:function(){var e=this.contexts;return this.contexts=new Map,e}},{key:"onOutletReAttached",value:function(e){this.contexts=e}},{key:"getOrCreateContext",value:function(e){var t=this.getContext(e);return t||(t=new Ln,this.contexts.set(e,t)),t}},{key:"getContext",value:function(e){return this.contexts.get(e)||null}}]),e}(),Bn=function(){function e(){v(this,e)}return y(e,[{key:"shouldProcessUrl",value:function(e){return!0}},{key:"extract",value:function(e){return e}},{key:"merge",value:function(e,t){return e}}]),e}();
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function Un(e){throw e}function Hn(e,t,n){return t.parse("/")}function Gn(e,t){return k(null)}var qn,Kn,zn,Yn=((zn=function(){function e(t,n,r,i,o,a,s,l){var u=this;v(this,e),this.rootComponentType=t,this.urlSerializer=n,this.rootContexts=r,this.location=i,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.lastLocationChangeInfo=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new w.a,this.errorHandler=Un,this.malformedUriErrorHandler=Hn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Gn,afterPreactivation:Gn},this.urlHandlingStrategy=new Bn,this.routeReuseStrategy=new An,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=o.get(c.NgModuleRef),this.console=o.get(c["\u0275Console"]);var d=o.get(c.NgZone);this.isNgZoneEnabled=d instanceof c.NgZone,this.resetConfig(l),this.currentUrlTree=new tt(new nt([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Fn(a,s,(function(e){return u.triggerEvent(new Fe(e))}),(function(e){return u.triggerEvent(new Le(e))})),this.routerState=xt(this.currentUrlTree,this.rootComponentType),this.transitions=new _({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 y(e,[{key:"setupNavigations",value:function(e){var t=this,n=this.events;return e.pipe(H((function(e){return 0!==e.id})),Object(V.a)((function(e){return Object.assign(Object.assign({},e),{extractedUrl:t.urlHandlingStrategy.extract(e.rawUrl)})})),ie((function(e){var i,o,a,s,c=!1,l=!1;return k(e).pipe(Ce((function(e){t.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:t.lastSuccessfulNavigation?Object.assign(Object.assign({},t.lastSuccessfulNavigation),{previousNavigation:null}):null}})),ie((function(e){var r,i,o,a,s=!t.navigated||e.extractedUrl.toString()!==t.browserUrlTree.toString();if(("reload"===t.onSameUrlNavigation||s)&&t.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return k(e).pipe(ie((function(e){var r=t.transitions.getValue();return n.next(new Oe(e.id,t.serializeUrl(e.extractedUrl),e.source,e.restoredState)),r!==t.transitions.getValue()?j:[e]})),ie((function(e){return Promise.resolve(e)})),(r=t.ngModule.injector,i=t.configLoader,o=t.urlSerializer,a=t.config,function(e){return e.pipe(ie((function(e){return function(e,t,n,r,i){return new an(e,t,n,r,i).apply()}(r,i,o,e.extractedUrl,a).pipe(Object(V.a)((function(t){return Object.assign(Object.assign({},e),{urlAfterRedirects:t})})))})))}),Ce((function(e){t.currentNavigation=Object.assign(Object.assign({},t.currentNavigation),{finalUrl:e.urlAfterRedirects})})),function(e,n,r,i,o){return function(r){return r.pipe(Object(ve.a)((function(r){return function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"emptyOnly",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"legacy";return new kn(e,t,n,r,i,o).recognize()}(e,n,r.urlAfterRedirects,(a=r.urlAfterRedirects,t.serializeUrl(a)),i,o).pipe(Object(V.a)((function(e){return Object.assign(Object.assign({},r),{targetSnapshot:e})})));var a})))}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */(t.rootComponentType,t.config,0,t.paramsInheritanceStrategy,t.relativeLinkResolution),Ce((function(e){"eager"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),t.browserUrlTree=e.urlAfterRedirects)})),Ce((function(e){var r=new De(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);n.next(r)})));if(s&&t.rawUrlTree&&t.urlHandlingStrategy.shouldProcessUrl(t.rawUrlTree)){var c=e.id,l=e.extractedUrl,u=e.source,d=e.restoredState,h=e.extras,f=new Oe(c,t.serializeUrl(l),u,d);n.next(f);var m=xt(l,t.rootComponentType).snapshot;return k(Object.assign(Object.assign({},e),{targetSnapshot:m,urlAfterRedirects:l,extras:Object.assign(Object.assign({},h),{skipLocationChange:!1,replaceUrl:!1})}))}return t.rawUrlTree=e.rawUrl,t.browserUrlTree=e.urlAfterRedirects,e.resolve(null),j})),On((function(e){var n=e.targetSnapshot,r=e.id,i=e.extractedUrl,o=e.rawUrl,a=e.extras,s=a.skipLocationChange,c=a.replaceUrl;return t.hooks.beforePreactivation(n,{navigationId:r,appliedUrlTree:i,rawUrlTree:o,skipLocationChange:!!s,replaceUrl:!!c})})),Ce((function(e){var n=new Re(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)})),Object(V.a)((function(e){return Object.assign(Object.assign({},e),{guards:(n=e.targetSnapshot,r=e.currentSnapshot,i=t.rootContexts,o=n._root,function e(t,n,r,i){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},a=Et(n);return t.children.forEach((function(t){!function(t,n,r,i){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},a=t.value,s=n?n.value:null,c=r?r.getContext(t.value.outlet):null;if(s&&a.routeConfig===s.routeConfig){var l=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!it(e.url,t.url);case"pathParamsOrQueryParamsChange":return!it(e.url,t.url)||!We(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Nt(e,t)||!We(e.queryParams,t.queryParams);case"paramsChange":default:return!Nt(e,t)}}(s,a,a.routeConfig.runGuardsAndResolvers);l?o.canActivateChecks.push(new dn(i)):(a.data=s.data,a._resolvedData=s._resolvedData),e(t,n,a.component?c?c.children:null:r,i,o),l&&c&&c.outlet&&c.outlet.isActivated&&o.canDeactivateChecks.push(new hn(c.outlet.component,s))}else s&&mn(n,c,o),o.canActivateChecks.push(new dn(i)),e(t,null,a.component?c?c.children:null:r,i,o)}(t,a[t.value.outlet],r,i.concat([t.value]),o),delete a[t.value.outlet]})),Xe(a,(function(e,t){return mn(e,r.getContext(t),o)})),o}(o,r?r._root:null,i,[o.value]))});var n,r,i,o})),function(e,t){return function(n){return n.pipe(Object(ve.a)((function(n){var r=n.targetSnapshot,i=n.currentSnapshot,o=n.guards,a=o.canActivateChecks,s=o.canDeactivateChecks;return 0===s.length&&0===a.length?k(Object.assign(Object.assign({},n),{guardsResult:!0})):function(e,t,n,r){return Object(C.a)(e).pipe(Object(ve.a)((function(e){return function(e,t,n,r,i){var o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return o&&0!==o.length?k(o.map((function(o){var a,s=fn(o,t,i);if(function(e){return e&&Jt(e.canDeactivate)}(s))a=$e(s.canDeactivate(e,t,n,r));else{if(!Jt(s))throw new Error("Invalid CanDeactivate guard");a=$e(s(e,t,n,r))}return a.pipe(ye())}))).pipe($t()):k(!0)}(e.component,e.route,n,t,r)})),ye((function(e){return!0!==e}),!0))}(s,r,i,e).pipe(Object(ve.a)((function(n){return n&&"boolean"==typeof n?function(e,t,n,r){return Object(C.a)(t).pipe(ge((function(t){return Object(C.a)([vn(t.route.parent,r),pn(t.route,r),yn(e,t.path,n),gn(e,t.route,n)]).pipe(U(),ye((function(e){return!0!==e}),!0))})),ye((function(e){return!0!==e}),!0))}(r,a,e,t):k(n)})),Object(V.a)((function(e){return Object.assign(Object.assign({},n),{guardsResult:e})})))})))}}(t.ngModule.injector,(function(e){return t.triggerEvent(e)})),Ce((function(e){if(Qt(e.guardsResult)){var n=ze('Redirecting to "'.concat(t.serializeUrl(e.guardsResult),'"'));throw n.url=e.guardsResult,n}})),Ce((function(e){var n=new Me(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);t.triggerEvent(n)})),H((function(e){if(!e.guardsResult){t.resetUrlToCurrentUrlTree();var r=new Ae(e.id,t.serializeUrl(e.extractedUrl),"");return n.next(r),e.resolve(!1),!1}return!0})),On((function(e){if(e.guards.canActivateChecks.length)return k(e).pipe(Ce((function(e){var n=new Ne(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)})),ie((function(e){var r,i,o=!1;return k(e).pipe((r=t.paramsInheritanceStrategy,i=t.ngModule.injector,function(e){return e.pipe(Object(ve.a)((function(e){var t=e.targetSnapshot,n=e.guards.canActivateChecks;if(!n.length)return k(e);var o=0;return Object(C.a)(n).pipe(ge((function(e){return function(e,t,n,r){return function(e,t,n,r){var i=Object.keys(e);if(0===i.length)return k({});var o={};return Object(C.a)(i).pipe(Object(ve.a)((function(i){return function(e,t,n,r){var i=fn(e,t,r);return $e(i.resolve?i.resolve(t,n):i(t,n))}(e[i],t,n,r).pipe(Ce((function(e){o[i]=e})))})),z(1),Object(ve.a)((function(){return Object.keys(o).length===i.length?k(o):j})))}(e._resolve,e,t,r).pipe(Object(V.a)((function(t){return e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),Tt(e,n).resolve),null})))}(e.route,t,r,i)})),Ce((function(){return o++})),z(1),Object(ve.a)((function(t){return o===n.length?k(e):j})))})))}),Ce({next:function(){return o=!0},complete:function(){if(!o){var r=new Ae(e.id,t.serializeUrl(e.extractedUrl),"At least one route resolver didn't emit any value.");n.next(r),e.resolve(!1)}}}))})),Ce((function(e){var n=new je(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)})))})),On((function(e){var n=e.targetSnapshot,r=e.id,i=e.extractedUrl,o=e.rawUrl,a=e.extras,s=a.skipLocationChange,c=a.replaceUrl;return t.hooks.afterPreactivation(n,{navigationId:r,appliedUrlTree:i,rawUrlTree:o,skipLocationChange:!!s,replaceUrl:!!c})})),Object(V.a)((function(e){var n=function(e,t,n){var i=function e(t,n,i){if(i&&t.shouldReuseRoute(n.value,i.value.snapshot)){var o=i.value;o._futureSnapshot=n.value;var a=function(t,n,i){return n.children.map((function(n){var o,a=r(i.children);try{for(a.s();!(o=a.n()).done;){var s=o.value;if(t.shouldReuseRoute(s.value.snapshot,n.value))return e(t,n,s)}}catch(c){a.e(c)}finally{a.f()}return e(t,n)}))}(t,n,i);return new _t(o,a)}var s=t.retrieve(n.value);if(s){var c=s.route;return function e(t,n){if(t.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=t.value;for(var r=0;r<t.children.length;++r)e(t.children[r],n.children[r])}(n,c),c}var l,u=new Ot(new _((l=n.value).url),new _(l.params),new _(l.queryParams),new _(l.fragment),new _(l.data),l.outlet,l.component,l),d=n.children.map((function(n){return e(t,n)}));return new _t(u,d)}(e,t._root,n?n._root:void 0);return new It(i,t)}(t.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign(Object.assign({},e),{targetRouterState:n})})),Ce((function(e){t.currentUrlTree=e.urlAfterRedirects,t.rawUrlTree=t.urlHandlingStrategy.merge(t.currentUrlTree,e.rawUrl),t.routerState=e.targetRouterState,"deferred"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(t.rawUrlTree,!!e.extras.replaceUrl,e.id,e.extras.state),t.browserUrlTree=e.urlAfterRedirects)})),(o=t.rootContexts,a=t.routeReuseStrategy,s=function(e){return t.triggerEvent(e)},Object(V.a)((function(e){return new Yt(a,e.targetRouterState,e.currentRouterState,s).activate(o),e}))),Ce({next:function(){c=!0},complete:function(){c=!0}}),(i=function(){if(!c&&!l){t.resetUrlToCurrentUrlTree();var r=new Ae(e.id,t.serializeUrl(e.extractedUrl),"Navigation ID ".concat(e.id," is not equal to the current navigation id ").concat(t.navigationId));n.next(r),e.resolve(!1)}t.currentNavigation=null},function(e){return e.lift(new Ee(i))}),fe((function(r){if(l=!0,(s=r)&&s.ngNavigationCancelingError){var i=Qt(r.url);i||(t.navigated=!0,t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));var o=new Ae(e.id,t.serializeUrl(e.extractedUrl),r.message);n.next(o),i?setTimeout((function(){var n=t.urlHandlingStrategy.merge(r.url,t.rawUrlTree);return t.scheduleNavigation(n,"imperative",null,{skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===t.urlUpdateStrategy},{resolve:e.resolve,reject:e.reject,promise:e.promise})}),0):e.resolve(!1)}else{t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);var a=new Pe(e.id,t.serializeUrl(e.extractedUrl),r);n.next(a);try{e.resolve(t.errorHandler(r))}catch(c){e.reject(c)}}var s;return j})))})))}},{key:"resetRootComponentType",value:function(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}},{key:"getTransition",value:function(){var e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e}},{key:"setTransition",value:function(e){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),e))}},{key:"initialNavigation",value:function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}},{key:"setUpLocationChangeListener",value:function(){var e=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe((function(t){var n=e.extractLocationChangeInfoFromEvent(t);e.shouldScheduleNavigation(e.lastLocationChangeInfo,n)&&setTimeout((function(){var t=n.source,r=n.state,i=n.urlTree,o={replaceUrl:!0};if(r){var a=Object.assign({},r);delete a.navigationId,0!==Object.keys(a).length&&(o.state=a)}e.scheduleNavigation(i,t,r,o)}),0),e.lastLocationChangeInfo=n})))}},{key:"extractLocationChangeInfoFromEvent",value:function(e){var t;return{source:"popstate"===e.type?"popstate":"hashchange",urlTree:this.parseUrl(e.url),state:(null===(t=e.state)||void 0===t?void 0:t.navigationId)?e.state:null,transitionId:this.getTransition().id}}},{key:"shouldScheduleNavigation",value:function(e,t){if(!e)return!0;var n=t.urlTree.toString()===e.urlTree.toString();return!(t.transitionId===e.transitionId&&n&&("hashchange"===t.source&&"popstate"===e.source||"popstate"===t.source&&"hashchange"===e.source))}},{key:"url",get:function(){return this.serializeUrl(this.currentUrlTree)}},{key:"getCurrentNavigation",value:function(){return this.currentNavigation}},{key:"triggerEvent",value:function(e){this.events.next(e)}},{key:"resetConfig",value:function(e){Dn(e),this.config=e.map(Nn),this.navigated=!1,this.lastSuccessfulId=-1}},{key:"ngOnDestroy",value:function(){this.dispose()}},{key:"dispose",value:function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0)}},{key:"createUrlTree",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.relativeTo,i=t.queryParams,o=t.fragment,a=t.preserveQueryParams,s=t.queryParamsHandling,l=t.preserveFragment;Object(c.isDevMode)()&&a&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var u=r||this.routerState.root,d=l?this.currentUrlTree.fragment:o,h=null;if(s)switch(s){case"merge":h=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=i||null}else h=a?this.currentUrlTree.queryParams:i||null;return null!==h&&(h=this.removeEmptyProps(h)),function(e,t,r,i,o){if(0===r.length)return Lt(t.root,t.root,t,i,o);var a=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new Vt(!0,0,e);var t=0,r=!1,i=e.reduce((function(e,i,o){if("object"==typeof i&&null!=i){if(i.outlets){var a={};return Xe(i.outlets,(function(e,t){a[t]="string"==typeof e?e.split("/"):e})),[].concat(n(e),[{outlets:a}])}if(i.segmentPath)return[].concat(n(e),[i.segmentPath])}return"string"!=typeof i?[].concat(n(e),[i]):0===o?(i.split("/").forEach((function(n,i){0==i&&"."===n||(0==i&&""===n?r=!0:".."===n?t++:""!=n&&e.push(n))})),e):[].concat(n(e),[i])}),[]);return new Vt(r,t,i)}(r);if(a.toRoot())return Lt(t.root,new nt([],{}),t,i,o);var s=function(e,t,n){if(e.isAbsolute)return new Bt(t.root,!0,0);if(-1===n.snapshot._lastPathIndex){var r=n.snapshot._urlSegment;return new Bt(r,r===t.root,0)}var i=jt(e.commands[0])?0:1;return function(e,t,n){for(var r=e,i=t,o=n;o>i;){if(o-=i,!(r=r.parent))throw new Error("Invalid number of '../'");i=r.segments.length}return new Bt(r,!1,i-o)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+i,e.numberOfDoubleDots)}(a,t,e),c=s.processChildren?Ht(s.segmentGroup,s.index,a.commands):Ut(s.segmentGroup,s.index,a.commands);return Lt(s.segmentGroup,c,t,i,o)}(u,this.currentUrlTree,e,h,d)}},{key:"navigateByUrl",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};Object(c.isDevMode)()&&this.isNgZoneEnabled&&!c.NgZone.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=Qt(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,t)}},{key:"navigate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};return function(e){for(var t=0;t<e.length;t++){var n=e[t];if(null==n)throw new Error("The requested path contains ".concat(n," segment at index ").concat(t))}}(e),this.navigateByUrl(this.createUrlTree(e,t),t)}},{key:"serializeUrl",value:function(e){return this.urlSerializer.serialize(e)}},{key:"parseUrl",value:function(e){var t;try{t=this.urlSerializer.parse(e)}catch(n){t=this.malformedUriErrorHandler(n,this.urlSerializer,e)}return t}},{key:"isActive",value:function(e,t){if(Qt(e))return et(this.currentUrlTree,e,t);var n=this.parseUrl(e);return et(this.currentUrlTree,n,t)}},{key:"removeEmptyProps",value:function(e){return Object.keys(e).reduce((function(t,n){var r=e[n];return null!=r&&(t[n]=r),t}),{})}},{key:"processNavigations",value:function(){var e=this;this.navigations.subscribe((function(t){e.navigated=!0,e.lastSuccessfulId=t.id,e.events.next(new Te(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(e.currentUrlTree))),e.lastSuccessfulNavigation=e.currentNavigation,e.currentNavigation=null,t.resolve(!0)}),(function(t){e.console.warn("Unhandled Navigation Error: ")}))}},{key:"scheduleNavigation",value:function(e,t,n,r,i){var o,a,s,c=this.getTransition(),l="imperative"!==t&&"imperative"===(null==c?void 0:c.source),u=(this.lastSuccessfulId===c.id||this.currentNavigation?c.rawUrl:c.urlAfterRedirects).toString()===e.toString();if(l&&u)return Promise.resolve(!0);i?(o=i.resolve,a=i.reject,s=i.promise):s=new Promise((function(e,t){o=e,a=t}));var d=++this.navigationId;return this.setTransition({id:d,source:t,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:r,resolve:o,reject:a,promise:s,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),s.catch((function(e){return Promise.reject(e)}))}},{key:"setBrowserUrl",value:function(e,t,n,r){var i=this.urlSerializer.serialize(e);r=r||{},this.location.isCurrentPathEqualTo(i)||t?this.location.replaceState(i,"",Object.assign(Object.assign({},r),{navigationId:n})):this.location.go(i,"",Object.assign(Object.assign({},r),{navigationId:n}))}},{key:"resetStateAndUrl",value:function(e,t,n){this.routerState=e,this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}},{key:"resetUrlToCurrentUrlTree",value:function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}]),e}()).\u0275fac=function(e){return new(e||zn)(c["\u0275\u0275inject"](c.Type),c["\u0275\u0275inject"](at),c["\u0275\u0275inject"](Vn),c["\u0275\u0275inject"](h.i),c["\u0275\u0275inject"](c.Injector),c["\u0275\u0275inject"](c.NgModuleFactoryLoader),c["\u0275\u0275inject"](c.Compiler),c["\u0275\u0275inject"](void 0))},zn.\u0275prov=c["\u0275\u0275defineInjectable"]({token:zn,factory:zn.\u0275fac}),zn),Wn=((Kn=function(){function e(t,n,r,i,o){v(this,e),this.router=t,this.route=n,this.commands=[],this.onChanges=new w.a,null==r&&i.setAttribute(o.nativeElement,"tabindex","0")}return y(e,[{key:"ngOnChanges",value:function(e){this.onChanges.next(this)}},{key:"routerLink",set:function(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}},{key:"preserveQueryParams",set:function(e){Object(c.isDevMode)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=e}},{key:"onClick",value:function(){var e={skipLocationChange:Jn(this.skipLocationChange),replaceUrl:Jn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,e),!0}},{key:"urlTree",get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:Jn(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:Jn(this.preserveFragment)})}}]),e}()).\u0275fac=function(e){return new(e||Kn)(c["\u0275\u0275directiveInject"](Yn),c["\u0275\u0275directiveInject"](Ot),c["\u0275\u0275injectAttribute"]("tabindex"),c["\u0275\u0275directiveInject"](c.Renderer2),c["\u0275\u0275directiveInject"](c.ElementRef))},Kn.\u0275dir=c["\u0275\u0275defineDirective"]({type:Kn,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,t){1&e&&c["\u0275\u0275listener"]("click",(function(){return t.onClick()}))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[c["\u0275\u0275NgOnChangesFeature"]]}),Kn),Zn=((qn=function(){function e(t,n,r){var i=this;v(this,e),this.router=t,this.route=n,this.locationStrategy=r,this.commands=[],this.onChanges=new w.a,this.subscription=t.events.subscribe((function(e){e instanceof Te&&i.updateTargetUrlAndHref()}))}return y(e,[{key:"routerLink",set:function(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}},{key:"preserveQueryParams",set:function(e){Object(c.isDevMode)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=e}},{key:"ngOnChanges",value:function(e){this.updateTargetUrlAndHref(),this.onChanges.next(this)}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}},{key:"onClick",value:function(e,t,n,r,i){if(0!==e||t||n||r||i)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;var o={skipLocationChange:Jn(this.skipLocationChange),replaceUrl:Jn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,o),!1}},{key:"updateTargetUrlAndHref",value:function(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}},{key:"urlTree",get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:Jn(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:Jn(this.preserveFragment)})}}]),e}()).\u0275fac=function(e){return new(e||qn)(c["\u0275\u0275directiveInject"](Yn),c["\u0275\u0275directiveInject"](Ot),c["\u0275\u0275directiveInject"](h.j))},qn.\u0275dir=c["\u0275\u0275defineDirective"]({type:qn,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&c["\u0275\u0275listener"]("click",(function(e){return t.onClick(e.button,e.ctrlKey,e.shiftKey,e.altKey,e.metaKey)})),2&e&&(c["\u0275\u0275hostProperty"]("href",t.href,c["\u0275\u0275sanitizeUrl"]),c["\u0275\u0275attribute"]("target",t.target))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[c["\u0275\u0275NgOnChangesFeature"]]}),qn);function Jn(e){return""===e||!!e}var Qn,Xn,$n,er=((Qn=function(){function e(t,n,r,i,o){v(this,e),this.parentContexts=t,this.location=n,this.resolver=r,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new c.EventEmitter,this.deactivateEvents=new c.EventEmitter,this.name=i||"primary",t.onChildOutletCreated(this.name,this)}return y(e,[{key:"ngOnDestroy",value:function(){this.parentContexts.onChildOutletDestroyed(this.name)}},{key:"ngOnInit",value:function(){if(!this.activated){var e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}},{key:"isActivated",get:function(){return!!this.activated}},{key:"component",get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}},{key:"activatedRoute",get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}},{key:"activatedRouteData",get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}},{key:"detach",value:function(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();var e=this.activated;return this.activated=null,this._activatedRoute=null,e}},{key:"attach",value:function(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)}},{key:"deactivate",value:function(){if(this.activated){var e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}},{key:"activateWith",value:function(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;var n=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),r=this.parentContexts.getOrCreateContext(this.name).children,i=new tr(e,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,i),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}]),e}()).\u0275fac=function(e){return new(e||Qn)(c["\u0275\u0275directiveInject"](Vn),c["\u0275\u0275directiveInject"](c.ViewContainerRef),c["\u0275\u0275directiveInject"](c.ComponentFactoryResolver),c["\u0275\u0275injectAttribute"]("name"),c["\u0275\u0275directiveInject"](c.ChangeDetectorRef))},Qn.\u0275dir=c["\u0275\u0275defineDirective"]({type:Qn,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),Qn),tr=function(){function e(t,n,r){v(this,e),this.route=t,this.childContexts=n,this.parent=r}return y(e,[{key:"get",value:function(e,t){return e===Ot?this.route:e===Vn?this.childContexts:this.parent.get(e,t)}}]),e}(),nr=function e(){v(this,e)},rr=function(){function e(){v(this,e)}return y(e,[{key:"preload",value:function(e,t){return k(null)}}]),e}(),ir=(($n=function(){function e(t,n,r,i,o){v(this,e),this.router=t,this.injector=i,this.preloadingStrategy=o,this.loader=new Fn(n,r,(function(e){return t.triggerEvent(new Fe(e))}),(function(e){return t.triggerEvent(new Le(e))}))}return y(e,[{key:"setUpPreloading",value:function(){var e=this;this.subscription=this.router.events.pipe(H((function(e){return e instanceof Te})),ge((function(){return e.preload()}))).subscribe((function(){}))}},{key:"preload",value:function(){var e=this.injector.get(c.NgModuleRef);return this.processRoutes(e,this.router.config)}},{key:"ngOnDestroy",value:function(){this.subscription&&this.subscription.unsubscribe()}},{key:"processRoutes",value:function(e,t){var n,i=[],o=r(t);try{for(o.s();!(n=o.n()).done;){var a=n.value;if(a.loadChildren&&!a.canLoad&&a._loadedConfig){var s=a._loadedConfig;i.push(this.processRoutes(s.module,s.routes))}else a.loadChildren&&!a.canLoad?i.push(this.preloadConfig(e,a)):a.children&&i.push(this.processRoutes(e,a.children))}}catch(c){o.e(c)}finally{o.f()}return Object(C.a)(i).pipe(Object(B.a)(),Object(V.a)((function(e){})))}},{key:"preloadConfig",value:function(e,t){var n=this;return this.preloadingStrategy.preload(t,(function(){return n.loader.load(e.injector,t).pipe(Object(ve.a)((function(e){return t._loadedConfig=e,n.processRoutes(e.module,e.routes)})))}))}}]),e}()).\u0275fac=function(e){return new(e||$n)(c["\u0275\u0275inject"](Yn),c["\u0275\u0275inject"](c.NgModuleFactoryLoader),c["\u0275\u0275inject"](c.Compiler),c["\u0275\u0275inject"](c.Injector),c["\u0275\u0275inject"](nr))},$n.\u0275prov=c["\u0275\u0275defineInjectable"]({token:$n,factory:$n.\u0275fac}),$n),or=((Xn=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};v(this,e),this.router=t,this.viewportScroller=n,this.options=r,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},r.scrollPositionRestoration=r.scrollPositionRestoration||"disabled",r.anchorScrolling=r.anchorScrolling||"disabled"}return y(e,[{key:"init",value:function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}},{key:"createScrollEvents",value:function(){var e=this;return this.router.events.subscribe((function(t){t instanceof Oe?(e.store[e.lastId]=e.viewportScroller.getScrollPosition(),e.lastSource=t.navigationTrigger,e.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Te&&(e.lastId=t.id,e.scheduleScrollEvent(t,e.router.parseUrl(t.urlAfterRedirects).fragment))}))}},{key:"consumeScrollEvents",value:function(){var e=this;return this.router.events.subscribe((function(t){t instanceof Ge&&(t.position?"top"===e.options.scrollPositionRestoration?e.viewportScroller.scrollToPosition([0,0]):"enabled"===e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===e.options.anchorScrolling?e.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition([0,0]))}))}},{key:"scheduleScrollEvent",value:function(e,t){this.router.triggerEvent(new Ge(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}},{key:"ngOnDestroy",value:function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}]),e}()).\u0275fac=function(e){return new(e||Xn)(c["\u0275\u0275inject"](Yn),c["\u0275\u0275inject"](h.x),c["\u0275\u0275inject"](void 0))},Xn.\u0275prov=c["\u0275\u0275defineInjectable"]({token:Xn,factory:Xn.\u0275fac}),Xn),ar=new c.InjectionToken("ROUTER_CONFIGURATION"),sr=new c.InjectionToken("ROUTER_FORROOT_GUARD"),cr=[h.i,{provide:at,useClass:st},{provide:Yn,useFactory:function(e,t,n,r,i,o,a){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{},c=arguments.length>8?arguments[8]:void 0,l=arguments.length>9?arguments[9]:void 0,u=new Yn(null,e,t,n,r,i,o,Je(a));if(c&&(u.urlHandlingStrategy=c),l&&(u.routeReuseStrategy=l),s.errorHandler&&(u.errorHandler=s.errorHandler),s.malformedUriErrorHandler&&(u.malformedUriErrorHandler=s.malformedUriErrorHandler),s.enableTracing){var d=Object(h.C)();u.events.subscribe((function(e){d.logGroup("Router Event: "+e.constructor.name),d.log(e.toString()),d.log(e),d.logGroupEnd()}))}return s.onSameUrlNavigation&&(u.onSameUrlNavigation=s.onSameUrlNavigation),s.paramsInheritanceStrategy&&(u.paramsInheritanceStrategy=s.paramsInheritanceStrategy),s.urlUpdateStrategy&&(u.urlUpdateStrategy=s.urlUpdateStrategy),s.relativeLinkResolution&&(u.relativeLinkResolution=s.relativeLinkResolution),u},deps:[at,Vn,h.i,c.Injector,c.NgModuleFactoryLoader,c.Compiler,jn,ar,[function(){return function e(){v(this,e)}}(),new c.Optional],[function(){return function e(){v(this,e)}}(),new c.Optional]]},Vn,{provide:Ot,useFactory:function(e){return e.routerState.root},deps:[Yn]},{provide:c.NgModuleFactoryLoader,useClass:c.SystemJsNgModuleLoader},ir,rr,function(){function e(){v(this,e)}return y(e,[{key:"preload",value:function(e,t){return t().pipe(fe((function(){return k(null)})))}}]),e}(),{provide:ar,useValue:{enableTracing:!1}}];function lr(){return new c.NgProbeToken("Router",Yn)}var ur,dr=((ur=function(){function e(t,n){v(this,e)}return y(e,null,[{key:"forRoot",value:function(t,n){return{ngModule:e,providers:[cr,pr(t),{provide:sr,useFactory:mr,deps:[[Yn,new c.Optional,new c.SkipSelf]]},{provide:ar,useValue:n||{}},{provide:h.j,useFactory:fr,deps:[h.u,[new c.Inject(h.a),new c.Optional],ar]},{provide:or,useFactory:hr,deps:[Yn,h.x,ar]},{provide:nr,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:rr},{provide:c.NgProbeToken,multi:!0,useFactory:lr},[gr,{provide:c.APP_INITIALIZER,multi:!0,useFactory:yr,deps:[gr]},{provide:kr,useFactory:br,deps:[gr]},{provide:c.APP_BOOTSTRAP_LISTENER,multi:!0,useExisting:kr}]]}}},{key:"forChild",value:function(t){return{ngModule:e,providers:[pr(t)]}}}]),e}()).\u0275mod=c["\u0275\u0275defineNgModule"]({type:ur}),ur.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||ur)(c["\u0275\u0275inject"](sr,8),c["\u0275\u0275inject"](Yn,8))}}),ur);function hr(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new or(e,t,n)}function fr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.useHash?new h.g(e,t):new h.s(e,t)}function mr(e){if(e)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function pr(e){return[{provide:c.ANALYZE_FOR_ENTRY_COMPONENTS,multi:!0,useValue:e},{provide:jn,multi:!0,useValue:e}]}var vr,gr=((vr=function(){function e(t){v(this,e),this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new w.a}return y(e,[{key:"appInitializer",value:function(){var e=this;return this.injector.get(h.h,Promise.resolve(null)).then((function(){var t=null,n=new Promise((function(e){return t=e})),r=e.injector.get(Yn),i=e.injector.get(ar);if(e.isLegacyDisabled(i)||e.isLegacyEnabled(i))t(!0);else if("disabled"===i.initialNavigation)r.setUpLocationChangeListener(),t(!0);else{if("enabled"!==i.initialNavigation)throw new Error("Invalid initialNavigation options: '".concat(i.initialNavigation,"'"));r.hooks.afterPreactivation=function(){return e.initNavigation?k(null):(e.initNavigation=!0,t(!0),e.resultOfPreactivationDone)},r.initialNavigation()}return n}))}},{key:"bootstrapListener",value:function(e){var t=this.injector.get(ar),n=this.injector.get(ir),r=this.injector.get(or),i=this.injector.get(Yn),o=this.injector.get(c.ApplicationRef);e===o.components[0]&&(this.isLegacyEnabled(t)?i.initialNavigation():this.isLegacyDisabled(t)&&i.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),i.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}},{key:"isLegacyEnabled",value:function(e){return"legacy_enabled"===e.initialNavigation||!0===e.initialNavigation||void 0===e.initialNavigation}},{key:"isLegacyDisabled",value:function(e){return"legacy_disabled"===e.initialNavigation||!1===e.initialNavigation}}]),e}()).\u0275fac=function(e){return new(e||vr)(c["\u0275\u0275inject"](c.Injector))},vr.\u0275prov=c["\u0275\u0275defineInjectable"]({token:vr,factory:vr.\u0275fac}),vr);function yr(e){return e.appInitializer.bind(e)}function br(e){return e.bootstrapListener.bind(e)}var kr=new c.InjectionToken("Router Initializer"),Cr=new c.InjectionToken("REQUEST"),wr=new c.InjectionToken("RESPONSE"),Sr=a(1),_r=a(2),Er=function e(){v(this,e)},Ir=function e(){v(this,e)},xr=function(){function e(t){var n=this;v(this,e),this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?function(){n.headers=new Map,t.split("\n").forEach((function(e){var t=e.indexOf(":");if(t>0){var r=e.slice(0,t),i=r.toLowerCase(),o=e.slice(t+1).trim();n.maybeSetNormalizedName(r,i),n.headers.has(i)?n.headers.get(i).push(o):n.headers.set(i,[o])}}))}:function(){n.headers=new Map,Object.keys(t).forEach((function(e){var r=t[e],i=e.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(n.headers.set(i,r),n.maybeSetNormalizedName(e,i))}))}:this.headers=new Map}return y(e,[{key:"has",value:function(e){return this.init(),this.headers.has(e.toLowerCase())}},{key:"get",value:function(e){this.init();var t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}},{key:"keys",value:function(){return this.init(),Array.from(this.normalizedNames.values())}},{key:"getAll",value:function(e){return this.init(),this.headers.get(e.toLowerCase())||null}},{key:"append",value:function(e,t){return this.clone({name:e,value:t,op:"a"})}},{key:"set",value:function(e,t){return this.clone({name:e,value:t,op:"s"})}},{key:"delete",value:function(e,t){return this.clone({name:e,value:t,op:"d"})}},{key:"maybeSetNormalizedName",value:function(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}},{key:"init",value:function(){var t=this;this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach((function(e){return t.applyUpdate(e)})),this.lazyUpdate=null))}},{key:"copyFrom",value:function(e){var t=this;e.init(),Array.from(e.headers.keys()).forEach((function(n){t.headers.set(n,e.headers.get(n)),t.normalizedNames.set(n,e.normalizedNames.get(n))}))}},{key:"clone",value:function(t){var n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}},{key:"applyUpdate",value:function(e){var t=e.name.toLowerCase();switch(e.op){case"a":case"s":var r=e.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(e.name,t);var i=("a"===e.op?this.headers.get(t):void 0)||[];i.push.apply(i,n(r)),this.headers.set(t,i);break;case"d":var o=e.value;if(o){var a=this.headers.get(t);if(!a)return;0===(a=a.filter((function(e){return-1===o.indexOf(e)}))).length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,a)}else this.headers.delete(t),this.normalizedNames.delete(t)}}},{key:"forEach",value:function(e){var t=this;this.init(),Array.from(this.normalizedNames.keys()).forEach((function(n){return e(t.normalizedNames.get(n),t.headers.get(n))}))}}]),e}(),Or=function(){function e(){v(this,e)}return y(e,[{key:"encodeKey",value:function(e){return Tr(e)}},{key:"encodeValue",value:function(e){return Tr(e)}},{key:"decodeKey",value:function(e){return decodeURIComponent(e)}},{key:"decodeValue",value:function(e){return decodeURIComponent(e)}}]),e}();
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Tr(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}var Ar=function(){function e(){var n=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(v(this,e),this.updates=null,this.cloneFrom=null,this.encoder=r.encoder||new Or,r.fromString){if(r.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(e,n){var r=new Map;return e.length>0&&e.split("&").forEach((function(e){var i=e.indexOf("="),o=t(-1==i?[n.decodeKey(e),""]:[n.decodeKey(e.slice(0,i)),n.decodeValue(e.slice(i+1))],2),a=o[0],s=o[1],c=r.get(a)||[];c.push(s),r.set(a,c)})),r}(r.fromString,this.encoder)}else r.fromObject?(this.map=new Map,Object.keys(r.fromObject).forEach((function(e){var t=r.fromObject[e];n.map.set(e,Array.isArray(t)?t:[t])}))):this.map=null}return y(e,[{key:"has",value:function(e){return this.init(),this.map.has(e)}},{key:"get",value:function(e){this.init();var t=this.map.get(e);return t?t[0]:null}},{key:"getAll",value:function(e){return this.init(),this.map.get(e)||null}},{key:"keys",value:function(){return this.init(),Array.from(this.map.keys())}},{key:"append",value:function(e,t){return this.clone({param:e,value:t,op:"a"})}},{key:"set",value:function(e,t){return this.clone({param:e,value:t,op:"s"})}},{key:"delete",value:function(e,t){return this.clone({param:e,value:t,op:"d"})}},{key:"toString",value:function(){var e=this;return this.init(),this.keys().map((function(t){var n=e.encoder.encodeKey(t);return e.map.get(t).map((function(t){return n+"="+e.encoder.encodeValue(t)})).join("&")})).filter((function(e){return""!==e})).join("&")}},{key:"clone",value:function(t){var n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([t]),n}},{key:"init",value:function(){var e=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach((function(t){return e.map.set(t,e.cloneFrom.map.get(t))})),this.updates.forEach((function(t){switch(t.op){case"a":case"s":var n=("a"===t.op?e.map.get(t.param):void 0)||[];n.push(t.value),e.map.set(t.param,n);break;case"d":if(void 0===t.value){e.map.delete(t.param);break}var r=e.map.get(t.param)||[],i=r.indexOf(t.value);-1!==i&&r.splice(i,1),r.length>0?e.map.set(t.param,r):e.map.delete(t.param)}})),this.cloneFrom=this.updates=null)}}]),e}();
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Pr(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function Dr(e){return"undefined"!=typeof Blob&&e instanceof Blob}function Rr(e){return"undefined"!=typeof FormData&&e instanceof FormData}var Mr=function(){function e(t,n,r,i){var o;if(v(this,e),this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==r?r:null,o=i):o=r,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.params&&(this.params=o.params)),this.headers||(this.headers=new xr),this.params){var a=this.params.toString();if(0===a.length)this.urlWithParams=n;else{var s=n.indexOf("?");this.urlWithParams=n+(-1===s?"?":s<n.length-1?"&":"")+a}}else this.params=new Ar,this.urlWithParams=n}return y(e,[{key:"serializeBody",value:function(){return null===this.body?null:Pr(this.body)||Dr(this.body)||Rr(this.body)||"string"==typeof this.body?this.body:this.body instanceof Ar?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}},{key:"detectContentTypeHeader",value:function(){return null===this.body||Rr(this.body)?null:Dr(this.body)?this.body.type||null:Pr(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Ar?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null}},{key:"clone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.method||this.method,r=t.url||this.url,i=t.responseType||this.responseType,o=void 0!==t.body?t.body:this.body,a=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,s=void 0!==t.reportProgress?t.reportProgress:this.reportProgress,c=t.headers||this.headers,l=t.params||this.params;return void 0!==t.setHeaders&&(c=Object.keys(t.setHeaders).reduce((function(e,n){return e.set(n,t.setHeaders[n])}),c)),t.setParams&&(l=Object.keys(t.setParams).reduce((function(e,n){return e.set(n,t.setParams[n])}),l)),new e(n,r,o,{params:l,headers:c,reportProgress:s,responseType:i,withCredentials:a})}}]),e}(),Nr=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}({}),jr=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"OK";v(this,e),this.headers=t.headers||new xr,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300},Fr=function(e){l(n,e);var t=d(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return v(this,n),(e=t.call(this,r)).type=Nr.ResponseHeader,e}return y(n,[{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}]),n}(jr),Lr=function(e){l(n,e);var t=d(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return v(this,n),(e=t.call(this,r)).type=Nr.Response,e.body=void 0!==r.body?r.body:null,e}return y(n,[{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}]),n}(jr),Vr=function(e){l(n,e);var t=d(n);function n(e){var r;return v(this,n),(r=t.call(this,e,0,"Unknown Error")).name="HttpErrorResponse",r.ok=!1,r.message=r.status>=200&&r.status<300?"Http failure during parsing for "+(e.url||"(unknown url)"):"Http failure response for ".concat(e.url||"(unknown url)",": ").concat(e.status," ").concat(e.statusText),r.error=e.error||null,r}return n}(jr);
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function Br(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}var Ur,Hr,Gr,qr,Kr,zr,Yr,Wr,Zr,Jr=((Ur=function(){function e(t){v(this,e),this.handler=t}return y(e,[{key:"request",value:function(e,t){var n,r=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e instanceof Mr)n=e;else{var o=void 0;o=i.headers instanceof xr?i.headers:new xr(i.headers);var a=void 0;i.params&&(a=i.params instanceof Ar?i.params:new Ar({fromObject:i.params})),n=new Mr(e,t,void 0!==i.body?i.body:null,{headers:o,params:a,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials})}var s=k(n).pipe(ge((function(e){return r.handler.handle(e)})));if(e instanceof Mr||"events"===i.observe)return s;var c=s.pipe(H((function(e){return e instanceof Lr})));switch(i.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return c.pipe(Object(V.a)((function(e){if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body})));case"blob":return c.pipe(Object(V.a)((function(e){if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body})));case"text":return c.pipe(Object(V.a)((function(e){if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body})));case"json":default:return c.pipe(Object(V.a)((function(e){return e.body})))}case"response":return c;default:throw new Error("Unreachable: unhandled observe type ".concat(i.observe,"}"))}}},{key:"delete",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("DELETE",e,t)}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("GET",e,t)}},{key:"head",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("HEAD",e,t)}},{key:"jsonp",value:function(e,t){return this.request("JSONP",e,{params:(new Ar).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}},{key:"options",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("OPTIONS",e,t)}},{key:"patch",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PATCH",e,Br(n,t))}},{key:"post",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("POST",e,Br(n,t))}},{key:"put",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PUT",e,Br(n,t))}}]),e}()).\u0275fac=function(e){return new(e||Ur)(c["\u0275\u0275inject"](Er))},Ur.\u0275prov=c["\u0275\u0275defineInjectable"]({token:Ur,factory:Ur.\u0275fac}),Ur),Qr=function(){function e(t,n){v(this,e),this.next=t,this.interceptor=n}return y(e,[{key:"handle",value:function(e){return this.interceptor.intercept(e,this.next)}}]),e}(),Xr=new c.InjectionToken("HTTP_INTERCEPTORS"),$r=((Hr=function(){function e(){v(this,e)}return y(e,[{key:"intercept",value:function(e,t){return t.handle(e)}}]),e}()).\u0275fac=function(e){return new(e||Hr)},Hr.\u0275prov=c["\u0275\u0275defineInjectable"]({token:Hr,factory:Hr.\u0275fac}),Hr),ei=/^\)\]\}',?\n/,ti=function e(){v(this,e)},ni=((qr=function(){function e(){v(this,e)}return y(e,[{key:"build",value:function(){return new XMLHttpRequest}}]),e}()).\u0275fac=function(e){return new(e||qr)},qr.\u0275prov=c["\u0275\u0275defineInjectable"]({token:qr,factory:qr.\u0275fac}),qr),ri=((Gr=function(){function e(t){v(this,e),this.xhrFactory=t}return y(e,[{key:"handle",value:function(e){var t=this;if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new A.a((function(n){var r=t.xhrFactory.build();if(r.open(e.method,e.urlWithParams),e.withCredentials&&(r.withCredentials=!0),e.headers.forEach((function(e,t){return r.setRequestHeader(e,t.join(","))})),e.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){var i=e.detectContentTypeHeader();null!==i&&r.setRequestHeader("Content-Type",i)}if(e.responseType){var o=e.responseType.toLowerCase();r.responseType="json"!==o?o:"text"}var a=e.serializeBody(),s=null,c=function(){if(null!==s)return s;var t=1223===r.status?204:r.status,n=r.statusText||"OK",i=new xr(r.getAllResponseHeaders()),o=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(r)||e.url;return s=new Fr({headers:i,status:t,statusText:n,url:o})},l=function(){var t=c(),i=t.headers,o=t.status,a=t.statusText,s=t.url,l=null;204!==o&&(l=void 0===r.response?r.responseText:r.response),0===o&&(o=l?200:0);var u=o>=200&&o<300;if("json"===e.responseType&&"string"==typeof l){var d=l;l=l.replace(ei,"");try{l=""!==l?JSON.parse(l):null}catch(h){l=d,u&&(u=!1,l={error:h,text:l})}}u?(n.next(new Lr({body:l,headers:i,status:o,statusText:a,url:s||void 0})),n.complete()):n.error(new Vr({error:l,headers:i,status:o,statusText:a,url:s||void 0}))},u=function(e){var t=c().url,i=new Vr({error:e,status:r.status||0,statusText:r.statusText||"Unknown Error",url:t||void 0});n.error(i)},d=!1,h=function(t){d||(n.next(c()),d=!0);var i={type:Nr.DownloadProgress,loaded:t.loaded};t.lengthComputable&&(i.total=t.total),"text"===e.responseType&&r.responseText&&(i.partialText=r.responseText),n.next(i)},f=function(e){var t={type:Nr.UploadProgress,loaded:e.loaded};e.lengthComputable&&(t.total=e.total),n.next(t)};return r.addEventListener("load",l),r.addEventListener("error",u),e.reportProgress&&(r.addEventListener("progress",h),null!==a&&r.upload&&r.upload.addEventListener("progress",f)),r.send(a),n.next({type:Nr.Sent}),function(){r.removeEventListener("error",u),r.removeEventListener("load",l),e.reportProgress&&(r.removeEventListener("progress",h),null!==a&&r.upload&&r.upload.removeEventListener("progress",f)),r.readyState!==r.DONE&&r.abort()}}))}}]),e}()).\u0275fac=function(e){return new(e||Gr)(c["\u0275\u0275inject"](ti))},Gr.\u0275prov=c["\u0275\u0275defineInjectable"]({token:Gr,factory:Gr.\u0275fac}),Gr),ii=new c.InjectionToken("XSRF_COOKIE_NAME"),oi=new c.InjectionToken("XSRF_HEADER_NAME"),ai=function e(){v(this,e)},si=((Zr=function(){function e(t,n,r){v(this,e),this.doc=t,this.platform=n,this.cookieName=r,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return y(e,[{key:"getToken",value:function(){if("server"===this.platform)return null;var e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(h.D)(e,this.cookieName),this.lastCookieString=e),this.lastToken}}]),e}()).\u0275fac=function(e){return new(e||Zr)(c["\u0275\u0275inject"](h.e),c["\u0275\u0275inject"](c.PLATFORM_ID),c["\u0275\u0275inject"](ii))},Zr.\u0275prov=c["\u0275\u0275defineInjectable"]({token:Zr,factory:Zr.\u0275fac}),Zr),ci=((Wr=function(){function e(t,n){v(this,e),this.tokenService=t,this.headerName=n}return y(e,[{key:"intercept",value:function(e,t){var n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);var r=this.tokenService.getToken();return null===r||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,r)})),t.handle(e)}}]),e}()).\u0275fac=function(e){return new(e||Wr)(c["\u0275\u0275inject"](ai),c["\u0275\u0275inject"](oi))},Wr.\u0275prov=c["\u0275\u0275defineInjectable"]({token:Wr,factory:Wr.\u0275fac}),Wr),li=((Yr=function(){function e(t,n){v(this,e),this.backend=t,this.injector=n,this.chain=null}return y(e,[{key:"handle",value:function(e){if(null===this.chain){var t=this.injector.get(Xr,[]);this.chain=t.reduceRight((function(e,t){return new Qr(e,t)}),this.backend)}return this.chain.handle(e)}}]),e}()).\u0275fac=function(e){return new(e||Yr)(c["\u0275\u0275inject"](Ir),c["\u0275\u0275inject"](c.Injector))},Yr.\u0275prov=c["\u0275\u0275defineInjectable"]({token:Yr,factory:Yr.\u0275fac}),Yr),ui=((zr=function(){function e(){v(this,e)}return y(e,null,[{key:"disable",value:function(){return{ngModule:e,providers:[{provide:ci,useClass:$r}]}}},{key:"withOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[t.cookieName?{provide:ii,useValue:t.cookieName}:[],t.headerName?{provide:oi,useValue:t.headerName}:[]]}}}]),e}()).\u0275mod=c["\u0275\u0275defineNgModule"]({type:zr}),zr.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||zr)},providers:[ci,{provide:Xr,useExisting:ci,multi:!0},{provide:ai,useClass:si},{provide:ii,useValue:"XSRF-TOKEN"},{provide:oi,useValue:"X-XSRF-TOKEN"}]}),zr),di=((Kr=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:Kr}),Kr.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||Kr)},providers:[Jr,{provide:Er,useClass:li},ri,{provide:Ir,useExisting:ri},ni,{provide:ti,useExisting:ni}],imports:[[ui.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),Kr);
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function hi(e){return!!e&&(e instanceof A.a||"function"==typeof e.lift&&"function"==typeof e.subscribe)}var fi,mi=a("cp0P"),pi=function(e){l(n,e);var t=d(n);function n(e,r){var i;return v(this,n),(i=t.call(this,e,r)).scheduler=e,i.work=r,i.pending=!1,i}return y(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=e;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(r,this.id,t),this}},{key:"requestAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return setInterval(e.flush.bind(e,this),n)}},{key:"recycleAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}},{key:"execute",value:function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(e,t){var n=!1,r=void 0;try{this.work(e)}catch(i){n=!0,r=!!i&&i||new Error(i)}if(n)return this.unsubscribe(),r}},{key:"_unsubscribe",value:function(){var e=this.id,t=this.scheduler,n=t.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}]),n}(function(e){l(n,e);var t=d(n);function n(e,r){return v(this,n),t.call(this)}return y(n,[{key:"schedule",value:function(e){return this}}]),n}(_e.a)),vi=function(e){l(n,e);var t=d(n);function n(e,r){var i;return v(this,n),(i=t.call(this,e,r)).scheduler=e,i.work=r,i}return y(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t>0?s(p(n.prototype),"schedule",this).call(this,e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}},{key:"execute",value:function(e,t){return t>0||this.closed?s(p(n.prototype),"execute",this).call(this,e,t):this._execute(e,t)}},{key:"requestAsyncId",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==r&&r>0||null===r&&this.delay>0?s(p(n.prototype),"requestAsyncId",this).call(this,e,t,r):e.flush(this)}}]),n}(pi),gi=function(){var e=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.now;v(this,e),this.SchedulerAction=t,this.now=n}return y(e,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,e).schedule(n,t)}}]),e}();return e.now=function(){return Date.now()},e}(),yi=function(e){l(n,e);var t=d(n);function n(e){var r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:gi.now;return v(this,n),(r=t.call(this,e,(function(){return n.delegate&&n.delegate!==f(r)?n.delegate.now():i()}))).actions=[],r.active=!1,r.scheduled=void 0,r}return y(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2?arguments[2]:void 0;return n.delegate&&n.delegate!==this?n.delegate.schedule(e,t,r):s(p(n.prototype),"schedule",this).call(this,e,t,r)}},{key:"flush",value:function(e){var t=this.actions;if(this.active)t.push(e);else{var n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}}]),n}(gi),bi=new(function(e){l(n,e);var t=d(n);function n(){return v(this,n),t.apply(this,arguments)}return n}(yi))(vi),ki=((fi=function(){function e(t,n,r){v(this,e),this.kind=t,this.value=n,this.error=r,this.hasValue="N"===t}return y(e,[{key:"observe",value:function(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}},{key:"do",value:function(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}}},{key:"accept",value:function(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)}},{key:"toObservable",value:function(){switch(this.kind){case"N":return k(this.value);case"E":return e=this.error,new A.a((function(t){return t.error(e)}));case"C":return F()}var e;throw new Error("unexpected notification kind value")}}],[{key:"createNext",value:function(t){return void 0!==t?new e("N",t):e.undefinedValueNotification}},{key:"createError",value:function(t){return new e("E",void 0,t)}},{key:"createComplete",value:function(){return e.completeNotification}}]),e}()).completeNotification=new fi("C"),fi.undefinedValueNotification=new fi("N",void 0),fi),Ci=function(e){l(n,e);var t=d(n);function n(e,r){var i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return v(this,n),(i=t.call(this,e)).scheduler=r,i.delay=o,i}return y(n,[{key:"scheduleMessage",value:function(e){this.destination.add(this.scheduler.schedule(n.dispatch,this.delay,new wi(e,this.destination)))}},{key:"_next",value:function(e){this.scheduleMessage(ki.createNext(e))}},{key:"_error",value:function(e){this.scheduleMessage(ki.createError(e)),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleMessage(ki.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(e){var t=e.notification,n=e.destination;t.observe(n),this.unsubscribe()}}]),n}(I.a),wi=function e(t,n){v(this,e),this.notification=t,this.destination=n},Si=a("Ylt2"),_i=function(e){l(n,e);var t=d(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY,o=arguments.length>2?arguments[2]:void 0;return v(this,n),(e=t.call(this)).scheduler=o,e._events=[],e._infiniteTimeWindow=!1,e._bufferSize=r<1?1:r,e._windowTime=i<1?1:i,i===Number.POSITIVE_INFINITY?(e._infiniteTimeWindow=!0,e.next=e.nextInfiniteTimeWindow):e.next=e.nextTimeWindow,e}return y(n,[{key:"nextInfiniteTimeWindow",value:function(e){if(!this.isStopped){var t=this._events;t.push(e),t.length>this._bufferSize&&t.shift()}s(p(n.prototype),"next",this).call(this,e)}},{key:"nextTimeWindow",value:function(e){this.isStopped||(this._events.push(new Ei(this._getNow(),e)),this._trimBufferThenGetEvents()),s(p(n.prototype),"next",this).call(this,e)}},{key:"_subscribe",value:function(e){var t,n=this._infiniteTimeWindow,r=n?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,o=r.length;if(this.closed)throw new S.a;if(this.isStopped||this.hasError?t=_e.a.EMPTY:(this.observers.push(e),t=new Si.a(this,e)),i&&e.add(e=new Ci(e,i)),n)for(var a=0;a<o&&!e.closed;a++)e.next(r[a]);else for(var s=0;s<o&&!e.closed;s++)e.next(r[s].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),t}},{key:"_getNow",value:function(){return(this.scheduler||bi).now()}},{key:"_trimBufferThenGetEvents",value:function(){for(var e=this._getNow(),t=this._bufferSize,n=this._windowTime,r=this._events,i=r.length,o=0;o<i&&!(e-r[o].time<n);)o++;return i>t&&(o=Math.max(o,i-t)),o>0&&r.splice(0,o),r}}]),n}(w.a),Ei=function e(t,n){v(this,e),this.time=t,this.value=n};function Ii(e,t,n){var r;return r=e&&"object"==typeof e?e:{bufferSize:e,windowTime:t,refCount:!1,scheduler:n},function(e){return e.lift(function(e){var t,n,r=e.bufferSize,i=void 0===r?Number.POSITIVE_INFINITY:r,o=e.windowTime,a=void 0===o?Number.POSITIVE_INFINITY:o,s=e.refCount,c=e.scheduler,l=0,u=!1,d=!1;return function(e){var r;l++,!t||u?(u=!1,t=new _i(i,a,c),r=t.subscribe(this),n=e.subscribe({next:function(e){t.next(e)},error:function(e){u=!0,t.error(e)},complete:function(){d=!0,n=void 0,t.complete()}}),d&&(n=void 0)):r=t.subscribe(this),this.add((function(){l--,r.unsubscribe(),r=void 0,n&&!d&&s&&0===l&&(n.unsubscribe(),n=void 0,t=void 0)}))}}(r))}}var xi,Oi,Ti=function e(){v(this,e)},Ai=((xi=function(e){l(n,e);var t=d(n);function n(){return v(this,n),t.apply(this,arguments)}return y(n,[{key:"getTranslation",value:function(e){return k({})}}]),n}(Ti)).\u0275fac=function(e){return Pi(e||xi)},xi.\u0275prov=c["\u0275\u0275defineInjectable"]({token:xi,factory:xi.\u0275fac}),xi),Pi=c["\u0275\u0275getInheritedFactory"](Ai),Di=function e(){v(this,e)},Ri=((Oi=function(){function e(){v(this,e)}return y(e,[{key:"handle",value:function(e){return e.key}}]),e}()).\u0275fac=function(e){return new(e||Oi)},Oi.\u0275prov=c["\u0275\u0275defineInjectable"]({token:Oi,factory:Oi.\u0275fac}),Oi);function Mi(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!=e&&t!=t)return!0;var n,r,i,o=typeof e;if(o==typeof t&&"object"==o){if(!Array.isArray(e)){if(Array.isArray(t))return!1;for(r in i=Object.create(null),e){if(!Mi(e[r],t[r]))return!1;i[r]=!0}for(r in t)if(!(r in i)&&void 0!==t[r])return!1;return!0}if(!Array.isArray(t))return!1;if((n=e.length)==t.length){for(r=0;r<n;r++)if(!Mi(e[r],t[r]))return!1;return!0}}return!1}function Ni(e){return null!=e}function ji(e){return e&&"object"==typeof e&&!Array.isArray(e)}var Fi,Li,Vi,Bi,Ui,Hi,Gi=function e(){v(this,e)},qi=((Fi=function(e){l(n,e);var t=d(n);function n(){var e;return v(this,n),(e=t.apply(this,arguments)).templateMatcher=/{{\s?([^{}\s]*)\s?}}/g,e}return y(n,[{key:"interpolate",value:function(e,t){return"string"==typeof e?this.interpolateString(e,t):"function"==typeof e?this.interpolateFunction(e,t):e}},{key:"getValue",value:function(e,t){var n="string"==typeof t?t.split("."):[t];t="";do{t+=n.shift(),!Ni(e)||!Ni(e[t])||"object"!=typeof e[t]&&n.length?n.length?t+=".":e=void 0:(e=e[t],t="")}while(n.length);return e}},{key:"interpolateFunction",value:function(e,t){return e(t)}},{key:"interpolateString",value:function(e,t){var n=this;return t?e.replace(this.templateMatcher,(function(e,r){var i=n.getValue(t,r);return Ni(i)?i:e})):e}}]),n}(Gi)).\u0275fac=function(e){return Ki(e||Fi)},Fi.\u0275prov=c["\u0275\u0275defineInjectable"]({token:Fi,factory:Fi.\u0275fac}),Fi),Ki=c["\u0275\u0275getInheritedFactory"](qi),zi=function e(){v(this,e)},Yi=((Li=function(e){l(n,e);var t=d(n);function n(){return v(this,n),t.apply(this,arguments)}return y(n,[{key:"compile",value:function(e,t){return e}},{key:"compileTranslations",value:function(e,t){return e}}]),n}(zi)).\u0275fac=function(e){return Wi(e||Li)},Li.\u0275prov=c["\u0275\u0275defineInjectable"]({token:Li,factory:Li.\u0275fac}),Li),Wi=c["\u0275\u0275getInheritedFactory"](Yi),Zi=function e(){v(this,e),this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new c.EventEmitter,this.onLangChange=new c.EventEmitter,this.onDefaultLangChange=new c.EventEmitter},Ji=new c.InjectionToken("USE_STORE"),Qi=new c.InjectionToken("USE_DEFAULT_LANG"),Xi=new c.InjectionToken("DEFAULT_LANGUAGE"),$i=new c.InjectionToken("USE_EXTEND"),eo=((Ui=function(){function t(e,n,r,i,o){var a=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],s=arguments.length>6&&void 0!==arguments[6]&&arguments[6],l=arguments.length>7&&void 0!==arguments[7]&&arguments[7],u=arguments.length>8?arguments[8]:void 0;v(this,t),this.store=e,this.currentLoader=n,this.compiler=r,this.parser=i,this.missingTranslationHandler=o,this.useDefaultLang=a,this.isolate=s,this.extend=l,this.pending=!1,this._onTranslationChange=new c.EventEmitter,this._onLangChange=new c.EventEmitter,this._onDefaultLangChange=new c.EventEmitter,this._langs=[],this._translations={},this._translationRequests={},u&&this.setDefaultLang(u)}return y(t,[{key:"onTranslationChange",get:function(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}},{key:"onLangChange",get:function(){return this.isolate?this._onLangChange:this.store.onLangChange}},{key:"onDefaultLangChange",get:function(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}},{key:"defaultLang",get:function(){return this.isolate?this._defaultLang:this.store.defaultLang},set:function(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}},{key:"currentLang",get:function(){return this.isolate?this._currentLang:this.store.currentLang},set:function(e){this.isolate?this._currentLang=e:this.store.currentLang=e}},{key:"langs",get:function(){return this.isolate?this._langs:this.store.langs},set:function(e){this.isolate?this._langs=e:this.store.langs=e}},{key:"translations",get:function(){return this.isolate?this._translations:this.store.translations},set:function(e){this.isolate?this._translations=e:this.store.translations=e}},{key:"setDefaultLang",value:function(e){var t=this;if(e!==this.defaultLang){var n=this.retrieveTranslations(e);void 0!==n?(null==this.defaultLang&&(this.defaultLang=e),n.pipe(se(1)).subscribe((function(n){t.changeDefaultLang(e)}))):this.changeDefaultLang(e)}}},{key:"getDefaultLang",value:function(){return this.defaultLang}},{key:"use",value:function(e){var t=this;if(e===this.currentLang)return k(this.translations[e]);var n=this.retrieveTranslations(e);return void 0!==n?(this.currentLang||(this.currentLang=e),n.pipe(se(1)).subscribe((function(n){t.changeLang(e)})),n):(this.changeLang(e),k(this.translations[e]))}},{key:"retrieveTranslations",value:function(e){var t;return(void 0===this.translations[e]||this.extend)&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),t=this._translationRequests[e]),t}},{key:"getTranslation",value:function(e){var t=this;this.pending=!0;var n=this.currentLoader.getTranslation(e).pipe(Ii(1),se(1));return this.loadingTranslations=n.pipe(Object(V.a)((function(n){return t.compiler.compileTranslations(n,e)})),Ii(1),se(1)),this.loadingTranslations.subscribe({next:function(n){t.translations[e]=t.extend&&t.translations[e]?Object.assign(Object.assign({},n),t.translations[e]):n,t.updateLangs(),t.pending=!1},error:function(e){t.pending=!1}}),n}},{key:"setTranslation",value:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];n=this.compiler.compileTranslations(n,t),this.translations[t]=(r||this.extend)&&this.translations[t]?function t(n,r){var i=Object.assign({},n);return ji(n)&&ji(r)&&Object.keys(r).forEach((function(o){ji(r[o])&&o in n?i[o]=t(n[o],r[o]):Object.assign(i,e({},o,r[o]))})),i}(this.translations[t],n):n,this.updateLangs(),this.onTranslationChange.emit({lang:t,translations:this.translations[t]})}},{key:"getLangs",value:function(){return this.langs}},{key:"addLangs",value:function(e){var t=this;e.forEach((function(e){-1===t.langs.indexOf(e)&&t.langs.push(e)}))}},{key:"updateLangs",value:function(){this.addLangs(Object.keys(this.translations))}},{key:"getParsedResult",value:function(e,t,n){var i;if(t instanceof Array){var o,a={},s=!1,c=r(t);try{for(c.s();!(o=c.n()).done;){var l=o.value;a[l]=this.getParsedResult(e,l,n),hi(a[l])&&(s=!0)}}catch(h){c.e(h)}finally{c.f()}if(s){var u=t.map((function(e){return hi(a[e])?a[e]:k(a[e])}));return Object(mi.a)(u).pipe(Object(V.a)((function(e){var n={};return e.forEach((function(e,r){n[t[r]]=e})),n})))}return a}if(e&&(i=this.parser.interpolate(this.parser.getValue(e,t),n)),void 0===i&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(i=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],t),n)),void 0===i){var d={key:t,translateService:this};void 0!==n&&(d.interpolateParams=n),i=this.missingTranslationHandler.handle(d)}return void 0!==i?i:t}},{key:"get",value:function(e,t){var n=this;if(!Ni(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(ge((function(r){return hi(r=n.getParsedResult(r,e,t))?r:k(r)})));var r=this.getParsedResult(this.translations[this.currentLang],e,t);return hi(r)?r:k(r)}},{key:"getStreamOnTranslationChange",value:function(e,t){var n=this;if(!Ni(e)||!e.length)throw new Error('Parameter "key" required');return ue(L((function(){return n.get(e,t)})),this.onTranslationChange.pipe(ie((function(r){var i=n.getParsedResult(r.translations,e,t);return"function"==typeof i.subscribe?i:k(i)}))))}},{key:"stream",value:function(e,t){var n=this;if(!Ni(e)||!e.length)throw new Error('Parameter "key" required');return ue(L((function(){return n.get(e,t)})),this.onLangChange.pipe(ie((function(r){var i=n.getParsedResult(r.translations,e,t);return hi(i)?i:k(i)}))))}},{key:"instant",value:function(e,t){if(!Ni(e)||!e.length)throw new Error('Parameter "key" required');var n=this.getParsedResult(this.translations[this.currentLang],e,t);if(hi(n)){if(e instanceof Array){var r={};return e.forEach((function(t,n){r[e[n]]=e[n]})),r}return e}return n}},{key:"set",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.currentLang;this.translations[n][e]=this.compiler.compile(t,n),this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}},{key:"changeLang",value:function(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),null==this.defaultLang&&this.changeDefaultLang(e)}},{key:"changeDefaultLang",value:function(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}},{key:"reloadLang",value:function(e){return this.resetLang(e),this.getTranslation(e)}},{key:"resetLang",value:function(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}},{key:"getBrowserLang",value:function(){if("undefined"!=typeof window&&void 0!==window.navigator){var e=window.navigator.languages?window.navigator.languages[0]:null;return void 0!==(e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage)?(-1!==e.indexOf("-")&&(e=e.split("-")[0]),-1!==e.indexOf("_")&&(e=e.split("_")[0]),e):void 0}}},{key:"getBrowserCultureLang",value:function(){if("undefined"!=typeof window&&void 0!==window.navigator){var e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}}}]),t}()).\u0275fac=function(e){return new(e||Ui)(c["\u0275\u0275inject"](Zi),c["\u0275\u0275inject"](Ti),c["\u0275\u0275inject"](zi),c["\u0275\u0275inject"](Gi),c["\u0275\u0275inject"](Di),c["\u0275\u0275inject"](Qi),c["\u0275\u0275inject"](Ji),c["\u0275\u0275inject"]($i),c["\u0275\u0275inject"](Xi))},Ui.\u0275prov=c["\u0275\u0275defineInjectable"]({token:Ui,factory:Ui.\u0275fac}),Ui),to=((Bi=function(){function e(t,n){v(this,e),this.translate=t,this._ref=n,this.value=""}return y(e,[{key:"updateValue",value:function(e,t,n){var r=this,i=function(t){r.value=void 0!==t?t:e,r.lastKey=e,r._ref.markForCheck()};if(n){var o=this.translate.getParsedResult(n,e,t);hi(o.subscribe)?o.subscribe(i):i(o)}this.translate.get(e,t).subscribe(i)}},{key:"transform",value:function(e){var t,n=this;if(!e||!e.length)return e;for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];if(Mi(e,this.lastKey)&&Mi(i,this.lastParams))return this.value;if(Ni(i[0])&&i.length)if("string"==typeof i[0]&&i[0].length){var a=i[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{t=JSON.parse(a)}catch(s){throw new SyntaxError("Wrong parameter in TranslatePipe. Expected a valid Object, received: "+i[0])}}else"object"!=typeof i[0]||Array.isArray(i[0])||(t=i[0]);return this.lastKey=e,this.lastParams=i,this.updateValue(e,t),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe((function(r){n.lastKey&&r.lang===n.translate.currentLang&&(n.lastKey=null,n.updateValue(e,t,r.translations))}))),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe((function(r){n.lastKey&&(n.lastKey=null,n.updateValue(e,t,r.translations))}))),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe((function(){n.lastKey&&(n.lastKey=null,n.updateValue(e,t))}))),this.value}},{key:"_dispose",value:function(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}},{key:"ngOnDestroy",value:function(){this._dispose()}}]),e}()).\u0275fac=function(e){return new(e||Bi)(c["\u0275\u0275directiveInject"](eo),c["\u0275\u0275injectPipeChangeDetectorRef"]())},Bi.\u0275pipe=c["\u0275\u0275definePipe"]({name:"translate",type:Bi,pure:!1}),Bi.\u0275prov=c["\u0275\u0275defineInjectable"]({token:Bi,factory:Bi.\u0275fac}),Bi),no=((Vi=function(){function e(){v(this,e)}return y(e,null,[{key:"forRoot",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[t.loader||{provide:Ti,useClass:Ai},t.compiler||{provide:zi,useClass:Yi},t.parser||{provide:Gi,useClass:qi},t.missingTranslationHandler||{provide:Di,useClass:Ri},Zi,{provide:Ji,useValue:t.isolate},{provide:Qi,useValue:t.useDefaultLang},{provide:$i,useValue:t.extend},{provide:Xi,useValue:t.defaultLanguage},eo]}}},{key:"forChild",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[t.loader||{provide:Ti,useClass:Ai},t.compiler||{provide:zi,useClass:Yi},t.parser||{provide:Gi,useClass:qi},t.missingTranslationHandler||{provide:Di,useClass:Ri},{provide:Ji,useValue:t.isolate},{provide:Qi,useValue:t.useDefaultLang},{provide:$i,useValue:t.extend},{provide:Xi,useValue:t.defaultLanguage},eo]}}}]),e}()).\u0275mod=c["\u0275\u0275defineNgModule"]({type:Vi}),Vi.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||Vi)}}),Vi),ro=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(t){o(t)}}function s(e){try{c(r.throw(e))}catch(t){o(t)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},io=Object(u.makeStateKey)("language"),oo=((Hi=function(){function e(t,n,r,i,o){v(this,e),this.http=t,this.request=r,this.transferState=i,this.translate=o,e.isServer=Object(h.z)(n)}return y(e,[{key:"load",value:function(){return ro(this,void 0,void 0,regeneratorRuntime.mark((function t(){var n,r,i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=Object(u.makeStateKey)("app-config"),!e.isServer){t.next=6;break}i=Object(_r.join)(process.cwd(),"dist","career-portal","browser"),n=JSON.parse(Sr.readFileSync(Object(_r.join)(i,"app.json"),"utf8")),this.transferState.set(r,n),t.next=13;break;case 6:if(n=this.transferState.get(r,null),t.t0=n,t.t0){t.next=12;break}return t.next=11,this.http.get("./app.json").toPromise();case 11:n=t.sent;case 12:this.http.get("./app.json").toPromise();case 13:return t.next=15,this.setConfig(n);case 15:e.loaded=!0;case 16:case"end":return t.stop()}}),t,this)})))}},{key:"setConfig",value:function(t){return ro(this,void 0,void 0,regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(e.settings=t,["service","additionalJobCriteria","integrations","eeoc","privacyConsent"].forEach((function(t){e.settings[t]||(e.settings[t]={})})),e.settings.service.fields&&0!==e.settings.service.fields.length||(e.settings.service.fields=["id","title","publishedCategory(id,name)","address(city,state,countryName)","employmentType","dateLastPublished","publicDescription","isOpen","isPublic","isDeleted","publishedZip","salary","salaryUnit"]),e.settings.service.jobInfoChips||(e.settings.service.jobInfoChips=["employmentType",{type:"mediumDate",field:"dateLastPublished"}]),e.settings.service.keywordSearchFields&&0!==e.settings.service.keywordSearchFields.length||(e.settings.service.keywordSearchFields=["publicDescription","title"]),e.settings.service.corpToken&&!/[^A-Za-z0-9]/.test(e.settings.service.corpToken)){n.next=2;break}throw new Error("Invalid Corp Token");case 2:if(e.settings.service.swimlane){n.next=4;break}throw new Error("Invalid Swimlane");case 4:return n.next=6,this.translate.use(this.getPreferredLanguage()).toPromise();case 6:e.isServer||(e.isIos=!!navigator.userAgent&&/iPad|iPhone|iPod/.test(navigator.userAgent));case 7:case"end":return n.stop()}}),n,this)})))}},{key:"getPreferredLanguage",value:function(){var t=e.settings.defaultLocale;return e.isServer?((t=this.request.acceptsLanguages(e.settings.supportedLocales||[]))||(t=e.settings.defaultLocale),this.transferState.set(io,t)):((t=localStorage.getItem("preferredLanguage")||this.transferState.get(io,void 0))||(t=e.settings.supportedLocales.filter((function(e){return navigator.language===e}))[0]),t||(t=e.settings.defaultLocale)),t}}]),e}()).loaded=!1,Hi.\u0275fac=function(e){return new(e||Hi)(c["\u0275\u0275inject"](Jr),c["\u0275\u0275inject"](c.PLATFORM_ID),c["\u0275\u0275inject"](Cr,8),c["\u0275\u0275inject"](u.TransferState),c["\u0275\u0275inject"](eo))},Hi.\u0275prov=c["\u0275\u0275defineInjectable"]({token:Hi,factory:Hi.\u0275fac}),Hi);
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function ao(e){return null!=e&&""+e!="false"}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function so(e){return Array.isArray(e)?e:[e]}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function co(e){return null==e?"":"string"==typeof e?e:e+"px"}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function lo(e){return e instanceof c.ElementRef?e.nativeElement:e}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function uo(e,t,r,i){return Object(ke.a)(r)&&(i=r,r=void 0),i?uo(e,t,r).pipe(Object(V.a)((function(e){return Object(E.a)(e)?i.apply(void 0,n(e)):i(e)}))):new A.a((function(n){!function e(t,n,r,i,o){var a;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(t)){var s=t;t.addEventListener(n,r,o),a=function(){return s.removeEventListener(n,r,o)}}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(t)){var c=t;t.on(n,r),a=function(){return c.off(n,r)}}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(t)){var l=t;t.addListener(n,r),a=function(){return l.removeListener(n,r)}}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(var u=0,d=t.length;u<d;u++)e(t[u],n,r,i,o)}i.add(a)}(e,t,(function(e){n.next(arguments.length>1?Array.prototype.slice.call(arguments):e)}),n,r)}))}function ho(e,t){return function(n){return n.lift(new fo(e,t))}}var fo=function(){function e(t,n){v(this,e),this.compare=t,this.keySelector=n}return y(e,[{key:"call",value:function(e,t){return t.subscribe(new mo(e,this.compare,this.keySelector))}}]),e}(),mo=function(e){l(n,e);var t=d(n);function n(e,r,i){var o;return v(this,n),(o=t.call(this,e)).keySelector=i,o.hasKey=!1,"function"==typeof r&&(o.compare=r),o}return y(n,[{key:"compare",value:function(e,t){return e===t}},{key:"_next",value:function(e){var t;try{var n=this.keySelector;t=n?n(e):e}catch(i){return this.destination.error(i)}var r=!1;if(this.hasKey)try{r=(0,this.compare)(this.key,t)}catch(i){return this.destination.error(i)}else this.hasKey=!0;r||(this.key=t,this.destination.next(e))}}]),n}(I.a),po=new yi(pi),vo=function(){function e(t){v(this,e),this.durationSelector=t}return y(e,[{key:"call",value:function(e,t){return t.subscribe(new go(e,this.durationSelector))}}]),e}(),go=function(e){l(n,e);var t=d(n);function n(e,r){var i;return v(this,n),(i=t.call(this,e)).durationSelector=r,i.hasValue=!1,i}return y(n,[{key:"_next",value:function(e){if(this.value=e,this.hasValue=!0,!this.throttled){var t;try{t=(0,this.durationSelector)(e)}catch(r){return this.destination.error(r)}var n=Object(re.c)(t,new re.a(this));!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}}},{key:"clearThrottle",value:function(){var e=this.value,t=this.hasValue,n=this.throttled;n&&(this.remove(n),this.throttled=void 0,n.unsubscribe()),t&&(this.value=void 0,this.hasValue=!1,this.destination.next(e))}},{key:"notifyNext",value:function(){this.clearThrottle()}},{key:"notifyComplete",value:function(){this.clearThrottle()}}]),n}(re.b);function yo(e){return!Object(E.a)(e)&&e-parseFloat(e)+1>=0}function bo(e){var t=e.index,n=e.period,r=e.subscriber;if(r.next(t),!r.closed){if(-1===n)return r.complete();e.index=t+1,this.schedule(e,n)}}function ko(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:po;return t=function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=-1;return yo(t)?r=Number(t)<1?1:Number(t):Object(m.a)(t)&&(n=t),Object(m.a)(n)||(n=po),new A.a((function(t){var i=yo(e)?e:+e-n.now();return n.schedule(bo,i,{index:0,period:r,subscriber:t})}))}(e,n)},function(e){return e.lift(new vo(t))}}var Co,wo=function(){function e(t){v(this,e),this.notifier=t}return y(e,[{key:"call",value:function(e,t){var n=new So(e),r=Object(re.c)(this.notifier,new re.a(n));return r&&!n.seenValue?(n.add(r),t.subscribe(n)):n}}]),e}(),So=function(e){l(n,e);var t=d(n);function n(e){var r;return v(this,n),(r=t.call(this,e)).seenValue=!1,r}return y(n,[{key:"notifyNext",value:function(){this.seenValue=!0,this.complete()}},{key:"notifyComplete",value:function(){}}]),n}(re.b);try{Co="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(Vy){Co=!1}var _o,Eo,Io,xo,Oo=((xo=function e(t){v(this,e),this._platformId=t,this.isBrowser=this._platformId?Object(h.y)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!Co)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}).\u0275fac=function(e){return new(e||xo)(c["\u0275\u0275inject"](c.PLATFORM_ID))},xo.\u0275prov=Object(c["\u0275\u0275defineInjectable"])({factory:function(){return new xo(Object(c["\u0275\u0275inject"])(c.PLATFORM_ID))},token:xo,providedIn:"root"}),xo),To=((Io=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:Io}),Io.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||Io)}}),Io);
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
var Ao,Po,Do,Ro,Mo,No,jo,Fo=new c.InjectionToken("cdk-dir-doc",{providedIn:"root",factory:function(){return Object(c.inject)(h.e)}}),Lo=((No=function(){function e(t){if(v(this,e),this.value="ltr",this.change=new c.EventEmitter,t){var n=t.documentElement?t.documentElement.dir:null,r=(t.body?t.body.dir:null)||n;this.value="ltr"===r||"rtl"===r?r:"ltr"}}return y(e,[{key:"ngOnDestroy",value:function(){this.change.complete()}}]),e}()).\u0275fac=function(e){return new(e||No)(c["\u0275\u0275inject"](Fo,8))},No.\u0275prov=Object(c["\u0275\u0275defineInjectable"])({factory:function(){return new No(Object(c["\u0275\u0275inject"])(Fo,8))},token:No,providedIn:"root"}),No),Vo=((Mo=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:Mo}),Mo.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||Mo)}}),Mo),Bo=((Ro=function(){function e(t,n,r){v(this,e),this._ngZone=t,this._platform=n,this._scrolled=new w.a,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}return y(e,[{key:"register",value:function(e){var t=this;this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe((function(){return t._scrolled.next(e)})))}},{key:"deregister",value:function(e){var t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}},{key:"scrolled",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return this._platform.isBrowser?new A.a((function(n){e._globalSubscription||e._addGlobalListener();var r=t>0?e._scrolled.pipe(ko(t)).subscribe(n):e._scrolled.subscribe(n);return e._scrolledCount++,function(){r.unsubscribe(),e._scrolledCount--,e._scrolledCount||e._removeGlobalListener()}})):k()}},{key:"ngOnDestroy",value:function(){var e=this;this._removeGlobalListener(),this.scrollContainers.forEach((function(t,n){return e.deregister(n)})),this._scrolled.complete()}},{key:"ancestorScrolled",value:function(e,t){var n=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(H((function(e){return!e||n.indexOf(e)>-1})))}},{key:"getAncestorScrollContainers",value:function(e){var t=this,n=[];return this.scrollContainers.forEach((function(r,i){t._scrollableContainsElement(i,e)&&n.push(i)})),n}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_scrollableContainsElement",value:function(e,t){var n=t.nativeElement,r=e.getElementRef().nativeElement;do{if(n==r)return!0}while(n=n.parentElement);return!1}},{key:"_addGlobalListener",value:function(){var e=this;this._globalSubscription=this._ngZone.runOutsideAngular((function(){return uo(e._getWindow().document,"scroll").subscribe((function(){return e._scrolled.next()}))}))}},{key:"_removeGlobalListener",value:function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}]),e}()).\u0275fac=function(e){return new(e||Ro)(c["\u0275\u0275inject"](c.NgZone),c["\u0275\u0275inject"](Oo),c["\u0275\u0275inject"](h.e,8))},Ro.\u0275prov=Object(c["\u0275\u0275defineInjectable"])({factory:function(){return new Ro(Object(c["\u0275\u0275inject"])(c.NgZone),Object(c["\u0275\u0275inject"])(Oo),Object(c["\u0275\u0275inject"])(h.e,8))},token:Ro,providedIn:"root"}),Ro),Uo=((Do=function(){function e(t,n,r){var i=this;v(this,e),this._platform=t,this._change=new w.a,this._changeListener=function(e){i._change.next(e)},this._document=r,n.runOutsideAngular((function(){if(t.isBrowser){var e=i._getWindow();e.addEventListener("resize",i._changeListener),e.addEventListener("orientationchange",i._changeListener)}i.change().subscribe((function(){return i._updateViewportSize()}))}))}return y(e,[{key:"ngOnDestroy",value:function(){if(this._platform.isBrowser){var e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}},{key:"getViewportSize",value:function(){this._viewportSize||this._updateViewportSize();var e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}},{key:"getViewportRect",value:function(){var e=this.getViewportScrollPosition(),t=this.getViewportSize(),n=t.width,r=t.height;return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+n,height:r,width:n}}},{key:"getViewportScrollPosition",value:function(){if(!this._platform.isBrowser)return{top:0,left:0};var e=this._getDocument(),t=this._getWindow(),n=e.documentElement,r=n.getBoundingClientRect();return{top:-r.top||e.body.scrollTop||t.scrollY||n.scrollTop||0,left:-r.left||e.body.scrollLeft||t.scrollX||n.scrollLeft||0}}},{key:"change",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return e>0?this._change.pipe(ko(e)):this._change}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_updateViewportSize",value:function(){var e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}]),e}()).\u0275fac=function(e){return new(e||Do)(c["\u0275\u0275inject"](Oo),c["\u0275\u0275inject"](c.NgZone),c["\u0275\u0275inject"](h.e,8))},Do.\u0275prov=Object(c["\u0275\u0275defineInjectable"])({factory:function(){return new Do(Object(c["\u0275\u0275inject"])(Oo),Object(c["\u0275\u0275inject"])(c.NgZone),Object(c["\u0275\u0275inject"])(h.e,8))},token:Do,providedIn:"root"}),Do),Ho=((Po=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:Po}),Po.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||Po)}}),Po),Go=((Ao=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:Ao}),Ao.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||Ao)},imports:[[Vo,To,Ho],Vo,Ho]}),Ao),qo=function(){function e(){v(this,e)}return y(e,[{key:"attach",value:function(e){return this._attachedHost=e,e.attach(this)}},{key:"detach",value:function(){var e=this._attachedHost;null!=e&&(this._attachedHost=null,e.detach())}},{key:"isAttached",get:function(){return null!=this._attachedHost}},{key:"setAttachedHost",value:function(e){this._attachedHost=e}}]),e}(),Ko=function(e){l(n,e);var t=d(n);function n(e,r,i,o){var a;return v(this,n),(a=t.call(this)).component=e,a.viewContainerRef=r,a.injector=i,a.componentFactoryResolver=o,a}return n}(qo),zo=function(e){l(n,e);var t=d(n);function n(e,r,i){var o;return v(this,n),(o=t.call(this)).templateRef=e,o.viewContainerRef=r,o.context=i,o}return y(n,[{key:"origin",get:function(){return this.templateRef.elementRef}},{key:"attach",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.context;return this.context=t,s(p(n.prototype),"attach",this).call(this,e)}},{key:"detach",value:function(){return this.context=void 0,s(p(n.prototype),"detach",this).call(this)}}]),n}(qo),Yo=function(e){l(n,e);var t=d(n);function n(e){var r;return v(this,n),(r=t.call(this)).element=e instanceof c.ElementRef?e.nativeElement:e,r}return n}(qo),Wo=function(e){l(n,e);var t=d(n);function n(e,r,i,o,a){var c,l;return v(this,n),(l=t.call(this)).outletElement=e,l._componentFactoryResolver=r,l._appRef=i,l._defaultInjector=o,l.attachDomPortal=function(e){var t=e.element,r=l._document.createComment("dom-portal");t.parentNode.insertBefore(r,t),l.outletElement.appendChild(t),s((c=f(l),p(n.prototype)),"setDisposeFn",c).call(c,(function(){r.parentNode&&r.parentNode.replaceChild(t,r)}))},l._document=a,l}return y(n,[{key:"attachComponentPortal",value:function(e){var t,n=this,r=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);return e.viewContainerRef?(t=e.viewContainerRef.createComponent(r,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector),this.setDisposeFn((function(){return t.destroy()}))):(t=r.create(e.injector||this._defaultInjector),this._appRef.attachView(t.hostView),this.setDisposeFn((function(){n._appRef.detachView(t.hostView),t.destroy()}))),this.outletElement.appendChild(this._getComponentRootNode(t)),t}},{key:"attachTemplatePortal",value:function(e){var t=this,n=e.viewContainerRef,r=n.createEmbeddedView(e.templateRef,e.context);return r.rootNodes.forEach((function(e){return t.outletElement.appendChild(e)})),r.detectChanges(),this.setDisposeFn((function(){var e=n.indexOf(r);-1!==e&&n.remove(e)})),r}},{key:"dispose",value:function(){s(p(n.prototype),"dispose",this).call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}},{key:"_getComponentRootNode",value:function(e){return e.hostView.rootNodes[0]}}]),n}(function(){function e(){v(this,e),this._isDisposed=!1,this.attachDomPortal=null}return y(e,[{key:"hasAttached",value:function(){return!!this._attachedPortal}},{key:"attach",value:function(e){return e instanceof Ko?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof zo?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof Yo?(this._attachedPortal=e,this.attachDomPortal(e)):void 0}},{key:"detach",value:function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}},{key:"dispose",value:function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}},{key:"setDisposeFn",value:function(e){this._disposeFn=e}},{key:"_invokeDisposeFn",value:function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}]),e}()),Zo=((jo=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:jo}),jo.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||jo)}}),jo),Jo=a("VRyK"),Qo=function(){function e(t,n){v(this,e),this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=n}return y(e,[{key:"attach",value:function(){}},{key:"enable",value:function(){if(this._canBeEnabled()){var e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=co(-this._previousScrollPosition.left),e.style.top=co(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}},{key:"disable",value:function(){if(this._isEnabled){var e=this._document.documentElement,t=e.style,n=this._document.body.style,r=t.scrollBehavior||"",i=n.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),t.scrollBehavior=n.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),t.scrollBehavior=r,n.scrollBehavior=i}}},{key:"_canBeEnabled",value:function(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}}]),e}(),Xo=function(){function e(t,n,r,i){var o=this;v(this,e),this._scrollDispatcher=t,this._ngZone=n,this._viewportRuler=r,this._config=i,this._scrollSubscription=null,this._detach=function(){o.disable(),o._overlayRef.hasAttached()&&o._ngZone.run((function(){return o._overlayRef.detach()}))}}return y(e,[{key:"attach",value:function(e){this._overlayRef=e}},{key:"enable",value:function(){var e=this;if(!this._scrollSubscription){var t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe((function(){var t=e._viewportRuler.getViewportScrollPosition().top;Math.abs(t-e._initialScrollPosition)>e._config.threshold?e._detach():e._overlayRef.updatePosition()}))):this._scrollSubscription=t.subscribe(this._detach)}}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),e}(),$o=function(){function e(){v(this,e)}return y(e,[{key:"enable",value:function(){}},{key:"disable",value:function(){}},{key:"attach",value:function(){}}]),e}();
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function ea(e,t){return t.some((function(t){return e.bottom<t.top||e.top>t.bottom||e.right<t.left||e.left>t.right}))}function ta(e,t){return t.some((function(t){return e.top<t.top||e.bottom>t.bottom||e.left<t.left||e.right>t.right}))}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var na,ra,ia,oa,aa,sa=function(){function e(t,n,r,i){v(this,e),this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=r,this._config=i,this._scrollSubscription=null}return y(e,[{key:"attach",value:function(e){this._overlayRef=e}},{key:"enable",value:function(){var e=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe((function(){if(e._overlayRef.updatePosition(),e._config&&e._config.autoClose){var t=e._overlayRef.overlayElement.getBoundingClientRect(),n=e._viewportRuler.getViewportSize(),r=n.width,i=n.height;ea(t,[{width:r,height:i,bottom:i,right:r,top:0,left:0}])&&(e.disable(),e._ngZone.run((function(){return e._overlayRef.detach()})))}})))}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),e}(),ca=((na=function e(t,n,r,i){var o=this;v(this,e),this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=r,this.noop=function(){return new $o},this.close=function(e){return new Xo(o._scrollDispatcher,o._ngZone,o._viewportRuler,e)},this.block=function(){return new Qo(o._viewportRuler,o._document)},this.reposition=function(e){return new sa(o._scrollDispatcher,o._viewportRuler,o._ngZone,e)},this._document=i}).\u0275fac=function(e){return new(e||na)(c["\u0275\u0275inject"](Bo),c["\u0275\u0275inject"](Uo),c["\u0275\u0275inject"](c.NgZone),c["\u0275\u0275inject"](h.e))},na.\u0275prov=Object(c["\u0275\u0275defineInjectable"])({factory:function(){return new na(Object(c["\u0275\u0275inject"])(Bo),Object(c["\u0275\u0275inject"])(Uo),Object(c["\u0275\u0275inject"])(c.NgZone),Object(c["\u0275\u0275inject"])(h.e))},token:na,providedIn:"root"}),na),la=function e(t){if(v(this,e),this.scrollStrategy=new $o,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t)for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];void 0!==t[i]&&(this[i]=t[i])}},ua=function e(t,n,r,i,o){v(this,e),this.offsetX=r,this.offsetY=i,this.panelClass=o,this.originX=t.originX,this.originY=t.originY,this.overlayX=n.overlayX,this.overlayY=n.overlayY},da=function e(t,n){v(this,e),this.connectionPair=t,this.scrollableViewProperties=n},ha=((oa=function(){function e(t){v(this,e),this._attachedOverlays=[],this._document=t}return y(e,[{key:"ngOnDestroy",value:function(){this.detach()}},{key:"add",value:function(e){this.remove(e),this._attachedOverlays.push(e)}},{key:"remove",value:function(e){var t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this.detach()}}]),e}()).\u0275fac=function(e){return new(e||oa)(c["\u0275\u0275inject"](h.e))},oa.\u0275prov=Object(c["\u0275\u0275defineInjectable"])({factory:function(){return new oa(Object(c["\u0275\u0275inject"])(h.e))},token:oa,providedIn:"root"}),oa),fa=((ia=function(e){l(n,e);var t=d(n);function n(e){var r;return v(this,n),(r=t.call(this,e))._keydownListener=function(e){for(var t=r._attachedOverlays,n=t.length-1;n>-1;n--)if(t[n]._keydownEvents.observers.length>0){t[n]._keydownEvents.next(e);break}},r}return y(n,[{key:"add",value:function(e){s(p(n.prototype),"add",this).call(this,e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}},{key:"detach",value:function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}]),n}(ha)).\u0275fac=function(e){return new(e||ia)(c["\u0275\u0275inject"](h.e))},ia.\u0275prov=Object(c["\u0275\u0275defineInjectable"])({factory:function(){return new ia(Object(c["\u0275\u0275inject"])(h.e))},token:ia,providedIn:"root"}),ia),ma=((ra=function(e){l(n,e);var t=d(n);function n(e,r){var i;return v(this,n),(i=t.call(this,e))._platform=r,i._cursorStyleIsSet=!1,i._clickListener=function(e){for(var t=e.composedPath?e.composedPath()[0]:e.target,n=i._attachedOverlays.slice(),r=n.length-1;r>-1;r--){var o=n[r];if(!(o._outsidePointerEvents.observers.length<1)&&o.hasAttached()){if(o.overlayElement.contains(t))break;o._outsidePointerEvents.next(e)}}},i}return y(n,[{key:"add",value:function(e){s(p(n.prototype),"add",this).call(this,e),this._isAttached||(this._document.body.addEventListener("click",this._clickListener,!0),this._document.body.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=this._document.body.style.cursor,this._document.body.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0)}},{key:"detach",value:function(){this._isAttached&&(this._document.body.removeEventListener("click",this._clickListener,!0),this._document.body.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}}]),n}(ha)).\u0275fac=function(e){return new(e||ra)(c["\u0275\u0275inject"](h.e),c["\u0275\u0275inject"](Oo))},ra.\u0275prov=Object(c["\u0275\u0275defineInjectable"])({factory:function(){return new ra(Object(c["\u0275\u0275inject"])(h.e),Object(c["\u0275\u0275inject"])(Oo))},token:ra,providedIn:"root"}),ra),pa=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine),va=((aa=function(){function e(t,n){v(this,e),this._platform=n,this._document=t}return y(e,[{key:"ngOnDestroy",value:function(){var e=this._containerElement;e&&e.parentNode&&e.parentNode.removeChild(e)}},{key:"getContainerElement",value:function(){return this._containerElement||this._createContainer(),this._containerElement}},{key:"_createContainer",value:function(){var e=this._platform?this._platform.isBrowser:"undefined"!=typeof window;if(e||pa)for(var t=this._document.querySelectorAll('.cdk-overlay-container[platform="server"], .cdk-overlay-container[platform="test"]'),n=0;n<t.length;n++)t[n].parentNode.removeChild(t[n]);var r=this._document.createElement("div");r.classList.add("cdk-overlay-container"),pa?r.setAttribute("platform","test"):e||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._containerElement=r}}]),e}()).\u0275fac=function(e){return new(e||aa)(c["\u0275\u0275inject"](h.e),c["\u0275\u0275inject"](Oo))},aa.\u0275prov=Object(c["\u0275\u0275defineInjectable"])({factory:function(){return new aa(Object(c["\u0275\u0275inject"])(h.e),Object(c["\u0275\u0275inject"])(Oo))},token:aa,providedIn:"root"}),aa),ga=function(){function e(t,n,r,i,o,a,s,c,l){var u=this;v(this,e),this._portalOutlet=t,this._host=n,this._pane=r,this._config=i,this._ngZone=o,this._keyboardDispatcher=a,this._document=s,this._location=c,this._outsideClickDispatcher=l,this._backdropElement=null,this._backdropClick=new w.a,this._attachments=new w.a,this._detachments=new w.a,this._locationChanges=_e.a.EMPTY,this._backdropClickHandler=function(e){return u._backdropClick.next(e)},this._keydownEvents=new w.a,this._outsidePointerEvents=new w.a,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}return y(e,[{key:"overlayElement",get:function(){return this._pane}},{key:"backdropElement",get:function(){return this._backdropElement}},{key:"hostElement",get:function(){return this._host}},{key:"attach",value:function(e){var t=this,n=this._portalOutlet.attach(e);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(se(1)).subscribe((function(){t.hasAttached()&&t.updatePosition()})),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&this._location&&(this._locationChanges=this._location.subscribe((function(){return t.dispose()}))),this._outsideClickDispatcher&&this._outsideClickDispatcher.add(this),n}},{key:"detach",value:function(){if(this.hasAttached()){this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();var e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher&&this._outsideClickDispatcher.remove(this),e}}},{key:"dispose",value:function(){var e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher&&this._outsideClickDispatcher.remove(this),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,e&&this._detachments.next(),this._detachments.complete()}},{key:"hasAttached",value:function(){return this._portalOutlet.hasAttached()}},{key:"backdropClick",value:function(){return this._backdropClick}},{key:"attachments",value:function(){return this._attachments}},{key:"detachments",value:function(){return this._detachments}},{key:"keydownEvents",value:function(){return this._keydownEvents}},{key:"outsidePointerEvents",value:function(){return this._outsidePointerEvents}},{key:"getConfig",value:function(){return this._config}},{key:"updatePosition",value:function(){this._positionStrategy&&this._positionStrategy.apply()}},{key:"updatePositionStrategy",value:function(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}},{key:"updateSize",value:function(e){this._config=Object.assign(Object.assign({},this._config),e),this._updateElementSize()}},{key:"setDirection",value:function(e){this._config=Object.assign(Object.assign({},this._config),{direction:e}),this._updateElementDirection()}},{key:"addPanelClass",value:function(e){this._pane&&this._toggleClasses(this._pane,e,!0)}},{key:"removePanelClass",value:function(e){this._pane&&this._toggleClasses(this._pane,e,!1)}},{key:"getDirection",value:function(){var e=this._config.direction;return e?"string"==typeof e?e:e.value:"ltr"}},{key:"updateScrollStrategy",value:function(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}},{key:"_updateElementDirection",value:function(){this._host.setAttribute("dir",this.getDirection())}},{key:"_updateElementSize",value:function(){if(this._pane){var e=this._pane.style;e.width=co(this._config.width),e.height=co(this._config.height),e.minWidth=co(this._config.minWidth),e.minHeight=co(this._config.minHeight),e.maxWidth=co(this._config.maxWidth),e.maxHeight=co(this._config.maxHeight)}}},{key:"_togglePointerEvents",value:function(e){this._pane.style.pointerEvents=e?"auto":"none"}},{key:"_attachBackdrop",value:function(){var e=this;this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular((function(){requestAnimationFrame((function(){e._backdropElement&&e._backdropElement.classList.add("cdk-overlay-backdrop-showing")}))})):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")}},{key:"_updateStackingOrder",value:function(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}},{key:"detachBackdrop",value:function(){var e,t=this,n=this._backdropElement;if(n){var r=function r(){n&&(n.removeEventListener("click",t._backdropClickHandler),n.removeEventListener("transitionend",r),n.parentNode&&n.parentNode.removeChild(n)),t._backdropElement==n&&(t._backdropElement=null),t._config.backdropClass&&t._toggleClasses(n,t._config.backdropClass,!1),clearTimeout(e)};n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular((function(){n.addEventListener("transitionend",r)})),n.style.pointerEvents="none",e=this._ngZone.runOutsideAngular((function(){return setTimeout(r,500)}))}}},{key:"_toggleClasses",value:function(e,t,n){var r=e.classList;so(t).forEach((function(e){e&&(n?r.add(e):r.remove(e))}))}},{key:"_detachContentWhenStable",value:function(){var e=this;this._ngZone.runOutsideAngular((function(){var t,n=e._ngZone.onStable.pipe((t=Object(Jo.a)(e._attachments,e._detachments),function(e){return e.lift(new wo(t))})).subscribe((function(){e._pane&&e._host&&0!==e._pane.children.length||(e._pane&&e._config.panelClass&&e._toggleClasses(e._pane,e._config.panelClass,!1),e._host&&e._host.parentElement&&(e._previousHostParent=e._host.parentElement,e._previousHostParent.removeChild(e._host)),n.unsubscribe())}))}))}},{key:"_disposeScrollStrategy",value:function(){var e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}}]),e}(),ya=/([A-Za-z%]+)$/,ba=function(){function e(t,n,r,i,o){v(this,e),this._viewportRuler=n,this._document=r,this._platform=i,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new w.a,this._resizeSubscription=_e.a.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}return y(e,[{key:"positions",get:function(){return this._preferredPositions}},{key:"attach",value:function(e){var t=this;this._validatePositions(),e.hostElement.classList.add("cdk-overlay-connected-position-bounding-box"),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe((function(){t._isInitialRender=!0,t.apply()}))}},{key:"apply",value:function(){if(!this._isDisposed&&this._platform.isBrowser)if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)this.reapplyLastPosition();else{this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();var e,t,n=this._originRect,i=this._overlayRect,o=this._viewportRect,a=[],s=r(this._preferredPositions);try{for(s.s();!(t=s.n()).done;){var c=t.value,l=this._getOriginPoint(n,c),u=this._getOverlayPoint(l,i,c),d=this._getOverlayFit(u,i,o,c);if(d.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(c,l);this._canFitWithFlexibleDimensions(d,u,o)?a.push({position:c,origin:l,overlayRect:i,boundingBoxRect:this._calculateBoundingBoxRect(l,c)}):(!e||e.overlayFit.visibleArea<d.visibleArea)&&(e={overlayFit:d,overlayPoint:u,originPoint:l,position:c,overlayRect:i})}}catch(y){s.e(y)}finally{s.f()}if(a.length){var h,f=null,m=-1,p=r(a);try{for(p.s();!(h=p.n()).done;){var v=h.value,g=v.boundingBoxRect.width*v.boundingBoxRect.height*(v.position.weight||1);g>m&&(m=g,f=v)}}catch(y){p.e(y)}finally{p.f()}return this._isPushed=!1,void this._applyPosition(f.position,f.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(e.position,e.originPoint);this._applyPosition(e.position,e.originPoint)}}},{key:"detach",value:function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}},{key:"dispose",value:function(){this._isDisposed||(this._boundingBox&&ka(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}},{key:"reapplyLastPosition",value:function(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();var e=this._lastPosition||this._preferredPositions[0],t=this._getOriginPoint(this._originRect,e);this._applyPosition(e,t)}}},{key:"withScrollableContainers",value:function(e){return this._scrollables=e,this}},{key:"withPositions",value:function(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}},{key:"withViewportMargin",value:function(e){return this._viewportMargin=e,this}},{key:"withFlexibleDimensions",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._hasFlexibleDimensions=e,this}},{key:"withGrowAfterOpen",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._growAfterOpen=e,this}},{key:"withPush",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._canPush=e,this}},{key:"withLockedPosition",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._positionLocked=e,this}},{key:"setOrigin",value:function(e){return this._origin=e,this}},{key:"withDefaultOffsetX",value:function(e){return this._offsetX=e,this}},{key:"withDefaultOffsetY",value:function(e){return this._offsetY=e,this}},{key:"withTransformOriginOn",value:function(e){return this._transformOriginSelector=e,this}},{key:"_getOriginPoint",value:function(e,t){var n;if("center"==t.originX)n=e.left+e.width/2;else{var r=this._isRtl()?e.right:e.left,i=this._isRtl()?e.left:e.right;n="start"==t.originX?r:i}return{x:n,y:"center"==t.originY?e.top+e.height/2:"top"==t.originY?e.top:e.bottom}}},{key:"_getOverlayPoint",value:function(e,t,n){var r,i;return r="center"==n.overlayX?-t.width/2:"start"===n.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,i="center"==n.overlayY?-t.height/2:"top"==n.overlayY?0:-t.height,{x:e.x+r,y:e.y+i}}},{key:"_getOverlayFit",value:function(e,t,n,r){var i=e.x,o=e.y,a=this._getOffset(r,"x"),s=this._getOffset(r,"y");a&&(i+=a),s&&(o+=s);var c=0-o,l=o+t.height-n.height,u=this._subtractOverflows(t.width,0-i,i+t.width-n.width),d=this._subtractOverflows(t.height,c,l),h=u*d;return{visibleArea:h,isCompletelyWithinViewport:t.width*t.height===h,fitsInViewportVertically:d===t.height,fitsInViewportHorizontally:u==t.width}}},{key:"_canFitWithFlexibleDimensions",value:function(e,t,n){if(this._hasFlexibleDimensions){var r=n.bottom-t.y,i=n.right-t.x,o=Ca(this._overlayRef.getConfig().minHeight),a=Ca(this._overlayRef.getConfig().minWidth),s=e.fitsInViewportHorizontally||null!=a&&a<=i;return(e.fitsInViewportVertically||null!=o&&o<=r)&&s}return!1}},{key:"_pushOverlayOnScreen",value:function(e,t,n){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};var r,i,o=this._viewportRect,a=Math.max(e.x+t.width-o.width,0),s=Math.max(e.y+t.height-o.height,0),c=Math.max(o.top-n.top-e.y,0),l=Math.max(o.left-n.left-e.x,0);return r=t.width<=o.width?l||-a:e.x<this._viewportMargin?o.left-n.left-e.x:0,i=t.height<=o.height?c||-s:e.y<this._viewportMargin?o.top-n.top-e.y:0,this._previousPushAmount={x:r,y:i},{x:e.x+r,y:e.y+i}}},{key:"_applyPosition",value:function(e,t){if(this._setTransformOrigin(e),this._setOverlayElementStyles(t,e),this._setBoundingBoxStyles(t,e),e.panelClass&&this._addPanelClasses(e.panelClass),this._lastPosition=e,this._positionChanges.observers.length){var n=this._getScrollVisibility(),r=new da(e,n);this._positionChanges.next(r)}this._isInitialRender=!1}},{key:"_setTransformOrigin",value:function(e){if(this._transformOriginSelector){var t,n=this._boundingBox.querySelectorAll(this._transformOriginSelector),r=e.overlayY;t="center"===e.overlayX?"center":this._isRtl()?"start"===e.overlayX?"right":"left":"start"===e.overlayX?"left":"right";for(var i=0;i<n.length;i++)n[i].style.transformOrigin="".concat(t," ").concat(r)}}},{key:"_calculateBoundingBoxRect",value:function(e,t){var n,r,i,o,a,s,c=this._viewportRect,l=this._isRtl();if("top"===t.overlayY)r=e.y,n=c.height-r+this._viewportMargin;else if("bottom"===t.overlayY)i=c.height-e.y+2*this._viewportMargin,n=c.height-i+this._viewportMargin;else{var u=Math.min(c.bottom-e.y+c.top,e.y),d=this._lastBoundingBoxSize.height;n=2*u,r=e.y-u,n>d&&!this._isInitialRender&&!this._growAfterOpen&&(r=e.y-d/2)}if("end"===t.overlayX&&!l||"start"===t.overlayX&&l)s=c.width-e.x+this._viewportMargin,o=e.x-this._viewportMargin;else if("start"===t.overlayX&&!l||"end"===t.overlayX&&l)a=e.x,o=c.right-e.x;else{var h=Math.min(c.right-e.x+c.left,e.x),f=this._lastBoundingBoxSize.width;o=2*h,a=e.x-h,o>f&&!this._isInitialRender&&!this._growAfterOpen&&(a=e.x-f/2)}return{top:r,left:a,bottom:i,right:s,width:o,height:n}}},{key:"_setBoundingBoxStyles",value:function(e,t){var n=this._calculateBoundingBoxRect(e,t);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));var r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{var i=this._overlayRef.getConfig().maxHeight,o=this._overlayRef.getConfig().maxWidth;r.height=co(n.height),r.top=co(n.top),r.bottom=co(n.bottom),r.width=co(n.width),r.left=co(n.left),r.right=co(n.right),r.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",r.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",i&&(r.maxHeight=co(i)),o&&(r.maxWidth=co(o))}this._lastBoundingBoxSize=n,ka(this._boundingBox.style,r)}},{key:"_resetBoundingBoxStyles",value:function(){ka(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}},{key:"_resetOverlayElementStyles",value:function(){ka(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}},{key:"_setOverlayElementStyles",value:function(e,t){var n={},r=this._hasExactPosition(),i=this._hasFlexibleDimensions,o=this._overlayRef.getConfig();if(r){var a=this._viewportRuler.getViewportScrollPosition();ka(n,this._getExactOverlayY(t,e,a)),ka(n,this._getExactOverlayX(t,e,a))}else n.position="static";var s="",c=this._getOffset(t,"x"),l=this._getOffset(t,"y");c&&(s+="translateX(".concat(c,"px) ")),l&&(s+="translateY(".concat(l,"px)")),n.transform=s.trim(),o.maxHeight&&(r?n.maxHeight=co(o.maxHeight):i&&(n.maxHeight="")),o.maxWidth&&(r?n.maxWidth=co(o.maxWidth):i&&(n.maxWidth="")),ka(this._pane.style,n)}},{key:"_getExactOverlayY",value:function(e,t,n){var r={top:"",bottom:""},i=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,n));var o=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return i.y-=o,"bottom"===e.overlayY?r.bottom=this._document.documentElement.clientHeight-(i.y+this._overlayRect.height)+"px":r.top=co(i.y),r}},{key:"_getExactOverlayX",value:function(e,t,n){var r={left:"",right:""},i=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,n)),"right"===(this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left")?r.right=this._document.documentElement.clientWidth-(i.x+this._overlayRect.width)+"px":r.left=co(i.x),r}},{key:"_getScrollVisibility",value:function(){var e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),n=this._scrollables.map((function(e){return e.getElementRef().nativeElement.getBoundingClientRect()}));return{isOriginClipped:ta(e,n),isOriginOutsideView:ea(e,n),isOverlayClipped:ta(t,n),isOverlayOutsideView:ea(t,n)}}},{key:"_subtractOverflows",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.reduce((function(e,t){return e-Math.max(t,0)}),e)}},{key:"_getNarrowedViewportRect",value:function(){var e=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+e-this._viewportMargin,bottom:n.top+t-this._viewportMargin,width:e-2*this._viewportMargin,height:t-2*this._viewportMargin}}},{key:"_isRtl",value:function(){return"rtl"===this._overlayRef.getDirection()}},{key:"_hasExactPosition",value:function(){return!this._hasFlexibleDimensions||this._isPushed}},{key:"_getOffset",value:function(e,t){return"x"===t?null==e.offsetX?this._offsetX:e.offsetX:null==e.offsetY?this._offsetY:e.offsetY}},{key:"_validatePositions",value:function(){}},{key:"_addPanelClasses",value:function(e){var t=this;this._pane&&so(e).forEach((function(e){""!==e&&-1===t._appliedPanelClasses.indexOf(e)&&(t._appliedPanelClasses.push(e),t._pane.classList.add(e))}))}},{key:"_clearPanelClasses",value:function(){var e=this;this._pane&&(this._appliedPanelClasses.forEach((function(t){e._pane.classList.remove(t)})),this._appliedPanelClasses=[])}},{key:"_getOriginRect",value:function(){var e=this._origin;if(e instanceof c.ElementRef)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();var t=e.width||0,n=e.height||0;return{top:e.y,bottom:e.y+n,left:e.x,right:e.x+t,height:n,width:t}}}]),e}();function ka(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function Ca(e){if("number"!=typeof e&&null!=e){var n=t(e.split(ya),2),r=n[0],i=n[1];return i&&"px"!==i?null:parseFloat(r)}return e||null}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var wa,Sa,_a,Ea=function(){function e(t,n,r,i,o,a,s){v(this,e),this._preferredPositions=[],this._positionStrategy=new ba(r,i,o,a,s).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(t,n),this.onPositionChange=this._positionStrategy.positionChanges}return y(e,[{key:"positions",get:function(){return this._preferredPositions}},{key:"attach",value:function(e){this._overlayRef=e,this._positionStrategy.attach(e),this._direction&&(e.setDirection(this._direction),this._direction=null)}},{key:"dispose",value:function(){this._positionStrategy.dispose()}},{key:"detach",value:function(){this._positionStrategy.detach()}},{key:"apply",value:function(){this._positionStrategy.apply()}},{key:"recalculateLastPosition",value:function(){this._positionStrategy.reapplyLastPosition()}},{key:"withScrollableContainers",value:function(e){this._positionStrategy.withScrollableContainers(e)}},{key:"withFallbackPosition",value:function(e,t,n,r){var i=new ua(e,t,n,r);return this._preferredPositions.push(i),this._positionStrategy.withPositions(this._preferredPositions),this}},{key:"withDirection",value:function(e){return this._overlayRef?this._overlayRef.setDirection(e):this._direction=e,this}},{key:"withOffsetX",value:function(e){return this._positionStrategy.withDefaultOffsetX(e),this}},{key:"withOffsetY",value:function(e){return this._positionStrategy.withDefaultOffsetY(e),this}},{key:"withLockedPosition",value:function(e){return this._positionStrategy.withLockedPosition(e),this}},{key:"withPositions",value:function(e){return this._preferredPositions=e.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}},{key:"setOrigin",value:function(e){return this._positionStrategy.setOrigin(e),this}}]),e}(),Ia=function(){function e(){v(this,e),this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}return y(e,[{key:"attach",value:function(e){var t=e.getConfig();this._overlayRef=e,this._width&&!t.width&&e.updateSize({width:this._width}),this._height&&!t.height&&e.updateSize({height:this._height}),e.hostElement.classList.add("cdk-global-overlay-wrapper"),this._isDisposed=!1}},{key:"top",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}},{key:"left",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._rightOffset="",this._leftOffset=e,this._justifyContent="flex-start",this}},{key:"bottom",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}},{key:"right",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._leftOffset="",this._rightOffset=e,this._justifyContent="flex-end",this}},{key:"width",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}},{key:"height",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}},{key:"centerHorizontally",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.left(e),this._justifyContent="center",this}},{key:"centerVertically",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.top(e),this._alignItems="center",this}},{key:"apply",value:function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),r=n.width,i=n.height,o=n.maxWidth,a=n.maxHeight,s=!("100%"!==r&&"100vw"!==r||o&&"100%"!==o&&"100vw"!==o),c=!("100%"!==i&&"100vh"!==i||a&&"100%"!==a&&"100vh"!==a);e.position=this._cssPosition,e.marginLeft=s?"0":this._leftOffset,e.marginTop=c?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=this._rightOffset,s?t.justifyContent="flex-start":"center"===this._justifyContent?t.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?t.justifyContent="flex-end":"flex-end"===this._justifyContent&&(t.justifyContent="flex-start"):t.justifyContent=this._justifyContent,t.alignItems=c?"flex-start":this._alignItems}}},{key:"dispose",value:function(){if(!this._isDisposed&&this._overlayRef){var e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,n=t.style;t.classList.remove("cdk-global-overlay-wrapper"),n.justifyContent=n.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}}}]),e}(),xa=((Sa=function(){function e(t,n,r,i){v(this,e),this._viewportRuler=t,this._document=n,this._platform=r,this._overlayContainer=i}return y(e,[{key:"global",value:function(){return new Ia}},{key:"connectedTo",value:function(e,t,n){return new Ea(t,n,e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}},{key:"flexibleConnectedTo",value:function(e){return new ba(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}]),e}()).\u0275fac=function(e){return new(e||Sa)(c["\u0275\u0275inject"](Uo),c["\u0275\u0275inject"](h.e),c["\u0275\u0275inject"](Oo),c["\u0275\u0275inject"](va))},Sa.\u0275prov=Object(c["\u0275\u0275defineInjectable"])({factory:function(){return new Sa(Object(c["\u0275\u0275inject"])(Uo),Object(c["\u0275\u0275inject"])(h.e),Object(c["\u0275\u0275inject"])(Oo),Object(c["\u0275\u0275inject"])(va))},token:Sa,providedIn:"root"}),Sa),Oa=0,Ta=((wa=function(){function e(t,n,r,i,o,a,s,c,l,u,d){v(this,e),this.scrollStrategies=t,this._overlayContainer=n,this._componentFactoryResolver=r,this._positionBuilder=i,this._keyboardDispatcher=o,this._injector=a,this._ngZone=s,this._document=c,this._directionality=l,this._location=u,this._outsideClickDispatcher=d}return y(e,[{key:"create",value:function(e){var t=this._createHostElement(),n=this._createPaneElement(t),r=this._createPortalOutlet(n),i=new la(e);return i.direction=i.direction||this._directionality.value,new ga(r,t,n,i,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}},{key:"position",value:function(){return this._positionBuilder}},{key:"_createPaneElement",value:function(e){var t=this._document.createElement("div");return t.id="cdk-overlay-"+Oa++,t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}},{key:"_createHostElement",value:function(){var e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}},{key:"_createPortalOutlet",value:function(e){return this._appRef||(this._appRef=this._injector.get(c.ApplicationRef)),new Wo(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}]),e}()).\u0275fac=function(e){return new(e||wa)(c["\u0275\u0275inject"](ca),c["\u0275\u0275inject"](va),c["\u0275\u0275inject"](c.ComponentFactoryResolver),c["\u0275\u0275inject"](xa),c["\u0275\u0275inject"](fa),c["\u0275\u0275inject"](c.Injector),c["\u0275\u0275inject"](c.NgZone),c["\u0275\u0275inject"](h.e),c["\u0275\u0275inject"](Lo),c["\u0275\u0275inject"](h.i),c["\u0275\u0275inject"](ma))},wa.\u0275prov=c["\u0275\u0275defineInjectable"]({token:wa,factory:wa.\u0275fac}),wa),Aa={provide:new c.InjectionToken("cdk-connected-overlay-scroll-strategy"),deps:[Ta],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},Pa=((_a=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:_a}),_a.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||_a)},providers:[Ta,Aa],imports:[[Vo,Zo,Go],Go]}),_a);
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Da(e,t){return{type:7,name:e,definitions:t,options:{}}}function Ra(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:4,styles:t,timings:e}}function Ma(e){return{type:6,styles:e,offset:null}}function Na(e,t,n){return{type:0,name:e,styles:t,options:n}}function ja(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:1,expr:e,animation:t,options:n}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var Fa=a("NAv5"),La=a("s7LF");function Va(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:po;return function(n){return n.lift(new Ba(e,t))}}var Ba=function(){function e(t,n){v(this,e),this.dueTime=t,this.scheduler=n}return y(e,[{key:"call",value:function(e,t){return t.subscribe(new Ua(e,this.dueTime,this.scheduler))}}]),e}(),Ua=function(e){l(n,e);var t=d(n);function n(e,r,i){var o;return v(this,n),(o=t.call(this,e)).dueTime=r,o.scheduler=i,o.debouncedSubscription=null,o.lastValue=null,o.hasValue=!1,o}return y(n,[{key:"_next",value:function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(Ha,this.dueTime,this))}},{key:"_complete",value:function(){this.debouncedNext(),this.destination.complete()}},{key:"debouncedNext",value:function(){if(this.clearDebounce(),this.hasValue){var e=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}},{key:"clearDebounce",value:function(){var e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}]),n}(I.a);function Ha(e){e.debouncedNext()}var Ga,qa,Ka,za=((Ka=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:Ka}),Ka.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||Ka)},imports:[[Go]]}),Ka),Ya=((qa=function(){function e(){v(this,e)}return y(e,[{key:"create",value:function(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}]),e}()).\u0275fac=function(e){return new(e||qa)},qa.\u0275prov=Object(c["\u0275\u0275defineInjectable"])({factory:function(){return new qa},token:qa,providedIn:"root"}),qa),Wa=((Ga=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:Ga}),Ga.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||Ga)},providers:[Ya]}),Ga);"undefined"!=typeof Element&&Element;
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
var Za,Ja,Qa=new c.InjectionToken("cdk-focus-monitor-default-options"),Xa=(Za={passive:!0,capture:!0},function(){if(null==_o&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return _o=!0}}))}finally{_o=_o||!1}return _o}()?Za:!!Za.capture),$a=((Ja=function(){function e(t,n,r,i){var o=this;v(this,e),this._ngZone=t,this._platform=n,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._documentKeydownListener=function(){o._lastTouchTarget=null,o._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=function(e){if(!o._lastTouchTarget){var t=
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function(e){return 0===e.buttons}(e)?"keyboard":"mouse";o._setOriginForCurrentEventQueue(t)}},this._documentTouchstartListener=function(e){null!=o._touchTimeoutId&&clearTimeout(o._touchTimeoutId),o._lastTouchTarget=es(e),o._touchTimeoutId=setTimeout((function(){return o._lastTouchTarget=null}),650)},this._windowFocusListener=function(){o._windowFocused=!0,o._windowFocusTimeoutId=setTimeout((function(){return o._windowFocused=!1}))},this._rootNodeFocusAndBlurListener=function(e){for(var t=es(e),n="focus"===e.type?o._onFocus:o._onBlur,r=t;r;r=r.parentElement)n.call(o,e,r)},this._document=r,this._detectionMode=(null==i?void 0:i.detectionMode)||0}return y(e,[{key:"monitor",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=lo(e);if(!this._platform.isBrowser||1!==n.nodeType)return k(null);var r=function(e){if(function(){if(null==Eo){var e="undefined"!=typeof document?document.head:null;Eo=!(!e||!e.createShadowRoot&&!e.attachShadow)}return Eo}()){var t=e.getRootNode?e.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}(n)||this._getDocument(),i=this._elementInfo.get(n);if(i)return t&&(i.checkChildren=!0),i.subject;var o={checkChildren:t,subject:new w.a,rootNode:r};return this._elementInfo.set(n,o),this._registerGlobalListeners(o),o.subject}},{key:"stopMonitoring",value:function(e){var t=lo(e),n=this._elementInfo.get(t);n&&(n.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(n))}},{key:"focusVia",value:function(e,t,n){var r=lo(e);this._setOriginForCurrentEventQueue(t),"function"==typeof r.focus&&r.focus(n)}},{key:"ngOnDestroy",value:function(){var e=this;this._elementInfo.forEach((function(t,n){return e.stopMonitoring(n)}))}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_toggleClass",value:function(e,t,n){n?e.classList.add(t):e.classList.remove(t)}},{key:"_getFocusOrigin",value:function(e){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(e)?"touch":"program"}},{key:"_setClasses",value:function(e,t){this._toggleClass(e,"cdk-focused",!!t),this._toggleClass(e,"cdk-touch-focused","touch"===t),this._toggleClass(e,"cdk-keyboard-focused","keyboard"===t),this._toggleClass(e,"cdk-mouse-focused","mouse"===t),this._toggleClass(e,"cdk-program-focused","program"===t)}},{key:"_setOriginForCurrentEventQueue",value:function(e){var t=this;this._ngZone.runOutsideAngular((function(){t._origin=e,0===t._detectionMode&&(t._originTimeoutId=setTimeout((function(){return t._origin=null}),1))}))}},{key:"_wasCausedByTouch",value:function(e){var t=es(e);return this._lastTouchTarget instanceof Node&&t instanceof Node&&(t===this._lastTouchTarget||t.contains(this._lastTouchTarget))}},{key:"_onFocus",value:function(e,t){var n=this._elementInfo.get(t);if(n&&(n.checkChildren||t===es(e))){var r=this._getFocusOrigin(e);this._setClasses(t,r),this._emitOrigin(n.subject,r),this._lastFocusOrigin=r}}},{key:"_onBlur",value:function(e,t){var n=this._elementInfo.get(t);!n||n.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(n.subject,null))}},{key:"_emitOrigin",value:function(e,t){this._ngZone.run((function(){return e.next(t)}))}},{key:"_registerGlobalListeners",value:function(e){var t=this;if(this._platform.isBrowser){var n=e.rootNode,r=this._rootNodeFocusListenerCount.get(n)||0;r||this._ngZone.runOutsideAngular((function(){n.addEventListener("focus",t._rootNodeFocusAndBlurListener,Xa),n.addEventListener("blur",t._rootNodeFocusAndBlurListener,Xa)})),this._rootNodeFocusListenerCount.set(n,r+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular((function(){var e=t._getDocument(),n=t._getWindow();e.addEventListener("keydown",t._documentKeydownListener,Xa),e.addEventListener("mousedown",t._documentMousedownListener,Xa),e.addEventListener("touchstart",t._documentTouchstartListener,Xa),n.addEventListener("focus",t._windowFocusListener)}))}}},{key:"_removeGlobalListeners",value:function(e){var t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){var n=this._rootNodeFocusListenerCount.get(t);n>1?this._rootNodeFocusListenerCount.set(t,n-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Xa),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Xa),this._rootNodeFocusListenerCount.delete(t))}if(!--this._monitoredElementCount){var r=this._getDocument(),i=this._getWindow();r.removeEventListener("keydown",this._documentKeydownListener,Xa),r.removeEventListener("mousedown",this._documentMousedownListener,Xa),r.removeEventListener("touchstart",this._documentTouchstartListener,Xa),i.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}}]),e}()).\u0275fac=function(e){return new(e||Ja)(c["\u0275\u0275inject"](c.NgZone),c["\u0275\u0275inject"](Oo),c["\u0275\u0275inject"](h.e,8),c["\u0275\u0275inject"](Qa,8))},Ja.\u0275prov=Object(c["\u0275\u0275defineInjectable"])({factory:function(){return new Ja(Object(c["\u0275\u0275inject"])(c.NgZone),Object(c["\u0275\u0275inject"])(Oo),Object(c["\u0275\u0275inject"])(h.e,8),Object(c["\u0275\u0275inject"])(Qa,8))},token:Ja,providedIn:"root"}),Ja);function es(e){return e.composedPath?e.composedPath()[0]:e.target}var ts,ns,rs,is,os=((ns=function(){function e(t,n){v(this,e),this._platform=t,this._document=n}return y(e,[{key:"getHighContrastMode",value:function(){if(!this._platform.isBrowser)return 0;var e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);var t=this._document.defaultView||window,n=t&&t.getComputedStyle?t.getComputedStyle(e):null,r=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(e),r){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}},{key:"_applyBodyHighContrastModeCssClasses",value:function(){if(this._platform.isBrowser&&this._document.body){var e=this._document.body.classList;e.remove("cdk-high-contrast-active"),e.remove("cdk-high-contrast-black-on-white"),e.remove("cdk-high-contrast-white-on-black");var t=this.getHighContrastMode();1===t?(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-black-on-white")):2===t&&(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-white-on-black"))}}}]),e}()).\u0275fac=function(e){return new(e||ns)(c["\u0275\u0275inject"](Oo),c["\u0275\u0275inject"](h.e))},ns.\u0275prov=Object(c["\u0275\u0275defineInjectable"])({factory:function(){return new ns(Object(c["\u0275\u0275inject"])(Oo),Object(c["\u0275\u0275inject"])(h.e))},token:ns,providedIn:"root"}),ns),as=((ts=function e(t){v(this,e),t._applyBodyHighContrastModeCssClasses()}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:ts}),ts.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||ts)(c["\u0275\u0275inject"](os))},imports:[[To,Wa]]}),ts),ss=a("UVXo"),cs=a("//w5"),ls=a.n(cs),us=((is=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:is}),is.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||is)}}),is),ds=((rs=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:rs}),rs.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||rs)},imports:[[Vo]]}),rs),hs=["theme",""];
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function fs(e,t){if(1&e&&c["\u0275\u0275element"](0,"i",3),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275property"]("ngClass",n.icon)}}function ms(e,t){if(1&e&&c["\u0275\u0275element"](0,"i",3),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275property"]("ngClass",n.icon)}}function ps(e,t){1&e&&(c["\u0275\u0275elementStart"](0,"i",4),c["\u0275\u0275namespaceSVG"](),c["\u0275\u0275elementStart"](1,"svg",5),c["\u0275\u0275elementStart"](2,"style",6),c["\u0275\u0275text"](3," .spinner { fill: #ffffff; } "),c["\u0275\u0275elementEnd"](),c["\u0275\u0275element"](4,"path",7),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]())}var vs=["*"],gs=function(e,t,n,r,i){return[e,t,n,r,i]};function ys(e,t){if(1&e&&c["\u0275\u0275element"](0,"div",2),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275property"]("@state",n.noAnimate?"no-animation":"visible")("ngClass",c["\u0275\u0275pureFunction5"](3,gs,n.tooltipType,n.rounded?"rounded":"",n.size?n.size:"",n.preline?"preline":"",n.position))("innerHTML",n.message,c["\u0275\u0275sanitizeHtml"])}}function bs(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"div",3),c["\u0275\u0275text"](1),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275property"]("@state",n.noAnimate?"no-animation":"visible")("ngClass",c["\u0275\u0275pureFunction5"](3,gs,n.tooltipType,n.rounded?"rounded":"",n.size?n.size:"",n.preline?"preline":"",n.position)),c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](n.message)}}var ks=[[["item-header"]],[["item-content"]],"*",[["item-end"]]],Cs=function(e){return{avatar:e}},ws=["item-header","item-content","*","item-end"];function Ss(e,t){if(1&e&&c["\u0275\u0275element"](0,"i",1),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275property"]("ngClass",n.classMap)}}var _s=[[["item-avatar"]],[["item-title"]],[["item-header-end"]]],Es=["item-avatar","item-title","item-header-end"];function Is(e,t){1&e&&c["\u0275\u0275element"](0,"i",3)}function xs(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"i",4),c["\u0275\u0275listener"]("click",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().onRemove(e)})),c["\u0275\u0275elementEnd"]()}}var Os=["preview"];function Ts(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"novo-chip",7),c["\u0275\u0275listener"]("remove",(function(e){c["\u0275\u0275restoreView"](n);var r=t.$implicit;return c["\u0275\u0275nextContext"]().remove(e,r)}))("select",(function(e){c["\u0275\u0275restoreView"](n);var r=t.$implicit;return c["\u0275\u0275nextContext"]().select(e,r)}))("deselect",(function(e){c["\u0275\u0275restoreView"](n);var r=t.$implicit;return c["\u0275\u0275nextContext"]().deselect(e,r)})),c["\u0275\u0275text"](1),c["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit,i=c["\u0275\u0275nextContext"]();c["\u0275\u0275classProp"]("selected",r==i.selected),c["\u0275\u0275property"]("type",i.type||(null==r||null==r.value?null:r.value.searchEntity))("disabled",i.disablePickerInput),c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate1"](" ",r.label," ")}}function As(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"div",8),c["\u0275\u0275elementStart"](1,"novo-picker",9),c["\u0275\u0275listener"]("ngModelChange",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().itemToAdd=e}))("select",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().add(e)}))("keydown",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().onKeyDown(e)}))("focus",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().onFocus(e)}))("typing",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().onTyping(e)}))("blur",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().onTouched(e)})),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()}if(2&e){var r=c["\u0275\u0275nextContext"]();c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("closeOnSelect",r.closeOnSelect)("config",r.source)("disablePickerInput",r.disablePickerInput)("placeholder",r.placeholder)("ngModel",r.itemToAdd)("selected",r.items)("overrideElement",r.element)}}function Ps(e,t){if(1&e&&c["\u0275\u0275element"](0,"i",10),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275classProp"]("has-value",n.items.length)}}function Ds(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"label",11),c["\u0275\u0275listener"]("click",(function(){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().clearValue()})),c["\u0275\u0275text"](1),c["\u0275\u0275element"](2,"i",12),c["\u0275\u0275elementEnd"]()}if(2&e){var r=c["\u0275\u0275nextContext"]();c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate1"]("",r.labels.clearAll," ")}}var Rs=["panel"];function Ms(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"div",0,1),c["\u0275\u0275projection"](2),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275property"]("id",n.id)}}function Ns(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"novo-list-item",7),c["\u0275\u0275listener"]("click",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"](2).selectMatch(e)}))("mouseenter",(function(){c["\u0275\u0275restoreView"](n);var e=t.$implicit;return c["\u0275\u0275nextContext"](2).selectActive(e)})),c["\u0275\u0275elementStart"](1,"item-content"),c["\u0275\u0275element"](2,"span",8),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit,i=c["\u0275\u0275nextContext"](2);c["\u0275\u0275classProp"]("active",r===i.activeMatch)("disabled",i.preselected(r)),c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("innerHtml",i.highlight(r.label,i.term),c["\u0275\u0275sanitizeHtml"])}}function js(e,t){1&e&&c["\u0275\u0275element"](0,"novo-loading",9)}function Fs(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"novo-list",4),c["\u0275\u0275template"](1,Ns,3,5,"novo-list-item",5),c["\u0275\u0275template"](2,js,1,0,"novo-loading",6),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngForOf",n.matches),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.isLoading&&n.matches.length>0)}}function Ls(e,t){1&e&&(c["\u0275\u0275elementStart"](0,"div",10),c["\u0275\u0275element"](1,"novo-loading",9),c["\u0275\u0275elementEnd"]())}function Vs(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"p",11),c["\u0275\u0275text"](1),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](n.labels.pickerError)}}function Bs(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"p",12),c["\u0275\u0275text"](1),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](n.getEmptyMessage())}}var Us=["results"],Hs=["input"];function Gs(e,t){1&e&&c["\u0275\u0275element"](0,"i",8)}function qs(e,t){if(1&e&&c["\u0275\u0275element"](0,"i"),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275classMapInterpolate2"]("bhi-",null==n.config?null:n.config.entityIcon," entity-icon ",null==n.config?null:n.config.entityIcon,"")}}function Ks(e,t){1&e&&c["\u0275\u0275element"](0,"i",9)}function zs(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"i",10),c["\u0275\u0275listener"]("click",(function(){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().clearValue(!0)})),c["\u0275\u0275elementEnd"]()}if(2&e){var r=c["\u0275\u0275nextContext"]();c["\u0275\u0275classProp"]("entity-selected",(null==r.config?null:r.config.entityIcon)&&r._value)}}function Ys(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"p",18),c["\u0275\u0275element"](1,"i",19),c["\u0275\u0275element"](2,"span",2),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](2);c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("innerHtml",n.highlight(n.match.data.companyName||(null==n.match.data||null==n.match.data.clientCorporation?null:n.match.data.clientCorporation.name),n.term),c["\u0275\u0275sanitizeHtml"])}}function Ws(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"p",20),c["\u0275\u0275element"](1,"i",21),c["\u0275\u0275element"](2,"span",2),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](2);c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("innerHtml",n.highlight(n.match.data.clientContact.firstName+" "+n.match.data.clientContact.lastName,n.term),c["\u0275\u0275sanitizeHtml"])}}function Zs(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"p",22),c["\u0275\u0275element"](1,"i",23),c["\u0275\u0275element"](2,"span",2),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](2);c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("innerHtml",n.highlight(n.match.data.candidate.firstName+" "+n.match.data.candidate.lastName,n.term),c["\u0275\u0275sanitizeHtml"])}}function Js(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"p",24),c["\u0275\u0275element"](1,"i",25),c["\u0275\u0275element"](2,"span",2),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](2);c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("innerHtml",n.renderTimestamp(n.match.data.dateBegin)+" - "+n.renderTimestamp(n.match.data.dateEnd),c["\u0275\u0275sanitizeHtml"])}}function Qs(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"p",24),c["\u0275\u0275element"](1,"i",25),c["\u0275\u0275element"](2,"span",2),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](2);c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("innerHtml",n.renderTimestamp(n.match.data.startTime),c["\u0275\u0275sanitizeHtml"])}}function Xs(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"p",26),c["\u0275\u0275element"](1,"i",27),c["\u0275\u0275element"](2,"span",2),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](2);c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("innerHtml",n.renderTimeNoOffset(n.match.data.startTime)+" - "+n.renderTimeNoOffset(n.match.data.endTime),c["\u0275\u0275sanitizeHtml"])}}function $s(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"p",28),c["\u0275\u0275element"](1,"i",29),c["\u0275\u0275element"](2,"span",2),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](2);c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("innerHtml",n.highlight(n.match.data.jobOrder.title,n.term),c["\u0275\u0275sanitizeHtml"])}}function ec(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"p",30),c["\u0275\u0275element"](1,"i",23),c["\u0275\u0275elementStart"](2,"span"),c["\u0275\u0275text"](3),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](2);c["\u0275\u0275advance"](3),c["\u0275\u0275textInterpolate2"]("",n.match.data.numAssigned," / ",n.match.data.openings,"")}}function tc(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"p",31),c["\u0275\u0275element"](1,"i",32),c["\u0275\u0275element"](2,"span",2),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](2);c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("innerHtml",n.highlight(n.match.data.email,n.term),c["\u0275\u0275sanitizeHtml"])}}function nc(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"p",33),c["\u0275\u0275element"](1,"i",34),c["\u0275\u0275element"](2,"span",2),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](2);c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("innerHtml",n.highlight(n.match.data.phone,n.term),c["\u0275\u0275sanitizeHtml"])}}function rc(e,t){if(1&e&&c["\u0275\u0275element"](0,"span",2),2&e){var n=c["\u0275\u0275nextContext"](3);c["\u0275\u0275property"]("innerHtml",n.highlight(n.match.data.address.city,n.term),c["\u0275\u0275sanitizeHtml"])}}function ic(e,t){1&e&&(c["\u0275\u0275elementStart"](0,"span"),c["\u0275\u0275text"](1,", "),c["\u0275\u0275elementEnd"]())}function oc(e,t){if(1&e&&c["\u0275\u0275element"](0,"span",2),2&e){var n=c["\u0275\u0275nextContext"](3);c["\u0275\u0275property"]("innerHtml",n.highlight(n.match.data.address.state,n.term),c["\u0275\u0275sanitizeHtml"])}}function ac(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"p",35),c["\u0275\u0275element"](1,"i",36),c["\u0275\u0275template"](2,rc,1,1,"span",37),c["\u0275\u0275template"](3,ic,2,0,"span",0),c["\u0275\u0275template"](4,oc,1,1,"span",37),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](2);c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("ngIf",n.match.data.address.city),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.match.data.address.city&&n.match.data.address.state),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.match.data.address.state)}}function sc(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"p",38),c["\u0275\u0275element"](1,"i",39),c["\u0275\u0275element"](2,"span",2),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](2);c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("innerHtml",n.highlight(n.match.data.status,n.term),c["\u0275\u0275sanitizeHtml"])}}function cc(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"p",40),c["\u0275\u0275element"](1,"i",41),c["\u0275\u0275element"](2,"span",2),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](2);c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("innerHtml",n.highlight(n.match.data.owner.name,n.term),c["\u0275\u0275sanitizeHtml"])}}function lc(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"p",42),c["\u0275\u0275element"](1,"i",43),c["\u0275\u0275element"](2,"span",2),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](2);c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("innerHtml",n.highlight(n.match.data.primaryDepartment.name,n.term),c["\u0275\u0275sanitizeHtml"])}}function uc(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"p",44),c["\u0275\u0275element"](1,"i",45),c["\u0275\u0275element"](2,"span",2),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](2);c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("innerHtml",n.highlight(n.match.data.occupation,n.term),c["\u0275\u0275sanitizeHtml"])}}function dc(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"novo-list-item"),c["\u0275\u0275elementStart"](1,"item-header"),c["\u0275\u0275element"](2,"item-avatar",1),c["\u0275\u0275elementStart"](3,"item-title"),c["\u0275\u0275element"](4,"span",2),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](5,"item-content",3),c["\u0275\u0275template"](6,Ys,3,1,"p",4),c["\u0275\u0275template"](7,Ws,3,1,"p",5),c["\u0275\u0275template"](8,Zs,3,1,"p",6),c["\u0275\u0275template"](9,Js,3,1,"p",7),c["\u0275\u0275template"](10,Qs,3,1,"p",7),c["\u0275\u0275template"](11,Xs,3,1,"p",8),c["\u0275\u0275template"](12,$s,3,1,"p",9),c["\u0275\u0275template"](13,ec,4,2,"p",10),c["\u0275\u0275template"](14,tc,3,1,"p",11),c["\u0275\u0275template"](15,nc,3,1,"p",12),c["\u0275\u0275template"](16,ac,5,3,"p",13),c["\u0275\u0275template"](17,sc,3,1,"p",14),c["\u0275\u0275template"](18,cc,3,1,"p",15),c["\u0275\u0275template"](19,lc,3,1,"p",16),c["\u0275\u0275template"](20,uc,3,1,"p",17),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("icon",n.getIconForResult(n.match.data)),c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("innerHtml",n.highlight(n.getNameForResult(n.match.data),n.term),c["\u0275\u0275sanitizeHtml"]),c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("ngIf",n.match.data.companyName||(null==n.match.data||null==n.match.data.clientCorporation?null:n.match.data.clientCorporation.name)),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",null==n.match.data||null==n.match.data.clientContact?null:n.match.data.clientContact.firstName),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.match.data.candidate&&"Placement"===n.match.data.searchEntity),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.match.data.dateBegin&&"Placement"===n.match.data.searchEntity),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.match.data.startTime&&"JobShift"===n.match.data.searchEntity),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.match.data.startTime&&"JobShift"===n.match.data.searchEntity),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.match.data.jobOrder&&"JobShift"===n.match.data.searchEntity),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.match.data.openings&&"JobShift"===n.match.data.searchEntity),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.match.data.email),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.match.data.phone),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.match.data.address&&(n.match.data.address.city||n.match.data.address.state)),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.match.data.status),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.match.data.owner&&n.match.data.owner.name&&"Candidate"===n.match.data.searchEntity),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.match.data.primaryDepartment&&n.match.data.primaryDepartment.name&&"CorporateUser"===n.match.data.searchEntity),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.match.data.occupation&&"CorporateUser"===n.match.data.searchEntity)}}var hc=function(e){return{active:e}};function fc(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"entity-picker-result",6),c["\u0275\u0275listener"]("click",(function(e){c["\u0275\u0275restoreView"](n);var r=t.$implicit;return c["\u0275\u0275nextContext"](2).selectMatch(e,r)}))("mouseenter",(function(){c["\u0275\u0275restoreView"](n);var e=t.$implicit;return c["\u0275\u0275nextContext"](2).selectActive(e)})),c["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit,i=c["\u0275\u0275nextContext"](2);c["\u0275\u0275classProp"]("disabled",i.preselected(r)),c["\u0275\u0275property"]("match",r)("term",i.term)("ngClass",c["\u0275\u0275pureFunction1"](5,hc,i.isActive(r)))}}function mc(e,t){1&e&&c["\u0275\u0275element"](0,"novo-loading",7)}function pc(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"novo-list",3),c["\u0275\u0275template"](1,fc,1,7,"entity-picker-result",4),c["\u0275\u0275template"](2,mc,1,0,"novo-loading",5),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngForOf",n.matches),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.isLoading&&n.matches.length>0)}}function vc(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"p",8),c["\u0275\u0275text"](1),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](n.labels.pickerError)}}function gc(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"p",9),c["\u0275\u0275text"](1),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](n.labels.pickerEmpty)}}function yc(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"p",9),c["\u0275\u0275text"](1),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](n.labels.pickerTextFieldEmpty)}}var bc=function(e){return{checked:e}};function kc(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"i",2),c["\u0275\u0275listener"]("click",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().onRemove(e)})),c["\u0275\u0275elementEnd"]()}}function Cc(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"div",8),c["\u0275\u0275text"](1),c["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](n.label)}}function wc(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"div",6),c["\u0275\u0275template"](1,Cc,2,1,"div",7),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngForOf",n.source.columns)}}function Sc(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"div",9),c["\u0275\u0275text"](1),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](n.source.emptyReadOnlyMessage)}}function _c(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"div",12),c["\u0275\u0275elementStart"](1,"span"),c["\u0275\u0275text"](2),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=c["\u0275\u0275nextContext"]().$implicit;c["\u0275\u0275advance"](2),c["\u0275\u0275textInterpolate"](n.data(r))}}function Ec(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"novo-row-chip",10),c["\u0275\u0275listener"]("remove",(function(e){c["\u0275\u0275restoreView"](n);var r=t.$implicit;return c["\u0275\u0275nextContext"]().remove(e,r)}))("select",(function(e){c["\u0275\u0275restoreView"](n);var r=t.$implicit;return c["\u0275\u0275nextContext"]().select(e,r)})),c["\u0275\u0275template"](1,_c,3,1,"div",11),c["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit,i=c["\u0275\u0275nextContext"]();c["\u0275\u0275classProp"]("selected",r==i.selected),c["\u0275\u0275property"]("type",i.type||(null==r||null==r.value?null:r.value.searchEntity))("disabled",i.disablePickerInput),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngForOf",i.source.columns)}}function Ic(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"novo-picker",13),c["\u0275\u0275listener"]("ngModelChange",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().itemToAdd=e}))("select",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().add(e)}))("keydown",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().onKeyDown(e)}))("focus",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().onFocus(e)}))("typing",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().onTyping(e)}))("blur",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().onTouched(e)})),c["\u0275\u0275elementEnd"]()}if(2&e){var r=c["\u0275\u0275nextContext"]();c["\u0275\u0275property"]("closeOnSelect",r.closeOnSelect)("config",r.source)("disablePickerInput",r.disablePickerInput)("hidden",r.disablePickerInput)("placeholder",r.placeholder)("ngModel",r.itemToAdd)("selected",r.items)("overrideElement",r.element)}}var xc=["host"],Oc=[[["button"]],"*"],Tc=["button","*"],Ac=["dropdownElement"];function Pc(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"button",10),c["\u0275\u0275listener"]("click",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"](2).toggleHeader(e),!1})),c["\u0275\u0275element"](1,"i",11),c["\u0275\u0275text"](2),c["\u0275\u0275elementEnd"]()}if(2&e){var r=c["\u0275\u0275nextContext"](2);c["\u0275\u0275advance"](2),c["\u0275\u0275textInterpolate1"]("\xa0",r.headerConfig.label," ")}}var Dc=function(e){return{invalid:e}};function Rc(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"div",12),c["\u0275\u0275elementStart"](1,"input",13),c["\u0275\u0275listener"]("ngModelChange",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"](2).header.value=e})),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](2,"footer"),c["\u0275\u0275elementStart"](3,"button",14),c["\u0275\u0275listener"]("click",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"](2).toggleHeader(e,!1)})),c["\u0275\u0275text"](4),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](5,"button",15),c["\u0275\u0275listener"]("click",(function(){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"](2).saveHeader()})),c["\u0275\u0275text"](6),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()}if(2&e){var r=c["\u0275\u0275nextContext"](2);c["\u0275\u0275property"]("ngClass",c["\u0275\u0275pureFunction1"](7,hc,r.header.open)),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("placeholder",r.headerConfig.placeholder)("ngModel",r.header.value)("ngClass",c["\u0275\u0275pureFunction1"](9,Dc,!r.header.valid)),c["\u0275\u0275attribute"]("id",r.name),c["\u0275\u0275advance"](3),c["\u0275\u0275textInterpolate"](r.labels.cancel),c["\u0275\u0275advance"](2),c["\u0275\u0275textInterpolate"](r.labels.save)}}function Mc(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"li",7),c["\u0275\u0275template"](1,Pc,3,1,"button",8),c["\u0275\u0275template"](2,Rc,7,11,"div",9),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275classProp"]("open",n.header.open),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",!n.header.open),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.header.open)}}function Nc(e,t){1&e&&c["\u0275\u0275element"](0,"i",19)}var jc=function(e,t){return{active:e,disabled:t}};function Fc(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"li",16),c["\u0275\u0275listener"]("click",(function(){c["\u0275\u0275restoreView"](n);var e=t.$implicit,r=t.index;return c["\u0275\u0275nextContext"]().setValueAndClose({value:e,index:r})})),c["\u0275\u0275element"](1,"span",17),c["\u0275\u0275template"](2,Nc,1,0,"i",18),c["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit,i=c["\u0275\u0275nextContext"]();c["\u0275\u0275property"]("ngClass",c["\u0275\u0275pureFunction2"](6,jc,r.active,r.disabled))("tooltip",r.tooltip)("tooltipPosition",r.tooltipPosition||"right"),c["\u0275\u0275attribute"]("data-automation-value",r.label),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("innerHtml",i.highlight(r.label,i.filterTerm),c["\u0275\u0275sanitizeHtml"]),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",r.active)}}var Lc=function(e,t){return{"bhi-circle":e,"bhi-check":t}};function Vc(e,t){if(1&e&&c["\u0275\u0275element"](0,"i",9),2&e){var n=c["\u0275\u0275nextContext"](2);c["\u0275\u0275property"]("ngClass",c["\u0275\u0275pureFunction2"](1,Lc,!n.valid.address1,n.valid.address1))}}function Bc(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"span",6),c["\u0275\u0275template"](1,Vc,1,4,"i",7),c["\u0275\u0275elementStart"](2,"input",8),c["\u0275\u0275listener"]("ngModelChange",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().model.address1=e}))("ngModelChange",(function(){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().updateControl()}))("focus",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().isFocused(e,"address1")}))("blur",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().isBlurred(e,"address1")}))("input",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().onInput(e,"address1")})),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()}if(2&e){var r=c["\u0275\u0275nextContext"]();c["\u0275\u0275classProp"]("invalid",r.invalid.address1)("focus",r.focused.address1)("disabled",r.disabled.address1),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",r.config.address1.required),c["\u0275\u0275advance"](1),c["\u0275\u0275classProp"]("maxlength-error",r.invalidMaxlength.address1),c["\u0275\u0275property"]("placeholder",r.config.address1.label)("maxlength",null==r.config||null==r.config.address1?null:r.config.address1.maxlength)("ngModel",r.model.address1)}}function Uc(e,t){if(1&e&&c["\u0275\u0275element"](0,"i",13),2&e){var n=c["\u0275\u0275nextContext"](2);c["\u0275\u0275property"]("ngClass",c["\u0275\u0275pureFunction2"](1,Lc,!n.valid.address2,n.valid.address2))}}function Hc(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"span",10),c["\u0275\u0275template"](1,Uc,1,4,"i",11),c["\u0275\u0275elementStart"](2,"input",12),c["\u0275\u0275listener"]("ngModelChange",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().model.address2=e}))("ngModelChange",(function(){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().updateControl()}))("focus",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().isFocused(e,"address2")}))("blur",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().isBlurred(e,"address2")}))("input",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().onInput(e,"address2")})),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()}if(2&e){var r=c["\u0275\u0275nextContext"]();c["\u0275\u0275classProp"]("invalid",r.invalid.address2)("focus",r.focused.address2)("disabled",r.disabled.address2),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",r.config.address2.required),c["\u0275\u0275advance"](1),c["\u0275\u0275classProp"]("maxlength-error",r.invalidMaxlength.address2),c["\u0275\u0275property"]("placeholder",r.config.address2.label)("maxlength",null==r.config||null==r.config.address2?null:r.config.address2.maxlength)("ngModel",r.model.address2)}}function Gc(e,t){if(1&e&&c["\u0275\u0275element"](0,"i",17),2&e){var n=c["\u0275\u0275nextContext"](2);c["\u0275\u0275property"]("ngClass",c["\u0275\u0275pureFunction2"](1,Lc,!n.valid.city,n.valid.city))}}function qc(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"span",14),c["\u0275\u0275template"](1,Gc,1,4,"i",15),c["\u0275\u0275elementStart"](2,"input",16),c["\u0275\u0275listener"]("ngModelChange",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().model.city=e}))("ngModelChange",(function(){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().updateControl()}))("focus",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().isFocused(e,"city")}))("blur",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().isBlurred(e,"city")}))("input",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().onInput(e,"city")})),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()}if(2&e){var r=c["\u0275\u0275nextContext"]();c["\u0275\u0275classProp"]("invalid",r.invalid.city)("focus",r.focused.city)("disabled",r.disabled.city),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",r.config.city.required),c["\u0275\u0275advance"](1),c["\u0275\u0275classProp"]("maxlength-error",r.invalidMaxlength.city),c["\u0275\u0275property"]("placeholder",r.config.city.label)("maxlength",null==r.config||null==r.config.city?null:r.config.city.maxlength)("ngModel",r.model.city)}}function Kc(e,t){if(1&e&&c["\u0275\u0275element"](0,"i",17),2&e){var n=c["\u0275\u0275nextContext"](2);c["\u0275\u0275property"]("ngClass",c["\u0275\u0275pureFunction2"](1,Lc,!n.valid.state,n.valid.state))}}function zc(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"span",18),c["\u0275\u0275template"](1,Kc,1,4,"i",15),c["\u0275\u0275elementStart"](2,"novo-picker",19),c["\u0275\u0275listener"]("changed",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().onStateChange(e)}))("ngModelChange",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().model.state=e})),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()}if(2&e){var r=c["\u0275\u0275nextContext"]();c["\u0275\u0275classProp"]("invalid",r.invalid.state)("focus",r.focused.state)("disabled",r.disabled.state),c["\u0275\u0275property"]("tooltip",r.tooltip.state),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",r.config.state.required),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("config",null==r.config||null==r.config.state?null:r.config.state.pickerConfig)("placeholder",null==r.config||null==r.config.state?null:r.config.state.label)("ngModel",r.model.state)("disablePickerInput",r.disabled.state)}}function Yc(e,t){if(1&e&&c["\u0275\u0275element"](0,"i",17),2&e){var n=c["\u0275\u0275nextContext"](2);c["\u0275\u0275property"]("ngClass",c["\u0275\u0275pureFunction2"](1,Lc,!n.valid.zip,n.valid.zip))}}function Wc(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"span",20),c["\u0275\u0275template"](1,Yc,1,4,"i",15),c["\u0275\u0275elementStart"](2,"input",21),c["\u0275\u0275listener"]("ngModelChange",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().model.zip=e}))("ngModelChange",(function(){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().updateControl()}))("focus",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().isFocused(e,"zip")}))("blur",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().isBlurred(e,"zip")}))("input",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().onInput(e,"zip")})),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()}if(2&e){var r=c["\u0275\u0275nextContext"]();c["\u0275\u0275classProp"]("invalid",r.invalid.zip)("focus",r.focused.zip)("disabled",r.disabled.zip),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",r.config.zip.required),c["\u0275\u0275advance"](1),c["\u0275\u0275classProp"]("maxlength-error",r.invalidMaxlength.zip),c["\u0275\u0275property"]("placeholder",r.config.zip.label)("maxlength",null==r.config||null==r.config.zip?null:r.config.zip.maxlength)("ngModel",r.model.zip)}}function Zc(e,t){if(1&e&&c["\u0275\u0275element"](0,"i",17),2&e){var n=c["\u0275\u0275nextContext"](2);c["\u0275\u0275property"]("ngClass",c["\u0275\u0275pureFunction2"](1,Lc,!n.valid.countryID,n.valid.countryID))}}function Jc(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"span",22),c["\u0275\u0275template"](1,Zc,1,4,"i",15),c["\u0275\u0275elementStart"](2,"novo-picker",23),c["\u0275\u0275listener"]("changed",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().onCountryChange(e)}))("ngModelChange",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().model.countryID=e})),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()}if(2&e){var r=c["\u0275\u0275nextContext"]();c["\u0275\u0275classProp"]("invalid",r.invalid.countryID)("focus",r.focused.countryID)("disabled",r.disabled.countryID),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",r.config.countryID.required),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("config",null==r.config||null==r.config.countryID?null:r.config.countryID.pickerConfig)("placeholder",r.config.countryID.label)("ngModel",r.model.countryID)("disablePickerInput",r.disabled.countryID)}}function Qc(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"span"),c["\u0275\u0275text"](1),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](n.label)}}var Xc=function(e,t){return{"bhi-checkbox-empty":e,"bhi-checkbox-filled":t}};function $c(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"div",1),c["\u0275\u0275elementStart"](1,"input",2),c["\u0275\u0275listener"]("change",(function(e){c["\u0275\u0275restoreView"](n);var r=t.$implicit;return c["\u0275\u0275nextContext"]().select(e,r)})),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](2,"label",3),c["\u0275\u0275listener"]("click",(function(e){c["\u0275\u0275restoreView"](n);var r=t.$implicit;return c["\u0275\u0275nextContext"]().select(e,r)})),c["\u0275\u0275element"](3,"i",4),c["\u0275\u0275elementStart"](4,"span"),c["\u0275\u0275text"](5),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit,i=t.index,o=c["\u0275\u0275nextContext"]();c["\u0275\u0275classProp"]("disabled",o.disabled),c["\u0275\u0275property"]("ngClass",c["\u0275\u0275pureFunction1"](12,bc,r.checked)),c["\u0275\u0275attribute"]("data-automation-id",r.label),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("name",o.name)("ngModel",r.checked)("value",r.checked)("disabled",o.disabled),c["\u0275\u0275attribute"]("id",o.name+i),c["\u0275\u0275advance"](1),c["\u0275\u0275attribute"]("for",o.name+i),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngClass",c["\u0275\u0275pureFunction2"](14,Xc,!r.checked,r.checked)),c["\u0275\u0275advance"](2),c["\u0275\u0275textInterpolate"](r.label)}}var el=["fileInput"],tl=["fileOutput"],nl=["container"];function rl(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"input",8),c["\u0275\u0275listener"]("change",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"](2).check(e)})),c["\u0275\u0275elementEnd"]()}if(2&e){var r=c["\u0275\u0275nextContext"](2);c["\u0275\u0275property"]("name",r.name),c["\u0275\u0275attribute"]("id",r.name)("multiple",r.multiple)("data-feature-id",r.dataFeatureId)}}function il(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"input",8),c["\u0275\u0275listener"]("change",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"](2).customCheck(e)})),c["\u0275\u0275elementEnd"]()}if(2&e){var r=c["\u0275\u0275nextContext"](2);c["\u0275\u0275property"]("name",r.name),c["\u0275\u0275attribute"]("id",r.name)("multiple",r.multiple)("data-feature-id",r.dataFeatureId)}}function ol(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"label",9),c["\u0275\u0275elementStart"](1,"div"),c["\u0275\u0275element"](2,"i",10),c["\u0275\u0275text"](3),c["\u0275\u0275elementStart"](4,"strong",11),c["\u0275\u0275text"](5),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](2);c["\u0275\u0275attribute"]("for",n.name),c["\u0275\u0275advance"](3),c["\u0275\u0275textInterpolate2"]("",n.placeholder||n.labels.chooseAFile," ",n.labels.or," "),c["\u0275\u0275advance"](2),c["\u0275\u0275textInterpolate"](n.labels.clickToBrowse)}}function al(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"label",12),c["\u0275\u0275elementStart"](1,"span"),c["\u0275\u0275text"](2),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](3,"small"),c["\u0275\u0275text"](4),c["\u0275\u0275elementStart"](5,"strong",11),c["\u0275\u0275text"](6),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](2);c["\u0275\u0275attribute"]("for",n.name),c["\u0275\u0275advance"](2),c["\u0275\u0275textInterpolate"](n.placeholder||n.labels.chooseAFile),c["\u0275\u0275advance"](2),c["\u0275\u0275textInterpolate1"]("",n.labels.or," "),c["\u0275\u0275advance"](2),c["\u0275\u0275textInterpolate"](n.labels.clickToBrowse)}}function sl(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"div",3),c["\u0275\u0275template"](1,rl,1,4,"input",4),c["\u0275\u0275template"](2,il,1,4,"input",4),c["\u0275\u0275elementStart"](3,"section",5),c["\u0275\u0275template"](4,ol,6,4,"label",6),c["\u0275\u0275template"](5,al,7,4,"label",7),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275classProp"]("disabled",n.disabled)("active",n.active),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",!n.layoutOptions.customActions),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.layoutOptions.customActions),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngSwitch",n.layoutOptions.labelStyle),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngSwitchCase","no-box")}}function cl(e,t){1&e&&c["\u0275\u0275element"](0,"i",19)}function ll(e,t){1&e&&(c["\u0275\u0275elementStart"](0,"span"),c["\u0275\u0275text"](1,"||"),c["\u0275\u0275elementEnd"]())}function ul(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"label"),c["\u0275\u0275elementStart"](1,"span"),c["\u0275\u0275elementStart"](2,"a",20),c["\u0275\u0275text"](3),c["\u0275\u0275pipe"](4,"decodeURI"),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275template"](5,ll,2,0,"span",17),c["\u0275\u0275elementStart"](6,"span"),c["\u0275\u0275text"](7),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]().$implicit;c["\u0275\u0275advance"](2),c["\u0275\u0275propertyInterpolate"]("href",n.link,c["\u0275\u0275sanitizeUrl"]),c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](c["\u0275\u0275pipeBind1"](4,4,n.name)),c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("ngIf",n.description),c["\u0275\u0275advance"](2),c["\u0275\u0275textInterpolate"](n.description)}}function dl(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"label"),c["\u0275\u0275text"](1),c["\u0275\u0275pipe"](2,"decodeURI"),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]().$implicit;c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](c["\u0275\u0275pipeBind1"](2,1,n.name))}}function hl(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"button",24),c["\u0275\u0275listener"]("click",(function(){c["\u0275\u0275restoreView"](n);var e=c["\u0275\u0275nextContext"](3).$implicit;return c["\u0275\u0275nextContext"](2).download(e)})),c["\u0275\u0275elementEnd"]()}2&e&&c["\u0275\u0275attribute"]("data-automation-id","file-download")}function fl(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"button",25),c["\u0275\u0275listener"]("click",(function(){c["\u0275\u0275restoreView"](n);var e=c["\u0275\u0275nextContext"](3).$implicit;return c["\u0275\u0275nextContext"](2).remove(e)})),c["\u0275\u0275elementEnd"]()}2&e&&c["\u0275\u0275attribute"]("data-automation-id","file-remove")}function ml(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"div"),c["\u0275\u0275template"](1,hl,1,1,"button",22),c["\u0275\u0275template"](2,fl,1,1,"button",23),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](2).$implicit,r=c["\u0275\u0275nextContext"](2);c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",r.layoutOptions.download),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",!r.disabled&&(r.layoutOptions.removable||!r.layoutOptions.removable&&r.layoutOptions.removableWhenNew&&!n.link))}}function pl(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"button",27),c["\u0275\u0275listener"]("click",(function(){c["\u0275\u0275restoreView"](n);var e=c["\u0275\u0275nextContext"](3).$implicit;return c["\u0275\u0275nextContext"](2).customEdit(e)})),c["\u0275\u0275elementEnd"]()}2&e&&c["\u0275\u0275attribute"]("data-automation-id","file-edit")}function vl(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"button",24),c["\u0275\u0275listener"]("click",(function(){c["\u0275\u0275restoreView"](n);var e=c["\u0275\u0275nextContext"](3).$implicit;return c["\u0275\u0275nextContext"](2).customSave(e)})),c["\u0275\u0275elementEnd"]()}2&e&&c["\u0275\u0275attribute"]("data-automation-id","file-download")}function gl(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"button",25),c["\u0275\u0275listener"]("click",(function(){c["\u0275\u0275restoreView"](n);var e=c["\u0275\u0275nextContext"](3).$implicit;return c["\u0275\u0275nextContext"](2).customDelete(e)})),c["\u0275\u0275elementEnd"]()}2&e&&c["\u0275\u0275attribute"]("data-automation-id","file-remove")}function yl(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"div"),c["\u0275\u0275template"](1,pl,1,1,"button",26),c["\u0275\u0275template"](2,vl,1,1,"button",22),c["\u0275\u0275template"](3,gl,1,1,"button",23),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](4);c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.layoutOptions.edit&&!n.disabled),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.layoutOptions.download),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",!n.disabled)}}function bl(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"div",21),c["\u0275\u0275template"](1,ml,3,2,"div",17),c["\u0275\u0275template"](2,yl,4,3,"div",17),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](3);c["\u0275\u0275attribute"]("data-automation-id","file-actions"),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",!n.layoutOptions.customActions),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.layoutOptions.customActions)}}function kl(e,t){1&e&&c["\u0275\u0275element"](0,"novo-loading")}function Cl(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"div",15),c["\u0275\u0275template"](1,cl,1,0,"i",16),c["\u0275\u0275template"](2,ul,8,6,"label",17),c["\u0275\u0275template"](3,dl,3,3,"label",17),c["\u0275\u0275template"](4,bl,3,3,"div",18),c["\u0275\u0275template"](5,kl,1,0,"novo-loading",17),c["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=c["\u0275\u0275nextContext"](2);c["\u0275\u0275classProp"]("disabled",r.disabled),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",r.layoutOptions.draggable),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.link),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",!n.link),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.loaded),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",!n.loaded)}}function wl(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"div",13),c["\u0275\u0275template"](1,Cl,6,7,"div",14),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngForOf",n.files)}}function Sl(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"div",2),c["\u0275\u0275listener"]("click",(function(e){c["\u0275\u0275restoreView"](n);var r=t.$implicit;return c["\u0275\u0275nextContext"]().select(e,r)})),c["\u0275\u0275elementStart"](1,"input",3),c["\u0275\u0275listener"]("change",(function(e){c["\u0275\u0275restoreView"](n);var r=t.$implicit;return c["\u0275\u0275nextContext"]().select(e,r)}))("focus",(function(){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().setFocus(!0)}))("blur",(function(){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().setFocus(!1)})),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](2,"label"),c["\u0275\u0275text"](3),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit,i=t.index,o=c["\u0275\u0275nextContext"]();c["\u0275\u0275property"]("ngClass",c["\u0275\u0275pureFunction2"](9,jc,r.checked,r.disabled)),c["\u0275\u0275attribute"]("data-automation-id",r.label||r),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("name",o.name)("value",r.checked||r.value||r)("disabled",o.disabled),c["\u0275\u0275attribute"]("id",o.name+i),c["\u0275\u0275advance"](1),c["\u0275\u0275attribute"]("for",o.name+i)("data-automation-id",r.label||r),c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate1"](" ",r.label||r," ")}}function _l(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"div",17),c["\u0275\u0275elementStart"](1,"h4",18),c["\u0275\u0275text"](2),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](3,"h2",19),c["\u0275\u0275text"](4),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](5,"h1",20),c["\u0275\u0275text"](6),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](7,"h3",21),c["\u0275\u0275text"](8),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275advance"](1),c["\u0275\u0275attribute"]("data-automation-id",null==n.heading?null:n.heading.day),c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](null==n.heading?null:n.heading.day),c["\u0275\u0275advance"](1),c["\u0275\u0275attribute"]("data-automation-id",null==n.heading?null:n.heading.month),c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](null==n.heading?null:n.heading.month),c["\u0275\u0275advance"](1),c["\u0275\u0275attribute"]("data-automation-id",null==n.heading?null:n.heading.date),c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](null==n.heading?null:n.heading.date),c["\u0275\u0275advance"](1),c["\u0275\u0275attribute"]("data-automation-id",null==n.heading?null:n.heading.year),c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](null==n.heading?null:n.heading.year)}}function El(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"div",22),c["\u0275\u0275elementStart"](1,"span",23),c["\u0275\u0275listener"]("click",(function(){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().toggleRangeSelect("startDate")})),c["\u0275\u0275text"](2),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](3,"span",24),c["\u0275\u0275listener"]("click",(function(){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().toggleRangeSelect("endDate")})),c["\u0275\u0275text"](4),c["\u0275\u0275elementEnd"](),c["\u0275\u0275element"](5,"i",25),c["\u0275\u0275elementEnd"]()}if(2&e){var r=c["\u0275\u0275nextContext"]();c["\u0275\u0275classProp"]("week-select-mode",r.weekRangeSelect),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("@startDateTextState",r.rangeSelectMode),c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](r.selectedLabel),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("@endDateTextState",r.rangeSelectMode),c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](r.selected2Label),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("@indicatorState",r.rangeSelectMode)}}function Il(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"th",26),c["\u0275\u0275text"](1),c["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;c["\u0275\u0275propertyInterpolate"]("title",n),c["\u0275\u0275attribute"]("data-automation-id",n.substr(0,2)),c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](n.substr(0,2))}}var xl=function(e,t,n,r,i,o,a){return{today:e,notinmonth:t,selected:n,filler:r,startfill:i,endfill:o,"selecting-range":a}};function Ol(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"td",28),c["\u0275\u0275listener"]("mouseover",(function(e){c["\u0275\u0275restoreView"](n);var r=t.$implicit;return c["\u0275\u0275nextContext"](2).rangeHover(e,r)})),c["\u0275\u0275elementStart"](1,"button",29),c["\u0275\u0275listener"]("click",(function(e){c["\u0275\u0275restoreView"](n);var r=t.$implicit;return c["\u0275\u0275nextContext"](2).select(e,r,!0)})),c["\u0275\u0275text"](2),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit,i=c["\u0275\u0275nextContext"](2);c["\u0275\u0275property"]("ngClass",c["\u0275\u0275pureFunction7"](5,xl,r.isToday,r.date.getMonth()!==i.month.getMonth(),i.isSelected(i.range,r.date,i.selected,i.selected2),i.isFiller(i.range,r.date,i.selected,i.selected2),i.isStartFill(i.range,r.date,i.selected,i.selected2),i.isEndFill(i.range,r.date,i.selected,i.selected2),i.isSelectingRange(i.range,r.date,i.selected,i.selected2,i.hoverDay,i.rangeSelectMode,i.weekRangeSelect))),c["\u0275\u0275attribute"]("data-automation-id",r.number),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("disabled",i.isDisabled(r.date,i.start,i.end)),c["\u0275\u0275attribute"]("data-automation-id",r.number),c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](r.number)}}function Tl(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"tr"),c["\u0275\u0275template"](1,Ol,3,13,"td",27),c["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngForOf",n.days)}}var Al=function(e){return{selected:e}};function Pl(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"div",30),c["\u0275\u0275listener"]("click",(function(){c["\u0275\u0275restoreView"](n);var e=t.index;return c["\u0275\u0275nextContext"]().setMonth(e)})),c["\u0275\u0275elementStart"](1,"div",31),c["\u0275\u0275text"](2),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit,i=t.index,o=c["\u0275\u0275nextContext"]();c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngClass",c["\u0275\u0275pureFunction1"](3,Al,i===(null==o.selected?null:o.selected.getMonth()))),c["\u0275\u0275attribute"]("data-automation-id",r),c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](r)}}function Dl(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"div",30),c["\u0275\u0275listener"]("click",(function(){c["\u0275\u0275restoreView"](n);var e=t.$implicit;return c["\u0275\u0275nextContext"]().setYear(e)})),c["\u0275\u0275elementStart"](1,"div",32),c["\u0275\u0275text"](2),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit,i=c["\u0275\u0275nextContext"]();c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngClass",c["\u0275\u0275pureFunction1"](3,Al,r==(null==i.selected?null:i.selected.getFullYear()))),c["\u0275\u0275attribute"]("data-automation-id",r),c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](r)}}function Rl(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"i",6),c["\u0275\u0275listener"]("click",(function(){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().openPanel()})),c["\u0275\u0275elementEnd"]()}}function Ml(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"i",7),c["\u0275\u0275listener"]("click",(function(){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().clearValue()})),c["\u0275\u0275elementEnd"]()}}function Nl(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"h5"),c["\u0275\u0275text"](1),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](n.title)}}function jl(e,t){if(1&e&&c["\u0275\u0275element"](0,"p",8),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275classProp"]("message-only",!n.title),c["\u0275\u0275property"]("innerHtml",n._message,c["\u0275\u0275sanitizeHtml"])}}function Fl(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"div",9),c["\u0275\u0275element"](1,"input",10),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("value",n.link)}}function Ll(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"div",11),c["\u0275\u0275listener"]("click",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().close(e)})),c["\u0275\u0275element"](1,"i",12),c["\u0275\u0275elementEnd"]()}}function Vl(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"span",6),c["\u0275\u0275elementStart"](1,"span",7),c["\u0275\u0275text"](2),c["\u0275\u0275elementEnd"](),c["\u0275\u0275text"](3,":"),c["\u0275\u0275elementStart"](4,"span",8),c["\u0275\u0275text"](5),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275advance"](2),c["\u0275\u0275textInterpolate"](n.hours),c["\u0275\u0275advance"](3),c["\u0275\u0275textInterpolate"](n.minutes)}}function Bl(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"span",11),c["\u0275\u0275listener"]("click",(function(e){c["\u0275\u0275restoreView"](n);var r=t.$implicit;return c["\u0275\u0275nextContext"](2).setPeriod(e,r,!0)})),c["\u0275\u0275text"](1),c["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit,i=c["\u0275\u0275nextContext"](2);c["\u0275\u0275classProp"]("active",i.meridian==r),c["\u0275\u0275attribute"]("data-automation-id",r),c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](r)}}function Ul(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"div",9),c["\u0275\u0275template"](1,Bl,2,4,"span",10),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngForOf",n.MERIDIANS)}}function Hl(e,t){1&e&&c["\u0275\u0275element"](0,"i",17)}function Gl(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"novo-list-item",15),c["\u0275\u0275listener"]("click",(function(e){c["\u0275\u0275restoreView"](n);var r=t.$implicit;return c["\u0275\u0275nextContext"](2).setValue(e,r)})),c["\u0275\u0275elementStart"](1,"item-content"),c["\u0275\u0275text"](2),c["\u0275\u0275elementEnd"](),c["\u0275\u0275template"](3,Hl,1,0,"i",16),c["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit,i=c["\u0275\u0275nextContext"](2);c["\u0275\u0275classProp"]("active",r==i.selected),c["\u0275\u0275attribute"]("data-automation-id",r),c["\u0275\u0275advance"](2),c["\u0275\u0275textInterpolate"](r),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",r==i.selected)}}function ql(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"div",12),c["\u0275\u0275elementStart"](1,"novo-list",13),c["\u0275\u0275template"](2,Gl,4,5,"novo-list-item",14),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("ngForOf",n.increments)}}function Kl(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"span",30),c["\u0275\u0275listener"]("click",(function(e){c["\u0275\u0275restoreView"](n);var r=t.$implicit;return c["\u0275\u0275nextContext"](2).setHours(e,r,!0)})),c["\u0275\u0275text"](1),c["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit,i=c["\u0275\u0275nextContext"](2);c["\u0275\u0275property"]("ngClass",c["\u0275\u0275pureFunction1"](3,hc,i.activeHour==r)),c["\u0275\u0275attribute"]("data-automation-id",r),c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](r)}}function zl(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"span",31),c["\u0275\u0275listener"]("click",(function(e){c["\u0275\u0275restoreView"](n);var r=t.$implicit;return c["\u0275\u0275nextContext"](2).setMinutes(e,r,!0)})),c["\u0275\u0275text"](1),c["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit,i=c["\u0275\u0275nextContext"](2);c["\u0275\u0275property"]("ngClass",c["\u0275\u0275pureFunction1"](3,hc,i.activeMinute==r)),c["\u0275\u0275attribute"]("data-automation-id",r),c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](r)}}var Yl=function(e){return{between:e}};function Wl(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"div",18),c["\u0275\u0275elementStart"](1,"div",19),c["\u0275\u0275elementStart"](2,"div",20),c["\u0275\u0275element"](3,"span",21),c["\u0275\u0275elementStart"](4,"span",22),c["\u0275\u0275element"](5,"span",23),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](6,"span",24),c["\u0275\u0275element"](7,"span",25),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](8,"div",26),c["\u0275\u0275template"](9,Kl,2,5,"span",27),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](10,"div",28),c["\u0275\u0275template"](11,zl,2,5,"span",29),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275advance"](4),c["\u0275\u0275property"]("ngClass",n.hoursClass),c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("ngClass",n.minutesClass),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngClass",c["\u0275\u0275pureFunction1"](5,Yl,n.inBetween)),c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("ngForOf",n.HOURS),c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("ngForOf",n.MINUTES)}}function Zl(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"i",6),c["\u0275\u0275listener"]("click",(function(){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().openPanel()})),c["\u0275\u0275elementEnd"]()}}function Jl(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"i",7),c["\u0275\u0275listener"]("click",(function(){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().clearValue()})),c["\u0275\u0275elementEnd"]()}}var Ql=[[["header"]],[["section"]],[["button"]]],Xl=["header","section","button"];function $l(e,t){if(1&e&&c["\u0275\u0275element"](0,"i",3),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275property"]("ngClass",n.iconType)}}var eu=[[["label"]],[["h1"]],[["h2"]],[["p"]],[["button"]]],tu=["label","h1","h2","p","button"];function nu(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"h2"),c["\u0275\u0275elementStart"](1,"label"),c["\u0275\u0275text"](2),c["\u0275\u0275elementEnd"](),c["\u0275\u0275text"](3),c["\u0275\u0275element"](4,"i",4),c["\u0275\u0275text"](5),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275advance"](2),c["\u0275\u0275textInterpolate1"]("",n.params.label,":"),c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate1"](" ",n.params.oldValue," "),c["\u0275\u0275advance"](2),c["\u0275\u0275textInterpolate1"](" ",n.params.newValue,"")}}function ru(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"h2"),c["\u0275\u0275text"](1),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](n.params.message)}}function iu(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"p"),c["\u0275\u0275text"](1),c["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](n)}}var ou=function(e){return{encrypted:e}};function au(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"label",13),c["\u0275\u0275text"](1),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275property"]("ngClass",c["\u0275\u0275pureFunction1"](3,ou,n.form.controls[n.control.key].encrypted)),c["\u0275\u0275attribute"]("for",n.control.key),c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate1"](" ",n.form.controls[n.control.key].label," ")}}function su(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"label",14),c["\u0275\u0275text"](1),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275classProp"]("novo-control-empty",!n.hasValue)("novo-control-focused",n.focused)("novo-control-filled",n.hasValue)("novo-control-always-active",n.alwaysActive||n.form.controls[n.control.key].placeholder)("novo-control-extra-spacing",n.requiresExtraSpacing),c["\u0275\u0275attribute"]("for",n.control.key),c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate1"](" ",n.form.controls[n.control.key].label," ")}}function cu(e,t){if(1&e&&c["\u0275\u0275element"](0,"i",15),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275classMapInterpolate1"]("required-indicator ",n.form.controls[n.control.key].controlType,""),c["\u0275\u0275property"]("hidden",!n.form.controls[n.control.key].required||n.form.controls[n.control.key].readOnly)("ngClass",c["\u0275\u0275pureFunction2"](5,Lc,!n.isValid,n.isValid))}}function lu(e,t){1&e&&c["\u0275\u0275elementContainer"](0)}function uu(e,t){if(1&e&&(c["\u0275\u0275elementContainerStart"](0),c["\u0275\u0275template"](1,lu,1,0,"ng-container",16),c["\u0275\u0275elementContainerEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngTemplateOutlet",n.templates[n.form.controls[n.control.key].controlType])("ngTemplateOutletContext",n.templateContext)}}function du(e,t){1&e&&(c["\u0275\u0275elementContainerStart"](0),c["\u0275\u0275elementStart"](1,"div",17),c["\u0275\u0275element"](2,"input",18),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementContainerEnd"]())}function hu(e,t){1&e&&c["\u0275\u0275element"](0,"span",25)}function fu(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"span",25),c["\u0275\u0275text"](1),c["\u0275\u0275pipe"](2,"uppercase"),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](2);c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate2"]("",c["\u0275\u0275pipeBind1"](2,2,n.form.controls[n.control.key].label)," ",n.labels.isRequired,"")}}function mu(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"span",25),c["\u0275\u0275text"](1),c["\u0275\u0275pipe"](2,"uppercase"),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](2);c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate3"]("",c["\u0275\u0275pipeBind1"](2,3,n.form.controls[n.control.key].label)," ",n.labels.minLength," ",n.form.controls[n.control.key].minlength,"")}}function pu(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"span",25),c["\u0275\u0275text"](1),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](2);c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](n.labels.maxlengthMet(n.form.controls[n.control.key].maxlength))}}function vu(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"span",25),c["\u0275\u0275text"](1),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](2);c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](n.labels.invalidMaxlength(n.form.controls[n.control.key].maxlength))}}function gu(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"span",25),c["\u0275\u0275text"](1),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](2);c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](n.labels.maxRecordsReached)}}function yu(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"span",25),c["\u0275\u0275text"](1),c["\u0275\u0275pipe"](2,"uppercase"),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](2);c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate2"]("",c["\u0275\u0275pipeBind1"](2,2,n.form.controls[n.control.key].label)," ",n.labels.invalidEmail,"")}}function bu(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"span",25),c["\u0275\u0275text"](1),c["\u0275\u0275pipe"](2,"uppercase"),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](2);c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate2"]("",c["\u0275\u0275pipeBind1"](2,2,n.form.controls[n.control.key].label)," ",n.labels.isTooLarge,"")}}function ku(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"span"),c["\u0275\u0275text"](1),c["\u0275\u0275pipe"](2,"uppercase"),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](2);c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate2"]("",c["\u0275\u0275pipeBind1"](2,2,n.form.controls[n.control.key].label)," ",n.labels.notValidYear,"")}}function Cu(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"span",25),c["\u0275\u0275text"](1),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](2);c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](n.errors.custom)}}function wu(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"span",25),c["\u0275\u0275text"](1),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](2);c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate1"](" ",n.labels.invalidMaxlengthWithField(null==n.control.config[n.maxlengthErrorField]?null:n.control.config[n.maxlengthErrorField].label,null==n.control.config[n.maxlengthErrorField]?null:n.control.config[n.maxlengthErrorField].maxlength)," ")}}function Su(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"span",25),c["\u0275\u0275text"](1),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](2);c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate1"](" ",n.labels.maxlengthMetWithField(null==n.control.config[n.maxlengthMetField]?null:n.control.config[n.maxlengthMetField].label,null==n.control.config[n.maxlengthMetField]?null:n.control.config[n.maxlengthMetField].maxlength)," ")}}function _u(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"span",25),c["\u0275\u0275text"](1),c["\u0275\u0275pipe"](2,"uppercase"),c["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=c["\u0275\u0275nextContext"](3);c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate2"]("",c["\u0275\u0275pipeBind1"](2,2,n)," ",r.labels.isRequired," ")}}function Eu(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"span"),c["\u0275\u0275template"](1,_u,3,4,"span",26),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](2);c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngForOf",null==n.errors?null:n.errors.invalidAddressFields)}}function Iu(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"span",27),c["\u0275\u0275text"](1),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](2);c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate1"](" ",n.form.controls[n.control.key].description," ")}}function xu(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"span",28),c["\u0275\u0275text"](1),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](2);c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](n.form.controls[n.control.key].warning)}}function Ou(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"span",29),c["\u0275\u0275text"](1),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](2);c["\u0275\u0275classProp"]("error",(null==n.errors?null:n.errors.maxlength)&&!(null!=n.errors&&n.errors.maxlengthFields)||(null==n.errors?null:n.errors.maxlength)&&(null==n.errors?null:n.errors.maxlengthFields)&&n.errors.maxlengthFields.includes(n.focusedField)),c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate2"]("",n.itemCount,"/",n.maxLength||n.form.controls[n.control.key].maxlength,"")}}function Tu(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"span",30),c["\u0275\u0275text"](1),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](2);c["\u0275\u0275classProp"]("zero-count",0===n.itemCount)("row-picker",n.form.controls[n.control.key].config.columns),c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate2"]("",n.itemCount,"/",n.maxLength||n.form.controls[n.control.key].maxlength,"")}}function Au(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"div",13),c["\u0275\u0275elementStart"](1,"div",19),c["\u0275\u0275template"](2,hu,1,0,"span",20),c["\u0275\u0275template"](3,fu,3,4,"span",20),c["\u0275\u0275template"](4,mu,3,5,"span",20),c["\u0275\u0275template"](5,pu,2,1,"span",20),c["\u0275\u0275template"](6,vu,2,1,"span",20),c["\u0275\u0275template"](7,gu,2,1,"span",20),c["\u0275\u0275template"](8,yu,3,4,"span",20),c["\u0275\u0275template"](9,bu,3,4,"span",20),c["\u0275\u0275template"](10,ku,3,4,"span",9),c["\u0275\u0275template"](11,Cu,2,1,"span",20),c["\u0275\u0275template"](12,wu,2,1,"span",20),c["\u0275\u0275template"](13,Su,2,1,"span",20),c["\u0275\u0275template"](14,Eu,2,1,"span",9),c["\u0275\u0275template"](15,Iu,2,1,"span",21),c["\u0275\u0275template"](16,xu,2,1,"span",22),c["\u0275\u0275elementEnd"](),c["\u0275\u0275template"](17,Ou,2,4,"span",23),c["\u0275\u0275template"](18,Tu,2,6,"span",24),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275classMapInterpolate1"]("field-message ",n.form.controls[n.control.key].controlType,""),c["\u0275\u0275classProp"]("has-tip",n.form.controls[n.control.key].tipWell),c["\u0275\u0275property"]("ngClass",n.showErrorState||n.showMaxLengthMetMessage?"error-shown":"error-hidden"),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngClass",n.showMessages?"count-shown messages-shown":"count-hidden messages-hidden"),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.showFieldMessage),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.isDirty&&(null==n.errors?null:n.errors.required)&&"address"!==n.form.controls[n.control.key].controlType),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.isDirty&&(null==n.errors?null:n.errors.minlength)),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.isDirty&&n.maxLengthMet&&n.focused&&!(null!=n.errors&&n.errors.maxlength)&&"picker"!==n.form.controls[n.control.key].controlType),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",(null==n.errors?null:n.errors.maxlength)&&n.focused&&!(null!=n.errors&&n.errors.maxlengthFields)),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.maxLengthMet&&"picker"===n.form.controls[n.control.key].controlType),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.isDirty&&(null==n.errors?null:n.errors.invalidEmail)),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.isDirty&&((null==n.errors?null:n.errors.integerTooLarge)||(null==n.errors?null:n.errors.doubleTooLarge))),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.isDirty&&(null==n.errors?null:n.errors.minYear)),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.isDirty&&(null==n.errors?null:n.errors.custom)),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",(null==n.errors?null:n.errors.maxlength)&&(null==n.errors?null:n.errors.maxlengthFields)&&n.maxlengthErrorField&&n.focused),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.isDirty&&n.maxlengthMetField&&n.focused&&!(null!=n.errors&&null!=n.errors.maxlengthFields&&n.errors.maxlengthFields.includes(n.maxlengthMetField))),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.isDirty&&(null==n.errors?null:n.errors.invalidAddress)),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.form.controls[n.control.key].description),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.form.controls[n.control.key].warning),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.showCount&&"picker"!==n.form.controls[n.control.key].controlType),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.showCount&&"picker"===n.form.controls[n.control.key].controlType)}}function Pu(e,t){if(1&e&&c["\u0275\u0275element"](0,"novo-tip-well",31),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275property"]("name",n.control.key)("tip",null==n.form.controls[n.control.key]||null==n.form.controls[n.control.key].tipWell?null:n.form.controls[n.control.key].tipWell.tip)("icon",null==n.form.controls[n.control.key]||null==n.form.controls[n.control.key].tipWell?null:n.form.controls[n.control.key].tipWell.icon)("button",null==n.form.controls[n.control.key]||null==n.form.controls[n.control.key].tipWell?null:n.form.controls[n.control.key].tipWell.button)("sanitize",null==n.form.controls[n.control.key]||null==n.form.controls[n.control.key].tipWell?null:n.form.controls[n.control.key].tipWell.sanitize)}}function Du(e,t){1&e&&(c["\u0275\u0275elementStart"](0,"i",32),c["\u0275\u0275namespaceSVG"](),c["\u0275\u0275elementStart"](1,"svg",33),c["\u0275\u0275elementStart"](2,"style",34),c["\u0275\u0275text"](3," .spinner { fill:#FFFFFF; } "),c["\u0275\u0275elementEnd"](),c["\u0275\u0275element"](4,"path",35),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]())}function Ru(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"div"),c["\u0275\u0275text"](1),c["\u0275\u0275elementEnd"]()),2&e){var n=t.form,r=t.$implicit;c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](n.value[r.key])}}function Mu(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"input",23),c["\u0275\u0275listener"]("input",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().methods.emitChange(e)}))("focus",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().methods.handleFocus(e)}))("blur",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().methods.handleBlur(e)})),c["\u0275\u0275elementEnd"]()}if(2&e){var r=c["\u0275\u0275nextContext"]().$implicit;c["\u0275\u0275property"]("textMask",r.maskOptions)("formControlName",r.key)("id",r.key)("type",null==r?null:r.type)("placeholder",null==r?null:r.placeholder)}}function Nu(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"input",24),c["\u0275\u0275listener"]("input",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().methods.emitChange(e)}))("focus",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().methods.handleFocus(e)}))("blur",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().methods.handleBlur(e)})),c["\u0275\u0275elementEnd"]()}if(2&e){var r=c["\u0275\u0275nextContext"](),i=r.errors,o=r.$implicit;c["\u0275\u0275classProp"]("maxlength-error",null==i?null:i.maxlength),c["\u0275\u0275property"]("formControlName",o.key)("id",o.key)("type",null==o?null:o.type)("placeholder",null==o?null:o.placeholder)("maxlength",null==o?null:o.maxlength)}}function ju(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"input",25,26),c["\u0275\u0275listener"]("keydown",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().methods.restrictKeys(e)}))("input",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().methods.emitChange(e)}))("focus",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().methods.handleFocus(e)}))("blur",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().methods.handleBlur(e)}))("mousewheel",(function(){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275reference"](1).blur()})),c["\u0275\u0275elementEnd"]()}if(2&e){var r=c["\u0275\u0275nextContext"](),i=r.errors,o=r.$implicit;c["\u0275\u0275classProp"]("maxlength-error",null==i?null:i.maxlength),c["\u0275\u0275property"]("formControlName",o.key)("id",o.key)("type",null==o?null:o.type)("placeholder",null==o?null:o.placeholder)("maxlength",null==o?null:o.maxlength)}}function Fu(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"input",27,28),c["\u0275\u0275listener"]("keydown",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().methods.restrictKeys(e)}))("input",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().methods.handlePercentChange(e)}))("focus",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().methods.handleFocus(e)}))("blur",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().methods.handleBlur(e)}))("mousewheel",(function(){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275reference"](1).blur()})),c["\u0275\u0275elementEnd"]()}if(2&e){var r=c["\u0275\u0275nextContext"]().$implicit;c["\u0275\u0275property"]("id",r.key)("type",null==r?null:r.type)("placeholder",null==r?null:r.placeholder)("value",null==r?null:r.percentValue)("disabled",null==r?null:r.readOnly)}}function Lu(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"label",29),c["\u0275\u0275text"](1),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]().$implicit;c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](n.currencyFormat)}}function Vu(e,t){1&e&&(c["\u0275\u0275elementStart"](0,"label",29),c["\u0275\u0275text"](1,"%"),c["\u0275\u0275elementEnd"]())}function Bu(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"div",17),c["\u0275\u0275template"](1,Mu,1,5,"input",18),c["\u0275\u0275template"](2,Nu,1,7,"input",19),c["\u0275\u0275template"](3,ju,2,7,"input",20),c["\u0275\u0275template"](4,Fu,2,5,"input",21),c["\u0275\u0275template"](5,Lu,2,1,"label",22),c["\u0275\u0275template"](6,Vu,2,0,"label",22),c["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;c["\u0275\u0275property"]("formGroup",t.form)("tooltip",null==n?null:n.tooltip)("tooltipPosition",null==n?null:n.tooltipPosition)("tooltipSize",null==n?null:n.tooltipSize)("tooltipPreline",null==n?null:n.tooltipPreline)("removeTooltipArrow",null==n?null:n.removeTooltipArrow)("tooltipAutoPosition",null==n?null:n.tooltipAutoPosition),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf","number"!==(null==n?null:n.type)&&(null==n?null:n.textMaskEnabled)),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf","number"!==(null==n?null:n.type)&&!(null!=n&&n.textMaskEnabled)),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf","number"===(null==n?null:n.type)&&"percentage"!==(null==n?null:n.subType)),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf","number"===(null==n?null:n.type)&&"percentage"===(null==n?null:n.subType)),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf","currency"===(null==n?null:n.subType)),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf","percentage"===(null==n?null:n.subType))}}function Uu(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"div",30),c["\u0275\u0275elementStart"](1,"textarea",31),c["\u0275\u0275listener"]("input",(function(e){return c["\u0275\u0275restoreView"](n),t.methods.handleTextAreaInput(e)}))("focus",(function(e){return c["\u0275\u0275restoreView"](n),t.methods.handleFocus(e)}))("blur",(function(e){return c["\u0275\u0275restoreView"](n),t.methods.handleBlur(e)})),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit,i=t.errors;c["\u0275\u0275property"]("formGroup",t.form)("tooltip",null==r?null:r.tooltip)("tooltipPosition",null==r?null:r.tooltipPosition)("tooltipSize",null==r?null:r.tooltipSize)("tooltipPreline",null==r?null:r.tooltipPreline)("removeTooltipArrow",null==r?null:r.removeTooltipArrow)("tooltipAutoPosition",null==r?null:r.tooltipAutoPosition),c["\u0275\u0275advance"](1),c["\u0275\u0275classProp"]("maxlength-error",null==i?null:i.maxlength),c["\u0275\u0275property"]("name",r.key)("placeholder",r.placeholder)("formControlName",r.key)("maxlength",null==r?null:r.maxlength),c["\u0275\u0275attribute"]("id",r.key)}}function Hu(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"div",32),c["\u0275\u0275elementStart"](1,"novo-editor",33),c["\u0275\u0275listener"]("focus",(function(e){return c["\u0275\u0275restoreView"](n),t.methods.handleFocus(e)}))("blur",(function(e){return c["\u0275\u0275restoreView"](n),t.methods.handleBlur(e)})),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit;c["\u0275\u0275property"]("formGroup",t.form),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("name",r.key)("formControlName",r.key)("startupFocus",r.startupFocus)("minimal",r.minimal)("fileBrowserImageUploadUrl",r.fileBrowserImageUploadUrl)("config",r.config)}}function Gu(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"option",37),c["\u0275\u0275text"](1),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]().$implicit;c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](n.placeholder)}}function qu(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"option",38),c["\u0275\u0275text"](1),c["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;c["\u0275\u0275property"]("value",n.key),c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](n.value)}}function Ku(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"div",32),c["\u0275\u0275elementStart"](1,"select",34),c["\u0275\u0275template"](2,Gu,2,1,"option",35),c["\u0275\u0275template"](3,qu,2,2,"option",36),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;c["\u0275\u0275property"]("formGroup",t.form),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("id",n.key)("formControlName",n.key)("tooltip",n.tooltip)("tooltipPosition",n.tooltipPosition)("tooltipSize",null==n?null:n.tooltipSize)("tooltipPreline",null==n?null:n.tooltipPreline)("removeTooltipArrow",null==n?null:n.removeTooltipArrow)("tooltipAutoPosition",null==n?null:n.tooltipAutoPosition),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.placeholder),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngForOf",n.options)}}function zu(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"div",32),c["\u0275\u0275elementStart"](1,"novo-file-input",39),c["\u0275\u0275listener"]("edit",(function(e){return c["\u0275\u0275restoreView"](n),t.methods.handleEdit(e)}))("save",(function(e){return c["\u0275\u0275restoreView"](n),t.methods.handleSave(e)}))("delete",(function(e){return c["\u0275\u0275restoreView"](n),t.methods.handleDelete(e)}))("upload",(function(e){return c["\u0275\u0275restoreView"](n),t.methods.handleUpload(e)})),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit;c["\u0275\u0275property"]("formGroup",t.form),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("formControlName",r.key)("id",r.key)("name",r.key)("placeholder",r.placeholder)("value",r.value)("multiple",r.multiple)("layoutOptions",r.layoutOptions)("tooltip",r.tooltip)("tooltipPosition",r.tooltipPosition)("tooltipSize",null==r?null:r.tooltipSize)("tooltipPreline",null==r?null:r.tooltipPreline)("removeTooltipArrow",null==r?null:r.removeTooltipArrow)("tooltipAutoPosition",null==r?null:r.tooltipAutoPosition)}}function Yu(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"div",32),c["\u0275\u0275elementStart"](1,"novo-tiles",40),c["\u0275\u0275listener"]("onChange",(function(e){return c["\u0275\u0275restoreView"](n),t.methods.modelChange(e)})),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit;c["\u0275\u0275property"]("formGroup",t.form),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("options",r.options)("formControlName",r.key)("tooltip",r.tooltip)("tooltipPosition",r.tooltipPosition)("tooltipSize",null==r?null:r.tooltipSize)("tooltipPreline",null==r?null:r.tooltipPreline)("removeTooltipArrow",null==r?null:r.removeTooltipArrow)("tooltipAutoPosition",null==r?null:r.tooltipAutoPosition)("controlDisabled",r.disabled)}}function Wu(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"novo-picker",45),c["\u0275\u0275listener"]("select",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().methods.modelChange(e)}))("changed",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().methods.modelChangeWithRaw(e)}))("typing",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().methods.handleTyping(e)}))("focus",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().methods.handleFocus(e)}))("blur",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().methods.handleBlur(e)})),c["\u0275\u0275elementEnd"]()}if(2&e){var r=c["\u0275\u0275nextContext"]().$implicit;c["\u0275\u0275property"]("config",r.config)("formControlName",r.key)("placeholder",r.placeholder)("parentScrollSelector",r.parentScrollSelector)("tooltip",r.tooltip)("tooltipPosition",r.tooltipPosition)("tooltipSize",null==r?null:r.tooltipSize)("tooltipPreline",null==r?null:r.tooltipPreline)("removeTooltipArrow",null==r?null:r.removeTooltipArrow)("tooltipAutoPosition",null==r?null:r.tooltipAutoPosition)}}function Zu(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"novo-chips",46),c["\u0275\u0275listener"]("changed",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().methods.modelChangeWithRaw(e)}))("typing",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().methods.handleTyping(e)}))("focus",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().methods.handleFocus(e)}))("blur",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().methods.handleBlur(e)})),c["\u0275\u0275elementEnd"]()}if(2&e){var r=c["\u0275\u0275nextContext"]().$implicit;c["\u0275\u0275property"]("source",r.config)("type",r.config.type)("formControlName",r.key)("placeholder",r.placeholder)("maxlength",null==r?null:r.maxlength)("closeOnSelect",r.closeOnSelect)("tooltip",r.tooltip)("tooltipPosition",r.tooltipPosition)("tooltipSize",null==r?null:r.tooltipSize)("tooltipPreline",null==r?null:r.tooltipPreline)("removeTooltipArrow",null==r?null:r.removeTooltipArrow)("tooltipAutoPosition",null==r?null:r.tooltipAutoPosition)}}function Ju(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"novo-row-chips",47),c["\u0275\u0275listener"]("changed",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().methods.modelChangeWithRaw(e)}))("typing",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().methods.handleTyping(e)}))("focus",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().methods.handleFocus(e)}))("blur",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().methods.handleBlur(e)})),c["\u0275\u0275elementEnd"]()}if(2&e){var r=c["\u0275\u0275nextContext"]().$implicit;c["\u0275\u0275property"]("source",r.config)("type",r.config.type)("formControlName",r.key)("placeholder",r.placeholder)("closeOnSelect",r.closeOnSelect)("tooltip",r.tooltip)("tooltipPosition",r.tooltipPosition)("tooltipSize",null==r?null:r.tooltipSize)("tooltipPreline",null==r?null:r.tooltipPreline)("removeTooltipArrow",null==r?null:r.removeTooltipArrow)("tooltipAutoPosition",null==r?null:r.tooltipAutoPosition)}}function Qu(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"div",41),c["\u0275\u0275template"](1,Wu,1,10,"novo-picker",42),c["\u0275\u0275template"](2,Zu,1,12,"novo-chips",43),c["\u0275\u0275template"](3,Ju,1,11,"novo-row-chips",44),c["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;c["\u0275\u0275property"]("formGroup",t.form),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",!n.multiple),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.multiple&&!n.config.columns),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.multiple&&n.config.columns)}}function Xu(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"div",32),c["\u0275\u0275elementStart"](1,"novo-select",48),c["\u0275\u0275listener"]("onSelect",(function(e){return c["\u0275\u0275restoreView"](n),t.methods.modelChange(e)})),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit;c["\u0275\u0275property"]("formGroup",t.form),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("options",r.options)("headerConfig",r.headerConfig)("placeholder",r.placeholder)("formControlName",r.key)("tooltip",r.tooltip)("tooltipPosition",r.tooltipPosition)("tooltipSize",null==r?null:r.tooltipSize)("tooltipPreline",null==r?null:r.tooltipPreline)("removeTooltipArrow",null==r?null:r.removeTooltipArrow)("tooltipAutoPosition",null==r?null:r.tooltipAutoPosition)}}function $u(e,t){if(1&e&&c["\u0275\u0275element"](0,"novo-radio",50),2&e){var n=t.$implicit,r=c["\u0275\u0275nextContext"](),i=r.$implicit,o=r.form;c["\u0275\u0275property"]("name",i.key)("formControlName",i.key)("value",n.value)("label",n.label)("checked",n.value===o.value[i.key]||o.value[i.key]&&n.value===o.value[i.key].id)("tooltip",i.tooltip)("tooltipPosition",i.tooltipPosition)("tooltipSize",null==i?null:i.tooltipSize)("tooltipPreline",null==i?null:i.tooltipPreline)("removeTooltipArrow",null==i?null:i.removeTooltipArrow)("tooltipAutoPosition",null==i?null:i.tooltipAutoPosition)("button",!!n.icon)("icon",n.icon),c["\u0275\u0275attribute"]("data-automation-id",i.key+"-"+((null==n?null:n.label)||(null==n?null:n.value)))}}function ed(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"div",41),c["\u0275\u0275template"](1,$u,1,14,"novo-radio",49),c["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;c["\u0275\u0275property"]("formGroup",t.form),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngForOf",n.options)}}function td(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"div",51),c["\u0275\u0275element"](1,"novo-time-picker-input",52),c["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;c["\u0275\u0275property"]("formGroup",t.form)("tooltip",null==n?null:n.tooltip)("tooltipPosition",null==n?null:n.tooltipPosition)("tooltipSize",null==n?null:n.tooltipSize)("tooltipPreline",null==n?null:n.tooltipPreline)("removeTooltipArrow",null==n?null:n.removeTooltipArrow)("tooltipAutoPosition",null==n?null:n.tooltipAutoPosition),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("name",n.key)("formControlName",n.key)("placeholder",n.placeholder)("military",n.military),c["\u0275\u0275attribute"]("id",n.key)}}function nd(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"div",51),c["\u0275\u0275elementStart"](1,"novo-date-picker-input",53),c["\u0275\u0275listener"]("focusEvent",(function(e){return c["\u0275\u0275restoreView"](n),t.methods.handleFocus(e)}))("blurEvent",(function(e){return c["\u0275\u0275restoreView"](n),t.methods.handleBlur(e)}))("changeEvent",(function(e){return c["\u0275\u0275restoreView"](n),t.methods.emitChange(e)})),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit;c["\u0275\u0275property"]("formGroup",t.form)("tooltip",r.tooltip)("tooltipPosition",r.tooltipPosition)("tooltipSize",null==r?null:r.tooltipSize)("tooltipPreline",null==r?null:r.tooltipPreline)("removeTooltipArrow",null==r?null:r.removeTooltipArrow)("tooltipAutoPosition",null==r?null:r.tooltipAutoPosition),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("name",r.key)("formControlName",r.key)("start",r.startDate)("end",r.endDate)("format",r.dateFormat)("allowInvalidDate",r.allowInvalidDate)("textMaskEnabled",r.textMaskEnabled)("placeholder",r.placeholder)("weekStart",r.weekStart),c["\u0275\u0275attribute"]("id",r.key)}}function rd(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"div",51),c["\u0275\u0275elementStart"](1,"novo-date-time-picker-input",54),c["\u0275\u0275listener"]("focusEvent",(function(e){return c["\u0275\u0275restoreView"](n),t.methods.handleFocus(e)}))("blurEvent",(function(e){return c["\u0275\u0275restoreView"](n),t.methods.handleBlur(e)}))("changeEvent",(function(e){return c["\u0275\u0275restoreView"](n),t.methods.emitChange(e)})),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit;c["\u0275\u0275property"]("formGroup",t.form)("tooltip",r.tooltip)("tooltipPosition",r.tooltipPosition)("tooltipSize",null==r?null:r.tooltipSize)("tooltipPreline",null==r?null:r.tooltipPreline)("removeTooltipArrow",null==r?null:r.removeTooltipArrow)("tooltipAutoPosition",null==r?null:r.tooltipAutoPosition),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("name",r.key)("formControlName",r.key)("start",r.startDate)("end",r.endDate)("placeholder",r.placeholder)("military",r.military)("weekStart",r.weekStart),c["\u0275\u0275attribute"]("id",r.key)}}function id(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"div",32),c["\u0275\u0275elementStart"](1,"novo-address",55),c["\u0275\u0275listener"]("change",(function(e){return c["\u0275\u0275restoreView"](n),t.methods.handleAddressChange(e)}))("focus",(function(e){return c["\u0275\u0275restoreView"](n),t.methods.handleFocus(e.event,e.field)}))("blur",(function(e){return c["\u0275\u0275restoreView"](n),t.methods.handleBlur(e.event,e.field)}))("validityChange",(function(){return t.methods.updateValidity()})),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit;c["\u0275\u0275property"]("formGroup",t.form),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("formControlName",r.key)("config",null==r?null:r.config)("readOnly",null==r?null:r.readOnly)}}function od(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"div",32),c["\u0275\u0275element"](1,"novo-checkbox",56),c["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;c["\u0275\u0275property"]("formGroup",t.form),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("formControlName",null==n?null:n.key)("name",null==n?null:n.key)("label",null==n?null:n.checkboxLabel)("tooltip",null==n?null:n.tooltip)("tooltipPosition",null==n?null:n.tooltipPosition)("tooltipSize",null==n?null:n.tooltipSize)("tooltipPreline",null==n?null:n.tooltipPreline)("removeTooltipArrow",null==n?null:n.removeTooltipArrow)("tooltipAutoPosition",null==n?null:n.tooltipAutoPosition)("layoutOptions",null==n?null:n.layoutOptions)}}function ad(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"div",32),c["\u0275\u0275elementStart"](1,"novo-check-list",57),c["\u0275\u0275listener"]("onSelect",(function(e){return c["\u0275\u0275restoreView"](n),t.methods.modelChange(e)})),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit;c["\u0275\u0275property"]("formGroup",t.form),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("formControlName",r.key)("name",r.key)("options",null==r?null:r.options)("tooltip",null==r?null:r.tooltip)("tooltipPosition",null==r?null:r.tooltipPosition)("tooltipSize",null==r?null:r.tooltipSize)("tooltipPreline",null==r?null:r.tooltipPreline)("removeTooltipArrow",null==r?null:r.removeTooltipArrow)("tooltipAutoPosition",null==r?null:r.tooltipAutoPosition)}}function sd(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"div",32),c["\u0275\u0275elementStart"](1,"novo-quick-note",58),c["\u0275\u0275listener"]("change",(function(e){return c["\u0275\u0275restoreView"](n),t.methods.modelChange(e)})),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit;c["\u0275\u0275property"]("formGroup",t.form),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("formControlName",r.key)("startupFocus",null==r?null:r.startupFocus)("placeholder",null==r?null:r.placeholder)("config",null==r?null:r.config)("tooltip",null==r?null:r.tooltip)("tooltipPosition",null==r?null:r.tooltipPosition)("tooltipSize",null==r?null:r.tooltipSize)("removeTooltipArrow",null==r?null:r.removeTooltipArrow)("tooltipAutoPosition",null==r?null:r.tooltipAutoPosition)("tooltipPreline",null==r?null:r.tooltipPreline)}}function cd(e,t){1&e&&(c["\u0275\u0275elementStart"](0,"header"),c["\u0275\u0275projection"](1,1),c["\u0275\u0275projection"](2,2),c["\u0275\u0275elementEnd"]())}var ld=["*",[["form-title"]],[["form-subtitle"]]],ud=["*","form-title","form-subtitle"],dd=function(e,t,n){return{unchecked:e,checked:t,"has-icon":n}};function hd(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"button",4),c["\u0275\u0275text"](1),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275property"]("ngClass",c["\u0275\u0275pureFunction3"](4,dd,!n.checked,n.checked,!!n.icon))("theme",n.theme)("icon",n.icon),c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](n.label)}}var fd=function(e,t){return{"bhi-radio-empty":e,"bhi-radio-filled":t}};function md(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"div"),c["\u0275\u0275element"](1,"i",5),c["\u0275\u0275text"](2),c["\u0275\u0275projection"](3),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngClass",c["\u0275\u0275pureFunction2"](2,fd,!n.checked,n.checked)),c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate1"](" ",n.label," ")}}function pd(e,t){1&e&&c["\u0275\u0275element"](0,"novo-loading",4)}function vd(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"novo-list-item",6),c["\u0275\u0275listener"]("click",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"](2).selectMatch(e)}))("mouseenter",(function(){c["\u0275\u0275restoreView"](n);var e=t.$implicit;return c["\u0275\u0275nextContext"](2).selectActive(e)})),c["\u0275\u0275elementStart"](1,"item-content"),c["\u0275\u0275element"](2,"p",7),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit,i=c["\u0275\u0275nextContext"](2);c["\u0275\u0275classProp"]("active",r===i.activeMatch),c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("innerHtml",i.highlight(r.label,i.term),c["\u0275\u0275sanitizeHtml"])}}function gd(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"novo-list"),c["\u0275\u0275template"](1,vd,3,3,"novo-list-item",5),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngForOf",n.matches)}}function yd(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"p",8),c["\u0275\u0275text"](1),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](n.labels.quickNoteError)}}function bd(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"p",9),c["\u0275\u0275text"](1),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](n.labels.quickNoteEmpty)}}var kd=["wrapper"];function Cd(e,t){if(1&e&&c["\u0275\u0275element"](0,"i",5),2&e){var n=c["\u0275\u0275nextContext"](2);c["\u0275\u0275property"]("ngClass",n.icon)}}function wd(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"small"),c["\u0275\u0275text"](1),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](2);c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](n.subTitle)}}function Sd(e,t){if(1&e&&(c["\u0275\u0275elementContainerStart"](0),c["\u0275\u0275template"](1,Cd,1,1,"i",3),c["\u0275\u0275elementStart"](2,"div",4),c["\u0275\u0275elementStart"](3,"h1"),c["\u0275\u0275text"](4),c["\u0275\u0275elementEnd"](),c["\u0275\u0275template"](5,wd,2,1,"small",1),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementContainerEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.icon),c["\u0275\u0275advance"](3),c["\u0275\u0275textInterpolate"](n.title),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.subTitle)}}function _d(e,t){1&e&&(c["\u0275\u0275elementContainerStart"](0),c["\u0275\u0275projection"](1,4),c["\u0275\u0275elementStart"](2,"div",4),c["\u0275\u0275projection"](3,5),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementContainerEnd"]())}var Ed=[[["section"]],[["utils"]],[["novo-action"]],"*",[["novo-icon"],["","novo-icon",""]],[["h1"],["h2"],["h3"],["h4"],["h5"],["h6"],["small"],["","novo-title",""],["","novo-subtitle",""]]],Id=["section","utils","novo-action","*","novo-icon, [novo-icon]","h1, h2, h3, h4, h5, h6, small, [novo-title], [novo-subtitle]"];function xd(e,t){if(1&e&&c["\u0275\u0275element"](0,"i"),2&e){var n=c["\u0275\u0275nextContext"](2);c["\u0275\u0275classMapInterpolate1"]("bhi-",n.icon,""),c["\u0275\u0275attribute"]("data-automation-id","novo-tip-well-icon-"+n.name)}}function Od(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"p"),c["\u0275\u0275text"](1),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](2);c["\u0275\u0275attribute"]("data-automation-id","novo-tip-well-tip-"+n.name),c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](n.tip)}}function Td(e,t){if(1&e&&c["\u0275\u0275element"](0,"p",4),2&e){var n=c["\u0275\u0275nextContext"](2);c["\u0275\u0275property"]("innerHTML",n.tipWithStyles,c["\u0275\u0275sanitizeHtml"]),c["\u0275\u0275attribute"]("data-automation-id","novo-tip-well-tip-"+n.name)}}function Ad(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"button",5),c["\u0275\u0275listener"]("click",(function(){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"](2).hideTip()})),c["\u0275\u0275text"](1),c["\u0275\u0275elementEnd"]()}if(2&e){var r=c["\u0275\u0275nextContext"](2);c["\u0275\u0275attribute"]("data-automation-id","novo-tip-well-button-"+r.name),c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate1"](" ",r.buttonText," ")}}function Pd(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"div"),c["\u0275\u0275elementStart"](1,"div"),c["\u0275\u0275template"](2,xd,1,4,"i",1),c["\u0275\u0275template"](3,Od,2,2,"p",0),c["\u0275\u0275template"](4,Td,1,2,"p",2),c["\u0275\u0275elementEnd"](),c["\u0275\u0275template"](5,Ad,2,2,"button",3),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("ngIf",n.icon),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.sanitize),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",!n.sanitize),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.button)}}var Dd,Rd,Md,Nd,jd,Fd,Ld,Vd,Bd,Ud,Hd,Gd,qd,Kd,zd,Yd,Wd,Zd,Jd,Qd,Xd,$d,eh,th,nh,rh,ih,oh,ah,sh,ch,lh=((jd=function(){function e(){v(this,e),this.side="right"}return y(e,[{key:"icon",get:function(){return this._icon},set:function(e){e&&(this._icon="bhi-"+e)}}]),e}()).\u0275fac=function(e){return new(e||jd)},jd.\u0275cmp=c["\u0275\u0275defineComponent"]({type:jd,selectors:[["button","theme",""]],hostVars:5,hostBindings:function(e,t){2&e&&c["\u0275\u0275attribute"]("theme",t.theme)("color",t.color)("icon",t.icon)("loading",t.loading)("side",t.side)},inputs:{side:"side",icon:"icon",color:"color",theme:"theme",loading:"loading"},attrs:hs,ngContentSelectors:vs,decls:5,vars:3,consts:[[1,"flex-wrapper"],[3,"ngClass",4,"ngIf"],["class","loading",4,"ngIf"],[3,"ngClass"],[1,"loading"],["version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",0,"xmlns","a","http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/","x","0px","y","0px","width","18.2px","height","18.5px","viewBox","0 0 18.2 18.5",0,"xml","space","preserve",2,"enable-background","new 0 0 18.2 18.5"],["type","text/css"],["d","M9.2,18.5C4.1,18.5,0,14.4,0,9.2S4.1,0,9.2,0c0.9,0,1.9,0.1,2.7,0.4c0.8,0.2,1.2,1.1,1,1.9\n                        c-0.2,0.8-1.1,1.2-1.9,1C10.5,3.1,9.9,3,9.2,3C5.8,3,3,5.8,3,9.2s2.8,6.2,6.2,6.2c2.8,0,5.3-1.9,6-4.7c0.2-0.8,1-1.3,1.8-1.1\n                        c0.8,0.2,1.3,1,1.1,1.8C17.1,15.7,13.4,18.5,9.2,18.5z",1,"spinner"]],template:function(e,t){1&e&&(c["\u0275\u0275projectionDef"](),c["\u0275\u0275elementStart"](0,"div",0),c["\u0275\u0275template"](1,fs,1,1,"i",1),c["\u0275\u0275projection"](2),c["\u0275\u0275template"](3,ms,1,1,"i",1),c["\u0275\u0275template"](4,ps,5,0,"i",2),c["\u0275\u0275elementEnd"]()),2&e&&(c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",t.icon&&"left"===t.side&&!t.loading),c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("ngIf",t.icon&&"right"===t.side&&!t.loading),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",t.loading))},directives:[h.m,h.k],encapsulation:2,changeDetection:0}),jd),uh=((Nd=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:Nd}),Nd.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||Nd)},imports:[[h.c]]}),Nd),dh=((Md=function e(){v(this,e)}).\u0275fac=function(e){return new(e||Md)},Md.\u0275cmp=c["\u0275\u0275defineComponent"]({type:Md,selectors:[["novo-tooltip"]],decls:2,vars:2,consts:[[3,"ngClass","innerHTML",4,"ngIf"],[3,"ngClass",4,"ngIf"],[3,"ngClass","innerHTML"],[3,"ngClass"]],template:function(e,t){1&e&&(c["\u0275\u0275template"](0,ys,1,9,"div",0),c["\u0275\u0275template"](1,bs,2,9,"div",1)),2&e&&(c["\u0275\u0275property"]("ngIf",t.isHTML),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",!t.isHTML))},directives:[h.m,h.k],encapsulation:2,data:{animation:[Da("state",[Na("initial, void, hidden",Ma({opacity:"0"})),Na("visible",Ma({opacity:"1"})),ja("* => visible",[Ma({opacity:0,visibility:"visible"}),Ra("0.3s ease-in")]),ja("* => hidden",[Ma({opacity:1,visibility:"hidden"}),Ra("0.3s ease-in")])])]}}),Md),hh=((Rd=function(){function e(t,n,r){v(this,e),this.overlay=t,this.viewContainerRef=n,this.elementRef=r,this.position="top",this.type="normal",this.active=!0,this.removeArrow=!1,this.autoPosition=!1}return y(e,[{key:"isPosition",value:function(e){return e.toLowerCase()===(this.position||"").toLowerCase()}},{key:"isType",value:function(e){return e.toLowerCase()===(this.type||"").toLowerCase()}},{key:"isSize",value:function(e){return e.toLowerCase()===(this.size||"").toLowerCase()}},{key:"onMouseEnter",value:function(){this.tooltip&&this.active&&!this.always&&this.show()}},{key:"onMouseLeave",value:function(){this.overlayRef&&!this.always&&(this.hide(),this.overlayRef.dispose())}},{key:"ngOnInit",value:function(){this.tooltip&&this.always&&this.active&&this.show()}},{key:"ngOnDestroy",value:function(){this.overlayRef&&!this.always&&(this.hide(),this.overlayRef.dispose())}},{key:"show",value:function(){var e=new la;e.positionStrategy=this.getPosition(),e.scrollStrategy=this.always?this.overlay.scrollStrategies.reposition():this.overlay.scrollStrategies.close(),e.scrollStrategy.enable(),this.overlayRef=this.overlay.create(e),this.overlayRef.detach(),this.portal=this.portal||new Ko(dh,this.viewContainerRef);var t=this.overlayRef.attach(this.portal).instance;t.message=this.tooltip,t.tooltipType=this.type,t.rounded=this.rounded,t.size=this.size,t.preline=this.preline,t.noAnimate=this.noAnimate,t.position=this.removeArrow?"no-arrow":this.position,t.isHTML=this.isHTML}},{key:"hide",value:function(){this.overlayRef&&this.overlayRef.detach()}},{key:"getPosition",value:function(){var e,t,n,r,i;switch(this.position){case"right":t={originX:"end",originY:"center"},n={overlayX:"start",overlayY:"center"},r=8,i=0;break;case"bottom":t={originX:"center",originY:"bottom"},n={overlayX:"center",overlayY:"top"},r=0,i=8;break;case"top":t={originX:"center",originY:"top"},n={overlayX:"center",overlayY:"bottom"},r=0,i=-8;break;case"left":t={originX:"start",originY:"center"},n={overlayX:"end",overlayY:"center"},r=-8,i=0;break;case"top-left":t={originX:"start",originY:"top"},n={overlayX:"end",overlayY:"bottom"},r=8,i=-8;break;case"bottom-left":t={originX:"start",originY:"bottom"},n={overlayX:"end",overlayY:"top"},r=8,i=8;break;case"top-right":t={originX:"end",originY:"top"},n={overlayX:"start",overlayY:"bottom"},r=-8,i=-8;break;case"bottom-right":t={originX:"end",originY:"bottom"},n={overlayX:"start",overlayY:"top"},r=-8,i=8}return e=this.overlay.position().connectedTo(this.elementRef,t,n).withOffsetX(r).withOffsetY(i),this.autoPosition?this.withFallbackStrategy(e):e}},{key:"withFallbackStrategy",value:function(e){return e.withFallbackPosition({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"},0,8).withFallbackPosition({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"},0,8).withFallbackPosition({originX:"end",originY:"center"},{overlayX:"start",overlayY:"center"},8,0).withFallbackPosition({originX:"start",originY:"center"},{overlayX:"end",overlayY:"center"},-8,0).withFallbackPosition({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"},0,-8).withFallbackPosition({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"},0,8).withFallbackPosition({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"},0,-8).withFallbackPosition({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"},0,-8).withFallbackPosition({originX:"start",originY:"top"},{overlayX:"end",overlayY:"bottom"},8,-8).withFallbackPosition({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"top"},8,8).withFallbackPosition({originX:"end",originY:"top"},{overlayX:"start",overlayY:"bottom"},-8,-8).withFallbackPosition({originX:"end",originY:"bottom"},{overlayX:"start",overlayY:"top"},-8,8),e}}]),e}()).\u0275fac=function(e){return new(e||Rd)(c["\u0275\u0275directiveInject"](Ta),c["\u0275\u0275directiveInject"](c.ViewContainerRef),c["\u0275\u0275directiveInject"](c.ElementRef))},Rd.\u0275dir=c["\u0275\u0275defineDirective"]({type:Rd,selectors:[["","tooltip",""]],hostVars:1,hostBindings:function(e,t){1&e&&c["\u0275\u0275listener"]("mouseenter",(function(){return t.onMouseEnter()}))("mouseleave",(function(){return t.onMouseLeave()})),2&e&&c["\u0275\u0275attribute"]("data-hint",t.tooltip)},inputs:{position:["tooltipPosition","position"],type:["tooltipType","type"],active:["tooltipActive","active"],removeArrow:["removeTooltipArrow","removeArrow"],autoPosition:["tooltipAutoPosition","autoPosition"],tooltip:"tooltip",size:["tooltipSize","size"],bounce:["tooltipBounce","bounce"],noAnimate:["tooltipNoAnimate","noAnimate"],rounded:["tooltipRounded","rounded"],always:["tooltipAlways","always"],preline:["tooltipPreline","preline"],isHTML:["tooltipIsHTML","isHTML"]}}),Rd),fh=((Dd=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:Dd}),Dd.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||Dd)},imports:[[h.c]]}),Dd),mh=function(){function e(){v(this,e)}return y(e,null,[{key:"swallowEvent",value:function(e){e&&(e.stopPropagation(),e.preventDefault())}},{key:"interpolate",value:function(e,t){return this.isDate(t)&&(t=this.dateToObject(t)),e.replace(/\$([\w\.]+)/g,(function(e,n){for(var r=n.split("."),i=t[r.shift()];r.length&&void 0!==i;){var o=r.shift();i=o?i[o]:i+"."}return void 0!==i?i:""}))}},{key:"interpolateWithFallback",value:function(t,n){if(Array.isArray(t)){var r=[],i=[];return t.forEach((function(t){var o=!0,a=t.replace(/\$([\w\.]+)/g,(function(t,r){for(var i=r.split("."),a=n[i.shift()];i.length&&void 0!==a;){var s=i.shift();a=s?a[s]:a+"."}return o&&e.isEmpty(a)&&(o=!1),e.isEmpty(a)?"":a}));o?r.push(a):i.push(a)})),0!==r.length?r[0]:""}return e.interpolate(t,n)}},{key:"validateInterpolationProps",value:function(e,t){return e.match(/\$([\w\.]+)/g).every((function(e){return t.hasOwnProperty(e.substr(1))}))}},{key:"isObject",value:function(e){return e&&"object"==typeof e&&!Array.isArray(e)&&null!==e}},{key:"isString",value:function(e){return"string"==typeof e}},{key:"escapeString",value:function(t){return e.isString(t)?t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"):t}},{key:"isNumber",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"string"==typeof e?e.length>0&&"."!==e&&(t?/^-{0,1}\d*\.?\d*$/:/^\d*\.?\d*$/).test(e):!isNaN(parseFloat(e))}},{key:"isBlank",value:function(e){return null==e}},{key:"isEmpty",value:function(t){return e.isBlank(t)||""===t||Array.isArray(t)&&0===t.length}},{key:"isFunction",value:function(e){return!!(e&&e.constructor&&e.call&&e.apply)}},{key:"isDate",value:function(e){return e instanceof Date}},{key:"convertToArray",value:function(e){return void 0===e?[]:Array.isArray(e)?e:[e]}},{key:"sortByField",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(r,i){if(e.isFunction(t))return t(n?"desc":"asc",r,i);Array.isArray(t)||(t=[t]);for(var o=0;o<t.length;o++){var a=t[o],s=r[a]||"",c=i[a]||"";if(e.isDate(s)&&e.isDate(c)?(s=s.getTime(),c=c.getTime()):e.isString(s)&&e.isString(c)?(s=s.toLowerCase(),c=c.toLowerCase()):(s=isNaN(Number(s))?s:Number(s),c=isNaN(Number(c))?c:Number(c)),s>c)return n?-1:1;if(s<c)return n?1:-1}return 0}}},{key:"filterByField",value:function(t,n){return function(r){var i,o=[],a=(i=r,new ph(i)).have(t);if(n instanceof Function)o.push(n(a,r));else if(Array.isArray(n))o.push(n.includes(a));else if(n instanceof Object)for(var s in a instanceof Date&&(a=a.getTime()),n.min&&o.push(a>=n.min),n.max&&o.push(a<=n.max),n.any&&Array.isArray(n.any)&&(Array.isArray(a)?o.push(n.any.some((function(e){return a.includes(e)}))):o.push(n.any.includes(a))),n.all&&Array.isArray(n.all)&&o.push(n.all.every((function(e){return a.includes(e)}))),n.not&&o.push(!e.filterByField(t,n.not)(r)),n)["min","max","any","all","not"].indexOf(s)<0&&o.push(e.filterByField("".concat(t,".").concat(s),n[s])(r));else o.push(JSON.stringify(a).match(new RegExp(n,"gi")));return o.every((function(e){return e}))}}},{key:"findAncestor",value:function(e,t){for(;(e=e.parentElement)&&!e.matches.call(e,t););return e}},{key:"deepClone",value:function(t){if(Array.isArray(t)){for(var n=[],r=t.length;r-- >0;)n[r]=e.deepClone(t[r]);return n}if("function"==typeof t&&!/\(\) \{ \[native/.test(t.toString())&&!t.toString().startsWith("class")){var i;for(var o in t)o in t&&(i[o]=e.deepClone(t[o]));return i}if(t&&"object"==typeof t){var a={};for(var s in t)s in t&&(a[s]=e.deepClone(t[s]));return a}return t}},{key:"deepAssign",value:function(){var t=arguments;if(arguments.length<2)throw new Error("Need two or more objects to merge");for(var n=Object.assign({},arguments.length<=0?void 0:arguments[0]),r=function(r){var i=Object.assign({},r<0||t.length<=r?void 0:t[r]);Object.keys(i).forEach((function(t){var r=i[t];if(e.isObject(r))n[t]=n.hasOwnProperty(t)&&e.isObject(n[t])?e.deepAssign(n[t],r):r;else if(Array.isArray(r))if(n.hasOwnProperty(t)&&Array.isArray(n[t])){var o=n[t];r.forEach((function(t,n){if(n<o.length){var r=o[n];if(Object.is(r,t))return;o[n]=e.isObject(r)&&e.isObject(t)||Array.isArray(r)&&Array.isArray(t)?e.deepAssign(r,t):t}else o.push(t)}))}else n[t]=r;else n[t]=r}))},i=1;i<arguments.length;i++)r(i);return n}},{key:"getNextElementSibling",value:function(e){if(e.nextElementSibling)return e.nextElementSibling;for(var t=e.nextSibling;t&&1!==t.nodeType;)t=t.nextSibling;return t}},{key:"dateToObject",value:function(e){var t={day:"",dayPeriod:"",era:"",hour:"",minute:"",month:"",second:"",weekday:"",year:""};return Intl.DateTimeFormat("en-US",{day:"numeric",era:"short",hour:"numeric",minute:"numeric",month:"numeric",second:"numeric",weekday:"long",year:"numeric"}).formatToParts(e).forEach((function(e){"literal"!==e.type&&(t[e.type]=e.value)})),t}}]),e}(),ph=function(){function e(t){v(this,e),this.obj=t}return y(e,[{key:"have",value:function(e){for(var t=e.split("."),n=this.obj,r=0;r<t.length;r++)if(n=n[t[r]],!1===this.check(n))return n;return n}},{key:"check",value:function(e){return void 0!==e}}]),e}(),vh=((qd=function(){function e(){v(this,e)}return y(e,[{key:"transform",value:function(e){var t="";return mh.isBlank(e)||"string"!=typeof e||(t=decodeURIComponent(e)),t}}]),e}()).\u0275fac=function(e){return new(e||qd)},qd.\u0275pipe=c["\u0275\u0275definePipe"]({name:"decodeURI",type:qd,pure:!0}),qd.\u0275prov=c["\u0275\u0275defineInjectable"]({token:qd,factory:qd.\u0275fac}),qd),gh=((Gd=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:Gd}),Gd.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||Gd)}}),Gd),yh=((Hd=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:Hd}),Hd.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||Hd)},imports:[[h.c,uh,fh,gh]]}),Hd),bh=((Ud=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en-US";v(this,e),this.userLocale=t,this.filters="Filter",this.clear="Clear",this.sort="Sort",this.distributionListOwner="Owner",this.dateAdded="Date Added",this.emptyTableMessage="No Records to display...",this.noMatchingRecordsMessage="No Matching Records",this.erroredTableMessage="Oops! An error occurred.",this.pickerError="Oops! An error occurred.",this.pickerTextFieldEmpty="Begin typing to see results.",this.pickerEmpty="No results to display...",this.tabbedGroupPickerEmpty="No results found",this.quickNoteError="Oops! An error occurred.",this.quickNoteEmpty="No results to display...",this.required="Required",this.numberTooLarge="Number is too large",this.save="Save",this.cancel="Cancel",this.next="Next",this.itemsPerPage="Items per page:",this.select="Select...",this.selected="Selected",this.selectAllOnPage="Select all on page",this.deselectAll="Deselect all",this.refresh="Refresh",this.close="Close",this.move="Move",this.startDate="Start Date",this.endDate="End Date",this.rate="Rate",this.more="more",this.clearAll="CLEAR ALL",this.clearAllNormalCase="Clear All",this.clearSort="Clear Sort",this.clearFilter="Clear Filter",this.clearSelected="Clear Selected",this.today="Today",this.now="Now",this.isRequired="is required",this.notValidYear="is not a valid year",this.isTooLarge="is too large",this.invalidAddress="requires at least one field filled out",this.invalidEmail="requires a valid email (ex. abc@123.com)",this.minLength="is required to be a minimum length of",this.past1Day="Past 1 Day",this.past7Days="Past 7 Days",this.past30Days="Past 30 Days",this.past90Days="Past 90 Days",this.past1Year="Past 1 Year",this.next1Day="Next 1 Day",this.next7Days="Next 7 Days",this.next30Days="Next 30 Days",this.next90Days="Next 90 Days",this.next1Year="Next 1 Year",this.customDateRange="Custom Date Range",this.backToPresetFilters="Back to Preset Filters",this.okGotIt="Ok, Got it",this.address="Address",this.address1="Address",this.apt="Apt",this.address2="Apt",this.city="City / Locality",this.state="State / Region",this.zip="Postal Code",this.zipCode="Postal Code",this.country="Country",this.or="or",this.clickToBrowse="click to browse",this.chooseAFile="Choose a file",this.no="No",this.yes="Yes",this.search="SEARCH",this.noItems="There are no items",this.dateFormat="MM/dd/yyyy",this.dateFormatPlaceholder="MM/DD/YYYY",this.timeFormatPlaceholderAM="hh:mm AM",this.timeFormatPlaceholder24Hour="HH:mm",this.timeFormatAM="AM",this.timeFormatPM="PM",this.confirmChangesModalMessage="Are you sure you want to change this field?",this.promptModalMessage="Do you want to perform the following changes?",this.asyncFailure="Async validation was not called within the 10s threshold, you might want to reload the page to try again",this.previous="Previous",this.actions="Actions",this.all="All",this.groupedMultiPickerEmpty="No items to display",this.groupedMultiPickerSelectCategory="Select a category from the left to get started",this.add="Add",this.encryptedFieldTooltip="This data has been stored at the highest level of security",this.noStatesForCountry="No states available for the selected country",this.selectCountryFirst="Please select a country before selecting a state",this.invalidIntegerInput="Special characters are not allowed for",this.maxRecordsReached="Sorry, you have reached the maximum number of records allowed for this field",this.selectFilterOptions="Please select one or more filter options below."}return y(e,[{key:"maxlengthMetWithField",value:function(e,t){return"Sorry, you have reached the maximum character count of ".concat(t," for ").concat(e,".")}},{key:"maxlengthMet",value:function(e){return"Sorry, you have reached the maximum character count of ".concat(e," for this field.")}},{key:"invalidMaxlengthWithField",value:function(e,t){return"Sorry, you have exceeded the maximum character count of ".concat(t," for ").concat(e,".")}},{key:"invalidMaxlength",value:function(e){return"Sorry, you have exceeded the maximum character count of ".concat(e," for this field.")}},{key:"getToManyPlusMore",value:function(e){return"+".concat(e.quantity," more")}},{key:"selectedRecords",value:function(e){return e+" records are selected."}},{key:"showingXofXResults",value:function(e,t){return"Showing ".concat(e," of ").concat(t," Results.")}},{key:"totalRecords",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?"Select all ".concat(e," records."):"De-select remaining ".concat(e," records.")}},{key:"dateFormatString",value:function(){return this.dateFormat}},{key:"tabbedGroupClearSuggestion",value:function(e){return"Clear your search to see all ".concat(e,".")}},{key:"formatDateWithFormat",value:function(e,t){var n=e instanceof Date?e:new Date(e);return n.getTime()!=n.getTime()?e:new Intl.DateTimeFormat(this.userLocale,t).format(n)}},{key:"formatToTimeOnly",value:function(e){}},{key:"formatToDateOnly",value:function(e){}},{key:"formatTimeWithFormat",value:function(e,t){var n=e instanceof Date?e:new Date(e);if(n.getTime()!=n.getTime())return e;var r=Intl.DateTimeFormat(this.userLocale,t).formatToParts(n).reduce((function(e,t){return e[t.type]=t.value,e}),{});return"".concat(r.hour,":").concat(r.minute).concat(r.dayperiod?r.dayperiod:"")}},{key:"getWeekdays",value:function(){var e=this;function t(e){var t=new Date;return t.setDate(t.getDate()-t.getDay()+e)}return[t(0),t(1),t(2),t(3),t(4),t(5),t(6)].reduce((function(t,n){return t.push(new Intl.DateTimeFormat(e.userLocale,{weekday:"long"}).format(n)),t}),[])}},{key:"getMonths",value:function(){var e=this;function t(e){return(new Date).setMonth(e,1)}return[t(0),t(1),t(2),t(3),t(4),t(5),t(6),t(7),t(8),t(9),t(10),t(11)].reduce((function(t,n){return t.push(new Intl.DateTimeFormat(e.userLocale,{month:"long"}).format(n)),t}),[])}},{key:"getProperty",value:function(e){return this[e]}},{key:"getRangeText",value:function(e,t,n,r){if(0===n||0===t)return"Displaying 0 of "+n;var i=e*t,o=i<(n=Math.max(n,0))?Math.min(i+t,n):i+t;return r?"".concat(i+1," - ").concat(o,"/").concat(n):"Displaying ".concat(i+1," - ").concat(o," of ").concat(n)}},{key:"formatCurrency",value:function(e){return new Intl.NumberFormat(this.userLocale,{style:"currency",currency:"USD"}).format(e)}},{key:"formatBigDecimal",value:function(e,t){var n=Object.assign({style:"decimal",minimumFractionDigits:2,maximumFractionDigits:2,useAccountingFormat:!0},t),r=this.truncateToPrecision(e,n.maximumFractionDigits),i=new Intl.NumberFormat(this.userLocale,n).format(r);return e<0&&(i=n.useAccountingFormat?"(".concat(i.slice(1),")"):"-"+i.slice(1)),i}},{key:"truncateToPrecision",value:function(e,t){var n=e?e.toString():"0",r=n.indexOf(".");return r>-1&&r+t+1<n.length&&(n=n.substring(0,n.indexOf(".")+t+1)),Number(n)}},{key:"formatNumber",value:function(e,t){return new Intl.NumberFormat(this.userLocale,t).format(e)}},{key:"formatDateShort",value:function(e){var t=null==e||""===e?new Date:new Date(e);return new Intl.DateTimeFormat(this.userLocale,{month:"2-digit",day:"2-digit",year:"numeric",hour:"numeric",minute:"2-digit"}).format(t)}},{key:"formatTime",value:function(e){var t=null==e||""===e?new Date:new Date(e);return new Intl.DateTimeFormat(this.userLocale,{hour:"numeric",minute:"2-digit"}).format(t)}},{key:"formatDate",value:function(e){var t=null==e||""===e?new Date:new Date(e);return new Intl.DateTimeFormat(this.userLocale,{month:"2-digit",day:"2-digit",year:"numeric"}).format(t)}}]),e}()).\u0275fac=function(e){return new(e||Ud)(c["\u0275\u0275inject"](c.LOCALE_ID,8))},Ud.\u0275prov=c["\u0275\u0275defineInjectable"]({token:Ud,factory:Ud.\u0275fac}),Ud),kh=((Bd=function e(){v(this,e)}).\u0275fac=function(e){return new(e||Bd)},Bd.\u0275cmp=c["\u0275\u0275defineComponent"]({type:Bd,selectors:[["novo-loading"]],hostVars:2,hostBindings:function(e,t){2&e&&c["\u0275\u0275classMap"](t.theme||"")},inputs:{theme:"theme"},decls:5,vars:0,consts:[[1,"dot"]],template:function(e,t){1&e&&(c["\u0275\u0275element"](0,"span",0),c["\u0275\u0275element"](1,"span",0),c["\u0275\u0275element"](2,"span",0),c["\u0275\u0275element"](3,"span",0),c["\u0275\u0275element"](4,"span",0))},encapsulation:2}),Bd),Ch=((Vd=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:Vd}),Vd.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||Vd)},imports:[[h.c]]}),Vd),wh=((Ld=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:Ld}),Ld.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||Ld)},imports:[[h.c,uh,Ch,fh]]}),Ld),Sh=((Fd=function(){function e(t){v(this,e),this.active=!1,this.onActiveChange=new c.EventEmitter,this.element=t,this.onOutsideClick=this.handleOutsideClick.bind(this)}return y(e,[{key:"ngOnDestroy",value:function(){window.removeEventListener("click",this.onOutsideClick)}},{key:"toggleActive",value:function(e,t){this.active=mh.isBlank(t)?!this.active:t,this.active?window.addEventListener("click",this.onOutsideClick):window.removeEventListener("click",this.onOutsideClick),this.onActiveChange.emit(this.active)}},{key:"handleOutsideClick",value:function(e){var t=!this.element.nativeElement.contains(e.target);this.otherElement&&t&&(t=!this.otherElement.nativeElement.contains(e.target)),t&&this.toggleActive(e,!1)}}]),e}()).\u0275fac=function(e){return new(e||Fd)(c["\u0275\u0275inject"](c.ElementRef))},Fd.\u0275prov=c["\u0275\u0275defineInjectable"]({token:Fd,factory:Fd.\u0275fac}),Fd),_h={BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,RETURN:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,HASH_SYMBOL:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,AT_SYMBOL:64,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,DASH:189,PERIOD:190,FORWARD_SLASH:191},Eh=((th=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:th}),th.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||th)},imports:[[h.c]]}),th),Ih=((eh=function e(t){v(this,e),this.element=t}).\u0275fac=function(e){return new(e||eh)(c["\u0275\u0275directiveInject"](c.ElementRef))},eh.\u0275cmp=c["\u0275\u0275defineComponent"]({type:eh,selectors:[["novo-list"]],hostVars:5,hostBindings:function(e,t){2&e&&(c["\u0275\u0275attribute"]("theme",t.theme),c["\u0275\u0275classProp"]("vertical-list","vertical"===t.direction)("horizontal-list","horizontal"===t.direction))},inputs:{theme:"theme",direction:"direction"},ngContentSelectors:vs,decls:1,vars:0,template:function(e,t){1&e&&(c["\u0275\u0275projectionDef"](),c["\u0275\u0275projection"](0))},encapsulation:2}),eh),xh=(($d=function(){function e(t){v(this,e),this.element=t,this.avatar=!1}return y(e,[{key:"ngOnInit",value:function(){this.avatar=!!this.element.nativeElement.querySelector("item-avatar")}}]),e}()).\u0275fac=function(e){return new(e||$d)(c["\u0275\u0275directiveInject"](c.ElementRef))},$d.\u0275cmp=c["\u0275\u0275defineComponent"]({type:$d,selectors:[["novo-list-item"]],ngContentSelectors:ws,decls:5,vars:3,consts:[[1,"list-item",3,"ngClass"]],template:function(e,t){1&e&&(c["\u0275\u0275projectionDef"](ks),c["\u0275\u0275elementStart"](0,"div",0),c["\u0275\u0275projection"](1),c["\u0275\u0275projection"](2,1),c["\u0275\u0275elementEnd"](),c["\u0275\u0275projection"](3,2),c["\u0275\u0275projection"](4,3)),2&e&&c["\u0275\u0275property"]("ngClass",c["\u0275\u0275pureFunction1"](1,Cs,t.avatar))},directives:[h.k],encapsulation:2}),$d),Oh=((Xd=function(){function e(){v(this,e)}return y(e,[{key:"ngOnChanges",value:function(e){this.iconClass=this.icon?"bhi-"+this.icon:null,this.classMap=[this.iconClass,this.icon]}},{key:"ngOnInit",value:function(){this.ngOnChanges()}}]),e}()).\u0275fac=function(e){return new(e||Xd)},Xd.\u0275cmp=c["\u0275\u0275defineComponent"]({type:Xd,selectors:[["item-avatar"]],inputs:{icon:"icon"},features:[c["\u0275\u0275NgOnChangesFeature"]],decls:1,vars:1,consts:[["theme","contained",3,"ngClass",4,"ngIf"],["theme","contained",3,"ngClass"]],template:function(e,t){1&e&&c["\u0275\u0275template"](0,Ss,1,1,"i",0),2&e&&c["\u0275\u0275property"]("ngIf",t.iconClass)},directives:[h.m,h.k],encapsulation:2}),Xd),Th=((Qd=function e(){v(this,e)}).\u0275fac=function(e){return new(e||Qd)},Qd.\u0275cmp=c["\u0275\u0275defineComponent"]({type:Qd,selectors:[["item-title"]],ngContentSelectors:vs,decls:2,vars:0,template:function(e,t){1&e&&(c["\u0275\u0275projectionDef"](),c["\u0275\u0275elementStart"](0,"h6"),c["\u0275\u0275projection"](1),c["\u0275\u0275elementEnd"]())},encapsulation:2}),Qd),Ah=((Jd=function e(){v(this,e)}).\u0275fac=function(e){return new(e||Jd)},Jd.\u0275cmp=c["\u0275\u0275defineComponent"]({type:Jd,selectors:[["item-header"]],ngContentSelectors:Es,decls:3,vars:0,template:function(e,t){1&e&&(c["\u0275\u0275projectionDef"](_s),c["\u0275\u0275projection"](0),c["\u0275\u0275projection"](1,1),c["\u0275\u0275projection"](2,2))},encapsulation:2}),Jd),Ph=((Zd=function e(){v(this,e)}).\u0275fac=function(e){return new(e||Zd)},Zd.\u0275cmp=c["\u0275\u0275defineComponent"]({type:Zd,selectors:[["item-header-end"]],ngContentSelectors:vs,decls:1,vars:0,template:function(e,t){1&e&&(c["\u0275\u0275projectionDef"](),c["\u0275\u0275projection"](0))},encapsulation:2}),Zd),Dh=((Wd=function e(){v(this,e)}).\u0275fac=function(e){return new(e||Wd)},Wd.\u0275cmp=c["\u0275\u0275defineComponent"]({type:Wd,selectors:[["item-content"]],hostVars:4,hostBindings:function(e,t){2&e&&c["\u0275\u0275classProp"]("vertical-list","vertical"===t.direction)("horizontal-list","horizontal"===t.direction)},inputs:{direction:"direction"},ngContentSelectors:vs,decls:1,vars:0,template:function(e,t){1&e&&(c["\u0275\u0275projectionDef"](),c["\u0275\u0275projection"](0))},encapsulation:2}),Wd),Rh=((Yd=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:Yd}),Yd.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||Yd)},imports:[[h.c]]}),Yd),Mh=((zd=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:zd}),zd.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||zd)},imports:[[h.c,Eh,Rh]]}),zd),Nh=((Kd=function(){function e(t){v(this,e),this.componentFactoryResolver=t}return y(e,[{key:"append",value:function(e,t,n,r){var i=this.componentFactoryResolver.resolveComponentFactory(e);return t.createComponent(i,r?0:t.length,c.Injector.create({providers:n,parent:t.injector}))}}]),e}()).\u0275fac=function(e){return new(e||Kd)(c["\u0275\u0275inject"](c.ComponentFactoryResolver))},Kd.\u0275prov=c["\u0275\u0275defineInjectable"]({token:Kd,factory:Kd.\u0275fac}),Kd),jh={provide:La.NG_VALUE_ACCESSOR,useExisting:Object(c.forwardRef)((function(){return Lh})),multi:!0},Fh=((ch=function(){function e(){v(this,e),this.disabled=!1,this.select=new c.EventEmitter,this.remove=new c.EventEmitter,this.deselect=new c.EventEmitter}return y(e,[{key:"type",set:function(e){this._type=e?e.toLowerCase():null}},{key:"onRemove",value:function(e){return e&&(e.stopPropagation(),e.preventDefault()),this.remove.emit(e),!1}},{key:"onSelect",value:function(e){return e&&(e.stopPropagation(),e.preventDefault()),this.select.emit(e),!1}},{key:"onDeselect",value:function(e){return e&&(e.stopPropagation(),e.preventDefault()),this.deselect.emit(e),!1}}]),e}()).\u0275fac=function(e){return new(e||ch)},ch.\u0275cmp=c["\u0275\u0275defineComponent"]({type:ch,selectors:[["chip"],["novo-chip"]],inputs:{disabled:"disabled",type:"type"},outputs:{select:"select",remove:"remove",deselect:"deselect"},ngContentSelectors:vs,decls:5,vars:3,consts:[[3,"ngClass","click","mouseenter","mouseleave"],["class","bhi-circle",4,"ngIf"],["class","bhi-close",3,"click",4,"ngIf"],[1,"bhi-circle"],[1,"bhi-close",3,"click"]],template:function(e,t){1&e&&(c["\u0275\u0275projectionDef"](),c["\u0275\u0275elementStart"](0,"span",0),c["\u0275\u0275listener"]("click",(function(e){return t.onSelect(e)}))("mouseenter",(function(e){return t.onSelect(e)}))("mouseleave",(function(e){return t.onDeselect(e)})),c["\u0275\u0275template"](1,Is,1,0,"i",1),c["\u0275\u0275elementStart"](2,"span"),c["\u0275\u0275projection"](3),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275template"](4,xs,1,0,"i",2)),2&e&&(c["\u0275\u0275property"]("ngClass",t._type),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",t._type),c["\u0275\u0275advance"](3),c["\u0275\u0275property"]("ngIf",!t.disabled))},directives:[h.k,h.m],encapsulation:2}),ch),Lh=((sh=function(){function e(t,n,r){v(this,e),this.element=t,this.componentUtils=n,this.labels=r,this.closeOnSelect=!1,this.placeholder="",this._disablePickerInput=!1,this.changed=new c.EventEmitter,this.focus=new c.EventEmitter,this.blur=new c.EventEmitter,this.typing=new c.EventEmitter,this.items=[],this.selected=null,this.config={},this._value="",this._items=new _i(1),this.onModelChange=function(){},this.onModelTouched=function(){}}return y(e,[{key:"disablePickerInput",get:function(){return this._disablePickerInput},set:function(e){this._disablePickerInput=ao(e)}},{key:"ngOnInit",value:function(){this.setItems()}},{key:"value",get:function(){return this._value},set:function(e){this.itemToAdd="",e!==this._value&&(this._value=e,this.changed.emit({value:e,rawValue:this.items}),this.onModelChange(e))}},{key:"clearValue",value:function(){this.items=[],this._items.next(this.items),this.value=null,this.changed.emit({value:this.value,rawValue:this.items}),this.onModelChange(this.value)}},{key:"setItems",value:function(){var e=this;if(this.items=[],this.model&&Array.isArray(this.model)){var t,n=[],i=r(this.model);try{for(i.s();!(t=i.n()).done;){var o=t.value,a=void 0;this.source&&this.source.format&&mh.validateInterpolationProps(this.source.format,o)&&(a=mh.interpolate(this.source.format,o)),this.source&&a&&a!==this.source.format?this.items.push({value:o,label:a}):this.source.getLabels&&"function"==typeof this.source.getLabels?n.push(o):this.source.options&&Array.isArray(this.source.options)?this.items.push(this.getLabelFromOptions(o)):this.items.push(this.source.categoryMap&&this.source.categoryMap.size?o:{value:o,label:o})}}catch(s){i.e(s)}finally{i.f()}n.length>0&&this.source&&this.source.getLabels&&"function"==typeof this.source.getLabels&&this.source.getLabels(n).then((function(t){var n,i=r(t);try{for(i.s();!(n=i.n()).done;){var o=n.value;o.hasOwnProperty("label")?e.items.push({value:o,label:o.label}):e.source.options&&Array.isArray(e.source.options)?e.items.push(e.getLabelFromOptions(o)):e.items.push(o)}}catch(s){i.e(s)}finally{i.f()}e._items.next(e.items)}))}this.changed.emit({value:this.model,rawValue:this.items}),this._items.next(this.items)}},{key:"getLabelFromOptions",value:function(e){var t=e,n=this.source.options.find((function(t){return t.value===e}));return!n&&e.hasOwnProperty("id")&&(n=this.source.options.find((function(t){return t.value===e.id})),t=e.id),{value:t,label:n?n.label:e}}},{key:"deselectAll",value:function(e){this.selected=null,this.hidePreview()}},{key:"select",value:function(e,t){this.blur.emit(e),this.deselectAll(),this.selected=t,this.showPreview()}},{key:"deselect",value:function(e,t){this.blur.emit(e),this.deselectAll()}},{key:"onTyping",value:function(e){this.typing.emit(e)}},{key:"onFocus",value:function(e){this.deselectAll(),this.element.nativeElement.classList.add("selected"),this.focus.emit(e)}},{key:"add",value:function(e){if(e&&!(e instanceof Event)){this.items.push(e),this.value=this.source&&this.source.valueFormatter?this.source.valueFormatter(this.items):this.items.map((function(e){return e.value}));var t=this.element.nativeElement.querySelector("novo-picker > input");t&&t.focus()}this._items.next(this.items)}},{key:"remove",value:function(e,t){e&&(e.stopPropagation(),e.preventDefault()),this.items.splice(this.items.indexOf(t),1),this.deselectAll(),this.value=this.source&&this.source.valueFormatter?this.source.valueFormatter(this.items):this.items.map((function(e){return e.value})),this.changed.emit({value:this.value.length?this.value:"",rawValue:this.items}),this.onModelChange(this.value.length?this.value:""),this._items.next(this.items)}},{key:"onKeyDown",value:function(e){e.keyCode===_h.BACKSPACE&&e.target&&0===e.target.value.length&&this.items.length&&(e&&(e.stopPropagation(),e.preventDefault()),this.selected?this.remove(e,this.selected):this.select(e,this.items[this.items.length-1]))}},{key:"onTouched",value:function(e){this.element.nativeElement.classList.remove("selected"),this.onModelTouched(),this.blur.emit(e)}},{key:"writeValue",value:function(e){this.model=e,this.setItems()}},{key:"registerOnChange",value:function(e){this.onModelChange=e}},{key:"registerOnTouched",value:function(e){this.onModelTouched=e}},{key:"setDisabledState",value:function(e){this._disablePickerInput=e}},{key:"showPreview",value:function(){this.source.previewTemplate&&(this.popup||(this.popup=this.componentUtils.append(this.source.previewTemplate,this.preview)),this.popup.instance.match=this.selected)}},{key:"hidePreview",value:function(){this.popup&&(this.popup.destroy(),this.popup=null)}}]),e}()).\u0275fac=function(e){return new(e||sh)(c["\u0275\u0275directiveInject"](c.ElementRef),c["\u0275\u0275directiveInject"](Nh),c["\u0275\u0275directiveInject"](bh))},sh.\u0275cmp=c["\u0275\u0275defineComponent"]({type:sh,selectors:[["chips"],["novo-chips"]],viewQuery:function(e,t){var n;1&e&&c["\u0275\u0275viewQuery"](Os,!0,c.ViewContainerRef),2&e&&c["\u0275\u0275queryRefresh"](n=c["\u0275\u0275loadQuery"]())&&(t.preview=n.first)},hostVars:4,hostBindings:function(e,t){2&e&&c["\u0275\u0275classProp"]("with-value",t.items.length>0)("disabled",t.disablePickerInput)},inputs:{closeOnSelect:"closeOnSelect",placeholder:"placeholder",disablePickerInput:"disablePickerInput",value:"value",source:"source",maxlength:"maxlength",type:"type"},outputs:{changed:"changed",focus:"focus",blur:"blur",typing:"typing"},features:[c["\u0275\u0275ProvidersFeature"]([jh])],decls:9,vars:6,consts:[[1,"novo-chip-container"],[3,"type","selected","disabled","remove","select","deselect",4,"ngFor","ngForOf"],["class","chip-input-container",4,"ngIf"],[1,"preview-container"],["preview",""],["class","bhi-search",3,"has-value",4,"ngIf"],["class","clear-all",3,"click",4,"ngIf"],[3,"type","disabled","remove","select","deselect"],[1,"chip-input-container"],["clearValueOnSelect","true",3,"closeOnSelect","config","disablePickerInput","placeholder","ngModel","selected","overrideElement","ngModelChange","select","keydown","focus","typing","blur"],[1,"bhi-search"],[1,"clear-all",3,"click"],[1,"bhi-times"]],template:function(e,t){1&e&&(c["\u0275\u0275elementStart"](0,"div",0),c["\u0275\u0275template"](1,Ts,2,5,"novo-chip",1),c["\u0275\u0275pipe"](2,"async"),c["\u0275\u0275elementEnd"](),c["\u0275\u0275template"](3,As,2,7,"div",2),c["\u0275\u0275elementStart"](4,"div",3),c["\u0275\u0275element"](5,"span",null,4),c["\u0275\u0275elementEnd"](),c["\u0275\u0275template"](7,Ps,1,2,"i",5),c["\u0275\u0275template"](8,Ds,3,1,"label",6)),2&e&&(c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngForOf",c["\u0275\u0275pipeBind1"](2,4,t._items)),c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("ngIf",!t.maxlength||t.maxlength&&t.items.length<t.maxlength),c["\u0275\u0275advance"](4),c["\u0275\u0275property"]("ngIf",!t.disablePickerInput),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",t.items.length&&!t.disablePickerInput))},directives:function(){return[h.l,h.m,Fh,hf,La.NgControlStatus,La.NgModel]},pipes:function(){return[h.b]},encapsulation:2}),sh),Vh=((ah=function(){function e(t,n,r,i,o){v(this,e),this.overlay=t,this.viewContainerRef=n,this.zone=r,this.changeDetectorRef=i,this.document=o,this.id="novo-overlay-"+Date.now(),this.position="default",this.scrollStrategy="reposition",this.closeOnSelect=!0,this.select=new c.EventEmitter,this.closing=new c.EventEmitter}return y(e,[{key:"ngOnDestroy",value:function(){this.destroyOverlay()}},{key:"panelOpen",get:function(){return this.overlayRef&&this.overlayRef.hasAttached()}},{key:"parent",get:function(){return this._parent},set:function(e){this._parent=e,this.checkSizes()}},{key:"openPanel",value:function(){var e=this;this.overlayRef?this.checkSizes():this.createOverlay(this.template),this.overlayRef&&!this.overlayRef.hasAttached()&&(this.overlayRef.attach(this.portal),this.closingActionsSubscription=this.subscribeToClosingActions()),this.changeDetectorRef.markForCheck(),setTimeout((function(){e.overlayRef&&e.overlayRef.updatePosition()}))}},{key:"closePanel",value:function(){var e=this;this.zone.run((function(){e.overlayRef&&e.overlayRef.hasAttached()&&(e.overlayRef.detach(),e.closingActionsSubscription.unsubscribe()),e.closing.emit(!0),e.panelOpen&&e.changeDetectorRef.markForCheck()}))}},{key:"onClosingAction",value:function(e){this.closePanel()}},{key:"panelClosingActions",get:function(){return Object(Jo.a)(this.outsideClickStream)}},{key:"outsideClickStream",get:function(){var e=this;return this.document?Object(Jo.a)(uo(this.document,"mousedown"),uo(this.document,"touchend")).pipe(H((function(t){var n=t.target,r=e.panelOpen&&n!==e.getConnectedElement().nativeElement&&!e.getConnectedElement().nativeElement.contains(n)&&!!e.overlayRef&&!e.overlayRef.overlayElement.contains(n);return e.panelOpen&&e.overlayRef&&e.overlayRef.overlayElement.contains(n)&&e.closeOnSelect&&e.select.emit(t),r}))):k()}},{key:"subscribeToClosingActions",value:function(){var e=this,t=this.zone.onStable.asObservable().pipe(ye());return Object(Jo.a)(t).pipe(ie((function(){return e.panelClosingActions})),ye()).subscribe((function(t){return e.onClosingAction(t)}))}},{key:"createOverlay",value:function(e){var t=this;this.portal=new zo(e,this.viewContainerRef),this.overlayRef=this.overlay.create(this.getOverlayConfig()),this.overlayRef.backdropClick().subscribe((function(){return t.closePanel()}))}},{key:"destroyOverlay",value:function(){this.overlayRef&&(this.closePanel(),this.overlayRef.dispose(),this.overlayRef=void 0)}},{key:"getOverlayConfig",value:function(){var e=new la;return e.width=this.width?this.width:this.getHostWidth(),this.height&&(e.height=this.height),e.positionStrategy=this.getPosition(),e.hasBackdrop=!1,e.direction="ltr",e.scrollStrategy=this.getScrollStrategy(),e}},{key:"getPosition",value:function(){if("center"===this.position)return this.overlay.position().connectedTo(this.getConnectedElement(),{originX:"start",originY:"center"},{overlayX:"start",overlayY:"center"}).withFallbackPosition({originX:"start",originY:"top"},{overlayX:"start",overlayY:"top"}).withFallbackPosition({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"bottom"});var e=t(this.position.includes("right")?["end","start"]:["start","end"],2),n=e[0],r=e[1],i=t(this.position.includes("top")?["top","bottom"]:["bottom","top"],2),o=i[0],a=i[1],s=this.overlay.position().connectedTo(this.getConnectedElement(),{originX:n,originY:o},{overlayX:n,overlayY:a}).withDirection("ltr");return"bottom"===this.position?s=s.withFallbackPosition({originX:r,originY:"bottom"},{overlayX:r,overlayY:"top"}):("right"===this.position||"default"===this.position||this.position.includes("above-below"))&&(s=s.withFallbackPosition({originX:n,originY:"top"},{overlayX:n,overlayY:"bottom"}).withFallbackPosition({originX:r,originY:"bottom"},{overlayX:r,overlayY:"top"}).withFallbackPosition({originX:r,originY:"top"},{overlayX:r,overlayY:"bottom"}),this.position.includes("above-below")||(s=s.withFallbackPosition({originX:n,originY:"center"},{overlayX:n,overlayY:"center"}).withFallbackPosition({originX:r,originY:"center"},{overlayX:r,overlayY:"center"}))),s}},{key:"getScrollStrategy",value:function(){switch(this.scrollStrategy){case"block":return this.overlay.scrollStrategies.block();case"reposition":return this.overlay.scrollStrategies.reposition();default:return this.overlay.scrollStrategies.close()}}},{key:"checkSizes",value:function(){this.overlayRef&&(this.width||(this.overlayRef.getConfig().width=this.getHostWidth()),this.height&&(this.overlayRef.getConfig().height=this.height),this.overlayRef.updateSize(this.overlayRef.getConfig()),this.overlayRef.updatePosition(),this.changeDetectorRef.markForCheck())}},{key:"getConnectedElement",value:function(){return this.parent}},{key:"getHostWidth",value:function(){return this.getConnectedElement().nativeElement.getBoundingClientRect().width}}]),e}()).\u0275fac=function(e){return new(e||ah)(c["\u0275\u0275directiveInject"](Ta),c["\u0275\u0275directiveInject"](c.ViewContainerRef),c["\u0275\u0275directiveInject"](c.NgZone),c["\u0275\u0275directiveInject"](c.ChangeDetectorRef),c["\u0275\u0275directiveInject"](h.e,8))},ah.\u0275cmp=c["\u0275\u0275defineComponent"]({type:ah,selectors:[["novo-overlay-template"]],viewQuery:function(e,t){var n;1&e&&(c["\u0275\u0275viewQuery"](c.TemplateRef,!0),c["\u0275\u0275viewQuery"](Rs,!0)),2&e&&(c["\u0275\u0275queryRefresh"](n=c["\u0275\u0275loadQuery"]())&&(t.template=n.first),c["\u0275\u0275queryRefresh"](n=c["\u0275\u0275loadQuery"]())&&(t.panel=n.first))},inputs:{position:"position",scrollStrategy:"scrollStrategy",closeOnSelect:"closeOnSelect",parent:"parent",width:"width",height:"height"},outputs:{select:"select",closing:"closing"},ngContentSelectors:vs,decls:1,vars:0,consts:[["role","listbox",1,"novo-overlay-panel",3,"id"],["panel",""]],template:function(e,t){1&e&&(c["\u0275\u0275projectionDef"](),c["\u0275\u0275template"](0,Ms,3,1,"ng-template"))},encapsulation:2,changeDetection:0}),ah),Bh=((oh=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:oh}),oh.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||oh)},imports:[[h.c,La.FormsModule,Pa,Go],Go]}),oh),Uh=((ih=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:ih}),ih.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||ih)},imports:[[h.c,La.FormsModule]]}),ih),Hh=((rh=function(){function e(t,n){v(this,e),this._term="",this.selected=[],this.matches=[],this.hasError=!1,this.isLoading=!1,this.isStatic=!0,this.page=0,this.lastPage=!1,this.autoSelectFirstOption=!0,this.optionsFunctionHasChanged=!1,this.selectingMatches=!1,this.element=t,this.ref=n,this.scrollHandler=this.onScrollDown.bind(this)}return y(e,[{key:"cleanUp",value:function(){var e=this.getListElement();e&&e.hasAttribute("scrollListener")&&(e.removeAttribute("scrollListener"),e.removeEventListener("scroll",this.scrollHandler))}},{key:"onScrollDown",value:function(e){var t=e.target;t&&t.offsetHeight+t.scrollTop>=t.scrollHeight-300&&(e.stopPropagation(),this.lastPage||this.isLoading||this.processSearch())}},{key:"term",get:function(){return this._term},set:function(e){this.shouldSearch(e)?(this._term=e,this.page=0,this.optionsFunctionHasChanged=!1,this.matches=[],this.processSearch(!0)):this.addScrollListener()}},{key:"config",get:function(){return this._config},set:function(e){this.config&&this.config.options!==e.options&&(this.optionsFunctionHasChanged=!0),this._config=e}},{key:"shouldSearch",value:function(e){return e!==this._term||0===this.page||this.optionsFunctionHasChanged}},{key:"addScrollListener",value:function(){if(this.config.enableInfiniteScroll){var e=this.getListElement();e&&!e.hasAttribute("scrollListener")&&(e.setAttribute("scrollListener","true"),e.addEventListener("scroll",this.scrollHandler))}}},{key:"processSearch",value:function(e){var t=this;this.hasError=!1,this.isLoading=!0,this.ref.markForCheck(),this.search(this.term).subscribe((function(n){e&&(t.matches=[]),t.isStatic?t.matches=t.filterData(n):(t.matches=t.matches.concat(n),t.lastPage=n&&!n.length),t.matches.length>0&&t.autoSelectFirstOption&&!t.selectingMatches&&t.nextActiveMatch(),t.isLoading=!1,t.ref.markForCheck(),setTimeout((function(){t.overlay.updatePosition(),t.addScrollListener()}))}),(function(e){t.hasError=t.term&&0!==t.term.length,t.isLoading=!1,t.lastPage=!0,t.term&&0!==t.term.length&&console.error(e),t.ref.markForCheck()}))}},{key:"search",value:function(e,t){var n=this,r=this.config.options;return Object(C.a)(new Promise((function(t,i){if(r)if(Array.isArray(r))n.isStatic=!0,t(n.structureArray(r));else if(n.shouldCallOptionsFunction(e))if(r.hasOwnProperty("reject")&&r.hasOwnProperty("resolve")||Object.getPrototypeOf(r).hasOwnProperty("then"))n.isStatic=!1,r.then(n.structureArray.bind(n)).then(t,i);else{if("function"!=typeof r)throw i("The data provided is not an array or a promise"),new Error("The data provided is not an array or a promise");n.isStatic=!1,r(e,++n.page).then(n.structureArray.bind(n)).then(t,i)}else if(n.config.defaultOptions)if(n.isStatic=!1,"function"==typeof n.config.defaultOptions){var o=n.config.defaultOptions(e,++n.page);Object.getPrototypeOf(o).hasOwnProperty("then")?o.then(n.structureArray.bind(n)).then(t,i):t(n.structureArray(o))}else t(n.structureArray(n.config.defaultOptions));else i("No search term");else i("error")})))}},{key:"shouldCallOptionsFunction",value:function(e){return this.config&&"minSearchLength"in this.config&&Number.isInteger(this.config.minSearchLength)?"string"==typeof e&&e.length>=this.config.minSearchLength:!(!e||!e.length)}},{key:"structureArray",value:function(e){var t=this,n=e.data?e.data:e;return!n||"string"!=typeof n[0]&&"number"!=typeof n[0]?n.map((function(e){var n=t.config.field?e[t.config.field]:e.value||e;return t.config.valueFormat&&(n=mh.interpolate(t.config.valueFormat,e)),{value:n,label:t.config.format?mh.interpolate(t.config.format,e):e.label||String(n),data:e}})):e.map((function(e){return{value:e,label:e}}))}},{key:"filterData",value:function(e){var t=this;return this.term&&e?e.filter((function(e){return~String(e.label).toLowerCase().indexOf(t.term.toLowerCase())})):e}},{key:"selectActiveMatch",value:function(){this.selectMatch()}},{key:"prevActiveMatch",value:function(){var e=this.matches.indexOf(this.activeMatch);this.activeMatch=this.matches[e-1<0?this.matches.length-1:e-1],this.scrollToActive(),this.ref.markForCheck()}},{key:"nextActiveMatch",value:function(){var e=this.matches.indexOf(this.activeMatch);this.activeMatch=this.matches[e+1>this.matches.length-1?0:e+1],this.scrollToActive(),this.ref.markForCheck()}},{key:"getListElement",value:function(){return this.element.nativeElement}},{key:"getChildrenOfListElement",value:function(){var e=[];return this.getListElement()&&(e=this.getListElement().children),e}},{key:"scrollToActive",value:function(){var e=this.getListElement(),t=this.getChildrenOfListElement()[this.matches.indexOf(this.activeMatch)];t&&(e.scrollTop=t.offsetTop)}},{key:"selectActive",value:function(e){this.activeMatch=e}},{key:"isActive",value:function(e){return this.activeMatch===e}},{key:"selectMatch",value:function(e,t){e&&(e.stopPropagation(),e.preventDefault());var n=this.activeMatch;return n&&this.parent&&(this.parent.value=n,this.selectingMatches=!0,this.parent.closeOnSelect&&(this.parent.hideResults(),this.selectingMatches=!1)),this.ref.markForCheck(),!1}},{key:"escapeRegexp",value:function(e){return e.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}},{key:"highlight",value:function(e,t){return t?e.replace(new RegExp(this.escapeRegexp(t.trim()),"gi"),"<strong>$&</strong>"):e}},{key:"preselected",value:function(e){if(this.config.preselected){var t=this.config.preselected;return-1!==this.selected.findIndex((function(n){return t(e,n)}))}return-1!==this.selected.findIndex((function(t){var n=!1;return t&&t.value&&e&&e.value&&(n=t.value.id&&e.value.id?t.value.id===e.value.id:t.value instanceof Object&&t.value.hasOwnProperty("value")?t.value.value===e.value:t.value===e.value),n}))}}]),e}()).\u0275fac=function(e){return new(e||rh)(c["\u0275\u0275directiveInject"](c.ElementRef),c["\u0275\u0275directiveInject"](c.ChangeDetectorRef))},rh.\u0275dir=c["\u0275\u0275defineDirective"]({type:rh,inputs:{matches:"matches"}}),rh),Gh=((nh=function(e){l(n,e);var t=d(n);function n(e,r,i){var o;return v(this,n),(o=t.call(this,e,i)).labels=r,o}return y(n,[{key:"hasNonErrorMessage",get:function(){return!this.isLoading&&!this.matches.length&&!this.hasError}},{key:"getEmptyMessage",value:function(){return this.shouldShowMessageForZeroLengthSearch()?this.config.emptyPickerMessage:""===this.term?this.labels.pickerTextFieldEmpty:this.labels.pickerEmpty}},{key:"shouldShowMessageForZeroLengthSearch",value:function(){return this.config&&0===this.config.minSearchLength&&""===this.term&&this.config.emptyPickerMessage}},{key:"getListElement",value:function(){return this.element.nativeElement.querySelector("novo-list")}}]),n}(Hh)).\u0275fac=function(e){return new(e||nh)(c["\u0275\u0275directiveInject"](c.ElementRef),c["\u0275\u0275directiveInject"](bh),c["\u0275\u0275directiveInject"](c.ChangeDetectorRef))},nh.\u0275cmp=c["\u0275\u0275defineComponent"]({type:nh,selectors:[["picker-results"]],hostAttrs:[1,"active"],features:[c["\u0275\u0275InheritDefinitionFeature"]],decls:4,vars:4,consts:[["direction","vertical",4,"ngIf"],["class","picker-loader",4,"ngIf"],["class","picker-error",4,"ngIf"],["class","picker-null-results",4,"ngIf"],["direction","vertical"],[3,"active","disabled","click","mouseenter",4,"ngFor","ngForOf"],["theme","line",4,"ngIf"],[3,"click","mouseenter"],[3,"innerHtml"],["theme","line"],[1,"picker-loader"],[1,"picker-error"],[1,"picker-null-results"]],template:function(e,t){1&e&&(c["\u0275\u0275template"](0,Fs,3,2,"novo-list",0),c["\u0275\u0275template"](1,Ls,2,0,"div",1),c["\u0275\u0275template"](2,Vs,2,1,"p",2),c["\u0275\u0275template"](3,Bs,2,1,"p",3)),2&e&&(c["\u0275\u0275property"]("ngIf",t.matches.length>0),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",t.isLoading&&0===t.matches.length),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",t.hasError),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",t.hasNonErrorMessage))},directives:[h.m,Ih,h.l,xh,Dh,kh],encapsulation:2}),nh),qh={};function Kh(e){Object(c.isDevMode)()&&!(e in qh)&&(qh[e]=!0,console.warn(e))}var zh,Yh,Wh,Zh,Jh,Qh,Xh,$h,ef,tf,nf,rf,of,af,sf,cf,lf,uf,df={provide:La.NG_VALUE_ACCESSOR,useExisting:Object(c.forwardRef)((function(){return hf})),multi:!0},hf=((Zh=function(){function e(t,n,r){v(this,e),this.element=t,this.componentUtils=n,this.ref=r,this.closeOnSelect=!0,this.selected=[],this.appendToBody=!1,this.parentScrollAction="close",this.side="left",this.autoSelectFirstOption=!0,this._disablePickerInput=!1,this.changed=new c.EventEmitter,this.select=new c.EventEmitter,this.focus=new c.EventEmitter,this.blur=new c.EventEmitter,this.typing=new c.EventEmitter,this.term="",this.onModelChange=function(){},this.onModelTouched=function(){}}return y(e,[{key:"disablePickerInput",get:function(){return this._disablePickerInput},set:function(e){this._disablePickerInput=ao(e)}},{key:"ngOnInit",value:function(){var e=this;this.overrideElement&&(this.element=this.overrideElement),this.appendToBody&&Kh("'appendToBody' has been deprecated. Please remove this attribute."),this.resultsComponent=this.config.resultsTemplate||Gh,uo(this.input.nativeElement,"paste").pipe(Va(250),ho()).subscribe((function(t){return e.onDebouncedKeyup(t)}),(function(t){return e.hideResults(t)})),uo(this.input.nativeElement,"keyup").pipe(Va(250),ho()).subscribe((function(t){return e.onDebouncedKeyup(t)}),(function(t){return e.hideResults(t)}))}},{key:"onDebouncedKeyup",value:function(e){[_h.ESC,_h.UP,_h.DOWN,_h.ENTER,_h.TAB].includes(e.keyCode)||this.show(e.target.value)}},{key:"openPanel",value:function(){this.container.openPanel()}},{key:"closePanel",value:function(){this.container.closePanel()}},{key:"panelOpen",get:function(){return this.container&&this.container.panelOpen}},{key:"show",value:function(e){this.openPanel(),this.showResults(e)}},{key:"onKeyDown",value:function(e){if(this.disablePickerInput)mh.swallowEvent(e);else if(this.panelOpen&&!this.disablePickerInput){if(e.keyCode===_h.ESC||e.keyCode===_h.TAB)return void this.hideResults();if(e.keyCode===_h.UP)return this.popup.instance.prevActiveMatch(),void this.ref.markForCheck();if(e.keyCode===_h.DOWN)return this.popup.instance.nextActiveMatch(),void this.ref.markForCheck();if(e.keyCode===_h.ENTER){var t=this.popup.instance.activeMatch;return void(this.selected.find((function(e){return t&&t.value&&e.value===t.value}))||(this.popup.instance.selectActiveMatch(),this.ref.markForCheck()))}e.keyCode!==_h.BACKSPACE&&e.keyCode!==_h.DELETE||mh.isBlank(this._value)||(this.clearValue(!1),this.closePanel()),e.keyCode===_h.DELETE&&mh.isBlank(this._value)&&this.clearValue(!0)}}},{key:"clearValue",value:function(e){this._value=null,this.select.emit(this._value),this.changed.emit({value:this._value,rawValue:{label:"",value:this._value}}),this.onModelChange(this._value),e&&(this.term="",this.hideResults()),this.ref.markForCheck()}},{key:"onFocus",value:function(e){this.panelOpen||this.show(),this.focus.emit(e)}},{key:"showResults",value:function(e){this.popup?(this.popup.instance.config=this.config,this.popup.instance.term=this.term,this.popup.instance.selected=this.selected,this.popup.instance.autoSelectFirstOption=this.autoSelectFirstOption,this.ref.markForCheck()):(this.popup=this.componentUtils.append(this.resultsComponent,this.results),this.popup.instance.parent=this,this.popup.instance.config=this.config,this.popup.instance.term=this.term,this.popup.instance.selected=this.selected,this.popup.instance.autoSelectFirstOption=this.autoSelectFirstOption,this.popup.instance.overlay=this.container.overlayRef,this.ref.markForCheck())}},{key:"hideResults",value:function(e){this.closePanel(),this.ref.markForCheck()}},{key:"onOverlayClosed",value:function(){this.popup&&this.popup.instance&&this.popup.instance.cleanUp&&this.popup.instance.cleanUp()}},{key:"value",get:function(){return this._value},set:function(e){e?e.value!==this._value?(this.term=this.clearValueOnSelect?"":e.label,this._value=e.value,this.changed.emit({value:e.value,rawValue:{label:this.term,value:e.value}}),this.select.emit(e),this.onModelChange(e.value),this.popup&&(this.popup.instance.selected=this.selected)):(this.changed.emit({value:e.value,rawValue:{label:this.term,value:this._value}}),this.select.emit(e)):(this.term="",this._value=null,this.onModelChange(this._value)),this.ref.markForCheck()}},{key:"checkTerm",value:function(e){this.typing.emit(e),e&&e.length||(this._value=null,this.onModelChange(this._value)),this.ref.markForCheck()}},{key:"onTouched",value:function(e){this.onModelTouched(),this.blur.emit(e)}},{key:"writeValue",value:function(e){var t=this;this.clearValueOnSelect?this.term="":"string"!=typeof e||this.config.useGetLabels?e&&e.label?this.term=e.label:e&&e.firstName?this.term="".concat(e.firstName," ").concat(e.lastName):e&&e.name?this.term=e.name:"function"==typeof this.config.getLabels?this.config.getLabels(e).then((function(n){t.term=n?n.length?n[0].label||"":n.label||"":e,t.ref.markForCheck()})):this.term=e&&e.title?e.title:e||"":this.term=e,this._value=e,this.ref.markForCheck()}},{key:"registerOnChange",value:function(e){this.onModelChange=e}},{key:"registerOnTouched",value:function(e){this.onModelTouched=e}},{key:"setDisabledState",value:function(e){this._disablePickerInput=e}}]),e}()).\u0275fac=function(e){return new(e||Zh)(c["\u0275\u0275directiveInject"](c.ElementRef),c["\u0275\u0275directiveInject"](Nh),c["\u0275\u0275directiveInject"](c.ChangeDetectorRef))},Zh.\u0275cmp=c["\u0275\u0275defineComponent"]({type:Zh,selectors:[["novo-picker"]],viewQuery:function(e,t){var n;1&e&&(c["\u0275\u0275staticViewQuery"](Us,!0,c.ViewContainerRef),c["\u0275\u0275staticViewQuery"](Vh,!0),c["\u0275\u0275staticViewQuery"](Hs,!0)),2&e&&(c["\u0275\u0275queryRefresh"](n=c["\u0275\u0275loadQuery"]())&&(t.results=n.first),c["\u0275\u0275queryRefresh"](n=c["\u0275\u0275loadQuery"]())&&(t.container=n.first),c["\u0275\u0275queryRefresh"](n=c["\u0275\u0275loadQuery"]())&&(t.input=n.first))},inputs:{closeOnSelect:"closeOnSelect",selected:"selected",appendToBody:"appendToBody",parentScrollAction:"parentScrollAction",side:"side",autoSelectFirstOption:"autoSelectFirstOption",disablePickerInput:"disablePickerInput",config:"config",placeholder:"placeholder",clearValueOnSelect:"clearValueOnSelect",parentScrollSelector:"parentScrollSelector",containerClass:"containerClass",overrideElement:"overrideElement"},outputs:{changed:"changed",select:"select",focus:"focus",blur:"blur",typing:"typing"},features:[c["\u0275\u0275ProvidersFeature"]([df])],ngContentSelectors:vs,decls:10,vars:12,consts:[["class","bhi-more",4,"ngIf"],[3,"class",4,"ngIf"],["type","text","autocomplete","off",1,"picker-input",3,"ngModel","placeholder","disabled","ngModelChange","keydown","focus","click","blur"],["input",""],["class","bhi-search",4,"ngIf"],["class","bhi-times",3,"entity-selected","click",4,"ngIf"],["position","above-below",1,"picker-results-container",3,"parent","closing"],["results",""],[1,"bhi-more"],[1,"bhi-search"],[1,"bhi-times",3,"click"]],template:function(e,t){1&e&&(c["\u0275\u0275projectionDef"](),c["\u0275\u0275template"](0,Gs,1,0,"i",0),c["\u0275\u0275template"](1,qs,1,4,"i",1),c["\u0275\u0275elementStart"](2,"input",2,3),c["\u0275\u0275listener"]("ngModelChange",(function(e){return t.term=e}))("ngModelChange",(function(e){return t.checkTerm(e)}))("keydown",(function(e){return t.onKeyDown(e)}))("focus",(function(e){return t.onFocus(e)}))("click",(function(e){return t.onFocus(e)}))("blur",(function(e){return t.onTouched(e)})),c["\u0275\u0275elementEnd"](),c["\u0275\u0275template"](4,Ks,1,0,"i",4),c["\u0275\u0275template"](5,zs,1,2,"i",5),c["\u0275\u0275elementStart"](6,"novo-overlay-template",6),c["\u0275\u0275listener"]("closing",(function(){return t.onOverlayClosed()})),c["\u0275\u0275element"](7,"span",null,7),c["\u0275\u0275projection"](9),c["\u0275\u0275elementEnd"]()),2&e&&(c["\u0275\u0275property"]("ngIf",(null==t.config?null:t.config.entityIcon)&&!t._value),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",(null==t.config?null:t.config.entityIcon)&&t._value),c["\u0275\u0275advance"](1),c["\u0275\u0275classProp"]("entity-picker",null==t.config?null:t.config.entityIcon)("entity-selected",(null==t.config?null:t.config.entityIcon)&&t._value),c["\u0275\u0275property"]("ngModel",t.term)("placeholder",t.placeholder)("disabled",t.disablePickerInput),c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("ngIf",(!t._value||t.clearValueOnSelect)&&!t.disablePickerInput),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",t._value&&!t.clearValueOnSelect&&!t.disablePickerInput),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("parent",t.element))},directives:[h.m,La.DefaultValueAccessor,La.NgControlStatus,La.NgModel,Vh],encapsulation:2}),Zh),ff=((Wh=function(){function e(t){v(this,e),this.labels=t}return y(e,[{key:"escapeRegexp",value:function(e){return e.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}},{key:"highlight",value:function(e,t){return t&&e?e.replace(new RegExp(this.escapeRegexp(t.trim()),"gi"),"<strong>$&</strong>"):e}},{key:"getIconForResult",value:function(e){if(e)switch(e.searchEntity){case"ClientContact":return"person contact";case"ClientCorporation":return"company";case"Opportunity":return"opportunity";case"Candidate":return"candidate";case"Lead":return"lead";case"JobOrder":return"job";case"Placement":return"star placement";case"CorporateUser":return"user";case"CorporationDepartment":return"department";case"JobShift":return"timetable contract";default:return""}return""}},{key:"renderTimestamp",value:function(e){var t="";return e&&(t=this.labels.formatDateWithFormat(e,{year:"numeric",month:"numeric",day:"numeric"})),t}},{key:"renderTimeNoOffset",value:function(e){var t="";return e&&(e=e.slice(0,19),t=this.labels.formatTime(e)),t}},{key:"getNameForResult",value:function(e){if(e)switch(e.searchEntity){case"Lead":case"CorporateUser":case"ClientContact":case"Candidate":case"Person":return"firstName"in e?"".concat(e.firstName," ").concat(e.lastName).trim():(""+(e.name||"")).trim();case"ClientCorporation":return(""+(e.name||"")).trim();case"Opportunity":case"JobOrder":return"".concat(e.id," | ").concat(e.title||"").trim();case"Placement":var t=""+e.id;return(e.candidate||e.jobOrder)&&(t=e.candidate&&e.jobOrder?"".concat(t," | ").concat(e.candidate.firstName," ").concat(e.candidate.lastName," - ").concat(e.jobOrder.title).trim():e.jobOrder?"".concat(t," | ").concat(e.jobOrder.title).trim():"".concat(t," | ").concat(e.candidate.firstName," ").concat(e.candidate.lastName).trim()),t;default:return(""+(e.name||"")).trim()}return""}}]),e}()).\u0275fac=function(e){return new(e||Wh)(c["\u0275\u0275directiveInject"](bh))},Wh.\u0275cmp=c["\u0275\u0275defineComponent"]({type:Wh,selectors:[["entity-picker-result"]],inputs:{match:"match",term:"term"},decls:1,vars:1,consts:[[4,"ngIf"],[3,"icon"],[3,"innerHtml"],["direction","horizontal"],["class","company",4,"ngIf"],["class","contact",4,"ngIf"],["class","candidate",4,"ngIf"],["class","start-date",4,"ngIf"],["class","start-time",4,"ngIf"],["class","job",4,"ngIf"],["class","openings",4,"ngIf"],["class","email",4,"ngIf"],["class","phone",4,"ngIf"],["class","location",4,"ngIf"],["class","status",4,"ngIf"],["class","owner",4,"ngIf"],["class","primary-department",4,"ngIf"],["class","occupation",4,"ngIf"],[1,"company"],[1,"bhi-company"],[1,"contact"],[1,"bhi-person","contact","person"],[1,"candidate"],[1,"bhi-candidate"],[1,"start-date"],[1,"bhi-calendar"],[1,"start-time"],[1,"bhi-clock"],[1,"job"],[1,"bhi-job"],[1,"openings"],[1,"email"],[1,"bhi-email"],[1,"phone"],[1,"bhi-phone"],[1,"location"],[1,"bhi-location"],[3,"innerHtml",4,"ngIf"],[1,"status"],[1,"bhi-info"],[1,"owner"],[1,"bhi-person"],[1,"primary-department"],[1,"bhi-department"],[1,"occupation"],[1,"bhi-occupation"]],template:function(e,t){1&e&&c["\u0275\u0275template"](0,dc,21,17,"novo-list-item",0),2&e&&c["\u0275\u0275property"]("ngIf",t.match.data)},directives:[h.m,xh,Ah,Oh,Th,Dh],encapsulation:2}),Wh),mf=((Yh=function(e){l(n,e);var t=d(n);function n(e,r,i){var o;return v(this,n),(o=t.call(this,e,i)).labels=r,o.select=new c.EventEmitter,o}return y(n,[{key:"hasNonErrorMessage",get:function(){return!this.isLoading&&!this.matches.length&&!this.hasError}},{key:"getListElement",value:function(){return this.element.nativeElement.querySelector("novo-list")}},{key:"selectMatch",value:function(e,t){return this.select.next(t),s(p(n.prototype),"selectMatch",this).call(this,e,t)}}]),n}(Hh)).\u0275fac=function(e){return new(e||Yh)(c["\u0275\u0275directiveInject"](c.ElementRef),c["\u0275\u0275directiveInject"](bh),c["\u0275\u0275directiveInject"](c.ChangeDetectorRef))},Yh.\u0275cmp=c["\u0275\u0275defineComponent"]({type:Yh,selectors:[["entity-picker-results"]],outputs:{select:"select"},features:[c["\u0275\u0275InheritDefinitionFeature"]],decls:4,vars:4,consts:[["direction","vertical",4,"ngIf"],["class","picker-error",4,"ngIf"],["class","picker-null-results",4,"ngIf"],["direction","vertical"],[3,"match","term","ngClass","disabled","click","mouseenter",4,"ngFor","ngForOf"],["theme","line",4,"ngIf"],[3,"match","term","ngClass","click","mouseenter"],["theme","line"],[1,"picker-error"],[1,"picker-null-results"]],template:function(e,t){1&e&&(c["\u0275\u0275template"](0,pc,3,2,"novo-list",0),c["\u0275\u0275template"](1,vc,2,1,"p",1),c["\u0275\u0275template"](2,gc,2,1,"p",2),c["\u0275\u0275template"](3,yc,2,1,"p",2)),2&e&&(c["\u0275\u0275property"]("ngIf",t.matches.length>0),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",t.hasError),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",t.hasNonErrorMessage&&""!==t.term),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",t.hasNonErrorMessage&&""===t.term))},directives:[h.m,Ih,h.l,ff,h.k,kh],encapsulation:2}),Yh),pf=((zh=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:zh}),zh.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||zh)},imports:[[h.c,La.FormsModule,Ch,Rh,Bh,Uh]]}),zh),vf={provide:La.NG_VALUE_ACCESSOR,useExisting:Object(c.forwardRef)((function(){return bf})),multi:!0},gf=((Jh=function(e){l(n,e);var t=d(n);function n(){return v(this,n),t.apply(this,arguments)}return y(n,[{key:"onSelect",value:function(e){return!1}}]),n}(Fh)).\u0275fac=function(e){return yf(e||Jh)},Jh.\u0275cmp=c["\u0275\u0275defineComponent"]({type:Jh,selectors:[["novo-row-chip"]],features:[c["\u0275\u0275InheritDefinitionFeature"]],ngContentSelectors:vs,decls:3,vars:1,consts:[[1,"novo-row-chips-columns"],["class","bhi-delete-o",3,"click",4,"ngIf"],[1,"bhi-delete-o",3,"click"]],template:function(e,t){1&e&&(c["\u0275\u0275projectionDef"](),c["\u0275\u0275elementStart"](0,"div",0),c["\u0275\u0275projection"](1),c["\u0275\u0275template"](2,kc,1,0,"i",1),c["\u0275\u0275elementEnd"]()),2&e&&(c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("ngIf",!t.disabled))},directives:[h.m],encapsulation:2}),Jh),yf=c["\u0275\u0275getInheritedFactory"](gf),bf=((Xh=function(e){l(n,e);var t=d(n);function n(e,r,i){var o;return v(this,n),(o=t.call(this,e,r,i)).closeOnSelect=!0,o}return y(n,[{key:"onKeyDown",value:function(e){}}]),n}(Lh)).\u0275fac=function(e){return new(e||Xh)(c["\u0275\u0275directiveInject"](c.ElementRef),c["\u0275\u0275directiveInject"](Nh),c["\u0275\u0275directiveInject"](bh))},Xh.\u0275cmp=c["\u0275\u0275defineComponent"]({type:Xh,selectors:[["novo-row-chips"]],hostVars:2,hostBindings:function(e,t){2&e&&c["\u0275\u0275classProp"]("with-value",t.items.length>0)},inputs:{closeOnSelect:"closeOnSelect"},features:[c["\u0275\u0275ProvidersFeature"]([vf]),c["\u0275\u0275InheritDefinitionFeature"]],decls:8,vars:6,consts:[["class","novo-row-chips-columns",4,"ngIf"],["class","novo-row-chips-empty-message",4,"ngIf"],[3,"type","selected","disabled","remove","select",4,"ngFor","ngForOf"],["clearValueOnSelect","true",3,"closeOnSelect","config","disablePickerInput","hidden","placeholder","ngModel","selected","overrideElement","ngModelChange","select","keydown","focus","typing","blur",4,"ngIf"],[1,"preview-container"],["preview",""],[1,"novo-row-chips-columns"],["class","column-label",4,"ngFor","ngForOf"],[1,"column-label"],[1,"novo-row-chips-empty-message"],[3,"type","disabled","remove","select"],["class","column-data",4,"ngFor","ngForOf"],[1,"column-data"],["clearValueOnSelect","true",3,"closeOnSelect","config","disablePickerInput","hidden","placeholder","ngModel","selected","overrideElement","ngModelChange","select","keydown","focus","typing","blur"]],template:function(e,t){1&e&&(c["\u0275\u0275template"](0,wc,2,1,"div",0),c["\u0275\u0275template"](1,Sc,2,1,"div",1),c["\u0275\u0275template"](2,Ec,2,5,"novo-row-chip",2),c["\u0275\u0275pipe"](3,"async"),c["\u0275\u0275template"](4,Ic,1,8,"novo-picker",3),c["\u0275\u0275elementStart"](5,"div",4),c["\u0275\u0275element"](6,"span",null,5),c["\u0275\u0275elementEnd"]()),2&e&&(c["\u0275\u0275property"]("ngIf",t.items.length>0),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",t.source.emptyReadOnlyMessage&&t.disablePickerInput&&0===t.items.length),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngForOf",c["\u0275\u0275pipeBind1"](3,4,t._items)),c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("ngIf",!t.maxlength||t.maxlength&&t.items.length<t.maxlength))},directives:[h.m,h.l,gf,hf,La.NgControlStatus,La.NgModel],pipes:[h.b],encapsulation:2}),Xh),kf=((Qh=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:Qh}),Qh.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||Qh)},imports:[[h.c,La.FormsModule,pf]]}),Qh),Cf={provide:La.NG_VALUE_ACCESSOR,useExisting:Object(c.forwardRef)((function(){return wf})),multi:!0},wf=((cf=function(){function e(t){v(this,e),this.zone=t,this.startupFocus=!1,this.fileBrowserImageUploadUrl="",this.disabled=!1,this.change=new c.EventEmitter,this.ready=new c.EventEmitter,this.blur=new c.EventEmitter,this.focus=new c.EventEmitter,this.paste=new c.EventEmitter,this.loaded=new c.EventEmitter,this._value=""}return y(e,[{key:"value",get:function(){return this._value},set:function(e){e!==this._value&&(this._value=e,this.onChange(e))}},{key:"ngOnDestroy",value:function(){var e=this;this.instance&&(this.instance.focusManager.blur(!0),setTimeout((function(){e.instance.removeAllListeners();var t=CKEDITOR.instances[e.instance.name];t&&t.destroy(),e.instance.destroy(),e.instance=null})))}},{key:"ngAfterViewInit",value:function(){var e=Object.assign(this.getBaseConfig(),this.config);this.startupFocus&&(e.startupFocus=!0),this.disabled&&(e.readOnly=!0),this.ckeditorInit(e)}},{key:"updateValue",value:function(e){var t=this;this.zone.run((function(){t.value=e,t.onChange(e),t.onTouched(),t.change.emit(e)}))}},{key:"ckeditorInit",value:function(e){var t=this;CKEDITOR?(this.instance=CKEDITOR.replace(this.host.nativeElement,e),this.instance.setData(this.value),this.instance.on("instanceReady",(function(e){t.ready.emit(e)})),this.instance.on("change",(function(){t.onTouched();var e=t.instance.getData();t.debounce?(t.debounceTimeout&&clearTimeout(t.debounceTimeout),t.debounceTimeout=setTimeout((function(){t.updateValue(e),t.debounceTimeout=null}),parseInt(t.debounce,10))):t.updateValue(e)})),this.instance.on("blur",(function(e){t.blur.emit(e)})),this.instance.on("focus",(function(e){t.focus.emit(e)})),this.instance.on("paste",(function(e){t.paste.emit(e)})),this.instance.on("loaded",(function(e){t.loaded.emit(e)}))):console.error("Make sure to include CKEditor sources in your dependencies!")}},{key:"getBaseConfig",value:function(){var e={enterMode:CKEDITOR.ENTER_BR,shiftEnterMode:CKEDITOR.ENTER_P,disableNativeSpellChecker:!1,removePlugins:"liststyle,tabletools,contextmenu",extraAllowedContent:"*(*){*};table tbody tr td th[*];",font_names:"Arial/Arial, Helvetica, sans-serif;Calibri/Calibri, Verdana, Geneva, sans-serif;Comic Sans MS/Comic Sans MS, cursive;Courier New/Courier New, Courier, monospace;Georgia/Georgia, serif;Lucida Sans Unicode/Lucida Sans Unicode, Lucida Grande, sans-serif;Tahoma/Tahoma, Geneva, sans-serif;Times New Roman/Times New Roman, Times, serif;Trebuchet MS/Trebuchet MS, Helvetica, sans-serif;Verdana/Verdana, Geneva, sans-serif"};return Object.assign(e,this.minimal?{toolbar:[{name:"basicstyles",items:["Styles","FontSize","Bold","Italic","Underline","TextColor","-","NumberedList","BulletedList","Outdent","Indent","Link"]}]}:{toolbar:[{name:"clipboard",items:["Paste","PasteText","PasteFromWord","Undo","Redo"]},{name:"paragraph",items:["NumberedList","BulletedList","Outdent","Indent","Blockquote","JustifyLeft","JustifyCenter","JustifyRight","JustifyBlock","BidiLtr","BidiRtl"]},{name:"links",items:["Link"]},{name:"insert",items:["Image","Table","HorizontalRule"]},{name:"tools",items:["Maximize","Source"]},"/",{name:"basicstyles",items:["Bold","Italic","Underline","Strike","Subscript","Superscript"]},{name:"styles",items:["Styles","Format","Font","FontSize"]},{name:"colors",items:["TextColor","BGColor"]}],filebrowserImageUploadUrl:this.fileBrowserImageUploadUrl})}},{key:"writeValue",value:function(e){this._value=e,this.instance&&this.instance.setData(e)}},{key:"onChange",value:function(e){}},{key:"onTouched",value:function(e){}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e,this.instance&&CKEDITOR.instances[this.instance.name].setReadOnly(e)}},{key:"insertText",value:function(e){var t=e.trim();this.instance.insertText(t)}}]),e}()).\u0275fac=function(e){return new(e||cf)(c["\u0275\u0275directiveInject"](c.NgZone))},cf.\u0275cmp=c["\u0275\u0275defineComponent"]({type:cf,selectors:[["novo-editor"]],viewQuery:function(e,t){var n;1&e&&c["\u0275\u0275viewQuery"](xc,!0),2&e&&c["\u0275\u0275queryRefresh"](n=c["\u0275\u0275loadQuery"]())&&(t.host=n.first)},inputs:{startupFocus:"startupFocus",fileBrowserImageUploadUrl:"fileBrowserImageUploadUrl",disabled:"disabled",value:"value",config:"config",debounce:"debounce",name:"name",minimal:"minimal"},outputs:{change:"change",ready:"ready",blur:"blur",focus:"focus",paste:"paste",loaded:"loaded"},features:[c["\u0275\u0275ProvidersFeature"]([Cf])],decls:2,vars:2,consts:[[3,"name","id"],["host",""]],template:function(e,t){1&e&&c["\u0275\u0275element"](0,"textarea",0,1),2&e&&c["\u0275\u0275property"]("name",t.name)("id",t.name)},encapsulation:2}),cf),Sf=((sf=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:sf}),sf.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||sf)},imports:[[h.c,La.FormsModule]]}),sf),_f=((af=function(){function e(t){v(this,e),this.template=t}return y(e,[{key:"getType",value:function(){return this.name}}]),e}()).\u0275fac=function(e){return new(e||af)(c["\u0275\u0275directiveInject"](c.TemplateRef))},af.\u0275dir=c["\u0275\u0275defineDirective"]({type:af,selectors:[["","novoTemplate",""]],inputs:{type:"type",name:["novoTemplate","name"]}}),af),Ef=((of=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:of}),of.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||of)},imports:[[h.c]]}),of),If=((rf=function(){function e(){v(this,e),this.selectionSource=new w.a,this.paginationSource=new w.a,this.sortFilterSource=new w.a,this.resetSource=new w.a,this.expandSource=new w.a,this.dataLoaded=new w.a,this.sort=void 0,this.filter=void 0,this.page=0,this.pageSize=void 0,this.globalSearch=void 0,this.selectedRows=new Map,this.expandedRows=new Set,this.isForceRefresh=!1,this.updates=new c.EventEmitter,this.retainSelected=!1}return y(e,[{key:"userFiltered",get:function(){return!!(this.filter||this.sort||this.globalSearch||this.outsideFilter)}},{key:"userFilteredInternal",get:function(){return!!(this.filter||this.sort||this.globalSearch)}},{key:"selected",get:function(){return Array.from(this.selectedRows.values())}},{key:"reset",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0;t||(this.sort=void 0,this.globalSearch=void 0,this.filter=void 0),this.page=0,this.retainSelected||(this.selectedRows.clear(),this.resetSource.next()),this.onSortFilterChange(),this.retainSelected=!1,e&&this.updates.emit({sort:this.sort,filter:this.filter,globalSearch:this.globalSearch})}},{key:"clearSort",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.sort=void 0,this.page=0,this.checkRetainment("sort"),this.reset(e,!0),this.onSortFilterChange(),e&&this.updates.emit({sort:this.sort,filter:this.filter,globalSearch:this.globalSearch})}},{key:"clearFilter",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.filter=void 0,this.globalSearch=void 0,this.page=0,this.checkRetainment("filter"),this.reset(e,!0),this.onSortFilterChange(),e&&this.updates.emit({sort:this.sort,filter:this.filter,globalSearch:this.globalSearch})}},{key:"clearSelected",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.globalSearch=void 0,this.page=0,this.reset(e,!0),this.onSelectionChange(),e&&this.updates.emit({sort:this.sort,filter:this.filter,globalSearch:this.globalSearch})}},{key:"onSelectionChange",value:function(){this.selectionSource.next()}},{key:"onExpandChange",value:function(e){this.expandSource.next(e)}},{key:"onPaginationChange",value:function(e,t){this.checkRetainment("page"),this.paginationSource.next({isPageSizeChange:e,pageSize:t})}},{key:"onSortFilterChange",value:function(){this.checkRetainment("sort"),this.checkRetainment("filter"),this.sortFilterSource.next({sort:this.sort,filter:this.filter,globalSearch:this.globalSearch})}},{key:"setInitialSortFilter",value:function(e){if(e&&(e.sort&&(this.sort=e.sort),e.filter)){var t=mh.convertToArray(e.filter);t.forEach((function(e){e.value=e.selectedOption&&e.type?function(){function e(){v(this,e)}return y(e,null,[{key:"constructFilter",value:function(e,t,n){var r=e;return e&&(t&&"date"===t&&(r=e.startDate&&e.endDate?{min:Object(Fa.startOfDay)(e.startDate.date),max:Object(Fa.startOfDay)(Object(Fa.addDays)(Object(Fa.startOfDay)(e.endDate.date),1))}:{min:e.min?Object(Fa.addDays)(Object(Fa.startOfToday)(),e.min):Object(Fa.startOfToday)(),max:e.max?Object(Fa.addDays)(Object(Fa.endOfToday)(),e.max):Object(Fa.endOfToday)()}),n&&Array.isArray(e)?r=e.map((function(e){return e&&e.hasOwnProperty("value")?e.value:e})):r&&r.hasOwnProperty("value")&&(r=e.value)),r}}]),e}().constructFilter(e.selectedOption,e.type):e.value})),this.filter=t}}},{key:"checkRetainment",value:function(e){var t;this.retainSelected=(null===(t=this.selectionOptions)||void 0===t?void 0:t.some((function(t){return t.label===e})))||this.retainSelected}}]),e}()).\u0275fac=function(e){return new(e||rf)},rf.\u0275prov=c["\u0275\u0275defineInjectable"]({token:rf,factory:rf.\u0275fac}),rf),xf=((nf=function(){function e(t,n){v(this,e),this.element=t,this.ref=n,this.parentScrollAction="close",this.side="default",this.scrollStrategy="reposition",this.width=-1,this.appendToBody=!1,this.toggled=new c.EventEmitter,this.activeIndex=-1,this.filterTerm="",this.clickHandler=this.togglePanel.bind(this),this.closeHandler=this.closePanel.bind(this)}return y(e,[{key:"ngOnInit",value:function(){this.appendToBody&&Kh("'appendToBody' has been deprecated. Please remove this attribute."),this.element.nativeElement.querySelector("button").addEventListener("click",this.clickHandler),this.parentScrollSelector&&(this.parentScrollElement=mh.findAncestor(this.element.nativeElement,this.parentScrollSelector))}},{key:"ngOnDestroy",value:function(){var e=this.element.nativeElement.querySelector("button");e&&e.removeEventListener("click",this.clickHandler),this.parentScrollElement&&"close"===this.parentScrollAction&&this.parentScrollElement.removeEventListener("scroll",this.closeHandler)}},{key:"items",set:function(e){this._items=e,this.activeIndex=-1,this._textItems=e.map((function(e){return e.element.nativeElement.innerText}))}},{key:"panelOpen",get:function(){return this.overlay&&this.overlay.panelOpen}},{key:"openPanel",value:function(){this.overlay.openPanel(),this.parentScrollElement&&"close"===this.parentScrollAction&&this.parentScrollElement.addEventListener("scroll",this.closeHandler),this.toggled.emit(!0)}},{key:"closePanel",value:function(){this.overlay.closePanel(),this.parentScrollElement&&"close"===this.parentScrollAction&&this.parentScrollElement.removeEventListener("scroll",this.closeHandler),-1!==this.activeIndex&&(this._items.toArray()[this.activeIndex].active=!1),this.activeIndex=-1,this.ref.markForCheck(),this.toggled.emit(!1)}},{key:"togglePanel",value:function(){this.panelOpen?this.closePanel():this.openPanel()}},{key:"onKeyDown",value:function(e){var t=this;if(this.panelOpen&&e.keyCode===_h.ESC)mh.swallowEvent(e),this.closePanel();else if(e.keyCode===_h.ENTER)mh.swallowEvent(e),this._items.toArray()[this.activeIndex].onClick(e);else if(e.keyCode===_h.DOWN){for(mh.swallowEvent(e),-1!==this.activeIndex&&(this._items.toArray()[this.activeIndex].active=!1),this.activeIndex++,this.activeIndex===this._items.length&&(this.activeIndex=0);this._items.toArray()[this.activeIndex].disabled;)this.activeIndex++,this.activeIndex===this._items.length&&(this.activeIndex=0);this._items.toArray()[this.activeIndex].active=!0,this.scrollToActive()}else if(e.keyCode===_h.UP){for(mh.swallowEvent(e),-1!==this.activeIndex&&(this._items.toArray()[this.activeIndex].active=!1),this.activeIndex--,this.activeIndex<0&&(this.activeIndex=this._items.length-1);this._items.toArray()[this.activeIndex].disabled;)this.activeIndex--,this.activeIndex<0&&(this.activeIndex=this._items.length-1);this._items.toArray()[this.activeIndex].active=!0,this.scrollToActive()}else if(e.keyCode>=65&&e.keyCode<=90||e.keyCode>=96&&e.keyCode<=105||e.keyCode>=48&&e.keyCode<=57||e.keyCode===_h.SPACE){mh.swallowEvent(e),clearTimeout(this.filterTermTimeout),this.filterTermTimeout=setTimeout((function(){t.filterTerm=""}),2e3),this.filterTerm=this.filterTerm.concat(e.key);var n=this._textItems.findIndex((function(e){return new RegExp("^"+t.filterTerm.toLowerCase()).test(e.trim().toLowerCase())}));-1!==n&&(-1!==this.activeIndex&&(this._items.toArray()[this.activeIndex].active=!1),this.activeIndex=n,this._items.toArray()[this.activeIndex].active=!0,this.scrollToActive())}else[_h.BACKSPACE,_h.DELETE].includes(e.keyCode)&&(mh.swallowEvent(e),clearTimeout(this.filterTermTimeout),this.filterTermTimeout=setTimeout((function(){t.filterTerm=""}),2e3),this.filterTerm=this.filterTerm.slice(0,-1))}},{key:"onOverlayKeyDown",value:function(e){e.keyCode!==_h.ESC&&e.keyCode!==_h.ENTER||(mh.swallowEvent(e),this.closePanel())}},{key:"scrollToActive",value:function(){var e=this.overlay.overlayRef.overlayElement.querySelector(".dropdown-container"),t=this._items.toArray()[this.activeIndex];e&&t&&(e.scrollTop=t.element.nativeElement.offsetTop)}}]),e}()).\u0275fac=function(e){return new(e||nf)(c["\u0275\u0275directiveInject"](c.ElementRef),c["\u0275\u0275directiveInject"](c.ChangeDetectorRef))},nf.\u0275cmp=c["\u0275\u0275defineComponent"]({type:nf,selectors:[["novo-dropdown"]],viewQuery:function(e,t){var n;1&e&&c["\u0275\u0275viewQuery"](Vh,!0),2&e&&c["\u0275\u0275queryRefresh"](n=c["\u0275\u0275loadQuery"]())&&(t.overlay=n.first)},hostBindings:function(e,t){1&e&&c["\u0275\u0275listener"]("keydown",(function(e){return t.onKeyDown(e)}))},inputs:{parentScrollAction:"parentScrollAction",side:"side",scrollStrategy:"scrollStrategy",width:"width",appendToBody:"appendToBody",parentScrollSelector:"parentScrollSelector",containerClass:"containerClass",height:"height"},outputs:{toggled:"toggled"},ngContentSelectors:Tc,decls:4,vars:11,consts:[[3,"parent","width","position","scrollStrategy"],[3,"keydown"]],template:function(e,t){1&e&&(c["\u0275\u0275projectionDef"](Oc),c["\u0275\u0275projection"](0,0,["#trigger",""]),c["\u0275\u0275elementStart"](1,"novo-overlay-template",0),c["\u0275\u0275elementStart"](2,"div",1),c["\u0275\u0275listener"]("keydown",(function(e){return t.onOverlayKeyDown(e)})),c["\u0275\u0275projection"](3,1),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()),2&e&&(c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("parent",t.element)("width",t.width)("position",t.side)("scrollStrategy",t.scrollStrategy),c["\u0275\u0275advance"](1),c["\u0275\u0275classMapInterpolate1"]("dropdown-container ",t.containerClass,""),c["\u0275\u0275styleProp"]("height",t.height,"px"),c["\u0275\u0275classProp"]("has-height",!!t.height))},directives:[Vh],encapsulation:2}),nf),Of=((tf=function(){function e(t,n){v(this,e),this.dropdown=t,this.element=n,this.keepOpen=!1,this.action=new c.EventEmitter,this.active=!1}return y(e,[{key:"onClick",value:function(e){this.disabled||(this.keepOpen||this.dropdown.closePanel(),this.action.emit({originalEvent:e}))}}]),e}()).\u0275fac=function(e){return new(e||tf)(c["\u0275\u0275directiveInject"](xf),c["\u0275\u0275directiveInject"](c.ElementRef))},tf.\u0275cmp=c["\u0275\u0275defineComponent"]({type:tf,selectors:[["item"]],hostVars:4,hostBindings:function(e,t){1&e&&c["\u0275\u0275listener"]("click",(function(e){return t.onClick(e)})),2&e&&c["\u0275\u0275classProp"]("disabled",t.disabled)("active",t.active)},inputs:{keepOpen:"keepOpen",disabled:"disabled"},outputs:{action:"action"},ngContentSelectors:vs,decls:1,vars:0,template:function(e,t){1&e&&(c["\u0275\u0275projectionDef"](),c["\u0275\u0275projection"](0))},encapsulation:2}),tf),Tf=((ef=function(){function e(t){v(this,e),this.dropdown=t}return y(e,[{key:"ngAfterContentInit",value:function(){var e=this;this.dropdown.items=this.items,this.items.changes.subscribe((function(){e.dropdown.items=e.items}))}}]),e}()).\u0275fac=function(e){return new(e||ef)(c["\u0275\u0275directiveInject"](xf))},ef.\u0275cmp=c["\u0275\u0275defineComponent"]({type:ef,selectors:[["list"]],contentQueries:function(e,t,n){var r;1&e&&c["\u0275\u0275contentQuery"](n,Of,!1),2&e&&c["\u0275\u0275queryRefresh"](r=c["\u0275\u0275loadQuery"]())&&(t.items=r)},ngContentSelectors:vs,decls:1,vars:0,template:function(e,t){1&e&&(c["\u0275\u0275projectionDef"](),c["\u0275\u0275projection"](0))},encapsulation:2}),ef),Af=(($h=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:$h}),$h.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||$h)},imports:[[Bh]]}),$h),Pf={provide:La.NG_VALUE_ACCESSOR,useExisting:Object(c.forwardRef)((function(){return Df})),multi:!0},Df=((uf=function(){function e(t,n,r,i,o){v(this,e),this.element=t,this.labels=n,this.ref=r,this.focusMonitor=i,this.ngZone=o,this.placeholder="Select...",this.onSelect=new c.EventEmitter,this.selectedIndex=-1,this.empty=!0,this.header={open:!1,valid:!0,value:""},this.onModelChange=function(){},this.onModelTouched=function(){},this.filterTerm="",this.disabled=!1}return y(e,[{key:"ngOnInit",value:function(){var e=this;this.focusMonitor.monitor(this.dropdown.nativeElement).subscribe((function(t){return e.ngZone.run((function(){"keyboard"!==t||e.disabled||e.openPanel()}))})),this.ngOnChanges()}},{key:"ngOnChanges",value:function(e){var t=this;if(this.readonly=!0===this.readonly,this.filteredOptions=this.options&&this.options.length&&"string"==typeof this.options[0]?this.options.map((function(e){return{value:e,label:e}})):(this.options||[]).filter((function(e){return!e.readOnly})).map((function(e){return Object.assign(Object.assign({},e),{active:!1})})),this.model||this.createdItem)if(this.createdItem){var n=this.options.find((function(e){return e.label===t.createdItem})),r=this.options.indexOf(n);this.select(n,r)}else this.writeValue(this.model);else this.clear();this.panelOpen&&this.openPanel()}},{key:"ngOnDestroy",value:function(){this.focusMonitor.stopMonitoring(this.dropdown.nativeElement)}},{key:"openPanel",value:function(){this.overlay.openPanel()}},{key:"closePanel",value:function(){this.overlay.closePanel()}},{key:"togglePanel",value:function(){var e=this;this.panelOpen?this.closePanel():(setTimeout((function(){e.dropdown.nativeElement.focus()})),this.openPanel())}},{key:"panelOpen",get:function(){return this.overlay&&this.overlay.panelOpen}},{key:"setValueAndClose",value:function(e){var t;(null===(t=e.value)||void 0===t?void 0:t.disabled)||(e.value&&e.index>=0&&this.select(e.value,e.index),this.closePanel())}},{key:"select",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];this.selected&&(this.selected.active=!1),this.selectedIndex=t,this.selected=e,this.selected.active=!0,this.empty=!1,n&&(this.onModelChange(this.selected.value),this.onSelect.emit({selected:this.selected.value}))}},{key:"clear",value:function(){this.selected&&(this.selected.active=!1),this.selected={label:this.placeholder,value:null,active:!1},this.header={open:!1,valid:!0,value:""},this.selectedIndex=-1,this.empty=!0}},{key:"onKeyDown",value:function(e){var t=this;if([_h.UP,_h.DOWN].includes(e.keyCode)&&e.preventDefault(),[_h.ESC,_h.TAB].includes(e.keyCode))this.closePanel();else if(e.keyCode===_h.ENTER)this.header.open&&this.header.value?this.saveHeader():this.setValueAndClose({value:this.filteredOptions[this.selectedIndex],index:this.selectedIndex});else if(e.keyCode===_h.UP)this.panelOpen||this.openPanel(),this.selectedIndex>0&&(this.selectedIndex--,this.select(this.filteredOptions[this.selectedIndex],this.selectedIndex),this.scrollToSelected());else if(e.keyCode===_h.DOWN)this.panelOpen||this.openPanel(),this.selectedIndex<this.filteredOptions.length-1&&(this.selectedIndex++,this.select(this.filteredOptions[this.selectedIndex],this.selectedIndex),this.scrollToSelected(),this.header.open&&this.toggleHeader(null,!1));else if(e.keyCode===_h.UP&&0===this.selectedIndex)this.panelOpen||this.openPanel(),this.selectedIndex--,this.toggleHeader(null,!0);else if(e.keyCode>=65&&e.keyCode<=90||e.keyCode===_h.SPACE){e.keyCode===_h.SPACE&&e.preventDefault(),this.panelOpen||this.openPanel(),clearTimeout(this.filterTermTimeout),this.filterTermTimeout=setTimeout((function(){t.filterTerm=""}),2e3),this.filterTerm=this.filterTerm.concat(e.key).toUpperCase();var n=this.filteredOptions.find((function(e){return 0===e.label.toUpperCase().indexOf(t.filterTerm)}));n&&(this.select(n,this.filteredOptions.indexOf(n)),this.scrollToSelected())}else[_h.BACKSPACE,_h.DELETE].includes(e.keyCode)&&(clearTimeout(this.filterTermTimeout),this.filterTermTimeout=setTimeout((function(){t.filterTerm=""}),2e3),this.filterTerm=this.filterTerm.slice(0,-1))}},{key:"scrollToSelected",value:function(){this.scrollToIndex(this.selectedIndex)}},{key:"scrollToIndex",value:function(e){var t=this.overlay.overlayRef.overlayElement.querySelector(".novo-select-list"),n=t.querySelectorAll("li")[this.headerConfig?e+1:e];n&&(t.scrollTop=n.offsetTop)}},{key:"toggleHeader",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e&&(e.stopPropagation(),e.preventDefault()),this.header={open:void 0!==t?t:!this.header.open,value:"",valid:!0}}},{key:"highlight",value:function(e,t){return t?e.replace(new RegExp(this.escapeRegexp(t),"gi"),"<strong>$&</strong>"):e}},{key:"escapeRegexp",value:function(e){return e.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}},{key:"saveHeader",value:function(){this.header.value?(this.headerConfig.onSave(this.header.value),this.createdItem=this.header.value,this.closePanel()):this.header.valid=!1}},{key:"writeValue",value:function(e){if(this.model=e,this.options){var t=this.filteredOptions.find((function(t){return t.value===e||e&&t.value===e.id}))||this.options.find((function(t){return t.value===e||e&&t.value===e.id}));t||mh.isEmpty(e)||(t={label:e,value:e}).readOnly||this.options.unshift(t),t?(this.select(t,this.filteredOptions.indexOf(t),!1),this.empty=!1):this.clear()}this.ref.markForCheck()}},{key:"registerOnChange",value:function(e){this.onModelChange=e}},{key:"registerOnTouched",value:function(e){this.onModelTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e}}]),e}()).\u0275fac=function(e){return new(e||uf)(c["\u0275\u0275directiveInject"](c.ElementRef),c["\u0275\u0275directiveInject"](bh),c["\u0275\u0275directiveInject"](c.ChangeDetectorRef),c["\u0275\u0275directiveInject"]($a),c["\u0275\u0275directiveInject"](c.NgZone))},uf.\u0275cmp=c["\u0275\u0275defineComponent"]({type:uf,selectors:[["novo-select"]],viewQuery:function(e,t){var n;1&e&&(c["\u0275\u0275staticViewQuery"](Vh,!0),c["\u0275\u0275staticViewQuery"](Ac,!0)),2&e&&(c["\u0275\u0275queryRefresh"](n=c["\u0275\u0275loadQuery"]())&&(t.overlay=n.first),c["\u0275\u0275queryRefresh"](n=c["\u0275\u0275loadQuery"]())&&(t.dropdown=n.first))},hostBindings:function(e,t){1&e&&c["\u0275\u0275listener"]("keydown",(function(e){return t.onKeyDown(e)}))},inputs:{placeholder:"placeholder",readonly:"readonly",name:"name",options:"options",headerConfig:"headerConfig"},outputs:{onSelect:"onSelect"},features:[c["\u0275\u0275ProvidersFeature"]([Pf]),c["\u0275\u0275NgOnChangesFeature"]],ngContentSelectors:vs,decls:9,vars:11,consts:[["type","button",3,"tabIndex","click"],["dropdownElement",""],[1,"bhi-collapse"],["position","center",3,"parent","closing"],["tabIndex","-1",1,"novo-select-list"],["class","select-header",3,"open",4,"ngIf"],[3,"ngClass","tooltip","tooltipPosition","click",4,"ngFor","ngForOf"],[1,"select-header"],["tabIndex","-1","type","button","class","header",3,"click",4,"ngIf"],[3,"ngClass",4,"ngIf"],["tabIndex","-1","type","button",1,"header",3,"click"],[1,"bhi-add-thin"],[3,"ngClass"],["autofocus","","type","text","autocomplete","false",3,"placeholder","ngModel","ngClass","ngModelChange"],[3,"click"],[1,"primary",3,"click"],[3,"ngClass","tooltip","tooltipPosition","click"],[3,"innerHtml"],["class","bhi-check",4,"ngIf"],[1,"bhi-check"]],template:function(e,t){1&e&&(c["\u0275\u0275projectionDef"](),c["\u0275\u0275elementStart"](0,"div",0,1),c["\u0275\u0275listener"]("click",(function(){return t.togglePanel(),!1})),c["\u0275\u0275text"](2),c["\u0275\u0275element"](3,"i",2),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](4,"novo-overlay-template",3),c["\u0275\u0275listener"]("closing",(function(){return t.dropdown.nativeElement.focus()})),c["\u0275\u0275elementStart"](5,"ul",4),c["\u0275\u0275projection"](6),c["\u0275\u0275template"](7,Mc,3,4,"li",5),c["\u0275\u0275template"](8,Fc,3,9,"li",6),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()),2&e&&(c["\u0275\u0275classProp"]("empty",t.empty),c["\u0275\u0275propertyInterpolate"]("tabIndex",t.disabled?-1:0),c["\u0275\u0275advance"](2),c["\u0275\u0275textInterpolate1"](" ",t.selected.label,""),c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("parent",t.element),c["\u0275\u0275advance"](1),c["\u0275\u0275classProp"]("header",t.headerConfig)("active",t.panelOpen),c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("ngIf",t.headerConfig),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngForOf",t.filteredOptions))},directives:[Vh,h.m,h.l,h.k,La.DefaultValueAccessor,La.NgControlStatus,La.NgModel,hh],encapsulation:2}),uf),Rf=((lf=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:lf}),lf.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||lf)},imports:[[h.c,La.FormsModule,as,Bh,fh]]}),lf),Mf=[{code:"US",id:1,name:"United States",states:[{code:"AL",name:"Alabama"},{code:"AK",name:"Alaska"},{code:"AZ",name:"Arizona"},{code:"AR",name:"Arkansas"},{code:"CA",name:"California"},{code:"CO",name:"Colorado"},{code:"CT",name:"Connecticut"},{code:"DE",name:"Delaware"},{code:"DC",name:"District Of Columbia"},{code:"FL",name:"Florida"},{code:"GA",name:"Georgia"},{code:"GU",name:"Guam"},{code:"HI",name:"Hawaii"},{code:"ID",name:"Idaho"},{code:"IL",name:"Illinois"},{code:"IN",name:"Indiana"},{code:"IA",name:"Iowa"},{code:"KS",name:"Kansas"},{code:"KY",name:"Kentucky"},{code:"LA",name:"Louisiana"},{code:"ME",name:"Maine"},{code:"MH",name:"Marshall Islands"},{code:"MD",name:"Maryland"},{code:"MA",name:"Massachusetts"},{code:"MI",name:"Michigan"},{code:"MN",name:"Minnesota"},{code:"MS",name:"Mississippi"},{code:"MO",name:"Missouri"},{code:"MT",name:"Montana"},{code:"NE",name:"Nebraska"},{code:"NV",name:"Nevada"},{code:"NH",name:"New Hampshire"},{code:"NJ",name:"New Jersey"},{code:"NM",name:"New Mexico"},{code:"NY",name:"New York"},{code:"NC",name:"North Carolina"},{code:"ND",name:"North Dakota"},{code:"MP",name:"Northern Mariana Islands"},{code:"OH",name:"Ohio"},{code:"OK",name:"Oklahoma"},{code:"OR",name:"Oregon"},{code:"PW",name:"Palau"},{code:"PA",name:"Pennsylvania"},{code:"PR",name:"Puerto Rico"},{code:"RI",name:"Rhode Island"},{code:"SC",name:"South Carolina"},{code:"SD",name:"South Dakota"},{code:"TN",name:"Tennessee"},{code:"TX",name:"Texas"},{code:"UT",name:"Utah"},{code:"VT",name:"Vermont"},{code:"VI",name:"Virgin Islands"},{code:"VA",name:"Virginia"},{code:"WA",name:"Washington"},{code:"WV",name:"West Virginia"},{code:"WI",name:"Wisconsin"},{code:"WY",name:"Wyoming"}]},{code:"UK",id:2359,name:"United Kingdom",states:[{code:"ABD",name:"Aberdeenshire"},{code:"ALD",name:"Alderney"},{code:"ANS",name:"Angus"},{code:"ANN",name:"Antrim and Newtownabbey"},{code:"AGB",name:"Argyllshire"},{code:"ABC",name:"Armagh"},{code:"EAY",name:"Ayrshire"},{code:"BLA",name:"Ballymena"},{code:"BAY",name:"Ballymoney"},{code:"BNB",name:"Banbridge"},{code:"BAN",name:"Banffshire"},{code:"BDF",name:"Bedfordshire"},{code:"BFS",name:"Belfast"},{code:"BRK",name:"Berkshire"},{code:"BGW",name:"Blaenau Gwent"},{code:"SCB",name:"Borders"},{code:"BGE",name:"Bridgend"},{code:"BST",name:"Bristol"},{code:"BKM",name:"Buckinghamshire"},{code:"CAY",name:"Caerphilly"},{code:"CAI",name:"Caithness"},{code:"CAM",name:"Cambridgeshire"},{code:"CRF",name:"Cardiff"},{code:"CMN",name:"Carmarthenshire"},{code:"CKF",name:"Carrickfergus"},{code:"CAS",name:"Castlereagh"},{code:"CGN",name:"Ceredigion"},{code:"CHE",name:"Cheshire"},{code:"CLK",name:"Clackmannanshire"},{code:"CLR",name:"Coleraine"},{code:"CWY",name:"Conwy"},{code:"CKT",name:"Cookstown"},{code:"CON",name:"Cornwall"},{code:"DUR",name:"County Durham"},{code:"DRS",name:"County Londonderry"},{code:"CRA",name:"Craigavon"},{code:"CMA",name:"Cumbria"},{code:"DEN",name:"Denbighshire"},{code:"DBY",name:"Derbyshire"},{code:"DEV",name:"Devon"},{code:"DOR",name:"Dorset"},{code:"EDU",name:"Dumbartonshire"},{code:"DGY",name:"Dumfries and Galloway"},{code:"DGN",name:"Dungannon and South Tyrone"},{code:"ELN",name:"East Lothian"},{code:"ESX",name:"East Sussex"},{code:"ERY",name:"East Yorkshire"},{code:"ESS",name:"Essex"},{code:"FMO",name:"Fermanagh and Omagh"},{code:"FIF",name:"Fife"},{code:"FLN",name:"Flintshire"},{code:"GLG",name:"Glasgow"},{code:"GLS",name:"Gloucestershire"},{code:"LND",name:"Greater London"},{code:"MAN",name:"Greater Manchester"},{code:"GSY",name:"Guernsey"},{code:"GWN",name:"Gwynedd"},{code:"HAM",name:"Hampshire"},{code:"HEF",name:"Herefordshire"},{code:"HRM",name:"Herm"},{code:"HRT",name:"Hertfordshire"},{code:"HLD",name:"Highland"},{code:"INV",name:"Inverness-shire"},{code:"AGY",name:"Isle of Anglesey"},{code:"IOM",name:"Isle of Man"},{code:"IOW",name:"Isle of Wight"},{code:"JSY",name:"Jersey"},{code:"KEN",name:"Kent"},{code:"KCD",name:"Kincardineshire"},{code:"KKD",name:"Kirkcudbrightshire"},{code:"LAN",name:"Lancashire"},{code:"LRN",name:"Larne"},{code:"LEC",name:"Leicestershire"},{code:"LMV",name:"Limavady"},{code:"LIN",name:"Lincolnshire"},{code:"LBC",name:"Lisburn and Castlereagh"},{code:"MFT",name:"Magherafelt"},{code:"MER",name:"Merseyside"},{code:"MTY",name:"Merthyr Tydfil"},{code:"MLN",name:"Midlothian"},{code:"MON",name:"Monmouthshire"},{code:"MRY",name:"Morayshire"},{code:"MYL",name:"Moyle"},{code:"NAI",name:"Nairn"},{code:"NTL",name:"Neath Port Talbot"},{code:"NWP",name:"Newport"},{code:"NMD",name:"Newry, Mourne and Down"},{code:"NFK",name:"Norfolk"},{code:"AND",name:"North Down and Ards"},{code:"NLK",name:"North Lanarkshire"},{code:"NYK",name:"North Yorkshire"},{code:"NTH",name:"Northamptonshire"},{code:"NBL",name:"Northumberland"},{code:"NTT",name:"Nottinghamshire"},{code:"OMA",name:"Omagh"},{code:"ORK",name:"Orkney Islands"},{code:"OXF",name:"Oxfordshire"},{code:"PEM",name:"Pembrokeshire"},{code:"PKN",name:"Perth and Kinross"},{code:"PER",name:"Perthshire and Kinross"},{code:"POW",name:"Powys"},{code:"RCC",name:"Redcar and Cleveland"},{code:"RFW",name:"Renfrewshire"},{code:"RCT",name:"Rhondda Cynon Taff"},{code:"RUT",name:"Rutland"},{code:"SRK",name:"Sark"},{code:"ZET",name:"Shetland Islands"},{code:"SHR",name:"Shropshire"},{code:"SOM",name:"Somerset"},{code:"SLK",name:"South Lanarkshire"},{code:"SYK",name:"South Yorkshire"},{code:"STS",name:"Staffordshire"},{code:"STG",name:"Stirlingshire"},{code:"STR",name:"Strabane"},{code:"SFK",name:"Suffolk"},{code:"SRY",name:"Surrey"},{code:"SSX",name:"Sussex"},{code:"SUT",name:"Sutherland"},{code:"SWA",name:"Swansea"},{code:"TOF",name:"Torfaen"},{code:"TWR",name:"Tyne and Wear"},{code:"VGL",name:"Vale of Glamorgan"},{code:"WAR",name:"Warwickshire"},{code:"WLN",name:"West Lothian"},{code:"WMD",name:"West Midlands"},{code:"WSX",name:"West Sussex"},{code:"WRY",name:"West Yorkshire"},{code:"ELS",name:"Western Isles"},{code:"WIL",name:"Wiltshire"},{code:"WOR",name:"Worcestershire"},{code:"WRX",name:"Wrexham"}]},{code:"AF",id:2185,name:"Afghanistan",states:[{code:"AF01",name:"Badakhshan"},{code:"AF02",name:"Badghis"},{code:"AF03",name:"Baghlan"},{code:"AF30",name:"Balkh"},{code:"AF05",name:"Bamian"},{code:"AF41",name:"Daikondi"},{code:"AF06",name:"Farah"},{code:"AF07",name:"Faryab"},{code:"AF08",name:"Ghazni"},{code:"AF09",name:"Ghowr"},{code:"AF10",name:"Helmand"},{code:"AF11",name:"Herat"},{code:"AF31",name:"Jowzjan"},{code:"AF13",name:"Kabul"},{code:"AF23",name:"Kandahar"},{code:"AF14",name:"Kapisa"},{code:"AF37",name:"Khowst"},{code:"AF34",name:"Konar"},{code:"AF24",name:"Kondoz"},{code:"AF35",name:"Laghman"},{code:"AF17",name:"Lowgar"},{code:"AF18",name:"Nangarhar"},{code:"AF19",name:"Nimruz"},{code:"AF38",name:"Nurestan"},{code:"AF39",name:"Oruzgan"},{code:"AF36",name:"Paktia"},{code:"AF29",name:"Paktika"},{code:"AF42",name:"Panjshir"},{code:"AF40",name:"Parvan"},{code:"AF32",name:"Samangan"},{code:"AF33",name:"Sar-e Pol"},{code:"AF26",name:"Takhar"},{code:"AF27",name:"Vardak"},{code:"AF28",name:"Zabol"}]},{code:"AX",id:2407,name:"\xc5land Islands",states:[]},{code:"AL",id:2186,name:"Albania",states:[]},{code:"DZ",id:2187,name:"Algeria",states:[{code:"DZ.AR",name:"Adrar"},{code:"DZ.AD",name:"A\xefn Defla"},{code:"DZ.AT",name:"A\xefn T\xe9mouchent"},{code:"DZ.AL",name:"Algiers"},{code:"DZ.AN",name:"Annaba"},{code:"DZ.BT",name:"Batna"},{code:"DZ.BC",name:"B\xe9char"},{code:"DZ.BJ",name:"B\xe9ja\xefa"},{code:"DZ.BS",name:"Biskra"},{code:"DZ.BL",name:"Blida"},{code:"DZ.BB",name:"Bordj Bou Arr\xe9ridj"},{code:"DZ.BU",name:"Bouira"},{code:"DZ.BM",name:"Boumerd\xe8s"},{code:"DZ.CH",name:"Chlef"},{code:"DZ.CO",name:"Constantine"},{code:"DZ.DJ",name:"Djelfa"},{code:"DZ.EB",name:"El Bayadh"},{code:"DZ.EO",name:"El Oued"},{code:"DZ.ET",name:"El Tarf"},{code:"DZ.GR",name:"Gharda\xefa"},{code:"DZ.GL",name:"Guelma"},{code:"DZ.IL",name:"Illizi"},{code:"DZ.JJ",name:"Jijel"},{code:"DZ.KH",name:"Khenchela"},{code:"DZ.LG",name:"Laghouat"},{code:"DZ.MC",name:"Mascara"},{code:"DZ.MD",name:"M\xe9d\xe9a"},{code:"DZ.ML",name:"Mila"},{code:"DZ.MG",name:"Mostaganem"},{code:"DZ.MS",name:"Msila"},{code:"DZ.NA",name:"Naama"},{code:"DZ.OR",name:"Oran"},{code:"DZ.OG",name:"Ouargla"},{code:"DZ.OB",name:"Oum el Bouaghi"},{code:"DZ.RE",name:"Relizane"},{code:"DZ.SD",name:"Sa\xefda"},{code:"DZ.SF",name:"S\xe9tif"},{code:"DZ.SB",name:"Sidi Bel Abb\xe8s"},{code:"DZ.SK",name:"Skikda"},{code:"DZ.SA",name:"Souk Ahras"},{code:"DZ.TM",name:"Tamanrasset"},{code:"DZ.TB",name:"T\xe9bessa"},{code:"DZ.TR",name:"Tiaret"},{code:"DZ.TN",name:"Tindouf"},{code:"DZ.TP",name:"Tipaza"},{code:"DZ.TS",name:"Tissemsilt"},{code:"DZ.TO",name:"Tizi Ouzou"},{code:"DZ.TL",name:"Tlemcen"}]},{code:"AS",id:2408,name:"American Samoa",states:[]},{code:"AD",id:2188,name:"Andorra",states:[]},{code:"AO",id:2189,name:"Angola",states:[{code:"AO19",name:"Bengo"},{code:"AO01",name:"Benguela"},{code:"AO02",name:"Bi\xe9"},{code:"AO03",name:"Cabinda"},{code:"AO04",name:"Cuando Cubango"},{code:"AO05",name:"Cuanza Norte"},{code:"AO06",name:"Cuanza Sul"},{code:"AO07",name:"Cunene"},{code:"AO08",name:"Huambo"},{code:"AO09",name:"Hu\xedla"},{code:"AO20",name:"Luanda"},{code:"AO17",name:"Lunda Norte"},{code:"AO18",name:"Lunda Sul"},{code:"AO12",name:"Malanje"},{code:"AO14",name:"Moxico"},{code:"AO13",name:"Namibe"},{code:"AO15",name:"U\xedge"},{code:"AO16",name:"Zaire"}]},{code:"AI",id:2409,name:"Anguilla",states:[]},{code:"AQ",id:2190,name:"Antarctica",states:[]},{code:"AG",id:2191,name:"Antigua and Barbuda",states:[]},{code:"AR",id:2192,name:"Argentina",states:[{code:"AR01",name:"Buenos Aires"},{code:"AR02",name:"Catamarca"},{code:"AR03",name:"Chaco"},{code:"AR04",name:"Chubut"},{code:"AR07",name:"Ciudad de Buenos Aires"},{code:"AR05",name:"C\xf3rdoba"},{code:"AR06",name:"Corrientes"},{code:"AR08",name:"Entre R\xedos"},{code:"AR09",name:"Formosa"},{code:"AR10",name:"Jujuy"},{code:"AR11",name:"La Pampa"},{code:"AR12",name:"La Rioja"},{code:"AR13",name:"Mendoza"},{code:"AR14",name:"Misiones"},{code:"AR15",name:"Neuqu\xe9n"},{code:"AR16",name:"R\xedo Negro"},{code:"AR17",name:"Salta"},{code:"AR18",name:"San Juan"},{code:"AR19",name:"San Luis"},{code:"AR20",name:"Santa Cruz"},{code:"AR21",name:"Santa Fe"},{code:"AR22",name:"Santiago del Estero"},{code:"AR23",name:"Tierra del Fuego"},{code:"AR24",name:"Tucum\xe1n"}]},{code:"AM",id:2193,name:"Armenia",states:[]},{code:"AB",id:2373,name:"Aruba",states:[{code:"AW.AA",name:"Aruba"}]},{code:"AU",id:2194,name:"Australia",states:[{code:"ACT",name:"Australian Capital Territory"},{code:"NSW",name:"New South Wales"},{code:"NT",name:"Northern Territory"},{code:"QLD",name:"Queensland"},{code:"SA",name:"South Australia"},{code:"TAS",name:"Tasmania"},{code:"VIC",name:"Victoria"},{code:"WA",name:"Western Australia"}]},{code:"AT",id:2195,name:"Austria",states:[{code:"AU01",name:"Burgenland"},{code:"AU02",name:"Carinthia"},{code:"AU03",name:"Lower Austria"},{code:"AU05",name:"Salzburg"},{code:"AU06",name:"Styria"},{code:"AU07",name:"Tyrol"},{code:"AU04",name:"Upper Austria"},{code:"AU09",name:"Vienna"},{code:"AU08",name:"Vorarlberg"}]},{code:"AZ",id:2196,name:"Azerbaijan",states:[{code:"AZ-ABS",name:"Absheron"},{code:"AZ-AGM",name:"Aghdam"},{code:"AZ-AGS",name:"Aghdash"},{code:"AZ-AGC",name:"Aghjabedi"},{code:"AZ-AGA",name:"Aghstafa"},{code:"AZ-AGU",name:"Aghsu"},{code:"AZ-AB",name:"Ali-Bairamly"},{code:"AZ-AST",name:"Astara"},{code:"AZ-BAB",name:"Babek"},{code:"AZ-BA",name:"Baku"},{code:"AZ-BAL",name:"Balaken"},{code:"AZ-BAR",name:"Barda"},{code:"AZ-BEY",name:"Beilagan"},{code:"AZ-BIL",name:"Bilasuvar"},{code:"AZ-DAS",name:"Dashkesan"},{code:"AZ-DAV",name:"Devechi"},{code:"AZ-FUZ",name:"Fizuli"},{code:"AZ-QAB",name:"Gabala"},{code:"AZ-GAD",name:"Gadabey"},{code:"AZ-QAX",name:"Gakh"},{code:"AZ-GA",name:"Ganja"},{code:"AZ-QAZ",name:"Gazakh"},{code:"AZ-GOR",name:"Geranboy"},{code:"AZ-QOB",name:"Gobustan"},{code:"AZ-GOY",name:"Goychay"},{code:"AZ-QBA",name:"Guba"},{code:"AZ-QBI",name:"Gubadly"},{code:"AZ-QUS",name:"Gusar"},{code:"AZ-HAC",name:"Hacuqabul"},{code:"AZ-IMI",name:"Imishli"},{code:"AZ-ISM",name:"Ismailly"},{code:"AZ-CAL",name:"Jalilabad"},{code:"AZ-CAB",name:"Jebrail"},{code:"AZ-CUL",name:"Julfa"},{code:"AZ-KAL",name:"Kelbajar"},{code:"AZ-XAC",name:"Khachmaz"},{code:"AZ-XA",name:"Khankendy"},{code:"AZ-XAN",name:"Khanlar"},{code:"AZ-XCI",name:"Khojaly"},{code:"AZ-XVD",name:"Khojavend"},{code:"AZ-XIZ",name:"Khyzy"},{code:"AZ-KUR",name:"Kyurdamir"},{code:"AZ-LAC",name:"Lachin"},{code:"AZ-LAN",name:"Lenkaran"},{code:"AZ-LA",name:"Lenkaran"},{code:"AZ-LER",name:"Lerik"},{code:"AZ-MAS",name:"Masally"},{code:"AZ-MI",name:"Mingechevir"},{code:"AZ-NA",name:"Naftalan"},{code:"AZ-NX",name:"Nakhchivan"},{code:"AZ-NEF",name:"Neftchala"},{code:"AZ-OGU",name:"Oghuz"},{code:"AZ-ORD",name:"Ordubad"},{code:"AZ-SAT",name:"Saatly"},{code:"AZ-SAB",name:"Sabirabad"},{code:"AZ-SAL",name:"Salyan"},{code:"AZ-SMX",name:"Samuh"},{code:"AZ-SAD",name:"Sedarak"},{code:"AZ-SAH",name:"Shahbuz"},{code:"AZ-SMI",name:"Shamakhy"},{code:"AZ-SKR",name:"Shamkir"},{code:"AZ-SAK",name:"Sheki"},{code:"AZ-SA",name:"Sheki"},{code:"AZ-SAR",name:"Sherur"},{code:"AZ-SS",name:"Shusha"},{code:"AZ-SUS",name:"Shusha"},{code:"AZ-SIY",name:"Siazan"},{code:"AZ-SM",name:"Sumgayit"},{code:"AZ-TAR",name:"Terter"},{code:"AZ-TOV",name:"Tovuz"},{code:"AZ-UCA",name:"Ujar"},{code:"AZ-YAR",name:"Yardymly"},{code:"AZ-YE",name:"Yevlakh"},{code:"AZ-YEV",name:"Yevlakh"},{code:"AZ-ZAQ",name:"Zagatala"},{code:"AZ-ZAN",name:"Zangilan"},{code:"AZ-ZAR",name:"Zerdab"}]},{code:"BS",id:2197,name:"Bahamas",states:[{code:"BF24",name:"Acklins"},{code:"BF32",name:"Berry Islands"},{code:"BF05",name:"Bimini"},{code:"BF36",name:"Black Point"},{code:"BF06",name:"Cat Island"},{code:"BF37",name:"Central Abaco"},{code:"BF38",name:"Central Andros"},{code:"BF39",name:"Central Eleuthera"},{code:"BF25",name:"City of Freeport"},{code:"BF40",name:"Crooked Island"},{code:"BF41",name:"East Grand Bahama"},{code:"BF10",name:"Exuma"},{code:"BF42",name:"Grand Cay"},{code:"BS.GT\t",name:"Green Turtle Cay"},{code:"BF22",name:"Harbour Island"},{code:"BF43",name:"Hope Town"},{code:"BF13",name:"Inagua"},{code:"BF15",name:"Long Island"},{code:"BF44",name:"Mangrove Cay"},{code:"BF16",name:"Mayaguana"},{code:"BF45",name:"Moore's Island"},{code:"BS.NW",name:"New Providence"},{code:"BF46",name:"North Abaco"},{code:"BF47",name:"North Andros"},{code:"BF48",name:"North Eleuthera"},{code:"BF18",name:"Ragged Island"},{code:"BF49",name:"Rum Cay"},{code:"BF35",name:"San Salvador"},{code:"BF50",name:"South Abaco"},{code:"BF51",name:"South Andros"},{code:"BF52",name:"South Eleuthera"},{code:"BF53",name:"Spanish Wells"},{code:"BF54",name:"West Grand Bahama"}]},{code:"BH",id:2198,name:"Bahrain",states:[{code:"BA16",name:"Capital"},{code:"BA19",name:"Central"},{code:"BA15",name:"Muharraq"},{code:"BA18",name:"Northern"},{code:"BA17",name:"Southern"}]},{code:"BD",id:2199,name:"Bangladesh",states:[{code:"BG85",name:"Barisal"},{code:"BG84",name:"Chittagong"},{code:"BG81",name:"Dhaka"},{code:"BG82",name:"Khulna"},{code:"BG81",name:"Mymensingh"},{code:"BG83",name:"Rajshahi"},{code:"BG87",name:"Rangpur"},{code:"BG86",name:"Sylhet"}]},{code:"BB",id:2200,name:"Barbados",states:[{code:"BB01",name:"Christ Church"},{code:"BB02",name:"Saint Andrew"},{code:"BB03",name:"Saint George"},{code:"BB04",name:"Saint James"},{code:"BB05",name:"Saint John"},{code:"BB06",name:"Saint Joseph"},{code:"BB07",name:"Saint Lucy"},{code:"BB08",name:"Saint Michael"},{code:"BB09",name:"Saint Peter"},{code:"BB10",name:"Saint Philip"},{code:"BB11",name:"Saint Thomas"}]},{code:"BY",id:2201,name:"Belarus",states:[{code:"BO01",name:"Brest"},{code:"BO02",name:"Gomel"},{code:"BO03",name:"Grodno"},{code:"BO05",name:"Minsk"},{code:"BO04",name:"Minsk City"},{code:"BO06",name:"Mogilev"},{code:"BO07",name:"Vitebsk"}]},{code:"BE",id:2202,name:"Belgium",states:[{code:"BE01",name:"Antwerpen Province"},{code:"BE11",name:"Brussels-Capital Region"},{code:"BE12",name:"Flemish Brabant Province"},{code:"BE03",name:"Hainaut Province"},{code:"BE04",name:"Liege Province"},{code:"BE05",name:"Limburg Province"},{code:"BE06",name:"Luxembourg Province"},{code:"BE07",name:"Namur Province"},{code:"BE08",name:"Oost-Vlaanderen Province"},{code:"BE10",name:"Walloon Brabant Province"},{code:"BE09",name:"West-Vlaanderen Province"}]},{code:"BZ",id:2203,name:"Belize",states:[]},{code:"BJ",id:2204,name:"Benin",states:[{code:"BN07",name:"Alibori"},{code:"BN08",name:"Atacora"},{code:"BN09",name:"Atlantique"},{code:"BN10",name:"Borgou"},{code:"BN11",name:"Collines"},{code:"BN12",name:"Couffo"},{code:"BN13",name:"Donga"},{code:"BN14",name:"Littoral"},{code:"BN15",name:"Mono"},{code:"BN16",name:"Ou\xe9m\xe9"},{code:"BN17",name:"Plateau"},{code:"BN18",name:"Zou"}]},{code:"BU",id:2372,name:"Bermuda",states:[{code:"BM.BD",name:"Bermuda"},{code:"BD01",name:"Devonshire"},{code:"BD03",name:"Hamilton municipality"},{code:"BD02",name:"Hamilton"},{code:"BD04",name:"Paget"},{code:"BD05",name:"Pembroke"},{code:"BD06",name:"Saint George municipality"},{code:"BD07",name:"Saint George's"},{code:"BD08",name:"Sandys"},{code:"BD09",name:"Smiths"},{code:"BD10",name:"Southampton"},{code:"BD11",name:"Warwick"}]},{code:"BT",id:2205,name:"Bhutan",states:[]},{code:"BO",id:2206,name:"Bolivia; Plurinational State",states:[{code:"BL01",name:"Chuquisaca"},{code:"BL02",name:"Cochabamba"},{code:"BL03",name:"El Beni"},{code:"BL04",name:"La Paz"},{code:"BL05",name:"Oruro"},{code:"BL06",name:"Pando"},{code:"BL07",name:"Potos\xed"},{code:"BL08",name:"Santa Cruz"},{code:"BL09",name:"Tarija"}]},{code:"BQ",id:2449,name:"Bonaire",states:[{code:"BQ.BO",name:"Bonaire"},{code:"BQ.SB",name:"Saba"},{code:"BQ.SE",name:"Sint Eustatius"}]},{code:"BA",id:2207,name:"Bosnia and Herzegovina",states:[{code:"BA-05",name:"Bosansko-podrinjski kanton"},{code:"BA-BRC",name:"Brcko distrikt"},{code:"BA-BIH",name:"Federacija Bosna i Hercegovina"},{code:"BA-07",name:"Hercegovacko-neretvanski kanton"},{code:"BA-09",name:"Kanton Sarajevo"},{code:"BA-10",name:"Livanjski kanton"},{code:"BA-02",name:"Posavski kanton"},{code:"BA-SRP",name:"Republika Srpska"},{code:"BA-06",name:"Srednjobosanski kanton"},{code:"BA-03",name:"Tuzlanski kanton"},{code:"BA-01",name:"Unsko-sanski kanton"},{code:"BA-08",name:"Zapadnohercegovacki kanton"},{code:"BA-04",name:"Zenicko-dobojski kanton"}]},{code:"BW",id:2208,name:"Botswana",states:[{code:"BC01",name:"Central"},{code:"BC12",name:"Chobe"},{code:"BC13",name:"Francistown"},{code:"BC14",name:"Gaborone"},{code:"BC03",name:"Ghanzi"},{code:"BC15",name:"Jwaneng"},{code:"BC04",name:"Kgalagadi"},{code:"BC05",name:"Kgatleng"},{code:"BC06",name:"Kweneng"},{code:"BC16",name:"Lobatse"},{code:"BC08",name:"North-East"},{code:"BC11",name:"North-West"},{code:"BC17",name:"Selibe Phikwe"},{code:"BC09",name:"South East"},{code:"BC10",name:"Southern"},{code:"BC18",name:"Sowa Town"}]},{code:"BV",id:2410,name:"Bouvet Island",states:[]},{code:"BR",id:2209,name:"Brazil",states:[{code:"AC",name:"Acre"},{code:"AL",name:"Alagoas"},{code:"AP",name:"Amap\xe1"},{code:"AM",name:"Amazonas"},{code:"BA",name:"Bahia"},{code:"CE",name:"Cear\xe1"},{code:"DF",name:"Distrito Federal"},{code:"ES",name:"Esp\xedrito Santo"},{code:"GO",name:"Goi\xe1s"},{code:"MA",name:"Maranh\xe3o"},{code:"MT",name:"Mato Grosso"},{code:"MS",name:"Mato Grosso do Sul"},{code:"MG",name:"Minas Gerais"},{code:"PA",name:"Par\xe1"},{code:"PR",name:"Paran\xe1"},{code:"PB",name:"Para\xedba"},{code:"PE",name:"Pernambuco"},{code:"PI",name:"Piau\xed"},{code:"RN",name:"Rio Grande do Norte"},{code:"RS",name:"Rio Grande do Sul"},{code:"RJ",name:"Rio de Janeiro"},{code:"RO",name:"Rond\xf4nia"},{code:"RR",name:"Roraima"},{code:"SC",name:"Santa Catarina"},{code:"SP",name:"S\xe3o Paulo"},{code:"SE",name:"Sergipe"},{code:"TO",name:"Tocantins"}]},{code:"IO",id:2411,name:"British Indian Ocean Territory",states:[]},{code:"BN",id:2210,name:"Brunei Darussalam",states:[{code:"BX01",name:"Amo"},{code:"BX02",name:"Bandar Seri Begawan"},{code:"BX03",name:"Bangar"},{code:"BX04",name:"Batu Apoi"},{code:"BX05",name:"Berakas"},{code:"BX06",name:"Bokok"},{code:"BX07",name:"Bukit Sawat"},{code:"BX08",name:"Burong Pinggai Ayer"},{code:"BX09",name:"Gadong"},{code:"BX10",name:"Keriam"},{code:"BX11",name:"Kianggeh"},{code:"BX12",name:"Kilanas"},{code:"BX13",name:"Kiudang"},{code:"BX14",name:"Kota Batu"},{code:"BX15",name:"Kuala Balai"},{code:"BX16",name:"Kuala Belait"},{code:"BX17",name:"Labi"},{code:"BX18",name:"Labu"},{code:"BX19",name:"Lamunin"},{code:"BX20",name:"Liang"},{code:"BX21",name:"Lumapas"},{code:"BX22",name:"Melilas"},{code:"BX23",name:"Mentiri"},{code:"BX24",name:"Pekan Tutong"},{code:"BX25",name:"Pengkalan Batu"},{code:"BX26",name:"Peramu"},{code:"BX27",name:"Rambai"},{code:"BX28",name:"Saba"},{code:"BX29",name:"Sengkurong"},{code:"BX30",name:"Serasa"},{code:"BX31",name:"Seria"},{code:"BX32",name:"Sukang"},{code:"BX33",name:"Sungai Kebun"},{code:"BX34",name:"Sungai Kedayan"},{code:"BX35",name:"Tamoi"},{code:"BX36",name:"Tanjong Maya"},{code:"BX37",name:"Telisai"},{code:"BX38",name:"Ukong"}]},{code:"BG",id:2211,name:"Bulgaria",states:[{code:"BU38",name:"Blagoevgrad"},{code:"BU39",name:"Burgas"},{code:"BU40",name:"Dobrich"},{code:"BU41",name:"Gabrovo"},{code:"BU42",name:"Grad Sofiya"},{code:"BU43",name:"Khaskovo"},{code:"BU44",name:"Kurdzhali"},{code:"BU45",name:"Kyustendil"},{code:"BU46",name:"Lovech"},{code:"BU47",name:"Montana"},{code:"BU48",name:"Pazardzhik"},{code:"BU49",name:"Pernik"},{code:"BU50",name:"Pleven"},{code:"BU51",name:"Plovdiv"},{code:"BU52",name:"Razgrad"},{code:"BU53",name:"Ruse"},{code:"BU54",name:"Shumen"},{code:"BU55",name:"Silistra"},{code:"BU56",name:"Sliven"},{code:"BU57",name:"Smolyan"},{code:"BU58",name:"Sofiya"},{code:"BU59",name:"Stara Zagora"},{code:"BU60",name:"Turgovishte"},{code:"BU61",name:"Varna"},{code:"BU62",name:"Veliko Turnovo"},{code:"BU63",name:"Vidin"},{code:"BU64",name:"Vratsa"},{code:"BU65",name:"Yambol"}]},{code:"BF",id:2212,name:"Burkina Faso",states:[{code:"UV79",name:"Boucle du Mouhoun"},{code:"UV80",name:"Cascades"},{code:"UV82",name:"Centre Est"},{code:"UV83",name:"Centre Nord"},{code:"UV84",name:"Centre Ouest"},{code:"UV81",name:"Centre"},{code:"UV85",name:"Centre Sud"},{code:"UV86",name:"Est"},{code:"UV87",name:"Hauts Bassins"},{code:"UV88",name:"Nord"},{code:"UV89",name:"Plateau Central"},{code:"UV90",name:"Sahel"},{code:"UV91",name:"Sud-Ouest"}]},{code:"BM",id:2385,name:"Burma",states:[{code:"BM03",name:"Ayeyarwady"},{code:"BM16",name:"Bago"},{code:"BM02",name:"Chin"},{code:"BM04",name:"Kachin"},{code:"BM06",name:"Kayah"},{code:"BM05",name:"Kayin"},{code:"BM15",name:"Magway"},{code:"BM08",name:"Mandalay"},{code:"BM13",name:"Mon"},{code:"BM18",name:"Naypyidaw"},{code:"BM01",name:"Rakhine"},{code:"BM10",name:"Sagaing"},{code:"BM11",name:"Shan"},{code:"BM12",name:"Tanintharyi"},{code:"BM17",name:"Yangon"}]},{code:"BI",id:2213,name:"Burundi",states:[]},{code:"KH",id:2214,name:"Cambodia",states:[{code:"CB25",name:"B\xe2nt\xe9ay M\xe9anchey"},{code:"CB29",name:"Batd\xe2mb\xe2ng"},{code:"CB02",name:"K\xe2mp\xf3ng Cham"},{code:"CB03",name:"K\xe2mp\xf3ng Chhnang"},{code:"CB04",name:"K\xe2mp\xf3ng Sp\u0153"},{code:"CB05",name:"K\xe2mp\xf3ng Thum"},{code:"CB21",name:"K\xe2mp\xf4t"},{code:"CB07",name:"K\xe2ndal"},{code:"CB08",name:"Ka\xf4h Kong"},{code:"CB09",name:"Kr\xe2ch\xe9h"},{code:"CB26",name:"Krong Keb"},{code:"CB30",name:"Krong Pailin"},{code:"CB28",name:"Krong Preah Sihanouk"},{code:"CB10",name:"M\xf4nd\xf3l Kiri"},{code:"CB27",name:"Otd\xe2r M\xe9anchey"},{code:"CB22",name:"Phnom Penh"},{code:"CB12",name:"Pouthisat"},{code:"CB13",name:"Preah Vih\xe9ar"},{code:"CB14",name:"Prey V\xeang"},{code:"CB23",name:"R\xf4t\xe2n\xf4kiri"},{code:"CB24",name:"Siemr\xe9ab"},{code:"CB17",name:"St\u0153?ng Tr\xeang"},{code:"CB18",name:"Svay Rieng"},{code:"CB19",name:"Tak\xeav"},{code:"CB31",name:"Tbong Khmum"}]},{code:"CM",id:2215,name:"Cameroon",states:[{code:"CM10",name:"Adamaoua"},{code:"CM11",name:"Centre"},{code:"CM04",name:"Est"},{code:"CM12",name:"Extr\xeame-Nord"},{code:"CM05",name:"Littoral"},{code:"CM07",name:"Nord-Ouest"},{code:"CM13",name:"Nord"},{code:"CM08",name:"Ouest"},{code:"CM09",name:"Sud-Ouest"},{code:"CM14",name:"Sud"}]},{code:"CA",id:2216,name:"Canada",states:[{code:"AB",name:"Alberta"},{code:"BC",name:"British Columbia"},{code:"MB",name:"Manitoba"},{code:"NB",name:"New Brunswick"},{code:"NL",name:"Newfoundland and Labrador"},{code:"NT",name:"Northwest Territories"},{code:"NS",name:"Nova Scotia"},{code:"NU",name:"Nunavut"},{code:"ON",name:"Ontario"},{code:"PE",name:"Prince Edward Island"},{code:"QC",name:"Quebec"},{code:"SK",name:"Saskatchewan"},{code:"YT",name:"Yukon"}]},{code:"CV",id:2217,name:"Cape Verde",states:[]},{code:"KY",id:2379,name:"Cayman Islands",states:[{code:"KY.BT",name:"Bodden Town"},{code:"KY.CJ",name:"Cayman Islands"},{code:"KY.EE",name:"East End"},{code:"KY.GT",name:"George Town"},{code:"KY.NS",name:"North Side"},{code:"KY.SI",name:"Sister Islands"},{code:"KY.WB",name:"West Bay"}]},{code:"CF",id:2218,name:"Central African Republic",states:[{code:"CT01",name:"Bamingui-Bangoran"},{code:"CT18",name:"Bangui"},{code:"CT02",name:"Basse-Kotto"},{code:"CT05",name:"Haut-Mbomou"},{code:"CT03",name:"Haute-Kotto"},{code:"CT06",name:"K\xe9mo"},{code:"CT07",name:"Lobaye"},{code:"CT04",name:"Mamb\xe9r\xe9-Kad\xe9\xef"},{code:"CT08",name:"Mbomou"},{code:"CT15",name:"Nana-Gr\xe9bizi"},{code:"CT09",name:"Nana-Mamb\xe9r\xe9"},{code:"CT17",name:"Ombella-M'Poko"},{code:"CT11",name:"Ouaka"},{code:"CT12",name:"Ouham"},{code:"CT13",name:"Ouham-Pend\xe9"},{code:"CT16",name:"Sangha-Mba\xe9r\xe9"},{code:"CT14",name:"Vakaga"}]},{code:"TD",id:2219,name:"Chad",states:[{code:"CD22",name:"Barh el Ghazel"},{code:"CD01",name:"Batha"},{code:"CD23",name:"Borkou"},{code:"CD15",name:"Chari-Baguirmi"},{code:"CD27",name:"Ennedi Est"},{code:"CD28",name:"Ennedi Ouest"},{code:"CD05",name:"Gu\xe9ra"},{code:"CD18",name:"Hadjer-Lamis"},{code:"CD06",name:"Kanem"},{code:"CD07",name:"Lac"},{code:"CD08",name:"Logone Occidental"},{code:"CD09",name:"Logone Oriental"},{code:"CD19",name:"Mandoul"},{code:"CD16",name:"Mayo-Kebbi Est"},{code:"CD20",name:"Mayo-Kebbi Ouest"},{code:"CD17",name:"Moyen-Chari"},{code:"CD12",name:"Ouadda\xef"},{code:"CD13",name:"Salamat"},{code:"CD25",name:"Sila"},{code:"CD14",name:"Tandjil\xe9"},{code:"CD26",name:"Tibesti"},{code:"CD21",name:"Ville de N'Djamena"},{code:"CD02",name:"Wadi Fira"}]},{code:"CH99",id:2386,name:"Channel Islands",states:[]},{code:"CL",id:2220,name:"Chile",states:[{code:"CL.AI",name:"Ais\xe9n del General Carlos Ib\xe1\xf1ez del Campo"},{code:"CL.AN",name:"Antofagasta"},{code:"CL.AR",name:"Araucan\xeda"},{code:"CL.AP",name:"Arica and Parinacota"},{code:"CL.AT",name:"Atacama"},{code:"CL.BI",name:"B\xedo-B\xedo"},{code:"CL.CO",name:"Coquimbo"},{code:"CL.LI",name:"Libertador General Bernardo O'Higgins"},{code:"CL.LG",name:"Los Lagos"},{code:"CL.LR",name:"Los R\xedos"},{code:"CL.MA",name:"Magallanes y Ant\xe1rtica Chilena"},{code:"CL.ML",name:"Maule"},{code:"CL.RM",name:"Regi\xf3n Metropolitana de Santiago"},{code:"CL.TP",name:"Tarapac\xe1"},{code:"CL.VS",name:"Valpara\xedso"}]},{code:"CN",id:2221,name:"China",states:[{code:"CH01",name:"Anhui"},{code:"CH22",name:"Beijing"},{code:"CH33",name:"Chongqing"},{code:"CH07",name:"Fujian"},{code:"CH15",name:"Gansu"},{code:"CH17",name:"Guangdon"},{code:"CH30",name:"Guangdong"},{code:"CH16",name:"Guangxi"},{code:"CH18",name:"Guizhou"},{code:"CH31",name:"Hainan"},{code:"CH10",name:"Hebei"},{code:"CH08",name:"Heilongjiang"},{code:"CH09",name:"Henan"},{code:"CH34",name:"Hong Kong"},{code:"CH12",name:"Hubei"},{code:"CH11",name:"Hunan"},{code:"CH04",name:"Jiangsu"},{code:"CH03",name:"Jiangxi"},{code:"CH05",name:"Jilin"},{code:"CH19",name:"Liaoning"},{code:"CH20",name:"Nei Mongol"},{code:"CH21",name:"Ningxia"},{code:"CH06",name:"Qinghai"},{code:"CH26",name:"Shaanxi"},{code:"CH25",name:"Shandong"},{code:"CH23",name:"Shanghai"},{code:"CH24",name:"Shanxi"},{code:"CH32",name:"Sichuan"},{code:"CH27",name:"Sichuan"},{code:"CH28",name:"Tianjin"},{code:"CH13",name:"Xinjiang"},{code:"CH14",name:"Xizang"},{code:"CH29",name:"Yunnan"},{code:"CH02",name:"Zhejiang"}]},{code:"CX",id:2412,name:"Christmas Island",states:[]},{code:"CC",id:2413,name:"Cocos (Keeling) Islands",states:[]},{code:"CO",id:2222,name:"Colombia",states:[{code:"CO01",name:"Amazonas"},{code:"CO02",name:"Antioquia"},{code:"CO03",name:"Arauca"},{code:"CO04",name:"Atl\xe1ntico"},{code:"CO35",name:"Bol\xedvar"},{code:"CO36",name:"Boyac\xe1"},{code:"CO37",name:"Caldas"},{code:"CO08",name:"Caquet\xe1"},{code:"CO32",name:"Casanare"},{code:"CO09",name:"Cauca"},{code:"CO10",name:"Cesar"},{code:"CO11",name:"Choc\xf3"},{code:"CO12",name:"C\xf3rdoba"},{code:"CO33",name:"Cundinamarca"},{code:"CO34",name:"Distrito Capital"},{code:"CO15",name:"Guain\xeda"},{code:"CO14",name:"Guaviare"},{code:"CO16",name:"Huila"},{code:"CO17",name:"La Guajira"},{code:"CO38",name:"Magdalena"},{code:"CO19",name:"Meta"},{code:"CO20",name:"Nari\xf1o"},{code:"CO21",name:"Norte de Santander"},{code:"CO22",name:"Putumayo"},{code:"CO23",name:"Quind\xedo"},{code:"CO24",name:"Risaralda"},{code:"CO25",name:"San Andr\xe9s y Providencia"},{code:"CO26",name:"Santander"},{code:"CO27",name:"Sucre"},{code:"CO28",name:"Tolima"},{code:"CO29",name:"Valle del Cauca"},{code:"CO30",name:"Vaup\xe9s"},{code:"CO31",name:"Vichada"}]},{code:"KM",id:2223,name:"Comoros",states:[]},{code:"ZR",id:2368,name:"Congo; Democratic Republic of",states:[{code:"CD.BU",name:"Bas-U\xe9l\xe9"},{code:"CD.HK",name:"Haut-Katanga"},{code:"CD.HL",name:"Haut-Lomami"},{code:"CD.HU",name:"Haut-U\xe9l\xe9"},{code:"CD.IT",name:"Ituri"},{code:"CD.KS",name:"Kasa\xef"},{code:"CD.LL",name:"Kasa\xef-Central"},{code:"CD.KO",name:"Kasa\xef Oriental"},{code:"CD.KN",name:"Kinshasa"},{code:"CD.BC",name:"Kongo Central"},{code:"CD.KG",name:"Kwango"},{code:"CD.KU",name:"Kwilu"},{code:"CD.LM",name:"Lomami"},{code:"CD.LB",name:"Lualaba"},{code:"CD.MA",name:"Mai-Ndombe"},{code:"CD.MN",name:"Maniema"},{code:"CD.MO",name:"Mongala"},{code:"CD.NK",name:"Nord-Kivu"},{code:"CD.NU",name:"Nord-Ubangi"},{code:"CD.SN",name:"Sankuru"},{code:"CD.SK",name:"Sud-Kivu"},{code:"CD.SU",name:"Sud-Ubangi"},{code:"CD.TG",name:"Tanganyika"},{code:"CD.TO",name:"Tshopo"},{code:"CD.TP",name:"Tshuapa"},{code:"CD.ET",name:"\xc9quateur"}]},{code:"CG",id:2383,name:"Congo; Republic of",states:[]},{code:"CK",id:2414,name:"Cook Islands",states:[]},{code:"CR",id:2226,name:"Costa Rica",states:[{code:"CS01",name:"Alajuela"},{code:"CS02",name:"Cartago"},{code:"CS03",name:"Guanacaste"},{code:"CS04",name:"Heredia"},{code:"CS06",name:"Lim\xf3n"},{code:"CS07",name:"Puntarenas"},{code:"CS08",name:"San Jos\xe9"}]},{code:"CI",id:2227,name:"Cote D'Ivoire",states:[{code:"IV93",name:"Abidjan"},{code:"IV76",name:"Bas-Sassandra"},{code:"IV94",name:"Como\xe9"},{code:"IV77",name:"Dengu\xe9l\xe9"},{code:"IV95",name:"G\xf4h-Djiboua"},{code:"IV81",name:"Lacs"},{code:"IV82",name:"Lagunes"},{code:"IV78",name:"Montagnes"},{code:"IV96",name:"Sassandra-Marahou\xe9"},{code:"IV87",name:"Savanes"},{code:"IV90",name:"Vall\xe9e du Bandama"},{code:"IV97",name:"Woroba"},{code:"IV98",name:"Yamoussoukro"},{code:"IV92",name:"Zanzan"}]},{code:"HR",id:2228,name:"Croatia",states:[{code:"HR07",name:"Bjelovarsko-bilogorska"},{code:"HR12",name:"Brodsko-posavska"},{code:"HR19",name:"Dubrovacko-neretvanska"},{code:"HR21",name:"Grad Zagreb"},{code:"HR-18",name:"Istarska"},{code:"HR04",name:"Karlovacka"},{code:"HR06",name:"Koprivnicko-kri\u017eevacka"},{code:"HR02",name:"Krapinsko-zagorska"},{code:"HR09",name:"Licko-senjska"},{code:"HR20",name:"Medimurska"},{code:"HR14",name:"Osjecko-baranjska"},{code:"HR11",name:"Po\u017ee\u0161ko-slavonska"},{code:"HR08",name:"Primorsko-goranska"},{code:"HR15",name:"\u0160ibensko-kninska"},{code:"HR03",name:"Sisacko-moslavacka"},{code:"HR17",name:"Splitsko-dalmatinska"},{code:"HR05",name:"Vara\u017edinska"},{code:"HR10",name:"Viroviticko-podravska"},{code:"HR16",name:"Vukovarsko-srijemska"},{code:"HR13",name:"Zadarska"},{code:"HR01",name:"Zagrebacka"}]},{code:"CU",id:2229,name:"Cuba",states:[{code:"CU17",name:"Artemisa"},{code:"CU05",name:"Camag\xfcey"},{code:"CU07",name:"Ciego de \xc1vila"},{code:"CU08",name:"Cienfuegos"},{code:"CU09",name:"Granma"},{code:"CU10",name:"Guant\xe1namo"},{code:"CU12",name:"Holgu\xedn"},{code:"CU04",name:"Isla de la Juventud"},{code:"CU02",name:"La Habana"},{code:"CU13",name:"Las Tunas"},{code:"CU03",name:"Matanzas"},{code:"CU18",name:"Mayabeque"},{code:"CU01",name:"Pinar del R\xedo"},{code:"CU14",name:"Sancti Sp\xedritus"},{code:"CU15",name:"Santiago de Cuba"},{code:"CU16",name:"Villa Clara"}]},{code:"C999",id:2387,name:"Curacao",states:[{code:"CW.CU",name:"Curacao"}]},{code:"CY",id:2230,name:"Cyprus",states:[{code:"CY01",name:"Famagusta"},{code:"CY02",name:"Kyrenia"},{code:"CY03",name:"Larnaca"},{code:"CY05",name:"Limassol"},{code:"CY04",name:"Nicosia"},{code:"CY06",name:"Paphos"}]},{code:"CZ",id:2231,name:"Czech Republic",states:[{code:"JC",name:"Jihocesk\xfd kraj"},{code:"JM",name:"Jihomoravsk\xfd kraj"},{code:"KA",name:"Karlovarsk\xfd kraj"},{code:"KR",name:"Kr\xe1lov\xe9hradeck\xfd kraj"},{code:"LI",name:"Libereck\xfd kraj"},{code:"MO",name:"Moravskoslezsk\xfd kraj"},{code:"OL",name:"Olomouck\xfd kraj"},{code:"PA",name:"Pardubick\xfd kraj"},{code:"PL",name:"Plzensk\xfd kraj"},{code:"PR",name:"Praha, hlavn\xed mesto"},{code:"ST",name:"Stredocesk\xfd kraj"},{code:"VY",name:"Vysocina"},{code:"ZL",name:"Zl\xednsk\xfd kraj"},{code:"US",name:"\xdasteck\xfd kraj"}]},{code:"DK",id:2232,name:"Denmark",states:[{code:"DA01",name:"Arhus County"},{code:"DA02",name:"Bornholm Regional Municipality"},{code:"DA17",name:"Capital Region"},{code:"DA18",name:"Central Jutland Region"},{code:"DA16",name:"Frederiksberg municipal"},{code:"DA03",name:"Frederiksborg County"},{code:"DA04",name:"Fyn County"},{code:"DA06",name:"Kobenhavn County"},{code:"DA05",name:"Kobenhavn municipal"},{code:"DA07",name:"Nordjylland County"},{code:"DA19",name:"North Jutland Region"},{code:"DA08",name:"Ribe County"},{code:"DA09",name:"Ringkobing County"},{code:"DA10",name:"Roskilde County"},{code:"DA11",name:"Sonderjylland County"},{code:"DA21",name:"South Denmark Region"},{code:"DA12",name:"Storstrom County"},{code:"DA13",name:"Vejle County"},{code:"DA14",name:"Vestsjaelland County"},{code:"DA15",name:"Viborg County"},{code:"DA20",name:"Zealand Region"}]},{code:"DJ",id:2233,name:"Djibouti",states:[]},{code:"DM",id:2234,name:"Dominica",states:[]},{code:"DO",id:2235,name:"Dominican Republic",states:[{code:"DR01",name:"Azua"},{code:"DR02",name:"Bahoruco"},{code:"DR03",name:"Barahona"},{code:"DR04",name:"Dajab\xf3n"},{code:"DR34",name:"Distrito Nacional"},{code:"DR06",name:"Duarte"},{code:"DR28",name:"El Seibo"},{code:"DR11",name:"El\xedas Pi\xf1a"},{code:"DR08",name:"Espaillat"},{code:"DR29",name:"Hato Mayor"},{code:"DR19",name:"Hermanas Mirabal"},{code:"DR09",name:"Independencia"},{code:"DR10",name:"La Altagracia"},{code:"DR12",name:"La Romana"},{code:"DR30",name:"La Vega"},{code:"DR14",name:"Mar\xeda Trinidad S\xe1nchez"},{code:"DR31",name:"Monse\xf1or Nouel"},{code:"DR15",name:"Monte Cristi"},{code:"DR32",name:"Monte Plata"},{code:"DR16",name:"Pedernales"},{code:"DR35",name:"Peravia"},{code:"DR18",name:"Puerto Plata"},{code:"DR20",name:"Saman\xe1"},{code:"DR33",name:"San Crist\xf3bal"},{code:"DR36",name:"San Jos\xe9 de Ocoa"},{code:"DR23",name:"San Juan"},{code:"DR24",name:"San Pedro de Macor\xeds"},{code:"DR21",name:"S\xe1nchez Ram\xedrez"},{code:"DR25",name:"Santiago"},{code:"DR26",name:"Santiago Rodr\xedguez"},{code:"DR37",name:"Santo Domingo"},{code:"DR27",name:"Valverde"}]},{code:"EC",id:2236,name:"Ecuador",states:[{code:"EC02",name:"Azuay"},{code:"EC02",name:"Azuay"},{code:"EC03",name:"Bol\xedvar"},{code:"EC04",name:"Ca\xf1ar"},{code:"EC05",name:"Carchi"},{code:"EC06",name:"Chimborazo"},{code:"EC07",name:"Cotopaxi"},{code:"EC08",name:"El Oro"},{code:"EC09",name:"Esmeraldas"},{code:"EC01",name:"Gal\xe1pagos"},{code:"EC10",name:"Guayas"},{code:"EC11",name:"Imbabura"},{code:"EC12",name:"Loja"},{code:"EC13",name:"Los R\xedos"},{code:"EC14",name:"Manab\xed"},{code:"EC15",name:"Morona-Santiago"},{code:"EC23",name:"Napo"},{code:"EC24",name:"Orellana"},{code:"EC17",name:"Pastaza"},{code:"EC18",name:"Pichincha"},{code:"EC25",name:"Santa Elena"},{code:"EC26",name:"Santo Domingo de los Ts\xe1chilas"},{code:"EC22",name:"Sucumb\xedos"},{code:"EC19",name:"Tungurahua"},{code:"EC20",name:"Zamora-Chinchipe"}]},{code:"EG",id:2237,name:"Egypt",states:[{code:"EG01",name:"Ad Daqahliyah"},{code:"EG02",name:"Al Bahr al Ahmar"},{code:"EG03",name:"Al Buhayrah"},{code:"EG04",name:"Al Fayyum"},{code:"EG05",name:"Al Gharbiyah"},{code:"EG06",name:"Al Iskandariyah"},{code:"EG07",name:"Al Isma`iliyah"},{code:"EG08",name:"Al Jizah"},{code:"EG09",name:"Al Minufiyah"},{code:"EG10",name:"Al Minya"},{code:"EG11",name:"Al Qahirah"},{code:"EG12",name:"Al Qalyubiyah"},{code:"EG28",name:"Al Uqsur"},{code:"EG13",name:"Al Wadi al Jadid"},{code:"EG15",name:"As Suways"},{code:"EG14",name:"Ash Sharqiyah"},{code:"EG16",name:"Aswan"},{code:"EG17",name:"Asyut"},{code:"EG18",name:"Bani Suwayf"},{code:"EG19",name:"Bur Sa`id"},{code:"EG20",name:"Dumyat"},{code:"EG26",name:"Janub Sina"},{code:"EG21",name:"Kafr ash Shaykh"},{code:"EG22",name:"Matruh"},{code:"EG23",name:"Qina"},{code:"EG27",name:"Shamal Sina"},{code:"EG24",name:"Suhaj"}]},{code:"SV",id:2238,name:"El Salvador",states:[{code:"ES01",name:"Ahuachap\xe1n"},{code:"ES02",name:"Caba\xf1as"},{code:"ES03",name:"Chalatenango"},{code:"ES04",name:"Cuscatl\xe1n"},{code:"ES05",name:"La Libertad"},{code:"ES06",name:"La Paz"},{code:"ES07",name:"La Uni\xf3n"},{code:"ES08",name:"Moraz\xe1n"},{code:"ES09",name:"San Miguel"},{code:"ES10",name:"San Salvador"},{code:"ES12",name:"San Vicente"},{code:"ES11",name:"Santa Ana"},{code:"ES13",name:"Sonsonate"},{code:"ES14",name:"Usulut\xe1n"}]},{code:"GQ",id:2239,name:"Equatorial Guinea",states:[]},{code:"ER",id:2240,name:"Eritrea",states:[]},{code:"EE",id:2241,name:"Estonia",states:[{code:"EN01",name:"Harju"},{code:"EN02",name:"Hiiu"},{code:"EN03",name:"Ida-Viru"},{code:"EN04",name:"J\xe4rva"},{code:"EN05",name:"J\xf5geva"},{code:"EN07",name:"L\xe4\xe4ne"},{code:"EN08",name:"L\xe4\xe4ne-Viru"},{code:"EN11",name:"P\xe4rnu"},{code:"EN12",name:"P\xf5lva"},{code:"EN13",name:"Rapla"},{code:"EN14",name:"Saare"},{code:"EN18",name:"Tartu"},{code:"EN19",name:"Valga"},{code:"EN20",name:"Viljandi"},{code:"EN21",name:"V\xf5ru"}]},{code:"ET",id:2242,name:"Ethiopia",states:[{code:"ET44",name:"Addis Ababa"},{code:"ET45",name:"Afar"},{code:"ET46",name:"Amhara"},{code:"ET47",name:"Benshangul-Gumaz"},{code:"ET48",name:"Dire Dawa"},{code:"ET49",name:"Gambela Peoples"},{code:"ET50",name:"Harari People"},{code:"ET51",name:"Oromia"},{code:"ET52",name:"Somali"},{code:"ET54",name:"Southern Nations, Nationalities and Peoples"},{code:"ET53",name:"Tigray"}]},{code:"FK",id:2415,name:"Falkland Islands (Malvinas)",states:[]},{code:"FI99",id:2388,name:"Faroe Islands",states:[]},{code:"FJ",id:2243,name:"Fiji",states:[]},{code:"FI",id:2244,name:"Finland",states:[{code:"FI-AL",name:"Ahvenanmaan l\xe4\xe4ni"},{code:"AX",name:"Ahvenanmaa"},{code:"FI.SK",name:"Etel\xe4-Karjala"},{code:"FI.SO",name:"Etel\xe4-Pohjanmaa"},{code:"FI.SS",name:"Etel\xe4-Savo"},{code:"FI-ES",name:"Etel\xe4-Suomen l\xe4\xe4ni"},{code:"FI-IS",name:"It\xe4-Suomen l\xe4\xe4ni"},{code:"FI.KA",name:"Kainuu"},{code:"FI.KH",name:"Kanta-H\xe4me"},{code:"FI.CO",name:"Keski-Pohjanmaa"},{code:"FI.CF",name:"Keski-Suomi"},{code:"FI.KY",name:"Kymenlaakso"},{code:"FI-LS",name:"L\xe4nsi-Suomen l\xe4\xe4ni"},{code:"FI-LL",name:"Lapin l\xe4\xe4ni"},{code:"FI.LA",name:"Lappi"},{code:"FI-OL",name:"Oulun l\xe4\xe4ni"},{code:"FI.PH",name:"P\xe4ij\xe4t-H\xe4me"},{code:"FI.TR",name:"Pirkanmaa"},{code:"FI.OS",name:"Pohjanmaa"},{code:"FI.NK",name:"Pohjois-Karjala"},{code:"FI.NO",name:"Pohjois-Pohjanmaa"},{code:"FI.NS",name:"Pohjois-Savo"},{code:"FI.SA",name:"Satakunta"},{code:"FI.US",name:"Uusimaa"},{code:"FI.SF",name:"Varsinais-Suomi"}]},{code:"FR",id:2245,name:"France",states:[{code:"FRC2",name:"Ain"},{code:"FRC3",name:"Aisne"},{code:"FRC4",name:"Allier"},{code:"FRC6",name:"Alpes-Maritimes"},{code:"FRC5",name:"Alpes-de-Haute-Provence"},{code:"FRC1",name:"Alsace"},{code:"FR97",name:"Aquitaine"},{code:"FRC7",name:"Ard\xe8che"},{code:"FRC8",name:"Ardennes"},{code:"FRC9",name:"Ari\xe8ge"},{code:"FRD1",name:"Aube"},{code:"FRD2",name:"Aude"},{code:"FR.AR",name:"Auvergne-Rh\xf4ne-Alpes"},{code:"FR98",name:"Auvergne"},{code:"FRD3",name:"Aveyron"},{code:"FRD4",name:"Bas-Rhin"},{code:"FR99",name:"Basse-Normandie"},{code:"FRD5",name:"Bouches-du-Rh\xf4ne"},{code:"FR.BF",name:"Bourgogne-Franche-Comt\xe9"},{code:"FRA1",name:"Bourgogne"},{code:"FRA2",name:"Bretagne"},{code:"FRD8",name:"Calvados"},{code:"FRD9",name:"Cantal"},{code:"FRA3",name:"Centre"},{code:"FR.CN",name:"Centre-Val de Loire"},{code:"FRA4",name:"Champagne-Ardenne"},{code:"FRE1",name:"Charente-Maritime"},{code:"FRE2",name:"Charente"},{code:"FRE3",name:"Cher"},{code:"FRE4",name:"Corr\xe8ze"},{code:"FRE5",name:"Corse-du-Sud"},{code:"FR.CE",name:"Corse"},{code:"FRD6",name:"C\xf4te-d'Or"},{code:"FRD7",name:"C\xf4tes-d'Armor"},{code:"FRE6",name:"Creuse"},{code:"FRE7",name:"Deux-S\xe8vres"},{code:"FRE8",name:"Dordogne"},{code:"FRE9",name:"Doubs"},{code:"FRF1",name:"Dr\xf4me"},{code:"FRF2",name:"Essonne"},{code:"FRF3",name:"Eure-et-Loir"},{code:"FRF4",name:"Eure"},{code:"FRF5",name:"Finist\xe8re"},{code:"FRA6",name:"Franche-Comte"},{code:"FRF6",name:"Gard"},{code:"FRF7",name:"Gers"},{code:"FRF8",name:"Gironde"},{code:"FR.AO",name:"Grand Est"},{code:"FRG1",name:"Haut-Rhin"},{code:"FRG2",name:"Haute-Corse"},{code:"FRG3",name:"Haute-Garonne"},{code:"FRG4",name:"Haute-Loire"},{code:"FRG5",name:"Haute-Marne"},{code:"FRA7",name:"Haute-Normandie"},{code:"FRG6",name:"Haute-Sa\xf4ne"},{code:"FRG7",name:"Haute-Savoie"},{code:"FRG8",name:"Haute-Vienne"},{code:"FRG9",name:"Hautes-Alpes"},{code:"FRH1",name:"Hautes-Pyr\xe9n\xe9es"},{code:"FR.NC",name:"Hauts-de-France"},{code:"FRH2",name:"Hauts-de-Seine"},{code:"FRF9",name:"H\xe9rault"},{code:"FRA8",name:"Ile-de-France"},{code:"FRH3",name:"Ille-et-Vilaine"},{code:"FRH5",name:"Indre"},{code:"FRH4",name:"Indre-et-Loire"},{code:"FRH6",name:"Is\xe8re"},{code:"FRH7",name:"Jura"},{code:"FRH8",name:"Landes"},{code:"FRA9",name:"Languedoc-Roussillon"},{code:"FRB1",name:"Limousin"},{code:"FRI3",name:"Loir-et-Cher"},{code:"FRI2",name:"Loiret"},{code:"FRI1",name:"Loire"},{code:"FRH9",name:"Loire-Atlantique"},{code:"FRB2",name:"Lorraine"},{code:"FRI4",name:"Lot-et-Garonne"},{code:"FRI5",name:"Lot"},{code:"FRI6",name:"Loz\xe8re"},{code:"FRI7",name:"Maine-et-Loire"},{code:"FRI8",name:"Manche"},{code:"FRI9",name:"Marne"},{code:"FRJ1",name:"Mayenne"},{code:"FRJ2",name:"Meurthe-et-Moselle"},{code:"FRJ3",name:"Meuse"},{code:"FRB3",name:"Midi-Pyrenees"},{code:"FRJ4",name:"Morbihan"},{code:"FRJ5",name:"Moselle"},{code:"FRJ6",name:"Ni\xe8vre"},{code:"FRJ7",name:"Nord France"},{code:"FR67",name:"Nord"},{code:"FR.ND",name:"Normandie"},{code:"FR.AC",name:"Nouvelle-Aquitaine"},{code:"FR.LP",name:"Occitanie"},{code:"FRJ8",name:"Oise"},{code:"FRJ9",name:"Orne"},{code:"FRK1",name:"Paris"},{code:"FRB4",name:"Pas-de-Calais"},{code:"FRB5",name:"Pays de la Loire"},{code:"FRB6",name:"Picardie"},{code:"FRB7",name:"Poitou-Charentes"},{code:"FRB8",name:"Provence-Alpes-Cote d'Azur"},{code:"FRK2",name:"Puy-de-D\xf4me"},{code:"FRK3",name:"Pyr\xe9n\xe9es-Atlantiques"},{code:"FRK4",name:"Pyr\xe9n\xe9es-Orientales"},{code:"FRB9",name:"Rh\xf4ne"},{code:"FRK5",name:"Sa\xf4ne-et-Loire"},{code:"FRK6",name:"Sarthe"},{code:"FRK7",name:"Savoie"},{code:"FRK9",name:"Seine-Maritime"},{code:"FRL1",name:"Seine-Saint-Denis"},{code:"FRK8",name:"Seine-et-Marne"},{code:"FRL2",name:"Somme"},{code:"FRL3",name:"Tarn-et-Garonne"},{code:"FRL4",name:"Tarn"},{code:"FRL5",name:"Territoire de Belfor"},{code:"FR14",name:"Territoire de Belfort"},{code:"FRL6",name:"Val-d'Oise"},{code:"FRL7",name:"Val-de-Marne"},{code:"FRL8",name:"Var"},{code:"FRL9",name:"Vaucluse"},{code:"FRM1",name:"Vend\xe9e"},{code:"FRM2",name:"Vienne"},{code:"FR94",name:"Ville de Paris"},{code:"FRM3",name:"Vosges"},{code:"FRM4",name:"Yonne"},{code:"FRM5",name:"Yvelines"},{code:"FR.IF",name:"\xcele-de-France"}]},{code:"GF",id:2416,name:"French Guiana",states:[]},{code:"PF",id:2417,name:"French Polynesia",states:[]},{code:"TF",id:2418,name:"French Southern Territories",states:[]},{code:"GA",id:2246,name:"Gabon",states:[{code:"GB01",name:"Estuaire"},{code:"GB02",name:"Haut-Ogoou\xe9"},{code:"GB03",name:"Moyen-Ogoou\xe9"},{code:"GB04",name:"Ngouni\xe9"},{code:"GB05",name:"Nyanga"},{code:"GB06",name:"Ogoou\xe9-Ivindo"},{code:"GB07",name:"Ogoou\xe9-Lolo"},{code:"GB08",name:"Ogoou\xe9-Maritime"},{code:"GB09",name:"Woleu-Ntem"}]},{code:"GM",id:2389,name:"Gambia",states:[{code:"GA01",name:"Banjul"},{code:"GA03",name:"Central River"},{code:"GA02",name:"Lower River"},{code:"GA07",name:"North Bank"},{code:"GA04",name:"Upper River"},{code:"GA05",name:"West Coast"}]},{code:"GE",id:2248,name:"Georgia",states:[{code:"GG02",name:"Abkhazia"},{code:"GG04",name:"Ajaria"},{code:"GG65",name:"Guria"},{code:"GG66",name:"Imereti"},{code:"GG67",name:"Kakheti"},{code:"GG68",name:"Kvemo Kartli"},{code:"GG69",name:"Mtskheta-Mtianeti"},{code:"GG70",name:"Racha-Lochkhumi-Kvemo Svaneti"},{code:"GG71",name:"Samegrelo-Zemo Svaneti"},{code:"GG72",name:"Samtskhe-Javakheti"},{code:"GG73",name:"Shida Kartli"},{code:"GG51",name:"Tbilisi"}]},{code:"DE",id:2249,name:"Germany",states:[{code:"BW",name:"Baden-W\xfcrttemberg"},{code:"BY",name:"Bayern"},{code:"BE",name:"Berlin"},{code:"BB",name:"Brandenburg"},{code:"HB",name:"Bremen"},{code:"HH",name:"Hamburg"},{code:"HE",name:"Hessen"},{code:"MV",name:"Mecklenburg-Vorpommern"},{code:"NI",name:"Niedersachsen"},{code:"NW",name:"Nordrhein-Westfalen"},{code:"RP",name:"Rheinland-Pfalz"},{code:"SL",name:"Saarland"},{code:"SN",name:"Sachsen"},{code:"ST",name:"Sachsen-Anhalt"},{code:"SH",name:"Schleswig-Holstein"},{code:"TH",name:"Th\xfcringen"}]},{code:"GH",id:2250,name:"Ghana",states:[{code:"GH02",name:"Ashanti"},{code:"GH03",name:"Brong-Ahafo"},{code:"GH04",name:"Central"},{code:"GH05",name:"Eastern"},{code:"GH01",name:"Greater Accra"},{code:"GH06",name:"Northern"},{code:"GH10",name:"Upper East"},{code:"GH11",name:"Upper West"},{code:"GH08",name:"Volta"},{code:"GH09",name:"Western"}]},{code:"G999",id:2390,name:"Gibraltar",states:[{code:"GI.GI",name:"Gibraltar"}]},{code:"GR",id:2251,name:"Greece",states:[{code:"13",name:"Acha\xefa"},{code:"69",name:"Agio Oros"},{code:"01",name:"Aitolia kai Akarnania"},{code:"11",name:"Argolida"},{code:"12",name:"Arkadia"},{code:"31",name:"Arta"},{code:"A1",name:"Attiki"},{code:"64",name:"Chalkidiki"},{code:"94",name:"Chania"},{code:"85",name:"Chios"},{code:"81",name:"Dodekanisos"},{code:"52",name:"Drama"},{code:"71",name:"Evros"},{code:"05",name:"Evrytania"},{code:"04",name:"Evvoia"},{code:"63",name:"Florina"},{code:"07",name:"Fokida"},{code:"06",name:"Fthiotida"},{code:"51",name:"Grevena"},{code:"14",name:"Ileia"},{code:"53",name:"Imathia"},{code:"33",name:"Ioannina"},{code:"91",name:"Irakleio"},{code:"41",name:"Karditsa"},{code:"56",name:"Kastoria"},{code:"55",name:"Kavala"},{code:"23",name:"Kefallonia"},{code:"22",name:"Kerkyra"},{code:"57",name:"Kilkis"},{code:"15",name:"Korinthia"},{code:"58",name:"Kozani"},{code:"82",name:"Kyklades"},{code:"16",name:"Lakonia"},{code:"42",name:"Larisa"},{code:"92",name:"Lasithi"},{code:"24",name:"Lefkada"},{code:"83",name:"Lesvos"},{code:"43",name:"Magnisia"},{code:"17",name:"Messinia"},{code:"59",name:"Pella"},{code:"61",name:"Pieria"},{code:"34",name:"Preveza"},{code:"93",name:"Rethymno"},{code:"73",name:"Rodopi"},{code:"84",name:"Samos"},{code:"62",name:"Serres"},{code:"32",name:"Thesprotia"},{code:"54",name:"Thessaloniki"},{code:"44",name:"Trikala"},{code:"03",name:"Voiotia"},{code:"72",name:"Xanthi"},{code:"21",name:"Zakynthos"}]},{code:"GL",id:2252,name:"Greenland",states:[]},{code:"GD",id:2253,name:"Grenada",states:[]},{code:"GP",id:2419,name:"Guadeloupe",states:[]},{code:"GU",id:2376,name:"Guam",states:[]},{code:"GT",id:2371,name:"Guatemala",states:[{code:"GT01",name:"Alta Verapaz"},{code:"GT02",name:"Baja Verapaz"},{code:"GT03",name:"Chimaltenango"},{code:"GT04",name:"Chiquimula"},{code:"GT05",name:"El Progreso"},{code:"GT06",name:"Escuintla"},{code:"GT07",name:"Guatemala"},{code:"GT08",name:"Huehuetenango"},{code:"GT09",name:"Izabal"},{code:"GT10",name:"Jalapa"},{code:"GT11",name:"Jutiapa"},{code:"GT12",name:"Pet\xe9n"},{code:"GT13",name:"Quetzaltenango"},{code:"GT14",name:"Quich\xe9"},{code:"GT15",name:"Retalhuleu"},{code:"GT16",name:"Sacatep\xe9quez"},{code:"GT17",name:"San Marcos"},{code:"GT18",name:"Santa Rosa"},{code:"GT19",name:"Solol\xe1"},{code:"GT20",name:"Suchitep\xe9quez"},{code:"GT21",name:"Totonicap\xe1n"},{code:"GT22",name:"Zacapa"}]},{code:"GG",id:2420,name:"Guernsey",states:[]},{code:"GN",id:2255,name:"Guinea",states:[{code:"GV01",name:"Beyla"},{code:"GV02",name:"Boffa"},{code:"GV03",name:"Bok\xe9"},{code:"GV04",name:"Conakry"},{code:"GV30",name:"Coyah"},{code:"GV05",name:"Dabola"},{code:"GV06",name:"Dalaba"},{code:"GV07",name:"Dinguiraye"},{code:"GV31",name:"Dubr\xe9ka"},{code:"GV09",name:"Faranah"},{code:"GV10",name:"For\xe9cariah"},{code:"GV11",name:"Fria"},{code:"GV12",name:"Gaoual"},{code:"GV13",name:"Gu\xe9ck\xe9dou"},{code:"GV32",name:"Kankan"},{code:"GV15",name:"K\xe9rouan\xe9"},{code:"GV16",name:"Kindia"},{code:"GV17",name:"Kissidougou"},{code:"GV33",name:"Koubia"},{code:"GV18",name:"Koundara"},{code:"GV19",name:"Kouroussa"},{code:"GV34",name:"Lab\xe9"},{code:"GV35",name:"L\xe9louma"},{code:"GV36",name:"Lola"},{code:"GV21",name:"Macenta"},{code:"GV22",name:"Mali"},{code:"GV23",name:"Mamou"},{code:"GV37",name:"Mandiana"},{code:"GV38",name:"Nz\xe9r\xe9kor\xe9"},{code:"GV25",name:"Pita"},{code:"GV39",name:"Siguiri"},{code:"GV27",name:"T\xe9lim\xe9l\xe9"},{code:"GV28",name:"Tougu\xe9"},{code:"GV29",name:"Yomou"}]},{code:"GW",id:2256,name:"Guinea-Bissau",states:[{code:"PU01",name:"Bafat\xe1"},{code:"PU12",name:"Biombo"},{code:"PU11",name:"Bissau"},{code:"PU05",name:"Bolama"},{code:"PU06",name:"Cacheu"},{code:"PU10",name:"Gab\xfa"},{code:"PU04",name:"Oio"},{code:"PU02",name:"Quinara"},{code:"PU07",name:"Tombali"}]},{code:"GY",id:2257,name:"Guyana",states:[{code:"GY10",name:"Barima-Waini"},{code:"GY11",name:"Cuyuni-Mazaruni"},{code:"GY12",name:"Demerara-Mahaica"},{code:"GY13",name:"East Berbice-Corentyne"},{code:"GY14",name:"Essequibo Islands-West Demerara"},{code:"GY15",name:"Mahaica-Berbice"},{code:"GY16",name:"Pomeroon-Supenaam"},{code:"GY17",name:"Potaro-Siparuni"},{code:"GY18",name:"Upper Demerara-Berbice"},{code:"GY19",name:"Upper Takutu-Upper Essequibo"}]},{code:"HT",id:2258,name:"Haiti",states:[{code:"HA07",name:"Centre"},{code:"HA14",name:"Grand' Anse"},{code:"HA06",name:"L'Artibonite"},{code:"HA15",name:"Nippes"},{code:"HA10",name:"Nord-Est"},{code:"HA03",name:"Nord-Ouest"},{code:"HA09",name:"Nord"},{code:"HA11",name:"Ouest"},{code:"HA13",name:"Sud-Est"},{code:"HA12",name:"Sud"}]},{code:"HM",id:2421,name:"Heard and McDonald Islands",states:[]},{code:"VA",id:2362,name:"Holy See (Vatican City State)",states:[]},{code:"HN",id:2259,name:"Honduras",states:[{code:"HO01",name:"Atl\xe1ntida"},{code:"HO02",name:"Choluteca"},{code:"HO03",name:"Col\xf3n"},{code:"HO04",name:"Comayagua"},{code:"HO05",name:"Cop\xe1n"},{code:"HO06",name:"Cort\xe9s"},{code:"HO07",name:"El Para\xedso"},{code:"HO08",name:"Francisco Moraz\xe1n"},{code:"HO09",name:"Gracias a Dios"},{code:"HO10",name:"Intibuc\xe1"},{code:"HO11",name:"Islas de la Bah\xeda"},{code:"HO12",name:"La Paz"},{code:"HO13",name:"Lempira"},{code:"HO14",name:"Ocotepeque"},{code:"HO15",name:"Olancho"},{code:"HO16",name:"Santa B\xe1rbara"},{code:"HO17",name:"Valle"},{code:"HO18",name:"Yoro"}]},{code:"HK",id:2377,name:"Hong Kong",states:[{code:"HK001",name:"Hong Kong Island"},{code:"HK002",name:"Kowloon"},{code:"HK003",name:"New Territories"}]},{code:"HU",id:2260,name:"Hungary",states:[{code:"BK",name:"B\xe1cs-Kiskun"},{code:"BA",name:"Baranya"},{code:"BE",name:"B\xe9k\xe9s"},{code:"BC",name:"B\xe9k\xe9scsaba"},{code:"BZ",name:"Borsod-Aba\xfaj-Zempl\xe9n"},{code:"BU",name:"Budapest"},{code:"CS",name:"Csongr\xe1d"},{code:"DE",name:"Debrecen"},{code:"DU",name:"Duna\xfajv\xe1ros"},{code:"EG",name:"Eger"},{code:"ER",name:"Erd"},{code:"FE",name:"Fej\xe9r"},{code:"GY",name:"Gyor"},{code:"GS",name:"Gyor-Moson-Sopron"},{code:"HB",name:"Hajd\xfa-Bihar"},{code:"HE",name:"Heves"},{code:"HV",name:"H\xf3dmezov\xe1s\xe1rhely"},{code:"JN",name:"J\xe1sz-Nagykun-Szolnok"},{code:"KV",name:"Kaposv\xe1r"},{code:"KM",name:"Kecskem\xe9t"},{code:"KE",name:"Kom\xe1rom-Esztergom"},{code:"MI",name:"Miskolc"},{code:"NK",name:"Nagykanizsa"},{code:"NO",name:"N\xf3gr\xe1d"},{code:"NY",name:"Ny\xedregyh\xe1za"},{code:"PS",name:"P\xe9cs"},{code:"PE",name:"Pest"},{code:"ST",name:"Salg\xf3tarj\xe1n"},{code:"SO",name:"Somogy"},{code:"SN",name:"Sopron"},{code:"SZ",name:"Szabolcs-Szatm\xe1r-Bereg"},{code:"SD",name:"Szeged"},{code:"SF",name:"Sz\xe9kesfeh\xe9rv\xe1r"},{code:"SS",name:"Szeksz\xe1rd"},{code:"SK",name:"Szolnok"},{code:"SH",name:"Szombathely"},{code:"TB",name:"Tatab\xe1nya"},{code:"TO",name:"Tolna"},{code:"VA",name:"Vas"},{code:"VE",name:"Veszpr\xe9m"},{code:"VM",name:"Veszpr\xe9m City"},{code:"ZA",name:"Zala"},{code:"ZE",name:"Zalaegerszeg"}]},{code:"IS",id:2261,name:"Iceland",states:[{code:"7",name:"Austurland"},{code:"1",name:"H\xf6fu\xf0borgarsv\xe6\xf0i utan Reykjav\xedkur"},{code:"6",name:"Nor\xf0urland eystra"},{code:"5",name:"Nor\xf0urland vestra"},{code:"0",name:"Reykjav\xedk"},{code:"8",name:"Su\xf0urland"},{code:"2",name:"Su\xf0urnes"},{code:"4",name:"Vestfir\xf0ir"},{code:"3",name:"Vesturland"}]},{code:"IN",id:2262,name:"India",states:[{code:"AN",name:"Andaman and Nicobar Islands"},{code:"AP",name:"Andhra Pradesh"},{code:"AR",name:"Arunachal Pradesh"},{code:"AS",name:"Assam"},{code:"BR",name:"Bihar"},{code:"CH",name:"Chandigarh"},{code:"CT",name:"Chhattisgarh"},{code:"DN",name:"Dadra and Nagar Haveli"},{code:"DD",name:"Daman and Diu"},{code:"DL",name:"Delhi"},{code:"GA",name:"Goa"},{code:"GJ",name:"Gujarat"},{code:"HR",name:"Haryana"},{code:"HP",name:"Himachal Pradesh"},{code:"JK",name:"Jammu and Kashmir"},{code:"JH",name:"Jharkhand"},{code:"KA",name:"Karnataka"},{code:"KL",name:"Kerala"},{code:"LD",name:"Lakshadweep"},{code:"MP",name:"Madhya Pradesh"},{code:"MH",name:"Maharashtra"},{code:"MN",name:"Manipur"},{code:"ML",name:"Meghalaya"},{code:"MZ",name:"Mizoram"},{code:"NL",name:"Nagaland"},{code:"OR",name:"Orissa"},{code:"PY",name:"Pondicherry"},{code:"PB",name:"Punjab"},{code:"RJ",name:"Rajasthan"},{code:"SK",name:"Sikkim"},{code:"TN",name:"Tamil Nadu"},{code:"TG",name:"Telangana"},{code:"TR",name:"Tripura"},{code:"UP",name:"Uttar Pradesh"},{code:"UL",name:"Uttaranchal"},{code:"WB",name:"West Bengal"}]},{code:"ID",id:2263,name:"Indonesia",states:[{code:"AC",name:"Aceh"},{code:"BA",name:"Bali"},{code:"BB",name:"Bangka Belitung"},{code:"BT",name:"Banten"},{code:"BE",name:"Bengkulu"},{code:"GO",name:"Gorontalo"},{code:"JK",name:"Jakarta Raya"},{code:"JA",name:"Jambi"},{code:"JB",name:"Jawa Barat"},{code:"JT",name:"Jawa Tengah"},{code:"JI",name:"Jawa Timur"},{code:"KB",name:"Kalimantan Barat"},{code:"KS",name:"Kalimantan Selatan"},{code:"KT",name:"Kalimantan Tengah"},{code:"KI",name:"Kalimantan Timur"},{code:"KR",name:"Kepulauan Riau"},{code:"LA",name:"Lampung"},{code:"MA",name:"Maluku"},{code:"MU",name:"Maluku Utara"},{code:"NB",name:"Nusa Tenggara Barat"},{code:"NT",name:"Nusa Tenggara Timur"},{code:"PA",name:"Papua"},{code:"PB",name:"Papua Barat"},{code:"RI",name:"Riau"},{code:"SR",name:"Sulawesi Barat"},{code:"SN",name:"Sulawesi Selatan"},{code:"ST",name:"Sulawesi Tengah"},{code:"SG",name:"Sulawesi Tenggara"},{code:"SA",name:"Sulawesi Utara"},{code:"SB",name:"Sumatera Barat"},{code:"SS",name:"Sumatera Selatan"},{code:"SU",name:"Sumatera Utara"},{code:"YO",name:"Yogyakarta"}]},{code:"IR",id:2264,name:"Iran; Islamic Republic of",states:[{code:"IR44",name:"Alborz"},{code:"IR32",name:"Ardebil"},{code:"IR22",name:"Bushehr"},{code:"IR03",name:"Chahar Mahall and Bakhtiari"},{code:"IR33",name:"East Azarbaijan"},{code:"IR28",name:"Esfahan"},{code:"IR07",name:"Fars"},{code:"IR08",name:"Gilan"},{code:"IR37",name:"Golestan"},{code:"IR09",name:"Hamadan"},{code:"IR11",name:"Hormozgan"},{code:"IR42",name:"IRazavi Khorasan"},{code:"IR10",name:"Ilam"},{code:"IR29",name:"Kerman"},{code:"IR13",name:"Kermanshah"},{code:"IR15",name:"Khuzestan"},{code:"IR05",name:"Kohgiluyeh and Buyer Ahmad"},{code:"IR16",name:"Kordestan"},{code:"IR23",name:"Lorestan"},{code:"IR34",name:"Markazi"},{code:"IR35",name:"Mazandaran"},{code:"IR43",name:"North Khorasan"},{code:"IR38",name:"Qazvin"},{code:"IR39",name:"Qom"},{code:"IR25",name:"Semnan"},{code:"IR04",name:"Sistan and Baluchestan"},{code:"IR41",name:"South Khorasan"},{code:"IR26",name:"Tehran"},{code:"IR01",name:"West Azarbaijan"},{code:"IR40",name:"Yazd"},{code:"IR36",name:"Zanjan"}]},{code:"IQ",id:2265,name:"Iraq",states:[{code:"IZ01",name:"Al-Anbar"},{code:"IZ02",name:"Al-Basrah"},{code:"IZ03",name:"Al-Muthanna"},{code:"IZ04",name:"Al-Qadisiyah"},{code:"IZ17",name:"An-Najaf"},{code:"IZ11",name:"Arbil"},{code:"IZ05",name:"As-Sulaymaniyah"},{code:"IZ13",name:"At-Ta'mim"},{code:"IZ06",name:"Babil"},{code:"IZ07",name:"Baghdad"},{code:"IZ08",name:"Dahuk"},{code:"IZ09",name:"Dhi Qar"},{code:"IZ10",name:"Diyala"},{code:"IZ12",name:"Karbala"},{code:"IZ14",name:"Maysan"},{code:"IZ15",name:"Ninawa"},{code:"IZ18",name:"Salah ad-Din"},{code:"IZ16",name:"Wasit"}]},{code:"IE",id:2266,name:"Ireland",states:[{code:"CW",name:"Carlow"},{code:"CN",name:"Cavan"},{code:"CE",name:"Clare"},{code:"C",name:"Connacht"},{code:"CO",name:"Cork"},{code:"DL",name:"Donegal"},{code:"D",name:"Dublin"},{code:"G",name:"Galway"},{code:"KY",name:"Kerry"},{code:"KE",name:"Kildare"},{code:"KK",name:"Kilkenny"},{code:"LS",name:"Laois"},{code:"L",name:"Leinster"},{code:"LM",name:"Leitrim"},{code:"LK",name:"Limerick"},{code:"LD",name:"Longford"},{code:"LH",name:"Louth"},{code:"MO",name:"Mayo"},{code:"MH",name:"Meath"},{code:"MN",name:"Monaghan"},{code:"M",name:"Munster"},{code:"OY",name:"Offaly"},{code:"RN",name:"Roscommon"},{code:"SO",name:"Sligo"},{code:"TA",name:"Tipperary"},{code:"U",name:"Ulster"},{code:"WD",name:"Waterford"},{code:"WH",name:"Westmeath"},{code:"WX",name:"Wexford"},{code:"WW",name:"Wicklow"}]},{code:"IM",id:2445,name:"Isle of Man",states:[]},{code:"IL",id:2267,name:"Israel",states:[{code:"IS01",name:"HaDarom"},{code:"IS02",name:"HaMerkaz"},{code:"IS03",name:"HaZafon"},{code:"IS04",name:"Haifa"},{code:"IS06",name:"Jerusalem"},{code:"IS05",name:"Tel Aviv"}]},{code:"IT",id:2268,name:"Italy",states:[{code:"65",name:"Abruzzo"},{code:"AG",name:"Agrigento"},{code:"AL",name:"Alessandria"},{code:"AN",name:"Ancona"},{code:"AO",name:"Aosta"},{code:"AR",name:"Arezzo"},{code:"AP",name:"Ascoli Piceno"},{code:"AT",name:"Asti"},{code:"AV",name:"Avellino"},{code:"BA",name:"Bari"},{code:"BT",name:"Barletta-Andria-Trani"},{code:"77",name:"Basilicata"},{code:"BL",name:"Belluno"},{code:"BN",name:"Benevento"},{code:"BG",name:"Bergamo"},{code:"BI",name:"Biella"},{code:"BO",name:"Bologna"},{code:"BZ",name:"Bolzano"},{code:"BS",name:"Brescia"},{code:"BR",name:"Brindisi"},{code:"CA",name:"Cagliari"},{code:"78",name:"Calabria"},{code:"CL",name:"Caltanissetta"},{code:"72",name:"Campania"},{code:"CB",name:"Campobasso"},{code:"CI",name:"Carbonia-Iglesias"},{code:"CE",name:"Caserta"},{code:"CT",name:"Catania"},{code:"CZ",name:"Catanzaro"},{code:"CH",name:"Chieti"},{code:"CO",name:"Como"},{code:"CS",name:"Cosenza"},{code:"CR",name:"Cremona"},{code:"KR",name:"Crotone"},{code:"CN",name:"Cuneo"},{code:"45",name:"Emilia-Romagna"},{code:"EN",name:"Enna"},{code:"FM",name:"Fermo"},{code:"FE",name:"Ferrara"},{code:"FI",name:"Firenze"},{code:"FG",name:"Foggia"},{code:"FC",name:"Forli-Cesena"},{code:"36",name:"Friuli-Venezia Giulia"},{code:"FR",name:"Frosinone"},{code:"GE",name:"Genova"},{code:"GO",name:"Gorizia"},{code:"GR",name:"Grosseto"},{code:"IM",name:"Imperia"},{code:"IS",name:"Isernia"},{code:"AQ",name:"L'Aquila"},{code:"SP",name:"La Spezia"},{code:"LT",name:"Latina"},{code:"62",name:"Lazio"},{code:"LE",name:"Lecce"},{code:"LC",name:"Lecco"},{code:"42",name:"Liguria"},{code:"LI",name:"Livorno"},{code:"LO",name:"Lodi"},{code:"25",name:"Lombardia"},{code:"LU",name:"Lucca"},{code:"MC",name:"Macerata"},{code:"MN",name:"Mantova"},{code:"57",name:"Marche"},{code:"MS",name:"Massa-Carrara"},{code:"MT",name:"Matera"},{code:"VS",name:"Medio Campidano"},{code:"ME",name:"Messina"},{code:"MI",name:"Milano"},{code:"MO",name:"Modena"},{code:"67",name:"Molise"},{code:"MB",name:"Monza e Brianza"},{code:"NA",name:"Napoli"},{code:"NO",name:"Novara"},{code:"NU",name:"Nuoro"},{code:"OG",name:"Ogliastra"},{code:"OT",name:"Olbia-Tempio"},{code:"OR",name:"Oristano"},{code:"PD",name:"Padova"},{code:"PA",name:"Palermo"},{code:"PR",name:"Parma"},{code:"PV",name:"Pavia"},{code:"PG",name:"Perugia"},{code:"PU",name:"Pesaro e Urbino"},{code:"PE",name:"Pescara"},{code:"PC",name:"Piacenza"},{code:"21",name:"Piemonte"},{code:"PI",name:"Pisa"},{code:"PT",name:"Pistoia"},{code:"PN",name:"Pordenone"},{code:"PZ",name:"Potenza"},{code:"PO",name:"Prato"},{code:"75",name:"Puglia"},{code:"RG",name:"Ragusa"},{code:"RA",name:"Ravenna"},{code:"RC",name:"Reggio Calabria"},{code:"RE",name:"Reggio Emilia"},{code:"RI",name:"Rieti"},{code:"RN",name:"Rimini"},{code:"RM",name:"Roma"},{code:"RO",name:"Rovigo"},{code:"SA",name:"Salerno"},{code:"88",name:"Sardegna"},{code:"SS",name:"Sassari"},{code:"SV",name:"Savona"},{code:"82",name:"Sicilia"},{code:"SI",name:"Siena"},{code:"SR",name:"Siracusa"},{code:"SO",name:"Sondrio"},{code:"TA",name:"Taranto"},{code:"TE",name:"Teramo"},{code:"TR",name:"Terni"},{code:"TO",name:"Torino"},{code:"52",name:"Toscana"},{code:"TP",name:"Trapani"},{code:"32",name:"Trentino-Alto Adige"},{code:"TN",name:"Trento"},{code:"TV",name:"Treviso"},{code:"TS",name:"Trieste"},{code:"UD",name:"Udine"},{code:"55",name:"Umbria"},{code:"23",name:"Valle d'Aosta"},{code:"VA",name:"Varese"},{code:"34",name:"Veneto"},{code:"VE",name:"Venezia"},{code:"VB",name:"Verbano-Cusio-Ossola"},{code:"VC",name:"Vercelli"},{code:"VR",name:"Verona"},{code:"VV",name:"Vibo Valentia"},{code:"VI",name:"Vicenza"},{code:"VT",name:"Viterbo"}]},{code:"JM",id:2269,name:"Jamaica",states:[{code:"JM01",name:"Clarendon"},{code:"JM02",name:"Hanover"},{code:"JM17",name:"Kingston"},{code:"JM04",name:"Manchester"},{code:"JM07",name:"Portland"},{code:"JM08",name:"Saint Andrew"},{code:"JM09",name:"Saint Ann"},{code:"JM10",name:"Saint Catherine"},{code:"JM11",name:"Saint Elizabeth"},{code:"JM12",name:"Saint James"},{code:"JM13",name:"Saint Mary"},{code:"JM14",name:"Saint Thomas"},{code:"JM15",name:"Trelawny"},{code:"JM16",name:"Westmoreland"}]},{code:"JP",id:2270,name:"Japan",states:[{code:"JP23",name:"Aichi"},{code:"JP05",name:"Akita"},{code:"JP02",name:"Aomori"},{code:"JP12",name:"Chiba"},{code:"JP38",name:"Ehime"},{code:"JP18",name:"Fukui"},{code:"JP40",name:"Fukuoka"},{code:"JP07",name:"Fukushima"},{code:"JP21",name:"Gifu"},{code:"JP10",name:"Gunma"},{code:"JP34",name:"Hiroshima"},{code:"JP01",name:"Hokkaido"},{code:"JP28",name:"Hyogo"},{code:"JP08",name:"Ibaraki"},{code:"JP17",name:"Ishikawa"},{code:"JP03",name:"Iwate"},{code:"JP37",name:"Kagawa"},{code:"JP46",name:"Kagoshima"},{code:"JP14",name:"Kanagawa"},{code:"JP39",name:"Kochi"},{code:"JP43",name:"Kumamoto"},{code:"JP26",name:"Kyoto"},{code:"JP24",name:"Mie"},{code:"JP04",name:"Miyagi"},{code:"JP45",name:"Miyazaki"},{code:"JP20",name:"Nagano"},{code:"JP42",name:"Nagasaki"},{code:"JP29",name:"Nara"},{code:"JP15",name:"Niigata"},{code:"JP44",name:"Oita"},{code:"JP33",name:"Okayama"},{code:"JP47",name:"Okinawa"},{code:"JP27",name:"Osaka"},{code:"JP41",name:"Saga"},{code:"JP11",name:"Saitama"},{code:"JP25",name:"Shiga"},{code:"JP32",name:"Shimane"},{code:"JP22",name:"Shizuoka"},{code:"JP09",name:"Tochigi"},{code:"JP36",name:"Tokushima"},{code:"JP13",name:"Tokyo"},{code:"JP31",name:"Tottori"},{code:"JP16",name:"Toyama"},{code:"JP30",name:"Wakayama"},{code:"JP06",name:"Yamagata"},{code:"JP35",name:"Yamaguchi"},{code:"JP19",name:"Yamanashi"}]},{code:"JE",id:2422,name:"Jersey",states:[]},{code:"JO",id:2271,name:"Jordan",states:[{code:"JO01",name:"Ajlun"},{code:"JO02",name:"Amman"},{code:"JO03",name:"Aqaba"},{code:"JO04",name:"Balqa"},{code:"JO05",name:"Irbid"},{code:"JO06",name:"JarasJ"},{code:"JO07",name:"Karak"},{code:"JO08",name:"Ma'an"},{code:"JO09",name:"Madaba"},{code:"JO10",name:"Mafraq"},{code:"JO11",name:"Tafilah"},{code:"JO12",name:"Zarqa"}]},{code:"KZ",id:2272,name:"Kazakhstan",states:[{code:"KZ01",name:"Almaty"},{code:"KZ02",name:"Almaty (City)"},{code:"KZ03",name:"Aqmola"},{code:"KZ04",name:"Aqt\xf6be"},{code:"KZ05",name:"Astana"},{code:"KZ06",name:"Atyrau"},{code:"KZ08",name:"Bayqonyr"},{code:"KZ15",name:"East Kazakhstan"},{code:"KZ09",name:"Mangghystau"},{code:"KZ16",name:"North Kazakhstan"},{code:"KZ11",name:"Pavlodar"},{code:"KZ12",name:"Qaraghandy"},{code:"KZ13",name:"Qostanay"},{code:"KZ14",name:"Qyzylorda"},{code:"KZ10",name:"South Kazakhstan"},{code:"KZ07",name:"West Kazakhstan"},{code:"KZ17",name:"Zhambyl"}]},{code:"KE",id:2273,name:"Kenya",states:[{code:"KE10",name:"Baringo"},{code:"KE11",name:"Bomet"},{code:"KE12",name:"Bungoma"},{code:"KE13",name:"Busia"},{code:"KE14",name:"Elgeyo Marakwet"},{code:"KE15",name:"Embu"},{code:"KE16",name:"Garissa"},{code:"KE17",name:"Homa Bay"},{code:"KE18",name:"Isiolo"},{code:"KE19",name:"Kajiado"},{code:"KE20",name:"Kakamega"},{code:"KE21",name:"Kericho"},{code:"KE22",name:"Kiambu"},{code:"KE23",name:"Kilifi"},{code:"KE24",name:"Kirinyaga"},{code:"KE25",name:"Kisii"},{code:"KE26",name:"Kisumu"},{code:"KE27",name:"Kitui"},{code:"KE28",name:"Kwale"},{code:"KE29",name:"Laikipia"},{code:"KE30",name:"Lamu"},{code:"KE31",name:"Machakos"},{code:"KE32",name:"Makueni"},{code:"KE33",name:"Mandera"},{code:"KE34",name:"Marsabit"},{code:"KE35",name:"Meru"},{code:"KE36",name:"Migori"},{code:"KE37",name:"Mombasa"},{code:"KE38",name:"Murang"},{code:"KE05",name:"Nairobi"},{code:"KE39",name:"Nakuru"},{code:"KE40",name:"Nandi"},{code:"KE41",name:"Narok"},{code:"KE42",name:"Nyamira"},{code:"KE43",name:"Nyandarua"},{code:"KE44",name:"Nyeri"},{code:"KE45",name:"Samburu"},{code:"KE46",name:"Siaya"},{code:"KE47",name:"Taita Taveta"},{code:"KE48",name:"Tana River"},{code:"KE49",name:"Tharaka Nithi"},{code:"KE50",name:"Trans Nzoia"},{code:"KE51",name:"Turkana"},{code:"KE52",name:"Uasin Gishu"},{code:"KE53",name:"Vihiga"},{code:"KE54",name:"Wajir"},{code:"KE55",name:"West Pokot"}]},{code:"KI",id:2391,name:"Kiribati",states:[]},{code:"KP",id:2274,name:"Korea; Democratic People's Republic Of (North)",states:[{code:"KN01",name:"Chagang-do"},{code:"KN17",name:"Hamgyong-bukto"},{code:"KN03",name:"Hamgyong-namdo"},{code:"KN07",name:"Hwanghae-bukto"},{code:"KN06",name:"Hwanghae-namdo"},{code:"KN09",name:"Kangwon-do"},{code:"KN18",name:"Najin Sonbong-si"},{code:"KN11",name:"P'yongan-bukto"},{code:"KN15",name:"P'yongan-namdo"},{code:"KN12",name:"P'yongyang-si"},{code:"KN13",name:"Yanggang-do"}]},{code:"KR",id:2275,name:"Korea; Republic Of (South)",states:[{code:"KS10",name:"Busan"},{code:"KS05",name:"Chungcheongbuk-do"},{code:"KS17",name:"Chungcheongnam-do"},{code:"KS15",name:"Daegu"},{code:"KS19",name:"Daejeon"},{code:"KS06",name:"Gangwon-do"},{code:"KS18",name:"Gwangju"},{code:"KS13",name:"Gyeonggi-do"},{code:"KS14",name:"Gyeongsangbuk-do"},{code:"KS20",name:"Gyeongsangnam-do"},{code:"KS12",name:"Incheon"},{code:"KS01",name:"Jeju-do"},{code:"KS03",name:"Jeollabuk-do"},{code:"KS16",name:"Jeollanam-do"},{code:"KS22",name:"Sejong"},{code:"KS11",name:"Seoul"},{code:"KS21",name:"Ulsan"}]},{code:"KV",id:2392,name:"Kosovo",states:[]},{code:"KW",id:2276,name:"Kuwait",states:[{code:"KU04",name:"Al Ahmadi"},{code:"KU07",name:"Al Farwaniyah"},{code:"KU05",name:"Al Jahrah"},{code:"KU02",name:"Al Kuwayt"},{code:"KU08",name:"Hawalli"},{code:"KU09",name:"Mubarak Al-Kabir"}]},{code:"KG",id:2277,name:"Kyrgyzstan",states:[{code:"KG09",name:"Batken"},{code:"KG01",name:"Bishkek"},{code:"KG02",name:"Ch\xfcy"},{code:"KG03",name:"Jalal-Abad"},{code:"KG04",name:"Naryn"},{code:"KG10",name:"Osh [City]"},{code:"KG08",name:"Osh"},{code:"KG06",name:"Talas"},{code:"KG07",name:"Ysyk-K\xf6l"}]},{code:"LA",id:2278,name:"Lao People's Democratic Republic",states:[{code:"LA01",name:"Attapu"},{code:"LA22",name:"Bokeo"},{code:"LA23",name:"Bolikhamxai"},{code:"LA02",name:"Champasak"},{code:"LA03",name:"Houaphan"},{code:"LA15",name:"Khammouan"},{code:"LA16",name:"Louang Namtha"},{code:"LA17",name:"Louangphrabang"},{code:"LA07",name:"Oud\xf4mxai"},{code:"LA18",name:"Ph\xf4ngsali"},{code:"LA19",name:"Saravan"},{code:"LA20",name:"Savannakh\xe9t"},{code:"LA27",name:"Vientiane"},{code:"LA24",name:"Vientiane [prefecture]"},{code:"LA13",name:"Xaignabouri"},{code:"LA28",name:"Xais\xf4mboun"},{code:"LA26",name:"X\xe9kong"},{code:"LA14",name:"Xiangkhoang"}]},{code:"LV",id:2279,name:"Latvia",states:[{code:"LG34",name:"Ada\u017ei"},{code:"LG35",name:"Aglona"},{code:"LG36",name:"Aizkraukle"},{code:"LG37",name:"Aizpute"},{code:"LG38",name:"Akniste"},{code:"LG39",name:"Aloja"},{code:"LG40",name:"Alsunga"},{code:"LG41",name:"Aluksne"},{code:"LG42",name:"Amata"},{code:"LG43",name:"Ape"},{code:"LG44",name:"Auce"},{code:"LG45",name:"Babite"},{code:"LG46",name:"Baldone"},{code:"LG47",name:"Baltinava"},{code:"LG48",name:"Balvi"},{code:"LG49",name:"Bauska"},{code:"LG50",name:"Beverina"},{code:"LG51",name:"Broceni"},{code:"LG52",name:"Burtnieki"},{code:"LG53",name:"Carnikava"},{code:"LG54",name:"Cesis"},{code:"LG55",name:"Cesvaine"},{code:"LG56",name:"Cibla"},{code:"LG57",name:"Dagda"},{code:"LG06",name:"Daugavpils"},{code:"LG58",name:"Daugavpils"},{code:"LG59",name:"Dobele"},{code:"LG60",name:"Dundaga"},{code:"LG61",name:"Durbe"},{code:"LG62",name:"Engure"},{code:"LG63",name:"Ergli"},{code:"LG64",name:"Garkalne"},{code:"LG65",name:"Grobina"},{code:"LG66",name:"Gulbene"},{code:"LG67",name:"Iecava"},{code:"LG68",name:"Ik\u0161kile"},{code:"LG69",name:"Ilukste"},{code:"LG70",name:"Incukalns"},{code:"LG71",name:"Jaunjelgava"},{code:"LG72",name:"Jaunpiebalga"},{code:"LG73",name:"Jaunpils"},{code:"LG75",name:"Jekabpils"},{code:"LG74",name:"Jekabpils"},{code:"LG76",name:"Jelgava"},{code:"LG11",name:"Jelgava"},{code:"LG13",name:"Jurmala"},{code:"LG77",name:"Kandava"},{code:"LG78",name:"Karsava"},{code:"LG79",name:"Kegums"},{code:"LG80",name:"Kekava"},{code:"LG81",name:"Kocenu"},{code:"LG82",name:"Koknese"},{code:"LG83",name:"Kraslava"},{code:"LG84",name:"Krimulda"},{code:"LG85",name:"Krustpils"},{code:"LG86",name:"Kuldiga"},{code:"LG87",name:"Lielvarde"},{code:"LG16",name:"Liepaja"},{code:"LG88",name:"Ligatne"},{code:"LG89",name:"Limba\u017ei"},{code:"LG90",name:"Livani"},{code:"LG91",name:"Lubana"},{code:"LG92",name:"Ludza"},{code:"LG93",name:"Madona"},{code:"LG94",name:"Malpils"},{code:"LG95",name:"Marupe"},{code:"LG96",name:"Mazsalaca"},{code:"LGF1",name:"Mersraga"},{code:"LG97",name:"Nauk\u0161eni"},{code:"LG98",name:"Nereta"},{code:"LG99",name:"Nica"},{code:"LGA1",name:"Ogre"},{code:"LGA2",name:"Olaine"},{code:"LGA3",name:"Ozolnieki"},{code:"LGA4",name:"Pargauja"},{code:"LGA5",name:"Pavilosta"},{code:"LGA6",name:"Plavinas"},{code:"LGA7",name:"Preili"},{code:"LGA8",name:"Priekule"},{code:"LGA9",name:"Priekuli"},{code:"LGB1",name:"Rauna"},{code:"LGB2",name:"Rezekne"},{code:"LG23",name:"Rezekne"},{code:"LGB3",name:"Riebini"},{code:"LG25",name:"Riga"},{code:"LGB4",name:"Roja"},{code:"LGB5",name:"Ropa\u017ei"},{code:"LGB6",name:"Rucava"},{code:"LGB7",name:"Rugaji"},{code:"LGB8",name:"Rujiena"},{code:"LGB9",name:"Rundale"},{code:"LGC1",name:"Salacgriva"},{code:"LGC2",name:"Sala"},{code:"LGC3",name:"Salaspils"},{code:"LGC4",name:"Saldus"},{code:"LGC5",name:"Saulkrasti"},{code:"LGC6",name:"Seja"},{code:"LGC7",name:"Sigulda"},{code:"LGC8",name:"Skriveri"},{code:"LGC9",name:"Skrunda"},{code:"LGD1",name:"Smiltene"},{code:"LGD2",name:"Stopini"},{code:"LGD3",name:"Strenci"},{code:"LGD4",name:"Talsi"},{code:"LGD5",name:"Tervete"},{code:"LGD6",name:"Tukums"},{code:"LGD7",name:"Vainode"},{code:"LGD8",name:"Valka"},{code:"LGD9",name:"Valmiera"},{code:"LGE1",name:"Varaklani"},{code:"LGE2",name:"Varkava"},{code:"LGE3",name:"Vecpiebalga"},{code:"LGE4",name:"Vecumnieki"},{code:"LGE5",name:"Ventspils"},{code:"LG32",name:"Ventspils"},{code:"LGE6",name:"Viesite"},{code:"LGE7",name:"Vilaka"},{code:"LGE8",name:"Vilani"},{code:"LGE9",name:"Zilupe"}]},{code:"LB",id:2280,name:"Lebanon",states:[{code:"LE10",name:"Aakkar"},{code:"LE07",name:"An Nabatiyah"},{code:"LE11",name:"Baalbek-Hermel"},{code:"LE04",name:"Beirut"},{code:"LE08",name:"Beqaa"},{code:"LE05",name:"Mount Lebanon"},{code:"LE09",name:"North Lebanon"},{code:"LE06",name:"South Lebanon"}]},{code:"LS",id:2281,name:"Lesotho",states:[{code:"LT10",name:"Berea"},{code:"LT11",name:"Butha-Buthe"},{code:"LT12",name:"Leribe"},{code:"LT14",name:"Mafeteng"},{code:"LT13",name:"Mafeteng"},{code:"LT15",name:"Mohale's Hoek"},{code:"LT16",name:"Mokhotlong"},{code:"LT17",name:"Qacha's Nek"},{code:"LT18",name:"Quthing"},{code:"LT19",name:"Thaba-Tseka"}]},{code:"LR",id:2282,name:"Liberia",states:[{code:"LI15",name:"Bomi"},{code:"LI01",name:"Bong"},{code:"LI21\t",name:"Gbarpolu"},{code:"LI11",name:"Grand Bassa"},{code:"LI12",name:"Grand Cape Mount"},{code:"LI19",name:"Grand Gedeh"},{code:"LI16",name:"Grand Kru"},{code:"LI20",name:"Lofa"},{code:"LI17",name:"Margibi"},{code:"LI13",name:"Maryland"},{code:"LI14",name:"Montserrado"},{code:"LI09",name:"Nimba"},{code:"LI22",name:"River Gee"},{code:"LI18",name:"Rivercess"},{code:"LI10",name:"Sinoe"}]},{code:"LY",id:2380,name:"Libyan Arab Jamahiriya",states:[]},{code:"LI",id:2284,name:"Liechtenstein",states:[]},{code:"LT",id:2285,name:"Lithuania",states:[{code:"LH56",name:"Alytus"},{code:"LH57",name:"Kaunas"},{code:"LH58",name:"Klaipeda"},{code:"LH59",name:"Marijampole"},{code:"LH60",name:"Paneve\u017eys"},{code:"LH61",name:"Siauliai"},{code:"LH62",name:"Taurage"},{code:"LH63",name:"Tel\u0161iai"},{code:"LH64",name:"Utena"},{code:"LH65",name:"Vilnius"}]},{code:"LU",id:2286,name:"Luxembourg",states:[{code:"LU01",name:"Diekirch"},{code:"LU02",name:"Grevenmacher"},{code:"LU03",name:"Luxembourg"}]},{code:"MO",id:2287,name:"Macau",states:[]},{code:"MK",id:2288,name:"Macedonia",states:[]},{code:"YU",id:2367,name:"Macedonia; the Former Yugoslav Republic",states:[]},{code:"MG",id:2289,name:"Madagascar",states:[{code:"MA05",name:"Antananarivo"},{code:"MA01",name:"Antsiranana"},{code:"MA02",name:"Fianarantsoa"},{code:"MA03",name:"Mahajanga"},{code:"MA04",name:"Toamasina"},{code:"MA06",name:"Toliara"}]},{code:"MW",id:2290,name:"Malawi",states:[{code:"MI26",name:"Balaka"},{code:"MI24",name:"Blantyre"},{code:"MI02",name:"Chikwawa"},{code:"MI03",name:"Chiradzulu"},{code:"MI04",name:"Chitipa"},{code:"MI06",name:"Dedza"},{code:"MI07",name:"Dowa"},{code:"MI08",name:"Karonga"},{code:"MI09",name:"Kasungu"},{code:"MI27",name:"Likoma"},{code:"MI11",name:"Lilongwe"},{code:"MI28",name:"Machinga"},{code:"MI12",name:"Mangochi"},{code:"MI13",name:"Mchinji"},{code:"MI29",name:"Mulanje"},{code:"MI25",name:"Mwanza"},{code:"MI15",name:"Mzimba"},{code:"MI31",name:"Neno"},{code:"MI17",name:"Nkhata Bay"},{code:"MI18",name:"Nkhotakota"},{code:"MI19",name:"Nsanje"},{code:"MI16",name:"Ntcheu"},{code:"MI20",name:"Ntchisi"},{code:"MI30",name:"Phalombe"},{code:"MI21",name:"Rumphi"},{code:"MI22",name:"Salima"},{code:"MI05",name:"Thyolo"},{code:"MI23",name:"Zomba"}]},{code:"MY",id:2291,name:"Malaysia",states:[{code:"MY01",name:"Johor"},{code:"MY02",name:"Kedah"},{code:"MY03",name:"Kelantan"},{code:"MY04",name:"Melaka"},{code:"MY05",name:"Negeri Sembilan"},{code:"MY06",name:"Pahang"},{code:"MY08",name:"Perak"},{code:"MY09",name:"Perlis"},{code:"MY07",name:"Pulau Pinang"},{code:"MY12",name:"Sabah"},{code:"MY13",name:"Sarawak"},{code:"MY10",name:"Selangor"},{code:"MY11",name:"Terengganu"},{code:"MY14",name:"W.P. Kuala Lumpur"},{code:"MY15",name:"W.P. Labuan"},{code:"MY16",name:"W.P. Putrajaya"}]},{code:"MV",id:2384,name:"Maldives; Republic of",states:[]},{code:"ML",id:2292,name:"Mali",states:[{code:"ML01",name:"Bamako"},{code:"ML09",name:"Gao"},{code:"ML03",name:"Kayes"},{code:"ML10",name:"Kidal"},{code:"ML07",name:"Koulikoro"},{code:"ML.ME",name:"M\xe9naka"},{code:"ML04",name:"Mopti"},{code:"ML05",name:"S\xe9gou"},{code:"ML06",name:"Sikasso"},{code:"ML.TD",name:"Taoud\xe9nit"},{code:"ML08",name:"Timbuktu"}]},{code:"MT",id:2293,name:"Malta",states:[{code:"MT.CE",name:"Central"},{code:"MT.GO",name:"Gozo"},{code:"MT.NO",name:"Northern"},{code:"MT.SE",name:"South Eastern"},{code:"MT.SO",name:"Southern"}]},{code:"RM",id:2394,name:"Marshall Islands",states:[]},{code:"MQ",id:2423,name:"Martinique",states:[]},{code:"MR",id:2294,name:"Mauritania",states:[{code:"MR07",name:"Adrar"},{code:"MR03",name:"Assaba"},{code:"MR05",name:"Brakna"},{code:"MR08",name:"Dakhlet Nouadhibou"},{code:"MR04",name:"Gorgol"},{code:"MR10",name:"Guidimaka"},{code:"MR01",name:"Hodh ech Chargui"},{code:"MR02",name:"Hodh el Gharbi"},{code:"MR12",name:"Inchiri"},{code:"MR.NN",name:"Nouakchott Nord"},{code:"MR13",name:"Nouakchott Ouest"},{code:"MR.NS",name:"Nouakchott Sud"},{code:"MR09",name:"Tagant"},{code:"MR11",name:"Tiris Zemmour"},{code:"MR06",name:"Trarza"}]},{code:"MU",id:2295,name:"Mauritius",states:[{code:"MP21",name:"Agalega Islands"},{code:"MP12",name:"Black River"},{code:"MP22",name:"Cargados Carajos"},{code:"MP13",name:"Flacq"},{code:"MP14",name:"Grand Port"},{code:"MP15",name:"Moka"},{code:"MP16",name:"Pamplemousses"},{code:"MP17",name:"Plaines Wilhems"},{code:"MP18",name:"Port Louis"},{code:"MP19",name:"Rivi\xe8re du Rempart"},{code:"MP23",name:"Rodrigues"},{code:"MP20",name:"Savanne"}]},{code:"M999",id:2393,name:"Mayotte",states:[]},{code:"MX",id:2296,name:"Mexico",states:[{code:"AGU",name:"Aguascalientes"},{code:"BCS",name:"Baja California Sur"},{code:"BCN",name:"Baja California"},{code:"CAM",name:"Campeche"},{code:"CHP",name:"Chiapas"},{code:"CHH",name:"Chihuahua"},{code:"COA",name:"Coahuila"},{code:"COL",name:"Colima"},{code:"DIF",name:"Distrito Federal"},{code:"DUR",name:"Durango"},{code:"GUA",name:"Guanajuato"},{code:"GRO",name:"Guerrero"},{code:"HID",name:"Hidalgo"},{code:"JAL",name:"Jalisco"},{code:"MEX",name:"M\xe9xico"},{code:"MIC",name:"Michoac\xe1n"},{code:"MOR",name:"Morelos"},{code:"NAY",name:"Nayarit"},{code:"NLE",name:"Nuevo Le\xf3n"},{code:"OAX",name:"Oaxaca"},{code:"PUE",name:"Puebla"},{code:"QUE",name:"Quer\xe9taro"},{code:"ROO",name:"Quintana Roo"},{code:"SLP",name:"San Luis Potos\xed"},{code:"SIN",name:"Sinaloa"},{code:"SON",name:"Sonora"},{code:"TAB",name:"Tabasco"},{code:"TAM",name:"Tamaulipas"},{code:"TLA",name:"Tlaxcala"},{code:"VER",name:"Veracruz"},{code:"YUC",name:"Yucat\xe1n"},{code:"ZAC",name:"Zacatecas"}]},{code:"FM",id:2297,name:"Micronesia; Federated States of",states:[{code:"FM03",name:"Chuuk"},{code:"FM01",name:"Kosrae"},{code:"FM02",name:"Pohnpei"},{code:"FM04",name:"Yap"}]},{code:"MD",id:2395,name:"Moldova; Republic of",states:[]},{code:"MC",id:2299,name:"Monaco",states:[]},{code:"MN",id:2300,name:"Mongolia",states:[]},{code:"MJ",id:2396,name:"Montenegro",states:[{code:"ME-1",name:"Andrijevica"},{code:"ME-2",name:"Bar"},{code:"ME-3",name:"Berane"},{code:"ME-4",name:"Bijelo Polje"},{code:"ME-5",name:"Budva"},{code:"ME-6",name:"Cetinje"},{code:"ME-7",name:"Danilovgrad"},{code:"ME-8",name:"Herceg Novi"},{code:"ME-9",name:"Kola\u0161in"},{code:"ME-10",name:"Kotor"},{code:"ME-11",name:"Mojkovac"},{code:"ME-12",name:"Nik\u0161ic"},{code:"ME-13",name:"Plav"},{code:"ME-14",name:"Pljevlja"},{code:"ME-15",name:"Plu\u017eine"},{code:"ME-16",name:"Podgorica"},{code:"ME-17",name:"Ro\u017eaje"},{code:"ME-18",name:"\u0160avnik"},{code:"ME-19",name:"Tivat"},{code:"ME-20",name:"Ulcinj"},{code:"ME-21",name:"\u017dabljak"}]},{code:"MS",id:2424,name:"Montserrat",states:[]},{code:"MA",id:2301,name:"Morocco",states:[{code:"MA.BK",name:"B\xe9ni Mellal-Kh\xe9nifra"},{code:"MA.CS",name:"Casablanca-Settat"},{code:"MA.OL",name:"Dakhla-Oued Ed-Dahab"},{code:"MA.DT",name:"Dr\xe2a-Tafilalet"},{code:"MA.FK",name:"F\xe8s-Mekn\xe8s"},{code:"MA.GN",name:"Guelmim-Oued Noun"},{code:"MA.OF",name:"L'oriental"},{code:"MA.LS",name:"La\xe2youne-Sakia al Hamra"},{code:"MA.MS",name:"Marrakech-Safi"},{code:"MA.RK",name:"Rabat-Sal\xe9-K\xe9nitra"},{code:"MA.SS",name:"Souss-Massa"},{code:"MA.TC",name:"Tanger-T\xe9touan-Al Hoceima"}]},{code:"MZ",id:2302,name:"Mozambique",states:[{code:"MZ01",name:"Cabo Delgado"},{code:"MZ02",name:"Gaza"},{code:"MZ03",name:"Inhambane"},{code:"MZ10",name:"Manica"},{code:"MZ11",name:"Maputo [city]"},{code:"MZ04",name:"Maputo"},{code:"MZ06",name:"Nampula"},{code:"MZ07",name:"Niassa"},{code:"MZ05",name:"Sofala"},{code:"MZ08",name:"Tete"},{code:"MZ09",name:"Zamb\xe9zia"}]},{code:"MM",id:2303,name:"Myanmar",states:[{code:"MM.AY",name:"Ayeyarwady"},{code:"MM.BA",name:"Bago"},{code:"MM.CH",name:"Chin"},{code:"MM.KC",name:"Kachin"},{code:"MM.KH",name:"Kayah"},{code:"MM.KN",name:"Kayin"},{code:"MM.MG",name:"Magway"},{code:"MM.ML",name:"Mandalay"},{code:"MM.MO",name:"Mon"},{code:"MM.NY",name:"Naypyidaw"},{code:"MM.RA",name:"Rakhine"},{code:"MM.SA",name:"Sagaing"},{code:"MM.SH",name:"Shan"},{code:"MM.TN",name:"Tanintharyi"},{code:"MM.YA",name:"Yangon"}]},{code:"NA",id:2304,name:"Namibia",states:[{code:"WA29",name:"Erongo"},{code:"WA30",name:"Hardap"},{code:"WA31",name:"Karas"},{code:"WA40",name:"Kavango East"},{code:"WA41",name:"Kavango West"},{code:"WA21",name:"Khomas"},{code:"WA32",name:"Kunene"},{code:"WA33",name:"Ohangwena"},{code:"WA35",name:"Omaheke"},{code:"WA36",name:"Omusati"},{code:"WA37",name:"Oshana"},{code:"WA38",name:"Oshikoto"},{code:"WA39",name:"Otjozondjupa"},{code:"WA28",name:"Zambezi"}]},{code:"NR",id:2397,name:"Nauru",states:[]},{code:"NP",id:2305,name:"Nepal",states:[{code:"NP.FI",name:"Five"},{code:"NP.FO",name:"Four"},{code:"NP.ON",name:"One"},{code:"NP.SE",name:"Seven"},{code:"NP.SI",name:"Six"},{code:"NP.TH",name:"Three"},{code:"NP.TW",name:"Two"}]},{code:"NL",id:2306,name:"Netherlands",states:[{code:"DR",name:"Drenthe"},{code:"FL",name:"Flevoland"},{code:"FR",name:"Friesland"},{code:"GE",name:"Gelderland"},{code:"GR",name:"Groningen"},{code:"LI",name:"Limburg"},{code:"NB",name:"Noord-Brabant"},{code:"NH",name:"Noord-Holland"},{code:"OV",name:"Overijssel"},{code:"UT",name:"Utrecht"},{code:"ZE",name:"Zeeland"},{code:"ZH",name:"Zuid-Holland"}]},{code:"AN",id:2425,name:"Netherlands Antilles",states:[]},{code:"NC",id:2426,name:"New Caledonia",states:[]},{code:"NZ",id:2307,name:"New Zealand",states:[{code:"AUK",name:"Auckland"},{code:"BOP",name:"Bay of Plenty"},{code:"CAN",name:"Canterbury"},{code:"CIT",name:"Chatham Islands Territory"},{code:"GIS",name:"Gisborne"},{code:"HKB",name:"Hawke's Bay"},{code:"MWT",name:"Manawatu-Wanganui"},{code:"MBH",name:"Marlborough"},{code:"NSN",name:"Nelson"},{code:"N",name:"North Island"},{code:"NTL",name:"Northland"},{code:"OTA",name:"Otago"},{code:"S",name:"South Island"},{code:"STL",name:"Southland"},{code:"TKI",name:"Taranaki"},{code:"TAS",name:"Tasman District"},{code:"WKO",name:"Waikato"},{code:"WGN",name:"Wellington"},{code:"WTC",name:"West Coast"}]},{code:"NI",id:2308,name:"Nicaragua",states:[{code:"NU01",name:"Boaco"},{code:"NU02",name:"Carazo"},{code:"NU03",name:"Chinandega"},{code:"NU04",name:"Chontales"},{code:"NU05",name:"Estel\xed"},{code:"NU06",name:"Granada"},{code:"NU07",name:"Jinotega"},{code:"NU08",name:"Le\xf3n"},{code:"NU09",name:"Madriz"},{code:"NU10",name:"Managua"},{code:"NU11",name:"Masaya"},{code:"NU12",name:"Matagalpa"},{code:"NU13",name:"Nueva Segovia"},{code:"NU17",name:"Regi\xf3n Aut\xf3noma del Caribe Norte"},{code:"NU18",name:"Regi\xf3n Aut\xf3noma del Caribe Sur"},{code:"NU14",name:"R\xedo San Juan"},{code:"NU15",name:"Rivas"}]},{code:"NE",id:2309,name:"Niger",states:[{code:"NG01",name:"Agadez"},{code:"NG02",name:"Diffa"},{code:"NG03",name:"Dosso"},{code:"NG04",name:"Maradi"},{code:"NG08",name:"Niamey"},{code:"NG06",name:"Tahoua"},{code:"NG09",name:"Tillab\xe9ri"},{code:"NG07",name:"Zinder"}]},{code:"NG",id:2310,name:"Nigeria",states:[{code:"NI45",name:"Abia"},{code:"NI35",name:"Adamawa"},{code:"NI21",name:"Akwa Ibom"},{code:"NI25",name:"Anambra"},{code:"NI46",name:"Bauchi"},{code:"NI52",name:"Bayelsa"},{code:"NI26",name:"Benue"},{code:"NI27",name:"Borno"},{code:"NI22",name:"Cross River"},{code:"NI36",name:"Delta"},{code:"NI53",name:"Ebonyi"},{code:"NI37",name:"Edo"},{code:"NI54",name:"Ekiti"},{code:"NI47",name:"Enugu"},{code:"NI11",name:"Federal Capital Territory"},{code:"NI55",name:"Gombe"},{code:"NI28",name:"Imo"},{code:"NI39",name:"Jigawa"},{code:"NI23",name:"Kaduna"},{code:"NI29",name:"Kano"},{code:"NI24",name:"Katsina"},{code:"NI40",name:"Kebbi"},{code:"NI41",name:"Kogi"},{code:"NI30",name:"Kwara"},{code:"NI05",name:"Lagos"},{code:"NI56",name:"Nassarawa"},{code:"NI31",name:"Niger"},{code:"NI16",name:"Ogun"},{code:"NI48",name:"Ondo"},{code:"NI42",name:"Osun"},{code:"NI32",name:"Oyo"},{code:"NI49",name:"Plateau"},{code:"NI50",name:"Rivers"},{code:"NI51",name:"Sokoto"},{code:"NI43",name:"Taraba"},{code:"NI44",name:"Yobe"},{code:"NI57",name:"Zamfara"}]},{code:"NU",id:2427,name:"Niue",states:[]},{code:"NF",id:2428,name:"Norfolk Island",states:[]},{code:"MP",id:2429,name:"Northern Mariana Islands",states:[]},{code:"NO",id:2311,name:"Norway",states:[{code:"NO02",name:"Akershus"},{code:"NO09",name:"Aust-Agder"},{code:"NO06",name:"Buskerud"},{code:"NO20",name:"Finnmark"},{code:"NO04",name:"Hedmark"},{code:"NO12",name:"Hordaland"},{code:"NO22",name:"Jan Mayen (Arctic Region)"},{code:"NO15",name:"M\xf8re og Romsdal"},{code:"NO17",name:"Nord-Tr\xf8ndelag"},{code:"NO18",name:"Nordland"},{code:"NO05",name:"Oppland"},{code:"NO03",name:"Oslo"},{code:"NO01",name:"\xd8stfold"},{code:"NO11",name:"Rogaland"},{code:"NO14",name:"Sogn og Fjordane"},{code:"NO16",name:"S\xf8r-Tr\xf8ndelag"},{code:"NO21",name:"Svalbard (Arctic Region)"},{code:"NO08",name:"Telemark"},{code:"NO19",name:"Troms"},{code:"NO10",name:"Vest-Agder"},{code:"NO07",name:"Vestfold"}]},{code:"OM",id:2312,name:"Oman",states:[{code:"MU01",name:"Ad Dakhliyah"},{code:"MU09",name:"Adh Dhahirah"},{code:"MU11",name:"Al Batinah North"},{code:"MU02",name:"Al Batinah South"},{code:"MU10",name:"Al Buraymi"},{code:"MU03",name:"Al Wusta"},{code:"MU12",name:"Ash Sharqiyah North"},{code:"MU04",name:"Ash Sharqiyah South"},{code:"MU08",name:"Dhofar"},{code:"MU07",name:"Musandam"},{code:"MU06",name:"Muscat"}]},{code:"PK",id:2313,name:"Pakistan",states:[{code:"PK06",name:"Azad Kashmir"},{code:"PK02",name:"Balochistan"},{code:"PK01",name:"Federally Administered Tribal Areas"},{code:"PK07",name:"Gilgit-Baltistan"},{code:"PK08",name:"Islamabad"},{code:"PK03",name:"Khyber-Pakhtunkhwa"},{code:"PK04",name:"Punjab"},{code:"PK05",name:"Sindh"}]},{code:"PW",id:2314,name:"Palau",states:[]},{code:"PS",id:2430,name:"Palestinian Territory; Occupied",states:[]},{code:"PA",id:2315,name:"Panama",states:[{code:"PM01",name:"Bocas del Toro"},{code:"PM02\t",name:"Chiriqu\xed"},{code:"PM03",name:"Cocl\xe9"},{code:"PM04",name:"Cocl\xe9"},{code:"PM05",name:"Dari\xe9n"},{code:"PM11",name:"Ember\xe1"},{code:"PM06",name:"Herrera"},{code:"PM09",name:"Kuna Yala"},{code:"PM07",name:"Los Santos"},{code:"PM12",name:"Ng\xe4be Bugl\xe9"},{code:"PM13",name:"Panam\xe1 Oeste"},{code:"PM08",name:"Panam\xe1"},{code:"PM10",name:"Veraguas"}]},{code:"PG",id:2316,name:"Papua New Guinea",states:[{code:"PP07",name:"Bougainville"},{code:"PP01",name:"Central"},{code:"PP08",name:"Chimbu"},{code:"PP10",name:"East New Britain"},{code:"PP11",name:"East Sepik"},{code:"PP09",name:"Eastern Highlands"},{code:"PP19",name:"Enga"},{code:"PP02",name:"Gulf"},{code:"PP21",name:"Hela"},{code:"PP22",name:"Jiwaka"},{code:"PP12",name:"Madang"},{code:"PP13",name:"Manus"},{code:"PP03",name:"Milne Bay"},{code:"PP14",name:"Morobe"},{code:"PP20",name:"National Capital District"},{code:"PP15",name:"New Ireland"},{code:"PP04",name:"Northern"},{code:"PP18",name:"Sandaun"},{code:"PP05",name:"Southern Highlands"},{code:"PP17",name:"West New Britain"},{code:"PP06",name:"Western"},{code:"PP16",name:"Western Highlands"}]},{code:"PY",id:2317,name:"Paraguay",states:[{code:"PA23",name:"Alto Paraguay"},{code:"PA01",name:"Alto Paran\xe1"},{code:"PA02",name:"Amambay"},{code:"PA22",name:"Asunci\xf3n"},{code:"PA24",name:"Boquer\xf3n"},{code:"PA04",name:"Caaguaz\xfa"},{code:"PA05",name:"Caazap\xe1"},{code:"PA19",name:"Canindey\xfa"},{code:"PA06",name:"Central"},{code:"PA07",name:"Concepci\xf3n"},{code:"PA08",name:"Cordillera"},{code:"PA10",name:"Guair\xe1"},{code:"PA11",name:"Itap\xfaa"},{code:"PA12",name:"Misiones"},{code:"PA15",name:"Paraguar\xed"},{code:"PA16",name:"Presidente Hayes"},{code:"PA17",name:"San Pedro"},{code:"PA13",name:"\xd1eembuc\xfa"}]},{code:"PE",id:2318,name:"Peru",states:[{code:"PE01",name:"Amazonas"},{code:"PE02",name:"Ancash"},{code:"PE03",name:"Apur\xedmac"},{code:"PE04",name:"Arequipa"},{code:"PE05",name:"Ayacucho"},{code:"PE06",name:"Cajamarca"},{code:"PE07",name:"Callao"},{code:"PE08",name:"Cusco"},{code:"PE09",name:"Huancavelica"},{code:"PE10",name:"Hu\xe1nuco"},{code:"PE11",name:"Ica"},{code:"PE12",name:"Jun\xedn"},{code:"PE13",name:"La Libertad"},{code:"PE14",name:"Lambayeque"},{code:"PE15",name:"Lima"},{code:"PE26",name:"Lima [Province]"},{code:"PE16",name:"Loreto"},{code:"PE17",name:"Madre de Dios"},{code:"PE18",name:"Moquegua"},{code:"PE19",name:"Pasco"},{code:"PE20",name:"Piura"},{code:"PE21",name:"Puno"},{code:"PE22",name:"San Mart\xedn"},{code:"PE23",name:"Tacna"},{code:"PE24",name:"Tumbes"},{code:"PE25",name:"Ucayali"}]},{code:"PH",id:2319,name:"Philippines",states:[{code:"RP01",name:"Abra"},{code:"RP02",name:"Agusan del Norte"},{code:"RP03",name:"Agusan del Sur"},{code:"RP04",name:"Aklan"},{code:"RP05",name:"Albay"},{code:"RP06",name:"Antique"},{code:"RPH6",name:"Apayao"},{code:"RPG8",name:"Aurora"},{code:"RP22",name:"Basilan"},{code:"RP07",name:"Bataan"},{code:"RP08",name:"Batanes"},{code:"RP09",name:"Batangas"},{code:"RP10",name:"Benguet"},{code:"RPH9",name:"Biliran"},{code:"RP11",name:"Bohol"},{code:"RP12",name:"Bukidnon"},{code:"RP13",name:"Bulacan"},{code:"RP14",name:"Cagayan"},{code:"RP15",name:"Camarines Norte"},{code:"RP16",name:"Camarines Sur"},{code:"RP17",name:"Camiguin"},{code:"RP18",name:"Capiz"},{code:"RP19",name:"Catanduanes"},{code:"RP20",name:"Cavite"},{code:"RP21",name:"Cebu"},{code:"RPI6",name:"Compostela Valley"},{code:"RP57",name:"Cotabato"},{code:"RP26",name:"Davao Oriental"},{code:"RPI7",name:"Davao del Norte"},{code:"RP25",name:"Davao del Sur"},{code:"RPI9",name:"Dinagat Islands"},{code:"RP23",name:"Eastern Samar"},{code:"RPJ3",name:"Guimaras"},{code:"RP27",name:"Ifugao"},{code:"RP28",name:"Ilocos Norte"},{code:"RP29",name:"Ilocos Sur"},{code:"RP30",name:"Iloilo"},{code:"RP31",name:"Isabela"},{code:"RPJ7",name:"Kalinga"},{code:"RP36",name:"La Union"},{code:"RP33",name:"Laguna"},{code:"RP34",name:"Lanao del Norte"},{code:"RP35",name:"Lanao del Sur"},{code:"RP37",name:"Leyte"},{code:"RP56",name:"Maguindanao"},{code:"RP38",name:"Marinduque"},{code:"RP39",name:"Masbate"},{code:"RPD9",name:"Metropolitan Manila"},{code:"RP42",name:"Misamis Occidental"},{code:"RP43",name:"Misamis Oriental"},{code:"RP44",name:"Mountain"},{code:"RPH3",name:"Negros Occidental"},{code:"RP46",name:"Negros Oriental"},{code:"RP67",name:"Northern Samar"},{code:"RP47",name:"Nueva Ecija"},{code:"RP48",name:"Nueva Vizcaya"},{code:"RP40",name:"Occidental Mindoro"},{code:"RP41",name:"Oriental Mindoro"},{code:"RP49",name:"Palawan"},{code:"RP50",name:"Pampanga"},{code:"RP51",name:"Pangasinan"},{code:"RPH2",name:"Quezon"},{code:"RP68",name:"Quirino"},{code:"RP53",name:"Rizal"},{code:"RP54",name:"Romblon"},{code:"RP55",name:"Samar"},{code:"PH72",name:"Sarangani"},{code:"RP69",name:"Siquijor"},{code:"RP58",name:"Sorsogon"},{code:"RP70",name:"South Cotabato"},{code:"RP59",name:"Southern Leyte"},{code:"RP71",name:"Sultan Kudarat"},{code:"RP60",name:"Sulu"},{code:"RP61",name:"Surigao del Norte"},{code:"RP62",name:"Surigao del Sur"},{code:"RPO3",name:"Tarlac"},{code:"RPO4",name:"Tawi-Tawi"},{code:"RPP1",name:"Zambales"},{code:"RPG7",name:"Zamboanga del Norte"},{code:"RP65",name:"Zamboanga del Sur"},{code:"RP66",name:"Zamboanga-Sibugay"}]},{code:"PN",id:2431,name:"Pitcairn",states:[]},{code:"PL",id:2320,name:"Poland",states:[{code:"PL-DS",name:"Dolnoslaskie"},{code:"PL-KP",name:"Kujawsko-pomorskie"},{code:"PL-LD",name:"L\xf3dzkie"},{code:"PL-LU",name:"Lubelskie"},{code:"PL-LB",name:"Lubuskie"},{code:"PL-MA",name:"Malopolskie"},{code:"PL-MZ",name:"Mazowieckie"},{code:"PL-OP",name:"Opolskie"},{code:"PL-PK",name:"Podkarpackie"},{code:"PL-PD",name:"Podlaskie"},{code:"PL-PM",name:"Pomorskie"},{code:"PL-SL",name:"Slaskie"},{code:"PL-SK",name:"Swietokrzyskie"},{code:"PL-WN",name:"Warminsko-mazurskie"},{code:"PL-WP",name:"Wielkopolskie"}]},{code:"PT",id:2321,name:"Portugal",states:[{code:"PO23",name:"Acores Autonomous"},{code:"PO02",name:"Aveiro"},{code:"PO03",name:"Beja"},{code:"PO04",name:"Braga"},{code:"PO05",name:"Braganca"},{code:"PO06",name:"Castelo Branco"},{code:"PO07",name:"Coimbra"},{code:"PO08",name:"Evora"},{code:"PO09",name:"Faro"},{code:"PO11",name:"Guarda"},{code:"PO13",name:"Leiria"},{code:"PO14",name:"Lisboa"},{code:"PO10",name:"Madeira Autonomous"},{code:"PO16",name:"Portalegre"},{code:"PO17",name:"Porto"},{code:"PO18",name:"Santarem"},{code:"PO19",name:"Setubal"},{code:"PO20",name:"Viana do Castelo"},{code:"PO21",name:"Vila Real"},{code:"PO22",name:"Viseu"}]},{code:"PR",id:2374,name:"Puerto Rico",states:[{code:"PR.AJ",name:"Adjuntas"},{code:"PR.AD",name:"Aguada"},{code:"PR.AL",name:"Aguadilla"},{code:"PR.AB",name:"Aguas Buenas"},{code:"PR.AI",name:"Aibonito"},{code:"PR.AN",name:"A\xf1asco"},{code:"PR.AC",name:"Arecibo"},{code:"PR.AR",name:"Arroyo"},{code:"PR.BC",name:"Barceloneta"},{code:"PR.BQ",name:"Barranquitas"},{code:"PR.BY",name:"Bayam\xf3n"},{code:"PR.CR",name:"Cabo Rojo"},{code:"PR.CG",name:"Caguas"},{code:"PR.CA",name:"Camuy"},{code:"PR.CV",name:"Can\xf3vanas"},{code:"PR.CN",name:"Carolina"},{code:"PR.CT",name:"Cata\xf1o"},{code:"PR.CY",name:"Cayey"},{code:"PR.CB",name:"Ceiba"},{code:"PR.CL",name:"Ciales"},{code:"PR.CD",name:"Cidra"},{code:"PR.CO",name:"Coamo"},{code:"PR.CM",name:"Comer\xedo"},{code:"PR.CZ",name:"Corozal"},{code:"PR.CU",name:"Culebra"},{code:"PR.DO",name:"Dorado"},{code:"PR.FJ",name:"Fajardo"},{code:"PR.FL",name:"Florida"},{code:"PR.GC",name:"Gu\xe1nica"},{code:"PR.GM",name:"Guayama"},{code:"PR.GL",name:"Guayanilla"},{code:"PR.GB",name:"Guaynabo"},{code:"PR.GR",name:"Gurabo"},{code:"PR.HA",name:"Hatillo"},{code:"PR.HO",name:"Hormigueros"},{code:"PR.HU",name:"Humacao"},{code:"PR.IS",name:"Isabela"},{code:"PR.JY",name:"Jayuya"},{code:"PR.JD",name:"Juana D\xedaz"},{code:"PR.JC",name:"Juncos"},{code:"PR.LJ",name:"Lajas"},{code:"PR.LR",name:"Lares"},{code:"PR.LM",name:"Las Mar\xedas"},{code:"PR.LP",name:"Las Piedras"},{code:"PR.LZ",name:"Lo\xedza"},{code:"PR.LQ",name:"Luquillo"},{code:"PR.MT",name:"Manat\xed"},{code:"PR.MR",name:"Maricao"},{code:"PR.MB",name:"Maunabo"},{code:"PR.MG",name:"Mayag\xfcez"},{code:"PR.MC",name:"Moca"},{code:"PR.MV",name:"Morovis"},{code:"PR.NG",name:"Naguabo"},{code:"PR.NR",name:"Naranjito"},{code:"PR.OR",name:"Orocovis"},{code:"PR.PT",name:"Patillas"},{code:"PR.PN\t",name:"Pe\xf1uelas"},{code:"PR.PO",name:"Ponce"},{code:"PR.QB",name:"Quebradillas"},{code:"PR.RC",name:"Rinc\xf3n"},{code:"PR.RG",name:"R\xedo Grande"},{code:"PR.SB",name:"Sabana Grande"},{code:"PR.SA",name:"Salinas"},{code:"PR.SG",name:"San Germ\xe1n"},{code:"PR.SJ",name:"San Juan"},{code:"PR.SL",name:"San Lorenzo"},{code:"PR.SS",name:"San Sebasti\xe1n"},{code:"PR.SI",name:"Santa Isabel"},{code:"PR.TA",name:"Toa Alta"},{code:"PR.TB",name:"Toa Baja"},{code:"PR.TJ",name:"Trujillo Alto"},{code:"PR.UT",name:"Utuado"},{code:"PR.VA",name:"Vega Alta"},{code:"PR.VB",name:"Vega Baja"},{code:"PR.VQ",name:"Vieques"},{code:"PR.VL",name:"Villalba"},{code:"PR.YB",name:"Yabucoa"},{code:"PR.YU",name:"Yauco"}]},{code:"QA",id:2322,name:"Qatar",states:[{code:"QA01",name:"Ad Dawhah"},{code:"QA13",name:"Al Daayen"},{code:"QA04",name:"Al Khawr"},{code:"QA10",name:"Al Wakrah"},{code:"QA14",name:"Al-Shahaniya"},{code:"QA06",name:"Ar Rayyan"},{code:"QA08",name:"Madinat ach Shamal"},{code:"QA09",name:"Umm Salal"}]},{code:"R999",id:2398,name:"Reunion",states:[]},{code:"RO",id:2323,name:"Romania",states:[{code:"RO-AB",name:"Alba"},{code:"RO-AR",name:"Arad"},{code:"RO-AG",name:"Arges"},{code:"RO-BC",name:"Bacau"},{code:"RO-BH",name:"Bihor"},{code:"RO-BN",name:"Bistrita-Nasaud"},{code:"RO-BT",name:"Botosani"},{code:"RO-BR",name:"Braila"},{code:"RO-BV",name:"Brasov"},{code:"RO-B",name:"Bucuresti"},{code:"RO-BZ",name:"Buzau"},{code:"RO-CL",name:"Calarasi"},{code:"RO-CS",name:"Caras-Severin"},{code:"RO-CJ",name:"Cluj"},{code:"RO-CT",name:"Constanta"},{code:"RO-CV",name:"Covasna"},{code:"RO-DB",name:"D\xe2mbovita"},{code:"RO-DJ",name:"Dolj"},{code:"RO-GL",name:"Galati"},{code:"RO-GR",name:"Giurgiu"},{code:"RO-GJ",name:"Gorj"},{code:"RO-HR",name:"Harghita"},{code:"RO-HD",name:"Hunedoara"},{code:"RO-IL",name:"Ialomita"},{code:"RO-IS",name:"Iasi"},{code:"RO-IF",name:"Ilfov"},{code:"RO-MM",name:"Maramures"},{code:"RO-MH",name:"Mehedinti"},{code:"RO-MS",name:"Mures"},{code:"RO-NT",name:"Neamt"},{code:"RO-OT",name:"Olt"},{code:"RO-PH",name:"Prahova"},{code:"RO-SJ",name:"Salaj"},{code:"RO-SM",name:"Satu Mare"},{code:"RO-SB",name:"Sibiu"},{code:"RO-SV",name:"Suceava"},{code:"RO-TR",name:"Teleorman"},{code:"RO-TM",name:"Timis"},{code:"RO-TL",name:"Tulcea"},{code:"RO-VL",name:"V\xe2lcea"},{code:"RO-VS",name:"Vaslui"},{code:"RO-VN",name:"Vrancea"}]},{code:"RU",id:2324,name:"Russian Federation",states:[{code:"RS01",name:"Adygeya Republic"},{code:"RS02",name:"Aginskiy Buryatskiy Avtonomnyy Okrug"},{code:"RS03",name:"Altay Republic"},{code:"RS04",name:"Altayskiy Kray"},{code:"RS05",name:"Amurskaya Oblast'"},{code:"RS06",name:"Arkhangel'skaya Oblast'"},{code:"RS07",name:"Astrakhanskaya Oblast'"},{code:"RS08",name:"Bashkortostan Republic"},{code:"RS09",name:"Belgorodskaya Oblast'"},{code:"RS10",name:"Bryanskaya Oblast'"},{code:"RS11",name:"Buryatiya Republic"},{code:"RSCI",name:"Chechnya Republic"},{code:"RS13",name:"Chelyabinskaya Oblast'"},{code:"RS14",name:"Chitinskaya Oblast'"},{code:"RS15",name:"Chukotskiy Avtonomnyy Okrug"},{code:"RS16",name:"Chuvashiya Republic"},{code:"RS17",name:"Dagestan Republic"},{code:"RS18",name:"Evenkiyskiy Avtonomnyy Okrug"},{code:"RS20",name:"Irkutskaya Oblast'"},{code:"RS21",name:"Ivanovskaya Oblast'"},{code:"RS22",name:"Kabardino-Balkariya Republic"},{code:"RS23",name:"Kaliningradskaya Oblast'"},{code:"RS24",name:"Kalmykiya Republic"},{code:"RS25",name:"Kaluzhskaya Oblast'"},{code:"RS26",name:"Kamchatskaya Oblast'"},{code:"RS27",name:"Karachayevo-Cherkesiya Republic"},{code:"RS28",name:"Kareliya Republic"},{code:"RS29",name:"Kemerovskaya Oblast'"},{code:"RS30",name:"Khabarovskiy Kray"},{code:"RS31",name:"Khakasiya Republic"},{code:"RS32",name:"Khanty-Mansiyskiy Avtonomnyy Okrug"},{code:"RS33",name:"Kirovskaya Oblast'"},{code:"RS34",name:"Komi Republic"},{code:"RS36",name:"Koryakskiy Avtonomnyy Okrug"},{code:"RS37",name:"Kostromskaya Oblast'"},{code:"RS38",name:"Krasnodarskiy Kray"},{code:"RS39",name:"Krasnoyarskiy Kray"},{code:"RS40",name:"Kurganskaya Oblast'"},{code:"RS41",name:"Kurskaya Oblast'"},{code:"RS42",name:"Leningradskaya Oblast'"},{code:"RS43",name:"Lipetskaya Oblast'"},{code:"RS44",name:"Magadanskaya Oblast'"},{code:"RS45",name:"Mariy-El Republic"},{code:"RS46",name:"Mordoviya Republic"},{code:"RS47",name:"Moskovskaya Oblast'"},{code:"RS48",name:"Moskva Federal City"},{code:"RS49",name:"Murmanskaya Oblast'"},{code:"RS50",name:"Nenetskiy Avtonomnyy Okrug"},{code:"RS51",name:"Nizhegorodskaya Oblast'"},{code:"RS52",name:"Novgorodskaya Oblast'"},{code:"RS53",name:"Novosibirskaya Oblast'"},{code:"RS54",name:"Omskaya Oblast'"},{code:"RS55",name:"Orenburgskaya Oblast'"},{code:"RS56",name:"Orlovskaya Oblast'"},{code:"RS57",name:"Penzenskaya Oblast'"},{code:"RS90",name:"Permskiy Kray"},{code:"RS59",name:"Primorskiy Kray"},{code:"RS60",name:"Pskovskaya Oblast'"},{code:"RS61",name:"Rostovskaya Oblast'"},{code:"RS62",name:"Ryazanskaya Oblast'"},{code:"RS63",name:"Sakha (Yakutiya) Republic"},{code:"RS64",name:"Sakhalinskaya Oblast'"},{code:"RS65",name:"Samarskaya Oblast'"},{code:"RS66",name:"Sankt-Peterburg Federal City"},{code:"RS67",name:"Saratovskaya Oblast'"},{code:"RS68",name:"Severnaya Osetiya-Alaniya Respublika"},{code:"RS69",name:"Smolenskaya Oblast'"},{code:"RS70",name:"Stavropol'skiy Kray"},{code:"RS71",name:"Sverdlovskaya Oblast'"},{code:"RS72",name:"Tambovskaya Oblast'"},{code:"RS73",name:"Tatarstan Republic"},{code:"RS74",name:"Taymyrskiy (Dolgano-Nenetskiy) Avtonomnyy Okrug"},{code:"RS75",name:"Tomskaya Oblast'"},{code:"RS76",name:"Tul'skaya Oblast'"},{code:"RS77",name:"Tverskaya Oblast'"},{code:"RS78",name:"Tyumenskaya Oblast'"},{code:"RS79",name:"Tyva Republic"},{code:"RS80",name:"Udmurtiya Republic"},{code:"RS81",name:"Ul'yanovskaya Oblast'"},{code:"RS82",name:"Ust'-Ordynskiy Buryatskiy Avtonomnyy Okrug"},{code:"RS83",name:"Vladimirskaya Oblast'"},{code:"RS84",name:"Volgogradskaya Oblast'"},{code:"RS85",name:"Vologodskaya Oblast'"},{code:"RS86",name:"Voronezhskaya Oblast'"},{code:"RS87",name:"Yamalo-Nenetskiy Avtonomnyy Okrug"},{code:"RS88",name:"Yaroslavskaya Oblast'"},{code:"RS89",name:"Yevreyskaya Avtonomnaya Oblast'"}]},{code:"RW",id:2325,name:"Rwanda",states:[{code:"RW11",name:"Eastern"},{code:"RW12",name:"Kigali City"},{code:"RW13",name:"Northern"},{code:"RW15",name:"Southern"},{code:"RW14",name:"Western"}]},{code:"BL",id:2432,name:"Saint Barth\xe9lemy",states:[]},{code:"SH",id:2433,name:"Saint Helena; Ascension and Tristan Da Cunha",states:[]},{code:"KN",id:2399,name:"Saint Kitts and Nevis",states:[]},{code:"LC",id:2326,name:"Saint Lucia",states:[]},{code:"MF",id:2434,name:"Saint Martin",states:[{code:"MF.SM",name:"Saint Martin"}]},{code:"PM",id:2435,name:"Saint Pierre And Miquelon",states:[]},{code:"VC",id:2400,name:"Saint Vincent and Grenadines",states:[]},{code:"WS",id:2401,name:"Samoa",states:[{code:"WS01",name:"A'ana"},{code:"WS02",name:"Aiga-i-le-Tai"},{code:"WS03",name:"Atua"},{code:"WS04",name:"Fa'asaleleaga"},{code:"WS05",name:"Gaga'emauga"},{code:"WS07",name:"Gagaifomauga"},{code:"WS08",name:"Palauli"},{code:"WS09",name:"Satupa'itea"},{code:"WS10",name:"Tuamasaga"},{code:"WS06",name:"Va'a-o-Fonoti"},{code:"WS11",name:"Vaisigano"}]},{code:"SM",id:2327,name:"San Marino",states:[]},{code:"TP",id:2403,name:"Sao Tome and Principe",states:[]},{code:"SA",id:2328,name:"Saudi Arabia",states:[{code:"SA02",name:"Al Bahah"},{code:"SA15",name:"Al Hudud ash Shamaliyah"},{code:"SA20",name:"Al Jawf"},{code:"SA05",name:"Al Madinah"},{code:"SA08",name:"Al Qasim"},{code:"SA10",name:"Ar Riyad"},{code:"SA06",name:"Ash Sharqiyah"},{code:"SA11",name:"Asir"},{code:"SA13",name:"Ha'il"},{code:"SA17",name:"Jizan"},{code:"SA14",name:"Makkah"},{code:"SA16",name:"Najran"},{code:"SA19",name:"Tabuk"}]},{code:"SN",id:2329,name:"Senegal",states:[{code:"SG01",name:"Dakar"},{code:"SG03",name:"Diourbel"},{code:"SG09",name:"Fatick"},{code:"SG16",name:"Kaffrine"},{code:"SG10",name:"Kaolack"},{code:"SG17",name:"K\xe9dougou"},{code:"SG11",name:"Kolda"},{code:"SG13",name:"Louga"},{code:"SG15",name:"Matam"},{code:"SG14",name:"Saint-Louis"},{code:"SG18",name:"S\xe9dhiou"},{code:"SG05",name:"Tambacounda"},{code:"SG07",name:"Thi\xe8s"},{code:"SG12",name:"Ziguinchor"}]},{code:"RI",id:2402,name:"Serbia",states:[{code:"RS-00",name:"Belgrade"},{code:"RS-14",name:"Borski okrug"},{code:"RS-11",name:"Branicevski okrug"},{code:"RS-23",name:"Jablanicki okrug"},{code:"RS-06",name:"Ju\u017enobanatski okrug"},{code:"RS-04",name:"Ju\u017enobanatski okrug"},{code:"RS-09",name:"Kolubarski okrug"},{code:"RS-25",name:"Kosovski okrug"},{code:"RS-28",name:"Kosovsko-Mitrovacki okrug"},{code:"RS-29",name:"Kosovsko-Pomoravski okrug"},{code:"RS-08",name:"Macvanski okrug"},{code:"RS-17",name:"Moravicki okrug"},{code:"RS-20",name:"Ni\u0161avski okrug"},{code:"RS-24",name:"Pcinjski okrug"},{code:"RS-26",name:"Pecki okrug"},{code:"RS-22",name:"Pirotski okrug"},{code:"RS-10",name:"Podunavski okrug"},{code:"RS-13",name:"Pomoravski okrug"},{code:"RS-27",name:"Prizrenski okrug"},{code:"RS-19",name:"Rasinski okrug"},{code:"RS-18",name:"Ra\u0161ka okrug"},{code:"RS-01",name:"Severnobacki okrug"},{code:"RS-03",name:"Severnobanatski okrug"},{code:"RS-02",name:"Srednjebanatski okrug"},{code:"RS-07",name:"Sremski okrug"},{code:"RS-12",name:"\u0160umadijski okrug"},{code:"RS-21",name:"Topli\xe8ki okrug"},{code:"RS-15",name:"Zaje\xe8arski okrug"},{code:"RS-05",name:"Zapadnoba\xe8ki okrug"},{code:"RS-16",name:"Zlatiborski okrug"}]},{code:"SC",id:2331,name:"Seychelles",states:[]},{code:"SL",id:2332,name:"Sierra Leone",states:[{code:"SL01",name:"Eastern"},{code:"SL02",name:"Northern"},{code:"SL03",name:"Southern"},{code:"SL04",name:"Western"}]},{code:"SG",id:2333,name:"Singapore",states:[{code:"SG01",name:"Central Singapore"},{code:"SG02",name:"North East"},{code:"SG03",name:"North West"},{code:"SG04",name:"South East"},{code:"SG05",name:"South West"}]},{code:"SX",id:2448,name:"Sint Maarten",states:[{code:"SX.SM",name:"Sint Maarten"}]},{code:"SK",id:2334,name:"Slovakia",states:[{code:"SK-BC",name:"Banskobystrick\xfd kraj"},{code:"SK-BL",name:"Bratislavsk\xfd kraj"},{code:"SK-KI",name:"Ko\u0161ick\xfd kraj"},{code:"SK-NI",name:"Nitriansky kraj"},{code:"SK-PV",name:"Pre\u0161ovsk\xfd kraj"},{code:"SK-TC",name:"Trenciansky kraj"},{code:"SK-TA",name:"Trnavsk\xfd kraj"},{code:"SK-ZI",name:"\u017dilinsk\xfd kraj"}]},{code:"SI",id:2335,name:"Slovenia",states:[{code:"SI-001",name:"Ajdov\u0161cina"},{code:"SI-195",name:"Apace"},{code:"SI-002",name:"Beltinci"},{code:"SI-148",name:"Benedikt"},{code:"SI-149",name:"Bistrica ob Sotli"},{code:"SI-003",name:"Bled"},{code:"SI-150",name:"Bloke"},{code:"SI-004",name:"Bohinj"},{code:"SI-005",name:"Borovnica"},{code:"SI-006",name:"Bovec"},{code:"SI-151",name:"Braslovce"},{code:"SI-007",name:"Brda"},{code:"SI-009",name:"Bre\u017eice"},{code:"SI-008",name:"Brezovica"},{code:"SI-152",name:"Cankova"},{code:"SI-011",name:"Celje"},{code:"SI-012",name:"Cerklje na Gorenjskem"},{code:"SI-013",name:"Cerknica"},{code:"SI-014",name:"Cerkno"},{code:"SI-153",name:"Cerkvenjak"},{code:"SI-197",name:"Cirkulane"},{code:"SI-015",name:"Cren\u0161ovci"},{code:"SI-016",name:"Crna na Koro\u0161kem"},{code:"SI-017",name:"Crnomelj"},{code:"SI-018",name:"Destrnik"},{code:"SI-019",name:"Divaca"},{code:"SI-154",name:"Dobje"},{code:"SI-020",name:"Dobrepolje"},{code:"SI-155",name:"Dobrna"},{code:"SI-021",name:"Dobrova-Polhov Gradec"},{code:"SI-156",name:"Dobrovnik/Dobronak"},{code:"SI-022",name:"Dol pri Ljubljani"},{code:"SI-157",name:"Dolenjske Toplice"},{code:"SI-023",name:"Dom\u017eale"},{code:"SI-024",name:"Dornava"},{code:"SI-025",name:"Dravograd"},{code:"SI-026",name:"Duplek"},{code:"SI-027",name:"Gorenja vas-Poljane"},{code:"SI-028",name:"Gori\u0161nica"},{code:"SI-207",name:"Gorje"},{code:"SI-029",name:"Gornja Radgona"},{code:"SI-030",name:"Gornji Grad"},{code:"SI-031",name:"Gornji Petrovci"},{code:"SI-158",name:"Grad"},{code:"SI-032",name:"Grosuplje"},{code:"SI-159",name:"Hajdina"},{code:"SI-160",name:"Hoce-Slivnica"},{code:"SI-161",name:"Hodo\u0161/Hodos"},{code:"SI-162",name:"Horjul"},{code:"SI-034",name:"Hrastnik"},{code:"SI-035",name:"Hrpelje-Kozina"},{code:"SI-036",name:"Idrija"},{code:"SI-037",name:"Ig"},{code:"SI-038",name:"Ilirska Bistrica"},{code:"SI-039",name:"Ivancna Gorica"},{code:"SI-040",name:"Izola/Isola"},{code:"SI-041",name:"Jesenice"},{code:"SI-163",name:"Jezersko"},{code:"SI-042",name:"Jur\u0161inci"},{code:"SI-043",name:"Kamnik"},{code:"SI-044",name:"Kanal"},{code:"SI-045",name:"Kidricevo"},{code:"SI-046",name:"Kobarid"},{code:"SI-047",name:"Kobilje"},{code:"SI-048",name:"Kocevje"},{code:"SI-049",name:"Komen"},{code:"SI-164",name:"Komenda"},{code:"SI-050",name:"Koper/Capodistria"},{code:"SI-196",name:"Kosanjevica na Krki"},{code:"SI-165",name:"Kostel"},{code:"SI-051",name:"Kozje"},{code:"SI-052",name:"Kranj"},{code:"SI-053",name:"Kranjska Gora"},{code:"SI-166",name:"Kri\u017eevci"},{code:"SI-054",name:"Kr\u0161ko"},{code:"SI-055",name:"Kungota"},{code:"SI-056",name:"Kuzma"},{code:"SI-057",name:"La\u0161ko"},{code:"SI-058",name:"Lenart"},{code:"SI-059",name:"Lendava/Lendva"},{code:"SI-060",name:"Litija"},{code:"SI-061",name:"Ljubljana"},{code:"SI-062",name:"Ljubno"},{code:"SI-063",name:"Ljutomer"},{code:"SI-208",name:"Log-Dragomer"},{code:"SI-064",name:"Logatec"},{code:"SI-065",name:"Lo\u0161ka dolina"},{code:"SI-066",name:"Lo\u0161ki Potok"},{code:"SI-167",name:"Lovrenc na Pohorju"},{code:"SI-067",name:"Luce"},{code:"SI-068",name:"Lukovica"},{code:"SI-069",name:"Maj\u0161perk"},{code:"SI-198",name:"Makole"},{code:"SI-070",name:"Maribor"},{code:"SI-168",name:"Markovci"},{code:"SI-071",name:"Medvode"},{code:"SI-072",name:"Menge\u0161"},{code:"SI-073",name:"Metlika"},{code:"SI-074",name:"Me\u017eica"},{code:"SI-169",name:"Miklav\u017e na Dravskem polju"},{code:"SI-075",name:"Miren-Kostanjevica"},{code:"SI-170",name:"Mirna Pec"},{code:"SI-076",name:"Mislinja"},{code:"SI-199",name:"Mokronog-Trebelno"},{code:"SI-077",name:"Moravce"},{code:"SI-078",name:"Moravske Toplice"},{code:"SI-079",name:"Mozirje"},{code:"SI-080",name:"Murska Sobota"},{code:"SI-081",name:"Muta"},{code:"SI-082",name:"Naklo"},{code:"SI-083",name:"Nazarje"},{code:"SI-084",name:"Nova Gorica"},{code:"SI-085",name:"Novo mesto"},{code:"SI-086",name:"Odranci"},{code:"SI-171",name:"Oplotnica"},{code:"SI-087",name:"Ormo\u017e"},{code:"SI-088",name:"Osilnica"},{code:"SI-089",name:"Pesnica"},{code:"SI-090",name:"Piran/Pirano"},{code:"SI-091",name:"Pivka"},{code:"SI-092",name:"Podcetrtek"},{code:"SI-172",name:"Podlehnik"},{code:"SI-093",name:"Podvelka"},{code:"SI-200",name:"Poljcane"},{code:"SI-173",name:"Polzela"},{code:"SI-094",name:"Postojna"},{code:"SI-174",name:"Prebold"},{code:"SI-095",name:"Preddvor"},{code:"SI-175",name:"Prevalje"},{code:"SI-096",name:"Ptuj"},{code:"SI-097",name:"Puconci"},{code:"SI-098",name:"Race-Fram"},{code:"SI-099",name:"Radece"},{code:"SI-100",name:"Radenci"},{code:"SI-101",name:"Radlje ob Dravi"},{code:"SI-102",name:"Radovljica"},{code:"SI-103",name:"Ravne na Koro\u0161kem"},{code:"SI-176",name:"Razkri\u017eje"},{code:"SI-209",name:"Recica ob Savinji"},{code:"SI-201",name:"Rence-Vogrsko"},{code:"SI-177",name:"Ribnica na Pohorju"},{code:"SI-104",name:"Ribnica"},{code:"SI-106",name:"Roga\u0161ka Slatina"},{code:"SI-105",name:"Roga\u0161ovci"},{code:"SI-107",name:"Rogatec"},{code:"SI-108",name:"Ru\u0161e"},{code:"SI-033",name:"\u0160alovci"},{code:"SI-178",name:"Selnica ob Dravi"},{code:"SI-109",name:"Semic"},{code:"SI-183",name:"\u0160empeter-Vrtojba"},{code:"SI-117",name:"\u0160encur"},{code:"SI-118",name:"\u0160entilj"},{code:"SI-119",name:"\u0160entjernej"},{code:"SI-120",name:"\u0160entjur pri Celju"},{code:"SI-211",name:"\u0160entrupert"},{code:"SI-110",name:"Sevnica"},{code:"SI-111",name:"Se\u017eana"},{code:"SI-121",name:"\u0160kocjan"},{code:"SI-122",name:"\u0160kofja Loka"},{code:"SI-123",name:"\u0160kofljica"},{code:"SI-112",name:"Slovenj Gradec"},{code:"SI-113",name:"Slovenska Bistrica"},{code:"SI-114",name:"Slovenske Konjice"},{code:"SI-124",name:"\u0160marje pri Jel\u0161ah"},{code:"SI-206",name:"\u0160marje\u0161ke Toplice"},{code:"SI-125",name:"\u0160martno ob Paki"},{code:"SI-194",name:"\u0160martno pri Litiji"},{code:"SI-194",name:"\u0160martno pri Litiji"},{code:"SI-179",name:"Sodra\u017eica"},{code:"SI-180",name:"Solcava"},{code:"SI-126",name:"\u0160o\u0161tanj"},{code:"SI-202",name:"Sredi\u0161ce ob Dravi"},{code:"SI-115",name:"Star\u0161e"},{code:"SI-127",name:"\u0160tore"},{code:"SI-203",name:"Stra\u017ea"},{code:"SI-181",name:"Sveta Ana"},{code:"SI-204",name:"Sveta Trojica v Slovenskih Goricah"},{code:"SI-182",name:"Sveti Andra\u017e v Slovenskih goricah"},{code:"SI-116",name:"Sveti Jurij"},{code:"SI-210",name:"Sveti Jurij v Slovenskih Goricah"},{code:"SI-205",name:"Sveti Toma\u017e"},{code:"SI-184",name:"Tabor"},{code:"SI-010",name:"Ti\u0161ina"},{code:"SI-128",name:"Tolmin"},{code:"SI-129",name:"Trbovlje"},{code:"SI-130",name:"Trebnje"},{code:"SI-185",name:"Trnovska vas"},{code:"SI-131",name:"Tr\u017eic"},{code:"SI-186",name:"Trzin"},{code:"SI-132",name:"Turni\u0161ce"},{code:"SI-133",name:"Velenje"},{code:"SI-187",name:"Velika Polana"},{code:"SI-134",name:"Velike La\u0161ce"},{code:"SI-188",name:"Ver\u017eej"},{code:"SI-135",name:"Videm"},{code:"SI-136",name:"Vipava"},{code:"SI-137",name:"Vitanje"},{code:"SI-138",name:"Vodice"},{code:"SI-139",name:"Vojnik"},{code:"SI-189",name:"Vransko"},{code:"SI-140",name:"Vrhnika"},{code:"SI-141",name:"Vuzenica"},{code:"SI-142",name:"Zagorje ob Savi"},{code:"SI-190",name:"\u017dalec"},{code:"SI-143",name:"Zavrc"},{code:"SI-146",name:"\u017delezniki"},{code:"SI-191",name:"\u017detale"},{code:"SI-147",name:"\u017diri"},{code:"SI-192",name:"\u017dirovnica"},{code:"SI-144",name:"Zrece"},{code:"SI-193",name:"\u017du\u017eemberk"}]},{code:"SB",id:2336,name:"Solomon Islands",states:[]},{code:"SO",id:2337,name:"Somalia",states:[{code:"SO21",name:"Awdal"},{code:"SO01",name:"Bakool"},{code:"SO02",name:"Banaadir"},{code:"SO03",name:"Bari"},{code:"SO04",name:"Bay"},{code:"SO05",name:"Galguduud"},{code:"SO06",name:"Gedo"},{code:"SO07",name:"Hiiraan"},{code:"SO08",name:"Jubbada Dhexe"},{code:"SO09",name:"Jubbada Hoose"},{code:"SO10",name:"Mudug"},{code:"SO18",name:"Nugaal"},{code:"SO12",name:"Sanaag"},{code:"SO13",name:"Shabeellaha Dhexe"},{code:"SO14",name:"Shabeellaha Hoose"},{code:"SO22",name:"Sool"},{code:"SO19",name:"Togdheer"},{code:"SO20",name:"Woqooyi Galbeed"}]},{code:"ZA",id:2338,name:"South Africa",states:[{code:"SF01",name:"Cape Province"},{code:"SF05",name:"Eastern Cape"},{code:"SF03",name:"Free State"},{code:"SF06",name:"Gauteng"},{code:"SF02",name:"KwaZulu-Natal"},{code:"SF09",name:"Limpopo"},{code:"SF07",name:"Mpumalanga"},{code:"SF10",name:"North-West"},{code:"SF08",name:"Northern Cape"},{code:"SF04",name:"Transvaal"},{code:"SF11",name:"Western Cape"}]},{code:"GS",id:2436,name:"South Georgia and the South Sandwich Islands",states:[]},{code:"SS",id:2447,name:"South Sudan",states:[{code:"OD01",name:"Central Equatoria"},{code:"OD02",name:"East Equatoria"},{code:"OD03",name:"Jungoli"},{code:"OD04",name:"Lakes"},{code:"OD05",name:"North Bahr-al-Ghazal"},{code:"OD06",name:"Unity"},{code:"OD07",name:"Upper Nile"},{code:"OD08",name:"Warap"},{code:"OD09",name:"West Bahr-al-Ghazal"},{code:"OD10",name:"West Equatoria"}]},{code:"ES",id:2339,name:"Spain",states:[{code:"SP23",name:"A Coru\xf1a"},{code:"SP01",name:"Alava"},{code:"SP02",name:"Albacete"},{code:"SP03",name:"Alicante"},{code:"SP04",name:"Almeria"},{code:"SP51",name:"Andalucia"},{code:"SP52",name:"Aragon"},{code:"SP34",name:"Asturias"},{code:"SP05",name:"Avila"},{code:"SP06",name:"Badajoz"},{code:"SP08",name:"Barcelona"},{code:"SP09",name:"Burgos"},{code:"SP10",name:"Caceres"},{code:"SP11",name:"Cadiz"},{code:"SP53",name:"Canarias"},{code:"SP39",name:"Cantabria"},{code:"SP12",name:"Castellon"},{code:"SP55",name:"Castilla y Leon"},{code:"SP54",name:"Castilla-La Mancha"},{code:"SP56",name:"Cataluna"},{code:"SP13",name:"Ciudad Real"},{code:"SP14",name:"Cordoba"},{code:"SP15",name:"Cuenca"},{code:"SP57",name:"Extremadura"},{code:"SP58",name:"Galicia"},{code:"SP16",name:"Gerona"},{code:"SP17",name:"Granada"},{code:"SP18",name:"Guadalajara"},{code:"SP19",name:"Guipuzcoa"},{code:"SP20",name:"Huelva"},{code:"SP21",name:"Huesca"},{code:"SP07",name:"Islas Baleares"},{code:"SP22",name:"Jaen"},{code:"SP23",name:"La Coruna"},{code:"SP27",name:"La Rioja"},{code:"SP24",name:"Las Palmas"},{code:"SP25",name:"Leon"},{code:"SP26",name:"Lerida"},{code:"SP28",name:"Lugo"},{code:"SP29",name:"Madrid"},{code:"SP30",name:"Malaga"},{code:"SP31",name:"Murcia"},{code:"SP32",name:"Navarra"},{code:"SP33",name:"Orense"},{code:"SP59",name:"Pais Vasco"},{code:"SP35",name:"Palencia"},{code:"SP36",name:"Pontevedra"},{code:"SP37",name:"Salamanca"},{code:"SP38",name:"Santa Cruz de Tenerife"},{code:"SP40",name:"Segovia"},{code:"SP41",name:"Sevilla"},{code:"SP42",name:"Soria"},{code:"SP43",name:"Tarragona"},{code:"SP44",name:"Teruel"},{code:"SP45",name:"Toledo"},{code:"SP46",name:"Valencia"},{code:"SP60",name:"Valenciana"},{code:"SP47",name:"Valladolid"},{code:"SP48",name:"Vizcaya"},{code:"SP49",name:"Zamora"},{code:"SP50",name:"Zaragoza"}]},{code:"LK",id:2340,name:"Sri Lanka",states:[]},{code:"SD",id:2341,name:"Sudan",states:[{code:"SU42",name:"Blue Nile"},{code:"SU61",name:"Central Darfur"},{code:"SU60",name:"East Darfur"},{code:"SU39",name:"Gedarif"},{code:"SU38",name:"Gezira"},{code:"SU52",name:"Kassala"},{code:"SU29",name:"Khartoum"},{code:"SU55",name:"North Darfur"},{code:"SU56",name:"North Kordofan"},{code:"SU43",name:"Northern"},{code:"SU36",name:"Red Sea"},{code:"SU53",name:"River Nile"},{code:"SU58",name:"Sennar"},{code:"SU49",name:"South Darfur"},{code:"SU50",name:"South Kordofan"},{code:"SU47",name:"West Darfur"},{code:"SU62",name:"West Kordofan"},{code:"SU41",name:"White Nile"}]},{code:"SR",id:2342,name:"Suriname",states:[{code:"NS10",name:"Brokopondo"},{code:"NS11",name:"Commewijne"},{code:"NS12",name:"Coronie"},{code:"NS13",name:"Marowijne"},{code:"NS14",name:"Nickerie"},{code:"NS16",name:"Paramaribo"},{code:"NS15",name:"Para"},{code:"NS17",name:"Saramacca"},{code:"NS18",name:"Sipaliwini"},{code:"NS19",name:"Wanica"}]},{code:"SJ",id:2437,name:"Svalbard And Jan Mayen",states:[]},{code:"SZ",id:2343,name:"Swaziland",states:[{code:"WZ01",name:"Hhohho"},{code:"WZ02",name:"Lubombo"},{code:"WZ03",name:"Manzini"},{code:"WZ04",name:"Shiselweni"}]},{code:"SE",id:2344,name:"Sweden",states:[{code:"SE-K",name:"Blekinge l\xe4n"},{code:"SE-W",name:"Dalarnas l\xe4n"},{code:"SE-X",name:"G\xe4vleborgs l\xe4n"},{code:"SE-I",name:"Gotlands l\xe4n"},{code:"SE-N",name:"Hallands l\xe4n"},{code:"SE-Z",name:"J\xe4mtlands l\xe4n"},{code:"SE-F",name:"J\xf6nk\xf6pings l\xe4n"},{code:"SE-H",name:"Kalmar l\xe4n"},{code:"SE-G",name:"Kronobergs l\xe4n"},{code:"SE-BD",name:"Norrbottens l\xe4n"},{code:"SE-M",name:"Sk\xe5ne l\xe4n"},{code:"SE-D",name:"S\xf6dermanlands l\xe4n"},{code:"SE-AB",name:"Stockholms l\xe4n"},{code:"SE-C",name:"Uppsala l\xe4n"},{code:"SE-S",name:"V\xe4rmlands l\xe4n"},{code:"SE-AC",name:"V\xe4sterbottens l\xe4n"},{code:"SE-Y",name:"V\xe4sternorrlands l\xe4n"},{code:"SE-U",name:"V\xe4stmanlands l\xe4n"},{code:"SE-O",name:"V\xe4stra G\xf6talands l\xe4n"},{code:"SE-T",name:"\xd6rebro l\xe4n"},{code:"SE-E",name:"\xd6sterg\xf6tlands l\xe4n"}]},{code:"CH",id:2345,name:"Switzerland",states:[{code:"AG",name:"Aargau"},{code:"AR",name:"Appenzell Ausserrhoden"},{code:"AI",name:"Appenzell Innerrhoden"},{code:"BL",name:"Basel-Landschaft"},{code:"BS",name:"Basel-Stadt"},{code:"BE",name:"Bern"},{code:"FR",name:"Fribourg"},{code:"GE",name:"Gen\xe8ve"},{code:"GL",name:"Glarus"},{code:"GR",name:"Graub\xfcnden"},{code:"JU",name:"Jura"},{code:"LU",name:"Luzern"},{code:"NE",name:"Neuch\xe2tel"},{code:"NW",name:"Nidwalden"},{code:"OW",name:"Obwalden"},{code:"SG",name:"Sankt Gallen"},{code:"SH",name:"Schaffhausen"},{code:"SZ",name:"Schwyz"},{code:"SO",name:"Solothurn"},{code:"TG",name:"Thurgau"},{code:"TI",name:"Ticino"},{code:"UR",name:"Uri"},{code:"VS",name:"Valais"},{code:"VD",name:"Vaud"},{code:"ZG",name:"Zug"},{code:"ZH",name:"Z\xfcrich"}]},{code:"SY",id:2381,name:"Syrian Arab Republic",states:[{code:"SY01",name:"Al Hasakah"},{code:"SY09",name:"Aleppo"},{code:"SY04",name:"Ar Raqqah"},{code:"SY05",name:"As Suwayda'"},{code:"SY13",name:"Damascus"},{code:"SY06",name:"Dar`a"},{code:"SY07",name:"Dayr az Zawr"},{code:"SY10",name:"Hama"},{code:"SY11",name:"Hims"},{code:"SY12",name:"Idlib"},{code:"SY02",name:"Latakia"},{code:"SY03",name:"Quneitra"},{code:"SY08",name:"Rif Dimashq"},{code:"SY14",name:"Tartus"}]},{code:"TW",id:2375,name:"Taiwan",states:[{code:"TW02",name:"Kaohsiung"},{code:"TW03",name:"Taipei"}]},{code:"TJ",id:2348,name:"Tajikistan",states:[{code:"TI01",name:"Badakhshoni Kuni"},{code:"TI04",name:"Dushanbe"},{code:"TI02",name:"Khatlon"},{code:"TI05",name:"Regions of Republican Subordination"},{code:"TI03",name:"Sogd"}]},{code:"TZ",id:2349,name:"Tanzania",states:[{code:"TZ26",name:"Arusha"},{code:"TZ23",name:"Dar es Salaam"},{code:"TZ03",name:"Dodoma"},{code:"TZ28",name:"Geita"},{code:"TZ04",name:"Iringa"},{code:"TZ19",name:"Kagera"},{code:"TZ29",name:"Katavi"},{code:"TZ05",name:"Kigoma"},{code:"TZ06",name:"Kilimanjaro"},{code:"TZ07",name:"Lindi"},{code:"TZ27",name:"Manyara"},{code:"TZ08",name:"Mara"},{code:"TZ09",name:"Mbeya"},{code:"TZ10",name:"Morogoro"},{code:"TZ11",name:"Mtwara"},{code:"TZ12",name:"Mwanza"},{code:"TZ30",name:"Njombe"},{code:"TZ13",name:"Pemba North"},{code:"TZ20",name:"Pemba South"},{code:"TZ02",name:"Pwani"},{code:"TZ24",name:"Rukwa"},{code:"TZ14",name:"Ruvuma"},{code:"TZ15",name:"Shinyanga"},{code:"TZ31",name:"Simiyu"},{code:"TZ16",name:"Singida"},{code:"TZ17",name:"Tabora"},{code:"TZ18",name:"Tanga"},{code:"TZ22",name:"Zanzibar North"},{code:"TZ21",name:"Zanzibar South and Central"},{code:"TZ25",name:"Zanzibar West"}]},{code:"TH",id:2350,name:"Thailand",states:[{code:"TH77",name:"Amnat Charoen"},{code:"TH35",name:"Ang Thong"},{code:"TH40",name:"Bangkok Metropolis"},{code:"TH81",name:"Bueng Kan"},{code:"TH28",name:"Buri Ram"},{code:"TH44",name:"Chachoengsao"},{code:"TH32",name:"Chai Nat"},{code:"TH26",name:"Chaiyaphum"},{code:"TH48",name:"Chanthaburi"},{code:"TH02",name:"Chiang Mai"},{code:"TH03",name:"Chiang Rai"},{code:"TH46",name:"Chon Buri"},{code:"TH58",name:"Chumphon"},{code:"TH23",name:"Kalasin"},{code:"TH11",name:"Kamphaeng Phet"},{code:"TH50",name:"Kanchanaburi"},{code:"TH22",name:"Khon Kaen"},{code:"TH63",name:"Krabi"},{code:"TH06",name:"Lampang"},{code:"TH05",name:"Lamphun"},{code:"TH18",name:"Loei"},{code:"TH34",name:"Lop Buri"},{code:"TH01",name:"Mae Hong Son"},{code:"TH24",name:"Maha Sarakham"},{code:"TH78",name:"Mukdahan"},{code:"TH43",name:"Nakhon Nayok"},{code:"TH53",name:"Nakhon Pathom"},{code:"TH73",name:"Nakhon Phanom"},{code:"TH27",name:"Nakhon Ratchasima"},{code:"TH16",name:"Nakhon Sawan"},{code:"TH64",name:"Nakhon Si Thammarat"},{code:"TH04",name:"Nan"},{code:"TH31",name:"Narathiwat"},{code:"TH79",name:"Nong Bua Lam Phu"},{code:"TH17",name:"Nong Khai"},{code:"TH38",name:"Nonthaburi"},{code:"TH39",name:"Pathum Thani"},{code:"TH69",name:"Pattani"},{code:"TH61",name:"Phangnga"},{code:"TH66",name:"Phatthalung"},{code:"TH41",name:"Phayao"},{code:"TH14",name:"Phetchabun"},{code:"TH56",name:"Phetchaburi"},{code:"TH13",name:"Phichit"},{code:"TH12",name:"Phitsanulok"},{code:"TH36",name:"Phra Nakhon Si Ayutthaya"},{code:"TH07",name:"Phrae"},{code:"TH62",name:"Phuket"},{code:"TH74",name:"Prachin Buri"},{code:"TH57",name:"Prachuap Khiri Khan"},{code:"TH59",name:"Ranong"},{code:"TH52",name:"Ratchaburi"},{code:"TH47",name:"Rayong"},{code:"TH25",name:"Roi Et"},{code:"TH80",name:"Sa Kaeo"},{code:"TH20",name:"Sakon Nakhon"},{code:"TH42",name:"Samut Prakan"},{code:"TH55",name:"Samut Sakhon"},{code:"TH54",name:"Samut Songkhram"},{code:"TH37",name:"Saraburi"},{code:"TH67",name:"Satun"},{code:"TH30",name:"Si Sa Ket"},{code:"TH33",name:"Sing Buri"},{code:"TH68",name:"Songkhla"},{code:"TH09",name:"Sukhothai"},{code:"TH51",name:"Suphan Buri"},{code:"TH60",name:"Surat Thani"},{code:"TH29",name:"Surin"},{code:"TH08",name:"Tak"},{code:"TH65",name:"Trang"},{code:"TH49",name:"Trat"},{code:"TH75",name:"Ubon Ratchathani"},{code:"TH76",name:"Udon Thani"},{code:"TH15",name:"Uthai Thani"},{code:"TH10",name:"Uttaradit"},{code:"TH70",name:"Yala"},{code:"TH72",name:"Yasothon"}]},{code:"TL",id:2404,name:"Timor-Leste",states:[]},{code:"TG",id:2351,name:"Togo",states:[{code:"TO22",name:"Centrale"},{code:"TO23",name:"Kara"},{code:"TO24",name:"Maritime"},{code:"TO25",name:"Plateaux"},{code:"TO26",name:"Savanes"}]},{code:"TK",id:2438,name:"Tokelau",states:[]},{code:"TO",id:2405,name:"Tonga",states:[]},{code:"TT",id:2352,name:"Trinidad and Tobago",states:[{code:"TD01",name:"Arima"},{code:"TD13",name:"Chaguanas"},{code:"TD14",name:"Couva/Tabaquite/Talparo"},{code:"TD15",name:"Diego Martin"},{code:"TD11",name:"Eastern Tobago"},{code:"TD16",name:"Mayaro/Rio Claro"},{code:"TD17",name:"Penal/Debe"},{code:"TD18",name:"Point Fortin"},{code:"TD05",name:"Port of Spain"},{code:"TD19",name:"Princes Town"},{code:"TD10",name:"San Fernando"},{code:"TD20",name:"San Juan/Laventille"},{code:"TD21",name:"Sangre Grande"},{code:"TD22",name:"Siparia"},{code:"TD23",name:"Tunapuna/Piarco"},{code:"TD11",name:"Western Tobago"}]},{code:"TN",id:2353,name:"Tunisia",states:[{code:"TS38",name:"Ariana"},{code:"TS17",name:"B\xe9ja"},{code:"TS27",name:"Ben Arous"},{code:"TS18",name:"Bizerte"},{code:"TS29",name:"Gab\xe8s"},{code:"TS30",name:"Gafsa"},{code:"TS06",name:"Jendouba"},{code:"TS03",name:"Kairouan"},{code:"TS02",name:"Kass\xe9rine"},{code:"TS31",name:"Kebili"},{code:"TS14",name:"Le Kef"},{code:"TS15",name:"Mahdia"},{code:"TS39",name:"Manouba"},{code:"TS28",name:"M\xe9denine"},{code:"TS16",name:"Monastir"},{code:"TS19",name:"Nabeul"},{code:"TS32",name:"Sfax"},{code:"TS33",name:"Sidi Bou Zid"},{code:"TS22",name:"Siliana"},{code:"TS23",name:"Sousse"},{code:"TS34",name:"Tataouine"},{code:"TS35",name:"Tozeur"},{code:"TS36",name:"Tunis"},{code:"TS37",name:"Zaghouan"}]},{code:"TR",id:2354,name:"Turkey",states:[{code:"TU81",name:"Adana"},{code:"TU02",name:"Adiyaman"},{code:"TU03",name:"Afyonkarahisar"},{code:"TU04",name:"Agri"},{code:"TU75",name:"Aksaray"},{code:"TU05",name:"Amasya"},{code:"TU68",name:"Ankara"},{code:"TU07",name:"Antalya"},{code:"TU86",name:"Ardahan"},{code:"TU08",name:"Artvin"},{code:"TU09",name:"Aydin"},{code:"TU10",name:"Balikesir"},{code:"TU87",name:"Bartin"},{code:"TU76",name:"Batman"},{code:"TU77",name:"Bayburt"},{code:"TU11",name:"Bilecik"},{code:"TU12",name:"Bing\xf6l"},{code:"TU13",name:"Bitlis"},{code:"TU14",name:"Bolu"},{code:"TU15",name:"Burdur"},{code:"TU16",name:"Bursa"},{code:"TU17",name:"\xc7anakkale"},{code:"TU82",name:"\xc7ankiri"},{code:"TU19",name:"\xc7orum"},{code:"TU20",name:"Denizli"},{code:"TU21",name:"Diyarbakir"},{code:"TU93",name:"D\xfczce"},{code:"TU22",name:"Edirne"},{code:"TU23",name:"Elazig"},{code:"TU24",name:"Erzincan"},{code:"TU25",name:"Erzurum"},{code:"TU26",name:"Eskisehir"},{code:"TU83",name:"Gaziantep"},{code:"TU28",name:"Giresun"},{code:"TU69",name:"G\xfcm\xfcshane"},{code:"TU70",name:"Hakkari"},{code:"TU31",name:"Hatay"},{code:"TU88",name:"Igdir"},{code:"TU33",name:"Isparta"},{code:"TU34",name:"Istanbul"},{code:"TU35",name:"Izmir"},{code:"TU46",name:"Kahramanmaras"},{code:"TU89",name:"Karab\xfck"},{code:"TU78",name:"Karaman"},{code:"TU84",name:"Kars"},{code:"TU37",name:"Kastamonu"},{code:"TU38",name:"Kayseri"},{code:"TU90",name:"Kilis"},{code:"TU79",name:"Kirikkale"},{code:"TU39",name:"Kirklareli"},{code:"TU40",name:"Kirsehir"},{code:"TU41",name:"Kocaeli"},{code:"TU71",name:"Konya"},{code:"TU43",name:"K\xfctahya"},{code:"TU44",name:"Malatya"},{code:"TU45",name:"Manisa"},{code:"TU72",name:"Mardin"},{code:"TU32",name:"Mersin"},{code:"TU48",name:"Mugla"},{code:"TU49",name:"Mus"},{code:"TU50",name:"Nevsehir"},{code:"TU73",name:"Nigde"},{code:"TU52",name:"Ordu"},{code:"TU91",name:"Osmaniye"},{code:"TU53",name:"Rize"},{code:"TU54",name:"Sakarya"},{code:"TU55",name:"Samsun"},{code:"TU63",name:"Sanliurfa"},{code:"TU74",name:"Siirt"},{code:"TU57",name:"Sinop"},{code:"TU80",name:"Sirnak"},{code:"TU58",name:"Sivas"},{code:"TU59",name:"Tekirdag"},{code:"TU60",name:"Tokat"},{code:"TU61",name:"Trabzon"},{code:"TU62",name:"Tunceli"},{code:"TU64",name:"Usak"},{code:"TU65",name:"Van"},{code:"TU92",name:"Yalova"},{code:"TU66",name:"Yozgat"},{code:"TU85",name:"Zonguldak"}]},{code:"TM",id:2355,name:"Turkmenistan",states:[{code:"TX01",name:"Ahal"},{code:"TM.AB",name:"Ashgabat"},{code:"TX02",name:"Balkan"},{code:"TX03",name:"Dashoguz"},{code:"TX04",name:"Lebap"},{code:"TX05",name:"Mary"}]},{code:"TC",id:2439,name:"Turks and Caicos Islands",states:[]},{code:"TV",id:2440,name:"Tuvalu",states:[]},{code:"UG",id:2356,name:"Uganda",states:[{code:"UG.AI",name:"Abim"},{code:"UG.AD",name:"Adjumani"},{code:"UG.AG",name:"Agago"},{code:"UG.AL",name:"Alebtong"},{code:"UG.AT",name:"Amolatar"},{code:"UG.AZ",name:"Amudat"},{code:"UG.AM",name:"Amuria"},{code:"UG.AY",name:"Amuru"},{code:"UG.AQ",name:"Apac"},{code:"UG.AX",name:"Arua"},{code:"UG.BD",name:"Budaka"},{code:"UG.BA",name:"Bududa"},{code:"UG.BI",name:"Bugiri"},{code:"UG.BH",name:"Buhweju"},{code:"UG.BZ",name:"Buikwe"},{code:"UG.BE",name:"Bukedea"},{code:"UG.BM",name:"Bukomansimbi"},{code:"UG.BW",name:"Bukwo"},{code:"UG.BB",name:"Bulambuli"},{code:"UG.BL",name:"Buliisa"},{code:"UG.BX",name:"Bundibugyo"},{code:"UG.BC",name:"Bushenyi"},{code:"UG.BU",name:"Busia"},{code:"UG.BJ",name:"Butaleja"},{code:"UG.BT",name:"Butambala"},{code:"UG.BV",name:"Buvuma"},{code:"UG.BY",name:"Buyende"},{code:"UG.DO",name:"Dokolo"},{code:"UG.GM",name:"Gomba"},{code:"UG.GL",name:"Gulu"},{code:"UG.HO",name:"Hoima"},{code:"UG.IB",name:"Ibanda"},{code:"UG.IC",name:"Iganga"},{code:"UG.NG",name:"Isingiro"},{code:"UG.JI",name:"Jinja"},{code:"UG.AB",name:"Kaabong"},{code:"UG.KA",name:"Kabale"},{code:"UG.BR",name:"Kabarole"},{code:"UG.KD",name:"Kaberamaido"},{code:"UG.KN",name:"Kalangala"},{code:"UG.RO",name:"Kaliro"},{code:"UG.QA",name:"Kalungu"},{code:"UG.KM",name:"Kampala"},{code:"UG.QU",name:"Kamuli"},{code:"UG.KE",name:"Kamwenge"},{code:"UG.UU",name:"Kanungu"},{code:"UG.QP",name:"Kapchorwa"},{code:"UG.KS",name:"Kasese"},{code:"UG.KK",name:"Katakwi"},{code:"UG.KY",name:"Kayunga"},{code:"UG.KI",name:"Kibaale"},{code:"UG.QO",name:"Kiboga"},{code:"UG.QB",name:"Kibuku"},{code:"UG.KH",name:"Kiruhuura"},{code:"UG.QD",name:"Kiryandongo"},{code:"UG.KR",name:"Kisoro"},{code:"UG.QT",name:"Kitgum"},{code:"UG.OK",name:"Koboko"},{code:"UG.QL",name:"Kole"},{code:"UG.KF",name:"Kotido"},{code:"UG.QM",name:"Kumi"},{code:"UG.QW",name:"Kween"},{code:"UG.QZ",name:"Kyankwanzi"},{code:"UG.QG",name:"Kyegegwa"},{code:"UG.QJ",name:"Kyenjojo"},{code:"UG.LM",name:"Lamwo"},{code:"UG.LL",name:"Lira"},{code:"UG.LK",name:"Luuka"},{code:"UG.LW",name:"Luwero"},{code:"UG.LE",name:"Lwengo"},{code:"UG.LY",name:"Lyantonde"},{code:"UG.MW",name:"Manafwa"},{code:"UG.MQ",name:"Masaka"},{code:"UG.MZ",name:"Masindi"},{code:"UG.MG",name:"Mayuge"},{code:"UG.ME",name:"Mbale"},{code:"UG.RR",name:"Mbarara"},{code:"UG.MM",name:"Mitoma"},{code:"UG.TY",name:"Mityana"},{code:"UG.MX",name:"Moroto"},{code:"UG.MY",name:"Moyo"},{code:"UG.MJ",name:"Mpigi"},{code:"UG.MD",name:"Mubende"},{code:"UG.MV",name:"Mukono"},{code:"UG.NI",name:"Nakapiripirit"},{code:"UG.NK",name:"Nakaseke"},{code:"UG.NA",name:"Nakasongola"},{code:"UG.NY",name:"Namayingo"},{code:"UG.BK",name:"Namutumba"},{code:"UG.NQ",name:"Napak"},{code:"UG.NB",name:"Nebbi"},{code:"UG.NR",name:"Ngora"},{code:"UG.NO",name:"Ntoroko"},{code:"UG.NT",name:"Ntungamo"},{code:"UG.NW",name:"Nwoya"},{code:"UG.MH",name:"Nyadri"},{code:"UG.OT",name:"Otuke"},{code:"UG.OY",name:"Oyam"},{code:"UG.PR",name:"Pader"},{code:"UG.PS",name:"Pallisa"},{code:"UG.RI",name:"Rakai"},{code:"UG.RZ",name:"Rubirizi"},{code:"UG.RK",name:"Rukungiri"},{code:"UG.SE",name:"Sembabule"},{code:"UG.SX",name:"Serere"},{code:"UG.SH",name:"Sheema"},{code:"UG.SK",name:"Sironko"},{code:"UG.ST",name:"Soroti"},{code:"UG.TR",name:"Tororo"},{code:"UG.WA",name:"Wakiso"},{code:"UG.YU",name:"Yumbe"},{code:"UG.ZO",name:"Zombo"}]},{code:"UA",id:2357,name:"Ukraine",states:[{code:"UP01",name:"Cherkasy"},{code:"UP02",name:"Chernihiv"},{code:"UP03",name:"Chernivtsi"},{code:"UP11",name:"Crimea"},{code:"UP04",name:"Dnipropetrovs'k"},{code:"UP05",name:"Donets'k"},{code:"UP06",name:"Ivano-Frankivs'k"},{code:"UP07",name:"Kharkiv"},{code:"UP08",name:"Kherson"},{code:"UP09",name:"Khmel'nyts'kyy"},{code:"UP13",name:"Kiev"},{code:"UP12",name:"Kiev City"},{code:"UP10",name:"Kirovohrad"},{code:"UP15",name:"L'viv"},{code:"UP14",name:"Luhans'k"},{code:"UP16",name:"Mykolayiv"},{code:"UP17",name:"Odessa"},{code:"UP18",name:"Poltava"},{code:"UP19",name:"Rivne"},{code:"UP20",name:"Sevastopol' City"},{code:"UP21",name:"Sumy"},{code:"UP22",name:"Ternopil'"},{code:"UP25",name:"Transcarpathia"},{code:"UP23",name:"Vinnytsya"},{code:"UP24",name:"Volyn"},{code:"UP26",name:"Zaporizhzhya"},{code:"UP27",name:"Zhytomyr"}]},{code:"AE",id:2358,name:"United Arab Emirates",states:[{code:"AE02",name:"'Ajman"},{code:"AE01",name:"Abu Dhabi"},{code:"AE04",name:"Al Fujayrah"},{code:"AE03",name:"Dubai"},{code:"AE05",name:"Ra's al Khaymah"},{code:"AE06",name:"Sharjah"},{code:"AE07",name:"Umm al Qaywayn"}]},{code:"UM",id:2441,name:"United States Minor Outlying Islands",states:[]},{code:"UY",id:2360,name:"Uruguay",states:[]},{code:"UZ",id:2361,name:"Uzbekistan",states:[{code:"UZ01",name:"Andijon"},{code:"UZ02",name:"Buxoro"},{code:"UZ03",name:"Farg`ona"},{code:"UZ15",name:"Jizzax"},{code:"UZ09",name:"Karakalpakstan"},{code:"UZ08",name:"Kashkadarya"},{code:"UZ06",name:"Namangan"},{code:"UZ07",name:"Navoi"},{code:"UZ10",name:"Samarkand"},{code:"UZ16",name:"Sirdaryo"},{code:"UZ12",name:"Surxondaryo"},{code:"UZ13",name:"Tashkent City"},{code:"UZ14",name:"Tashkent"},{code:"UZ05",name:"Xorazm"}]},{code:"NH",id:2406,name:"Vanuatu",states:[]},{code:"VE",id:2363,name:"Venezuela; Bolivarian Republic of",states:[{code:"VE01",name:"Amazonas"},{code:"VE02",name:"Anzo\xe1tegui"},{code:"VE03",name:"Apure"},{code:"VE04",name:"Aragua"},{code:"VE05",name:"Barinas"},{code:"VE06",name:"Bol\xedvar"},{code:"VE07",name:"Carabobo"},{code:"VE08",name:"Cojedes"},{code:"VE09",name:"Delta Amacuro"},{code:"VE24",name:"Dependencias Federales"},{code:"VE25",name:"Distrito Capital"},{code:"VE11",name:"Falc\xf3n"},{code:"VE12",name:"Gu\xe1rico"},{code:"VE13",name:"Lara"},{code:"VE14",name:"M\xe9rida"},{code:"VE15",name:"Miranda"},{code:"VE16",name:"Monagas"},{code:"VE17",name:"Nueva Esparta"},{code:"VE18",name:"Portuguesa"},{code:"VE19",name:"Sucre"},{code:"VE20",name:"T\xe1chira"},{code:"VE21",name:"Trujillo"},{code:"VE26",name:"Vargas"},{code:"VE22",name:"Yaracuy"},{code:"VE23",name:"Zulia"}]},{code:"VN",id:2364,name:"Vietnam",states:[{code:"VM01",name:"An Giang"},{code:"VM45",name:"Ba Ria-Vung Tau"},{code:"VM72",name:"Bac Can"},{code:"VM71",name:"Bac Giang"},{code:"VM73",name:"Bac Lieu"},{code:"VM74",name:"Bac Ninh"},{code:"VM03",name:"Ben Tre"},{code:"VM46",name:"Binh Dinh"},{code:"VM75",name:"Binh Duong"},{code:"VM76",name:"Binh Phuoc"},{code:"VM47",name:"Binh Thuan"},{code:"VM77",name:"Ca Mau"},{code:"VM87",name:"Can Tho"},{code:"VM05",name:"Cao Bang"},{code:"VM78",name:"Da Nang"},{code:"VM88",name:"Dac Lac"},{code:"VM91",name:"Dac Nong"},{code:"VM92",name:"Dien Bien"},{code:"VM43",name:"Dong Nai"},{code:"VM09",name:"Dong Thap"},{code:"VM49",name:"Gia Lai"},{code:"VM50",name:"Ha Giang"},{code:"VM80",name:"Ha Nam"},{code:"VM52",name:"Ha Tinh"},{code:"VM79",name:"Hai Duong"},{code:"VM13",name:"Haiphong"},{code:"VM44",name:"Hanoi"},{code:"VM93",name:"Hau Giang"},{code:"VM20",name:"Ho Chi Minh"},{code:"VM53",name:"Hoa Binh"},{code:"VM81",name:"Hung Yen"},{code:"VM54",name:"Khanh Hoa"},{code:"VM21",name:"Kien Giang"},{code:"VM55",name:"Kon Tum"},{code:"VM89",name:"Lai Chau"},{code:"VM23",name:"Lam Dong"},{code:"VM39",name:"Lang Son"},{code:"VM90",name:"Lao Cai"},{code:"VM24",name:"Long An"},{code:"VM82",name:"Nam Dinh"},{code:"VM58",name:"Nghe An"},{code:"VM59",name:"Ninh Binh"},{code:"VM60",name:"Ninh Thuan"},{code:"VM83",name:"Phu Tho"},{code:"VM61",name:"Phu Yen"},{code:"VM62",name:"Quang Binh"},{code:"VM84",name:"Quang Nam"},{code:"VM63",name:"Quang Ngai"},{code:"VM30",name:"Quang Ninh"},{code:"VM64",name:"Quang Tri"},{code:"VM65",name:"Soc Trang"},{code:"VM32",name:"Son La"},{code:"VM33",name:"Tay Ninh"},{code:"VM35",name:"Thai Binh"},{code:"VM85",name:"Thai Nguyen"},{code:"VM34",name:"Thanh Hoa"},{code:"VM66",name:"Thua Thien-Hue"},{code:"VM37",name:"Tien Giang"},{code:"VM67",name:"Tra Vinh"},{code:"VM68",name:"Tuyen Quang"},{code:"VM69",name:"Vinh Long"},{code:"VM86",name:"Vinh Phuc"},{code:"VM70",name:"Yen Bai"}]},{code:"VG",id:2446,name:"Virgin Islands; British",states:[{code:"VG.VI",name:"British Virgin Islands"}]},{code:"VI",id:2442,name:"Virgin Islands; U.S.",states:[{code:"010",name:"Saint Croix"},{code:"020",name:"Saint John"},{code:"030",name:"Saint Thomas"}]},{code:"WF",id:2443,name:"Wallis and Futuna",states:[]},{code:"EH",id:2444,name:"Western Sahara",states:[]},{code:"YE",id:2382,name:"Yemen",states:[{code:"YM01",name:"Abyan"},{code:"YM20",name:"Al Bayda'"},{code:"YM18",name:"Al Dali'"},{code:"YM08",name:"Al Hudaydah"},{code:"YM21",name:"Al Jawf"},{code:"YM03",name:"Al Mahrah"},{code:"YM10",name:"Al Mahwit"},{code:"YM19",name:"Amran"},{code:"YM11",name:"Dhamar"},{code:"YM04",name:"Hadramawt"},{code:"YM22",name:"Hajjah"},{code:"YM23",name:"Ibb"},{code:"YM24",name:"Lahij"},{code:"YM14",name:"Ma'rib"},{code:"YM27",name:"Raymah"},{code:"YM15",name:"Sa`dah"},{code:"YM16",name:"San`a'"},{code:"YM26",name:"San`a' [City]"},{code:"YM05",name:"Shabwah"},{code:"YM28",name:"Socotra"},{code:"YM25",name:"Ta`izz"},{code:"YM02",name:"`Adan"}]},{code:"ZM",id:2369,name:"Zambia",states:[{code:"ZA02",name:"Central"},{code:"ZA08",name:"Copperbelt"},{code:"ZA03",name:"Eastern"},{code:"ZA04",name:"Luapula"},{code:"ZA09",name:"Lusaka"},{code:"ZA10",name:"Muchinga"},{code:"ZA06",name:"North-Western"},{code:"ZA05",name:"Northern"},{code:"ZA07",name:"Southern"},{code:"ZA01",name:"Western"}]},{code:"ZW",id:2370,name:"Zimbabwe",states:[{code:"ZI09",name:"Bulawayo"},{code:"ZI10",name:"Harare"},{code:"ZI01",name:"Manicaland"},{code:"ZI03",name:"Mashonaland Central"},{code:"ZI04",name:"Mashonaland East"},{code:"ZI05",name:"Mashonaland West"},{code:"ZI08",name:"Masvingo"},{code:"ZI06",name:"Matabeleland North"},{code:"ZI07",name:"Matabeleland South"},{code:"ZI02",name:"Midlands"}]},{code:"NONE",id:2378,name:"- None Specified -",states:[]}];function Nf(e){return Mf.find((function(t){return t.id===e}))}var jf,Ff,Lf,Vf,Bf,Uf,Hf,Gf,qf,Kf,zf,Yf,Wf,Zf,Jf,Qf,Xf,$f,em,tm,nm,rm,im,om,am,sm,cm,lm,um,dm,hm,fm,mm,pm,vm,gm,ym,bm,km,Cm,wm,Sm,_m,Em,Im,xm,Om,Tm,Am,Pm,Dm,Rm,Mm,Nm,jm,Fm,Lm,Vm,Bm,Um,Hm,Gm,qm,Km,zm,Ym,Wm,Zm,Jm,Qm,Xm,$m,ep,tp,np,rp,ip,op={provide:La.NG_VALUE_ACCESSOR,useExisting:Object(c.forwardRef)((function(){return ap})),multi:!0},ap=((jf=function(){function e(t){v(this,e),this.labels=t,this._readOnly=!1,this.states=[],this.fieldList=["address1","address2","city","state","zip","countryID"],this.onModelChange=function(){},this.onModelTouched=function(){},this.focused={},this.invalid={},this.disabled={},this.invalidMaxlength={},this.valid={},this.tooltip={},this.initComplete=!1,this.change=new c.EventEmitter,this.focus=new c.EventEmitter,this.blur=new c.EventEmitter,this.validityChange=new c.EventEmitter}return y(e,[{key:"readOnly",get:function(){return this._readOnly},set:function(e){var t=this;this._readOnly=e,this.fieldList.forEach((function(e){t.disabled[e]=t._readOnly})),this.model&&this.updateStates()}},{key:"ngOnInit",value:function(){this.config||(this.config={}),this.model?(this.writeValue(this.model),this.updateControl()):this.model||(this.model={}),this.initConfig(),mh.isBlank(this.model.countryID)&&this.updateStates()}},{key:"initConfig",value:function(){var e=this;this.fieldList.forEach((function(t){e.config.hasOwnProperty(t)||(e.config[t]={hidden:!0}),e.config[t].hasOwnProperty("label")||(e.config[t].label=e.labels[t]),e.config.required&&(e.config[t].required=!0),(e.config[t].readOnly||e.config.readOnly)&&(e.config[t].readOnly=!0,e.disabled[t]=!0),"countryID"===t&&(e.config[t].pickerConfig||(e.config.countryID.pickerConfig=e.getDefaultCountryConfig()),e.config[t].pickerConfig.defaultOptions=e.config.countryID.pickerConfig.options),"state"===t&&(e.config[t].pickerConfig||(e.config.state.pickerConfig=e.getDefaultStateConfig(),e.config[t].pickerConfig.defaultOptions=e.config[t].pickerConfig.options),e.stateOptions=e.config[t].pickerConfig.options,e.config[t].pickerConfig.options=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.stateOptions(t,e.model.countryID)},e.config[t].pickerConfig.defaultOptions=e.stateOptions)}))}},{key:"isValid",value:function(e){var t=!0;(!this.config[e].required||!mh.isBlank(this.model[e])&&!mh.isEmpty(this.model[e]))&&this.config[e].required||"countryID"===e&&this.config[e].required&&!mh.isBlank(this.model.countryID)||"state"===e&&this.config[e].required&&(!mh.isEmpty(this.model.state)||(mh.isBlank(this.model.state)||mh.isEmpty(this.model.state))&&!mh.isBlank(this.model.countryName)&&this.config.state.pickerConfig&&this.config.state.pickerConfig.defaultOptions&&0===this.config.state.pickerConfig.defaultOptions.length)?!mh.isEmpty(this.model[e])&&!mh.isBlank(this.config[e].maxlength)&&this.config[e].maxlength<this.model[e].length&&(t=!1):t=!1,this.valid[e]=t}},{key:"isInvalid",value:function(e){var t=!1,n=!1;"countryID"!==e&&"state"!==e&&this.config[e].required&&mh.isEmpty(this.model[e])&&!mh.isBlank(this.model[e])||"countryID"===e&&this.config[e].required&&mh.isBlank(this.model.countryName)&&this.config[e].updated||"state"===e&&this.config[e].required&&(mh.isBlank(this.model.state)||mh.isEmpty(this.model.state))&&!mh.isBlank(this.model.countryID)&&this.config[e].updated&&this.config.state.pickerConfig&&this.config.state.pickerConfig.defaultOptions&&this.config.state.pickerConfig.defaultOptions.length>0?t=!0:!mh.isEmpty(this.model[e])&&!mh.isBlank(this.config[e].maxlength)&&this.config[e].maxlength<this.model[e].length&&(t=!0,n=!0),this.invalid[e]=t,this.invalidMaxlength[e]=n}},{key:"onInput",value:function(e,t){this.isInvalid(t),this.isValid(t),e&&this.change.emit({value:this.model[t],field:t})}},{key:"isFocused",value:function(e,t){this.focused[t]=!0,this.focus.emit({event:e,field:t})}},{key:"isBlurred",value:function(e,t){this.focused[t]=!1,this.blur.emit({event:e,field:t})}},{key:"onCountryChange",value:function(e){var t,n=e&&e.rawValue?e.rawValue:null,r=!1;this.config.countryID.updated=!0,this.config.countryID.pickerConfig&&(t=this.config.countryID.pickerConfig.field),n&&t&&!mh.isBlank(n[t])&&this.model.countryID!==n[t]?(this.model.countryID=n[t],this.model.countryName=mh.interpolate(this.config.countryID.pickerConfig.format,n),this.disabled.state=!1,this.tooltip.state=void 0,r=!0):(mh.isBlank(n)||mh.isBlank(n[t]))&&(this.model.countryID=void 0,this.model.countryName=void 0,this.disabled.state=!0,this.tooltip.state=this.labels.selectCountryFirst,this.invalid.state=!1,r=!0),r&&(this.model.state=void 0,this.updateStates()),this.updateControl(),this.onInput(null,"countryID"),this.onInput(null,"state")}},{key:"onStateChange",value:function(e){var t=e&&e.value?e.value:null;this.config.state.updated=!0,this.model.state=t,this.updateControl(),this.onInput(null,"state")}},{key:"setStateLabel",value:function(e){var t=e.state;mh.isBlank(t)?(this.model.state=void 0,this.config.state.required&&(this.valid.state=!1)):(this.config.state.required&&(this.valid.state=!0),this.model.state=t)}},{key:"updateStates",value:function(){var e=this;this.config.state.pickerConfig.options&&!mh.isBlank(this.model.countryID)?(this.config.state.pickerConfig.options=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.stateOptions(t,e.model.countryID)},this.stateOptions("",this.model.countryID).then((function(t){e.config.state.pickerConfig.defaultOptions=t,t.length?(e.tooltip.state=void 0,e.disabled.state=e._readOnly,e.setStateLabel(e.model)):(e.disabled.state=!0,e.tooltip.state=e.labels.noStatesForCountry,e.config.state.required&&(e.valid.state=!0)),e.validityChange.emit(),e.onInput(null,"state")}))):(this.config.state.pickerConfig.defaultOptions=[],this.disabled.state=!0,this.tooltip.state=this.labels.selectCountryFirst,this.config.state.required&&(this.valid.state=!1))}},{key:"getStateOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if(t){var n=function(e){if(e){var t=Mf.find((function(t){return t.name===e.trim()}));return t&&t.states||[]}return[]}(Nf(t).name).map((function(e){return e.name}));return e?n.filter((function(t){return new RegExp(""+e,"gi").test(t)})):n}return[]}},{key:"updateControl",value:function(){this.onModelChange(this.model),this.onInput(null,"countryID"),this.onInput(null,"state")}},{key:"writeValue",value:function(e){var t=this,n=!1;if(e){var r;if(e.countryName&&e.countryID)r=e.countryName;else if(e.countryID&&this.config.countryID.pickerConfig&&this.config.countryID.pickerConfig.getLabels&&mh.isFunction(this.config.countryID.pickerConfig.getLabels)){var i=this.config.countryID.pickerConfig.getLabels(e.countryID);n=!0,i.then&&i.then((function(i){n=!1,r=mh.interpolateWithFallback(t.config.countryID.pickerConfig.format,i),t.model=Object.assign(e,{countryName:r}),t.updateStates()}))}r?(r=r.trim(),e.state=e.state||"",this.model=Object.assign(e,{countryName:r})):this.model=e,n||mh.isBlank(this.model.countryID)||this.updateStates()}this.fieldList.forEach((function(e){t.onInput(null,e)}))}},{key:"registerOnChange",value:function(e){this.onModelChange=e}},{key:"registerOnTouched",value:function(e){this.onModelTouched=e}},{key:"getDefaultStateConfig",value:function(){var e=this;return{field:"value",format:"$label",options:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0;return Promise.resolve(e.getStateOptions(t,n))},getLabels:function(e){return Promise.resolve(e)}}}},{key:"getDefaultCountryConfig",value:function(){return{field:"value",format:"$label",options:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return new Promise((function(t){var n=Mf;return e&&(n=n.filter((function(t){return new RegExp(""+e,"gi").test(t.name)}))),t(n.map((function(e){return{value:e.id,label:e.name}})))}))},getLabels:function(e){return new Promise((function(t){var n=Nf(e);t(n?{value:n.id,label:n.name}:"")}))}}}}]),e}()).\u0275fac=function(e){return new(e||jf)(c["\u0275\u0275directiveInject"](bh))},jf.\u0275cmp=c["\u0275\u0275defineComponent"]({type:jf,selectors:[["novo-address"]],inputs:{readOnly:"readOnly",config:"config"},outputs:{change:"change",focus:"focus",blur:"blur",validityChange:"validityChange"},features:[c["\u0275\u0275ProvidersFeature"]([op])],decls:6,vars:6,consts:[["class","street-address",3,"invalid","focus","disabled",4,"ngIf"],["class","apt suite",3,"invalid","focus","disabled",4,"ngIf"],["class","city locality",3,"invalid","focus","disabled",4,"ngIf"],["class","state region",3,"invalid","focus","disabled","tooltip",4,"ngIf"],["class","zip postal-code",3,"invalid","focus","disabled",4,"ngIf"],["class","country-name",3,"invalid","focus","disabled",4,"ngIf"],[1,"street-address"],["class","required-indicator address1",3,"ngClass",4,"ngIf"],["type","text","id","address1","name","address1","autocomplete","shipping street-address address-line-1",3,"placeholder","maxlength","ngModel","ngModelChange","focus","blur","input"],[1,"required-indicator","address1",3,"ngClass"],[1,"apt","suite"],["class","required-indicator address2",3,"ngClass",4,"ngIf"],["type","text","id","address2","name","address2","autocomplete","shipping address-line-2",3,"placeholder","maxlength","ngModel","ngModelChange","focus","blur","input"],[1,"required-indicator","address2",3,"ngClass"],[1,"city","locality"],["class","required-indicator",3,"ngClass",4,"ngIf"],["type","text","id","city","name","city","autocomplete","shipping city locality",3,"placeholder","maxlength","ngModel","ngModelChange","focus","blur","input"],[1,"required-indicator",3,"ngClass"],[1,"state","region",3,"tooltip"],["autocomplete","shipping region",3,"config","placeholder","ngModel","disablePickerInput","changed","ngModelChange"],[1,"zip","postal-code"],["type","text","id","zip","name","zip","autocomplete","shipping postal-code",3,"placeholder","maxlength","ngModel","ngModelChange","focus","blur","input"],[1,"country-name"],["autocomplete","shipping country",3,"config","placeholder","ngModel","disablePickerInput","changed","ngModelChange"]],template:function(e,t){1&e&&(c["\u0275\u0275template"](0,Bc,3,12,"span",0),c["\u0275\u0275template"](1,Hc,3,12,"span",1),c["\u0275\u0275template"](2,qc,3,12,"span",2),c["\u0275\u0275template"](3,zc,3,12,"span",3),c["\u0275\u0275template"](4,Wc,3,12,"span",4),c["\u0275\u0275template"](5,Jc,3,11,"span",5)),2&e&&(c["\u0275\u0275property"]("ngIf",!(null!=t.config&&null!=t.config.address1&&t.config.address1.hidden)),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",!(null!=t.config&&null!=t.config.address2&&t.config.address2.hidden)),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",!(null!=t.config&&null!=t.config.city&&t.config.city.hidden)),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",!(null!=t.config&&null!=t.config.state&&t.config.state.hidden)),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",!(null!=t.config&&null!=t.config.zip&&t.config.zip.hidden)),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",!(null!=t.config&&null!=t.config.countryID&&t.config.countryID.hidden)))},directives:[h.m,La.DefaultValueAccessor,La.MaxLengthValidator,La.NgControlStatus,La.NgModel,h.k,hh,hf],encapsulation:2}),jf),sp={provide:La.NG_VALUE_ACCESSOR,useExisting:Object(c.forwardRef)((function(){return lp})),multi:!0},cp={iconStyle:"box"},lp=((Ff=function(){function e(t){v(this,e),this.ref=t,this.indeterminate=!1,this.disabled=!1,this.onSelect=new c.EventEmitter,this.boxIcon=!0,this.onModelChange=function(){},this.onModelTouched=function(){}}return y(e,[{key:"ngOnInit",value:function(){this.layoutOptions=Object.assign({},cp,this.layoutOptions),this.boxIcon="box"===this.layoutOptions.iconStyle}},{key:"select",value:function(e){mh.swallowEvent(e),this.disabled||(this.model=!this.model,this.onModelChange(this.model),this.onSelect.emit({originalEvent:e,value:this.model}))}},{key:"writeValue",value:function(e){this.model=e,this.ref.markForCheck()}},{key:"registerOnChange",value:function(e){this.onModelChange=e}},{key:"registerOnTouched",value:function(e){this.onModelTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e}}]),e}()).\u0275fac=function(e){return new(e||Ff)(c["\u0275\u0275directiveInject"](c.ChangeDetectorRef))},Ff.\u0275cmp=c["\u0275\u0275defineComponent"]({type:Ff,selectors:[["novo-checkbox"]],inputs:{indeterminate:"indeterminate",disabled:"disabled",layoutOptions:"layoutOptions",name:"name",label:"label"},outputs:{onSelect:"onSelect"},features:[c["\u0275\u0275ProvidersFeature"]([sp])],decls:5,vars:24,consts:[[1,"check-box-group"],["type","checkbox",3,"name","ngModel","disabled","ngModelChange"],[3,"click"],[4,"ngIf"]],template:function(e,t){1&e&&(c["\u0275\u0275elementStart"](0,"div",0),c["\u0275\u0275elementStart"](1,"input",1),c["\u0275\u0275listener"]("ngModelChange",(function(e){return t.model=e})),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](2,"label",2),c["\u0275\u0275listener"]("click",(function(e){return t.select(e)})),c["\u0275\u0275element"](3,"i"),c["\u0275\u0275template"](4,Qc,2,1,"span",3),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()),2&e&&(c["\u0275\u0275classProp"]("checked",t.model)("disabled",t.disabled),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("name",t.name)("ngModel",t.model)("disabled",t.disabled),c["\u0275\u0275attribute"]("id",t.name),c["\u0275\u0275advance"](1),c["\u0275\u0275classProp"]("disabled",t.disabled),c["\u0275\u0275attribute"]("for",t.name),c["\u0275\u0275advance"](1),c["\u0275\u0275classProp"]("bhi-checkbox-empty",!t.model&&!t.indeterminate&&t.boxIcon)("bhi-checkbox-filled",t.model&&!t.indeterminate&&t.boxIcon)("bhi-checkbox-indeterminate",t.indeterminate&&t.boxIcon)("bhi-circle-o",!t.model&&!t.indeterminate&&!t.boxIcon)("bhi-check",t.model&&!t.indeterminate&&!t.boxIcon)("bhi-circle",t.indeterminate&&!t.boxIcon),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",t.label))},directives:[La.CheckboxControlValueAccessor,La.NgControlStatus,La.NgModel,h.m],encapsulation:2}),Ff),up={provide:La.NG_VALUE_ACCESSOR,useExisting:Object(c.forwardRef)((function(){return dp})),multi:!0},dp=((Lf=function(){function e(){v(this,e),this.onSelect=new c.EventEmitter,this.onModelChange=function(){},this.onModelTouched=function(){}}return y(e,[{key:"ngOnInit",value:function(){this.setModel(),this.setupOptions()}},{key:"select",value:function(e,t){mh.swallowEvent(e),this.disabled||(t.checked=!t.checked,this.model=this._options.filter((function(e){return e.checked})).map((function(e){return e.value})),this.onModelChange(this.model.length>0?this.model:""),this.onSelect.emit({selected:this.model}))}},{key:"setupOptions",value:function(){var e=this;this.options=this.options||[],this._options=[],this.options.forEach(this.options.length&&!this.options[0].value?function(t){var n={value:t,label:t,checked:e.model&&e.model.length&&-1!==e.model.indexOf(t.value)};e._options.push(n)}:function(t){var n=t;n.checked=e.model&&e.model.length&&-1!==e.model.indexOf(t.value),e._options.push(n)})}},{key:"setModel",value:function(){var e=this.options.filter((function(e){return e.checked})).map((function(e){return e.value}));this.writeValue(e)}},{key:"writeValue",value:function(e){this.model=e||[],e&&this.setupOptions()}},{key:"registerOnChange",value:function(e){this.onModelChange=e}},{key:"registerOnTouched",value:function(e){this.onModelTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e}}]),e}()).\u0275fac=function(e){return new(e||Lf)},Lf.\u0275cmp=c["\u0275\u0275defineComponent"]({type:Lf,selectors:[["novo-check-list"]],inputs:{options:"options",disabled:"disabled",name:"name"},outputs:{onSelect:"onSelect"},features:[c["\u0275\u0275ProvidersFeature"]([up])],decls:1,vars:1,consts:[["class","check-box-group",3,"ngClass","disabled",4,"ngFor","ngForOf"],[1,"check-box-group",3,"ngClass"],["type","checkbox",3,"name","ngModel","value","disabled","change"],[3,"click"],[3,"ngClass"]],template:function(e,t){1&e&&c["\u0275\u0275template"](0,$c,6,17,"div",0),2&e&&c["\u0275\u0275property"]("ngForOf",t._options)},directives:[h.l,h.k,La.CheckboxControlValueAccessor,La.NgControlStatus,La.NgModel],encapsulation:2}),Lf),hp=function(){function e(t){var n=this;v(this,e),this.name="",this.contentType="",this.lastModified=0,this.size=0,this.loaded=!1,this.reader=new FileReader,this.name=""+encodeURIComponent(t.name||""),this.contentType=t.type,this.lastModified=t.lastModified,this.size=t.size,this.file=t,this.reader.onload=function(e){n.fileContents=e.target.result.split(",")[1],n.dataURL=e.target.result,n.loaded=!0,n.readPromise&&n.readPromise(n)}}return y(e,[{key:"read",value:function(){var e=this;return new Promise((function(t){e.readPromise=t,e.reader.readAsDataURL(e.file)}))}},{key:"toJSON",value:function(){return{name:this.name,contentType:this.type,lastModified:this.lastModified,size:this.size,fileContents:this.fileContents}}}]),e}(),fp={provide:La.NG_VALUE_ACCESSOR,useExisting:Object(c.forwardRef)((function(){return pp})),multi:!0},mp={order:"default",download:!0,removable:!0,labelStyle:"default",draggable:!1},pp=((Bf=function(){function e(t,n){v(this,e),this.element=t,this.labels=n,this.multiple=!1,this.disabled=!1,this.value=[],this.edit=new c.EventEmitter,this.save=new c.EventEmitter,this.delete=new c.EventEmitter,this.upload=new c.EventEmitter,this.elements=[],this.files=[],this.active=!1,this.onModelChange=function(){},this.onModelTouched=function(){},this.commands={dragenter:this.dragEnterHandler.bind(this),dragleave:this.dragLeaveHandler.bind(this),dragover:this.dragOverHandler.bind(this),drop:this.dropHandler.bind(this)}}return y(e,[{key:"ngOnInit",value:function(){var e=this;["dragenter","dragleave","dragover","drop"].forEach((function(t){e.element.nativeElement.addEventListener(t,e.commands[t])})),this.updateLayout(),this.setInitialFileList(),this.dataFeatureId=this.dataFeatureId?this.dataFeatureId:this.name}},{key:"ngOnDestroy",value:function(){var e=this;["dragenter","dragleave","dragover","drop"].forEach((function(t){e.element.nativeElement.removeEventListener(t,e.commands[t])}))}},{key:"ngOnChanges",value:function(e){this.onModelChange(this.model)}},{key:"updateLayout",value:function(){this.layoutOptions=Object.assign({},mp,this.layoutOptions),this.insertTemplatesBasedOnLayout()}},{key:"insertTemplatesBasedOnLayout",value:function(){var e,t=this;switch(this.layoutOptions.order){case"displayFilesBelow":e=["fileInput","fileOutput"];break;default:e=["fileOutput","fileInput"]}return e.forEach((function(e){t.container.createEmbeddedView(t[e],0)})),e}},{key:"setInitialFileList",value:function(){this.value&&(this.files=this.value)}},{key:"dragEnterHandler",value:function(e){e.preventDefault(),e.dataTransfer.dropEffect="copy",this.target=e.target,this.active=!0}},{key:"dragLeaveHandler",value:function(e){e.preventDefault(),this.target===e.target&&(this.active=!1)}},{key:"dragOverHandler",value:function(e){e.preventDefault()}},{key:"dropHandler",value:function(e){if(e.preventDefault(),this.visible=!1,"Files"===e.dataTransfer.types[0]){var t=this.layoutOptions,n=Array.from(e.dataTransfer.files);t.customActions?this.upload.emit(this.multiple?n:[n[0]]):this.process(this.multiple?n:[n[0]]),this.active=!1}}},{key:"writeValue",value:function(e){this.model=e}},{key:"registerOnChange",value:function(e){this.onModelChange=e}},{key:"registerOnTouched",value:function(e){this.onModelTouched=e}},{key:"check",value:function(e){this.process(Array.from(e.target.files))}},{key:"validate",value:function(e){var t=!0;return this.layoutOptions.customValidation&&this.layoutOptions.customValidation.filter((function(e){return"upload"===e.action})).forEach((function(n){t=n.fn(e)&&t})),t}},{key:"process",value:function(e){var t=this;this.validate(e)&&Promise.all(e.map((function(e){return t.readFile(e)}))).then((function(e){var r;t.multiple?(r=t.files).push.apply(r,n(e)):t.files=e,t.model=t.files,t.onModelChange(t.model)}))}},{key:"download",value:function(e){window.open(e.dataURL,"_blank")}},{key:"remove",value:function(e){this.files.splice(this.files.findIndex((function(t){return t.name===e.name&&t.size===e.size})),1),this.model=this.files,this.onModelChange(this.model)}},{key:"readFile",value:function(e){return new hp(e).read()}},{key:"customEdit",value:function(e){this.edit.emit(e)}},{key:"customSave",value:function(e){this.save.emit(e)}},{key:"customDelete",value:function(e){this.delete.emit(e)}},{key:"customCheck",value:function(e){this.upload.emit(e)}},{key:"setDisabledState",value:function(e){this.disabled=e}}]),e}()).\u0275fac=function(e){return new(e||Bf)(c["\u0275\u0275directiveInject"](c.ElementRef),c["\u0275\u0275directiveInject"](bh))},Bf.\u0275cmp=c["\u0275\u0275defineComponent"]({type:Bf,selectors:[["novo-file-input"]],viewQuery:function(e,t){var n;1&e&&(c["\u0275\u0275staticViewQuery"](el,!0),c["\u0275\u0275staticViewQuery"](tl,!0),c["\u0275\u0275staticViewQuery"](nl,!0,c.ViewContainerRef)),2&e&&(c["\u0275\u0275queryRefresh"](n=c["\u0275\u0275loadQuery"]())&&(t.fileInput=n.first),c["\u0275\u0275queryRefresh"](n=c["\u0275\u0275loadQuery"]())&&(t.fileOutput=n.first),c["\u0275\u0275queryRefresh"](n=c["\u0275\u0275loadQuery"]())&&(t.container=n.first))},inputs:{multiple:"multiple",disabled:"disabled",value:"value",dataFeatureId:"dataFeatureId",layoutOptions:"layoutOptions",name:"name",placeholder:"placeholder"},outputs:{edit:"edit",save:"save",delete:"delete",upload:"upload"},features:[c["\u0275\u0275ProvidersFeature"]([fp]),c["\u0275\u0275NgOnChangesFeature"]],decls:6,vars:0,consts:[["container",""],["fileInput",""],["fileOutput",""],[1,"file-input-group"],["type","file","tabindex","-1",3,"name","change",4,"ngIf"],[3,"ngSwitch"],["class","no-box",4,"ngSwitchCase"],["class","boxed",4,"ngSwitchDefault"],["type","file","tabindex","-1",3,"name","change"],[1,"no-box"],[1,"bhi-dropzone"],[1,"link"],[1,"boxed"],[1,"file-output-group"],["class","file-item",3,"disabled",4,"ngFor","ngForOf"],[1,"file-item"],["class","bhi-move",4,"ngIf"],[4,"ngIf"],["class","actions",4,"ngIf"],[1,"bhi-move"],["target","_blank",3,"href"],[1,"actions"],["type","button","theme","icon","icon","save","tabindex","-1",3,"click",4,"ngIf"],["type","button","theme","icon","icon","close","tabindex","-1",3,"click",4,"ngIf"],["type","button","theme","icon","icon","save","tabindex","-1",3,"click"],["type","button","theme","icon","icon","close","tabindex","-1",3,"click"],["type","button","theme","icon","icon","edit","tabindex","-1",3,"click",4,"ngIf"],["type","button","theme","icon","icon","edit","tabindex","-1",3,"click"]],template:function(e,t){1&e&&(c["\u0275\u0275element"](0,"div",null,0),c["\u0275\u0275template"](2,sl,6,8,"ng-template",null,1,c["\u0275\u0275templateRefExtractor"]),c["\u0275\u0275template"](4,wl,2,1,"ng-template",null,2,c["\u0275\u0275templateRefExtractor"]))},directives:[h.m,h.o,h.p,h.q,h.l,lh,kh],pipes:[vh],encapsulation:2}),Bf),vp=((Vf=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:Vf}),Vf.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||Vf)},imports:[[h.c,La.FormsModule,gh,uh,Rf,pf,Ch,fh]]}),Vf),gp={provide:La.NG_VALUE_ACCESSOR,useExisting:Object(c.forwardRef)((function(){return yp})),multi:!0},yp=((Hf=function(){function e(t,n){v(this,e),this.element=t,this.ref=n,this.name=(new Date).getTime().toString(),this.disabled=!1,this.onChange=new c.EventEmitter,this.onSelectedOptionClick=new c.EventEmitter,this.onDisabledOptionClick=new c.EventEmitter,this._options=[],this.activeTile=null,this.focused=!1,this.onModelChange=function(){},this.onModelTouched=function(){}}return y(e,[{key:"setFocus",value:function(e){this.focused=e}},{key:"ngAfterContentInit",value:function(){this.name=this.name||"",this.setupOptions()}},{key:"ngOnChanges",value:function(e){e.options&&e.options.currentValue&&!e.options.firstChange&&(this.name=this.name||"",this._options=[],this.setupOptions())}},{key:"setupOptions",value:function(){var e=this;this._options=this.options.map(this.options&&this.options.length&&null==this.options[0].value?function(t){var n={value:t,label:t,checked:e.model===t};return n.checked&&e.setTile(n),n}:function(t){return t.checked=e.model===t.value||e.model&&e.model.id===t.value,t.checked&&e.setTile(t),t}),this.ref.markForCheck()}},{key:"select",value:function(e,t){if(e&&(e.stopPropagation(),e.preventDefault()),t.disabled)this.onDisabledOptionClick.emit(t);else{if(t.checked)return void this.onSelectedOptionClick.emit(t);var n,i=r(this._options);try{for(i.s();!(n=i.n()).done;)n.value.checked=!1}catch(o){i.e(o)}finally{i.f()}t.checked=!t.checked,this.onChange.emit(t.value),this.onModelChange(t.value),this.setTile(t),this.model=t.value}this.ref.markForCheck()}},{key:"setTile",value:function(e){e&&(this.activeTile=e.value,this.ref.markForCheck())}},{key:"writeValue",value:function(e){this.model=e,mh.isBlank(e)||this.setupOptions()}},{key:"registerOnChange",value:function(e){this.onModelChange=e}},{key:"registerOnTouched",value:function(e){this.onModelTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e}}]),e}()).\u0275fac=function(e){return new(e||Hf)(c["\u0275\u0275directiveInject"](c.ElementRef),c["\u0275\u0275directiveInject"](c.ChangeDetectorRef))},Hf.\u0275cmp=c["\u0275\u0275defineComponent"]({type:Hf,selectors:[["novo-tiles"]],inputs:{name:"name",disabled:["controlDisabled","disabled"],options:"options",required:"required"},outputs:{onChange:"onChange",onSelectedOptionClick:"onSelectedOptionClick",onDisabledOptionClick:"onDisabledOptionClick"},features:[c["\u0275\u0275ProvidersFeature"]([gp]),c["\u0275\u0275NgOnChangesFeature"]],decls:2,vars:5,consts:[[1,"tile-container"],["class","tile",3,"ngClass","click",4,"ngFor","ngForOf"],[1,"tile",3,"ngClass","click"],["type","radio",1,"tiles-input",3,"name","value","disabled","change","focus","blur"]],template:function(e,t){1&e&&(c["\u0275\u0275elementStart"](0,"div",0),c["\u0275\u0275template"](1,Sl,4,12,"div",1),c["\u0275\u0275elementEnd"]()),2&e&&(c["\u0275\u0275classProp"]("active",t.focused)("disabled",t.disabled),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngForOf",t._options))},directives:[h.l,h.k],encapsulation:2,changeDetection:0}),Hf),bp=((Uf=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:Uf}),Uf.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||Uf)},imports:[[h.c,La.ReactiveFormsModule]]}),Uf),kp={provide:La.NG_VALUE_ACCESSOR,useExisting:Object(c.forwardRef)((function(){return Cp})),multi:!0},Cp=((qf=function(){function e(t,n,r,i){v(this,e),this.element=t,this.labels=n,this._changeDetectorRef=r,this._zone=i,this.icon="search",this.placeholder="Search...",this.alwaysOpen=!1,this.theme="positive",this.closeOnSelect=!0,this.searchChanged=new c.EventEmitter,this.focused=!1,this._onChange=function(){},this._onTouched=function(){}}return y(e,[{key:"showSearch",value:function(e){var t=this;this.panelOpen||setTimeout((function(){var e=t.input.nativeElement;e&&e.focus()}),10)}},{key:"onFocus",value:function(){var e=this;this._zone.run((function(){e.focused=!0,e.openPanel()}))}},{key:"onBlur",value:function(){this.focused=!1}},{key:"openPanel",value:function(){this.overlay.openPanel()}},{key:"closePanel",value:function(){this.overlay.closePanel()}},{key:"panelOpen",get:function(){return this.overlay&&this.overlay.panelOpen}},{key:"active",get:function(){return this.panelOpen||this.alwaysOpen}},{key:"_handleKeydown",value:function(e){27!==e.keyCode&&13!==e.keyCode&&9!==e.keyCode||!this.panelOpen||(this.closePanel(),e.stopPropagation())}},{key:"_handleInput",value:function(e){var t=this;document.activeElement===e.target&&(this._onChange(e.target.value),this.debounceSearchChange&&clearTimeout(this.debounceSearchChange),this.debounceSearchChange=setTimeout((function(){t.searchChanged.emit(e.target.value)}),400))}},{key:"writeValue",value:function(e){this._setValue(e)}},{key:"registerOnChange",value:function(e){this._onChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"_setValue",value:function(e){this.value=e;var t=e;e&&this.displayField&&(t=e.hasOwnProperty(this.displayField)?e[this.displayField]:e),this.displayValue=t||"",this.input.nativeElement.value=this.displayValue,this._changeDetectorRef.markForCheck()}},{key:"setValueAndClose",value:function(e){e&&e.value&&(this._setValue(e.value),this._onChange(e.value)),this.closePanel()}},{key:"clearValue",value:function(e){this.writeValue(null),this._onChange(null)}}]),e}()).\u0275fac=function(e){return new(e||qf)(c["\u0275\u0275directiveInject"](c.ElementRef),c["\u0275\u0275directiveInject"](bh),c["\u0275\u0275directiveInject"](c.ChangeDetectorRef),c["\u0275\u0275directiveInject"](c.NgZone))},qf.\u0275cmp=c["\u0275\u0275defineComponent"]({type:qf,selectors:[["novo-search"]],viewQuery:function(e,t){var n;1&e&&(c["\u0275\u0275viewQuery"](Vh,!0),c["\u0275\u0275staticViewQuery"](Hs,!0)),2&e&&(c["\u0275\u0275queryRefresh"](n=c["\u0275\u0275loadQuery"]())&&(t.overlay=n.first),c["\u0275\u0275queryRefresh"](n=c["\u0275\u0275loadQuery"]())&&(t.input=n.first))},hostVars:4,hostBindings:function(e,t){2&e&&c["\u0275\u0275classProp"]("focused",t.focused)("active",t.active)},inputs:{icon:"icon",placeholder:"placeholder",alwaysOpen:"alwaysOpen",theme:"theme",closeOnSelect:"closeOnSelect",displayValue:"displayValue",name:"name",displayField:"displayField",hint:"hint"},outputs:{searchChanged:"searchChanged"},features:[c["\u0275\u0275ProvidersFeature"]([kp])],ngContentSelectors:vs,decls:5,vars:8,consts:[["theme","fab","tooltipPosition","bottom","data-automation-id","novo-search-fab",3,"color","icon","tooltip","click"],["type","text","data-automation-id","novo-search-input",3,"focus","blur","keydown","input"],["input",""],["position","above-below",3,"parent","closeOnSelect","select","closing"]],template:function(e,t){1&e&&(c["\u0275\u0275projectionDef"](),c["\u0275\u0275elementStart"](0,"button",0),c["\u0275\u0275listener"]("click",(function(){return t.showSearch()})),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](1,"input",1,2),c["\u0275\u0275listener"]("focus",(function(){return t.onFocus()}))("blur",(function(){return t.onBlur()}))("keydown",(function(e){return t._handleKeydown(e)}))("input",(function(e){return t._handleInput(e)})),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](3,"novo-overlay-template",3),c["\u0275\u0275listener"]("select",(function(){return t.closePanel()}))("closing",(function(){return t.onBlur()})),c["\u0275\u0275projection"](4),c["\u0275\u0275elementEnd"]()),2&e&&(c["\u0275\u0275property"]("color",t.theme)("icon",t.icon)("tooltip",t.hint),c["\u0275\u0275advance"](1),c["\u0275\u0275attribute"]("name",t.name)("value",t.displayValue)("placeholder",t.placeholder),c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("parent",t.element)("closeOnSelect",t.closeOnSelect))},directives:[lh,hh,Vh],encapsulation:2,changeDetection:0}),qf),wp=((Gf=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:Gf}),Gf.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||Gf)},imports:[[h.c,uh,pf,fh,Bh]]}),Gf),Sp={provide:La.NG_VALUE_ACCESSOR,useExisting:Object(c.forwardRef)((function(){return _p})),multi:!0},_p=((zf=function(){function e(t,n){v(this,e),this.labels=t,this.element=n,this.weekStart=0,this.onSelect=new c.EventEmitter(!1),this.weekdays=[],this.months=[],this.years=[],this.view="days",this.rangeSelectMode="startDate",this._onChange=function(){},this._onTouched=function(){}}return y(e,[{key:"ngOnInit",value:function(){for(var e=new Date,t=this.minYear?Number(this.minYear):e.getFullYear()-100,n=this.maxYear?Number(this.maxYear):e.getFullYear()+10,r=t;r<=n;r++)this.years.push(r);this.weekdays=this.setupWeekdays(),this.months=this.labels.getMonths(),this.selectedLabel=this.labels.startDate,this.selected2Label=this.labels.endDate,this.updateView(this.model,!1,!0)}},{key:"ngOnChanges",value:function(e){var t=e.weekRangeSelect;t&&t.currentValue!==t.previousValue&&!t.firstChange&&this.clearRange();var n=e.weekStart;n&&n.currentValue!==n.previousValue&&!n.firstChange&&(this.weekdays=this.setupWeekdays(),this.updateView(this.model,!1,!1))}},{key:"setupWeekdays",value:function(){var e=this.labels.getWeekdays();if(!mh.isBlank(this.weekStart)&&this.weekStart>0&&this.weekStart<=6){var t=e.splice(this.weekStart);e=[].concat(n(t),n(e))}return e}},{key:"isSelectingRange",value:function(e,t,n,r,i,o,a){if(e&&!a){var s="endDate"===o&&n&&r&&Object(Fa.isAfter)(t,r)&&Object(Fa.isBefore)(t,i),c="startDate"===o&&n&&r&&Object(Fa.isBefore)(t,n)&&Object(Fa.isAfter)(t,i),l=!n&&r&&Object(Fa.isBefore)(t,r)&&Object(Fa.isAfter)(t,i);return n&&!r&&Object(Fa.isAfter)(t,n)&&Object(Fa.isBefore)(t,i)||l||c||s}return!1}},{key:"isEndFill",value:function(e,t,n,r){return!!(e&&r&&n)&&!Object(Fa.isSameDay)(n,r)&&Object(Fa.isSameDay)(t,r)&&Object(Fa.isAfter)(t,n)}},{key:"isStartFill",value:function(e,t,n,r){return!!(e&&r&&n)&&!Object(Fa.isSameDay)(n,r)&&Object(Fa.isSameDay)(t,n)&&Object(Fa.isBefore)(t,r)}},{key:"isFiller",value:function(e,t,n,r){return!!(e&&r&&n)&&(Object(Fa.isAfter)(t,n)&&Object(Fa.isBefore)(t,r)||Object(Fa.isSameDay)(t,n)||Object(Fa.isSameDay)(t,r))}},{key:"isSelected",value:function(e,t,n,r){return e?t&&(n&&t.getDate()===n.getDate()&&t.getMonth()===n.getMonth()&&t.getFullYear()===n.getFullYear()||r&&t.getDate()===r.getDate()&&t.getMonth()===r.getMonth()&&t.getFullYear()===r.getFullYear()):t.getDate()===n.getDate()&&t.getMonth()===n.getMonth()&&t.getFullYear()===n.getFullYear()}},{key:"isDisabled",value:function(e,t,n){return Object(Fa.isBefore)(e,t)||Object(Fa.isAfter)(e,n)}},{key:"updateView",value:function(e,t,n){if(e&&null===e.startDate)this.clearRange();else{e||this.clearRange();var r=e?new Date(e):new Date;r=this.removeTime(r),this.month=new Date(r),this.monthLabel=this.labels.formatDateWithFormat(this.month,{month:"short"});var i=new Date(r.getTime());i.setDate(1),this.removeTime(i.setDate(1)),this.buildMonth(i,this.month),n&&this.select(null,{date:r},t)}}},{key:"setToday",value:function(){var e=new Date;this.updateView(e,!0,!0),this.open(null,"days")}},{key:"clearRange",value:function(){this.selected=null,this.selectedLabel=this.labels.startDate,this.selected2=null,this.selected2Label=this.labels.endDate}},{key:"setMonth",value:function(e){var t=this.month?this.month:new Date,n=Object(Fa.setMonth)(t,e);this.updateView(n,!0,!1),this.open(null,"days")}},{key:"setYear",value:function(e){var t=this.month?this.month:new Date,n=Object(Fa.setYear)(t,e);this.updateView(n,!0,!1),this.open(null,"days")}},{key:"select",value:function(e,t,n){mh.swallowEvent(e),this.range?this.weekRangeSelect?(this.selected=Object(Fa.startOfWeek)(t.date,{weekStartsOn:this.weekStart}),this.selected2=Object(Fa.endOfWeek)(t.date,{weekStartsOn:this.weekStart}),this.selectedLabel=this.labels.formatDateWithFormat(this.selected,{month:"short",day:"2-digit",year:"numeric"}),this.selected2Label=this.labels.formatDateWithFormat(this.selected2,{month:"short",day:"2-digit",year:"numeric"}),!n&&this.weekRangeSelect&&this.fireRangeSelect()):"startDate"===this.rangeSelectMode?(this.selected=Object(Fa.startOfDay)(t.date),this.selectedLabel=this.labels.formatDateWithFormat(this.selected,{month:"short",day:"2-digit",year:"numeric"}),this.selected2&&Object(Fa.isAfter)(t.date,this.selected2)&&(this.selected2=null,this.selected2Label=this.labels.endDate),e&&(this.rangeSelectMode="endDate")):"endDate"===this.rangeSelectMode&&(this.selected2=Object(Fa.endOfDay)(t.date),this.selected2Label=this.labels.formatDateWithFormat(this.selected2,{month:"short",day:"2-digit",year:"numeric"}),this.selected&&Object(Fa.isBefore)(t.date,this.selected)&&(this.selected=null,this.selectedLabel=this.labels.startDate),e&&(this.rangeSelectMode="startDate")):(this.selected=t.date,this.selectedLabel=this.labels.formatDateWithFormat(this.selected,{month:"short",day:"2-digit",year:"numeric"}),this.updateHeading()),n&&this.selected&&(this.range&&this.selected&&this.selected2&&(this.fireRangeSelect(),this._onChange({startDate:this.selected,endDate:this.selected2?this.selected2:null}),this.model={startDate:this.selected,endDate:this.selected2?this.selected2:null}),this.range||(this.onSelect.next({month:this.labels.formatDateWithFormat(this.selected,{month:"long"}),year:this.selected.getFullYear(),day:this.labels.formatDateWithFormat(this.selected,{weekday:"long"}),date:this.selected}),this._onChange(this.selected),this.model=this.selected))}},{key:"fireRangeSelect",value:function(){Object(Fa.isBefore)(this.selected,this.selected2)&&this.onSelect.next({startDate:{month:this.labels.formatDateWithFormat(this.selected,{month:"long"}),year:this.selected.getFullYear(),day:this.labels.formatDateWithFormat(this.selected,{weekday:"long"}),date:this.selected},endDate:{month:this.labels.formatDateWithFormat(this.selected2,{month:"long"}),year:this.selected2.getFullYear(),day:this.labels.formatDateWithFormat(this.selected2,{weekday:"long"}),date:this.selected2}})}},{key:"open",value:function(e,t){var n=this;mh.swallowEvent(e),this.view=t===this.view?"days":t,"years"!==this.view&&"months"!==this.view||setTimeout((function(){var e=n.element.nativeElement.querySelector(".calendar-content."+n.view),t=n.element.nativeElement.querySelector(".calendar-content.".concat(n.view," .").concat("years"===n.view?"year":"month",".selected"));e&&t&&(e.scrollTop=t.offsetTop-100)})),this.updateHeading()}},{key:"prevMonth",value:function(e){mh.swallowEvent(e);var t=Object(Fa.subMonths)(this.month,1);this.updateView(t,!1,!1)}},{key:"nextMonth",value:function(e){mh.swallowEvent(e);var t=Object(Fa.addMonths)(this.month,1);this.updateView(t,!1,!1)}},{key:"updateHeading",value:function(){this.selected&&(this.heading={month:this.labels.formatDateWithFormat(this.selected,{month:"long"}),year:this.selected.getFullYear(),day:this.labels.formatDateWithFormat(this.selected,{weekday:"long"}),date:this.selected.getDate()})}},{key:"removeTime",value:function(e){var t=new Date(e);return t.setHours(12),t.setSeconds(0),t.setMilliseconds(0),t}},{key:"buildMonth",value:function(e,t){this.weeks=[];for(var n=!1,r=Object(Fa.startOfWeek)(e,{weekStartsOn:this.weekStart}),i=r.getMonth(),o=0;!n;)this.weeks.push({days:this.buildWeek(new Date(r.getTime()),t)}),r=Object(Fa.addDays)(r,7),n=o++>2&&i!==r.getMonth(),i=r.getMonth()}},{key:"buildWeek",value:function(e,t){for(var n=[],r=0;r<7;r++)n.push({name:this.weekdays[r],number:e.getDate(),isToday:Object(Fa.isToday)(e),date:e}),e=Object(Fa.addDays)(e,1);return n}},{key:"toggleRangeSelect",value:function(e){this.rangeSelectMode=e}},{key:"rangeHover",value:function(e,t){this.hoverDay=t.date}},{key:"writeValue",value:function(e){this.model=e,mh.isDate(e)&&this.updateView(e,!1,!0)}},{key:"registerOnChange",value:function(e){this._onChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}}]),e}()).\u0275fac=function(e){return new(e||zf)(c["\u0275\u0275directiveInject"](bh),c["\u0275\u0275directiveInject"](c.ElementRef))},zf.\u0275cmp=c["\u0275\u0275defineComponent"]({type:zf,selectors:[["novo-date-picker"]],inputs:{weekStart:"weekStart",minYear:"minYear",maxYear:"maxYear",start:"start",end:"end",inline:"inline",range:"range",weekRangeSelect:"weekRangeSelect"},outputs:{onSelect:"onSelect"},features:[c["\u0275\u0275ProvidersFeature"]([Sp]),c["\u0275\u0275NgOnChangesFeature"]],decls:24,vars:12,consts:[[1,"calendar"],["class","calendar-top",4,"ngIf"],["class","date-range-tabs",3,"week-select-mode",4,"ngIf"],[1,"calendar-header"],["data-automation-id","calendar-previous",1,"previous",3,"click"],[1,"heading"],["data-automation-id","header-month",1,"month",3,"click"],["data-automation-id","header-year",1,"year",3,"click"],["data-automation-id","calendar-next",1,"next",3,"click"],["cellspacing","0","cellpadding","0",1,"calendar-content","days",3,"hidden"],["class","weekday",3,"title",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],[1,"calendar-content","months",3,"hidden"],[3,"click",4,"ngFor","ngForOf"],[1,"calendar-content","years",3,"hidden"],[1,"calendar-footer"],["data-automation-id","calendar-today",1,"today",3,"click"],[1,"calendar-top"],[1,"day"],[1,"month"],[1,"date"],[1,"year"],[1,"date-range-tabs"],["data-automation-id","calendar-start-date",1,"range-tab",3,"click"],["data-automation-id","calendar-end-date",1,"range-tab",3,"click"],[1,"indicator"],[1,"weekday",3,"title"],[3,"ngClass","mouseover",4,"ngFor","ngForOf"],[3,"ngClass","mouseover"],[1,"day",3,"disabled","click"],[3,"click"],[1,"month",3,"ngClass"],[1,"year",3,"ngClass"]],template:function(e,t){1&e&&(c["\u0275\u0275elementStart"](0,"div",0),c["\u0275\u0275template"](1,_l,9,8,"div",1),c["\u0275\u0275template"](2,El,6,7,"div",2),c["\u0275\u0275elementStart"](3,"div",3),c["\u0275\u0275elementStart"](4,"span",4),c["\u0275\u0275listener"]("click",(function(e){return t.prevMonth(e)})),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](5,"span",5),c["\u0275\u0275elementStart"](6,"span",6),c["\u0275\u0275listener"]("click",(function(e){return t.open(e,"months")})),c["\u0275\u0275text"](7),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](8,"span",7),c["\u0275\u0275listener"]("click",(function(e){return t.open(e,"years")})),c["\u0275\u0275text"](9),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](10,"span",8),c["\u0275\u0275listener"]("click",(function(e){return t.nextMonth(e)})),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](11,"table",9),c["\u0275\u0275elementStart"](12,"thead"),c["\u0275\u0275elementStart"](13,"tr"),c["\u0275\u0275template"](14,Il,2,3,"th",10),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](15,"tbody"),c["\u0275\u0275template"](16,Tl,2,1,"tr",11),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](17,"section",12),c["\u0275\u0275template"](18,Pl,3,5,"div",13),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](19,"section",14),c["\u0275\u0275template"](20,Dl,3,5,"div",13),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](21,"div",15),c["\u0275\u0275elementStart"](22,"span",16),c["\u0275\u0275listener"]("click",(function(){return t.setToday()})),c["\u0275\u0275text"](23),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()),2&e&&(c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",!t.inline&&!t.range),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",t.range),c["\u0275\u0275advance"](5),c["\u0275\u0275textInterpolate"](t.monthLabel),c["\u0275\u0275advance"](2),c["\u0275\u0275textInterpolate"](null==t.month?null:t.month.getFullYear()),c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("hidden",!("days"==t.view)),c["\u0275\u0275advance"](3),c["\u0275\u0275property"]("ngForOf",t.weekdays),c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("ngForOf",t.weeks),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("hidden","months"!==t.view),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngForOf",t.months),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("hidden","years"!==t.view),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngForOf",t.years),c["\u0275\u0275advance"](3),c["\u0275\u0275textInterpolate"](t.labels.today))},directives:[h.m,h.l,h.k],encapsulation:2,data:{animation:[Da("startDateTextState",[Na("startDate",Ma({opacity:"1.0"})),Na("endDate",Ma({opacity:"0.6"})),ja("startDate <=> endDate",Ra("200ms ease-in"))]),Da("endDateTextState",[Na("startDate",Ma({opacity:"0.6"})),Na("endDate",Ma({opacity:"1.0"})),ja("startDate <=> endDate",Ra("200ms ease-in"))]),Da("indicatorState",[Na("startDate",Ma({transform:"translateX(0%)"})),Na("endDate",Ma({transform:"translateX(100%)"})),ja("startDate <=> endDate",Ra("200ms ease-in"))])]}}),zf),Ep=((Kf=function(){function e(t){v(this,e),this.labels=t}return y(e,[{key:"getTimeMask",value:function(e){var t,n=[/\d/,/\d/,/:/,/\d/,/\d/],i=this.labels.timeFormatPlaceholderAM.toLowerCase();if(e)return n;if((t=i.split("hh:mm"))&&t.length){n=[];var o,a=r(t);try{for(a.s();!(o=a.n()).done;){var s=o.value;if(""===s)n=n.concat([/\d/,/\d|:/,/:|\d/,/\d|\w|\s/,/\d|\s|\w/]);else if(s.length)for(var c=0;c<s.length;c++)n.push(/\s|\w|\d|\./)}}catch(l){a.e(l)}finally{a.f()}}return n}},{key:"getDateMask",value:function(){return[/\d/,/\d|\/|\.|\-/,/\/|\.|\-|\d/,/\d|\/|\.|\-/,/\d|\/|\.|\-/,/\d|\/|\.|\-/,/\d|\/|\.|\-/,/\d|\/|\.|\-/,/\d/,/\d/]}},{key:"getDateTimeMask",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return[].concat(n(this.getDateMask()),[/\,?/,/\s/],n(this.getTimeMask(e)))}},{key:"getTimePlaceHolder",value:function(e){return e?this.labels.timeFormatPlaceholder24Hour:this.labels.timeFormatPlaceholderAM}},{key:"parseDateString",value:function(e){var t,n,r,i,o,a=this.labels.dateFormatString(),s=new Date;if(a=mh.isEmpty(a)?"mm/dd/yyyy":a.toLowerCase(),t=/(\w+)[\/|\.|\-](\w+)[\/|\.|\-](\w+)/gi.exec(a),n=/(\d+)[\/|\.|\-](\d+)[\/|\.|\-](\d+)/gi.exec(e),t&&4===t.length&&n&&4===n.length){for(var c=1;c<4;c++)t[c].includes("m")?i=parseInt(n[c],10)-1:t[c].includes("d")?o=parseInt(n[c],10):r=parseInt(n[c],10);i>=0&&i<=11&&r>1900&&o>0&&o<=31&&(s=new Date(r,i,o))}else if(t&&4===t.length&&e.length>=1){var l=/\d{1,4}(\/|\.|\-)(\d{1,2})/.exec(e),u=/^(\d{1,4})$/.exec(e),d=/\w+(\/|\.|\-)\w+[\/|\.|\-]\w+/gi.exec(a),h=e[e.length-1].match(/\/|\.|\-/);(l&&3===l.length&&this.isValidDatePart(l[2],t[2])&&!h||u&&2===u.length&&this.isValidDatePart(u[1],t[1])&&!h)&&(e="".concat(e).concat(d[1]))}return[s,e]}},{key:"parseTimeString",value:function(e,t){var n,i=new Date,o=this.labels.timeFormatAM,a=this.labels.timeFormatPM;if(!e||!e.includes(":"))return[i,e];if(!t&&o&&a){var s=[],c=!1;if(o=this.labels.timeFormatAM.toLowerCase(),a=this.labels.timeFormatPM.toLowerCase(),(e=e.toLowerCase()).includes(o)?s=e.split(o):e.includes(a)&&(s=e.split(a),c=!0),s&&s.length){var l,u=r(s);try{for(u.s();!(l=u.n()).done;){var d=l.value;d&&d.trim().includes(":")&&(n=d.trim().split(":"))}}catch(f){u.e(f)}finally{u.f()}}if(n&&n.length&&2===n.length){var h=parseInt(n[0],10);12===h&&c?h=12:c?h+=12:12===h&&(h=0),i.setHours(h),i.setMinutes(parseInt(n[1],10)),i.setSeconds(0)}}else(n=/(\d{1,2}):(\d{2})/.exec(e))&&n.length&&3===n.length&&(i.setHours(parseInt(n[1],10)),i.setMinutes(parseInt(n[2],10)),i.setSeconds(0));return[i,e]}},{key:"parseString",value:function(e,n,r){switch(r){case"datetime":var i=e.replace(/-/g,"/").split(" "),o=t(this.parseDateString(i[0]),2),a=o[0],s=o[1];if(i.length>1){var c=t(this.parseTimeString(i[1],n),2),l=c[0],u=c[1];return[new Date(a.setHours(l.getHours(),l.getMinutes())),"".concat(s," ").concat(u)]}return[a,s];case"date":return this.parseDateString(e);case"time":return this.parseTimeString(e,n);default:return}}},{key:"isValidDatePart",value:function(e,t){var n=parseInt(e,10);return!(!t.includes("m")||!(n>=2||2===e.length))||!(!t.includes("d")||!(n>=4||2===e.length))||!!(t.includes("y")&&n>=1e3)}}]),e}()).\u0275fac=function(e){return new(e||Kf)(c["\u0275\u0275inject"](bh))},Kf.\u0275prov=c["\u0275\u0275defineInjectable"]({token:Kf,factory:Kf.\u0275fac}),Kf),Ip={provide:La.NG_VALUE_ACCESSOR,useExisting:Object(c.forwardRef)((function(){return xp})),multi:!0},xp=((Qf=function(){function e(t,n,r,i){v(this,e),this.element=t,this.labels=n,this._changeDetectorRef=r,this.dateFormatService=i,this.formattedValue="",this._onChange=function(){},this._onTouched=function(){},this.textMaskEnabled=!0,this.allowInvalidDate=!1,this.disabled=!1,this.weekStart=0,this.blurEvent=new c.EventEmitter,this.focusEvent=new c.EventEmitter,this.changeEvent=new c.EventEmitter,this.placeholder=this.labels.dateFormatString().toUpperCase()||this.labels.dateFormatPlaceholder}return y(e,[{key:"ngOnInit",value:function(){this.userDefinedFormat=!!this.format&&!this.format.match(/^(DD\/MM\/YYYY|MM\/DD\/YYYY)$/g),this.maskOptions=this.userDefinedFormat||!this.textMaskEnabled||this.allowInvalidDate?{mask:!1}:this.maskOptions||{mask:this.dateFormatService.getDateMask(),pipe:ls()(this.format||this.labels.dateFormatString().toLowerCase()),keepCharPositions:!1,guide:!0}}},{key:"openPanel",value:function(){this.disabled||this.overlay.openPanel()}},{key:"closePanel",value:function(){this.overlay.closePanel()}},{key:"panelOpen",get:function(){return this.overlay&&this.overlay.panelOpen}},{key:"_handleKeydown",value:function(e){27!==e.keyCode&&13!==e.keyCode&&9!==e.keyCode||!this.panelOpen||(this._handleEvent(e,!0),this.closePanel(),e.stopPropagation())}},{key:"_handleInput",value:function(e){document.activeElement===e.target&&this._handleEvent(e,!1)}},{key:"_handleBlur",value:function(e){this.blurEvent.emit(e)}},{key:"_handleFocus",value:function(e){this.openPanel(),this.focusEvent.emit(e)}},{key:"_handleEvent",value:function(e,t){var n=e.target.value;""===n?(this.clearValue(),this.closePanel()):(this.formatDate(n,t),this.openPanel())}},{key:"formatDate",value:function(e,n){try{var r=t(this.dateFormatService.parseString(e,!1,"date"),2),i=r[0];if(r[1],isNaN(i.getUTCDate()))this.dispatchOnChange(null,n);else{var o=new Date(i);this.dispatchOnChange(o,n)}}catch(a){}}},{key:"writeValue",value:function(e){var t=this;Promise.resolve(null).then((function(){return t._setTriggerValue(e)}))}},{key:"registerOnChange",value:function(e){this._onChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e}},{key:"dispatchOnChange",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e!==this.value&&(this._onChange(e),this.changeEvent.emit(e),t?!n&&this.writeValue(e):!n&&this._setCalendarValue(e))}},{key:"_setTriggerValue",value:function(e){this._setCalendarValue(e),this._setFormValue(e),this._changeDetectorRef.markForCheck()}},{key:"_setCalendarValue",value:function(e){e instanceof Date&&this.value instanceof Date&&(e=new Date(e).setHours(0,0,0,0)),this.value=e}},{key:"_setFormValue",value:function(e){if(this.value){var t=this.formatDateValue(this.value);this.formattedValue=t}else this.formattedValue=""}},{key:"setValueAndClose",value:function(e){e&&e.date&&this.dispatchOnChange(e.date,!0),this.closePanel()}},{key:"clearValue",value:function(){this.formattedValue="",this.dispatchOnChange(null)}},{key:"formatDateValue",value:function(e){var t=e;try{return e?this.userDefinedFormat&&Object(Fa.isValid)(e)?Object(Fa.format)(e,this.format):(e instanceof Date||(e=new Date(e)),isNaN(e.valueOf())&&this.allowInvalidDate?t:this.labels.formatDateWithFormat(e,{month:"2-digit",day:"2-digit",year:"numeric"})):""}catch(n){return""}}},{key:"hasValue",get:function(){return!mh.isEmpty(this.value)}}]),e}()).\u0275fac=function(e){return new(e||Qf)(c["\u0275\u0275directiveInject"](c.ElementRef),c["\u0275\u0275directiveInject"](bh),c["\u0275\u0275directiveInject"](c.ChangeDetectorRef),c["\u0275\u0275directiveInject"](Ep))},Qf.\u0275cmp=c["\u0275\u0275defineComponent"]({type:Qf,selectors:[["novo-date-picker-input"]],viewQuery:function(e,t){var n;1&e&&c["\u0275\u0275viewQuery"](Vh,!0),2&e&&c["\u0275\u0275queryRefresh"](n=c["\u0275\u0275loadQuery"]())&&(t.overlay=n.first)},hostVars:2,hostBindings:function(e,t){2&e&&c["\u0275\u0275classProp"]("disabled",t.disabled)},inputs:{textMaskEnabled:"textMaskEnabled",allowInvalidDate:"allowInvalidDate",disabled:"disabled",weekStart:"weekStart",placeholder:"placeholder",maskOptions:"maskOptions",name:"name",start:"start",end:"end",format:"format"},outputs:{blurEvent:"blurEvent",focusEvent:"focusEvent",changeEvent:"changeEvent"},features:[c["\u0275\u0275ProvidersFeature"]([Ip])],decls:6,vars:12,consts:[["type","text","data-automation-id","date-input",3,"name","ngModel","textMask","placeholder","disabled","ngModelChange","focus","keydown","input","blur"],["input",""],["class","bhi-calendar",3,"click",4,"ngIf"],["class","bhi-times",3,"click",4,"ngIf"],["position","above-below",3,"parent"],["inline","true",3,"start","end","ngModel","weekStart","onSelect"],[1,"bhi-calendar",3,"click"],[1,"bhi-times",3,"click"]],template:function(e,t){1&e&&(c["\u0275\u0275elementStart"](0,"input",0,1),c["\u0275\u0275listener"]("ngModelChange",(function(e){return t.formattedValue=e}))("focus",(function(e){return t._handleFocus(e)}))("keydown",(function(e){return t._handleKeydown(e)}))("input",(function(e){return t._handleInput(e)}))("blur",(function(e){return t._handleBlur(e)})),c["\u0275\u0275elementEnd"](),c["\u0275\u0275template"](2,Rl,1,0,"i",2),c["\u0275\u0275template"](3,Ml,1,0,"i",3),c["\u0275\u0275elementStart"](4,"novo-overlay-template",4),c["\u0275\u0275elementStart"](5,"novo-date-picker",5),c["\u0275\u0275listener"]("onSelect",(function(e){return t.setValueAndClose(e)})),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()),2&e&&(c["\u0275\u0275property"]("name",t.name)("ngModel",t.formattedValue)("textMask",t.maskOptions)("placeholder",t.placeholder)("disabled",t.disabled),c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("ngIf",!t.hasValue),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",t.hasValue),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("parent",t.element),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("start",t.start)("end",t.end)("ngModel",t.value)("weekStart",t.weekStart))},directives:[La.DefaultValueAccessor,La.NgControlStatus,La.NgModel,ss.MaskedInputDirective,h.m,Vh,_p],encapsulation:2}),Qf),Op=((Jf=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:Jf}),Jf.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||Jf)},imports:[[h.c,La.FormsModule,Bh,ss.TextMaskModule]]}),Jf),Tp=((Zf=function(){function e(t){v(this,e),this.sanitizer=t,this.theme="danger",this.icon="caution",this.hasDialogue=!1,this.isCloseable=!1,this.closed=new c.EventEmitter,this.show=!1,this.animate=!1,this.parent=null,this.launched=!1}return y(e,[{key:"message",set:function(e){this._message=this.sanitizer.bypassSecurityTrustHtml(e)}},{key:"ngOnInit",value:function(){this.launched||(this.position=null,this.time=null,this.iconClass="bhi-"+this.icon,this.alertTheme=this.theme+" toast-container embedded",this.hasDialogue&&(this.alertTheme+=" dialogue"))}},{key:"ngOnChanges",value:function(e){this.iconClass="bhi-"+this.icon,this.alertTheme=this.theme+" toast-container embedded",this.hasDialogue&&(this.alertTheme+=" dialogue")}},{key:"clickHandler",value:function(e){this.isCloseable||(e&&(e.stopPropagation(),e.preventDefault()),this.parent?this.parent.hide(this):this.closed.emit({closed:!0}))}},{key:"close",value:function(e){e&&(e.stopPropagation(),e.preventDefault()),this.parent?this.parent.hide(this):this.closed.emit({closed:!0})}}]),e}()).\u0275fac=function(e){return new(e||Zf)(c["\u0275\u0275directiveInject"](u.DomSanitizer))},Zf.\u0275cmp=c["\u0275\u0275defineComponent"]({type:Zf,selectors:[["novo-toast"]],hostVars:8,hostBindings:function(e,t){1&e&&c["\u0275\u0275listener"]("click",(function(e){return!t.isCloseable&&t.clickHandler(e)})),2&e&&(c["\u0275\u0275classMap"](t.alertTheme),c["\u0275\u0275classProp"]("show",t.show)("animate",t.animate)("embedded",t.embedded))},inputs:{theme:"theme",icon:"icon",hasDialogue:"hasDialogue",isCloseable:"isCloseable",message:"message",title:"title",link:"link"},outputs:{closed:"closed"},features:[c["\u0275\u0275NgOnChangesFeature"]],ngContentSelectors:vs,decls:9,vars:5,consts:[[1,"toast-icon"],[3,"ngClass"],[1,"toast-content"],[4,"ngIf"],[3,"message-only","innerHtml",4,"ngIf"],["class","link-generated",4,"ngIf"],[1,"dialogue"],["class","close-icon",3,"click",4,"ngIf"],[3,"innerHtml"],[1,"link-generated"],["type","text","onfocus","this.select();",3,"value"],[1,"close-icon",3,"click"],[1,"bhi-times"]],template:function(e,t){1&e&&(c["\u0275\u0275projectionDef"](),c["\u0275\u0275elementStart"](0,"div",0),c["\u0275\u0275element"](1,"i",1),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](2,"div",2),c["\u0275\u0275template"](3,Nl,2,1,"h5",3),c["\u0275\u0275template"](4,jl,1,3,"p",4),c["\u0275\u0275template"](5,Fl,2,1,"div",5),c["\u0275\u0275elementStart"](6,"div",6),c["\u0275\u0275projection"](7),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275template"](8,Ll,2,0,"div",7)),2&e&&(c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngClass",t.iconClass),c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("ngIf",t.title),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",t._message),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",t.link),c["\u0275\u0275advance"](3),c["\u0275\u0275property"]("ngIf",t.isCloseable))},directives:[h.k,h.m],encapsulation:2}),Zf),Ap=((Wf=function(){function e(t){v(this,e),this.componentUtils=t,this.references=[],this.icons={default:"bell",success:"check",info:"info",warning:"warning",danger:"remove"},this.defaults={hideDelay:3500,position:"growlTopRight",theme:"default"}}return y(e,[{key:"parentViewContainer",set:function(e){this._parentViewContainer=e}},{key:"alert",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Tp;return new Promise((function(r){if(t._parentViewContainer){var i=t.componentUtils.append(n,t._parentViewContainer);t.references.push(i),t.handleAlert(i.instance,e),r(i)}else console.error("No parent view container specified for the ToastService. Set it inside your main application. \nthis.toastService.parentViewContainer = view (ViewContainerRef)")}))}},{key:"isVisible",value:function(e){return e.show}},{key:"hide",value:function(e){var t=this;e.animate=!1,setTimeout((function(){e.show=!1;var n=t.references.filter((function(t){return t.instance===e}))[0];n&&(t.references.splice(t.references.indexOf(n),1),n.destroy())}),300)}},{key:"handleAlert",value:function(e,t){var n=this;this.setToastOnSession(e,t),setTimeout((function(){n.show(e)}),20),e.isCloseable||this.toastTimer(e)}},{key:"setToastOnSession",value:function(e,t){var n="object"==typeof t?t:{};e.parent=this,e.title=n.title||"",e.message=n.message||"",e.hideDelay=n.hideDelay||this.defaults.hideDelay,e.link=n.link||"",e.isCloseable=n.isCloseable||!1;var r=n.customClass||"",i=n.theme||this.defaults.theme,o=n.position||this.defaults.position;e.iconClass="bhi-"+(n.icon||this.icons.default),e.launched=!0,e.alertTheme="".concat(i," ").concat(o," ").concat(r," toast-container launched")}},{key:"show",value:function(e){e.show=!0,setTimeout((function(){e.animate=!0}),25)}},{key:"toastTimer",value:function(e){var t=this;e.hideDelay<0||setTimeout((function(){t.hide(e)}),e.hideDelay)}}]),e}()).\u0275fac=function(e){return new(e||Wf)(c["\u0275\u0275inject"](Nh))},Wf.\u0275prov=c["\u0275\u0275defineInjectable"]({token:Wf,factory:Wf.\u0275fac}),Wf),Pp=((Yf=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:Yf}),Yf.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||Yf)},providers:[If],imports:[[Op,za,h.c,La.FormsModule,uh,Af,vp,Ch,bp,wp,Ef,Rf,fh]]}),Yf),Dp={provide:La.NG_VALUE_ACCESSOR,useExisting:Object(c.forwardRef)((function(){return Rp})),multi:!0},Rp=((Xf=function(){function e(t,n,r){v(this,e),this.element=t,this.labels=n,this._changeDetectorRef=r,this._onChange=function(){},this._onTouched=function(){},this.military=!1,this.disabled=!1,this.weekStart=0,this.blurEvent=new c.EventEmitter,this.focusEvent=new c.EventEmitter,this.changeEvent=new c.EventEmitter}return y(e,[{key:"writeValue",value:function(e){var t=this;this.datePart=Object(Fa.isDate)(e)?Object(Fa.parse)(e):e,this.timePart=Object(Fa.isDate)(e)?Object(Fa.parse)(e):e,Promise.resolve(null).then((function(){return t._setTriggerValue(e)}))}},{key:"updateDate",value:function(e){this.datePart=e,this.checkParts()}},{key:"updateTime",value:function(e){this.timePart=e,this.checkParts()}},{key:"handleBlur",value:function(e){this.blurEvent.emit(e),this.changeEvent.emit(e)}},{key:"handleFocus",value:function(e){this.focusEvent.emit(e)}},{key:"checkParts",value:function(){try{this.datePart instanceof Date&&this.timePart instanceof Date?this.dispatchOnChange(new Date(this.datePart.getFullYear(),this.datePart.getMonth(),this.datePart.getDate(),this.timePart.getHours(),this.timePart.getMinutes())):this.datePart instanceof Date?(this.timePart=new Date(this.datePart.getFullYear(),this.datePart.getMonth(),this.datePart.getDate(),12,0),this.dispatchOnChange(new Date(this.datePart.getFullYear(),this.datePart.getMonth(),this.datePart.getDate(),this.timePart.getHours(),this.timePart.getMinutes()))):this.dispatchOnChange(null)}catch(e){this.dispatchOnChange(null)}}},{key:"registerOnChange",value:function(e){this._onChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e}},{key:"dispatchOnChange",value:function(e){e!==this.value&&(this._onChange(e),this._setTriggerValue(e))}},{key:"_setTriggerValue",value:function(e){this.value=e,this._changeDetectorRef.markForCheck()}},{key:"setValue",value:function(e){e&&e.date&&this.dispatchOnChange(e.date)}},{key:"setValueAndClose",value:function(e){this.setValue(e)}},{key:"clearValue",value:function(){this.dispatchOnChange(null)}},{key:"hasValue",get:function(){return!mh.isEmpty(this.value)}}]),e}()).\u0275fac=function(e){return new(e||Xf)(c["\u0275\u0275directiveInject"](c.ElementRef),c["\u0275\u0275directiveInject"](bh),c["\u0275\u0275directiveInject"](c.ChangeDetectorRef))},Xf.\u0275cmp=c["\u0275\u0275defineComponent"]({type:Xf,selectors:[["novo-date-time-picker-input"]],inputs:{military:"military",disabled:"disabled",weekStart:"weekStart",name:"name",start:"start",end:"end",placeholder:"placeholder",maskOptions:"maskOptions",format:"format"},outputs:{blurEvent:"blurEvent",focusEvent:"focusEvent",changeEvent:"changeEvent"},features:[c["\u0275\u0275ProvidersFeature"]([Dp])],decls:2,vars:9,consts:[[3,"ngModel","start","end","maskOptions","disabled","weekStart","ngModelChange","blurEvent","focusEvent"],[3,"ngModel","military","disabled","ngModelChange","blurEvent","focusEvent"]],template:function(e,t){1&e&&(c["\u0275\u0275elementStart"](0,"novo-date-picker-input",0),c["\u0275\u0275listener"]("ngModelChange",(function(e){return t.updateDate(e)}))("blurEvent",(function(e){return t.handleBlur(e)}))("focusEvent",(function(e){return t.handleFocus(e)})),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](1,"novo-time-picker-input",1),c["\u0275\u0275listener"]("ngModelChange",(function(e){return t.updateTime(e)}))("blurEvent",(function(e){return t.handleBlur(e)}))("focusEvent",(function(e){return t.handleFocus(e)})),c["\u0275\u0275elementEnd"]()),2&e&&(c["\u0275\u0275property"]("ngModel",t.datePart)("start",t.start)("end",t.end)("maskOptions",t.maskOptions)("disabled",t.disabled)("weekStart",t.weekStart),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngModel",t.timePart)("military",t.military)("disabled",t.disabled))},directives:function(){return[xp,La.NgControlStatus,La.NgModel,Fp]},encapsulation:2}),Xf),Mp={provide:La.NG_VALUE_ACCESSOR,useExisting:Object(c.forwardRef)((function(){return Np})),multi:!0},Np=(($f=function(){function e(){v(this,e),this.military=!1,this.analog=!1,this.inline=!1,this.onSelect=new c.EventEmitter,this.hours=12,this.minutes=0,this.value=null,this.increments=[],this.MERIDIANS=["am","pm"],this.MINUTES=["05","10","15","20","25","30","35","40","45","50","55","00"],this.HOURS=["1","2","3","4","5","6","7","8","9","10","11","12"],this._onChange=function(){},this._onTouched=function(){}}return y(e,[{key:"flatten",value:function(e){var t;return(t=Array.prototype).concat.apply(t,n(e))}},{key:"ngOnInit",value:function(){if(this.military)this.HOURS=["0"].concat(n(this.HOURS),["13","14","15","16","17","18","19","20","21","22","23"]),this.increments=this.flatten(n(this.HOURS.map((function(e){return[e+":00",e+":15",e+":30",e+":45"]}))));else{var e=["12","1","2","3","4","5","6","7","8","9","10","11"];this.increments=this.flatten([].concat(n(e.map((function(e){return[e+":00 AM",e+":15 AM",e+":30 AM",e+":45 AM"]}))),n(e.map((function(e){return[e+":00 PM",e+":15 PM",e+":30 PM",e+":45 PM"]})))))}this.ngOnChanges()}},{key:"ngOnChanges",value:function(e){this.model?this.init(this.model,!1):(this.selected=null,this.init(new Date,!1))}},{key:"init",value:function(e,t){var n=new Date(e),r=n.getHours(),i=n.getMinutes();this.military||(this.meridian=r>=12?"pm":"am",r=(r%=12)||12),i=i<10?"0"+i:i,this.setHours(null,r,t),this.setMinutes(null,i,t),this.checkBetween(i)}},{key:"checkBetween",value:function(e){this.inBetween=this.MINUTES.indexOf(String(e))<0}},{key:"setValue",value:function(e,n){mh.swallowEvent(e),this.selected=n;var r=t(n.split(" "),2),i=r[0],o=r[1],a=t(i.split(":"),2),s=a[0],c=a[1];this.hours=s,this.minutes=c,this.meridian=o,this.dispatchChange()}},{key:"setHours",value:function(e,t,n){mh.swallowEvent(e),this.hours=t,this.hoursClass="hour-"+t,this.activeHour=t,n&&this.dispatchChange()}},{key:"setMinutes",value:function(e,t,n){mh.swallowEvent(e),this.minutes=t,this.minutesClass="min-"+t,this.activeMinute=t,this.checkBetween(t),n&&this.dispatchChange()}},{key:"setPeriod",value:function(e,t,n){mh.swallowEvent(e),this.meridian=t,n&&this.dispatchChange()}},{key:"dispatchChange",value:function(){var e=Number(this.hours);this.military||(e="pm"===this.meridian.toLowerCase()?e+12:e,"pm"===this.meridian.toLowerCase()&&24===e?e=12:"am"===this.meridian.toLowerCase()&&12===e&&(e=0));var t=new Date;t.setHours(e),t.setMinutes(this.minutes),t.setSeconds(0),this.value="".concat(this.hours,":").concat(this.minutes," ").concat(this.meridian),this.onSelect.next({hours:e,minutes:this.minutes,meridian:this.meridian,date:t,text:this.value}),this._onChange(t)}},{key:"writeValue",value:function(e){this.model=e,mh.isDate(e)&&this.init(e,!1)}},{key:"registerOnChange",value:function(e){this._onChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}}]),e}()).\u0275fac=function(e){return new(e||$f)},$f.\u0275cmp=c["\u0275\u0275defineComponent"]({type:$f,selectors:[["novo-time-picker"]],hostVars:2,hostBindings:function(e,t){2&e&&c["\u0275\u0275classProp"]("military",t.military)},inputs:{military:"military",analog:"analog",inline:"inline"},outputs:{onSelect:"onSelect"},features:[c["\u0275\u0275ProvidersFeature"]([Mp]),c["\u0275\u0275NgOnChangesFeature"]],decls:6,vars:8,consts:[[1,"digital"],[1,"digital--inner"],["class","digital--clock",4,"ngIf"],["class","control-block",4,"ngIf"],["class","increments",4,"ngIf"],["class","analog",4,"ngIf"],[1,"digital--clock"],["data-automation-id","novo-time-picker-hours",1,"hours"],["data-automation-id","novo-time-picker-minutes",1,"minutes"],[1,"control-block"],["class","digital--period",3,"active","click",4,"ngFor","ngForOf"],[1,"digital--period",3,"click"],[1,"increments"],["direction","vertical","data-automation-id","novo-time-picker-increments"],[3,"active","click",4,"ngFor","ngForOf"],[3,"click"],["class","bhi-check",4,"ngIf"],[1,"bhi-check"],[1,"analog"],[1,"analog--inner"],[1,"analog--face"],[1,"analog--center"],[1,"analog--hand--hours",3,"ngClass"],[1,"analog--ball"],[1,"analog--hand--minutes",3,"ngClass"],[1,"analog--ball",3,"ngClass"],[1,"analog--hours"],["class","analog--hour",3,"ngClass","click",4,"ngFor","ngForOf"],[1,"analog--minutes"],["class","analog--minute",3,"ngClass","click",4,"ngFor","ngForOf"],[1,"analog--hour",3,"ngClass","click"],[1,"analog--minute",3,"ngClass","click"]],template:function(e,t){1&e&&(c["\u0275\u0275elementStart"](0,"div",0),c["\u0275\u0275elementStart"](1,"div",1),c["\u0275\u0275template"](2,Vl,6,2,"span",2),c["\u0275\u0275template"](3,Ul,2,1,"div",3),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275template"](4,ql,3,1,"div",4),c["\u0275\u0275template"](5,Wl,12,7,"div",5)),2&e&&(c["\u0275\u0275classProp"]("inline",t.inline)("military",t.military),c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("ngIf",!t.inline),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",!t.military),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",!t.analog),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",t.analog))},directives:[h.m,h.l,Ih,xh,Dh,h.k],encapsulation:2}),$f),jp={provide:La.NG_VALUE_ACCESSOR,useExisting:Object(c.forwardRef)((function(){return Fp})),multi:!0},Fp=((rm=function(){function e(t,n,r,i){v(this,e),this.element=t,this.labels=n,this.dateFormatService=r,this._changeDetectorRef=i,this.formattedValue="",this._onChange=function(){},this._onTouched=function(){},this.military=!1,this.disabled=!1,this.blurEvent=new c.EventEmitter,this.focusEvent=new c.EventEmitter}return y(e,[{key:"ngOnInit",value:function(){this.placeholder=this.military?this.labels.timeFormatPlaceholder24Hour:this.labels.timeFormatPlaceholderAM,this.maskOptions={mask:this.military?[/\d/,/\d/,":",/\d/,/\d/]:[/\d/,/\d/,":",/\d/,/\d/," ",/[aApP\u4e0a\u4e0b]/,/[mM\u5348]/],pipe:this.military?ls()("HH:MM"):ls()("mm:MM"),keepCharPositions:!1,guide:!0}}},{key:"openPanel",value:function(){var e=this;if(!this.overlay.panelOpen){this.overlay.openPanel();var t=(new Date).getHours();Promise.resolve(null).then((function(){return e.scrollToIndex(4*t)}))}}},{key:"closePanel",value:function(){this.overlay.closePanel()}},{key:"panelOpen",get:function(){return this.overlay&&this.overlay.panelOpen}},{key:"_handleKeydown",value:function(e){27!==e.keyCode&&13!==e.keyCode&&9!==e.keyCode||!this.panelOpen||(this.closePanel(),e.stopPropagation(),e.stopImmediatePropagation())}},{key:"_handleInput",value:function(e){if(document.activeElement===e.target){var n=e.target.value;if(this.military?5===n.replace(/_/g,"").length:8===n.replace(/_/g,"").length){var r=t(this.dateFormatService.parseString(n,this.military,"time"),2),i=r[0];r[1],this.dispatchOnChange(i)}else this.dispatchOnChange(null);this.openPanel();var o=Number(n.split(":")[0]);this.scrollToIndex(4*o)}}},{key:"_handleBlur",value:function(e){this.blurEvent.emit(e)}},{key:"_handleFocus",value:function(e){this.openPanel(),this.focusEvent.emit(e)}},{key:"writeValue",value:function(e){var t=this;Promise.resolve(null).then((function(){return t._setTriggerValue(e)}))}},{key:"registerOnChange",value:function(e){this._onChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e}},{key:"dispatchOnChange",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e!==this.value&&(this._onChange(e),!t&&this.writeValue(e))}},{key:"_setTriggerValue",value:function(e){this._setCalendarValue(e),this._setFormValue(e),this._changeDetectorRef.markForCheck()}},{key:"_setCalendarValue",value:function(e){e instanceof Date&&this.value instanceof Date&&(e=new Date(e.setFullYear(this.value.getFullYear(),this.value.getMonth(),this.value.getDate()))),this.value=e}},{key:"_setFormValue",value:function(e){if(this.value){var t=this.formatDateValue(this.value);this.formattedValue=t}else this.formattedValue=""}},{key:"setValue",value:function(e){e&&e.date&&this.dispatchOnChange(e.date)}},{key:"setValueAndClose",value:function(e){this.setValue(e),this.closePanel()}},{key:"clearValue",value:function(){this.formattedValue="",this.dispatchOnChange(null)}},{key:"formatDateValue",value:function(e){if(!e)return"";var t=this.labels.formatTimeWithFormat(e,{hour:"numeric",minute:"2-digit",hour12:!this.military});return 1===t.split(":")[0].length?"0"+t:t}},{key:"hasValue",get:function(){return!mh.isEmpty(this.value)}},{key:"scrollToIndex",value:function(e){var t=this.overlay.overlayRef.overlayElement.querySelector(".increments"),n=t.querySelectorAll("novo-list-item")[e];n&&(t.scrollTop=n.offsetTop)}}]),e}()).\u0275fac=function(e){return new(e||rm)(c["\u0275\u0275directiveInject"](c.ElementRef),c["\u0275\u0275directiveInject"](bh),c["\u0275\u0275directiveInject"](Ep),c["\u0275\u0275directiveInject"](c.ChangeDetectorRef))},rm.\u0275cmp=c["\u0275\u0275defineComponent"]({type:rm,selectors:[["novo-time-picker-input"]],viewQuery:function(e,t){var n;1&e&&c["\u0275\u0275viewQuery"](Vh,!0),2&e&&c["\u0275\u0275queryRefresh"](n=c["\u0275\u0275loadQuery"]())&&(t.overlay=n.first)},hostVars:2,hostBindings:function(e,t){2&e&&c["\u0275\u0275classProp"]("disabled",t.disabled)},inputs:{military:"military",disabled:"disabled",placeholder:"placeholder",maskOptions:"maskOptions",name:"name"},outputs:{blurEvent:"blurEvent",focusEvent:"focusEvent"},features:[c["\u0275\u0275ProvidersFeature"]([jp])],decls:6,vars:10,consts:[["type","text","data-automation-id","time-input",3,"name","ngModel","textMask","placeholder","disabled","ngModelChange","focus","keydown","input","blur"],["input",""],["class","bhi-clock",3,"click",4,"ngIf"],["class","bhi-times",3,"click",4,"ngIf"],["position","above-below",3,"parent"],["inline","true",3,"ngModel","military","onSelect"],[1,"bhi-clock",3,"click"],[1,"bhi-times",3,"click"]],template:function(e,t){1&e&&(c["\u0275\u0275elementStart"](0,"input",0,1),c["\u0275\u0275listener"]("ngModelChange",(function(e){return t.formattedValue=e}))("focus",(function(e){return t._handleFocus(e)}))("keydown",(function(e){return t._handleKeydown(e)}))("input",(function(e){return t._handleInput(e)}))("blur",(function(e){return t._handleBlur(e)})),c["\u0275\u0275elementEnd"](),c["\u0275\u0275template"](2,Zl,1,0,"i",2),c["\u0275\u0275template"](3,Jl,1,0,"i",3),c["\u0275\u0275elementStart"](4,"novo-overlay-template",4),c["\u0275\u0275elementStart"](5,"novo-time-picker",5),c["\u0275\u0275listener"]("onSelect",(function(e){return t.setValue(e)})),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()),2&e&&(c["\u0275\u0275property"]("name",t.name)("ngModel",t.formattedValue)("textMask",t.maskOptions)("placeholder",t.placeholder)("disabled",t.disabled),c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("ngIf",!t.hasValue),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",t.hasValue),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("parent",t.element),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngModel",t.value)("military",t.military))},directives:[La.DefaultValueAccessor,La.NgControlStatus,La.NgModel,ss.MaskedInputDirective,h.m,Vh,Np],encapsulation:2}),rm),Lp=((nm=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:nm}),nm.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||nm)},imports:[[h.c,La.FormsModule,ss.TextMaskModule,Bh,Rh]]}),nm),Vp=((tm=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:tm}),tm.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||tm)},imports:[[h.c,La.FormsModule,Op,Lp,ss.TextMaskModule,Bh]]}),tm),Bp=((em=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:em}),em.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||em)},imports:[[h.c,us,Zo]]}),em),Up=function(e){l(n,e);var t=d(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"BaseControl",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return v(this,n),(e=t.call(this)).__type="BaseControl",e.__type=r,e.__config=i,e.validators=i.validators||[],e.asyncValidators=i.asyncValidators||[],e.value=i.value,e.key=i.key||"",e.label=i.label||"",e.checkboxLabel=i.checkboxLabel,e.name=i.name||"",e.required=!!i.required,e.hidden=!!i.hidden,e.encrypted=!!i.encrypted,e.sortOrder=void 0===i.sortOrder?1:i.sortOrder,e.controlType=i.controlType||"",e.type=i.type,e.subType=i.subType,e.metaType=i.metaType,e.placeholder=i.placeholder||"",e.config=i.config||null,e.dirty=!(null==i.value),e.multiple=!!i.multiple,e.headerConfig=i.headerConfig||null,e.currencyFormat=i.currencyFormat||null,e.associatedEntity=i.associatedEntity||null,e.optionsType=i.optionsType||null,e.options=i.options||[],e.forceClear=new c.EventEmitter,e.readOnly=!!i.readOnly||!!i.disabled,e.disabled=!!i.disabled,e.layoutOptions=i.layoutOptions||{},e.military=!!i.military,e.dateFormat=i.dateFormat,e.textMaskEnabled=i.textMaskEnabled,e.maskOptions=i.maskOptions,e.allowInvalidDate=i.allowInvalidDate,e.startDate=i.startDate,e.endDate=i.endDate,e.restrictFieldInteractions=!!i.restrictFieldInteractions,e.highlighted=!!i.highlighted,mh.isEmpty(i.warning)||(e.warning=i.warning),e.required&&e.validators.push(La.Validators.required),mh.isBlank(i.maxlength)||(e.maxlength=i.maxlength,e.validators.push(La.Validators.maxLength(e.maxlength))),mh.isBlank(i.minlength)||(e.minlength=i.minlength,e.validators.push(La.Validators.minLength(e.minlength))),e.closeOnSelect=!!i.closeOnSelect,e.interactions=i.interactions,e.dataSpecialization=i.dataSpecialization,e.dataType=i.dataType,e.appendToBody=!!i.appendToBody,e.appendToBody&&Kh("'appendToBody' has been deprecated. Please remove this attribute."),e.parentScrollSelector=i.parentScrollSelector,e.description=i.description,i.tooltip&&(e.tooltip=i.tooltip,e.tooltipPosition=i.tooltipPosition,e.tooltipSize=i.tooltipSize,e.tooltipPreline=i.tooltipPreline,e.removeTooltipArrow=i.removeTooltipArrow,e.tooltipAutoPosition=i.tooltipAutoPosition),e.template=i.template,e.customControlConfig=i.customControlConfig,e.tipWell=i.tipWell,e.width=i.width,e.startupFocus=!!i.startupFocus,i.fileBrowserImageUploadUrl&&(e.fileBrowserImageUploadUrl=i.fileBrowserImageUploadUrl),i.isEmpty&&(e.isEmpty=i.isEmpty),e.weekStart=i.weekStart||0,e}return n}(function(){return function e(){v(this,e),this.isEmbedded=!1,this.isInlineEmbedded=!1,this.highlighted=!1}}()),Hp=function(){function e(){v(this,e)}return y(e,[{key:"showStateRequiredFlag",value:function(e,t){return"state"===e&&!mh.isEmpty(t.config.state)&&t.config.state.required&&mh.isBlank(t.value.state)&&t.config.state.updated&&!mh.isBlank(t.value.countryName)&&t.config.state.pickerConfig&&t.config.state.pickerConfig.defaultOptions&&t.config.state.pickerConfig.defaultOptions.length>0}}],[{key:"maxInteger",value:function(e){return e.value<2147483647?null:{integerTooLarge:!0}}},{key:"minYear",value:function(e){return e.value?e.value>=1753?null:{minYear:!0}:null}},{key:"maxDouble",value:function(e){return e.value<Number.MAX_SAFE_INTEGER?null:{doubleTooLarge:!0}}},{key:"isEmail",value:function(e){return!e.value||/^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i.test(e.value)?null:{invalidEmail:!0}}},{key:"isValidAddress",value:function(e){var t=[],n=[],r=null,i=!1;if(e.value&&e.config){var o=!0,a=!0;return["address1","address2","city","state","zip","countryID"].forEach((function(r){mh.isEmpty(e.config[r])||((-1===["countryID","state"].indexOf(r)&&e.config[r].required&&!mh.isBlank(e.value[r])&&mh.isEmpty(e.value[r])||function(e,t){return"countryID"===e&&!mh.isEmpty(t.config.countryID)&&t.config.countryID.required&&mh.isBlank(t.value.countryName)&&t.config.countryID.updated}(r,e)||function(e,t){return"state"===e&&!mh.isEmpty(t.config.state)&&t.config.state.required&&mh.isBlank(t.value.state)&&t.config.state.updated&&!mh.isBlank(t.value.countryName)&&t.config.state.pickerConfig&&t.config.state.pickerConfig.defaultOptions&&t.config.state.pickerConfig.defaultOptions.length>0}(r,e))&&(o=!1,t.push(e.config[r].label)),!("countryID"!==r&&e.config[r].required&&mh.isEmpty(e.value[r])||"countryID"===r&&!mh.isEmpty(e.config.countryID)&&e.config.countryID.required&&mh.isEmpty(e.value.countryName))||"state"===r&&!mh.isBlank(e.value.countryName)&&e.config.state.pickerConfig&&e.config.state.pickerConfig.defaultOptions&&0===e.config.state.pickerConfig.defaultOptions.length||(a=!1),!mh.isEmpty(e.config[r].maxlength)&&!mh.isEmpty(e.value[r])&&e.value[r].length>e.config[r].maxlength&&(i=!0,n.push(r),a=!1))})),o&&a&&!i||(r={}),o||(r.invalidAddress=!0,r.invalidAddressFields=t),a||(r.invalidAddressForForm=!0),i&&(r.maxlength=!0,r.maxlengthFields=n),r}return null}}]),e}(),Gp=function(e){l(n,e);var t=d(n);function n(e){var r;return v(this,n),(r=t.call(this,"AddressControl",e)).controlType="address",r.validators.push(Hp.isValidAddress),r}return n}(Up),qp=function(e){l(n,e);var t=d(n);function n(e){var r;return v(this,n),(r=t.call(this,"CheckListControl",e)).controlType="checklist",r.options=e.options||[],r}return n}(Up),Kp=function(e){l(n,e);var t=d(n);function n(e){var r;return v(this,n),(r=t.call(this,"CheckboxControl",e)).controlType="checkbox",r}return n}(Up),zp=function(e){l(n,e);var t=d(n);function n(e){var r;return v(this,n),(r=t.call(this,"DateControl",e)).controlType="date",r}return n}(Up),Yp=function(e){l(n,e);var t=d(n);function n(e){var r;return v(this,n),(r=t.call(this,"DateTimeControl",e)).controlType="date-time",r}return n}(Up),Wp=function(e){l(n,e);var t=d(n);function n(e){var r;return v(this,n),(r=t.call(this,"EditorControl",e)).controlType="editor",r.minimal=!1,r}return n}(Up),Zp=function(e){l(n,e);var t=d(n);function n(e){var r;return v(this,n),(r=t.call(this,"FileControl",e)).controlType="file",r.placeholder=e.placeholder,r.multiple=e.multiple,r}return n}(Up),Jp=function(e){l(n,e);var t=d(n);function n(e){var r;return v(this,n),(r=t.call(this,"PickerControl",e)).controlType="picker",r.options=[],r.options=e.options||[],r}return n}(Up),Qp=function(e){l(n,e);var t=d(n);function n(e){var r;return v(this,n),(r=t.call(this,"RadioControl",e)).controlType="radio",r.options=[],r.options=e.options||[],r}return n}(Up),Xp=function(e){l(n,e);var t=d(n);function n(e){var r;return v(this,n),(r=t.call(this,"SelectControl",e)).controlType="select",r.options=[],r.options=e.options||[],r.placeholder=e.placeholder||"",r}return n}(Up),$p=function(e){l(n,e);var t=d(n);function n(e){var r;return v(this,n),(r=t.call(this,"TextAreaControl",e)).controlType="text-area",r}return n}(Up),ev=function(e){l(n,e);var t=d(n);function n(e){var r;return v(this,n),(r=t.call(this,"TextBoxControl",e)).controlType="textbox",r.type=r.getTextboxType(e.type)||"",r.subType=e.type||"",r.setValidators(r.subType),r}return y(n,[{key:"setValidators",value:function(e){switch(e){case"email":this.validators.push(Hp.isEmail);break;case"number":case"currency":this.validators.push(Hp.maxInteger);break;case"float":case"percentage":this.validators.push(Hp.maxDouble);break;case"year":this.validators.push(Hp.minYear)}}},{key:"getTextboxType",value:function(e){switch(e){case"percentage":case"currency":case"float":case"year":return"number";default:return e}}}]),n}(Up),tv=function(e){l(n,e);var t=d(n);function n(e){var r;return v(this,n),(r=t.call(this,"TilesControl",e)).controlType="tiles",r.options=[],r.options=e.options||[],r}return n}(Up),nv=function(e){l(n,e);var t=d(n);function n(e){var r;return v(this,n),(r=t.call(this,"TimeControl",e)).controlType="time",r}return n}(Up),rv=function(e){l(n,e);var t=d(n);function n(e){var r;return v(this,n),(r=t.call(this,e.template,e)).controlType="custom",r.controlType=e.template,r}return n}(Up),iv=function(e){l(r,e);var t=d(r);function r(e,n){var i;return v(this,r),(i=t.call(this,e,n.validators,n.asyncValidators)).displayValueChanges=new c.EventEmitter,i.valueHistory=[],i.validators=n.validators,i.initialValue=e,i.valueHistory.push(e),i.key=n.key,i.label=n.label,i.readOnly=n.readOnly,i.hidden=n.hidden,i.encrypted=n.encrypted,i.config=n.config,i.type=n.type,i.subType=n.subType,i.required=n.required,i.hasRequiredValidator=i.required,i.tooltip=n.tooltip,i.tooltipPosition=n.tooltipPosition,i.tooltipSize=n.tooltipSize,i.tooltipPreline=n.tooltipPreline,i.removeTooltipArrow=n.removeTooltipArrow,i.tooltipAutoPosition=n.tooltipAutoPosition,i.label=n.label,i.name=n.name,i.required=n.required,i.sortOrder=n.sortOrder,i.controlType=n.controlType,i.placeholder=n.placeholder,i.minimal=n.minimal,i.multiple=n.multiple,i.headerConfig=n.headerConfig,i.optionsType=n.optionsType,i.readOnly=n.readOnly,i.layoutOptions=n.layoutOptions,i.military=n.military,i.dateFormat=n.dateFormat,i.currencyFormat=n.currencyFormat,i.startDate=n.startDate,i.endDate=n.endDate,i.weekStart=n.weekStart,i.textMaskEnabled=n.textMaskEnabled,i.textMaskEnabled=n.textMaskEnabled,i.maskOptions=n.maskOptions,i.allowInvalidDate=n.allowInvalidDate,i.maxlength=n.maxlength,i.minlength=n.minlength,i.closeOnSelect=n.closeOnSelect,i.interactions=n.interactions,i.checkboxLabel=n.checkboxLabel,i.restrictFieldInteractions=n.restrictFieldInteractions,i.appendToBody=n.appendToBody,i.appendToBody&&Kh("'appendToBody' has been deprecated. Please remove this attribute."),i.parentScrollSelector=n.parentScrollSelector,i.description=n.description,i.options=n.options,i.tipWell=n.tipWell,i.customControlConfig=n.customControlConfig,i.warning=n.warning,i.readOnly?i.disable():i.enable(),i}return y(r,[{key:"hide",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.hidden=!0,e&&this.setValue(null)}},{key:"show",value:function(){this.hidden=!1}},{key:"setRequired",value:function(e){if(this.required=e,this.required&&!this.hasRequiredValidator){var t=n(this.validators);t.push(La.Validators.required),this.setValidators(t),this.updateValueAndValidity({emitEvent:!1}),this.hasRequiredValidator=this.required}else if(!this.required&&this.hasRequiredValidator){var r=n(this.validators);r=r.filter((function(e){return e!==La.Validators.required})),this.setValidators(r),this.updateValueAndValidity({emitEvent:!1}),this.hasRequiredValidator=this.required}}},{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=n.onlySelf,o=n.emitEvent,a=n.emitModelToViewChange,c=n.emitViewToModelChange;this.markAsDirty(),this.markAsTouched(),this.displayValueChanges.emit(e),s(p(r.prototype),"setValue",this).call(this,e,{onlySelf:i,emitEvent:o,emitModelToViewChange:a,emitViewToModelChange:c}),clearTimeout(this.historyTimeout),this.historyTimeout=setTimeout((function(){t.valueHistory.push(e)}),300)}},{key:"setReadOnly",value:function(e){this.readOnly=e,this.readOnly?this.disable():this.enable()}},{key:"disable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{emitEvent:!1};void 0===e.emitEvent&&(e.emitEvent=!1),s(p(r.prototype),"disable",this).call(this,e)}},{key:"enable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{emitEvent:!1};void 0===e.emitEvent&&(e.emitEvent=!1),s(p(r.prototype),"enable",this).call(this,e)}},{key:"markAsInvalid",value:function(e){this.markAsDirty(),this.markAsTouched(),this.setErrors(Object.assign({},this.errors,{custom:e}))}},{key:"markAsValid",value:function(){this.setErrors(null)}}]),r}(La.FormControl),ov=function(e){l(n,e);var t=d(n);function n(){var e;return v(this,n),(e=t.apply(this,arguments)).fieldInteractionEvents=new c.EventEmitter,e}return y(n,[{key:"value",get:function(){return this.getRawValue()},set:function(e){this._value=e}},{key:"enableAllControls",value:function(){for(var e in this.controls)this.controls[e].readOnly&&(this.controls[e].readOnly=!1,this.controls[e].enable())}},{key:"disableAllControls",value:function(){for(var e in this.controls)this.controls[e].readOnly||(this.controls[e].readOnly=!0,this.controls[e].disable())}}]),n}(La.FormGroup),av=((om=function(){function e(){v(this,e)}return y(e,[{key:"getOptionsConfig",value:function(e,t,n){return{field:"value",format:"$label",options:function(n){return new Promise((function(r,i){n&&n.length?e.get("".concat(t.optionsUrl,"?filter=").concat(n||"")).subscribe(r,i):r([])}))}}}}]),e}()).\u0275fac=function(e){return new(e||om)},om.\u0275prov=c["\u0275\u0275defineInjectable"]({token:om,factory:om.\u0275fac}),om),sv=((im=function(){function e(t,n){v(this,e),this.labels=t,this.optionsService=n,this.ASSOCIATED_ENTITY_LIST=["Candidate","ClientContact","ClientCorporation","CorporationDepartment","Lead","Opportunity","JobOrder","CorporateUser","Person","Placement"],this.ENTITY_PICKER_LIST=["Candidate","CandidateText","Client","ClientText","ClientContact","ClientContactText","ClientCorporation","ClientCorporationText","Lead","LeadText","Opportunity","OpportunityText","JobOrder","JobOrderText","CorporateUser","CorporateUserText","Person","PersonText","Placement"]}return y(e,[{key:"toFormGroup",value:function(e){var t={};return e.forEach((function(e){var n=mh.isBlank(e.value)?"":e.value;t[e.key]=new iv(n,e)})),new ov(t)}},{key:"emptyFormGroup",value:function(){return new ov({})}},{key:"addControls",value:function(e,t){t.forEach((function(t){var n=mh.isBlank(t.value)?"":t.value,r=new iv(n,t);e.addControl(t.key,r)}))}},{key:"removeControls",value:function(e,t){t.forEach((function(t){e.removeControl(t.key)}))}},{key:"toFormGroupFromFieldset",value:function(e){var t=[];return e.forEach((function(e){t.push.apply(t,n(e.controls))})),this.toFormGroup(t)}},{key:"hasAssociatedEntity",value:function(e){return!(!e.associatedEntity||!~this.ASSOCIATED_ENTITY_LIST.indexOf(e.associatedEntity.entity))}},{key:"determineInputType",value:function(e){var t,n={DATETIME:"datetime",TIME:"time",MONEY:"currency",PERCENTAGE:"percentage",HTML:"editor","HTML-MINIMAL":"editor-minimal",YEAR:"year",WORKFLOW_OPTIONS:"select",SPECIALIZED_OPTIONS:"select",ALL_WORKFLOW_OPTIONS:"select",WorkflowOptionsLookup:"select",SpecializedOptionsLookup:"select",SimplifiedOptionsLookup:"select",AllWorkflowOptionsLookup:"select"},r={Timestamp:"date",Date:"date",Boolean:"tiles"},i={CHECKBOX:"radio",RADIO:"radio",SELECT:"select",TILES:"tiles"},o={CHECKBOX:"checklist",RADIO:"checklist",SELECT:"chips"},a={file:"file",COMPOSITE:"address"},s={Double:"float",BigDecimal:"float",Integer:"number"};return"TO_MANY"===e.type?t=this.hasAssociatedEntity(e)?!1===e.multiValue?"entitypicker":"entitychips":!1===e.multiValue?"picker":"chips":"TO_ONE"===e.type?t="SYSTEM"===e.dataSpecialization&&["WorkflowOptionsLookup","SpecializedOptionsLookup","AllWorkflowOptionsLookup"].includes(e.dataType)?n[e.dataType]:["WORKFLOW_OPTIONS","SPECIALIZED_OPTIONS","ALL_WORKFLOW_OPTIONS"].includes(e.dataSpecialization)?n[e.dataSpecialization]:["SimplifiedOptionsLookup","SpecializedOptionsLookup"].includes(e.dataType)?e.options&&Object.keys(i).indexOf(e.inputType)>-1&&!e.multiValue?i[e.inputType]:e.options&&Object.keys(o).indexOf(e.inputType)>-1&&e.multiValue?o[e.inputType]:n[e.dataType]:this.hasAssociatedEntity(e)?"entitypicker":"picker":e.optionsUrl&&"SELECT"===e.inputType?t=e.optionsType&&~this.ENTITY_PICKER_LIST.indexOf(e.optionsType)?"entitypicker":"picker":Object.keys(n).indexOf(e.dataSpecialization)>-1?t=n[e.dataSpecialization]:Object.keys(r).indexOf(e.dataType)>-1?t=r[e.dataType]:"TEXTAREA"===e.inputType?t="textarea":e.options&&Object.keys(i).indexOf(e.inputType)>-1&&!e.multiValue?t=i[e.inputType]:e.options&&Object.keys(o).indexOf(e.inputType)>-1&&e.multiValue?t=o[e.inputType]:Object.keys(a).indexOf(e.type)>-1?t=a[e.type]:Object.keys(s).indexOf(e.dataType)>-1&&(t=s[e.dataType]),t}},{key:"isFieldEncrypted",value:function(e){return e.indexOf("customEncrypted")>-1}},{key:"getControlForField",value:function(e,t,n,i){var o,a=arguments.length>5?arguments[5]:void 0,s=this.determineInputType(e)||e.type,c={metaType:e.type,type:s,key:e.name,label:e.label,placeholder:e.hint||"",required:e.required||e.systemRequired,hidden:!e.required,encrypted:this.isFieldEncrypted(e.name?e.name.toString():""),value:e.value||e.defaultValue,sortOrder:e.sortOrder,associatedEntity:e.associatedEntity,optionsType:e.optionsType,multiple:e.multiValue,readOnly:!!e.disabled||!!e.readOnly,disabled:e.disabled,maxlength:e.maxLength,interactions:e.interactions,dataSpecialization:e.dataSpecialization,dataType:e.dataType,description:e.description||"",tooltip:e.tooltip,tooltipPosition:e.tooltipPosition,customControl:e.customControl,template:e.template,customControlConfig:e.customControlConfig,restrictFieldInteractions:e.restrictFieldInteractions,validators:e.validators,warning:e.warning,config:e.config||{},closeOnSelect:e.closeOnSelect,layoutOptions:e.layoutOptions};this.inferStartDate(c,e);var l,u=this.getControlOptions(e,t,n,a);switch(Array.isArray(u)&&"chips"!==s&&"picker"!==s?c.options=u:!Array.isArray(u)||"chips"!==s&&"picker"!==s?u&&(c.config=Object.assign(Object.assign({},u),c&&c.config)):c.config={options:u},"year"===s&&(c.maxlength=4),i&&i[e.name]&&(i[e.name].resultsTemplate&&(l=i[e.name].resultsTemplate,c.config.resultsTemplate=l,delete i[e.name].resultsTemplate),i[e.name].overridePreviewTemplate&&(l=i[e.name].overridePreviewTemplate,c.config.overridePreviewTemplate=l,delete i[e.name].overridePreviewTemplate),i[e.name].pickerCallback&&(c.config.callback=i[e.name].pickerCallback),i[e.name].type&&(s=i[e.name].type),i[e.name].columns&&(c.config.columns=i[e.name].columns,c.closeOnSelect=!0,delete c.label),i[e.name].warning&&(c.warning=i[e.name].warning),Object.assign(c,i[e.name])),s){case"entitychips":c.multiple=!0,c.config.resultsTemplate=l||mf,c.config.previewTemplate=ff,o=new Jp(c);break;case"chips":c.multiple=!0,o=new Jp(c);break;case"entitypicker":c.config.resultsTemplate=l||mf,o=new Jp(c);break;case"picker":o=new Jp(c);break;case"datetime":c.military=!!n&&!!n.military,c.weekStart=n&&n.weekStart?n.weekStart:0,o=new Yp(c);break;case"date":c.dateFormat=e.dateFormat,c.textMaskEnabled=e.textMaskEnabled,c.allowInvalidDate=e.allowInvalidDate,c.military=!!n&&!!n.military,c.weekStart=n&&n.weekStart?n.weekStart:0,o=new zp(c);break;case"time":c.military=!!n&&!!n.military,o=new nv(c);break;case"currency":case"money":case"email":case"percentage":case"float":case"number":case"year":"money"===s&&(s="currency"),c.type=s,o=new ev(c);break;case"text":o=new ev(c);break;case"textarea":o=new $p(c);break;case"editor":o=new Wp(c);break;case"editor-minimal":(o=new Wp(c)).minimal=!0;break;case"tiles":o=new tv(c);break;case"checkbox":c.checkboxLabel=e.checkboxLabel,o=new Kp(c);break;case"checklist":o=new qp(c);break;case"radio":o=new Qp(c);break;case"select":o=new Xp(c);break;case"address":if(c.required=e.required||!1,mh.isBlank(c.config)&&(c.config={}),c.config.required=e.required,c.config.readOnly=c.readOnly,e.fields&&e.fields.length){var d,h=r(e.fields);try{for(h.s();!(d=h.n()).done;){var f=d.value;c.config[f.name]={required:!!f.required,hidden:!!f.readOnly},mh.isEmpty(f.label)||(c.config[f.name].label=f.label),mh.isEmpty(f.maxLength)||(c.config[f.name].maxlength=f.maxLength),c.required=c.required||f.required,f.defaultValue?(mh.isBlank(c.value)&&(c.value={}),c.value[f.name]=f.defaultValue):"countryID"===f.name&&(mh.isBlank(c.value)&&(c.value={}),c.value[f.name]=1),"state"!==f.name&&"countryID"!==f.name||("countryID"===f.name&&(f.optionsType="Country"),f.optionsUrl||(f.optionsUrl="options/"+f.optionsType),c.config[f.name].pickerConfig=this.getControlOptions(f,t,n,a))}}catch(m){h.e(m)}finally{h.f()}}c.isEmpty=this.isAddressEmpty,o=new Gp(c);break;case"file":o=new Zp(c);break;case"custom":o=new rv(c);break;default:o=new ev(c)}return o}},{key:"shouldCreateControl",value:function(e){return e.systemRequired&&(e.readOnly=!1),"id"!==e.name&&(!["SYSTEM","SECTION_HEADER"].includes(e.dataSpecialization)||["address","billingAddress","secondaryAddress"].includes(e.name))&&!e.readOnly}},{key:"toControls",value:function(e,t,n,r,i){var o=this,a=arguments.length>5&&void 0!==arguments[5]&&arguments[5],s=[];return e&&e.fields&&e.fields.forEach((function(e){if(o.shouldCreateControl(e)){var c=o.getControlForField(e,n,r,i,a);"currency"===c.subType&&(c.currencyFormat=t),s.push(c)}})),s}},{key:"toTableControls",value:function(e,t,n,r,i){var o=this.toControls(e,t,n,r,i,!0),a={};return o.forEach((function(e){a[e.key]={editorType:e.__type,editorConfig:e.__config}})),a}},{key:"toFieldSets",value:function(e,t,n,r,i,o){var a=this,s=[];return e&&e.fields&&this.getFormFields(e).forEach((function(e){if(a.isHeader(e))e.enabled&&a.insertHeaderToFieldsets(s,e);else if(a.isEmbeddedField(e))a.insertHeaderToFieldsets(s,e),a.getEmbeddedFields(e).forEach((function(c){if(a.shouldCreateControl(c)){var l=a.createControl(c,o,n,r,i,t);l=a.markControlAsEmbedded(l,e.dataSpecialization?e.dataSpecialization.toLowerCase():null),s[s.length-1].controls.push(l)}else a.isHeader(c)&&a.insertHeaderToFieldsets(s,c)}));else if(a.shouldCreateControl(e)){var c=a.createControl(e,o,n,r,i,t);e.inlineEmbeddedAssociatedEntityField&&(c=a.markControlAsEmbedded(c,"inline_embedded")),0===s.length&&s.push({controls:[]}),s[s.length-1].controls.push(c)}})),s.length>0?s:[{controls:this.toControls(e,t,n,r)}]}},{key:"isEmbeddedField",value:function(e){return e.dataSpecialization&&["embedded"].includes(e.dataSpecialization.toLowerCase())&&!e.readOnly}},{key:"createControl",value:function(e,t,n,r,i,o){var a=this.isEmbeddedFieldData(e,t)?this.getEmbeddedFieldData(e,t):this.getFieldData(e,t),s=this.getControlForField(e,n,r,i,void 0,a);return"currency"===s.subType&&(s.currencyFormat=o),s}},{key:"isEmbeddedFieldData",value:function(e,t){return t&&e.name.includes(".")}},{key:"getFieldData",value:function(e,t){return t&&t[e.name]||null}},{key:"getEmbeddedFieldData",value:function(e,n){var r=t(e.name.split("."),2),i=r[0],o=r[1];return n&&n[i]&&n[i][o]||null}},{key:"getFormFields",value:function(e){var t=e.sectionHeaders?e.sectionHeaders.map((function(e){return e.isSectionHeader=!0,e})):[],r=e.fields.map((function(e){return e.hasOwnProperty("sortOrder")||(e.sortOrder=Number.MAX_SAFE_INTEGER-1),e})),i=this.getInlineEmbeddedFields(r);return r=r.filter((function(e){return!e.dataSpecialization||"inline_embedded"!==e.dataSpecialization.toLowerCase()})),[].concat(n(t),n(r),n(i)).sort(mh.sortByField(["sortOrder","name"]))}},{key:"getInlineEmbeddedFields",value:function(e){var t=this,r=[];return e.filter((function(e){return e.dataSpecialization&&"inline_embedded"===e.dataSpecialization.toLowerCase()})).forEach((function(e){r=[].concat(n(r),n(t.getAssociatedFieldsForInlineEmbedded(e)))})),r}},{key:"getAssociatedFieldsForInlineEmbedded",value:function(e){return this.getEmbeddedFields(e).map((function(e){return e.inlineEmbeddedAssociatedEntityField=!0,e}))}},{key:"getEmbeddedFields",value:function(e){return e.associatedEntity.fields.filter((function(e){return"id"!==e.name})).map((function(t){return t.name.startsWith(e.name+".")||(t.name="".concat(e.name,".").concat(t.name)),t})).sort(mh.sortByField(["sortOrder","name"]))}},{key:"isHeader",value:function(e){return!mh.isBlank(e)&&(e.hasOwnProperty("isSectionHeader")&&e.isSectionHeader||e.dataSpecialization&&"section_header"===e.dataSpecialization.toLowerCase())}},{key:"insertHeaderToFieldsets",value:function(e,t){var n={controls:[],isEmbedded:t.dataSpecialization&&"embedded"===t.dataSpecialization.toLowerCase(),isInlineEmbedded:t.dataSpecialization&&"inline_embedded"===t.dataSpecialization.toLowerCase(),key:t.name};t.name&&t.name.startsWith("customObject")&&t.associatedEntity&&t.associatedEntity.label?e.push(Object.assign({title:t.associatedEntity.label||t.label,icon:t.icon||"bhi-card-expand"},n)):e.push(Object.assign({title:t.label,icon:t.icon||"bhi-section"},n))}},{key:"markControlAsEmbedded",value:function(e,t){return mh.isBlank(e.config)&&(e.config={}),e.config.embedded=!0,e.isEmbedded="embedded"===t,e.isInlineEmbedded="inline_embedded"===t,e}},{key:"getControlOptions",value:function(e,t,n,r){return"Boolean"!==e.dataType||e.options?"ALL_WORKFLOW_OPTIONS"===e.dataSpecialization&&e.options?e.options:e.workflowOptions?this.getWorkflowOptions(e.workflowOptions,r):"SPECIALIZED_OPTIONS"===e.dataSpecialization||e.options&&["SpecializedOptionsLookup","SimplifiedOptionsLookup"].includes(e.dataType)?e.options:e.optionsUrl?this.optionsService.getOptionsConfig(t,e,n):Array.isArray(e.options)&&"chips"===e.type?{field:"value",format:"$label",options:e.options}:e.options?e.options:null:[{value:!1,label:this.labels.no},{value:!0,label:this.labels.yes}]}},{key:"getWorkflowOptions",value:function(e,t){var n=null,r="initial";(null==t?void 0:t.id)&&(n=Object.assign(Object.assign({},t),{value:t.id,label:t.label||t.id}),r=t.id);var i=e[r]||[];return n&&!i.find((function(e){return e.value===n.value}))&&i.unshift(n),i}},{key:"setInitialValues",value:function(e,t,n,r){for(var i=0;i<e.length;i++){var o=e[i],a=t[r?o.key.replace(r,""):o.key];mh.isBlank(a)||Array.isArray(a)&&0===a.length||Array.isArray(a)&&a.length>0&&0===(a=a.filter((function(e){return!(0===Object.keys(e).length&&e.constructor===Object)}))).length||a.data&&0===a.data.length||0===Object.keys(a).length&&a.constructor===Object||("Date"===o.dataType&&"string"==typeof a&&"skipConversion"!==o.optionsType&&(a=Object(Fa.startOfDay)(a)),o.value=a,o.dirty=!n)}}},{key:"setInitialValuesFieldsets",value:function(e,t,n){var r=this;e.forEach((function(e){r.setInitialValues(e.controls,t,n)}))}},{key:"forceShowAllControls",value:function(e){e.forEach((function(e){e.hidden=!1}))}},{key:"forceShowAllControlsInFieldsets",value:function(e){e.forEach((function(e){e.controls.forEach((function(e){e.hidden=!1}))}))}},{key:"forceValidation",value:function(e){Object.keys(e.controls).forEach((function(t){var n=e.controls[t];n.required&&mh.isBlank(e.value[n.key])&&(n.markAsDirty(),n.markAsTouched())}))}},{key:"isAddressEmpty",value:function(e){var t=!0;return e.value&&e.config&&["address1","address2","city","state","zip","countryID"].forEach((function(n){!("countryID"!==n&&!mh.isEmpty(e.config[n])&&e.config[n].required&&(mh.isBlank(e.value[n])||mh.isEmpty(e.value[n]))||"countryID"===n&&!mh.isEmpty(e.config.countryID)&&e.config.countryID.required&&mh.isEmpty(e.value.countryName))||"state"===n&&!mh.isBlank(e.value.countryName)&&e.config.state.pickerConfig&&e.config.state.pickerConfig.defaultOptions&&0===e.config.state.pickerConfig.defaultOptions.length||(t=!1)})),t}},{key:"getStartDateFromRange",value:function(e){return e.minDate?Object(Fa.parse)(e.minDate):e.minOffset?Object(Fa.addDays)(Object(Fa.startOfToday)(),e.minOffset):void 0}},{key:"getStartDate",value:function(e){return e.allowedDateRange?this.getStartDateFromRange(e.allowedDateRange):null}},{key:"inferStartDate",value:function(e,t){if("Date"===t.dataType){var n=this.getStartDate(t);return n&&(e.startDate=n),n}}},{key:"inflateEmbeddedProperties",value:function(e){return e&&Object.keys(e).filter((function(e){return e.includes(".")})).forEach((function(n){var r=t(n.split("."),2),i=r[0],o=r[1];e[i]||(e[i]={}),e[i][o]=e[n],delete e[n]})),e}}]),e}()).\u0275fac=function(e){return new(e||im)(c["\u0275\u0275inject"](bh),c["\u0275\u0275inject"](av))},im.\u0275prov=c["\u0275\u0275defineInjectable"]({token:im,factory:im.\u0275fac}),im),cv=function e(){v(this,e)},lv=((hm=function(){function e(){var t,n;v(this,e),this.component=null,this.contentRef=null,this.containerRef=null,this.isClosed=!1,this._onClosed=(t={},(n=new Promise((function(e,n){t.resolve=e,t.reject=n}))).resolve=t.resolve,n.reject=t.reject,n)}return y(e,[{key:"onClosed",get:function(){return this._onClosed}},{key:"open",value:function(){document.body.classList.add("modal-open")}},{key:"close",value:function(e){document.body.classList.remove("modal-open"),this.contentRef&&this.contentRef.destroy(),this.containerRef&&this.containerRef.destroy(),this._onClosed.resolve(e)}}]),e}()).\u0275fac=function(e){return new(e||hm)},hm.\u0275prov=c["\u0275\u0275defineInjectable"]({token:hm,factory:hm.\u0275fac}),hm),uv=((dm=function(){function e(t,n){v(this,e),this.modalRef=t,this.componentUtils=n}return y(e,[{key:"ngAfterViewInit",value:function(){var e=this;setTimeout((function(){e.modalRef.contentRef=e.componentUtils.append(e.modalRef.component,e.container)}))}}]),e}()).\u0275fac=function(e){return new(e||dm)(c["\u0275\u0275directiveInject"](lv),c["\u0275\u0275directiveInject"](Nh))},dm.\u0275cmp=c["\u0275\u0275defineComponent"]({type:dm,selectors:[["novo-modal-container"]],viewQuery:function(e,t){var n;1&e&&c["\u0275\u0275viewQuery"](nl,!0,c.ViewContainerRef),2&e&&c["\u0275\u0275queryRefresh"](n=c["\u0275\u0275loadQuery"]())&&(t.container=n.first)},decls:2,vars:0,consts:[["container",""]],template:function(e,t){1&e&&c["\u0275\u0275element"](0,"span",null,0)},encapsulation:2}),dm),dv=((um=function(){function e(t){v(this,e),this.modalRef=t}return y(e,[{key:"close",value:function(){this.modalRef.close()}}]),e}()).\u0275fac=function(e){return new(e||um)(c["\u0275\u0275directiveInject"](lv))},um.\u0275cmp=c["\u0275\u0275defineComponent"]({type:um,selectors:[["novo-modal"]],ngContentSelectors:Xl,decls:4,vars:0,template:function(e,t){1&e&&(c["\u0275\u0275projectionDef"](Ql),c["\u0275\u0275projection"](0),c["\u0275\u0275projection"](1,1),c["\u0275\u0275elementStart"](2,"footer"),c["\u0275\u0275projection"](3,2),c["\u0275\u0275elementEnd"]())},encapsulation:2}),um),hv=((lm=function(){function e(t){v(this,e),this.modalRef=t,this.cancel=new c.EventEmitter,this.modalRef=t}return y(e,[{key:"close",value:function(){this.cancel.emit(),this.modalRef.close()}},{key:"ngOnInit",value:function(){switch(this.type){case"success":this.iconType="bhi-check";break;case"warning":case"error":this.iconType="bhi-caution-o";break;case"custom":this.iconType="bhi-"+this.icon}}}]),e}()).\u0275fac=function(e){return new(e||lm)(c["\u0275\u0275directiveInject"](lv))},lm.\u0275cmp=c["\u0275\u0275defineComponent"]({type:lm,selectors:[["novo-notification"]],inputs:{type:"type",icon:"icon"},outputs:{cancel:"cancel"},ngContentSelectors:tu,decls:10,vars:1,consts:[["theme","icon","icon","times",1,"modal-close",3,"click"],[1,"notification-body"],["class","indicator",3,"ngClass",4,"ngIf"],[1,"indicator",3,"ngClass"]],template:function(e,t){1&e&&(c["\u0275\u0275projectionDef"](eu),c["\u0275\u0275elementStart"](0,"button",0),c["\u0275\u0275listener"]("click",(function(){return t.close()})),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](1,"header"),c["\u0275\u0275projection"](2),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](3,"section",1),c["\u0275\u0275template"](4,$l,1,1,"i",2),c["\u0275\u0275projection"](5,1),c["\u0275\u0275projection"](6,2),c["\u0275\u0275projection"](7,3),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](8,"footer"),c["\u0275\u0275projection"](9,4),c["\u0275\u0275elementEnd"]()),2&e&&(c["\u0275\u0275advance"](4),c["\u0275\u0275property"]("ngIf",t.iconType))},directives:[lh,h.m,h.k],encapsulation:2}),lm),fv=((cm=function(){function e(t){v(this,e),this.componentUtils=t}return y(e,[{key:"parentViewContainer",set:function(e){this._parentViewContainer=e}},{key:"open",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this._parentViewContainer)throw new Error("No parent view container specified for the ModalService. Set it inside your main application. \nthis.modalService.parentViewContainer = view (ViewContainerRef)");var n=new lv;return n.component=e,n.open(),n.containerRef=this.componentUtils.append(uv,this._parentViewContainer,[{provide:lv,useValue:n},{provide:cv,useValue:t}]),n}}]),e}()).\u0275fac=function(e){return new(e||cm)(c["\u0275\u0275inject"](Nh))},cm.\u0275prov=c["\u0275\u0275defineInjectable"]({token:cm,factory:cm.\u0275fac}),cm),mv=((sm=function(){function e(t,n,r){v(this,e),this.modalRef=t,this.params=n,this.labels=r}return y(e,[{key:"close",value:function(e){this.modalRef.close(e)}}]),e}()).\u0275fac=function(e){return new(e||sm)(c["\u0275\u0275directiveInject"](lv),c["\u0275\u0275directiveInject"](cv),c["\u0275\u0275directiveInject"](bh))},sm.\u0275cmp=c["\u0275\u0275defineComponent"]({type:sm,selectors:[["control-confirm-modal"]],decls:9,vars:8,consts:[["type","warning"],[4,"ngIf"],["theme","standard",3,"click"],["theme","primary","icon","check","autofocus","",3,"click"],[1,"bhi-arrow-right"]],template:function(e,t){1&e&&(c["\u0275\u0275elementStart"](0,"novo-notification",0),c["\u0275\u0275elementStart"](1,"h1"),c["\u0275\u0275text"](2),c["\u0275\u0275elementEnd"](),c["\u0275\u0275template"](3,nu,6,3,"h2",1),c["\u0275\u0275template"](4,ru,2,1,"h2",1),c["\u0275\u0275elementStart"](5,"button",2),c["\u0275\u0275listener"]("click",(function(){return t.close(!1)})),c["\u0275\u0275text"](6),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](7,"button",3),c["\u0275\u0275listener"]("click",(function(){return t.close(!0)})),c["\u0275\u0275text"](8),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()),2&e&&(c["\u0275\u0275attribute"]("data-automation-id","field-interaction-modal-"+t.params.key),c["\u0275\u0275advance"](2),c["\u0275\u0275textInterpolate"](t.labels.confirmChangesModalMessage),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",!t.params.message),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",t.params.message),c["\u0275\u0275advance"](1),c["\u0275\u0275attribute"]("data-automation-id","field-interaction-modal-cancel"+t.params.key),c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](t.labels.cancel),c["\u0275\u0275advance"](1),c["\u0275\u0275attribute"]("data-automation-id","field-interaction-modal-save-"+t.params.key),c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](t.labels.save))},directives:[hv,h.m,lh],encapsulation:2}),sm),pv=((am=function(){function e(t,n,r){v(this,e),this.modalRef=t,this.params=n,this.labels=r}return y(e,[{key:"close",value:function(e){this.modalRef.close(e)}}]),e}()).\u0275fac=function(e){return new(e||am)(c["\u0275\u0275directiveInject"](lv),c["\u0275\u0275directiveInject"](cv),c["\u0275\u0275directiveInject"](bh))},am.\u0275cmp=c["\u0275\u0275defineComponent"]({type:am,selectors:[["control-prompt-modal"]],decls:8,vars:7,consts:[["type","warning"],[4,"ngFor","ngForOf"],["theme","standard",3,"click"],["theme","primary","icon","check","autofocus","",3,"click"]],template:function(e,t){1&e&&(c["\u0275\u0275elementStart"](0,"novo-notification",0),c["\u0275\u0275elementStart"](1,"h1"),c["\u0275\u0275text"](2),c["\u0275\u0275elementEnd"](),c["\u0275\u0275template"](3,iu,2,1,"p",1),c["\u0275\u0275elementStart"](4,"button",2),c["\u0275\u0275listener"]("click",(function(){return t.close(!1)})),c["\u0275\u0275text"](5),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](6,"button",3),c["\u0275\u0275listener"]("click",(function(){return t.close(!0)})),c["\u0275\u0275text"](7),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()),2&e&&(c["\u0275\u0275attribute"]("data-automation-id","field-interaction-modal-"+t.params.key),c["\u0275\u0275advance"](2),c["\u0275\u0275textInterpolate"](t.labels.promptModalMessage),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngForOf",t.params.changes),c["\u0275\u0275advance"](1),c["\u0275\u0275attribute"]("data-automation-id","field-interaction-modal-cancel"+t.params.key),c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](t.labels.cancel),c["\u0275\u0275advance"](1),c["\u0275\u0275attribute"]("data-automation-id","field-interaction-modal-yes-"+t.params.key),c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](t.labels.yes))},directives:[hv,h.l,lh],encapsulation:2}),am),vv=function(){function e(t){v(this,e),this.http=t,this.mapFn=function(e){return e}}return y(e,[{key:"get",value:function(e,t){return this.url=e,this.options=t,this}},{key:"map",value:function(e){return this.mapFn=e,this}},{key:"subscribe",value:function(e,t){return this.http.get(this.url,this.options).pipe(Object(V.a)(this.mapFn)).subscribe(e,t)}}]),e}(),gv=((bm=function(){function e(t,r,i,o,a){var s=this;v(this,e),this.toaster=t,this.modalService=r,this.formUtils=i,this.http=o,this.labels=a,this._isInvokedOnInit=!1,this.getOptionsConfig=function(e,t,r,i){if(r||"optionsUrl"in e||"optionsUrlBuilder"in e||"optionsPromise"in e){var o="format"in e&&e.format||i;return Object.assign(Object.assign({options:s.createOptionsFunction(e,t,r)},"emptyPickerMessage"in e&&{emptyPickerMessage:e.emptyPickerMessage}),o&&{format:o})}return"options"in e&&Array.isArray(e.options)?{options:n(e.options)}:void 0},this.createOptionsFunction=function(e,t,n){return function(r,i){return"optionsPromise"in e&&e.optionsPromise?e.optionsPromise(r,new vv(s.http),i):"optionsUrlBuilder"in e&&e.optionsUrlBuilder||"optionsUrl"in e&&e.optionsUrl?new Promise((function(n,i){var o="optionsUrlBuilder"in e?e.optionsUrlBuilder(r):"".concat(e.optionsUrl,"?filter=").concat(r||"");s.http.get(o).pipe(Object(V.a)((function(e){return t?e.map(t):e}))).subscribe(n,i)})):n?"where"in e?n(e.where)(r,i):n()(r,i):void 0}}}return y(e,[{key:"associations",get:function(){return this.form.hasOwnProperty("associations")?this.form.associations:{}}},{key:"currentEntity",get:function(){return this.form.hasOwnProperty("currentEntity")?this.form.currentEntity:void 0}},{key:"currentEntityId",get:function(){return this.form.hasOwnProperty("currentEntityId")?this.form.currentEntityId:void 0}},{key:"isEdit",get:function(){return!!this.form.hasOwnProperty("edit")&&this.form.edit}},{key:"isAdd",get:function(){return!!this.form.hasOwnProperty("edit")&&!this.form.edit}},{key:"globals",get:function(){return this._globals},set:function(e){this._globals=e}},{key:"currentKey",get:function(){return this._currentKey},set:function(e){this._currentKey=e}},{key:"isInvokedOnInit",get:function(){return this._isInvokedOnInit},set:function(e){this._isInvokedOnInit=e}},{key:"isActiveControlValid",value:function(){return!!this.getValue(this.currentKey)}},{key:"getActiveControl",value:function(){return this.getControl(this.currentKey)}},{key:"getActiveKey",value:function(){return this.currentKey}},{key:"getActiveValue",value:function(){return this.getValue(this.currentKey)}},{key:"getActiveInitialValue",value:function(){return this.getInitialValue(this.currentKey)}},{key:"getFieldSet",value:function(e,t){return e?(t||this.form).fieldsets.find((function(t){return t.key&&t.key.toLowerCase()===e.toLowerCase()}))||(console.error("[FieldInteractionAPI] - could not find a fieldset in the form by the key --",e),null):(console.error('[FieldInteractionAPI] - invalid or missing "key"'),null)}},{key:"getControl",value:function(e,t){return e?(t||this.form).controls[e]||(console.error("[FieldInteractionAPI] - could not find a control in the form by the key --",e),null):(console.error('[FieldInteractionAPI] - invalid or missing "key"'),null)}},{key:"getFormGroupArray",value:function(e,t){if(!e)return console.error('[FieldInteractionAPI] - invalid or missing "key"'),null;var n=(t||this.form).controls[e];return n&&n.controls?n.controls:(console.error("[FieldInteractionAPI] - could not find a form array in the form by the key --",e),null)}},{key:"getValue",value:function(e,t){var n=this.getControl(e,t);return n?n.value:null}},{key:"getRawValue",value:function(e,t){var n=this.getControl(e,t);return n?n.rawValue:null}},{key:"getInitialValue",value:function(e,t){var n=this.getControl(e,t);return n?n.initialValue:null}},{key:"setValue",value:function(e,t,n,r){var i=this.getControl(e,r);i&&!i.restrictFieldInteractions&&(i.setValue(t,n),this.triggerEvent({controlKey:e,prop:"value",value:t},r))}},{key:"patchValue",value:function(e,t,n,r){var i=this.getControl(e,r);i&&!i.restrictFieldInteractions&&(i.setValue(t,n),this.triggerEvent({controlKey:e,prop:"value",value:t},r))}},{key:"setReadOnly",value:function(e,t,n){var r=this.getControl(e,n);r&&!r.restrictFieldInteractions&&(r.setReadOnly(t),this.triggerEvent({controlKey:e,prop:"readOnly",value:t},n))}},{key:"setRequired",value:function(e,t,n){var r=this.getControl(e,n);r&&!r.restrictFieldInteractions&&(r.setRequired(t),this.triggerEvent({controlKey:e,prop:"required",value:t},n))}},{key:"highlight",value:function(e,t,n){var r=this.getControl(e,n);r&&!r.restrictFieldInteractions&&(r.highlighted=t,this.triggerEvent({controlKey:e,prop:"highlight",value:t},n))}},{key:"hide",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0,r=this.getControl(e,n);return r&&!r.restrictFieldInteractions&&(r.hide(t),this.disable(e,{emitEvent:!1}),this.triggerEvent({controlKey:e,prop:"hidden",value:!0},n)),r}},{key:"show",value:function(e,t){var n=this.getControl(e,t);n&&!n.restrictFieldInteractions&&(n.show(),this.enable(e,{emitEvent:!1}),this.triggerEvent({controlKey:e,prop:"hidden",value:!1},t))}},{key:"hideFieldSetHeader",value:function(e){var t=this.getFieldSet(e);t&&(t.hidden=!0)}},{key:"showFieldSetHeader",value:function(e){var t=this.getFieldSet(e);t&&(t.hidden=!1)}},{key:"disable",value:function(e,t,n){var r=this.getControl(e,n);r&&!r.restrictFieldInteractions&&(r.disable(t),this.triggerEvent({controlKey:e,prop:"readOnly",value:!0},n))}},{key:"enable",value:function(e,t,n){var r=this.getControl(e,n);r&&!r.restrictFieldInteractions&&(r.enable(t),this.triggerEvent({controlKey:e,prop:"readOnly",value:!1},n))}},{key:"markAsInvalid",value:function(e,t,n){var r=this.getControl(e,n);r&&r&&!r.restrictFieldInteractions&&(r.markAsInvalid(t),this.triggerEvent({controlKey:e,prop:"errors",value:t},n))}},{key:"markAsValid",value:function(e,t){var n=this.getControl(e,t);n&&n&&!n.restrictFieldInteractions&&(n.markAsValid(),this.triggerEvent({controlKey:e,prop:"errors",value:null},t))}},{key:"markAsDirty",value:function(e,t,n){var r=this.getControl(e,n);r&&!r.restrictFieldInteractions&&r.markAsDirty(t)}},{key:"markAsPending",value:function(e,t,n){var r=this.getControl(e,n);r&&!r.restrictFieldInteractions&&r.markAsPending(t)}},{key:"markAsPristine",value:function(e,t,n){var r=this.getControl(e,n);r&&!r.restrictFieldInteractions&&r.markAsPristine(t)}},{key:"markAsTouched",value:function(e,t,n){var r=this.getControl(e,n);r&&!r.restrictFieldInteractions&&r.markAsTouched(t)}},{key:"markAsUntouched",value:function(e,t,n){var r=this.getControl(e,n);r&&!r.restrictFieldInteractions&&r.markAsUntouched(t)}},{key:"updateValueAndValidity",value:function(e,t,n){var r=this.getControl(e,n);r&&!r.restrictFieldInteractions&&r.updateValueAndValidity(t)}},{key:"displayToast",value:function(e){this.toaster&&this.toaster.alert(e)}},{key:"displayTip",value:function(e,t,n,r,i,o){var a=this.getControl(e,o);a&&!a.restrictFieldInteractions&&(a.tipWell={tip:t,icon:n,button:r,sanitize:!1!==i},this.triggerEvent({controlKey:e,prop:"tipWell",value:t},o))}},{key:"clearTip",value:function(e,t){var n=this.getControl(e,t);n&&!n.restrictFieldInteractions&&(n.tipWell=null,this.triggerEvent({controlKey:e,prop:"tipWell",value:null},t))}},{key:"setTooltip",value:function(e,t,n){var r=this.getControl(e,n);r&&!r.restrictFieldInteractions&&(r.tooltip=t,t.length>=40&&t.length<=400?(r.tooltipSize="large",r.tooltipPreline=!0):t.length>400&&(r.tooltipSize="extra-large"),this.triggerEvent({controlKey:e,prop:"tooltip",value:t},n))}},{key:"confirmChanges",value:function(e,t){var n=this,r=this.getProperty(e,"valueHistory"),i=r[r.length-2],o=this.getValue(e),a=this.getProperty(e,"label");return document.activeElement.blur(),this.modalService.open(mv,{oldValue:i,newValue:o,label:a,message:t,key:e}).onClosed.then((function(t){t||n.setValue(e,i,{emitEvent:!1})}))}},{key:"promptUser",value:function(e,t){return document.activeElement.blur(),this.modalService.open(pv,{changes:t,key:e}).onClosed}},{key:"setProperty",value:function(e,t,n,r){var i=this.getControl(e,r);i&&!i.restrictFieldInteractions&&(i[t]=n,this.triggerEvent({controlKey:e,prop:t,value:n},r))}},{key:"getProperty",value:function(e,t,n){var r=this.getControl(e,n);return r&&!r.restrictFieldInteractions?r[t]:null}},{key:"isValueEmpty",value:function(e){var t=this.getValue(e);return mh.isEmpty(t)}},{key:"isValueBlank",value:function(e){var t=this.getValue(e);return mh.isBlank(t)}},{key:"hasField",value:function(e,t){return!!(t||this.form).controls[e]}},{key:"addStaticOption",value:function(e,t,r){var i=this.getControl(e,r),o=t,a=!0;if(i&&!i.restrictFieldInteractions){var s=this.getProperty(e,"options");if(s&&s.length)s[0].value&&!o.value&&(o={value:t,label:t}),s.forEach((function(e){(e.value&&e.value===o.value||e===o)&&(a=!1)})),a&&this.setProperty(e,"options",[].concat(n(s),[o]));else{var c=this.getProperty(e,"config");c&&(s=c.options)&&Array.isArray(s)&&(s[0].value&&!o.value&&(o={value:t,label:t}),c.options=[].concat(n(s),[o]),this.setProperty(e,"config",c))}a&&this.triggerEvent({controlKey:e,prop:"options",value:[].concat(n(s),[o])},r)}}},{key:"removeStaticOption",value:function(e,t,r){var i=this.getControl(e,r);if(i&&!i.restrictFieldInteractions){var o=this.getProperty(e,"options",r);if(o&&o.length){var a=-1;o.forEach((function(e,n){e.value||e.label?e.value!==t&&e.label!==t||(a=n):e===t&&(a=n)})),-1!==a&&o.splice(a,1),this.setProperty(e,"options",n(o),r)}else{var s=this.getProperty(e,"config",r);if(s&&(o=s.options)&&Array.isArray(o)){var c=-1;o.forEach((function(e,n){e.value||e.label?e.value!==t&&e.label!==t||(c=n):e===t&&(c=n)})),-1!==c&&o.splice(c,1),s.options=n(o),this.setProperty(e,"config",s,r)}}this.triggerEvent({controlKey:e,prop:"options",value:i.options},r)}}},{key:"modifyPickerConfig",value:function(e,t,n){this.mutatePickerConfig(e,t,n)}},{key:"mutatePickerConfig",value:function(e,t,n,r){var i=this.getControl(e,r);if(i&&!i.restrictFieldInteractions){var o=i.config,a=o.minSearchLength,s=o.enableInfiniteScroll,c=o.filteredOptionsCreator,l=o.format,u=o.getLabels,d=o.emptyPickerMessage,h=this.getOptionsConfig(t,n,c,l),f=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},d&&{emptyPickerMessage:d}),Number.isInteger(a)&&{minSearchLength:a}),s&&{enableInfiniteScroll:s}),c&&{filteredOptionsCreator:c}),u&&{getLabels:u}),h&&h),{resultsTemplate:i.config.resultsTemplate||"resultsTemplateType"in t&&this.getAppropriateResultsTemplate(t.resultsTemplateType)});this.setProperty(e,"config",f),this.triggerEvent({controlKey:e,prop:"pickerConfig",value:t},r)}}},{key:"addPropertiesToPickerConfig",value:function(e,t,n){var r=this.getControl(e,n);if(r&&!r.restrictFieldInteractions){var i=Object.assign(Object.assign({},r.config),t);this.setProperty(e,"config",i),this.triggerEvent({controlKey:e,prop:"pickerConfig",value:t},n)}}},{key:"getAppropriateResultsTemplate",value:function(e){switch(e){case"entity-picker":return mf;default:return}}},{key:"setLoading",value:function(e,t,n){var r=this,i=n||this.form,o=this.getControl(e,n);o&&!o.restrictFieldInteractions&&(t?(i.controls[e].fieldInteractionloading=!0,o.setErrors({loading:!0}),clearTimeout(this.asyncBlockTimeout),this.asyncBlockTimeout=setTimeout((function(){r.setLoading(e,!1),r.displayTip(e,r.labels.asyncFailure,"info",!1),r.setProperty(e,"_displayedAsyncFailure",!0)}),1e4)):(i.controls[e].fieldInteractionloading=!1,clearTimeout(this.asyncBlockTimeout),o.setErrors({loading:null}),o.updateValueAndValidity({emitEvent:!1}),this.getProperty(e,"_displayedAsyncFailure")&&this.setProperty(e,"tipWell",null)),this.triggerEvent({controlKey:e,prop:"loading",value:t},n))}},{key:"addControl",value:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.FIELD_POSITIONS.ABOVE_FIELD,i=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;if(!n.key&&!n.name)return console.error('[FieldInteractionAPI] - missing "key" in meta for new field'),null;n.key||(n.key=n.name);var a,s,c=o||this.form;if(c.controls[n.key])return null;if(c.controls[t]){switch(a=-1,s=-1,c.fieldsets.forEach((function(e,n){e.controls.forEach((function(e,r){e.key===t&&(a=n,s=r)}))})),r){case e.FIELD_POSITIONS.ABOVE_FIELD:break;case e.FIELD_POSITIONS.BELOW_FIELD:s+=1;break;case e.FIELD_POSITIONS.TOP_OF_FORM:s=0,a=0;break;case e.FIELD_POSITIONS.BOTTOM_OF_FORM:a=c.fieldsets.length-1,s=c.fieldsets[a].controls.length}if(-1!==a&&-1!==s){var l=this.formUtils.getControlForField(n,this.http,{});l.hidden=!1;var u=new iv(i,l);c.addControl(l.key,u),c.fieldsets[a].controls.splice(s,0,l),this.triggerEvent({controlKey:t,prop:"addControl",value:u},o)}}}},{key:"removeControl",value:function(e,t){var n=t||this.form;if(!n.controls[e])return null;var r=this.getControl(e,t);if(r&&!r.restrictFieldInteractions){var i=-1,o=-1;n.fieldsets.forEach((function(t,n){t.controls.forEach((function(t,r){t.key===e&&(i=n,o=r)}))})),-1!==i&&-1!==o&&(n.removeControl(e),n.fieldsets[i].controls.splice(o,1),this.triggerEvent({controlKey:e,prop:"removeControl",value:e},t))}}},{key:"debounce",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50;clearTimeout(t),t=setTimeout((function(){return e()}),n)}},{key:"getParent",value:function(e){return(e||this.form).parent}},{key:"getIndex",value:function(e){var t=e||this.form;return t.associations&&t.associations.hasOwnProperty("index")?t.associations.index:null}},{key:"triggerEvent",value:function(e,t){var n=t||this.form;n&&n.fieldInteractionEvents&&n.fieldInteractionEvents.emit(e)}}]),e}()).\u0275fac=function(e){return new(e||bm)(c["\u0275\u0275inject"](Ap),c["\u0275\u0275inject"](fv),c["\u0275\u0275inject"](sv),c["\u0275\u0275inject"](Jr),c["\u0275\u0275inject"](bh))},bm.\u0275prov=c["\u0275\u0275defineInjectable"]({token:bm,factory:bm.\u0275fac}),bm.FIELD_POSITIONS={ABOVE_FIELD:"ABOVE_FIELD",BELOW_FIELD:"BELOW_FIELD",TOP_OF_FORM:"TOP_OF_FORM",BOTTOM_OF_FORM:"BOTTOM_OF_FORM"},bm),yv=((ym=function(){function e(){v(this,e),this.templates={default:{},custom:{}}}return y(e,[{key:"getAll",value:function(){var e=this,t={},n=Object.keys(this.templates.custom);return Object.keys(this.templates.default).forEach((function(n){t[n]=e.templates.default[n]})),n.forEach((function(n){t[n]=e.templates.custom[n]})),t}},{key:"addDefault",value:function(e,t){this.templates.default[e]=t}},{key:"addCustom",value:function(e,t){this.templates.custom[e]=t}}]),e}()).\u0275fac=function(e){return new(e||ym)},ym.\u0275prov=c["\u0275\u0275defineInjectable"]({token:ym,factory:ym.\u0275fac}),ym),bv=((gm=function(){function e(t){v(this,e),this.element=t}return y(e,[{key:"onInput",value:function(e){this.adjust()}},{key:"ngAfterContentInit",value:function(){var e=this;setTimeout((function(){e.adjust()}))}},{key:"adjust",value:function(){var e=this.element.nativeElement;e.style.height=e.style.minHeight,e.style.height=e.scrollHeight+"px"}}]),e}()).\u0275fac=function(e){return new(e||gm)(c["\u0275\u0275directiveInject"](c.ElementRef))},gm.\u0275dir=c["\u0275\u0275defineDirective"]({type:gm,selectors:[["textarea","autosize",""]],hostBindings:function(e,t){1&e&&c["\u0275\u0275listener"]("input",(function(e){return t.onInput(e.target)}))}}),gm),kv=((vm=function(e){l(n,e);var t=d(n);function n(e,r,i,o,a,s){var l,u=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"en-US";return v(this,n),(l=t.call(this,e)).labels=r,l.dateFormatService=i,l.fieldInteractionApi=o,l.templateService=a,l.changeDetectorRef=s,l.locale=u,l.condensed=!1,l.autoFocus=!1,l.change=new c.EventEmitter,l.edit=new c.EventEmitter,l.save=new c.EventEmitter,l.delete=new c.EventEmitter,l.upload=new c.EventEmitter,l.formattedValue="",l.maxLengthMet=!1,l.itemCount=0,l._blurEmitter=new c.EventEmitter,l._focusEmitter=new c.EventEmitter,l._focused=!1,l._enteredText="",l._showCount=!1,l.maxLengthMetErrorfields=[],l.templates={},l.loading=!1,l}return y(n,[{key:"onBlur",get:function(){return this._blurEmitter.asObservable()}},{key:"onFocus",get:function(){return this._focusEmitter.asObservable()}},{key:"maxlengthMetField",get:function(){var e=this;return this.maxLengthMetErrorfields&&this.maxLengthMetErrorfields.length&&this.maxLengthMetErrorfields.find((function(t){return t===e.focusedField}))||""}},{key:"maxlengthErrorField",get:function(){var e=this;return this.errors&&this.errors.maxlengthFields&&this.errors.maxlengthFields.length&&this.errors.maxlengthFields.find((function(t){return t===e.focusedField}))||""}},{key:"showFieldMessage",get:function(){return!this.errors&&!this.maxLengthMet&&mh.isBlank(this.control.description)}},{key:"showMaxLengthMetMessage",get:function(){return this.isDirty&&this.maxLengthMet&&this.focused&&(!this.errors||this.errors&&!this.errors.maxlength)||this.isDirty&&this.maxlengthMetField&&this.focused&&(!this.errors||this.errors&&!this.errors.maxlengthFields.includes(this.maxlengthMetField))}},{key:"showErrorState",get:function(){return this.isDirty&&this.errors||this.focused&&this.errors&&this.errors.maxlength&&this.errors.maxlengthFields||this.focused&&this.errors&&this.errors.maxlength&&this.errors.maxlengthFields&&this.maxlengthErrorField}},{key:"showCount",get:function(){var e=this.focused&&!!this.form.controls[this.control.key].maxlength&&["textbox","picker","text-area"].includes(this.form.controls[this.control.key].controlType);return this._showCount||e},set:function(e){this._showCount=e}},{key:"showMessages",get:function(){return this.showCount||!mh.isEmpty(this.form.controls[this.control.key].warning)||!mh.isEmpty(this.form.controls[this.control.key].description)}},{key:"decimalSeparator",get:function(){return new Intl.NumberFormat(this.locale).format(1.2)[1]}},{key:"ngAfterViewInit",value:function(){var e=this;this.autoFocus&&!["picker","time","date","date-time"].includes(this.control.controlType)&&setTimeout((function(){var t=e.element.nativeElement.querySelector("input");t&&t.focus()}))}},{key:"ngAfterContentInit",value:function(){var e=this;if(this.control.interactions&&!this.form.controls[this.control.key].restrictFieldInteractions){var t,n=r(this.control.interactions);try{var i=function(){var n=t.value;switch(n.event){case"blur":e.valueChangeSubscription=e.onBlur.pipe(Va(300)).subscribe((function(){e.form.controls[e.control.key].restrictFieldInteractions||e.executeInteraction(n)}));break;case"focus":e.valueChangeSubscription=e.onFocus.pipe(Va(300)).subscribe((function(){e.form.controls[e.control.key].restrictFieldInteractions||e.executeInteraction(n)}));break;case"change":e.valueChangeSubscription=e.form.controls[e.control.key].valueChanges.pipe(Va(300)).subscribe((function(){e.form.controls[e.control.key].restrictFieldInteractions||e.executeInteraction(n)}));break;case"init":n.invokeOnInit=!0}n.invokeOnInit&&(e.form.controls[e.control.key].restrictFieldInteractions||e.executeInteraction(n,!0))};for(n.s();!(t=n.n()).done;)i()}catch(o){n.e(o)}finally{n.f()}}setTimeout((function(){e.templates=e.templateService.getAll(),e.loading=!1,e.changeDetectorRef.markForCheck()}))}},{key:"ngOnInit",value:function(){var e=this;this.loading=!0,this.control&&this.form.controls[this.control.key].value&&("textbox"!==this.form.controls[this.control.key].controlType&&"text-area"!==this.form.controls[this.control.key].controlType||(this.itemCount=this.form.controls[this.control.key].value.length)),this.control&&(this.forceClearSubscription=this.control.forceClear.subscribe((function(){e.clearValue()})),this.statusChangeSubscription=this.form.controls[this.control.key].statusChanges.subscribe((function(t){e.form.controls[e.control.key]=e.templateContext.$implicit,"PENDING"!==t&&e.form.updateValueAndValidity&&e.form.updateValueAndValidity()}))),this.templateContext={$implicit:this.form.controls[this.control.key],methods:{restrictKeys:this.restrictKeys.bind(this),emitChange:this.emitChange.bind(this),handleFocus:this.handleFocus.bind(this),handlePercentChange:this.handlePercentChange.bind(this),handleBlur:this.handleBlur.bind(this),handleTextAreaInput:this.handleTextAreaInput.bind(this),handleEdit:this.handleEdit.bind(this),handleSave:this.handleSave.bind(this),handleDelete:this.handleDelete.bind(this),handleUpload:this.handleUpload.bind(this),modelChange:this.modelChange.bind(this),modelChangeWithRaw:this.modelChangeWithRaw.bind(this),handleAddressChange:this.handleAddressChange.bind(this),handleTyping:this.handleTyping.bind(this),updateValidity:this.updateValidity.bind(this),toggleActive:this.toggleActive.bind(this),validateIntegerInput:this.validateIntegerInput.bind(this),validateNumberOnBlur:this.validateNumberOnBlur.bind(this)},form:this.form},this.templateContext.$implicit.tooltipPosition=this.tooltipPosition,this.templateContext.$implicit.tooltip=this.tooltip,this.templateContext.$implicit.tooltipSize=this.tooltipSize,this.templateContext.$implicit.tooltipPreline=this.tooltipPreline,this.templateContext.$implicit.removeTooltipArrow=this.removeTooltipArrow,this.templateContext.$implicit.startupFocus=this.form.controls[this.control.key].startupFocus,this.templateContext.$implicit.fileBrowserImageUploadUrl=this.form.controls[this.control.key].fileBrowserImageUploadUrl,this.templateContext.$implicit.minimal=this.form.controls[this.control.key].minimal,this.templateContext.$implicit.currencyFormat=this.form.controls[this.control.key].currencyFormat,this.templateContext.$implicit.percentValue=this.form.controls[this.control.key].percentValue,this.templateContext.$implicit.config=this.form.controls[this.control.key].config,this.form.controls[this.control.key]&&"percentage"===this.form.controls[this.control.key].subType&&(mh.isEmpty(this.form.controls[this.control.key].value)||(this.templateContext.$implicit.percentValue=Number((100*this.form.controls[this.control.key].value).toFixed(6).replace(/\.?0*$/,""))),this.percentChangeSubscription=this.form.controls[this.control.key].displayValueChanges.subscribe((function(t){mh.isEmpty(t)||isNaN(t)?mh.isEmpty(t)&&(e.templateContext.$implicit.percentValue=void 0):e.templateContext.$implicit.percentValue=Number((100*t).toFixed(6).replace(/\.?0*$/,""))})))}},{key:"ngOnDestroy",value:function(){this.valueChangeSubscription&&this.valueChangeSubscription.unsubscribe(),this.forceClearSubscription&&this.forceClearSubscription.unsubscribe(),this.percentChangeSubscription&&this.percentChangeSubscription.unsubscribe(),this.dateChangeSubscription&&this.dateChangeSubscription.unsubscribe(),this.statusChangeSubscription&&this.statusChangeSubscription.unsubscribe(),s(p(n.prototype),"ngOnDestroy",this).call(this)}},{key:"errors",get:function(){return this.form.controls[this.control.key].errors}},{key:"isValid",get:function(){return this.form.controls[this.control.key].valid}},{key:"isDirty",get:function(){return this.form.controls[this.control.key].dirty||this.control.dirty}},{key:"hasValue",get:function(){return!mh.isEmpty(this.form.value[this.control.key])}},{key:"focused",get:function(){return this._focused}},{key:"tooltip",get:function(){return this.form.controls[this.control.key].tooltip}},{key:"tooltipPosition",get:function(){return mh.isBlank(this.form.controls[this.control.key].tooltipPosition)?"right":this.form.controls[this.control.key].tooltipPosition}},{key:"tooltipSize",get:function(){return mh.isBlank(this.form.controls[this.control.key].tooltipSize)?"":this.form.controls[this.control.key].tooltipSize}},{key:"tooltipPreline",get:function(){return!mh.isBlank(this.form.controls[this.control.key].tooltipPreline)&&this.form.controls[this.control.key].tooltipPreline}},{key:"removeTooltipArrow",get:function(){return!mh.isBlank(this.form.controls[this.control.key].removeTooltipArrow)&&this.form.controls[this.control.key].removeTooltipArrow}},{key:"alwaysActive",get:function(){return!("picker"!==this.form.controls[this.control.key].controlType||!this._enteredText.length)||-1!==["tiles","checklist","checkbox","date","time","date-time","address","file","editor","radio","text-area","quick-note"].indexOf(this.form.controls[this.control.key].controlType)}},{key:"requiresExtraSpacing",get:function(){return!("picker"!==this.form.controls[this.control.key].controlType||!this.form.controls[this.control.key].multiple||!this.hasValue)}},{key:"executeInteraction",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e.script&&mh.isFunction(e.script)&&setTimeout((function(){t.fieldInteractionApi.form=t.form,t.fieldInteractionApi.currentKey=t.control.key,t.fieldInteractionApi.isInvokedOnInit=n;try{e.script(t.fieldInteractionApi,t.control.key)}catch(r){console.info("Field Interaction Error!",t.control.key),console.error(r)}}))}},{key:"handleTyping",value:function(e){this._focused=e&&e.length,this._enteredText=e}},{key:"handleFocus",value:function(e,t){this._focused=!0,this.focusedField=t,mh.isBlank(this.characterCountField)||this.characterCountField!==t?"address"!==this.form.controls[this.control.key].controlType||!t||mh.isEmpty(this.form.value[this.control.key])||mh.isBlank(this.form.value[this.control.key][t])||this.handleAddressChange({value:this.form.value[this.control.key][t],field:t}):this.showCount=!0,this._focusEmitter.emit(e)}},{key:"handleBlur",value:function(e){this._focused=!1,this.focusedField="",this.showCount=!1,this._blurEmitter.emit(e)}},{key:"clearValue",value:function(){this.form.controls[this.control.key].setValue(null),this.formattedValue=null}},{key:"handleTextAreaInput",value:function(e){this.emitChange(e),this.restrictKeys(e)}},{key:"checkMaxLength",value:function(e){this.control&&this.form.controls[this.control.key].maxlength&&(this.itemCount=e.target.value.length,this.maxLengthMet=e.target.value.length>=this.form.controls[this.control.key].maxlength)}},{key:"modelChangeWithRaw",value:function(e){mh.isEmpty(e.value)&&(this._focused=!1,this._enteredText=""),"picker"===this.form.controls[this.control.key].controlType&&this.form.controls[this.control.key].maxlength&&(this.itemCount=e.value?e.value.length:0,this.maxLengthMet=this.itemCount>=this.form.controls[this.control.key].maxlength),this.form.controls[this.control.key].rawValue=e.rawValue,this.change.emit(e.value)}},{key:"modelChange",value:function(e){mh.isEmpty(e)&&(this._focused=!1,this._enteredText=""),this.change.emit(e)}},{key:"validateNumberOnBlur",value:function(e){this._focused=!1,this.focusedField="",this.showCount=!1,"number"===this.form.controls[this.control.key].subType&&this.validateIntegerInput(),this._blurEmitter.emit(e)}},{key:"validateIntegerInput",value:function(){this.form.controls[this.control.key].value&&!/^[\d\-]\d*$/.test(this.form.controls[this.control.key].value)&&this.form.controls[this.control.key].markAsInvalid("".concat(this.labels.invalidIntegerInput," ").concat(this.form.controls[this.control.key].label.toUpperCase()))}},{key:"restrictKeys",value:function(e){var t=["Backspace","Delete","ArrowLeft","ArrowRight","Tab"],n=e.key;"number"!==this.form.controls[this.control.key].subType||/[0-9\-]/.test(n)||t.includes(n)?["currency","float","percentage"].includes(this.form.controls[this.control.key].subType)&&!("."===this.decimalSeparator&&/[0-9\.\-]/.test(n)||","===this.decimalSeparator&&/[0-9\.\,\-]/.test(n)||t.includes(n))&&e.preventDefault():e.preventDefault(),this.form.controls[this.control.key].maxlength&&e.target.value.length>=this.form.controls[this.control.key].maxlength&&e.preventDefault()}},{key:"handlePercentChange",value:function(e){var t=e.target.value||e.data,n=mh.isEmpty(t)||isNaN(t)?t:Number((t/100).toFixed(6).replace(/\.?0*$/,""));mh.isEmpty(n)?(this.change.emit(null),this.form.controls[this.control.key].setValue(null)):(this.change.emit(n),this.form.controls[this.control.key].setValue(n))}},{key:"handleTabForPickers",value:function(e){this.active&&e&&e.keyCode&&(e.keyCode!==_h.ESC&&e.keyCode!==_h.TAB||this.toggleActive(e,!1))}},{key:"emitChange",value:function(e){this.change.emit(e),this.checkMaxLength(e)}},{key:"handleEdit",value:function(e){this.edit.emit(e)}},{key:"handleSave",value:function(e){this.save.emit(e)}},{key:"handleDelete",value:function(e){this.delete.emit(e)}},{key:"handleUpload",value:function(e){this.upload.emit(e)}},{key:"handleAddressChange",value:function(e){e&&!mh.isBlank(e.value)&&e.field&&this.control.config[e.field]&&!mh.isEmpty(this.control.config[e.field].maxlength)&&(this.itemCount=e.value.length,this.characterCountField=e.field,this.maxLength=this.control.config[e.field].maxlength,this.showCount=!0,this.maxLength===this.itemCount?this.maxLengthMetErrorfields.push(e.field):this.maxLengthMetErrorfields=this.maxLengthMetErrorfields.filter((function(t){return t!==e.field})))}},{key:"updateValidity",value:function(e){this.form.controls[this.control.key].updateValueAndValidity({emitEvent:!!e})}}]),n}(Sh)).\u0275fac=function(e){return new(e||vm)(c["\u0275\u0275directiveInject"](c.ElementRef),c["\u0275\u0275directiveInject"](bh),c["\u0275\u0275directiveInject"](Ep),c["\u0275\u0275directiveInject"](gv),c["\u0275\u0275directiveInject"](yv),c["\u0275\u0275directiveInject"](c.ChangeDetectorRef),c["\u0275\u0275directiveInject"](c.LOCALE_ID))},vm.\u0275cmp=c["\u0275\u0275defineComponent"]({type:vm,selectors:[["novo-control"]],hostVars:12,hostBindings:function(e,t){2&e&&(c["\u0275\u0275attribute"]("data-control-type",t.form.controls[t.control.key].controlType)("data-control-key",t.control.key),c["\u0275\u0275classMap"](t.form.controls[t.control.key].controlType),c["\u0275\u0275classProp"]("disabled",t.form.controls[t.control.key].readOnly)("hidden",t.form.controls[t.control.key].hidden)("inline-embedded",t.control.isInlineEmbedded)("embedded",t.control.isEmbedded))},inputs:{condensed:"condensed",autoFocus:"autoFocus",control:"control",form:"form"},outputs:{change:"change",edit:"edit",save:"save",delete:"delete",upload:"upload",onBlur:"blur",onFocus:"focus"},features:[c["\u0275\u0275InheritDefinitionFeature"]],decls:15,vars:26,consts:[[1,"novo-control-container",3,"hidden"],[3,"tooltip","tooltipPosition"],[1,"bhi-lock",3,"hidden"],[3,"ngClass",4,"ngIf"],[1,"novo-control-outer-container"],["class","novo-control-label",3,"novo-control-empty","novo-control-focused","novo-control-filled","novo-control-always-active","novo-control-extra-spacing",4,"ngIf"],[1,"novo-control-inner-container"],[1,"novo-control-inner-input-container"],[3,"hidden","class","ngClass",4,"ngIf"],[4,"ngIf"],[3,"class","has-tip","ngClass",4,"ngIf"],[3,"name","tip","icon","button","sanitize",4,"ngIf"],["class","loading",4,"ngIf"],[3,"ngClass"],[1,"novo-control-label"],[3,"hidden","ngClass"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"novo-control-input-container","novo-control-input-with-label"],["type","text"],[1,"messages",3,"ngClass"],["class","error-text",4,"ngIf"],["class","description",4,"ngIf"],["class","warning-text",4,"ngIf"],["class","character-count",3,"error",4,"ngIf"],["class","record-count",3,"zero-count","row-picker",4,"ngIf"],[1,"error-text"],["class","error-text",4,"ngFor","ngForOf"],[1,"description"],[1,"warning-text"],[1,"character-count"],[1,"record-count"],[3,"name","tip","icon","button","sanitize"],[1,"loading"],["version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",0,"xmlns","a","http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/","x","0px","y","0px","width","18.2px","height","18.5px","viewBox","0 0 18.2 18.5",0,"xml","space","preserve",2,"enable-background","new 0 0 18.2 18.5"],["type","text/css"],["d","M9.2,18.5C4.1,18.5,0,14.4,0,9.2S4.1,0,9.2,0c0.9,0,1.9,0.1,2.7,0.4c0.8,0.2,1.2,1.1,1,1.9\n                            c-0.2,0.8-1.1,1.2-1.9,1C10.5,3.1,9.9,3,9.2,3C5.8,3,3,5.8,3,9.2s2.8,6.2,6.2,6.2c2.8,0,5.3-1.9,6-4.7c0.2-0.8,1-1.3,1.8-1.1\n                            c0.8,0.2,1.3,1,1.1,1.8C17.1,15.7,13.4,18.5,9.2,18.5z",1,"spinner"]],template:function(e,t){1&e&&(c["\u0275\u0275elementStart"](0,"div",0),c["\u0275\u0275elementStart"](1,"span",1),c["\u0275\u0275element"](2,"i",2),c["\u0275\u0275elementEnd"](),c["\u0275\u0275template"](3,au,2,5,"label",3),c["\u0275\u0275elementStart"](4,"div",4),c["\u0275\u0275template"](5,su,2,12,"label",5),c["\u0275\u0275elementStart"](6,"div",6),c["\u0275\u0275elementStart"](7,"div",7),c["\u0275\u0275template"](8,cu,1,8,"i",8),c["\u0275\u0275elementStart"](9,"div"),c["\u0275\u0275template"](10,uu,2,2,"ng-container",9),c["\u0275\u0275template"](11,du,3,0,"ng-container",9),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275template"](12,Au,19,24,"div",10),c["\u0275\u0275template"](13,Pu,1,5,"novo-tip-well",11),c["\u0275\u0275elementEnd"](),c["\u0275\u0275template"](14,Du,5,0,"i",12),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()),2&e&&(c["\u0275\u0275property"]("hidden",t.form.controls[t.control.key].hidden||"hidden"===t.form.controls[t.control.key].type||"hidden"===t.form.controls[t.control.key].controlType),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("tooltip",t.labels.encryptedFieldTooltip)("tooltipPosition","right"),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("hidden",!t.form.controls[t.control.key].encrypted),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf","vertical"!==t.form.layout&&t.form.controls[t.control.key].label&&!t.condensed),c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("ngIf","vertical"===t.form.layout&&t.form.controls[t.control.key].label&&!t.condensed),c["\u0275\u0275advance"](1),c["\u0275\u0275classProp"]("required",t.form.controls[t.control.key].required&&!t.form.controls[t.control.key].readOnly),c["\u0275\u0275advance"](1),c["\u0275\u0275classProp"]("novo-control-filled",t.hasValue)("novo-control-empty",!t.hasValue),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",!t.condensed||t.form.controls[t.control.key].required),c["\u0275\u0275advance"](1),c["\u0275\u0275classMapInterpolate1"]("novo-control-input ",t.form.controls[t.control.key].controlType,""),c["\u0275\u0275classProp"]("control-disabled",t.form.controls[t.control.key].disabled)("highlighted",t.form.controls[t.control.key].highlighted),c["\u0275\u0275attribute"]("data-automation-id",t.control.key),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",t.templates),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",!t.templates||t.loading),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",!t.condensed),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",t.form.controls[t.control.key].tipWell),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",t.form.controls[t.control.key].fieldInteractionloading))},directives:function(){return[hh,h.m,h.k,h.r,h.l,Nv]},pipes:function(){return[h.w]},encapsulation:2}),vm),Cv=((pm=function(){function e(t){v(this,e),this.templates=t}return y(e,[{key:"ngAfterViewInit",value:function(){var e=this;this.defaultTemplates&&this.defaultTemplates.length&&this.defaultTemplates.forEach((function(t){e.templates.addDefault(t.name,t.template)}))}}]),e}()).\u0275fac=function(e){return new(e||pm)(c["\u0275\u0275directiveInject"](yv))},pm.\u0275cmp=c["\u0275\u0275defineComponent"]({type:pm,selectors:[["novo-control-templates"]],viewQuery:function(e,t){var n;1&e&&c["\u0275\u0275viewQuery"](_f,!0),2&e&&c["\u0275\u0275queryRefresh"](n=c["\u0275\u0275loadQuery"]())&&(t.defaultTemplates=n)},decls:17,vars:0,consts:[["novoTemplate","read-only"],["novoTemplate","textbox"],["novoTemplate","text-area"],["novoTemplate","editor"],["novoTemplate","native-select"],["novoTemplate","file"],["novoTemplate","tiles"],["novoTemplate","picker"],["novoTemplate","select"],["novoTemplate","radio"],["novoTemplate","time"],["novoTemplate","date"],["novoTemplate","date-time"],["novoTemplate","address"],["novoTemplate","checkbox"],["novoTemplate","checklist"],["novoTemplate","quick-note"],[1,"novo-control-input-container","novo-control-input-with-label",3,"formGroup","tooltip","tooltipPosition","tooltipSize","tooltipPreline","removeTooltipArrow","tooltipAutoPosition"],["autocomplete","",3,"textMask","formControlName","id","type","placeholder","input","focus","blur",4,"ngIf"],["autocomplete","",3,"maxlength-error","formControlName","id","type","placeholder","maxlength","input","focus","blur",4,"ngIf"],["step","any",3,"maxlength-error","formControlName","id","type","placeholder","maxlength","keydown","input","focus","blur","mousewheel",4,"ngIf"],["step","any",3,"id","type","placeholder","value","disabled","keydown","input","focus","blur","mousewheel",4,"ngIf"],["class","input-label",4,"ngIf"],["autocomplete","",3,"textMask","formControlName","id","type","placeholder","input","focus","blur"],["autocomplete","",3,"formControlName","id","type","placeholder","maxlength","input","focus","blur"],["step","any",3,"formControlName","id","type","placeholder","maxlength","keydown","input","focus","blur","mousewheel"],["numberInput",""],["step","any",3,"id","type","placeholder","value","disabled","keydown","input","focus","blur","mousewheel"],["percentInput",""],[1,"input-label"],[1,"textarea-container",3,"formGroup","tooltip","tooltipPosition","tooltipSize","tooltipPreline","removeTooltipArrow","tooltipAutoPosition"],["autosize","",3,"name","placeholder","formControlName","maxlength","input","focus","blur"],[3,"formGroup"],[3,"name","formControlName","startupFocus","minimal","fileBrowserImageUploadUrl","config","focus","blur"],[3,"id","formControlName","tooltip","tooltipPosition","tooltipSize","tooltipPreline","removeTooltipArrow","tooltipAutoPosition"],["value","","disabled","","selected","","hidden","",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],["value","","disabled","","selected","","hidden",""],[3,"value"],[3,"formControlName","id","name","placeholder","value","multiple","layoutOptions","tooltip","tooltipPosition","tooltipSize","tooltipPreline","removeTooltipArrow","tooltipAutoPosition","edit","save","delete","upload"],[3,"options","formControlName","tooltip","tooltipPosition","tooltipSize","tooltipPreline","removeTooltipArrow","tooltipAutoPosition","controlDisabled","onChange"],[1,"novo-control-input-container",3,"formGroup"],[3,"config","formControlName","placeholder","parentScrollSelector","tooltip","tooltipPosition","tooltipSize","tooltipPreline","removeTooltipArrow","tooltipAutoPosition","select","changed","typing","focus","blur",4,"ngIf"],[3,"source","type","formControlName","placeholder","maxlength","closeOnSelect","tooltip","tooltipPosition","tooltipSize","tooltipPreline","removeTooltipArrow","tooltipAutoPosition","changed","typing","focus","blur",4,"ngIf"],[3,"source","type","formControlName","placeholder","closeOnSelect","tooltip","tooltipPosition","tooltipSize","tooltipPreline","removeTooltipArrow","tooltipAutoPosition","changed","typing","focus","blur",4,"ngIf"],[3,"config","formControlName","placeholder","parentScrollSelector","tooltip","tooltipPosition","tooltipSize","tooltipPreline","removeTooltipArrow","tooltipAutoPosition","select","changed","typing","focus","blur"],[3,"source","type","formControlName","placeholder","maxlength","closeOnSelect","tooltip","tooltipPosition","tooltipSize","tooltipPreline","removeTooltipArrow","tooltipAutoPosition","changed","typing","focus","blur"],[3,"source","type","formControlName","placeholder","closeOnSelect","tooltip","tooltipPosition","tooltipSize","tooltipPreline","removeTooltipArrow","tooltipAutoPosition","changed","typing","focus","blur"],[3,"options","headerConfig","placeholder","formControlName","tooltip","tooltipPosition","tooltipSize","tooltipPreline","removeTooltipArrow","tooltipAutoPosition","onSelect"],[3,"name","formControlName","value","label","checked","tooltip","tooltipPosition","tooltipSize","tooltipPreline","removeTooltipArrow","tooltipAutoPosition","button","icon",4,"ngFor","ngForOf"],[3,"name","formControlName","value","label","checked","tooltip","tooltipPosition","tooltipSize","tooltipPreline","removeTooltipArrow","tooltipAutoPosition","button","icon"],[1,"novo-control-input-container",3,"formGroup","tooltip","tooltipPosition","tooltipSize","tooltipPreline","removeTooltipArrow","tooltipAutoPosition"],[3,"name","formControlName","placeholder","military"],[3,"name","formControlName","start","end","format","allowInvalidDate","textMaskEnabled","placeholder","weekStart","focusEvent","blurEvent","changeEvent"],[3,"name","formControlName","start","end","placeholder","military","weekStart","focusEvent","blurEvent","changeEvent"],[3,"formControlName","config","readOnly","change","focus","blur","validityChange"],[3,"formControlName","name","label","tooltip","tooltipPosition","tooltipSize","tooltipPreline","removeTooltipArrow","tooltipAutoPosition","layoutOptions"],[3,"formControlName","name","options","tooltip","tooltipPosition","tooltipSize","tooltipPreline","removeTooltipArrow","tooltipAutoPosition","onSelect"],[3,"formControlName","startupFocus","placeholder","config","tooltip","tooltipPosition","tooltipSize","removeTooltipArrow","tooltipAutoPosition","tooltipPreline","change"]],template:function(e,t){1&e&&(c["\u0275\u0275template"](0,Ru,2,1,"ng-template",0),c["\u0275\u0275template"](1,Bu,7,13,"ng-template",1),c["\u0275\u0275template"](2,Uu,2,14,"ng-template",2),c["\u0275\u0275template"](3,Hu,2,7,"ng-template",3),c["\u0275\u0275template"](4,Ku,4,11,"ng-template",4),c["\u0275\u0275template"](5,zu,2,14,"ng-template",5),c["\u0275\u0275template"](6,Yu,2,10,"ng-template",6),c["\u0275\u0275template"](7,Qu,4,4,"ng-template",7),c["\u0275\u0275template"](8,Xu,2,11,"ng-template",8),c["\u0275\u0275template"](9,ed,2,2,"ng-template",9),c["\u0275\u0275template"](10,td,2,12,"ng-template",10),c["\u0275\u0275template"](11,nd,2,17,"ng-template",11),c["\u0275\u0275template"](12,rd,2,15,"ng-template",12),c["\u0275\u0275template"](13,id,2,4,"ng-template",13),c["\u0275\u0275template"](14,od,2,11,"ng-template",14),c["\u0275\u0275template"](15,ad,2,10,"ng-template",15),c["\u0275\u0275template"](16,sd,2,11,"ng-template",16))},directives:function(){return[_f,La.NgControlStatusGroup,La.FormGroupDirective,hh,h.m,La.DefaultValueAccessor,ss.MaskedInputDirective,La.NgControlStatus,La.FormControlName,La.MaxLengthValidator,bv,wf,La.SelectControlValueAccessor,h.l,La.NgSelectOption,La["\u0275angular_packages_forms_forms_x"],pp,yp,hf,Lh,bf,Df,Ev,Fp,xp,Rp,ap,lp,dp,Tv]},encapsulation:2}),pm),wv=((mm=function e(){v(this,e)}).\u0275fac=function(e){return new(e||mm)},mm.\u0275cmp=c["\u0275\u0275defineComponent"]({type:mm,selectors:[["novo-fieldset-header"]],inputs:{title:"title",icon:"icon"},decls:3,vars:3,template:function(e,t){1&e&&(c["\u0275\u0275elementStart"](0,"h6"),c["\u0275\u0275element"](1,"i"),c["\u0275\u0275text"](2),c["\u0275\u0275elementEnd"]()),2&e&&(c["\u0275\u0275advance"](1),c["\u0275\u0275classMap"](t.icon||"bhi-section"),c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](t.title))},encapsulation:2}),mm),Sv=((fm=function(){function e(t){v(this,e),this.templates=t,this.hideHeader=!1,this.showingAllFields=!1,this.showingRequiredFields=!0}return y(e,[{key:"value",get:function(){return this.form.getRawValue()}},{key:"isValid",get:function(){return this.form.valid}},{key:"ngOnInit",value:function(){this.form.layout=this.layout}},{key:"ngAfterContentInit",value:function(){var e=this;this.customTemplates&&this.customTemplates.length&&this.customTemplates.forEach((function(t){e.templates.addCustom(t.name,t.template)}))}},{key:"showAllFields",value:function(){var e=this;Object.keys(this.form.controls).forEach((function(t){e.form.controls[t].hidden=!1})),this.showingAllFields=!0,this.showingRequiredFields=!1}},{key:"showOnlyRequired",value:function(e){var t=this;Object.keys(this.form.controls).forEach((function(n){t.form.controls[n].required||(t.form.controls[n].hidden=!0),e&&!mh.isBlank(t.form.value[n])&&(t.form.controls[n].hidden=!0),t.form.controls[n].errors&&(t.form.controls[n].hidden=!1)})),this.showingAllFields=!1,this.showingRequiredFields=!0,this.forceValidation()}},{key:"forceValidation",value:function(){var e=this;Object.keys(this.form.controls).forEach((function(t){var n=e.form.controls[t];n.required&&mh.isBlank(e.form.value[n.key])&&(n.markAsDirty(),n.markAsTouched())}))}}]),e}()).\u0275fac=function(e){return new(e||fm)(c["\u0275\u0275directiveInject"](yv))},fm.\u0275cmp=c["\u0275\u0275defineComponent"]({type:fm,selectors:[["novo-form"]],contentQueries:function(e,t,n){var r;1&e&&c["\u0275\u0275contentQuery"](n,_f,!1),2&e&&c["\u0275\u0275queryRefresh"](r=c["\u0275\u0275loadQuery"]())&&(t.customTemplates=r)},inputs:{hideHeader:"hideHeader",form:"form",layout:"layout"},features:[c["\u0275\u0275ProvidersFeature"]([yv])],ngContentSelectors:ud,decls:5,vars:2,consts:[[1,"novo-form-container"],[4,"ngIf"],[1,"novo-form",3,"formGroup"]],template:function(e,t){1&e&&(c["\u0275\u0275projectionDef"](ld),c["\u0275\u0275element"](0,"novo-control-templates"),c["\u0275\u0275elementStart"](1,"div",0),c["\u0275\u0275template"](2,cd,3,0,"header",1),c["\u0275\u0275elementStart"](3,"form",2),c["\u0275\u0275projection"](4),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()),2&e&&(c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("ngIf",!t.hideHeader),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("formGroup",t.form))},directives:[Cv,h.m,La["\u0275angular_packages_forms_forms_y"],La.NgControlStatusGroup,La.FormGroupDirective],encapsulation:2}),fm),_v={provide:La.NG_VALUE_ACCESSOR,useExisting:Object(c.forwardRef)((function(){return Ev})),multi:!0},Ev=((wm=function(){function e(t){v(this,e),this.ref=t,this.button=!1,this.theme="secondary",this.disabled=!1,this.change=new c.EventEmitter,this.onModelChange=function(){},this.onModelTouched=function(){}}return y(e,[{key:"select",value:function(e){mh.swallowEvent(e),this.checked||(this.checked=!this.checked,this.change.emit(this.value),this.onModelChange(this.value),this.ref.markForCheck())}},{key:"writeValue",value:function(e){this.model=e,this.ref.markForCheck()}},{key:"registerOnChange",value:function(e){this.onModelChange=e}},{key:"registerOnTouched",value:function(e){this.onModelTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e}}]),e}()).\u0275fac=function(e){return new(e||wm)(c["\u0275\u0275directiveInject"](c.ChangeDetectorRef))},wm.\u0275cmp=c["\u0275\u0275defineComponent"]({type:wm,selectors:[["novo-radio"]],hostVars:2,hostBindings:function(e,t){2&e&&c["\u0275\u0275classProp"]("vertical",t.vertical)},inputs:{button:"button",theme:"theme",disabled:"disabled",checked:"checked",name:"name",value:"value",vertical:"vertical",label:"label",icon:"icon"},outputs:{change:"change"},features:[c["\u0275\u0275ProvidersFeature"]([_v])],ngContentSelectors:vs,decls:4,vars:9,consts:[["type","radio",3,"name","checked","disabled","change"],[3,"click"],[3,"ngClass","theme","icon",4,"ngIf"],[4,"ngIf"],[3,"ngClass","theme","icon"],[3,"ngClass"]],template:function(e,t){1&e&&(c["\u0275\u0275projectionDef"](),c["\u0275\u0275elementStart"](0,"input",0),c["\u0275\u0275listener"]("change",(function(e){return t.select(e)})),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](1,"label",1),c["\u0275\u0275listener"]("click",(function(e){return t.select(e)})),c["\u0275\u0275template"](2,hd,2,8,"button",2),c["\u0275\u0275template"](3,md,4,5,"div",3),c["\u0275\u0275elementEnd"]()),2&e&&(c["\u0275\u0275property"]("name",t.name)("checked",t.checked)("disabled",t.disabled),c["\u0275\u0275attribute"]("id",t.name),c["\u0275\u0275advance"](1),c["\u0275\u0275classProp"]("disabled",t.disabled),c["\u0275\u0275attribute"]("for",t.name),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",t.button),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",!t.button))},directives:[h.m,lh,h.k],encapsulation:2}),wm),Iv=((Cm=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:Cm}),Cm.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||Cm)},imports:[[h.c,uh]]}),Cm),xv=((km=function(e){l(n,e);var t=d(n);function n(e,r,i){var o;return v(this,n),(o=t.call(this,e,r,i)).labels=r,o.taggingMode="",o}return y(n,[{key:"term",get:function(){return this._term},set:function(e){var t=this;this._term=e.searchTerm,this.taggingMode=e.taggingMode,this.hasError=!1,this.isLoading=!0,this.search(e,this.taggingMode).subscribe((function(e){t.matches=t.isStatic?t.filterData(e):e,t.isLoading=!1}),(function(){t.hasError=!0,t.isLoading=!1}))}},{key:"search",value:function(e,t){var n=this,r=this.config.options[t];return Object(C.a)(new Promise((function(t,i){if(r)if(Array.isArray(r))n.isStatic=!0,t(n.structureArray(r));else if(r.hasOwnProperty("reject")&&r.hasOwnProperty("resolve")||Object.getPrototypeOf(r).hasOwnProperty("then"))n.isStatic=!1,r.then(n.structureArray.bind(n)).then(t,i);else{if("function"!=typeof r)throw i("The data provided is not an array or a promise"),new Error("The data provided is not an array or a promise");n.isStatic=!1,r(e).then(n.structureArray.bind(n)).then(t,i)}else i("error")})))}},{key:"structureArray",value:function(e){var t=this;return e.map(!e||"string"!=typeof e[0]&&"number"!=typeof e[0]?function(e){var n=t.config.field?e[t.config.field[t.taggingMode]]:e.value||e;return{value:n,label:t.config.format?mh.interpolate(t.config.format[t.taggingMode],e):e.label||String(n),data:e}}:function(e){return{value:e,label:e}})}},{key:"selectMatch",value:function(e){e&&(e.stopPropagation(),e.preventDefault());var t=this.activeMatch;return t&&(this.parent.onSelected(this.taggingMode,t),this.parent.hideResults()),!1}}]),n}(Gh)).\u0275fac=function(e){return new(e||km)(c["\u0275\u0275directiveInject"](c.ElementRef),c["\u0275\u0275directiveInject"](bh),c["\u0275\u0275directiveInject"](c.ChangeDetectorRef))},km.\u0275cmp=c["\u0275\u0275defineComponent"]({type:km,selectors:[["quick-note-results"]],hostAttrs:[1,"active"],features:[c["\u0275\u0275InheritDefinitionFeature"]],decls:4,vars:4,consts:[["theme","line",4,"ngIf"],[4,"ngIf"],["class","picker-error",4,"ngIf"],["class","picker-null",4,"ngIf"],["theme","line"],[3,"active","click","mouseenter",4,"ngFor","ngForOf"],[3,"click","mouseenter"],[3,"innerHtml"],[1,"picker-error"],[1,"picker-null"]],template:function(e,t){1&e&&(c["\u0275\u0275template"](0,pd,1,0,"novo-loading",0),c["\u0275\u0275template"](1,gd,2,1,"novo-list",1),c["\u0275\u0275template"](2,yd,2,1,"p",2),c["\u0275\u0275template"](3,bd,2,1,"p",3)),2&e&&(c["\u0275\u0275property"]("ngIf",t.isLoading&&!t.matches.length),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",t.matches.length>0),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",t.hasError),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",!t.isLoading&&!t.matches.length&&!t.hasError))},directives:[h.m,kh,Ih,h.l,xh,Dh],encapsulation:2}),km),Ov={provide:La.NG_VALUE_ACCESSOR,useExisting:Object(c.forwardRef)((function(){return Tv})),multi:!0},Tv=((Mm=function(e){l(n,e);var t=d(n);function n(e,r,i){var o;return v(this,n),(o=t.call(this,r)).zone=e,o.componentUtils=i,o.startupFocus=!1,o.focus=new c.EventEmitter,o.blur=new c.EventEmitter,o.change=new c.EventEmitter,o.placeholderVisible=!1,o._placeholderElement=null,o.onModelChange=function(){},o.onModelTouched=function(){},o.onActiveChange.subscribe((function(e){e||setTimeout((function(){o.hideResults()}))})),o}return y(n,[{key:"ngOnInit",value:function(){if(!this.config)throw new Error("No config set for QuickNote!");if(!this.config.triggers)throw new Error("QuickNote config must supply triggers!");if(!this.config.options)throw new Error("QuickNote config must supply options!");this.resultsComponent=this.config.resultsTemplate||xv}},{key:"ngOnDestroy",value:function(){var e=this;this.ckeInstance&&(this.ckeInstance.focusManager.blur(!0),setTimeout((function(){e.ckeInstance.removeAllListeners(),CKEDITOR.instances[e.ckeInstance.name].destroy(),e.ckeInstance.destroy(),e.ckeInstance=null})))}},{key:"ngAfterViewInit",value:function(){var e=this;CKEDITOR?(this.ckeInstance=CKEDITOR.replace(this.host.nativeElement,this.getCKEditorConfig()),this.writeValue(this.model),this.ckeInstance.on("key",(function(t){e.onKey(t.data.domEvent.$)||t.cancel()})),this.ckeInstance.on("change",(function(){e.debounceTimeout&&clearTimeout(e.debounceTimeout),e.debounceTimeout=setTimeout((function(){e.zone.run((function(){e.onValueChange()})),e.debounceTimeout=null}),250)})),this.ckeInstance.on("blur",(function(t){e.showPlaceholder(),e.blur.emit(t)})),this.ckeInstance.on("focus",(function(t){e.hidePlaceholder(),e.focus.emit(t)})),this.ckeInstance.on("instanceReady",(function(t){e.showPlaceholder(),e.config.readOnly&&e.ckeInstance.setReadOnly(e.config.readOnly)}))):console.error("Make sure to include CKEditor sources in your dependencies!")}},{key:"onTouched",value:function(e){this.onModelTouched()}},{key:"writeValue",value:function(e){this.model=e&&(e.references||e.note)?{note:e.note||"",references:e.references||{}}:{note:e,references:{}},this.ckeInstance&&this.ckeInstance.setData(this.model.note)}},{key:"registerOnChange",value:function(e){this.onModelChange=e}},{key:"registerOnTouched",value:function(e){this.onModelTouched=e}},{key:"getRenderer",value:function(e){return this.config.renderer?this.config.renderer[e]:n.defaultRenderer}},{key:"onKey",value:function(e){var t=this;if(e.key)if(this.quickNoteResults){if(e.keyCode===_h.ESC)return this.zone.run((function(){t.hideResults()})),!1;if(e.keyCode===_h.UP)return this.zone.run((function(){t.quickNoteResults.instance.prevActiveMatch()})),!1;if(e.keyCode===_h.DOWN)return this.zone.run((function(){t.quickNoteResults.instance.nextActiveMatch()})),!1;if(e.keyCode===_h.ENTER)return this.zone.run((function(){t.quickNoteResults.instance.selectActiveMatch()})),!1}else{var n=this.config.triggers||{};Object.keys(n).forEach((function(r){e.key===(n[r]||{})&&(t.isTagging=!0,t.taggingMode=r)}))}return!0}},{key:"onValueChange",value:function(){var e=this.ckeInstance.getData(),t=new RegExp(String.fromCharCode(8203),"g");e=e.replace(t,""),this.validateReferences(),this.showResults();var n=null;e&&(n={note:e,references:this.model.references}),this.onModelChange(n),this.change.emit(n),this.onTouched()}},{key:"showResults",value:function(){if(this.isTagging){var e=this.getSearchTerm();e.length?this.quickNoteResults?this.quickNoteResults.instance.term={searchTerm:e,taggingMode:this.taggingMode}:(this.quickNoteResults=this.componentUtils.append(this.resultsComponent,this.results),this.quickNoteResults.instance.parent=this,this.quickNoteResults.instance.config=this.config,this.quickNoteResults.instance.term={searchTerm:e,taggingMode:this.taggingMode},this.positionResultsDropdown()):this.quickNoteResults&&(this.quickNoteResults.destroy(),this.quickNoteResults=null),this.toggleActive(null,!0)}}},{key:"hideResults",value:function(){this.isTagging=!1,this.quickNoteResults&&(this.quickNoteResults.destroy(),this.quickNoteResults=null)}},{key:"onSelected",value:function(e,t){this.isTagging=!1;var n=this.config.triggers[e],r=this.getRenderer(e)(n,t);this.replaceWordAtCursor(r),this.model.references=this.model.references||{},this.model.references[e]=this.model.references[e]||[],0===this.model.references[e].filter((function(e){return JSON.stringify(e)===JSON.stringify(t)})).length&&this.model.references[e].push(t),this.onValueChange()}},{key:"getSearchTerm",value:function(){var e=this.getWordAtCursor().trim();if(this.isTagging){var t=this.config.triggers[this.taggingMode];if(!e.includes(t))return this.hideResults(),"";e=e.slice(e.indexOf(t)+t.length)}return e}},{key:"getWordAtCursor",value:function(){var e=this.ckeInstance.getSelection().getRanges()[0],t=e.startContainer;if(t.type===CKEDITOR.NODE_TEXT&&e.startOffset){var n=t.getText(),r=n.lastIndexOf(this.config.triggers[this.taggingMode],e.startOffset-1);if(r>0){var i=n.charAt(r-1);if("\u200b"!==i&&/\S/.test(i))return""}else if(t.hasPrevious()&&/\S$/.test(t.getPrevious().getText()))return"";var o=n.indexOf(" ",e.startOffset+1);return-1===r&&(r=0),-1===o&&(o=n.length),n.substring(r,o)}return""}},{key:"replaceWordAtCursor",value:function(e){var t=this.getWordAtCursor().trim(),n=this.ckeInstance.getSelection().getRanges()[0],r=n.startContainer,i=r.getParent();if(r.type===CKEDITOR.NODE_TEXT&&i){var o=i.getHtml(),a=o.lastIndexOf(t);if(a>=0){var s=o.substring(0,a)+e+" "+o.substring(a+t.length);i.setHtml(s),n.moveToPosition(i,CKEDITOR.POSITION_BEFORE_END),this.ckeInstance.getSelection().selectRanges([n])}}}},{key:"validateReferences",value:function(){var e=this,t=this.ckeInstance.document.getBody().getHtml(),n=new RegExp("&","g");t=t.replace(n,"&"),Object.keys(this.model.references).forEach((function(n){var r=e.model.references[n]||[],i=e.config.triggers[n],o=e.getRenderer(n);e.model.references[n]=r.filter((function(e){var n=o(i,e);return t.includes(n)})),0===e.model.references[n].length&&delete e.model.references[n]}))}},{key:"getCKEditorConfig",value:function(){var e=this.wrapper.nativeElement.clientHeight-n.TOOLBAR_HEIGHT;return this.wrapper.nativeElement.style.setProperty("height","100%"),{enterMode:CKEDITOR.ENTER_BR,shiftEnterMode:CKEDITOR.ENTER_P,disableNativeSpellChecker:!1,height:e,startupFocus:this.startupFocus,removePlugins:"liststyle,tabletools,contextmenu",toolbar:[{name:"basicstyles",items:["Styles","FontSize","Bold","Italic","Underline","TextColor","-","NumberedList","BulletedList","Outdent","Indent","Link"]}]}}},{key:"getCursorPosition",value:function(){var e=this.ckeInstance.getSelection().getRanges()[0].startContainer.$.parentElement,t=this.ckeInstance.editable().$,n=document.createElement("img");n.setAttribute("src","null"),n.setAttribute("width","0"),n.setAttribute("height","0"),e.appendChild(n);var r={top:n.offsetTop-t.scrollTop,left:n.offsetLeft-t.scrollLeft};return n.remove(),r}},{key:"positionResultsDropdown",value:function(){var e=2*n.TOOLBAR_HEIGHT,t=this.getContentHeight()+n.TOOLBAR_HEIGHT,r=this.getCursorPosition().top+n.TOOLBAR_HEIGHT;r=Math.max(r,e),r=Math.min(r,t),this.quickNoteResults.instance.element.nativeElement.style.setProperty("margin-top",r+"px")}},{key:"getContentHeight",value:function(){var e=0;if(this.ckeInstance.ui&&this.ckeInstance.ui.contentsElement&&this.ckeInstance.ui.contentsElement.$&&this.ckeInstance.ui.contentsElement.$.style){var t=this.ckeInstance.ui.contentsElement.$.style.cssText;if(-1!==t.indexOf("height: ")){var n=t.split("height: ")[1];n=n.split("px")[0],e=parseInt(n,10)}}return e}},{key:"showPlaceholder",value:function(){this.ckeInstance.getData()||this.startupFocus||(this.ckeInstance.editable().getParent().$.appendChild(this.placeholderElement),this.placeholderVisible=!0)}},{key:"hidePlaceholder",value:function(){this.placeholderVisible&&(this.ckeInstance.editable().getParent().$.removeChild(this.placeholderElement),this.placeholderVisible=!1)}},{key:"placeholderElement",get:function(){return this._placeholderElement||(this._placeholderElement=document.createElement("div"),this._placeholderElement.className="placeholder",this._placeholderElement.style.cssText="margin: 20px; color: #AAAAAA; font-family: sans-serif; font-size: 13px; line-height: 20px; position: absolute; top: 0",this._placeholderElement.textContent=this.placeholder),this._placeholderElement}}],[{key:"defaultRenderer",value:function(e,t){return"<a>".concat(e).concat(t.label,"</a>")}}]),n}(Sh)).\u0275fac=function(e){return new(e||Mm)(c["\u0275\u0275directiveInject"](c.NgZone),c["\u0275\u0275directiveInject"](c.ElementRef),c["\u0275\u0275directiveInject"](Nh))},Mm.\u0275cmp=c["\u0275\u0275defineComponent"]({type:Mm,selectors:[["novo-quick-note"]],viewQuery:function(e,t){var n;1&e&&(c["\u0275\u0275staticViewQuery"](kd,!0),c["\u0275\u0275staticViewQuery"](xc,!0),c["\u0275\u0275staticViewQuery"](Us,!0,c.ViewContainerRef)),2&e&&(c["\u0275\u0275queryRefresh"](n=c["\u0275\u0275loadQuery"]())&&(t.wrapper=n.first),c["\u0275\u0275queryRefresh"](n=c["\u0275\u0275loadQuery"]())&&(t.host=n.first),c["\u0275\u0275queryRefresh"](n=c["\u0275\u0275loadQuery"]())&&(t.results=n.first))},inputs:{startupFocus:"startupFocus",config:"config",placeholder:"placeholder"},outputs:{focus:"focus",blur:"blur",change:"change"},features:[c["\u0275\u0275ProvidersFeature"]([Ov]),c["\u0275\u0275InheritDefinitionFeature"]],decls:6,vars:0,consts:[[1,"quick-note-wrapper"],["wrapper",""],["host",""],["results",""]],template:function(e,t){1&e&&(c["\u0275\u0275elementStart"](0,"div",0,1),c["\u0275\u0275element"](2,"textarea",null,2),c["\u0275\u0275element"](4,"span",null,3),c["\u0275\u0275elementEnd"]())},encapsulation:2}),Mm.TOOLBAR_HEIGHT=40,Mm),Av=((Rm=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:Rm}),Rm.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||Rm)},imports:[[h.c,La.FormsModule,Ch,Rh]]}),Rm),Pv=((Dm=function e(){v(this,e)}).\u0275fac=function(e){return new(e||Dm)},Dm.\u0275cmp=c["\u0275\u0275defineComponent"]({type:Dm,selectors:[["utils"]],ngContentSelectors:vs,decls:1,vars:0,template:function(e,t){1&e&&(c["\u0275\u0275projectionDef"](),c["\u0275\u0275projection"](0))},encapsulation:2}),Dm),Dv=((Pm=function e(){v(this,e)}).\u0275fac=function(e){return new(e||Pm)},Pm.\u0275cmp=c["\u0275\u0275defineComponent"]({type:Pm,selectors:[["util-action"],["novo-action"]],inputs:{icon:"icon",inverse:"inverse",disabled:"disabled"},ngContentSelectors:vs,decls:2,vars:3,consts:[["theme","icon",3,"icon","disabled"]],template:function(e,t){1&e&&(c["\u0275\u0275projectionDef"](),c["\u0275\u0275elementStart"](0,"button",0),c["\u0275\u0275projection"](1),c["\u0275\u0275elementEnd"]()),2&e&&(c["\u0275\u0275property"]("icon",t.icon)("disabled",t.disabled),c["\u0275\u0275attribute"]("inverse",t.inverse))},directives:[lh],encapsulation:2}),Pm),Rv=((Am=function(){function e(){v(this,e),this.headerClass="novo-header",this.condensed=!1,this.inverse="inverse"}return y(e,[{key:"theme",get:function(){return this._theme},set:function(e){this._theme=e,this.inverse="white"===e||"off-white"===e||"light"===e?void 0:"inverse"}},{key:"icon",get:function(){return this._icon},set:function(e){this._icon="bhi-"+e}}]),e}()).\u0275fac=function(e){return new(e||Am)},Am.\u0275cmp=c["\u0275\u0275defineComponent"]({type:Am,selectors:[["header","theme",""]],hostVars:5,hostBindings:function(e,t){2&e&&(c["\u0275\u0275attribute"]("theme",t.theme),c["\u0275\u0275classMap"](t.headerClass),c["\u0275\u0275classProp"]("condensed",t.condensed))},inputs:{condensed:"condensed",theme:"theme",icon:"icon",title:"title",subTitle:"subTitle"},attrs:hs,ngContentSelectors:Id,decls:9,vars:2,consts:[[1,"header-title"],[4,"ngIf"],["flex",""],["class","header-icon",3,"ngClass",4,"ngIf"],[1,"header-titles"],[1,"header-icon",3,"ngClass"]],template:function(e,t){1&e&&(c["\u0275\u0275projectionDef"](Ed),c["\u0275\u0275elementStart"](0,"section"),c["\u0275\u0275elementStart"](1,"div",0),c["\u0275\u0275template"](2,Sd,6,3,"ng-container",1),c["\u0275\u0275template"](3,_d,4,0,"ng-container",1),c["\u0275\u0275elementEnd"](),c["\u0275\u0275projection"](4),c["\u0275\u0275element"](5,"span",2),c["\u0275\u0275projection"](6,1),c["\u0275\u0275projection"](7,2),c["\u0275\u0275elementEnd"](),c["\u0275\u0275projection"](8,3)),2&e&&(c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("ngIf",t.title),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",!t.title))},directives:[h.m,h.k],encapsulation:2}),Am),Mv=((Tm=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:Tm}),Tm.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||Tm)},imports:[[h.c,uh]]}),Tm),Nv=((Om=function(){function e(t,n){v(this,e),this.labels=t,this.sanitizer=n,this.button=!0,this.sanitize=!0,this.confirmed=new c.EventEmitter,this.isActive=!0,this.isActive=!0,this.isLocalStorageEnabled=function(){var e=!1;if("object"==typeof localStorage)try{localStorage.setItem("lsTest","1"),localStorage.removeItem("lsTest"),e=!0}catch(t){console.warn('This web browser does not support storing settings locally. In Safari, the most common cause of this is using "Private Browsing Mode". Some settings may not save or some features may not work properly for you.')}return e}()}return y(e,[{key:"tipWithStyles",get:function(){return this._tipWithStyles&&this._lastTipStyled===this.tip||(this._tipWithStyles=this.sanitizer.bypassSecurityTrustHtml(this.tip),this._lastTipStyled=this.tip),this._tipWithStyles}},{key:"ngOnInit",value:function(){if(this.tip=this.tip||"",this.buttonText=this.buttonText||this.labels.okGotIt,this.button="string"==typeof this.button?"true"===this.button:this.button,this.icon=this.icon||null,this.name=this.name||Math.round(100*Math.random()),this.localStorageKey="novo-tw_"+this.name,this.isLocalStorageEnabled){var e=JSON.parse(localStorage.getItem(this.localStorageKey));this.isActive=!1!==e}}},{key:"hideTip",value:function(){this.isLocalStorageEnabled&&localStorage.setItem(this.localStorageKey,JSON.stringify(!1)),this.isActive=!1,this.confirmed.emit()}}]),e}()).\u0275fac=function(e){return new(e||Om)(c["\u0275\u0275directiveInject"](bh),c["\u0275\u0275directiveInject"](u.DomSanitizer))},Om.\u0275cmp=c["\u0275\u0275defineComponent"]({type:Om,selectors:[["novo-tip-well"]],hostVars:2,hostBindings:function(e,t){2&e&&c["\u0275\u0275classProp"]("active",t.isActive)},inputs:{button:"button",sanitize:"sanitize",tip:"tip",buttonText:"buttonText",icon:"icon",name:"name"},outputs:{confirmed:"confirmed"},decls:1,vars:1,consts:[[4,"ngIf"],[3,"class",4,"ngIf"],[3,"innerHTML",4,"ngIf"],["theme","dialogue",3,"click",4,"ngIf"],[3,"innerHTML"],["theme","dialogue",3,"click"]],template:function(e,t){1&e&&c["\u0275\u0275template"](0,Pd,6,4,"div",0),2&e&&c["\u0275\u0275property"]("ngIf",t.isActive)},directives:[h.m,lh],encapsulation:2}),Om),jv=((xm=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:xm}),xm.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||xm)},imports:[[h.c,uh]]}),xm),Fv=((Im=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:Im}),Im.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||Im)},imports:[[h.c,uh]]}),Im),Lv=((Em=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:Em}),Em.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||Em)},providers:[yv],imports:[[h.c,La.ReactiveFormsModule,Iv,bp,Rf,pf,kf,Op,Lp,Sf,vp,Av,Vp,Mv,fh,ss.TextMaskModule,jv,Fv,uh,Ef]]}),Em),Vv=((_m=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:_m}),_m.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||_m)}}),_m),Bv=((Sm=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:Sm}),Sm.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||Sm)},imports:[[h.c,La.FormsModule,pf,kf]]}),Sm),Uv=function e(){v(this,e)},Hv=((Nm=function(e){l(n,e);var t=d(n);function n(){return v(this,n),t.apply(this,arguments)}return y(n,[{key:"nativeGlobal",get:function(){return window}}]),n}(Uv)).\u0275fac=function(e){return Gv(e||Nm)},Nm.\u0275prov=c["\u0275\u0275defineInjectable"]({token:Nm,factory:Nm.\u0275fac}),Nm),Gv=c["\u0275\u0275getInheritedFactory"](Hv),qv=((tp=function(){function e(){v(this,e)}return y(e,[{key:"setItem",value:function(e,t){localStorage.setItem(e,t)}},{key:"getItem",value:function(e){return localStorage.getItem(e)}},{key:"removeItem",value:function(e){localStorage.removeItem(e)}}]),e}()).\u0275fac=function(e){return new(e||tp)},tp.\u0275prov=c["\u0275\u0275defineInjectable"]({token:tp,factory:tp.\u0275fac}),tp),Kv=((ep=function(){function e(t,n,r,i){v(this,e),this._http=t,this.platformId=n,this._global=r,this._localStorageService=i}return y(e,[{key:"getPredictions",value:function(e,t){var n=this;return new Promise((function(r){n._http.get(e+"?query="+t).subscribe((function(e){r(e||!1)}))}))}},{key:"getLatLngDetail",value:function(e,t,n){var r=this;return new Promise((function(i){r._http.get(e+"?lat="+t+"&lng="+n).subscribe((function(e){i(e||!1)}))}))}},{key:"getPlaceDetails",value:function(e,t){var n=this;return new Promise((function(r){n._http.get(e+"?query="+t).subscribe((function(e){r(e||!1)}))}))}},{key:"getGeoCurrentLocation",value:function(){var e=this;return new Promise((function(t){if(Object(h.y)(e.platformId)){var n=e._global.nativeGlobal;n.navigator.geolocation?n.navigator.geolocation.getCurrentPosition((function(e){var n={lat:parseFloat(e.coords.latitude+""),lng:parseFloat(e.coords.longitude+"")};t(n)})):t(!1)}else t(!1)}))}},{key:"getGeoLatLngDetail",value:function(e){var t=this;return new Promise((function(n){Object(h.y)(t.platformId)?(new t._global.nativeGlobal.google.maps.Geocoder).geocode({location:e},(function(e,r){"OK"===r?t.getGeoPlaceDetail(e[0].place_id).then((function(e){n(e||!1)})):n(!1)})):n(!1)}))}},{key:"getGeoPrediction",value:function(e){var t=this;return new Promise((function(n){if(Object(h.y)(t.platformId)){var r=t._global.nativeGlobal,i=new r.google.maps.places.AutocompleteService,o={},a=[];if(o=e.countryRestriction.length?{input:e.query,componentRestrictions:{country:e.countryRestriction}}:{input:e.query},e.geoLocation&&(o.location=new r.google.maps.LatLng(parseFloat(e.geoLocation[0]),parseFloat(e.geoLocation[1])),o.radius=e.radius),e.geoTypes.length)for(var s=0;s<e.geoTypes.length;s++){var c=o;c.types=new Array(e.geoTypes[s]),a.push(t.geoPredictionCall(i,c))}else a.push(t.geoPredictionCall(i,o));Promise.all(a).then((function(e){var r=e;if(r.length>1){for(var i=[],o=0;o<r.length;o++)r[o]&&r[o].length&&(i=i.concat(r[o]));i=t.getUniqueResults(i),n(i)}else n(e[0])}))}else n(!1)}))}},{key:"getGeoPlaceDetail",value:function(e){var t=this;return new Promise((function(n){Object(h.y)(t.platformId)?new t._global.nativeGlobal.google.maps.places.PlacesService(document.createElement("div")).getDetails({placeId:e},(function(e,r){null===e||0===e.length?t.getGeoPaceDetailByReferance(e.referance).then((function(e){n(e||!1)})):n(e)})):n(!1)}))}},{key:"getGeoPaceDetailByReferance",value:function(e){var t=this;return new Promise((function(n){if(Object(h.y)(t.platformId)){var r=t._global.nativeGlobal;(new r.google.maps.places.PlacesService).getDetails({reference:e},(function(e,t){n(t===r.google.maps.places.PlacesServiceStatus.OK&&e)}))}else n(!1)}))}},{key:"addRecentList",value:function(e,t,n){var r=this;this.getRecentList(e).then((function(i){if(i){for(var o=0;o<i.length;o++)if(i[o].description===t.description){i.splice(o,1);break}i.unshift(t),i.length>n&&i.pop(),r._localStorageService.setItem(e,JSON.stringify(i))}}))}},{key:"getRecentList",value:function(e){var t=this;return new Promise((function(n){var r=t._localStorageService.getItem(e);n(r=r?JSON.parse(r):[])}))}},{key:"getUniqueResults",value:function(e){return Array.from(e.reduce((function(e,t){return e.set(t.place_id,t)}),new Map).values())}},{key:"geoPredictionCall",value:function(e,t){var n=this._global.nativeGlobal;return new Promise((function(r){e.getPlacePredictions(t,(function(e,t){r(t===n.google.maps.places.PlacesServiceStatus.OK&&e)}))}))}}]),e}()).\u0275fac=function(e){return new(e||ep)(c["\u0275\u0275inject"](Jr),c["\u0275\u0275inject"](c.PLATFORM_ID),c["\u0275\u0275inject"](Uv),c["\u0275\u0275inject"](qv))},ep.\u0275prov=c["\u0275\u0275defineInjectable"]({token:ep,factory:ep.\u0275fac}),ep),zv=(($m=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:$m}),$m.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||$m)},providers:[Kv],imports:[[h.c,di,La.FormsModule,Rh]]}),$m),Yv=((Xm=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:Xm}),Xm.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||Xm)}}),Xm),Wv=((Qm=function(){function e(){v(this,e),this.id=Math.random(),this.sort=void 0,this.filter=void 0,this.page=0,this.pageSize=void 0,this.globalSearch=void 0,this.selectedRows=new Map,this.updates=new c.EventEmitter,this.onReset=new c.EventEmitter}return y(e,[{key:"userFiltered",get:function(){return!!(this.filter||this.sort||this.globalSearch||this.outsideFilter)}},{key:"reset",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0;t||(this.sort=void 0,this.globalSearch=void 0,this.filter=void 0),this.page=0,this.selectedRows.clear(),this.onReset.emit(!0),e&&this.updates.emit({sort:this.sort,filter:this.filter,globalSearch:this.globalSearch})}}]),e}()).\u0275fac=function(e){return new(e||Qm)},Qm.\u0275prov=c["\u0275\u0275defineInjectable"]({token:Qm,factory:Qm.\u0275fac}),Qm),Zv=((Jm=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:Jm}),Jm.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||Jm)},providers:[Wv],imports:[[Op,za,h.c,La.FormsModule,uh,Af,vp,Ch,bp,wp]]}),Jm),Jv=((Zm=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:Zm}),Zm.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||Zm)},imports:[[h.c,uh]]}),Zm),Qv=((Wm=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:Wm}),Wm.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||Wm)},imports:[[h.c,Zo,uh,ds,Vv,as]]}),Wm),Xv=((Ym=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:Ym}),Ym.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||Ym)},providers:[bh],imports:[[h.c,La.FormsModule,Go,Eh,Rh,vp,uh,Af]]}),Ym),$v=((zm=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:zm}),zm.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||zm)},imports:[[h.c,La.FormsModule,Rf,Af,uh]]}),zm),eg=((Km=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:Km}),Km.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||Km)},imports:[[h.c]]}),Km),tg=((qm=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:qm}),qm.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||qm)},imports:[[h.c,La.FormsModule,Lv,$v,eg,uh,fh,Af,Ch,Op,vp,ss.TextMaskModule]]}),qm),ng=((Gm=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:Gm}),Gm.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||Gm)},imports:[[h.c]]}),Gm),rg=((Hm=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:Hm}),Hm.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||Hm)},imports:[[h.c]]}),Hm),ig=((Um=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:Um}),Um.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||Um)},providers:[{provide:Nh,useClass:Nh},{provide:Ep,useClass:Ep},{provide:bh,useClass:bh},{provide:Kv,useClass:Kv},{provide:Uv,useClass:Hv},{provide:qv,useClass:qv},{provide:av,useClass:av},{provide:sv,useClass:sv}],imports:[[La.ReactiveFormsModule],gh,uh,Ch,wh,yh,eg,fh,Mv,Eh,bp,Fv,Av,Iv,Af,Rf,Rh,Uh,Jv,pf,kf,Op,Lp,Vp,Sf,jv,Zv,tg,$v,Lv,vp,Mh,Bv,Yv,Pp,wp,Bh,zv,rg,Vv,Bp,ng,Ef,Qv,Go,Xv]}),Um),og=((Bm=function(){function e(t,n,r,i,o){v(this,e),this.router=t,this.meta=n,this.ref=r,this.toastService=i,this.modalService=o,this.title=oo.settings.companyName,oo.settings.integrations.googleSiteVerification&&this.meta.updateTag({name:"google-site-verification",content:oo.settings.integrations.googleSiteVerification.verificationCode});var a="";oo.settings.integrations.googleAnalytics&&(a=oo.settings.integrations.googleAnalytics.trackingId),a&&!oo.isServer&&this.router.events.subscribe((function(e){e instanceof Te&&(window.ga("create",a,"auto"),window.ga("set","page",e.urlAfterRedirects),window.ga("send","pageview"))}))}return y(e,[{key:"ngOnInit",value:function(){this.toastService.parentViewContainer=this.ref,this.modalService.parentViewContainer=this.ref}}]),e}()).\u0275fac=function(e){return new(e||Bm)(c["\u0275\u0275directiveInject"](Yn),c["\u0275\u0275directiveInject"](u.Meta),c["\u0275\u0275directiveInject"](c.ViewContainerRef),c["\u0275\u0275directiveInject"](Ap),c["\u0275\u0275directiveInject"](fv))},Bm.\u0275cmp=c["\u0275\u0275defineComponent"]({type:Bm,selectors:[["app-root"]],decls:4,vars:1,consts:[["icon","company","theme","neutral","condensed","true",3,"title"],["novo-title","",1,"entity-header"]],template:function(e,t){1&e&&(c["\u0275\u0275elementStart"](0,"header",0),c["\u0275\u0275element"](1,"div",1),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](2,"div"),c["\u0275\u0275element"](3,"router-outlet"),c["\u0275\u0275elementEnd"]()),2&e&&c["\u0275\u0275property"]("title",t.title)},directives:[Rv,er],styles:[""]}),Bm),ag=((Vm=function(){function e(){v(this,e),oo.settings.integrations.googleAnalytics&&(this.trackingId=oo.settings.integrations.googleAnalytics.trackingId)}return y(e,[{key:"trackEvent",value:function(e){this.trackingId&&!oo.isServer&&window.ga("send",{hitType:"event",eventCategory:"Career Portal",eventAction:e,eventLabel:e})}}]),e}()).\u0275fac=function(e){return new(e||Vm)},Vm.\u0275prov=c["\u0275\u0275defineInjectable"]({token:Vm,factory:Vm.\u0275fac}),Vm),sg=((Lm=function(){function e(t,n){v(this,e),this.http=t,this.settings=n}return y(e,[{key:"baseUrl",get:function(){var e,t=null===(e=oo.settings)||void 0===e?void 0:e.service,n=(null==t?void 0:t.port)?t.port:443;return"".concat("http"+(443===n?"s":""),"://public-rest").concat(null==t?void 0:t.swimlane,".bullhornstaffing.com:").concat(n,"/rest-services/").concat(null==t?void 0:t.corpToken)}},{key:"getjobs",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:30,r=[];for(var i in t.query="(isOpen:1) AND (isDeleted:0)".concat(this.formatAdditionalCriteria(!0)).concat(this.formatFilter(e,!0)),t.fields=oo.settings.service.fields,t.count=n,t.sort=oo.settings.additionalJobCriteria.sort,t.showTotalMatched=!0,t)r.push("".concat(i,"=").concat(t[i]));var o=r.join("&");return this.http.get("".concat(this.baseUrl,"/search/JobOrder?").concat(o))}},{key:"openJob",value:function(e){var t,n;return this.http.get("".concat(this.baseUrl,"/query/JobBoardPost?where=(id=").concat(e,")&fields=").concat(null===(n=null===(t=oo.settings)||void 0===t?void 0:t.service)||void 0===n?void 0:n.fields))}},{key:"getCurrentJobIds",value:function(e,t){var n=[],r={};for(var i in r.query="(isOpen:1) AND (isDeleted:0)".concat(this.formatAdditionalCriteria(!0)).concat(this.formatFilter(e,!0,t)),r.count="500",r.fields="id",r.sort="id",r)n.push("".concat(i,"=").concat(r[i]));var o=n.join("&");return this.http.get("".concat(this.baseUrl,"/search/JobOrder?").concat(o))}},{key:"getAvailableFilterOptions",value:function(e,t){var n={},r=[];if(e.length>0){switch(n.where="id IN (".concat(e.toString(),")"),n.count="500",n.fields=t+",count(id)",n.groupBy=t,t){case"publishedCategory(id,name)":n.orderBy="publishedCategory.name";break;case"address(state)":n.orderBy="address.state";break;case"address(city)":n.orderBy="address.city";break;default:n.orderBy="-count.id"}for(var i in n)r.push("".concat(i,"=").concat(n[i]));var o=r.join("&");return this.http.get("".concat(this.baseUrl,"/query/JobBoardPost?").concat(o))}return k({count:0,start:0,data:[]})}},{key:"formatAdditionalCriteria",value:function(e){var t=oo.settings.additionalJobCriteria.field,n=oo.settings.additionalJobCriteria.values,r="",i=e?'"':"'",o=e?":":"=";if(t&&n.length>0&&"[ FILTER FIELD HERE ]"!==t&&"[ FILTER VALUE HERE ]"!==n[0]){for(var a=0;a<n.length;a++)r+=a>0?" OR ":" AND (",r+="".concat(t).concat(o).concat(i).concat(n[a]).concat(i);r+=")"}return r}},{key:"formatFilter",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r="";for(var i in e)if(!n.includes(i)){var o=e[i];"string"==typeof o?r+=" AND (".concat(o,")"):o.length&&(r+=" AND (".concat(o.join(" OR "),")"))}return r.replace(/{\?\^\^equals}/g,t?":":"=").replace(/{\?\^\^delimiter}/g,t?'"':"'")}}]),e}()).\u0275fac=function(e){return new(e||Lm)(c["\u0275\u0275inject"](Jr),c["\u0275\u0275inject"](oo))},Lm.\u0275prov=c["\u0275\u0275defineInjectable"]({token:Lm,factory:Lm.\u0275fac}),Lm),cg=((Fm=function(){function e(){var t=this;v(this,e),this.requestParams={additionalEmailInfo:function(e){return"?subject="+encodeURIComponent(e.title)+"&body="+t.description(e,window.location.href)+t.additionalEmailInfo(e)},facebook:function(){return"?display=popup&app_id="+t.config.keys.facebook+"&href="+encodeURIComponent(window.location.href)+"&redirect_uri="+encodeURIComponent("https://www.facebook.com/")+"&source=facebook"},twitter:function(e){return"?text="+encodeURIComponent(t.description(e))+"&url="+encodeURIComponent(window.location.href)+"&source=twitter"},linkedin:function(e){return"?mini=true&source=Bullhorn%20Career%20Portal&title="+encodeURIComponent(t.description(e))+"&url="+encodeURIComponent(window.location.href)+"&source=linkedin"},email:function(e){return"?subject="+encodeURIComponent(e.title)+"&body="+t.description(e,window.location.href)}}}return y(e,[{key:"config",get:function(){return{url:{facebook:"https://www.facebook.com/dialog/share",twitter:"https://twitter.com/intent/tweet",linkedin:"https://www.linkedin.com/shareArticle"},keys:{facebook:"1439597326343190"}}}},{key:"emailLink",value:function(e){return"mailto:"+this.requestParams.email(e)}},{key:"facebook",value:function(e){window.open(this.config.url.facebook+this.requestParams.facebook(e))}},{key:"linkedin",value:function(e){window.open(this.config.url.linkedin+this.requestParams.linkedin(e))}},{key:"sendEmailLink",value:function(e,t){return"mailto:"+(t=t||"")+this.requestParams.additionalEmailInfo(e)}},{key:"twitter",value:function(e){window.open(this.config.url.twitter+this.requestParams.twitter(e))}},{key:"additionalEmailInfo",value:function(e){var t="\n";if(e.title&&(t+="\nTitle: Jobs"),e.publishedCategory&&e.publishedCategory.name&&(t+="\nCategory: "+e.publishedCategory.name),e.address){var n="\nLocation: ";e.address.city&&e.address.state?t+=n+e.address.city+", "+e.address.state+"\n":e.address.city?t+=n+e.address.city+"\n":e.address.state&&(t+=n+e.address.state+"\n")}return encodeURIComponent(t)}},{key:"description",value:function(e,t){return t?"Check out this "+encodeURIComponent(e.title)+" job: "+encodeURIComponent(t):"Check out this "+encodeURIComponent(e.title)+" job!"}}]),e}()).\u0275fac=function(e){return new(e||Fm)},Fm.\u0275prov=c["\u0275\u0275defineInjectable"]({token:Fm,factory:Fm.\u0275fac}),Fm),lg=((jm=function(){function e(t,n){v(this,e),this.http=t,this.settings=n}return y(e,[{key:"baseUrl",get:function(){var e=oo.settings.service,t=e.port?e.port:443;return"".concat("http"+(443===t?"s":""),"://public-rest").concat(e.swimlane,".bullhornstaffing.com:").concat(t,"/rest-services/").concat(e.corpToken,"/apply")}},{key:"apply",value:function(e,t,n){var r=this.assembleParams(t);return this.http.post("".concat(this.baseUrl,"/").concat(e,"/raw?").concat(r),n)}},{key:"assembleParams",value:function(e){var t=[];for(var n in t.push("externalID=Resume"),t.push("type=Resume"),e)e.hasOwnProperty(n)&&e[n]&&t.push("".concat(n,"=").concat(e[n]));return t.join("&")}}]),e}()).\u0275fac=function(e){return new(e||jm)(c["\u0275\u0275inject"](Jr),c["\u0275\u0275inject"](oo))},jm.\u0275prov=c["\u0275\u0275defineInjectable"]({token:jm,factory:jm.\u0275fac}),jm),ug=a("FGiv"),dg=((rp=function(){function e(t){v(this,e),this.response=t}return y(e,[{key:"getHeader",value:function(e){return this.response.getHeader(e)}},{key:"setHeader",value:function(e,t){return this.response&&this.response.header(e,t),this}},{key:"appendHeader",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:",";if(this.response){var i=this.getHeader(e);if(!i)return this.setHeader(e,t);var o=[].concat(n(i.split(r)),[t]).filter((function(e,t,n){return t===n.indexOf(e)})).join(r);this.response.header(e,o)}return this}},{key:"setHeaders",value:function(e){var t=this;return this.response&&Object.keys(e).forEach((function(n){return t.setHeader(n,e[n])})),this}},{key:"setStatus",value:function(e,t){return this.response&&(this.response.statusCode=e,t&&(this.response.statusMessage=t)),this}},{key:"setNotFound",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"not found";return oo.isServer&&(this.response.status(404),this.response.statusMessage=e),this}},{key:"setUnauthorized",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Unauthorized";return this.response&&(this.response.statusCode=401,this.response.statusMessage=e),this}},{key:"setCachePrivate",value:function(){return this.response&&this.setCache("private"),this}},{key:"setCacheNone",value:function(){return this.response&&(this.setHeader("Cache-Control","no-cache, no-store, must-revalidate"),this.setHeader("Pragma","no-cache")),this}},{key:"setCache",value:function(e,t,n){return this.response&&(this.setHeader("Cache-Control",n?"".concat(e,", max-age=").concat(t?ug(t)/1e3:0,", s-maxage=").concat(ug(n)/1e3):"".concat(e,", max-age=").concat(t?ug(t)/1e3:0)),this.setHeader("Expires",t?new Date(Date.now()+ug(t)).toUTCString():new Date(Date.now()).toUTCString())),this}},{key:"setError",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"internal server error";return this.response&&(this.response.statusCode=500,this.response.statusMessage=e),this}}]),e}()).\u0275fac=function(e){return new(e||rp)(c["\u0275\u0275inject"](wr,8))},rp.\u0275prov=c["\u0275\u0275defineInjectable"]({token:rp,factory:rp.\u0275fac,providedIn:"root"}),rp),hg=((np=function(){function e(t,n,r){v(this,e),this.searchService=t,this.serverResponse=n,this.settingsService=r}return y(e,[{key:"resolve",value:function(e){return t=this,r=regeneratorRuntime.mark((function t(){var n=this;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.t0=oo.loaded,t.t0){t.next=4;break}return t.next=4,this.settingsService.load();case 4:return t.next=6,this.searchService.openJob(e.paramMap.get("id")).pipe(fe((function(){return n.serverResponse.setNotFound(),console.error("invalid job id"),k({jobs:[]})}))).toPromise();case 6:return t.abrupt("return",t.sent);case 7:case"end":return t.stop()}}),t,this)})),new((n=void 0)||(n=Promise))((function(e,i){function o(e){try{s(r.next(e))}catch(t){i(t)}}function a(e){try{s(r.throw(e))}catch(t){i(t)}}function s(t){var r;t.done?e(t.value):(r=t.value,r instanceof n?r:new n((function(e){e(r)}))).then(o,a)}s((r=r.apply(t,[])).next())}));var t,n,r}}]),e}()).\u0275fac=function(e){return new(e||np)(c["\u0275\u0275inject"](sg),c["\u0275\u0275inject"](dg),c["\u0275\u0275inject"](oo))},np.\u0275prov=c["\u0275\u0275defineInjectable"]({token:np,factory:np.\u0275fac}),np),fg=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(t){o(t)}}function s(e){try{c(r.throw(e))}catch(t){o(t)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},mg=((ip=function(){function e(t,n){v(this,e),this.http=t,this.transferState=n}return y(e,[{key:"getTranslation",value:function(e){var t=(e.split("-")[0]||"").toLowerCase();return Object(C.a)(this.getLanguageAndLocale(t,e))}},{key:"translationFetcher",value:function(e){return fg(this,void 0,void 0,regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.http.get("i18n/".concat(e,".json")).toPromise();case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t,this)})))}},{key:"getLanguageAndLocale",value:function(e,t){return fg(this,void 0,void 0,regeneratorRuntime.mark((function n(){var r,i,o,a;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(r=Object(u.makeStateKey)("transfer-translate-"+e),i=Object(u.makeStateKey)("transfer-translate-"+t),o={},a={},n.prev=2,o=this.transferState.get(i,null),n.t0=o,n.t0){n.next=9;break}return n.next=8,this.translationFetcher(e);case 8:o=n.sent;case 9:n.next=14;break;case 11:n.prev=11,n.t1=n.catch(2),o={};case 14:if(n.prev=14,a=this.transferState.get(r,null),n.t2=a,n.t2){n.next=21;break}return n.next=20,this.translationFetcher(t);case 20:a=n.sent;case 21:n.next=26;break;case 23:n.prev=23,n.t3=n.catch(14),a={};case 26:return n.abrupt("return",Object.assign(Object.assign({},o),a));case 27:case"end":return n.stop()}}),n,this,[[2,11],[14,23]])})))}}]),e}()).\u0275fac=function(e){return new(e||ip)(c["\u0275\u0275inject"](Jr),c["\u0275\u0275inject"](u.TransferState))},ip.\u0275prov=c["\u0275\u0275defineInjectable"]({token:ip,factory:ip.\u0275fac}),ip);function pg(e,t){1&e&&c["\u0275\u0275element"](0,"novo-loading")}function vg(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"novo-form",3),c["\u0275\u0275elementStart"](1,"div",4),c["\u0275\u0275element"](2,"novo-control",5),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275property"]("form",n.form),c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("form",n.form)("control",n.control)}}var gg,yg=((gg=function(){function e(t,n){v(this,e),this.service=t,this.formUtils=n,this.checkboxFilter=new c.EventEmitter,this.loading=!0,this.viewAllOptions=!1}return y(e,[{key:"ngOnChanges",value:function(e){switch(this.field){case"publishedCategory(id,name)":this.fieldName="publishedCategory";break;default:this.fieldName=this.field}this.getFilterOptions()}},{key:"toggleAllOptions",value:function(){this.viewAllOptions=!this.viewAllOptions}},{key:"getFilterOptions",value:function(){this.loading=!0,this.service.getCurrentJobIds(this.filter,[this.fieldName]).subscribe(this.handleJobIdsOnSuccess.bind(this))}},{key:"handleJobIdsOnSuccess",value:function(e){var t=e.data.map((function(e){return e.id}));this.service.getAvailableFilterOptions(t,this.field).subscribe(this.setFieldOptionsOnSuccess.bind(this))}},{key:"setFieldOptionsOnSuccess",value:function(e){var t,n=this;switch(this.field){case"address(city)":this.options=e.data.map((function(e){return{value:e.address.city,label:"".concat(e.address.city," (").concat(e.idCount,")")}})).filter((function(e){return e.value})),t=function(e){var t=[];n.lastSetValue=e.getActiveValue(),e.getActiveValue()&&(t=e.getActiveValue().map((function(e){return"address.city{?^^equals}{?^^delimiter}".concat(e,"{?^^delimiter}")}))),n.checkboxFilter.emit(t)};break;case"address(state)":this.options=e.data.map((function(e){return{value:e.address.state,label:"".concat(e.address.state," (").concat(e.idCount,")")}})).filter((function(e){return e.value})),t=function(e){var t=[];n.lastSetValue=e.getActiveValue(),e.getActiveValue()&&(t=e.getActiveValue().map((function(e){return"address.state{?^^equals}{?^^delimiter}".concat(e,"{?^^delimiter}")}))),n.checkboxFilter.emit(t)};break;case"publishedCategory(id,name)":this.options=e.data.filter((function(e){return!!e.publishedCategory})).map((function(e){return{value:e.publishedCategory.id,label:"".concat(e.publishedCategory.name," (").concat(e.idCount,")")}})),t=function(e){var t=[];n.lastSetValue=e.getActiveValue(),e.getActiveValue()&&(t=e.getActiveValue().map((function(e){return"publishedCategory.id{?^^equals}"+e}))),n.checkboxFilter.emit(t)}}this.control=new qp({key:"checklist",options:this.options,interactions:[{event:"change",script:t.bind(this),invokeOnInit:!1}]}),this.formUtils.setInitialValues([this.control],{checklist:this.lastSetValue}),this.form=this.formUtils.toFormGroup([this.control]),this.loading=!1}}]),e}()).\u0275fac=function(e){return new(e||gg)(c["\u0275\u0275directiveInject"](sg),c["\u0275\u0275directiveInject"](sv))},gg.\u0275cmp=c["\u0275\u0275defineComponent"]({type:gg,selectors:[["app-sidebar-filter"]],inputs:{filter:"filter",field:"field",title:"title"},outputs:{checkboxFilter:"checkboxFilter"},features:[c["\u0275\u0275NgOnChangesFeature"]],decls:6,vars:6,consts:[[1,"filter-header"],[4,"ngIf"],[3,"form",4,"ngIf"],[3,"form"],[1,"novo-form-row"],[3,"form","control"]],template:function(e,t){1&e&&(c["\u0275\u0275elementStart"](0,"div",0),c["\u0275\u0275elementStart"](1,"span"),c["\u0275\u0275text"](2),c["\u0275\u0275pipe"](3,"translate"),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275template"](4,pg,1,0,"novo-loading",1),c["\u0275\u0275template"](5,vg,3,3,"novo-form",2)),2&e&&(c["\u0275\u0275advance"](2),c["\u0275\u0275textInterpolate2"]("",c["\u0275\u0275pipeBind1"](3,4,"FILTER_BY")," ",t.title,""),c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("ngIf",t.loading),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",!t.loading))},directives:[h.m,kh,Sv,kv],pipes:[to],styles:["[_nghost-%COMP%]   .filter-header[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;padding:0 25px;color:#2f384f;margin-bottom:20px;font-weight:500}"]}),gg);function bg(e,t){1&e&&c["\u0275\u0275element"](0,"novo-loading")}function kg(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementContainerStart"](0),c["\u0275\u0275elementStart"](1,"div",10),c["\u0275\u0275elementStart"](2,"app-sidebar-filter",11),c["\u0275\u0275listener"]("checkboxFilter",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().updateFilter("publishedCategory",e)})),c["\u0275\u0275pipe"](3,"translate"),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](4,"app-sidebar-filter",12),c["\u0275\u0275listener"]("checkboxFilter",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().updateFilter("address(state)",e)})),c["\u0275\u0275pipe"](5,"translate"),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](6,"app-sidebar-filter",13),c["\u0275\u0275listener"]("checkboxFilter",(function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().updateFilter("address(city)",e)})),c["\u0275\u0275pipe"](7,"translate"),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementContainerEnd"]()}if(2&e){var r=c["\u0275\u0275nextContext"]();c["\u0275\u0275advance"](2),c["\u0275\u0275propertyInterpolate"]("title",c["\u0275\u0275pipeBind1"](3,6,"CATEGORY")),c["\u0275\u0275property"]("filter",r.filter),c["\u0275\u0275advance"](2),c["\u0275\u0275propertyInterpolate"]("title",c["\u0275\u0275pipeBind1"](5,8,"STATE")),c["\u0275\u0275property"]("filter",r.filter),c["\u0275\u0275advance"](2),c["\u0275\u0275propertyInterpolate"]("title",c["\u0275\u0275pipeBind1"](7,10,"CITY")),c["\u0275\u0275property"]("filter",r.filter)}}function Cg(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"item",17),c["\u0275\u0275listener"]("click",(function(){c["\u0275\u0275restoreView"](n);var e=t.$implicit;return c["\u0275\u0275nextContext"](2).setPreferredLanguage(e.localeCode)})),c["\u0275\u0275text"](1),c["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit;c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate1"](" ",r.name," ")}}function wg(e,t){if(1&e&&(c["\u0275\u0275elementContainerStart"](0),c["\u0275\u0275elementStart"](1,"novo-dropdown",14),c["\u0275\u0275elementStart"](2,"button",15),c["\u0275\u0275text"](3),c["\u0275\u0275pipe"](4,"translate"),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](5,"list"),c["\u0275\u0275template"](6,Cg,2,1,"item",16),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementContainerEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275advance"](3),c["\u0275\u0275textInterpolate1"](" ",c["\u0275\u0275pipeBind1"](4,2,"PREFERRED_LANGUAGE")," "),c["\u0275\u0275advance"](3),c["\u0275\u0275property"]("ngForOf",n.availableLocales)}}function Sg(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"a",18),c["\u0275\u0275listener"]("click",(function(){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().viewPrivacyPolicy()})),c["\u0275\u0275text"](1),c["\u0275\u0275pipe"](2,"translate"),c["\u0275\u0275elementEnd"]()}2&e&&(c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](c["\u0275\u0275pipeBind1"](2,1,"PRIVACY_POLICY")))}var _g,Eg=((_g=function(){function e(t,n){var r,i,o;v(this,e),this.searchService=t,this.router=n,this.newFilter=new c.EventEmitter,this.toggleSidebar=new c.EventEmitter,this.display=!1,this.controls=[],this.keyword="",this.loading=!1,this.filter={},this.showPrivacyPolicy=oo.settings.privacyConsent.sidebarLink,this.languageDropdownEnabled=(null===(r=oo.settings.languageDropdownOptions)||void 0===r?void 0:r.enabled)&&!oo.isServer,this.availableLocales=(null===(o=null===(i=oo.settings)||void 0===i?void 0:i.languageDropdownOptions)||void 0===o?void 0:o.choices)||[]}return y(e,[{key:"searchOnDelay",value:function(){var e=this,t=oo.settings.service.keywordSearchFields;this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout((function(){var n="";e.keyword.trim()&&t.forEach((function(t,r){r>0&&(n+=" OR "),n+="".concat(t,"{?^^equals}").concat(e.keyword.trim()?e.keyword.trim()+"*":"")})),delete e.filter.ids,n?e.filter.keyword=n:delete e.filter.keyword,e.searchService.getCurrentJobIds(e.filter,[]).subscribe(e.handleJobIdsOnSuccess.bind(e))}),250)}},{key:"updateFilter",value:function(e,t){delete this.filter.keyword,this.filter[e]=t;var n={};Object.assign(n,this.filter),this.filter=n,this.newFilter.emit(this.filter)}},{key:"hideSidebar",value:function(){this.toggleSidebar.emit(!1)}},{key:"viewPrivacyPolicy",value:function(){var e=oo.settings.privacyConsent.privacyPolicyUrl;"/privacy"===e?this.router.navigate([e]):window.open(e)}},{key:"setPreferredLanguage",value:function(e){localStorage.setItem("preferredLanguage",e),location.reload()}},{key:"handleJobIdsOnSuccess",value:function(e){var t=e.data.map((function(e){return"id{?^^equals}"+e.id}));0===t.length&&t.push("id{?^^equals}0"),this.updateFilter("ids",t)}}]),e}()).\u0275fac=function(e){return new(e||_g)(c["\u0275\u0275directiveInject"](sg),c["\u0275\u0275directiveInject"](Yn))},_g.\u0275cmp=c["\u0275\u0275defineComponent"]({type:_g,selectors:[["app-sidebar"]],hostVars:2,hostBindings:function(e,t){2&e&&c["\u0275\u0275classProp"]("active",t.display)},inputs:{display:"display"},outputs:{newFilter:"newFilter",toggleSidebar:"toggleSidebar"},decls:13,vars:5,consts:[[1,"header"],[1,"close-filter-container"],["theme","icon","icon","times",3,"click"],["placeholder","Keyword Search","alwaysOpen","true",3,"ngModel","ngModelChange"],[4,"ngIf"],["class","privacy-policy-link",3,"click",4,"ngIf"],[1,"credits"],[1,"powered-by"],["target","_blank","href","http://www.bullhorn.com/"],["src","assets/logo.svg",1,"bullhorn"],[1,"filters"],["field","publishedCategory(id,name)","data-automation-id","category",3,"title","filter","checkboxFilter"],["field","address(state)","data-automation-id","state",3,"title","filter","checkboxFilter"],["field","address(city)","data-automation-id","city",3,"title","filter","checkboxFilter"],["side","left","side","above-below",1,"preferredLanguageDropdown"],["type","button","theme","dialogue","icon","collapse","inverse",""],[3,"click",4,"ngFor","ngForOf"],[3,"click"],[1,"privacy-policy-link",3,"click"]],template:function(e,t){1&e&&(c["\u0275\u0275elementStart"](0,"div",0),c["\u0275\u0275elementStart"](1,"div",1),c["\u0275\u0275elementStart"](2,"button",2),c["\u0275\u0275listener"]("click",(function(){return t.hideSidebar()})),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](3,"novo-search",3),c["\u0275\u0275listener"]("ngModelChange",(function(e){return t.keyword=e}))("ngModelChange",(function(){return t.searchOnDelay()})),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275template"](4,bg,1,0,"novo-loading",4),c["\u0275\u0275template"](5,kg,8,12,"ng-container",4),c["\u0275\u0275template"](6,wg,7,4,"ng-container",4),c["\u0275\u0275template"](7,Sg,3,3,"a",5),c["\u0275\u0275elementStart"](8,"section",6),c["\u0275\u0275elementStart"](9,"span",7),c["\u0275\u0275text"](10,"Powered By"),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](11,"a",8),c["\u0275\u0275element"](12,"img",9),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()),2&e&&(c["\u0275\u0275advance"](3),c["\u0275\u0275property"]("ngModel",t.keyword),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",t.loading),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",!t.loading),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",t.languageDropdownEnabled),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",t.showPrivacyPolicy))},directives:[lh,Cp,La.NgControlStatus,La.NgModel,h.m,kh,yg,xf,Tf,h.l,Of],pipes:[to],styles:["[_nghost-%COMP%]{background-color:#f4f4f4}[_nghost-%COMP%]::-webkit-scrollbar{background-color:#fff;height:4px;width:4px}[_nghost-%COMP%]::-webkit-scrollbar-track{background-color:#fff}[_nghost-%COMP%]::-webkit-scrollbar-thumb{background-color:#babac0;border-radius:4px}[_nghost-%COMP%]   novo-form[_ngcontent-%COMP%]{margin-top:30px;padding-right:20px}[_nghost-%COMP%] > section.credits[_ngcontent-%COMP%]{padding:27px 0 0 20px}[_nghost-%COMP%] > section.credits[_ngcontent-%COMP%]   span.powered-by[_ngcontent-%COMP%]{font-size:1em;font-weight:600;color:#202945}[_nghost-%COMP%] > section.credits[_ngcontent-%COMP%]   .bullhorn[_ngcontent-%COMP%]{display:block;position:relative;bottom:20px;margin:0}@media only screen and (max-width:768px){[_nghost-%COMP%]{position:absolute;left:-80%;transition:all .2s ease-in-out}.active[_nghost-%COMP%]{position:static;left:0}}@media only screen and (min-width:768px){[_nghost-%COMP%]   .header[_ngcontent-%COMP%]   .close-filter-container[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%]   .header[_ngcontent-%COMP%] > header[_ngcontent-%COMP%]{color:#b56}[_nghost-%COMP%]   .header[_ngcontent-%COMP%] > header[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{color:#d9dadc}}[_nghost-%COMP%]   .close-filter-container[_ngcontent-%COMP%]{flex-direction:row-reverse;display:flex}[_nghost-%COMP%]   a.privacy-policy-link[_ngcontent-%COMP%]{padding:0 20px}.preferredLanguageDropdown[_ngcontent-%COMP%]{margin:10px}"]}),_g);function Ig(e,t){1&e&&(c["\u0275\u0275elementStart"](0,"span"),c["\u0275\u0275text"](1,",\xa0"),c["\u0275\u0275elementEnd"]())}function xg(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"span",2),c["\u0275\u0275element"](1,"i",3),c["\u0275\u0275text"](2),c["\u0275\u0275template"](3,Ig,2,0,"span",4),c["\u0275\u0275text"](4),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275advance"](2),c["\u0275\u0275textInterpolate1"](" ",n.job.address.city,""),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",(null==n.job.address?null:n.job.address.city)&&(null==n.job.address?null:n.job.address.state)),c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate1"]("",n.job.address.state,"\n")}}function Og(e,t){if(1&e&&(c["\u0275\u0275elementContainerStart"](0),c["\u0275\u0275text"](1),c["\u0275\u0275elementContainerEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](2).$implicit,r=c["\u0275\u0275nextContext"]();c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate1"](" ",r.job[null==n?null:n.field]||r.job[n]," ")}}function Tg(e,t){if(1&e&&(c["\u0275\u0275elementContainerStart"](0),c["\u0275\u0275text"](1),c["\u0275\u0275pipe"](2,"date"),c["\u0275\u0275elementContainerEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](2).$implicit,r=c["\u0275\u0275nextContext"]();c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate1"](" ",c["\u0275\u0275pipeBind2"](2,1,r.job[null==n?null:n.field],"mediumDate")," ")}}function Ag(e,t){if(1&e&&(c["\u0275\u0275elementContainerStart"](0),c["\u0275\u0275text"](1),c["\u0275\u0275pipe"](2,"date"),c["\u0275\u0275elementContainerEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](2).$implicit,r=c["\u0275\u0275nextContext"]();c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate1"](" ",c["\u0275\u0275pipeBind2"](2,1,r.job[null==n?null:n.field],"medium")," ")}}function Pg(e,t){if(1&e&&(c["\u0275\u0275elementContainerStart"](0),c["\u0275\u0275text"](1),c["\u0275\u0275pipe"](2,"currency"),c["\u0275\u0275elementContainerEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](2).$implicit,r=c["\u0275\u0275nextContext"]();c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate1"](" ",c["\u0275\u0275pipeBind2"](2,1,r.job[null==n?null:n.field],"USD")," ")}}function Dg(e,t){if(1&e&&(c["\u0275\u0275elementContainerStart"](0),c["\u0275\u0275text"](1),c["\u0275\u0275pipe"](2,"currency"),c["\u0275\u0275elementContainerEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](2).$implicit,r=c["\u0275\u0275nextContext"]();c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate1"](" ",c["\u0275\u0275pipeBind2"](2,1,r.job[null==n?null:n.field],"GBP")," ")}}function Rg(e,t){if(1&e&&(c["\u0275\u0275elementContainerStart"](0),c["\u0275\u0275text"](1),c["\u0275\u0275pipe"](2,"currency"),c["\u0275\u0275elementContainerEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](2).$implicit,r=c["\u0275\u0275nextContext"]();c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate1"](" ",c["\u0275\u0275pipeBind2"](2,1,r.job[null==n?null:n.field],"EUR")," ")}}function Mg(e,t){if(1&e&&(c["\u0275\u0275elementContainerStart"](0),c["\u0275\u0275text"](1),c["\u0275\u0275elementContainerEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](2).$implicit,r=c["\u0275\u0275nextContext"]();c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate1"](" ",r.job[null==n?null:n.field]||r.job[n]," ")}}function Ng(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"span",7),c["\u0275\u0275template"](1,Og,2,1,"ng-container",8),c["\u0275\u0275template"](2,Tg,3,4,"ng-container",8),c["\u0275\u0275template"](3,Ag,3,4,"ng-container",8),c["\u0275\u0275template"](4,Pg,3,4,"ng-container",8),c["\u0275\u0275template"](5,Dg,3,4,"ng-container",8),c["\u0275\u0275template"](6,Rg,3,4,"ng-container",8),c["\u0275\u0275template"](7,Mg,2,1,"ng-container",9),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]().$implicit;c["\u0275\u0275attribute"]("data-automation-id","chip-"+(null==n?null:n.field)||!1),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngSwitchCase","string"),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngSwitchCase","mediumDate"),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngSwitchCase","dateTime"),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngSwitchCase","USD"),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngSwitchCase","GBP"),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngSwitchCase","EUR")}}function jg(e,t){if(1&e&&(c["\u0275\u0275elementContainerStart"](0,5),c["\u0275\u0275template"](1,Ng,8,7,"span",6),c["\u0275\u0275elementContainerEnd"]()),2&e){var n=t.$implicit,r=c["\u0275\u0275nextContext"]();c["\u0275\u0275property"]("ngSwitch",n.type||"string"),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",r.job[n]||r.job[null==n?null:n.field])}}var Fg,Lg,Vg=((Fg=function e(){v(this,e),this.jobInfoChips=oo.settings.service.jobInfoChips}).\u0275fac=function(e){return new(e||Fg)},Fg.\u0275cmp=c["\u0275\u0275defineComponent"]({type:Fg,selectors:[["app-info-chips"]],inputs:{job:"job"},decls:2,vars:2,consts:[["class","chip","data-automation-id","chip-address",4,"ngIf"],[3,"ngSwitch",4,"ngFor","ngForOf"],["data-automation-id","chip-address",1,"chip"],[1,"bhi-location"],[4,"ngIf"],[3,"ngSwitch"],["class","chip",4,"ngIf"],[1,"chip"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"]],template:function(e,t){1&e&&(c["\u0275\u0275template"](0,xg,5,3,"span",0),c["\u0275\u0275template"](1,jg,2,2,"ng-container",1)),2&e&&(c["\u0275\u0275property"]("ngIf",t.job.address.city||t.job.address.state),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngForOf",t.jobInfoChips))},directives:[h.m,h.l,h.o,h.p,h.q],pipes:[h.f,h.d],styles:[".chip[_ngcontent-%COMP%]{color:#0b344f;padding:10px;margin:5px;background-color:#f4f4f4;border-radius:8px;align-self:center}.chip[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:1em}"],changeDetection:0}),Fg),Bg=a("ktc5"),Ug=((Lg=function(){function e(){v(this,e)}return y(e,[{key:"transform",value:function(e,t){return Object(Bg.decode)(e.replace(/<.*?>/g,""))}}]),e}()).\u0275fac=function(e){return new(e||Lg)},Lg.\u0275pipe=c["\u0275\u0275definePipe"]({name:"stripHtml",type:Lg,pure:!0}),Lg);function Hg(e,t){1&e&&c["\u0275\u0275element"](0,"novo-loading")}function Gg(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"span",15),c["\u0275\u0275text"](1),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]().$implicit;c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate1"](" ",null==n.publishedCategory?null:n.publishedCategory.name," ")}}function qg(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"div",10),c["\u0275\u0275listener"]("click",(function(){c["\u0275\u0275restoreView"](n);var e=t.$implicit;return c["\u0275\u0275nextContext"](2).loadJob(e.id)})),c["\u0275\u0275elementStart"](1,"novo-list-item"),c["\u0275\u0275elementStart"](2,"item-header"),c["\u0275\u0275elementStart"](3,"item-title"),c["\u0275\u0275elementStart"](4,"a",11),c["\u0275\u0275text"](5),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](6,"item-header-end"),c["\u0275\u0275element"](7,"app-info-chips",12),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275template"](8,Gg,2,1,"span",13),c["\u0275\u0275elementStart"](9,"span",14),c["\u0275\u0275text"](10),c["\u0275\u0275pipe"](11,"stripHtml"),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit,i=c["\u0275\u0275nextContext"](2);c["\u0275\u0275property"]("routerLink","jobs/"+r.id),c["\u0275\u0275advance"](4),c["\u0275\u0275property"]("href","jobs/"+r.id,c["\u0275\u0275sanitizeUrl"])("routerLink","jobs/"+r.id),c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](r.title),c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("job",r),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",r.publishedCategory&&i.showCategory),c["\u0275\u0275advance"](2),c["\u0275\u0275textInterpolate1"](" ",c["\u0275\u0275pipeBind1"](11,7,r.publicDescription)," ")}}function Kg(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"novo-list",8),c["\u0275\u0275template"](1,qg,12,9,"div",9),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngForOf",n.jobs)}}function zg(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"div",16),c["\u0275\u0275elementStart"](1,"button",17),c["\u0275\u0275listener"]("click",(function(){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().loadMore()})),c["\u0275\u0275text"](2,"Load More"),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()}}function Yg(e,t){1&e&&(c["\u0275\u0275elementStart"](0,"div",18),c["\u0275\u0275element"](1,"i",19),c["\u0275\u0275text"](2),c["\u0275\u0275pipe"](3,"translate"),c["\u0275\u0275elementEnd"]()),2&e&&(c["\u0275\u0275advance"](2),c["\u0275\u0275textInterpolate1"](" ",c["\u0275\u0275pipeBind1"](3,1,"NO_MATCHING_JOBS "),"\n"))}var Wg,Zg=((Wg=function(){function e(t,n,r,i,o){v(this,e),this.http=t,this.titleService=n,this.meta=r,this.router=i,this.translate=o,this.sidebarVisible=!1,this.displaySidebar=new c.EventEmitter,this.showLoading=new c.EventEmitter,this.showError=new c.EventEmitter,this.jobs=[],this._loading=!0,this.moreAvailable=!0,this.total="...",this.showCategory=oo.settings.service.showCategory,this.start=0}return y(e,[{key:"ngOnChanges",value:function(e){this.getData()}},{key:"getData",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.start=e?this.start+30:0,this.titleService.setTitle(oo.settings.companyName+" - Careers");var t=this.translate.instant("PAGE_DESCRIPTION");this.meta.updateTag({name:"og:description",content:t}),this.meta.updateTag({name:"twitter:description",content:t}),this.meta.updateTag({name:"description",content:t}),this.http.getjobs(this.filter,{start:this.start}).subscribe(this.onSuccess.bind(this),this.onFailure.bind(this))}},{key:"loadMore",value:function(){this.getData(!0)}},{key:"openSidebar",value:function(){this.displaySidebar.emit(!0)}},{key:"loadJob",value:function(e){this.router.navigate(["jobs/"+e]),this.loading=!0}},{key:"loading",get:function(){return this._loading},set:function(e){this.showLoading.emit(e),this._loading=e}},{key:"onSuccess",value:function(e){this.jobs=this.start>0?this.jobs.concat(e.data):e.data,this.total=e.total,this.moreAvailable=30===e.count,this.loading=!1}},{key:"onFailure",value:function(e){this.loading=!1,this.jobs=[],this.total=0,this.moreAvailable=!1,this.showError.emit(!0)}}]),e}()).\u0275fac=function(e){return new(e||Wg)(c["\u0275\u0275directiveInject"](sg),c["\u0275\u0275directiveInject"](u.Title),c["\u0275\u0275directiveInject"](u.Meta),c["\u0275\u0275directiveInject"](Yn),c["\u0275\u0275directiveInject"](eo))},Wg.\u0275cmp=c["\u0275\u0275defineComponent"]({type:Wg,selectors:[["app-job-list"]],inputs:{filter:"filter",filterCount:"filterCount",sidebarVisible:"sidebarVisible"},outputs:{displaySidebar:"displaySidebar",showLoading:"showLoading",showError:"showError"},features:[c["\u0275\u0275NgOnChangesFeature"]],decls:12,vars:11,consts:[[4,"ngIf"],[1,"mobile-filter-container"],["theme","secondary","icon","filter","side","left",3,"click"],[1,"open-positions"],[1,"open-positions-text"],["direction","vertical",4,"ngIf"],["class","load-more-button",4,"ngIf"],["class","empty-list",4,"ngIf"],["direction","vertical"],["class","job-card",3,"routerLink","click",4,"ngFor","ngForOf"],[1,"job-card",3,"routerLink","click"],[3,"href","routerLink"],[3,"job"],["class","category",4,"ngIf"],[1,"description"],[1,"category"],[1,"load-more-button"],["theme","secondary","inverse","",3,"click"],[1,"empty-list"],[1,"bhi-search-question"]],template:function(e,t){1&e&&(c["\u0275\u0275template"](0,Hg,1,0,"novo-loading",0),c["\u0275\u0275elementStart"](1,"div",1),c["\u0275\u0275elementStart"](2,"button",2),c["\u0275\u0275listener"]("click",(function(){return t.openSidebar()})),c["\u0275\u0275text"](3),c["\u0275\u0275pipe"](4,"translate"),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](5,"div",3),c["\u0275\u0275elementStart"](6,"span",4),c["\u0275\u0275text"](7),c["\u0275\u0275pipe"](8,"translate"),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275template"](9,Kg,2,1,"novo-list",5),c["\u0275\u0275template"](10,zg,3,0,"div",6),c["\u0275\u0275template"](11,Yg,4,3,"div",7)),2&e&&(c["\u0275\u0275property"]("ngIf",t.loading),c["\u0275\u0275advance"](3),c["\u0275\u0275textInterpolate"](c["\u0275\u0275pipeBind1"](4,7,"FILTER")),c["\u0275\u0275advance"](4),c["\u0275\u0275textInterpolate2"]("",c["\u0275\u0275pipeBind1"](8,9,"OPEN_POSITIONS")," (",t.total,")"),c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("ngIf",!t.loading&&t.jobs.length>0),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",!t.loading&&t.moreAvailable),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",!t.loading&&0===t.jobs.length))},directives:[h.m,lh,kh,Ih,h.l,Wn,xh,Ah,Th,Zn,Ph,Vg],pipes:[to,Ug],styles:["[_nghost-%COMP%]   div.open-positions[_ngcontent-%COMP%]{font-weight:600;font-size:1.5em}[_nghost-%COMP%]   div.mobile-filter-container[_ngcontent-%COMP%], [_nghost-%COMP%]   div.open-positions[_ngcontent-%COMP%]{margin:30px 34px 22px 35px}novo-list[_ngcontent-%COMP%]{overflow:auto;min-height:61.3vh}novo-list[_ngcontent-%COMP%]   .job-card[_ngcontent-%COMP%]{margin:12px 35px;box-shadow:0 0 8px 0 rgba(0,0,0,.1);padding-bottom:10px;cursor:pointer}novo-list[_ngcontent-%COMP%]   .job-card[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]{display:inline-block;word-wrap:break-word;overflow:hidden;max-height:3.6em;line-height:1.8em;padding:0 15px 15px;width:100%}novo-list[_ngcontent-%COMP%]   .job-card[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]{padding:0 15px 10px;font-weight:600;display:inline-block;word-wrap:break-word;overflow:hidden}@media only screen and (max-width:768px){novo-list[_ngcontent-%COMP%]   .job-card[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]{display:none}}novo-list[_ngcontent-%COMP%]   .job-card[_ngcontent-%COMP%]   novo-list-item[_ngcontent-%COMP%]   item-content[_ngcontent-%COMP%]   b[_ngcontent-%COMP%], novo-list[_ngcontent-%COMP%]   .job-card[_ngcontent-%COMP%]   novo-list-item[_ngcontent-%COMP%]   item-content[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:rgba(67,67,67,.65)}novo-list[_ngcontent-%COMP%]   .job-card[_ngcontent-%COMP%]   novo-list-item[_ngcontent-%COMP%]   item-content[_ngcontent-%COMP%]   .bhi-next[_ngcontent-%COMP%]{color:#39d}novo-list[_ngcontent-%COMP%]   .job-card[_ngcontent-%COMP%]   novo-list-item[_ngcontent-%COMP%]   item-header[_ngcontent-%COMP%]   item-title[_ngcontent-%COMP%]{color:#4a89dc}novo-list[_ngcontent-%COMP%]   .job-card[_ngcontent-%COMP%]   novo-list-item[_ngcontent-%COMP%]   item-header-end[_ngcontent-%COMP%]{flex-wrap:wrap;display:block}novo-list[_ngcontent-%COMP%]   .job-card[_ngcontent-%COMP%]   novo-list-item[_ngcontent-%COMP%]   item-header-end[_ngcontent-%COMP%]   .mid-card[_ngcontent-%COMP%]{color:#0b344f;padding:10px;margin-right:5px;background-color:#f4f4f4;border-radius:8px;align-self:center}novo-list[_ngcontent-%COMP%]   .job-card[_ngcontent-%COMP%]   novo-list-item[_ngcontent-%COMP%]   item-header-end[_ngcontent-%COMP%]   .mid-card[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:1em}@media only screen and (min-width:768px){[_nghost-%COMP%]   .mobile-filter-container[_ngcontent-%COMP%]{display:none}}@media only screen and (max-width:768px){[_nghost-%COMP%]   div.open-positions[_ngcontent-%COMP%]{font-weight:600;font-size:1.5em}[_nghost-%COMP%]   div.mobile-filter-container[_ngcontent-%COMP%], [_nghost-%COMP%]   div.open-positions[_ngcontent-%COMP%]{margin:30px 34px 22px 15px}[_nghost-%COMP%]   div.job-card[_ngcontent-%COMP%]{margin:12px 15px}[_nghost-%COMP%]   div.job-card[_ngcontent-%COMP%]   novo-list-item[_ngcontent-%COMP%]{flex-direction:column}[_nghost-%COMP%]   div.job-card[_ngcontent-%COMP%]   novo-list-item[_ngcontent-%COMP%]   item-header-end[_ngcontent-%COMP%]{display:flex}[_nghost-%COMP%]   div.job-card[_ngcontent-%COMP%]   novo-list-item[_ngcontent-%COMP%]   item-header-end[_ngcontent-%COMP%]   .mid-card[_ngcontent-%COMP%]{margin-top:5px}}.empty-list[_ngcontent-%COMP%]{height:200px;display:flex;align-items:center;justify-content:center;color:#999;font-size:1.7em}.empty-list[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{margin-right:15px}.load-more-button[_ngcontent-%COMP%]{padding:10px 0;background-color:#4f5361;text-align:center}"]}),Wg);function Jg(e,t){1&e&&c["\u0275\u0275element"](0,"novo-loading")}function Qg(e,t){1&e&&(c["\u0275\u0275elementStart"](0,"div",6),c["\u0275\u0275element"](1,"i",7),c["\u0275\u0275elementStart"](2,"span"),c["\u0275\u0275text"](3),c["\u0275\u0275pipe"](4,"translate"),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()),2&e&&(c["\u0275\u0275advance"](3),c["\u0275\u0275textInterpolate"](c["\u0275\u0275pipeBind1"](4,1,"ERROR_HAS_OCCURED")))}var Xg,$g=function(e){return{display:e}},ey=((Xg=function(){function e(){v(this,e),this.filterCount=1,this.listFilter={},this.displaySidebar=!1,this.loading=!0,this.error=!1,this.sidebarCss={}}return y(e,[{key:"onSidebarFilter",value:function(e){this.listFilter=e,this.filterCount++}},{key:"toggleSidebar",value:function(e){this.displaySidebar=e,this.sidebarCss=e?{position:"absolute",width:"60%","max-width":"unset"}:{}}},{key:"handleListLoad",value:function(e){this.loading=e}},{key:"handleError",value:function(e){this.error=e}}]),e}()).\u0275fac=function(e){return new(e||Xg)},Xg.\u0275cmp=c["\u0275\u0275defineComponent"]({type:Xg,selectors:[["app-main-page"]],decls:6,vars:10,consts:[[4,"ngIf"],["class","error-state",4,"ngIf"],[1,"frame",3,"ngStyle"],[3,"display","ngStyle","newFilter","toggleSidebar"],[1,"list"],[3,"filterCount","filter","sidebarVisible","displaySidebar","showLoading","showError"],[1,"error-state"],[1,"bhi-caution"]],template:function(e,t){1&e&&(c["\u0275\u0275template"](0,Jg,1,0,"novo-loading",0),c["\u0275\u0275template"](1,Qg,5,3,"div",1),c["\u0275\u0275elementStart"](2,"div",2),c["\u0275\u0275elementStart"](3,"app-sidebar",3),c["\u0275\u0275listener"]("newFilter",(function(e){return t.onSidebarFilter(e)}))("toggleSidebar",(function(e){return t.toggleSidebar(e)})),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](4,"div",4),c["\u0275\u0275elementStart"](5,"app-job-list",5),c["\u0275\u0275listener"]("displaySidebar",(function(e){return t.toggleSidebar(e)}))("showLoading",(function(e){return t.handleListLoad(e)}))("showError",(function(e){return t.handleError(e)})),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()),2&e&&(c["\u0275\u0275property"]("ngIf",t.loading&&!t.error),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",t.error),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngStyle",c["\u0275\u0275pureFunction1"](8,$g,t.loading||t.error?"none":"flex")),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("display",t.displaySidebar)("ngStyle",t.sidebarCss),c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("filterCount",t.filterCount)("filter",t.listFilter)("sidebarVisible",t.displaySidebar))},directives:[h.m,h.n,Eg,Zg,kh],pipes:[to],styles:[".frame[_ngcontent-%COMP%]{display:flex;flex-direction:row}.frame[_ngcontent-%COMP%]   app-sidebar[_ngcontent-%COMP%]{width:30%;flex-grow:0;max-width:300px;min-width:250px;overflow-x:hidden;box-shadow:0 6px 7px 0 rgba(0,0,0,.1)}.frame[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%], .frame[_ngcontent-%COMP%]   app-sidebar[_ngcontent-%COMP%]{height:calc(100vh - 55px);overflow-y:auto}.frame[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]{width:80%;flex-grow:1000}@media only screen and (min-width:768px){.frame[_ngcontent-%COMP%]   app-sidebar[_ngcontent-%COMP%]{position:unset!important;width:30%!important;max-width:300px!important;box-shadow:unset}}div.error-state[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%;position:absolute;align-items:center;width:100%;justify-content:center}div.error-state[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:6em;margin-bottom:.3em}div.error-state[_ngcontent-%COMP%]   i.bhi-caution[_ngcontent-%COMP%]{color:#da4453}div.error-state[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:1.4em}"]}),Xg);function ty(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"div",3),c["\u0275\u0275text"](1),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](null==n.job.publishedCategory?null:n.job.publishedCategory.name)}}function ny(e,t){1&e&&(c["\u0275\u0275elementStart"](0,"span"),c["\u0275\u0275text"](1,",\xa0"),c["\u0275\u0275elementEnd"]())}function ry(e,t){1&e&&(c["\u0275\u0275elementStart"](0,"span",10),c["\u0275\u0275text"](1,"|"),c["\u0275\u0275elementEnd"]())}function iy(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"div",17),c["\u0275\u0275element"](1,"novo-control",18),c["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=c["\u0275\u0275nextContext"](2);c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("form",r.form)("control",n)}}function oy(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"div",17),c["\u0275\u0275element"](1,"novo-control",18),c["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=c["\u0275\u0275nextContext"](3);c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("form",r.form)("control",n)}}function ay(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"div",19),c["\u0275\u0275element"](1,"novo-fieldset-header",20),c["\u0275\u0275pipe"](2,"translate"),c["\u0275\u0275template"](3,oy,2,2,"div",13),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](2);c["\u0275\u0275advance"](1),c["\u0275\u0275propertyInterpolate"]("title",c["\u0275\u0275pipeBind1"](2,2,"EEOC.EEOC_FORM_DESCRIPTION")),c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("ngForOf",n.eeocControls)}}function sy(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"div",21),c["\u0275\u0275element"](1,"novo-control",18),c["\u0275\u0275elementStart"](2,"label",22),c["\u0275\u0275text"](3),c["\u0275\u0275pipe"](4,"translate"),c["\u0275\u0275elementStart"](5,"a",23),c["\u0275\u0275listener"]("click",(function(){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"](2).viewPrivacyPolicy()})),c["\u0275\u0275text"](6),c["\u0275\u0275pipe"](7,"translate"),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()}if(2&e){var r=c["\u0275\u0275nextContext"](2);c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("form",r.form)("control",r.consentControl),c["\u0275\u0275advance"](2),c["\u0275\u0275textInterpolate1"]("",c["\u0275\u0275pipeBind1"](4,4,"BY_CHECKING_THIS_BOX")," "),c["\u0275\u0275advance"](3),c["\u0275\u0275textInterpolate"](c["\u0275\u0275pipeBind1"](7,6,"PRIVACY_POLICY"))}}function cy(e,t){1&e&&(c["\u0275\u0275elementStart"](0,"span",24),c["\u0275\u0275text"](1),c["\u0275\u0275pipe"](2,"translate"),c["\u0275\u0275elementEnd"]()),2&e&&(c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](c["\u0275\u0275pipeBind1"](2,1,"ERROR_WHILE_APPLYING")))}var ly=function(e){return{ios:e}};function uy(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"section",11),c["\u0275\u0275elementStart"](1,"novo-form",12),c["\u0275\u0275template"](2,iy,2,2,"div",13),c["\u0275\u0275template"](3,ay,4,4,"div",14),c["\u0275\u0275template"](4,sy,8,8,"div",15),c["\u0275\u0275elementEnd"](),c["\u0275\u0275template"](5,cy,3,3,"span",16),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275property"]("ngClass",c["\u0275\u0275pureFunction1"](6,ly,n.isIos)),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("form",n.form),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngForOf",n.formControls),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.eeocControls.length),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.consentCheckbox),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",n.hasError)}}var dy,hy,fy,my=((fy=function(){function e(t,n,r,i,o,a,s,c){v(this,e),this.formUtils=t,this.params=n,this.modalRef=r,this.applyService=i,this.analytics=o,this.toaster=a,this.router=s,this.translate=c,this.loading=!0,this.hasError=!1,this.formControls=[],this.eeocControls=[],this.applying=!1,this.consentCheckbox=oo.settings.privacyConsent.consentCheckbox,this.showCategory=oo.settings.service.showCategory,this.isIos=oo.isIos,this.APPLIED_JOBS_KEY="APPLIED_JOBS_KEY",this.toaster.parentViewContainer=this.params.viewContainer}return y(e,[{key:"ngOnInit",value:function(){this.job=this.params.job,this.source=this.params.source,this.setupForm()}},{key:"setupForm",value:function(){this.firstName=new ev({key:"firstName",label:this.translate.instant("FIRST_NAME"),required:!0,hidden:!1,value:""}),this.lastName=new ev({key:"lastName",label:this.translate.instant("LAST_NAME"),required:!0,hidden:!1,value:""}),this.email=new ev({key:"email",label:this.translate.instant("EMAIL"),type:"email",required:!0,hidden:!1,value:""}),this.phoneNumber=new ev({key:"phone",label:this.translate.instant("PHONE"),type:"tel",required:!1,hidden:!1,value:""}),this.genderRaceEthnicity=[new Xp({key:"gender",label:this.translate.instant("EEOC.GENDER_LABEL"),required:oo.settings.eeoc.genderRaceEthnicity,hidden:!1,options:[{value:"M",label:this.translate.instant("EEOC.GENDER_MALE")},{value:"F",label:this.translate.instant("EEOC.GENDER_FEMALE")},{value:"D",label:this.translate.instant("EEOC.GENDER_ND")}]}),new Jp({key:"ethnicity",label:this.translate.instant("EEOC.RACE_ETHNICITY_LABEL"),required:oo.settings.eeoc.genderRaceEthnicity,hidden:!1,multiple:!0,placeholder:this.translate.instant("EEOC.SELECT_ALL"),config:{options:[{value:"HL",label:this.translate.instant("EEOC.RACE_ETHNICITY_HL")},{value:"WH",label:this.translate.instant("EEOC.RACE_ETHNICITY_WH")},{value:"BL",label:this.translate.instant("EEOC.RACE_ETHNICITY_BL")},{value:"AS",label:this.translate.instant("EEOC.RACE_ETHNICITY_AS")},{value:"NP",label:this.translate.instant("EEOC.RACE_ETHNICITY_NP")},{value:"IA",label:this.translate.instant("EEOC.RACE_ETHNICITY_IA")},{value:"DN",label:this.translate.instant("EEOC.RACE_ETHNICITY_DN")}]}})],this.veteran=[new Xp({key:"veteran",label:this.translate.instant("EEOC.VETERAN_LABEL"),description:this.translate.instant("EEOC.VETERAN_DESCRIPTION"),required:oo.settings.eeoc.veteran,hidden:!1,options:[{value:"P",label:this.translate.instant("EEOC.VETERAN_P")},{value:"V",label:this.translate.instant("EEOC.VETERAN_V")},{value:"N",label:this.translate.instant("EEOC.VETERAN_N")},{value:"D",label:this.translate.instant("EEOC.VETERAN_D")}]})],this.disability=[new Xp({key:"disability",label:this.translate.instant("EEOC.DISABILITY_LABEL"),description:this.translate.instant("EEOC.DISABILITY_DESCRIPTION"),required:oo.settings.eeoc.disability,hidden:!1,options:[{value:"Y",label:this.translate.instant("EEOC.DISABILITY_Y")},{value:"N",label:this.translate.instant("EEOC.DISABILITY_N")},{value:"D",label:this.translate.instant("EEOC.DISABILITY_D")}]})],this.resume=new Zp({key:"resume",required:!0,hidden:!1,description:"".concat(this.translate.instant("ACCEPTED_RESUME")," ").concat(oo.settings.acceptedResumeTypes.toString())}),this.formControls=[this.firstName,this.lastName,this.email,this.phoneNumber,this.resume];var e=oo.settings.eeoc;for(var t in e){var r;e[t]&&(r=this.eeocControls).push.apply(r,n(this[t]))}this.consentControl=new Kp({key:"consent",required:oo.settings.privacyConsent.consentCheckbox,hidden:!1,interactions:[{event:"change",script:function(e){e.getValue("consent")||e.markAsInvalid("consent")}}]}),this.form=this.formUtils.toFormGroup([].concat(n(this.formControls),n(this.eeocControls),[this.consentControl])),this.loading=!1}},{key:"close",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.analytics.trackEvent(e?"Success applying to job "+this.job.id:"Close apply form without applying for job "+this.job.id),this.modalRef.close(void 0)}},{key:"save",value:function(){if(this.form.valid){this.applying=!0,this.analytics.trackEvent("Apply to Job: "+this.job.id);var e={firstName:encodeURIComponent(this.form.value.firstName),lastName:encodeURIComponent(this.form.value.lastName),email:encodeURIComponent(this.form.value.email),phone:encodeURIComponent(this.form.value.phone||""),format:this.form.value.resume[0].name.substring(this.form.value.resume[0].name.lastIndexOf(".")+1)};this.form.value.gender&&(e.gender=encodeURIComponent(this.form.value.gender)),this.form.value.ethnicity&&(e.ethnicity=encodeURIComponent(this.form.value.ethnicity)),this.form.value.veteran&&(e.veteran=encodeURIComponent(this.form.value.veteran)),this.form.value.disability&&(e.disability=encodeURIComponent(this.form.value.disability)),this.source&&(e.source=this.source);var t=new FormData;t.append("resume",this.form.value.resume[0].file),this.applyService.apply(this.job.id,e,t).subscribe(this.applyOnSuccess.bind(this),this.applyOnFailure.bind(this))}}},{key:"viewPrivacyPolicy",value:function(){var e=oo.settings.privacyConsent.privacyPolicyUrl;"/privacy"===e?this.router.navigate([e]):window.open(e)}},{key:"applyOnSuccess",value:function(e){var t={theme:"success",icon:"check",title:this.translate.instant("THANK_YOU"),message:this.translate.instant("YOU_WILL_BE_CONTACTED"),position:"growlTopRight",hideDelay:3e3};this.toaster.alert(t);var n=sessionStorage.getItem(this.APPLIED_JOBS_KEY);if(n){var r=JSON.parse(n);r.push(this.job.id),sessionStorage.setItem(this.APPLIED_JOBS_KEY,JSON.stringify(r))}else sessionStorage.setItem(this.APPLIED_JOBS_KEY,JSON.stringify([this.job.id]));this.applying=!1,this.close(!0)}},{key:"applyOnFailure",value:function(e){this.hasError=!0,this.applying=!1}}]),e}()).\u0275fac=function(e){return new(e||fy)(c["\u0275\u0275directiveInject"](sv),c["\u0275\u0275directiveInject"](cv),c["\u0275\u0275directiveInject"](lv),c["\u0275\u0275directiveInject"](lg),c["\u0275\u0275directiveInject"](ag),c["\u0275\u0275directiveInject"](Ap),c["\u0275\u0275directiveInject"](Yn),c["\u0275\u0275directiveInject"](eo))},fy.\u0275cmp=c["\u0275\u0275defineComponent"]({type:fy,selectors:[["app-apply-modal"]],decls:19,vars:16,consts:[["theme","neutral",1,"apply-modal-header",3,"title"],["icon","times",3,"click"],["class","job-details",4,"ngIf"],[1,"job-details"],[4,"ngIf"],["class","separator",4,"ngIf"],[1,"type"],[3,"ngClass",4,"ngIf"],["theme","standard","data-automation-id","create-modal-cancel",3,"click"],["theme","primary","icon","check","data-automation-id","apply-modal-save",3,"disabled","loading","click"],[1,"separator"],[3,"ngClass"],["layout","vertical",3,"form"],["class","novo-form-row",4,"ngFor","ngForOf"],["class","eeoc-form",4,"ngIf"],["class","consent-form novo-form-row",4,"ngIf"],["class","error",4,"ngIf"],[1,"novo-form-row"],[3,"form","control"],[1,"eeoc-form"],[3,"title"],[1,"consent-form","novo-form-row"],[1,"consent-checkbox-label"],[3,"click"],[1,"error"]],template:function(e,t){1&e&&(c["\u0275\u0275elementStart"](0,"novo-modal"),c["\u0275\u0275elementStart"](1,"header",0),c["\u0275\u0275elementStart"](2,"utils"),c["\u0275\u0275elementStart"](3,"util-action",1),c["\u0275\u0275listener"]("click",(function(){return t.close()})),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275template"](4,ty,2,1,"div",2),c["\u0275\u0275elementStart"](5,"div",3),c["\u0275\u0275text"](6),c["\u0275\u0275template"](7,ny,2,0,"span",4),c["\u0275\u0275text"](8),c["\u0275\u0275template"](9,ry,2,0,"span",5),c["\u0275\u0275elementStart"](10,"span",6),c["\u0275\u0275text"](11),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275template"](12,uy,6,8,"section",7),c["\u0275\u0275elementStart"](13,"button",8),c["\u0275\u0275listener"]("click",(function(){return t.close()})),c["\u0275\u0275text"](14),c["\u0275\u0275pipe"](15,"translate"),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](16,"button",9),c["\u0275\u0275listener"]("click",(function(){return t.save()})),c["\u0275\u0275text"](17),c["\u0275\u0275pipe"](18,"translate"),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()),2&e&&(c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("title",t.job.title),c["\u0275\u0275advance"](3),c["\u0275\u0275property"]("ngIf",t.job.publishedCategory&&t.showCategory),c["\u0275\u0275advance"](2),c["\u0275\u0275textInterpolate"](t.job.address.city),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",(null==t.job.address?null:t.job.address.city)&&(null==t.job.address?null:t.job.address.state)),c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate1"]("",t.job.address.state," "),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",((null==t.job.address?null:t.job.address.city)||(null==t.job.address?null:t.job.address.state))&&t.job.employmentType),c["\u0275\u0275advance"](2),c["\u0275\u0275textInterpolate"](t.job.employmentType),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",!t.loading),c["\u0275\u0275advance"](2),c["\u0275\u0275textInterpolate"](c["\u0275\u0275pipeBind1"](15,12,"CANCEL")),c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("disabled",!t.form.valid)("loading",t.applying),c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate1"](" ",c["\u0275\u0275pipeBind1"](18,14,"APPLY")," "))},directives:[dv,Rv,Pv,Dv,h.m,lh,h.k,Sv,h.l,kv,wv],pipes:[to],styles:["[_nghost-%COMP%]{min-width:600px}[_nghost-%COMP%]   .job-details[_ngcontent-%COMP%]{padding:0 0 5px 15px}[_nghost-%COMP%]   .job-details[_ngcontent-%COMP%]   .separator[_ngcontent-%COMP%]{padding:0 5px}[_nghost-%COMP%]   novo-form[_ngcontent-%COMP%]{padding:10px 0}[_nghost-%COMP%]   novo-form[_ngcontent-%COMP%]   .eeoc-form[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{padding-bottom:10px}[_nghost-%COMP%]   span.error[_ngcontent-%COMP%]{color:#da4453;font-weight:800}@media (max-height:700px),only screen and (max-width:768px){[_nghost-%COMP%]{max-width:100vw;min-width:unset;align-self:start}[_nghost-%COMP%]   novo-form[_ngcontent-%COMP%]{max-height:calc(100vh - 113px)}[_nghost-%COMP%]   section[_ngcontent-%COMP%]{height:calc(100vh - 230px);width:100vw}[_nghost-%COMP%]   section.ios[_ngcontent-%COMP%]{max-height:calc(100vh - (230px + 150px))}}"]}),fy),py=((hy=function(){function e(t,n){v(this,e),this.params=t,this.modalRef=n}return y(e,[{key:"ngOnInit",value:function(){}},{key:"close",value:function(){this.modalRef.close()}}]),e}()).\u0275fac=function(e){return new(e||hy)(c["\u0275\u0275directiveInject"](cv),c["\u0275\u0275directiveInject"](lv))},hy.\u0275cmp=c["\u0275\u0275defineComponent"]({type:hy,selectors:[["error-modal"]],decls:8,vars:5,consts:[["type","error","data-automation-id","error-modal"],["theme","primary","data-automation-id","error-modal-confirm","icon","check",3,"click"]],template:function(e,t){1&e&&(c["\u0275\u0275elementStart"](0,"novo-notification",0),c["\u0275\u0275elementStart"](1,"h1"),c["\u0275\u0275text"](2),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](3,"h2"),c["\u0275\u0275text"](4),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](5,"button",1),c["\u0275\u0275listener"]("click",(function(){return t.close()})),c["\u0275\u0275text"](6),c["\u0275\u0275pipe"](7,"translate"),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()),2&e&&(c["\u0275\u0275advance"](2),c["\u0275\u0275textInterpolate"](t.params.title),c["\u0275\u0275advance"](2),c["\u0275\u0275textInterpolate"](t.params.message),c["\u0275\u0275advance"](2),c["\u0275\u0275textInterpolate"](c["\u0275\u0275pipeBind1"](7,3,"OKAY")))},directives:[hv,lh],pipes:[to],styles:[""]}),hy),vy=((dy=function(){function e(t,n,r,i){v(this,e),this._renderer2=t,this.datePipe=n,this._document=r,this.sanitizer=i}return y(e,[{key:"ngOnChanges",value:function(){var e={"@context":"https://schema.org/","@type":"JobPosting",title:this.jobData.title,description:this.jobData.publicDescription,datePosted:this.datePipe.transform(this.jobData.dateLastPublished,"long"),hiringOrganization:{"@type":"Organization",name:oo.settings.companyName,sameAs:oo.settings.companyUrl,logo:oo.settings.companyLogoPath},jobLocation:{"@type":"Place",address:{"@type":"PostalAddress",addressLocality:this.jobData.address.city,addressRegion:this.jobData.address.state,postalCode:this.jobData.address.zip}},baseSalary:{"@type":"MonetaryAmount",value:{"@type":"QuantitativeValue",value:this.jobData.salary,unitText:this.jobData.salaryUnit}}},t=this._renderer2.createElement("script");t.type="application/ld+json",t.text=JSON.stringify(e),oo.isServer&&this._renderer2.appendChild(this._document.body,t)}}]),e}()).\u0275fac=function(e){return new(e||dy)(c["\u0275\u0275directiveInject"](c.Renderer2),c["\u0275\u0275directiveInject"](h.f),c["\u0275\u0275directiveInject"](h.e),c["\u0275\u0275directiveInject"](u.DomSanitizer))},dy.\u0275cmp=c["\u0275\u0275defineComponent"]({type:dy,selectors:[["app-structured-seo"]],hostVars:1,hostBindings:function(e,t){2&e&&c["\u0275\u0275hostProperty"]("innerHTML",t.html,c["\u0275\u0275sanitizeHtml"])},inputs:{jobData:"jobData"},features:[c["\u0275\u0275NgOnChangesFeature"]],decls:0,vars:0,template:function(e,t){},styles:["[_nghost-%COMP%]{display:none}"]}),dy);function gy(e,t){1&e&&c["\u0275\u0275element"](0,"novo-loading")}function yy(e,t){if(1&e&&c["\u0275\u0275element"](0,"app-structured-seo",3),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275property"]("jobData",n.job)}}function by(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"span",22),c["\u0275\u0275text"](1),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](2);c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate1"](" ",null==n.job.publishedCategory?null:n.job.publishedCategory.name," ")}}function ky(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"button",23),c["\u0275\u0275listener"]("click",(function(){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"](2).apply()})),c["\u0275\u0275text"](1),c["\u0275\u0275pipe"](2,"translate"),c["\u0275\u0275elementEnd"]()}2&e&&(c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](c["\u0275\u0275pipeBind1"](2,1,"APPLY_NOW")))}function Cy(e,t){1&e&&(c["\u0275\u0275elementStart"](0,"button",24),c["\u0275\u0275text"](1),c["\u0275\u0275pipe"](2,"translate"),c["\u0275\u0275elementEnd"]()),2&e&&(c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](c["\u0275\u0275pipeBind1"](2,1,"ALREADY_APPLIED")))}function wy(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"button",25),c["\u0275\u0275listener"]("click",(function(){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"](2).emailLink()})),c["\u0275\u0275elementEnd"]()}}function Sy(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"button",26),c["\u0275\u0275listener"]("click",(function(){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"](2).shareTwitter()})),c["\u0275\u0275elementEnd"]()}}function _y(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"button",27),c["\u0275\u0275listener"]("click",(function(){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"](2).shareFacebook()})),c["\u0275\u0275elementEnd"]()}}function Ey(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"button",28),c["\u0275\u0275listener"]("click",(function(){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"](2).shareLinkedin()})),c["\u0275\u0275elementEnd"]()}}function Iy(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"button",29),c["\u0275\u0275listener"]("click",(function(){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"](2).toggleShareButtons()})),c["\u0275\u0275text"](1),c["\u0275\u0275pipe"](2,"translate"),c["\u0275\u0275elementEnd"]()}2&e&&(c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](c["\u0275\u0275pipeBind1"](2,1,"SHARE_POST")))}var xy=function(e){return{"safari-scroll":e}};function Oy(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"div",4),c["\u0275\u0275elementStart"](1,"div",5),c["\u0275\u0275elementStart"](2,"button",6),c["\u0275\u0275listener"]("click",(function(){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().goToJobList()})),c["\u0275\u0275text"](3),c["\u0275\u0275pipe"](4,"translate"),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](5,"div",7),c["\u0275\u0275elementStart"](6,"span",8),c["\u0275\u0275text"](7),c["\u0275\u0275elementEnd"](),c["\u0275\u0275element"](8,"br"),c["\u0275\u0275template"](9,by,2,1,"span",9),c["\u0275\u0275elementStart"](10,"div",10),c["\u0275\u0275element"](11,"app-info-chips",11),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275element"](12,"div",12),c["\u0275\u0275elementStart"](13,"div",13),c["\u0275\u0275template"](14,ky,3,3,"button",14),c["\u0275\u0275template"](15,Cy,3,3,"button",15),c["\u0275\u0275template"](16,wy,1,0,"button",16),c["\u0275\u0275template"](17,Sy,1,0,"button",17),c["\u0275\u0275template"](18,_y,1,0,"button",18),c["\u0275\u0275template"](19,Ey,1,0,"button",19),c["\u0275\u0275template"](20,Iy,3,3,"button",20),c["\u0275\u0275elementStart"](21,"button",21),c["\u0275\u0275listener"]("click",(function(){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().print()})),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()}if(2&e){var r=c["\u0275\u0275nextContext"]();c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngClass",c["\u0275\u0275pureFunction1"](15,xy,r.isSafariAgent)),c["\u0275\u0275advance"](2),c["\u0275\u0275textInterpolate"](c["\u0275\u0275pipeBind1"](4,13,"BACK")),c["\u0275\u0275advance"](4),c["\u0275\u0275textInterpolate"](r.job.title),c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("ngIf",r.job.publishedCategory&&r.showCategory),c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("job",r.job),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("innerHTML",r.job.publicDescription,c["\u0275\u0275sanitizeHtml"]),c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("ngIf",!r.alreadyApplied),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",r.alreadyApplied),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",r.showShareButtons),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",r.showShareButtons),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",r.showShareButtons),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",r.showShareButtons),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",!r.showShareButtons)}}function Ty(e,t){if(1&e&&c["\u0275\u0275element"](0,"div",2),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275property"]("innerHTML",n.data,c["\u0275\u0275sanitizeHtml"])}}function Ay(e,t){1&e&&c["\u0275\u0275element"](0,"novo-loading")}var Py,Dy,Ry,My=[{path:"",component:ey},{path:"jobs/:id",component:(Dy=function(){function e(t,n,r,i,o,a,s,c,l,u,d){v(this,e),this.service=t,this.shareService=n,this.route=r,this.router=i,this.analytics=o,this.modalService=a,this.viewContainerRef=s,this.titleService=c,this.meta=l,this.serverResponse=u,this.translate=d,this.loading=!0,this.showShareButtons=!1,this.alreadyApplied=!1,this.showCategory=oo.settings.service.showCategory,this.isSafariAgent=!1,this.APPLIED_JOBS_KEY="APPLIED_JOBS_KEY",this.modalService.parentViewContainer=this.viewContainerRef}return y(e,[{key:"ngOnInit",value:function(){oo.isServer||(this.isSafariAgent=-1!==navigator.userAgent.indexOf("Safari")&&-1===navigator.userAgent.indexOf("Chrome")),this.loading=!0,this.id=this.route.snapshot.paramMap.get("id"),this.source=this.route.snapshot.queryParams.source,this.analytics.trackEvent("Open Job: "+this.id),this.checkSessionStorage(),this.setJob()}},{key:"checkSessionStorage",value:function(){if(!oo.isServer){var e=sessionStorage.getItem(this.APPLIED_JOBS_KEY);if(e){var t=JSON.parse(e);this.alreadyApplied=-1!==t.indexOf(parseInt(this.id))}}}},{key:"getRelatedJobs",value:function(){var e=this;this.job&&this.job.publishedCategory&&this.service.getjobs({"publishedCategory.id":[this.job.publishedCategory.id]},{},oo.settings.service.batchSize).subscribe((function(t){e.relatedJobs=t.data}))}},{key:"apply",value:function(){this.analytics.trackEvent("Open Apply Form "+this.job.id),this.modalService.open(my,{job:this.job,source:this.source,viewContainer:this.viewContainerRef}).onClosed.then(this.checkSessionStorage.bind(this))}},{key:"toggleShareButtons",value:function(){this.showShareButtons=!this.showShareButtons}},{key:"shareFacebook",value:function(){this.shareService.facebook(this.job),this.analytics.trackEvent("Shared Job: ".concat(this.id," via Facebook"))}},{key:"shareTwitter",value:function(){this.shareService.twitter(this.job),this.analytics.trackEvent("Shared Job: ".concat(this.id," via Twitter"))}},{key:"shareLinkedin",value:function(){this.shareService.linkedin(this.job),this.analytics.trackEvent("Shared Job: ".concat(this.id," via LinkedIn"))}},{key:"emailLink",value:function(){window.open(this.shareService.emailLink(this.job)),this.analytics.trackEvent("Shared Job: ".concat(this.id," via Email"))}},{key:"print",value:function(){window.print()}},{key:"goToJobList",value:function(){this.router.navigate(["/"])}},{key:"setJob",value:function(){var e=this.route.snapshot.data.message;e.data&&e.data.length>0?(this.job=e.data[0],this.titleService.setTitle(this.job.title),this.meta.updateTag({name:"og:title",content:this.job.title}),this.meta.updateTag({name:"titter:title",content:this.job.title}),this.meta.updateTag({name:"og:image",content:oo.settings.companyLogoPath}),this.meta.updateTag({name:"og:url",content:"".concat(oo.urlRoot).concat(this.router.url)}),this.meta.updateTag({name:"og:description",content:this.job.publicDescription}),this.meta.updateTag({name:"twitter:description",content:this.job.publicDescription}),this.meta.updateTag({name:"description",content:this.job.publicDescription}),this.loading=!1):(this.serverResponse.setNotFound(),this.modalService.open(py,{title:this.translate.instant("ERROR"),message:this.translate.instant("MISSING_JOB_ERROR")}).onClosed.then(this.goToJobList.bind(this)))}}]),e}(),Dy.\u0275fac=function(e){return new(e||Dy)(c["\u0275\u0275directiveInject"](sg),c["\u0275\u0275directiveInject"](cg),c["\u0275\u0275directiveInject"](Ot),c["\u0275\u0275directiveInject"](Yn),c["\u0275\u0275directiveInject"](ag),c["\u0275\u0275directiveInject"](fv),c["\u0275\u0275directiveInject"](c.ViewContainerRef),c["\u0275\u0275directiveInject"](u.Title),c["\u0275\u0275directiveInject"](u.Meta),c["\u0275\u0275directiveInject"](dg),c["\u0275\u0275directiveInject"](eo))},Dy.\u0275cmp=c["\u0275\u0275defineComponent"]({type:Dy,selectors:[["app-job-details"]],decls:3,vars:3,consts:[[4,"ngIf"],[3,"jobData",4,"ngIf"],["class","background",4,"ngIf"],[3,"jobData"],[1,"background"],[1,"job-container",3,"ngClass"],["theme","dialogue","icon","previous","side","left","data-automation-id","back-button",3,"click"],[1,"job-header"],[1,"job-title"],["class","category",4,"ngIf"],[1,"job-info-container"],[3,"job"],[1,"job-description-text",3,"innerHTML"],[1,"share"],["theme","primary","data-automation-id","apply-button",3,"click",4,"ngIf"],["theme","primary","disabled","true","data-automation-id","applied-button",4,"ngIf"],["theme","icon","icon","email",3,"click",4,"ngIf"],["theme","icon","icon","twitter",3,"click",4,"ngIf"],["theme","icon","icon","facebook",3,"click",4,"ngIf"],["theme","icon","icon","linkedin",3,"click",4,"ngIf"],["theme","dialogue","icon","share",3,"click",4,"ngIf"],["theme","icon","icon","print",3,"click"],[1,"category"],["theme","primary","data-automation-id","apply-button",3,"click"],["theme","primary","disabled","true","data-automation-id","applied-button"],["theme","icon","icon","email",3,"click"],["theme","icon","icon","twitter",3,"click"],["theme","icon","icon","facebook",3,"click"],["theme","icon","icon","linkedin",3,"click"],["theme","dialogue","icon","share",3,"click"]],template:function(e,t){1&e&&(c["\u0275\u0275template"](0,gy,1,0,"novo-loading",0),c["\u0275\u0275template"](1,yy,1,1,"app-structured-seo",1),c["\u0275\u0275template"](2,Oy,22,17,"div",2)),2&e&&(c["\u0275\u0275property"]("ngIf",t.loading),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",!t.loading),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",!t.loading))},directives:[h.m,kh,vy,h.k,lh,Vg],pipes:[to],styles:[".background[_ngcontent-%COMP%]{overflow-x:hidden;background-color:#f4f4f4;max-height:calc(100vh - 55px);height:calc(100vh - 55px)}.background[_ngcontent-%COMP%]   .job-container[_ngcontent-%COMP%]{margin:0 10%;padding:5%;background-color:#fff}.background[_ngcontent-%COMP%]   .job-container.safari-scroll[_ngcontent-%COMP%]{height:100%;overflow-y:scroll;-webkit-overflow-scrolling:touch}.background[_ngcontent-%COMP%]   .job-container[_ngcontent-%COMP%] > button[theme=dialogue][_ngcontent-%COMP%]{margin:-10px -15px 20px}.background[_ngcontent-%COMP%]   .job-container[_ngcontent-%COMP%]   .job-description-text[_ngcontent-%COMP%]{word-break:break-word}.background[_ngcontent-%COMP%]   .job-container[_ngcontent-%COMP%]   .job-header[_ngcontent-%COMP%]   div.job-info-container[_ngcontent-%COMP%]{margin:30px 0;display:flex;width:100%;flex-wrap:wrap}.background[_ngcontent-%COMP%]   .job-container[_ngcontent-%COMP%]   .job-header[_ngcontent-%COMP%]   .job-title[_ngcontent-%COMP%]{font-size:2em;font-weight:600}.background[_ngcontent-%COMP%]   .job-container[_ngcontent-%COMP%]   .share[_ngcontent-%COMP%]{display:flex;margin-top:50px;margin-bottom:100px}.background[_ngcontent-%COMP%]   .job-container[_ngcontent-%COMP%]   .share[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-right:20px}.background[_ngcontent-%COMP%]   .job-container[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]{font-weight:600;display:inline-block;font-size:1.3em;word-wrap:break-word;overflow:hidden;color:#4a89dc;padding-top:15px}@media only screen and (max-width:768px){[_nghost-%COMP%]   .background[_ngcontent-%COMP%] > .job-container[_ngcontent-%COMP%]{margin:0}}novo-loading[_ngcontent-%COMP%]{padding:20px;font-size:13px;display:flex;flex-direction:column;height:100%;position:absolute;align-items:center;width:100%;justify-content:center}"]}),Dy),resolve:{message:hg}},{path:"jobs",component:ey},{path:"privacy",component:(Py=function(){function e(t,n){v(this,e),this.http=t,this.domSanitize=n,this.loading=!0}return y(e,[{key:"ngOnInit",value:function(){this.http.get("./static/privacy-policy.html",{responseType:"text"}).subscribe(this.handlePolicyOnSuccess.bind(this))}},{key:"handlePolicyOnSuccess",value:function(e){this.data=this.domSanitize.bypassSecurityTrustHtml(e),this.loading=!1}}]),e}(),Py.\u0275fac=function(e){return new(e||Py)(c["\u0275\u0275directiveInject"](Jr),c["\u0275\u0275directiveInject"](u.DomSanitizer))},Py.\u0275cmp=c["\u0275\u0275defineComponent"]({type:Py,selectors:[["app-privacy-policy"]],decls:2,vars:2,consts:[[3,"innerHTML",4,"ngIf"],[4,"ngIf"],[3,"innerHTML"]],template:function(e,t){1&e&&(c["\u0275\u0275template"](0,Ty,1,1,"div",0),c["\u0275\u0275template"](1,Ay,1,0,"novo-loading",1)),2&e&&(c["\u0275\u0275property"]("ngIf",!t.loading),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",t.loading))},directives:[h.m,kh],styles:["novo-loading[_ngcontent-%COMP%]{padding:20px;font-size:13px;display:flex;height:100%;position:absolute;align-items:center;width:100%;justify-content:center}"]}),Py)},{path:"**",redirectTo:"/"}],Ny=((Ry=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:Ry}),Ry.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||Ry)},imports:[[dr.forRoot(My,{enableTracing:!1,useHash:!0,initialNavigation:"enabled"})],dr]}),Ry);function jy(e){return function(){return e.load()}}var Fy,Ly=((Fy=function e(){v(this,e)}).\u0275mod=c["\u0275\u0275defineNgModule"]({type:Fy,bootstrap:[og]}),Fy.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(e){return new(e||Fy)},providers:[{provide:c.APP_INITIALIZER,useFactory:jy,deps:[oo],multi:!0},oo,sg,cg,gv,fv,Ap,lg,ag,h.f,hg,dg],imports:[[u.BrowserModule.withServerTransition({appId:"serverApp"}),Ny,di,ig,Rh,Mv,u.BrowserTransferStateModule,Fv,La.FormsModule,Af,uh,no.forRoot({loader:{provide:Ti,useClass:mg}})]]}),Fy);Object(c.enableProdMode)(),document.addEventListener("DOMContentLoaded",(function(){u.platformBrowser().bootstrapModule(Ly).catch((function(e){console.log(e);var t=document.querySelector("novo-loading"),n="Application initialization failed, please check your app.json file";e&&(n=e.message?n+": "+e.message:n+": "+e),t.textContent=n}))}))},zj0I:function(e,t,n){var r=n("yNUO");e.exports=function(e){var t=r(e),n=t.getMonth();return t.setMonth(n-n%3+3,0),t.setHours(0,0,0,0),t}},zx2A:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return c}));var r=n("7o/Q"),i=n("HDdC"),o=n("SeVD"),a=function(e){l(n,e);var t=d(n);function n(e){var r;return v(this,n),(r=t.call(this)).parent=e,r}return y(n,[{key:"_next",value:function(e){this.parent.notifyNext(e)}},{key:"_error",value:function(e){this.parent.notifyError(e),this.unsubscribe()}},{key:"_complete",value:function(){this.parent.notifyComplete(),this.unsubscribe()}}]),n}(r.a),s=function(e){l(n,e);var t=d(n);function n(){return v(this,n),t.apply(this,arguments)}return y(n,[{key:"notifyNext",value:function(e){this.destination.next(e)}},{key:"notifyError",value:function(e){this.destination.error(e)}},{key:"notifyComplete",value:function(){this.destination.complete()}}]),n}(r.a);function c(e,t){if(!t.closed){if(e instanceof i.a)return e.subscribe(t);var n;try{n=Object(o.a)(e)(t)}catch(r){t.error(r)}return n}}}},[[0,0]]])}();