File: /var/www/panigaletech.com/wp-content/plugins/bullhorn-oscp/main.js
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"+5jU":function(e,t,n){var o=n("HMbd");e.exports=function(e,t){var n=Number(t);return o(e,-n)}},"+6+2":function(e,t,n){var o=n("yNUO");e.exports=function(e){var t=o(e);return t.setMinutes(0,0,0),t}},"+f+M":function(e,t,n){var o=n("iWRJ");e.exports=function(e,t){return o(e)-o(t)}},"+nbD":function(e,t,n){var o=n("yNUO"),r=n("iUbB"),i=n("hLnY");e.exports=function(e,t){var n=o(e),a=Number(t),s=i(n);return r(n,a-s)}},"+tJ4":function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o=function(e){return function(t){for(var n=0,o=e.length;n<o&&!t.closed;n++)t.next(e[n]);t.closed||t.complete()}}},"+umK":function(e,t,n){"use strict";function o(){}n.d(t,"a",function(){return o})},"+zZ+":function(e,t,n){var o=n("uPm0"),r=n("yNUO");e.exports=function(e,t){var n=r(e),i=r(t);return 4*(n.getFullYear()-i.getFullYear())+(o(n)-o(i))}},"//w5":function(e,t,n){e.exports=function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={exports:{},id:o,loaded:!1};return e[o].call(r.exports,r,r.exports,t),r.loaded=!0,r.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]:{},r=t.minYear,i=void 0===r?1:r,a=t.maxYear,s=void 0===a?9999:a,l=e.split(/[^dmyHMS]+/).sort(function(e,t){return o.indexOf(e)-o.indexOf(t)});return function(t){var o=[],r={dd:31,mm:12,yy:99,yyyy:s,HH:23,MM:59,SS:59},a={dd:1,mm:1,yy:0,yyyy:i,HH:0,MM:0,SS:0},c=t.split("");l.forEach(function(t){var n=e.indexOf(t),i=parseInt(r[t].toString().substr(0,1),10);parseInt(c[n],10)>i&&(c[n+1]=c[n],c[n]=0,o.push(n))});var u=0;return!l.some(function(o){var l=e.indexOf(o),c=o.length,d=t.substr(l,c).replace(/\D/g,""),h=parseInt(d,10);"mm"===o&&(u=h||0);var p="dd"===o?n[u]:r[o];if("yyyy"===o&&(1!==i||9999!==s)){var f=parseInt(r[o].toString().substring(0,d.length),10);return h<parseInt(a[o].toString().substring(0,d.length),10)||h>f}return h>p||d.length===c&&h<a[o]})&&{value:c.join(""),indexesOfPipedChars:o}}};var n=[31,31,29,31,30,31,30,31,31,30,31,30,31],o=["yyyy","yy","mm","dd","HH","MM","SS"]}])},"/LN1":function(e,t,n){var o=n("ZmXw");e.exports=function(e,t){var n=Number(t);return o(e,12*n)}},"/Tkk":function(e,t,n){var o=n("CXhC");e.exports=function(e,t){var n=o(e),r=o(t);return n.getTime()===r.getTime()}},"/WYv":function(e,t,n){"use strict";function o(e){return e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}n.d(t,"a",function(){return o})},0:function(e,t,n){e.exports=n("zUnb")},"0/uQ":function(e,t,n){"use strict";var o=n("6blF"),r=n("/WYv"),i=n("2ePl"),a=n("xTla"),s=n("En8+"),l=n("IUTb"),c=n("pugT"),u=n("S5XQ"),d=n("u67D"),h=n("JcRv"),p=n("Fxb1");function f(e,t){if(!t)return e instanceof o.a?e:new o.a(Object(p.a)(e));if(null!=e){if(function(e){return e&&"function"==typeof e[a.a]}(e))return function(e,t){return new o.a(t?function(n){var o=new c.a;return o.add(t.schedule(function(){var r=e[a.a]();o.add(r.subscribe({next:function(e){o.add(t.schedule(function(){return n.next(e)}))},error:function(e){o.add(t.schedule(function(){return n.error(e)}))},complete:function(){o.add(t.schedule(function(){return n.complete()}))}}))})),o}:Object(h.a)(e))}(e,t);if(Object(r.a)(e))return function(e,t){return new o.a(t?function(n){var o=new c.a;return o.add(t.schedule(function(){return e.then(function(e){o.add(t.schedule(function(){n.next(e),o.add(t.schedule(function(){return n.complete()}))}))},function(e){o.add(t.schedule(function(){return n.error(e)}))})})),o}:Object(u.a)(e))}(e,t);if(Object(i.a)(e))return Object(l.a)(e,t);if(function(e){return e&&"function"==typeof e[s.a]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new o.a(t?function(n){var o,r=new c.a;return r.add(function(){o&&"function"==typeof o.return&&o.return()}),r.add(t.schedule(function(){o=e[s.a](),r.add(t.schedule(function(){if(!n.closed){var e,t;try{var r=o.next();e=r.value,t=r.done}catch(i){return void n.error(i)}t?n.complete():(n.next(e),this.schedule())}}))})),r}:Object(d.a)(e))}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}n.d(t,"a",function(){return f})},"0u2M":function(e,t,n){var o=n("54Wo");e.exports=function(e,t){var n=o(e,t)/36e5;return n>0?Math.floor(n):Math.ceil(n)}},"15JJ":function(e,t,n){"use strict";n.d(t,"a",function(){return c});var o=n("mrSG"),r=n("MGBS"),i=n("rPjj"),a=n("zotm"),s=n("67Y/"),l=n("0/uQ");function c(e,t){return"function"==typeof t?function(n){return n.pipe(c(function(n,o){return Object(l.a)(e(n,o)).pipe(Object(s.a)(function(e,r){return t(n,e,o,r)}))}))}:function(t){return t.lift(new u(e))}}var u=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new d(e,this.project))},e}(),d=function(e){function t(t,n){var o=e.call(this,t)||this;return o.project=n,o.index=0,o}return o.c(t,e),t.prototype._next=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(o){return void this.destination.error(o)}this._innerSub(t,e,n)},t.prototype._innerSub=function(e,t,n){var o=this.innerSubscription;o&&o.unsubscribe();var r=new i.a(this,void 0,void 0);this.destination.add(r),this.innerSubscription=Object(a.a)(this,e,t,n,r)},t.prototype._complete=function(){var t=this.innerSubscription;t&&!t.closed||e.prototype._complete.call(this),this.unsubscribe()},t.prototype._unsubscribe=function(){this.innerSubscription=null},t.prototype.notifyComplete=function(t){this.destination.remove(t),this.innerSubscription=null,this.isStopped&&e.prototype._complete.call(this)},t.prototype.notifyNext=function(e,t,n,o,r){this.destination.next(t)},t}(r.a)},"1CCG":function(e,t,n){var o=n("CXhC");e.exports=function(e,t){var n=o(e),r=o(t),i=n.getTime()-6e4*n.getTimezoneOffset(),a=r.getTime()-6e4*r.getTimezoneOffset();return Math.round((i-a)/864e5)}},"1HMO":function(e,t,n){var o=n("yNUO");e.exports=function(e,t){var n=o(e),r=Number(t);return n.setMilliseconds(r),n}},"1K6H":function(e,t,n){var o=n("9d03");e.exports=function(e,t){var n=Number(t);return o(e,-n)}},"1vin":function(e,t,n){var o=n("yNUO");e.exports=function(e){var t=o(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}},"26FU":function(e,t,n){"use strict";n.d(t,"a",function(){return a});var o=n("mrSG"),r=n("K9Ia"),i=n("8g8A"),a=function(e){function t(t){var n=e.call(this)||this;return n._value=t,n}return o.c(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),t.prototype._subscribe=function(t){var n=e.prototype._subscribe.call(this,t);return n&&!n.closed&&t.next(this._value),n},t.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new i.a;return this._value},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(r.a)},"2Bdj":function(e,t,n){"use strict";function o(e){return"function"==typeof e}n.d(t,"a",function(){return o})},"2XXS":function(e,t,n){var o=n("yNUO");e.exports=function(e){var t=o(e),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(23,59,59,999),t}},"2ePl":function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},"3d+l":function(e,t,n){var o=n("rMQs");e.exports=function(e){return o(e)?366:365}},"3fWJ":function(e,t,n){"use strict";function o(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}n.d(t,"a",function(){return r}),o.prototype=Object.create(Error.prototype);var r=o},"3hPP":function(e,t,n){var o=n("iWRJ"),r=n("tMf1");e.exports=function(e){var t=o(e),n=new Date(0);n.setFullYear(t+1,0,4),n.setHours(0,0,0,0);var i=r(n);return i.setDate(i.getDate()-1),i}},"3zVU":function(e,t,n){var o=n("J6Hf");e.exports=function(e,t){var n=Number(t);return o(e,-n)}},"4Toj":function(e,t,n){var o=n("54Wo");e.exports=function(e,t){var n=o(e,t)/1e3;return n>0?Math.floor(n):Math.ceil(n)}},"4c35":function(e,t,n){"use strict";n.d(t,"b",function(){return s}),n.d(t,"e",function(){return l}),n.d(t,"c",function(){return u}),n.d(t,"a",function(){return d}),n.d(t,"d",function(){return h});var o=n("mrSG"),r=n("CcnG");function i(){throw Error("Host already has a portal attached")}var a=function(){function e(){}return e.prototype.attach=function(e){return null==e&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),e.hasAttached()&&i(),this._attachedHost=e,e.attach(this)},e.prototype.detach=function(){var e=this._attachedHost;null==e?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,e.detach())},Object.defineProperty(e.prototype,"isAttached",{get:function(){return null!=this._attachedHost},enumerable:!0,configurable:!0}),e.prototype.setAttachedHost=function(e){this._attachedHost=e},e}(),s=function(e){function t(t,n,o,r){var i=e.call(this)||this;return i.component=t,i.viewContainerRef=n,i.injector=o,i.componentFactoryResolver=r,i}return Object(o.c)(t,e),t}(a),l=function(e){function t(t,n,o){var r=e.call(this)||this;return r.templateRef=t,r.viewContainerRef=n,r.context=o,r}return Object(o.c)(t,e),Object.defineProperty(t.prototype,"origin",{get:function(){return this.templateRef.elementRef},enumerable:!0,configurable:!0}),t.prototype.attach=function(t,n){return void 0===n&&(n=this.context),this.context=n,e.prototype.attach.call(this,t)},t.prototype.detach=function(){return this.context=void 0,e.prototype.detach.call(this)},t}(a),c=function(){function e(){this._isDisposed=!1}return e.prototype.hasAttached=function(){return!!this._attachedPortal},e.prototype.attach=function(e){return e||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&i(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),e instanceof s?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof l?(this._attachedPortal=e,this.attachTemplatePortal(e)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()},e.prototype.detach=function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()},e.prototype.dispose=function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0},e.prototype.setDisposeFn=function(e){this._disposeFn=e},e.prototype._invokeDisposeFn=function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)},e}(),u=function(e){function t(t,n,o,r){var i=e.call(this)||this;return i.outletElement=t,i._componentFactoryResolver=n,i._appRef=o,i._defaultInjector=r,i}return Object(o.c)(t,e),t.prototype.attachComponentPortal=function(e){var t,n=this,o=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);return e.viewContainerRef?(t=e.viewContainerRef.createComponent(o,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector),this.setDisposeFn(function(){return t.destroy()})):(t=o.create(e.injector||this._defaultInjector),this._appRef.attachView(t.hostView),this.setDisposeFn(function(){n._appRef.detachView(t.hostView),t.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(t)),t},t.prototype.attachTemplatePortal=function(e){var t=this,n=e.viewContainerRef,o=n.createEmbeddedView(e.templateRef,e.context);return o.detectChanges(),o.rootNodes.forEach(function(e){return t.outletElement.appendChild(e)}),this.setDisposeFn(function(){var e=n.indexOf(o);-1!==e&&n.remove(e)}),o},t.prototype.dispose=function(){e.prototype.dispose.call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)},t.prototype._getComponentRootNode=function(e){return e.hostView.rootNodes[0]},t}(c),d=function(e){function t(t,n){var o=e.call(this)||this;return o._componentFactoryResolver=t,o._viewContainerRef=n,o._isInitialized=!1,o.attached=new r.EventEmitter,o}return Object(o.c)(t,e),Object.defineProperty(t.prototype,"portal",{get:function(){return this._attachedPortal},set:function(t){(!this.hasAttached()||t||this._isInitialized)&&(this.hasAttached()&&e.prototype.detach.call(this),t&&e.prototype.attach.call(this,t),this._attachedPortal=t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"attachedRef",{get:function(){return this._attachedRef},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this._isInitialized=!0},t.prototype.ngOnDestroy=function(){e.prototype.dispose.call(this),this._attachedPortal=null,this._attachedRef=null},t.prototype.attachComponentPortal=function(t){t.setAttachedHost(this);var n=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,o=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),r=n.createComponent(o,n.length,t.injector||n.injector);return e.prototype.setDisposeFn.call(this,function(){return r.destroy()}),this._attachedPortal=t,this._attachedRef=r,this.attached.emit(r),r},t.prototype.attachTemplatePortal=function(t){var n=this;t.setAttachedHost(this);var o=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return e.prototype.setDisposeFn.call(this,function(){return n._viewContainerRef.clear()}),this._attachedPortal=t,this._attachedRef=o,this.attached.emit(o),o},t}(c),h=function(){return function(){}}()},"4coB":function(e,t,n){var o=n("eoPS");e.exports=function(e,t){var n=Number(t);return o(e,-n)}},"4v8u":function(e,t,n){var o=n("iUbB");e.exports=function(e,t){var n=Number(t);return o(e,-n)}},"54Wo":function(e,t,n){var o=n("yNUO");e.exports=function(e,t){var n=o(e),r=o(t);return n.getTime()-r.getTime()}},"5R0t":function(e,t){e.exports=function(){var e=new Date,t=e.getFullYear(),n=e.getMonth(),o=e.getDate(),r=new Date(0);return r.setFullYear(t,n,o-1),r.setHours(23,59,59,999),r}},"5iAy":function(e,t,n){var o=n("xq5I");e.exports=function(e){return o(new Date,e)}},"5z3u":function(e,t,n){var o=n("yNUO"),r=n("gfz1");e.exports=function(e,t){var n=o(e),i=Number(t),a=r(n)-i;return n.setDate(n.getDate()-7*a),n}},"67Y/":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=n("mrSG"),r=n("FFOo");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 a(e,t))}}var a=function(){function e(e,t){this.project=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.project,this.thisArg))},e}(),s=function(e){function t(t,n,o){var r=e.call(this,t)||this;return r.project=n,r.count=0,r.thisArg=o||r,r}return o.c(t,e),t.prototype._next=function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)},t}(r.a)},"6DAA":function(e,t,n){var o=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"],r=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],i=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],a=["AM","PM"],s=["am","pm"],l=["a.m.","p.m."],c={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 r[e.getDay()]},dddd:function(e){return i[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?l[1]:l[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){c[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:c,formattingTokensRegExp:o(c)}}},"6WtA":function(e,t,n){var o=n("yNUO");e.exports=function(e){var t=o(e);return t.setSeconds(0,0),t}},"6ahw":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=n("iLxQ"),r=n("DKTb"),i={closed:!0,next:function(e){},error:function(e){if(o.a.useDeprecatedSynchronousErrorHandling)throw e;Object(r.a)(e)},complete:function(){}}},"6blF":function(e,t,n){"use strict";var o=n("FFOo"),r=n("L/V9"),i=n("6ahw"),a=n("xTla"),s=n("y3By"),l=n("iLxQ");n.d(t,"a",function(){return c});var c=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var a=this.operator,s=function(e,t,n){if(e){if(e instanceof o.a)return e;if(e[r.a])return e[r.a]()}return e||t||n?new o.a(e,t,n):new o.a(i.a)}(e,t,n);if(a?a.call(s,this.source):s.add(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},e.prototype._trySubscribe=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.destination;if(e.closed||e.isStopped)return!1;e=t&&t instanceof o.a?t:null}return!0}(e)?e.error(t):console.warn(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=u(t))(function(t,o){var r;r=n.subscribe(function(t){try{e(t)}catch(n){o(n),r&&r.unsubscribe()}},o,t)})},e.prototype._subscribe=function(e){var t=this.source;return t&&t.subscribe(e)},e.prototype[a.a]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?this:Object(s.b)(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=u(e))(function(e,n){var o;t.subscribe(function(e){return o=e},function(e){return n(e)},function(){return e(o)})})},e.create=function(t){return new e(t)},e}();function u(e){if(e||(e=l.a.Promise||Promise),!e)throw new Error("no Promise impl found");return e}},"6qX0":function(e,t,n){var o=n("yNUO");e.exports=function(e,t,n,r){var i=o(e).getTime(),a=o(t).getTime(),s=o(n).getTime(),l=o(r).getTime();if(i>a||s>l)throw new Error("The start of the range cannot be after the end of the range");return i<l&&s<a}},"7B8A":function(e,t,n){var o=n("yNUO");e.exports=function(e,t){var n=o(e).getTime(),r=Number(t);return new Date(n+r)}},"7KIa":function(e,t,n){var o=n("yNUO");e.exports=function(e){var t=o(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(0,0,0,0),t}},"7pFD":function(e,t,n){var o=n("O8cK");e.exports=function(e,t){var n=o(e,t)/7;return n>0?Math.floor(n):Math.ceil(n)}},"8/JR":function(e,t,n){"use strict";var o=n("8T9/"),r=n("Ibf7");e.exports=function(e,t){var n=t||{},i={};return void 0===e&&(e={}),e.on=function(t,n){return i[t]?i[t].push(n):i[t]=[n],e},e.once=function(t,n){return n._once=!0,e.on(t,n),e},e.off=function(t,n){var o=arguments.length;if(1===o)delete i[t];else if(0===o)i={};else{var r=i[t];if(!r)return e;r.splice(r.indexOf(n),1)}return e},e.emit=function(){var t=o(arguments);return e.emitterSnapshot(t.shift()).apply(this,t)},e.emitterSnapshot=function(t){var a=(i[t]||[]).slice(0);return function(){var i=o(arguments),s=this||e;if("error"===t&&!1!==n.throws&&!a.length)throw 1===i.length?i[0]:i;return a.forEach(function(o){n.async?r(o,i,s):o.apply(s,i),o._once&&e.off(t,o)}),e}},e}},"8T9/":function(e,t){e.exports=function(e,t){return Array.prototype.slice.call(e,t)}},"8g8A":function(e,t,n){"use strict";function o(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}n.d(t,"a",function(){return r}),o.prototype=Object.create(Error.prototype);var r=o},"9WSG":function(e,t,n){var o=n("6WtA");e.exports=function(e,t){var n=o(e),r=o(t);return n.getTime()===r.getTime()}},"9WoD":function(e,t,n){var o=n("yNUO");e.exports=function(e,t,n){var r=o(e).getTime(),i=o(t).getTime(),a=o(n).getTime();if(i>a)throw new Error("The start of the range cannot be after the end of the range");return r>=i&&r<=a}},"9Z1F":function(e,t,n){"use strict";n.d(t,"a",function(){return s});var o=n("mrSG"),r=n("MGBS"),i=n("rPjj"),a=n("zotm");function s(e){return function(t){var n=new l(e),o=t.lift(n);return n.caught=o}}var l=function(){function e(e){this.selector=e}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.selector,this.caught))},e}(),c=function(e){function t(t,n,o){var r=e.call(this,t)||this;return r.selector=n,r.caught=o,r}return o.c(t,e),t.prototype.error=function(t){if(!this.isStopped){var n=void 0;try{n=this.selector(t,this.caught)}catch(r){return void e.prototype.error.call(this,r)}this._unsubscribeAndRecycle();var o=new i.a(this,void 0,void 0);this.add(o),Object(a.a)(this,n,void 0,void 0,o)}},t}(r.a)},"9d03":function(e,t,n){var o=n("ZmXw");e.exports=function(e,t){var n=Number(t);return o(e,3*n)}},"9m1m":function(e,t,n){var o=n("JtXv");e.exports=function(e){return o(new Date,e)}},AVfB:function(e,t,n){var o=n("Zipn");e.exports=function(e){return o(new Date,e)}},B9Yq:function(e,t){e.exports=function(){throw new Error("define cannot be used indirect")}},Bhyg:function(e,t,n){!function(){var e=function(){return this}();e||"undefined"==typeof window||(e=window);var t=function(e,n,o){"string"==typeof e?(2==arguments.length&&(o=n),t.modules[e]||(t.payloads[e]=o,t.modules[e]=null)):t.original?t.original.apply(this,arguments):(console.error("dropping module because define wasn't a string."),console.trace())};t.modules={},t.payloads={};var n,o=function(e,t,n){if("string"==typeof t){var o=a(e,t);if(null!=o)return n&&n(),o}else if("[object Array]"===Object.prototype.toString.call(t)){for(var i=[],s=0,l=t.length;s<l;++s){var c=a(e,t[s]);if(null==c&&r.original)return;i.push(c)}return n&&n.apply(null,i)||!0}},r=function(e,t){var n=o("",e,t);return null==n&&r.original?r.original.apply(this,arguments):n},i=function(e,t){if(-1!==t.indexOf("!")){var n=t.split("!");return i(e,n[0])+"!"+i(e,n[1])}if("."==t.charAt(0))for(t=e.split("/").slice(0,-1).join("/")+"/"+t;-1!==t.indexOf(".")&&o!=t;){var o=t;t=t.replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}return t},a=function(e,n){n=i(e,n);var r=t.modules[n];if(!r){if("function"==typeof(r=t.payloads[n])){var a={},s={id:n,uri:"",exports:a,packaged:!0},l=r(function(e,t){return o(n,e,t)},a,s);t.modules[n]=a=l||s.exports,delete t.payloads[n]}r=t.modules[n]=a||r}return r};n=e,e.ace||(e.ace={}),(n=e.ace).define&&n.define.packaged||(t.original=n.define,n.define=t,n.define.packaged=!0),n.acequire&&n.acequire.packaged||(r.original=n.acequire,n.acequire=r,n.acequire.packaged=!0)}(),ace.define("ace/lib/regexp",["require","exports","module"],function(e,t,n){"use strict";var o,r={exec:RegExp.prototype.exec,test:RegExp.prototype.test,match:String.prototype.match,replace:String.prototype.replace,split:String.prototype.split},i=void 0===r.exec.call(/()??/,"")[1],a=(r.test.call(o=/^/g,""),!o.lastIndex);a&&i||(RegExp.prototype.exec=function(e){var t,n,o=r.exec.apply(this,arguments);if("string"==typeof e&&o){if(!i&&o.length>1&&function(e,t,n){if(Array.prototype.indexOf)return e.indexOf("",void 0);for(var o=0;o<e.length;o++)if(""===e[o])return o;return-1}(o)>-1&&(n=RegExp(this.source,r.replace.call((this.global?"g":"")+(this.ignoreCase?"i":"")+(this.multiline?"m":"")+(this.extended?"x":"")+(this.sticky?"y":""),"g","")),r.replace.call(e.slice(o.index),n,function(){for(var e=1;e<arguments.length-2;e++)void 0===arguments[e]&&(o[e]=void 0)})),this._xregexp&&this._xregexp.captureNames)for(var s=1;s<o.length;s++)(t=this._xregexp.captureNames[s-1])&&(o[t]=o[s]);!a&&this.global&&!o[0].length&&this.lastIndex>o.index&&this.lastIndex--}return o},a||(RegExp.prototype.test=function(e){var t=r.exec.call(this,e);return t&&this.global&&!t[0].length&&this.lastIndex>t.index&&this.lastIndex--,!!t}))}),ace.define("ace/lib/es5-shim",["require","exports","module"],function(e,t,n){function o(){}Function.prototype.bind||(Function.prototype.bind=function(e){var t=this;if("function"!=typeof t)throw new TypeError("Function.prototype.bind called on incompatible "+t);var n=h.call(arguments,1),r=function(){if(this instanceof r){var o=t.apply(this,n.concat(h.call(arguments)));return Object(o)===o?o:this}return t.apply(e,n.concat(h.call(arguments)))};return t.prototype&&(o.prototype=t.prototype,r.prototype=new o,o.prototype=null),r});var r,i,a,s,l,c=Function.prototype.call,u=Array.prototype,d=Object.prototype,h=u.slice,p=c.bind(d.toString),f=c.bind(d.hasOwnProperty);if((l=f(d,"__defineGetter__"))&&(r=c.bind(d.__defineGetter__),i=c.bind(d.__defineSetter__),a=c.bind(d.__lookupGetter__),s=c.bind(d.__lookupSetter__)),2!=[1,2].splice(0).length)if(function(){function e(e){var t=new Array(e+2);return t[0]=t[1]=0,t}var t,n=[];if(n.splice.apply(n,e(20)),n.splice.apply(n,e(26)),t=n.length,n.splice(5,0,"XXX"),t+1==n.length)return!0}()){var m=Array.prototype.splice;Array.prototype.splice=function(e,t){return arguments.length?m.apply(this,[void 0===e?0:e,void 0===t?this.length-e:t].concat(h.call(arguments,2))):[]}}else Array.prototype.splice=function(e,t){var n=this.length;e>0?e>n&&(e=n):null==e?e=0:e<0&&(e=Math.max(n+e,0)),e+t<n||(t=n-e);var o=this.slice(e,e+t),r=h.call(arguments,2),i=r.length;if(e===n)i&&this.push.apply(this,r);else{var a=Math.min(t,n-e),s=e+a,l=s+i-a,c=n-s,u=n-a;if(l<s)for(var d=0;d<c;++d)this[l+d]=this[s+d];else if(l>s)for(d=c;d--;)this[l+d]=this[s+d];if(i&&e===u)this.length=u,this.push.apply(this,r);else for(this.length=u+i,d=0;d<i;++d)this[e+d]=r[d]}return o};Array.isArray||(Array.isArray=function(e){return"[object Array]"==p(e)});var g,v,_=Object("a"),y="a"!=_[0]||!(0 in _);function b(e){try{return Object.defineProperty(e,"sentinel",{}),"sentinel"in e}catch(t){}}if(Array.prototype.forEach||(Array.prototype.forEach=function(e){var t=P(this),n=y&&"[object String]"==p(this)?this.split(""):t,o=arguments[1],r=-1,i=n.length>>>0;if("[object Function]"!=p(e))throw new TypeError;for(;++r<i;)r in n&&e.call(o,n[r],r,t)}),Array.prototype.map||(Array.prototype.map=function(e){var t=P(this),n=y&&"[object String]"==p(this)?this.split(""):t,o=n.length>>>0,r=Array(o),i=arguments[1];if("[object Function]"!=p(e))throw new TypeError(e+" is not a function");for(var a=0;a<o;a++)a in n&&(r[a]=e.call(i,n[a],a,t));return r}),Array.prototype.filter||(Array.prototype.filter=function(e){var t,n=P(this),o=y&&"[object String]"==p(this)?this.split(""):n,r=o.length>>>0,i=[],a=arguments[1];if("[object Function]"!=p(e))throw new TypeError(e+" is not a function");for(var s=0;s<r;s++)s in o&&e.call(a,t=o[s],s,n)&&i.push(t);return i}),Array.prototype.every||(Array.prototype.every=function(e){var t=P(this),n=y&&"[object String]"==p(this)?this.split(""):t,o=n.length>>>0,r=arguments[1];if("[object Function]"!=p(e))throw new TypeError(e+" is not a function");for(var i=0;i<o;i++)if(i in n&&!e.call(r,n[i],i,t))return!1;return!0}),Array.prototype.some||(Array.prototype.some=function(e){var t=P(this),n=y&&"[object String]"==p(this)?this.split(""):t,o=n.length>>>0,r=arguments[1];if("[object Function]"!=p(e))throw new TypeError(e+" is not a function");for(var i=0;i<o;i++)if(i in n&&e.call(r,n[i],i,t))return!0;return!1}),Array.prototype.reduce||(Array.prototype.reduce=function(e){var t=P(this),n=y&&"[object String]"==p(this)?this.split(""):t,o=n.length>>>0;if("[object Function]"!=p(e))throw new TypeError(e+" is not a function");if(!o&&1==arguments.length)throw new TypeError("reduce of empty array with no initial value");var r,i=0;if(arguments.length>=2)r=arguments[1];else for(;;){if(i in n){r=n[i++];break}if(++i>=o)throw new TypeError("reduce of empty array with no initial value")}for(;i<o;i++)i in n&&(r=e.call(void 0,r,n[i],i,t));return r}),Array.prototype.reduceRight||(Array.prototype.reduceRight=function(e){var t=P(this),n=y&&"[object String]"==p(this)?this.split(""):t,o=n.length>>>0;if("[object Function]"!=p(e))throw new TypeError(e+" is not a function");if(!o&&1==arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var r,i=o-1;if(arguments.length>=2)r=arguments[1];else for(;;){if(i in n){r=n[i--];break}if(--i<0)throw new TypeError("reduceRight of empty array with no initial value")}do{i in this&&(r=e.call(void 0,r,n[i],i,t))}while(i--);return r}),Array.prototype.indexOf&&-1==[0,1].indexOf(1,2)||(Array.prototype.indexOf=function(e){var t=y&&"[object String]"==p(this)?this.split(""):P(this),n=t.length>>>0;if(!n)return-1;var o=0;for(arguments.length>1&&(o=R(arguments[1])),o=o>=0?o:Math.max(0,n+o);o<n;o++)if(o in t&&t[o]===e)return o;return-1}),Array.prototype.lastIndexOf&&-1==[0,1].lastIndexOf(0,-3)||(Array.prototype.lastIndexOf=function(e){var t=y&&"[object String]"==p(this)?this.split(""):P(this),n=t.length>>>0;if(!n)return-1;var o=n-1;for(arguments.length>1&&(o=Math.min(o,R(arguments[1]))),o=o>=0?o:n-Math.abs(o);o>=0;o--)if(o in t&&e===t[o])return o;return-1}),Object.getPrototypeOf||(Object.getPrototypeOf=function(e){return e.__proto__||(e.constructor?e.constructor.prototype:d)}),Object.getOwnPropertyDescriptor||(Object.getOwnPropertyDescriptor=function(e,t){if("object"!=typeof e&&"function"!=typeof e||null===e)throw new TypeError("Object.getOwnPropertyDescriptor called on a non-object: "+e);if(f(e,t)){var n;if(n={enumerable:!0,configurable:!0},l){var o=e.__proto__;e.__proto__=d;var r=a(e,t),i=s(e,t);if(e.__proto__=o,r||i)return r&&(n.get=r),i&&(n.set=i),n}return n.value=e[t],n}}),Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function(e){return Object.keys(e)}),Object.create||(g=null===Object.prototype.__proto__?function(){return{__proto__:null}}:function(){var e={};for(var t in e)e[t]=null;return e.constructor=e.hasOwnProperty=e.propertyIsEnumerable=e.isPrototypeOf=e.toLocaleString=e.toString=e.valueOf=e.__proto__=null,e},Object.create=function(e,t){var n;if(null===e)n=g();else{if("object"!=typeof e)throw new TypeError("typeof prototype["+typeof e+"] != 'object'");var o=function(){};o.prototype=e,(n=new o).__proto__=e}return void 0!==t&&Object.defineProperties(n,t),n}),Object.defineProperty){var C=b({}),E="undefined"==typeof document||b(document.createElement("div"));if(!C||!E)var w=Object.defineProperty}Object.defineProperty&&!w||(Object.defineProperty=function(e,t,n){if("object"!=typeof e&&"function"!=typeof e||null===e)throw new TypeError("Object.defineProperty called on non-object: "+e);if("object"!=typeof n&&"function"!=typeof n||null===n)throw new TypeError("Property description must be an object: "+n);if(w)try{return w.call(Object,e,t,n)}catch(c){}if(f(n,"value"))if(l&&(a(e,t)||s(e,t))){var o=e.__proto__;e.__proto__=d,delete e[t],e[t]=n.value,e.__proto__=o}else e[t]=n.value;else{if(!l)throw new TypeError("getters & setters can not be defined on this javascript engine");f(n,"get")&&r(e,t,n.get),f(n,"set")&&i(e,t,n.set)}return e}),Object.defineProperties||(Object.defineProperties=function(e,t){for(var n in t)f(t,n)&&Object.defineProperty(e,n,t[n]);return e}),Object.seal||(Object.seal=function(e){return e}),Object.freeze||(Object.freeze=function(e){return e});try{Object.freeze(function(){})}catch(M){Object.freeze=(v=Object.freeze,function(e){return"function"==typeof e?e:v(e)})}if(Object.preventExtensions||(Object.preventExtensions=function(e){return e}),Object.isSealed||(Object.isSealed=function(e){return!1}),Object.isFrozen||(Object.isFrozen=function(e){return!1}),Object.isExtensible||(Object.isExtensible=function(e){if(Object(e)===e)throw new TypeError;for(var t="";f(e,t);)t+="?";e[t]=!0;var n=f(e,t);return delete e[t],n}),!Object.keys){var k=!0,A=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],S=A.length;for(var O in{toString:null})k=!1;Object.keys=function(e){if("object"!=typeof e&&"function"!=typeof e||null===e)throw new TypeError("Object.keys called on a non-object");var t=[];for(var n in e)f(e,n)&&t.push(n);if(k)for(var o=0,r=S;o<r;o++){var i=A[o];f(e,i)&&t.push(i)}return t}}Date.now||(Date.now=function(){return(new Date).getTime()});var x="\t\n\v\f\r \xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff";if(!String.prototype.trim||x.trim()){x="["+x+"]";var D=new RegExp("^"+x+x+"*"),T=new RegExp(x+x+"*$");String.prototype.trim=function(){return String(this).replace(D,"").replace(T,"")}}function R(e){return(e=+e)!=e?e=0:0!==e&&e!==1/0&&e!==-1/0&&(e=(e>0||-1)*Math.floor(Math.abs(e))),e}var P=function(e){if(null==e)throw new TypeError("can't convert "+e+" to object");return Object(e)}}),ace.define("ace/lib/fixoldbrowsers",["require","exports","module","ace/lib/regexp","ace/lib/es5-shim"],function(e,t,n){"use strict";e("./regexp"),e("./es5-shim")}),ace.define("ace/lib/dom",["require","exports","module"],function(e,t,n){"use strict";t.getDocumentHead=function(e){return e||(e=document),e.head||e.getElementsByTagName("head")[0]||e.documentElement},t.createElement=function(e,t){return document.createElementNS?document.createElementNS(t||"http://www.w3.org/1999/xhtml",e):document.createElement(e)},t.hasCssClass=function(e,t){return-1!==(e.className+"").split(/\s+/g).indexOf(t)},t.addCssClass=function(e,n){t.hasCssClass(e,n)||(e.className+=" "+n)},t.removeCssClass=function(e,t){for(var n=e.className.split(/\s+/g);;){var o=n.indexOf(t);if(-1==o)break;n.splice(o,1)}e.className=n.join(" ")},t.toggleCssClass=function(e,t){for(var n=e.className.split(/\s+/g),o=!0;;){var r=n.indexOf(t);if(-1==r)break;o=!1,n.splice(r,1)}return o&&n.push(t),e.className=n.join(" "),o},t.setCssClass=function(e,n,o){o?t.addCssClass(e,n):t.removeCssClass(e,n)},t.hasCssString=function(e,t){var n,o=0;if((t=t||document).createStyleSheet&&(n=t.styleSheets)){for(;o<n.length;)if(n[o++].owningElement.id===e)return!0}else if(n=t.getElementsByTagName("style"))for(;o<n.length;)if(n[o++].id===e)return!0;return!1},t.importCssString=function(e,n,o){if(o=o||document,n&&t.hasCssString(n,o))return null;var r;n&&(e+="\n/*# sourceURL=ace/css/"+n+" */"),o.createStyleSheet?((r=o.createStyleSheet()).cssText=e,n&&(r.owningElement.id=n)):((r=t.createElement("style")).appendChild(o.createTextNode(e)),n&&(r.id=n),t.getDocumentHead(o).appendChild(r))},t.importCssStylsheet=function(e,n){if(n.createStyleSheet)n.createStyleSheet(e);else{var o=t.createElement("link");o.rel="stylesheet",o.href=e,t.getDocumentHead(n).appendChild(o)}},t.getInnerWidth=function(e){return parseInt(t.computedStyle(e,"paddingLeft"),10)+parseInt(t.computedStyle(e,"paddingRight"),10)+e.clientWidth},t.getInnerHeight=function(e){return parseInt(t.computedStyle(e,"paddingTop"),10)+parseInt(t.computedStyle(e,"paddingBottom"),10)+e.clientHeight},t.scrollbarWidth=function(e){var n=t.createElement("ace_inner");n.style.width="100%",n.style.minWidth="0px",n.style.height="200px",n.style.display="block";var o=t.createElement("ace_outer"),r=o.style;r.position="absolute",r.left="-10000px",r.overflow="hidden",r.width="200px",r.minWidth="0px",r.height="150px",r.display="block",o.appendChild(n);var i=e.documentElement;i.appendChild(o);var a=n.offsetWidth;r.overflow="scroll";var s=n.offsetWidth;return a==s&&(s=o.clientWidth),i.removeChild(o),a-s},"undefined"!=typeof document?(void 0!==window.pageYOffset?(t.getPageScrollTop=function(){return window.pageYOffset},t.getPageScrollLeft=function(){return window.pageXOffset}):(t.getPageScrollTop=function(){return document.body.scrollTop},t.getPageScrollLeft=function(){return document.body.scrollLeft}),t.computedStyle=window.getComputedStyle?function(e,t){return t?(window.getComputedStyle(e,"")||{})[t]||"":window.getComputedStyle(e,"")||{}}:function(e,t){return t?e.currentStyle[t]:e.currentStyle},t.setInnerHtml=function(e,t){var n=e.cloneNode(!1);return n.innerHTML=t,e.parentNode.replaceChild(n,e),n},"textContent"in document.documentElement?(t.setInnerText=function(e,t){e.textContent=t},t.getInnerText=function(e){return e.textContent}):(t.setInnerText=function(e,t){e.innerText=t},t.getInnerText=function(e){return e.innerText}),t.getParentWindow=function(e){return e.defaultView||e.parentWindow}):t.importCssString=function(){}}),ace.define("ace/lib/oop",["require","exports","module"],function(e,t,n){"use strict";t.inherits=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})},t.mixin=function(e,t){for(var n in t)e[n]=t[n];return e},t.implement=function(e,n){t.mixin(e,n)}}),ace.define("ace/lib/keys",["require","exports","module","ace/lib/fixoldbrowsers","ace/lib/oop"],function(e,t,n){"use strict";e("./fixoldbrowsers");var o=e("./oop"),r=function(){var e,t,n={MODIFIER_KEYS:{16:"Shift",17:"Ctrl",18:"Alt",224:"Meta"},KEY_MODS:{ctrl:1,alt:2,option:2,shift:4,super:8,meta:8,command:8,cmd:8},FUNCTION_KEYS:{8:"Backspace",9:"Tab",13:"Return",19:"Pause",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"Print",45:"Insert",46:"Delete",96:"Numpad0",97:"Numpad1",98:"Numpad2",99:"Numpad3",100:"Numpad4",101:"Numpad5",102:"Numpad6",103:"Numpad7",104:"Numpad8",105:"Numpad9","-13":"NumpadEnter",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"Numlock",145:"Scrolllock"},PRINTABLE_KEYS:{32:" ",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",61:"=",65:"a",66:"b",67:"c",68:"d",69:"e",70:"f",71:"g",72:"h",73:"i",74:"j",75:"k",76:"l",77:"m",78:"n",79:"o",80:"p",81:"q",82:"r",83:"s",84:"t",85:"u",86:"v",87:"w",88:"x",89:"y",90:"z",107:"+",109:"-",110:".",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",111:"/",106:"*"}};for(t in n.FUNCTION_KEYS)e=n.FUNCTION_KEYS[t].toLowerCase(),n[e]=parseInt(t,10);for(t in n.PRINTABLE_KEYS)e=n.PRINTABLE_KEYS[t].toLowerCase(),n[e]=parseInt(t,10);return o.mixin(n,n.MODIFIER_KEYS),o.mixin(n,n.PRINTABLE_KEYS),o.mixin(n,n.FUNCTION_KEYS),n.enter=n.return,n.escape=n.esc,n.del=n.delete,n[173]="-",function(){for(var e=["cmd","ctrl","alt","shift"],t=Math.pow(2,e.length);t--;)n.KEY_MODS[t]=e.filter(function(e){return t&n.KEY_MODS[e]}).join("-")+"-"}(),n.KEY_MODS[0]="",n.KEY_MODS[-1]="input-",n}();o.mixin(t,r),t.keyCodeToString=function(e){var t=r[e];return"string"!=typeof t&&(t=String.fromCharCode(e)),t.toLowerCase()}}),ace.define("ace/lib/useragent",["require","exports","module"],function(e,t,n){"use strict";if(t.OS={LINUX:"LINUX",MAC:"MAC",WINDOWS:"WINDOWS"},t.getOS=function(){return t.isMac?t.OS.MAC:t.isLinux?t.OS.LINUX:t.OS.WINDOWS},"object"==typeof navigator){var o=(navigator.platform.match(/mac|win|linux/i)||["other"])[0].toLowerCase(),r=navigator.userAgent;t.isWin="win"==o,t.isMac="mac"==o,t.isLinux="linux"==o,t.isIE="Microsoft Internet Explorer"==navigator.appName||navigator.appName.indexOf("MSAppHost")>=0?parseFloat((r.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((r.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),t.isOldIE=t.isIE&&t.isIE<9,t.isGecko=t.isMozilla=(window.Controllers||window.controllers)&&"Gecko"===window.navigator.product,t.isOldGecko=t.isGecko&&parseInt((r.match(/rv:(\d+)/)||[])[1],10)<4,t.isOpera=window.opera&&"[object Opera]"==Object.prototype.toString.call(window.opera),t.isWebKit=parseFloat(r.split("WebKit/")[1])||void 0,t.isChrome=parseFloat(r.split(" Chrome/")[1])||void 0,t.isAIR=r.indexOf("AdobeAIR")>=0,t.isIPad=r.indexOf("iPad")>=0,t.isChromeOS=r.indexOf(" CrOS ")>=0,t.isIOS=/iPad|iPhone|iPod/.test(r)&&!window.MSStream,t.isIOS&&(t.isMac=!0)}}),ace.define("ace/lib/event",["require","exports","module","ace/lib/keys","ace/lib/useragent"],function(e,t,n){"use strict";var o=e("./keys"),r=e("./useragent"),i=null,a=0;t.addListener=function(e,t,n){if(e.addEventListener)return e.addEventListener(t,n,!1);if(e.attachEvent){var o=function(){n.call(e,window.event)};n._wrapper=o,e.attachEvent("on"+t,o)}},t.removeListener=function(e,t,n){if(e.removeEventListener)return e.removeEventListener(t,n,!1);e.detachEvent&&e.detachEvent("on"+t,n._wrapper||n)},t.stopEvent=function(e){return t.stopPropagation(e),t.preventDefault(e),!1},t.stopPropagation=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},t.preventDefault=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1},t.getButton=function(e){return"dblclick"==e.type?0:"contextmenu"==e.type||r.isMac&&e.ctrlKey&&!e.altKey&&!e.shiftKey?2:e.preventDefault?e.button:{1:0,2:2,4:1}[e.button]},t.capture=function(e,n,o){function r(e){n&&n(e),o&&o(e),t.removeListener(document,"mousemove",n,!0),t.removeListener(document,"mouseup",r,!0),t.removeListener(document,"dragstart",r,!0)}return t.addListener(document,"mousemove",n,!0),t.addListener(document,"mouseup",r,!0),t.addListener(document,"dragstart",r,!0),r},t.addTouchMoveListener=function(e,n){var o,r;t.addListener(e,"touchstart",function(e){var t=e.touches[0];o=t.clientX,r=t.clientY}),t.addListener(e,"touchmove",function(e){var t=e.touches;if(!(t.length>1)){var i=t[0];e.wheelX=o-i.clientX,e.wheelY=r-i.clientY,o=i.clientX,r=i.clientY,n(e)}})},t.addMouseWheelListener=function(e,n){"onmousewheel"in e?t.addListener(e,"mousewheel",function(e){void 0!==e.wheelDeltaX?(e.wheelX=-e.wheelDeltaX/8,e.wheelY=-e.wheelDeltaY/8):(e.wheelX=0,e.wheelY=-e.wheelDelta/8),n(e)}):"onwheel"in e?t.addListener(e,"wheel",function(e){switch(e.deltaMode){case e.DOM_DELTA_PIXEL:e.wheelX=.35*e.deltaX||0,e.wheelY=.35*e.deltaY||0;break;case e.DOM_DELTA_LINE:case e.DOM_DELTA_PAGE:e.wheelX=5*(e.deltaX||0),e.wheelY=5*(e.deltaY||0)}n(e)}):t.addListener(e,"DOMMouseScroll",function(e){e.axis&&e.axis==e.HORIZONTAL_AXIS?(e.wheelX=5*(e.detail||0),e.wheelY=0):(e.wheelX=0,e.wheelY=5*(e.detail||0)),n(e)})},t.addMultiMouseDownListener=function(e,n,o,i){var a,s,l,c=0,u={2:"dblclick",3:"tripleclick",4:"quadclick"};function d(e){if(0!==t.getButton(e)?c=0:e.detail>1?++c>4&&(c=1):c=1,r.isIE){var d=Math.abs(e.clientX-a)>5||Math.abs(e.clientY-s)>5;l&&!d||(c=1),l&&clearTimeout(l),l=setTimeout(function(){l=null},n[c-1]||600),1==c&&(a=e.clientX,s=e.clientY)}if(e._clicks=c,o[i]("mousedown",e),c>4)c=0;else if(c>1)return o[i](u[c],e)}function h(e){c=2,l&&clearTimeout(l),l=setTimeout(function(){l=null},n[c-1]||600),o[i]("mousedown",e),o[i](u[c],e)}Array.isArray(e)||(e=[e]),e.forEach(function(e){t.addListener(e,"mousedown",d),r.isOldIE&&t.addListener(e,"dblclick",h)})};var s=!r.isMac||!r.isOpera||"KeyboardEvent"in window?function(e){return 0|(e.ctrlKey?1:0)|(e.altKey?2:0)|(e.shiftKey?4:0)|(e.metaKey?8:0)}:function(e){return 0|(e.metaKey?1:0)|(e.altKey?2:0)|(e.shiftKey?4:0)|(e.ctrlKey?8:0)};function l(e,t,n){var l=s(t);if(!r.isMac&&i){if(t.getModifierState&&(t.getModifierState("OS")||t.getModifierState("Win"))&&(l|=8),i.altGr){if(3==(3&l))return;i.altGr=0}if(18===n||17===n){var c="location"in t?t.location:t.keyLocation;17===n&&1===c?1==i[n]&&(a=t.timeStamp):18===n&&3===l&&2===c&&t.timeStamp-a<50&&(i.altGr=!0)}}if(n in o.MODIFIER_KEYS&&(n=-1),8&l&&n>=91&&n<=93&&(n=-1),l||13!==n||3!==(c="location"in t?t.location:t.keyLocation)||(e(t,l,-n),!t.defaultPrevented)){if(r.isChromeOS&&8&l){if(e(t,l,n),t.defaultPrevented)return;l&=-9}return!!(l||n in o.FUNCTION_KEYS||n in o.PRINTABLE_KEYS)&&e(t,l,n)}}function c(){i=Object.create(null)}t.getModifierString=function(e){return o.KEY_MODS[s(e)]},t.addCommandKeyListener=function(e,n){var o=t.addListener;if(r.isOldGecko||r.isOpera&&!("KeyboardEvent"in window)){var a=null;o(e,"keydown",function(e){a=e.keyCode}),o(e,"keypress",function(e){return l(n,e,a)})}else{var s=null;o(e,"keydown",function(e){i[e.keyCode]=(i[e.keyCode]||0)+1;var t=l(n,e,e.keyCode);return s=e.defaultPrevented,t}),o(e,"keypress",function(e){s&&(e.ctrlKey||e.altKey||e.shiftKey||e.metaKey)&&(t.stopEvent(e),s=null)}),o(e,"keyup",function(e){i[e.keyCode]=null}),i||(c(),o(window,"focus",c))}},"object"==typeof window&&window.postMessage&&!r.isOldIE&&(t.nextTick=function(e,n){n=n||window,t.addListener(n,"message",function o(r){"zero-timeout-message-1"==r.data&&(t.stopPropagation(r),t.removeListener(n,"message",o),e())}),n.postMessage("zero-timeout-message-1","*")}),t.nextFrame="object"==typeof window&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame),t.nextFrame=t.nextFrame?t.nextFrame.bind(window):function(e){setTimeout(e,17)}}),ace.define("ace/lib/lang",["require","exports","module"],function(e,t,n){"use strict";t.last=function(e){return e[e.length-1]},t.stringReverse=function(e){return e.split("").reverse().join("")},t.stringRepeat=function(e,t){for(var n="";t>0;)1&t&&(n+=e),(t>>=1)&&(e+=e);return n};var o=/^\s\s*/,r=/\s\s*$/;t.stringTrimLeft=function(e){return e.replace(o,"")},t.stringTrimRight=function(e){return e.replace(r,"")},t.copyObject=function(e){var t={};for(var n in e)t[n]=e[n];return t},t.copyArray=function(e){for(var t=[],n=0,o=e.length;n<o;n++)t[n]=e[n]&&"object"==typeof e[n]?this.copyObject(e[n]):e[n];return t},t.deepCopy=function e(t){if("object"!=typeof t||!t)return t;var n;if(Array.isArray(t)){n=[];for(var o=0;o<t.length;o++)n[o]=e(t[o]);return n}if("[object Object]"!==Object.prototype.toString.call(t))return t;for(var o in n={},t)n[o]=e(t[o]);return n},t.arrayToMap=function(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=1;return t},t.createMap=function(e){var t=Object.create(null);for(var n in e)t[n]=e[n];return t},t.arrayRemove=function(e,t){for(var n=0;n<=e.length;n++)t===e[n]&&e.splice(n,1)},t.escapeRegExp=function(e){return e.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},t.escapeHTML=function(e){return e.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<")},t.getMatchOffsets=function(e,t){var n=[];return e.replace(t,function(e){n.push({offset:arguments[arguments.length-2],length:e.length})}),n},t.deferredCall=function(e){var t=null,n=function(){t=null,e()},o=function(e){return o.cancel(),t=setTimeout(n,e||0),o};return o.schedule=o,o.call=function(){return this.cancel(),e(),o},o.cancel=function(){return clearTimeout(t),t=null,o},o.isPending=function(){return t},o},t.delayedCall=function(e,t){var n=null,o=function(){n=null,e()},r=function(e){null==n&&(n=setTimeout(o,e||t))};return r.delay=function(e){n&&clearTimeout(n),n=setTimeout(o,e||t)},r.schedule=r,r.call=function(){this.cancel(),e()},r.cancel=function(){n&&clearTimeout(n),n=null},r.isPending=function(){return n},r}}),ace.define("ace/keyboard/textinput_ios",["require","exports","module","ace/lib/event","ace/lib/useragent","ace/lib/dom","ace/lib/lang","ace/lib/keys"],function(e,t,n){"use strict";var o=e("../lib/event"),r=e("../lib/useragent"),i=e("../lib/dom"),a=e("../lib/lang"),s=e("../lib/keys"),l=s.KEY_MODS,c=r.isChrome<18,u=r.isIE;t.TextInput=function(e,t){var n=i.createElement("textarea");n.className=r.isIOS?"ace_text-input ace_text-input-ios":"ace_text-input",r.isTouchPad&&n.setAttribute("x-palm-disable-auto-cap",!0),n.setAttribute("wrap","off"),n.setAttribute("autocorrect","off"),n.setAttribute("autocapitalize","off"),n.setAttribute("spellcheck",!1),n.style.opacity="0",e.insertBefore(n,e.firstChild);var d="\n aaaa a\n",h=!1,p=!1,f=!1,m=!1,g="",v=!0;try{var _=document.activeElement===n}catch(N){}o.addListener(n,"blur",function(e){t.onBlur(e),_=!1}),o.addListener(n,"focus",function(e){_=!0,t.onFocus(e),C()}),this.focus=function(){if(g)return n.focus();n.style.position="fixed",n.focus()},this.blur=function(){n.blur()},this.isFocused=function(){return _};var y=a.delayedCall(function(){_&&C(v)}),b=a.delayedCall(function(){m||(n.value=d,_&&C())});function C(e){if(!m){if(m=!0,w)t=0,o=e?0:n.value.length-1;else var t=4,o=5;try{n.setSelectionRange(t,o)}catch(N){}m=!1}}function E(){m||(n.value=d,r.isWebKit&&b.schedule())}r.isWebKit||t.addEventListener("changeSelection",function(){t.selection.isEmpty()!=v&&(v=!v,y.schedule())}),E(),_&&t.onFocus();var w=null;this.setInputHandler=function(e){w=e},this.getInputHandler=function(){return w};var k=!1,A=function(e){4===n.selectionStart&&5===n.selectionEnd||(w&&(e=w(e),w=null),f?(C(),e&&t.onPaste(e),f=!1):e==d.substr(0)&&4===n.selectionStart?t.execCommand(k?"del":"backspace",{source:"ace"}):h||(e.substring(0,9)==d&&e.length>d.length?e=e.substr(9):e.substr(0,4)==d.substr(0,4)?e=e.substr(4,e.length-d.length+1):e.charAt(e.length-1)==d.charAt(0)&&(e=e.slice(0,-1)),e==d.charAt(0)||e.charAt(e.length-1)==d.charAt(0)&&(e=e.slice(0,-1)),e&&t.onTextInput(e)),h&&(h=!1),k&&(k=!1))},S=function(e){m||(A(n.value),E())},O=function(e,t,n){var o=e.clipboardData||window.clipboardData;if(o&&!c){var r=u||n?"Text":"text/plain";try{return t?!1!==o.setData(r,t):o.getData(r)}catch(e){if(!n)return O(e,t,!0)}}},x=function(e,i){var a=t.getCopyText();if(!a)return o.preventDefault(e);O(e,a)?(r.isIOS&&(p=i,n.value="\n aa"+a+"a a\n",n.setSelectionRange(4,4+a.length),h={value:a}),i?t.onCut():t.onCopy(),r.isIOS||o.preventDefault(e)):(h=!0,n.value=a,n.select(),setTimeout(function(){h=!1,E(),C(),i?t.onCut():t.onCopy()}))};o.addCommandKeyListener(n,t.onCommandKey.bind(t)),o.addListener(n,"select",function(e){!function(e){return 0===e.selectionStart&&e.selectionEnd===e.value.length}(n)?w&&C(t.selection.isEmpty()):(t.selectAll(),C())}),o.addListener(n,"input",S),o.addListener(n,"cut",function(e){x(e,!0)}),o.addListener(n,"copy",function(e){x(e,!1)}),o.addListener(n,"paste",function(e){var i=O(e);"string"==typeof i?(i&&t.onPaste(i,e),r.isIE&&setTimeout(C),o.preventDefault(e)):(n.value="",f=!0)});var D,T=function(){if(m&&t.onCompositionUpdate&&!t.$readOnly){var e=n.value.replace(/\x01/g,"");if(m.lastValue!==e&&(t.onCompositionUpdate(e),m.lastValue&&t.undo(),m.canUndo&&(m.lastValue=e),m.lastValue)){var o=t.selection.getRange();t.insert(m.lastValue),t.session.markUndoGroup(),m.range=t.selection.getRange(),t.selection.setRange(o),t.selection.clearSelection()}}},R=function(e){if(t.onCompositionEnd&&!t.$readOnly){var o=m;m=!1;var i=setTimeout(function(){i=null;var e=n.value.replace(/\x01/g,"");m||(e==o.lastValue?E():!o.lastValue&&e&&(E(),A(e)))});w=function(e){return i&&clearTimeout(i),(e=e.replace(/\x01/g,""))==o.lastValue?"":(o.lastValue&&i&&t.undo(),e)},t.onCompositionEnd(),t.removeListener("mousedown",R),"compositionend"==e.type&&o.range&&t.selection.setRange(o.range),(r.isChrome&&r.isChrome>=53||r.isWebKit&&r.isWebKit>=603)&&S()}},P=a.delayedCall(T,50);function M(){clearTimeout(D),D=setTimeout(function(){g&&(n.style.cssText=g,g=""),null==t.renderer.$keepTextAreaAtCursor&&(t.renderer.$keepTextAreaAtCursor=!0,t.renderer.$moveTextAreaToCursor())},0)}o.addListener(n,"compositionstart",function(e){m||!t.onCompositionStart||t.$readOnly||((m={}).canUndo=t.session.$undoManager,t.onCompositionStart(),setTimeout(T,0),t.on("mousedown",R),m.canUndo&&!t.selection.isEmpty()&&(t.insert(""),t.session.markUndoGroup(),t.selection.clearSelection()),t.session.markUndoGroup())}),r.isGecko?o.addListener(n,"text",function(){P.schedule()}):(o.addListener(n,"keyup",function(){P.schedule()}),o.addListener(n,"keydown",function(){P.schedule()})),o.addListener(n,"compositionend",R),this.getElement=function(){return n},this.setReadOnly=function(e){n.readOnly=e},this.onContextMenu=function(e){k=!0,C(t.selection.isEmpty()),t._emit("nativecontextmenu",{target:t,domEvent:e}),this.moveToMouse(e,!0)},this.moveToMouse=function(e,a){g||(g=n.style.cssText),n.style.cssText=(a?"z-index:100000;":"")+"height:"+n.style.height+";"+(r.isIE?"opacity:0.1;":"");var s=t.container.getBoundingClientRect(),l=i.computedStyle(t.container),c=s.top+(parseInt(l.borderTopWidth)||0),u=s.left+(parseInt(s.borderLeftWidth)||0),d=s.bottom-c-n.clientHeight-2,h=function(e){n.style.left=e.clientX-u-2+"px",n.style.top=Math.min(e.clientY-c-2,d)+"px"};h(e),"mousedown"==e.type&&(t.renderer.$keepTextAreaAtCursor&&(t.renderer.$keepTextAreaAtCursor=null),clearTimeout(D),r.isWin&&o.capture(t.container,h,M))},this.onContextMenuClose=M;var I=function(e){t.textInput.onContextMenu(e),M()};if(o.addListener(n,"mouseup",I),o.addListener(n,"mousedown",function(e){e.preventDefault(),M()}),o.addListener(t.renderer.scroller,"contextmenu",I),o.addListener(n,"contextmenu",I),r.isIOS){var F=null,L=!1;e.addEventListener("keydown",function(e){F&&clearTimeout(F),L=!0}),e.addEventListener("keyup",function(e){F=setTimeout(function(){L=!1},100)});var B=function(e){if(document.activeElement===n&&!L){if(p)return setTimeout(function(){p=!1},100);var o=n.selectionStart,r=n.selectionEnd;if(n.setSelectionRange(4,5),o==r)switch(o){case 0:t.onCommandKey(null,0,s.up);break;case 1:t.onCommandKey(null,0,s.home);break;case 2:t.onCommandKey(null,l.option,s.left);break;case 4:t.onCommandKey(null,0,s.left);break;case 5:t.onCommandKey(null,0,s.right);break;case 7:t.onCommandKey(null,l.option,s.right);break;case 8:t.onCommandKey(null,0,s.end);break;case 9:t.onCommandKey(null,0,s.down)}else{switch(r){case 6:t.onCommandKey(null,l.shift,s.right);break;case 7:t.onCommandKey(null,l.shift|l.option,s.right);break;case 8:t.onCommandKey(null,l.shift,s.end);break;case 9:t.onCommandKey(null,l.shift,s.down)}switch(o){case 0:t.onCommandKey(null,l.shift,s.up);break;case 1:t.onCommandKey(null,l.shift,s.home);break;case 2:t.onCommandKey(null,l.shift|l.option,s.left);break;case 3:t.onCommandKey(null,l.shift,s.left)}}}};document.addEventListener("selectionchange",B),t.on("destroy",function(){document.removeEventListener("selectionchange",B)})}}}),ace.define("ace/keyboard/textinput",["require","exports","module","ace/lib/event","ace/lib/useragent","ace/lib/dom","ace/lib/lang","ace/keyboard/textinput_ios"],function(e,t,n){"use strict";var o=e("../lib/event"),r=e("../lib/useragent"),i=e("../lib/dom"),a=e("../lib/lang"),s=r.isChrome<18,l=r.isIE,c=e("./textinput_ios").TextInput;t.TextInput=function(e,t){if(r.isIOS)return c.call(this,e,t);var n=i.createElement("textarea");n.className="ace_text-input",n.setAttribute("wrap","off"),n.setAttribute("autocorrect","off"),n.setAttribute("autocapitalize","off"),n.setAttribute("spellcheck",!1),n.style.opacity="0",e.insertBefore(n,e.firstChild);var u="\u2028\u2028",d=!1,h=!1,p=!1,f="",m=!0;try{var g=document.activeElement===n}catch(L){}o.addListener(n,"blur",function(e){t.onBlur(e),g=!1}),o.addListener(n,"focus",function(e){g=!0,t.onFocus(e),y()}),this.focus=function(){if(f)return n.focus();var e=n.style.top;n.style.position="fixed",n.style.top="0px",n.focus(),setTimeout(function(){n.style.position="","0px"==n.style.top&&(n.style.top=e)},0)},this.blur=function(){n.blur()},this.isFocused=function(){return g};var v=a.delayedCall(function(){g&&y(m)}),_=a.delayedCall(function(){p||(n.value=u,g&&y())});function y(e){if(!p){if(p=!0,C)var t=0,o=e?0:n.value.length-1;else t=e?2:1,o=2;try{n.setSelectionRange(t,o)}catch(L){}p=!1}}function b(){p||(n.value=u,r.isWebKit&&_.schedule())}r.isWebKit||t.addEventListener("changeSelection",function(){t.selection.isEmpty()!=m&&(m=!m,v.schedule())}),b(),g&&t.onFocus();var C=null;this.setInputHandler=function(e){C=e},this.getInputHandler=function(){return C};var E=!1,w=function(e){C&&(e=C(e),C=null),h?(y(),e&&t.onPaste(e),h=!1):e==u.charAt(0)?t.execCommand(E?"del":"backspace",{source:"ace"}):(e.substring(0,2)==u?e=e.substr(2):e.charAt(0)==u.charAt(0)?e=e.substr(1):e.charAt(e.length-1)==u.charAt(0)&&(e=e.slice(0,-1)),e.charAt(e.length-1)==u.charAt(0)&&(e=e.slice(0,-1)),e&&t.onTextInput(e)),E&&(E=!1)},k=function(e){p||(w(n.value),b())},A=function(e,t,n){var o=e.clipboardData||window.clipboardData;if(o&&!s){var r=l||n?"Text":"text/plain";try{return t?!1!==o.setData(r,t):o.getData(r)}catch(e){if(!n)return A(e,t,!0)}}},S=function(e,r){var i=t.getCopyText();if(!i)return o.preventDefault(e);A(e,i)?(r?t.onCut():t.onCopy(),o.preventDefault(e)):(d=!0,n.value=i,n.select(),setTimeout(function(){d=!1,b(),y(),r?t.onCut():t.onCopy()}))},O=function(e){S(e,!0)},x=function(e){S(e,!1)},D=function(e){var i=A(e);"string"==typeof i?(i&&t.onPaste(i,e),r.isIE&&setTimeout(y),o.preventDefault(e)):(n.value="",h=!0)};o.addCommandKeyListener(n,t.onCommandKey.bind(t)),o.addListener(n,"select",function(e){d?d=!1:function(e){return 0===e.selectionStart&&e.selectionEnd===e.value.length}(n)?(t.selectAll(),y()):C&&y(t.selection.isEmpty())}),o.addListener(n,"input",k),o.addListener(n,"cut",O),o.addListener(n,"copy",x),o.addListener(n,"paste",D),"oncut"in n&&"oncopy"in n&&"onpaste"in n||o.addListener(e,"keydown",function(e){if((!r.isMac||e.metaKey)&&e.ctrlKey)switch(e.keyCode){case 67:x(e);break;case 86:D(e);break;case 88:O(e)}});var T,R=function(){if(p&&t.onCompositionUpdate&&!t.$readOnly){var e=n.value.replace(/\u2028/g,"");if(p.lastValue!==e&&(t.onCompositionUpdate(e),p.lastValue&&t.undo(),p.canUndo&&(p.lastValue=e),p.lastValue)){var o=t.selection.getRange();t.insert(p.lastValue),t.session.markUndoGroup(),p.range=t.selection.getRange(),t.selection.setRange(o),t.selection.clearSelection()}}},P=function(e){if(t.onCompositionEnd&&!t.$readOnly){var o=p;p=!1;var i=setTimeout(function(){i=null;var e=n.value.replace(/\u2028/g,"");p||(e==o.lastValue?b():!o.lastValue&&e&&(b(),w(e)))});C=function(e){return i&&clearTimeout(i),(e=e.replace(/\u2028/g,""))==o.lastValue?"":(o.lastValue&&i&&t.undo(),e)},t.onCompositionEnd(),t.removeListener("mousedown",P),"compositionend"==e.type&&o.range&&t.selection.setRange(o.range),(r.isChrome&&r.isChrome>=53||r.isWebKit&&r.isWebKit>=603)&&k()}},M=a.delayedCall(R,50);function I(){clearTimeout(T),T=setTimeout(function(){f&&(n.style.cssText=f,f=""),null==t.renderer.$keepTextAreaAtCursor&&(t.renderer.$keepTextAreaAtCursor=!0,t.renderer.$moveTextAreaToCursor())},0)}o.addListener(n,"compositionstart",function(e){p||!t.onCompositionStart||t.$readOnly||((p={}).canUndo=t.session.$undoManager,t.onCompositionStart(),setTimeout(R,0),t.on("mousedown",P),p.canUndo&&!t.selection.isEmpty()&&(t.insert(""),t.session.markUndoGroup(),t.selection.clearSelection()),t.session.markUndoGroup())}),r.isGecko?o.addListener(n,"text",function(){M.schedule()}):(o.addListener(n,"keyup",function(){M.schedule()}),o.addListener(n,"keydown",function(){M.schedule()})),o.addListener(n,"compositionend",P),this.getElement=function(){return n},this.setReadOnly=function(e){n.readOnly=e},this.onContextMenu=function(e){E=!0,y(t.selection.isEmpty()),t._emit("nativecontextmenu",{target:t,domEvent:e}),this.moveToMouse(e,!0)},this.moveToMouse=function(e,a){f||(f=n.style.cssText),n.style.cssText=(a?"z-index:100000;":"")+"height:"+n.style.height+";"+(r.isIE?"opacity:0.1;":"");var s=t.container.getBoundingClientRect(),l=i.computedStyle(t.container),c=s.top+(parseInt(l.borderTopWidth)||0),u=s.left+(parseInt(s.borderLeftWidth)||0),d=s.bottom-c-n.clientHeight-2,h=function(e){n.style.left=e.clientX-u-2+"px",n.style.top=Math.min(e.clientY-c-2,d)+"px"};h(e),"mousedown"==e.type&&(t.renderer.$keepTextAreaAtCursor&&(t.renderer.$keepTextAreaAtCursor=null),clearTimeout(T),r.isWin&&o.capture(t.container,h,I))},this.onContextMenuClose=I;var F=function(e){t.textInput.onContextMenu(e),I()};o.addListener(n,"mouseup",F),o.addListener(n,"mousedown",function(e){e.preventDefault(),I()}),o.addListener(t.renderer.scroller,"contextmenu",F),o.addListener(n,"contextmenu",F)}}),ace.define("ace/mouse/default_handlers",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],function(e,t,n){"use strict";e("../lib/dom"),e("../lib/event");var o=e("../lib/useragent");function r(e){e.$clickSelection=null;var t=e.editor;t.setDefaultHandler("mousedown",this.onMouseDown.bind(e)),t.setDefaultHandler("dblclick",this.onDoubleClick.bind(e)),t.setDefaultHandler("tripleclick",this.onTripleClick.bind(e)),t.setDefaultHandler("quadclick",this.onQuadClick.bind(e)),t.setDefaultHandler("mousewheel",this.onMouseWheel.bind(e)),t.setDefaultHandler("touchmove",this.onTouchMove.bind(e)),["select","startSelect","selectEnd","selectAllEnd","selectByWordsEnd","selectByLinesEnd","dragWait","dragWaitEnd","focusWait"].forEach(function(t){e[t]=this[t]},this),e.selectByLines=this.extendSelectionBy.bind(e,"getLineRange"),e.selectByWords=this.extendSelectionBy.bind(e,"getWordRange")}function i(e,t){if(e.start.row==e.end.row)var n=2*t.column-e.start.column-e.end.column;else n=e.start.row!=e.end.row-1||e.start.column||e.end.column?2*t.row-e.start.row-e.end.row:t.column-4;return n<0?{cursor:e.start,anchor:e.end}:{cursor:e.end,anchor:e.start}}(function(){this.onMouseDown=function(e){var t=e.inSelection(),n=e.getDocumentPosition();this.mousedownEvent=e;var r=this.editor,i=e.getButton();if(0!==i){var a=r.getSelectionRange().isEmpty();return r.$blockScrolling++,(a||1==i)&&r.selection.moveToPosition(n),r.$blockScrolling--,void(2==i&&(r.textInput.onContextMenu(e.domEvent),o.isMozilla||e.preventDefault()))}return this.mousedownEvent.time=Date.now(),!t||r.isFocused()||(r.focus(),!this.$focusTimout||this.$clickSelection||r.inMultiSelectMode)?(this.captureMouse(e),this.startSelect(n,e.domEvent._clicks>1),e.preventDefault()):(this.setState("focusWait"),void this.captureMouse(e))},this.startSelect=function(e,t){e=e||this.editor.renderer.screenToTextCoordinates(this.x,this.y);var n=this.editor;n.$blockScrolling++,this.mousedownEvent.getShiftKey()?n.selection.selectToPosition(e):t||n.selection.moveToPosition(e),t||this.select(),n.renderer.scroller.setCapture&&n.renderer.scroller.setCapture(),n.setStyle("ace_selecting"),this.setState("select"),n.$blockScrolling--},this.select=function(){var e,t=this.editor,n=t.renderer.screenToTextCoordinates(this.x,this.y);if(t.$blockScrolling++,this.$clickSelection){var o=this.$clickSelection.comparePoint(n);if(-1==o)e=this.$clickSelection.end;else if(1==o)e=this.$clickSelection.start;else{var r=i(this.$clickSelection,n);n=r.cursor,e=r.anchor}t.selection.setSelectionAnchor(e.row,e.column)}t.selection.selectToPosition(n),t.$blockScrolling--,t.renderer.scrollCursorIntoView()},this.extendSelectionBy=function(e){var t,n=this.editor,o=n.renderer.screenToTextCoordinates(this.x,this.y),r=n.selection[e](o.row,o.column);if(n.$blockScrolling++,this.$clickSelection){var a=this.$clickSelection.comparePoint(r.start),s=this.$clickSelection.comparePoint(r.end);if(-1==a&&s<=0)t=this.$clickSelection.end,r.end.row==o.row&&r.end.column==o.column||(o=r.start);else if(1==s&&a>=0)t=this.$clickSelection.start,r.start.row==o.row&&r.start.column==o.column||(o=r.end);else if(-1==a&&1==s)o=r.end,t=r.start;else{var l=i(this.$clickSelection,o);o=l.cursor,t=l.anchor}n.selection.setSelectionAnchor(t.row,t.column)}n.selection.selectToPosition(o),n.$blockScrolling--,n.renderer.scrollCursorIntoView()},this.selectEnd=this.selectAllEnd=this.selectByWordsEnd=this.selectByLinesEnd=function(){this.$clickSelection=null,this.editor.unsetStyle("ace_selecting"),this.editor.renderer.scroller.releaseCapture&&this.editor.renderer.scroller.releaseCapture()},this.focusWait=function(){var e,t,n=(e=this.mousedownEvent.y,t=this.y,Math.sqrt(Math.pow(this.x-this.mousedownEvent.x,2)+Math.pow(t-e,2))),o=Date.now();(n>0||o-this.mousedownEvent.time>this.$focusTimout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},this.onDoubleClick=function(e){var t=e.getDocumentPosition(),n=this.editor,o=n.session.getBracketRange(t);o?(o.isEmpty()&&(o.start.column--,o.end.column++),this.setState("select")):(o=n.selection.getWordRange(t.row,t.column),this.setState("selectByWords")),this.$clickSelection=o,this.select()},this.onTripleClick=function(e){var t=e.getDocumentPosition(),n=this.editor;this.setState("selectByLines");var o=n.getSelectionRange();o.isMultiLine()&&o.contains(t.row,t.column)?(this.$clickSelection=n.selection.getLineRange(o.start.row),this.$clickSelection.end=n.selection.getLineRange(o.end.row).end):this.$clickSelection=n.selection.getLineRange(t.row),this.select()},this.onQuadClick=function(e){var t=this.editor;t.selectAll(),this.$clickSelection=t.getSelectionRange(),this.setState("selectAll")},this.onMouseWheel=function(e){if(!e.getAccelKey()){e.getShiftKey()&&e.wheelY&&!e.wheelX&&(e.wheelX=e.wheelY,e.wheelY=0);var t=this.editor;this.$lastScroll||(this.$lastScroll={t:0,vx:0,vy:0,allowed:0});var n=this.$lastScroll,o=e.domEvent.timeStamp,r=o-n.t,i=e.wheelX/r,a=e.wheelY/r;r<250&&(i=(i+n.vx)/2,a=(a+n.vy)/2);var s=Math.abs(i/a),l=!1;return s>=1&&t.renderer.isScrollableBy(e.wheelX*e.speed,0)&&(l=!0),s<=1&&t.renderer.isScrollableBy(0,e.wheelY*e.speed)&&(l=!0),l?n.allowed=o:o-n.allowed<250&&(Math.abs(i)<=1.1*Math.abs(n.vx)&&Math.abs(a)<=1.1*Math.abs(n.vy)?(l=!0,n.allowed=o):n.allowed=0),n.t=o,n.vx=i,n.vy=a,l?(t.renderer.scrollBy(e.wheelX*e.speed,e.wheelY*e.speed),e.stop()):void 0}},this.onTouchMove=function(e){this.editor._emit("mousewheel",e)}}).call(r.prototype),t.DefaultHandlers=r}),ace.define("ace/tooltip",["require","exports","module","ace/lib/oop","ace/lib/dom"],function(e,t,n){"use strict";e("./lib/oop");var o=e("./lib/dom");function r(e){this.isOpen=!1,this.$element=null,this.$parentNode=e}(function(){this.$init=function(){return this.$element=o.createElement("div"),this.$element.className="ace_tooltip",this.$element.style.display="none",this.$parentNode.appendChild(this.$element),this.$element},this.getElement=function(){return this.$element||this.$init()},this.setText=function(e){o.setInnerText(this.getElement(),e)},this.setHtml=function(e){this.getElement().innerHTML=e},this.setPosition=function(e,t){this.getElement().style.left=e+"px",this.getElement().style.top=t+"px"},this.setClassName=function(e){o.addCssClass(this.getElement(),e)},this.show=function(e,t,n){null!=e&&this.setText(e),null!=t&&null!=n&&this.setPosition(t,n),this.isOpen||(this.getElement().style.display="block",this.isOpen=!0)},this.hide=function(){this.isOpen&&(this.getElement().style.display="none",this.isOpen=!1)},this.getHeight=function(){return this.getElement().offsetHeight},this.getWidth=function(){return this.getElement().offsetWidth},this.destroy=function(){this.isOpen=!1,this.$element&&this.$element.parentNode&&this.$element.parentNode.removeChild(this.$element)}}).call(r.prototype),t.Tooltip=r}),ace.define("ace/mouse/default_gutter_handler",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event","ace/tooltip"],function(e,t,n){"use strict";var o=e("../lib/dom"),r=e("../lib/oop"),i=e("../lib/event"),a=e("../tooltip").Tooltip;function s(e){a.call(this,e)}r.inherits(s,a),(function(){this.setPosition=function(e,t){var n=window.innerWidth||document.documentElement.clientWidth,o=window.innerHeight||document.documentElement.clientHeight,r=this.getWidth(),i=this.getHeight();(e+=15)+r>n&&(e-=e+r-n),(t+=15)+i>o&&(t-=20+i),a.prototype.setPosition.call(this,e,t)}}).call(s.prototype),t.GutterHandler=function(e){var t,n,r,a=e.editor,l=a.renderer.$gutterLayer,c=new s(a.container);function u(){t&&(t=clearTimeout(t)),r&&(c.hide(),r=null,a._signal("hideGutterTooltip",c),a.removeEventListener("mousewheel",u))}function d(e){c.setPosition(e.x,e.y)}e.editor.setDefaultHandler("guttermousedown",function(t){if(a.isFocused()&&0==t.getButton()&&"foldWidgets"!=l.getRegion(t)){var n=t.getDocumentPosition().row,o=a.session.selection;if(t.getShiftKey())o.selectTo(n,0);else{if(2==t.domEvent.detail)return a.selectAll(),t.preventDefault();e.$clickSelection=a.selection.getLineRange(n)}return e.setState("selectByLines"),e.captureMouse(t),t.preventDefault()}}),e.editor.setDefaultHandler("guttermousemove",function(i){if(o.hasCssClass(i.domEvent.target||i.domEvent.srcElement,"ace_fold-widget"))return u();r&&e.$tooltipFollowsMouse&&d(i),n=i,t||(t=setTimeout(function(){t=null,n&&!e.isMousePressed?function(){var t=n.getDocumentPosition().row,o=l.$annotations[t];if(!o)return u();if(t==a.session.getLength()){var i=a.renderer.pixelToScreenCoordinates(0,n.y).row,s=n.$pos;if(i>a.session.documentToScreenRow(s.row,s.column))return u()}if(r!=o)if(r=o.text.join("<br/>"),c.setHtml(r),c.show(),a._signal("showGutterTooltip",c),a.on("mousewheel",u),e.$tooltipFollowsMouse)d(n);else{var h=n.domEvent.target.getBoundingClientRect(),p=c.getElement().style;p.left=h.right+"px",p.top=h.bottom+"px"}}():u()},50))}),i.addListener(a.renderer.$gutter,"mouseout",function(e){n=null,r&&!t&&(t=setTimeout(function(){t=null,u()},50))}),a.on("changeSession",u)}}),ace.define("ace/mouse/mouse_event",["require","exports","module","ace/lib/event","ace/lib/useragent"],function(e,t,n){"use strict";var o=e("../lib/event"),r=e("../lib/useragent"),i=t.MouseEvent=function(e,t){this.domEvent=e,this.editor=t,this.x=this.clientX=e.clientX,this.y=this.clientY=e.clientY,this.$pos=null,this.$inSelection=null,this.propagationStopped=!1,this.defaultPrevented=!1};(function(){this.stopPropagation=function(){o.stopPropagation(this.domEvent),this.propagationStopped=!0},this.preventDefault=function(){o.preventDefault(this.domEvent),this.defaultPrevented=!0},this.stop=function(){this.stopPropagation(),this.preventDefault()},this.getDocumentPosition=function(){return this.$pos?this.$pos:(this.$pos=this.editor.renderer.screenToTextCoordinates(this.clientX,this.clientY),this.$pos)},this.inSelection=function(){if(null!==this.$inSelection)return this.$inSelection;var e=this.editor.getSelectionRange();if(e.isEmpty())this.$inSelection=!1;else{var t=this.getDocumentPosition();this.$inSelection=e.contains(t.row,t.column)}return this.$inSelection},this.getButton=function(){return o.getButton(this.domEvent)},this.getShiftKey=function(){return this.domEvent.shiftKey},this.getAccelKey=r.isMac?function(){return this.domEvent.metaKey}:function(){return this.domEvent.ctrlKey}}).call(i.prototype)}),ace.define("ace/mouse/dragdrop_handler",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],function(e,t,n){"use strict";var o=e("../lib/dom"),r=e("../lib/event"),i=e("../lib/useragent"),a=200,s=200,l=5;function c(e){var t=e.editor,n=o.createElement("img");n.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",i.isOpera&&(n.style.cssText="width:1px;height:1px;position:fixed;top:0;left:0;z-index:2147483647;opacity:0;"),["dragWait","dragWaitEnd","startDrag","dragReadyEnd","onMouseDrag"].forEach(function(t){e[t]=this[t]},this),t.addEventListener("mousedown",this.onMouseDown.bind(e));var c,d,h,p,f,m,g,v,_,y,b,C=t.container,E=0;function w(){var e=m;(function(e,n){var o=Date.now();y&&n&&e.row==n.row&&n&&e.column==n.column?u(b.x,b.y,d,h)>l?y=null:o-y>=s&&(t.renderer.scrollCursorIntoView(),y=null):(t.$blockScrolling+=1,t.moveCursorToPosition(e),t.$blockScrolling-=1,y=o,b={x:d,y:h})})(m=t.renderer.screenToTextCoordinates(d,h),e),function(e,n){var o=Date.now(),r=t.renderer.layerConfig.lineHeight,i=t.renderer.layerConfig.characterWidth,s=t.renderer.scroller.getBoundingClientRect(),l={x:{left:d-s.left,right:s.right-d},y:{top:h-s.top,bottom:s.bottom-h}},c=Math.min(l.x.left,l.x.right),u=Math.min(l.y.top,l.y.bottom),p={row:e.row,column:e.column};c/i<=2&&(p.column+=l.x.left<l.x.right?-3:2),u/r<=1&&(p.row+=l.y.top<l.y.bottom?-1:1),e.row!=p.row||e.column!=p.column&&n&&e.row==n.row?_?o-_>=a&&t.renderer.scrollCursorIntoView(p):_=o:_=null}(m,e)}function k(){f=t.selection.toOrientedRange(),c=t.session.addMarker(f,"ace_selection",t.getSelectionStyle()),t.clearSelection(),t.isFocused()&&t.renderer.$cursorLayer.setBlinking(!1),clearInterval(p),w(),p=setInterval(w,20),E=0,r.addListener(document,"mousemove",O)}function A(){clearInterval(p),t.session.removeMarker(c),c=null,t.$blockScrolling+=1,t.selection.fromOrientedRange(f),t.$blockScrolling-=1,t.isFocused()&&!v&&t.renderer.$cursorLayer.setBlinking(!t.getReadOnly()),f=null,m=null,E=0,_=null,y=null,r.removeListener(document,"mousemove",O)}this.onDragStart=function(e){if(this.cancelDrag||!C.draggable){var o=this;return setTimeout(function(){o.startSelect(),o.captureMouse(e)},0),e.preventDefault()}f=t.getSelectionRange();var r=e.dataTransfer;r.effectAllowed=t.getReadOnly()?"copy":"copyMove",i.isOpera&&(t.container.appendChild(n),n.scrollTop=0),r.setDragImage&&r.setDragImage(n,0,0),i.isOpera&&t.container.removeChild(n),r.clearData(),r.setData("Text",t.session.getTextRange()),v=!0,this.setState("drag")},this.onDragEnd=function(e){C.draggable=!1,v=!1,this.setState(null),t.getReadOnly()||(g||"move"!=e.dataTransfer.dropEffect||t.session.remove(t.getSelectionRange()),t.renderer.$cursorLayer.setBlinking(!0)),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle("")},this.onDragEnter=function(e){if(!t.getReadOnly()&&x(e.dataTransfer))return d=e.clientX,h=e.clientY,c||k(),E++,e.dataTransfer.dropEffect=g=D(e),r.preventDefault(e)},this.onDragOver=function(e){if(!t.getReadOnly()&&x(e.dataTransfer))return d=e.clientX,h=e.clientY,c||(k(),E++),null!==S&&(S=null),e.dataTransfer.dropEffect=g=D(e),r.preventDefault(e)},this.onDragLeave=function(e){if(--E<=0&&c)return A(),g=null,r.preventDefault(e)},this.onDrop=function(e){if(m){var n=e.dataTransfer;if(v)switch(g){case"move":f=f.contains(m.row,m.column)?{start:m,end:m}:t.moveText(f,m);break;case"copy":f=t.moveText(f,m,!0)}else{var o=n.getData("Text");f={start:m,end:t.session.insert(m,o)},t.focus(),g=null}return A(),r.preventDefault(e)}},r.addListener(C,"dragstart",this.onDragStart.bind(e)),r.addListener(C,"dragend",this.onDragEnd.bind(e)),r.addListener(C,"dragenter",this.onDragEnter.bind(e)),r.addListener(C,"dragover",this.onDragOver.bind(e)),r.addListener(C,"dragleave",this.onDragLeave.bind(e)),r.addListener(C,"drop",this.onDrop.bind(e));var S=null;function O(){null==S&&(S=setTimeout(function(){null!=S&&c&&A()},20))}function x(e){var t=e.types;return!t||Array.prototype.some.call(t,function(e){return"text/plain"==e||"Text"==e})}function D(e){var t=["copy","copymove","all","uninitialized"],n=i.isMac?e.altKey:e.ctrlKey,o="uninitialized";try{o=e.dataTransfer.effectAllowed.toLowerCase()}catch(e){}var r="none";return n&&t.indexOf(o)>=0?r="copy":["move","copymove","linkmove","all","uninitialized"].indexOf(o)>=0?r="move":t.indexOf(o)>=0&&(r="copy"),r}}function u(e,t,n,o){return Math.sqrt(Math.pow(n-e,2)+Math.pow(o-t,2))}(function(){this.dragWait=function(){Date.now()-this.mousedownEvent.time>this.editor.getDragDelay()&&this.startDrag()},this.dragWaitEnd=function(){this.editor.container.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()),this.selectEnd()},this.dragReadyEnd=function(e){this.editor.renderer.$cursorLayer.setBlinking(!this.editor.getReadOnly()),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle(""),this.dragWaitEnd()},this.startDrag=function(){this.cancelDrag=!1;var e=this.editor;e.container.draggable=!0,e.renderer.$cursorLayer.setBlinking(!1),e.setStyle("ace_dragging"),e.renderer.setCursorStyle(i.isWin?"default":"move"),this.setState("dragReady")},this.onMouseDrag=function(e){var t=this.editor.container;i.isIE&&"dragReady"==this.state&&u(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>3&&t.dragDrop(),"dragWait"===this.state&&u(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>0&&(t.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()))},this.onMouseDown=function(e){if(this.$dragEnabled){this.mousedownEvent=e;var t=this.editor,n=e.inSelection(),o=e.getButton();if(1===(e.domEvent.detail||1)&&0===o&&n){if(e.editor.inMultiSelectMode&&(e.getAccelKey()||e.getShiftKey()))return;this.mousedownEvent.time=Date.now();var r=e.domEvent.target||e.domEvent.srcElement;"unselectable"in r&&(r.unselectable="on"),t.getDragDelay()?(i.isWebKit&&(this.cancelDrag=!0,t.container.draggable=!0),this.setState("dragWait")):this.startDrag(),this.captureMouse(e,this.onMouseDrag.bind(this)),e.defaultPrevented=!0}}}}).call(c.prototype),t.DragdropHandler=c}),ace.define("ace/lib/net",["require","exports","module","ace/lib/dom"],function(e,t,n){"use strict";var o=e("./dom");t.get=function(e,t){var n=new XMLHttpRequest;n.open("GET",e,!0),n.onreadystatechange=function(){4===n.readyState&&t(n.responseText)},n.send(null)},t.loadScript=function(e,t){var n=o.getDocumentHead(),r=document.createElement("script");r.src=e,n.appendChild(r),r.onload=r.onreadystatechange=function(e,n){!n&&r.readyState&&"loaded"!=r.readyState&&"complete"!=r.readyState||(r=r.onload=r.onreadystatechange=null,n||t())}},t.qualifyURL=function(e){var t=document.createElement("a");return t.href=e,t.href}}),ace.define("ace/lib/event_emitter",["require","exports","module"],function(e,t,n){"use strict";var o={},r=function(){this.propagationStopped=!0},i=function(){this.defaultPrevented=!0};o._emit=o._dispatchEvent=function(e,t){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var n=this._eventRegistry[e]||[],o=this._defaultHandlers[e];if(n.length||o){"object"==typeof t&&t||(t={}),t.type||(t.type=e),t.stopPropagation||(t.stopPropagation=r),t.preventDefault||(t.preventDefault=i),n=n.slice();for(var a=0;a<n.length&&(n[a](t,this),!t.propagationStopped);a++);return o&&!t.defaultPrevented?o(t,this):void 0}},o._signal=function(e,t){var n=(this._eventRegistry||{})[e];if(n){n=n.slice();for(var o=0;o<n.length;o++)n[o](t,this)}},o.once=function(e,t){var n=this;t&&this.addEventListener(e,function o(){n.removeEventListener(e,o),t.apply(null,arguments)})},o.setDefaultHandler=function(e,t){var n=this._defaultHandlers;if(n||(n=this._defaultHandlers={_disabled_:{}}),n[e]){var o=n[e],r=n._disabled_[e];r||(n._disabled_[e]=r=[]),r.push(o);var i=r.indexOf(t);-1!=i&&r.splice(i,1)}n[e]=t},o.removeDefaultHandler=function(e,t){var n=this._defaultHandlers;if(n){var o=n._disabled_[e];if(n[e]==t)o&&this.setDefaultHandler(e,o.pop());else if(o){var r=o.indexOf(t);-1!=r&&o.splice(r,1)}}},o.on=o.addEventListener=function(e,t,n){this._eventRegistry=this._eventRegistry||{};var o=this._eventRegistry[e];return o||(o=this._eventRegistry[e]=[]),-1==o.indexOf(t)&&o[n?"unshift":"push"](t),t},o.off=o.removeListener=o.removeEventListener=function(e,t){this._eventRegistry=this._eventRegistry||{};var n=this._eventRegistry[e];if(n){var o=n.indexOf(t);-1!==o&&n.splice(o,1)}},o.removeAllListeners=function(e){this._eventRegistry&&(this._eventRegistry[e]=[])},t.EventEmitter=o}),ace.define("ace/lib/app_config",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(e,t,n){var o=e("./oop"),r=e("./event_emitter").EventEmitter,i={setOptions:function(e){Object.keys(e).forEach(function(t){this.setOption(t,e[t])},this)},getOptions:function(e){var t={};return e?Array.isArray(e)||(t=e,e=Object.keys(t)):e=Object.keys(this.$options),e.forEach(function(e){t[e]=this.getOption(e)},this),t},setOption:function(e,t){if(this["$"+e]!==t){var n=this.$options[e];if(!n)return a('misspelled option "'+e+'"');if(n.forwardTo)return this[n.forwardTo]&&this[n.forwardTo].setOption(e,t);n.handlesSet||(this["$"+e]=t),n&&n.set&&n.set.call(this,t)}},getOption:function(e){var t=this.$options[e];return t?t.forwardTo?this[t.forwardTo]&&this[t.forwardTo].getOption(e):t&&t.get?t.get.call(this):this["$"+e]:a('misspelled option "'+e+'"')}};function a(e){"undefined"!=typeof console&&console.warn&&console.warn.apply(console,arguments)}function s(e,t){var n=new Error(e);n.data=t,"object"==typeof console&&console.error&&console.error(n),setTimeout(function(){throw n})}var l=function(){this.$defaultOptions={}};(function(){o.implement(this,r),this.defineOptions=function(e,t,n){return e.$options||(this.$defaultOptions[t]=e.$options={}),Object.keys(n).forEach(function(t){var o=n[t];"string"==typeof o&&(o={forwardTo:o}),o.name||(o.name=t),e.$options[o.name]=o,"initialValue"in o&&(e["$"+o.name]=o.initialValue)}),o.implement(e,i),this},this.resetOptions=function(e){Object.keys(e.$options).forEach(function(t){var n=e.$options[t];"value"in n&&e.setOption(t,n.value)})},this.setDefaultValue=function(e,t,n){var o=this.$defaultOptions[e]||(this.$defaultOptions[e]={});o[t]&&(o.forwardTo?this.setDefaultValue(o.forwardTo,t,n):o[t].value=n)},this.setDefaultValues=function(e,t){Object.keys(t).forEach(function(n){this.setDefaultValue(e,n,t[n])},this)},this.warn=a,this.reportError=s}).call(l.prototype),t.AppConfig=l}),ace.define("ace/config",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/lib/net","ace/lib/app_config"],function(e,t,o){var r=e("./lib/lang"),i=(e("./lib/oop"),e("./lib/net")),a=e("./lib/app_config").AppConfig;o.exports=t=new a;var s=function(){return this||"undefined"!=typeof window&&window}(),l={packaged:!1,workerPath:null,modePath:null,themePath:null,basePath:"",suffix:".js",$moduleUrls:{}};function c(r){if(s&&s.document){l.packaged=r||e.packaged||o.packaged||s.define&&n("B9Yq").packaged;for(var i,a={},c="",u=document.currentScript||document._currentScript,d=(u&&u.ownerDocument||document).getElementsByTagName("script"),h=0;h<d.length;h++){var p=d[h],f=p.src||p.getAttribute("src");if(f){for(var m=p.attributes,g=0,v=m.length;g<v;g++){var _=m[g];0===_.name.indexOf("data-ace-")&&(a[(i=_.name.replace(/^data-ace-/,""),i.replace(/-(.)/g,function(e,t){return t.toUpperCase()}))]=_.value)}var y=f.match(/^(.*)\/ace(\-\w+)?\.js(\?|$)/);y&&(c=y[1])}}for(var b in c&&(a.base=a.base||c,a.packaged=!0),a.basePath=a.base,a.workerPath=a.workerPath||a.base,a.modePath=a.modePath||a.base,a.themePath=a.themePath||a.base,delete a.base,a)void 0!==a[b]&&t.set(b,a[b])}}t.get=function(e){if(!l.hasOwnProperty(e))throw new Error("Unknown config key: "+e);return l[e]},t.set=function(e,t){if(!l.hasOwnProperty(e))throw new Error("Unknown config key: "+e);l[e]=t},t.all=function(){return r.copyObject(l)},t.moduleUrl=function(e,t){if(l.$moduleUrls[e])return l.$moduleUrls[e];var n=e.split("/"),o="snippets"==(t=t||n[n.length-2]||"")?"/":"-",r=n[n.length-1];if("worker"==t&&"-"==o){var i=new RegExp("^"+t+"[\\-_]|[\\-_]"+t+"$","g");r=r.replace(i,"")}(!r||r==t)&&n.length>1&&(r=n[n.length-2]);var a=l[t+"Path"];return null==a?a=l.basePath:"/"==o&&(t=o=""),a&&"/"!=a.slice(-1)&&(a+="/"),a+t+o+r+this.get("suffix")},t.setModuleUrl=function(e,t){return l.$moduleUrls[e]=t},t.$loading={},t.loadModule=function(n,o){var r,a;Array.isArray(n)&&(a=n[0],n=n[1]);try{r=e(n)}catch(l){}if(r&&!t.$loading[n])return o&&o(r);if(t.$loading[n]||(t.$loading[n]=[]),t.$loading[n].push(o),!(t.$loading[n].length>1)){var s=function(){e([n],function(e){t._emit("load.module",{name:n,module:e});var o=t.$loading[n];t.$loading[n]=null,o.forEach(function(t){t&&t(e)})})};if(!t.get("packaged"))return s();i.loadScript(t.moduleUrl(n,a),s)}},c(!0),t.init=c}),ace.define("ace/mouse/mouse_handler",["require","exports","module","ace/lib/event","ace/lib/useragent","ace/mouse/default_handlers","ace/mouse/default_gutter_handler","ace/mouse/mouse_event","ace/mouse/dragdrop_handler","ace/config"],function(e,t,n){"use strict";var o=e("../lib/event"),r=e("../lib/useragent"),i=e("./default_handlers").DefaultHandlers,a=e("./default_gutter_handler").GutterHandler,s=e("./mouse_event").MouseEvent,l=e("./dragdrop_handler").DragdropHandler,c=e("../config"),u=function(e){var t=this;this.editor=e,new i(this),new a(this),new l(this);var n=function(t){(!document.hasFocus||!document.hasFocus()||!e.isFocused()&&document.activeElement==(e.textInput&&e.textInput.getElement()))&&window.focus(),e.focus()},s=e.renderer.getMouseEventTarget();o.addListener(s,"click",this.onMouseEvent.bind(this,"click")),o.addListener(s,"mousemove",this.onMouseMove.bind(this,"mousemove")),o.addMultiMouseDownListener([s,e.renderer.scrollBarV&&e.renderer.scrollBarV.inner,e.renderer.scrollBarH&&e.renderer.scrollBarH.inner,e.textInput&&e.textInput.getElement()].filter(Boolean),[400,300,250],this,"onMouseEvent"),o.addMouseWheelListener(e.container,this.onMouseWheel.bind(this,"mousewheel")),o.addTouchMoveListener(e.container,this.onTouchMove.bind(this,"touchmove"));var c=e.renderer.$gutter;o.addListener(c,"mousedown",this.onMouseEvent.bind(this,"guttermousedown")),o.addListener(c,"click",this.onMouseEvent.bind(this,"gutterclick")),o.addListener(c,"dblclick",this.onMouseEvent.bind(this,"gutterdblclick")),o.addListener(c,"mousemove",this.onMouseEvent.bind(this,"guttermousemove")),o.addListener(s,"mousedown",n),o.addListener(c,"mousedown",n),r.isIE&&e.renderer.scrollBarV&&(o.addListener(e.renderer.scrollBarV.element,"mousedown",n),o.addListener(e.renderer.scrollBarH.element,"mousedown",n)),e.on("mousemove",function(n){if(!t.state&&!t.$dragDelay&&t.$dragEnabled){var o=e.renderer.screenToTextCoordinates(n.x,n.y),r=e.session.selection.getRange(),i=e.renderer;!r.isEmpty()&&r.insideStart(o.row,o.column)?i.setCursorStyle("default"):i.setCursorStyle("")}})};(function(){this.onMouseEvent=function(e,t){this.editor._emit(e,new s(t,this.editor))},this.onMouseMove=function(e,t){var n=this.editor._eventRegistry&&this.editor._eventRegistry.mousemove;n&&n.length&&this.editor._emit(e,new s(t,this.editor))},this.onMouseWheel=function(e,t){var n=new s(t,this.editor);n.speed=2*this.$scrollSpeed,n.wheelX=t.wheelX,n.wheelY=t.wheelY,this.editor._emit(e,n)},this.onTouchMove=function(e,t){var n=new s(t,this.editor);n.speed=1,n.wheelX=t.wheelX,n.wheelY=t.wheelY,this.editor._emit(e,n)},this.setState=function(e){this.state=e},this.captureMouse=function(e,t){this.x=e.x,this.y=e.y,this.isMousePressed=!0;var n=this.editor.renderer;n.$keepTextAreaAtCursor&&(n.$keepTextAreaAtCursor=null);var i=this,a=function(e){if(e){if(r.isWebKit&&!e.which&&i.releaseMouse)return i.releaseMouse();i.x=e.clientX,i.y=e.clientY,t&&t(e),i.mouseEvent=new s(e,i.editor),i.$mouseMoved=!0}},l=function(e){clearInterval(u),c(),i[i.state+"End"]&&i[i.state+"End"](e),i.state="",null==n.$keepTextAreaAtCursor&&(n.$keepTextAreaAtCursor=!0,n.$moveTextAreaToCursor()),i.isMousePressed=!1,i.$onCaptureMouseMove=i.releaseMouse=null,e&&i.onMouseEvent("mouseup",e)},c=function(){i[i.state]&&i[i.state](),i.$mouseMoved=!1};if(r.isOldIE&&"dblclick"==e.domEvent.type)return setTimeout(function(){l(e)});i.$onCaptureMouseMove=a,i.releaseMouse=o.capture(this.editor.container,a,l);var u=setInterval(c,20)},this.releaseMouse=null,this.cancelContextMenu=function(){var e=(function(t){t&&t.domEvent&&"contextmenu"!=t.domEvent.type||(this.editor.off("nativecontextmenu",e),t&&t.domEvent&&o.stopEvent(t.domEvent))}).bind(this);setTimeout(e,10),this.editor.on("nativecontextmenu",e)}}).call(u.prototype),c.defineOptions(u.prototype,"mouseHandler",{scrollSpeed:{initialValue:2},dragDelay:{initialValue:r.isMac?150:0},dragEnabled:{initialValue:!0},focusTimout:{initialValue:0},tooltipFollowsMouse:{initialValue:!0}}),t.MouseHandler=u}),ace.define("ace/mouse/fold_handler",["require","exports","module"],function(e,t,n){"use strict";t.FoldHandler=function(e){e.on("click",function(t){var n=t.getDocumentPosition(),o=e.session,r=o.getFoldAt(n.row,n.column,1);r&&(t.getAccelKey()?o.removeFold(r):o.expandFold(r),t.stop())}),e.on("gutterclick",function(t){if("foldWidgets"==e.renderer.$gutterLayer.getRegion(t)){var n=t.getDocumentPosition().row,o=e.session;o.foldWidgets&&o.foldWidgets[n]&&e.session.onFoldWidgetClick(n,t),e.isFocused()||e.focus(),t.stop()}}),e.on("gutterdblclick",function(t){if("foldWidgets"==e.renderer.$gutterLayer.getRegion(t)){var n=t.getDocumentPosition().row,o=e.session,r=o.getParentFoldRangeData(n,!0),i=r.range||r.firstRange;if(i){var a=o.getFoldAt(n=i.start.row,o.getLine(n).length,1);a?o.removeFold(a):(o.addFold("...",i),e.renderer.scrollCursorIntoView({row:i.start.row,column:0}))}t.stop()}})}}),ace.define("ace/keyboard/keybinding",["require","exports","module","ace/lib/keys","ace/lib/event"],function(e,t,n){"use strict";var o=e("../lib/keys"),r=e("../lib/event"),i=function(e){this.$editor=e,this.$data={editor:e},this.$handlers=[],this.setDefaultHandler(e.commands)};(function(){this.setDefaultHandler=function(e){this.removeKeyboardHandler(this.$defaultHandler),this.$defaultHandler=e,this.addKeyboardHandler(e,0)},this.setKeyboardHandler=function(e){var t=this.$handlers;if(t[t.length-1]!=e){for(;t[t.length-1]&&t[t.length-1]!=this.$defaultHandler;)this.removeKeyboardHandler(t[t.length-1]);this.addKeyboardHandler(e,1)}},this.addKeyboardHandler=function(e,t){if(e){"function"!=typeof e||e.handleKeyboard||(e.handleKeyboard=e);var n=this.$handlers.indexOf(e);-1!=n&&this.$handlers.splice(n,1),null==t?this.$handlers.push(e):this.$handlers.splice(t,0,e),-1==n&&e.attach&&e.attach(this.$editor)}},this.removeKeyboardHandler=function(e){var t=this.$handlers.indexOf(e);return-1!=t&&(this.$handlers.splice(t,1),e.detach&&e.detach(this.$editor),!0)},this.getKeyboardHandler=function(){return this.$handlers[this.$handlers.length-1]},this.getStatusText=function(){var e=this.$data,t=e.editor;return this.$handlers.map(function(n){return n.getStatusText&&n.getStatusText(t,e)||""}).filter(Boolean).join(" ")},this.$callKeyboardHandlers=function(e,t,n,o){for(var i,a=!1,s=this.$editor.commands,l=this.$handlers.length;l--&&!((i=this.$handlers[l].handleKeyboard(this.$data,e,t,n,o))&&i.command&&((a="null"==i.command||s.exec(i.command,this.$editor,i.args,o))&&o&&-1!=e&&1!=i.passEvent&&1!=i.command.passEvent&&r.stopEvent(o),a)););return a||-1!=e||(i={command:"insertstring"},a=s.exec("insertstring",this.$editor,t)),a&&this.$editor._signal&&this.$editor._signal("keyboardActivity",i),a},this.onCommandKey=function(e,t,n){var r=o.keyCodeToString(n);this.$callKeyboardHandlers(t,r,n,e)},this.onTextInput=function(e){this.$callKeyboardHandlers(-1,e)}}).call(i.prototype),t.KeyBinding=i}),ace.define("ace/lib/bidiutil",["require","exports","module"],function(e,t,n){"use strict";var o=0,r=0,i=!1,a=!1,s=!1,l=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],c=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],u=1,d=0,h=1,p=2,f=3,m=4,g=5,v=6,_=7,y=8,b=9,C=10,E=11,w=12,k=13,A=14,S=15,O=16,x=17,D=18,T=[D,D,D,D,D,D,D,D,D,v,g,v,y,g,D,D,D,D,D,D,D,D,D,D,D,D,D,D,g,g,g,v,y,m,m,E,E,E,m,m,m,m,m,C,b,C,b,b,p,p,p,p,p,p,p,p,p,p,b,m,m,m,m,m,m,d,d,d,d,d,d,d,d,d,d,d,d,d,d,d,d,d,d,d,d,d,d,d,d,d,d,m,m,m,m,m,m,d,d,d,d,d,d,d,d,d,d,d,d,d,d,d,d,d,d,d,d,d,d,d,d,d,d,m,m,m,m,D,D,D,D,D,D,g,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,b,m,E,E,E,E,m,m,m,m,d,m,m,D,m,m,E,E,p,p,m,d,m,m,m,p,d,m,m,m,m,m],R=[y,y,y,y,y,y,y,y,y,y,y,D,D,D,d,h,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,y,g,k,A,S,O,x,b,E,E,E,E,E,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,b,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,y];function P(e,t,n){if(!(r<e))if(1!=e||o!=u||a)for(var i,s,l,c,d=n.length,h=0;h<d;){if(t[h]>=e){for(i=h+1;i<d&&t[i]>=e;)i++;for(s=h,l=i-1;s<l;s++,l--)c=n[s],n[s]=n[l],n[l]=c;h=i}h++}else n.reverse()}function M(e,t,n,r){var l,c,u,T,R=t[r];switch(R){case d:case h:i=!1;case m:case f:return R;case p:return i?f:p;case _:return i=!0,h;case y:return m;case b:return r<1||r+1>=t.length||(l=n[r-1])!=p&&l!=f||(c=t[r+1])!=p&&c!=f?m:(i&&(c=f),c==l?c:m);case C:return(l=r>0?n[r-1]:g)==p&&r+1<t.length&&t[r+1]==p?p:m;case E:if(r>0&&n[r-1]==p)return p;if(i)return m;for(T=r+1,u=t.length;T<u&&t[T]==E;)T++;return T<u&&t[T]==p?p:m;case w:for(u=t.length,T=r+1;T<u&&t[T]==w;)T++;if(T<u){var P=e[r];if(l=t[T],(P>=1425&&P<=2303||64286==P)&&(l==h||l==_))return h}return r<1||(l=t[r-1])==g?m:n[r-1];case g:return i=!1,a=!0,o;case v:return s=!0,m;case k:case A:case O:case x:case S:i=!1;case D:return m}}function I(e){var t=e.charCodeAt(0),n=t>>8;return 0==n?t>191?d:T[t]:5==n?/[\u0591-\u05f4]/.test(e)?h:d:6==n?/[\u0610-\u061a\u064b-\u065f\u06d6-\u06e4\u06e7-\u06ed]/.test(e)?w:/[\u0660-\u0669\u066b-\u066c]/.test(e)?f:1642==t?E:/[\u06f0-\u06f9]/.test(e)?p:_:32==n&&t<=8287?R[255&t]:254==n&&t>=65136?_:m}t.L=d,t.R=h,t.EN=p,t.ON_R=3,t.AN=4,t.R_H=5,t.B=6,t.DOT="\xb7",t.doBidiReorder=function(e,n,d){if(e.length<2)return{};var p=e.split(""),b=new Array(p.length),C=new Array(p.length),E=[];o=d?u:0,function(e,t,n,u){var d=o?c:l,h=null,p=null,f=null,m=0,_=null,b=-1,C=null,E=null,w=[];if(!u)for(C=0,u=[];C<n;C++)u[C]=I(e[C]);for(r=o,i=!1,a=!1,s=!1,E=0;E<n;E++){if(h=m,w[E]=p=M(e,u,w,E),_=240&(m=d[h][p]),t[E]=f=d[m&=15][5],_>0)if(16==_){for(C=b;C<E;C++)t[C]=1;b=-1}else b=-1;if(d[m][6])-1==b&&(b=E);else if(b>-1){for(C=b;C<E;C++)t[C]=f;b=-1}u[E]==g&&(t[E]=0),r|=f}if(s)for(C=0;C<n;C++)if(u[C]==v){t[C]=o;for(var k=C-1;k>=0&&u[k]==y;k--)t[k]=o}}(p,E,p.length,n);for(var w=0;w<b.length;b[w]=w,w++);for(P(2,E,b),P(1,E,b),w=0;w<b.length-1;w++)n[w]===f?E[w]=t.AN:E[w]===h&&(n[w]>_&&n[w]<k||n[w]===m||n[w]===D)?E[w]=t.ON_R:w>0&&"\u0644"===p[w-1]&&/\u0622|\u0623|\u0625|\u0627/.test(p[w])&&(E[w-1]=E[w]=t.R_H,w++);for(p[p.length-1]===t.DOT&&(E[p.length-1]=t.B),w=0;w<b.length;w++)C[w]=E[b[w]];return{logicalFromVisual:b,bidiLevels:C}},t.hasBidiCharacters=function(e,t){for(var n=!1,o=0;o<e.length;o++)t[o]=I(e.charAt(o)),n||t[o]!=h&&t[o]!=_||(n=!0);return n},t.getVisualFromLogicalIdx=function(e,t){for(var n=0;n<t.logicalFromVisual.length;n++)if(t.logicalFromVisual[n]==e)return n;return 0}}),ace.define("ace/bidihandler",["require","exports","module","ace/lib/bidiutil","ace/lib/lang","ace/lib/useragent"],function(e,t,n){"use strict";var o=e("./lib/bidiutil"),r=e("./lib/lang"),i=e("./lib/useragent"),a=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,s=function(e){this.session=e,this.bidiMap={},this.currentRow=null,this.bidiUtil=o,this.charWidths=[],this.EOL="\xac",this.showInvisibles=!0,this.isRtlDir=!1,this.line="",this.wrapIndent=0,this.isLastRow=!1,this.EOF="\xb6",this.seenBidi=!1};(function(){this.isBidiRow=function(e,t,n){return!!this.seenBidi&&(e!==this.currentRow&&(this.currentRow=e,this.updateRowLine(t,n),this.updateBidiMap()),this.bidiMap.bidiLevels)},this.onChange=function(e){this.seenBidi?this.currentRow=null:"insert"==e.action&&a.test(e.lines.join("\n"))&&(this.seenBidi=!0,this.currentRow=null)},this.getDocumentRow=function(){var e=0,t=this.session.$screenRowCache;if(t.length){var n=this.session.$getRowCacheIndex(t,this.currentRow);n>=0&&(e=this.session.$docRowCache[n])}return e},this.getSplitIndex=function(){var e=0,t=this.session.$screenRowCache;if(t.length)for(var n,o=this.session.$getRowCacheIndex(t,this.currentRow);this.currentRow-e>0&&(n=this.session.$getRowCacheIndex(t,this.currentRow-e-1))===o;)o=n,e++;return e},this.updateRowLine=function(e,t){if(void 0===e&&(e=this.getDocumentRow()),this.wrapIndent=0,this.isLastRow=e===this.session.getLength()-1,this.line=this.session.getLine(e),this.session.$useWrapMode){var n=this.session.$wrapData[e];n&&(void 0===t&&(t=this.getSplitIndex()),t>0&&n.length?(this.wrapIndent=n.indent,this.line=t<n.length?this.line.substring(n[t-1],n[n.length-1]):this.line.substring(n[n.length-1])):this.line=this.line.substring(0,n[t]))}var i,a=this.session,s=0;this.line=this.line.replace(/\t|[\u1100-\u2029, \u202F-\uFFE6]/g,function(e,t){return"\t"===e||a.isFullWidth(e.charCodeAt(0))?(i="\t"===e?a.getScreenTabSize(t+s):2,s+=i-1,r.stringRepeat(o.DOT,i)):e})},this.updateBidiMap=function(){var e=[],t=this.line+(this.showInvisibles?this.isLastRow?this.EOF:this.EOL:o.DOT);this.bidiMap=o.hasBidiCharacters(t,e)?o.doBidiReorder(t,e,this.isRtlDir):{}},this.markAsDirty=function(){this.currentRow=null},this.updateCharacterWidths=function(e){if(this.seenBidi&&this.characterWidth!==e.$characterSize.width){var t=this.characterWidth=e.$characterSize.width,n=e.$measureCharWidth("\u05d4");this.charWidths[o.L]=this.charWidths[o.EN]=this.charWidths[o.ON_R]=t,this.charWidths[o.R]=this.charWidths[o.AN]=n,this.charWidths[o.R_H]=i.isChrome?n:.45*n,this.charWidths[o.B]=0,this.currentRow=null}},this.getShowInvisibles=function(){return this.showInvisibles},this.setShowInvisibles=function(e){this.showInvisibles=e,this.currentRow=null},this.setEolChar=function(e){this.EOL=e},this.setTextDir=function(e){this.isRtlDir=e},this.getPosLeft=function(e){var t=o.getVisualFromLogicalIdx((e-=this.wrapIndent)>0?e-1:0,this.bidiMap),n=this.bidiMap.bidiLevels,r=0;0===e&&n[t]%2!=0&&t++;for(var i=0;i<t;i++)r+=this.charWidths[n[i]];return 0!==e&&n[t]%2==0&&(r+=this.charWidths[n[t]]),this.wrapIndent&&(r+=this.wrapIndent*this.charWidths[o.L]),r},this.getSelections=function(e,t){for(var n,r,i=this.bidiMap,a=i.bidiLevels,s=this.wrapIndent*this.charWidths[o.L],l=[],c=Math.min(e,t)-this.wrapIndent,u=Math.max(e,t)-this.wrapIndent,d=!1,h=!1,p=0,f=0;f<a.length;f++)n=a[f],(d=(r=i.logicalFromVisual[f])>=c&&r<u)&&!h?p=s:!d&&h&&l.push({left:p,width:s-p}),s+=this.charWidths[n],h=d;return d&&f===a.length&&l.push({left:p,width:s-p}),l},this.offsetToCol=function(e){var t=0,n=(e=Math.max(e,0),0),r=0,i=this.bidiMap.bidiLevels,a=this.charWidths[i[r]];for(this.wrapIndent&&(e-=this.wrapIndent*this.charWidths[o.L]);e>n+a/2;){if(n+=a,r===i.length-1){a=0;break}a=this.charWidths[i[++r]]}return r>0&&i[r-1]%2!=0&&i[r]%2==0?(e<n&&r--,t=this.bidiMap.logicalFromVisual[r]):r>0&&i[r-1]%2==0&&i[r]%2!=0?t=1+(e>n?this.bidiMap.logicalFromVisual[r]:this.bidiMap.logicalFromVisual[r-1]):this.isRtlDir&&r===i.length-1&&0===a&&i[r-1]%2==0||!this.isRtlDir&&0===r&&i[r]%2!=0?t=1+this.bidiMap.logicalFromVisual[r]:(r>0&&i[r-1]%2!=0&&0!==a&&r--,t=this.bidiMap.logicalFromVisual[r]),t+this.wrapIndent}}).call(s.prototype),t.BidiHandler=s}),ace.define("ace/range",["require","exports","module"],function(e,t,n){"use strict";var o=function(e,t,n,o){this.start={row:e,column:t},this.end={row:n,column:o}};(function(){this.isEqual=function(e){return this.start.row===e.start.row&&this.end.row===e.end.row&&this.start.column===e.start.column&&this.end.column===e.end.column},this.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(e,t){return 0==this.compare(e,t)},this.compareRange=function(e){var t,n=e.end,o=e.start;return 1==(t=this.compare(n.row,n.column))?1==(t=this.compare(o.row,o.column))?2:0==t?1:0:-1==t?-2:-1==(t=this.compare(o.row,o.column))?-1:1==t?42:0},this.comparePoint=function(e){return this.compare(e.row,e.column)},this.containsRange=function(e){return 0==this.comparePoint(e.start)&&0==this.comparePoint(e.end)},this.intersects=function(e){var t=this.compareRange(e);return-1==t||0==t||1==t},this.isEnd=function(e,t){return this.end.row==e&&this.end.column==t},this.isStart=function(e,t){return this.start.row==e&&this.start.column==t},this.setStart=function(e,t){"object"==typeof e?(this.start.column=e.column,this.start.row=e.row):(this.start.row=e,this.start.column=t)},this.setEnd=function(e,t){"object"==typeof e?(this.end.column=e.column,this.end.row=e.row):(this.end.row=e,this.end.column=t)},this.inside=function(e,t){return 0==this.compare(e,t)&&!this.isEnd(e,t)&&!this.isStart(e,t)},this.insideStart=function(e,t){return 0==this.compare(e,t)&&!this.isEnd(e,t)},this.insideEnd=function(e,t){return 0==this.compare(e,t)&&!this.isStart(e,t)},this.compare=function(e,t){return this.isMultiLine()||e!==this.start.row?e<this.start.row?-1:e>this.end.row?1:this.start.row===e?t>=this.start.column?0:-1:this.end.row===e?t<=this.end.column?0:1:0:t<this.start.column?-1:t>this.end.column?1:0},this.compareStart=function(e,t){return this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.compareEnd=function(e,t){return this.end.row==e&&this.end.column==t?1:this.compare(e,t)},this.compareInside=function(e,t){return this.end.row==e&&this.end.column==t?1:this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.clipRows=function(e,t){if(this.end.row>t)var n={row:t+1,column:0};else this.end.row<e&&(n={row:e,column:0});if(this.start.row>t)var r={row:t+1,column:0};else this.start.row<e&&(r={row:e,column:0});return o.fromPoints(r||this.start,n||this.end)},this.extend=function(e,t){var n=this.compare(e,t);if(0==n)return this;if(-1==n)var r={row:e,column:t};else var i={row:e,column:t};return o.fromPoints(r||this.start,i||this.end)},this.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},this.isMultiLine=function(){return this.start.row!==this.end.row},this.clone=function(){return o.fromPoints(this.start,this.end)},this.collapseRows=function(){return new o(this.start.row,0,0==this.end.column?Math.max(this.start.row,this.end.row-1):this.end.row,0)},this.toScreenRange=function(e){var t=e.documentToScreenPosition(this.start),n=e.documentToScreenPosition(this.end);return new o(t.row,t.column,n.row,n.column)},this.moveBy=function(e,t){this.start.row+=e,this.start.column+=t,this.end.row+=e,this.end.column+=t}}).call(o.prototype),o.fromPoints=function(e,t){return new o(e.row,e.column,t.row,t.column)},o.comparePoints=function(e,t){return e.row-t.row||e.column-t.column},o.comparePoints=function(e,t){return e.row-t.row||e.column-t.column},t.Range=o}),ace.define("ace/selection",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/range"],function(e,t,n){"use strict";var o=e("./lib/oop"),r=e("./lib/lang"),i=e("./lib/event_emitter").EventEmitter,a=e("./range").Range,s=function(e){this.session=e,this.doc=e.getDocument(),this.clearSelection(),this.lead=this.selectionLead=this.doc.createAnchor(0,0),this.anchor=this.selectionAnchor=this.doc.createAnchor(0,0);var t=this;this.lead.on("change",function(e){t._emit("changeCursor"),t.$isEmpty||t._emit("changeSelection"),t.$keepDesiredColumnOnChange||e.old.column==e.value.column||(t.$desiredColumn=null)}),this.selectionAnchor.on("change",function(){t.$isEmpty||t._emit("changeSelection")})};(function(){o.implement(this,i),this.isEmpty=function(){return this.$isEmpty||this.anchor.row==this.lead.row&&this.anchor.column==this.lead.column},this.isMultiLine=function(){return!this.isEmpty()&&this.getRange().isMultiLine()},this.getCursor=function(){return this.lead.getPosition()},this.setSelectionAnchor=function(e,t){this.anchor.setPosition(e,t),this.$isEmpty&&(this.$isEmpty=!1,this._emit("changeSelection"))},this.getSelectionAnchor=function(){return this.$isEmpty?this.getSelectionLead():this.anchor.getPosition()},this.getSelectionLead=function(){return this.lead.getPosition()},this.shiftSelection=function(e){if(this.$isEmpty)this.moveCursorTo(this.lead.row,this.lead.column+e);else{var t=this.getSelectionAnchor(),n=this.getSelectionLead(),o=this.isBackwards();o&&0===t.column||this.setSelectionAnchor(t.row,t.column+e),(o||0!==n.column)&&this.$moveSelection(function(){this.moveCursorTo(n.row,n.column+e)})}},this.isBackwards=function(){var e=this.anchor,t=this.lead;return e.row>t.row||e.row==t.row&&e.column>t.column},this.getRange=function(){var e=this.anchor,t=this.lead;return this.isEmpty()?a.fromPoints(t,t):this.isBackwards()?a.fromPoints(t,e):a.fromPoints(e,t)},this.clearSelection=function(){this.$isEmpty||(this.$isEmpty=!0,this._emit("changeSelection"))},this.selectAll=function(){var e=this.doc.getLength()-1;this.setSelectionAnchor(0,0),this.moveCursorTo(e,this.doc.getLine(e).length)},this.setRange=this.setSelectionRange=function(e,t){t?(this.setSelectionAnchor(e.end.row,e.end.column),this.selectTo(e.start.row,e.start.column)):(this.setSelectionAnchor(e.start.row,e.start.column),this.selectTo(e.end.row,e.end.column)),this.getRange().isEmpty()&&(this.$isEmpty=!0),this.$desiredColumn=null},this.$moveSelection=function(e){var t=this.lead;this.$isEmpty&&this.setSelectionAnchor(t.row,t.column),e.call(this)},this.selectTo=function(e,t){this.$moveSelection(function(){this.moveCursorTo(e,t)})},this.selectToPosition=function(e){this.$moveSelection(function(){this.moveCursorToPosition(e)})},this.moveTo=function(e,t){this.clearSelection(),this.moveCursorTo(e,t)},this.moveToPosition=function(e){this.clearSelection(),this.moveCursorToPosition(e)},this.selectUp=function(){this.$moveSelection(this.moveCursorUp)},this.selectDown=function(){this.$moveSelection(this.moveCursorDown)},this.selectRight=function(){this.$moveSelection(this.moveCursorRight)},this.selectLeft=function(){this.$moveSelection(this.moveCursorLeft)},this.selectLineStart=function(){this.$moveSelection(this.moveCursorLineStart)},this.selectLineEnd=function(){this.$moveSelection(this.moveCursorLineEnd)},this.selectFileEnd=function(){this.$moveSelection(this.moveCursorFileEnd)},this.selectFileStart=function(){this.$moveSelection(this.moveCursorFileStart)},this.selectWordRight=function(){this.$moveSelection(this.moveCursorWordRight)},this.selectWordLeft=function(){this.$moveSelection(this.moveCursorWordLeft)},this.getWordRange=function(e,t){if(void 0===t){var n=e||this.lead;e=n.row,t=n.column}return this.session.getWordRange(e,t)},this.selectWord=function(){this.setSelectionRange(this.getWordRange())},this.selectAWord=function(){var e=this.getCursor(),t=this.session.getAWordRange(e.row,e.column);this.setSelectionRange(t)},this.getLineRange=function(e,t){var n,o="number"==typeof e?e:this.lead.row,r=this.session.getFoldLine(o);return r?(o=r.start.row,n=r.end.row):n=o,!0===t?new a(o,0,n,this.session.getLine(n).length):new a(o,0,n+1,0)},this.selectLine=function(){this.setSelectionRange(this.getLineRange())},this.moveCursorUp=function(){this.moveCursorBy(-1,0)},this.moveCursorDown=function(){this.moveCursorBy(1,0)},this.wouldMoveIntoSoftTab=function(e,t,n){var o=e.column,r=e.column+t;return n<0&&(o=e.column-t,r=e.column),this.session.isTabStop(e)&&this.doc.getLine(e.row).slice(o,r).split(" ").length-1==t},this.moveCursorLeft=function(){var e,t=this.lead.getPosition();if(e=this.session.getFoldAt(t.row,t.column,-1))this.moveCursorTo(e.start.row,e.start.column);else if(0===t.column)t.row>0&&this.moveCursorTo(t.row-1,this.doc.getLine(t.row-1).length);else{var n=this.session.getTabSize();this.wouldMoveIntoSoftTab(t,n,-1)&&!this.session.getNavigateWithinSoftTabs()?this.moveCursorBy(0,-n):this.moveCursorBy(0,-1)}},this.moveCursorRight=function(){var e,t=this.lead.getPosition();if(e=this.session.getFoldAt(t.row,t.column,1))this.moveCursorTo(e.end.row,e.end.column);else if(this.lead.column==this.doc.getLine(this.lead.row).length)this.lead.row<this.doc.getLength()-1&&this.moveCursorTo(this.lead.row+1,0);else{var n=this.session.getTabSize();this.wouldMoveIntoSoftTab(t=this.lead,n,1)&&!this.session.getNavigateWithinSoftTabs()?this.moveCursorBy(0,n):this.moveCursorBy(0,1)}},this.moveCursorLineStart=function(){var e=this.lead.row,t=this.lead.column,n=this.session.documentToScreenRow(e,t),o=this.session.screenToDocumentPosition(n,0),r=this.session.getDisplayLine(e,null,o.row,o.column).match(/^\s*/);r[0].length==t||this.session.$useEmacsStyleLineStart||(o.column+=r[0].length),this.moveCursorToPosition(o)},this.moveCursorLineEnd=function(){var e=this.lead,t=this.session.getDocumentLastRowColumnPosition(e.row,e.column);if(this.lead.column==t.column){var n=this.session.getLine(t.row);if(t.column==n.length){var o=n.search(/\s+$/);o>0&&(t.column=o)}}this.moveCursorTo(t.row,t.column)},this.moveCursorFileEnd=function(){var e=this.doc.getLength()-1,t=this.doc.getLine(e).length;this.moveCursorTo(e,t)},this.moveCursorFileStart=function(){this.moveCursorTo(0,0)},this.moveCursorLongWordRight=function(){var e=this.lead.row,t=this.lead.column,n=this.doc.getLine(e),o=n.substring(t);this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0;var r=this.session.getFoldAt(e,t,1);if(r)this.moveCursorTo(r.end.row,r.end.column);else{if(this.session.nonTokenRe.exec(o)&&(t+=this.session.nonTokenRe.lastIndex,this.session.nonTokenRe.lastIndex=0,o=n.substring(t)),t>=n.length)return this.moveCursorTo(e,n.length),this.moveCursorRight(),void(e<this.doc.getLength()-1&&this.moveCursorWordRight());this.session.tokenRe.exec(o)&&(t+=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(e,t)}},this.moveCursorLongWordLeft=function(){var e,t=this.lead.row,n=this.lead.column;if(e=this.session.getFoldAt(t,n,-1))this.moveCursorTo(e.start.row,e.start.column);else{var o=this.session.getFoldStringAt(t,n,-1);null==o&&(o=this.doc.getLine(t).substring(0,n));var i=r.stringReverse(o);if(this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0,this.session.nonTokenRe.exec(i)&&(n-=this.session.nonTokenRe.lastIndex,i=i.slice(this.session.nonTokenRe.lastIndex),this.session.nonTokenRe.lastIndex=0),n<=0)return this.moveCursorTo(t,0),this.moveCursorLeft(),void(t>0&&this.moveCursorWordLeft());this.session.tokenRe.exec(i)&&(n-=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(t,n)}},this.$shortWordEndIndex=function(e){var t,n=0,o=/\s/,r=this.session.tokenRe;if(r.lastIndex=0,this.session.tokenRe.exec(e))n=this.session.tokenRe.lastIndex;else{for(;(t=e[n])&&o.test(t);)n++;if(n<1)for(r.lastIndex=0;(t=e[n])&&!r.test(t);)if(r.lastIndex=0,n++,o.test(t)){if(n>2){n--;break}for(;(t=e[n])&&o.test(t);)n++;if(n>2)break}}return r.lastIndex=0,n},this.moveCursorShortWordRight=function(){var e=this.lead.row,t=this.lead.column,n=this.doc.getLine(e),o=n.substring(t),r=this.session.getFoldAt(e,t,1);if(r)return this.moveCursorTo(r.end.row,r.end.column);if(t==n.length){var i=this.doc.getLength();do{o=this.doc.getLine(++e)}while(e<i&&/^\s*$/.test(o));/^\s+/.test(o)||(o=""),t=0}var a=this.$shortWordEndIndex(o);this.moveCursorTo(e,t+a)},this.moveCursorShortWordLeft=function(){var e,t=this.lead.row,n=this.lead.column;if(e=this.session.getFoldAt(t,n,-1))return this.moveCursorTo(e.start.row,e.start.column);var o=this.session.getLine(t).substring(0,n);if(0===n){do{o=this.doc.getLine(--t)}while(t>0&&/^\s*$/.test(o));n=o.length,/\s+$/.test(o)||(o="")}var i=r.stringReverse(o),a=this.$shortWordEndIndex(i);return this.moveCursorTo(t,n-a)},this.moveCursorWordRight=function(){this.session.$selectLongWords?this.moveCursorLongWordRight():this.moveCursorShortWordRight()},this.moveCursorWordLeft=function(){this.session.$selectLongWords?this.moveCursorLongWordLeft():this.moveCursorShortWordLeft()},this.moveCursorBy=function(e,t){var n,o=this.session.documentToScreenPosition(this.lead.row,this.lead.column);0===t&&(0!==e&&(this.session.$bidiHandler.isBidiRow(o.row,this.lead.row)?(n=this.session.$bidiHandler.getPosLeft(o.column),o.column=Math.round(n/this.session.$bidiHandler.charWidths[0])):n=o.column*this.session.$bidiHandler.charWidths[0]),this.$desiredColumn?o.column=this.$desiredColumn:this.$desiredColumn=o.column);var r=this.session.screenToDocumentPosition(o.row+e,o.column,n);0!==e&&0===t&&r.row===this.lead.row&&r.column===this.lead.column&&this.session.lineWidgets&&this.session.lineWidgets[r.row]&&(r.row>0||e>0)&&r.row++,this.moveCursorTo(r.row,r.column+t,0===t)},this.moveCursorToPosition=function(e){this.moveCursorTo(e.row,e.column)},this.moveCursorTo=function(e,t,n){var o=this.session.getFoldAt(e,t,1);o&&(e=o.start.row,t=o.start.column),this.$keepDesiredColumnOnChange=!0;var r=this.session.getLine(e);/[\uDC00-\uDFFF]/.test(r.charAt(t))&&r.charAt(t-1)&&(this.lead.row==e&&this.lead.column==t+1?t-=1:t+=1),this.lead.setPosition(e,t),this.$keepDesiredColumnOnChange=!1,n||(this.$desiredColumn=null)},this.moveCursorToScreen=function(e,t,n){var o=this.session.screenToDocumentPosition(e,t);this.moveCursorTo(o.row,o.column,n)},this.detach=function(){this.lead.detach(),this.anchor.detach(),this.session=this.doc=null},this.fromOrientedRange=function(e){this.setSelectionRange(e,e.cursor==e.start),this.$desiredColumn=e.desiredColumn||this.$desiredColumn},this.toOrientedRange=function(e){var t=this.getRange();return e?(e.start.column=t.start.column,e.start.row=t.start.row,e.end.column=t.end.column,e.end.row=t.end.row):e=t,e.cursor=this.isBackwards()?e.start:e.end,e.desiredColumn=this.$desiredColumn,e},this.getRangeOfMovements=function(e){var t=this.getCursor();try{e(this);var n=this.getCursor();return a.fromPoints(t,n)}catch(o){return a.fromPoints(t,t)}finally{this.moveCursorToPosition(t)}},this.toJSON=function(){if(this.rangeCount)var e=this.ranges.map(function(e){var t=e.clone();return t.isBackwards=e.cursor==e.start,t});else(e=this.getRange()).isBackwards=this.isBackwards();return e},this.fromJSON=function(e){if(null==e.start){if(this.rangeList){this.toSingleRange(e[0]);for(var t=e.length;t--;){var n=a.fromPoints(e[t].start,e[t].end);e[t].isBackwards&&(n.cursor=n.start),this.addRange(n,!0)}return}e=e[0]}this.rangeList&&this.toSingleRange(e),this.setSelectionRange(e,e.isBackwards)},this.isEqual=function(e){if((e.length||this.rangeCount)&&e.length!=this.rangeCount)return!1;if(!e.length||!this.ranges)return this.getRange().isEqual(e);for(var t=this.ranges.length;t--;)if(!this.ranges[t].isEqual(e[t]))return!1;return!0}}).call(s.prototype),t.Selection=s}),ace.define("ace/tokenizer",["require","exports","module","ace/config"],function(e,t,n){"use strict";var o=e("./config"),r=2e3,i=function(e){for(var t in this.states=e,this.regExps={},this.matchMappings={},this.states){for(var n=this.states[t],o=[],r=0,i=this.matchMappings[t]={defaultToken:"text"},a="g",s=[],l=0;l<n.length;l++){var c=n[l];if(c.defaultToken&&(i.defaultToken=c.defaultToken),c.caseInsensitive&&(a="gi"),null!=c.regex){c.regex instanceof RegExp&&(c.regex=c.regex.toString().slice(1,-1));var u=c.regex,d=new RegExp("(?:("+u+")|(.))").exec("a").length-2;Array.isArray(c.token)?1==c.token.length||1==d?c.token=c.token[0]:d-1!=c.token.length?(this.reportError("number of classes and regexp groups doesn't match",{rule:c,groupCount:d-1}),c.token=c.token[0]):(c.tokenArray=c.token,c.token=null,c.onMatch=this.$arrayTokens):"function"!=typeof c.token||c.onMatch||(c.onMatch=d>1?this.$applyToken:c.token),d>1&&(/\\\d/.test(c.regex)?u=c.regex.replace(/\\([0-9]+)/g,function(e,t){return"\\"+(parseInt(t,10)+r+1)}):(d=1,u=this.removeCapturingGroups(c.regex)),c.splitRegex||"string"==typeof c.token||s.push(c)),i[r]=l,r+=d,o.push(u),c.onMatch||(c.onMatch=null)}}o.length||(i[0]=0,o.push("$")),s.forEach(function(e){e.splitRegex=this.createSplitterRegexp(e.regex,a)},this),this.regExps[t]=new RegExp("("+o.join(")|(")+")|($)",a)}};(function(){this.$setMaxTokenCount=function(e){r=0|e},this.$applyToken=function(e){var t=this.splitRegex.exec(e).slice(1),n=this.token.apply(this,t);if("string"==typeof n)return[{type:n,value:e}];for(var o=[],r=0,i=n.length;r<i;r++)t[r]&&(o[o.length]={type:n[r],value:t[r]});return o},this.$arrayTokens=function(e){if(!e)return[];var t=this.splitRegex.exec(e);if(!t)return"text";for(var n=[],o=this.tokenArray,r=0,i=o.length;r<i;r++)t[r+1]&&(n[n.length]={type:o[r],value:t[r+1]});return n},this.removeCapturingGroups=function(e){return e.replace(/\[(?:\\.|[^\]])*?\]|\\.|\(\?[:=!]|(\()/g,function(e,t){return t?"(?:":e})},this.createSplitterRegexp=function(e,t){if(-1!=e.indexOf("(?=")){var n=0,o=!1,r={};e.replace(/(\\.)|(\((?:\?[=!])?)|(\))|([\[\]])/g,function(e,t,i,a,s,l){return o?o="]"!=s:s?o=!0:a?(n==r.stack&&(r.end=l+1,r.stack=-1),n--):i&&(n++,1!=i.length&&(r.stack=n,r.start=l)),e}),null!=r.end&&/^\)*$/.test(e.substr(r.end))&&(e=e.substring(0,r.start)+e.substr(r.end))}return"^"!=e.charAt(0)&&(e="^"+e),"$"!=e.charAt(e.length-1)&&(e+="$"),new RegExp(e,(t||"").replace("g",""))},this.getLineTokens=function(e,t){if(t&&"string"!=typeof t){var n=t.slice(0);"#tmp"===(t=n[0])&&(n.shift(),t=n.shift())}else n=[];var o=t||"start",i=this.states[o];i||(i=this.states[o="start"]);var a=this.matchMappings[o],s=this.regExps[o];s.lastIndex=0;for(var l,c=[],u=0,d=0,h={type:null,value:""};l=s.exec(e);){var p=a.defaultToken,f=null,m=l[0],g=s.lastIndex;if(g-m.length>u){var v=e.substring(u,g-m.length);h.type==p?h.value+=v:(h.type&&c.push(h),h={type:p,value:v})}for(var _=0;_<l.length-2;_++)if(void 0!==l[_+1]){p=(f=i[a[_]]).onMatch?f.onMatch(m,o,n,e):f.token,f.next&&(o="string"==typeof f.next?f.next:f.next(o,n),(i=this.states[o])||(this.reportError("state doesn't exist",o),i=this.states[o="start"]),a=this.matchMappings[o],u=g,(s=this.regExps[o]).lastIndex=g),f.consumeLineEnd&&(u=g);break}if(m)if("string"==typeof p)f&&!1===f.merge||h.type!==p?(h.type&&c.push(h),h={type:p,value:m}):h.value+=m;else if(p)for(h.type&&c.push(h),h={type:null,value:""},_=0;_<p.length;_++)c.push(p[_]);if(u==e.length)break;if(u=g,d++>r){for(d>2*e.length&&this.reportError("infinite loop with in ace tokenizer",{startState:t,line:e});u<e.length;)h.type&&c.push(h),h={value:e.substring(u,u+=2e3),type:"overflow"};o="start",n=[];break}}return h.type&&c.push(h),n.length>1&&n[0]!==o&&n.unshift("#tmp",o),{tokens:c,state:n.length?n:o}},this.reportError=o.reportError}).call(i.prototype),t.Tokenizer=i}),ace.define("ace/mode/text_highlight_rules",["require","exports","module","ace/lib/lang"],function(e,t,n){"use strict";var o=e("../lib/lang"),r=function(){this.$rules={start:[{token:"empty_line",regex:"^$"},{defaultToken:"text"}]}};(function(){this.addRules=function(e,t){if(t)for(var n in e){for(var o=e[n],r=0;r<o.length;r++){var i=o[r];(i.next||i.onMatch)&&("string"==typeof i.next&&0!==i.next.indexOf(t)&&(i.next=t+i.next),i.nextState&&0!==i.nextState.indexOf(t)&&(i.nextState=t+i.nextState))}this.$rules[t+n]=o}else for(var n in e)this.$rules[n]=e[n]},this.getRules=function(){return this.$rules},this.embedRules=function(e,t,n,r,i){var a="function"==typeof e?(new e).getRules():e;if(r)for(var s=0;s<r.length;s++)r[s]=t+r[s];else for(var l in r=[],a)r.push(t+l);if(this.addRules(a,t),n){var c=Array.prototype[i?"push":"unshift"];for(s=0;s<r.length;s++)c.apply(this.$rules[r[s]],o.deepCopy(n))}this.$embeds||(this.$embeds=[]),this.$embeds.push(t)},this.getEmbeds=function(){return this.$embeds};var e=function(e,t){return("start"!=e||t.length)&&t.unshift(this.nextState,e),this.nextState},t=function(e,t){return t.shift(),t.shift()||"start"};this.normalizeRules=function(){var n=0,o=this.$rules;Object.keys(o).forEach(function r(i){var a=o[i];a.processed=!0;for(var s=0;s<a.length;s++){var l=a[s],c=null;Array.isArray(l)&&(c=l,l={}),!l.regex&&l.start&&(l.regex=l.start,l.next||(l.next=[]),l.next.push({defaultToken:l.token},{token:l.token+".end",regex:l.end||l.start,next:"pop"}),l.token=l.token+".start",l.push=!0);var u=l.next||l.push;if(u&&Array.isArray(u)){var d=l.stateName;d||("string"!=typeof(d=l.token)&&(d=d[0]||""),o[d]&&(d+=n++)),o[d]=u,l.next=d,r(d)}else"pop"==u&&(l.next=t);if(l.push&&(l.nextState=l.next||l.push,l.next=e,delete l.push),l.rules)for(var h in l.rules)o[h]?o[h].push&&o[h].push.apply(o[h],l.rules[h]):o[h]=l.rules[h];var p="string"==typeof l?l:l.include;if(p&&(c=Array.isArray(p)?p.map(function(e){return o[e]}):o[p]),c){var f=[s,1].concat(c);l.noEscape&&(f=f.filter(function(e){return!e.next})),a.splice.apply(a,f),s--}l.keywordMap&&(l.token=this.createKeywordMapper(l.keywordMap,l.defaultToken||"text",l.caseInsensitive),delete l.defaultToken)}},this)},this.createKeywordMapper=function(e,t,n,o){var r=Object.create(null);return Object.keys(e).forEach(function(t){var i=e[t];n&&(i=i.toLowerCase());for(var a=i.split(o||"|"),s=a.length;s--;)r[a[s]]=t}),Object.getPrototypeOf(r)&&(r.__proto__=null),this.$keywordList=Object.keys(r),e=null,n?function(e){return r[e.toLowerCase()]||t}:function(e){return r[e]||t}},this.getKeywords=function(){return this.$keywords}}).call(r.prototype),t.TextHighlightRules=r}),ace.define("ace/mode/behaviour",["require","exports","module"],function(e,t,n){"use strict";var o=function(){this.$behaviours={}};(function(){this.add=function(e,t,n){switch(void 0){case this.$behaviours:this.$behaviours={};case this.$behaviours[e]:this.$behaviours[e]={}}this.$behaviours[e][t]=n},this.addBehaviours=function(e){for(var t in e)for(var n in e[t])this.add(t,n,e[t][n])},this.remove=function(e){this.$behaviours&&this.$behaviours[e]&&delete this.$behaviours[e]},this.inherit=function(e,t){if("function"==typeof e)var n=(new e).getBehaviours(t);else n=e.getBehaviours(t);this.addBehaviours(n)},this.getBehaviours=function(e){if(e){for(var t={},n=0;n<e.length;n++)this.$behaviours[e[n]]&&(t[e[n]]=this.$behaviours[e[n]]);return t}return this.$behaviours}}).call(o.prototype),t.Behaviour=o}),ace.define("ace/token_iterator",["require","exports","module","ace/range"],function(e,t,n){"use strict";var o=e("./range").Range,r=function(e,t,n){this.$session=e,this.$row=t,this.$rowTokens=e.getTokens(t);var o=e.getTokenAt(t,n);this.$tokenIndex=o?o.index:-1};(function(){this.stepBackward=function(){for(this.$tokenIndex-=1;this.$tokenIndex<0;){if(this.$row-=1,this.$row<0)return this.$row=0,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=this.$rowTokens.length-1}return this.$rowTokens[this.$tokenIndex]},this.stepForward=function(){var e;for(this.$tokenIndex+=1;this.$tokenIndex>=this.$rowTokens.length;){if(this.$row+=1,e||(e=this.$session.getLength()),this.$row>=e)return this.$row=e-1,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=0}return this.$rowTokens[this.$tokenIndex]},this.getCurrentToken=function(){return this.$rowTokens[this.$tokenIndex]},this.getCurrentTokenRow=function(){return this.$row},this.getCurrentTokenColumn=function(){var e=this.$rowTokens,t=this.$tokenIndex,n=e[t].start;if(void 0!==n)return n;for(n=0;t>0;)n+=e[t-=1].value.length;return n},this.getCurrentTokenPosition=function(){return{row:this.$row,column:this.getCurrentTokenColumn()}},this.getCurrentTokenRange=function(){var e=this.$rowTokens[this.$tokenIndex],t=this.getCurrentTokenColumn();return new o(this.$row,t,this.$row,t+e.value.length)}}).call(r.prototype),t.TokenIterator=r}),ace.define("ace/mode/behaviour/cstyle",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"],function(e,t,n){"use strict";var o,r=e("../../lib/oop"),i=e("../behaviour").Behaviour,a=e("../../token_iterator").TokenIterator,s=e("../../lib/lang"),l=["text","paren.rparen","punctuation.operator"],c=["text","paren.rparen","punctuation.operator","comment"],u={},d={'"':'"',"'":"'"},h=function(e){var t=-1;if(e.multiSelect&&(t=e.selection.index,u.rangeCount!=e.multiSelect.rangeCount&&(u={rangeCount:e.multiSelect.rangeCount})),u[t])return o=u[t];o=u[t]={autoInsertedBrackets:0,autoInsertedRow:-1,autoInsertedLineEnd:"",maybeInsertedBrackets:0,maybeInsertedRow:-1,maybeInsertedLineStart:"",maybeInsertedLineEnd:""}},p=function(e,t,n,o){var r=e.end.row-e.start.row;return{text:n+t+o,selection:[0,e.start.column+1,r,e.end.column+(r?0:1)]}},f=function(e){this.add("braces","insertion",function(t,n,r,i,a){var l=r.getCursorPosition(),c=i.doc.getLine(l.row);if("{"==a){h(r);var u=r.getSelectionRange(),d=i.doc.getTextRange(u);if(""!==d&&"{"!==d&&r.getWrapBehavioursEnabled())return p(u,d,"{","}");if(f.isSaneInsertion(r,i))return/[\]\}\)]/.test(c[l.column])||r.inMultiSelectMode||e&&e.braces?(f.recordAutoInsert(r,i,"}"),{text:"{}",selection:[1,1]}):(f.recordMaybeInsert(r,i,"{"),{text:"{",selection:[1,1]})}else if("}"==a){if(h(r),"}"==c.substring(l.column,l.column+1)&&null!==i.$findOpeningBracket("}",{column:l.column+1,row:l.row})&&f.isAutoInsertedClosing(l,c,a))return f.popAutoInsertedClosing(),{text:"",selection:[1,1]}}else{if("\n"==a||"\r\n"==a){h(r);var m="";if(f.isMaybeInsertedClosing(l,c)&&(m=s.stringRepeat("}",o.maybeInsertedBrackets),f.clearMaybeInsertedClosing()),"}"===c.substring(l.column,l.column+1)){var g=i.findMatchingBracket({row:l.row,column:l.column+1},"}");if(!g)return null;var v=this.$getIndent(i.getLine(g.row))}else{if(!m)return void f.clearMaybeInsertedClosing();v=this.$getIndent(c)}var _=v+i.getTabString();return{text:"\n"+_+"\n"+v+m,selection:[1,_.length,1,_.length]}}f.clearMaybeInsertedClosing()}}),this.add("braces","deletion",function(e,t,n,r,i){var a=r.doc.getTextRange(i);if(!i.isMultiLine()&&"{"==a){if(h(n),"}"==r.doc.getLine(i.start.row).substring(i.end.column,i.end.column+1))return i.end.column++,i;o.maybeInsertedBrackets--}}),this.add("parens","insertion",function(e,t,n,o,r){if("("==r){h(n);var i=n.getSelectionRange(),a=o.doc.getTextRange(i);if(""!==a&&n.getWrapBehavioursEnabled())return p(i,a,"(",")");if(f.isSaneInsertion(n,o))return f.recordAutoInsert(n,o,")"),{text:"()",selection:[1,1]}}else if(")"==r){h(n);var s=n.getCursorPosition(),l=o.doc.getLine(s.row);if(")"==l.substring(s.column,s.column+1)&&null!==o.$findOpeningBracket(")",{column:s.column+1,row:s.row})&&f.isAutoInsertedClosing(s,l,r))return f.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}),this.add("parens","deletion",function(e,t,n,o,r){var i=o.doc.getTextRange(r);if(!r.isMultiLine()&&"("==i&&(h(n),")"==o.doc.getLine(r.start.row).substring(r.start.column+1,r.start.column+2)))return r.end.column++,r}),this.add("brackets","insertion",function(e,t,n,o,r){if("["==r){h(n);var i=n.getSelectionRange(),a=o.doc.getTextRange(i);if(""!==a&&n.getWrapBehavioursEnabled())return p(i,a,"[","]");if(f.isSaneInsertion(n,o))return f.recordAutoInsert(n,o,"]"),{text:"[]",selection:[1,1]}}else if("]"==r){h(n);var s=n.getCursorPosition(),l=o.doc.getLine(s.row);if("]"==l.substring(s.column,s.column+1)&&null!==o.$findOpeningBracket("]",{column:s.column+1,row:s.row})&&f.isAutoInsertedClosing(s,l,r))return f.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}),this.add("brackets","deletion",function(e,t,n,o,r){var i=o.doc.getTextRange(r);if(!r.isMultiLine()&&"["==i&&(h(n),"]"==o.doc.getLine(r.start.row).substring(r.start.column+1,r.start.column+2)))return r.end.column++,r}),this.add("string_dquotes","insertion",function(e,t,n,o,r){var i=o.$mode.$quotes||d;if(1==r.length&&i[r]){if(this.lineCommentStart&&-1!=this.lineCommentStart.indexOf(r))return;h(n);var a=r,s=n.getSelectionRange(),l=o.doc.getTextRange(s);if(!(""===l||1==l.length&&i[l])&&n.getWrapBehavioursEnabled())return p(s,l,a,a);if(!l){var c=n.getCursorPosition(),u=o.doc.getLine(c.row),f=u.substring(c.column-1,c.column),m=u.substring(c.column,c.column+1),g=o.getTokenAt(c.row,c.column),v=o.getTokenAt(c.row,c.column+1);if("\\"==f&&g&&/escape/.test(g.type))return null;var _,y=g&&/string|escape/.test(g.type),b=!v||/string|escape/.test(v.type);if(m==a)(_=y!==b)&&/string\.end/.test(v.type)&&(_=!1);else{if(y&&!b)return null;if(y&&b)return null;var C=o.$mode.tokenRe;C.lastIndex=0;var E=C.test(f);C.lastIndex=0;var w=C.test(f);if(E||w)return null;if(m&&!/[\s;,.})\]\\]/.test(m))return null;_=!0}return{text:_?a+a:"",selection:[1,1]}}}}),this.add("string_dquotes","deletion",function(e,t,n,o,r){var i=o.doc.getTextRange(r);if(!r.isMultiLine()&&('"'==i||"'"==i)&&(h(n),o.doc.getLine(r.start.row).substring(r.start.column+1,r.start.column+2)==i))return r.end.column++,r})};f.isSaneInsertion=function(e,t){var n=e.getCursorPosition(),o=new a(t,n.row,n.column);if(!this.$matchTokenType(o.getCurrentToken()||"text",l)){var r=new a(t,n.row,n.column+1);if(!this.$matchTokenType(r.getCurrentToken()||"text",l))return!1}return o.stepForward(),o.getCurrentTokenRow()!==n.row||this.$matchTokenType(o.getCurrentToken()||"text",c)},f.$matchTokenType=function(e,t){return t.indexOf(e.type||e)>-1},f.recordAutoInsert=function(e,t,n){var r=e.getCursorPosition(),i=t.doc.getLine(r.row);this.isAutoInsertedClosing(r,i,o.autoInsertedLineEnd[0])||(o.autoInsertedBrackets=0),o.autoInsertedRow=r.row,o.autoInsertedLineEnd=n+i.substr(r.column),o.autoInsertedBrackets++},f.recordMaybeInsert=function(e,t,n){var r=e.getCursorPosition(),i=t.doc.getLine(r.row);this.isMaybeInsertedClosing(r,i)||(o.maybeInsertedBrackets=0),o.maybeInsertedRow=r.row,o.maybeInsertedLineStart=i.substr(0,r.column)+n,o.maybeInsertedLineEnd=i.substr(r.column),o.maybeInsertedBrackets++},f.isAutoInsertedClosing=function(e,t,n){return o.autoInsertedBrackets>0&&e.row===o.autoInsertedRow&&n===o.autoInsertedLineEnd[0]&&t.substr(e.column)===o.autoInsertedLineEnd},f.isMaybeInsertedClosing=function(e,t){return o.maybeInsertedBrackets>0&&e.row===o.maybeInsertedRow&&t.substr(e.column)===o.maybeInsertedLineEnd&&t.substr(0,e.column)==o.maybeInsertedLineStart},f.popAutoInsertedClosing=function(){o.autoInsertedLineEnd=o.autoInsertedLineEnd.substr(1),o.autoInsertedBrackets--},f.clearMaybeInsertedClosing=function(){o&&(o.maybeInsertedBrackets=0,o.maybeInsertedRow=-1)},r.inherits(f,i),t.CstyleBehaviour=f}),ace.define("ace/unicode",["require","exports","module"],function(e,t,n){"use strict";t.packages={},function(e){var n=/\w{4}/g;for(var o in e)t.packages[o]=e[o].replace(n,"\\u$&")}({L:"0041-005A0061-007A00AA00B500BA00C0-00D600D8-00F600F8-02C102C6-02D102E0-02E402EC02EE0370-037403760377037A-037D03860388-038A038C038E-03A103A3-03F503F7-0481048A-05250531-055605590561-058705D0-05EA05F0-05F20621-064A066E066F0671-06D306D506E506E606EE06EF06FA-06FC06FF07100712-072F074D-07A507B107CA-07EA07F407F507FA0800-0815081A082408280904-0939093D09500958-0961097109720979-097F0985-098C098F09900993-09A809AA-09B009B209B6-09B909BD09CE09DC09DD09DF-09E109F009F10A05-0A0A0A0F0A100A13-0A280A2A-0A300A320A330A350A360A380A390A59-0A5C0A5E0A72-0A740A85-0A8D0A8F-0A910A93-0AA80AAA-0AB00AB20AB30AB5-0AB90ABD0AD00AE00AE10B05-0B0C0B0F0B100B13-0B280B2A-0B300B320B330B35-0B390B3D0B5C0B5D0B5F-0B610B710B830B85-0B8A0B8E-0B900B92-0B950B990B9A0B9C0B9E0B9F0BA30BA40BA8-0BAA0BAE-0BB90BD00C05-0C0C0C0E-0C100C12-0C280C2A-0C330C35-0C390C3D0C580C590C600C610C85-0C8C0C8E-0C900C92-0CA80CAA-0CB30CB5-0CB90CBD0CDE0CE00CE10D05-0D0C0D0E-0D100D12-0D280D2A-0D390D3D0D600D610D7A-0D7F0D85-0D960D9A-0DB10DB3-0DBB0DBD0DC0-0DC60E01-0E300E320E330E40-0E460E810E820E840E870E880E8A0E8D0E94-0E970E99-0E9F0EA1-0EA30EA50EA70EAA0EAB0EAD-0EB00EB20EB30EBD0EC0-0EC40EC60EDC0EDD0F000F40-0F470F49-0F6C0F88-0F8B1000-102A103F1050-1055105A-105D106110651066106E-10701075-1081108E10A0-10C510D0-10FA10FC1100-1248124A-124D1250-12561258125A-125D1260-1288128A-128D1290-12B012B2-12B512B8-12BE12C012C2-12C512C8-12D612D8-13101312-13151318-135A1380-138F13A0-13F41401-166C166F-167F1681-169A16A0-16EA1700-170C170E-17111720-17311740-17511760-176C176E-17701780-17B317D717DC1820-18771880-18A818AA18B0-18F51900-191C1950-196D1970-19741980-19AB19C1-19C71A00-1A161A20-1A541AA71B05-1B331B45-1B4B1B83-1BA01BAE1BAF1C00-1C231C4D-1C4F1C5A-1C7D1CE9-1CEC1CEE-1CF11D00-1DBF1E00-1F151F18-1F1D1F20-1F451F48-1F4D1F50-1F571F591F5B1F5D1F5F-1F7D1F80-1FB41FB6-1FBC1FBE1FC2-1FC41FC6-1FCC1FD0-1FD31FD6-1FDB1FE0-1FEC1FF2-1FF41FF6-1FFC2071207F2090-209421022107210A-211321152119-211D212421262128212A-212D212F-2139213C-213F2145-2149214E218321842C00-2C2E2C30-2C5E2C60-2CE42CEB-2CEE2D00-2D252D30-2D652D6F2D80-2D962DA0-2DA62DA8-2DAE2DB0-2DB62DB8-2DBE2DC0-2DC62DC8-2DCE2DD0-2DD62DD8-2DDE2E2F300530063031-3035303B303C3041-3096309D-309F30A1-30FA30FC-30FF3105-312D3131-318E31A0-31B731F0-31FF3400-4DB54E00-9FCBA000-A48CA4D0-A4FDA500-A60CA610-A61FA62AA62BA640-A65FA662-A66EA67F-A697A6A0-A6E5A717-A71FA722-A788A78BA78CA7FB-A801A803-A805A807-A80AA80C-A822A840-A873A882-A8B3A8F2-A8F7A8FBA90A-A925A930-A946A960-A97CA984-A9B2A9CFAA00-AA28AA40-AA42AA44-AA4BAA60-AA76AA7AAA80-AAAFAAB1AAB5AAB6AAB9-AABDAAC0AAC2AADB-AADDABC0-ABE2AC00-D7A3D7B0-D7C6D7CB-D7FBF900-FA2DFA30-FA6DFA70-FAD9FB00-FB06FB13-FB17FB1DFB1F-FB28FB2A-FB36FB38-FB3CFB3EFB40FB41FB43FB44FB46-FBB1FBD3-FD3DFD50-FD8FFD92-FDC7FDF0-FDFBFE70-FE74FE76-FEFCFF21-FF3AFF41-FF5AFF66-FFBEFFC2-FFC7FFCA-FFCFFFD2-FFD7FFDA-FFDC",Ll:"0061-007A00AA00B500BA00DF-00F600F8-00FF01010103010501070109010B010D010F01110113011501170119011B011D011F01210123012501270129012B012D012F01310133013501370138013A013C013E014001420144014601480149014B014D014F01510153015501570159015B015D015F01610163016501670169016B016D016F0171017301750177017A017C017E-0180018301850188018C018D019201950199-019B019E01A101A301A501A801AA01AB01AD01B001B401B601B901BA01BD-01BF01C601C901CC01CE01D001D201D401D601D801DA01DC01DD01DF01E101E301E501E701E901EB01ED01EF01F001F301F501F901FB01FD01FF02010203020502070209020B020D020F02110213021502170219021B021D021F02210223022502270229022B022D022F02310233-0239023C023F0240024202470249024B024D024F-02930295-02AF037103730377037B-037D039003AC-03CE03D003D103D5-03D703D903DB03DD03DF03E103E303E503E703E903EB03ED03EF-03F303F503F803FB03FC0430-045F04610463046504670469046B046D046F04710473047504770479047B047D047F0481048B048D048F04910493049504970499049B049D049F04A104A304A504A704A904AB04AD04AF04B104B304B504B704B904BB04BD04BF04C204C404C604C804CA04CC04CE04CF04D104D304D504D704D904DB04DD04DF04E104E304E504E704E904EB04ED04EF04F104F304F504F704F904FB04FD04FF05010503050505070509050B050D050F05110513051505170519051B051D051F0521052305250561-05871D00-1D2B1D62-1D771D79-1D9A1E011E031E051E071E091E0B1E0D1E0F1E111E131E151E171E191E1B1E1D1E1F1E211E231E251E271E291E2B1E2D1E2F1E311E331E351E371E391E3B1E3D1E3F1E411E431E451E471E491E4B1E4D1E4F1E511E531E551E571E591E5B1E5D1E5F1E611E631E651E671E691E6B1E6D1E6F1E711E731E751E771E791E7B1E7D1E7F1E811E831E851E871E891E8B1E8D1E8F1E911E931E95-1E9D1E9F1EA11EA31EA51EA71EA91EAB1EAD1EAF1EB11EB31EB51EB71EB91EBB1EBD1EBF1EC11EC31EC51EC71EC91ECB1ECD1ECF1ED11ED31ED51ED71ED91EDB1EDD1EDF1EE11EE31EE51EE71EE91EEB1EED1EEF1EF11EF31EF51EF71EF91EFB1EFD1EFF-1F071F10-1F151F20-1F271F30-1F371F40-1F451F50-1F571F60-1F671F70-1F7D1F80-1F871F90-1F971FA0-1FA71FB0-1FB41FB61FB71FBE1FC2-1FC41FC61FC71FD0-1FD31FD61FD71FE0-1FE71FF2-1FF41FF61FF7210A210E210F2113212F21342139213C213D2146-2149214E21842C30-2C5E2C612C652C662C682C6A2C6C2C712C732C742C76-2C7C2C812C832C852C872C892C8B2C8D2C8F2C912C932C952C972C992C9B2C9D2C9F2CA12CA32CA52CA72CA92CAB2CAD2CAF2CB12CB32CB52CB72CB92CBB2CBD2CBF2CC12CC32CC52CC72CC92CCB2CCD2CCF2CD12CD32CD52CD72CD92CDB2CDD2CDF2CE12CE32CE42CEC2CEE2D00-2D25A641A643A645A647A649A64BA64DA64FA651A653A655A657A659A65BA65DA65FA663A665A667A669A66BA66DA681A683A685A687A689A68BA68DA68FA691A693A695A697A723A725A727A729A72BA72DA72F-A731A733A735A737A739A73BA73DA73FA741A743A745A747A749A74BA74DA74FA751A753A755A757A759A75BA75DA75FA761A763A765A767A769A76BA76DA76FA771-A778A77AA77CA77FA781A783A785A787A78CFB00-FB06FB13-FB17FF41-FF5A",Lu:"0041-005A00C0-00D600D8-00DE01000102010401060108010A010C010E01100112011401160118011A011C011E01200122012401260128012A012C012E01300132013401360139013B013D013F0141014301450147014A014C014E01500152015401560158015A015C015E01600162016401660168016A016C016E017001720174017601780179017B017D018101820184018601870189-018B018E-0191019301940196-0198019C019D019F01A001A201A401A601A701A901AC01AE01AF01B1-01B301B501B701B801BC01C401C701CA01CD01CF01D101D301D501D701D901DB01DE01E001E201E401E601E801EA01EC01EE01F101F401F6-01F801FA01FC01FE02000202020402060208020A020C020E02100212021402160218021A021C021E02200222022402260228022A022C022E02300232023A023B023D023E02410243-02460248024A024C024E03700372037603860388-038A038C038E038F0391-03A103A3-03AB03CF03D2-03D403D803DA03DC03DE03E003E203E403E603E803EA03EC03EE03F403F703F903FA03FD-042F04600462046404660468046A046C046E04700472047404760478047A047C047E0480048A048C048E04900492049404960498049A049C049E04A004A204A404A604A804AA04AC04AE04B004B204B404B604B804BA04BC04BE04C004C104C304C504C704C904CB04CD04D004D204D404D604D804DA04DC04DE04E004E204E404E604E804EA04EC04EE04F004F204F404F604F804FA04FC04FE05000502050405060508050A050C050E05100512051405160518051A051C051E0520052205240531-055610A0-10C51E001E021E041E061E081E0A1E0C1E0E1E101E121E141E161E181E1A1E1C1E1E1E201E221E241E261E281E2A1E2C1E2E1E301E321E341E361E381E3A1E3C1E3E1E401E421E441E461E481E4A1E4C1E4E1E501E521E541E561E581E5A1E5C1E5E1E601E621E641E661E681E6A1E6C1E6E1E701E721E741E761E781E7A1E7C1E7E1E801E821E841E861E881E8A1E8C1E8E1E901E921E941E9E1EA01EA21EA41EA61EA81EAA1EAC1EAE1EB01EB21EB41EB61EB81EBA1EBC1EBE1EC01EC21EC41EC61EC81ECA1ECC1ECE1ED01ED21ED41ED61ED81EDA1EDC1EDE1EE01EE21EE41EE61EE81EEA1EEC1EEE1EF01EF21EF41EF61EF81EFA1EFC1EFE1F08-1F0F1F18-1F1D1F28-1F2F1F38-1F3F1F48-1F4D1F591F5B1F5D1F5F1F68-1F6F1FB8-1FBB1FC8-1FCB1FD8-1FDB1FE8-1FEC1FF8-1FFB21022107210B-210D2110-211221152119-211D212421262128212A-212D2130-2133213E213F214521832C00-2C2E2C602C62-2C642C672C692C6B2C6D-2C702C722C752C7E-2C802C822C842C862C882C8A2C8C2C8E2C902C922C942C962C982C9A2C9C2C9E2CA02CA22CA42CA62CA82CAA2CAC2CAE2CB02CB22CB42CB62CB82CBA2CBC2CBE2CC02CC22CC42CC62CC82CCA2CCC2CCE2CD02CD22CD42CD62CD82CDA2CDC2CDE2CE02CE22CEB2CEDA640A642A644A646A648A64AA64CA64EA650A652A654A656A658A65AA65CA65EA662A664A666A668A66AA66CA680A682A684A686A688A68AA68CA68EA690A692A694A696A722A724A726A728A72AA72CA72EA732A734A736A738A73AA73CA73EA740A742A744A746A748A74AA74CA74EA750A752A754A756A758A75AA75CA75EA760A762A764A766A768A76AA76CA76EA779A77BA77DA77EA780A782A784A786A78BFF21-FF3A",Lt:"01C501C801CB01F21F88-1F8F1F98-1F9F1FA8-1FAF1FBC1FCC1FFC",Lm:"02B0-02C102C6-02D102E0-02E402EC02EE0374037A0559064006E506E607F407F507FA081A0824082809710E460EC610FC17D718431AA71C78-1C7D1D2C-1D611D781D9B-1DBF2071207F2090-20942C7D2D6F2E2F30053031-3035303B309D309E30FC-30FEA015A4F8-A4FDA60CA67FA717-A71FA770A788A9CFAA70AADDFF70FF9EFF9F",Lo:"01BB01C0-01C3029405D0-05EA05F0-05F20621-063F0641-064A066E066F0671-06D306D506EE06EF06FA-06FC06FF07100712-072F074D-07A507B107CA-07EA0800-08150904-0939093D09500958-096109720979-097F0985-098C098F09900993-09A809AA-09B009B209B6-09B909BD09CE09DC09DD09DF-09E109F009F10A05-0A0A0A0F0A100A13-0A280A2A-0A300A320A330A350A360A380A390A59-0A5C0A5E0A72-0A740A85-0A8D0A8F-0A910A93-0AA80AAA-0AB00AB20AB30AB5-0AB90ABD0AD00AE00AE10B05-0B0C0B0F0B100B13-0B280B2A-0B300B320B330B35-0B390B3D0B5C0B5D0B5F-0B610B710B830B85-0B8A0B8E-0B900B92-0B950B990B9A0B9C0B9E0B9F0BA30BA40BA8-0BAA0BAE-0BB90BD00C05-0C0C0C0E-0C100C12-0C280C2A-0C330C35-0C390C3D0C580C590C600C610C85-0C8C0C8E-0C900C92-0CA80CAA-0CB30CB5-0CB90CBD0CDE0CE00CE10D05-0D0C0D0E-0D100D12-0D280D2A-0D390D3D0D600D610D7A-0D7F0D85-0D960D9A-0DB10DB3-0DBB0DBD0DC0-0DC60E01-0E300E320E330E40-0E450E810E820E840E870E880E8A0E8D0E94-0E970E99-0E9F0EA1-0EA30EA50EA70EAA0EAB0EAD-0EB00EB20EB30EBD0EC0-0EC40EDC0EDD0F000F40-0F470F49-0F6C0F88-0F8B1000-102A103F1050-1055105A-105D106110651066106E-10701075-1081108E10D0-10FA1100-1248124A-124D1250-12561258125A-125D1260-1288128A-128D1290-12B012B2-12B512B8-12BE12C012C2-12C512C8-12D612D8-13101312-13151318-135A1380-138F13A0-13F41401-166C166F-167F1681-169A16A0-16EA1700-170C170E-17111720-17311740-17511760-176C176E-17701780-17B317DC1820-18421844-18771880-18A818AA18B0-18F51900-191C1950-196D1970-19741980-19AB19C1-19C71A00-1A161A20-1A541B05-1B331B45-1B4B1B83-1BA01BAE1BAF1C00-1C231C4D-1C4F1C5A-1C771CE9-1CEC1CEE-1CF12135-21382D30-2D652D80-2D962DA0-2DA62DA8-2DAE2DB0-2DB62DB8-2DBE2DC0-2DC62DC8-2DCE2DD0-2DD62DD8-2DDE3006303C3041-3096309F30A1-30FA30FF3105-312D3131-318E31A0-31B731F0-31FF3400-4DB54E00-9FCBA000-A014A016-A48CA4D0-A4F7A500-A60BA610-A61FA62AA62BA66EA6A0-A6E5A7FB-A801A803-A805A807-A80AA80C-A822A840-A873A882-A8B3A8F2-A8F7A8FBA90A-A925A930-A946A960-A97CA984-A9B2AA00-AA28AA40-AA42AA44-AA4BAA60-AA6FAA71-AA76AA7AAA80-AAAFAAB1AAB5AAB6AAB9-AABDAAC0AAC2AADBAADCABC0-ABE2AC00-D7A3D7B0-D7C6D7CB-D7FBF900-FA2DFA30-FA6DFA70-FAD9FB1DFB1F-FB28FB2A-FB36FB38-FB3CFB3EFB40FB41FB43FB44FB46-FBB1FBD3-FD3DFD50-FD8FFD92-FDC7FDF0-FDFBFE70-FE74FE76-FEFCFF66-FF6FFF71-FF9DFFA0-FFBEFFC2-FFC7FFCA-FFCFFFD2-FFD7FFDA-FFDC",M:"0300-036F0483-04890591-05BD05BF05C105C205C405C505C70610-061A064B-065E067006D6-06DC06DE-06E406E706E806EA-06ED07110730-074A07A6-07B007EB-07F30816-0819081B-08230825-08270829-082D0900-0903093C093E-094E0951-0955096209630981-098309BC09BE-09C409C709C809CB-09CD09D709E209E30A01-0A030A3C0A3E-0A420A470A480A4B-0A4D0A510A700A710A750A81-0A830ABC0ABE-0AC50AC7-0AC90ACB-0ACD0AE20AE30B01-0B030B3C0B3E-0B440B470B480B4B-0B4D0B560B570B620B630B820BBE-0BC20BC6-0BC80BCA-0BCD0BD70C01-0C030C3E-0C440C46-0C480C4A-0C4D0C550C560C620C630C820C830CBC0CBE-0CC40CC6-0CC80CCA-0CCD0CD50CD60CE20CE30D020D030D3E-0D440D46-0D480D4A-0D4D0D570D620D630D820D830DCA0DCF-0DD40DD60DD8-0DDF0DF20DF30E310E34-0E3A0E47-0E4E0EB10EB4-0EB90EBB0EBC0EC8-0ECD0F180F190F350F370F390F3E0F3F0F71-0F840F860F870F90-0F970F99-0FBC0FC6102B-103E1056-1059105E-10601062-10641067-106D1071-10741082-108D108F109A-109D135F1712-17141732-1734175217531772177317B6-17D317DD180B-180D18A91920-192B1930-193B19B0-19C019C819C91A17-1A1B1A55-1A5E1A60-1A7C1A7F1B00-1B041B34-1B441B6B-1B731B80-1B821BA1-1BAA1C24-1C371CD0-1CD21CD4-1CE81CED1CF21DC0-1DE61DFD-1DFF20D0-20F02CEF-2CF12DE0-2DFF302A-302F3099309AA66F-A672A67CA67DA6F0A6F1A802A806A80BA823-A827A880A881A8B4-A8C4A8E0-A8F1A926-A92DA947-A953A980-A983A9B3-A9C0AA29-AA36AA43AA4CAA4DAA7BAAB0AAB2-AAB4AAB7AAB8AABEAABFAAC1ABE3-ABEAABECABEDFB1EFE00-FE0FFE20-FE26",Mn:"0300-036F0483-04870591-05BD05BF05C105C205C405C505C70610-061A064B-065E067006D6-06DC06DF-06E406E706E806EA-06ED07110730-074A07A6-07B007EB-07F30816-0819081B-08230825-08270829-082D0900-0902093C0941-0948094D0951-095509620963098109BC09C1-09C409CD09E209E30A010A020A3C0A410A420A470A480A4B-0A4D0A510A700A710A750A810A820ABC0AC1-0AC50AC70AC80ACD0AE20AE30B010B3C0B3F0B41-0B440B4D0B560B620B630B820BC00BCD0C3E-0C400C46-0C480C4A-0C4D0C550C560C620C630CBC0CBF0CC60CCC0CCD0CE20CE30D41-0D440D4D0D620D630DCA0DD2-0DD40DD60E310E34-0E3A0E47-0E4E0EB10EB4-0EB90EBB0EBC0EC8-0ECD0F180F190F350F370F390F71-0F7E0F80-0F840F860F870F90-0F970F99-0FBC0FC6102D-10301032-10371039103A103D103E10581059105E-10601071-1074108210851086108D109D135F1712-17141732-1734175217531772177317B7-17BD17C617C9-17D317DD180B-180D18A91920-19221927192819321939-193B1A171A181A561A58-1A5E1A601A621A65-1A6C1A73-1A7C1A7F1B00-1B031B341B36-1B3A1B3C1B421B6B-1B731B801B811BA2-1BA51BA81BA91C2C-1C331C361C371CD0-1CD21CD4-1CE01CE2-1CE81CED1DC0-1DE61DFD-1DFF20D0-20DC20E120E5-20F02CEF-2CF12DE0-2DFF302A-302F3099309AA66FA67CA67DA6F0A6F1A802A806A80BA825A826A8C4A8E0-A8F1A926-A92DA947-A951A980-A982A9B3A9B6-A9B9A9BCAA29-AA2EAA31AA32AA35AA36AA43AA4CAAB0AAB2-AAB4AAB7AAB8AABEAABFAAC1ABE5ABE8ABEDFB1EFE00-FE0FFE20-FE26",Mc:"0903093E-09400949-094C094E0982098309BE-09C009C709C809CB09CC09D70A030A3E-0A400A830ABE-0AC00AC90ACB0ACC0B020B030B3E0B400B470B480B4B0B4C0B570BBE0BBF0BC10BC20BC6-0BC80BCA-0BCC0BD70C01-0C030C41-0C440C820C830CBE0CC0-0CC40CC70CC80CCA0CCB0CD50CD60D020D030D3E-0D400D46-0D480D4A-0D4C0D570D820D830DCF-0DD10DD8-0DDF0DF20DF30F3E0F3F0F7F102B102C10311038103B103C105610571062-10641067-106D108310841087-108C108F109A-109C17B617BE-17C517C717C81923-19261929-192B193019311933-193819B0-19C019C819C91A19-1A1B1A551A571A611A631A641A6D-1A721B041B351B3B1B3D-1B411B431B441B821BA11BA61BA71BAA1C24-1C2B1C341C351CE11CF2A823A824A827A880A881A8B4-A8C3A952A953A983A9B4A9B5A9BAA9BBA9BD-A9C0AA2FAA30AA33AA34AA4DAA7BABE3ABE4ABE6ABE7ABE9ABEAABEC",Me:"0488048906DE20DD-20E020E2-20E4A670-A672",N:"0030-003900B200B300B900BC-00BE0660-066906F0-06F907C0-07C90966-096F09E6-09EF09F4-09F90A66-0A6F0AE6-0AEF0B66-0B6F0BE6-0BF20C66-0C6F0C78-0C7E0CE6-0CEF0D66-0D750E50-0E590ED0-0ED90F20-0F331040-10491090-10991369-137C16EE-16F017E0-17E917F0-17F91810-18191946-194F19D0-19DA1A80-1A891A90-1A991B50-1B591BB0-1BB91C40-1C491C50-1C5920702074-20792080-20892150-21822185-21892460-249B24EA-24FF2776-27932CFD30073021-30293038-303A3192-31953220-32293251-325F3280-328932B1-32BFA620-A629A6E6-A6EFA830-A835A8D0-A8D9A900-A909A9D0-A9D9AA50-AA59ABF0-ABF9FF10-FF19",Nd:"0030-00390660-066906F0-06F907C0-07C90966-096F09E6-09EF0A66-0A6F0AE6-0AEF0B66-0B6F0BE6-0BEF0C66-0C6F0CE6-0CEF0D66-0D6F0E50-0E590ED0-0ED90F20-0F291040-10491090-109917E0-17E91810-18191946-194F19D0-19DA1A80-1A891A90-1A991B50-1B591BB0-1BB91C40-1C491C50-1C59A620-A629A8D0-A8D9A900-A909A9D0-A9D9AA50-AA59ABF0-ABF9FF10-FF19",Nl:"16EE-16F02160-21822185-218830073021-30293038-303AA6E6-A6EF",No:"00B200B300B900BC-00BE09F4-09F90BF0-0BF20C78-0C7E0D70-0D750F2A-0F331369-137C17F0-17F920702074-20792080-20892150-215F21892460-249B24EA-24FF2776-27932CFD3192-31953220-32293251-325F3280-328932B1-32BFA830-A835",P:"0021-00230025-002A002C-002F003A003B003F0040005B-005D005F007B007D00A100AB00B700BB00BF037E0387055A-055F0589058A05BE05C005C305C605F305F40609060A060C060D061B061E061F066A-066D06D40700-070D07F7-07F90830-083E0964096509700DF40E4F0E5A0E5B0F04-0F120F3A-0F3D0F850FD0-0FD4104A-104F10FB1361-13681400166D166E169B169C16EB-16ED1735173617D4-17D617D8-17DA1800-180A1944194519DE19DF1A1E1A1F1AA0-1AA61AA8-1AAD1B5A-1B601C3B-1C3F1C7E1C7F1CD32010-20272030-20432045-20512053-205E207D207E208D208E2329232A2768-277527C527C627E6-27EF2983-299829D8-29DB29FC29FD2CF9-2CFC2CFE2CFF2E00-2E2E2E302E313001-30033008-30113014-301F3030303D30A030FBA4FEA4FFA60D-A60FA673A67EA6F2-A6F7A874-A877A8CEA8CFA8F8-A8FAA92EA92FA95FA9C1-A9CDA9DEA9DFAA5C-AA5FAADEAADFABEBFD3EFD3FFE10-FE19FE30-FE52FE54-FE61FE63FE68FE6AFE6BFF01-FF03FF05-FF0AFF0C-FF0FFF1AFF1BFF1FFF20FF3B-FF3DFF3FFF5BFF5DFF5F-FF65",Pd:"002D058A05BE140018062010-20152E172E1A301C303030A0FE31FE32FE58FE63FF0D",Ps:"0028005B007B0F3A0F3C169B201A201E2045207D208D23292768276A276C276E27702772277427C527E627E827EA27EC27EE2983298529872989298B298D298F299129932995299729D829DA29FC2E222E242E262E283008300A300C300E3010301430163018301A301DFD3EFE17FE35FE37FE39FE3BFE3DFE3FFE41FE43FE47FE59FE5BFE5DFF08FF3BFF5BFF5FFF62",Pe:"0029005D007D0F3B0F3D169C2046207E208E232A2769276B276D276F27712773277527C627E727E927EB27ED27EF298429862988298A298C298E2990299229942996299829D929DB29FD2E232E252E272E293009300B300D300F3011301530173019301B301E301FFD3FFE18FE36FE38FE3AFE3CFE3EFE40FE42FE44FE48FE5AFE5CFE5EFF09FF3DFF5DFF60FF63",Pi:"00AB2018201B201C201F20392E022E042E092E0C2E1C2E20",Pf:"00BB2019201D203A2E032E052E0A2E0D2E1D2E21",Pc:"005F203F20402054FE33FE34FE4D-FE4FFF3F",Po:"0021-00230025-0027002A002C002E002F003A003B003F0040005C00A100B700BF037E0387055A-055F058905C005C305C605F305F40609060A060C060D061B061E061F066A-066D06D40700-070D07F7-07F90830-083E0964096509700DF40E4F0E5A0E5B0F04-0F120F850FD0-0FD4104A-104F10FB1361-1368166D166E16EB-16ED1735173617D4-17D617D8-17DA1800-18051807-180A1944194519DE19DF1A1E1A1F1AA0-1AA61AA8-1AAD1B5A-1B601C3B-1C3F1C7E1C7F1CD3201620172020-20272030-2038203B-203E2041-20432047-205120532055-205E2CF9-2CFC2CFE2CFF2E002E012E06-2E082E0B2E0E-2E162E182E192E1B2E1E2E1F2E2A-2E2E2E302E313001-3003303D30FBA4FEA4FFA60D-A60FA673A67EA6F2-A6F7A874-A877A8CEA8CFA8F8-A8FAA92EA92FA95FA9C1-A9CDA9DEA9DFAA5C-AA5FAADEAADFABEBFE10-FE16FE19FE30FE45FE46FE49-FE4CFE50-FE52FE54-FE57FE5F-FE61FE68FE6AFE6BFF01-FF03FF05-FF07FF0AFF0CFF0EFF0FFF1AFF1BFF1FFF20FF3CFF61FF64FF65",S:"0024002B003C-003E005E0060007C007E00A2-00A900AC00AE-00B100B400B600B800D700F702C2-02C502D2-02DF02E5-02EB02ED02EF-02FF03750384038503F604820606-0608060B060E060F06E906FD06FE07F609F209F309FA09FB0AF10B700BF3-0BFA0C7F0CF10CF20D790E3F0F01-0F030F13-0F170F1A-0F1F0F340F360F380FBE-0FC50FC7-0FCC0FCE0FCF0FD5-0FD8109E109F13601390-139917DB194019E0-19FF1B61-1B6A1B74-1B7C1FBD1FBF-1FC11FCD-1FCF1FDD-1FDF1FED-1FEF1FFD1FFE20442052207A-207C208A-208C20A0-20B8210021012103-21062108210921142116-2118211E-2123212521272129212E213A213B2140-2144214A-214D214F2190-2328232B-23E82400-24262440-244A249C-24E92500-26CD26CF-26E126E326E8-26FF2701-27042706-2709270C-27272729-274B274D274F-27522756-275E2761-276727942798-27AF27B1-27BE27C0-27C427C7-27CA27CC27D0-27E527F0-29822999-29D729DC-29FB29FE-2B4C2B50-2B592CE5-2CEA2E80-2E992E9B-2EF32F00-2FD52FF0-2FFB300430123013302030363037303E303F309B309C319031913196-319F31C0-31E33200-321E322A-32503260-327F328A-32B032C0-32FE3300-33FF4DC0-4DFFA490-A4C6A700-A716A720A721A789A78AA828-A82BA836-A839AA77-AA79FB29FDFCFDFDFE62FE64-FE66FE69FF04FF0BFF1C-FF1EFF3EFF40FF5CFF5EFFE0-FFE6FFE8-FFEEFFFCFFFD",Sm:"002B003C-003E007C007E00AC00B100D700F703F60606-060820442052207A-207C208A-208C2140-2144214B2190-2194219A219B21A021A321A621AE21CE21CF21D221D421F4-22FF2308-230B23202321237C239B-23B323DC-23E125B725C125F8-25FF266F27C0-27C427C7-27CA27CC27D0-27E527F0-27FF2900-29822999-29D729DC-29FB29FE-2AFF2B30-2B442B47-2B4CFB29FE62FE64-FE66FF0BFF1C-FF1EFF5CFF5EFFE2FFE9-FFEC",Sc:"002400A2-00A5060B09F209F309FB0AF10BF90E3F17DB20A0-20B8A838FDFCFE69FF04FFE0FFE1FFE5FFE6",Sk:"005E006000A800AF00B400B802C2-02C502D2-02DF02E5-02EB02ED02EF-02FF0375038403851FBD1FBF-1FC11FCD-1FCF1FDD-1FDF1FED-1FEF1FFD1FFE309B309CA700-A716A720A721A789A78AFF3EFF40FFE3",So:"00A600A700A900AE00B000B60482060E060F06E906FD06FE07F609FA0B700BF3-0BF80BFA0C7F0CF10CF20D790F01-0F030F13-0F170F1A-0F1F0F340F360F380FBE-0FC50FC7-0FCC0FCE0FCF0FD5-0FD8109E109F13601390-1399194019E0-19FF1B61-1B6A1B74-1B7C210021012103-21062108210921142116-2118211E-2123212521272129212E213A213B214A214C214D214F2195-2199219C-219F21A121A221A421A521A7-21AD21AF-21CD21D021D121D321D5-21F32300-2307230C-231F2322-2328232B-237B237D-239A23B4-23DB23E2-23E82400-24262440-244A249C-24E92500-25B625B8-25C025C2-25F72600-266E2670-26CD26CF-26E126E326E8-26FF2701-27042706-2709270C-27272729-274B274D274F-27522756-275E2761-276727942798-27AF27B1-27BE2800-28FF2B00-2B2F2B452B462B50-2B592CE5-2CEA2E80-2E992E9B-2EF32F00-2FD52FF0-2FFB300430123013302030363037303E303F319031913196-319F31C0-31E33200-321E322A-32503260-327F328A-32B032C0-32FE3300-33FF4DC0-4DFFA490-A4C6A828-A82BA836A837A839AA77-AA79FDFDFFE4FFE8FFEDFFEEFFFCFFFD",Z:"002000A01680180E2000-200A20282029202F205F3000",Zs:"002000A01680180E2000-200A202F205F3000",Zl:"2028",Zp:"2029",C:"0000-001F007F-009F00AD03780379037F-0383038B038D03A20526-05300557055805600588058B-059005C8-05CF05EB-05EF05F5-0605061C061D0620065F06DD070E070F074B074C07B2-07BF07FB-07FF082E082F083F-08FF093A093B094F095609570973-097809800984098D098E0991099209A909B109B3-09B509BA09BB09C509C609C909CA09CF-09D609D8-09DB09DE09E409E509FC-0A000A040A0B-0A0E0A110A120A290A310A340A370A3A0A3B0A3D0A43-0A460A490A4A0A4E-0A500A52-0A580A5D0A5F-0A650A76-0A800A840A8E0A920AA90AB10AB40ABA0ABB0AC60ACA0ACE0ACF0AD1-0ADF0AE40AE50AF00AF2-0B000B040B0D0B0E0B110B120B290B310B340B3A0B3B0B450B460B490B4A0B4E-0B550B58-0B5B0B5E0B640B650B72-0B810B840B8B-0B8D0B910B96-0B980B9B0B9D0BA0-0BA20BA5-0BA70BAB-0BAD0BBA-0BBD0BC3-0BC50BC90BCE0BCF0BD1-0BD60BD8-0BE50BFB-0C000C040C0D0C110C290C340C3A-0C3C0C450C490C4E-0C540C570C5A-0C5F0C640C650C70-0C770C800C810C840C8D0C910CA90CB40CBA0CBB0CC50CC90CCE-0CD40CD7-0CDD0CDF0CE40CE50CF00CF3-0D010D040D0D0D110D290D3A-0D3C0D450D490D4E-0D560D58-0D5F0D640D650D76-0D780D800D810D840D97-0D990DB20DBC0DBE0DBF0DC7-0DC90DCB-0DCE0DD50DD70DE0-0DF10DF5-0E000E3B-0E3E0E5C-0E800E830E850E860E890E8B0E8C0E8E-0E930E980EA00EA40EA60EA80EA90EAC0EBA0EBE0EBF0EC50EC70ECE0ECF0EDA0EDB0EDE-0EFF0F480F6D-0F700F8C-0F8F0F980FBD0FCD0FD9-0FFF10C6-10CF10FD-10FF1249124E124F12571259125E125F1289128E128F12B112B612B712BF12C112C612C712D7131113161317135B-135E137D-137F139A-139F13F5-13FF169D-169F16F1-16FF170D1715-171F1737-173F1754-175F176D17711774-177F17B417B517DE17DF17EA-17EF17FA-17FF180F181A-181F1878-187F18AB-18AF18F6-18FF191D-191F192C-192F193C-193F1941-1943196E196F1975-197F19AC-19AF19CA-19CF19DB-19DD1A1C1A1D1A5F1A7D1A7E1A8A-1A8F1A9A-1A9F1AAE-1AFF1B4C-1B4F1B7D-1B7F1BAB-1BAD1BBA-1BFF1C38-1C3A1C4A-1C4C1C80-1CCF1CF3-1CFF1DE7-1DFC1F161F171F1E1F1F1F461F471F4E1F4F1F581F5A1F5C1F5E1F7E1F7F1FB51FC51FD41FD51FDC1FF01FF11FF51FFF200B-200F202A-202E2060-206F20722073208F2095-209F20B9-20CF20F1-20FF218A-218F23E9-23FF2427-243F244B-245F26CE26E226E4-26E727002705270A270B2728274C274E2753-2755275F27602795-279727B027BF27CB27CD-27CF2B4D-2B4F2B5A-2BFF2C2F2C5F2CF2-2CF82D26-2D2F2D66-2D6E2D70-2D7F2D97-2D9F2DA72DAF2DB72DBF2DC72DCF2DD72DDF2E32-2E7F2E9A2EF4-2EFF2FD6-2FEF2FFC-2FFF3040309730983100-3104312E-3130318F31B8-31BF31E4-31EF321F32FF4DB6-4DBF9FCC-9FFFA48D-A48FA4C7-A4CFA62C-A63FA660A661A674-A67BA698-A69FA6F8-A6FFA78D-A7FAA82C-A82FA83A-A83FA878-A87FA8C5-A8CDA8DA-A8DFA8FC-A8FFA954-A95EA97D-A97FA9CEA9DA-A9DDA9E0-A9FFAA37-AA3FAA4EAA4FAA5AAA5BAA7C-AA7FAAC3-AADAAAE0-ABBFABEEABEFABFA-ABFFD7A4-D7AFD7C7-D7CAD7FC-F8FFFA2EFA2FFA6EFA6FFADA-FAFFFB07-FB12FB18-FB1CFB37FB3DFB3FFB42FB45FBB2-FBD2FD40-FD4FFD90FD91FDC8-FDEFFDFEFDFFFE1A-FE1FFE27-FE2FFE53FE67FE6C-FE6FFE75FEFD-FF00FFBF-FFC1FFC8FFC9FFD0FFD1FFD8FFD9FFDD-FFDFFFE7FFEF-FFFBFFFEFFFF",Cc:"0000-001F007F-009F",Cf:"00AD0600-060306DD070F17B417B5200B-200F202A-202E2060-2064206A-206FFEFFFFF9-FFFB",Co:"E000-F8FF",Cs:"D800-DFFF",Cn:"03780379037F-0383038B038D03A20526-05300557055805600588058B-059005C8-05CF05EB-05EF05F5-05FF06040605061C061D0620065F070E074B074C07B2-07BF07FB-07FF082E082F083F-08FF093A093B094F095609570973-097809800984098D098E0991099209A909B109B3-09B509BA09BB09C509C609C909CA09CF-09D609D8-09DB09DE09E409E509FC-0A000A040A0B-0A0E0A110A120A290A310A340A370A3A0A3B0A3D0A43-0A460A490A4A0A4E-0A500A52-0A580A5D0A5F-0A650A76-0A800A840A8E0A920AA90AB10AB40ABA0ABB0AC60ACA0ACE0ACF0AD1-0ADF0AE40AE50AF00AF2-0B000B040B0D0B0E0B110B120B290B310B340B3A0B3B0B450B460B490B4A0B4E-0B550B58-0B5B0B5E0B640B650B72-0B810B840B8B-0B8D0B910B96-0B980B9B0B9D0BA0-0BA20BA5-0BA70BAB-0BAD0BBA-0BBD0BC3-0BC50BC90BCE0BCF0BD1-0BD60BD8-0BE50BFB-0C000C040C0D0C110C290C340C3A-0C3C0C450C490C4E-0C540C570C5A-0C5F0C640C650C70-0C770C800C810C840C8D0C910CA90CB40CBA0CBB0CC50CC90CCE-0CD40CD7-0CDD0CDF0CE40CE50CF00CF3-0D010D040D0D0D110D290D3A-0D3C0D450D490D4E-0D560D58-0D5F0D640D650D76-0D780D800D810D840D97-0D990DB20DBC0DBE0DBF0DC7-0DC90DCB-0DCE0DD50DD70DE0-0DF10DF5-0E000E3B-0E3E0E5C-0E800E830E850E860E890E8B0E8C0E8E-0E930E980EA00EA40EA60EA80EA90EAC0EBA0EBE0EBF0EC50EC70ECE0ECF0EDA0EDB0EDE-0EFF0F480F6D-0F700F8C-0F8F0F980FBD0FCD0FD9-0FFF10C6-10CF10FD-10FF1249124E124F12571259125E125F1289128E128F12B112B612B712BF12C112C612C712D7131113161317135B-135E137D-137F139A-139F13F5-13FF169D-169F16F1-16FF170D1715-171F1737-173F1754-175F176D17711774-177F17DE17DF17EA-17EF17FA-17FF180F181A-181F1878-187F18AB-18AF18F6-18FF191D-191F192C-192F193C-193F1941-1943196E196F1975-197F19AC-19AF19CA-19CF19DB-19DD1A1C1A1D1A5F1A7D1A7E1A8A-1A8F1A9A-1A9F1AAE-1AFF1B4C-1B4F1B7D-1B7F1BAB-1BAD1BBA-1BFF1C38-1C3A1C4A-1C4C1C80-1CCF1CF3-1CFF1DE7-1DFC1F161F171F1E1F1F1F461F471F4E1F4F1F581F5A1F5C1F5E1F7E1F7F1FB51FC51FD41FD51FDC1FF01FF11FF51FFF2065-206920722073208F2095-209F20B9-20CF20F1-20FF218A-218F23E9-23FF2427-243F244B-245F26CE26E226E4-26E727002705270A270B2728274C274E2753-2755275F27602795-279727B027BF27CB27CD-27CF2B4D-2B4F2B5A-2BFF2C2F2C5F2CF2-2CF82D26-2D2F2D66-2D6E2D70-2D7F2D97-2D9F2DA72DAF2DB72DBF2DC72DCF2DD72DDF2E32-2E7F2E9A2EF4-2EFF2FD6-2FEF2FFC-2FFF3040309730983100-3104312E-3130318F31B8-31BF31E4-31EF321F32FF4DB6-4DBF9FCC-9FFFA48D-A48FA4C7-A4CFA62C-A63FA660A661A674-A67BA698-A69FA6F8-A6FFA78D-A7FAA82C-A82FA83A-A83FA878-A87FA8C5-A8CDA8DA-A8DFA8FC-A8FFA954-A95EA97D-A97FA9CEA9DA-A9DDA9E0-A9FFAA37-AA3FAA4EAA4FAA5AAA5BAA7C-AA7FAAC3-AADAAAE0-ABBFABEEABEFABFA-ABFFD7A4-D7AFD7C7-D7CAD7FC-D7FFFA2EFA2FFA6EFA6FFADA-FAFFFB07-FB12FB18-FB1CFB37FB3DFB3FFB42FB45FBB2-FBD2FD40-FD4FFD90FD91FDC8-FDEFFDFEFDFFFE1A-FE1FFE27-FE2FFE53FE67FE6C-FE6FFE75FEFDFEFEFF00FFBF-FFC1FFC8FFC9FFD0FFD1FFD8FFD9FFDD-FFDFFFE7FFEF-FFF8FFFEFFFF"})}),ace.define("ace/mode/text",["require","exports","module","ace/tokenizer","ace/mode/text_highlight_rules","ace/mode/behaviour/cstyle","ace/unicode","ace/lib/lang","ace/token_iterator","ace/range"],function(e,t,n){"use strict";var o=e("../tokenizer").Tokenizer,r=e("./text_highlight_rules").TextHighlightRules,i=e("./behaviour/cstyle").CstyleBehaviour,a=e("../unicode"),s=e("../lib/lang"),l=e("../token_iterator").TokenIterator,c=e("../range").Range,u=function(){this.HighlightRules=r};(function(){this.$defaultBehaviour=new i,this.tokenRe=new RegExp("^["+a.packages.L+a.packages.Mn+a.packages.Mc+a.packages.Nd+a.packages.Pc+"\\$_]+","g"),this.nonTokenRe=new RegExp("^(?:[^"+a.packages.L+a.packages.Mn+a.packages.Mc+a.packages.Nd+a.packages.Pc+"\\$_]|\\s])+","g"),this.getTokenizer=function(){return this.$tokenizer||(this.$highlightRules=this.$highlightRules||new this.HighlightRules(this.$highlightRuleConfig),this.$tokenizer=new o(this.$highlightRules.getRules())),this.$tokenizer},this.lineCommentStart="",this.blockComment="",this.toggleCommentLines=function(e,t,n,o){var r=t.doc,i=!0,a=!0,l=1/0,c=t.getTabSize(),u=!1;if(this.lineCommentStart){Array.isArray(this.lineCommentStart)?(m=this.lineCommentStart.map(s.escapeRegExp).join("|"),p=this.lineCommentStart[0]):(m=s.escapeRegExp(this.lineCommentStart),p=this.lineCommentStart),m=new RegExp("^(\\s*)(?:"+m+") ?"),u=t.getUseSoftTabs(),_=function(e,t){var n=e.match(m);if(n){var o=n[1].length,i=n[0].length;h(e,o,i)||" "!=n[0][i-1]||i--,r.removeInLine(t,o,i)}};var d=p+" ",h=(v=function(e,t){i&&!/\S/.test(e)||(h(e,l,l)?r.insertInLine({row:t,column:l},d):r.insertInLine({row:t,column:l},p))},y=function(e,t){return m.test(e)},function(e,t,n){for(var o=0;t--&&" "==e.charAt(t);)o++;if(o%c!=0)return!1;for(o=0;" "==e.charAt(n++);)o++;return c>2?o%c!=c-1:o%c==0})}else{if(!this.blockComment)return!1;var p=this.blockComment.start,f=this.blockComment.end,m=new RegExp("^(\\s*)(?:"+s.escapeRegExp(p)+")"),g=new RegExp("(?:"+s.escapeRegExp(f)+")\\s*$"),v=function(e,t){y(e,t)||i&&!/\S/.test(e)||(r.insertInLine({row:t,column:e.length},f),r.insertInLine({row:t,column:l},p))},_=function(e,t){var n;(n=e.match(g))&&r.removeInLine(t,e.length-n[0].length,e.length),(n=e.match(m))&&r.removeInLine(t,n[1].length,n[0].length)},y=function(e,n){if(m.test(e))return!0;for(var o=t.getTokens(n),r=0;r<o.length;r++)if("comment"===o[r].type)return!0}}function b(e){for(var t=n;t<=o;t++)e(r.getLine(t),t)}var C=1/0;b(function(e,t){var n=e.search(/\S/);-1!==n?(n<l&&(l=n),a&&!y(e,t)&&(a=!1)):C>e.length&&(C=e.length)}),l==1/0&&(l=C,i=!1,a=!1),u&&l%c!=0&&(l=Math.floor(l/c)*c),b(a?_:v)},this.toggleBlockComment=function(e,t,n,o){var r=this.blockComment;if(r){!r.start&&r[0]&&(r=r[0]);var i,a,s=(m=new l(t,o.row,o.column)).getCurrentToken(),u=t.selection.toOrientedRange();if(s&&/comment/.test(s.type)){for(var d,h;s&&/comment/.test(s.type);){if(-1!=(g=s.value.indexOf(r.start))){var p=m.getCurrentTokenRow(),f=m.getCurrentTokenColumn()+g;d=new c(p,f,p,f+r.start.length);break}s=m.stepBackward()}var m;for(s=(m=new l(t,o.row,o.column)).getCurrentToken();s&&/comment/.test(s.type);){var g;if(-1!=(g=s.value.indexOf(r.end))){p=m.getCurrentTokenRow(),f=m.getCurrentTokenColumn()+g,h=new c(p,f,p,f+r.end.length);break}s=m.stepForward()}h&&t.remove(h),d&&(t.remove(d),i=d.start.row,a=-r.start.length)}else a=r.start.length,i=n.start.row,t.insert(n.end,r.end),t.insert(n.start,r.start);u.start.row==i&&(u.start.column+=a),u.end.row==i&&(u.end.column+=a),t.selection.fromOrientedRange(u)}},this.getNextLineIndent=function(e,t,n){return this.$getIndent(t)},this.checkOutdent=function(e,t,n){return!1},this.autoOutdent=function(e,t,n){},this.$getIndent=function(e){return e.match(/^\s*/)[0]},this.createWorker=function(e){return null},this.createModeDelegates=function(e){for(var t in this.$embeds=[],this.$modes={},e)e[t]&&(this.$embeds.push(t),this.$modes[t]=new e[t]);var n=["toggleBlockComment","toggleCommentLines","getNextLineIndent","checkOutdent","autoOutdent","transformAction","getCompletions"];for(t=0;t<n.length;t++)!function(e){var o=n[t],r=e[o];e[n[t]]=function(){return this.$delegator(o,arguments,r)}}(this)},this.$delegator=function(e,t,n){var o=t[0];"string"!=typeof o&&(o=o[0]);for(var r=0;r<this.$embeds.length;r++)if(this.$modes[this.$embeds[r]]){var i=o.split(this.$embeds[r]);if(!i[0]&&i[1]){t[0]=i[1];var a=this.$modes[this.$embeds[r]];return a[e].apply(a,t)}}var s=n.apply(this,t);return n?s:void 0},this.transformAction=function(e,t,n,o,r){if(this.$behaviour){var i=this.$behaviour.getBehaviours();for(var a in i)if(i[a][t]){var s=i[a][t].apply(this,arguments);if(s)return s}}},this.getKeywords=function(e){if(!this.completionKeywords){var t=this.$tokenizer.rules,n=[];for(var o in t)for(var r=t[o],i=0,a=r.length;i<a;i++)if("string"==typeof r[i].token)/keyword|support|storage/.test(r[i].token)&&n.push(r[i].regex);else if("object"==typeof r[i].token)for(var s=0,l=r[i].token.length;s<l;s++)/keyword|support|storage/.test(r[i].token[s])&&(o=r[i].regex.match(/\(.+?\)/g)[s],n.push(o.substr(1,o.length-2)));this.completionKeywords=n}return e?n.concat(this.$keywordList||[]):this.$keywordList},this.$createKeywordList=function(){return this.$highlightRules||this.getTokenizer(),this.$keywordList=this.$highlightRules.$keywordList||[]},this.getCompletions=function(e,t,n,o){return(this.$keywordList||this.$createKeywordList()).map(function(e){return{name:e,value:e,score:0,meta:"keyword"}})},this.$id="ace/mode/text"}).call(u.prototype),t.Mode=u}),ace.define("ace/apply_delta",["require","exports","module"],function(e,t,n){"use strict";t.applyDelta=function(e,t,n){var o=t.start.row,r=t.start.column,i=e[o]||"";switch(t.action){case"insert":if(1===t.lines.length)e[o]=i.substring(0,r)+t.lines[0]+i.substring(r);else{var a=[o,1].concat(t.lines);e.splice.apply(e,a),e[o]=i.substring(0,r)+e[o],e[o+t.lines.length-1]+=i.substring(r)}break;case"remove":var s=t.end.column,l=t.end.row;o===l?e[o]=i.substring(0,r)+i.substring(s):e.splice(o,l-o+1,i.substring(0,r)+e[l].substring(s))}}}),ace.define("ace/anchor",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(e,t,n){"use strict";var o=e("./lib/oop"),r=e("./lib/event_emitter").EventEmitter,i=t.Anchor=function(e,t,n){this.$onChange=this.onChange.bind(this),this.attach(e),void 0===n?this.setPosition(t.row,t.column):this.setPosition(t,n)};(function(){function e(e,t,n){return e.row<t.row||e.row==t.row&&(n?e.column<=t.column:e.column<t.column)}o.implement(this,r),this.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},this.getDocument=function(){return this.document},this.$insertRight=!1,this.onChange=function(t){if(!(t.start.row==t.end.row&&t.start.row!=this.row||t.start.row>this.row)){var n=function(t,n,o){var r="insert"==t.action,i=(r?1:-1)*(t.end.row-t.start.row),a=(r?1:-1)*(t.end.column-t.start.column),s=t.start,l=r?s:t.end;return e(n,s,o)?{row:n.row,column:n.column}:e(l,n,!o)?{row:n.row+i,column:n.column+(n.row==l.row?a:0)}:{row:s.row,column:s.column}}(t,{row:this.row,column:this.column},this.$insertRight);this.setPosition(n.row,n.column,!0)}},this.setPosition=function(e,t,n){var o;if(o=n?{row:e,column:t}:this.$clipPositionToDocument(e,t),this.row!=o.row||this.column!=o.column){var r={row:this.row,column:this.column};this.row=o.row,this.column=o.column,this._signal("change",{old:r,value:o})}},this.detach=function(){this.document.removeEventListener("change",this.$onChange)},this.attach=function(e){this.document=e||this.document,this.document.on("change",this.$onChange)},this.$clipPositionToDocument=function(e,t){var n={};return e>=this.document.getLength()?(n.row=Math.max(0,this.document.getLength()-1),n.column=this.document.getLine(n.row).length):e<0?(n.row=0,n.column=0):(n.row=e,n.column=Math.min(this.document.getLine(n.row).length,Math.max(0,t))),t<0&&(n.column=0),n}}).call(i.prototype)}),ace.define("ace/document",["require","exports","module","ace/lib/oop","ace/apply_delta","ace/lib/event_emitter","ace/range","ace/anchor"],function(e,t,n){"use strict";var o=e("./lib/oop"),r=e("./apply_delta").applyDelta,i=e("./lib/event_emitter").EventEmitter,a=e("./range").Range,s=e("./anchor").Anchor,l=function(e){this.$lines=[""],0===e.length?this.$lines=[""]:Array.isArray(e)?this.insertMergedLines({row:0,column:0},e):this.insert({row:0,column:0},e)};(function(){o.implement(this,i),this.setValue=function(e){var t=this.getLength()-1;this.remove(new a(0,0,t,this.getLine(t).length)),this.insert({row:0,column:0},e)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(e,t){return new s(this,e,t)},this.$split=0==="aaa".split(/a/).length?function(e){return e.replace(/\r\n|\r/g,"\n").split("\n")}:function(e){return e.split(/\r\n|\r|\n/)},this.$detectNewLine=function(e){var t=e.match(/^.*?(\r\n|\r|\n)/m);this.$autoNewLine=t?t[1]:"\n",this._signal("changeNewLineMode")},this.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return"\r\n";case"unix":return"\n";default:return this.$autoNewLine||"\n"}},this.$autoNewLine="",this.$newLineMode="auto",this.setNewLineMode=function(e){this.$newLineMode!==e&&(this.$newLineMode=e,this._signal("changeNewLineMode"))},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(e){return"\r\n"==e||"\r"==e||"\n"==e},this.getLine=function(e){return this.$lines[e]||""},this.getLines=function(e,t){return this.$lines.slice(e,t+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(e){return this.getLinesForRange(e).join(this.getNewLineCharacter())},this.getLinesForRange=function(e){var t;if(e.start.row===e.end.row)t=[this.getLine(e.start.row).substring(e.start.column,e.end.column)];else{(t=this.getLines(e.start.row,e.end.row))[0]=(t[0]||"").substring(e.start.column);var n=t.length-1;e.end.row-e.start.row==n&&(t[n]=t[n].substring(0,e.end.column))}return t},this.insertLines=function(e,t){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(e,t)},this.removeLines=function(e,t){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(e,t)},this.insertNewLine=function(e){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, ['', '']) instead."),this.insertMergedLines(e,["",""])},this.insert=function(e,t){return this.getLength()<=1&&this.$detectNewLine(t),this.insertMergedLines(e,this.$split(t))},this.insertInLine=function(e,t){var n=this.clippedPos(e.row,e.column),o=this.pos(e.row,e.column+t.length);return this.applyDelta({start:n,end:o,action:"insert",lines:[t]},!0),this.clonePos(o)},this.clippedPos=function(e,t){var n=this.getLength();void 0===e?e=n:e<0?e=0:e>=n&&(e=n-1,t=void 0);var o=this.getLine(e);return null==t&&(t=o.length),{row:e,column:t=Math.min(Math.max(t,0),o.length)}},this.clonePos=function(e){return{row:e.row,column:e.column}},this.pos=function(e,t){return{row:e,column:t}},this.$clipPosition=function(e){var t=this.getLength();return e.row>=t?(e.row=Math.max(0,t-1),e.column=this.getLine(t-1).length):(e.row=Math.max(0,e.row),e.column=Math.min(Math.max(e.column,0),this.getLine(e.row).length)),e},this.insertFullLines=function(e,t){var n=0;(e=Math.min(Math.max(e,0),this.getLength()))<this.getLength()?(t=t.concat([""]),n=0):(t=[""].concat(t),n=this.$lines[--e].length),this.insertMergedLines({row:e,column:n},t)},this.insertMergedLines=function(e,t){var n=this.clippedPos(e.row,e.column),o={row:n.row+t.length-1,column:(1==t.length?n.column:0)+t[t.length-1].length};return this.applyDelta({start:n,end:o,action:"insert",lines:t}),this.clonePos(o)},this.remove=function(e){var t=this.clippedPos(e.start.row,e.start.column),n=this.clippedPos(e.end.row,e.end.column);return this.applyDelta({start:t,end:n,action:"remove",lines:this.getLinesForRange({start:t,end:n})}),this.clonePos(t)},this.removeInLine=function(e,t,n){var o=this.clippedPos(e,t),r=this.clippedPos(e,n);return this.applyDelta({start:o,end:r,action:"remove",lines:this.getLinesForRange({start:o,end:r})},!0),this.clonePos(o)},this.removeFullLines=function(e,t){e=Math.min(Math.max(0,e),this.getLength()-1);var n=(t=Math.min(Math.max(0,t),this.getLength()-1))==this.getLength()-1&&e>0,o=t<this.getLength()-1,r=n?e-1:e,i=n?this.getLine(r).length:0,s=o?t+1:t,l=o?0:this.getLine(s).length,c=new a(r,i,s,l),u=this.$lines.slice(e,t+1);return this.applyDelta({start:c.start,end:c.end,action:"remove",lines:this.getLinesForRange(c)}),u},this.removeNewLine=function(e){e<this.getLength()-1&&e>=0&&this.applyDelta({start:this.pos(e,this.getLine(e).length),end:this.pos(e+1,0),action:"remove",lines:["",""]})},this.replace=function(e,t){return e instanceof a||(e=a.fromPoints(e.start,e.end)),0===t.length&&e.isEmpty()?e.start:t==this.getTextRange(e)?e.end:(this.remove(e),t?this.insert(e.start,t):e.start)},this.applyDeltas=function(e){for(var t=0;t<e.length;t++)this.applyDelta(e[t])},this.revertDeltas=function(e){for(var t=e.length-1;t>=0;t--)this.revertDelta(e[t])},this.applyDelta=function(e,t){var n="insert"==e.action;(n?e.lines.length<=1&&!e.lines[0]:!a.comparePoints(e.start,e.end))||(n&&e.lines.length>2e4&&this.$splitAndapplyLargeDelta(e,2e4),r(this.$lines,e,t),this._signal("change",e))},this.$splitAndapplyLargeDelta=function(e,t){for(var n=e.lines,o=n.length,r=e.start.row,i=e.start.column,a=0,s=0;;){var l=n.slice(a=s,s+=t-1);if(s>o){e.lines=l,e.start.row=r+a,e.start.column=i;break}l.push(""),this.applyDelta({start:this.pos(r+a,i),end:this.pos(r+s,i=0),action:e.action,lines:l},!0)}},this.revertDelta=function(e){this.applyDelta({start:this.clonePos(e.start),end:this.clonePos(e.end),action:"insert"==e.action?"remove":"insert",lines:e.lines.slice()})},this.indexToPosition=function(e,t){for(var n=this.$lines||this.getAllLines(),o=this.getNewLineCharacter().length,r=t||0,i=n.length;r<i;r++)if((e-=n[r].length+o)<0)return{row:r,column:e+n[r].length+o};return{row:i-1,column:n[i-1].length}},this.positionToIndex=function(e,t){for(var n=this.$lines||this.getAllLines(),o=this.getNewLineCharacter().length,r=0,i=Math.min(e.row,n.length),a=t||0;a<i;++a)r+=n[a].length+o;return r+e.column}}).call(l.prototype),t.Document=l}),ace.define("ace/background_tokenizer",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(e,t,n){"use strict";var o=e("./lib/oop"),r=e("./lib/event_emitter").EventEmitter,i=function(e,t){this.running=!1,this.lines=[],this.states=[],this.currentLine=0,this.tokenizer=e;var n=this;this.$worker=function(){if(n.running){for(var e=new Date,t=n.currentLine,o=-1,r=n.doc,i=t;n.lines[t];)t++;var a=r.getLength(),s=0;for(n.running=!1;t<a;){n.$tokenizeRow(t),o=t;do{t++}while(n.lines[t]);if(++s%5==0&&new Date-e>20){n.running=setTimeout(n.$worker,20);break}}n.currentLine=t,-1==o&&(o=t),i<=o&&n.fireUpdateEvent(i,o)}}};(function(){o.implement(this,r),this.setTokenizer=function(e){this.tokenizer=e,this.lines=[],this.states=[],this.start(0)},this.setDocument=function(e){this.doc=e,this.lines=[],this.states=[],this.stop()},this.fireUpdateEvent=function(e,t){this._signal("update",{data:{first:e,last:t}})},this.start=function(e){this.currentLine=Math.min(e||0,this.currentLine,this.doc.getLength()),this.lines.splice(this.currentLine,this.lines.length),this.states.splice(this.currentLine,this.states.length),this.stop(),this.running=setTimeout(this.$worker,700)},this.scheduleStart=function(){this.running||(this.running=setTimeout(this.$worker,700))},this.$updateOnChange=function(e){var t=e.start.row,n=e.end.row-t;if(0===n)this.lines[t]=null;else if("remove"==e.action)this.lines.splice(t,n+1,null),this.states.splice(t,n+1,null);else{var o=Array(n+1);o.unshift(t,1),this.lines.splice.apply(this.lines,o),this.states.splice.apply(this.states,o)}this.currentLine=Math.min(t,this.currentLine,this.doc.getLength()),this.stop()},this.stop=function(){this.running&&clearTimeout(this.running),this.running=!1},this.getTokens=function(e){return this.lines[e]||this.$tokenizeRow(e)},this.getState=function(e){return this.currentLine==e&&this.$tokenizeRow(e),this.states[e]||"start"},this.$tokenizeRow=function(e){var t=this.doc.getLine(e),n=this.tokenizer.getLineTokens(t,this.states[e-1],e);return this.states[e]+""!=n.state+""?(this.states[e]=n.state,this.lines[e+1]=null,this.currentLine>e+1&&(this.currentLine=e+1)):this.currentLine==e&&(this.currentLine=e+1),this.lines[e]=n.tokens}}).call(i.prototype),t.BackgroundTokenizer=i}),ace.define("ace/search_highlight",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],function(e,t,n){"use strict";var o=e("./lib/lang"),r=(e("./lib/oop"),e("./range").Range),i=function(e,t,n){this.setRegexp(e),this.clazz=t,this.type=n||"text"};(function(){this.MAX_RANGES=500,this.setRegexp=function(e){this.regExp+""!=e+""&&(this.regExp=e,this.cache=[])},this.update=function(e,t,n,i){if(this.regExp)for(var a=i.lastRow,s=i.firstRow;s<=a;s++){var l=this.cache[s];null==l&&((l=o.getMatchOffsets(n.getLine(s),this.regExp)).length>this.MAX_RANGES&&(l=l.slice(0,this.MAX_RANGES)),l=l.map(function(e){return new r(s,e.offset,s,e.offset+e.length)}),this.cache[s]=l.length?l:"");for(var c=l.length;c--;)t.drawSingleLineMarker(e,l[c].toScreenRange(n),this.clazz,i)}}}).call(i.prototype),t.SearchHighlight=i}),ace.define("ace/edit_session/fold_line",["require","exports","module","ace/range"],function(e,t,n){"use strict";var o=e("../range").Range;function r(e,t){this.foldData=e,Array.isArray(t)?this.folds=t:t=this.folds=[t];var n=t[t.length-1];this.range=new o(t[0].start.row,t[0].start.column,n.end.row,n.end.column),this.start=this.range.start,this.end=this.range.end,this.folds.forEach(function(e){e.setFoldLine(this)},this)}(function(){this.shiftRow=function(e){this.start.row+=e,this.end.row+=e,this.folds.forEach(function(t){t.start.row+=e,t.end.row+=e})},this.addFold=function(e){if(e.sameRow){if(e.start.row<this.startRow||e.endRow>this.endRow)throw new Error("Can't add a fold to this FoldLine as it has no connection");this.folds.push(e),this.folds.sort(function(e,t){return-e.range.compareEnd(t.start.row,t.start.column)}),this.range.compareEnd(e.start.row,e.start.column)>0?(this.end.row=e.end.row,this.end.column=e.end.column):this.range.compareStart(e.end.row,e.end.column)<0&&(this.start.row=e.start.row,this.start.column=e.start.column)}else if(e.start.row==this.end.row)this.folds.push(e),this.end.row=e.end.row,this.end.column=e.end.column;else{if(e.end.row!=this.start.row)throw new Error("Trying to add fold to FoldRow that doesn't have a matching row");this.folds.unshift(e),this.start.row=e.start.row,this.start.column=e.start.column}e.foldLine=this},this.containsRow=function(e){return e>=this.start.row&&e<=this.end.row},this.walk=function(e,t,n){var o,r,i=0,a=this.folds,s=!0;null==t&&(t=this.end.row,n=this.end.column);for(var l=0;l<a.length;l++){if(-1==(r=(o=a[l]).range.compareStart(t,n)))return void e(null,t,n,i,s);if(!e(null,o.start.row,o.start.column,i,s)&&e(o.placeholder,o.start.row,o.start.column,i)||0===r)return;s=!o.sameRow,i=o.end.column}e(null,t,n,i,s)},this.getNextFoldTo=function(e,t){for(var n,o,r=0;r<this.folds.length;r++){if(-1==(o=(n=this.folds[r]).range.compareEnd(e,t)))return{fold:n,kind:"after"};if(0===o)return{fold:n,kind:"inside"}}return null},this.addRemoveChars=function(e,t,n){var o,r,i=this.getNextFoldTo(e,t);if(i)if(o=i.fold,"inside"==i.kind&&o.start.column!=t&&o.start.row!=e)window.console&&window.console.log(e,t,o);else if(o.start.row==e){var a=(r=this.folds).indexOf(o);for(0===a&&(this.start.column+=n);a<r.length;a++){if((o=r[a]).start.column+=n,!o.sameRow)return;o.end.column+=n}this.end.column+=n}},this.split=function(e,t){var n=this.getNextFoldTo(e,t);if(!n||"inside"==n.kind)return null;var o=this.folds,i=this.foldData,a=o.indexOf(n.fold),s=o[a-1];this.end.row=s.end.row,this.end.column=s.end.column;var l=new r(i,o=o.splice(a,o.length-a));return i.splice(i.indexOf(this)+1,0,l),l},this.merge=function(e){for(var t=e.folds,n=0;n<t.length;n++)this.addFold(t[n]);var o=this.foldData;o.splice(o.indexOf(e),1)},this.toString=function(){var e=[this.range.toString()+": ["];return this.folds.forEach(function(t){e.push(" "+t.toString())}),e.push("]"),e.join("\n")},this.idxToPosition=function(e){for(var t=0,n=0;n<this.folds.length;n++){var o=this.folds[n];if((e-=o.start.column-t)<0)return{row:o.start.row,column:o.start.column+e};if((e-=o.placeholder.length)<0)return o.start;t=o.end.column}return{row:this.end.row,column:this.end.column+e}}}).call(r.prototype),t.FoldLine=r}),ace.define("ace/range_list",["require","exports","module","ace/range"],function(e,t,n){"use strict";var o=e("./range").Range.comparePoints,r=function(){this.ranges=[]};(function(){this.comparePoints=o,this.pointIndex=function(e,t,n){for(var r=this.ranges,i=n||0;i<r.length;i++){var a=r[i],s=o(e,a.end);if(!(s>0)){var l=o(e,a.start);return 0===s?t&&0!==l?-i-2:i:l>0||0===l&&!t?i:-i-1}}return-i-1},this.add=function(e){var t=!e.isEmpty(),n=this.pointIndex(e.start,t);n<0&&(n=-n-1);var o=this.pointIndex(e.end,t,n);return o<0?o=-o-1:o++,this.ranges.splice(n,o-n,e)},this.addList=function(e){for(var t=[],n=e.length;n--;)t.push.apply(t,this.add(e[n]));return t},this.substractPoint=function(e){var t=this.pointIndex(e);if(t>=0)return this.ranges.splice(t,1)},this.merge=function(){for(var e,t=[],n=this.ranges,r=(n=n.sort(function(e,t){return o(e.start,t.start)}))[0],i=1;i<n.length;i++){var a=o((e=r).end,(r=n[i]).start);a<0||(0!=a||e.isEmpty()||r.isEmpty())&&(o(e.end,r.end)<0&&(e.end.row=r.end.row,e.end.column=r.end.column),n.splice(i,1),t.push(r),r=e,i--)}return this.ranges=n,t},this.contains=function(e,t){return this.pointIndex({row:e,column:t})>=0},this.containsPoint=function(e){return this.pointIndex(e)>=0},this.rangeAtPoint=function(e){var t=this.pointIndex(e);if(t>=0)return this.ranges[t]},this.clipRows=function(e,t){var n=this.ranges;if(n[0].start.row>t||n[n.length-1].start.row<e)return[];var o=this.pointIndex({row:e,column:0});o<0&&(o=-o-1);var r=this.pointIndex({row:t,column:0},o);r<0&&(r=-r-1);for(var i=[],a=o;a<r;a++)i.push(n[a]);return i},this.removeAll=function(){return this.ranges.splice(0,this.ranges.length)},this.attach=function(e){this.session&&this.detach(),this.session=e,this.onChange=this.$onChange.bind(this),this.session.on("change",this.onChange)},this.detach=function(){this.session&&(this.session.removeListener("change",this.onChange),this.session=null)},this.$onChange=function(e){if("insert"==e.action)var t=e.start,n=e.end;else n=e.start,t=e.end;for(var o=t.row,r=n.row-o,i=-t.column+n.column,a=this.ranges,s=0,l=a.length;s<l;s++)if(!((c=a[s]).end.row<o)){if(c.start.row>o)break;if(c.start.row==o&&c.start.column>=t.column&&(c.start.column==t.column&&this.$insertRight||(c.start.column+=i,c.start.row+=r)),c.end.row==o&&c.end.column>=t.column){if(c.end.column==t.column&&this.$insertRight)continue;c.end.column==t.column&&i>0&&s<l-1&&c.end.column>c.start.column&&c.end.column==a[s+1].start.column&&(c.end.column-=i),c.end.column+=i,c.end.row+=r}}if(0!=r&&s<l)for(;s<l;s++){var c;(c=a[s]).start.row+=r,c.end.row+=r}}}).call(r.prototype),t.RangeList=r}),ace.define("ace/edit_session/fold",["require","exports","module","ace/range","ace/range_list","ace/lib/oop"],function(e,t,n){"use strict";e("../range");var o=e("../range_list").RangeList,r=e("../lib/oop"),i=t.Fold=function(e,t){this.foldLine=null,this.placeholder=t,this.range=e,this.start=e.start,this.end=e.end,this.sameRow=e.start.row==e.end.row,this.subFolds=this.ranges=[]};function a(e,t){e.row-=t.row,0==e.row&&(e.column-=t.column)}function s(e,t){0==e.row&&(e.column+=t.column),e.row+=t.row}r.inherits(i,o),(function(){this.toString=function(){return'"'+this.placeholder+'" '+this.range.toString()},this.setFoldLine=function(e){this.foldLine=e,this.subFolds.forEach(function(t){t.setFoldLine(e)})},this.clone=function(){var e=this.range.clone(),t=new i(e,this.placeholder);return this.subFolds.forEach(function(e){t.subFolds.push(e.clone())}),t.collapseChildren=this.collapseChildren,t},this.addSubFold=function(e){if(!this.range.isEqual(e)){if(!this.range.containsRange(e))throw new Error("A fold can't intersect already existing fold"+e.range+this.range);var t,n;a((t=e).start,n=this.start),a(t.end,n);for(var o=e.start.row,r=e.start.column,i=0,s=-1;i<this.subFolds.length&&1==(s=this.subFolds[i].range.compare(o,r));i++);if(0==s)return this.subFolds[i].addSubFold(e);o=e.range.end.row,r=e.range.end.column;var l=i;for(s=-1;l<this.subFolds.length&&1==(s=this.subFolds[l].range.compare(o,r));l++);if(0==s)throw new Error("A fold can't intersect already existing fold"+e.range+this.range);return this.subFolds.splice(i,l-i,e),e.setFoldLine(this.foldLine),e}},this.restoreRange=function(e){return function(e,t){s(e.start,t),s(e.end,t)}(e,this.start)}}).call(i.prototype)}),ace.define("ace/edit_session/folding",["require","exports","module","ace/range","ace/edit_session/fold_line","ace/edit_session/fold","ace/token_iterator"],function(e,t,n){"use strict";var o=e("../range").Range,r=e("./fold_line").FoldLine,i=e("./fold").Fold,a=e("../token_iterator").TokenIterator;t.Folding=function(){this.getFoldAt=function(e,t,n){var o=this.getFoldLine(e);if(!o)return null;for(var r=o.folds,i=0;i<r.length;i++){var a=r[i];if(a.range.contains(e,t)){if(1==n&&a.range.isEnd(e,t))continue;if(-1==n&&a.range.isStart(e,t))continue;return a}}},this.getFoldsInRange=function(e){var t=e.start,n=e.end,o=this.$foldData,r=[];t.column+=1,n.column-=1;for(var i=0;i<o.length;i++){var a=o[i].range.compareRange(e);if(2!=a){if(-2==a)break;for(var s=o[i].folds,l=0;l<s.length;l++){var c=s[l];if(-2==(a=c.range.compareRange(e)))break;if(2!=a){if(42==a)break;r.push(c)}}}}return t.column-=1,n.column+=1,r},this.getFoldsInRangeList=function(e){if(Array.isArray(e)){var t=[];e.forEach(function(e){t=t.concat(this.getFoldsInRange(e))},this)}else t=this.getFoldsInRange(e);return t},this.getAllFolds=function(){for(var e=[],t=this.$foldData,n=0;n<t.length;n++)for(var o=0;o<t[n].folds.length;o++)e.push(t[n].folds[o]);return e},this.getFoldStringAt=function(e,t,n,o){if(!(o=o||this.getFoldLine(e)))return null;for(var r,i,a={end:{column:0}},s=0;s<o.folds.length;s++){var l=(i=o.folds[s]).range.compareEnd(e,t);if(-1==l){r=this.getLine(i.start.row).substring(a.end.column,i.start.column);break}if(0===l)return null;a=i}return r||(r=this.getLine(i.start.row).substring(a.end.column)),-1==n?r.substring(0,t-a.end.column):1==n?r.substring(t-a.end.column):r},this.getFoldLine=function(e,t){var n=this.$foldData,o=0;for(t&&(o=n.indexOf(t)),-1==o&&(o=0);o<n.length;o++){var r=n[o];if(r.start.row<=e&&r.end.row>=e)return r;if(r.end.row>e)return null}return null},this.getNextFoldLine=function(e,t){var n=this.$foldData,o=0;for(t&&(o=n.indexOf(t)),-1==o&&(o=0);o<n.length;o++){var r=n[o];if(r.end.row>=e)return r}return null},this.getFoldedRowCount=function(e,t){for(var n=this.$foldData,o=t-e+1,r=0;r<n.length;r++){var i=n[r],a=i.end.row,s=i.start.row;if(a>=t){s<t&&(s>=e?o-=t-s:o=0);break}a>=e&&(o-=s>=e?a-s:a-e+1)}return o},this.$addFoldLine=function(e){return this.$foldData.push(e),this.$foldData.sort(function(e,t){return e.start.row-t.start.row}),e},this.addFold=function(e,t){var n,o=this.$foldData,a=!1;e instanceof i?n=e:(n=new i(t,e)).collapseChildren=t.collapseChildren,this.$clipRangeToDocument(n.range);var s=n.start.row,l=n.start.column,c=n.end.row,u=n.end.column;if(!(s<c||s==c&&l<=u-2))throw new Error("The range has to be at least 2 characters width");var d=this.getFoldAt(s,l,1),h=this.getFoldAt(c,u,-1);if(d&&h==d)return d.addSubFold(n);d&&!d.range.isStart(s,l)&&this.removeFold(d),h&&!h.range.isEnd(c,u)&&this.removeFold(h);var p=this.getFoldsInRange(n.range);p.length>0&&(this.removeFolds(p),p.forEach(function(e){n.addSubFold(e)}));for(var f=0;f<o.length;f++){var m=o[f];if(c==m.start.row){m.addFold(n),a=!0;break}if(s==m.end.row){if(m.addFold(n),a=!0,!n.sameRow){var g=o[f+1];if(g&&g.start.row==c){m.merge(g);break}}break}if(c<=m.start.row)break}return a||(m=this.$addFoldLine(new r(this.$foldData,n))),this.$useWrapMode?this.$updateWrapData(m.start.row,m.start.row):this.$updateRowLengthCache(m.start.row,m.start.row),this.$modified=!0,this._signal("changeFold",{data:n,action:"add"}),n},this.addFolds=function(e){e.forEach(function(e){this.addFold(e)},this)},this.removeFold=function(e){var t=e.foldLine,n=t.start.row,o=t.end.row,r=this.$foldData,i=t.folds;if(1==i.length)r.splice(r.indexOf(t),1);else if(t.range.isEnd(e.end.row,e.end.column))i.pop(),t.end.row=i[i.length-1].end.row,t.end.column=i[i.length-1].end.column;else if(t.range.isStart(e.start.row,e.start.column))i.shift(),t.start.row=i[0].start.row,t.start.column=i[0].start.column;else if(e.sameRow)i.splice(i.indexOf(e),1);else{var a=t.split(e.start.row,e.start.column);(i=a.folds).shift(),a.start.row=i[0].start.row,a.start.column=i[0].start.column}this.$updating||(this.$useWrapMode?this.$updateWrapData(n,o):this.$updateRowLengthCache(n,o)),this.$modified=!0,this._signal("changeFold",{data:e,action:"remove"})},this.removeFolds=function(e){for(var t=[],n=0;n<e.length;n++)t.push(e[n]);t.forEach(function(e){this.removeFold(e)},this),this.$modified=!0},this.expandFold=function(e){this.removeFold(e),e.subFolds.forEach(function(t){e.restoreRange(t),this.addFold(t)},this),e.collapseChildren>0&&this.foldAll(e.start.row+1,e.end.row,e.collapseChildren-1),e.subFolds=[]},this.expandFolds=function(e){e.forEach(function(e){this.expandFold(e)},this)},this.unfold=function(e,t){var n,r;if(null==e?(n=new o(0,0,this.getLength(),0),t=!0):n="number"==typeof e?new o(e,0,e,this.getLine(e).length):"row"in e?o.fromPoints(e,e):e,r=this.getFoldsInRangeList(n),t)this.removeFolds(r);else for(var i=r;i.length;)this.expandFolds(i),i=this.getFoldsInRangeList(n);if(r.length)return r},this.isRowFolded=function(e,t){return!!this.getFoldLine(e,t)},this.getRowFoldEnd=function(e,t){var n=this.getFoldLine(e,t);return n?n.end.row:e},this.getRowFoldStart=function(e,t){var n=this.getFoldLine(e,t);return n?n.start.row:e},this.getFoldDisplayLine=function(e,t,n,o,r){null==o&&(o=e.start.row),null==r&&(r=0),null==t&&(t=e.end.row),null==n&&(n=this.getLine(t).length);var i=this.doc,a="";return e.walk(function(e,t,n,s){if(!(t<o)){if(t==o){if(n<r)return;s=Math.max(r,s)}a+=null!=e?e:i.getLine(t).substring(s,n)}},t,n),a},this.getDisplayLine=function(e,t,n,o){var r,i=this.getFoldLine(e);return i?this.getFoldDisplayLine(i,e,t,n,o):(r=this.doc.getLine(e)).substring(o||0,t||r.length)},this.$cloneFoldData=function(){var e=[];return e=this.$foldData.map(function(t){var n=t.folds.map(function(e){return e.clone()});return new r(e,n)})},this.toggleFold=function(e){var t,n,o=this.selection.getRange();if(o.isEmpty()){var r=o.start;if(t=this.getFoldAt(r.row,r.column))return void this.expandFold(t);(n=this.findMatchingBracket(r))?1==o.comparePoint(n)?o.end=n:(o.start=n,o.start.column++,o.end.column--):(n=this.findMatchingBracket({row:r.row,column:r.column+1}))?(1==o.comparePoint(n)?o.end=n:o.start=n,o.start.column++):o=this.getCommentFoldRange(r.row,r.column)||o}else{var i=this.getFoldsInRange(o);if(e&&i.length)return void this.expandFolds(i);1==i.length&&(t=i[0])}if(t||(t=this.getFoldAt(o.start.row,o.start.column)),t&&t.range.toString()==o.toString())this.expandFold(t);else{var a="...";if(!o.isMultiLine()){if((a=this.getTextRange(o)).length<4)return;a=a.trim().substring(0,2)+".."}this.addFold(a,o)}},this.getCommentFoldRange=function(e,t,n){var r=new a(this,e,t),i=r.getCurrentToken(),s=i.type;if(i&&/^comment|string/.test(s)){"comment"==(s=s.match(/comment|string/)[0])&&(s+="|doc-start");var l=new RegExp(s),c=new o;if(1!=n){do{i=r.stepBackward()}while(i&&l.test(i.type));r.stepForward()}if(c.start.row=r.getCurrentTokenRow(),c.start.column=r.getCurrentTokenColumn()+2,r=new a(this,e,t),-1!=n){var u=-1;do{if(i=r.stepForward(),-1==u){var d=this.getState(r.$row);l.test(d)||(u=r.$row)}else if(r.$row>u)break}while(i&&l.test(i.type));i=r.stepBackward()}else i=r.getCurrentToken();return c.end.row=r.getCurrentTokenRow(),c.end.column=r.getCurrentTokenColumn()+i.value.length-2,c}},this.foldAll=function(e,t,n){null==n&&(n=1e5);var o=this.foldWidgets;if(o){t=t||this.getLength();for(var r=e=e||0;r<t;r++)if(null==o[r]&&(o[r]=this.getFoldWidget(r)),"start"==o[r]){var i=this.getFoldWidgetRange(r);if(i&&i.isMultiLine()&&i.end.row<=t&&i.start.row>=e){r=i.end.row;try{var a=this.addFold("...",i);a&&(a.collapseChildren=n)}catch(s){}}}}},this.$foldStyles={manual:1,markbegin:1,markbeginend:1},this.$foldStyle="markbegin",this.setFoldStyle=function(e){if(!this.$foldStyles[e])throw new Error("invalid fold style: "+e+"["+Object.keys(this.$foldStyles).join(", ")+"]");if(this.$foldStyle!=e){this.$foldStyle=e,"manual"==e&&this.unfold();var t=this.$foldMode;this.$setFolding(null),this.$setFolding(t)}},this.$setFolding=function(e){this.$foldMode!=e&&(this.$foldMode=e,this.off("change",this.$updateFoldWidgets),this.off("tokenizerUpdate",this.$tokenizerUpdateFoldWidgets),this._signal("changeAnnotation"),e&&"manual"!=this.$foldStyle?(this.foldWidgets=[],this.getFoldWidget=e.getFoldWidget.bind(e,this,this.$foldStyle),this.getFoldWidgetRange=e.getFoldWidgetRange.bind(e,this,this.$foldStyle),this.$updateFoldWidgets=this.updateFoldWidgets.bind(this),this.$tokenizerUpdateFoldWidgets=this.tokenizerUpdateFoldWidgets.bind(this),this.on("change",this.$updateFoldWidgets),this.on("tokenizerUpdate",this.$tokenizerUpdateFoldWidgets)):this.foldWidgets=null)},this.getParentFoldRangeData=function(e,t){var n=this.foldWidgets;if(!n||t&&n[e])return{};for(var o,r=e-1;r>=0;){var i=n[r];if(null==i&&(i=n[r]=this.getFoldWidget(r)),"start"==i){var a=this.getFoldWidgetRange(r);if(o||(o=a),a&&a.end.row>=e)break}r--}return{range:-1!==r&&a,firstRange:o}},this.onFoldWidgetClick=function(e,t){if(!this.$toggleFoldWidget(e,{children:(t=t.domEvent).shiftKey,all:t.ctrlKey||t.metaKey,siblings:t.altKey})){var n=t.target||t.srcElement;n&&/ace_fold-widget/.test(n.className)&&(n.className+=" ace_invalid")}},this.$toggleFoldWidget=function(e,t){if(this.getFoldWidget){var n=this.getFoldWidget(e),o=this.getLine(e),r="end"===n?-1:1,i=this.getFoldAt(e,-1===r?0:o.length,r);if(i)return t.children||t.all?this.removeFold(i):this.expandFold(i),i;var a=this.getFoldWidgetRange(e,!0);if(a&&!a.isMultiLine()&&(i=this.getFoldAt(a.start.row,a.start.column,1))&&a.isEqual(i.range))return this.removeFold(i),i;if(t.siblings){var s=this.getParentFoldRangeData(e);if(s.range)var l=s.range.start.row+1,c=s.range.end.row;this.foldAll(l,c,t.all?1e4:0)}else t.children?(c=a?a.end.row:this.getLength(),this.foldAll(e+1,c,t.all?1e4:0)):a&&(t.all&&(a.collapseChildren=1e4),this.addFold("...",a));return a}},this.toggleFoldWidget=function(e){var t=this.selection.getCursor().row;t=this.getRowFoldStart(t);var n=this.$toggleFoldWidget(t,{});if(!n){var o=this.getParentFoldRangeData(t,!0);if(n=o.range||o.firstRange){var r=this.getFoldAt(t=n.start.row,this.getLine(t).length,1);r?this.removeFold(r):this.addFold("...",n)}}},this.updateFoldWidgets=function(e){var t=e.start.row,n=e.end.row-t;if(0===n)this.foldWidgets[t]=null;else if("remove"==e.action)this.foldWidgets.splice(t,n+1,null);else{var o=Array(n+1);o.unshift(t,1),this.foldWidgets.splice.apply(this.foldWidgets,o)}},this.tokenizerUpdateFoldWidgets=function(e){var t=e.data;t.first!=t.last&&this.foldWidgets.length>t.first&&this.foldWidgets.splice(t.first,this.foldWidgets.length)}}}),ace.define("ace/edit_session/bracket_match",["require","exports","module","ace/token_iterator","ace/range"],function(e,t,n){"use strict";var o=e("../token_iterator").TokenIterator,r=e("../range").Range;t.BracketMatch=function(){this.findMatchingBracket=function(e,t){if(0==e.column)return null;var n=t||this.getLine(e.row).charAt(e.column-1);if(""==n)return null;var o=n.match(/([\(\[\{])|([\)\]\}])/);return o?o[1]?this.$findClosingBracket(o[1],e):this.$findOpeningBracket(o[2],e):null},this.getBracketRange=function(e){var t,n=this.getLine(e.row),o=!0,i=n.charAt(e.column-1),a=i&&i.match(/([\(\[\{])|([\)\]\}])/);if(a||(i=n.charAt(e.column),e={row:e.row,column:e.column+1},a=i&&i.match(/([\(\[\{])|([\)\]\}])/),o=!1),!a)return null;if(a[1]){if(!(s=this.$findClosingBracket(a[1],e)))return null;t=r.fromPoints(e,s),o||(t.end.column++,t.start.column--),t.cursor=t.end}else{var s;if(!(s=this.$findOpeningBracket(a[2],e)))return null;t=r.fromPoints(s,e),o||(t.start.column++,t.end.column--),t.cursor=t.start}return t},this.$brackets={")":"(","(":")","]":"[","[":"]","{":"}","}":"{"},this.$findOpeningBracket=function(e,t,n){var r=this.$brackets[e],i=1,a=new o(this,t.row,t.column),s=a.getCurrentToken();if(s||(s=a.stepForward()),s){n||(n=new RegExp("(\\.?"+s.type.replace(".","\\.").replace("rparen",".paren").replace(/\b(?:end)\b/,"(?:start|begin|end)")+")+"));for(var l=t.column-a.getCurrentTokenColumn()-2,c=s.value;;){for(;l>=0;){var u=c.charAt(l);if(u==r){if(0==(i-=1))return{row:a.getCurrentTokenRow(),column:l+a.getCurrentTokenColumn()}}else u==e&&(i+=1);l-=1}do{s=a.stepBackward()}while(s&&!n.test(s.type));if(null==s)break;l=(c=s.value).length-1}return null}},this.$findClosingBracket=function(e,t,n){var r=this.$brackets[e],i=1,a=new o(this,t.row,t.column),s=a.getCurrentToken();if(s||(s=a.stepForward()),s){n||(n=new RegExp("(\\.?"+s.type.replace(".","\\.").replace("lparen",".paren").replace(/\b(?:start|begin)\b/,"(?:start|begin|end)")+")+"));for(var l=t.column-a.getCurrentTokenColumn();;){for(var c=s.value,u=c.length;l<u;){var d=c.charAt(l);if(d==r){if(0==(i-=1))return{row:a.getCurrentTokenRow(),column:l+a.getCurrentTokenColumn()}}else d==e&&(i+=1);l+=1}do{s=a.stepForward()}while(s&&!n.test(s.type));if(null==s)break;l=0}return null}}}}),ace.define("ace/edit_session",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/bidihandler","ace/config","ace/lib/event_emitter","ace/selection","ace/mode/text","ace/range","ace/document","ace/background_tokenizer","ace/search_highlight","ace/edit_session/folding","ace/edit_session/bracket_match"],function(e,t,n){"use strict";var o=e("./lib/oop"),r=e("./lib/lang"),i=e("./bidihandler").BidiHandler,a=e("./config"),s=e("./lib/event_emitter").EventEmitter,l=e("./selection").Selection,c=e("./mode/text").Mode,u=e("./range").Range,d=e("./document").Document,h=e("./background_tokenizer").BackgroundTokenizer,p=e("./search_highlight").SearchHighlight,f=function(e,t){this.$breakpoints=[],this.$decorations=[],this.$frontMarkers={},this.$backMarkers={},this.$markerId=1,this.$undoSelect=!0,this.$foldData=[],this.id="session"+ ++f.$uid,this.$foldData.toString=function(){return this.join("\n")},this.on("changeFold",this.onChangeFold.bind(this)),this.$onChange=this.onChange.bind(this),"object"==typeof e&&e.getLine||(e=new d(e)),this.$bidiHandler=new i(this),this.setDocument(e),this.selection=new l(this),a.resetOptions(this),this.setMode(t),a._signal("session",this)};f.$uid=0,(function(){o.implement(this,s),this.setDocument=function(e){this.doc&&this.doc.removeListener("change",this.$onChange),this.doc=e,e.on("change",this.$onChange),this.bgTokenizer&&this.bgTokenizer.setDocument(this.getDocument()),this.resetCaches()},this.getDocument=function(){return this.doc},this.$resetRowCache=function(e){if(!e)return this.$docRowCache=[],void(this.$screenRowCache=[]);var t=this.$docRowCache.length,n=this.$getRowCacheIndex(this.$docRowCache,e)+1;t>n&&(this.$docRowCache.splice(n,t),this.$screenRowCache.splice(n,t))},this.$getRowCacheIndex=function(e,t){for(var n=0,o=e.length-1;n<=o;){var r=n+o>>1,i=e[r];if(t>i)n=r+1;else{if(!(t<i))return r;o=r-1}}return n-1},this.resetCaches=function(){this.$modified=!0,this.$wrapData=[],this.$rowLengthCache=[],this.$resetRowCache(0),this.bgTokenizer&&this.bgTokenizer.start(0)},this.onChangeFold=function(e){this.$resetRowCache(e.data.start.row)},this.onChange=function(e){this.$modified=!0,this.$bidiHandler.onChange(e),this.$resetRowCache(e.start.row);var t=this.$updateInternalDataOnChange(e);this.$fromUndo||!this.$undoManager||e.ignore||(this.$deltasDoc.push(e),t&&0!=t.length&&this.$deltasFold.push({action:"removeFolds",folds:t}),this.$informUndoManager.schedule()),this.bgTokenizer&&this.bgTokenizer.$updateOnChange(e),this._signal("change",e)},this.setValue=function(e){this.doc.setValue(e),this.selection.moveTo(0,0),this.$resetRowCache(0),this.$deltas=[],this.$deltasDoc=[],this.$deltasFold=[],this.setUndoManager(this.$undoManager),this.getUndoManager().reset()},this.getValue=this.toString=function(){return this.doc.getValue()},this.getSelection=function(){return this.selection},this.getState=function(e){return this.bgTokenizer.getState(e)},this.getTokens=function(e){return this.bgTokenizer.getTokens(e)},this.getTokenAt=function(e,t){var n,o=this.bgTokenizer.getTokens(e),r=0;if(null==t){var i=o.length-1;r=this.getLine(e).length}else for(i=0;i<o.length&&!((r+=o[i].value.length)>=t);i++);return(n=o[i])?(n.index=i,n.start=r-n.value.length,n):null},this.setUndoManager=function(e){if(this.$undoManager=e,this.$deltas=[],this.$deltasDoc=[],this.$deltasFold=[],this.$informUndoManager&&this.$informUndoManager.cancel(),e){var t=this;this.$syncInformUndoManager=function(){t.$informUndoManager.cancel(),t.$deltasFold.length&&(t.$deltas.push({group:"fold",deltas:t.$deltasFold}),t.$deltasFold=[]),t.$deltasDoc.length&&(t.$deltas.push({group:"doc",deltas:t.$deltasDoc}),t.$deltasDoc=[]),t.$deltas.length>0&&e.execute({action:"aceupdate",args:[t.$deltas,t],merge:t.mergeUndoDeltas}),t.mergeUndoDeltas=!1,t.$deltas=[]},this.$informUndoManager=r.delayedCall(this.$syncInformUndoManager)}},this.markUndoGroup=function(){this.$syncInformUndoManager&&this.$syncInformUndoManager()},this.$defaultUndoManager={undo:function(){},redo:function(){},reset:function(){}},this.getUndoManager=function(){return this.$undoManager||this.$defaultUndoManager},this.getTabString=function(){return this.getUseSoftTabs()?r.stringRepeat(" ",this.getTabSize()):"\t"},this.setUseSoftTabs=function(e){this.setOption("useSoftTabs",e)},this.getUseSoftTabs=function(){return this.$useSoftTabs&&!this.$mode.$indentWithTabs},this.setTabSize=function(e){this.setOption("tabSize",e)},this.getTabSize=function(){return this.$tabSize},this.isTabStop=function(e){return this.$useSoftTabs&&e.column%this.$tabSize==0},this.setNavigateWithinSoftTabs=function(e){this.setOption("navigateWithinSoftTabs",e)},this.getNavigateWithinSoftTabs=function(){return this.$navigateWithinSoftTabs},this.$overwrite=!1,this.setOverwrite=function(e){this.setOption("overwrite",e)},this.getOverwrite=function(){return this.$overwrite},this.toggleOverwrite=function(){this.setOverwrite(!this.$overwrite)},this.addGutterDecoration=function(e,t){this.$decorations[e]||(this.$decorations[e]=""),this.$decorations[e]+=" "+t,this._signal("changeBreakpoint",{})},this.removeGutterDecoration=function(e,t){this.$decorations[e]=(this.$decorations[e]||"").replace(" "+t,""),this._signal("changeBreakpoint",{})},this.getBreakpoints=function(){return this.$breakpoints},this.setBreakpoints=function(e){this.$breakpoints=[];for(var t=0;t<e.length;t++)this.$breakpoints[e[t]]="ace_breakpoint";this._signal("changeBreakpoint",{})},this.clearBreakpoints=function(){this.$breakpoints=[],this._signal("changeBreakpoint",{})},this.setBreakpoint=function(e,t){void 0===t&&(t="ace_breakpoint"),t?this.$breakpoints[e]=t:delete this.$breakpoints[e],this._signal("changeBreakpoint",{})},this.clearBreakpoint=function(e){delete this.$breakpoints[e],this._signal("changeBreakpoint",{})},this.addMarker=function(e,t,n,o){var r=this.$markerId++,i={range:e,type:n||"line",renderer:"function"==typeof n?n:null,clazz:t,inFront:!!o,id:r};return o?(this.$frontMarkers[r]=i,this._signal("changeFrontMarker")):(this.$backMarkers[r]=i,this._signal("changeBackMarker")),r},this.addDynamicMarker=function(e,t){if(e.update){var n=this.$markerId++;return e.id=n,e.inFront=!!t,t?(this.$frontMarkers[n]=e,this._signal("changeFrontMarker")):(this.$backMarkers[n]=e,this._signal("changeBackMarker")),e}},this.removeMarker=function(e){var t=this.$frontMarkers[e]||this.$backMarkers[e];t&&t&&(delete(t.inFront?this.$frontMarkers:this.$backMarkers)[e],this._signal(t.inFront?"changeFrontMarker":"changeBackMarker"))},this.getMarkers=function(e){return e?this.$frontMarkers:this.$backMarkers},this.highlight=function(e){if(!this.$searchHighlight){var t=new p(null,"ace_selected-word","text");this.$searchHighlight=this.addDynamicMarker(t)}this.$searchHighlight.setRegexp(e)},this.highlightLines=function(e,t,n,o){"number"!=typeof t&&(n=t,t=e),n||(n="ace_step");var r=new u(e,0,t,1/0);return r.id=this.addMarker(r,n,"fullLine",o),r},this.setAnnotations=function(e){this.$annotations=e,this._signal("changeAnnotation",{})},this.getAnnotations=function(){return this.$annotations||[]},this.clearAnnotations=function(){this.setAnnotations([])},this.$detectNewLine=function(e){var t=e.match(/^.*?(\r?\n)/m);this.$autoNewLine=t?t[1]:"\n"},this.getWordRange=function(e,t){var n=this.getLine(e),o=!1;if(t>0&&(o=!!n.charAt(t-1).match(this.tokenRe)),o||(o=!!n.charAt(t).match(this.tokenRe)),o)var r=this.tokenRe;else r=/^\s+$/.test(n.slice(t-1,t+1))?/\s/:this.nonTokenRe;var i=t;if(i>0){do{i--}while(i>=0&&n.charAt(i).match(r));i++}for(var a=t;a<n.length&&n.charAt(a).match(r);)a++;return new u(e,i,e,a)},this.getAWordRange=function(e,t){for(var n=this.getWordRange(e,t),o=this.getLine(n.end.row);o.charAt(n.end.column).match(/[ \t]/);)n.end.column+=1;return n},this.setNewLineMode=function(e){this.doc.setNewLineMode(e)},this.getNewLineMode=function(){return this.doc.getNewLineMode()},this.setUseWorker=function(e){this.setOption("useWorker",e)},this.getUseWorker=function(){return this.$useWorker},this.onReloadTokenizer=function(e){this.bgTokenizer.start(e.data.first),this._signal("tokenizerUpdate",e)},this.$modes={},this.$mode=null,this.$modeId=null,this.setMode=function(e,t){if(e&&"object"==typeof e){if(e.getTokenizer)return this.$onChangeMode(e);var n=e,o=e.path}else o=e||"ace/mode/text";if(this.$modes["ace/mode/text"]||(this.$modes["ace/mode/text"]=new c),this.$modes[o]&&!n)return this.$onChangeMode(this.$modes[o]),void(t&&t());this.$modeId=o,a.loadModule(["mode",o],(function(e){if(this.$modeId!==o)return t&&t();this.$modes[o]&&!n?this.$onChangeMode(this.$modes[o]):e&&e.Mode&&(e=new e.Mode(n),n||(this.$modes[o]=e,e.$id=o),this.$onChangeMode(e)),t&&t()}).bind(this)),this.$mode||this.$onChangeMode(this.$modes["ace/mode/text"],!0)},this.$onChangeMode=function(e,t){if(t||(this.$modeId=e.$id),this.$mode!==e){this.$mode=e,this.$stopWorker(),this.$useWorker&&this.$startWorker();var n=e.getTokenizer();if(void 0!==n.addEventListener){var o=this.onReloadTokenizer.bind(this);n.addEventListener("update",o)}if(this.bgTokenizer)this.bgTokenizer.setTokenizer(n);else{this.bgTokenizer=new h(n);var r=this;this.bgTokenizer.addEventListener("update",function(e){r._signal("tokenizerUpdate",e)})}this.bgTokenizer.setDocument(this.getDocument()),this.tokenRe=e.tokenRe,this.nonTokenRe=e.nonTokenRe,t||(e.attachToSession&&e.attachToSession(this),this.$options.wrapMethod.set.call(this,this.$wrapMethod),this.$setFolding(e.foldingRules),this.bgTokenizer.start(0),this._emit("changeMode"))}},this.$stopWorker=function(){this.$worker&&(this.$worker.terminate(),this.$worker=null)},this.$startWorker=function(){try{this.$worker=this.$mode.createWorker(this)}catch(e){a.warn("Could not load worker",e),this.$worker=null}},this.getMode=function(){return this.$mode},this.$scrollTop=0,this.setScrollTop=function(e){this.$scrollTop===e||isNaN(e)||(this.$scrollTop=e,this._signal("changeScrollTop",e))},this.getScrollTop=function(){return this.$scrollTop},this.$scrollLeft=0,this.setScrollLeft=function(e){this.$scrollLeft===e||isNaN(e)||(this.$scrollLeft=e,this._signal("changeScrollLeft",e))},this.getScrollLeft=function(){return this.$scrollLeft},this.getScreenWidth=function(){return this.$computeWidth(),this.lineWidgets?Math.max(this.getLineWidgetMaxWidth(),this.screenWidth):this.screenWidth},this.getLineWidgetMaxWidth=function(){if(null!=this.lineWidgetsWidth)return this.lineWidgetsWidth;var e=0;return this.lineWidgets.forEach(function(t){t&&t.screenWidth>e&&(e=t.screenWidth)}),this.lineWidgetWidth=e},this.$computeWidth=function(e){if(this.$modified||e){if(this.$modified=!1,this.$useWrapMode)return this.screenWidth=this.$wrapLimit;for(var t=this.doc.getAllLines(),n=this.$rowLengthCache,o=0,r=0,i=this.$foldData[r],a=i?i.start.row:1/0,s=t.length,l=0;l<s;l++){if(l>a){if((l=i.end.row+1)>=s)break;a=(i=this.$foldData[r++])?i.start.row:1/0}null==n[l]&&(n[l]=this.$getStringScreenWidth(t[l])[0]),n[l]>o&&(o=n[l])}this.screenWidth=o}},this.getLine=function(e){return this.doc.getLine(e)},this.getLines=function(e,t){return this.doc.getLines(e,t)},this.getLength=function(){return this.doc.getLength()},this.getTextRange=function(e){return this.doc.getTextRange(e||this.selection.getRange())},this.insert=function(e,t){return this.doc.insert(e,t)},this.remove=function(e){return this.doc.remove(e)},this.removeFullLines=function(e,t){return this.doc.removeFullLines(e,t)},this.undoChanges=function(e,t){if(e.length){this.$fromUndo=!0;for(var n=null,o=e.length-1;-1!=o;o--){var r=e[o];"doc"==r.group?(this.doc.revertDeltas(r.deltas),n=this.$getUndoSelection(r.deltas,!0,n)):r.deltas.forEach(function(e){this.addFolds(e.folds)},this)}return this.$fromUndo=!1,n&&this.$undoSelect&&!t&&this.selection.setSelectionRange(n),n}},this.redoChanges=function(e,t){if(e.length){this.$fromUndo=!0;for(var n=null,o=0;o<e.length;o++){var r=e[o];"doc"==r.group&&(this.doc.applyDeltas(r.deltas),n=this.$getUndoSelection(r.deltas,!1,n))}return this.$fromUndo=!1,n&&this.$undoSelect&&!t&&this.selection.setSelectionRange(n),n}},this.setUndoSelect=function(e){this.$undoSelect=e},this.$getUndoSelection=function(e,t,n){function o(e){return t?"insert"!==e.action:"insert"===e.action}var r,i,a=e[0];r=o(a)?u.fromPoints(a.start,a.end):u.fromPoints(a.start,a.start);for(var s=1;s<e.length;s++)o(a=e[s])?(-1==r.compare((i=a.start).row,i.column)&&r.setStart(i),1==r.compare((i=a.end).row,i.column)&&r.setEnd(i)):-1==r.compare((i=a.start).row,i.column)&&(r=u.fromPoints(a.start,a.start));if(null!=n){0===u.comparePoints(n.start,r.start)&&(n.start.column+=r.end.column-r.start.column,n.end.column+=r.end.column-r.start.column);var l=n.compareRange(r);1==l?r.setStart(n.start):-1==l&&r.setEnd(n.end)}return r},this.replace=function(e,t){return this.doc.replace(e,t)},this.moveText=function(e,t,n){var o=this.getTextRange(e),r=this.getFoldsInRange(e),i=u.fromPoints(t,t);if(n||(this.remove(e),(c=(l=e.start.row-e.end.row)?-e.end.column:e.start.column-e.end.column)&&(i.start.row==e.end.row&&i.start.column>e.end.column&&(i.start.column+=c),i.end.row==e.end.row&&i.end.column>e.end.column&&(i.end.column+=c)),l&&i.start.row>=e.end.row&&(i.start.row+=l,i.end.row+=l)),i.end=this.insert(i.start,o),r.length){var a=e.start,s=i.start,l=s.row-a.row,c=s.column-a.column;this.addFolds(r.map(function(e){return(e=e.clone()).start.row==a.row&&(e.start.column+=c),e.end.row==a.row&&(e.end.column+=c),e.start.row+=l,e.end.row+=l,e}))}return i},this.indentRows=function(e,t,n){n=n.replace(/\t/g,this.getTabString());for(var o=e;o<=t;o++)this.doc.insertInLine({row:o,column:0},n)},this.outdentRows=function(e){for(var t=e.collapseRows(),n=new u(0,0,0,0),o=this.getTabSize(),r=t.start.row;r<=t.end.row;++r){var i=this.getLine(r);n.start.row=r,n.end.row=r;for(var a=0;a<o&&" "==i.charAt(a);++a);a<o&&"\t"==i.charAt(a)?(n.start.column=a,n.end.column=a+1):(n.start.column=0,n.end.column=a),this.remove(n)}},this.$moveLines=function(e,t,n){if(e=this.getRowFoldStart(e),t=this.getRowFoldEnd(t),n<0){if((r=this.getRowFoldStart(e+n))<0)return 0;var o=r-e}else if(n>0){var r;if((r=this.getRowFoldEnd(t+n))>this.doc.getLength()-1)return 0;o=r-t}else e=this.$clipRowToDocument(e),o=(t=this.$clipRowToDocument(t))-e+1;var i=new u(e,0,t,Number.MAX_VALUE),a=this.getFoldsInRange(i).map(function(e){return(e=e.clone()).start.row+=o,e.end.row+=o,e}),s=0==n?this.doc.getLines(e,t):this.doc.removeFullLines(e,t);return this.doc.insertFullLines(e+o,s),a.length&&this.addFolds(a),o},this.moveLinesUp=function(e,t){return this.$moveLines(e,t,-1)},this.moveLinesDown=function(e,t){return this.$moveLines(e,t,1)},this.duplicateLines=function(e,t){return this.$moveLines(e,t,0)},this.$clipRowToDocument=function(e){return Math.max(0,Math.min(e,this.doc.getLength()-1))},this.$clipColumnToRow=function(e,t){return t<0?0:Math.min(this.doc.getLine(e).length,t)},this.$clipPositionToDocument=function(e,t){if(t=Math.max(0,t),e<0)e=0,t=0;else{var n=this.doc.getLength();e>=n?(e=n-1,t=this.doc.getLine(n-1).length):t=Math.min(this.doc.getLine(e).length,t)}return{row:e,column:t}},this.$clipRangeToDocument=function(e){e.start.row<0?(e.start.row=0,e.start.column=0):e.start.column=this.$clipColumnToRow(e.start.row,e.start.column);var t=this.doc.getLength()-1;return e.end.row>t?(e.end.row=t,e.end.column=this.doc.getLine(t).length):e.end.column=this.$clipColumnToRow(e.end.row,e.end.column),e},this.$wrapLimit=80,this.$useWrapMode=!1,this.$wrapLimitRange={min:null,max:null},this.setUseWrapMode=function(e){if(e!=this.$useWrapMode){if(this.$useWrapMode=e,this.$modified=!0,this.$resetRowCache(0),e){var t=this.getLength();this.$wrapData=Array(t),this.$updateWrapData(0,t-1)}this._signal("changeWrapMode")}},this.getUseWrapMode=function(){return this.$useWrapMode},this.setWrapLimitRange=function(e,t){this.$wrapLimitRange.min===e&&this.$wrapLimitRange.max===t||(this.$wrapLimitRange={min:e,max:t},this.$modified=!0,this.$bidiHandler.markAsDirty(),this.$useWrapMode&&this._signal("changeWrapMode"))},this.adjustWrapLimit=function(e,t){var n=this.$wrapLimitRange;n.max<0&&(n={min:t,max:t});var o=this.$constrainWrapLimit(e,n.min,n.max);return o!=this.$wrapLimit&&o>1&&(this.$wrapLimit=o,this.$modified=!0,this.$useWrapMode&&(this.$updateWrapData(0,this.getLength()-1),this.$resetRowCache(0),this._signal("changeWrapLimit")),!0)},this.$constrainWrapLimit=function(e,t,n){return t&&(e=Math.max(t,e)),n&&(e=Math.min(n,e)),e},this.getWrapLimit=function(){return this.$wrapLimit},this.setWrapLimit=function(e){this.setWrapLimitRange(e,e)},this.getWrapLimitRange=function(){return{min:this.$wrapLimitRange.min,max:this.$wrapLimitRange.max}},this.$updateInternalDataOnChange=function(e){var t=this.$useWrapMode,n=e.action,o=e.start,r=e.end,i=o.row,a=r.row,s=a-i,l=null;if(this.$updating=!0,0!=s)if("remove"===n){this[t?"$wrapData":"$rowLengthCache"].splice(i,s);var c=this.$foldData;l=this.getFoldsInRange(e),this.removeFolds(l);var u=0;if(m=this.getFoldLine(r.row)){m.addRemoveChars(r.row,r.column,o.column-r.column),m.shiftRow(-s);var d=this.getFoldLine(i);d&&d!==m&&(d.merge(m),m=d),u=c.indexOf(m)+1}for(;u<c.length;u++)(m=c[u]).start.row>=r.row&&m.shiftRow(-s);a=i}else{var h=Array(s);h.unshift(i,0);var p=t?this.$wrapData:this.$rowLengthCache;if(p.splice.apply(p,h),c=this.$foldData,u=0,m=this.getFoldLine(i)){var f=m.range.compareInside(o.row,o.column);0==f?(m=m.split(o.row,o.column))&&(m.shiftRow(s),m.addRemoveChars(a,0,r.column-o.column)):-1==f&&(m.addRemoveChars(i,0,r.column-o.column),m.shiftRow(s)),u=c.indexOf(m)+1}for(;u<c.length;u++){var m;(m=c[u]).start.row>=i&&m.shiftRow(s)}}else s=Math.abs(e.start.column-e.end.column),"remove"===n&&(l=this.getFoldsInRange(e),this.removeFolds(l),s=-s),(m=this.getFoldLine(i))&&m.addRemoveChars(i,o.column,s);return t&&this.$wrapData.length!=this.doc.getLength()&&console.error("doc.getLength() and $wrapData.length have to be the same!"),this.$updating=!1,t?this.$updateWrapData(i,a):this.$updateRowLengthCache(i,a),l},this.$updateRowLengthCache=function(e,t,n){this.$rowLengthCache[e]=null,this.$rowLengthCache[t]=null},this.$updateWrapData=function(n,o){var r,i,a=this.doc.getAllLines(),s=this.getTabSize(),l=this.$wrapData,c=this.$wrapLimit,u=n;for(o=Math.min(o,a.length-1);u<=o;)(i=this.getFoldLine(u,i))?(r=[],i.walk((function(n,o,i,s){var l;if(null!=n){(l=this.$getDisplayTokens(n,r.length))[0]=e;for(var c=1;c<l.length;c++)l[c]=t}else l=this.$getDisplayTokens(a[o].substring(s,i),r.length);r=r.concat(l)}).bind(this),i.end.row,a[i.end.row].length+1),l[i.start.row]=this.$computeWrapSplits(r,c,s),u=i.end.row+1):(r=this.$getDisplayTokens(a[u]),l[u]=this.$computeWrapSplits(r,c,s),u++)};var e=3,t=4,n=10,i=11,l=12;function d(e){return!(e<4352)&&(e>=4352&&e<=4447||e>=4515&&e<=4519||e>=4602&&e<=4607||e>=9001&&e<=9002||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12283||e>=12288&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12589||e>=12593&&e<=12686||e>=12688&&e<=12730||e>=12736&&e<=12771||e>=12784&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=13054||e>=13056&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=55216&&e<=55238||e>=55243&&e<=55291||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=65281&&e<=65376||e>=65504&&e<=65510)}this.$computeWrapSplits=function(o,r,a){if(0==o.length)return[];var s=[],c=o.length,u=0,d=0,h=this.$wrapAsCode,p=this.$indentedSoftWrap,f=r<=Math.max(2*a,8)||!1===p?0:Math.floor(r/2);function m(e){var t=o.slice(u,e),r=t.length;t.join("").replace(/12/g,function(){r-=1}).replace(/2/g,function(){r-=1}),s.length||(g=function(){var e=0;if(0===f)return e;if(p)for(var t=0;t<o.length;t++){var r=o[t];if(r==n)e+=1;else{if(r!=i){if(r==l)continue;break}e+=a}}return h&&!1!==p&&(e+=a),Math.min(e,f)}(),s.indent=g),s.push(d+=r),u=e}for(var g=0;c-u>r-g;){var v=u+r-g;if(o[v-1]>=n&&o[v]>=n)m(v);else if(o[v]!=e&&o[v]!=t){for(var _=Math.max(v-(r-(r>>2)),u-1);v>_&&o[v]<e;)v--;if(h){for(;v>_&&o[v]<e;)v--;for(;v>_&&9==o[v];)v--}else for(;v>_&&o[v]<n;)v--;v>_?m(++v):(2==o[v=u+r]&&v--,m(v-g))}else{for(;v!=u-1&&o[v]!=e;v--);if(v>u){m(v);continue}for(v=u+r;v<o.length&&o[v]==t;v++);if(v==o.length)break;m(v)}}return s},this.$getDisplayTokens=function(e,t){var o,r=[];t=t||0;for(var a=0;a<e.length;a++){var s=e.charCodeAt(a);if(9==s){o=this.getScreenTabSize(r.length+t),r.push(i);for(var c=1;c<o;c++)r.push(l)}else 32==s?r.push(n):s>39&&s<48||s>57&&s<64?r.push(9):s>=4352&&d(s)?r.push(1,2):r.push(1)}return r},this.$getStringScreenWidth=function(e,t,n){if(0==t)return[0,0];var o,r;for(null==t&&(t=1/0),n=n||0,r=0;r<e.length&&(9==(o=e.charCodeAt(r))?n+=this.getScreenTabSize(n):o>=4352&&d(o)?n+=2:n+=1,!(n>t));r++);return[n,r]},this.lineWidgets=null,this.getRowLength=function(e){if(this.lineWidgets)var t=this.lineWidgets[e]&&this.lineWidgets[e].rowCount||0;else t=0;return this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+1+t:1+t},this.getRowLineCount=function(e){return this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+1:1},this.getRowWrapIndent=function(e){if(this.$useWrapMode){var t=this.screenToDocumentPosition(e,Number.MAX_VALUE),n=this.$wrapData[t.row];return n.length&&n[0]<t.column?n.indent:0}return 0},this.getScreenLastRowColumn=function(e){var t=this.screenToDocumentPosition(e,Number.MAX_VALUE);return this.documentToScreenColumn(t.row,t.column)},this.getDocumentLastRowColumn=function(e,t){var n=this.documentToScreenRow(e,t);return this.getScreenLastRowColumn(n)},this.getDocumentLastRowColumnPosition=function(e,t){var n=this.documentToScreenRow(e,t);return this.screenToDocumentPosition(n,Number.MAX_VALUE/10)},this.getRowSplitData=function(e){return this.$useWrapMode?this.$wrapData[e]:void 0},this.getScreenTabSize=function(e){return this.$tabSize-e%this.$tabSize},this.screenToDocumentRow=function(e,t){return this.screenToDocumentPosition(e,t).row},this.screenToDocumentColumn=function(e,t){return this.screenToDocumentPosition(e,t).column},this.screenToDocumentPosition=function(e,t,n){if(e<0)return{row:0,column:0};var o,r,i=0,a=0,s=0,l=0,c=this.$screenRowCache,u=this.$getRowCacheIndex(c,e),d=c.length;if(d&&u>=0){s=c[u],i=this.$docRowCache[u];var h=e>c[d-1]}else h=!d;for(var p=this.getLength()-1,f=this.getNextFoldLine(i),m=f?f.start.row:1/0;s<=e&&!(s+(l=this.getRowLength(i))>e||i>=p);)s+=l,++i>m&&(m=(f=this.getNextFoldLine(i=f.end.row+1,f))?f.start.row:1/0),h&&(this.$docRowCache.push(i),this.$screenRowCache.push(s));if(f&&f.start.row<=i)o=this.getFoldDisplayLine(f),i=f.start.row;else{if(s+l<=e||i>p)return{row:p,column:this.getLine(p).length};o=this.getLine(i),f=null}var g=0,v=Math.floor(e-s);if(this.$useWrapMode){var _=this.$wrapData[i];_&&(r=_[v],v>0&&_.length&&(g=_.indent,o=o.substring(a=_[v-1]||_[_.length-1])))}return void 0!==n&&this.$bidiHandler.isBidiRow(s+v,i,v)&&(t=this.$bidiHandler.offsetToCol(n)),a+=this.$getStringScreenWidth(o,t-g)[1],this.$useWrapMode&&a>=r&&(a=r-1),f?f.idxToPosition(a):{row:i,column:a}},this.documentToScreenPosition=function(e,t){if(void 0===t)var n=this.$clipPositionToDocument(e.row,e.column);else n=this.$clipPositionToDocument(e,t);var o,r=0,i=null;(o=this.getFoldAt(e=n.row,t=n.column,1))&&(e=o.start.row,t=o.start.column);var a,s=0,l=this.$docRowCache,c=this.$getRowCacheIndex(l,e),u=l.length;if(u&&c>=0){s=l[c],r=this.$screenRowCache[c];var d=e>l[u-1]}else d=!u;for(var h=this.getNextFoldLine(s),p=h?h.start.row:1/0;s<e;){if(s>=p){if((a=h.end.row+1)>e)break;p=(h=this.getNextFoldLine(a,h))?h.start.row:1/0}else a=s+1;r+=this.getRowLength(s),s=a,d&&(this.$docRowCache.push(s),this.$screenRowCache.push(r))}var f="";h&&s>=p?(f=this.getFoldDisplayLine(h,e,t),i=h.start.row):(f=this.getLine(e).substring(0,t),i=e);var m=0;if(this.$useWrapMode){var g=this.$wrapData[i];if(g){for(var v=0;f.length>=g[v];)r++,v++;f=f.substring(g[v-1]||0,f.length),m=v>0?g.indent:0}}return{row:r,column:m+this.$getStringScreenWidth(f)[0]}},this.documentToScreenColumn=function(e,t){return this.documentToScreenPosition(e,t).column},this.documentToScreenRow=function(e,t){return this.documentToScreenPosition(e,t).row},this.getScreenLength=function(){var e=0,t=null;if(this.$useWrapMode)for(var n=this.$wrapData.length,o=0,r=(s=0,(t=this.$foldData[s++])?t.start.row:1/0);o<n;){var i=this.$wrapData[o];e+=i?i.length+1:1,++o>r&&(o=t.end.row+1,r=(t=this.$foldData[s++])?t.start.row:1/0)}else{e=this.getLength();for(var a=this.$foldData,s=0;s<a.length;s++)e-=(t=a[s]).end.row-t.start.row}return this.lineWidgets&&(e+=this.$getWidgetScreenLength()),e},this.$setFontMetrics=function(e){this.$enableVarChar&&(this.$getStringScreenWidth=function(t,n,o){if(0===n)return[0,0];var r,i;for(n||(n=1/0),o=o||0,i=0;i<t.length&&!((o+="\t"===(r=t.charAt(i))?this.getScreenTabSize(o):e.getCharacterWidth(r))>n);i++);return[o,i]})},this.destroy=function(){this.bgTokenizer&&(this.bgTokenizer.setDocument(null),this.bgTokenizer=null),this.$stopWorker()},this.isFullWidth=d}).call(f.prototype),e("./edit_session/folding").Folding.call(f.prototype),e("./edit_session/bracket_match").BracketMatch.call(f.prototype),a.defineOptions(f.prototype,"session",{wrap:{set:function(e){if(e&&"off"!=e?"free"==e?e=!0:"printMargin"==e?e=-1:"string"==typeof e&&(e=parseInt(e,10)||!1):e=!1,this.$wrap!=e)if(this.$wrap=e,e){var t="number"==typeof e?e:null;this.setWrapLimitRange(t,t),this.setUseWrapMode(!0)}else this.setUseWrapMode(!1)},get:function(){return this.getUseWrapMode()?-1==this.$wrap?"printMargin":this.getWrapLimitRange().min?this.$wrap:"free":"off"},handlesSet:!0},wrapMethod:{set:function(e){(e="auto"==e?"text"!=this.$mode.type:"text"!=e)!=this.$wrapAsCode&&(this.$wrapAsCode=e,this.$useWrapMode&&(this.$modified=!0,this.$resetRowCache(0),this.$updateWrapData(0,this.getLength()-1)))},initialValue:"auto"},indentedSoftWrap:{initialValue:!0},firstLineNumber:{set:function(){this._signal("changeBreakpoint")},initialValue:1},useWorker:{set:function(e){this.$useWorker=e,this.$stopWorker(),e&&this.$startWorker()},initialValue:!0},useSoftTabs:{initialValue:!0},tabSize:{set:function(e){isNaN(e)||this.$tabSize===e||(this.$modified=!0,this.$rowLengthCache=[],this.$tabSize=e,this._signal("changeTabSize"))},initialValue:4,handlesSet:!0},navigateWithinSoftTabs:{initialValue:!1},overwrite:{set:function(e){this._signal("changeOverwrite")},initialValue:!1},newLineMode:{set:function(e){this.doc.setNewLineMode(e)},get:function(){return this.doc.getNewLineMode()},handlesSet:!0},mode:{set:function(e){this.setMode(e)},get:function(){return this.$modeId}}}),t.EditSession=f}),ace.define("ace/search",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],function(e,t,n){"use strict";var o=e("./lib/lang"),r=e("./lib/oop"),i=e("./range").Range,a=function(){this.$options={}};(function(){this.set=function(e){return r.mixin(this.$options,e),this},this.getOptions=function(){return o.copyObject(this.$options)},this.setOptions=function(e){this.$options=e},this.find=function(e){var t=this.$options,n=this.$matchIterator(e,t);if(!n)return!1;var o=null;return n.forEach(function(e,n,r,a){return o=new i(e,n,r,a),!(n==a&&t.start&&t.start.start&&0!=t.skipCurrent&&o.isEqual(t.start)&&(o=null,1))}),o},this.findAll=function(e){var t=this.$options;if(!t.needle)return[];this.$assembleRegExp(t);var n=t.range,r=n?e.getLines(n.start.row,n.end.row):e.doc.getAllLines(),a=[],s=t.re;if(t.$isMultiLine){var l,c=s.length,u=r.length-c;e:for(var d=s.offset||0;d<=u;d++){for(var h=0;h<c;h++)if(-1==r[d+h].search(s[h]))continue e;var p=r[d],f=r[d+c-1],m=p.length-p.match(s[0])[0].length,g=f.match(s[c-1])[0].length;l&&l.end.row===d&&l.end.column>m||(a.push(l=new i(d,m,d+c-1,g)),c>2&&(d=d+c-2))}}else for(var v=0;v<r.length;v++){var _=o.getMatchOffsets(r[v],s);for(h=0;h<_.length;h++){var y=_[h];a.push(new i(v,y.offset,v,y.offset+y.length))}}if(n){var b=n.start.column,C=n.start.column;for(v=0,h=a.length-1;v<h&&a[v].start.column<b&&a[v].start.row==n.start.row;)v++;for(;v<h&&a[h].end.column>C&&a[h].end.row==n.end.row;)h--;for(a=a.slice(v,h+1),v=0,h=a.length;v<h;v++)a[v].start.row+=n.start.row,a[v].end.row+=n.start.row}return a},this.replace=function(e,t){var n=this.$options,o=this.$assembleRegExp(n);if(n.$isMultiLine)return t;if(o){var r=o.exec(e);if(!r||r[0].length!=e.length)return null;if(t=e.replace(o,t),n.preserveCase){t=t.split("");for(var i=Math.min(e.length,e.length);i--;){var a=e[i];t[i]=a&&a.toLowerCase()!=a?t[i].toUpperCase():t[i].toLowerCase()}t=t.join("")}return t}},this.$assembleRegExp=function(e,t){if(e.needle instanceof RegExp)return e.re=e.needle;var n=e.needle;if(!e.needle)return e.re=!1;e.regExp||(n=o.escapeRegExp(n)),e.wholeWord&&(n=function(e,t){function n(e){return/\w/.test(e)||t.regExp?"\\b":""}return n(e[0])+e+n(e[e.length-1])}(n,e));var r=e.caseSensitive?"gm":"gmi";if(e.$isMultiLine=!t&&/[\n\r]/.test(n),e.$isMultiLine)return e.re=this.$assembleMultilineRegExp(n,r);try{var i=new RegExp(n,r)}catch(a){i=!1}return e.re=i},this.$assembleMultilineRegExp=function(e,t){for(var n=e.replace(/\r\n|\r|\n/g,"$\n^").split("\n"),o=[],r=0;r<n.length;r++)try{o.push(new RegExp(n[r],t))}catch(i){return!1}return o},this.$matchIterator=function(e,t){var n=this.$assembleRegExp(t);if(!n)return!1;var o=1==t.backwards,r=0!=t.skipCurrent,i=t.range,a=t.start;a||(a=i?i[o?"end":"start"]:e.selection.getRange()),a.start&&(a=a[r!=o?"end":"start"]);var s=i?i.start.row:0,l=i?i.end.row:e.getLength()-1;if(o)var c=function(e){var n=a.row;if(!d(n,a.column,e)){for(n--;n>=s;n--)if(d(n,Number.MAX_VALUE,e))return;if(0!=t.wrap)for(n=l,s=a.row;n>=s;n--)if(d(n,Number.MAX_VALUE,e))return}};else c=function(e){var n=a.row;if(!d(n,a.column,e)){for(n+=1;n<=l;n++)if(d(n,0,e))return;if(0!=t.wrap)for(n=s,l=a.row;n<=l;n++)if(d(n,0,e))return}};if(t.$isMultiLine)var u=n.length,d=function(t,r,i){var a=o?t-u+1:t;if(!(a<0)){var s=e.getLine(a),l=s.search(n[0]);if(!(!o&&l<r||-1===l)){for(var c=1;c<u;c++)if(-1==(s=e.getLine(a+c)).search(n[c]))return;var d=s.match(n[u-1])[0].length;if(!(o&&d>r))return!!i(a,l,a+u-1,d)||void 0}}};else d=o?function(t,o,r){var i,a=e.getLine(t),s=[],l=0;for(n.lastIndex=0;i=n.exec(a);){if(l=i.index,!(u=i[0].length)){if(l>=a.length)break;n.lastIndex=l+=1}if(i.index+u>o)break;s.push(i.index,u)}for(var c=s.length-1;c>=0;c-=2){var u,d=s[c-1];if(r(t,d,t,d+(u=s[c])))return!0}}:function(t,o,r){var i,a=e.getLine(t),s=o;for(n.lastIndex=o;i=n.exec(a);){var l=i[0].length;if(r(t,s=i.index,t,s+l))return!0;if(!l&&(n.lastIndex=s+=1,s>=a.length))return!1}};return{forEach:c}}}).call(a.prototype),t.Search=a}),ace.define("ace/keyboard/hash_handler",["require","exports","module","ace/lib/keys","ace/lib/useragent"],function(e,t,n){"use strict";var o=e("../lib/keys"),r=e("../lib/useragent"),i=o.KEY_MODS;function a(e,t){this.platform=t||(r.isMac?"mac":"win"),this.commands={},this.commandKeyBinding={},this.addCommands(e),this.$singleCommand=!0}function s(e,t){a.call(this,e,t),this.$singleCommand=!1}s.prototype=a.prototype,(function(){function e(e){return"object"==typeof e&&e.bindKey&&e.bindKey.position||(e.isDefault?-100:0)}this.addCommand=function(e){this.commands[e.name]&&this.removeCommand(e),this.commands[e.name]=e,e.bindKey&&this._buildKeyHash(e)},this.removeCommand=function(e,t){var n=e&&("string"==typeof e?e:e.name);e=this.commands[n],t||delete this.commands[n];var o=this.commandKeyBinding;for(var r in o){var i=o[r];if(i==e)delete o[r];else if(Array.isArray(i)){var a=i.indexOf(e);-1!=a&&(i.splice(a,1),1==i.length&&(o[r]=i[0]))}}},this.bindKey=function(e,t,n){if("object"==typeof e&&e&&(null==n&&(n=e.position),e=e[this.platform]),e)return"function"==typeof t?this.addCommand({exec:t,bindKey:e,name:t.name||e}):void e.split("|").forEach(function(e){var o="";if(-1!=e.indexOf(" ")){var r=e.split(/\s+/);e=r.pop(),r.forEach(function(e){var t=this.parseKeys(e);this._addCommandToBinding(o+=(o?" ":"")+(i[t.hashId]+t.key),"chainKeys")},this),o+=" "}var a=this.parseKeys(e);this._addCommandToBinding(o+(i[a.hashId]+a.key),t,n)},this)},this._addCommandToBinding=function(t,n,o){var r,i=this.commandKeyBinding;if(n)if(!i[t]||this.$singleCommand)i[t]=n;else{Array.isArray(i[t])?-1!=(r=i[t].indexOf(n))&&i[t].splice(r,1):i[t]=[i[t]],"number"!=typeof o&&(o=e(n));var a=i[t];for(r=0;r<a.length&&!(e(a[r])>o);r++);a.splice(r,0,n)}else delete i[t]},this.addCommands=function(e){e&&Object.keys(e).forEach(function(t){var n=e[t];if(n){if("string"==typeof n)return this.bindKey(n,t);"function"==typeof n&&(n={exec:n}),"object"==typeof n&&(n.name||(n.name=t),this.addCommand(n))}},this)},this.removeCommands=function(e){Object.keys(e).forEach(function(t){this.removeCommand(e[t])},this)},this.bindKeys=function(e){Object.keys(e).forEach(function(t){this.bindKey(t,e[t])},this)},this._buildKeyHash=function(e){this.bindKey(e.bindKey,e)},this.parseKeys=function(e){var t=e.toLowerCase().split(/[\-\+]([\-\+])?/).filter(function(e){return e}),n=t.pop(),r=o[n];if(o.FUNCTION_KEYS[r])n=o.FUNCTION_KEYS[r].toLowerCase();else{if(!t.length)return{key:n,hashId:-1};if(1==t.length&&"shift"==t[0])return{key:n.toUpperCase(),hashId:-1}}for(var i=0,a=t.length;a--;){var s=o.KEY_MODS[t[a]];if(null==s)return"undefined"!=typeof console&&console.error("invalid modifier "+t[a]+" in "+e),!1;i|=s}return{key:n,hashId:i}},this.findKeyCommand=function(e,t){return this.commandKeyBinding[i[e]+t]},this.handleKeyboard=function(e,t,n,o){if(!(o<0)){var r=i[t]+n,a=this.commandKeyBinding[r];return e.$keyChain&&(e.$keyChain+=" "+r,a=this.commandKeyBinding[e.$keyChain]||a),!a||"chainKeys"!=a&&"chainKeys"!=a[a.length-1]?(e.$keyChain&&(t&&4!=t||1!=n.length?(-1==t||o>0)&&(e.$keyChain=""):e.$keyChain=e.$keyChain.slice(0,-r.length-1)),{command:a}):(e.$keyChain=e.$keyChain||r,{command:"null"})}},this.getStatusText=function(e,t){return t.$keyChain||""}}).call(a.prototype),t.HashHandler=a,t.MultiHashHandler=s}),ace.define("ace/commands/command_manager",["require","exports","module","ace/lib/oop","ace/keyboard/hash_handler","ace/lib/event_emitter"],function(e,t,n){"use strict";var o=e("../lib/oop"),r=e("../keyboard/hash_handler").MultiHashHandler,i=e("../lib/event_emitter").EventEmitter,a=function(e,t){r.call(this,t,e),this.byName=this.commands,this.setDefaultHandler("exec",function(e){return e.command.exec(e.editor,e.args||{})})};o.inherits(a,r),(function(){o.implement(this,i),this.exec=function(e,t,n){if(Array.isArray(e)){for(var o=e.length;o--;)if(this.exec(e[o],t,n))return!0;return!1}if("string"==typeof e&&(e=this.commands[e]),!e)return!1;if(t&&t.$readOnly&&!e.readOnly)return!1;if(e.isAvailable&&!e.isAvailable(t))return!1;var r={editor:t,command:e,args:n};return r.returnValue=this._emit("exec",r),this._signal("afterExec",r),!1!==r.returnValue},this.toggleRecording=function(e){if(!this.$inReplay)return e&&e._emit("changeStatus"),this.recording?(this.macro.pop(),this.removeEventListener("exec",this.$addCommandToMacro),this.macro.length||(this.macro=this.oldMacro),this.recording=!1):(this.$addCommandToMacro||(this.$addCommandToMacro=(function(e){this.macro.push([e.command,e.args])}).bind(this)),this.oldMacro=this.macro,this.macro=[],this.on("exec",this.$addCommandToMacro),this.recording=!0)},this.replay=function(e){if(!this.$inReplay&&this.macro){if(this.recording)return this.toggleRecording(e);try{this.$inReplay=!0,this.macro.forEach(function(t){"string"==typeof t?this.exec(t,e):this.exec(t[0],e,t[1])},this)}finally{this.$inReplay=!1}}},this.trimMacro=function(e){return e.map(function(e){return"string"!=typeof e[0]&&(e[0]=e[0].name),e[1]||(e=e[0]),e})}}).call(a.prototype),t.CommandManager=a}),ace.define("ace/commands/default_commands",["require","exports","module","ace/lib/lang","ace/config","ace/range"],function(e,t,n){"use strict";var o=e("../lib/lang"),r=e("../config"),i=e("../range").Range;function a(e,t){return{win:e,mac:t}}t.commands=[{name:"showSettingsMenu",bindKey:a("Ctrl-,","Command-,"),exec:function(e){r.loadModule("ace/ext/settings_menu",function(t){t.init(e),e.showSettingsMenu()})},readOnly:!0},{name:"goToNextError",bindKey:a("Alt-E","F4"),exec:function(e){r.loadModule("ace/ext/error_marker",function(t){t.showErrorMarker(e,1)})},scrollIntoView:"animate",readOnly:!0},{name:"goToPreviousError",bindKey:a("Alt-Shift-E","Shift-F4"),exec:function(e){r.loadModule("ace/ext/error_marker",function(t){t.showErrorMarker(e,-1)})},scrollIntoView:"animate",readOnly:!0},{name:"selectall",bindKey:a("Ctrl-A","Command-A"),exec:function(e){e.selectAll()},readOnly:!0},{name:"centerselection",bindKey:a(null,"Ctrl-L"),exec:function(e){e.centerSelection()},readOnly:!0},{name:"gotoline",bindKey:a("Ctrl-L","Command-L"),exec:function(e){var t=parseInt(prompt("Enter line number:"),10);isNaN(t)||e.gotoLine(t)},readOnly:!0},{name:"fold",bindKey:a("Alt-L|Ctrl-F1","Command-Alt-L|Command-F1"),exec:function(e){e.session.toggleFold(!1)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"unfold",bindKey:a("Alt-Shift-L|Ctrl-Shift-F1","Command-Alt-Shift-L|Command-Shift-F1"),exec:function(e){e.session.toggleFold(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleFoldWidget",bindKey:a("F2","F2"),exec:function(e){e.session.toggleFoldWidget()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleParentFoldWidget",bindKey:a("Alt-F2","Alt-F2"),exec:function(e){e.session.toggleFoldWidget(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"foldall",bindKey:a(null,"Ctrl-Command-Option-0"),exec:function(e){e.session.foldAll()},scrollIntoView:"center",readOnly:!0},{name:"foldOther",bindKey:a("Alt-0","Command-Option-0"),exec:function(e){e.session.foldAll(),e.session.unfold(e.selection.getAllRanges())},scrollIntoView:"center",readOnly:!0},{name:"unfoldall",bindKey:a("Alt-Shift-0","Command-Option-Shift-0"),exec:function(e){e.session.unfold()},scrollIntoView:"center",readOnly:!0},{name:"findnext",bindKey:a("Ctrl-K","Command-G"),exec:function(e){e.findNext()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"findprevious",bindKey:a("Ctrl-Shift-K","Command-Shift-G"),exec:function(e){e.findPrevious()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"selectOrFindNext",bindKey:a("Alt-K","Ctrl-G"),exec:function(e){e.selection.isEmpty()?e.selection.selectWord():e.findNext()},readOnly:!0},{name:"selectOrFindPrevious",bindKey:a("Alt-Shift-K","Ctrl-Shift-G"),exec:function(e){e.selection.isEmpty()?e.selection.selectWord():e.findPrevious()},readOnly:!0},{name:"find",bindKey:a("Ctrl-F","Command-F"),exec:function(e){r.loadModule("ace/ext/searchbox",function(t){t.Search(e)})},readOnly:!0},{name:"overwrite",bindKey:"Insert",exec:function(e){e.toggleOverwrite()},readOnly:!0},{name:"selecttostart",bindKey:a("Ctrl-Shift-Home","Command-Shift-Home|Command-Shift-Up"),exec:function(e){e.getSelection().selectFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotostart",bindKey:a("Ctrl-Home","Command-Home|Command-Up"),exec:function(e){e.navigateFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectup",bindKey:a("Shift-Up","Shift-Up|Ctrl-Shift-P"),exec:function(e){e.getSelection().selectUp()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golineup",bindKey:a("Up","Up|Ctrl-P"),exec:function(e,t){e.navigateUp(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttoend",bindKey:a("Ctrl-Shift-End","Command-Shift-End|Command-Shift-Down"),exec:function(e){e.getSelection().selectFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotoend",bindKey:a("Ctrl-End","Command-End|Command-Down"),exec:function(e){e.navigateFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectdown",bindKey:a("Shift-Down","Shift-Down|Ctrl-Shift-N"),exec:function(e){e.getSelection().selectDown()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golinedown",bindKey:a("Down","Down|Ctrl-N"),exec:function(e,t){e.navigateDown(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordleft",bindKey:a("Ctrl-Shift-Left","Option-Shift-Left"),exec:function(e){e.getSelection().selectWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordleft",bindKey:a("Ctrl-Left","Option-Left"),exec:function(e){e.navigateWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolinestart",bindKey:a("Alt-Shift-Left","Command-Shift-Left|Ctrl-Shift-A"),exec:function(e){e.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolinestart",bindKey:a("Alt-Left|Home","Command-Left|Home|Ctrl-A"),exec:function(e){e.navigateLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectleft",bindKey:a("Shift-Left","Shift-Left|Ctrl-Shift-B"),exec:function(e){e.getSelection().selectLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoleft",bindKey:a("Left","Left|Ctrl-B"),exec:function(e,t){e.navigateLeft(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordright",bindKey:a("Ctrl-Shift-Right","Option-Shift-Right"),exec:function(e){e.getSelection().selectWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordright",bindKey:a("Ctrl-Right","Option-Right"),exec:function(e){e.navigateWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolineend",bindKey:a("Alt-Shift-Right","Command-Shift-Right|Shift-End|Ctrl-Shift-E"),exec:function(e){e.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolineend",bindKey:a("Alt-Right|End","Command-Right|End|Ctrl-E"),exec:function(e){e.navigateLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectright",bindKey:a("Shift-Right","Shift-Right"),exec:function(e){e.getSelection().selectRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoright",bindKey:a("Right","Right|Ctrl-F"),exec:function(e,t){e.navigateRight(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectpagedown",bindKey:"Shift-PageDown",exec:function(e){e.selectPageDown()},readOnly:!0},{name:"pagedown",bindKey:a(null,"Option-PageDown"),exec:function(e){e.scrollPageDown()},readOnly:!0},{name:"gotopagedown",bindKey:a("PageDown","PageDown|Ctrl-V"),exec:function(e){e.gotoPageDown()},readOnly:!0},{name:"selectpageup",bindKey:"Shift-PageUp",exec:function(e){e.selectPageUp()},readOnly:!0},{name:"pageup",bindKey:a(null,"Option-PageUp"),exec:function(e){e.scrollPageUp()},readOnly:!0},{name:"gotopageup",bindKey:"PageUp",exec:function(e){e.gotoPageUp()},readOnly:!0},{name:"scrollup",bindKey:a("Ctrl-Up",null),exec:function(e){e.renderer.scrollBy(0,-2*e.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"scrolldown",bindKey:a("Ctrl-Down",null),exec:function(e){e.renderer.scrollBy(0,2*e.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"selectlinestart",bindKey:"Shift-Home",exec:function(e){e.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectlineend",bindKey:"Shift-End",exec:function(e){e.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"togglerecording",bindKey:a("Ctrl-Alt-E","Command-Option-E"),exec:function(e){e.commands.toggleRecording(e)},readOnly:!0},{name:"replaymacro",bindKey:a("Ctrl-Shift-E","Command-Shift-E"),exec:function(e){e.commands.replay(e)},readOnly:!0},{name:"jumptomatching",bindKey:a("Ctrl-P","Ctrl-P"),exec:function(e){e.jumpToMatching()},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"selecttomatching",bindKey:a("Ctrl-Shift-P","Ctrl-Shift-P"),exec:function(e){e.jumpToMatching(!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"expandToMatching",bindKey:a("Ctrl-Shift-M","Ctrl-Shift-M"),exec:function(e){e.jumpToMatching(!0,!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"passKeysToBrowser",bindKey:a(null,null),exec:function(){},passEvent:!0,readOnly:!0},{name:"copy",exec:function(e){},readOnly:!0},{name:"cut",exec:function(e){var t=e.getSelectionRange();e._emit("cut",t),e.selection.isEmpty()||(e.session.remove(t),e.clearSelection())},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"paste",exec:function(e,t){e.$handlePaste(t)},scrollIntoView:"cursor"},{name:"removeline",bindKey:a("Ctrl-D","Command-D"),exec:function(e){e.removeLines()},scrollIntoView:"cursor",multiSelectAction:"forEachLine"},{name:"duplicateSelection",bindKey:a("Ctrl-Shift-D","Command-Shift-D"),exec:function(e){e.duplicateSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"sortlines",bindKey:a("Ctrl-Alt-S","Command-Alt-S"),exec:function(e){e.sortLines()},scrollIntoView:"selection",multiSelectAction:"forEachLine"},{name:"togglecomment",bindKey:a("Ctrl-/","Command-/"),exec:function(e){e.toggleCommentLines()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"toggleBlockComment",bindKey:a("Ctrl-Shift-/","Command-Shift-/"),exec:function(e){e.toggleBlockComment()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"modifyNumberUp",bindKey:a("Ctrl-Shift-Up","Alt-Shift-Up"),exec:function(e){e.modifyNumber(1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"modifyNumberDown",bindKey:a("Ctrl-Shift-Down","Alt-Shift-Down"),exec:function(e){e.modifyNumber(-1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"replace",bindKey:a("Ctrl-H","Command-Option-F"),exec:function(e){r.loadModule("ace/ext/searchbox",function(t){t.Search(e,!0)})}},{name:"undo",bindKey:a("Ctrl-Z","Command-Z"),exec:function(e){e.undo()}},{name:"redo",bindKey:a("Ctrl-Shift-Z|Ctrl-Y","Command-Shift-Z|Command-Y"),exec:function(e){e.redo()}},{name:"copylinesup",bindKey:a("Alt-Shift-Up","Command-Option-Up"),exec:function(e){e.copyLinesUp()},scrollIntoView:"cursor"},{name:"movelinesup",bindKey:a("Alt-Up","Option-Up"),exec:function(e){e.moveLinesUp()},scrollIntoView:"cursor"},{name:"copylinesdown",bindKey:a("Alt-Shift-Down","Command-Option-Down"),exec:function(e){e.copyLinesDown()},scrollIntoView:"cursor"},{name:"movelinesdown",bindKey:a("Alt-Down","Option-Down"),exec:function(e){e.moveLinesDown()},scrollIntoView:"cursor"},{name:"del",bindKey:a("Delete","Delete|Ctrl-D|Shift-Delete"),exec:function(e){e.remove("right")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"backspace",bindKey:a("Shift-Backspace|Backspace","Ctrl-Backspace|Shift-Backspace|Backspace|Ctrl-H"),exec:function(e){e.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"cut_or_delete",bindKey:a("Shift-Delete",null),exec:function(e){if(!e.selection.isEmpty())return!1;e.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestart",bindKey:a("Alt-Backspace","Command-Backspace"),exec:function(e){e.removeToLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineend",bindKey:a("Alt-Delete","Ctrl-K|Command-Delete"),exec:function(e){e.removeToLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestarthard",bindKey:a("Ctrl-Shift-Backspace",null),exec:function(e){var t=e.selection.getRange();t.start.column=0,e.session.remove(t)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineendhard",bindKey:a("Ctrl-Shift-Delete",null),exec:function(e){var t=e.selection.getRange();t.end.column=Number.MAX_VALUE,e.session.remove(t)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordleft",bindKey:a("Ctrl-Backspace","Alt-Backspace|Ctrl-Alt-Backspace"),exec:function(e){e.removeWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordright",bindKey:a("Ctrl-Delete","Alt-Delete"),exec:function(e){e.removeWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"outdent",bindKey:a("Shift-Tab","Shift-Tab"),exec:function(e){e.blockOutdent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"indent",bindKey:a("Tab","Tab"),exec:function(e){e.indent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"blockoutdent",bindKey:a("Ctrl-[","Ctrl-["),exec:function(e){e.blockOutdent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"blockindent",bindKey:a("Ctrl-]","Ctrl-]"),exec:function(e){e.blockIndent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"insertstring",exec:function(e,t){e.insert(t)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"inserttext",exec:function(e,t){e.insert(o.stringRepeat(t.text||"",t.times||1))},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"splitline",bindKey:a(null,"Ctrl-O"),exec:function(e){e.splitLine()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"transposeletters",bindKey:a("Alt-Shift-X","Ctrl-T"),exec:function(e){e.transposeLetters()},multiSelectAction:function(e){e.transposeSelections(1)},scrollIntoView:"cursor"},{name:"touppercase",bindKey:a("Ctrl-U","Ctrl-U"),exec:function(e){e.toUpperCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"tolowercase",bindKey:a("Ctrl-Shift-U","Ctrl-Shift-U"),exec:function(e){e.toLowerCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"expandtoline",bindKey:a("Ctrl-Shift-L","Command-Shift-L"),exec:function(e){var t=e.selection.getRange();t.start.column=t.end.column=0,t.end.row++,e.selection.setRange(t,!1)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"joinlines",bindKey:a(null,null),exec:function(e){for(var t=e.selection.isBackwards(),n=t?e.selection.getSelectionLead():e.selection.getSelectionAnchor(),r=t?e.selection.getSelectionAnchor():e.selection.getSelectionLead(),a=e.session.doc.getLine(n.row).length,s=e.session.doc.getTextRange(e.selection.getRange()).replace(/\n\s*/," ").length,l=e.session.doc.getLine(n.row),c=n.row+1;c<=r.row+1;c++){var u=o.stringTrimLeft(o.stringTrimRight(e.session.doc.getLine(c)));0!==u.length&&(u=" "+u),l+=u}r.row+1<e.session.doc.getLength()-1&&(l+=e.session.doc.getNewLineCharacter()),e.clearSelection(),e.session.doc.replace(new i(n.row,0,r.row+2,0),l),s>0?(e.selection.moveCursorTo(n.row,n.column),e.selection.selectTo(n.row,n.column+s)):(a=e.session.doc.getLine(n.row).length>a?a+1:a,e.selection.moveCursorTo(n.row,a))},multiSelectAction:"forEach",readOnly:!0},{name:"invertSelection",bindKey:a(null,null),exec:function(e){var t=e.session.doc.getLength()-1,n=e.session.doc.getLine(t).length,o=e.selection.rangeList.ranges,r=[];o.length<1&&(o=[e.selection.getRange()]);for(var a=0;a<o.length;a++)a==o.length-1&&(o[a].end.row===t&&o[a].end.column===n||r.push(new i(o[a].end.row,o[a].end.column,t,n))),0===a?0===o[a].start.row&&0===o[a].start.column||r.push(new i(0,0,o[a].start.row,o[a].start.column)):r.push(new i(o[a-1].end.row,o[a-1].end.column,o[a].start.row,o[a].start.column));for(e.exitMultiSelectMode(),e.clearSelection(),a=0;a<r.length;a++)e.selection.addRange(r[a],!1)},readOnly:!0,scrollIntoView:"none"}]}),ace.define("ace/editor",["require","exports","module","ace/lib/fixoldbrowsers","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/useragent","ace/keyboard/textinput","ace/mouse/mouse_handler","ace/mouse/fold_handler","ace/keyboard/keybinding","ace/edit_session","ace/search","ace/range","ace/lib/event_emitter","ace/commands/command_manager","ace/commands/default_commands","ace/config","ace/token_iterator"],function(e,t,n){"use strict";e("./lib/fixoldbrowsers");var o=e("./lib/oop"),r=e("./lib/dom"),i=e("./lib/lang"),a=e("./lib/useragent"),s=e("./keyboard/textinput").TextInput,l=e("./mouse/mouse_handler").MouseHandler,c=e("./mouse/fold_handler").FoldHandler,u=e("./keyboard/keybinding").KeyBinding,d=e("./edit_session").EditSession,h=e("./search").Search,p=e("./range").Range,f=e("./lib/event_emitter").EventEmitter,m=e("./commands/command_manager").CommandManager,g=e("./commands/default_commands").commands,v=e("./config"),_=e("./token_iterator").TokenIterator,y=function(e,t){var n=e.getContainerElement();this.container=n,this.renderer=e,this.id="editor"+ ++y.$uid,this.commands=new m(a.isMac?"mac":"win",g),"object"==typeof document&&(this.textInput=new s(e.getTextAreaContainer(),this),this.renderer.textarea=this.textInput.getElement(),this.$mouseHandler=new l(this),new c(this)),this.keyBinding=new u(this),this.$blockScrolling=0,this.$search=(new h).set({wrap:!0}),this.$historyTracker=this.$historyTracker.bind(this),this.commands.on("exec",this.$historyTracker),this.$initOperationListeners(),this._$emitInputEvent=i.delayedCall((function(){this._signal("input",{}),this.session&&this.session.bgTokenizer&&this.session.bgTokenizer.scheduleStart()}).bind(this)),this.on("change",function(e,t){t._$emitInputEvent.schedule(31)}),this.setSession(t||new d("")),v.resetOptions(this),v._signal("editor",this)};y.$uid=0,(function(){o.implement(this,f),this.$initOperationListeners=function(){this.selections=[],this.commands.on("exec",this.startOperation.bind(this),!0),this.commands.on("afterExec",this.endOperation.bind(this),!0),this.$opResetTimer=i.delayedCall(this.endOperation.bind(this)),this.on("change",(function(){this.curOp||this.startOperation(),this.curOp.docChanged=!0}).bind(this),!0),this.on("changeSelection",(function(){this.curOp||this.startOperation(),this.curOp.selectionChanged=!0}).bind(this),!0)},this.curOp=null,this.prevOp={},this.startOperation=function(e){if(this.curOp){if(!e||this.curOp.command)return;this.prevOp=this.curOp}e||(this.previousCommand=null,e={}),this.$opResetTimer.schedule(),this.curOp={command:e.command||{},args:e.args,scrollTop:this.renderer.scrollTop},this.curOp.command.name&&void 0!==this.curOp.command.scrollIntoView&&this.$blockScrolling++},this.endOperation=function(e){if(this.curOp){if(e&&!1===e.returnValue)return this.curOp=null;this._signal("beforeEndOperation");var t=this.curOp.command;t.name&&this.$blockScrolling>0&&this.$blockScrolling--;var n=t&&t.scrollIntoView;if(n){switch(n){case"center-animate":n="animate";case"center":this.renderer.scrollCursorIntoView(null,.5);break;case"animate":case"cursor":this.renderer.scrollCursorIntoView();break;case"selectionPart":var o=this.selection.getRange(),r=this.renderer.layerConfig;(o.start.row>=r.lastRow||o.end.row<=r.firstRow)&&this.renderer.scrollSelectionIntoView(this.selection.anchor,this.selection.lead)}"animate"==n&&this.renderer.animateScrolling(this.curOp.scrollTop)}this.prevOp=this.curOp,this.curOp=null}},this.$mergeableCommands=["backspace","del","insertstring"],this.$historyTracker=function(e){if(this.$mergeUndoDeltas){var t=this.prevOp,n=this.$mergeableCommands,o=t.command&&e.command.name==t.command.name;if("insertstring"==e.command.name){var r=e.args;void 0===this.mergeNextCommand&&(this.mergeNextCommand=!0),o=o&&this.mergeNextCommand&&(!/\s/.test(r)||/\s/.test(t.args)),this.mergeNextCommand=!0}else o=o&&-1!==n.indexOf(e.command.name);"always"!=this.$mergeUndoDeltas&&Date.now()-this.sequenceStartTime>2e3&&(o=!1),o?this.session.mergeUndoDeltas=!0:-1!==n.indexOf(e.command.name)&&(this.sequenceStartTime=Date.now())}},this.setKeyboardHandler=function(e,t){if(e&&"string"==typeof e){this.$keybindingId=e;var n=this;v.loadModule(["keybinding",e],function(o){n.$keybindingId==e&&n.keyBinding.setKeyboardHandler(o&&o.handler),t&&t()})}else this.$keybindingId=null,this.keyBinding.setKeyboardHandler(e),t&&t()},this.getKeyboardHandler=function(){return this.keyBinding.getKeyboardHandler()},this.setSession=function(e){if(this.session!=e){this.curOp&&this.endOperation(),this.curOp={};var t=this.session;if(t){this.session.off("change",this.$onDocumentChange),this.session.off("changeMode",this.$onChangeMode),this.session.off("tokenizerUpdate",this.$onTokenizerUpdate),this.session.off("changeTabSize",this.$onChangeTabSize),this.session.off("changeWrapLimit",this.$onChangeWrapLimit),this.session.off("changeWrapMode",this.$onChangeWrapMode),this.session.off("changeFold",this.$onChangeFold),this.session.off("changeFrontMarker",this.$onChangeFrontMarker),this.session.off("changeBackMarker",this.$onChangeBackMarker),this.session.off("changeBreakpoint",this.$onChangeBreakpoint),this.session.off("changeAnnotation",this.$onChangeAnnotation),this.session.off("changeOverwrite",this.$onCursorChange),this.session.off("changeScrollTop",this.$onScrollTopChange),this.session.off("changeScrollLeft",this.$onScrollLeftChange);var n=this.session.getSelection();n.off("changeCursor",this.$onCursorChange),n.off("changeSelection",this.$onSelectionChange)}this.session=e,e?(this.$onDocumentChange=this.onDocumentChange.bind(this),e.on("change",this.$onDocumentChange),this.renderer.setSession(e),this.$onChangeMode=this.onChangeMode.bind(this),e.on("changeMode",this.$onChangeMode),this.$onTokenizerUpdate=this.onTokenizerUpdate.bind(this),e.on("tokenizerUpdate",this.$onTokenizerUpdate),this.$onChangeTabSize=this.renderer.onChangeTabSize.bind(this.renderer),e.on("changeTabSize",this.$onChangeTabSize),this.$onChangeWrapLimit=this.onChangeWrapLimit.bind(this),e.on("changeWrapLimit",this.$onChangeWrapLimit),this.$onChangeWrapMode=this.onChangeWrapMode.bind(this),e.on("changeWrapMode",this.$onChangeWrapMode),this.$onChangeFold=this.onChangeFold.bind(this),e.on("changeFold",this.$onChangeFold),this.$onChangeFrontMarker=this.onChangeFrontMarker.bind(this),this.session.on("changeFrontMarker",this.$onChangeFrontMarker),this.$onChangeBackMarker=this.onChangeBackMarker.bind(this),this.session.on("changeBackMarker",this.$onChangeBackMarker),this.$onChangeBreakpoint=this.onChangeBreakpoint.bind(this),this.session.on("changeBreakpoint",this.$onChangeBreakpoint),this.$onChangeAnnotation=this.onChangeAnnotation.bind(this),this.session.on("changeAnnotation",this.$onChangeAnnotation),this.$onCursorChange=this.onCursorChange.bind(this),this.session.on("changeOverwrite",this.$onCursorChange),this.$onScrollTopChange=this.onScrollTopChange.bind(this),this.session.on("changeScrollTop",this.$onScrollTopChange),this.$onScrollLeftChange=this.onScrollLeftChange.bind(this),this.session.on("changeScrollLeft",this.$onScrollLeftChange),this.selection=e.getSelection(),this.selection.on("changeCursor",this.$onCursorChange),this.$onSelectionChange=this.onSelectionChange.bind(this),this.selection.on("changeSelection",this.$onSelectionChange),this.onChangeMode(),this.$blockScrolling+=1,this.onCursorChange(),this.$blockScrolling-=1,this.onScrollTopChange(),this.onScrollLeftChange(),this.onSelectionChange(),this.onChangeFrontMarker(),this.onChangeBackMarker(),this.onChangeBreakpoint(),this.onChangeAnnotation(),this.session.getUseWrapMode()&&this.renderer.adjustWrapLimit(),this.renderer.updateFull()):(this.selection=null,this.renderer.setSession(e)),this._signal("changeSession",{session:e,oldSession:t}),this.curOp=null,t&&t._signal("changeEditor",{oldEditor:this}),e&&e._signal("changeEditor",{editor:this}),e&&e.bgTokenizer&&e.bgTokenizer.scheduleStart()}},this.getSession=function(){return this.session},this.setValue=function(e,t){return this.session.doc.setValue(e),t?1==t?this.navigateFileEnd():-1==t&&this.navigateFileStart():this.selectAll(),e},this.getValue=function(){return this.session.getValue()},this.getSelection=function(){return this.selection},this.resize=function(e){this.renderer.onResize(e)},this.setTheme=function(e,t){this.renderer.setTheme(e,t)},this.getTheme=function(){return this.renderer.getTheme()},this.setStyle=function(e){this.renderer.setStyle(e)},this.unsetStyle=function(e){this.renderer.unsetStyle(e)},this.getFontSize=function(){return this.getOption("fontSize")||r.computedStyle(this.container,"fontSize")},this.setFontSize=function(e){this.setOption("fontSize",e)},this.$highlightBrackets=function(){if(this.session.$bracketHighlight&&(this.session.removeMarker(this.session.$bracketHighlight),this.session.$bracketHighlight=null),!this.$highlightPending){var e=this;this.$highlightPending=!0,setTimeout(function(){e.$highlightPending=!1;var t=e.session;if(t&&t.bgTokenizer){var n=t.findMatchingBracket(e.getCursorPosition());if(n)var o=new p(n.row,n.column,n.row,n.column+1);else t.$mode.getMatching&&(o=t.$mode.getMatching(e.session));o&&(t.$bracketHighlight=t.addMarker(o,"ace_bracket","text"))}},50)}},this.$highlightTags=function(){if(!this.$highlightTagPending){var e=this;this.$highlightTagPending=!0,setTimeout(function(){e.$highlightTagPending=!1;var t=e.session;if(t&&t.bgTokenizer){var n=e.getCursorPosition(),o=new _(e.session,n.row,n.column),r=o.getCurrentToken();if(!r||!/\b(?:tag-open|tag-name)/.test(r.type))return t.removeMarker(t.$tagHighlight),void(t.$tagHighlight=null);if(-1==r.type.indexOf("tag-open")||(r=o.stepForward())){var i=r.value,a=0,s=o.stepBackward();if("<"==s.value)do{s=r,(r=o.stepForward())&&r.value===i&&-1!==r.type.indexOf("tag-name")&&("<"===s.value?a++:"</"===s.value&&a--)}while(r&&a>=0);else{do{r=s,s=o.stepBackward(),r&&r.value===i&&-1!==r.type.indexOf("tag-name")&&("<"===s.value?a++:"</"===s.value&&a--)}while(s&&a<=0);o.stepForward()}if(!r)return t.removeMarker(t.$tagHighlight),void(t.$tagHighlight=null);var l=o.getCurrentTokenRow(),c=o.getCurrentTokenColumn(),u=new p(l,c,l,c+r.value.length),d=t.$backMarkers[t.$tagHighlight];t.$tagHighlight&&null!=d&&0!==u.compareRange(d.range)&&(t.removeMarker(t.$tagHighlight),t.$tagHighlight=null),u&&!t.$tagHighlight&&(t.$tagHighlight=t.addMarker(u,"ace_bracket","text"))}}},50)}},this.focus=function(){var e=this;setTimeout(function(){e.textInput.focus()}),this.textInput.focus()},this.isFocused=function(){return this.textInput.isFocused()},this.blur=function(){this.textInput.blur()},this.onFocus=function(e){this.$isFocused||(this.$isFocused=!0,this.renderer.showCursor(),this.renderer.visualizeFocus(),this._emit("focus",e))},this.onBlur=function(e){this.$isFocused&&(this.$isFocused=!1,this.renderer.hideCursor(),this.renderer.visualizeBlur(),this._emit("blur",e))},this.$cursorChange=function(){this.renderer.updateCursor()},this.onDocumentChange=function(e){this.renderer.updateLines(e.start.row,e.start.row==e.end.row?e.end.row:1/0,this.session.$useWrapMode),this._signal("change",e),this.$cursorChange(),this.$updateHighlightActiveLine()},this.onTokenizerUpdate=function(e){var t=e.data;this.renderer.updateLines(t.first,t.last)},this.onScrollTopChange=function(){this.renderer.scrollToY(this.session.getScrollTop())},this.onScrollLeftChange=function(){this.renderer.scrollToX(this.session.getScrollLeft())},this.onCursorChange=function(){this.$cursorChange(),this.$blockScrolling||(v.warn("Automatically scrolling cursor into view after selection change","this will be disabled in the next version","set editor.$blockScrolling = Infinity to disable this message"),this.renderer.scrollCursorIntoView()),this.$highlightBrackets(),this.$highlightTags(),this.$updateHighlightActiveLine(),this._signal("changeSelection")},this.$updateHighlightActiveLine=function(){var e,t=this.getSession();if(this.$highlightActiveLine&&("line"==this.$selectionStyle&&this.selection.isMultiLine()||(e=this.getCursorPosition()),!this.renderer.$maxLines||1!==this.session.getLength()||this.renderer.$minLines>1||(e=!1)),t.$highlightLineMarker&&!e)t.removeMarker(t.$highlightLineMarker.id),t.$highlightLineMarker=null;else if(!t.$highlightLineMarker&&e){var n=new p(e.row,e.column,e.row,1/0);n.id=t.addMarker(n,"ace_active-line","screenLine"),t.$highlightLineMarker=n}else e&&(t.$highlightLineMarker.start.row=e.row,t.$highlightLineMarker.end.row=e.row,t.$highlightLineMarker.start.column=e.column,t._signal("changeBackMarker"))},this.onSelectionChange=function(e){var t=this.session;if(t.$selectionMarker&&t.removeMarker(t.$selectionMarker),t.$selectionMarker=null,this.selection.isEmpty())this.$updateHighlightActiveLine();else{var n=this.selection.getRange(),o=this.getSelectionStyle();t.$selectionMarker=t.addMarker(n,"ace_selection",o)}var r=this.$highlightSelectedWord&&this.$getSelectionHighLightRegexp();this.session.highlight(r),this._signal("changeSelection")},this.$getSelectionHighLightRegexp=function(){var e=this.session,t=this.getSelectionRange();if(!t.isEmpty()&&!t.isMultiLine()){var n=t.start.column-1,o=t.end.column+1,r=e.getLine(t.start.row),i=r.length,a=r.substring(Math.max(n,0),Math.min(o,i));if(!(n>=0&&/^[\w\d]/.test(a)||o<=i&&/[\w\d]$/.test(a))&&(a=r.substring(t.start.column,t.end.column),/^[\w\d]+$/.test(a)))return this.$search.$assembleRegExp({wholeWord:!0,caseSensitive:!0,needle:a})}},this.onChangeFrontMarker=function(){this.renderer.updateFrontMarkers()},this.onChangeBackMarker=function(){this.renderer.updateBackMarkers()},this.onChangeBreakpoint=function(){this.renderer.updateBreakpoints()},this.onChangeAnnotation=function(){this.renderer.setAnnotations(this.session.getAnnotations())},this.onChangeMode=function(e){this.renderer.updateText(),this._emit("changeMode",e)},this.onChangeWrapLimit=function(){this.renderer.updateFull()},this.onChangeWrapMode=function(){this.renderer.onResize(!0)},this.onChangeFold=function(){this.$updateHighlightActiveLine(),this.renderer.updateFull()},this.getSelectedText=function(){return this.session.getTextRange(this.getSelectionRange())},this.getCopyText=function(){var e=this.getSelectedText();return this._signal("copy",e),e},this.onCopy=function(){this.commands.exec("copy",this)},this.onCut=function(){this.commands.exec("cut",this)},this.onPaste=function(e,t){this.commands.exec("paste",this,{text:e,event:t})},this.$handlePaste=function(e){"string"==typeof e&&(e={text:e}),this._signal("paste",e);var t=e.text;if(!this.inMultiSelectMode||this.inVirtualSelectionMode)this.insert(t);else{var n=t.split(/\r\n|\r|\n/),o=this.selection.rangeList.ranges;if(n.length>o.length||n.length<2||!n[1])return this.commands.exec("insertstring",this,t);for(var r=o.length;r--;){var i=o[r];i.isEmpty()||this.session.remove(i),this.session.insert(i.start,n[r])}}},this.execCommand=function(e,t){return this.commands.exec(e,this,t)},this.insert=function(e,t){var n=this.session,o=n.getMode(),r=this.getCursorPosition();if(this.getBehavioursEnabled()&&!t){var i=o.transformAction(n.getState(r.row),"insertion",this,n,e);i&&(e!==i.text&&(this.session.mergeUndoDeltas=!1,this.$mergeNextCommand=!1),e=i.text)}if("\t"==e&&(e=this.session.getTabString()),this.selection.isEmpty())this.session.getOverwrite()&&-1==e.indexOf("\n")&&((a=new p.fromPoints(r,r)).end.column+=e.length,this.session.remove(a));else{var a=this.getSelectionRange();r=this.session.remove(a),this.clearSelection()}if("\n"==e||"\r\n"==e){var s=n.getLine(r.row);if(r.column>s.search(/\S|$/)){var l=s.substr(r.column).search(/\S|$/);n.doc.removeInLine(r.row,r.column,r.column+l)}}this.clearSelection();var c=r.column,u=n.getState(r.row),d=(s=n.getLine(r.row),o.checkOutdent(u,s,e));if(n.insert(r,e),i&&i.selection&&this.selection.setSelectionRange(2==i.selection.length?new p(r.row,c+i.selection[0],r.row,c+i.selection[1]):new p(r.row+i.selection[0],i.selection[1],r.row+i.selection[2],i.selection[3])),n.getDocument().isNewLine(e)){var h=o.getNextLineIndent(u,s.slice(0,r.column),n.getTabString());n.insert({row:r.row+1,column:0},h)}d&&o.autoOutdent(u,n,r.row)},this.onTextInput=function(e){this.keyBinding.onTextInput(e)},this.onCommandKey=function(e,t,n){this.keyBinding.onCommandKey(e,t,n)},this.setOverwrite=function(e){this.session.setOverwrite(e)},this.getOverwrite=function(){return this.session.getOverwrite()},this.toggleOverwrite=function(){this.session.toggleOverwrite()},this.setScrollSpeed=function(e){this.setOption("scrollSpeed",e)},this.getScrollSpeed=function(){return this.getOption("scrollSpeed")},this.setDragDelay=function(e){this.setOption("dragDelay",e)},this.getDragDelay=function(){return this.getOption("dragDelay")},this.setSelectionStyle=function(e){this.setOption("selectionStyle",e)},this.getSelectionStyle=function(){return this.getOption("selectionStyle")},this.setHighlightActiveLine=function(e){this.setOption("highlightActiveLine",e)},this.getHighlightActiveLine=function(){return this.getOption("highlightActiveLine")},this.setHighlightGutterLine=function(e){this.setOption("highlightGutterLine",e)},this.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},this.setHighlightSelectedWord=function(e){this.setOption("highlightSelectedWord",e)},this.getHighlightSelectedWord=function(){return this.$highlightSelectedWord},this.setAnimatedScroll=function(e){this.renderer.setAnimatedScroll(e)},this.getAnimatedScroll=function(){return this.renderer.getAnimatedScroll()},this.setShowInvisibles=function(e){this.renderer.setShowInvisibles(e)},this.getShowInvisibles=function(){return this.renderer.getShowInvisibles()},this.setDisplayIndentGuides=function(e){this.renderer.setDisplayIndentGuides(e)},this.getDisplayIndentGuides=function(){return this.renderer.getDisplayIndentGuides()},this.setShowPrintMargin=function(e){this.renderer.setShowPrintMargin(e)},this.getShowPrintMargin=function(){return this.renderer.getShowPrintMargin()},this.setPrintMarginColumn=function(e){this.renderer.setPrintMarginColumn(e)},this.getPrintMarginColumn=function(){return this.renderer.getPrintMarginColumn()},this.setReadOnly=function(e){this.setOption("readOnly",e)},this.getReadOnly=function(){return this.getOption("readOnly")},this.setBehavioursEnabled=function(e){this.setOption("behavioursEnabled",e)},this.getBehavioursEnabled=function(){return this.getOption("behavioursEnabled")},this.setWrapBehavioursEnabled=function(e){this.setOption("wrapBehavioursEnabled",e)},this.getWrapBehavioursEnabled=function(){return this.getOption("wrapBehavioursEnabled")},this.setShowFoldWidgets=function(e){this.setOption("showFoldWidgets",e)},this.getShowFoldWidgets=function(){return this.getOption("showFoldWidgets")},this.setFadeFoldWidgets=function(e){this.setOption("fadeFoldWidgets",e)},this.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},this.remove=function(e){this.selection.isEmpty()&&("left"==e?this.selection.selectLeft():this.selection.selectRight());var t=this.getSelectionRange();if(this.getBehavioursEnabled()){var n=this.session,o=n.getState(t.start.row),r=n.getMode().transformAction(o,"deletion",this,n,t);if(0===t.end.column){var i=n.getTextRange(t);if("\n"==i[i.length-1]){var a=n.getLine(t.end.row);/^\s+$/.test(a)&&(t.end.column=a.length)}}r&&(t=r)}this.session.remove(t),this.clearSelection()},this.removeWordRight=function(){this.selection.isEmpty()&&this.selection.selectWordRight(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeWordLeft=function(){this.selection.isEmpty()&&this.selection.selectWordLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeToLineStart=function(){this.selection.isEmpty()&&this.selection.selectLineStart(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeToLineEnd=function(){this.selection.isEmpty()&&this.selection.selectLineEnd();var e=this.getSelectionRange();e.start.column==e.end.column&&e.start.row==e.end.row&&(e.end.column=0,e.end.row++),this.session.remove(e),this.clearSelection()},this.splitLine=function(){this.selection.isEmpty()||(this.session.remove(this.getSelectionRange()),this.clearSelection());var e=this.getCursorPosition();this.insert("\n"),this.moveCursorToPosition(e)},this.transposeLetters=function(){if(this.selection.isEmpty()){var e=this.getCursorPosition(),t=e.column;if(0!==t){var n,o,r=this.session.getLine(e.row);t<r.length?(n=r.charAt(t)+r.charAt(t-1),o=new p(e.row,t-1,e.row,t+1)):(n=r.charAt(t-1)+r.charAt(t-2),o=new p(e.row,t-2,e.row,t)),this.session.replace(o,n),this.session.selection.moveToPosition(o.end)}}},this.toLowerCase=function(){var e=this.getSelectionRange();this.selection.isEmpty()&&this.selection.selectWord();var t=this.getSelectionRange(),n=this.session.getTextRange(t);this.session.replace(t,n.toLowerCase()),this.selection.setSelectionRange(e)},this.toUpperCase=function(){var e=this.getSelectionRange();this.selection.isEmpty()&&this.selection.selectWord();var t=this.getSelectionRange(),n=this.session.getTextRange(t);this.session.replace(t,n.toUpperCase()),this.selection.setSelectionRange(e)},this.indent=function(){var e=this.session,t=this.getSelectionRange();if(!(t.start.row<t.end.row)){if(t.start.column<t.end.column){var n=e.getTextRange(t);if(!/^\s+$/.test(n))return u=this.$getSelectedRows(),void e.indentRows(u.first,u.last,"\t")}var o=e.getLine(t.start.row),r=t.start,a=e.getTabSize(),s=e.documentToScreenColumn(r.row,r.column);if(this.session.getUseSoftTabs())var l=i.stringRepeat(" ",c=a-s%a);else{for(var c=s%a;" "==o[t.start.column-1]&&c;)t.start.column--,c--;this.selection.setSelectionRange(t),l="\t"}return this.insert(l)}var u=this.$getSelectedRows();e.indentRows(u.first,u.last,"\t")},this.blockIndent=function(){var e=this.$getSelectedRows();this.session.indentRows(e.first,e.last,"\t")},this.blockOutdent=function(){var e=this.session.getSelection();this.session.outdentRows(e.getRange())},this.sortLines=function(){for(var e=this.$getSelectedRows(),t=this.session,n=[],o=e.first;o<=e.last;o++)n.push(t.getLine(o));n.sort(function(e,t){return e.toLowerCase()<t.toLowerCase()?-1:e.toLowerCase()>t.toLowerCase()?1:0});var r=new p(0,0,0,0);for(o=e.first;o<=e.last;o++){var i=t.getLine(o);r.start.row=o,r.end.row=o,r.end.column=i.length,t.replace(r,n[o-e.first])}},this.toggleCommentLines=function(){var e=this.session.getState(this.getCursorPosition().row),t=this.$getSelectedRows();this.session.getMode().toggleCommentLines(e,this.session,t.first,t.last)},this.toggleBlockComment=function(){var e=this.getCursorPosition(),t=this.session.getState(e.row),n=this.getSelectionRange();this.session.getMode().toggleBlockComment(t,this.session,n,e)},this.getNumberAt=function(e,t){var n=/[\-]?[0-9]+(?:\.[0-9]+)?/g;n.lastIndex=0;for(var o=this.session.getLine(e);n.lastIndex<t;){var r=n.exec(o);if(r.index<=t&&r.index+r[0].length>=t)return{value:r[0],start:r.index,end:r.index+r[0].length}}return null},this.modifyNumber=function(e){var t=this.selection.getCursor().row,n=this.selection.getCursor().column,o=new p(t,n-1,t,n),r=this.session.getTextRange(o);if(!isNaN(parseFloat(r))&&isFinite(r)){var i=this.getNumberAt(t,n);if(i){var a=i.value.indexOf(".")>=0?i.start+i.value.indexOf(".")+1:i.end,s=i.start+i.value.length-a,l=parseFloat(i.value);l*=Math.pow(10,s),l+=e*=a!==i.end&&n<a?Math.pow(10,i.end-n-1):Math.pow(10,i.end-n);var c=(l/=Math.pow(10,s)).toFixed(s),u=new p(t,i.start,t,i.end);this.session.replace(u,c),this.moveCursorTo(t,Math.max(i.start+1,n+c.length-i.value.length))}}},this.removeLines=function(){var e=this.$getSelectedRows();this.session.removeFullLines(e.first,e.last),this.clearSelection()},this.duplicateSelection=function(){var e=this.selection,t=this.session,n=e.getRange(),o=e.isBackwards();if(n.isEmpty()){var r=n.start.row;t.duplicateLines(r,r)}else{var i=o?n.start:n.end,a=t.insert(i,t.getTextRange(n),!1);n.start=i,n.end=a,e.setSelectionRange(n,o)}},this.moveLinesDown=function(){this.$moveLines(1,!1)},this.moveLinesUp=function(){this.$moveLines(-1,!1)},this.moveText=function(e,t,n){return this.session.moveText(e,t,n)},this.copyLinesUp=function(){this.$moveLines(-1,!0)},this.copyLinesDown=function(){this.$moveLines(1,!0)},this.$moveLines=function(e,t){var n,o,r=this.selection;if(!r.inMultiSelectMode||this.inVirtualSelectionMode){var i=r.toOrientedRange();n=this.$getSelectedRows(i),o=this.session.$moveLines(n.first,n.last,t?0:e),t&&-1==e&&(o=0),i.moveBy(o,0),r.fromOrientedRange(i)}else{var a=r.rangeList.ranges;r.rangeList.detach(this.session),this.inVirtualSelectionMode=!0;for(var s=0,l=0,c=a.length,u=0;u<c;u++){var d=u;a[u].moveBy(s,0);for(var h=(n=this.$getSelectedRows(a[u])).first,p=n.last;++u<c;){l&&a[u].moveBy(l,0);var f=this.$getSelectedRows(a[u]);if(t&&f.first!=p)break;if(!t&&f.first>p+1)break;p=f.last}for(u--,s=this.session.$moveLines(h,p,t?0:e),t&&-1==e&&(d=u+1);d<=u;)a[d].moveBy(s,0),d++;t||(s=0),l+=s}r.fromOrientedRange(r.ranges[0]),r.rangeList.attach(this.session),this.inVirtualSelectionMode=!1}},this.$getSelectedRows=function(e){return e=(e||this.getSelectionRange()).collapseRows(),{first:this.session.getRowFoldStart(e.start.row),last:this.session.getRowFoldEnd(e.end.row)}},this.onCompositionStart=function(e){this.renderer.showComposition(this.getCursorPosition())},this.onCompositionUpdate=function(e){this.renderer.setCompositionText(e)},this.onCompositionEnd=function(){this.renderer.hideComposition()},this.getFirstVisibleRow=function(){return this.renderer.getFirstVisibleRow()},this.getLastVisibleRow=function(){return this.renderer.getLastVisibleRow()},this.isRowVisible=function(e){return e>=this.getFirstVisibleRow()&&e<=this.getLastVisibleRow()},this.isRowFullyVisible=function(e){return e>=this.renderer.getFirstFullyVisibleRow()&&e<=this.renderer.getLastFullyVisibleRow()},this.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1},this.$moveByPage=function(e,t){var n=this.renderer,o=this.renderer.layerConfig,r=e*Math.floor(o.height/o.lineHeight);this.$blockScrolling++,!0===t?this.selection.$moveSelection(function(){this.moveCursorBy(r,0)}):!1===t&&(this.selection.moveCursorBy(r,0),this.selection.clearSelection()),this.$blockScrolling--;var i=n.scrollTop;n.scrollBy(0,r*o.lineHeight),null!=t&&n.scrollCursorIntoView(null,.5),n.animateScrolling(i)},this.selectPageDown=function(){this.$moveByPage(1,!0)},this.selectPageUp=function(){this.$moveByPage(-1,!0)},this.gotoPageDown=function(){this.$moveByPage(1,!1)},this.gotoPageUp=function(){this.$moveByPage(-1,!1)},this.scrollPageDown=function(){this.$moveByPage(1)},this.scrollPageUp=function(){this.$moveByPage(-1)},this.scrollToRow=function(e){this.renderer.scrollToRow(e)},this.scrollToLine=function(e,t,n,o){this.renderer.scrollToLine(e,t,n,o)},this.centerSelection=function(){var e=this.getSelectionRange(),t={row:Math.floor(e.start.row+(e.end.row-e.start.row)/2),column:Math.floor(e.start.column+(e.end.column-e.start.column)/2)};this.renderer.alignCursor(t,.5)},this.getCursorPosition=function(){return this.selection.getCursor()},this.getCursorPositionScreen=function(){return this.session.documentToScreenPosition(this.getCursorPosition())},this.getSelectionRange=function(){return this.selection.getRange()},this.selectAll=function(){this.$blockScrolling+=1,this.selection.selectAll(),this.$blockScrolling-=1},this.clearSelection=function(){this.selection.clearSelection()},this.moveCursorTo=function(e,t){this.selection.moveCursorTo(e,t)},this.moveCursorToPosition=function(e){this.selection.moveCursorToPosition(e)},this.jumpToMatching=function(e,t){var n=this.getCursorPosition(),o=new _(this.session,n.row,n.column),r=o.getCurrentToken(),i=r||o.stepForward();if(i){var a,s,l=!1,c={},u=n.column-i.start,d={")":"(","(":"(","]":"[","[":"[","{":"{","}":"{"};do{if(i.value.match(/[{}()\[\]]/g)){for(;u<i.value.length&&!l;u++)if(d[i.value[u]])switch(s=d[i.value[u]]+"."+i.type.replace("rparen","lparen"),isNaN(c[s])&&(c[s]=0),i.value[u]){case"(":case"[":case"{":c[s]++;break;case")":case"]":case"}":c[s]--,-1===c[s]&&(a="bracket",l=!0)}}else i&&-1!==i.type.indexOf("tag-name")&&(isNaN(c[i.value])&&(c[i.value]=0),"<"===r.value?c[i.value]++:"</"===r.value&&c[i.value]--,-1===c[i.value]&&(a="tag",l=!0));l||(r=i,i=o.stepForward(),u=0)}while(i&&!l);if(a){var h,f;if("bracket"===a)(h=this.session.getBracketRange(n))||(f=(h=new p(o.getCurrentTokenRow(),o.getCurrentTokenColumn()+u-1,o.getCurrentTokenRow(),o.getCurrentTokenColumn()+u-1)).start,(t||f.row===n.row&&Math.abs(f.column-n.column)<2)&&(h=this.session.getBracketRange(f)));else if("tag"===a){if(!i||-1===i.type.indexOf("tag-name"))return;var m=i.value;if(0===(h=new p(o.getCurrentTokenRow(),o.getCurrentTokenColumn()-2,o.getCurrentTokenRow(),o.getCurrentTokenColumn()-2)).compare(n.row,n.column)){l=!1;do{i=r,(r=o.stepBackward())&&(-1!==r.type.indexOf("tag-close")&&h.setEnd(o.getCurrentTokenRow(),o.getCurrentTokenColumn()+1),i.value===m&&-1!==i.type.indexOf("tag-name")&&("<"===r.value?c[m]++:"</"===r.value&&c[m]--,0===c[m]&&(l=!0)))}while(r&&!l)}i&&i.type.indexOf("tag-name")&&(f=h.start).row==n.row&&Math.abs(f.column-n.column)<2&&(f=h.end)}(f=h&&h.cursor||f)&&(e?h&&t?this.selection.setRange(h):h&&h.isEqual(this.getSelectionRange())?this.clearSelection():this.selection.selectTo(f.row,f.column):this.selection.moveTo(f.row,f.column))}}},this.gotoLine=function(e,t,n){this.selection.clearSelection(),this.session.unfold({row:e-1,column:t||0}),this.$blockScrolling+=1,this.exitMultiSelectMode&&this.exitMultiSelectMode(),this.moveCursorTo(e-1,t||0),this.$blockScrolling-=1,this.isRowFullyVisible(e-1)||this.scrollToLine(e-1,!0,n)},this.navigateTo=function(e,t){this.selection.moveTo(e,t)},this.navigateUp=function(e){if(this.selection.isMultiLine()&&!this.selection.isBackwards()){var t=this.selection.anchor.getPosition();return this.moveCursorToPosition(t)}this.selection.clearSelection(),this.selection.moveCursorBy(-e||-1,0)},this.navigateDown=function(e){if(this.selection.isMultiLine()&&this.selection.isBackwards()){var t=this.selection.anchor.getPosition();return this.moveCursorToPosition(t)}this.selection.clearSelection(),this.selection.moveCursorBy(e||1,0)},this.navigateLeft=function(e){if(this.selection.isEmpty())for(e=e||1;e--;)this.selection.moveCursorLeft();else{var t=this.getSelectionRange().start;this.moveCursorToPosition(t)}this.clearSelection()},this.navigateRight=function(e){if(this.selection.isEmpty())for(e=e||1;e--;)this.selection.moveCursorRight();else{var t=this.getSelectionRange().end;this.moveCursorToPosition(t)}this.clearSelection()},this.navigateLineStart=function(){this.selection.moveCursorLineStart(),this.clearSelection()},this.navigateLineEnd=function(){this.selection.moveCursorLineEnd(),this.clearSelection()},this.navigateFileEnd=function(){this.selection.moveCursorFileEnd(),this.clearSelection()},this.navigateFileStart=function(){this.selection.moveCursorFileStart(),this.clearSelection()},this.navigateWordRight=function(){this.selection.moveCursorWordRight(),this.clearSelection()},this.navigateWordLeft=function(){this.selection.moveCursorWordLeft(),this.clearSelection()},this.replace=function(e,t){t&&this.$search.set(t);var n=this.$search.find(this.session),o=0;return n?(this.$tryReplace(n,e)&&(o=1),null!==n&&(this.selection.setSelectionRange(n),this.renderer.scrollSelectionIntoView(n.start,n.end)),o):o},this.replaceAll=function(e,t){t&&this.$search.set(t);var n=this.$search.findAll(this.session),o=0;if(!n.length)return o;this.$blockScrolling+=1;var r=this.getSelectionRange();this.selection.moveTo(0,0);for(var i=n.length-1;i>=0;--i)this.$tryReplace(n[i],e)&&o++;return this.selection.setSelectionRange(r),this.$blockScrolling-=1,o},this.$tryReplace=function(e,t){var n=this.session.getTextRange(e);return null!==(t=this.$search.replace(n,t))?(e.end=this.session.replace(e,t),e):null},this.getLastSearchOptions=function(){return this.$search.getOptions()},this.find=function(e,t,n){t||(t={}),"string"==typeof e||e instanceof RegExp?t.needle=e:"object"==typeof e&&o.mixin(t,e);var r=this.selection.getRange();null==t.needle&&((e=this.session.getTextRange(r)||this.$search.$options.needle)||(r=this.session.getWordRange(r.start.row,r.start.column),e=this.session.getTextRange(r)),this.$search.set({needle:e})),this.$search.set(t),t.start||this.$search.set({start:r});var i=this.$search.find(this.session);return t.preventScroll?i:i?(this.revealRange(i,n),i):(t.backwards?r.start=r.end:r.end=r.start,void this.selection.setRange(r))},this.findNext=function(e,t){this.find({skipCurrent:!0,backwards:!1},e,t)},this.findPrevious=function(e,t){this.find(e,{skipCurrent:!0,backwards:!0},t)},this.revealRange=function(e,t){this.$blockScrolling+=1,this.session.unfold(e),this.selection.setSelectionRange(e),this.$blockScrolling-=1;var n=this.renderer.scrollTop;this.renderer.scrollSelectionIntoView(e.start,e.end,.5),!1!==t&&this.renderer.animateScrolling(n)},this.undo=function(){this.$blockScrolling++,this.session.getUndoManager().undo(),this.$blockScrolling--,this.renderer.scrollCursorIntoView(null,.5)},this.redo=function(){this.$blockScrolling++,this.session.getUndoManager().redo(),this.$blockScrolling--,this.renderer.scrollCursorIntoView(null,.5)},this.destroy=function(){this.renderer.destroy(),this._signal("destroy",this),this.session&&this.session.destroy()},this.setAutoScrollEditorIntoView=function(e){if(e){var t,n=this,o=!1;this.$scrollAnchor||(this.$scrollAnchor=document.createElement("div"));var r=this.$scrollAnchor;r.style.cssText="position:absolute",this.container.insertBefore(r,this.container.firstChild);var i=this.on("changeSelection",function(){o=!0}),a=this.renderer.on("beforeRender",function(){o&&(t=n.renderer.container.getBoundingClientRect())}),s=this.renderer.on("afterRender",function(){if(o&&t&&(n.isFocused()||n.searchBox&&n.searchBox.isFocused())){var e=n.renderer,i=e.$cursorLayer.$pixelPos,a=e.layerConfig,s=i.top-a.offset;null!=(o=i.top>=0&&s+t.top<0||!(i.top<a.height&&i.top+t.top+a.lineHeight>window.innerHeight)&&null)&&(r.style.top=s+"px",r.style.left=i.left+"px",r.style.height=a.lineHeight+"px",r.scrollIntoView(o)),o=t=null}});this.setAutoScrollEditorIntoView=function(e){e||(delete this.setAutoScrollEditorIntoView,this.off("changeSelection",i),this.renderer.off("afterRender",s),this.renderer.off("beforeRender",a))}}},this.$resetCursorStyle=function(){var e=this.$cursorStyle||"ace",t=this.renderer.$cursorLayer;t&&(t.setSmoothBlinking(/smooth/.test(e)),t.isBlinking=!this.$readOnly&&"wide"!=e,r.setCssClass(t.element,"ace_slim-cursors",/slim/.test(e)))}}).call(y.prototype),v.defineOptions(y.prototype,"editor",{selectionStyle:{set:function(e){this.onSelectionChange(),this._signal("changeSelectionStyle",{data:e})},initialValue:"line"},highlightActiveLine:{set:function(){this.$updateHighlightActiveLine()},initialValue:!0},highlightSelectedWord:{set:function(e){this.$onSelectionChange()},initialValue:!0},readOnly:{set:function(e){this.$resetCursorStyle()},initialValue:!1},cursorStyle:{set:function(e){this.$resetCursorStyle()},values:["ace","slim","smooth","wide"],initialValue:"ace"},mergeUndoDeltas:{values:[!1,!0,"always"],initialValue:!0},behavioursEnabled:{initialValue:!0},wrapBehavioursEnabled:{initialValue:!0},autoScrollEditorIntoView:{set:function(e){this.setAutoScrollEditorIntoView(e)}},keyboardHandler:{set:function(e){this.setKeyboardHandler(e)},get:function(){return this.keybindingId},handlesSet:!0},hScrollBarAlwaysVisible:"renderer",vScrollBarAlwaysVisible:"renderer",highlightGutterLine:"renderer",animatedScroll:"renderer",showInvisibles:"renderer",showPrintMargin:"renderer",printMarginColumn:"renderer",printMargin:"renderer",fadeFoldWidgets:"renderer",showFoldWidgets:"renderer",showLineNumbers:"renderer",showGutter:"renderer",displayIndentGuides:"renderer",fontSize:"renderer",fontFamily:"renderer",maxLines:"renderer",minLines:"renderer",scrollPastEnd:"renderer",fixedWidthGutter:"renderer",theme:"renderer",scrollSpeed:"$mouseHandler",dragDelay:"$mouseHandler",dragEnabled:"$mouseHandler",focusTimout:"$mouseHandler",tooltipFollowsMouse:"$mouseHandler",firstLineNumber:"session",overwrite:"session",newLineMode:"session",useWorker:"session",useSoftTabs:"session",tabSize:"session",wrap:"session",indentedSoftWrap:"session",foldStyle:"session",mode:"session"}),t.Editor=y}),ace.define("ace/undomanager",["require","exports","module"],function(e,t,n){"use strict";var o=function(){this.reset()};(function(){function e(e){return{action:e.action,start:e.start,end:e.end,lines:1==e.lines.length?null:e.lines,text:1==e.lines.length?e.lines[0]:null}}function t(e){return{action:e.action,start:e.start,end:e.end,lines:e.lines||[e.text]}}function n(e,t){for(var n=new Array(e.length),o=0;o<e.length;o++){for(var r=e[o],i={group:r.group,deltas:new Array(r.length)},a=0;a<r.deltas.length;a++)i.deltas[a]=t(r.deltas[a]);n[o]=i}return n}this.execute=function(e){var t=e.args[0];this.$doc=e.args[1],e.merge&&this.hasUndo()&&(this.dirtyCounter--,t=this.$undoStack.pop().concat(t)),this.$undoStack.push(t),this.$redoStack=[],this.dirtyCounter<0&&(this.dirtyCounter=NaN),this.dirtyCounter++},this.undo=function(e){var t=this.$undoStack.pop(),n=null;return t&&(n=this.$doc.undoChanges(t,e),this.$redoStack.push(t),this.dirtyCounter--),n},this.redo=function(e){var t=this.$redoStack.pop(),n=null;return t&&(n=this.$doc.redoChanges(this.$deserializeDeltas(t),e),this.$undoStack.push(t),this.dirtyCounter++),n},this.reset=function(){this.$undoStack=[],this.$redoStack=[],this.dirtyCounter=0},this.hasUndo=function(){return this.$undoStack.length>0},this.hasRedo=function(){return this.$redoStack.length>0},this.markClean=function(){this.dirtyCounter=0},this.isClean=function(){return 0===this.dirtyCounter},this.$serializeDeltas=function(t){return n(t,e)},this.$deserializeDeltas=function(e){return n(e,t)}}).call(o.prototype),t.UndoManager=o}),ace.define("ace/layer/gutter",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter"],function(e,t,n){"use strict";var o=e("../lib/dom"),r=e("../lib/oop"),i=e("../lib/lang"),a=e("../lib/event_emitter").EventEmitter,s=function(e){this.element=o.createElement("div"),this.element.className="ace_layer ace_gutter-layer",e.appendChild(this.element),this.setShowFoldWidgets(this.$showFoldWidgets),this.gutterWidth=0,this.$annotations=[],this.$updateAnnotations=this.$updateAnnotations.bind(this),this.$cells=[]};(function(){r.implement(this,a),this.setSession=function(e){this.session&&this.session.removeEventListener("change",this.$updateAnnotations),this.session=e,e&&e.on("change",this.$updateAnnotations)},this.addGutterDecoration=function(e,t){window.console&&console.warn&&console.warn("deprecated use session.addGutterDecoration"),this.session.addGutterDecoration(e,t)},this.removeGutterDecoration=function(e,t){window.console&&console.warn&&console.warn("deprecated use session.removeGutterDecoration"),this.session.removeGutterDecoration(e,t)},this.setAnnotations=function(e){this.$annotations=[];for(var t=0;t<e.length;t++){var n=e[t],o=n.row,r=this.$annotations[o];r||(r=this.$annotations[o]={text:[]});var a=n.text;a=a?i.escapeHTML(a):n.html||"",-1===r.text.indexOf(a)&&r.text.push(a);var s=n.type;"error"==s?r.className=" ace_error":"warning"==s&&" ace_error"!=r.className?r.className=" ace_warning":"info"!=s||r.className||(r.className=" ace_info")}},this.$updateAnnotations=function(e){if(this.$annotations.length){var t=e.start.row,n=e.end.row-t;if(0===n);else if("remove"==e.action)this.$annotations.splice(t,n+1,null);else{var o=new Array(n+1);o.unshift(t,1),this.$annotations.splice.apply(this.$annotations,o)}}},this.update=function(e){for(var t=this.session,n=e.firstRow,r=Math.min(e.lastRow+e.gutterOffset,t.getLength()-1),i=t.getNextFoldLine(n),a=i?i.start.row:1/0,s=this.$showFoldWidgets&&t.foldWidgets,l=t.$breakpoints,c=t.$decorations,u=t.$firstLineNumber,d=0,h=t.gutterRenderer||this.$renderer,p=null,f=-1,m=n;;){if(m>a&&(a=(i=t.getNextFoldLine(m=i.end.row+1,i))?i.start.row:1/0),m>r){for(;this.$cells.length>f+1;)p=this.$cells.pop(),this.element.removeChild(p.element);break}(p=this.$cells[++f])||((p={element:null,textNode:null,foldWidget:null}).element=o.createElement("div"),p.textNode=document.createTextNode(""),p.element.appendChild(p.textNode),this.element.appendChild(p.element),this.$cells[f]=p);var g,v="ace_gutter-cell ";if(l[m]&&(v+=l[m]),c[m]&&(v+=c[m]),this.$annotations[m]&&(v+=this.$annotations[m].className),p.element.className!=v&&(p.element.className=v),(g=t.getRowLength(m)*e.lineHeight+"px")!=p.element.style.height&&(p.element.style.height=g),s){var _=s[m];null==_&&(_=s[m]=t.getFoldWidget(m))}_?(p.foldWidget||(p.foldWidget=o.createElement("span"),p.element.appendChild(p.foldWidget)),v="ace_fold-widget ace_"+_,p.foldWidget.className!=(v+="start"==_&&m==a&&m<i.end.row?" ace_closed":" ace_open")&&(p.foldWidget.className=v),p.foldWidget.style.height!=(g=e.lineHeight+"px")&&(p.foldWidget.style.height=g)):p.foldWidget&&(p.element.removeChild(p.foldWidget),p.foldWidget=null);var y=d=h?h.getText(t,m):m+u;y!==p.textNode.data&&(p.textNode.data=y),m++}this.element.style.height=e.minHeight+"px",(this.$fixedWidth||t.$useWrapMode)&&(d=t.getLength()+u);var b=h?h.getWidth(t,d,e):d.toString().length*e.characterWidth,C=this.$padding||this.$computePadding();(b+=C.left+C.right)===this.gutterWidth||isNaN(b)||(this.gutterWidth=b,this.element.style.width=Math.ceil(this.gutterWidth)+"px",this._emit("changeGutterWidth",b))},this.$fixedWidth=!1,this.$showLineNumbers=!0,this.$renderer="",this.setShowLineNumbers=function(e){this.$renderer=!e&&{getWidth:function(){return""},getText:function(){return""}}},this.getShowLineNumbers=function(){return this.$showLineNumbers},this.$showFoldWidgets=!0,this.setShowFoldWidgets=function(e){e?o.addCssClass(this.element,"ace_folding-enabled"):o.removeCssClass(this.element,"ace_folding-enabled"),this.$showFoldWidgets=e,this.$padding=null},this.getShowFoldWidgets=function(){return this.$showFoldWidgets},this.$computePadding=function(){if(!this.element.firstChild)return{left:0,right:0};var e=o.computedStyle(this.element.firstChild);return this.$padding={},this.$padding.left=parseInt(e.paddingLeft)+1||0,this.$padding.right=parseInt(e.paddingRight)||0,this.$padding},this.getRegion=function(e){var t=this.$padding||this.$computePadding(),n=this.element.getBoundingClientRect();return e.x<t.left+n.left?"markers":this.$showFoldWidgets&&e.x>n.right-t.right?"foldWidgets":void 0}}).call(s.prototype),t.Gutter=s}),ace.define("ace/layer/marker",["require","exports","module","ace/range","ace/lib/dom"],function(e,t,n){"use strict";var o=e("../range").Range,r=e("../lib/dom"),i=function(e){this.element=r.createElement("div"),this.element.className="ace_layer ace_marker-layer",e.appendChild(this.element)};(function(){this.$padding=0,this.setPadding=function(e){this.$padding=e},this.setSession=function(e){this.session=e},this.setMarkers=function(e){this.markers=e},this.update=function(e){if(e){this.config=e;var t=[];for(var n in this.markers){var o=this.markers[n];if(o.range){var r=o.range.clipRows(e.firstRow,e.lastRow);if(!r.isEmpty())if(r=r.toScreenRange(this.session),o.renderer){var i=this.$getTop(r.start.row,e),a=this.$padding+(this.session.$bidiHandler.isBidiRow(r.start.row)?this.session.$bidiHandler.getPosLeft(r.start.column):r.start.column*e.characterWidth);o.renderer(t,r,a,i,e)}else"fullLine"==o.type?this.drawFullLineMarker(t,r,o.clazz,e):"screenLine"==o.type?this.drawScreenLineMarker(t,r,o.clazz,e):r.isMultiLine()?"text"==o.type?this.drawTextMarker(t,r,o.clazz,e):this.drawMultiLineMarker(t,r,o.clazz,e):this.session.$bidiHandler.isBidiRow(r.start.row)?this.drawBidiSingleLineMarker(t,r,o.clazz+" ace_start ace_br15",e):this.drawSingleLineMarker(t,r,o.clazz+" ace_start ace_br15",e)}else o.update(t,this,this.session,e)}this.element.innerHTML=t.join("")}},this.$getTop=function(e,t){return(e-t.firstRowScreen)*t.lineHeight},this.drawTextMarker=function(e,t,n,r,i){for(var a=this.session,s=t.start.row,l=t.end.row,c=s,u=0,d=0,h=a.getScreenLastRowColumn(c),p=null,f=new o(c,t.start.column,c,d);c<=l;c++)f.start.row=f.end.row=c,f.start.column=c==s?t.start.column:a.getRowWrapIndent(c),f.end.column=h,u=d,d=h,h=c+1<l?a.getScreenLastRowColumn(c+1):c==l?0:t.end.column,p=n+(c==s?" ace_start":"")+" ace_br"+((c==s||c==s+1&&t.start.column?1:0)|(u<d?2:0)|(d>h?4:0)|(c==l?8:0)),this.session.$bidiHandler.isBidiRow(c)?this.drawBidiSingleLineMarker(e,f,p,r,c==l?0:1,i):this.drawSingleLineMarker(e,f,p,r,c==l?0:1,i)},this.drawMultiLineMarker=function(e,t,n,o,r){var i,a,s=this.$padding;if(r=r||"",this.session.$bidiHandler.isBidiRow(t.start.row)?((l=t.clone()).end.row=l.start.row,l.end.column=this.session.getLine(l.start.row).length,this.drawBidiSingleLineMarker(e,l,n+" ace_br1 ace_start",o,null,r)):(i=o.lineHeight,a=this.$getTop(t.start.row,o),e.push("<div class='",n," ace_br1 ace_start' style='","height:",i,"px;","right:0;","top:",a,"px;","left:",s+t.start.column*o.characterWidth,"px;",r,"'></div>")),this.session.$bidiHandler.isBidiRow(t.end.row)){var l;(l=t.clone()).start.row=l.end.row,l.start.column=0,this.drawBidiSingleLineMarker(e,l,n+" ace_br12",o,null,r)}else{var c=t.end.column*o.characterWidth;i=o.lineHeight,a=this.$getTop(t.end.row,o),e.push("<div class='",n," ace_br12' style='","height:",i,"px;","width:",c,"px;","top:",a,"px;","left:",s,"px;",r,"'></div>")}if(!((i=(t.end.row-t.start.row-1)*o.lineHeight)<=0)){a=this.$getTop(t.start.row+1,o);var u=(t.start.column?1:0)|(t.end.column?0:8);e.push("<div class='",n,u?" ace_br"+u:"","' style='","height:",i,"px;","right:0;","top:",a,"px;","left:",s,"px;",r,"'></div>")}},this.drawSingleLineMarker=function(e,t,n,o,r,i){var a=o.lineHeight,s=(t.end.column+(r||0)-t.start.column)*o.characterWidth,l=this.$getTop(t.start.row,o);e.push("<div class='",n,"' style='","height:",a,"px;","width:",s,"px;","top:",l,"px;","left:",this.$padding+t.start.column*o.characterWidth,"px;",i||"","'></div>")},this.drawBidiSingleLineMarker=function(e,t,n,o,r,i){var a=o.lineHeight,s=this.$getTop(t.start.row,o),l=this.$padding;this.session.$bidiHandler.getSelections(t.start.column,t.end.column).forEach(function(t){e.push("<div class='",n,"' style='","height:",a,"px;","width:",t.width+(r||0),"px;","top:",s,"px;","left:",l+t.left,"px;",i||"","'></div>")})},this.drawFullLineMarker=function(e,t,n,o,r){var i=this.$getTop(t.start.row,o),a=o.lineHeight;t.start.row!=t.end.row&&(a+=this.$getTop(t.end.row,o)-i),e.push("<div class='",n,"' style='","height:",a,"px;","top:",i,"px;","left:0;right:0;",r||"","'></div>")},this.drawScreenLineMarker=function(e,t,n,o,r){var i=this.$getTop(t.start.row,o);e.push("<div class='",n,"' style='","height:",o.lineHeight,"px;","top:",i,"px;","left:0;right:0;",r||"","'></div>")}}).call(i.prototype),t.Marker=i}),ace.define("ace/layer/text",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/useragent","ace/lib/event_emitter"],function(e,t,n){"use strict";var o=e("../lib/oop"),r=e("../lib/dom"),i=e("../lib/lang"),a=(e("../lib/useragent"),e("../lib/event_emitter").EventEmitter),s=function(e){this.element=r.createElement("div"),this.element.className="ace_layer ace_text-layer",e.appendChild(this.element),this.$updateEolChar=this.$updateEolChar.bind(this)};(function(){o.implement(this,a),this.EOF_CHAR="\xb6",this.EOL_CHAR_LF="\xac",this.EOL_CHAR_CRLF="\xa4",this.EOL_CHAR=this.EOL_CHAR_LF,this.TAB_CHAR="\u2014",this.SPACE_CHAR="\xb7",this.$padding=0,this.$updateEolChar=function(){var e="\n"==this.session.doc.getNewLineCharacter()?this.EOL_CHAR_LF:this.EOL_CHAR_CRLF;if(this.EOL_CHAR!=e)return this.EOL_CHAR=e,!0},this.setPadding=function(e){this.$padding=e,this.element.style.padding="0 "+e+"px"},this.getLineHeight=function(){return this.$fontMetrics.$characterSize.height||0},this.getCharacterWidth=function(){return this.$fontMetrics.$characterSize.width||0},this.$setFontMetrics=function(e){this.$fontMetrics=e,this.$fontMetrics.on("changeCharacterSize",(function(e){this._signal("changeCharacterSize",e)}).bind(this)),this.$pollSizeChanges()},this.checkForSizeChanges=function(){this.$fontMetrics.checkForSizeChanges()},this.$pollSizeChanges=function(){return this.$pollSizeChangesTimer=this.$fontMetrics.$pollSizeChanges()},this.setSession=function(e){this.session=e,e&&this.$computeTabString()},this.showInvisibles=!1,this.setShowInvisibles=function(e){return this.showInvisibles!=e&&(this.showInvisibles=e,this.$computeTabString(),!0)},this.displayIndentGuides=!0,this.setDisplayIndentGuides=function(e){return this.displayIndentGuides!=e&&(this.displayIndentGuides=e,this.$computeTabString(),!0)},this.$tabStrings=[],this.onChangeTabSize=this.$computeTabString=function(){var e=this.session.getTabSize();this.tabSize=e;for(var t=this.$tabStrings=[0],n=1;n<e+1;n++)t.push(this.showInvisibles?"<span class='ace_invisible ace_invisible_tab'>"+i.stringRepeat(this.TAB_CHAR,n)+"</span>":i.stringRepeat(" ",n));if(this.displayIndentGuides){this.$indentGuideRe=/\s\S| \t|\t |\s$/;var o="ace_indent-guide",r="",a="";if(this.showInvisibles){o+=" ace_invisible",r=" ace_invisible_space",a=" ace_invisible_tab";var s=i.stringRepeat(this.SPACE_CHAR,this.tabSize),l=i.stringRepeat(this.TAB_CHAR,this.tabSize)}else l=s=i.stringRepeat(" ",this.tabSize);this.$tabStrings[" "]="<span class='"+o+r+"'>"+s+"</span>",this.$tabStrings["\t"]="<span class='"+o+a+"'>"+l+"</span>"}},this.updateLines=function(e,t,n){this.config.lastRow==e.lastRow&&this.config.firstRow==e.firstRow||this.scrollLines(e),this.config=e;for(var o=Math.max(t,e.firstRow),r=Math.min(n,e.lastRow),i=this.element.childNodes,a=0,s=e.firstRow;s<o;s++){if(l=this.session.getFoldLine(s)){if(l.containsRow(o)){o=l.start.row;break}s=l.end.row}a++}for(var l,c=(l=this.session.getNextFoldLine(s=o))?l.start.row:1/0;s>c&&(c=(l=this.session.getNextFoldLine(s=l.end.row+1,l))?l.start.row:1/0),!(s>r);){var u=i[a++];if(u){var d=[];this.$renderLine(d,s,!this.$useLineGroups(),s==c&&l),u.style.height=e.lineHeight*this.session.getRowLength(s)+"px",u.innerHTML=d.join("")}s++}},this.scrollLines=function(e){var t=this.config;if(this.config=e,!t||t.lastRow<e.firstRow)return this.update(e);if(e.lastRow<t.firstRow)return this.update(e);var n=this.element;if(t.firstRow<e.firstRow)for(var o=this.session.getFoldedRowCount(t.firstRow,e.firstRow-1);o>0;o--)n.removeChild(n.firstChild);if(t.lastRow>e.lastRow)for(o=this.session.getFoldedRowCount(e.lastRow+1,t.lastRow);o>0;o--)n.removeChild(n.lastChild);if(e.firstRow<t.firstRow){var r=this.$renderLinesFragment(e,e.firstRow,t.firstRow-1);n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r)}e.lastRow>t.lastRow&&(r=this.$renderLinesFragment(e,t.lastRow+1,e.lastRow),n.appendChild(r))},this.$renderLinesFragment=function(e,t,n){for(var o=this.element.ownerDocument.createDocumentFragment(),i=t,a=this.session.getNextFoldLine(i),s=a?a.start.row:1/0;i>s&&(s=(a=this.session.getNextFoldLine(i=a.end.row+1,a))?a.start.row:1/0),!(i>n);){var l=r.createElement("div"),c=[];if(this.$renderLine(c,i,!1,i==s&&a),l.innerHTML=c.join(""),this.$useLineGroups())l.className="ace_line_group",o.appendChild(l),l.style.height=e.lineHeight*this.session.getRowLength(i)+"px";else for(;l.firstChild;)o.appendChild(l.firstChild);i++}return o},this.update=function(e){this.config=e;for(var t=[],n=e.lastRow,o=e.firstRow,r=this.session.getNextFoldLine(o),i=r?r.start.row:1/0;o>i&&(i=(r=this.session.getNextFoldLine(o=r.end.row+1,r))?r.start.row:1/0),!(o>n);)this.$useLineGroups()&&t.push("<div class='ace_line_group' style='height:",e.lineHeight*this.session.getRowLength(o),"px'>"),this.$renderLine(t,o,!1,o==i&&r),this.$useLineGroups()&&t.push("</div>"),o++;this.element.innerHTML=t.join("")},this.$textToken={text:!0,rparen:!0,lparen:!0},this.$renderToken=function(e,t,n,o){var r=this,a=o.replace(/\t|&|<|>|( +)|([\x00-\x1f\x80-\xa0\xad\u1680\u180E\u2000-\u200f\u2028\u2029\u202F\u205F\u3000\uFEFF\uFFF9-\uFFFC])|[\u1100-\u115F\u11A3-\u11A7\u11FA-\u11FF\u2329-\u232A\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3000-\u303E\u3041-\u3096\u3099-\u30FF\u3105-\u312D\u3131-\u318E\u3190-\u31BA\u31C0-\u31E3\u31F0-\u321E\u3220-\u3247\u3250-\u32FE\u3300-\u4DBF\u4E00-\uA48C\uA490-\uA4C6\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFAFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFF01-\uFF60\uFFE0-\uFFE6]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,function(e,n,o,a,s){if(n)return r.showInvisibles?"<span class='ace_invisible ace_invisible_space'>"+i.stringRepeat(r.SPACE_CHAR,e.length)+"</span>":e;if("&"==e)return"&";if("<"==e)return"<";if(">"==e)return">";if("\t"==e){var l=r.session.getScreenTabSize(t+a);return t+=l-1,r.$tabStrings[l]}return"\u3000"==e?(t+=1,"<span class='"+(r.showInvisibles?"ace_cjk ace_invisible ace_invisible_space":"ace_cjk")+"' style='width:"+2*r.config.characterWidth+"px'>"+(r.showInvisibles?r.SPACE_CHAR:"")+"</span>"):o?"<span class='ace_invisible ace_invisible_space ace_invalid'>"+r.SPACE_CHAR+"</span>":(t+=1,"<span class='ace_cjk' style='width:"+2*r.config.characterWidth+"px'>"+e+"</span>")});if(this.$textToken[n.type])e.push(a);else{var s="ace_"+n.type.replace(/\./g," ace_"),l="";"fold"==n.type&&(l=" style='width:"+n.value.length*this.config.characterWidth+"px;' "),e.push("<span class='",s,"'",l,">",a,"</span>")}return t+o.length},this.renderIndentGuide=function(e,t,n){var o=t.search(this.$indentGuideRe);return o<=0||o>=n?t:" "==t[0]?(e.push(i.stringRepeat(this.$tabStrings[" "],(o-=o%this.tabSize)/this.tabSize)),t.substr(o)):"\t"==t[0]?(e.push(i.stringRepeat(this.$tabStrings["\t"],o)),t.substr(o)):t},this.$renderWrappedLine=function(e,t,n,o){for(var r=0,a=0,s=n[0],l=0,c=0;c<t.length;c++){var u=t[c],d=u.value;if(0==c&&this.displayIndentGuides){if(r=d.length,!(d=this.renderIndentGuide(e,d,s)))continue;r-=d.length}if(r+d.length<s)l=this.$renderToken(e,l,u,d),r+=d.length;else{for(;r+d.length>=s;)l=this.$renderToken(e,l,u,d.substring(0,s-r)),d=d.substring(s-r),r=s,o||e.push("</div>","<div class='ace_line' style='height:",this.config.lineHeight,"px'>"),e.push(i.stringRepeat("\xa0",n.indent)),l=0,s=n[++a]||Number.MAX_VALUE;0!=d.length&&(r+=d.length,l=this.$renderToken(e,l,u,d))}}},this.$renderSimpleLine=function(e,t){var n=0,o=t[0],r=o.value;this.displayIndentGuides&&(r=this.renderIndentGuide(e,r)),r&&(n=this.$renderToken(e,n,o,r));for(var i=1;i<t.length;i++)n=this.$renderToken(e,n,o=t[i],r=o.value)},this.$renderLine=function(e,t,n,o){if(o||0==o||(o=this.session.getFoldLine(t)),o)var r=this.$getFoldLineTokens(t,o);else r=this.session.getTokens(t);if(n||e.push("<div class='ace_line' style='height:",this.config.lineHeight*(this.$useLineGroups()?1:this.session.getRowLength(t)),"px'>"),r.length){var i=this.session.getRowSplitData(t);i&&i.length?this.$renderWrappedLine(e,r,i,n):this.$renderSimpleLine(e,r)}this.showInvisibles&&(o&&(t=o.end.row),e.push("<span class='ace_invisible ace_invisible_eol'>",t==this.session.getLength()-1?this.EOF_CHAR:this.EOL_CHAR,"</span>")),n||e.push("</div>")},this.$getFoldLineTokens=function(e,t){var n=this.session,o=[],r=n.getTokens(e);return t.walk(function(e,t,i,a,s){null!=e?o.push({type:"fold",value:e}):(s&&(r=n.getTokens(t)),r.length&&function(e,t,n){for(var r=0,i=0;i+e[r].value.length<t;)if(i+=e[r].value.length,++r==e.length)return;for(i!=t&&((a=e[r].value.substring(t-i)).length>n-t&&(a=a.substring(0,n-t)),o.push({type:e[r].type,value:a}),i=t+a.length,r+=1);i<n&&r<e.length;){var a;o.push((a=e[r].value).length+i>n?{type:e[r].type,value:a.substring(0,n-i)}:e[r]),i+=a.length,r+=1}}(r,a,i))},t.end.row,this.session.getLine(t.end.row).length),o},this.$useLineGroups=function(){return this.session.getUseWrapMode()},this.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.$measureNode&&this.$measureNode.parentNode.removeChild(this.$measureNode),delete this.$measureNode}}).call(s.prototype),t.Text=s}),ace.define("ace/layer/cursor",["require","exports","module","ace/lib/dom"],function(e,t,n){"use strict";var o,r=e("../lib/dom"),i=function(e){this.element=r.createElement("div"),this.element.className="ace_layer ace_cursor-layer",e.appendChild(this.element),void 0===o&&(o=!("opacity"in this.element.style)),this.isVisible=!1,this.isBlinking=!0,this.blinkInterval=1e3,this.smoothBlinking=!1,this.cursors=[],this.cursor=this.addCursor(),r.addCssClass(this.element,"ace_hidden-cursors"),this.$updateCursors=(o?this.$updateVisibility:this.$updateOpacity).bind(this)};(function(){this.$updateVisibility=function(e){for(var t=this.cursors,n=t.length;n--;)t[n].style.visibility=e?"":"hidden"},this.$updateOpacity=function(e){for(var t=this.cursors,n=t.length;n--;)t[n].style.opacity=e?"":"0"},this.$padding=0,this.setPadding=function(e){this.$padding=e},this.setSession=function(e){this.session=e},this.setBlinking=function(e){e!=this.isBlinking&&(this.isBlinking=e,this.restartTimer())},this.setBlinkInterval=function(e){e!=this.blinkInterval&&(this.blinkInterval=e,this.restartTimer())},this.setSmoothBlinking=function(e){e==this.smoothBlinking||o||(this.smoothBlinking=e,r.setCssClass(this.element,"ace_smooth-blinking",e),this.$updateCursors(!0),this.$updateCursors=this.$updateOpacity.bind(this),this.restartTimer())},this.addCursor=function(){var e=r.createElement("div");return e.className="ace_cursor",this.element.appendChild(e),this.cursors.push(e),e},this.removeCursor=function(){if(this.cursors.length>1){var e=this.cursors.pop();return e.parentNode.removeChild(e),e}},this.hideCursor=function(){this.isVisible=!1,r.addCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},this.showCursor=function(){this.isVisible=!0,r.removeCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},this.restartTimer=function(){var e=this.$updateCursors;if(clearInterval(this.intervalId),clearTimeout(this.timeoutId),this.smoothBlinking&&r.removeCssClass(this.element,"ace_smooth-blinking"),e(!0),this.isBlinking&&this.blinkInterval&&this.isVisible){this.smoothBlinking&&setTimeout((function(){r.addCssClass(this.element,"ace_smooth-blinking")}).bind(this));var t=(function(){this.timeoutId=setTimeout(function(){e(!1)},.6*this.blinkInterval)}).bind(this);this.intervalId=setInterval(function(){e(!0),t()},this.blinkInterval),t()}},this.getPixelPosition=function(e,t){if(!this.config||!this.session)return{left:0,top:0};e||(e=this.session.selection.getCursor());var n=this.session.documentToScreenPosition(e);return{left:this.$padding+(this.session.$bidiHandler.isBidiRow(n.row,e.row)?this.session.$bidiHandler.getPosLeft(n.column):n.column*this.config.characterWidth),top:(n.row-(t?this.config.firstRowScreen:0))*this.config.lineHeight}},this.update=function(e){this.config=e;var t=this.session.$selectionMarkers,n=0,o=0;void 0!==t&&0!==t.length||(t=[{cursor:null}]),n=0;for(var r=t.length;n<r;n++){var i=this.getPixelPosition(t[n].cursor,!0);if(!((i.top>e.height+e.offset||i.top<0)&&n>1)){var a=(this.cursors[o++]||this.addCursor()).style;this.drawCursor?this.drawCursor(a,i,e,t[n],this.session):(a.left=i.left+"px",a.top=i.top+"px",a.width=e.characterWidth+"px",a.height=e.lineHeight+"px")}}for(;this.cursors.length>o;)this.removeCursor();var s=this.session.getOverwrite();this.$setOverwrite(s),this.$pixelPos=i,this.restartTimer()},this.drawCursor=null,this.$setOverwrite=function(e){e!=this.overwrite&&(this.overwrite=e,e?r.addCssClass(this.element,"ace_overwrite-cursors"):r.removeCssClass(this.element,"ace_overwrite-cursors"))},this.destroy=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId)}}).call(i.prototype),t.Cursor=i}),ace.define("ace/scrollbar",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],function(e,t,n){"use strict";var o=e("./lib/oop"),r=e("./lib/dom"),i=e("./lib/event"),a=e("./lib/event_emitter").EventEmitter,s=function(e){this.element=r.createElement("div"),this.element.className="ace_scrollbar ace_scrollbar"+this.classSuffix,this.inner=r.createElement("div"),this.inner.className="ace_scrollbar-inner",this.element.appendChild(this.inner),e.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,i.addListener(this.element,"scroll",this.onScroll.bind(this)),i.addListener(this.element,"mousedown",i.preventDefault)};(function(){o.implement(this,a),this.setVisible=function(e){this.element.style.display=e?"":"none",this.isVisible=e,this.coeff=1}}).call(s.prototype);var l=function(e,t){s.call(this,e),this.scrollTop=0,this.scrollHeight=0,t.$scrollbarWidth=this.width=r.scrollbarWidth(e.ownerDocument),this.inner.style.width=this.element.style.width=(this.width||15)+5+"px",this.$minWidth=0};o.inherits(l,s),(function(){this.classSuffix="-v",this.onScroll=function(){if(!this.skipEvent){if(this.scrollTop=this.element.scrollTop,1!=this.coeff){var e=this.element.clientHeight/this.scrollHeight;this.scrollTop=this.scrollTop*(1-e)/(this.coeff-e)}this._emit("scroll",{data:this.scrollTop})}this.skipEvent=!1},this.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},this.setHeight=function(e){this.element.style.height=e+"px"},this.setInnerHeight=this.setScrollHeight=function(e){this.scrollHeight=e,e>32768?(this.coeff=32768/e,e=32768):1!=this.coeff&&(this.coeff=1),this.inner.style.height=e+"px"},this.setScrollTop=function(e){this.scrollTop!=e&&(this.skipEvent=!0,this.scrollTop=e,this.element.scrollTop=e*this.coeff)}}).call(l.prototype);var c=function(e,t){s.call(this,e),this.scrollLeft=0,this.height=t.$scrollbarWidth,this.inner.style.height=this.element.style.height=(this.height||15)+5+"px"};o.inherits(c,s),(function(){this.classSuffix="-h",this.onScroll=function(){this.skipEvent||(this.scrollLeft=this.element.scrollLeft,this._emit("scroll",{data:this.scrollLeft})),this.skipEvent=!1},this.getHeight=function(){return this.isVisible?this.height:0},this.setWidth=function(e){this.element.style.width=e+"px"},this.setInnerWidth=function(e){this.inner.style.width=e+"px"},this.setScrollWidth=function(e){this.inner.style.width=e+"px"},this.setScrollLeft=function(e){this.scrollLeft!=e&&(this.skipEvent=!0,this.scrollLeft=this.element.scrollLeft=e)}}).call(c.prototype),t.ScrollBar=l,t.ScrollBarV=l,t.ScrollBarH=c,t.VScrollBar=l,t.HScrollBar=c}),ace.define("ace/renderloop",["require","exports","module","ace/lib/event"],function(e,t,n){"use strict";var o=e("./lib/event"),r=function(e,t){this.onRender=e,this.pending=!1,this.changes=0,this.window=t||window};(function(){this.schedule=function(e){if(this.changes=this.changes|e,!this.pending&&this.changes){this.pending=!0;var t=this;o.nextFrame(function(){var e;for(t.pending=!1;e=t.changes;)t.changes=0,t.onRender(e)},this.window)}}}).call(r.prototype),t.RenderLoop=r}),ace.define("ace/layer/font_metrics",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/useragent","ace/lib/event_emitter"],function(e,t,n){var o=e("../lib/oop"),r=e("../lib/dom"),i=e("../lib/lang"),a=e("../lib/useragent"),s=e("../lib/event_emitter").EventEmitter,l=0,c=t.FontMetrics=function(e){this.el=r.createElement("div"),this.$setMeasureNodeStyles(this.el.style,!0),this.$main=r.createElement("div"),this.$setMeasureNodeStyles(this.$main.style),this.$measureNode=r.createElement("div"),this.$setMeasureNodeStyles(this.$measureNode.style),this.el.appendChild(this.$main),this.el.appendChild(this.$measureNode),e.appendChild(this.el),l||this.$testFractionalRect(),this.$measureNode.innerHTML=i.stringRepeat("X",l),this.$characterSize={width:0,height:0},this.checkForSizeChanges()};(function(){o.implement(this,s),this.$characterSize={width:0,height:0},this.$testFractionalRect=function(){var e=r.createElement("div");this.$setMeasureNodeStyles(e.style),e.style.width="0.2px",document.documentElement.appendChild(e);var t=e.getBoundingClientRect().width;l=t>0&&t<1?50:100,e.parentNode.removeChild(e)},this.$setMeasureNodeStyles=function(e,t){e.width=e.height="auto",e.left=e.top="0px",e.visibility="hidden",e.position="absolute",e.whiteSpace="pre",a.isIE<8?e["font-family"]="inherit":e.font="inherit",e.overflow=t?"hidden":"visible"},this.checkForSizeChanges=function(){var e=this.$measureSizes();if(e&&(this.$characterSize.width!==e.width||this.$characterSize.height!==e.height)){this.$measureNode.style.fontWeight="bold";var t=this.$measureSizes();this.$measureNode.style.fontWeight="",this.$characterSize=e,this.charSizes=Object.create(null),this.allowBoldFonts=t&&t.width===e.width&&t.height===e.height,this._emit("changeCharacterSize",{data:e})}},this.$pollSizeChanges=function(){if(this.$pollSizeChangesTimer)return this.$pollSizeChangesTimer;var e=this;return this.$pollSizeChangesTimer=setInterval(function(){e.checkForSizeChanges()},500)},this.setPolling=function(e){e?this.$pollSizeChanges():this.$pollSizeChangesTimer&&(clearInterval(this.$pollSizeChangesTimer),this.$pollSizeChangesTimer=0)},this.$measureSizes=function(){if(50===l){var e=null;try{e=this.$measureNode.getBoundingClientRect()}catch(n){e={width:0,height:0}}var t={height:e.height,width:e.width/l}}else t={height:this.$measureNode.clientHeight,width:this.$measureNode.clientWidth/l};return 0===t.width||0===t.height?null:t},this.$measureCharWidth=function(e){return this.$main.innerHTML=i.stringRepeat(e,l),this.$main.getBoundingClientRect().width/l},this.getCharacterWidth=function(e){var t=this.charSizes[e];return void 0===t&&(t=this.charSizes[e]=this.$measureCharWidth(e)/this.$characterSize.width),t},this.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.el&&this.el.parentNode&&this.el.parentNode.removeChild(this.el)}}).call(c.prototype)}),ace.define("ace/virtual_renderer",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/config","ace/lib/useragent","ace/layer/gutter","ace/layer/marker","ace/layer/text","ace/layer/cursor","ace/scrollbar","ace/scrollbar","ace/renderloop","ace/layer/font_metrics","ace/lib/event_emitter"],function(e,t,n){"use strict";var o=e("./lib/oop"),r=e("./lib/dom"),i=e("./config"),a=e("./lib/useragent"),s=e("./layer/gutter").Gutter,l=e("./layer/marker").Marker,c=e("./layer/text").Text,u=e("./layer/cursor").Cursor,d=e("./scrollbar").HScrollBar,h=e("./scrollbar").VScrollBar,p=e("./renderloop").RenderLoop,f=e("./layer/font_metrics").FontMetrics,m=e("./lib/event_emitter").EventEmitter;r.importCssString('.ace_editor {position: relative;overflow: hidden;font: 12px/normal \'Monaco\', \'Menlo\', \'Ubuntu Mono\', \'Consolas\', \'source-code-pro\', monospace;direction: ltr;text-align: left;-webkit-tap-highlight-color: rgba(0, 0, 0, 0);}.ace_scroller {position: absolute;overflow: hidden;top: 0;bottom: 0;background-color: inherit;-ms-user-select: none;-moz-user-select: none;-webkit-user-select: none;user-select: none;cursor: text;}.ace_content {position: absolute;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;min-width: 100%;}.ace_dragging .ace_scroller:before{position: absolute;top: 0;left: 0;right: 0;bottom: 0;content: \'\';background: rgba(250, 250, 250, 0.01);z-index: 1000;}.ace_dragging.ace_dark .ace_scroller:before{background: rgba(0, 0, 0, 0.01);}.ace_selecting, .ace_selecting * {cursor: text !important;}.ace_gutter {position: absolute;overflow : hidden;width: auto;top: 0;bottom: 0;left: 0;cursor: default;z-index: 4;-ms-user-select: none;-moz-user-select: none;-webkit-user-select: none;user-select: none;}.ace_gutter-active-line {position: absolute;left: 0;right: 0;}.ace_scroller.ace_scroll-left {box-shadow: 17px 0 16px -16px rgba(0, 0, 0, 0.4) inset;}.ace_gutter-cell {padding-left: 19px;padding-right: 6px;background-repeat: no-repeat;}.ace_gutter-cell.ace_error {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABOFBMVEX/////////QRswFAb/Ui4wFAYwFAYwFAaWGAfDRymzOSH/PxswFAb/SiUwFAYwFAbUPRvjQiDllog5HhHdRybsTi3/Tyv9Tir+Syj/UC3////XurebMBIwFAb/RSHbPx/gUzfdwL3kzMivKBAwFAbbvbnhPx66NhowFAYwFAaZJg8wFAaxKBDZurf/RB6mMxb/SCMwFAYwFAbxQB3+RB4wFAb/Qhy4Oh+4QifbNRcwFAYwFAYwFAb/QRzdNhgwFAYwFAbav7v/Uy7oaE68MBK5LxLewr/r2NXewLswFAaxJw4wFAbkPRy2PyYwFAaxKhLm1tMwFAazPiQwFAaUGAb/QBrfOx3bvrv/VC/maE4wFAbRPBq6MRO8Qynew8Dp2tjfwb0wFAbx6eju5+by6uns4uH9/f36+vr/GkHjAAAAYnRSTlMAGt+64rnWu/bo8eAA4InH3+DwoN7j4eLi4xP99Nfg4+b+/u9B/eDs1MD1mO7+4PHg2MXa347g7vDizMLN4eG+Pv7i5evs/v79yu7S3/DV7/498Yv24eH+4ufQ3Ozu/v7+y13sRqwAAADLSURBVHjaZc/XDsFgGIBhtDrshlitmk2IrbHFqL2pvXf/+78DPokj7+Fz9qpU/9UXJIlhmPaTaQ6QPaz0mm+5gwkgovcV6GZzd5JtCQwgsxoHOvJO15kleRLAnMgHFIESUEPmawB9ngmelTtipwwfASilxOLyiV5UVUyVAfbG0cCPHig+GBkzAENHS0AstVF6bacZIOzgLmxsHbt2OecNgJC83JERmePUYq8ARGkJx6XtFsdddBQgZE2nPR6CICZhawjA4Fb/chv+399kfR+MMMDGOQAAAABJRU5ErkJggg==");background-repeat: no-repeat;background-position: 2px center;}.ace_gutter-cell.ace_warning {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAmVBMVEX///8AAAD///8AAAAAAABPSzb/5sAAAAB/blH/73z/ulkAAAAAAAD85pkAAAAAAAACAgP/vGz/rkDerGbGrV7/pkQICAf////e0IsAAAD/oED/qTvhrnUAAAD/yHD/njcAAADuv2r/nz//oTj/p064oGf/zHAAAAA9Nir/tFIAAAD/tlTiuWf/tkIAAACynXEAAAAAAAAtIRW7zBpBAAAAM3RSTlMAABR1m7RXO8Ln31Z36zT+neXe5OzooRDfn+TZ4p3h2hTf4t3k3ucyrN1K5+Xaks52Sfs9CXgrAAAAjklEQVR42o3PbQ+CIBQFYEwboPhSYgoYunIqqLn6/z8uYdH8Vmdnu9vz4WwXgN/xTPRD2+sgOcZjsge/whXZgUaYYvT8QnuJaUrjrHUQreGczuEafQCO/SJTufTbroWsPgsllVhq3wJEk2jUSzX3CUEDJC84707djRc5MTAQxoLgupWRwW6UB5fS++NV8AbOZgnsC7BpEAAAAABJRU5ErkJggg==");background-position: 2px center;}.ace_gutter-cell.ace_info {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAJ0Uk5TAAB2k804AAAAPklEQVQY02NgIB68QuO3tiLznjAwpKTgNyDbMegwisCHZUETUZV0ZqOquBpXj2rtnpSJT1AEnnRmL2OgGgAAIKkRQap2htgAAAAASUVORK5CYII=");background-position: 2px center;}.ace_dark .ace_gutter-cell.ace_info {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAJFBMVEUAAAChoaGAgIAqKiq+vr6tra1ZWVmUlJSbm5s8PDxubm56enrdgzg3AAAAAXRSTlMAQObYZgAAAClJREFUeNpjYMAPdsMYHegyJZFQBlsUlMFVCWUYKkAZMxZAGdxlDMQBAG+TBP4B6RyJAAAAAElFTkSuQmCC");}.ace_scrollbar {position: absolute;right: 0;bottom: 0;z-index: 6;}.ace_scrollbar-inner {position: absolute;cursor: text;left: 0;top: 0;}.ace_scrollbar-v{overflow-x: hidden;overflow-y: scroll;top: 0;}.ace_scrollbar-h {overflow-x: scroll;overflow-y: hidden;left: 0;}.ace_print-margin {position: absolute;height: 100%;}.ace_text-input {position: absolute;z-index: 0;width: 0.5em;height: 1em;opacity: 0;background: transparent;-moz-appearance: none;appearance: none;border: none;resize: none;outline: none;overflow: hidden;font: inherit;padding: 0 1px;margin: 0 -1px;text-indent: -1em;-ms-user-select: text;-moz-user-select: text;-webkit-user-select: text;user-select: text;white-space: pre!important;}.ace_text-input.ace_composition {background: inherit;color: inherit;z-index: 1000;opacity: 1;text-indent: 0;}.ace_layer {z-index: 1;position: absolute;overflow: hidden;word-wrap: normal;white-space: pre;height: 100%;width: 100%;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;pointer-events: none;}.ace_gutter-layer {position: relative;width: auto;text-align: right;pointer-events: auto;}.ace_text-layer {font: inherit !important;}.ace_cjk {display: inline-block;text-align: center;}.ace_cursor-layer {z-index: 4;}.ace_cursor {z-index: 4;position: absolute;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;border-left: 2px solid;transform: translatez(0);}.ace_multiselect .ace_cursor {border-left-width: 1px;}.ace_slim-cursors .ace_cursor {border-left-width: 1px;}.ace_overwrite-cursors .ace_cursor {border-left-width: 0;border-bottom: 1px solid;}.ace_hidden-cursors .ace_cursor {opacity: 0.2;}.ace_smooth-blinking .ace_cursor {-webkit-transition: opacity 0.18s;transition: opacity 0.18s;}.ace_marker-layer .ace_step, .ace_marker-layer .ace_stack {position: absolute;z-index: 3;}.ace_marker-layer .ace_selection {position: absolute;z-index: 5;}.ace_marker-layer .ace_bracket {position: absolute;z-index: 6;}.ace_marker-layer .ace_active-line {position: absolute;z-index: 2;}.ace_marker-layer .ace_selected-word {position: absolute;z-index: 4;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;}.ace_line .ace_fold {-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;display: inline-block;height: 11px;margin-top: -2px;vertical-align: middle;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUeNpi+P//fxgTAwPDBxDxD078RSX+YeEyDFMCIMAAI3INmXiwf2YAAAAASUVORK5CYII=");background-repeat: no-repeat, repeat-x;background-position: center center, top left;color: transparent;border: 1px solid black;border-radius: 2px;cursor: pointer;pointer-events: auto;}.ace_dark .ace_fold {}.ace_fold:hover{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUeNpi+P//fz4TAwPDZxDxD5X4i5fLMEwJgAADAEPVDbjNw87ZAAAAAElFTkSuQmCC");}.ace_tooltip {background-color: #FFF;background-image: -webkit-linear-gradient(top, transparent, rgba(0, 0, 0, 0.1));background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));border: 1px solid gray;border-radius: 1px;box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);color: black;max-width: 100%;padding: 3px 4px;position: fixed;z-index: 999999;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;cursor: default;white-space: pre;word-wrap: break-word;line-height: normal;font-style: normal;font-weight: normal;letter-spacing: normal;pointer-events: none;}.ace_folding-enabled > .ace_gutter-cell {padding-right: 13px;}.ace_fold-widget {-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;margin: 0 -12px 0 1px;display: none;width: 11px;vertical-align: top;background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42mWKsQ0AMAzC8ixLlrzQjzmBiEjp0A6WwBCSPgKAXoLkqSot7nN3yMwR7pZ32NzpKkVoDBUxKAAAAABJRU5ErkJggg==");background-repeat: no-repeat;background-position: center;border-radius: 3px;border: 1px solid transparent;cursor: pointer;}.ace_folding-enabled .ace_fold-widget {display: inline-block; }.ace_fold-widget.ace_end {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42m3HwQkAMAhD0YzsRchFKI7sAikeWkrxwScEB0nh5e7KTPWimZki4tYfVbX+MNl4pyZXejUO1QAAAABJRU5ErkJggg==");}.ace_fold-widget.ace_closed {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAGCAYAAAAG5SQMAAAAOUlEQVR42jXKwQkAMAgDwKwqKD4EwQ26sSOkVWjgIIHAzPiCgaqiqnJHZnKICBERHN194O5b9vbLuAVRL+l0YWnZAAAAAElFTkSuQmCCXA==");}.ace_fold-widget:hover {border: 1px solid rgba(0, 0, 0, 0.3);background-color: rgba(255, 255, 255, 0.2);box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);}.ace_fold-widget:active {border: 1px solid rgba(0, 0, 0, 0.4);background-color: rgba(0, 0, 0, 0.05);box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);}.ace_dark .ace_fold-widget {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHklEQVQIW2P4//8/AzoGEQ7oGCaLLAhWiSwB146BAQCSTPYocqT0AAAAAElFTkSuQmCC");}.ace_dark .ace_fold-widget.ace_end {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAH0lEQVQIW2P4//8/AxQ7wNjIAjDMgC4AxjCVKBirIAAF0kz2rlhxpAAAAABJRU5ErkJggg==");}.ace_dark .ace_fold-widget.ace_closed {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFCAYAAACAcVaiAAAAHElEQVQIW2P4//+/AxAzgDADlOOAznHAKgPWAwARji8UIDTfQQAAAABJRU5ErkJggg==");}.ace_dark .ace_fold-widget:hover {box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);background-color: rgba(255, 255, 255, 0.1);}.ace_dark .ace_fold-widget:active {box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);}.ace_fold-widget.ace_invalid {background-color: #FFB4B4;border-color: #DE5555;}.ace_fade-fold-widgets .ace_fold-widget {-webkit-transition: opacity 0.4s ease 0.05s;transition: opacity 0.4s ease 0.05s;opacity: 0;}.ace_fade-fold-widgets:hover .ace_fold-widget {-webkit-transition: opacity 0.05s ease 0.05s;transition: opacity 0.05s ease 0.05s;opacity:1;}.ace_underline {text-decoration: underline;}.ace_bold {font-weight: bold;}.ace_nobold .ace_bold {font-weight: normal;}.ace_italic {font-style: italic;}.ace_error-marker {background-color: rgba(255, 0, 0,0.2);position: absolute;z-index: 9;}.ace_highlight-marker {background-color: rgba(255, 255, 0,0.2);position: absolute;z-index: 8;}.ace_br1 {border-top-left-radius : 3px;}.ace_br2 {border-top-right-radius : 3px;}.ace_br3 {border-top-left-radius : 3px; border-top-right-radius: 3px;}.ace_br4 {border-bottom-right-radius: 3px;}.ace_br5 {border-top-left-radius : 3px; border-bottom-right-radius: 3px;}.ace_br6 {border-top-right-radius : 3px; border-bottom-right-radius: 3px;}.ace_br7 {border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px;}.ace_br8 {border-bottom-left-radius : 3px;}.ace_br9 {border-top-left-radius : 3px; border-bottom-left-radius: 3px;}.ace_br10{border-top-right-radius : 3px; border-bottom-left-radius: 3px;}.ace_br11{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br12{border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br13{border-top-left-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br14{border-top-right-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br15{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_text-input-ios {position: absolute !important;top: -100000px !important;left: -100000px !important;}',"ace_editor.css");var g=function(e,t){var n=this;this.container=e||r.createElement("div"),this.$keepTextAreaAtCursor=!a.isOldIE,r.addCssClass(this.container,"ace_editor"),this.setTheme(t),this.$gutter=r.createElement("div"),this.$gutter.className="ace_gutter",this.container.appendChild(this.$gutter),this.$gutter.setAttribute("aria-hidden",!0),this.scroller=r.createElement("div"),this.scroller.className="ace_scroller",this.container.appendChild(this.scroller),this.content=r.createElement("div"),this.content.className="ace_content",this.scroller.appendChild(this.content),this.$gutterLayer=new s(this.$gutter),this.$gutterLayer.on("changeGutterWidth",this.onGutterResize.bind(this)),this.$markerBack=new l(this.content);var o=this.$textLayer=new c(this.content);this.canvas=o.element,this.$markerFront=new l(this.content),this.$cursorLayer=new u(this.content),this.$horizScroll=!1,this.$vScroll=!1,this.scrollBar=this.scrollBarV=new h(this.container,this),this.scrollBarH=new d(this.container,this),this.scrollBarV.addEventListener("scroll",function(e){n.$scrollAnimation||n.session.setScrollTop(e.data-n.scrollMargin.top)}),this.scrollBarH.addEventListener("scroll",function(e){n.$scrollAnimation||n.session.setScrollLeft(e.data-n.scrollMargin.left)}),this.scrollTop=0,this.scrollLeft=0,this.cursorPos={row:0,column:0},this.$fontMetrics=new f(this.container),this.$textLayer.$setFontMetrics(this.$fontMetrics),this.$textLayer.addEventListener("changeCharacterSize",function(e){n.updateCharacterSize(),n.onResize(!0,n.gutterWidth,n.$size.width,n.$size.height),n._signal("changeCharacterSize",e)}),this.$size={width:0,height:0,scrollerHeight:0,scrollerWidth:0,$dirty:!0},this.layerConfig={width:1,padding:0,firstRow:0,firstRowScreen:0,lastRow:0,lineHeight:0,characterWidth:0,minHeight:1,maxHeight:1,offset:0,height:1,gutterOffset:1},this.scrollMargin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.$loop=new p(this.$renderChanges.bind(this),this.container.ownerDocument.defaultView),this.$loop.schedule(this.CHANGE_FULL),this.updateCharacterSize(),this.setPadding(4),i.resetOptions(this),i._emit("renderer",this)};(function(){this.CHANGE_CURSOR=1,this.CHANGE_MARKER=2,this.CHANGE_GUTTER=4,this.CHANGE_SCROLL=8,this.CHANGE_LINES=16,this.CHANGE_TEXT=32,this.CHANGE_SIZE=64,this.CHANGE_MARKER_BACK=128,this.CHANGE_MARKER_FRONT=256,this.CHANGE_FULL=512,this.CHANGE_H_SCROLL=1024,o.implement(this,m),this.updateCharacterSize=function(){this.$textLayer.allowBoldFonts!=this.$allowBoldFonts&&(this.$allowBoldFonts=this.$textLayer.allowBoldFonts,this.setStyle("ace_nobold",!this.$allowBoldFonts)),this.layerConfig.characterWidth=this.characterWidth=this.$textLayer.getCharacterWidth(),this.layerConfig.lineHeight=this.lineHeight=this.$textLayer.getLineHeight(),this.$updatePrintMargin()},this.setSession=function(e){this.session&&this.session.doc.off("changeNewLineMode",this.onChangeNewLineMode),this.session=e,e&&this.scrollMargin.top&&e.getScrollTop()<=0&&e.setScrollTop(-this.scrollMargin.top),this.$cursorLayer.setSession(e),this.$markerBack.setSession(e),this.$markerFront.setSession(e),this.$gutterLayer.setSession(e),this.$textLayer.setSession(e),e&&(this.$loop.schedule(this.CHANGE_FULL),this.session.$setFontMetrics(this.$fontMetrics),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.onChangeNewLineMode=this.onChangeNewLineMode.bind(this),this.onChangeNewLineMode(),this.session.doc.on("changeNewLineMode",this.onChangeNewLineMode))},this.updateLines=function(e,t,n){if(void 0===t&&(t=1/0),this.$changedLines?(this.$changedLines.firstRow>e&&(this.$changedLines.firstRow=e),this.$changedLines.lastRow<t&&(this.$changedLines.lastRow=t)):this.$changedLines={firstRow:e,lastRow:t},this.$changedLines.lastRow<this.layerConfig.firstRow){if(!n)return;this.$changedLines.lastRow=this.layerConfig.lastRow}this.$changedLines.firstRow>this.layerConfig.lastRow||this.$loop.schedule(this.CHANGE_LINES)},this.onChangeNewLineMode=function(){this.$loop.schedule(this.CHANGE_TEXT),this.$textLayer.$updateEolChar(),this.session.$bidiHandler.setEolChar(this.$textLayer.EOL_CHAR)},this.onChangeTabSize=function(){this.$loop.schedule(this.CHANGE_TEXT|this.CHANGE_MARKER),this.$textLayer.onChangeTabSize()},this.updateText=function(){this.$loop.schedule(this.CHANGE_TEXT)},this.updateFull=function(e){e?this.$renderChanges(this.CHANGE_FULL,!0):this.$loop.schedule(this.CHANGE_FULL)},this.updateFontSize=function(){this.$textLayer.checkForSizeChanges()},this.$changes=0,this.$updateSizeAsync=function(){this.$loop.pending?this.$size.$dirty=!0:this.onResize()},this.onResize=function(e,t,n,o){if(!(this.resizing>2)){this.resizing>0?this.resizing++:this.resizing=e?1:0;var r=this.container;o||(o=r.clientHeight||r.scrollHeight),n||(n=r.clientWidth||r.scrollWidth);var i=this.$updateCachedSize(e,t,n,o);if(!this.$size.scrollerHeight||!n&&!o)return this.resizing=0;e&&(this.$gutterLayer.$padding=null),e?this.$renderChanges(i|this.$changes,!0):this.$loop.schedule(i|this.$changes),this.resizing&&(this.resizing=0),this.scrollBarV.scrollLeft=this.scrollBarV.scrollTop=null}},this.$updateCachedSize=function(e,t,n,o){var r=0,i=this.$size,a={width:i.width,height:i.height,scrollerHeight:i.scrollerHeight,scrollerWidth:i.scrollerWidth};return(o-=this.$extraHeight||0)&&(e||i.height!=o)&&(i.height=o,r|=this.CHANGE_SIZE,i.scrollerHeight=i.height,this.$horizScroll&&(i.scrollerHeight-=this.scrollBarH.getHeight()),this.scrollBarV.element.style.bottom=this.scrollBarH.getHeight()+"px",r|=this.CHANGE_SCROLL),n&&(e||i.width!=n)&&(r|=this.CHANGE_SIZE,i.width=n,null==t&&(t=this.$showGutter?this.$gutter.offsetWidth:0),this.gutterWidth=t,this.scrollBarH.element.style.left=this.scroller.style.left=t+"px",i.scrollerWidth=Math.max(0,n-t-this.scrollBarV.getWidth()),this.scrollBarH.element.style.right=this.scroller.style.right=this.scrollBarV.getWidth()+"px",this.scroller.style.bottom=this.scrollBarH.getHeight()+"px",(this.session&&this.session.getUseWrapMode()&&this.adjustWrapLimit()||e)&&(r|=this.CHANGE_FULL)),i.$dirty=!n||!o,r&&this._signal("resize",a),r},this.onGutterResize=function(){var e=this.$showGutter?this.$gutter.offsetWidth:0;e!=this.gutterWidth&&(this.$changes|=this.$updateCachedSize(!0,e,this.$size.width,this.$size.height)),this.session.getUseWrapMode()&&this.adjustWrapLimit()?this.$loop.schedule(this.CHANGE_FULL):this.$size.$dirty?this.$loop.schedule(this.CHANGE_FULL):(this.$computeLayerConfig(),this.$loop.schedule(this.CHANGE_MARKER))},this.adjustWrapLimit=function(){var e=Math.floor((this.$size.scrollerWidth-2*this.$padding)/this.characterWidth);return this.session.adjustWrapLimit(e,this.$showPrintMargin&&this.$printMarginColumn)},this.setAnimatedScroll=function(e){this.setOption("animatedScroll",e)},this.getAnimatedScroll=function(){return this.$animatedScroll},this.setShowInvisibles=function(e){this.setOption("showInvisibles",e),this.session.$bidiHandler.setShowInvisibles(e)},this.getShowInvisibles=function(){return this.getOption("showInvisibles")},this.getDisplayIndentGuides=function(){return this.getOption("displayIndentGuides")},this.setDisplayIndentGuides=function(e){this.setOption("displayIndentGuides",e)},this.setShowPrintMargin=function(e){this.setOption("showPrintMargin",e)},this.getShowPrintMargin=function(){return this.getOption("showPrintMargin")},this.setPrintMarginColumn=function(e){this.setOption("printMarginColumn",e)},this.getPrintMarginColumn=function(){return this.getOption("printMarginColumn")},this.getShowGutter=function(){return this.getOption("showGutter")},this.setShowGutter=function(e){return this.setOption("showGutter",e)},this.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},this.setFadeFoldWidgets=function(e){this.setOption("fadeFoldWidgets",e)},this.setHighlightGutterLine=function(e){this.setOption("highlightGutterLine",e)},this.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},this.$updateGutterLineHighlight=function(){var e=this.$cursorLayer.$pixelPos,t=this.layerConfig.lineHeight;if(this.session.getUseWrapMode()){var n=this.session.selection.getCursor();n.column=0,e=this.$cursorLayer.getPixelPosition(n,!0),t*=this.session.getRowLength(n.row)}this.$gutterLineHighlight.style.top=e.top-this.layerConfig.offset+"px",this.$gutterLineHighlight.style.height=t+"px"},this.$updatePrintMargin=function(){if(this.$showPrintMargin||this.$printMarginEl){if(!this.$printMarginEl){var e=r.createElement("div");e.className="ace_layer ace_print-margin-layer",this.$printMarginEl=r.createElement("div"),this.$printMarginEl.className="ace_print-margin",e.appendChild(this.$printMarginEl),this.content.insertBefore(e,this.content.firstChild)}var t=this.$printMarginEl.style;t.left=this.characterWidth*this.$printMarginColumn+this.$padding+"px",t.visibility=this.$showPrintMargin?"visible":"hidden",this.session&&-1==this.session.$wrap&&this.adjustWrapLimit()}},this.getContainerElement=function(){return this.container},this.getMouseEventTarget=function(){return this.scroller},this.getTextAreaContainer=function(){return this.container},this.$moveTextAreaToCursor=function(){if(this.$keepTextAreaAtCursor){var e=this.layerConfig,t=this.$cursorLayer.$pixelPos.top,n=this.$cursorLayer.$pixelPos.left,o=this.textarea.style,r=this.lineHeight;if((t-=e.offset)<0||t>e.height-r)o.top=o.left="0";else{var i=this.characterWidth;if(this.$composition){var a=this.textarea.value.replace(/^\x01+/,"");i*=this.session.$getStringScreenWidth(a)[0]+2,r+=2}(n-=this.scrollLeft)>this.$size.scrollerWidth-i&&(n=this.$size.scrollerWidth-i),n+=this.gutterWidth,o.height=r+"px",o.width=i+"px",o.left=Math.min(n,this.$size.scrollerWidth-i)+"px",o.top=Math.min(t,this.$size.height-r)+"px"}}},this.getFirstVisibleRow=function(){return this.layerConfig.firstRow},this.getFirstFullyVisibleRow=function(){return this.layerConfig.firstRow+(0===this.layerConfig.offset?0:1)},this.getLastFullyVisibleRow=function(){var e=this.layerConfig,t=e.lastRow;return this.session.documentToScreenRow(t,0)*e.lineHeight-this.session.getScrollTop()>e.height-e.lineHeight?t-1:t},this.getLastVisibleRow=function(){return this.layerConfig.lastRow},this.$padding=null,this.setPadding=function(e){this.$padding=e,this.$textLayer.setPadding(e),this.$cursorLayer.setPadding(e),this.$markerFront.setPadding(e),this.$markerBack.setPadding(e),this.$loop.schedule(this.CHANGE_FULL),this.$updatePrintMargin()},this.setScrollMargin=function(e,t,n,o){var r=this.scrollMargin;r.top=0|e,r.bottom=0|t,r.right=0|o,r.left=0|n,r.v=r.top+r.bottom,r.h=r.left+r.right,r.top&&this.scrollTop<=0&&this.session&&this.session.setScrollTop(-r.top),this.updateFull()},this.getHScrollBarAlwaysVisible=function(){return this.$hScrollBarAlwaysVisible},this.setHScrollBarAlwaysVisible=function(e){this.setOption("hScrollBarAlwaysVisible",e)},this.getVScrollBarAlwaysVisible=function(){return this.$vScrollBarAlwaysVisible},this.setVScrollBarAlwaysVisible=function(e){this.setOption("vScrollBarAlwaysVisible",e)},this.$updateScrollBarV=function(){var e=this.layerConfig.maxHeight,t=this.$size.scrollerHeight;!this.$maxLines&&this.$scrollPastEnd&&this.scrollTop>(e-=(t-this.lineHeight)*this.$scrollPastEnd)-t&&(e=this.scrollTop+t,this.scrollBarV.scrollTop=null),this.scrollBarV.setScrollHeight(e+this.scrollMargin.v),this.scrollBarV.setScrollTop(this.scrollTop+this.scrollMargin.top)},this.$updateScrollBarH=function(){this.scrollBarH.setScrollWidth(this.layerConfig.width+2*this.$padding+this.scrollMargin.h),this.scrollBarH.setScrollLeft(this.scrollLeft+this.scrollMargin.left)},this.$frozen=!1,this.freeze=function(){this.$frozen=!0},this.unfreeze=function(){this.$frozen=!1},this.$renderChanges=function(e,t){if(this.$changes&&(e|=this.$changes,this.$changes=0),this.session&&this.container.offsetWidth&&!this.$frozen&&(e||t)){if(this.$size.$dirty)return this.$changes|=e,this.onResize(!0);this.lineHeight||this.$textLayer.checkForSizeChanges(),this._signal("beforeRender"),this.session&&this.session.$bidiHandler&&this.session.$bidiHandler.updateCharacterWidths(this.$fontMetrics);var n=this.layerConfig;if(e&this.CHANGE_FULL||e&this.CHANGE_SIZE||e&this.CHANGE_TEXT||e&this.CHANGE_LINES||e&this.CHANGE_SCROLL||e&this.CHANGE_H_SCROLL){if(e|=this.$computeLayerConfig(),n.firstRow!=this.layerConfig.firstRow&&n.firstRowScreen==this.layerConfig.firstRowScreen){var o=this.scrollTop+(n.firstRow-this.layerConfig.firstRow)*this.lineHeight;o>0&&(this.scrollTop=o,e|=this.CHANGE_SCROLL,e|=this.$computeLayerConfig())}n=this.layerConfig,this.$updateScrollBarV(),e&this.CHANGE_H_SCROLL&&this.$updateScrollBarH(),this.$gutterLayer.element.style.marginTop=-n.offset+"px",this.content.style.marginTop=-n.offset+"px",this.content.style.width=n.width+2*this.$padding+"px",this.content.style.height=n.minHeight+"px"}if(e&this.CHANGE_H_SCROLL&&(this.content.style.marginLeft=-this.scrollLeft+"px",this.scroller.className=this.scrollLeft<=0?"ace_scroller":"ace_scroller ace_scroll-left"),e&this.CHANGE_FULL)return this.$textLayer.update(n),this.$showGutter&&this.$gutterLayer.update(n),this.$markerBack.update(n),this.$markerFront.update(n),this.$cursorLayer.update(n),this.$moveTextAreaToCursor(),this.$highlightGutterLine&&this.$updateGutterLineHighlight(),void this._signal("afterRender");if(e&this.CHANGE_SCROLL)return e&this.CHANGE_TEXT||e&this.CHANGE_LINES?this.$textLayer.update(n):this.$textLayer.scrollLines(n),this.$showGutter&&this.$gutterLayer.update(n),this.$markerBack.update(n),this.$markerFront.update(n),this.$cursorLayer.update(n),this.$highlightGutterLine&&this.$updateGutterLineHighlight(),this.$moveTextAreaToCursor(),void this._signal("afterRender");e&this.CHANGE_TEXT?(this.$textLayer.update(n),this.$showGutter&&this.$gutterLayer.update(n)):e&this.CHANGE_LINES?(this.$updateLines()||e&this.CHANGE_GUTTER&&this.$showGutter)&&this.$gutterLayer.update(n):(e&this.CHANGE_TEXT||e&this.CHANGE_GUTTER)&&this.$showGutter&&this.$gutterLayer.update(n),e&this.CHANGE_CURSOR&&(this.$cursorLayer.update(n),this.$moveTextAreaToCursor(),this.$highlightGutterLine&&this.$updateGutterLineHighlight()),e&(this.CHANGE_MARKER|this.CHANGE_MARKER_FRONT)&&this.$markerFront.update(n),e&(this.CHANGE_MARKER|this.CHANGE_MARKER_BACK)&&this.$markerBack.update(n),this._signal("afterRender")}else this.$changes|=e},this.$autosize=function(){var e=this.session.getScreenLength()*this.lineHeight,t=this.$maxLines*this.lineHeight,n=Math.min(t,Math.max((this.$minLines||1)*this.lineHeight,e))+this.scrollMargin.v+(this.$extraHeight||0);this.$horizScroll&&(n+=this.scrollBarH.getHeight()),this.$maxPixelHeight&&n>this.$maxPixelHeight&&(n=this.$maxPixelHeight);var o=e>t;if(n!=this.desiredHeight||this.$size.height!=this.desiredHeight||o!=this.$vScroll){o!=this.$vScroll&&(this.$vScroll=o,this.scrollBarV.setVisible(o));var r=this.container.clientWidth;this.container.style.height=n+"px",this.$updateCachedSize(!0,this.$gutterWidth,r,n),this.desiredHeight=n,this._signal("autosize")}},this.$computeLayerConfig=function(){var e=this.session,t=this.$size,n=t.height<=2*this.lineHeight,o=this.session.getScreenLength()*this.lineHeight,r=this.$getLongestLine(),i=!n&&(this.$hScrollBarAlwaysVisible||t.scrollerWidth-r-2*this.$padding<0),a=this.$horizScroll!==i;a&&(this.$horizScroll=i,this.scrollBarH.setVisible(i));var s=this.$vScroll;this.$maxLines&&this.lineHeight>1&&this.$autosize();var l=this.scrollTop%this.lineHeight,c=t.scrollerHeight+this.lineHeight,u=!this.$maxLines&&this.$scrollPastEnd?(t.scrollerHeight-this.lineHeight)*this.$scrollPastEnd:0;o+=u;var d=this.scrollMargin;this.session.setScrollTop(Math.max(-d.top,Math.min(this.scrollTop,o-t.scrollerHeight+d.bottom))),this.session.setScrollLeft(Math.max(-d.left,Math.min(this.scrollLeft,r+2*this.$padding-t.scrollerWidth+d.right)));var h=!n&&(this.$vScrollBarAlwaysVisible||t.scrollerHeight-o+u<0||this.scrollTop>d.top),p=s!==h;p&&(this.$vScroll=h,this.scrollBarV.setVisible(h));var f,m,g=Math.ceil(c/this.lineHeight)-1,v=Math.max(0,Math.round((this.scrollTop-l)/this.lineHeight)),_=v+g,y=this.lineHeight;v=e.screenToDocumentRow(v,0);var b=e.getFoldLine(v);b&&(v=b.start.row),f=e.documentToScreenRow(v,0),m=e.getRowLength(v)*y,_=Math.min(e.screenToDocumentRow(_,0),e.getLength()-1),c=t.scrollerHeight+e.getRowLength(_)*y+m,l=this.scrollTop-f*y;var C=0;return this.layerConfig.width!=r&&(C=this.CHANGE_H_SCROLL),(a||p)&&(C=this.$updateCachedSize(!0,this.gutterWidth,t.width,t.height),this._signal("scrollbarVisibilityChanged"),p&&(r=this.$getLongestLine())),this.layerConfig={width:r,padding:this.$padding,firstRow:v,firstRowScreen:f,lastRow:_,lineHeight:y,characterWidth:this.characterWidth,minHeight:c,maxHeight:o,offset:l,gutterOffset:y?Math.max(0,Math.ceil((l+t.height-t.scrollerHeight)/y)):0,height:this.$size.scrollerHeight},C},this.$updateLines=function(){if(this.$changedLines){var e=this.$changedLines.firstRow,t=this.$changedLines.lastRow;this.$changedLines=null;var n=this.layerConfig;if(!(e>n.lastRow+1||t<n.firstRow))return t===1/0?(this.$showGutter&&this.$gutterLayer.update(n),void this.$textLayer.update(n)):(this.$textLayer.updateLines(n,e,t),!0)}},this.$getLongestLine=function(){var e=this.session.getScreenWidth();return this.showInvisibles&&!this.session.$useWrapMode&&(e+=1),Math.max(this.$size.scrollerWidth-2*this.$padding,Math.round(e*this.characterWidth))},this.updateFrontMarkers=function(){this.$markerFront.setMarkers(this.session.getMarkers(!0)),this.$loop.schedule(this.CHANGE_MARKER_FRONT)},this.updateBackMarkers=function(){this.$markerBack.setMarkers(this.session.getMarkers()),this.$loop.schedule(this.CHANGE_MARKER_BACK)},this.addGutterDecoration=function(e,t){this.$gutterLayer.addGutterDecoration(e,t)},this.removeGutterDecoration=function(e,t){this.$gutterLayer.removeGutterDecoration(e,t)},this.updateBreakpoints=function(e){this.$loop.schedule(this.CHANGE_GUTTER)},this.setAnnotations=function(e){this.$gutterLayer.setAnnotations(e),this.$loop.schedule(this.CHANGE_GUTTER)},this.updateCursor=function(){this.$loop.schedule(this.CHANGE_CURSOR)},this.hideCursor=function(){this.$cursorLayer.hideCursor()},this.showCursor=function(){this.$cursorLayer.showCursor()},this.scrollSelectionIntoView=function(e,t,n){this.scrollCursorIntoView(e,n),this.scrollCursorIntoView(t,n)},this.scrollCursorIntoView=function(e,t,n){if(0!==this.$size.scrollerHeight){var o=this.$cursorLayer.getPixelPosition(e),r=o.left,i=o.top,a=n&&n.top||0,s=n&&n.bottom||0,l=this.$scrollAnimation?this.session.getScrollTop():this.scrollTop;l+a>i?(t&&l+a>i+this.lineHeight&&(i-=t*this.$size.scrollerHeight),0===i&&(i=-this.scrollMargin.top),this.session.setScrollTop(i)):l+this.$size.scrollerHeight-s<i+this.lineHeight&&(t&&l+this.$size.scrollerHeight-s<i-this.lineHeight&&(i+=t*this.$size.scrollerHeight),this.session.setScrollTop(i+this.lineHeight-this.$size.scrollerHeight));var c=this.scrollLeft;c>r?(r<this.$padding+2*this.layerConfig.characterWidth&&(r=-this.scrollMargin.left),this.session.setScrollLeft(r)):c+this.$size.scrollerWidth<r+this.characterWidth?this.session.setScrollLeft(Math.round(r+this.characterWidth-this.$size.scrollerWidth)):c<=this.$padding&&r-c<this.characterWidth&&this.session.setScrollLeft(0)}},this.getScrollTop=function(){return this.session.getScrollTop()},this.getScrollLeft=function(){return this.session.getScrollLeft()},this.getScrollTopRow=function(){return this.scrollTop/this.lineHeight},this.getScrollBottomRow=function(){return Math.max(0,Math.floor((this.scrollTop+this.$size.scrollerHeight)/this.lineHeight)-1)},this.scrollToRow=function(e){this.session.setScrollTop(e*this.lineHeight)},this.alignCursor=function(e,t){"number"==typeof e&&(e={row:e,column:0});var n=this.$cursorLayer.getPixelPosition(e).top-(this.$size.scrollerHeight-this.lineHeight)*(t||0);return this.session.setScrollTop(n),n},this.STEPS=8,this.$calcSteps=function(e,t){var n,o=0,r=this.STEPS,i=[];for(o=0;o<r;++o)i.push((n=e,(t-e)*(Math.pow(o/this.STEPS-1,3)+1)+n));return i},this.scrollToLine=function(e,t,n,o){var r=this.$cursorLayer.getPixelPosition({row:e,column:0}).top;t&&(r-=this.$size.scrollerHeight/2);var i=this.scrollTop;this.session.setScrollTop(r),!1!==n&&this.animateScrolling(i,o)},this.animateScrolling=function(e,t){var n=this.scrollTop;if(this.$animatedScroll){var o=this;if(e!=n){if(this.$scrollAnimation){var r=this.$scrollAnimation.steps;if(r.length&&(e=r[0])==n)return}var i=o.$calcSteps(e,n);this.$scrollAnimation={from:e,to:n,steps:i},clearInterval(this.$timer),o.session.setScrollTop(i.shift()),o.session.$scrollTop=n,this.$timer=setInterval(function(){i.length?(o.session.setScrollTop(i.shift()),o.session.$scrollTop=n):null!=n?(o.session.$scrollTop=-1,o.session.setScrollTop(n),n=null):(o.$timer=clearInterval(o.$timer),o.$scrollAnimation=null,t&&t())},10)}}},this.scrollToY=function(e){this.scrollTop!==e&&(this.$loop.schedule(this.CHANGE_SCROLL),this.scrollTop=e)},this.scrollToX=function(e){this.scrollLeft!==e&&(this.scrollLeft=e),this.$loop.schedule(this.CHANGE_H_SCROLL)},this.scrollTo=function(e,t){this.session.setScrollTop(t),this.session.setScrollLeft(t)},this.scrollBy=function(e,t){t&&this.session.setScrollTop(this.session.getScrollTop()+t),e&&this.session.setScrollLeft(this.session.getScrollLeft()+e)},this.isScrollableBy=function(e,t){return t<0&&this.session.getScrollTop()>=1-this.scrollMargin.top||t>0&&this.session.getScrollTop()+this.$size.scrollerHeight-this.layerConfig.maxHeight<-1+this.scrollMargin.bottom||e<0&&this.session.getScrollLeft()>=1-this.scrollMargin.left||e>0&&this.session.getScrollLeft()+this.$size.scrollerWidth-this.layerConfig.width<-1+this.scrollMargin.right||void 0},this.pixelToScreenCoordinates=function(e,t){var n=this.scroller.getBoundingClientRect(),o=e+this.scrollLeft-n.left-this.$padding,r=o/this.characterWidth,i=Math.floor((t+this.scrollTop-n.top)/this.lineHeight),a=Math.round(r);return{row:i,column:a,side:r-a>0?1:-1,offsetX:o}},this.screenToTextCoordinates=function(e,t){var n=this.scroller.getBoundingClientRect(),o=e+this.scrollLeft-n.left-this.$padding,r=Math.round(o/this.characterWidth);return this.session.screenToDocumentPosition((t+this.scrollTop-n.top)/this.lineHeight,Math.max(r,0),o)},this.textToScreenCoordinates=function(e,t){var n=this.scroller.getBoundingClientRect(),o=this.session.documentToScreenPosition(e,t),r=this.$padding+(this.session.$bidiHandler.isBidiRow(o.row,e)?this.session.$bidiHandler.getPosLeft(o.column):Math.round(o.column*this.characterWidth));return{pageX:n.left+r-this.scrollLeft,pageY:n.top+o.row*this.lineHeight-this.scrollTop}},this.visualizeFocus=function(){r.addCssClass(this.container,"ace_focus")},this.visualizeBlur=function(){r.removeCssClass(this.container,"ace_focus")},this.showComposition=function(e){this.$composition||(this.$composition={keepTextAreaAtCursor:this.$keepTextAreaAtCursor,cssText:this.textarea.style.cssText}),this.$keepTextAreaAtCursor=!0,r.addCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText="",this.$moveTextAreaToCursor()},this.setCompositionText=function(e){this.$moveTextAreaToCursor()},this.hideComposition=function(){this.$composition&&(r.removeCssClass(this.textarea,"ace_composition"),this.$keepTextAreaAtCursor=this.$composition.keepTextAreaAtCursor,this.textarea.style.cssText=this.$composition.cssText,this.$composition=null)},this.setTheme=function(e,t){var n=this;function o(o){if(n.$themeId!=e)return t&&t();if(!o||!o.cssClass)throw new Error("couldn't load module "+e+" or it didn't call define");r.importCssString(o.cssText,o.cssClass,n.container.ownerDocument),n.theme&&r.removeCssClass(n.container,n.theme.cssClass);var i="padding"in o?o.padding:"padding"in(n.theme||{})?4:n.$padding;n.$padding&&i!=n.$padding&&n.setPadding(i),n.$theme=o.cssClass,n.theme=o,r.addCssClass(n.container,o.cssClass),r.setCssClass(n.container,"ace_dark",o.isDark),n.$size&&(n.$size.width=0,n.$updateSizeAsync()),n._dispatchEvent("themeLoaded",{theme:o}),t&&t()}this.$themeId=e,n._dispatchEvent("themeChange",{theme:e}),e&&"string"!=typeof e?o(e):i.loadModule(["theme",e||this.$options.theme.initialValue],o)},this.getTheme=function(){return this.$themeId},this.setStyle=function(e,t){r.setCssClass(this.container,e,!1!==t)},this.unsetStyle=function(e){r.removeCssClass(this.container,e)},this.setCursorStyle=function(e){this.scroller.style.cursor!=e&&(this.scroller.style.cursor=e)},this.setMouseCursor=function(e){this.scroller.style.cursor=e},this.destroy=function(){this.$textLayer.destroy(),this.$cursorLayer.destroy()}}).call(g.prototype),i.defineOptions(g.prototype,"renderer",{animatedScroll:{initialValue:!1},showInvisibles:{set:function(e){this.$textLayer.setShowInvisibles(e)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!1},showPrintMargin:{set:function(){this.$updatePrintMargin()},initialValue:!0},printMarginColumn:{set:function(){this.$updatePrintMargin()},initialValue:80},printMargin:{set:function(e){"number"==typeof e&&(this.$printMarginColumn=e),this.$showPrintMargin=!!e,this.$updatePrintMargin()},get:function(){return this.$showPrintMargin&&this.$printMarginColumn}},showGutter:{set:function(e){this.$gutter.style.display=e?"block":"none",this.$loop.schedule(this.CHANGE_FULL),this.onGutterResize()},initialValue:!0},fadeFoldWidgets:{set:function(e){r.setCssClass(this.$gutter,"ace_fade-fold-widgets",e)},initialValue:!1},showFoldWidgets:{set:function(e){this.$gutterLayer.setShowFoldWidgets(e)},initialValue:!0},showLineNumbers:{set:function(e){this.$gutterLayer.setShowLineNumbers(e),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},displayIndentGuides:{set:function(e){this.$textLayer.setDisplayIndentGuides(e)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!0},highlightGutterLine:{set:function(e){if(!this.$gutterLineHighlight)return this.$gutterLineHighlight=r.createElement("div"),this.$gutterLineHighlight.className="ace_gutter-active-line",void this.$gutter.appendChild(this.$gutterLineHighlight);this.$gutterLineHighlight.style.display=e?"":"none",this.$cursorLayer.$pixelPos&&this.$updateGutterLineHighlight()},initialValue:!1,value:!0},hScrollBarAlwaysVisible:{set:function(e){this.$hScrollBarAlwaysVisible&&this.$horizScroll||this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},vScrollBarAlwaysVisible:{set:function(e){this.$vScrollBarAlwaysVisible&&this.$vScroll||this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},fontSize:{set:function(e){"number"==typeof e&&(e+="px"),this.container.style.fontSize=e,this.updateFontSize()},initialValue:12},fontFamily:{set:function(e){this.container.style.fontFamily=e,this.updateFontSize()}},maxLines:{set:function(e){this.updateFull()}},minLines:{set:function(e){this.updateFull()}},maxPixelHeight:{set:function(e){this.updateFull()},initialValue:0},scrollPastEnd:{set:function(e){this.$scrollPastEnd!=(e=+e||0)&&(this.$scrollPastEnd=e,this.$loop.schedule(this.CHANGE_SCROLL))},initialValue:0,handlesSet:!0},fixedWidthGutter:{set:function(e){this.$gutterLayer.$fixedWidth=!!e,this.$loop.schedule(this.CHANGE_GUTTER)}},theme:{set:function(e){this.setTheme(e)},get:function(){return this.$themeId||this.theme},initialValue:"./theme/textmate",handlesSet:!0}}),t.VirtualRenderer=g}),ace.define("ace/worker/worker_client",["require","exports","module","ace/lib/oop","ace/lib/net","ace/lib/event_emitter","ace/config"],function(e,t,n){"use strict";var o=e("../lib/oop"),r=e("../lib/net"),i=e("../lib/event_emitter").EventEmitter,a=e("../config");function s(e,t){var n=function(e,t){var n=t.src;r.qualifyURL(e);try{return new Blob([n],{type:"application/javascript"})}catch(i){var o=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder);return o.append(n),o.getBlob("application/javascript")}}(e,t),o=(window.URL||window.webkitURL).createObjectURL(n);return new Worker(o)}var l=function(t,n,o,r,i){if(this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.onMessage=this.onMessage.bind(this),e.nameToUrl&&!e.toUrl&&(e.toUrl=e.nameToUrl),a.get("packaged")||!e.toUrl)r=r||a.moduleUrl(n.id,"worker");else{var l=this.$normalizePath;r=r||l(e.toUrl("ace/worker/worker.js",null,"_"));var c={};t.forEach(function(t){c[t]=l(e.toUrl(t,null,"_").replace(/(\.js)?(\?.*)?$/,""))})}this.$worker=s(r,n),i&&this.send("importScripts",i),this.$worker.postMessage({init:!0,tlns:c,module:n.id,classname:o}),this.callbackId=1,this.callbacks={},this.$worker.onmessage=this.onMessage};(function(){o.implement(this,i),this.onMessage=function(e){var t=e.data;switch(t.type){case"event":this._signal(t.name,{data:t.data});break;case"call":var n=this.callbacks[t.id];n&&(n(t.data),delete this.callbacks[t.id]);break;case"error":this.reportError(t.data);break;case"log":window.console&&console.log&&console.log.apply(console,t.data)}},this.reportError=function(e){window.console&&console.error&&console.error(e)},this.$normalizePath=function(e){return r.qualifyURL(e)},this.terminate=function(){this._signal("terminate",{}),this.deltaQueue=null,this.$worker.terminate(),this.$worker=null,this.$doc&&this.$doc.off("change",this.changeListener),this.$doc=null},this.send=function(e,t){this.$worker.postMessage({command:e,args:t})},this.call=function(e,t,n){if(n){var o=this.callbackId++;this.callbacks[o]=n,t.push(o)}this.send(e,t)},this.emit=function(e,t){try{this.$worker.postMessage({event:e,data:{data:t.data}})}catch(n){console.error(n.stack)}},this.attachToDocument=function(e){this.$doc&&this.terminate(),this.$doc=e,this.call("setValue",[e.getValue()]),e.on("change",this.changeListener)},this.changeListener=function(e){this.deltaQueue||(this.deltaQueue=[],setTimeout(this.$sendDeltaQueue,0)),this.deltaQueue.push(e.start,"insert"==e.action?e.lines:e.end)},this.$sendDeltaQueue=function(){var e=this.deltaQueue;e&&(this.deltaQueue=null,e.length>50&&e.length>this.$doc.getLength()>>1?this.call("setValue",[this.$doc.getValue()]):this.emit("change",{data:e}))}}).call(l.prototype);var c=function(e,t,n){this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.callbackId=1,this.callbacks={},this.messageBuffer=[];var o=null,r=!1,s=Object.create(i),l=this;this.$worker={},this.$worker.terminate=function(){},this.$worker.postMessage=function(e){l.messageBuffer.push(e),o&&(r?setTimeout(c):c())},this.setEmitSync=function(e){r=e};var c=function(){var e=l.messageBuffer.shift();e.command?o[e.command].apply(o,e.args):e.event&&s._signal(e.event,e.data)};s.postMessage=function(e){l.onMessage({data:e})},s.callback=function(e,t){this.postMessage({type:"call",id:t,data:e})},s.emit=function(e,t){this.postMessage({type:"event",name:e,data:t})},a.loadModule(["worker",t],function(e){for(o=new e[n](s);l.messageBuffer.length;)c()})};c.prototype=l.prototype,t.UIWorkerClient=c,t.WorkerClient=l,t.createWorker=s}),ace.define("ace/placeholder",["require","exports","module","ace/range","ace/lib/event_emitter","ace/lib/oop"],function(e,t,n){"use strict";var o=e("./range").Range,r=e("./lib/event_emitter").EventEmitter,i=e("./lib/oop"),a=function(e,t,n,o,r,i){var a=this;this.length=t,this.session=e,this.doc=e.getDocument(),this.mainClass=r,this.othersClass=i,this.$onUpdate=this.onUpdate.bind(this),this.doc.on("change",this.$onUpdate),this.$others=o,this.$onCursorChange=function(){setTimeout(function(){a.onCursorChange()})},this.$pos=n;var s=e.getUndoManager().$undoStack||e.getUndoManager().$undostack||{length:-1};this.$undoStackDepth=s.length,this.setup(),e.selection.on("changeCursor",this.$onCursorChange)};(function(){i.implement(this,r),this.setup=function(){var e=this,t=this.doc,n=this.session;this.selectionBefore=n.selection.toJSON(),n.selection.inMultiSelectMode&&n.selection.toSingleRange(),this.pos=t.createAnchor(this.$pos.row,this.$pos.column);var r=this.pos;r.$insertRight=!0,r.detach(),r.markerId=n.addMarker(new o(r.row,r.column,r.row,r.column+this.length),this.mainClass,null,!1),this.others=[],this.$others.forEach(function(n){var o=t.createAnchor(n.row,n.column);o.$insertRight=!0,o.detach(),e.others.push(o)}),n.setUndoSelect(!1)},this.showOtherMarkers=function(){if(!this.othersActive){var e=this.session,t=this;this.othersActive=!0,this.others.forEach(function(n){n.markerId=e.addMarker(new o(n.row,n.column,n.row,n.column+t.length),t.othersClass,null,!1)})}},this.hideOtherMarkers=function(){if(this.othersActive){this.othersActive=!1;for(var e=0;e<this.others.length;e++)this.session.removeMarker(this.others[e].markerId)}},this.onUpdate=function(e){if(this.$updating)return this.updateAnchors(e);var t=e;if(t.start.row===t.end.row&&t.start.row===this.pos.row){this.$updating=!0;var n="insert"===e.action?t.end.column-t.start.column:t.start.column-t.end.column,r=t.start.column>=this.pos.column&&t.start.column<=this.pos.column+this.length+1,i=t.start.column-this.pos.column;if(this.updateAnchors(e),r&&(this.length+=n),r&&!this.session.$fromUndo)if("insert"===e.action)for(var a=this.others.length-1;a>=0;a--)this.doc.insertMergedLines(l={row:(s=this.others[a]).row,column:s.column+i},e.lines);else if("remove"===e.action)for(a=this.others.length-1;a>=0;a--){var s,l;this.doc.remove(new o((l={row:(s=this.others[a]).row,column:s.column+i}).row,l.column,l.row,l.column-n))}this.$updating=!1,this.updateMarkers()}},this.updateAnchors=function(e){this.pos.onChange(e);for(var t=this.others.length;t--;)this.others[t].onChange(e);this.updateMarkers()},this.updateMarkers=function(){if(!this.$updating){var e=this,t=this.session,n=function(n,r){t.removeMarker(n.markerId),n.markerId=t.addMarker(new o(n.row,n.column,n.row,n.column+e.length),r,null,!1)};n(this.pos,this.mainClass);for(var r=this.others.length;r--;)n(this.others[r],this.othersClass)}},this.onCursorChange=function(e){if(!this.$updating&&this.session){var t=this.session.selection.getCursor();t.row===this.pos.row&&t.column>=this.pos.column&&t.column<=this.pos.column+this.length?(this.showOtherMarkers(),this._emit("cursorEnter",e)):(this.hideOtherMarkers(),this._emit("cursorLeave",e))}},this.detach=function(){this.session.removeMarker(this.pos&&this.pos.markerId),this.hideOtherMarkers(),this.doc.removeEventListener("change",this.$onUpdate),this.session.selection.removeEventListener("changeCursor",this.$onCursorChange),this.session.setUndoSelect(!0),this.session=null},this.cancel=function(){if(-1!==this.$undoStackDepth){for(var e=this.session.getUndoManager(),t=(e.$undoStack||e.$undostack).length-this.$undoStackDepth,n=0;n<t;n++)e.undo(!0);this.selectionBefore&&this.session.selection.fromJSON(this.selectionBefore)}}}).call(a.prototype),t.PlaceHolder=a}),ace.define("ace/mouse/multi_select_handler",["require","exports","module","ace/lib/event","ace/lib/useragent"],function(e,t,n){var o=e("../lib/event"),r=e("../lib/useragent");function i(e,t){return e.row==t.row&&e.column==t.column}t.onMouseDown=function(e){var t=e.domEvent,n=t.altKey,a=t.shiftKey,s=t.ctrlKey,l=e.getAccelKey(),c=e.getButton();if(s&&r.isMac&&(c=t.button),e.editor.inMultiSelectMode&&2==c)e.editor.textInput.onContextMenu(e.domEvent);else if(s||n||l){if(0===c){var u,d=e.editor,h=d.selection,p=d.inMultiSelectMode,f=e.getDocumentPosition(),m=h.getCursor(),g=e.inSelection()||h.isEmpty()&&i(f,m),v=e.x,_=e.y,y=d.session,b=d.renderer.pixelToScreenCoordinates(v,_),C=b;if(d.$mouseHandler.$enableJumpToDef)s&&n||l&&n?u=a?"block":"add":n&&d.$blockSelectEnabled&&(u="block");else if(l&&!n){if(u="add",!p&&a)return}else n&&d.$blockSelectEnabled&&(u="block");if(u&&r.isMac&&t.ctrlKey&&d.$mouseHandler.cancelContextMenu(),"add"==u){if(!p&&g)return;if(!p){var E=h.toOrientedRange();d.addSelectionMarker(E)}var w=h.rangeList.rangeAtPoint(f);d.$blockScrolling++,d.inVirtualSelectionMode=!0,a&&(w=null,d.removeSelectionMarker(E=h.ranges[0]||E)),d.once("mouseup",function(){var e=h.toOrientedRange();w&&e.isEmpty()&&i(w.cursor,e.cursor)?h.substractPoint(e.cursor):(a?h.substractPoint(E.cursor):E&&(d.removeSelectionMarker(E),h.addRange(E)),h.addRange(e)),d.$blockScrolling--,d.inVirtualSelectionMode=!1})}else if("block"==u){var k;e.stop(),d.inVirtualSelectionMode=!0;var A=[];d.$blockScrolling++,p&&!l?h.toSingleRange():!p&&l&&(k=h.toOrientedRange(),d.addSelectionMarker(k)),a?b=y.documentToScreenPosition(h.lead):h.moveToPosition(f),d.$blockScrolling--,C={row:-1,column:-1},o.capture(d.container,function(e){v=e.clientX,_=e.clientY},function(e){clearInterval(S),d.removeSelectionMarkers(A),A.length||(A=[h.toOrientedRange()]),d.$blockScrolling++,k&&(d.removeSelectionMarker(k),h.toSingleRange(k));for(var t=0;t<A.length;t++)h.addRange(A[t]);d.inVirtualSelectionMode=!1,d.$mouseHandler.$clickSelection=null,d.$blockScrolling--});var S=setInterval(function(){var e,t;e=d.renderer.pixelToScreenCoordinates(v,_),t=y.screenToDocumentPosition(e.row,e.column,e.offsetX),i(C,e)&&i(t,h.lead)||(C=e,d.$blockScrolling++,d.selection.moveToPosition(t),d.renderer.scrollCursorIntoView(),d.removeSelectionMarkers(A),A=h.rectangularRangeBlock(C,b),d.$mouseHandler.$clickSelection&&1==A.length&&A[0].isEmpty()&&(A[0]=d.$mouseHandler.$clickSelection.clone()),A.forEach(d.addSelectionMarker,d),d.updateSelectionMarkers(),d.$blockScrolling--)},20);return e.preventDefault()}}}else 0===c&&e.editor.inMultiSelectMode&&e.editor.exitMultiSelectMode()}}),ace.define("ace/commands/multi_select_commands",["require","exports","module","ace/keyboard/hash_handler"],function(e,t,n){t.defaultCommands=[{name:"addCursorAbove",exec:function(e){e.selectMoreLines(-1)},bindKey:{win:"Ctrl-Alt-Up",mac:"Ctrl-Alt-Up"},scrollIntoView:"cursor",readOnly:!0},{name:"addCursorBelow",exec:function(e){e.selectMoreLines(1)},bindKey:{win:"Ctrl-Alt-Down",mac:"Ctrl-Alt-Down"},scrollIntoView:"cursor",readOnly:!0},{name:"addCursorAboveSkipCurrent",exec:function(e){e.selectMoreLines(-1,!0)},bindKey:{win:"Ctrl-Alt-Shift-Up",mac:"Ctrl-Alt-Shift-Up"},scrollIntoView:"cursor",readOnly:!0},{name:"addCursorBelowSkipCurrent",exec:function(e){e.selectMoreLines(1,!0)},bindKey:{win:"Ctrl-Alt-Shift-Down",mac:"Ctrl-Alt-Shift-Down"},scrollIntoView:"cursor",readOnly:!0},{name:"selectMoreBefore",exec:function(e){e.selectMore(-1)},bindKey:{win:"Ctrl-Alt-Left",mac:"Ctrl-Alt-Left"},scrollIntoView:"cursor",readOnly:!0},{name:"selectMoreAfter",exec:function(e){e.selectMore(1)},bindKey:{win:"Ctrl-Alt-Right",mac:"Ctrl-Alt-Right"},scrollIntoView:"cursor",readOnly:!0},{name:"selectNextBefore",exec:function(e){e.selectMore(-1,!0)},bindKey:{win:"Ctrl-Alt-Shift-Left",mac:"Ctrl-Alt-Shift-Left"},scrollIntoView:"cursor",readOnly:!0},{name:"selectNextAfter",exec:function(e){e.selectMore(1,!0)},bindKey:{win:"Ctrl-Alt-Shift-Right",mac:"Ctrl-Alt-Shift-Right"},scrollIntoView:"cursor",readOnly:!0},{name:"splitIntoLines",exec:function(e){e.multiSelect.splitIntoLines()},bindKey:{win:"Ctrl-Alt-L",mac:"Ctrl-Alt-L"},readOnly:!0},{name:"alignCursors",exec:function(e){e.alignCursors()},bindKey:{win:"Ctrl-Alt-A",mac:"Ctrl-Alt-A"},scrollIntoView:"cursor"},{name:"findAll",exec:function(e){e.findAll()},bindKey:{win:"Ctrl-Alt-K",mac:"Ctrl-Alt-G"},scrollIntoView:"cursor",readOnly:!0}],t.multiSelectCommands=[{name:"singleSelection",bindKey:"esc",exec:function(e){e.exitMultiSelectMode()},scrollIntoView:"cursor",readOnly:!0,isAvailable:function(e){return e&&e.inMultiSelectMode}}];var o=e("../keyboard/hash_handler").HashHandler;t.keyboardHandler=new o(t.multiSelectCommands)}),ace.define("ace/multi_select",["require","exports","module","ace/range_list","ace/range","ace/selection","ace/mouse/multi_select_handler","ace/lib/event","ace/lib/lang","ace/commands/multi_select_commands","ace/search","ace/edit_session","ace/editor","ace/config"],function(e,t,n){var o=e("./range_list").RangeList,r=e("./range").Range,i=e("./selection").Selection,a=e("./mouse/multi_select_handler").onMouseDown,s=e("./lib/event"),l=e("./lib/lang"),c=e("./commands/multi_select_commands");t.commands=c.defaultCommands.concat(c.multiSelectCommands);var u=new(0,e("./search").Search),d=e("./edit_session").EditSession;(function(){this.getSelectionMarkers=function(){return this.$selectionMarkers}}).call(d.prototype),(function(){this.ranges=null,this.rangeList=null,this.addRange=function(e,t){if(e){if(!this.inMultiSelectMode&&0===this.rangeCount){var n=this.toOrientedRange();if(this.rangeList.add(n),this.rangeList.add(e),2!=this.rangeList.ranges.length)return this.rangeList.removeAll(),t||this.fromOrientedRange(e);this.rangeList.removeAll(),this.rangeList.add(n),this.$onAddRange(n)}e.cursor||(e.cursor=e.end);var o=this.rangeList.add(e);return this.$onAddRange(e),o.length&&this.$onRemoveRange(o),this.rangeCount>1&&!this.inMultiSelectMode&&(this._signal("multiSelect"),this.inMultiSelectMode=!0,this.session.$undoSelect=!1,this.rangeList.attach(this.session)),t||this.fromOrientedRange(e)}},this.toSingleRange=function(e){e=e||this.ranges[0];var t=this.rangeList.removeAll();t.length&&this.$onRemoveRange(t),e&&this.fromOrientedRange(e)},this.substractPoint=function(e){var t=this.rangeList.substractPoint(e);if(t)return this.$onRemoveRange(t),t[0]},this.mergeOverlappingRanges=function(){var e=this.rangeList.merge();e.length?this.$onRemoveRange(e):this.ranges[0]&&this.fromOrientedRange(this.ranges[0])},this.$onAddRange=function(e){this.rangeCount=this.rangeList.ranges.length,this.ranges.unshift(e),this._signal("addRange",{range:e})},this.$onRemoveRange=function(e){if(this.rangeCount=this.rangeList.ranges.length,1==this.rangeCount&&this.inMultiSelectMode){var t=this.rangeList.ranges.pop();e.push(t),this.rangeCount=0}for(var n=e.length;n--;){var o=this.ranges.indexOf(e[n]);this.ranges.splice(o,1)}this._signal("removeRange",{ranges:e}),0===this.rangeCount&&this.inMultiSelectMode&&(this.inMultiSelectMode=!1,this._signal("singleSelect"),this.session.$undoSelect=!0,this.rangeList.detach(this.session)),(t=t||this.ranges[0])&&!t.isEqual(this.getRange())&&this.fromOrientedRange(t)},this.$initRangeList=function(){this.rangeList||(this.rangeList=new o,this.ranges=[],this.rangeCount=0)},this.getAllRanges=function(){return this.rangeCount?this.rangeList.ranges.concat():[this.getRange()]},this.splitIntoLines=function(){if(this.rangeCount>1){var e=this.rangeList.ranges,t=e[e.length-1],n=r.fromPoints(e[0].start,t.end);this.toSingleRange(),this.setSelectionRange(n,t.cursor==t.start)}else{n=this.getRange();var o=this.isBackwards(),i=n.start.row,a=n.end.row;if(i==a){if(o)var s=n.end,l=n.start;else s=n.start,l=n.end;return this.addRange(r.fromPoints(l,l)),void this.addRange(r.fromPoints(s,s))}var c=[],u=this.getLineRange(i,!0);u.start.column=n.start.column,c.push(u);for(var d=i+1;d<a;d++)c.push(this.getLineRange(d,!0));(u=this.getLineRange(a,!0)).end.column=n.end.column,c.push(u),c.forEach(this.addRange,this)}},this.toggleBlockSelection=function(){if(this.rangeCount>1){var e=this.rangeList.ranges,t=e[e.length-1],n=r.fromPoints(e[0].start,t.end);this.toSingleRange(),this.setSelectionRange(n,t.cursor==t.start)}else{var o=this.session.documentToScreenPosition(this.selectionLead),i=this.session.documentToScreenPosition(this.selectionAnchor);this.rectangularRangeBlock(o,i).forEach(this.addRange,this)}},this.rectangularRangeBlock=function(e,t,n){var o=[],i=e.column<t.column;if(i)var a=e.column,s=t.column,l=e.offsetX,c=t.offsetX;else a=t.column,s=e.column,l=t.offsetX,c=e.offsetX;var u,d,h=e.row<t.row;if(h)var p=e.row,f=t.row;else p=t.row,f=e.row;a<0&&(a=0),p<0&&(p=0),p==f&&(n=!0);for(var m=p;m<=f;m++){var g=r.fromPoints(this.session.screenToDocumentPosition(m,a,l),this.session.screenToDocumentPosition(m,s,c));if(g.isEmpty()){if(v&&(u=g.end).row==(d=v).row&&u.column==d.column)break;var v=g.end}g.cursor=i?g.start:g.end,o.push(g)}if(h&&o.reverse(),!n){for(var _=o.length-1;o[_].isEmpty()&&_>0;)_--;if(_>0)for(var y=0;o[y].isEmpty();)y++;for(var b=_;b>=y;b--)o[b].isEmpty()&&o.splice(b,1)}return o}}).call(i.prototype);var h=e("./editor").Editor;function p(e){e.$multiselectOnSessionChange||(e.$onAddRange=e.$onAddRange.bind(e),e.$onRemoveRange=e.$onRemoveRange.bind(e),e.$onMultiSelect=e.$onMultiSelect.bind(e),e.$onSingleSelect=e.$onSingleSelect.bind(e),e.$multiselectOnSessionChange=t.onSessionChange.bind(e),e.$checkMultiselectChange=e.$checkMultiselectChange.bind(e),e.$multiselectOnSessionChange(e),e.on("changeSession",e.$multiselectOnSessionChange),e.on("mousedown",a),e.commands.addCommands(c.defaultCommands),function(e){var t=e.textInput.getElement(),n=!1;function o(t){n&&(e.renderer.setMouseCursor(""),n=!1)}s.addListener(t,"keydown",function(t){e.$blockSelectEnabled&&18==t.keyCode&&!(t.ctrlKey||t.shiftKey||t.metaKey)?n||(e.renderer.setMouseCursor("crosshair"),n=!0):n&&o()}),s.addListener(t,"keyup",o),s.addListener(t,"blur",o)}(e))}(function(){this.updateSelectionMarkers=function(){this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.addSelectionMarker=function(e){e.cursor||(e.cursor=e.end);var t=this.getSelectionStyle();return e.marker=this.session.addMarker(e,"ace_selection",t),this.session.$selectionMarkers.push(e),this.session.selectionMarkerCount=this.session.$selectionMarkers.length,e},this.removeSelectionMarker=function(e){if(e.marker){this.session.removeMarker(e.marker);var t=this.session.$selectionMarkers.indexOf(e);-1!=t&&this.session.$selectionMarkers.splice(t,1),this.session.selectionMarkerCount=this.session.$selectionMarkers.length}},this.removeSelectionMarkers=function(e){for(var t=this.session.$selectionMarkers,n=e.length;n--;){var o=e[n];if(o.marker){this.session.removeMarker(o.marker);var r=t.indexOf(o);-1!=r&&t.splice(r,1)}}this.session.selectionMarkerCount=t.length},this.$onAddRange=function(e){this.addSelectionMarker(e.range),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onRemoveRange=function(e){this.removeSelectionMarkers(e.ranges),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onMultiSelect=function(e){this.inMultiSelectMode||(this.inMultiSelectMode=!0,this.setStyle("ace_multiselect"),this.keyBinding.addKeyboardHandler(c.keyboardHandler),this.commands.setDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers())},this.$onSingleSelect=function(e){this.session.multiSelect.inVirtualMode||(this.inMultiSelectMode=!1,this.unsetStyle("ace_multiselect"),this.keyBinding.removeKeyboardHandler(c.keyboardHandler),this.commands.removeDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers(),this._emit("changeSelection"))},this.$onMultiSelectExec=function(e){var t=e.command,n=e.editor;if(n.multiSelect){if(t.multiSelectAction)"forEach"==t.multiSelectAction?o=n.forEachSelection(t,e.args):"forEachLine"==t.multiSelectAction?o=n.forEachSelection(t,e.args,!0):"single"==t.multiSelectAction?(n.exitMultiSelectMode(),o=t.exec(n,e.args||{})):o=t.multiSelectAction(n,e.args||{});else{var o=t.exec(n,e.args||{});n.multiSelect.addRange(n.multiSelect.toOrientedRange()),n.multiSelect.mergeOverlappingRanges()}return o}},this.forEachSelection=function(e,t,n){if(!this.inVirtualSelectionMode){var o,r=1==n||n&&n.$byLines,a=this.session,s=this.selection,l=(n&&n.keepOrder?s:s.rangeList).ranges;if(!l.length)return e.exec?e.exec(this,t||{}):e(this,t||{});var c=s._eventRegistry;s._eventRegistry={};var u=new i(a);this.inVirtualSelectionMode=!0;for(var d=l.length;d--;){if(r)for(;d>0&&l[d].start.row==l[d-1].end.row;)d--;u.fromOrientedRange(l[d]),u.index=d,this.selection=a.selection=u;var h=e.exec?e.exec(this,t||{}):e(this,t||{});o||void 0===h||(o=h),u.toOrientedRange(l[d])}u.detach(),this.selection=a.selection=s,this.inVirtualSelectionMode=!1,s._eventRegistry=c,s.mergeOverlappingRanges();var p=this.renderer.$scrollAnimation;return this.onCursorChange(),this.onSelectionChange(),p&&p.from==p.to&&this.renderer.animateScrolling(p.from),o}},this.exitMultiSelectMode=function(){this.inMultiSelectMode&&!this.inVirtualSelectionMode&&this.multiSelect.toSingleRange()},this.getSelectedText=function(){var e="";if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){for(var t=this.multiSelect.rangeList.ranges,n=[],o=0;o<t.length;o++)n.push(this.session.getTextRange(t[o]));var r=this.session.getDocument().getNewLineCharacter();(e=n.join(r)).length==(n.length-1)*r.length&&(e="")}else this.selection.isEmpty()||(e=this.session.getTextRange(this.getSelectionRange()));return e},this.$checkMultiselectChange=function(e,t){if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){var n=this.multiSelect.ranges[0];if(this.multiSelect.isEmpty()&&t==this.multiSelect.anchor)return;var o=t==this.multiSelect.anchor?n.cursor==n.start?n.end:n.start:n.cursor;o.row==t.row&&this.session.$clipPositionToDocument(o.row,o.column).column==t.column||this.multiSelect.toSingleRange(this.multiSelect.toOrientedRange())}},this.findAll=function(e,t,n){if((t=t||{}).needle=e||t.needle,null==t.needle){var o=this.selection.isEmpty()?this.selection.getWordRange():this.selection.getRange();t.needle=this.session.getTextRange(o)}this.$search.set(t);var r=this.$search.findAll(this.session);if(!r.length)return 0;this.$blockScrolling+=1;var i=this.multiSelect;n||i.toSingleRange(r[0]);for(var a=r.length;a--;)i.addRange(r[a],!0);return o&&i.rangeList.rangeAtPoint(o.start)&&i.addRange(o,!0),this.$blockScrolling-=1,r.length},this.selectMoreLines=function(e,t){var n=this.selection.toOrientedRange(),o=n.cursor==n.end,i=this.session.documentToScreenPosition(n.cursor);this.selection.$desiredColumn&&(i.column=this.selection.$desiredColumn);var a,s=this.session.screenToDocumentPosition(i.row+e,i.column);if(n.isEmpty())c=s;else var l=this.session.documentToScreenPosition(o?n.end:n.start),c=this.session.screenToDocumentPosition(l.row+e,l.column);if(o?(a=r.fromPoints(s,c)).cursor=a.start:(a=r.fromPoints(c,s)).cursor=a.end,a.desiredColumn=i.column,this.selection.inMultiSelectMode){if(t)var u=n.cursor}else this.selection.addRange(n);this.selection.addRange(a),u&&this.selection.substractPoint(u)},this.transposeSelections=function(e){for(var t=this.session,n=t.multiSelect,o=n.ranges,r=o.length;r--;)if((s=o[r]).isEmpty()){var i=t.getWordRange(s.start.row,s.start.column);s.start.row=i.start.row,s.start.column=i.start.column,s.end.row=i.end.row,s.end.column=i.end.column}n.mergeOverlappingRanges();var a=[];for(r=o.length;r--;)a.unshift(t.getTextRange(s=o[r]));for(e<0?a.unshift(a.pop()):a.push(a.shift()),r=o.length;r--;){var s;i=(s=o[r]).clone(),t.replace(s,a[r]),s.start.row=i.start.row,s.start.column=i.start.column}},this.selectMore=function(e,t,n){var o=this.session,r=o.multiSelect.toOrientedRange();if(!r.isEmpty()||((r=o.getWordRange(r.start.row,r.start.column)).cursor=-1==e?r.start:r.end,this.multiSelect.addRange(r),!n)){var i=o.getTextRange(r),a=function(e,t,n){return u.$options.wrap=!0,u.$options.needle=t,u.$options.backwards=-1==n,u.find(e)}(o,i,e);a&&(a.cursor=-1==e?a.start:a.end,this.$blockScrolling+=1,this.session.unfold(a),this.multiSelect.addRange(a),this.$blockScrolling-=1,this.renderer.scrollCursorIntoView(null,.5)),t&&this.multiSelect.substractPoint(r.cursor)}},this.alignCursors=function(){var e=this.session,t=e.multiSelect,n=t.ranges,o=-1,i=n.filter(function(e){if(e.cursor.row==o)return!0;o=e.cursor.row});if(n.length&&i.length!=n.length-1){i.forEach(function(e){t.substractPoint(e.cursor)});var a=0,s=1/0,c=n.map(function(t){var n=t.cursor,o=e.getLine(n.row).substr(n.column).search(/\S/g);return-1==o&&(o=0),n.column>a&&(a=n.column),o<s&&(s=o),o});n.forEach(function(t,n){var o=t.cursor,i=a-o.column,u=c[n]-s;i>u?e.insert(o,l.stringRepeat(" ",i-u)):e.remove(new r(o.row,o.column,o.row,o.column-i+u)),t.start.column=t.end.column=a,t.start.row=t.end.row=o.row,t.cursor=t.end}),t.fromOrientedRange(n[0]),this.renderer.updateCursor(),this.renderer.updateBackMarkers()}else{var u=this.selection.getRange(),d=u.start.row,h=u.end.row,p=d==h;if(p){var f,m=this.session.getLength();do{f=this.session.getLine(h)}while(/[=:]/.test(f)&&++h<m);do{f=this.session.getLine(d)}while(/[=:]/.test(f)&&--d>0);d<0&&(d=0),h>=m&&(h=m-1)}var g=this.session.removeFullLines(d,h);g=this.$reAlignText(g,p),this.session.insert({row:d,column:0},g.join("\n")+"\n"),p||(u.start.column=0,u.end.column=g[g.length-1].length),this.selection.setRange(u)}},this.$reAlignText=function(e,t){var n,o,r,i=!0,a=!0;return e.map(function(e){var t=e.match(/(\s*)(.*?)(\s*)([=:].*)/);return t?null==n?(n=t[1].length,o=t[2].length,r=t[3].length,t):(n+o+r!=t[1].length+t[2].length+t[3].length&&(a=!1),n!=t[1].length&&(i=!1),n>t[1].length&&(n=t[1].length),o<t[2].length&&(o=t[2].length),r>t[3].length&&(r=t[3].length),t):[e]}).map(t?c:i?a?function(e){return e[2]?s(n+o-e[2].length)+e[2]+s(r)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]}:c:function(e){return e[2]?s(n)+e[2]+s(r)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]});function s(e){return l.stringRepeat(" ",e)}function c(e){return e[2]?s(n)+e[2]+s(o-e[2].length+r)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]}}}).call(h.prototype),t.onSessionChange=function(e){var t=e.session;t&&!t.multiSelect&&(t.$selectionMarkers=[],t.selection.$initRangeList(),t.multiSelect=t.selection),this.multiSelect=t&&t.multiSelect;var n=e.oldSession;n&&(n.multiSelect.off("addRange",this.$onAddRange),n.multiSelect.off("removeRange",this.$onRemoveRange),n.multiSelect.off("multiSelect",this.$onMultiSelect),n.multiSelect.off("singleSelect",this.$onSingleSelect),n.multiSelect.lead.off("change",this.$checkMultiselectChange),n.multiSelect.anchor.off("change",this.$checkMultiselectChange)),t&&(t.multiSelect.on("addRange",this.$onAddRange),t.multiSelect.on("removeRange",this.$onRemoveRange),t.multiSelect.on("multiSelect",this.$onMultiSelect),t.multiSelect.on("singleSelect",this.$onSingleSelect),t.multiSelect.lead.on("change",this.$checkMultiselectChange),t.multiSelect.anchor.on("change",this.$checkMultiselectChange)),t&&this.inMultiSelectMode!=t.selection.inMultiSelectMode&&(t.selection.inMultiSelectMode?this.$onMultiSelect():this.$onSingleSelect())},t.MultiSelect=p,e("./config").defineOptions(h.prototype,"editor",{enableMultiselect:{set:function(e){p(this),e?(this.on("changeSession",this.$multiselectOnSessionChange),this.on("mousedown",a)):(this.off("changeSession",this.$multiselectOnSessionChange),this.off("mousedown",a))},value:!0},enableBlockSelect:{set:function(e){this.$blockSelectEnabled=e},value:!0}})}),ace.define("ace/mode/folding/fold_mode",["require","exports","module","ace/range"],function(e,t,n){"use strict";var o=e("../../range").Range,r=t.FoldMode=function(){};(function(){this.foldingStartMarker=null,this.foldingStopMarker=null,this.getFoldWidget=function(e,t,n){var o=e.getLine(n);return this.foldingStartMarker.test(o)?"start":"markbeginend"==t&&this.foldingStopMarker&&this.foldingStopMarker.test(o)?"end":""},this.getFoldWidgetRange=function(e,t,n){return null},this.indentationBlock=function(e,t,n){var r=/\S/,i=e.getLine(t),a=i.search(r);if(-1!=a){for(var s=n||i.length,l=e.getLength(),c=t,u=t;++t<l;){var d=e.getLine(t).search(r);if(-1!=d){if(d<=a)break;u=t}}if(u>c){var h=e.getLine(u).length;return new o(c,s,u,h)}}},this.openingBracketBlock=function(e,t,n,r,i){var a={row:n,column:r+1},s=e.$findClosingBracket(t,a,i);if(s){var l=e.foldWidgets[s.row];return null==l&&(l=e.getFoldWidget(s.row)),"start"==l&&s.row>a.row&&(s.row--,s.column=e.getLine(s.row).length),o.fromPoints(a,s)}},this.closingBracketBlock=function(e,t,n,r,i){var a={row:n,column:r},s=e.$findOpeningBracket(t,a);if(s)return s.column++,a.column--,o.fromPoints(s,a)}}).call(r.prototype)}),ace.define("ace/theme/textmate",["require","exports","module","ace/lib/dom"],function(e,t,n){"use strict";t.isDark=!1,t.cssClass="ace-tm",t.cssText='.ace-tm .ace_gutter {background: #f0f0f0;color: #333;}.ace-tm .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-tm .ace_fold {background-color: #6B72E6;}.ace-tm {background-color: #FFFFFF;color: black;}.ace-tm .ace_cursor {color: black;}.ace-tm .ace_invisible {color: rgb(191, 191, 191);}.ace-tm .ace_storage,.ace-tm .ace_keyword {color: blue;}.ace-tm .ace_constant {color: rgb(197, 6, 11);}.ace-tm .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-tm .ace_constant.ace_language {color: rgb(88, 92, 246);}.ace-tm .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-tm .ace_invalid {background-color: rgba(255, 0, 0, 0.1);color: red;}.ace-tm .ace_support.ace_function {color: rgb(60, 76, 114);}.ace-tm .ace_support.ace_constant {color: rgb(6, 150, 14);}.ace-tm .ace_support.ace_type,.ace-tm .ace_support.ace_class {color: rgb(109, 121, 222);}.ace-tm .ace_keyword.ace_operator {color: rgb(104, 118, 135);}.ace-tm .ace_string {color: rgb(3, 106, 7);}.ace-tm .ace_comment {color: rgb(76, 136, 107);}.ace-tm .ace_comment.ace_doc {color: rgb(0, 102, 255);}.ace-tm .ace_comment.ace_doc.ace_tag {color: rgb(128, 159, 191);}.ace-tm .ace_constant.ace_numeric {color: rgb(0, 0, 205);}.ace-tm .ace_variable {color: rgb(49, 132, 149);}.ace-tm .ace_xml-pe {color: rgb(104, 104, 91);}.ace-tm .ace_entity.ace_name.ace_function {color: #0000A2;}.ace-tm .ace_heading {color: rgb(12, 7, 255);}.ace-tm .ace_list {color:rgb(185, 6, 144);}.ace-tm .ace_meta.ace_tag {color:rgb(0, 22, 142);}.ace-tm .ace_string.ace_regex {color: rgb(255, 0, 0)}.ace-tm .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-tm.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px white;}.ace-tm .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-tm .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-tm .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-tm .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.07);}.ace-tm .ace_gutter-active-line {background-color : #dcdcdc;}.ace-tm .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-tm .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}',e("../lib/dom").importCssString(t.cssText,t.cssClass)}),ace.define("ace/line_widgets",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/range"],function(e,t,n){"use strict";e("./lib/oop");var o=e("./lib/dom");function r(e){this.session=e,this.session.widgetManager=this,this.session.getRowLength=this.getRowLength,this.session.$getWidgetScreenLength=this.$getWidgetScreenLength,this.updateOnChange=this.updateOnChange.bind(this),this.renderWidgets=this.renderWidgets.bind(this),this.measureWidgets=this.measureWidgets.bind(this),this.session._changedWidgets=[],this.$onChangeEditor=this.$onChangeEditor.bind(this),this.session.on("change",this.updateOnChange),this.session.on("changeFold",this.updateOnFold),this.session.on("changeEditor",this.$onChangeEditor)}e("./range"),(function(){this.getRowLength=function(e){var t;return t=this.lineWidgets&&this.lineWidgets[e]&&this.lineWidgets[e].rowCount||0,this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+1+t:1+t},this.$getWidgetScreenLength=function(){var e=0;return this.lineWidgets.forEach(function(t){t&&t.rowCount&&!t.hidden&&(e+=t.rowCount)}),e},this.$onChangeEditor=function(e){this.attach(e.editor)},this.attach=function(e){e&&e.widgetManager&&e.widgetManager!=this&&e.widgetManager.detach(),this.editor!=e&&(this.detach(),this.editor=e,e&&(e.widgetManager=this,e.renderer.on("beforeRender",this.measureWidgets),e.renderer.on("afterRender",this.renderWidgets)))},this.detach=function(e){var t=this.editor;if(t){this.editor=null,t.widgetManager=null,t.renderer.off("beforeRender",this.measureWidgets),t.renderer.off("afterRender",this.renderWidgets);var n=this.session.lineWidgets;n&&n.forEach(function(e){e&&e.el&&e.el.parentNode&&(e._inDocument=!1,e.el.parentNode.removeChild(e.el))})}},this.updateOnFold=function(e,t){var n=t.lineWidgets;if(n&&e.action){for(var o=e.data,r=o.start.row,i=o.end.row,a="add"==e.action,s=r+1;s<i;s++)n[s]&&(n[s].hidden=a);n[i]&&(a?n[r]?n[i].hidden=a:n[r]=n[i]:(n[r]==n[i]&&(n[r]=void 0),n[i].hidden=a))}},this.updateOnChange=function(e){var t=this.session.lineWidgets;if(t){var n=e.start.row,o=e.end.row-n;if(0===o);else if("remove"==e.action)t.splice(n+1,o).forEach(function(e){e&&this.removeLineWidget(e)},this),this.$updateRows();else{var r=new Array(o);r.unshift(n,0),t.splice.apply(t,r),this.$updateRows()}}},this.$updateRows=function(){var e=this.session.lineWidgets;if(e){var t=!0;e.forEach(function(e,n){if(e)for(t=!1,e.row=n;e.$oldWidget;)e.$oldWidget.row=n,e=e.$oldWidget}),t&&(this.session.lineWidgets=null)}},this.addLineWidget=function(e){this.session.lineWidgets||(this.session.lineWidgets=new Array(this.session.getLength()));var t=this.session.lineWidgets[e.row];t&&(e.$oldWidget=t,t.el&&t.el.parentNode&&(t.el.parentNode.removeChild(t.el),t._inDocument=!1)),this.session.lineWidgets[e.row]=e,e.session=this.session;var n=this.editor.renderer;e.html&&!e.el&&(e.el=o.createElement("div"),e.el.innerHTML=e.html),e.el&&(o.addCssClass(e.el,"ace_lineWidgetContainer"),e.el.style.position="absolute",e.el.style.zIndex=5,n.container.appendChild(e.el),e._inDocument=!0),e.coverGutter||(e.el.style.zIndex=3),null==e.pixelHeight&&(e.pixelHeight=e.el.offsetHeight),null==e.rowCount&&(e.rowCount=e.pixelHeight/n.layerConfig.lineHeight);var r=this.session.getFoldAt(e.row,0);if(e.$fold=r,r){var i=this.session.lineWidgets;e.row!=r.end.row||i[r.start.row]?e.hidden=!0:i[r.start.row]=e}return this.session._emit("changeFold",{data:{start:{row:e.row}}}),this.$updateRows(),this.renderWidgets(null,n),this.onWidgetChanged(e),e},this.removeLineWidget=function(e){if(e._inDocument=!1,e.session=null,e.el&&e.el.parentNode&&e.el.parentNode.removeChild(e.el),e.editor&&e.editor.destroy)try{e.editor.destroy()}catch(n){}if(this.session.lineWidgets){var t=this.session.lineWidgets[e.row];if(t==e)this.session.lineWidgets[e.row]=e.$oldWidget,e.$oldWidget&&this.onWidgetChanged(e.$oldWidget);else for(;t;){if(t.$oldWidget==e){t.$oldWidget=e.$oldWidget;break}t=t.$oldWidget}}this.session._emit("changeFold",{data:{start:{row:e.row}}}),this.$updateRows()},this.getWidgetsAtRow=function(e){for(var t=this.session.lineWidgets,n=t&&t[e],o=[];n;)o.push(n),n=n.$oldWidget;return o},this.onWidgetChanged=function(e){this.session._changedWidgets.push(e),this.editor&&this.editor.renderer.updateFull()},this.measureWidgets=function(e,t){var n=this.session._changedWidgets,o=t.layerConfig;if(n&&n.length){for(var r=1/0,i=0;i<n.length;i++){var a=n[i];if(a&&a.el&&a.session==this.session){if(!a._inDocument){if(this.session.lineWidgets[a.row]!=a)continue;a._inDocument=!0,t.container.appendChild(a.el)}a.h=a.el.offsetHeight,a.fixedWidth||(a.w=a.el.offsetWidth,a.screenWidth=Math.ceil(a.w/o.characterWidth));var s=a.h/o.lineHeight;a.coverLine&&(s-=this.session.getRowLineCount(a.row))<0&&(s=0),a.rowCount!=s&&(a.rowCount=s,a.row<r&&(r=a.row))}}r!=1/0&&(this.session._emit("changeFold",{data:{start:{row:r}}}),this.session.lineWidgetWidth=null),this.session._changedWidgets=[]}},this.renderWidgets=function(e,t){var n=t.layerConfig,o=this.session.lineWidgets;if(o){for(var r=Math.min(this.firstRow,n.firstRow),i=Math.max(this.lastRow,n.lastRow,o.length);r>0&&!o[r];)r--;this.firstRow=n.firstRow,this.lastRow=n.lastRow,t.$cursorLayer.config=n;for(var a=r;a<=i;a++){var s=o[a];if(s&&s.el)if(s.hidden)s.el.style.top=-100-(s.pixelHeight||0)+"px";else{s._inDocument||(s._inDocument=!0,t.container.appendChild(s.el));var l=t.$cursorLayer.getPixelPosition({row:a,column:0},!0).top;s.coverLine||(l+=n.lineHeight*this.session.getRowLineCount(s.row)),s.el.style.top=l-n.offset+"px";var c=s.coverGutter?0:t.gutterWidth;s.fixedWidth||(c-=t.scrollLeft),s.el.style.left=c+"px",s.fullWidth&&s.screenWidth&&(s.el.style.minWidth=n.width+2*n.padding+"px"),s.el.style.right=s.fixedWidth?t.scrollBar.getWidth()+"px":""}}}}}).call(r.prototype),t.LineWidgets=r}),ace.define("ace/ext/error_marker",["require","exports","module","ace/line_widgets","ace/lib/dom","ace/range"],function(e,t,n){"use strict";var o=e("../line_widgets").LineWidgets,r=e("../lib/dom"),i=e("../range").Range;t.showErrorMarker=function(e,t){var n=e.session;n.widgetManager||(n.widgetManager=new o(n),n.widgetManager.attach(e));var a=e.getCursorPosition(),s=a.row,l=n.widgetManager.getWidgetsAtRow(s).filter(function(e){return"errorMarker"==e.type})[0];l?l.destroy():s-=t;var c,u=function(e,t,n){var o=e.getAnnotations().sort(i.comparePoints);if(o.length){var r=function(e,t,n){for(var o=0,r=e.length-1;o<=r;){var i=o+r>>1,a=n(t,e[i]);if(a>0)o=i+1;else{if(!(a<0))return i;r=i-1}}return-(o+1)}(o,{row:t,column:-1},i.comparePoints);r<0&&(r=-r-1),r>=o.length?r=n>0?0:o.length-1:0===r&&n<0&&(r=o.length-1);var a=o[r];if(a&&n){if(a.row===t){do{a=o[r+=n]}while(a&&a.row===t);if(!a)return o.slice()}var s=[];t=a.row;do{s[n<0?"unshift":"push"](a),a=o[r+=n]}while(a&&a.row==t);return s.length&&s}}}(n,s,t);if(u){var d=u[0];a.column=(d.pos&&"number"!=typeof d.column?d.pos.sc:d.column)||0,a.row=d.row,c=e.renderer.$gutterLayer.$annotations[a.row]}else{if(l)return;c={text:["Looks good!"],className:"ace_ok"}}e.session.unfold(a.row),e.selection.moveToPosition(a);var h={row:a.row,fixedWidth:!0,coverGutter:!0,el:r.createElement("div"),type:"errorMarker"},p=h.el.appendChild(r.createElement("div")),f=h.el.appendChild(r.createElement("div"));f.className="error_widget_arrow "+c.className;var m=e.renderer.$cursorLayer.getPixelPosition(a).left;f.style.left=m+e.renderer.gutterWidth-5+"px",h.el.className="error_widget_wrapper",p.className="error_widget "+c.className,p.innerHTML=c.text.join("<br>"),p.appendChild(r.createElement("div"));var g=function(e,t,n){if(0===t&&("esc"===n||"return"===n))return h.destroy(),{command:"null"}};h.destroy=function(){e.$mouseHandler.isMousePressed||(e.keyBinding.removeKeyboardHandler(g),n.widgetManager.removeLineWidget(h),e.off("changeSelection",h.destroy),e.off("changeSession",h.destroy),e.off("mouseup",h.destroy),e.off("change",h.destroy))},e.keyBinding.addKeyboardHandler(g),e.on("changeSelection",h.destroy),e.on("changeSession",h.destroy),e.on("mouseup",h.destroy),e.on("change",h.destroy),e.session.widgetManager.addLineWidget(h),h.el.onmousedown=e.focus.bind(e),e.renderer.scrollCursorIntoView(null,.5,{bottom:h.el.offsetHeight})},r.importCssString(" .error_widget_wrapper { background: inherit; color: inherit; border:none } .error_widget { border-top: solid 2px; border-bottom: solid 2px; margin: 5px 0; padding: 10px 40px; white-space: pre-wrap; } .error_widget.ace_error, .error_widget_arrow.ace_error{ border-color: #ff5a5a } .error_widget.ace_warning, .error_widget_arrow.ace_warning{ border-color: #F1D817 } .error_widget.ace_info, .error_widget_arrow.ace_info{ border-color: #5a5a5a } .error_widget.ace_ok, .error_widget_arrow.ace_ok{ border-color: #5aaa5a } .error_widget_arrow { position: absolute; border: solid 5px; border-top-color: transparent!important; border-right-color: transparent!important; border-left-color: transparent!important; top: -5px; }","")}),ace.define("ace/ace",["require","exports","module","ace/lib/fixoldbrowsers","ace/lib/dom","ace/lib/event","ace/editor","ace/edit_session","ace/undomanager","ace/virtual_renderer","ace/worker/worker_client","ace/keyboard/hash_handler","ace/placeholder","ace/multi_select","ace/mode/folding/fold_mode","ace/theme/textmate","ace/ext/error_marker","ace/config"],function(e,t,o){"use strict";e("./lib/fixoldbrowsers");var r=e("./lib/dom"),i=e("./lib/event"),a=e("./editor").Editor,s=e("./edit_session").EditSession,l=e("./undomanager").UndoManager,c=e("./virtual_renderer").VirtualRenderer;e("./worker/worker_client"),e("./keyboard/hash_handler"),e("./placeholder"),e("./multi_select"),e("./mode/folding/fold_mode"),e("./theme/textmate"),e("./ext/error_marker"),t.config=e("./config"),t.acequire=e,t.define=n("B9Yq"),t.edit=function(e){if("string"==typeof e){var n=e;if(!(e=document.getElementById(n)))throw new Error("ace.edit can't find div #"+n)}if(e&&e.env&&e.env.editor instanceof a)return e.env.editor;var o="";if(e&&/input|textarea/i.test(e.tagName)){var s=e;o=s.value,e=r.createElement("pre"),s.parentNode.replaceChild(e,s)}else e&&(o=r.getInnerText(e),e.innerHTML="");var l=t.createEditSession(o),u=new a(new c(e));u.setSession(l);var d={document:l,editor:u,onResize:u.resize.bind(u,null)};return s&&(d.textarea=s),i.addListener(window,"resize",d.onResize),u.on("destroy",function(){i.removeListener(window,"resize",d.onResize),d.editor.container.env=null}),u.container.env=u.env=d,u},t.createEditSession=function(e,t){var n=new s(e,t);return n.setUndoManager(new l),n},t.EditSession=s,t.UndoManager=l,t.version="1.2.9"}),ace.acequire(["ace/ace"],function(e){for(var t in e&&(e.config.init(!0),e.define=ace.define),window.ace||(window.ace=e),e)e.hasOwnProperty(t)&&(window.ace[t]=e[t])}),e.exports=window.ace.acequire("ace/ace")},"Bk/p":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"p",function(){return NovoAceEditorModule}),__webpack_require__.d(__webpack_exports__,"eb",function(){return NovoPipesModule}),__webpack_require__.d(__webpack_exports__,"s",function(){return NovoButtonModule}),__webpack_require__.d(__webpack_exports__,"W",function(){return NovoLoadingModule}),__webpack_require__.d(__webpack_exports__,"v",function(){return NovoCardModule}),__webpack_require__.d(__webpack_exports__,"u",function(){return NovoCalendarModule}),__webpack_require__.d(__webpack_exports__,"Rb",function(){return NovoToastModule}),__webpack_require__.d(__webpack_exports__,"Tb",function(){return NovoTooltipModule}),__webpack_require__.d(__webpack_exports__,"Q",function(){return NovoHeaderModule}),__webpack_require__.d(__webpack_exports__,"Hb",function(){return NovoTabModule}),__webpack_require__.d(__webpack_exports__,"Ob",function(){return NovoTilesModule}),__webpack_require__.d(__webpack_exports__,"X",function(){return NovoModalModule}),__webpack_require__.d(__webpack_exports__,"fb",function(){return NovoQuickNoteModule}),__webpack_require__.d(__webpack_exports__,"gb",function(){return NovoRadioModule}),__webpack_require__.d(__webpack_exports__,"J",function(){return NovoDropdownModule}),__webpack_require__.d(__webpack_exports__,"ib",function(){return NovoSelectModule}),__webpack_require__.d(__webpack_exports__,"V",function(){return NovoListModule}),__webpack_require__.d(__webpack_exports__,"Gb",function(){return NovoSwitchModule}),__webpack_require__.d(__webpack_exports__,"hb",function(){return NovoSearchBoxModule}),__webpack_require__.d(__webpack_exports__,"G",function(){return NovoDragulaModule}),__webpack_require__.d(__webpack_exports__,"Bb",function(){return NovoSliderModule}),__webpack_require__.d(__webpack_exports__,"db",function(){return NovoPickerModule}),__webpack_require__.d(__webpack_exports__,"y",function(){return NovoChipsModule}),__webpack_require__.d(__webpack_exports__,"E",function(){return NovoDatePickerModule}),__webpack_require__.d(__webpack_exports__,"D",function(){return NovoDatePickerElement}),__webpack_require__.d(__webpack_exports__,"Pb",function(){return NovoTimePickerModule}),__webpack_require__.d(__webpack_exports__,"F",function(){return NovoDateTimePickerModule}),__webpack_require__.d(__webpack_exports__,"cb",function(){return NovoNovoCKEditorModule}),__webpack_require__.d(__webpack_exports__,"Qb",function(){return NovoTipWellModule}),__webpack_require__.d(__webpack_exports__,"Lb",function(){return NovoTableModule}),__webpack_require__.d(__webpack_exports__,"Ub",function(){return NovoValueModule}),__webpack_require__.d(__webpack_exports__,"S",function(){return NovoIconModule}),__webpack_require__.d(__webpack_exports__,"N",function(){return NovoExpansionModule}),__webpack_require__.d(__webpack_exports__,"Fb",function(){return NovoStepperModule}),__webpack_require__.d(__webpack_exports__,"Vb",function(){return NovoVerticalStepper}),__webpack_require__.d(__webpack_exports__,"R",function(){return NovoHorizontalStepper}),__webpack_require__.d(__webpack_exports__,"Db",function(){return NovoStep}),__webpack_require__.d(__webpack_exports__,"Eb",function(){return NovoStepper}),__webpack_require__.d(__webpack_exports__,"Kb",function(){return NovoTableExtrasModule}),__webpack_require__.d(__webpack_exports__,"P",function(){return NovoFormModule}),__webpack_require__.d(__webpack_exports__,"K",function(){return NovoDynamicFormElement}),__webpack_require__.d(__webpack_exports__,"O",function(){return NovoFormExtrasModule}),__webpack_require__.d(__webpack_exports__,"w",function(){return NovoCategoryDropdownModule}),__webpack_require__.d(__webpack_exports__,"bb",function(){return NovoMultiPickerModule}),__webpack_require__.d(__webpack_exports__,"fc",function(){return UnlessModule}),__webpack_require__.d(__webpack_exports__,"C",function(){return NovoDataTableModule}),__webpack_require__.d(__webpack_exports__,"B",function(){return NovoDataTable}),__webpack_require__.d(__webpack_exports__,"z",function(){return NovoCommonModule}),__webpack_require__.d(__webpack_exports__,"Jb",function(){return NovoTableElement}),__webpack_require__.d(__webpack_exports__,"t",function(){return NovoCalendarDateChangeElement}),__webpack_require__.d(__webpack_exports__,"Mb",function(){return NovoTemplate}),__webpack_require__.d(__webpack_exports__,"Sb",function(){return NovoToastService}),__webpack_require__.d(__webpack_exports__,"ab",function(){return NovoModalService}),__webpack_require__.d(__webpack_exports__,"T",function(){return NovoLabelService}),__webpack_require__.d(__webpack_exports__,"H",function(){return NovoDragulaService}),__webpack_require__.d(__webpack_exports__,"m",function(){return GooglePlacesService}),__webpack_require__.d(__webpack_exports__,"Y",function(){return NovoModalParams}),__webpack_require__.d(__webpack_exports__,"Z",function(){return NovoModalRef}),__webpack_require__.d(__webpack_exports__,"ac",function(){return QuickNoteResults}),__webpack_require__.d(__webpack_exports__,"Zb",function(){return PickerResults}),__webpack_require__.d(__webpack_exports__,"h",function(){return EntityPickerResult}),__webpack_require__.d(__webpack_exports__,"i",function(){return EntityPickerResults}),__webpack_require__.d(__webpack_exports__,"g",function(){return DistributionListPickerResults}),__webpack_require__.d(__webpack_exports__,"dc",function(){return SkillsSpecialtyPickerResults}),__webpack_require__.d(__webpack_exports__,"c",function(){return ChecklistPickerResults}),__webpack_require__.d(__webpack_exports__,"o",function(){return GroupedMultiPickerResults}),__webpack_require__.d(__webpack_exports__,"e",function(){return DateCell}),__webpack_require__.d(__webpack_exports__,"Xb",function(){return PercentageCell}),__webpack_require__.d(__webpack_exports__,"I",function(){return NovoDropdownCell}),__webpack_require__.d(__webpack_exports__,"l",function(){return FormUtils}),__webpack_require__.d(__webpack_exports__,"Wb",function(){return OptionsService}),__webpack_require__.d(__webpack_exports__,"Nb",function(){return NovoTemplateService}),__webpack_require__.d(__webpack_exports__,"a",function(){return CheckListControl}),__webpack_require__.d(__webpack_exports__,"b",function(){return CheckboxControl}),__webpack_require__.d(__webpack_exports__,"k",function(){return FileControl}),__webpack_require__.d(__webpack_exports__,"Yb",function(){return PickerControl}),__webpack_require__.d(__webpack_exports__,"cc",function(){return SelectControl}),__webpack_require__.d(__webpack_exports__,"ec",function(){return TextBoxControl}),__webpack_require__.d(__webpack_exports__,"A",function(){return NovoControlGroup}),__webpack_require__.d(__webpack_exports__,"j",function(){return FieldInteractionApi}),__webpack_require__.d(__webpack_exports__,"x",function(){return NovoCheckListElement}),__webpack_require__.d(__webpack_exports__,"d",function(){return ComponentUtils}),__webpack_require__.d(__webpack_exports__,"L",function(){return NovoElementProviders}),__webpack_require__.d(__webpack_exports__,"f",function(){return DecodeURIPipe}),__webpack_require__.d(__webpack_exports__,"n",function(){return GroupByPipe}),__webpack_require__.d(__webpack_exports__,"bc",function(){return RenderPipe}),__webpack_require__.d(__webpack_exports__,"M",function(){return NovoElementsModule}),__webpack_require__.d(__webpack_exports__,"U",function(){return NovoListElement}),__webpack_require__.d(__webpack_exports__,"Ib",function(){return NovoTable}),__webpack_require__.d(__webpack_exports__,"q",function(){return NovoActivityTable}),__webpack_require__.d(__webpack_exports__,"lb",function(){return NovoSimpleCell}),__webpack_require__.d(__webpack_exports__,"ob",function(){return NovoSimpleCheckboxCell}),__webpack_require__.d(__webpack_exports__,"pb",function(){return NovoSimpleCheckboxHeaderCell}),__webpack_require__.d(__webpack_exports__,"tb",function(){return NovoSimpleHeaderCell}),__webpack_require__.d(__webpack_exports__,"mb",function(){return NovoSimpleCellDef}),__webpack_require__.d(__webpack_exports__,"ub",function(){return NovoSimpleHeaderCellDef}),__webpack_require__.d(__webpack_exports__,"qb",function(){return NovoSimpleColumnDef}),__webpack_require__.d(__webpack_exports__,"kb",function(){return NovoSimpleActionCell}),__webpack_require__.d(__webpack_exports__,"rb",function(){return NovoSimpleEmptyHeaderCell}),__webpack_require__.d(__webpack_exports__,"vb",function(){return NovoSimpleHeaderRow}),__webpack_require__.d(__webpack_exports__,"xb",function(){return NovoSimpleRow}),__webpack_require__.d(__webpack_exports__,"wb",function(){return NovoSimpleHeaderRowDef}),__webpack_require__.d(__webpack_exports__,"yb",function(){return NovoSimpleRowDef}),__webpack_require__.d(__webpack_exports__,"nb",function(){return NovoSimpleCellHeader}),__webpack_require__.d(__webpack_exports__,"sb",function(){return NovoSimpleFilterFocus}),__webpack_require__.d(__webpack_exports__,"Cb",function(){return NovoSortFilter}),__webpack_require__.d(__webpack_exports__,"jb",function(){return NovoSelection}),__webpack_require__.d(__webpack_exports__,"Ab",function(){return NovoSimpleTablePagination}),__webpack_require__.d(__webpack_exports__,"r",function(){return NovoActivityTableState}),__webpack_require__.d(__webpack_exports__,"zb",function(){return NovoSimpleTableModule}),__webpack_require__.d(__webpack_exports__,"Ce",function(){return NovoAceEditor}),__webpack_require__.d(__webpack_exports__,"De",function(){return NovoButtonElement}),__webpack_require__.d(__webpack_exports__,"Ke",function(){return NovoEventTypeLegendElement}),__webpack_require__.d(__webpack_exports__,"rc",function(){return NovoCalendarAllDayEventElement}),__webpack_require__.d(__webpack_exports__,"pc",function(){return NovoCalendarDayEventElement}),__webpack_require__.d(__webpack_exports__,"oc",function(){return NovoCalendarDayViewElement}),__webpack_require__.d(__webpack_exports__,"qc",function(){return NovoCalendarHourSegmentElement}),__webpack_require__.d(__webpack_exports__,"kc",function(){return NovoCalendarMonthDayElement}),__webpack_require__.d(__webpack_exports__,"jc",function(){return NovoCalendarMonthHeaderElement}),__webpack_require__.d(__webpack_exports__,"ic",function(){return NovoCalendarMonthViewElement}),__webpack_require__.d(__webpack_exports__,"tc",function(){return DayOfMonthPipe}),__webpack_require__.d(__webpack_exports__,"yc",function(){return EndOfWeekDisplayPipe}),__webpack_require__.d(__webpack_exports__,"xc",function(){return HoursPipe}),__webpack_require__.d(__webpack_exports__,"uc",function(){return MonthPipe}),__webpack_require__.d(__webpack_exports__,"vc",function(){return MonthDayPipe}),__webpack_require__.d(__webpack_exports__,"sc",function(){return WeekdayPipe}),__webpack_require__.d(__webpack_exports__,"wc",function(){return YearPipe}),__webpack_require__.d(__webpack_exports__,"nc",function(){return NovoCalendarWeekEventElement}),__webpack_require__.d(__webpack_exports__,"mc",function(){return NovoCalendarWeekHeaderElement}),__webpack_require__.d(__webpack_exports__,"lc",function(){return NovoCalendarWeekViewElement}),__webpack_require__.d(__webpack_exports__,"Ie",function(){return CardActionsElement}),__webpack_require__.d(__webpack_exports__,"Je",function(){return CardElement}),__webpack_require__.d(__webpack_exports__,"Pd",function(){return NovoCategoryDropdownElement}),__webpack_require__.d(__webpack_exports__,"cd",function(){return NovoChipElement}),__webpack_require__.d(__webpack_exports__,"dd",function(){return NovoChipsElement}),__webpack_require__.d(__webpack_exports__,"ed",function(){return NovoRowChipElement}),__webpack_require__.d(__webpack_exports__,"fd",function(){return NovoRowChipsElement}),__webpack_require__.d(__webpack_exports__,"nd",function(){return NovoCKEditorElement}),__webpack_require__.d(__webpack_exports__,"ie",function(){return NovoDataTableCheckboxHeaderCell}),__webpack_require__.d(__webpack_exports__,"ke",function(){return NovoDataTableExpandHeaderCell}),__webpack_require__.d(__webpack_exports__,"Yd",function(){return NovoDataTableCellHeader}),__webpack_require__.d(__webpack_exports__,"be",function(){return NovoDataTableHeaderCell}),__webpack_require__.d(__webpack_exports__,"ce",function(){return NovoDataTableCell}),__webpack_require__.d(__webpack_exports__,"he",function(){return NovoDataTableCheckboxCell}),__webpack_require__.d(__webpack_exports__,"je",function(){return NovoDataTableExpandCell}),__webpack_require__.d(__webpack_exports__,"me",function(){return NovoDataTableClearButton}),__webpack_require__.d(__webpack_exports__,"le",function(){return NovoDataTableExpandDirective}),__webpack_require__.d(__webpack_exports__,"Wd",function(){return DataTableBigDecimalRendererPipe}),__webpack_require__.d(__webpack_exports__,"Rd",function(){return DataTableInterpolatePipe}),__webpack_require__.d(__webpack_exports__,"Xd",function(){return DateTableCurrencyRendererPipe}),__webpack_require__.d(__webpack_exports__,"Sd",function(){return DateTableDateRendererPipe}),__webpack_require__.d(__webpack_exports__,"Td",function(){return DateTableDateTimeRendererPipe}),__webpack_require__.d(__webpack_exports__,"Vd",function(){return DateTableNumberRendererPipe}),__webpack_require__.d(__webpack_exports__,"Ud",function(){return DateTableTimeRendererPipe}),__webpack_require__.d(__webpack_exports__,"ge",function(){return NovoDataTablePagination}),__webpack_require__.d(__webpack_exports__,"ee",function(){return NovoDataTableHeaderRow}),__webpack_require__.d(__webpack_exports__,"fe",function(){return NovoDataTableRow}),__webpack_require__.d(__webpack_exports__,"ae",function(){return NovoDataTableSortFilter}),__webpack_require__.d(__webpack_exports__,"Zd",function(){return DataTableState}),__webpack_require__.d(__webpack_exports__,"gd",function(){return NovoDatePickerInputElement}),__webpack_require__.d(__webpack_exports__,"ld",function(){return NovoDateTimePickerElement}),__webpack_require__.d(__webpack_exports__,"md",function(){return NovoDateTimePickerInputElement}),__webpack_require__.d(__webpack_exports__,"ad",function(){return NovoDragulaElement}),__webpack_require__.d(__webpack_exports__,"Sc",function(){return NovoDropdownElement}),__webpack_require__.d(__webpack_exports__,"Tc",function(){return NovoItemElement}),__webpack_require__.d(__webpack_exports__,"Vc",function(){return NovoItemHeaderElement$1}),__webpack_require__.d(__webpack_exports__,"Uc",function(){return NovoListElement$1}),__webpack_require__.d(__webpack_exports__,"Jd",function(){return NovoAccordion}),__webpack_require__.d(__webpack_exports__,"Ld",function(){return NovoExpansionPanel}),__webpack_require__.d(__webpack_exports__,"Md",function(){return NovoExpansionPanelHeader}),__webpack_require__.d(__webpack_exports__,"rd",function(){return NovoAutoSize}),__webpack_require__.d(__webpack_exports__,"sd",function(){return NovoControlElement}),__webpack_require__.d(__webpack_exports__,"wd",function(){return NovoControlTemplates}),__webpack_require__.d(__webpack_exports__,"hc",function(){return NovoFieldsetElement}),__webpack_require__.d(__webpack_exports__,"gc",function(){return NovoFieldsetHeaderElement}),__webpack_require__.d(__webpack_exports__,"ud",function(){return ControlConfirmModal}),__webpack_require__.d(__webpack_exports__,"vd",function(){return ControlPromptModal}),__webpack_require__.d(__webpack_exports__,"td",function(){return NovoFormElement}),__webpack_require__.d(__webpack_exports__,"Be",function(){return NovoAddressElement}),__webpack_require__.d(__webpack_exports__,"pd",function(){return NovoCheckboxElement}),__webpack_require__.d(__webpack_exports__,"qd",function(){return NovoFileInputElement}),__webpack_require__.d(__webpack_exports__,"Dc",function(){return NovoHeaderComponent}),__webpack_require__.d(__webpack_exports__,"Ac",function(){return NovoHeaderSpacer}),__webpack_require__.d(__webpack_exports__,"Cc",function(){return NovoUtilActionComponent}),__webpack_require__.d(__webpack_exports__,"Bc",function(){return NovoUtilsComponent}),__webpack_require__.d(__webpack_exports__,"Id",function(){return NovoIconComponent}),__webpack_require__.d(__webpack_exports__,"ue",function(){return NovoItemAvatarElement}),__webpack_require__.d(__webpack_exports__,"ye",function(){return NovoItemContentElement}),__webpack_require__.d(__webpack_exports__,"xe",function(){return NovoItemDateElement}),__webpack_require__.d(__webpack_exports__,"ze",function(){return NovoItemEndElement}),__webpack_require__.d(__webpack_exports__,"we",function(){return NovoItemHeaderElement}),__webpack_require__.d(__webpack_exports__,"ve",function(){return NovoItemTitleElement}),__webpack_require__.d(__webpack_exports__,"de",function(){return NovoListItemElement}),__webpack_require__.d(__webpack_exports__,"Ee",function(){return NovoLoadingElement}),__webpack_require__.d(__webpack_exports__,"Fe",function(){return NovoSpinnerElement}),__webpack_require__.d(__webpack_exports__,"Ic",function(){return NovoModalContainerElement}),__webpack_require__.d(__webpack_exports__,"jd",function(){return NovoModalElement}),__webpack_require__.d(__webpack_exports__,"Kd",function(){return NovoModalNotificationElement}),__webpack_require__.d(__webpack_exports__,"Qd",function(){return NovoMultiPickerElement}),__webpack_require__.d(__webpack_exports__,"Rc",function(){return NovoOverlayTemplateComponent}),__webpack_require__.d(__webpack_exports__,"Qc",function(){return NovoOverlayModule}),__webpack_require__.d(__webpack_exports__,"Yc",function(){return NovoPickerElement}),__webpack_require__.d(__webpack_exports__,"te",function(){return PlacesListComponent}),__webpack_require__.d(__webpack_exports__,"se",function(){return GooglePlacesModule}),__webpack_require__.d(__webpack_exports__,"qe",function(){return NovoPopOverModule}),__webpack_require__.d(__webpack_exports__,"re",function(){return PopOverContent}),__webpack_require__.d(__webpack_exports__,"Nc",function(){return QuickNoteElement}),__webpack_require__.d(__webpack_exports__,"Pc",function(){return NovoRadioElement}),__webpack_require__.d(__webpack_exports__,"Oc",function(){return NovoRadioGroup}),__webpack_require__.d(__webpack_exports__,"Zc",function(){return NovoSearchBoxElement}),__webpack_require__.d(__webpack_exports__,"Wc",function(){return NovoSelectElement}),__webpack_require__.d(__webpack_exports__,"bd",function(){return NovoSliderElement}),__webpack_require__.d(__webpack_exports__,"Nd",function(){return NovoStepHeader}),__webpack_require__.d(__webpack_exports__,"Od",function(){return NovoStepStatus}),__webpack_require__.d(__webpack_exports__,"Xc",function(){return NovoSwitchElement}),__webpack_require__.d(__webpack_exports__,"Ad",function(){return NovoTableKeepFilterFocus}),__webpack_require__.d(__webpack_exports__,"Bd",function(){return Pagination}),__webpack_require__.d(__webpack_exports__,"Cd",function(){return RowDetails}),__webpack_require__.d(__webpack_exports__,"zd",function(){return NovoTableActionsElement}),__webpack_require__.d(__webpack_exports__,"Dd",function(){return TableCell}),__webpack_require__.d(__webpack_exports__,"Ed",function(){return TableFilter}),__webpack_require__.d(__webpack_exports__,"yd",function(){return NovoTableFooterElement}),__webpack_require__.d(__webpack_exports__,"xd",function(){return NovoTableHeaderElement}),__webpack_require__.d(__webpack_exports__,"Fd",function(){return ThOrderable}),__webpack_require__.d(__webpack_exports__,"Gd",function(){return ThSortable}),__webpack_require__.d(__webpack_exports__,"Kc",function(){return NovoNavContentElement}),__webpack_require__.d(__webpack_exports__,"Ec",function(){return NovoNavElement}),__webpack_require__.d(__webpack_exports__,"Lc",function(){return NovoNavHeaderElement}),__webpack_require__.d(__webpack_exports__,"Jc",function(){return NovoNavOutletElement}),__webpack_require__.d(__webpack_exports__,"Gc",function(){return NovoTabButtonElement}),__webpack_require__.d(__webpack_exports__,"Fc",function(){return NovoTabElement}),__webpack_require__.d(__webpack_exports__,"Hc",function(){return NovoTabLinkElement}),__webpack_require__.d(__webpack_exports__,"Mc",function(){return NovoTilesElement}),__webpack_require__.d(__webpack_exports__,"id",function(){return NovoTimePickerElement}),__webpack_require__.d(__webpack_exports__,"kd",function(){return NovoTimePickerInputElement}),__webpack_require__.d(__webpack_exports__,"od",function(){return NovoTipWellElement}),__webpack_require__.d(__webpack_exports__,"zc",function(){return NovoToastElement}),__webpack_require__.d(__webpack_exports__,"He",function(){return NovoTooltip}),__webpack_require__.d(__webpack_exports__,"Ge",function(){return TooltipDirective}),__webpack_require__.d(__webpack_exports__,"Hd",function(){return EntityList}),__webpack_require__.d(__webpack_exports__,"Ae",function(){return NovoValueElement}),__webpack_require__.d(__webpack_exports__,"hd",function(){return DateFormatService}),__webpack_require__.d(__webpack_exports__,"oe",function(){return BrowserGlobalRef}),__webpack_require__.d(__webpack_exports__,"ne",function(){return GlobalRef}),__webpack_require__.d(__webpack_exports__,"pe",function(){return LocalStorageService});var brace_index__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("Bhyg"),brace_index__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(brace_index__WEBPACK_IMPORTED_MODULE_0__),brace_theme_chrome__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("lbgY"),brace_theme_chrome__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(brace_theme_chrome__WEBPACK_IMPORTED_MODULE_1__),brace_mode_javascript__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("uzal"),brace_mode_javascript__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(brace_mode_javascript__WEBPACK_IMPORTED_MODULE_2__),brace_ext_language_tools_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("IJmI"),brace_ext_language_tools_js__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(brace_ext_language_tools_js__WEBPACK_IMPORTED_MODULE_3__),_angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("eDkP"),_bullhorn_dragula__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("SeLc"),_bullhorn_dragula__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(_bullhorn_dragula__WEBPACK_IMPORTED_MODULE_5__),text_mask_addons_dist_createAutoCorrectedDatePipe__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("//w5"),text_mask_addons_dist_createAutoCorrectedDatePipe__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(text_mask_addons_dist_createAutoCorrectedDatePipe__WEBPACK_IMPORTED_MODULE_6__),angular2_text_mask__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("UVXo"),angular2_text_mask__WEBPACK_IMPORTED_MODULE_7___default=__webpack_require__.n(angular2_text_mask__WEBPACK_IMPORTED_MODULE_7__),_angular_cdk_accordion__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("YhbO"),_angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("YSh2"),_angular_cdk_portal__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__("4c35"),_angular_cdk_stepper__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__("Lwpp"),_angular_animations__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__("ihYY"),rxjs__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__("0/uQ"),rxjs__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__("p0ib"),rxjs__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__("F/XL"),rxjs__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__("bne5"),rxjs__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__("S5bw"),rxjs__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__("K9Ia"),rxjs__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__("pugT"),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__("VnD/"),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__("P6uZ"),rxjs_operators__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__("15JJ"),rxjs_operators__WEBPACK_IMPORTED_MODULE_23__=__webpack_require__("Gi3i"),rxjs_operators__WEBPACK_IMPORTED_MODULE_24__=__webpack_require__("ad02"),rxjs_operators__WEBPACK_IMPORTED_MODULE_25__=__webpack_require__("67Y/"),rxjs_operators__WEBPACK_IMPORTED_MODULE_26__=__webpack_require__("p0Sj"),rxjs_operators__WEBPACK_IMPORTED_MODULE_27__=__webpack_require__("t9fZ"),rxjs_operators__WEBPACK_IMPORTED_MODULE_28__=__webpack_require__("ny24"),rxjs_operators__WEBPACK_IMPORTED_MODULE_29__=__webpack_require__("9Z1F"),_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_30__=__webpack_require__("n6gG"),_angular_cdk_table__WEBPACK_IMPORTED_MODULE_31__=__webpack_require__("YlbQ"),_angular_cdk_table__WEBPACK_IMPORTED_MODULE_32__=__webpack_require__("y4qS"),date_fns__WEBPACK_IMPORTED_MODULE_33__=__webpack_require__("NAv5"),date_fns__WEBPACK_IMPORTED_MODULE_33___default=__webpack_require__.n(date_fns__WEBPACK_IMPORTED_MODULE_33__),_angular_forms__WEBPACK_IMPORTED_MODULE_34__=__webpack_require__("gIcY"),tslib__WEBPACK_IMPORTED_MODULE_35__=__webpack_require__("mrSG"),_angular_core__WEBPACK_IMPORTED_MODULE_36__=__webpack_require__("CcnG"),_angular_common__WEBPACK_IMPORTED_MODULE_37__=__webpack_require__("Ip0R"),Helpers=function(){function Helpers(){}return Helpers.swallowEvent=function(e){e&&(e.stopPropagation(),e.preventDefault())},Helpers.interpolate=function(e,t){return e.replace(/\$([\w\.]+)/g,function(e,n){for(var o=n.split("."),r=t[o.shift()];o.length&&void 0!==r;){var i=o.shift();r=i?r[i]:r+"."}return void 0!==r?r:""})},Helpers.interpolateWithFallback=function(e,t){if(Array.isArray(e)){var n=[];return e.forEach(function(e){var o=!0,r=e.replace(/\$([\w\.]+)/g,function(e,n){for(var r=n.split("."),i=t[r.shift()];r.length&&void 0!==i;){var a=r.shift();i=a?i[a]:i+"."}return o&&Helpers.isEmpty(i)&&(o=!1),Helpers.isEmpty(i)?"":i});o&&n.push(r)}),0!==n.length?n[0]:""}return Helpers.interpolate(e,t)},Helpers.validateInterpolationProps=function(e,t){return e.match(/\$([\w\.]+)/g).every(function(e){return t.hasOwnProperty(e.substr(1))})},Helpers.isObject=function(e){return e&&"object"==typeof e&&!Array.isArray(e)&&null!==e},Helpers.isString=function(e){return"string"==typeof e},Helpers.escapeString=function(e){return Helpers.isString(e)?e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"):e},Helpers.isNumber=function(e,t){return void 0===t&&(t=!1),"string"==typeof e?e.length>0&&"."!==e&&(t?/^-{0,1}\d*\.?\d*$/:/^\d*\.?\d*$/).test(e):!isNaN(parseFloat(e))},Helpers.isBlank=function(e){return null==e},Helpers.isEmpty=function(e){return Helpers.isBlank(e)||""===e||Array.isArray(e)&&0===e.length},Helpers.isFunction=function(e){return!!(e&&e.constructor&&e.call&&e.apply)},Helpers.isDate=function(e){return e instanceof Date},Helpers.convertToArray=function(e){return void 0===e?[]:Array.isArray(e)?e:[e]},Helpers.sortByField=function(e,t){return void 0===t&&(t=!1),function(n,o){if(Helpers.isFunction(e))return e(t?"desc":"asc",n,o);Array.isArray(e)||(e=[e]);for(var r=0;r<e.length;r++){var i=e[r],a=n[i]||"",s=o[i]||"";if(Helpers.isDate(a)&&Helpers.isDate(s)?(a=a.getTime(),s=s.getTime()):Helpers.isString(a)&&Helpers.isString(s)?(a=a.toLowerCase(),s=s.toLowerCase()):(a=isNaN(Number(a))?a:Number(a),s=isNaN(Number(s))?s:Number(s)),a>s)return t?-1:1;if(a<s)return t?1:-1}return 0}},Helpers.filterByField=function(e,t){return function(n){var o=[],r=can(n).have(e);if(t instanceof Function)o.push(t(r,n));else if(Array.isArray(t))o.push(t.includes(r));else if(t instanceof Object)for(var i in r instanceof Date&&(r=r.getTime()),t.min&&o.push(r>=t.min),t.max&&o.push(r<=t.max),t.any&&Array.isArray(t.any)&&(Array.isArray(r)?o.push(t.any.some(function(e){return r.includes(e)})):o.push(t.any.includes(r))),t.all&&Array.isArray(t.all)&&o.push(t.all.every(function(e){return r.includes(e)})),t.not&&o.push(!Helpers.filterByField(e,t.not)(n)),t)["min","max","any","all","not"].indexOf(i)<0&&o.push(Helpers.filterByField(e+"."+i,t[i])(n));else o.push(JSON.stringify(r).match(new RegExp(t,"gi")));return o.every(function(e){return e})}},Helpers.findAncestor=function(e,t){for(;(e=e.parentElement)&&!e.matches.call(e,t););return e},Helpers.deepClone=function(item){if(Array.isArray(item)){for(var newArr=[],i=item.length;i-- >0;)newArr[i]=Helpers.deepClone(item[i]);return newArr}if("function"==typeof item&&!/\(\) \{ \[native/.test(item.toString())){var obj=void 0;for(var k in eval("obj = "+item.toString()),item)k in item&&(obj[k]=Helpers.deepClone(item[k]));return obj}if(item&&"object"==typeof item){var obj={};for(var k in item)k in item&&(obj[k]=Helpers.deepClone(item[k]));return obj}return item},Helpers.deepAssign=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(e.length<2)throw new Error("Need two or more objects to merge");for(var n=Object.assign({},e[0]),o=function(t){var o=Object.assign({},e[t]);Object.keys(o).forEach(function(e){var t=o[e];if(Helpers.isObject(t))n[e]=n.hasOwnProperty(e)&&Helpers.isObject(n[e])?Helpers.deepAssign(n[e],t):t;else if(Array.isArray(t))if(n.hasOwnProperty(e)&&Array.isArray(n[e])){var r=n[e];t.forEach(function(e,t){if(t<r.length){var n=r[t];if(Object.is(n,e))return;r[t]=Helpers.isObject(n)&&Helpers.isObject(e)?Helpers.deepAssign(n,e):Array.isArray(n)&&Array.isArray(e)?Helpers.deepAssign(n,e):e}else r.push(e)})}else n[e]=t;else n[e]=t})},r=1;r<e.length;r++)o(r);return n},Helpers.getNextElementSibling=function(e){if(e.nextElementSibling)return e.nextElementSibling;for(var t=e.nextSibling;t&&1!==t.nodeType;)t=t.nextSibling;return t},Helpers}(),Can=function(){function e(e){this.obj=e}return e.prototype.have=function(e){for(var t=e.split("."),n=this.obj,o=0;o<t.length;o++)if(!1===this.check(n=n[t[o]]))return n;return n},e.prototype.check=function(e){return void 0!==e},e}();function can(e){return new Can(e)}var ACE_VALUE_ACCESSOR={provide:_angular_forms__WEBPACK_IMPORTED_MODULE_34__.NG_VALUE_ACCESSOR,useExisting:Object(_angular_core__WEBPACK_IMPORTED_MODULE_36__.forwardRef)(function(){return NovoAceEditor}),multi:!0},NovoAceEditor=function(){function e(e){this.elementRef=e,this.blur=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.focus=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this._options={showPrintMargin:!1,displayIndentGuides:!0},this._theme="chrome",this._mode="javascript",this.text="",this.onChange=function(e){},this.onTouched=function(){}}return Object.defineProperty(e.prototype,"theme",{set:function(e){this.setTheme(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"options",{set:function(e){this.setOptions(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{set:function(e){this.setMode(e)},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this.editor&&this.editor.destroy()},e.prototype.ngOnInit=function(){this.initializeEditor(),this.initializeOptions(),this.initializeEvents()},e.prototype.initializeEditor=function(){this.editor=ace.edit(this.elementRef.nativeElement),this.editor.$blockScrolling=1/0},e.prototype.initializeOptions=function(){this.setOptions(this._options||{}),this.setTheme(this._theme),this.setMode(this._mode)},e.prototype.initializeEvents=function(){var e=this;this.editor.on("focus",function(t){return e.focus.emit(t)}),this.editor.on("blur",function(t){return e.focus.emit(t)}),this.editor.on("change",function(){return e.updateText()}),this.editor.on("paste",function(){return e.updateText()})},e.prototype.updateText=function(){var e=this.editor.getValue();e!==this.oldText&&(this.text=e,this.onChange(e),this.oldText=e)},e.prototype.setText=function(e){Helpers.isBlank(e)&&(e=""),this.text!==e&&(this.text=e,this.editor.setValue(e),this.onChange(e),this.editor.clearSelection())},e.prototype.setOptions=function(e){this._options=e,this.editor.setOptions(e||{})},e.prototype.setTheme=function(e){this._theme=e,this.editor.setTheme("ace/theme/"+e)},e.prototype.setMode=function(e){this._mode=e,this.editor.getSession().setMode("ace/mode/"+this._mode)},e.prototype.writeValue=function(e){this.setText(e)},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e}(),NovoAceEditorModule=function(){return function(){}}(),pluralRules=[],singularRules=[],uncountables={},irregularPlurals={},irregularSingles={};function toTitleCase(e){return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()}function sanitizeRule(e){return"string"==typeof e?new RegExp("^"+e+"$","i"):e}function restoreCase(e,t){return e===e.toUpperCase()?t.toUpperCase():e[0]===e[0].toUpperCase()?toTitleCase(t):t.toLowerCase()}function interpolate(e,t){return e.replace(/\$(\d{1,2})/g,function(e,n){return t[n]||""})}function sanitizeWord(e,t,n){if(!e.length||uncountables.hasOwnProperty(e))return t;for(var o=n.length,r=function(){var e=n[o];if(e[0].test(t))return{value:t.replace(e[0],function(t,n,o){var r=interpolate(e[1],[t,n,o]);return restoreCase(""===t?o[n-1]:t,r)})}};o--;){var i=r();if("object"==typeof i)return i.value}return t}function replaceWord(e,t,n){return function(o){var r=o.toLowerCase();return t.hasOwnProperty(r)?restoreCase(o,r):e.hasOwnProperty(r)?restoreCase(o,e[r]):sanitizeWord(r,o,n)}}var Pluralize=function(){function e(){}return e.pluralize=function(t,n,o){return void 0===n&&(n=1),(o?n+" ":"")+(1===n?e.singular(t):e.plural(t))},e.singular=function(e){return replaceWord(irregularSingles,irregularPlurals,pluralRules)(e)},e.plural=function(e){return replaceWord(irregularPlurals,irregularSingles,singularRules)(e)},e.addPluralRule=function(e,t){pluralRules.push([sanitizeRule(e),t])},e.addSingularRule=function(e,t){singularRules.push([sanitizeRule(e),t])},e.addUncountableRule=function(t){"string"!=typeof t?(e.addPluralRule(t,"$0"),e.addSingularRule(t,"$0")):uncountables[t.toLowerCase()]=!0},e.addIrregularRule=function(e,t){var n=t.toLowerCase(),o=e.toLowerCase();irregularSingles[n]=o,irregularPlurals[o]=n},e}(),PluralPipe=function(){function e(){}return e.prototype.transform=function(e){return Pluralize.pluralize(e)},e}(),DecodeURIPipe=function(){function e(){}return e.prototype.transform=function(e){var t="";return Helpers.isBlank(e)||"string"!=typeof e||(t=decodeURIComponent(e)),t},e}(),GroupByPipe=function(){function e(){}return e.prototype.transform=function(e,t){var n,o;if(!Array.isArray(e))return e;var r={};try{for(var i=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.h)(e),a=i.next();!a.done;a=i.next()){var s=a.value,l=can(s).have(t);Helpers.isBlank(r[l])&&(r[l]=[]),r[l].push(s)}}catch(c){n={error:c}}finally{try{a&&!a.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}return Object.keys(r).map(function(e){return{key:e,value:r[e]}})},e}(),NovoPipesModule=function(){return function(){}}(),NovoButtonElement=function(){function e(){this.side="right"}return Object.defineProperty(e.prototype,"icon",{get:function(){return this._icon},set:function(e){e&&(this._icon="bhi-"+e)},enumerable:!0,configurable:!0}),e}(),NovoButtonModule=function(){return function(){}}(),NovoLoadingElement=function(){return function(){}}(),NovoSpinnerElement=function(){return function(){}}(),NovoSkeletonDirective=function(){return function(){this.skeleton=!0}}(),NovoLoadedDirective=function(){return function(){}}(),NovoIsLoadingDirective=function(){function e(e){this.viewContainer=e,this.hasView=!1,this.skeletonViews=[],this.loadedViews=[]}return Object.defineProperty(e.prototype,"isLoading",{set:function(e){e||this.hasView?e&&this.hasView&&(this.destroyViews(this.skeletonViews),this.loadedViews=this.createViews(this.loadedTemplates),this.hasView=!1):(this.destroyViews(this.loadedViews),this.skeletonViews=this.createViews(this.skeletonTemplates),this.hasView=!0)},enumerable:!0,configurable:!0}),e.prototype.createViews=function(e){var t=this;return e&&e.map(function(e){return t.viewContainer.createEmbeddedView(e)})},e.prototype.destroyViews=function(e){var t,n;if(e)try{for(var o=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.h)(e),r=o.next();!r.done;r=o.next())r.value.destroy()}catch(i){t={error:i}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}},e}(),NovoLoadingModule=function(){return function(){}}(),NovoTooltip=function(){return function(){}}(),TooltipDirective=function(){function e(e,t,n){this.overlay=e,this.viewContainerRef=t,this.elementRef=n,this.position="top",this.type="normal",this.active=!0,this.removeArrow=!1,this.autoPosition=!1}return e.prototype.isPosition=function(e){return e.toLowerCase()===(this.position||"").toLowerCase()},e.prototype.isType=function(e){return e.toLowerCase()===(this.type||"").toLowerCase()},e.prototype.isSize=function(e){return e.toLowerCase()===(this.size||"").toLowerCase()},e.prototype.onMouseEnter=function(){this.tooltip&&this.active&&!this.always&&this.show()},e.prototype.onMouseLeave=function(){this.overlayRef&&!this.always&&(this.hide(),this.overlayRef.dispose())},e.prototype.ngOnInit=function(){this.tooltip&&this.always&&this.active&&this.show()},e.prototype.ngOnDestroy=function(){this.overlayRef&&!this.always&&(this.hide(),this.overlayRef.dispose())},e.prototype.show=function(){var e=new _angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_4__.b;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 _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_10__.b(NovoTooltip,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},e.prototype.hide=function(){this.overlayRef&&this.overlayRef.detach()},e.prototype.getPosition=function(){var e,t,n,o,r;switch(this.position){case"right":t={originX:"end",originY:"center"},n={overlayX:"start",overlayY:"center"},o=8,r=0;break;case"bottom":t={originX:"center",originY:"bottom"},n={overlayX:"center",overlayY:"top"},o=0,r=8;break;case"top":t={originX:"center",originY:"top"},n={overlayX:"center",overlayY:"bottom"},o=0,r=-8;break;case"left":t={originX:"start",originY:"center"},n={overlayX:"end",overlayY:"center"},o=-8,r=0;break;case"top-left":t={originX:"start",originY:"top"},n={overlayX:"end",overlayY:"bottom"},o=8,r=-8;break;case"bottom-left":t={originX:"start",originY:"bottom"},n={overlayX:"end",overlayY:"top"},o=8,r=8;break;case"top-right":t={originX:"end",originY:"top"},n={overlayX:"start",overlayY:"bottom"},o=-8,r=-8;break;case"bottom-right":t={originX:"end",originY:"bottom"},n={overlayX:"start",overlayY:"top"},o=-8,r=8}return e=this.overlay.position().connectedTo(this.elementRef,t,n).withOffsetX(o).withOffsetY(r),this.autoPosition?this.withFallbackStrategy(e):e},e.prototype.withFallbackStrategy=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}(),NovoTooltipModule=function(){return function(){}}(),NovoLabelService=function(){function e(e){void 0===e&&(e="en-US"),this.userLocale=e,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.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.more="more",this.clearAll="CLEAR ALL",this.clearAllNormalCase="Clear All",this.clearSort="Clear Sort",this.clearFilter="Clear Filter",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 right 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 e.prototype.maxlengthMetWithField=function(e,t){return"Sorry, you have reached the maximum character count of "+t+" for "+e+"."},e.prototype.maxlengthMet=function(e){return"Sorry, you have reached the maximum character count of "+e+" for this field."},e.prototype.invalidMaxlengthWithField=function(e,t){return"Sorry, you have exceeded the maximum character count of "+t+" for "+e+"."},e.prototype.invalidMaxlength=function(e){return"Sorry, you have exceeded the maximum character count of "+e+" for this field."},e.prototype.getToManyPlusMore=function(e){return"+"+e.quantity+" more"},e.prototype.selectedRecords=function(e){return e+" records are selected."},e.prototype.showingXofXResults=function(e,t){return"Showing "+e+" of "+t+" Results."},e.prototype.totalRecords=function(e,t){return void 0===t&&(t=!1),t?"Select all "+e+" records.":"De-select remaining "+e+" records."},e.prototype.dateFormatString=function(){return this.dateFormat},e.prototype.formatDateWithFormat=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)},e.prototype.formatTimeWithFormat=function(e,t){var n=e instanceof Date?e:new Date(e);if(n.getTime()!=n.getTime())return e;var o=Intl.DateTimeFormat(this.userLocale,t).formatToParts(n).reduce(function(e,t){return e[t.type]=t.value,e},{});return o.hour+":"+o.minute+(o.dayperiod?o.dayperiod:"")},e.prototype.getWeekdays=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},[])},e.prototype.getMonths=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},[])},e.prototype.getProperty=function(e){return this[e]},e.prototype.getRangeText=function(e,t,n,o){if(0===n||0===t)return"Displaying 0 of "+n;var r=e*t,i=r<(n=Math.max(n,0))?Math.min(r+t,n):r+t;return o?r+1+" - "+i+"/"+n:"Displaying "+(r+1)+" - "+i+" of "+n},e.prototype.formatCurrency=function(e){return new Intl.NumberFormat(this.userLocale,{style:"currency",currency:"USD"}).format(e)},e.prototype.formatBigDecimal=function(e){var t=e?e.toString():"0",n=t.indexOf(".");n>-1&&n+3<t.length&&(t=t.substring(0,t.indexOf(".")+3));var o=Number(t),r=new Intl.NumberFormat(this.userLocale,{style:"decimal",minimumFractionDigits:2,maximumFractionDigits:2}).format(o);return e<0&&(r="("+r.slice(1)+")"),r},e.prototype.formatNumber=function(e,t){return new Intl.NumberFormat(this.userLocale,t).format(e)},e.prototype.formatDateShort=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)},e.prototype.formatTime=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)},e.prototype.formatDate=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}(),CardActionsElement=function(){return function(){}}(),CardElement=function(){function e(e){this.padding=!0,this.config={},this.onClose=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.onRefresh=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.labels=e}return e.prototype.ngOnInit=function(){this.config=this.config||{}},e.prototype.ngOnChanges=function(e){this.config=this.config||{},this.cardAutomationId=(this.title||this.config.title||"no-title").toLowerCase().replace(/\s/g,"-")+"-card";var t=this.icon||this.config.icon,n=this.messageIcon||this.config.messageIcon;this.iconClass=t?"bhi-"+t:null,this.messageIconClass=n?"bhi-"+n:null},e.prototype.toggleClose=function(){this.config.onClose?this.config.onClose():this.onClose.next()},e.prototype.toggleRefresh=function(){this.config.onRefresh?this.config.onRefresh():this.onRefresh.next()},e}(),NovoCardModule=function(){return function(){}}(),NovoEventTypeLegendElement=function(){return function(){this.eventTypeClicked=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter}}(),NovoCalendarDateChangeElement=function(){function e(e){this.viewDateChange=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.locale=e}return e.prototype.subtractDate=function(){this.changeDate(-1)},e.prototype.addDate=function(){this.changeDate(1)},e.prototype.changeDate=function(e){this.viewDateChange.emit((0,{day:date_fns__WEBPACK_IMPORTED_MODULE_33__.addDays,week:date_fns__WEBPACK_IMPORTED_MODULE_33__.addWeeks,month:date_fns__WEBPACK_IMPORTED_MODULE_33__.addMonths}[this.view])(this.viewDate,e))},Object.defineProperty(e.prototype,"startOfWeek",{get:function(){return Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.startOfWeek)(this.viewDate)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endOfWeek",{get:function(){return Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.endOfWeek)(this.viewDate)},enumerable:!0,configurable:!0}),e}(),WEEKEND_DAY_NUMBERS=[0,6],DAYS_IN_WEEK=7,HOURS_IN_DAY=24,MINUTES_IN_HOUR=60,CalendarEventResponse=function(){var e={Maybe:0,Accepted:1,Rejected:2};return e[e.Maybe]="Maybe",e[e.Accepted]="Accepted",e[e.Rejected]="Rejected",e}();function getExcludedDays(e){var t=e.days,n=e.excluded;if(n.length<1)return 0;for(var o=e.startDate.getDay(),r=0,i=0;i<t;i++)o===DAYS_IN_WEEK&&(o=0),n.some(function(e){return e===o})&&r++,o++;return r}function getWeekViewEventOffset(e){var t=e.event,n=e.startOfWeek,o=e.excluded,r=void 0===o?[]:o;if(t.start<n)return 0;var i=Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.differenceInDays)(t.start,n);return i-getExcludedDays({startDate:n,days:i,excluded:r})}function isEventIsPeriod(e){var t=e.event,n=e.periodStart,o=e.periodEnd,r=t.start,i=t.end||t.start;return r>n&&r<o||i>n&&i<o||r<n&&i>o||!(!Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.isSameSecond)(r,n)&&!Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.isSameSecond)(r,o))||!(!Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.isSameSecond)(i,n)&&!Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.isSameSecond)(i,o))}function getEventsInPeriod(e){var t=e.periodStart,n=e.periodEnd;return e.events.filter(function(e){return isEventIsPeriod({event:e,periodStart:t,periodEnd:n})})}function getEventsInTimeRange(e,t,n){return e.filter(function(e){var o=e.start,r=e.end||o,i=Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.setMinutes)(Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.setHours)(Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.startOfDay)(o),t.hour),t.minute),a=Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.setMinutes)(Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.setHours)(Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.startOfMinute)(o),n.hour),n.minute);return Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.isAfter)(r,i)&&Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.isBefore)(o,a)})}function getWeekDay(e){var t=e.date,n=Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.startOfDay)(new Date);return{date:t,isPast:t<n,isToday:Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.isSameDay)(t,n),isFuture:t>n,isWeekend:WEEKEND_DAY_NUMBERS.indexOf(Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.getDay)(t))>-1}}function getWeekViewHeader(e){for(var t=e.viewDate,n=e.weekStartsOn,o=e.excluded,r=void 0===o?[]:o,i=Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.startOfWeek)(t,{weekStartsOn:n}),a=[],s=function(e){var t=Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.addDays)(i,e);r.some(function(e){return t.getDay()===e})||a.push(getWeekDay({date:t}))},l=0;l<DAYS_IN_WEEK;l++)s(l);return a}function getWeekView(e){var t=e.events,n=void 0===t?[]:t,o=e.viewDate,r=e.weekStartsOn,i=e.excluded,a=void 0===i?[]:i,s=e.hourSegments,l=e.segmentHeight,c=e.dayStart,u=e.dayEnd;n||(n=[]);var d=Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.startOfWeek)(o,{weekStartsOn:r}),h=Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.endOfWeek)(o,{weekStartsOn:r}),p=DAYS_IN_WEEK-a.length,f=getEventsInTimeRange(getEventsInPeriod({events:n,periodStart:d,periodEnd:h}),c,u).map(function(e){return{event:e,offset:getWeekViewEventOffset({event:e,startOfWeek:d,excluded:a}),span:1}}).filter(function(e){return e.offset<p}).filter(function(e){return e.span>0}).map(function(e){return{event:e.event,offset:e.offset,span:e.span,startsBeforeWeek:e.event.start<d,endsAfterWeek:(e.event.end||e.event.start)>h,top:0}}).sort(function(e,t){var n=Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.differenceInSeconds)(e.event.start,t.event.start);return 0===n?Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.differenceInSeconds)(t.event.end||t.event.start,e.event.end||e.event.start):n}).map(function(e){var t=Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.setMinutes)(Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.setHours)(Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.startOfDay)(e.event.start),c.hour),c.minute),n=Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.setMinutes)(Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.setHours)(Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.startOfMinute)(Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.endOfDay)(e.event.start)),u.hour),u.minute),o=e.event.start,r=e.event.end||o,i=s*l/MINUTES_IN_HOUR;o>t&&(e.top+=Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.differenceInMinutes)(o,t)),e.top*=i;var a=o<t?t:o,d=r>n?n:r,h=Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.differenceInMinutes)(d,a);return e.event.end?h*=i:h=l,e.height=h,e}),m=[],g=[];return f.forEach(function(e,t){if(-1===g.indexOf(e)){g.push(e);var n=f.slice(t+1).filter(function(t){return t.top===e.top&&t.offset===e.offset});if(n.length>0){e.span=1/(n.length+1);var o=e.span+e.offset;n.forEach(function(t){t.offset=o,t.span=e.span,o=t.span+t.offset}),g.push.apply(g,Object(tslib__WEBPACK_IMPORTED_MODULE_35__.g)(n))}m.push({row:Object(tslib__WEBPACK_IMPORTED_MODULE_35__.g)([e],n)})}}),m}function getMonthView(e){var t=e.events,n=void 0===t?[]:t,o=e.viewDate,r=e.weekStartsOn,i=e.excluded,a=void 0===i?[]:i;n||(n=[]);for(var s=Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.startOfWeek)(Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.startOfMonth)(o),{weekStartsOn:r}),l=Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.endOfWeek)(Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.endOfMonth)(o),{weekStartsOn:r}),c=getEventsInPeriod({events:n,periodStart:s,periodEnd:l}),u=[],d=function(e){var t=Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.addDays)(s,e);if(!a.some(function(e){return t.getDay()===e})){var n=getWeekDay({date:t}),r=getEventsInPeriod({events:c,periodStart:Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.startOfDay)(t),periodEnd:Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.endOfDay)(t)});n.inMonth=Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.isSameMonth)(t,o),n.events=r,n.badgeTotal=r.length,u.push(n)}},h=0;h<Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.differenceInDays)(l,s)+1;h++)d(h);var p=DAYS_IN_WEEK-a.length,f=Math.floor(u.length/p),m=[];for(h=0;h<f;h++)m.push(h*p);return{rowOffsets:m,totalDaysVisibleInWeek:p,days:u}}function getDayView(e){var t=e.events,n=void 0===t?[]:t,o=e.viewDate,r=e.hourSegments,i=e.dayStart,a=e.dayEnd,s=e.eventWidth,l=e.segmentHeight;n||(n=[]);var c=Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.setMinutes)(Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.setHours)(Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.startOfDay)(o),i.hour),i.minute),u=Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.setMinutes)(Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.setHours)(Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.startOfMinute)(Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.endOfDay)(o)),a.hour),a.minute),d=[],h=getEventsInTimeRange(getEventsInPeriod({events:n.filter(function(e){return!e.allDay}),periodStart:c,periodEnd:u}),i,a).sort(function(e,t){return e.start.valueOf()-t.start.valueOf()}).map(function(e){var t=e.start,n=e.end||t,o=t<c,i=n>u,a=r*l/MINUTES_IN_HOUR,h=0;t>c&&(h+=Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.differenceInMinutes)(t,c)),h*=a;var p=o?c:t,f=i?u:n,m=Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.differenceInMinutes)(f,p);e.end?m*=a:m=l;for(var g=h+m,v=d.filter(function(e){var t=e.top+e.height;return h<t&&t<g||e.top<=h&&g<=t}),_=0;v.some(function(e){return e.left===_});)_+=s;var y={event:e,height:m,width:s,top:h,left:_,startsBeforeDay:o,endsAfterDay:i};return m>0&&d.push(y),y}).filter(function(e){return e.height>0}),p=Math.max.apply(Math,Object(tslib__WEBPACK_IMPORTED_MODULE_35__.g)(h.map(function(e){return e.left+e.width})));return{events:h,width:p,allDayEvents:getEventsInPeriod({events:n.filter(function(e){return e.allDay}),periodStart:Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.startOfDay)(c),periodEnd:Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.endOfDay)(u)})}}function getDayViewHourGrid(e){for(var t=e.viewDate,n=e.hourSegments,o=e.dayStart,r=e.dayEnd,i=[],a=Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.setMinutes)(Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.setHours)(Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.startOfDay)(t),o.hour),o.minute),s=Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.setMinutes)(Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.setHours)(Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.startOfMinute)(Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.endOfDay)(t)),r.hour),r.minute),l=MINUTES_IN_HOUR/n,c=Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.startOfDay)(t),u=0;u<HOURS_IN_DAY;u++){for(var d=[],h=0;h<n;h++){var p=Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.addMinutes)(Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.addHours)(c,u),h*l);p>=a&&p<s&&d.push({date:p,isStart:0===h})}d.length>0&&i.push({segments:d})}return i}var NovoCalendarMonthViewElement=function(){function e(e,t){this.cdr=e,this.events=[],this.excludeDays=[],this.locale="en-US",this.tooltipPosition="top",this.dayClicked=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.eventClicked=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.eventTimesChanged=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.viewDateChange=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.locale=t}return e.prototype.ngOnInit=function(){var e=this;this.refresh&&(this.refreshSubscription=this.refresh.subscribe(function(){e.refreshAll(),e.cdr.markForCheck()}))},e.prototype.ngOnChanges=function(e){(e.viewDate||e.excludeDays)&&this.refreshHeader(),(e.viewDate||e.events||e.excludeDays)&&this.refreshBody()},e.prototype.ngOnDestroy=function(){this.refreshSubscription&&this.refreshSubscription.unsubscribe()},e.prototype.eventDropped=function(e,t){var n,o=Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.getYear)(e.date),r=Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.getMonth)(e.date),i=Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.getDate)(e.date),a=Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.setYear)(Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.setMonth)(Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.setDate)(t.start,i),r),o);if(t.end){var s=Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.differenceInSeconds)(a,t.start);n=Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.addSeconds)(t.end,s)}this.eventTimesChanged.emit({event:t,newStart:a,newEnd:n})},e.prototype.refreshHeader=function(){this.columnHeaders=getWeekViewHeader({viewDate:this.viewDate,weekStartsOn:this.weekStartsOn,excluded:this.excludeDays})},e.prototype.refreshBody=function(){var e=this;this.view=getMonthView({events:this.events,viewDate:this.viewDate,weekStartsOn:this.weekStartsOn,excluded:this.excludeDays}),this.dayModifier&&this.view.days.forEach(function(t){return e.dayModifier(t)})},e.prototype.refreshAll=function(){this.refreshHeader(),this.refreshBody(),this.viewDateChange.emit(this.viewDate)},e}(),NovoCalendarMonthHeaderElement=function(){function e(){this.viewDateChange=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter}return e.prototype.prevMonth=function(e){this.viewDateChange.emit(Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.subMonths)(this.viewDate,1))},e.prototype.nextMonth=function(e){this.viewDateChange.emit(Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.addMonths)(this.viewDate,1))},e}(),NovoCalendarMonthDayElement=function(){function e(){this.eventClicked=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter}return Object.defineProperty(e.prototype,"accepted",{get:function(){return this.day?this.day.events.filter(function(e){return e.response===CalendarEventResponse.Accepted}):[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rejected",{get:function(){return this.day?this.day.events.filter(function(e){return e.response===CalendarEventResponse.Rejected}):[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maybes",{get:function(){return this.day?this.day.events.filter(function(e){return e.response===CalendarEventResponse.Maybe}):[]},enumerable:!0,configurable:!0}),e}(),SEGMENT_HEIGHT=30,NovoCalendarWeekViewElement=function(){function e(e,t){this.cdr=e,this.events=[],this.excludeDays=[],this.tooltipPosition="bottom",this.precision="days",this.hourSegments=2,this.dayStartHour=0,this.dayStartMinute=0,this.dayEndHour=23,this.dayEndMinute=59,this.hourSegmentClicked=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.dayClicked=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.eventClicked=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.eventTimesChanged=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.hours=[],this.eventRows=[],this.locale=t}return e.prototype.ngOnInit=function(){var e=this;this.refresh&&(this.refreshSubscription=this.refresh.subscribe(function(){e.refreshAll(),e.cdr.detectChanges()}))},e.prototype.ngOnChanges=function(e){(e.viewDate||e.excludeDays)&&this.refreshHeader(),(e.events||e.viewDate||e.excludeDays)&&this.refreshBody(),(e.viewDate||e.dayStartHour||e.dayStartMinute||e.dayEndHour||e.dayEndMinute)&&this.refreshHourGrid()},e.prototype.ngOnDestroy=function(){this.refreshSubscription&&this.refreshSubscription.unsubscribe()},e.prototype.getDayColumnWidth=function(e){return Math.floor(e.offsetWidth/this.days.length)},e.prototype.refreshHeader=function(){this.days=getWeekViewHeader({viewDate:this.viewDate,weekStartsOn:this.weekStartsOn,excluded:this.excludeDays})},e.prototype.refreshBody=function(){this.eventRows=getWeekView({events:this.events,viewDate:this.viewDate,weekStartsOn:this.weekStartsOn,excluded:this.excludeDays,hourSegments:this.hourSegments,segmentHeight:SEGMENT_HEIGHT,dayStart:{hour:this.dayStartHour,minute:this.dayStartMinute},dayEnd:{hour:this.dayEndHour,minute:this.dayEndMinute}})},e.prototype.refreshHourGrid=function(){this.hours=getDayViewHourGrid({viewDate:this.viewDate,hourSegments:this.hourSegments,dayStart:{hour:this.dayStartHour,minute:this.dayStartMinute},dayEnd:{hour:this.dayEndHour,minute:this.dayEndMinute}})},e.prototype.refreshAll=function(){this.refreshHeader(),this.refreshHourGrid(),this.refreshBody()},e}(),NovoCalendarWeekHeaderElement=function(){return function(){this.dayClicked=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.eventDropped=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter}}(),NovoCalendarWeekEventElement=function(){return function(){this.eventClicked=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter}}(),SEGMENT_HEIGHT$1=30,NovoCalendarDayViewElement=function(){function e(e,t){this.cdr=e,this.events=[],this.hourSegments=2,this.dayStartHour=0,this.dayStartMinute=0,this.dayEndHour=23,this.dayEndMinute=59,this.eventWidth=150,this.eventSnapSize=30,this.tooltipPosition="top",this.eventClicked=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.hourSegmentClicked=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.eventTimesChanged=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.hours=[],this.width=0,this.locale=t}return e.prototype.ngOnInit=function(){var e=this;this.refresh&&(this.refreshSubscription=this.refresh.subscribe(function(){e.refreshAll(),e.cdr.detectChanges()}))},e.prototype.ngOnDestroy=function(){this.refreshSubscription&&this.refreshSubscription.unsubscribe()},e.prototype.ngOnChanges=function(e){(e.viewDate||e.dayStartHour||e.dayStartMinute||e.dayEndHour||e.dayEndMinute)&&this.refreshHourGrid(),(e.viewDate||e.events||e.dayStartHour||e.dayStartMinute||e.dayEndHour||e.dayEndMinute||e.eventWidth)&&this.refreshView()},e.prototype.refreshHourGrid=function(){var e=this;this.hours=getDayViewHourGrid({viewDate:this.viewDate,hourSegments:this.hourSegments,dayStart:{hour:this.dayStartHour,minute:this.dayStartMinute},dayEnd:{hour:this.dayEndHour,minute:this.dayEndMinute}}),this.hourSegmentModifier&&this.hours.forEach(function(t){t.segments.forEach(function(t){return e.hourSegmentModifier(t)})})},e.prototype.refreshView=function(){this.view=getDayView({events:this.events,viewDate:this.viewDate,hourSegments:this.hourSegments,dayStart:{hour:this.dayStartHour,minute:this.dayStartMinute},dayEnd:{hour:this.dayEndHour,minute:this.dayEndMinute},eventWidth:this.eventWidth,segmentHeight:SEGMENT_HEIGHT$1})},e.prototype.refreshAll=function(){this.refreshHourGrid(),this.refreshView()},e}(),NovoCalendarDayEventElement=function(){return function(){this.eventClicked=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter}}(),NovoCalendarHourSegmentElement=function(){return function(){}}(),NovoCalendarAllDayEventElement=function(){return function(){this.eventClicked=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter}}(),WeekdayPipe=function(){function e(e){void 0===e&&(e="en-US"),this.locale=e}return e.prototype.transform=function(e,t,n){return void 0===t&&(t=this.locale),void 0===n&&(n="short"),new Intl.DateTimeFormat(t,{weekday:n}).format(e)},e}(),MonthPipe=function(){function e(e){void 0===e&&(e="en-US"),this.locale=e}return e.prototype.transform=function(e,t,n){return void 0===t&&(t=this.locale),void 0===n&&(n="long"),new Intl.DateTimeFormat(t,{month:n}).format(e)},e}(),MonthDayPipe=function(){function e(e){void 0===e&&(e="en-US"),this.locale=e}return e.prototype.transform=function(e,t,n){return void 0===t&&(t=this.locale),void 0===n&&(n="short"),new Intl.DateTimeFormat(t,{month:n,day:"numeric"}).format(e)},e}(),YearPipe=function(){function e(e){void 0===e&&(e="en-US"),this.locale=e}return e.prototype.transform=function(e,t,n){return void 0===t&&(t=this.locale),void 0===n&&(n="numeric"),new Intl.DateTimeFormat(t,{year:n}).format(e)},e}(),HoursPipe=function(){function e(e){void 0===e&&(e="en-US"),this.locale=e}return e.prototype.transform=function(e,t,n){return void 0===t&&(t=this.locale),void 0===n&&(n="numeric"),new Intl.DateTimeFormat(t,{hour:n}).format(e)},e}(),DayOfMonthPipe=function(){function e(e){void 0===e&&(e="en-US"),this.locale=e}return e.prototype.transform=function(e,t,n){return void 0===t&&(t=this.locale),void 0===n&&(n="numeric"),new Intl.DateTimeFormat(t,{day:n}).format(e)},e}(),EndOfWeekDisplayPipe=function(){function e(e){void 0===e&&(e="en-US"),this.locale=e}return e.prototype.transform=function(e,t,n,o){return void 0===n&&(n=this.locale),void 0===o&&(o="short"),e.getMonth()===t.getMonth()?new Intl.DateTimeFormat(n,{day:"numeric"}).format(e):new Intl.DateTimeFormat(n,{month:o,day:"numeric"}).format(e)},e}(),NovoCalendarModule=function(){return function(){}}(),NovoToastElement=function(){function e(e){this.sanitizer=e,this.theme="danger",this.icon="caution",this.hasDialogue=!1,this.isCloseable=!1,this.closed=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.show=!1,this.animate=!1,this.parent=null,this.launched=!1}return Object.defineProperty(e.prototype,"message",{set:function(e){this._message=this.sanitizer.bypassSecurityTrustHtml(e)},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=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"))},e.prototype.ngOnChanges=function(e){this.iconClass="bhi-"+this.icon,this.alertTheme=this.theme+" toast-container embedded",this.hasDialogue&&(this.alertTheme+=" dialogue")},e.prototype.clickHandler=function(e){this.isCloseable||(e&&(e.stopPropagation(),e.preventDefault()),this.parent?this.parent.hide(this):this.closed.emit({closed:!0}))},e.prototype.close=function(e){e&&(e.stopPropagation(),e.preventDefault()),this.parent?this.parent.hide(this):this.closed.emit({closed:!0})},e}(),NovoToastModule=function(){return function(){}}(),NovoHeaderSpacer=function(){return function(){}}(),NovoUtilsComponent=function(){return function(){}}(),NovoUtilActionComponent=function(){return function(){}}(),NovoHeaderComponent=function(){function e(){this.headerClass="novo-header",this.condensed=!1,this.inverse="inverse"}return Object.defineProperty(e.prototype,"theme",{get:function(){return this._theme},set:function(e){this._theme=e,this.inverse="white"===e||"off-white"===e||"light"===e?void 0:"inverse"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"icon",{get:function(){return this._icon},set:function(e){this._icon="bhi-"+e},enumerable:!0,configurable:!0}),e}(),NovoHeaderModule=function(){return function(){}}(),NovoNavElement=function(){function e(){this.theme="",this.direction="",this.condensed=!1,this.items=[]}return e.prototype.select=function(e){this.items.forEach(function(e){e.active=!1}),e.active=!0,this.outlet&&this.outlet.show(this.items.indexOf(e));var t=document.querySelector("novo-tab-link.active span.indicator");t&&(t.style.opacity=.99,setTimeout(function(){t.style.opacity=1},10))},e.prototype.add=function(e){0===this.items.length&&(e.active=!0),this.items.push(e)},e}(),NovoTabElement=function(){function e(e){this.active=!1,this.disabled=!1,this.activeChange=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.nav=e,this.nav.add(this)}return e.prototype.select=function(){this.disabled||(this.activeChange.emit(!0),this.nav.select(this))},e}(),NovoTabButtonElement=function(){function e(e){this.active=!1,this.disabled=!1,this.nav=e,this.nav.add(this)}return e.prototype.select=function(){this.disabled||this.nav.select(this)},e}(),NovoTabLinkElement=function(){function e(e){this.active=!1,this.disabled=!1,this.nav=e,this.nav.add(this)}return e.prototype.select=function(){this.disabled||this.nav.select(this)},e}(),NovoNavOutletElement=function(){function e(){this.items=[]}return e.prototype.show=function(e){var t=this.items[e];this.items.forEach(function(e){e.active=!1}),t.active=!0},e.prototype.add=function(e){0===this.items.length&&(e.active=!0),this.items.push(e)},e}(),NovoNavContentElement=function(){return function(e){this.active=!1,e.add(this)}}(),NovoNavHeaderElement=function(){function e(e){this.active=!1,this.active=this.active||!1,this.outlet=e}return e.prototype.show=function(e){try{var t=this.outlet.items.indexOf(this.forElement);t>-1&&this.outlet.show(t)}catch(n){}},e}(),NovoTabModule=function(){return function(){}}(),TILES_VALUE_ACCESSOR={provide:_angular_forms__WEBPACK_IMPORTED_MODULE_34__.NG_VALUE_ACCESSOR,useExisting:Object(_angular_core__WEBPACK_IMPORTED_MODULE_36__.forwardRef)(function(){return NovoTilesElement}),multi:!0},NovoTilesElement=function(){function e(e,t){this.element=e,this.ref=t,this.name=(new Date).getTime().toString(),this.disabled=!1,this.onChange=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.onSelectedOptionClick=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.onDisabledOptionClick=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this._options=[],this.activeTile=null,this.state="inactive",this.focused=!1,this.onModelChange=function(){},this.onModelTouched=function(){}}return e.prototype.setFocus=function(e){this.focused=e},e.prototype.ngAfterContentInit=function(){this.name=this.name||"",this.setupOptions()},e.prototype.ngOnChanges=function(e){e.options&&e.options.currentValue&&!e.options.firstChange&&(this.name=this.name||"",this._options=[],this.setupOptions())},e.prototype.setupOptions=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,t.checked&&e.setTile(t),t}),this.ref.markForCheck()},e.prototype.select=function(e,t){var n,o;if(e&&(e.stopPropagation(),e.preventDefault()),t.disabled)this.onDisabledOptionClick.emit(t);else{if(t.checked)return void this.onSelectedOptionClick.emit(t);try{for(var r=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.h)(this._options),i=r.next();!i.done;i=r.next())i.value.checked=!1}catch(a){n={error:a}}finally{try{i&&!i.done&&(o=r.return)&&o.call(r)}finally{if(n)throw n.error}}t.checked=!t.checked,this.onChange.emit(t.value),this.onModelChange(t.value),this.setTile(t),this.model=t.value}this.ref.markForCheck()},e.prototype.setTile=function(e){e&&(this.activeTile=e.value,this.moveTile())},e.prototype.moveTile=function(){var e=this;setTimeout(function(){var t=e.element.nativeElement.querySelector(".active-indicator"),n=e.element.nativeElement.querySelector(".tile.active");if(t&&n){var o=n.offsetLeft-n.offsetTop;t.style.width="calc("+n.clientWidth+"px + 0.32em)",t.style.left=o+"px",e.state="active",e.ref.markForCheck()}})},e.prototype.writeValue=function(e){this.model=e,Helpers.isBlank(e)||this.setupOptions()},e.prototype.registerOnChange=function(e){this.onModelChange=e},e.prototype.registerOnTouched=function(e){this.onModelTouched=e},e.prototype.setDisabledState=function(e){this.disabled=e},e}(),NovoTilesModule=function(){return function(){}}();function Deferred(){var e={},t=new Promise(function(t,n){e.resolve=t,e.reject=n});return t.resolve=e.resolve,t.reject=e.reject,t}var ComponentUtils=function(){function e(e){this.componentFactoryResolver=e}return e.prototype.appendNextToLocation=function(e,t,n){var o=this.componentFactoryResolver.resolveComponentFactory(e),r=t.parentInjector,i=r;return n&&n.length>0&&(i=_angular_core__WEBPACK_IMPORTED_MODULE_36__.ReflectiveInjector.fromResolvedProviders(n,r)),t.createComponent(o,t.length,i)},e.prototype.appendTopOfLocation=function(e,t,n){var o=this.componentFactoryResolver.resolveComponentFactory(e),r=t.parentInjector,i=r;return n&&n.length>0&&(i=_angular_core__WEBPACK_IMPORTED_MODULE_36__.ReflectiveInjector.fromResolvedProviders(n,r)),t.createComponent(o,0,i)},e.prototype.append=function(e,t,n,o){var r=this.componentFactoryResolver.resolveComponentFactory(e);return t.createComponent(r,o?0:t.length,_angular_core__WEBPACK_IMPORTED_MODULE_36__.Injector.create({providers:n,parent:t.injector}))},e}(),NovoModalParams=function(){return function(){}}(),NovoModalRef=function(){function e(){this.component=null,this.contentRef=null,this.containerRef=null,this.isClosed=!1,this._onClosed=Deferred()}return Object.defineProperty(e.prototype,"onClosed",{get:function(){return this._onClosed},enumerable:!0,configurable:!0}),e.prototype.open=function(){document.body.classList.add("modal-open")},e.prototype.close=function(e){document.body.classList.remove("modal-open"),this.contentRef&&this.contentRef.destroy(),this.containerRef&&this.containerRef.destroy(),this._onClosed.resolve(e)},e}(),NovoModalContainerElement=function(){function e(e,t){this.modalRef=e,this.componentUtils=t}return e.prototype.ngAfterViewInit=function(){var e=this;setTimeout(function(){e.modalRef.contentRef=e.componentUtils.append(e.modalRef.component,e.container)})},e}(),NovoModalElement=function(){function e(e){this.modalRef=e}return e.prototype.close=function(){this.modalRef.close()},e}(),NovoModalNotificationElement=function(){function e(e){this.modalRef=e,this.cancel=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.modalRef=e}return e.prototype.close=function(){this.cancel.emit(),this.modalRef.close()},e.prototype.ngOnInit=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}(),NovoModalModule=function(){return function(){}}(),NovoListElement=function(){return function(e){this.element=e}}(),NovoListItemElement=function(){function e(e){this.element=e,this.avatar=!1}return e.prototype.ngOnInit=function(){this.avatar=!!this.element.nativeElement.querySelector("item-avatar")},e}(),NovoItemAvatarElement=function(){function e(){}return e.prototype.ngOnChanges=function(e){this.iconClass=this.icon?"bhi-"+this.icon:null,this.classMap=[this.iconClass,this.icon]},e.prototype.ngOnInit=function(){this.ngOnChanges()},e}(),NovoItemTitleElement=function(){return function(){}}(),NovoItemHeaderElement=function(){return function(){}}(),NovoItemDateElement=function(){return function(){}}(),NovoItemContentElement=function(){return function(){}}(),NovoItemEndElement=function(){return function(){}}(),NovoListModule=function(){return function(){}}(),OutsideClick=function(){function e(e){this.active=!1,this.onActiveChange=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.element=e,this.onOutsideClick=this.handleOutsideClick.bind(this)}return e.prototype.ngOnDestroy=function(){window.removeEventListener("click",this.onOutsideClick)},e.prototype.toggleActive=function(e,t){this.active=Helpers.isBlank(t)?!this.active:t,this.active?window.addEventListener("click",this.onOutsideClick):window.removeEventListener("click",this.onOutsideClick),this.onActiveChange.emit(this.active)},e.prototype.handleOutsideClick=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}(),KeyCodes={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},BasePickerResults=function(){function e(e,t){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=e,this.ref=t,this.scrollHandler=this.onScrollDown.bind(this)}return e.prototype.cleanUp=function(){var e=this.getListElement();e&&e.hasAttribute("scrollListener")&&(e.removeAttribute("scrollListener"),e.removeEventListener("scroll",this.scrollHandler))},e.prototype.onScrollDown=function(e){var t=e.target;t&&t.offsetHeight+t.scrollTop>=t.scrollHeight-300&&(e.stopPropagation(),this.lastPage||this.isLoading||this.processSearch())},Object.defineProperty(e.prototype,"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()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"config",{get:function(){return this._config},set:function(e){this.config&&this.config.options!==e.options&&(this.optionsFunctionHasChanged=!0),this._config=e},enumerable:!0,configurable:!0}),e.prototype.shouldSearch=function(e){return e!==this._term||0===this.page||this.optionsFunctionHasChanged},e.prototype.addScrollListener=function(){if(this.config.enableInfiniteScroll){var e=this.getListElement();e&&!e.hasAttribute("scrollListener")&&(e.setAttribute("scrollListener","true"),e.addEventListener("scroll",this.scrollHandler))}},e.prototype.processSearch=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()})},e.prototype.search=function(e,t){var n=this,o=this.config.options;return Object(rxjs__WEBPACK_IMPORTED_MODULE_13__.a)(new Promise(function(t,r){if(o)if(Array.isArray(o))n.isStatic=!0,t(n.structureArray(o));else if(n.shouldCallOptionsFunction(e))if(o.hasOwnProperty("reject")&&o.hasOwnProperty("resolve")||Object.getPrototypeOf(o).hasOwnProperty("then"))n.isStatic=!1,o.then(n.structureArray.bind(n)).then(t,r);else{if("function"!=typeof o)throw r("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,o(e,++n.page).then(n.structureArray.bind(n)).then(t,r)}else if(n.config.defaultOptions)if(n.isStatic=!1,"function"==typeof n.config.defaultOptions){var i=n.config.defaultOptions(e,++n.page);Object.getPrototypeOf(i).hasOwnProperty("then")?i.then(n.structureArray.bind(n)).then(t,r):t(n.structureArray(i))}else t(n.structureArray(n.config.defaultOptions));else r("No search term");else r("error")}))},e.prototype.shouldCallOptionsFunction=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)},e.prototype.structureArray=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=Helpers.interpolate(t.config.valueFormat,e)),{value:n,label:t.config.format?Helpers.interpolate(t.config.format,e):e.label||String(n),data:e}}):e.map(function(e){return{value:e,label:e}})},e.prototype.filterData=function(e){var t=this;return this.term&&e?e.filter(function(e){return~String(e.label).toLowerCase().indexOf(t.term.toLowerCase())}):e},e.prototype.selectActiveMatch=function(){this.selectMatch()},e.prototype.prevActiveMatch=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()},e.prototype.nextActiveMatch=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()},e.prototype.getListElement=function(){return this.element.nativeElement},e.prototype.getChildrenOfListElement=function(){var e=[];return this.getListElement()&&(e=this.getListElement().children),e},e.prototype.scrollToActive=function(){var e=this.getListElement(),t=this.getChildrenOfListElement()[this.matches.indexOf(this.activeMatch)];t&&(e.scrollTop=t.offsetTop)},e.prototype.selectActive=function(e){this.activeMatch=e},e.prototype.isActive=function(e){return this.activeMatch===e},e.prototype.selectMatch=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},e.prototype.escapeRegexp=function(e){return e.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")},e.prototype.highlight=function(e,t){return t?e.replace(new RegExp(this.escapeRegexp(t.trim()),"gi"),"<strong>$&</strong>"):e},e.prototype.preselected=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}(),PickerResults=function(e){function t(t,n,o){var r=e.call(this,t,o)||this;return r.labels=n,r}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),Object.defineProperty(t.prototype,"hasNonErrorMessage",{get:function(){return!this.isLoading&&!this.matches.length&&!this.hasError},enumerable:!0,configurable:!0}),t.prototype.getEmptyMessage=function(){return this.shouldShowMessageForZeroLengthSearch()?this.config.emptyPickerMessage:""===this.term?this.labels.pickerTextFieldEmpty:this.labels.pickerEmpty},t.prototype.shouldShowMessageForZeroLengthSearch=function(){return this.config&&0===this.config.minSearchLength&&""===this.term&&this.config.emptyPickerMessage},t.prototype.getListElement=function(){return this.element.nativeElement.querySelector("novo-list")},t}(BasePickerResults),QuickNoteResults=function(e){function t(t,n,o){var r=e.call(this,t,n,o)||this;return r.labels=n,r.taggingMode="",r}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),Object.defineProperty(t.prototype,"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})},enumerable:!0,configurable:!0}),t.prototype.search=function(e,t){var n=this,o=this.config.options[t];return Object(rxjs__WEBPACK_IMPORTED_MODULE_13__.a)(new Promise(function(t,r){if(o)if(Array.isArray(o))n.isStatic=!0,t(n.structureArray(o));else if(o.hasOwnProperty("reject")&&o.hasOwnProperty("resolve")||Object.getPrototypeOf(o).hasOwnProperty("then"))n.isStatic=!1,o.then(n.structureArray.bind(n)).then(t,r);else{if("function"!=typeof o)throw r("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,o(e).then(n.structureArray.bind(n)).then(t,r)}else r("error")}))},t.prototype.structureArray=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?Helpers.interpolate(t.config.format[t.taggingMode],e):e.label||String(n),data:e}}:function(e){return{value:e,label:e}})},t.prototype.selectMatch=function(e){e&&(e.stopPropagation(),e.preventDefault());var t=this.activeMatch;return t&&(this.parent.onSelected(this.taggingMode,t),this.parent.hideResults()),!1},t}(PickerResults),QUICK_NOTE_VALUE_ACCESSOR={provide:_angular_forms__WEBPACK_IMPORTED_MODULE_34__.NG_VALUE_ACCESSOR,useExisting:Object(_angular_core__WEBPACK_IMPORTED_MODULE_36__.forwardRef)(function(){return QuickNoteElement}),multi:!0},QuickNoteElement=function(e){function t(t,n,o){var r=e.call(this,n)||this;return r.zone=t,r.componentUtils=o,r.startupFocus=!1,r.focus=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,r.blur=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,r.change=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,r.placeholderVisible=!1,r._placeholderElement=null,r.onModelChange=function(){},r.onModelTouched=function(){},r.onActiveChange.subscribe(function(e){e||setTimeout(function(){r.hideResults()})}),r}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t.prototype.ngOnInit=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||QuickNoteResults},t.prototype.ngOnDestroy=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}))},t.prototype.ngAfterViewInit=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!")},t.prototype.onTouched=function(e){this.onModelTouched()},t.prototype.writeValue=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)},t.prototype.registerOnChange=function(e){this.onModelChange=e},t.prototype.registerOnTouched=function(e){this.onModelTouched=e},t.defaultRenderer=function(e,t){return"<a>"+e+t.label+"</a>"},t.prototype.getRenderer=function(e){return this.config.renderer?this.config.renderer[e]:t.defaultRenderer},t.prototype.onKey=function(e){var t=this;if(e.key)if(this.quickNoteResults){if(e.keyCode===KeyCodes.ESC)return this.zone.run(function(){t.hideResults()}),!1;if(e.keyCode===KeyCodes.UP)return this.zone.run(function(){t.quickNoteResults.instance.prevActiveMatch()}),!1;if(e.keyCode===KeyCodes.DOWN)return this.zone.run(function(){t.quickNoteResults.instance.nextActiveMatch()}),!1;if(e.keyCode===KeyCodes.ENTER)return this.zone.run(function(){t.quickNoteResults.instance.selectActiveMatch()}),!1}else{var n=this.config.triggers||{};Object.keys(n).forEach(function(o){e.key===(n[o]||{})&&(t.isTagging=!0,t.taggingMode=o)})}return!0},t.prototype.onValueChange=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()},t.prototype.showResults=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)}},t.prototype.hideResults=function(){this.isTagging=!1,this.quickNoteResults&&(this.quickNoteResults.destroy(),this.quickNoteResults=null)},t.prototype.onSelected=function(e,t){this.isTagging=!1;var n=this.config.triggers[e],o=this.getRenderer(e)(n,t);this.replaceWordAtCursor(o),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()},t.prototype.getSearchTerm=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},t.prototype.getWordAtCursor=function(){var e=this.ckeInstance.getSelection().getRanges()[0],t=e.startContainer;if(t.type===CKEDITOR.NODE_TEXT&&e.startOffset){var n=t.getText(),o=n.lastIndexOf(this.config.triggers[this.taggingMode],e.startOffset-1);if(o>0){var r=n.charAt(o-1);if("\u200b"!==r&&/\S/.test(r))return""}else if(t.hasPrevious()&&/\S$/.test(t.getPrevious().getText()))return"";var i=n.indexOf(" ",e.startOffset+1);return-1===o&&(o=0),-1===i&&(i=n.length),n.substring(o,i)}return""},t.prototype.replaceWordAtCursor=function(e){var t=this.getWordAtCursor().trim(),n=this.ckeInstance.getSelection().getRanges()[0],o=n.startContainer,r=o.getParent();if(o.type===CKEDITOR.NODE_TEXT&&r){var i=r.getHtml(),a=i.lastIndexOf(t);if(a>=0){var s=i.substring(0,a)+e+" "+i.substring(a+t.length);r.setHtml(s),n.moveToPosition(r,CKEDITOR.POSITION_BEFORE_END),this.ckeInstance.getSelection().selectRanges([n])}}},t.prototype.validateReferences=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 o=e.model.references[n]||[],r=e.config.triggers[n],i=e.getRenderer(n);e.model.references[n]=o.filter(function(e){var n=i(r,e);return t.includes(n)}),0===e.model.references[n].length&&delete e.model.references[n]})},t.prototype.getCKEditorConfig=function(){var e=this.wrapper.nativeElement.clientHeight-t.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"]}]}},t.prototype.getCursorPosition=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 o={top:n.offsetTop-t.scrollTop,left:n.offsetLeft-t.scrollLeft};return n.remove(),o},t.prototype.positionResultsDropdown=function(){var e=2*t.TOOLBAR_HEIGHT,n=this.getContentHeight()+t.TOOLBAR_HEIGHT,o=this.getCursorPosition().top+t.TOOLBAR_HEIGHT;o=Math.max(o,e),o=Math.min(o,n),this.quickNoteResults.instance.element.nativeElement.style.setProperty("margin-top",o+"px")},t.prototype.getContentHeight=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)}}return e},t.prototype.showPlaceholder=function(){this.ckeInstance.getData()||this.startupFocus||(this.ckeInstance.editable().getParent().$.appendChild(this.placeholderElement),this.placeholderVisible=!0)},t.prototype.hidePlaceholder=function(){this.placeholderVisible&&(this.ckeInstance.editable().getParent().$.removeChild(this.placeholderElement),this.placeholderVisible=!1)},Object.defineProperty(t.prototype,"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},enumerable:!0,configurable:!0}),t.TOOLBAR_HEIGHT=40,t}(OutsideClick),NovoQuickNoteModule=function(){return function(){}}(),RADIO_VALUE_ACCESSOR={provide:_angular_forms__WEBPACK_IMPORTED_MODULE_34__.NG_VALUE_ACCESSOR,useExisting:Object(_angular_core__WEBPACK_IMPORTED_MODULE_36__.forwardRef)(function(){return NovoRadioElement}),multi:!0},NovoRadioGroup=function(){return function(){}}(),NovoRadioElement=function(){function e(e){this.ref=e,this.button=!1,this.theme="secondary",this.disabled=!1,this.change=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.onModelChange=function(){},this.onModelTouched=function(){}}return e.prototype.select=function(e){Helpers.swallowEvent(e),this.checked||(this.checked=!this.checked,this.change.emit(this.value),this.onModelChange(this.value),this.ref.markForCheck())},e.prototype.writeValue=function(e){this.model=e,this.ref.markForCheck()},e.prototype.registerOnChange=function(e){this.onModelChange=e},e.prototype.registerOnTouched=function(e){this.onModelTouched=e},e.prototype.setDisabledState=function(e){this.disabled=e},e}(),NovoRadioModule=function(){return function(){}}(),NovoOverlayTemplateComponent=function(){function e(e,t,n,o,r){this.overlay=e,this.viewContainerRef=t,this.zone=n,this.changeDetectorRef=o,this.document=r,this.id="novo-overlay-"+Date.now(),this.position="default",this.scrollStrategy="reposition",this.closeOnSelect=!0,this.select=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.closing=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter}return e.prototype.ngOnDestroy=function(){this.destroyOverlay()},Object.defineProperty(e.prototype,"panelOpen",{get:function(){return this.overlayRef&&this.overlayRef.hasAttached()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},set:function(e){this._parent=e,this.checkSizes()},enumerable:!0,configurable:!0}),e.prototype.openPanel=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()})},e.prototype.closePanel=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()})},e.prototype.onClosingAction=function(e){this.closePanel()},Object.defineProperty(e.prototype,"panelClosingActions",{get:function(){return Object(rxjs__WEBPACK_IMPORTED_MODULE_14__.a)(this.outsideClickStream)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outsideClickStream",{get:function(){var e=this;return this.document?Object(rxjs__WEBPACK_IMPORTED_MODULE_14__.a)(Object(rxjs__WEBPACK_IMPORTED_MODULE_16__.a)(this.document,"mousedown"),Object(rxjs__WEBPACK_IMPORTED_MODULE_16__.a)(this.document,"touchend")).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.a)(function(t){var n=t.target,o=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),o})):Object(rxjs__WEBPACK_IMPORTED_MODULE_15__.a)()},enumerable:!0,configurable:!0}),e.prototype.subscribeToClosingActions=function(){var e=this,t=this.zone.onStable.asObservable().pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.a)());return Object(rxjs__WEBPACK_IMPORTED_MODULE_14__.a)(t).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_22__.a)(function(){return e.panelClosingActions}),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.a)()).subscribe(function(t){return e.onClosingAction(t)})},e.prototype.createOverlay=function(e){var t=this;this.portal=new _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_10__.e(e,this.viewContainerRef),this.overlayRef=this.overlay.create(this.getOverlayConfig()),this.overlayRef.backdropClick().subscribe(function(){return t.closePanel()})},e.prototype.destroyOverlay=function(){this.overlayRef&&(this.closePanel(),this.overlayRef.dispose(),this.overlayRef=void 0)},e.prototype.getOverlayConfig=function(){var e=new _angular_cdk_overlay__WEBPACK_IMPORTED_MODULE_4__.b;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},e.prototype.getPosition=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=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.f)(this.position.includes("right")?["end","start"]:["start","end"],2),t=e[0],n=e[1],o=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.f)(this.position.includes("top")?["top","bottom"]:["bottom","top"],2),r=o[0],i=o[1],a=this.overlay.position().connectedTo(this.getConnectedElement(),{originX:t,originY:r},{overlayX:t,overlayY:i}).withDirection("ltr");return"bottom"===this.position?a=a.withFallbackPosition({originX:n,originY:"bottom"},{overlayX:n,overlayY:"top"}):("right"===this.position||"default"===this.position||this.position.includes("above-below"))&&(a=a.withFallbackPosition({originX:t,originY:"top"},{overlayX:t,overlayY:"bottom"}).withFallbackPosition({originX:n,originY:"bottom"},{overlayX:n,overlayY:"top"}).withFallbackPosition({originX:n,originY:"top"},{overlayX:n,overlayY:"bottom"}),this.position.includes("above-below")||(a=a.withFallbackPosition({originX:t,originY:"center"},{overlayX:t,overlayY:"center"}).withFallbackPosition({originX:n,originY:"center"},{overlayX:n,overlayY:"center"}))),a},e.prototype.getScrollStrategy=function(){switch(this.scrollStrategy){case"block":return this.overlay.scrollStrategies.block();case"reposition":return this.overlay.scrollStrategies.reposition();default:return this.overlay.scrollStrategies.close()}},e.prototype.checkSizes=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())},e.prototype.getConnectedElement=function(){return this.parent},e.prototype.getHostWidth=function(){return this.getConnectedElement().nativeElement.getBoundingClientRect().width},e}(),notifications={};function notify(e){!Object(_angular_core__WEBPACK_IMPORTED_MODULE_36__.isDevMode)()||e in notifications||(notifications[e]=!0,console.warn(e))}var NovoDropdownElement=function(){function e(e,t){this.element=e,this.ref=t,this.parentScrollAction="close",this.side="default",this.scrollStrategy="reposition",this.width=-1,this.appendToBody=!1,this.toggled=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.activeIndex=-1,this.filterTerm="",this.clickHandler=this.togglePanel.bind(this),this.closeHandler=this.closePanel.bind(this)}return e.prototype.ngOnInit=function(){this.appendToBody&¬ify("'appendToBody' has been deprecated. Please remove this attribute."),this.element.nativeElement.querySelector("button").addEventListener("click",this.clickHandler),this.parentScrollSelector&&(this.parentScrollElement=Helpers.findAncestor(this.element.nativeElement,this.parentScrollSelector))},e.prototype.ngOnDestroy=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)},Object.defineProperty(e.prototype,"items",{set:function(e){this._items=e,this._textItems=e.map(function(e){return e.element.nativeElement.innerText})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"panelOpen",{get:function(){return this.overlay&&this.overlay.panelOpen},enumerable:!0,configurable:!0}),e.prototype.openPanel=function(){this.overlay.openPanel(),this.parentScrollElement&&"close"===this.parentScrollAction&&this.parentScrollElement.addEventListener("scroll",this.closeHandler),this.toggled.emit(!0)},e.prototype.closePanel=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)},e.prototype.togglePanel=function(){this.panelOpen?this.closePanel():this.openPanel()},e.prototype.onKeyDown=function(e){var t=this;if(this.panelOpen&&e.keyCode===KeyCodes.ESC)Helpers.swallowEvent(e),this.closePanel();else if(e.keyCode===KeyCodes.ENTER)Helpers.swallowEvent(e),this._items.toArray()[this.activeIndex].onClick(e);else if(e.keyCode===KeyCodes.DOWN){for(Helpers.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===KeyCodes.UP){for(Helpers.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===KeyCodes.SPACE){Helpers.swallowEvent(e),clearTimeout(this.filterTermTimeout),this.filterTermTimeout=setTimeout(function(){t.filterTerm=""},2e3);var n=String.fromCharCode(e.keyCode);this.filterTerm=this.filterTerm.concat(n);var o=this._textItems.findIndex(function(e){return new RegExp("^"+t.filterTerm.toLowerCase()).test(e.trim().toLowerCase())});-1!==o&&(-1!==this.activeIndex&&(this._items.toArray()[this.activeIndex].active=!1),this.activeIndex=o,this._items.toArray()[this.activeIndex].active=!0,this.scrollToActive())}else[KeyCodes.BACKSPACE,KeyCodes.DELETE].includes(e.keyCode)&&(Helpers.swallowEvent(e),clearTimeout(this.filterTermTimeout),this.filterTermTimeout=setTimeout(function(){t.filterTerm=""},2e3),this.filterTerm=this.filterTerm.slice(0,-1))},e.prototype.onOverlayKeyDown=function(e){e.keyCode!==KeyCodes.ESC&&e.keyCode!==KeyCodes.ENTER||(Helpers.swallowEvent(e),this.closePanel())},e.prototype.scrollToActive=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}(),NovoItemElement=function(){function e(e,t){this.dropdown=e,this.element=t,this.keepOpen=!1,this.action=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.active=!1}return e.prototype.onClick=function(e){this.disabled||(this.keepOpen||this.dropdown.closePanel(),this.action.emit({originalEvent:e}))},e}(),NovoListElement$1=function(){function e(e){this.dropdown=e}return e.prototype.ngAfterContentInit=function(){this.dropdown.items=this.items},e}(),NovoItemHeaderElement$1=function(){return function(){}}(),NovoOverlayModule=function(){return function(){}}(),NovoDropdownModule=function(){return function(){}}(),SELECT_VALUE_ACCESSOR={provide:_angular_forms__WEBPACK_IMPORTED_MODULE_34__.NG_VALUE_ACCESSOR,useExisting:Object(_angular_core__WEBPACK_IMPORTED_MODULE_36__.forwardRef)(function(){return NovoSelectElement}),multi:!0},NovoSelectElement=function(){function e(e,t,n,o,r){this.element=e,this.labels=t,this.ref=n,this.focusMonitor=o,this.ngZone=r,this.placeholder="Select...",this.onSelect=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.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 e.prototype.ngOnInit=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()},e.prototype.ngOnChanges=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(tslib__WEBPACK_IMPORTED_MODULE_35__.a)({},e,{active:!1})}),this.model||this.createdItem)if(this.createdItem){var n=this.options.find(function(e){return e.label===t.createdItem}),o=this.options.indexOf(n);this.select(n,o)}else this.writeValue(this.model);else this.clear();this.panelOpen&&this.openPanel()},e.prototype.ngOnDestroy=function(){this.focusMonitor.stopMonitoring(this.dropdown.nativeElement)},e.prototype.openPanel=function(){this.overlay.openPanel()},e.prototype.closePanel=function(){this.overlay.closePanel()},e.prototype.togglePanel=function(){var e=this;this.panelOpen?this.closePanel():(setTimeout(function(){e.dropdown.nativeElement.focus()}),this.openPanel())},Object.defineProperty(e.prototype,"panelOpen",{get:function(){return this.overlay&&this.overlay.panelOpen},enumerable:!0,configurable:!0}),e.prototype.setValueAndClose=function(e){e.value&&e.index>=0&&this.select(e.value,e.index),this.closePanel()},e.prototype.select=function(e,t,n){void 0===n&&(n=!0),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}))},e.prototype.clear=function(){this.selected={label:this.placeholder,value:null,active:!1},this.header={open:!1,valid:!0,value:""},this.selectedIndex=-1,this.empty=!0},e.prototype.onKeyDown=function(e){var t=this;if([KeyCodes.UP,KeyCodes.DOWN].includes(e.keyCode)&&e.preventDefault(),[KeyCodes.ESC,KeyCodes.TAB].includes(e.keyCode))this.closePanel();else if(e.keyCode===KeyCodes.ENTER)this.header.open&&this.header.value?this.saveHeader():this.setValueAndClose({value:this.filteredOptions[this.selectedIndex],index:this.selectedIndex});else if(e.keyCode===KeyCodes.UP)this.panelOpen||this.openPanel(),this.selectedIndex>0&&(this.selectedIndex--,this.select(this.filteredOptions[this.selectedIndex],this.selectedIndex),this.scrollToSelected());else if(e.keyCode===KeyCodes.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===KeyCodes.UP&&0===this.selectedIndex)this.panelOpen||this.openPanel(),this.selectedIndex--,this.toggleHeader(null,!0);else if(e.keyCode>=65&&e.keyCode<=90||e.keyCode===KeyCodes.SPACE){e.keyCode===KeyCodes.SPACE&&e.preventDefault(),this.panelOpen||this.openPanel(),clearTimeout(this.filterTermTimeout),this.filterTermTimeout=setTimeout(function(){t.filterTerm=""},2e3);var n=String.fromCharCode(e.keyCode);this.filterTerm=this.filterTerm.concat(n);var o=this.filteredOptions.find(function(e){return 0===e.label.toUpperCase().indexOf(t.filterTerm)});o&&(this.select(o,this.filteredOptions.indexOf(o)),this.scrollToSelected())}else[KeyCodes.BACKSPACE,KeyCodes.DELETE].includes(e.keyCode)&&(clearTimeout(this.filterTermTimeout),this.filterTermTimeout=setTimeout(function(){t.filterTerm=""},2e3),this.filterTerm=this.filterTerm.slice(0,-1))},e.prototype.scrollToSelected=function(){this.scrollToIndex(this.selectedIndex)},e.prototype.scrollToIndex=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)},e.prototype.toggleHeader=function(e,t){void 0===t&&(t=!1),e&&(e.stopPropagation(),e.preventDefault()),this.header={open:void 0!==t?t:!this.header.open,value:"",valid:!0}},e.prototype.highlight=function(e,t){return t?e.replace(new RegExp(this.escapeRegexp(t),"gi"),"<strong>$&</strong>"):e},e.prototype.escapeRegexp=function(e){return e.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")},e.prototype.saveHeader=function(){this.header.value?(this.headerConfig.onSave(this.header.value),this.createdItem=this.header.value,this.closePanel()):this.header.valid=!1},e.prototype.writeValue=function(e){if(this.model=e,this.options){var t=this.filteredOptions.find(function(t){return t.value===e||e&&t.value===e.id});t||Helpers.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()},e.prototype.registerOnChange=function(e){this.onModelChange=e},e.prototype.registerOnTouched=function(e){this.onModelTouched=e},e.prototype.setDisabledState=function(e){this.disabled=e},e}(),NovoSelectModule=function(){return function(){}}(),SWITCH_VALUE_ACCESSOR={provide:_angular_forms__WEBPACK_IMPORTED_MODULE_34__.NG_VALUE_ACCESSOR,useExisting:Object(_angular_core__WEBPACK_IMPORTED_MODULE_36__.forwardRef)(function(){return NovoSwitchElement}),multi:!0},NovoSwitchElement=function(){function e(e){this.ref=e,this.onChange=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this._disabled=!1,this.onModelChange=function(){},this.onModelTouched=function(){}}return Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(e){this._disabled=!e},enumerable:!0,configurable:!0}),e.prototype.onKeydown=function(e){e.keyCode===KeyCodes.SPACE&&(e.preventDefault(),this.toggle(e))},e.prototype.toggle=function(e){e&&(e.stopPropagation(),e.preventDefault()),this.disabled||(this.model=!this.model,this.onChange.next(this.model),this.onModelChange(this.model),this.ref.markForCheck())},e.prototype.writeValue=function(e){this.model=e,this.ref.markForCheck()},e.prototype.registerOnChange=function(e){this.onModelChange=e},e.prototype.registerOnTouched=function(e){this.onModelTouched=e},e}(),NovoSwitchModule=function(){return function(){}}(),PICKER_VALUE_ACCESSOR={provide:_angular_forms__WEBPACK_IMPORTED_MODULE_34__.NG_VALUE_ACCESSOR,useExisting:Object(_angular_core__WEBPACK_IMPORTED_MODULE_36__.forwardRef)(function(){return NovoPickerElement}),multi:!0},NovoPickerElement=function(){function e(e,t,n){this.element=e,this.componentUtils=t,this.ref=n,this.closeOnSelect=!0,this.selected=[],this.appendToBody=!1,this.parentScrollAction="close",this.side="left",this.autoSelectFirstOption=!0,this._disablePickerInput=!1,this.changed=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.select=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.focus=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.blur=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.typing=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.term="",this.onModelChange=function(){},this.onModelTouched=function(){}}return Object.defineProperty(e.prototype,"disablePickerInput",{get:function(){return this._disablePickerInput},set:function(e){this._disablePickerInput=Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_30__.b)(e)},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var e=this;this.overrideElement&&(this.element=this.overrideElement),this.appendToBody&¬ify("'appendToBody' has been deprecated. Please remove this attribute."),this.resultsComponent=this.config.resultsTemplate||PickerResults,Object(rxjs__WEBPACK_IMPORTED_MODULE_16__.a)(this.input.nativeElement,"paste").pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_23__.a)(250),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_24__.a)()).subscribe(function(t){return e.onDebouncedKeyup(t)},function(t){return e.hideResults(t)}),Object(rxjs__WEBPACK_IMPORTED_MODULE_16__.a)(this.input.nativeElement,"keyup").pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_23__.a)(250),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_24__.a)()).subscribe(function(t){return e.onDebouncedKeyup(t)},function(t){return e.hideResults(t)})},e.prototype.onDebouncedKeyup=function(e){[KeyCodes.ESC,KeyCodes.UP,KeyCodes.DOWN,KeyCodes.ENTER,KeyCodes.TAB].includes(e.keyCode)||this.show(e.target.value)},e.prototype.openPanel=function(){this.container.openPanel()},e.prototype.closePanel=function(){this.container.closePanel()},Object.defineProperty(e.prototype,"panelOpen",{get:function(){return this.container&&this.container.panelOpen},enumerable:!0,configurable:!0}),e.prototype.show=function(e){this.openPanel(),this.showResults(e)},e.prototype.onKeyDown=function(e){if(this.disablePickerInput)Helpers.swallowEvent(e);else if(this.panelOpen&&!this.disablePickerInput){if(e.keyCode===KeyCodes.ESC||e.keyCode===KeyCodes.TAB)return void this.hideResults();if(e.keyCode===KeyCodes.UP)return this.popup.instance.prevActiveMatch(),void this.ref.markForCheck();if(e.keyCode===KeyCodes.DOWN)return this.popup.instance.nextActiveMatch(),void this.ref.markForCheck();if(e.keyCode===KeyCodes.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!==KeyCodes.BACKSPACE&&e.keyCode!==KeyCodes.DELETE||Helpers.isBlank(this._value)||(this.clearValue(!1),this.closePanel()),e.keyCode===KeyCodes.DELETE&&Helpers.isBlank(this._value)&&this.clearValue(!0)}},e.prototype.clearValue=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()},e.prototype.onFocus=function(e){this.panelOpen||this.show(),this.focus.emit(e)},e.prototype.showResults=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())},e.prototype.hideResults=function(e){this.closePanel(),this.ref.markForCheck()},e.prototype.onOverlayClosed=function(){this.popup&&this.popup.instance&&this.popup.instance.cleanUp&&this.popup.instance.cleanUp()},Object.defineProperty(e.prototype,"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()},enumerable:!0,configurable:!0}),e.prototype.checkTerm=function(e){this.typing.emit(e),e&&e.length||(this._value=null,this.onModelChange(this._value)),this.ref.markForCheck()},e.prototype.onTouched=function(e){this.onModelTouched(),this.blur.emit(e)},e.prototype.writeValue=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=e.firstName+" "+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()},e.prototype.registerOnChange=function(e){this.onModelChange=e},e.prototype.registerOnTouched=function(e){this.onModelTouched=e},e.prototype.setDisabledState=function(e){this._disablePickerInput=e},e}(),EntityPickerResult=function(){function e(e){this.labels=e}return e.prototype.escapeRegexp=function(e){return e.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")},e.prototype.highlight=function(e,t){return t&&e?e.replace(new RegExp(this.escapeRegexp(t.trim()),"gi"),"<strong>$&</strong>"):e},e.prototype.getIconForResult=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";default:return""}return""},e.prototype.renderTimestamp=function(e){var t="";return e&&(t=this.labels.formatDateWithFormat(e,{year:"numeric",month:"numeric",day:"numeric"})),t},e.prototype.getNameForResult=function(e){if(e)switch(e.searchEntity){case"Lead":case"CorporateUser":case"ClientContact":case"Candidate":case"Person":return"firstName"in e?(e.firstName+" "+e.lastName).trim():(""+(e.name||"")).trim();case"ClientCorporation":return(""+(e.name||"")).trim();case"Opportunity":case"JobOrder":return(e.id+" | "+(e.title||"")).trim();case"Placement":var t=""+e.id;return(e.candidate||e.jobOrder)&&(t=e.candidate&&e.jobOrder?(t+" | "+e.candidate.firstName+" "+e.candidate.lastName+" - "+e.jobOrder.title).trim():e.jobOrder?(t+" | "+e.jobOrder.title).trim():(t+" | "+e.candidate.firstName+" "+e.candidate.lastName).trim()),t;default:return(""+(e.name||"")).trim()}return""},e}(),EntityPickerResults=function(e){function t(t,n,o){var r=e.call(this,t,o)||this;return r.labels=n,r.select=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,r}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),Object.defineProperty(t.prototype,"hasNonErrorMessage",{get:function(){return!this.isLoading&&!this.matches.length&&!this.hasError},enumerable:!0,configurable:!0}),t.prototype.getListElement=function(){return this.element.nativeElement.querySelector("novo-list")},t.prototype.selectMatch=function(t,n){return this.select.next(n),e.prototype.selectMatch.call(this,t,n)},t}(BasePickerResults),ChecklistPickerResults=function(e){function t(t,n,o){var r=e.call(this,t,o)||this;return r.labels=n,r}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t.prototype.search=function(){var e=this,t=this.config.options;return Object(rxjs__WEBPACK_IMPORTED_MODULE_13__.a)(new Promise(function(n,o){if(t){if(!Array.isArray(t))throw o("The data provided is not an array or a promise"),new Error("The data provided is not an array or a promise");e.isStatic=!0,n(t)}else o("error")}))},t.prototype.filterData=function(e){var t=this;return this.term&&e?(this.filteredMatches=e.map(function(e){var n=e.originalData.filter(function(e){return~String(e.label).toLowerCase().indexOf(t.term.toLowerCase())});return e.data=n,e},this),this.filteredMatches):""===this.term?(e.forEach(function(e){e.data=e.originalData}),e):e},t.prototype.selectMatch=function(e,t){Helpers.swallowEvent(e),t.indeterminate?(t.indeterminate=!1,t.checked=!0):t.checked=!t.checked;var n=this.activeMatch;return n&&(this.parent.value=n),this.ref.markForCheck(),!1},t}(BasePickerResults),GroupedMultiPickerResults=function(e){function t(t,n,o,r){var i=e.call(this,t,r)||this;return i.renderer=n,i.labels=o,i.customFilterEnabled=!1,i.placeholder="",i.internalMap=new Map,i}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),Object.defineProperty(t.prototype,"term",{set:function(e){var t=this;if(this.config.displayAll&&this.config.getItemsForCategoryAsync)throw new Error("[GroupedMultiPickerResults] - you can only have `displayAll` with a static `categoryMap`. Not available with `getItemsForCategoryAsync`");if(this.config.customFilter){if(this.customFilterEnabled=!0,this.customFilterLabel=this.config.customFilter.label,this.customFilterValue=!!this.config.customFilter.defaultFilterValue,this.ref.markForCheck(),!this.customFilterLabel||!this.config.customFilter.matchFunction)throw new Error("[GroupedMultiPickerResults] - custom filter/matchFunction set no label was provided!")}else this.customFilterEnabled=!1;this.config.displayAll&&!this.selectedCategory&&this.setAllCategory(),this.config.placeholder&&(this.placeholder=this.config.placeholder),setTimeout(function(){t.inputElement.nativeElement.focus()})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"categories",{get:function(){return this.config.categories||this.config.categoryMap?this.config.categories||Array.from(this.config.categoryMap.values()).filter(function(e){return"all"!==e.value}):[]},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var e=this;this.keyboardSubscription=Object(rxjs__WEBPACK_IMPORTED_MODULE_16__.a)(this.inputElement.nativeElement,"keyup").pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_23__.a)(350),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_24__.a)()).subscribe(function(t){e.searchTerm=t.target.value,e.matches=e.filterData(),e.ref.markForCheck()})},t.prototype.ngOnDestroy=function(){this.keyboardSubscription.unsubscribe()},t.prototype.setAllCategory=function(){if(this.config.displayAll){this.selectedCategory={value:"all",label:"all"};var e=[];Array.from(this.config.categoryMap.values()).filter(function(e){return"all"!==e.value}).forEach(function(t){return e.push.apply(e,Object(tslib__WEBPACK_IMPORTED_MODULE_35__.g)(t.items))}),this.matches=this.filter(e),this.config.categoryMap.set("all",{value:"all",label:"All",items:e}),this.ref.markForCheck()}},t.prototype.selectCategory=function(e){this.renderer.setProperty(this.listElement.element.nativeElement,"scrollTop",0),this.inputElement.nativeElement.focus();var t=e.value;this.selectedCategory=e,this.matches=[],this.ref.markForCheck(),this.getNewMatches(e,t)},t.prototype.clearSearchTerm=function(e){Helpers.swallowEvent(e),this.searchTerm="",this.selectCategory({value:this.selectedCategory.value,label:this.selectedCategory.label}),this.ref.markForCheck()},t.prototype.selectMatch=function(t,n){return this.inputElement.nativeElement.focus(),e.prototype.selectMatch.call(this,t)},t.prototype.fireCustomFilter=function(e){var t=this;this.customFilterValue=e,this.internalMap.clear(),this.selectCategory&&(this.getNewMatches(this.selectedCategory,this.selectedCategory.value),this.ref.markForCheck()),setTimeout(function(){t.inputElement.nativeElement.focus()})},t.prototype.filterData=function(){return this.selectedCategory?this.filter(this.config.categoryMap?this.config.categoryMap.get(this.selectedCategory.value).items:this.internalMap.get(this.selectedCategory.value).items):[]},t.prototype.getNewMatches=function(e,t){var n=this;if(this.config.categoryMap)this.matches=this.filter(this.config.categoryMap.get(t).items),this.ref.markForCheck();else{if(!this.config.getItemsForCategoryAsync)throw new Error('The "config" for the Chips must include a function "getItemsForCategoryAsync(categoryKey: string)" to retrieve the items by category. Or if you have static data provide a "categoryMap"');this.internalMap.get(t)?(this.matches=this.filter(this.internalMap.get(t).items),this.ref.markForCheck()):(this.isLoading=!0,this.config.getItemsForCategoryAsync(t,this.customFilterValue).then(function(o){n.internalMap.set(t,{value:e.value,label:e.label,items:o}),n.matches=n.filter(o,!0),n.isLoading=!1,n.ref.markForCheck(),setTimeout(function(){n.inputElement.nativeElement.focus()})}))}},t.prototype.filter=function(e,t){var n=this;void 0===t&&(t=!1);var o=e;return this.searchTerm&&0!==this.searchTerm.length&&this.selectedCategory&&(o=o.filter(function(e){var t=n.searchTerm.toLowerCase();return e.label.toLowerCase().indexOf(t)>-1||e.value.toLowerCase().indexOf(t)>-1})),this.customFilterEnabled&&this.config.customFilter.matchFunction&&!t&&(o=o.filter(function(e){return n.config.customFilter.matchFunction(e,n.customFilterValue)})),o},t}(BasePickerResults),SkillsSpecialtyPickerResults=function(e){function t(t,n,o){var r=e.call(this,t,o)||this;return r.element=t,r.labels=n,r.active=!0,r.limitedTo=!1,r.limit=200,r}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t.prototype.getListElement=function(){return this.element.nativeElement.querySelector("novo-list")},t.prototype.structureArray=function(t){var n=t;return t.hasOwnProperty("data")?(this.limitedTo=t.limitedTo200,this.total=t.total,n=t.data):n.length>this.limit&&(this.limitedTo=!0,this.total=n.length,n=n.slice(0,this.limit)),e.prototype.structureArray.call(this,n)},t}(BasePickerResults),DistributionListPickerResults=function(e){function t(t,n,o,r){var i=e.call(this,t,r)||this;return i.sanitizer=n,i.labels=o,i.active=!0,i.sanitizer=n,i}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),Object.defineProperty(t.prototype,"isHidden",{get:function(){return 0===this.matches.length},enumerable:!0,configurable:!0}),t.prototype.getListElement=function(){return this.element.nativeElement.querySelector("novo-list")},t.prototype.sanitizeHTML=function(e){return this.sanitizer.bypassSecurityTrustHtml(e)},t}(BasePickerResults),NovoPickerModule=function(){return function(){}}(),SEARCH_VALUE_ACCESSOR={provide:_angular_forms__WEBPACK_IMPORTED_MODULE_34__.NG_VALUE_ACCESSOR,useExisting:Object(_angular_core__WEBPACK_IMPORTED_MODULE_36__.forwardRef)(function(){return NovoSearchBoxElement}),multi:!0},NovoSearchBoxElement=function(){function e(e,t,n,o){this.element=e,this.labels=t,this._changeDetectorRef=n,this._zone=o,this.icon="search",this.placeholder="Search...",this.alwaysOpen=!1,this.theme="positive",this.closeOnSelect=!0,this.searchChanged=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.focused=!1,this._onChange=function(){},this._onTouched=function(){}}return e.prototype.showSearch=function(e,t){var n=this;void 0===t&&(t=!1),this.panelOpen||setTimeout(function(){var e=n.input.nativeElement;e&&e.focus()},10)},e.prototype.onFocus=function(){var e=this;this._zone.run(function(){e.focused=!0,e.openPanel()})},e.prototype.onBlur=function(){this.focused=!1},e.prototype.openPanel=function(){this.overlay.openPanel()},e.prototype.closePanel=function(){this.overlay.closePanel()},Object.defineProperty(e.prototype,"panelOpen",{get:function(){return this.overlay&&this.overlay.panelOpen},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"active",{get:function(){return this.panelOpen||this.alwaysOpen},enumerable:!0,configurable:!0}),e.prototype._handleKeydown=function(e){e.keyCode!==_angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_9__.e&&e.keyCode!==_angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_9__.d&&e.keyCode!==_angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_9__.k||!this.panelOpen||(this.closePanel(),e.stopPropagation())},e.prototype._handleInput=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))},e.prototype.writeValue=function(e){this._setValue(e)},e.prototype.registerOnChange=function(e){this._onChange=e},e.prototype.registerOnTouched=function(e){this._onTouched=e},e.prototype._setValue=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()},e.prototype.setValueAndClose=function(e){e&&e.value&&(this._setValue(e.value),this._onChange(e.value)),this.closePanel()},e.prototype.clearValue=function(e){this.writeValue(null),this._onChange(null)},e}(),NovoSearchBoxModule=function(){return function(){}}(),dragula=_bullhorn_dragula__WEBPACK_IMPORTED_MODULE_5__,NovoDragulaService=function(){function e(){this.cancel=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.cloned=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.drag=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.dragend=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.drop=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.out=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.over=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.remove=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.shadow=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.dropModel=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.removeModel=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.events=["cancel","cloned","drag","dragend","drop","out","over","remove","shadow","dropModel","removeModel"],this.bags=[]}return e.prototype.add=function(e,t){var n=this.find(e);if(n)throw new Error("Bag named: "+e+" already exists.");return this.bags.push(n={name:e,drake:t}),t.models&&this.handleModels(e,t),n.initEvents||this.setupEvents(n),n},e.prototype.find=function(e){for(var t=0;t<this.bags.length;t++)if(this.bags[t].name===e)return this.bags[t];return null},e.prototype.destroy=function(e){var t=this.find(e),n=this.bags.indexOf(t);this.bags.splice(n,1),t.drake.destroy()},e.prototype.setOptions=function(e,t){var n=this.add(e,dragula(t));this.handleModels(e,n.drake)},e.prototype.handleModels=function(e,t){var n,o,r,i,a=this;t.on("remove",function(n,r){t.models&&((i=t.models[t.containers.indexOf(r)]).splice(o,1),a.removeModel.emit([e,n,r]))}),t.on("drag",function(e,t){n=e,o=a.domIndexOf(e,t)}),t.on("drop",function(s,l,c){if(t.models){if(r=a.domIndexOf(s,l),i=t.models[t.containers.indexOf(c)],l===c)i.splice(r,0,i.splice(o,1)[0]);else{var u=n===s,d=t.models[t.containers.indexOf(l)],h=u?i[o]:JSON.parse(JSON.stringify(i[o]));u&&i.splice(o,1),d.splice(r,0,h),l.removeChild(s)}a.dropModel.emit([e,s,l,c])}})},e.prototype.setupEvents=function(e){e.initEvents=!0;var t=this;this.events.forEach(function(n){e.drake.on(n,function(){var o=Array.prototype.slice.call(arguments);t[n].emit([e.name].concat(o))})})},e.prototype.domIndexOf=function(e,t){return Array.prototype.indexOf.call(t.children,e)},e}(),dragula$1=_bullhorn_dragula__WEBPACK_IMPORTED_MODULE_5__,NovoDragulaElement=function(){function e(e,t){this.dragulaService=t,this.drake=null,this.container=e.nativeElement}return e.prototype.ngOnInit=function(){var e=this.dragulaService.find(this.bag);e?(this.drake=e.drake,this.checkModel(),this.drake.containers.push(this.container)):(this.drake=dragula$1({containers:[this.container]}),this.checkModel(),this.dragulaService.add(this.bag,this.drake))},e.prototype.checkModel=function(){this.dragulaModel&&(this.drake.models?this.drake.models.push(this.dragulaModel):this.drake.models=[this.dragulaModel])},e.prototype.ngOnChanges=function(e){if(e&&e.dragulaModel&&this.drake)if(this.drake.models){var t=this.drake.models.indexOf(e.dragulaModel.previousValue);this.drake.models.splice(t,1,e.dragulaModel.currentValue)}else this.drake.models=[e.dragulaModel.currentValue]},e}(),NovoDragulaModule=function(){return function(){}}(),NovoSliderElement=function(){function e(e,t){this.element=e,this.labels=t,this.currentSlide=0,this.start=!0,this.end=!0,this.currSlides=["active"],this.handleKeyDownFunc=this.handleKeyDown.bind(this)}return e.prototype.ngOnInit=function(){for(var e=0;e<this.slides;e++)this.currSlides[e]=e>0?"inactive":"active";this.element.nativeElement.addEventListener("keydown",this.handleKeyDownFunc)},e.prototype.ngOnDestroy=function(){this.element.nativeElement.removeEventListener("keydown",this.handleKeyDownFunc)},e.prototype.handleKeyDown=function(e){9===e.keyCode&&(e.stopImmediatePropagation(),e.preventDefault())},e.prototype.changeSlide=function(e){if("next"===e){if(this.currentSlide===this.slides-1)return;this.currentSlide++}else{if(0===this.currentSlide)return;this.currentSlide--}for(var t=0;t<this.slides;t++)this.currSlides[t]="inactive";this.currSlides[this.currentSlide]="active",this.start=0===this.currentSlide,this.end=this.currentSlide===this.slides-1,this.currentClass="slide-"+this.currentSlide},e}(),NovoSliderModule=function(){return function(){}}(),CHIPS_VALUE_ACCESSOR={provide:_angular_forms__WEBPACK_IMPORTED_MODULE_34__.NG_VALUE_ACCESSOR,useExisting:Object(_angular_core__WEBPACK_IMPORTED_MODULE_36__.forwardRef)(function(){return NovoChipsElement}),multi:!0},NovoChipElement=function(){function e(){this.disabled=!1,this.select=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.remove=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.deselect=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter}return Object.defineProperty(e.prototype,"type",{set:function(e){this._type=e?e.toLowerCase():null},enumerable:!0,configurable:!0}),e.prototype.onRemove=function(e){return e&&(e.stopPropagation(),e.preventDefault()),this.remove.emit(e),!1},e.prototype.onSelect=function(e){return e&&(e.stopPropagation(),e.preventDefault()),this.select.emit(e),!1},e.prototype.onDeselect=function(e){return e&&(e.stopPropagation(),e.preventDefault()),this.deselect.emit(e),!1},e}(),NovoChipsElement=function(){function e(e,t,n){this.element=e,this.componentUtils=t,this.labels=n,this.closeOnSelect=!1,this.placeholder="",this._disablePickerInput=!1,this.changed=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.focus=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.blur=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.typing=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.items=[],this.selected=null,this.config={},this._value="",this._items=new rxjs__WEBPACK_IMPORTED_MODULE_17__.a(1),this.onModelChange=function(){},this.onModelTouched=function(){}}return Object.defineProperty(e.prototype,"disablePickerInput",{get:function(){return this._disablePickerInput},set:function(e){this._disablePickerInput=Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_30__.b)(e)},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this.setItems()},Object.defineProperty(e.prototype,"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))},enumerable:!0,configurable:!0}),e.prototype.clearValue=function(){this.items=[],this._items.next(this.items),this.value=null,this.changed.emit({value:this.value,rawValue:this.items}),this.onModelChange(this.value)},e.prototype.setItems=function(){var e,t,n=this;if(this.items=[],this.model&&Array.isArray(this.model)){var o=[];try{for(var r=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.h)(this.model),i=r.next();!i.done;i=r.next()){var a=i.value,s=void 0;this.source&&this.source.format&&Helpers.validateInterpolationProps(this.source.format,a)&&(s=Helpers.interpolate(this.source.format,a)),this.source&&s&&s!==this.source.format?this.items.push({value:a,label:s}):this.source.getLabels&&"function"==typeof this.source.getLabels?o.push(a):this.source.options&&Array.isArray(this.source.options)?this.items.push(this.getLabelFromOptions(a)):this.items.push(this.source.categoryMap&&this.source.categoryMap.size?a:{value:a,label:a})}}catch(l){e={error:l}}finally{try{i&&!i.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}o.length>0&&this.source&&this.source.getLabels&&"function"==typeof this.source.getLabels&&this.source.getLabels(o).then(function(e){var t,o;try{for(var r=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.h)(e),i=r.next();!i.done;i=r.next()){var a=i.value;a.hasOwnProperty("label")?n.items.push({value:a,label:a.label}):n.source.options&&Array.isArray(n.source.options)?n.items.push(n.getLabelFromOptions(a)):n.items.push(a)}}catch(s){t={error:s}}finally{try{i&&!i.done&&(o=r.return)&&o.call(r)}finally{if(t)throw t.error}}n._items.next(n.items)})}this.changed.emit({value:this.model,rawValue:this.items}),this._items.next(this.items)},e.prototype.getLabelFromOptions=function(e){var t=this.source.options.find(function(t){return t.value===e});return{value:e,label:t?t.label:e}},e.prototype.deselectAll=function(e){this.selected=null,this.hidePreview()},e.prototype.select=function(e,t){this.blur.emit(e),this.deselectAll(),this.selected=t,this.showPreview()},e.prototype.deselect=function(e,t){this.blur.emit(e),this.deselectAll()},e.prototype.onTyping=function(e){this.typing.emit(e)},e.prototype.onFocus=function(e){this.deselectAll(),this.element.nativeElement.classList.add("selected"),this.focus.emit(e)},e.prototype.add=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)},e.prototype.remove=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)},e.prototype.onKeyDown=function(e){e.keyCode===KeyCodes.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]))},e.prototype.onTouched=function(e){this.element.nativeElement.classList.remove("selected"),this.onModelTouched(),this.blur.emit(e)},e.prototype.writeValue=function(e){this.model=e,this.setItems()},e.prototype.registerOnChange=function(e){this.onModelChange=e},e.prototype.registerOnTouched=function(e){this.onModelTouched=e},e.prototype.setDisabledState=function(e){this._disablePickerInput=e},e.prototype.showPreview=function(){this.source.previewTemplate&&(this.popup||(this.popup=this.componentUtils.append(this.source.previewTemplate,this.preview)),this.popup.instance.match=this.selected)},e.prototype.hidePreview=function(){this.popup&&(this.popup.destroy(),this.popup=null)},e}(),CHIPS_VALUE_ACCESSOR$1={provide:_angular_forms__WEBPACK_IMPORTED_MODULE_34__.NG_VALUE_ACCESSOR,useExisting:Object(_angular_core__WEBPACK_IMPORTED_MODULE_36__.forwardRef)(function(){return NovoRowChipsElement}),multi:!0},NovoRowChipElement=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t.prototype.onSelect=function(e){return!1},t}(NovoChipElement),NovoRowChipsElement=function(e){function t(t,n,o){var r=e.call(this,t,n,o)||this;return r.closeOnSelect=!0,r}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t.prototype.onKeyDown=function(e){},t}(NovoChipsElement),NovoChipsModule=function(){return function(){}}(),DATE_PICKER_VALUE_ACCESSOR={provide:_angular_forms__WEBPACK_IMPORTED_MODULE_34__.NG_VALUE_ACCESSOR,useExisting:Object(_angular_core__WEBPACK_IMPORTED_MODULE_36__.forwardRef)(function(){return NovoDatePickerElement}),multi:!0},NovoDatePickerElement=function(){function e(e,t){this.labels=e,this.element=t,this.weekStart=0,this.onSelect=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter(!1),this.weekdays=[],this.months=[],this.years=[],this.view="days",this.rangeSelectMode="startDate",this._onChange=function(){},this._onTouched=function(){}}return e.prototype.ngOnInit=function(){for(var e=new Date,t=this.minYear?Number(this.minYear):e.getFullYear()-100,n=this.maxYear?Number(this.maxYear):e.getFullYear()+10,o=t;o<=n;o++)this.years.push(o);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)},e.prototype.ngOnChanges=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))},e.prototype.setupWeekdays=function(){var e=this.labels.getWeekdays();if(!Helpers.isBlank(this.weekStart)&&this.weekStart>0&&this.weekStart<=6){var t=e.splice(this.weekStart);e=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.g)(t,e)}return e},e.prototype.isSelectingRange=function(e,t,n,o,r,i,a){if(e&&!a){var s="endDate"===i&&n&&o&&Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.isAfter)(t,o)&&Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.isBefore)(t,r),l="startDate"===i&&n&&o&&Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.isBefore)(t,n)&&Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.isAfter)(t,r),c=!n&&o&&Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.isBefore)(t,o)&&Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.isAfter)(t,r);return n&&!o&&Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.isAfter)(t,n)&&Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.isBefore)(t,r)||c||l||s}return!1},e.prototype.isEndFill=function(e,t,n,o){return!!(e&&o&&n)&&!Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.isSameDay)(n,o)&&Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.isSameDay)(t,o)&&Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.isAfter)(t,n)},e.prototype.isStartFill=function(e,t,n,o){return!!(e&&o&&n)&&!Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.isSameDay)(n,o)&&Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.isSameDay)(t,n)&&Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.isBefore)(t,o)},e.prototype.isFiller=function(e,t,n,o){return!!(e&&o&&n)&&(Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.isAfter)(t,n)&&Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.isBefore)(t,o)||Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.isSameDay)(t,n)||Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.isSameDay)(t,o))},e.prototype.isSelected=function(e,t,n,o){return e?t&&(n&&t.getDate()===n.getDate()&&t.getMonth()===n.getMonth()&&t.getFullYear()===n.getFullYear()||o&&t.getDate()===o.getDate()&&t.getMonth()===o.getMonth()&&t.getFullYear()===o.getFullYear()):t.getDate()===n.getDate()&&t.getMonth()===n.getMonth()&&t.getFullYear()===n.getFullYear()},e.prototype.isDisabled=function(e,t,n){return Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.isBefore)(e,t)||Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.isAfter)(e,n)},e.prototype.updateView=function(e,t,n){if(e&&null===e.startDate)this.clearRange();else{e||this.clearRange();var o=e?new Date(e):new Date;o=this.removeTime(o),this.month=new Date(o),this.monthLabel=this.labels.formatDateWithFormat(this.month,{month:"short"});var r=new Date(o.getTime());r.setDate(1),this.removeTime(r.setDate(1)),this.buildMonth(r,this.month),n&&this.select(null,{date:o},t)}},e.prototype.setToday=function(){var e=new Date;this.updateView(e,!0,!0),this.open(null,"days")},e.prototype.clearRange=function(){this.selected=null,this.selectedLabel=this.labels.startDate,this.selected2=null,this.selected2Label=this.labels.endDate},e.prototype.setMonth=function(e){var t=this.month?this.month:new Date,n=Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.setMonth)(t,e);this.updateView(n,!0,!1),this.open(null,"days")},e.prototype.setYear=function(e){var t=this.month?this.month:new Date,n=Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.setYear)(t,e);this.updateView(n,!0,!1),this.open(null,"days")},e.prototype.select=function(e,t,n){Helpers.swallowEvent(e),this.range?this.weekRangeSelect?(this.selected=Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.startOfWeek)(t.date,{weekStartsOn:this.weekStart}),this.selected2=Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.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(date_fns__WEBPACK_IMPORTED_MODULE_33__.startOfDay)(t.date),this.selectedLabel=this.labels.formatDateWithFormat(this.selected,{month:"short",day:"2-digit",year:"numeric"}),this.selected2&&Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.isAfter)(t.date,this.selected2)&&(this.selected2=null,this.selected2Label=this.labels.endDate),e&&(this.rangeSelectMode="endDate")):"endDate"===this.rangeSelectMode&&(this.selected2=Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.endOfDay)(t.date),this.selected2Label=this.labels.formatDateWithFormat(this.selected2,{month:"short",day:"2-digit",year:"numeric"}),this.selected&&Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.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))},e.prototype.fireRangeSelect=function(){Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.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}})},e.prototype.open=function(e,t){var n=this;Helpers.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."+n.view+" ."+("years"===n.view?"year":"month")+".selected");e&&t&&(e.scrollTop=t.offsetTop-100)}),this.updateHeading()},e.prototype.prevMonth=function(e){Helpers.swallowEvent(e);var t=Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.subMonths)(this.month,1);this.updateView(t,!1,!1)},e.prototype.nextMonth=function(e){Helpers.swallowEvent(e);var t=Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.addMonths)(this.month,1);this.updateView(t,!1,!1)},e.prototype.updateHeading=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()})},e.prototype.removeTime=function(e){var t=new Date(e);return t.setHours(12),t.setSeconds(0),t.setMilliseconds(0),t},e.prototype.buildMonth=function(e,t){this.weeks=[];for(var n=!1,o=Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.startOfWeek)(e,{weekStartsOn:this.weekStart}),r=o.getMonth(),i=0;!n;)this.weeks.push({days:this.buildWeek(new Date(o.getTime()),t)}),o=Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.addDays)(o,7),n=i++>2&&r!==o.getMonth(),r=o.getMonth()},e.prototype.buildWeek=function(e,t){for(var n=[],o=0;o<7;o++)n.push({name:this.weekdays[o],number:e.getDate(),isToday:Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.isToday)(e),date:e}),e=Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.addDays)(e,1);return n},e.prototype.toggleRangeSelect=function(e){this.rangeSelectMode=e},e.prototype.rangeHover=function(e,t){this.hoverDay=t.date},e.prototype.writeValue=function(e){this.model=e,Helpers.isDate(e)&&this.updateView(e,!1,!0)},e.prototype.registerOnChange=function(e){this._onChange=e},e.prototype.registerOnTouched=function(e){this._onTouched=e},e}(),DateFormatService=function(){function e(e){this.labels=e}return e.prototype.getTimeMask=function(e){var t,n,o,r=[/\d/,/\d/,/:/,/\d/,/\d/],i=this.labels.timeFormatPlaceholderAM.toLowerCase();if(e)return r;if((o=i.split("hh:mm"))&&o.length){r=[];try{for(var a=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.h)(o),s=a.next();!s.done;s=a.next()){var l=s.value;if(""===l)r=r.concat([/\d/,/\d|:/,/:|\d/,/\d|\w|\s/,/\d|\s|\w/]);else if(l.length)for(var c=0;c<l.length;c++)r.push(/\s|\w|\d|\./)}}catch(u){t={error:u}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}}return r},e.prototype.getDateMask=function(){return[/\d/,/\d|\/|\.|\-/,/\/|\.|\-|\d/,/\d|\/|\.|\-/,/\d|\/|\.|\-/,/\d|\/|\.|\-/,/\d|\/|\.|\-/,/\d|\/|\.|\-/,/\d/,/\d/]},e.prototype.getDateTimeMask=function(e){return void 0===e&&(e=!1),Object(tslib__WEBPACK_IMPORTED_MODULE_35__.g)(this.getDateMask(),[/\,?/,/\s/],this.getTimeMask(e))},e.prototype.getTimePlaceHolder=function(e){return e?this.labels.timeFormatPlaceholder24Hour:this.labels.timeFormatPlaceholderAM},e.prototype.parseDateString=function(e){var t,n,o,r,i,a=this.labels.dateFormatString(),s=new Date;if(a=Helpers.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 l=1;l<4;l++)t[l].includes("m")?r=parseInt(n[l])-1:t[l].includes("d")?i=parseInt(n[l]):o=parseInt(n[l]);r>=0&&r<=11&&o>1900&&i>0&&i<=31&&(s=new Date(o,r,i))}else if(t&&4===t.length&&e.length>=1){var c=/\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(/\/|\.|\-/);c&&3===c.length&&this.isValidDatePart(c[2],t[2])&&!h?e=""+e+d[1]:u&&2===u.length&&this.isValidDatePart(u[1],t[1])&&!h&&(e=""+e+d[1])}return[s,e]},e.prototype.parseTimeString=function(e,t){var n,o,r,i=new Date,a=this.labels.timeFormatAM,s=this.labels.timeFormatPM;if(!e||!e.includes(":"))return[i,e];if(!t&&a&&s){var l=[],c=!1;if(a=this.labels.timeFormatAM.toLowerCase(),s=this.labels.timeFormatPM.toLowerCase(),(e=e.toLowerCase()).includes(a)?l=e.split(a):e.includes(s)&&(l=e.split(s),c=!0),l&&l.length)try{for(var u=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.h)(l),d=u.next();!d.done;d=u.next()){var h=d.value;h&&h.trim().includes(":")&&(r=h.trim().split(":"))}}catch(f){n={error:f}}finally{try{d&&!d.done&&(o=u.return)&&o.call(u)}finally{if(n)throw n.error}}if(r&&r.length&&2===r.length){var p=parseInt(r[0]);12===p&&c?p=12:c?p+=12:12===p&&(p=0),i.setHours(p),i.setMinutes(parseInt(r[1])),i.setSeconds(0)}}else(r=/(\d{1,2}):(\d{2})/.exec(e))&&r.length&&3===r.length&&(i.setHours(parseInt(r[1])),i.setMinutes(parseInt(r[2])),i.setSeconds(0));return[i,e]},e.prototype.parseString=function(e,t,n){switch(n){case"datetime":var o=e.replace(/-/g,"/").split(" "),r=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.f)(this.parseDateString(o[0]),2),i=r[0],a=r[1];if(o.length>1){var s=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.f)(this.parseTimeString(o[1],t),2),l=s[0],c=s[1];return[new Date(i.setHours(l.getHours(),l.getMinutes())),a+" "+c]}return[i,a];case"date":return this.parseDateString(e);case"time":return this.parseTimeString(e,t);default:return}},e.prototype.isValidDatePart=function(e,t){var n=parseInt(e);return!(!t.includes("m")||!(n>=2||2===e.length))||!(!t.includes("d")||!(n>=4||2===e.length))||!!(t.includes("y")&&n>=1e3)},e}(),DATE_VALUE_ACCESSOR={provide:_angular_forms__WEBPACK_IMPORTED_MODULE_34__.NG_VALUE_ACCESSOR,useExisting:Object(_angular_core__WEBPACK_IMPORTED_MODULE_36__.forwardRef)(function(){return NovoDatePickerInputElement}),multi:!0},NovoDatePickerInputElement=function(){function e(e,t,n,o){this.element=e,this.labels=t,this._changeDetectorRef=n,this.dateFormatService=o,this.formattedValue="",this._onChange=function(){},this._onTouched=function(){},this.textMaskEnabled=!0,this.allowInvalidDate=!1,this.disabled=!1,this.blurEvent=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.focusEvent=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.placeholder=this.labels.dateFormatString().toUpperCase()||this.labels.dateFormatPlaceholder}return e.prototype.ngOnInit=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:text_mask_addons_dist_createAutoCorrectedDatePipe__WEBPACK_IMPORTED_MODULE_6___default()(this.format||this.labels.dateFormatString().toLowerCase()),keepCharPositions:!1,guide:!0}},e.prototype.openPanel=function(){this.disabled||this.overlay.openPanel()},e.prototype.closePanel=function(){this.overlay.closePanel()},Object.defineProperty(e.prototype,"panelOpen",{get:function(){return this.overlay&&this.overlay.panelOpen},enumerable:!0,configurable:!0}),e.prototype._handleKeydown=function(e){e.keyCode!==_angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_9__.e&&e.keyCode!==_angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_9__.d&&e.keyCode!==_angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_9__.k||!this.panelOpen||(this._handleEvent(e,!0),this.closePanel(),e.stopPropagation())},e.prototype._handleInput=function(e){document.activeElement===e.target&&this._handleEvent(e,!1)},e.prototype._handleBlur=function(e){this.blurEvent.emit(e)},e.prototype._handleFocus=function(e){this.openPanel(),this.focusEvent.emit(e)},e.prototype._handleEvent=function(e,t){this.formatDate(e.target.value,t),this.openPanel()},e.prototype.formatDate=function(e,t){try{var n=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.f)(this.dateFormatService.parseString(e,!1,"date"),2)[0];if(isNaN(n.getUTCDate()))this.dispatchOnChange(null,t);else{var o=new Date(n);this.dispatchOnChange(o,t)}}catch(r){}},e.prototype.writeValue=function(e){var t=this;Promise.resolve(null).then(function(){return t._setTriggerValue(e)})},e.prototype.registerOnChange=function(e){this._onChange=e},e.prototype.registerOnTouched=function(e){this._onTouched=e},e.prototype.setDisabledState=function(e){this.disabled=e},e.prototype.dispatchOnChange=function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1),e!==this.value&&(this._onChange(e),t?!n&&this.writeValue(e):!n&&this._setCalendarValue(e))},e.prototype._setTriggerValue=function(e){this._setCalendarValue(e),this._setFormValue(e),this._changeDetectorRef.markForCheck()},e.prototype._setCalendarValue=function(e){e instanceof Date&&this.value instanceof Date&&(e=new Date(e.setHours(this.value.getHours(),this.value.getMinutes()))),this.value=e},e.prototype._setFormValue=function(e){if(this.value){var t=this.formatDateValue(this.value);this.formattedValue=t}},e.prototype.setValueAndClose=function(e){e&&e.date&&this.dispatchOnChange(e.date,!0),this.closePanel()},e.prototype.clearValue=function(){this.formattedValue="",this.dispatchOnChange(null)},e.prototype.formatDateValue=function(e){var t=e;try{return e?this.userDefinedFormat&&Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.isValid)(e)?Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.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""}},Object.defineProperty(e.prototype,"hasValue",{get:function(){return!Helpers.isEmpty(this.value)},enumerable:!0,configurable:!0}),e}(),NovoDatePickerModule=function(){return function(){}}(),TIME_PICKER_VALUE_ACCESSOR={provide:_angular_forms__WEBPACK_IMPORTED_MODULE_34__.NG_VALUE_ACCESSOR,useExisting:Object(_angular_core__WEBPACK_IMPORTED_MODULE_36__.forwardRef)(function(){return NovoTimePickerElement}),multi:!0},NovoTimePickerElement=function(){function e(){this.military=!1,this.analog=!1,this.inline=!1,this.onSelect=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.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 e.prototype.flatten=function(e){var t;return(t=Array.prototype).concat.apply(t,Object(tslib__WEBPACK_IMPORTED_MODULE_35__.g)(e))},e.prototype.ngOnInit=function(){if(this.military)this.HOURS=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.g)(["0"],this.HOURS,["13","14","15","16","17","18","19","20","21","22","23"]),this.increments=this.flatten(Object(tslib__WEBPACK_IMPORTED_MODULE_35__.g)(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(Object(tslib__WEBPACK_IMPORTED_MODULE_35__.g)(e.map(function(e){return[e+":00 AM",e+":15 AM",e+":30 AM",e+":45 AM"]}),e.map(function(e){return[e+":00 PM",e+":15 PM",e+":30 PM",e+":45 PM"]})))}this.ngOnChanges()},e.prototype.ngOnChanges=function(e){this.model?this.init(this.model,!1):(this.selected=null,this.init(new Date,!1))},e.prototype.init=function(e,t){var n=new Date(e),o=n.getHours(),r=n.getMinutes();this.military||(this.meridian=o>=12?"pm":"am",o=(o%=12)||12),r=r<10?"0"+r:r,this.setHours(null,o,t),this.setMinutes(null,r,t),this.checkBetween(r)},e.prototype.checkBetween=function(e){this.inBetween=this.MINUTES.indexOf(String(e))<0},e.prototype.setValue=function(e,t){Helpers.swallowEvent(e),this.selected=t;var n=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.f)(t.split(" "),2),o=n[0],r=n[1],i=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.f)(o.split(":"),2),a=i[1];this.hours=i[0],this.minutes=a,this.meridian=r,this.dispatchChange()},e.prototype.setHours=function(e,t,n){Helpers.swallowEvent(e),this.hours=t,this.hoursClass="hour-"+t,this.activeHour=t,n&&this.dispatchChange()},e.prototype.setMinutes=function(e,t,n){Helpers.swallowEvent(e),this.minutes=t,this.minutesClass="min-"+t,this.activeMinute=t,this.checkBetween(t),n&&this.dispatchChange()},e.prototype.setPeriod=function(e,t,n){Helpers.swallowEvent(e),this.meridian=t,n&&this.dispatchChange()},e.prototype.dispatchChange=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=this.hours+":"+this.minutes+" "+this.meridian,this.onSelect.next({hours:e,minutes:this.minutes,meridian:this.meridian,date:t,text:this.value}),this._onChange(t)},e.prototype.writeValue=function(e){this.model=e,Helpers.isDate(e)&&this.init(e,!1)},e.prototype.registerOnChange=function(e){this._onChange=e},e.prototype.registerOnTouched=function(e){this._onTouched=e},e}(),DATE_VALUE_ACCESSOR$1={provide:_angular_forms__WEBPACK_IMPORTED_MODULE_34__.NG_VALUE_ACCESSOR,useExisting:Object(_angular_core__WEBPACK_IMPORTED_MODULE_36__.forwardRef)(function(){return NovoTimePickerInputElement}),multi:!0},NovoTimePickerInputElement=function(){function e(e,t,n,o){this.element=e,this.labels=t,this.dateFormatService=n,this._changeDetectorRef=o,this.formattedValue="",this._onChange=function(){},this._onTouched=function(){},this.military=!1,this.disabled=!1,this.blurEvent=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.focusEvent=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter}return e.prototype.ngOnInit=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?text_mask_addons_dist_createAutoCorrectedDatePipe__WEBPACK_IMPORTED_MODULE_6___default()("HH:MM"):text_mask_addons_dist_createAutoCorrectedDatePipe__WEBPACK_IMPORTED_MODULE_6___default()("mm:MM"),keepCharPositions:!1,guide:!0}},e.prototype.openPanel=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)})}},e.prototype.closePanel=function(){this.overlay.closePanel()},Object.defineProperty(e.prototype,"panelOpen",{get:function(){return this.overlay&&this.overlay.panelOpen},enumerable:!0,configurable:!0}),e.prototype._handleKeydown=function(e){e.keyCode!==_angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_9__.e&&e.keyCode!==_angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_9__.d&&e.keyCode!==_angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_9__.k||!this.panelOpen||(this.closePanel(),e.stopPropagation(),e.stopImmediatePropagation())},e.prototype._handleInput=function(e){if(document.activeElement===e.target){var t=e.target.value;if(this.military?5===t.replace(/_/g,"").length:8===t.replace(/_/g,"").length){var n=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.f)(this.dateFormatService.parseString(t,this.military,"time"),2);this.dispatchOnChange(n[0])}else this.dispatchOnChange(null);this.openPanel();var o=Number(t.split(":")[0]);this.scrollToIndex(4*o)}},e.prototype._handleBlur=function(e){this.blurEvent.emit(e)},e.prototype._handleFocus=function(e){this.openPanel(),this.focusEvent.emit(e)},e.prototype.writeValue=function(e){var t=this;Promise.resolve(null).then(function(){return t._setTriggerValue(e)})},e.prototype.registerOnChange=function(e){this._onChange=e},e.prototype.registerOnTouched=function(e){this._onTouched=e},e.prototype.setDisabledState=function(e){this.disabled=e},e.prototype.dispatchOnChange=function(e,t){void 0===t&&(t=!1),e!==this.value&&(this._onChange(e),!t&&this.writeValue(e))},e.prototype._setTriggerValue=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,this.value&&(this.formattedValue=this.formatDateValue(this.value)),this._changeDetectorRef.markForCheck()},e.prototype.setValue=function(e){e&&e.date&&this.dispatchOnChange(e.date)},e.prototype.setValueAndClose=function(e){this.setValue(e),this.closePanel()},e.prototype.clearValue=function(){this.formattedValue="",this.dispatchOnChange(null)},e.prototype.formatDateValue=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},Object.defineProperty(e.prototype,"hasValue",{get:function(){return!Helpers.isEmpty(this.value)},enumerable:!0,configurable:!0}),e.prototype.scrollToIndex=function(e){var t=this.overlay.overlayRef.overlayElement.querySelector(".increments"),n=t.querySelectorAll("novo-list-item")[e];n&&(t.scrollTop=n.offsetTop)},e}(),NovoTimePickerModule=function(){return function(){}}(),DATE_TIME_PICKER_VALUE_ACCESSOR={provide:_angular_forms__WEBPACK_IMPORTED_MODULE_34__.NG_VALUE_ACCESSOR,useExisting:Object(_angular_core__WEBPACK_IMPORTED_MODULE_36__.forwardRef)(function(){return NovoDateTimePickerElement}),multi:!0},NovoDateTimePickerElement=function(){function e(e,t){this.labels=e,this.element=t,this.onSelect=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter(!1),this.componentTabState="date",this.datePickerValue=new Date,this.timePickerValue=new Date,this._onChange=function(){},this._onTouched=function(){}}return e.prototype.toggleView=function(e){this.componentTabState=e},e.prototype.setDateLabels=function(e){this.selectedLabel=this.labels.formatDateWithFormat(e,{month:"short",day:"2-digit",year:"numeric"})},e.prototype.setTimeLabels=function(e){var t=e.getHours(),n=e.getMinutes();this.meridian=e.toLocaleTimeString().slice(-2),this.military||(t="PM"===this.meridian&&t>12?t-12:t,"PM"===this.meridian&&24===t?t=12:"AM"===this.meridian&&0===t&&(t=12)),this.hours=t.toString(),this.minutes=1===n.toString().length?"0"+n.toString():n.toString()},e.prototype.onDateSelected=function(e){this.datePickerValue=e.date,this.model=this.createFullDateValue(this.datePickerValue,this.timePickerValue),this.setDateLabels(this.model),this.onSelect.emit({date:this.model}),this._onChange(this.model),this.toggleView("time")},e.prototype.onTimeSelected=function(e){this.timePickerValue=e.date,this.model=this.createFullDateValue(this.model,this.timePickerValue),this.setTimeLabels(this.model),this.onSelect.emit({date:this.model}),this._onChange(this.model)},e.prototype.createFullDateValue=function(e,t){return Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.setMilliseconds)(Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.setSeconds)(Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.setMinutes)(Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.setHours)(e,Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.getHours)(t)),Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.getMinutes)(t)),Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.getSeconds)(t)),Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.getMilliseconds)(t))},e.prototype.writeValue=function(e){this.model=e,Helpers.isEmpty(e)?this.model=new Date:isNaN(e)||(this.model=new Date(e)),this.datePickerValue=this.model,this.timePickerValue=this.model,Helpers.isDate(this.model)&&(this.setDateLabels(this.model),this.setTimeLabels(this.model))},e.prototype.registerOnChange=function(e){this._onChange=e},e.prototype.registerOnTouched=function(e){this._onTouched=e},e}(),DATE_VALUE_ACCESSOR$2={provide:_angular_forms__WEBPACK_IMPORTED_MODULE_34__.NG_VALUE_ACCESSOR,useExisting:Object(_angular_core__WEBPACK_IMPORTED_MODULE_36__.forwardRef)(function(){return NovoDateTimePickerInputElement}),multi:!0},NovoDateTimePickerInputElement=function(){function e(e,t,n){this.element=e,this.labels=t,this._changeDetectorRef=n,this._onChange=function(){},this._onTouched=function(){},this.military=!1,this.disabled=!1,this.blurEvent=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.focusEvent=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter}return e.prototype.writeValue=function(e){var t=this;this.datePart=Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.isDate)(e)?Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.parse)(e):e,this.timePart=Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.isDate)(e)?Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.parse)(e):e,Promise.resolve(null).then(function(){return t._setTriggerValue(e)})},e.prototype.updateDate=function(e){this.datePart=e,this.checkParts()},e.prototype.updateTime=function(e){this.timePart=e,this.checkParts()},e.prototype.handleBlur=function(e){this.blurEvent.emit(e)},e.prototype.handleFocus=function(e){this.focusEvent.emit(e)},e.prototype.checkParts=function(){try{if(this.datePart instanceof Date&&this.timePart instanceof Date){var e=new Date(this.datePart.getFullYear(),this.datePart.getMonth(),this.datePart.getDate(),this.timePart.getHours(),this.timePart.getMinutes());this.dispatchOnChange(e)}else this.dispatchOnChange(null)}catch(t){this.dispatchOnChange(null)}},e.prototype.registerOnChange=function(e){this._onChange=e},e.prototype.registerOnTouched=function(e){this._onTouched=e},e.prototype.setDisabledState=function(e){this.disabled=e},e.prototype.dispatchOnChange=function(e){e!==this.value&&(this._onChange(e),this._setTriggerValue(e))},e.prototype._setTriggerValue=function(e){this.value=e,this._changeDetectorRef.markForCheck()},e.prototype.setValue=function(e){e&&e.date&&this.dispatchOnChange(e.date)},e.prototype.setValueAndClose=function(e){this.setValue(e)},e.prototype.clearValue=function(){this.dispatchOnChange(null)},Object.defineProperty(e.prototype,"hasValue",{get:function(){return!Helpers.isEmpty(this.value)},enumerable:!0,configurable:!0}),e}(),NovoDateTimePickerModule=function(){return function(){}}(),CKEDITOR_CONTROL_VALUE_ACCESSOR={provide:_angular_forms__WEBPACK_IMPORTED_MODULE_34__.NG_VALUE_ACCESSOR,useExisting:Object(_angular_core__WEBPACK_IMPORTED_MODULE_36__.forwardRef)(function(){return NovoCKEditorElement}),multi:!0},NovoCKEditorElement=function(){function e(e){this.zone=e,this.startupFocus=!1,this.fileBrowserImageUploadUrl="",this.disabled=!1,this.change=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.ready=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.blur=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.focus=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.paste=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.loaded=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this._value=""}return Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(e){e!==this._value&&(this._value=e,this.onChange(e))},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=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}))},e.prototype.ngAfterViewInit=function(){var e=this.config||this.getBaseConfig();this.startupFocus&&(e.startupFocus=!0),this.disabled&&(e.readOnly=!0),this.ckeditorInit(e)},e.prototype.updateValue=function(e){var t=this;this.zone.run(function(){t.value=e,t.onChange(e),t.onTouched(),t.change.emit(e)})},e.prototype.ckeditorInit=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))):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!")},e.prototype.getBaseConfig=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})},e.prototype.writeValue=function(e){this._value=e,this.instance&&this.instance.setData(e)},e.prototype.onChange=function(e){},e.prototype.onTouched=function(e){},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this.disabled=e,this.instance&&CKEDITOR.instances[this.instance.name].setReadOnly(e)},e.prototype.insertText=function(e){var t=e.trim();this.instance.insertText(t)},e}(),NovoNovoCKEditorModule=function(){return function(){}}(),NovoTipWellElement=function(){function e(e){this.labels=e,this.button=!0,this.sanitize=!0,this.confirmed=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.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 e.prototype.ngOnInit=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}},e.prototype.hideTip=function(){this.isLocalStorageEnabled&&localStorage.setItem(this.localStorageKey,JSON.stringify(!1)),this.isActive=!1,this.confirmed.emit()},e}(),NovoTipWellModule=function(){return function(){}}(),NovoTemplateService=function(){function e(){this.templates={default:{},custom:{}}}return e.prototype.getAll=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},e.prototype.addDefault=function(e,t){this.templates.default[e]=t},e.prototype.addCustom=function(e,t){this.templates.custom[e]=t},e}(),NovoTemplate=function(){function e(e){this.template=e}return e.prototype.getType=function(){return this.name},e}(),NovoFieldsetHeaderElement=function(){return function(){}}(),NovoFieldsetElement=function(){return function(){this.controls=[]}}(),NovoDynamicFormElement=function(){function e(e,t){this.element=e,this.templates=t,this.controls=[],this.fieldsets=[],this.hideNonRequiredFields=!0,this.autoFocusFirstField=!1,this.allFieldsRequired=!1,this.allFieldsNotRequired=!1,this.showingAllFields=!1,this.showingRequiredFields=!0,this.numControls=0}return e.prototype.ngOnInit=function(){this.ngOnChanges()},e.prototype.ngOnChanges=function(e){var t=this;this.form.layout=this.layout,this.fieldsets&&this.fieldsets.length||!this.controls||!this.controls.length?this.fieldsets&&this.fieldsets.forEach(function(e){t.numControls=t.numControls+e.controls.length}):(this.fieldsets=[{controls:this.controls}],this.numControls=this.controls.length);var n=[],o=[];this.fieldsets.forEach(function(e){e.controls.forEach(function(e){e.required?n.push(e):o.push(e)})}),this.allFieldsRequired=n.length===this.numControls,this.allFieldsNotRequired=o.length===this.numControls,this.allFieldsNotRequired&&this.hideNonRequiredFields&&this.fieldsets.forEach(function(e){e.controls.forEach(function(e){t.form.controls[e.key].hidden=!1})}),this.form.fieldsets=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.g)(this.fieldsets)},e.prototype.ngAfterContentInit=function(){var e=this;this.customTemplates&&this.customTemplates.length&&this.customTemplates.forEach(function(t){e.templates.addCustom(t.name,t.template)})},e.prototype.showAllFields=function(){var e=this;this.form.fieldsets.forEach(function(t){t.controls.forEach(function(t){var n=e.form.controls[t.key];e.fieldsAlreadyHidden.includes(t.key)||(n.hidden=!1)})}),this.showingAllFields=!0,this.showingRequiredFields=!1},e.prototype.showOnlyRequired=function(e){var t=this;this.fieldsAlreadyHidden=[],this.form.fieldsets.forEach(function(n){n.controls.forEach(function(n){var o=t.form.controls[n.key];o.hidden&&t.fieldsAlreadyHidden.push(n.key),n.required||(o.hidden=!0),e&&!Helpers.isBlank(t.form.value[n.key])&&(!n.isEmpty||n.isEmpty&&n.isEmpty(o))&&(o.hidden=!0),o.errors&&(o.hidden=!1)})}),this.showingAllFields=!1,this.showingRequiredFields=!0,this.forceValidation()},Object.defineProperty(e.prototype,"values",{get:function(){return this.form?this.form.value:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isValid",{get:function(){return!!this.form&&this.form.valid},enumerable:!0,configurable:!0}),e.prototype.updatedValues=function(){var e=this,t=null;return this.form.fieldsets.forEach(function(n){n.controls.forEach(function(n){(e.form.controls[n.key].dirty||n.dirty)&&(t||(t={}),t[n.key]=e.form.value[n.key])})}),t},e.prototype.forceValidation=function(){var e=this;Object.keys(this.form.controls).forEach(function(t){var n=e.form.controls[t];n.required&&Helpers.isBlank(e.form.value[n.key])&&(n.markAsDirty(),n.markAsTouched())})},e}(),NovoFormElement=function(){function e(e){this.templates=e,this.hideHeader=!1,this.showingAllFields=!1,this.showingRequiredFields=!0}return Object.defineProperty(e.prototype,"value",{get:function(){return this.form.getRawValue()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isValid",{get:function(){return this.form.valid},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this.form.layout=this.layout},e.prototype.ngAfterContentInit=function(){var e=this;this.customTemplates&&this.customTemplates.length&&this.customTemplates.forEach(function(t){e.templates.addCustom(t.name,t.template)})},e.prototype.showAllFields=function(){var e=this;Object.keys(this.form.controls).forEach(function(t){e.form.controls[t].hidden=!1}),this.showingAllFields=!0,this.showingRequiredFields=!1},e.prototype.showOnlyRequired=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&&!Helpers.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()},e.prototype.forceValidation=function(){var e=this;Object.keys(this.form.controls).forEach(function(t){var n=e.form.controls[t];n.required&&Helpers.isBlank(e.form.value[n.key])&&(n.markAsDirty(),n.markAsTouched())})},e}(),NovoFormControl=function(e){function t(t,n){var o=e.call(this,t,n.validators,n.asyncValidators)||this;return o.displayValueChanges=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,o.valueHistory=[],o.validators=n.validators,o.initialValue=t,o.valueHistory.push(t),o.key=n.key,o.label=n.label,o.readOnly=n.readOnly,o.hidden=n.hidden,o.encrypted=n.encrypted,o.config=n.config,o.type=n.type,o.subType=n.subType,o.required=n.required,o.hasRequiredValidator=o.required,o.tooltip=n.tooltip,o.tooltipPosition=n.tooltipPosition,o.tooltipSize=n.tooltipSize,o.tooltipPreline=n.tooltipPreline,o.removeTooltipArrow=n.removeTooltipArrow,o.tooltipAutoPosition=n.tooltipAutoPosition,o.label=n.label,o.name=n.name,o.required=n.required,o.sortOrder=n.sortOrder,o.controlType=n.controlType,o.placeholder=n.placeholder,o.multiple=n.multiple,o.headerConfig=n.headerConfig,o.optionsType=n.optionsType,o.readOnly=n.readOnly,o.layoutOptions=n.layoutOptions,o.military=n.military,o.dateFormat=n.dateFormat,o.currencyFormat=n.currencyFormat,o.startDate=n.startDate,o.endDate=n.endDate,o.textMaskEnabled=n.textMaskEnabled,o.textMaskEnabled=n.textMaskEnabled,o.maskOptions=n.maskOptions,o.allowInvalidDate=n.allowInvalidDate,o.maxlength=n.maxlength,o.minlength=n.minlength,o.closeOnSelect=n.closeOnSelect,o.interactions=n.interactions,o.checkboxLabel=n.checkboxLabel,o.restrictFieldInteractions=n.restrictFieldInteractions,o.appendToBody=n.appendToBody,o.appendToBody&¬ify("'appendToBody' has been deprecated. Please remove this attribute."),o.parentScrollSelector=n.parentScrollSelector,o.description=n.description,o.options=n.options,o.tipWell=n.tipWell,o.customControlConfig=n.customControlConfig,o.warning=n.warning,o.readOnly?o.disable():o.enable(),o}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t.prototype.hide=function(e){void 0===e&&(e=!0),this.hidden=!0,e&&this.setValue(null)},t.prototype.show=function(){this.hidden=!1},t.prototype.setRequired=function(e){if(this.required=e,this.required&&!this.hasRequiredValidator)(t=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.g)(this.validators)).push(_angular_forms__WEBPACK_IMPORTED_MODULE_34__.Validators.required),this.setValidators(t),this.updateValueAndValidity({emitEvent:!1}),this.hasRequiredValidator=this.required;else if(!this.required&&this.hasRequiredValidator){var t;t=(t=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.g)(this.validators)).filter(function(e){return e!==_angular_forms__WEBPACK_IMPORTED_MODULE_34__.Validators.required}),this.setValidators(t),this.updateValueAndValidity({emitEvent:!1}),this.hasRequiredValidator=this.required}},t.prototype.setValue=function(t,n){var o=this,r=void 0===n?{}:n,i=r.onlySelf,a=r.emitEvent,s=r.emitModelToViewChange,l=r.emitViewToModelChange;this.markAsDirty(),this.markAsTouched(),this.displayValueChanges.emit(t),e.prototype.setValue.call(this,t,{onlySelf:i,emitEvent:a,emitModelToViewChange:s,emitViewToModelChange:l}),clearTimeout(this.historyTimeout),this.historyTimeout=setTimeout(function(){o.valueHistory.push(t)},300)},t.prototype.setReadOnly=function(e){this.readOnly=e,this.readOnly?this.disable():this.enable()},t.prototype.disable=function(t){void 0===t&&(t={emitEvent:!1}),void 0===t.emitEvent&&(t.emitEvent=!1),e.prototype.disable.call(this,t)},t.prototype.enable=function(t){void 0===t&&(t={emitEvent:!1}),void 0===t.emitEvent&&(t.emitEvent=!1),e.prototype.enable.call(this,t)},t.prototype.markAsInvalid=function(e){this.markAsDirty(),this.markAsTouched(),this.setErrors(Object.assign({},this.errors,{custom:e}))},t}(_angular_forms__WEBPACK_IMPORTED_MODULE_34__.FormControl),ControlConfig=function(){return function(){}}(),BaseControl=function(e){function t(t,n){void 0===t&&(t="BaseControl"),void 0===n&&(n={});var o=e.call(this)||this;return o.__type="BaseControl",o.__type=t,o.__config=n,o.validators=n.validators||[],o.asyncValidators=n.asyncValidators||[],o.value=n.value,o.key=n.key||"",o.label=n.label||"",o.checkboxLabel=n.checkboxLabel,o.name=n.name||"",o.required=!!n.required,o.hidden=!!n.hidden,o.encrypted=!!n.encrypted,o.sortOrder=void 0===n.sortOrder?1:n.sortOrder,o.controlType=n.controlType||"",o.type=n.type,o.subType=n.subType,o.metaType=n.metaType,o.placeholder=n.placeholder||"",o.config=n.config||null,o.dirty=!(null==n.value),o.multiple=!!n.multiple,o.headerConfig=n.headerConfig||null,o.currencyFormat=n.currencyFormat||null,o.associatedEntity=n.associatedEntity||null,o.optionsType=n.optionsType||null,o.options=n.options||[],o.forceClear=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,o.readOnly=!!n.readOnly||!!n.disabled,o.disabled=!!n.disabled,o.layoutOptions=n.layoutOptions||{},o.military=!!n.military,o.dateFormat=n.dateFormat,o.textMaskEnabled=n.textMaskEnabled,o.maskOptions=n.maskOptions,o.allowInvalidDate=n.allowInvalidDate,o.startDate=n.startDate,o.endDate=n.endDate,o.restrictFieldInteractions=!!n.restrictFieldInteractions,Helpers.isEmpty(n.warning)||(o.warning=n.warning),o.required&&o.validators.push(_angular_forms__WEBPACK_IMPORTED_MODULE_34__.Validators.required),Helpers.isBlank(n.maxlength)||(o.maxlength=n.maxlength,o.validators.push(_angular_forms__WEBPACK_IMPORTED_MODULE_34__.Validators.maxLength(o.maxlength))),Helpers.isBlank(n.minlength)||(o.minlength=n.minlength,o.validators.push(_angular_forms__WEBPACK_IMPORTED_MODULE_34__.Validators.minLength(o.minlength))),o.closeOnSelect=!!n.closeOnSelect,o.interactions=n.interactions,o.dataSpecialization=n.dataSpecialization,o.dataType=n.dataType,o.appendToBody=!!n.appendToBody,o.appendToBody&¬ify("'appendToBody' has been deprecated. Please remove this attribute."),o.parentScrollSelector=n.parentScrollSelector,o.description=n.description,n.tooltip&&(o.tooltip=n.tooltip,o.tooltipPosition=n.tooltipPosition,o.tooltipSize=n.tooltipSize,o.tooltipPreline=n.tooltipPreline,o.removeTooltipArrow=n.removeTooltipArrow,o.tooltipAutoPosition=n.tooltipAutoPosition),o.template=n.template,o.customControlConfig=n.customControlConfig,o.tipWell=n.tipWell,o.width=n.width,o.startupFocus=!!n.startupFocus,n.fileBrowserImageUploadUrl&&(o.fileBrowserImageUploadUrl=n.fileBrowserImageUploadUrl),n.isEmpty&&(o.isEmpty=n.isEmpty),o}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t}(ControlConfig),MAX_INTEGER=2147483647,MIN_YEAR=1753,FormValidators=function(){function e(){}return e.prototype.showStateRequiredFlag=function(e,t){return"state"===e&&!Helpers.isEmpty(t.config.state)&&t.config.state.required&&Helpers.isBlank(t.value.state)&&t.config.state.updated&&!Helpers.isBlank(t.value.countryName)&&t.config.state.pickerConfig&&t.config.state.pickerConfig.defaultOptions&&t.config.state.pickerConfig.defaultOptions.length>0},e.maxInteger=function(e){return e.value<MAX_INTEGER?null:{integerTooLarge:!0}},e.minYear=function(e){return e.value?e.value>=MIN_YEAR?null:{minYear:!0}:null},e.maxDouble=function(e){return e.value<Number.MAX_SAFE_INTEGER?null:{doubleTooLarge:!0}},e.isEmail=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}},e.isValidAddress=function(e){var t=[],n=[],o=null,r=!1;if(e.value&&e.config){var i=!0,a=!0;return["address1","address2","city","state","zip","countryID"].forEach(function(o){Helpers.isEmpty(e.config[o])||((-1===["countryID","state"].indexOf(o)&&e.config[o].required&&!Helpers.isBlank(e.value[o])&&Helpers.isEmpty(e.value[o])||function(e,t){return"countryID"===e&&!Helpers.isEmpty(t.config.countryID)&&t.config.countryID.required&&Helpers.isBlank(t.value.countryName)&&t.config.countryID.updated}(o,e)||function(e,t){return"state"===e&&!Helpers.isEmpty(t.config.state)&&t.config.state.required&&Helpers.isBlank(t.value.state)&&t.config.state.updated&&!Helpers.isBlank(t.value.countryName)&&t.config.state.pickerConfig&&t.config.state.pickerConfig.defaultOptions&&t.config.state.pickerConfig.defaultOptions.length>0}(o,e))&&(i=!1,t.push(e.config[o].label)),!("countryID"!==o&&e.config[o].required&&Helpers.isEmpty(e.value[o])||"countryID"===o&&!Helpers.isEmpty(e.config.countryID)&&e.config.countryID.required&&Helpers.isEmpty(e.value.countryName))||"state"===o&&!Helpers.isBlank(e.value.countryName)&&e.config.state.pickerConfig&&e.config.state.pickerConfig.defaultOptions&&0===e.config.state.pickerConfig.defaultOptions.length||(a=!1),!Helpers.isEmpty(e.config[o].maxlength)&&!Helpers.isEmpty(e.value[o])&&e.value[o].length>e.config[o].maxlength&&(r=!0,n.push(o),a=!1))}),i&&a&&!r||(o={}),i||(o.invalidAddress=!0,o.invalidAddressFields=t),a||(o.invalidAddressForForm=!0),r&&(o.maxlength=!0,o.maxlengthFields=n),o}return null},e}(),AddressControl=function(e){function t(t){var n=e.call(this,"AddressControl",t)||this;return n.controlType="address",n.validators.push(FormValidators.isValidAddress),n}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t}(BaseControl),CheckListControl=function(e){function t(t){var n=e.call(this,"CheckListControl",t)||this;return n.controlType="checklist",n.options=t.options||[],n}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t}(BaseControl),CheckboxControl=function(e){function t(t){var n=e.call(this,"CheckboxControl",t)||this;return n.controlType="checkbox",n}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t}(BaseControl),DateControl=function(e){function t(t){var n=e.call(this,"DateControl",t)||this;return n.controlType="date",n}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t}(BaseControl),DateTimeControl=function(e){function t(t){var n=e.call(this,"DateTimeControl",t)||this;return n.controlType="date-time",n}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t}(BaseControl),EditorControl=function(e){function t(t){var n=e.call(this,"EditorControl",t)||this;return n.controlType="editor",n.minimal=!1,n}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t}(BaseControl),AceEditorControl=function(e){function t(t){var n=e.call(this,"AceEditorControl",t)||this;return n.controlType="ace-editor",n}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t}(BaseControl),FileControl=function(e){function t(t){var n=e.call(this,"FileControl",t)||this;return n.controlType="file",n.placeholder=t.placeholder,n.multiple=t.multiple,n}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t}(BaseControl),NativeSelectControl=function(e){function t(t){var n=e.call(this,"NativeSelectControl",t)||this;return n.controlType="native-select",n.options=[],n.options=t.options||[],n}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t}(BaseControl),PickerControl=function(e){function t(t){var n=e.call(this,"PickerControl",t)||this;return n.controlType="picker",n.options=[],n.options=t.options||[],n}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t}(BaseControl),TablePickerControl=function(e){function t(t){var n=e.call(this,Object.assign(t,{parentScrollSelector:".table-container"}))||this;return n.__type="TablePickerControl",n}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t}(PickerControl),QuickNoteControl=function(e){function t(t){var n=e.call(this,"QuickNoteControl",t)||this;return n.controlType="quick-note",n.options=[],n.options=t.options||[],n}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t}(BaseControl),RadioControl=function(e){function t(t){var n=e.call(this,"RadioControl",t)||this;return n.controlType="radio",n.options=[],n.options=t.options||[],n}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t}(BaseControl),ReadOnlyControl=function(e){function t(t){var n=e.call(this,"ReadOnlyControl",t)||this;return n.controlType="read-only",t.readOnly=!0,n}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t}(BaseControl),SelectControl=function(e){function t(t){var n=e.call(this,"SelectControl",t)||this;return n.controlType="select",n.options=[],n.options=t.options||[],n.placeholder=t.placeholder||"",n}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t}(BaseControl),TextAreaControl=function(e){function t(t){var n=e.call(this,"TextAreaControl",t)||this;return n.controlType="text-area",n}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t}(BaseControl),TextBoxControl=function(e){function t(t){var n=e.call(this,"TextBoxControl",t)||this;return n.controlType="textbox",n.type=n.getTextboxType(t.type)||"",n.subType=t.type||"",n.setValidators(n.subType),n}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t.prototype.setValidators=function(e){switch(e){case"email":this.validators.push(FormValidators.isEmail);break;case"number":case"currency":this.validators.push(FormValidators.maxInteger);break;case"float":case"percentage":this.validators.push(FormValidators.maxDouble);break;case"year":this.validators.push(FormValidators.minYear)}},t.prototype.getTextboxType=function(e){switch(e){case"percentage":case"currency":case"float":case"year":return"number";default:return e}},t}(BaseControl),TilesControl=function(e){function t(t){var n=e.call(this,"TilesControl",t)||this;return n.controlType="tiles",n.options=[],n.options=t.options||[],n}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t}(BaseControl),TimeControl=function(e){function t(t){var n=e.call(this,"TimeControl",t)||this;return n.controlType="time",n}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t}(BaseControl),GroupedControl=function(){return function(e){var t=this;this.__type="GroupedControl",Object.keys(e).forEach(function(n){return t[n]=e[n]})}}(),ControlFactory=function(){function e(){}return e.create=function(e,t){switch(e){case"AddressControl":return new AddressControl(t);case"CheckboxControl":return new CheckboxControl(t);case"CheckListControl":case"CheckListControl":return new CheckListControl(t);case"DateTimeControl":return new DateTimeControl(t);case"EditorControl":return new EditorControl(t);case"FileControl":return new FileControl(t);case"NativeSelectControl":return new NativeSelectControl(t);case"PickerControl":return new PickerControl(t);case"TablePickerControl":return new TablePickerControl(t);case"QuickNoteControl":return new QuickNoteControl(t);case"RadioControl":return new RadioControl(t);case"ReadOnlyControl":return new ReadOnlyControl(t);case"TextAreaControl":return new TextAreaControl(t);case"TextBoxControl":return new TextBoxControl(t);case"SelectControl":return new SelectControl(t);case"TilesControl":return new TilesControl(t);case"TimeControl":return new TimeControl(t);default:return console.warn('[ControlFactory] - unable to find control for type. Make sure to set "editorType" and "editorConfig" on your column',e),null}},e}(),CustomControl=function(e){function t(t){var n=e.call(this,t.template,t)||this;return n.controlType="custom",n.controlType=t.template,n}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t}(BaseControl),NovoFormGroup=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.fieldInteractionEvents=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,t}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getRawValue()},set:function(e){this._value=e},enumerable:!0,configurable:!0}),t.prototype.enableAllControls=function(){for(var e in this.controls)this.controls[e].readOnly&&(this.controls[e].readOnly=!1,this.controls[e].enable())},t.prototype.disableAllControls=function(){for(var e in this.controls)this.controls[e].readOnly||(this.controls[e].readOnly=!0,this.controls[e].disable())},t}(_angular_forms__WEBPACK_IMPORTED_MODULE_34__.FormGroup),OptionsService=function(){function e(){}return e.prototype.getOptionsConfig=function(e,t,n){return{field:"value",format:"$label",options:function(n){return new Promise(function(o,r){n&&n.length?e.get(t.optionsUrl+"?filter="+(n||"")).subscribe(o,r):o([])})}}},e}(),FormUtils=function(){function e(e,t){this.labels=e,this.optionsService=t,this.ASSOCIATED_ENTITY_LIST=["Candidate","ClientContact","ClientCorporation","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 e.prototype.toFormGroup=function(e){var t={};return e.forEach(function(e){var n=Helpers.isBlank(e.value)?"":e.value;t[e.key]=new NovoFormControl(n,e)}),new NovoFormGroup(t)},e.prototype.emptyFormGroup=function(){return new NovoFormGroup({})},e.prototype.addControls=function(e,t){t.forEach(function(t){var n=Helpers.isBlank(t.value)?"":t.value,o=new NovoFormControl(n,t);e.addControl(t.key,o)})},e.prototype.removeControls=function(e,t){t.forEach(function(t){e.removeControl(t.key)})},e.prototype.toFormGroupFromFieldset=function(e){var t=[];return e.forEach(function(e){t.push.apply(t,Object(tslib__WEBPACK_IMPORTED_MODULE_35__.g)(e.controls))}),this.toFormGroup(t)},e.prototype.hasAssociatedEntity=function(e){return!(!e.associatedEntity||!~this.ASSOCIATED_ENTITY_LIST.indexOf(e.associatedEntity.entity))},e.prototype.determineInputType=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",WorkflowOptionsLookup:"select",SpecializedOptionsLookup:"select"},o={Timestamp:"date",Date:"date",Boolean:"tiles"},r={CHECKBOX:"radio",RADIO:"radio",SELECT:"select",TILES:"tiles"},i={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"].includes(e.dataType)?n[e.dataType]:["WORKFLOW_OPTIONS","SPECIALIZED_OPTIONS"].includes(e.dataSpecialization)?n[e.dataSpecialization]: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(o).indexOf(e.dataType)>-1?t=o[e.dataType]:"TEXTAREA"===e.inputType?t="textarea":e.options&&Object.keys(r).indexOf(e.inputType)>-1&&!e.multiValue?t=r[e.inputType]:e.options&&Object.keys(i).indexOf(e.inputType)>-1&&e.multiValue?t=i[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},e.prototype.isFieldEncrypted=function(e){return e.indexOf("customEncrypted")>-1},e.prototype.getControlForField=function(e,t,n,o,r,i){var a,s;void 0===r&&(r=!1);var l,c=this.determineInputType(e)||e.type,u={metaType:e.type,type:c,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(u,e);var d,h=this.getControlOptions(e,t,n,i);switch(Array.isArray(h)&&"chips"!==c&&"picker"!==c?u.options=h:!Array.isArray(h)||"chips"!==c&&"picker"!==c?h&&(u.config=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.a)({},h,u&&u.config)):u.config={options:h},"year"===c&&(u.maxlength=4),o&&o[e.name]&&(o[e.name].resultsTemplate&&(u.config.resultsTemplate=d=o[e.name].resultsTemplate,delete o[e.name].resultsTemplate),o[e.name].overridePreviewTemplate&&(u.config.overridePreviewTemplate=d=o[e.name].overridePreviewTemplate,delete o[e.name].overridePreviewTemplate),o[e.name].pickerCallback&&(u.config.callback=o[e.name].pickerCallback),o[e.name].type&&(c=o[e.name].type),o[e.name].columns&&(u.config.columns=o[e.name].columns,u.closeOnSelect=!0,delete u.label),o[e.name].warning&&(u.warning=o[e.name].warning),Object.assign(u,o[e.name])),c){case"entitychips":u.multiple=!0,u.config.resultsTemplate=d||EntityPickerResults,u.config.previewTemplate=EntityPickerResult,l=new PickerControl(u);break;case"chips":u.multiple=!0,l=new PickerControl(u);break;case"entitypicker":u.config.resultsTemplate=d||EntityPickerResults,l=new PickerControl(u);break;case"picker":l=new PickerControl(u);break;case"datetime":u.military=!!n&&!!n.military,l=new DateTimeControl(u);break;case"date":u.dateFormat=e.dateFormat,u.textMaskEnabled=e.textMaskEnabled,u.allowInvalidDate=e.allowInvalidDate,u.military=!!n&&!!n.military,l=new DateControl(u);break;case"time":u.military=!!n&&!!n.military,l=new TimeControl(u);break;case"currency":case"money":case"email":case"percentage":case"float":case"number":case"year":"money"===c&&(c="currency"),u.type=c,l=new TextBoxControl(u);break;case"text":l=new TextBoxControl(u);break;case"textarea":l=new TextAreaControl(u);break;case"editor":l=new EditorControl(u);break;case"editor-minimal":(l=new EditorControl(u)).minimal=!0;break;case"tiles":l=new TilesControl(u);break;case"checkbox":u.checkboxLabel=e.checkboxLabel,l=new CheckboxControl(u);break;case"checklist":l=new CheckListControl(u);break;case"radio":l=new RadioControl(u);break;case"select":l=new SelectControl(u);break;case"address":if(u.required=e.required||!1,Helpers.isBlank(u.config)&&(u.config={}),u.config.required=e.required,u.config.readOnly=u.readOnly,e.fields&&e.fields.length)try{for(var p=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.h)(e.fields),f=p.next();!f.done;f=p.next()){var m=f.value;u.config[m.name]={required:!!m.required,hidden:!!m.readOnly},Helpers.isEmpty(m.label)||(u.config[m.name].label=m.label),Helpers.isEmpty(m.maxLength)||(u.config[m.name].maxlength=m.maxLength),u.required=u.required||m.required,m.defaultValue?(Helpers.isBlank(u.value)&&(u.value={}),u.value[m.name]=m.defaultValue):"countryID"===m.name&&(Helpers.isBlank(u.value)&&(u.value={}),u.value[m.name]=1),"state"!==m.name&&"countryID"!==m.name||("countryID"===m.name&&(m.optionsType="Country"),m.optionsUrl||(m.optionsUrl="options/"+m.optionsType),u.config[m.name].pickerConfig=this.getControlOptions(m,t,n,i))}}catch(g){a={error:g}}finally{try{f&&!f.done&&(s=p.return)&&s.call(p)}finally{if(a)throw a.error}}u.isEmpty=this.isAddressEmpty,l=new AddressControl(u);break;case"file":l=new FileControl(u);break;case"custom":l=new CustomControl(u);break;default:l=new TextBoxControl(u)}return l},e.prototype.shouldCreateControl=function(e){return e.systemRequired&&(e.readOnly=!1),"id"!==e.name&&("SYSTEM"!==e.dataSpecialization||-1!==["address","billingAddress","secondaryAddress"].indexOf(e.name))&&!e.readOnly},e.prototype.toControls=function(e,t,n,o,r,i){var a=this;void 0===i&&(i=!1);var s=[];return e&&e.fields&&e.fields.forEach(function(e){if(a.shouldCreateControl(e)){var l=a.getControlForField(e,n,o,r,i);"currency"===l.subType&&(l.currencyFormat=t),s.push(l)}}),s},e.prototype.toTableControls=function(e,t,n,o,r){var i=this.toControls(e,t,n,o,r,!0),a={};return i.forEach(function(e){a[e.key]={editorType:e.__type,editorConfig:e.__config}}),a},e.prototype.toFieldSets=function(e,t,n,o,r,i){var a=this,s=[],l=[];if(e&&e.fields){var c=e.fields.map(function(e){return e.hasOwnProperty("sortOrder")||(e.sortOrder=Number.MAX_SAFE_INTEGER-1),e}).sort(Helpers.sortByField(["sortOrder","name"]));e.sectionHeaders&&e.sectionHeaders.length?(e.sectionHeaders.sort(Helpers.sortByField(["sortOrder","name"])),e.sectionHeaders.forEach(function(e,t){e.enabled&&(e.sortOrder>0&&0===s.length&&(s.push({controls:[]}),l.push({min:0,max:e.sortOrder-1,fieldsetIdx:0})),s.push({title:e.label,icon:e.icon||"bhi-section",controls:[]}),l.push({min:e.sortOrder,max:Number.MAX_SAFE_INTEGER,fieldsetIdx:s.length-1}),t>0&&s.length>1&&(l[s.length-2].max=e.sortOrder-1))}),l.length||(s.push({controls:[]}),l.push({min:0,max:Number.MAX_SAFE_INTEGER,fieldsetIdx:0}))):(s.push({controls:[]}),l.push({min:0,max:Number.MAX_SAFE_INTEGER,fieldsetIdx:0})),c.forEach(function(e){if(a.shouldCreateControl(e)){var c=a.getControlForField(e,n,o,r,void 0,i&&i[e.name]?i[e.name]:null);"currency"===c.subType&&(c.currencyFormat=t);var u=l.find(function(t){return t.min<=e.sortOrder&&e.sortOrder<=t.max||t.min<=e.sortOrder&&t.min===t.max});u&&s[u.fieldsetIdx].controls.push(c)}})}return s.length>0?s:[{controls:this.toControls(e,t,n,o)}]},e.prototype.getControlOptions=function(e,t,n,o){return"Boolean"!==e.dataType||e.options?e.workflowOptions&&o?this.getWorkflowOptions(e.workflowOptions,o):"SPECIALIZED_OPTIONS"===e.dataSpecialization?e.options.filter(function(e){return!e.readOnly}):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}]},e.prototype.getWorkflowOptions=function(e,t){var n;t.id&&(n={value:t.id,label:t.label?t.label:t.id});var o=e[t.id?t.id:"initial"]||[];return n&&!o.find(function(e){return e.value===n.value})&&o.unshift(n),o},e.prototype.setInitialValues=function(e,t,n,o){for(var r=0;r<e.length;r++){var i=e[r],a=t[o?i.key.replace(o,""):i.key];Helpers.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"===i.dataType&&"string"==typeof a&&"skipConversion"!==i.optionsType&&(a=Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.startOfDay)(a)),i.value=a,i.dirty=!n)}},e.prototype.setInitialValuesFieldsets=function(e,t,n){var o=this;e.forEach(function(e){o.setInitialValues(e.controls,t,n)})},e.prototype.forceShowAllControls=function(e){e.forEach(function(e){e.hidden=!1})},e.prototype.forceShowAllControlsInFieldsets=function(e){e.forEach(function(e){e.controls.forEach(function(e){e.hidden=!1})})},e.prototype.forceValidation=function(e){Object.keys(e.controls).forEach(function(t){var n=e.controls[t];n.required&&Helpers.isBlank(e.value[n.key])&&(n.markAsDirty(),n.markAsTouched())})},e.prototype.isAddressEmpty=function(e){var t=!0;return e.value&&e.config&&["address1","address2","city","state","zip","countryID"].forEach(function(n){!("countryID"!==n&&!Helpers.isEmpty(e.config[n])&&e.config[n].required&&(Helpers.isBlank(e.value[n])||Helpers.isEmpty(e.value[n]))||"countryID"===n&&!Helpers.isEmpty(e.config.countryID)&&e.config.countryID.required&&Helpers.isEmpty(e.value.countryName))||"state"===n&&!Helpers.isBlank(e.value.countryName)&&e.config.state.pickerConfig&&e.config.state.pickerConfig.defaultOptions&&0===e.config.state.pickerConfig.defaultOptions.length||(t=!1)}),t},e.prototype.getStartDateFromRange=function(e){return e.minDate?Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.parse)(e.minDate):e.minOffset?Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.addDays)(Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.startOfToday)(),e.minOffset):void 0},e.prototype.getStartDate=function(e){return e.allowedDateRange?this.getStartDateFromRange(e.allowedDateRange):null},e.prototype.inferStartDate=function(e,t){if("Date"===t.dataType){var n=this.getStartDate(t);return n&&(e.startDate=n),n}},e}(),NovoToastService=function(){function e(e){this.componentUtils=e,this.references=[],this.icons={default:"bell",success:"check",info:"info",warning:"warning",danger:"remove"},this.defaults={hideDelay:3500,position:"growlTopRight",theme:"default"}}return Object.defineProperty(e.prototype,"parentViewContainer",{set:function(e){this._parentViewContainer=e},enumerable:!0,configurable:!0}),e.prototype.alert=function(e,t){var n=this;return void 0===t&&(t=NovoToastElement),new Promise(function(o){if(n._parentViewContainer){var r=n.componentUtils.append(t,n._parentViewContainer);n.references.push(r),n.handleAlert(r.instance,e),o(r)}else console.error("No parent view container specified for the ToastService. Set it inside your main application. \nthis.toastService.parentViewContainer = view (ViewContainerRef)")})},e.prototype.isVisible=function(e){return e.show},e.prototype.hide=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)},e.prototype.handleAlert=function(e,t){var n=this;this.setToastOnSession(e,t),setTimeout(function(){n.show(e)},20),e.isCloseable||this.toastTimer(e)},e.prototype.setToastOnSession=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 o=n.customClass||"",r=n.theme||this.defaults.theme,i=n.position||this.defaults.position;e.iconClass="bhi-"+(n.icon||this.icons.default),e.launched=!0,e.alertTheme=r+" "+i+" "+o+" toast-container launched"},e.prototype.show=function(e){e.show=!0,setTimeout(function(){e.animate=!0},25)},e.prototype.toastTimer=function(e){var t=this;e.hideDelay<0||setTimeout(function(){t.hide(e)},e.hideDelay)},e}(),NovoModalService=function(){function e(e){this.componentUtils=e}return Object.defineProperty(e.prototype,"parentViewContainer",{set:function(e){this._parentViewContainer=e},enumerable:!0,configurable:!0}),e.prototype.open=function(e,t){if(void 0===t&&(t={}),!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 NovoModalRef;return n.component=e,n.open(),n.containerRef=this.componentUtils.append(NovoModalContainerElement,this._parentViewContainer,[{provide:NovoModalRef,useValue:n},{provide:NovoModalParams,useValue:t}]),n},e}(),ControlConfirmModal=function(){function e(e,t,n){this.modalRef=e,this.params=t,this.labels=n}return e.prototype.close=function(e){this.modalRef.close(e)},e}(),ControlPromptModal=function(){function e(e,t,n){this.modalRef=e,this.params=t,this.labels=n}return e.prototype.close=function(e){this.modalRef.close(e)},e}(),CustomHttpImpl=function(){function e(e){this.http=e,this.mapFn=function(e){return e}}return e.prototype.get=function(e,t){return this.url=e,this.options=t,this},e.prototype.map=function(e){return this.mapFn=e,this},e.prototype.subscribe=function(e,t){return this.http.get(this.url,this.options).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_25__.a)(this.mapFn)).subscribe(e,t)},e}(),FieldInteractionApi=function(){function e(e,t,n,o,r){var i=this;this.toaster=e,this.modalService=t,this.formUtils=n,this.http=o,this.labels=r,this.getOptionsConfig=function(e,t,n,o){if(n||"optionsUrl"in e||"optionsUrlBuilder"in e||"optionsPromise"in e){var r="format"in e&&e.format||o;return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.a)({options:i.createOptionsFunction(e,t,n)},"emptyPickerMessage"in e&&{emptyPickerMessage:e.emptyPickerMessage},r&&{format:r})}return"options"in e&&Array.isArray(e.options)?{options:Object(tslib__WEBPACK_IMPORTED_MODULE_35__.g)(e.options)}:void 0},this.createOptionsFunction=function(e,t,n){return function(o,r){return"optionsPromise"in e&&e.optionsPromise?e.optionsPromise(o,new CustomHttpImpl(i.http)):"optionsUrlBuilder"in e&&e.optionsUrlBuilder||"optionsUrl"in e&&e.optionsUrl?new Promise(function(n,r){var a="optionsUrlBuilder"in e?e.optionsUrlBuilder(o):e.optionsUrl+"?filter="+(o||"");i.http.get(a).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_25__.a)(function(e){return t?e.map(t):e})).subscribe(n,r)}):n?"where"in e?n(e.where)(o,r):n()(o,r):void 0}}}return Object.defineProperty(e.prototype,"form",{get:function(){return this._form},set:function(e){this._form=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"associations",{get:function(){return this.form.hasOwnProperty("associations")?this.form.associations:{}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"currentEntity",{get:function(){return this.form.hasOwnProperty("currentEntity")?this.form.currentEntity:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"currentEntityId",{get:function(){return this.form.hasOwnProperty("currentEntityId")?this.form.currentEntityId:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isEdit",{get:function(){return!!this.form.hasOwnProperty("edit")&&this.form.edit},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isAdd",{get:function(){return!!this.form.hasOwnProperty("edit")&&!this.form.edit},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"globals",{get:function(){return this._globals},set:function(e){this._globals=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"currentKey",{get:function(){return this._currentKey},set:function(e){this._currentKey=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"appBridge",{get:function(){return this._appBridge},set:function(e){this._appBridge=e},enumerable:!0,configurable:!0}),e.prototype.isActiveControlValid=function(){return!!this.getValue(this.currentKey)},e.prototype.getActiveControl=function(){return this.getControl(this.currentKey)},e.prototype.getActiveKey=function(){return this.currentKey},e.prototype.getActiveValue=function(){return this.getValue(this.currentKey)},e.prototype.getActiveInitialValue=function(){return this.getInitialValue(this.currentKey)},e.prototype.getControl=function(e){return e?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)},e.prototype.getValue=function(e){var t=this.getControl(e);return t?t.value:null},e.prototype.getRawValue=function(e){var t=this.getControl(e);return t?t.rawValue:null},e.prototype.getInitialValue=function(e){var t=this.getControl(e);return t?t.initialValue:null},e.prototype.setValue=function(e,t,n){var o=this.getControl(e);o&&!o.restrictFieldInteractions&&(o.setValue(t,n),this.triggerEvent({controlKey:e,prop:"value",value:t}))},e.prototype.patchValue=function(e,t,n){var o=this.getControl(e);o&&!o.restrictFieldInteractions&&(o.setValue(t,n),this.triggerEvent({controlKey:e,prop:"value",value:t}))},e.prototype.setReadOnly=function(e,t){var n=this.getControl(e);n&&!n.restrictFieldInteractions&&(n.setReadOnly(t),this.triggerEvent({controlKey:e,prop:"readOnly",value:t}))},e.prototype.setRequired=function(e,t){var n=this.getControl(e);n&&!n.restrictFieldInteractions&&(n.setRequired(t),this.triggerEvent({controlKey:e,prop:"required",value:t}))},e.prototype.hide=function(e,t){void 0===t&&(t=!0);var n=this.getControl(e);n&&!n.restrictFieldInteractions&&(n.hide(t),this.disable(e,{emitEvent:!1}),this.triggerEvent({controlKey:e,prop:"hidden",value:!0}))},e.prototype.show=function(e){var t=this.getControl(e);t&&!t.restrictFieldInteractions&&(t.show(),this.enable(e,{emitEvent:!1}),this.triggerEvent({controlKey:e,prop:"hidden",value:!1}))},e.prototype.disable=function(e,t){var n=this.getControl(e);n&&!n.restrictFieldInteractions&&(n.disable(t),this.triggerEvent({controlKey:e,prop:"readOnly",value:!0}))},e.prototype.enable=function(e,t){var n=this.getControl(e);n&&!n.restrictFieldInteractions&&(n.enable(t),this.triggerEvent({controlKey:e,prop:"readOnly",value:!1}))},e.prototype.markAsInvalid=function(e,t){var n=this.getControl(e);n&&n&&!n.restrictFieldInteractions&&n.markAsInvalid(t)},e.prototype.markAsDirty=function(e,t){var n=this.getControl(e);n&&!n.restrictFieldInteractions&&n.markAsDirty(t)},e.prototype.markAsPending=function(e,t){var n=this.getControl(e);n&&!n.restrictFieldInteractions&&n.markAsPending(t)},e.prototype.markAsPristine=function(e,t){var n=this.getControl(e);n&&!n.restrictFieldInteractions&&n.markAsPristine(t)},e.prototype.markAsTouched=function(e,t){var n=this.getControl(e);n&&!n.restrictFieldInteractions&&n.markAsTouched(t)},e.prototype.markAsUntouched=function(e,t){var n=this.getControl(e);n&&!n.restrictFieldInteractions&&n.markAsUntouched(t)},e.prototype.updateValueAndValidity=function(e,t){var n=this.getControl(e);n&&!n.restrictFieldInteractions&&n.updateValueAndValidity(t)},e.prototype.displayToast=function(e){this.toaster&&this.toaster.alert(e)},e.prototype.displayTip=function(e,t,n,o){var r=this.getControl(e);r&&!r.restrictFieldInteractions&&(r.tipWell={tip:t,icon:n,button:o},this.triggerEvent({controlKey:e,prop:"tipWell",value:t}))},e.prototype.setTooltip=function(e,t){var n=this.getControl(e);n&&!n.restrictFieldInteractions&&(n.tooltip=t,t.length>=40&&t.length<=400?(n.tooltipSize="large",n.tooltipPreline=!0):t.length>400&&(n.tooltipSize="extra-large"),this.triggerEvent({controlKey:e,prop:"tooltip",value:t}))},e.prototype.confirmChanges=function(e,t){var n=this,o=this.getProperty(e,"valueHistory"),r=o[o.length-2],i=this.getValue(e),a=this.getProperty(e,"label");return document.activeElement.blur(),this.modalService.open(ControlConfirmModal,{oldValue:r,newValue:i,label:a,message:t,key:e}).onClosed.then(function(t){t||n.setValue(e,r,{emitEvent:!1})})},e.prototype.promptUser=function(e,t){return document.activeElement.blur(),this.modalService.open(ControlPromptModal,{changes:t,key:e}).onClosed},e.prototype.setProperty=function(e,t,n){var o=this.getControl(e);o&&!o.restrictFieldInteractions&&(o[t]=n,this.triggerEvent({controlKey:e,prop:t,value:n}))},e.prototype.getProperty=function(e,t){var n=this.getControl(e);return n&&!n.restrictFieldInteractions?n[t]:null},e.prototype.isValueEmpty=function(e){var t=this.getValue(e);return Helpers.isEmpty(t)},e.prototype.isValueBlank=function(e){var t=this.getValue(e);return Helpers.isBlank(t)},e.prototype.hasField=function(e){return!!this.form.controls[e]},e.prototype.addStaticOption=function(e,t){var n=this.getControl(e),o=t,r=!0;if(n&&!n.restrictFieldInteractions){var i=this.getProperty(e,"options");if(i&&i.length)i[0].value&&!o.value&&(o={value:t,label:t}),i.forEach(function(e){(e.value&&e.value===o.value||e===o)&&(r=!1)}),r&&this.setProperty(e,"options",Object(tslib__WEBPACK_IMPORTED_MODULE_35__.g)(i,[o]));else{var a=this.getProperty(e,"config");a&&(i=a.options)&&Array.isArray(i)&&(i[0].value&&!o.value&&(o={value:t,label:t}),a.options=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.g)(i,[o]),this.setProperty(e,"config",a))}r&&this.triggerEvent({controlKey:e,prop:"options",value:Object(tslib__WEBPACK_IMPORTED_MODULE_35__.g)(i,[o])})}},e.prototype.removeStaticOption=function(e,t){var n=this.getControl(e);if(n&&!n.restrictFieldInteractions){var o=this.getProperty(e,"options");if(o&&o.length){var r=-1;o.forEach(function(e,n){e.value||e.label?e.value!==t&&e.label!==t||(r=n):e===t&&(r=n)}),-1!==r&&o.splice(r,1),this.setProperty(e,"options",Object(tslib__WEBPACK_IMPORTED_MODULE_35__.g)(o))}else{var i=this.getProperty(e,"config");if(i&&(o=i.options)&&Array.isArray(o)){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),i.options=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.g)(o),this.setProperty(e,"config",i)}}this.triggerEvent({controlKey:e,prop:"options",value:n.options})}},e.prototype.modifyPickerConfig=function(e,t,n){this.mutatePickerConfig(e,t,n)},e.prototype.mutatePickerConfig=function(e,t,n){var o=this.getControl(e);if(o&&!o.restrictFieldInteractions){var r=o.config,i=r.minSearchLength,a=r.enableInfiniteScroll,s=r.filteredOptionsCreator,l=r.getLabels,c=r.emptyPickerMessage,u=this.getOptionsConfig(t,n,s,r.format),d=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.a)({},c&&{emptyPickerMessage:c},Number.isInteger(i)&&{minSearchLength:i},a&&{enableInfiniteScroll:a},s&&{filteredOptionsCreator:s},l&&{getLabels:l},u&&u,{resultsTemplate:o.config.resultsTemplate});this.setProperty(e,"config",d),this.triggerEvent({controlKey:e,prop:"pickerConfig",value:t})}},e.prototype.addPropertiesToPickerConfig=function(e,t){var n=this.getControl(e);if(n&&!n.restrictFieldInteractions){var o=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.a)({},n.config,t);this.setProperty(e,"config",o),this.triggerEvent({controlKey:e,prop:"pickerConfig",value:t})}},e.prototype.setLoading=function(e,t){var n=this,o=this.getControl(e);o&&!o.restrictFieldInteractions&&(t?(this.form.controls[e].fieldInteractionloading=!0,o.setErrors({loading:!0}),clearTimeout(this.asyncBlockTimeout),this.asyncBlockTimeout=setTimeout(function(){n.setLoading(e,!1),n.displayTip(e,n.labels.asyncFailure,"info",!1),n.setProperty(e,"_displayedAsyncFailure",!0)},1e4)):(this.form.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}))},e.prototype.addControl=function(t,n,o,r){if(void 0===o&&(o=e.FIELD_POSITIONS.ABOVE_FIELD),!n.key&&!n.name)return console.error('[FieldInteractionAPI] - missing "key" in meta for new field'),null;if(n.key||(n.key=n.name),this.form.controls[n.key])return null;var i,a;if(this.form.controls[t]){switch(i=-1,a=-1,this.form.fieldsets.forEach(function(e,n){e.controls.forEach(function(e,o){e.key===t&&(i=n,a=o)})}),o){case e.FIELD_POSITIONS.ABOVE_FIELD:break;case e.FIELD_POSITIONS.BELOW_FIELD:a+=1;break;case e.FIELD_POSITIONS.TOP_OF_FORM:a=0,i=0;break;case e.FIELD_POSITIONS.BOTTOM_OF_FORM:a=this.form.fieldsets[i=this.form.fieldsets.length-1].controls.length}if(-1!==i&&-1!==a){var s=this.formUtils.getControlForField(n,this.http,{});s.hidden=!1;var l=new NovoFormControl(r,s);this.form.addControl(s.key,l),this.form.fieldsets[i].controls.splice(a,0,s),this.triggerEvent({controlKey:t,prop:"addControl",value:l})}}},e.prototype.removeControl=function(e){if(!this.form.controls[e])return null;var t=this.getControl(e);if(t&&!t.restrictFieldInteractions){var n=-1,o=-1;this.form.fieldsets.forEach(function(t,r){t.controls.forEach(function(t,i){t.key===e&&(n=r,o=i)})}),-1!==n&&-1!==o&&(this.form.removeControl(e),this.form.fieldsets[n].controls.splice(o,1),this.triggerEvent({controlKey:e,prop:"removeControl",value:e}))}},e.prototype.debounce=function(e,t){var n;void 0===t&&(t=50),clearTimeout(n),n=setTimeout(function(){return e()},t)},e.prototype.triggerEvent=function(e){this.form&&this.form.fieldInteractionEvents&&this.form.fieldInteractionEvents.emit(e)},e.FIELD_POSITIONS={ABOVE_FIELD:"ABOVE_FIELD",BELOW_FIELD:"BELOW_FIELD",TOP_OF_FORM:"TOP_OF_FORM",BOTTOM_OF_FORM:"BOTTOM_OF_FORM"},e}(),NovoAutoSize=function(){function e(e){this.element=e}return e.prototype.onInput=function(e){this.adjust()},e.prototype.ngAfterContentInit=function(){var e=this;setTimeout(function(){e.adjust()})},e.prototype.adjust=function(){var e=this.element.nativeElement;e.style.height=e.style.minHeight,e.style.height=e.scrollHeight+"px"},e}(),NovoControlElement=function(e){function t(t,n,o,r,i,a,s){void 0===s&&(s="en-US");var l=e.call(this,t)||this;return l.labels=n,l.dateFormatService=o,l.fieldInteractionApi=r,l.templateService=i,l.changeDetectorRef=a,l.locale=s,l.condensed=!1,l.autoFocus=!1,l.change=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,l.edit=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,l.save=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,l.delete=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,l.upload=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,l.formattedValue="",l.maxLengthMet=!1,l.itemCount=0,l._blurEmitter=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,l._focusEmitter=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,l._focused=!1,l._enteredText="",l._showCount=!1,l.maxLengthMetErrorfields=[],l.templates={},l.loading=!1,l}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),Object.defineProperty(t.prototype,"onBlur",{get:function(){return this._blurEmitter.asObservable()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onFocus",{get:function(){return this._focusEmitter.asObservable()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"maxlengthMetField",{get:function(){var e=this;return this.maxLengthMetErrorfields&&this.maxLengthMetErrorfields.length&&this.maxLengthMetErrorfields.find(function(t){return t===e.focusedField})||""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"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})||""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"showFieldMessage",{get:function(){return!this.errors&&!this.maxLengthMet&&Helpers.isBlank(this.control.description)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"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))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"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},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"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},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"showMessages",{get:function(){return this.showCount||!Helpers.isEmpty(this.form.controls[this.control.key].warning)||!Helpers.isEmpty(this.form.controls[this.control.key].description)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"decimalSeparator",{get:function(){return new Intl.NumberFormat(this.locale).format(1.2)[1]},enumerable:!0,configurable:!0}),t.prototype.ngAfterViewInit=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()})},t.prototype.ngAfterContentInit=function(){var e,t,n=this;if(this.control.interactions&&!this.form.controls[this.control.key].restrictFieldInteractions){var o=function(e){switch(e.event){case"blur":r.valueChangeSubscription=r.onBlur.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_23__.a)(300)).subscribe(function(){n.form.controls[n.control.key].restrictFieldInteractions||n.executeInteraction(e)});break;case"focus":r.valueChangeSubscription=r.onFocus.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_23__.a)(300)).subscribe(function(){n.form.controls[n.control.key].restrictFieldInteractions||n.executeInteraction(e)});break;case"change":r.valueChangeSubscription=r.form.controls[r.control.key].valueChanges.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_23__.a)(300)).subscribe(function(){n.form.controls[n.control.key].restrictFieldInteractions||n.executeInteraction(e)});break;case"init":e.invokeOnInit=!0}e.invokeOnInit&&(r.form.controls[r.control.key].restrictFieldInteractions||r.executeInteraction(e))},r=this;try{for(var i=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.h)(this.control.interactions),a=i.next();!a.done;a=i.next())o(a.value)}catch(s){e={error:s}}finally{try{a&&!a.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}}setTimeout(function(){n.templates=n.templateService.getAll(),n.loading=!1,n.changeDetectorRef.markForCheck()})},t.prototype.ngOnInit=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&&(Helpers.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){Helpers.isEmpty(t)||(e.templateContext.$implicit.percentValue=Number((100*t).toFixed(6).replace(/\.?0*$/,"")))}))},t.prototype.ngOnDestroy=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(),e.prototype.ngOnDestroy.call(this)},Object.defineProperty(t.prototype,"errors",{get:function(){return this.form.controls[this.control.key].errors},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isValid",{get:function(){return this.form.controls[this.control.key].valid},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isDirty",{get:function(){return this.form.controls[this.control.key].dirty||this.control.dirty},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hasValue",{get:function(){return!Helpers.isEmpty(this.form.value[this.control.key])},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"focused",{get:function(){return this._focused},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tooltip",{get:function(){return this.form.controls[this.control.key].tooltip},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tooltipPosition",{get:function(){return Helpers.isBlank(this.form.controls[this.control.key].tooltipPosition)?"right":this.form.controls[this.control.key].tooltipPosition},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tooltipSize",{get:function(){return Helpers.isBlank(this.form.controls[this.control.key].tooltipSize)?"":this.form.controls[this.control.key].tooltipSize},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tooltipPreline",{get:function(){return!Helpers.isBlank(this.form.controls[this.control.key].tooltipPreline)&&this.form.controls[this.control.key].tooltipPreline},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"removeTooltipArrow",{get:function(){return!Helpers.isBlank(this.form.controls[this.control.key].removeTooltipArrow)&&this.form.controls[this.control.key].removeTooltipArrow},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"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","ace-editor","radio","text-area","quick-note"].indexOf(this.form.controls[this.control.key].controlType)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"requiresExtraSpacing",{get:function(){return!("picker"!==this.form.controls[this.control.key].controlType||!this.form.controls[this.control.key].multiple||!this.hasValue)},enumerable:!0,configurable:!0}),t.prototype.executeInteraction=function(e){var t=this;e.script&&Helpers.isFunction(e.script)&&setTimeout(function(){t.fieldInteractionApi.form=t.form,t.fieldInteractionApi.currentKey=t.control.key;try{e.script(t.fieldInteractionApi,t.control.key)}catch(n){console.info("Field Interaction Error!",t.control.key),console.error(n)}})},t.prototype.handleTyping=function(e){this._focused=e&&e.length,this._enteredText=e},t.prototype.handleFocus=function(e,t){this._focused=!0,this.focusedField=t,Helpers.isBlank(this.characterCountField)||this.characterCountField!==t?"address"!==this.form.controls[this.control.key].controlType||!t||Helpers.isEmpty(this.form.value[this.control.key])||Helpers.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)},t.prototype.handleBlur=function(e){this._focused=!1,this.focusedField="",this.showCount=!1,this._blurEmitter.emit(e)},t.prototype.clearValue=function(){this.form.controls[this.control.key].setValue(null),this.formattedValue=null},t.prototype.handleTextAreaInput=function(e){this.emitChange(e),this.restrictKeys(e)},t.prototype.checkMaxLength=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)},t.prototype.modelChangeWithRaw=function(e){Helpers.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)},t.prototype.modelChange=function(e){Helpers.isEmpty(e)&&(this._focused=!1,this._enteredText=""),this.change.emit(e)},t.prototype.validateNumberOnBlur=function(e){this._focused=!1,this.focusedField="",this.showCount=!1,"number"===this.form.controls[this.control.key].subType&&this.validateIntegerInput(),this._blurEmitter.emit(e)},t.prototype.validateIntegerInput=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(this.labels.invalidIntegerInput+" "+this.form.controls[this.control.key].label.toUpperCase())},t.prototype.restrictKeys=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()},t.prototype.handlePercentChange=function(e){var t=e.target.value,n=Helpers.isEmpty(t)?null:Number((t/100).toFixed(6).replace(/\.?0*$/,""));Helpers.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))},t.prototype.handleTabForPickers=function(e){this.active&&e&&e.keyCode&&(e.keyCode!==KeyCodes.ESC&&e.keyCode!==KeyCodes.TAB||this.toggleActive(e,!1))},t.prototype.emitChange=function(e){this.change.emit(e),this.checkMaxLength(e)},t.prototype.handleEdit=function(e){this.edit.emit(e)},t.prototype.handleSave=function(e){this.save.emit(e)},t.prototype.handleDelete=function(e){this.delete.emit(e)},t.prototype.handleUpload=function(e){this.upload.emit(e)},t.prototype.handleAddressChange=function(e){e&&!Helpers.isBlank(e.value)&&e.field&&this.control.config[e.field]&&!Helpers.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}))},t.prototype.updateValidity=function(e){this.form.controls[this.control.key].updateValueAndValidity({emitEvent:!!e})},t}(OutsideClick),COUNTRIES=[{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 getCountries(){return COUNTRIES.map(function(e){return e.name})}function findByCountryId(e){return COUNTRIES.find(function(t){return t.id===e})}function findByCountryName(e){return COUNTRIES.find(function(t){return t.name===e.trim()})}function findByCountryCode(e){return COUNTRIES.find(function(t){return t.code===e.trim()})}function getStateObjects(e){if(e){var t=COUNTRIES.find(function(t){return t.name===e.trim()});return t&&t.states||[]}return[]}function getStates(e){return getStateObjects(e).map(function(e){return e.name})}var ADDRESS_VALUE_ACCESSOR={provide:_angular_forms__WEBPACK_IMPORTED_MODULE_34__.NG_VALUE_ACCESSOR,useExisting:Object(_angular_core__WEBPACK_IMPORTED_MODULE_36__.forwardRef)(function(){return NovoAddressElement}),multi:!0},NovoAddressElement=function(){function e(e){this.labels=e,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 _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.focus=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.blur=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.validityChange=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter}return Object.defineProperty(e.prototype,"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()},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this.config||(this.config={}),this.model?(this.writeValue(this.model),this.updateControl()):this.model||(this.model={}),this.initConfig(),Helpers.isBlank(this.model.countryID)&&this.updateStates()},e.prototype.initConfig=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(t){return void 0===t&&(t=""),e.stateOptions(t,e.model.countryID)},e.config[t].pickerConfig.defaultOptions=e.stateOptions)})},e.prototype.isValid=function(e){var t=!0;(!this.config[e].required||!Helpers.isBlank(this.model[e])&&!Helpers.isEmpty(this.model[e]))&&this.config[e].required||"countryID"===e&&this.config[e].required&&!Helpers.isBlank(this.model.countryID)||"state"===e&&this.config[e].required&&(!Helpers.isEmpty(this.model.state)||(Helpers.isBlank(this.model.state)||Helpers.isEmpty(this.model.state))&&!Helpers.isBlank(this.model.countryName)&&this.config.state.pickerConfig&&this.config.state.pickerConfig.defaultOptions&&0===this.config.state.pickerConfig.defaultOptions.length)?!Helpers.isEmpty(this.model[e])&&!Helpers.isBlank(this.config[e].maxlength)&&this.config[e].maxlength<this.model[e].length&&(t=!1):t=!1,this.valid[e]=t},e.prototype.isInvalid=function(e){var t=!1,n=!1;"countryID"!==e&&"state"!==e&&this.config[e].required&&Helpers.isEmpty(this.model[e])&&!Helpers.isBlank(this.model[e])||"countryID"===e&&this.config[e].required&&Helpers.isBlank(this.model.countryName)&&this.config[e].updated||"state"===e&&this.config[e].required&&(Helpers.isBlank(this.model.state)||Helpers.isEmpty(this.model.state))&&!Helpers.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:!Helpers.isEmpty(this.model[e])&&!Helpers.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},e.prototype.onInput=function(e,t){this.isInvalid(t),this.isValid(t),e&&this.change.emit({value:this.model[t],field:t})},e.prototype.isFocused=function(e,t){this.focused[t]=!0,this.focus.emit({event:e,field:t})},e.prototype.isBlurred=function(e,t){this.focused[t]=!1,this.blur.emit({event:e,field:t})},e.prototype.onCountryChange=function(e){var t,n=e&&e.rawValue?e.rawValue:null,o=!1;this.config.countryID.updated=!0,this.config.countryID.pickerConfig&&(t=this.config.countryID.pickerConfig.field),n&&t&&!Helpers.isBlank(n[t])&&this.model.countryID!==n[t]?(this.model.countryID=n[t],this.model.countryName=Helpers.interpolate(this.config.countryID.pickerConfig.format,n),this.disabled.state=!1,this.tooltip.state=void 0,o=!0):(Helpers.isBlank(n)||Helpers.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,o=!0),o&&(this.model.state=void 0,this.updateStates()),this.updateControl(),this.onInput(null,"countryID"),this.onInput(null,"state")},e.prototype.onStateChange=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")},e.prototype.setStateLabel=function(e){var t=e.state;Helpers.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)},e.prototype.updateStates=function(){var e=this;this.config.state.pickerConfig.options&&!Helpers.isBlank(this.model.countryID)?(this.config.state.pickerConfig.options=function(t){return void 0===t&&(t=""),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))},e.prototype.getStateOptions=function(e,t){if(void 0===e&&(e=""),t){var n=getStates(findByCountryId(t).name);return e?n.filter(function(t){return new RegExp(""+e,"gi").test(t)}):n}return[]},e.prototype.updateControl=function(){this.onModelChange(this.model),this.onInput(null,"countryID"),this.onInput(null,"state")},e.prototype.writeValue=function(e){var t=this,n=!1;if(e){var o;if(e.countryName&&e.countryID)o=e.countryName;else if(e.countryID&&this.config.countryID.pickerConfig&&this.config.countryID.pickerConfig.getLabels&&Helpers.isFunction(this.config.countryID.pickerConfig.getLabels)){var r=this.config.countryID.pickerConfig.getLabels(e.countryID);n=!0,r.then&&r.then(function(r){n=!1,o=Helpers.interpolateWithFallback(t.config.countryID.pickerConfig.format,r),t.model=Object.assign(e,{countryName:o}),t.updateStates()})}o?(o=o.trim(),e.state=e.state||"",this.model=Object.assign(e,{countryName:o})):this.model=e,n||Helpers.isBlank(this.model.countryID)||this.updateStates()}this.fieldList.forEach(function(e){t.onInput(null,e)})},e.prototype.registerOnChange=function(e){this.onModelChange=e},e.prototype.registerOnTouched=function(e){this.onModelTouched=e},e.prototype.getDefaultStateConfig=function(){var e=this;return{field:"value",format:"$label",options:function(t,n){return void 0===t&&(t=""),Promise.resolve(e.getStateOptions(t,n))},getLabels:function(e){return Promise.resolve(e)}}},e.prototype.getDefaultCountryConfig=function(){return{field:"value",format:"$label",options:function(e){return void 0===e&&(e=""),new Promise(function(t){var n=COUNTRIES;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=findByCountryId(e);t(n?{value:n.id,label:n.name}:"")})}}},e}(),CHECKBOX_VALUE_ACCESSOR={provide:_angular_forms__WEBPACK_IMPORTED_MODULE_34__.NG_VALUE_ACCESSOR,useExisting:Object(_angular_core__WEBPACK_IMPORTED_MODULE_36__.forwardRef)(function(){return NovoCheckboxElement}),multi:!0},LAYOUT_DEFAULTS={iconStyle:"box"},NovoCheckboxElement=function(){function e(e){this.ref=e,this.indeterminate=!1,this.disabled=!1,this.onSelect=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.boxIcon=!0,this.onModelChange=function(){},this.onModelTouched=function(){}}return e.prototype.ngOnInit=function(){this.layoutOptions=Object.assign({},LAYOUT_DEFAULTS,this.layoutOptions),this.boxIcon="box"===this.layoutOptions.iconStyle},e.prototype.select=function(e){Helpers.swallowEvent(e),this.disabled||(this.model=!this.model,this.onModelChange(this.model),this.onSelect.emit({originalEvent:e,value:this.model}))},e.prototype.writeValue=function(e){this.model=e,this.ref.markForCheck()},e.prototype.registerOnChange=function(e){this.onModelChange=e},e.prototype.registerOnTouched=function(e){this.onModelTouched=e},e.prototype.setDisabledState=function(e){this.disabled=e},e}(),CHECKLIST_VALUE_ACCESSOR={provide:_angular_forms__WEBPACK_IMPORTED_MODULE_34__.NG_VALUE_ACCESSOR,useExisting:Object(_angular_core__WEBPACK_IMPORTED_MODULE_36__.forwardRef)(function(){return NovoCheckListElement}),multi:!0},NovoCheckListElement=function(){function e(){this.onSelect=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.onModelChange=function(){},this.onModelTouched=function(){}}return e.prototype.ngOnInit=function(){this.setModel(),this.setupOptions()},e.prototype.select=function(e,t){Helpers.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}))},e.prototype.setupOptions=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)})},e.prototype.setModel=function(){var e=this.options.filter(function(e){return e.checked}).map(function(e){return e.value});this.writeValue(e)},e.prototype.writeValue=function(e){this.model=e||[],e&&this.setupOptions()},e.prototype.registerOnChange=function(e){this.onModelChange=e},e.prototype.registerOnTouched=function(e){this.onModelTouched=e},e.prototype.setDisabledState=function(e){this.disabled=e},e}(),NovoFile=function(){function e(e){var t=this;this.name="",this.contentType="",this.lastModified=0,this.size=0,this.loaded=!1,this.reader=new FileReader,this.name=""+encodeURIComponent(e.name||""),this.contentType=e.type,this.lastModified=e.lastModified,this.size=e.size,this.file=e,this.reader.onload=function(e){t.fileContents=e.target.result.split(",")[1],t.dataURL=e.target.result,t.loaded=!0}}return e.prototype.read=function(){var e=this;return new Promise(function(t){t(e),e.reader.readAsDataURL(e.file)})},e.prototype.toJSON=function(){return{name:this.name,contentType:this.type,lastModified:this.lastModified,size:this.size,fileContents:this.fileContents}},e}(),FILE_VALUE_ACCESSOR={provide:_angular_forms__WEBPACK_IMPORTED_MODULE_34__.NG_VALUE_ACCESSOR,useExisting:Object(_angular_core__WEBPACK_IMPORTED_MODULE_36__.forwardRef)(function(){return NovoFileInputElement}),multi:!0},LAYOUT_DEFAULTS$1={order:"default",download:!0,removable:!0,labelStyle:"default",draggable:!1},NovoFileInputElement=function(){function e(e,t,n){this.element=e,this.labels=t,this.dragula=n,this.multiple=!1,this.disabled=!1,this.value=[],this.edit=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.save=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.delete=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.upload=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.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 e.prototype.ngOnInit=function(){var e=this;["dragenter","dragleave","dragover","drop"].forEach(function(t){e.element.nativeElement.addEventListener(t,e.commands[t])}),this.updateLayout(),this.initializeDragula(),this.setInitialFileList(),this.dataFeatureId=this.dataFeatureId?this.dataFeatureId:this.name},e.prototype.ngOnDestroy=function(){var e=this;["dragenter","dragleave","dragover","drop"].forEach(function(t){e.element.nativeElement.removeEventListener(t,e.commands[t])}),this.dragula.bags.length>0&&this.dragula.bags.filter(function(t){return t.name===e.fileOutputBag}).length>0&&this.dragula.destroy(this.fileOutputBag)},e.prototype.ngOnChanges=function(e){this.onModelChange(this.model)},e.prototype.updateLayout=function(){this.layoutOptions=Object.assign({},LAYOUT_DEFAULTS$1,this.layoutOptions),this.insertTemplatesBasedOnLayout()},e.prototype.insertTemplatesBasedOnLayout=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},e.prototype.initializeDragula=function(){var e=this;this.fileOutputBag="file-output-"+this.dragula.bags.length,this.dragula.setOptions(this.fileOutputBag,{moves:function(t,n,o){return e.layoutOptions.draggable}})},e.prototype.setInitialFileList=function(){this.value&&(this.files=this.value)},e.prototype.dragEnterHandler=function(e){e.preventDefault(),e.dataTransfer.dropEffect="copy",this.target=e.target,this.active=!0},e.prototype.dragLeaveHandler=function(e){e.preventDefault(),this.target===e.target&&(this.active=!1)},e.prototype.dragOverHandler=function(e){e.preventDefault()},e.prototype.dropHandler=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}},e.prototype.writeValue=function(e){this.model=e},e.prototype.registerOnChange=function(e){this.onModelChange=e},e.prototype.registerOnTouched=function(e){this.onModelTouched=e},e.prototype.check=function(e){this.process(Array.from(e.target.files))},e.prototype.validate=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},e.prototype.process=function(e){var t=this;this.validate(e)&&Promise.all(e.map(function(e){return t.readFile(e)})).then(function(e){var n;t.multiple?(n=t.files).push.apply(n,Object(tslib__WEBPACK_IMPORTED_MODULE_35__.g)(e)):t.files=e,t.model=t.files,t.onModelChange(t.model)})},e.prototype.download=function(e){window.open(e.dataURL,"_blank")},e.prototype.remove=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)},e.prototype.readFile=function(e){return new NovoFile(e).read()},e.prototype.customEdit=function(e){this.edit.emit(e)},e.prototype.customSave=function(e){this.save.emit(e)},e.prototype.customDelete=function(e){this.delete.emit(e)},e.prototype.customCheck=function(e){this.upload.emit(e)},e.prototype.setDisabledState=function(e){this.disabled=e},e}(),NovoFormExtrasModule=function(){return function(){}}(),NovoControlGroup=function(){function e(e,t,n,o){this.formUtils=e,this.fb=t,this.ref=n,this.labels=o,this._vertical=!1,this._remove=!1,this._edit=!1,this._collapsible=!1,this.onRemove=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.onEdit=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.onAdd=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.change=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.controlLabels=[],this.toggled=!1,this.disabledArray=[],this.currentIndex=0}return Object.defineProperty(e.prototype,"vertical",{get:function(){return this._vertical},set:function(e){this._vertical=Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_30__.b)(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"remove",{get:function(){return this._remove},set:function(e){this._remove=Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_30__.b)(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"edit",{get:function(){return this._edit},set:function(e){this._edit=Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_30__.b)(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"collapsible",{get:function(){return this._collapsible},set:function(e){this._collapsible=Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_30__.b)(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"icon",{get:function(){return this._icon},set:function(e){this._icon=e&&-1!==e.indexOf("bhi")?e:"bhi-"+e},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){if(!this.key)throw new Error("novo-control-group must have the [key] attribute provided!")},e.prototype.ngOnChanges=function(e){var t=this,n=e.initialValue;n&&n.currentValue!==n.previousValue&&!n.firstChange&&this.clearControls(),this.initialValue&&Array.isArray(this.initialValue)?0!==this.initialValue.length&&(this.currentIndex=0,this.initialValue.forEach(function(e){return t.addNewControl(e)})):this.initialValue&&this.addNewControl(this.initialValue),this.vertical||(this.controlLabels=(this.controls||[]).map(function(e){return{value:e.label,width:e.width,required:e.required,key:e.key}}),this.ref.markForCheck())},e.prototype.onChange=function(e){this.change.emit(this)},e.prototype.resetAddRemove=function(){var e=this;this.disabledArray.forEach(function(t,n){t.edit=e.checkCanEdit(n),t.remove=e.checkCanRemove(n)})},e.prototype.addNewControl=function(e){var t=this.form.controls[this.key],n=this.buildControl(e);t?t.push(n):this.form.addControl(this.key,this.fb.array([n])),this.disabledArray.push({edit:!0,remove:!0}),this.resetAddRemove(),e||this.onAdd.emit(),this.currentIndex++,this.ref.markForCheck()},e.prototype.buildControl=function(e){var t=this.getNewControls(this.controls);return e&&this.formUtils.setInitialValues(t,e),this.formUtils.toFormGroup(t)},e.prototype.removeControl=function(e,t){void 0===t&&(t=!0);var n=this.form.controls[this.key];t&&this.onRemove.emit({value:n.at(e).value,index:e}),n.removeAt(e),this.disabledArray=this.disabledArray.filter(function(t,n){return n!==e}),this.resetAddRemove(),this.currentIndex--,this.ref.markForCheck()},e.prototype.editControl=function(e){this.onEdit.emit({value:this.form.controls[this.key].at(e).value,index:e})},e.prototype.toggle=function(e){Helpers.swallowEvent(e),this.collapsible&&(this.toggled=!this.toggled,this.ref.markForCheck())},e.prototype.clearControls=function(){var e=this.form.controls[this.key];if(e){for(var t=e.controls.length;t>=0;t--)this.removeControl(t,!1);this.currentIndex=0}},e.prototype.checkCanEdit=function(e){return!this.canEdit||this.canEdit(this.form.controls[this.key].at(e).value,e)},e.prototype.checkCanRemove=function(e){return!this.canRemove||this.canRemove(this.form.controls[this.key].at(e).value,e)},e.prototype.getNewControls=function(e){var t=[];return(this.controls||[]).forEach(function(e){t.push(new BaseControl(e.__type,e))}),t},e}(),NovoControlTemplates=function(){function e(e){this.templates=e}return e.prototype.ngAfterViewInit=function(){var e=this;this.defaultTemplates&&this.defaultTemplates.length&&this.defaultTemplates.forEach(function(t){e.templates.addDefault(t.name,t.template)})},e}(),NovoCommonModule=function(){return function(){}}(),NovoFormModule=function(){return function(){}}(),Pagination=function(){function e(e){this.labels=e,this.itemsPerPage=10,this.pageChange=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.itemsPerPageChange=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.onPageChange=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.maxPagesDisplayed=5}return Object.defineProperty(e.prototype,"disablePageSelection",{get:function(){return this.pageSelectDisabled},set:function(e){this.pageSelectDisabled=Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_30__.b)(e)},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this.label=this.label||this.labels.itemsPerPage,this.rowOptions=this.rowOptions||this.getDefaultRowOptions()},e.prototype.ngOnChanges=function(e){this.page=this.page||1,this.totalPages=this.calculateTotalPages(),this.pages=this.getPages(this.page,this.totalPages)},e.prototype.getDefaultRowOptions=function(){return[{value:10,label:"10"},{value:25,label:"25"},{value:50,label:"50"},{value:100,label:"100"}]},e.prototype.onPageSizeChanged=function(e){this.page=1,this.itemsPerPage=e.selected,this.totalPages=this.calculateTotalPages(),this.pages=this.getPages(this.page,this.totalPages),this.pageChange.emit(this.page),this.itemsPerPageChange.emit(this.itemsPerPage),this.onPageChange.emit({page:this.page,itemsPerPage:this.itemsPerPage})},e.prototype.selectPage=function(e,t){t&&t.preventDefault(),this.page=e,this.pages=this.getPages(this.page,this.totalPages),this.pageChange.emit(this.page),this.onPageChange.emit({page:this.page,itemsPerPage:this.itemsPerPage})},e.prototype.noPrevious=function(){return 1===this.page},e.prototype.noNext=function(){return this.page===this.totalPages},e.prototype.makePage=function(e,t,n){return{number:e,text:t,active:n}},e.prototype.getPages=function(e,t){var n=[],o=1,r=t;this.maxPagesDisplayed<t&&(r=(o=Math.max(e-Math.floor(this.maxPagesDisplayed/2),1))+this.maxPagesDisplayed-1)>t&&(o=(r=t)-this.maxPagesDisplayed+1);for(var i=o;i<=r;i++){var a=this.makePage(i,i.toString(),i===e);n.push(a)}return n},e.prototype.calculateTotalPages=function(){var e=this.itemsPerPage<1?1:Math.ceil(this.totalItems/this.itemsPerPage);return Math.max(e||0,1)},e}(),BaseRenderer=function(){return function(){this.data={},this.value="",this.meta={}}}(),RowDetails=function(){function e(e,t){this.element=e,this.componentUtils=t,this.value=""}return e.prototype.ngOnInit=function(){this.renderer&&(this.renderer.prototype instanceof BaseRenderer?this.componentUtils.append(this.renderer,this.container).instance.data=this.data:this.value=this.renderer(this.data))},e}(),TableCell=function(){function e(e,t){this.element=e,this.componentUtils=t,this.value="",this.element=e,this.componentUtils=t}return e.prototype.ngOnInit=function(){var e=this;if(this.column._type=this.column.type||"text",this.column.renderer)if(this.column.renderer.prototype instanceof BaseRenderer){this.column._type="custom";var t=this.componentUtils.append(this.column.renderer,this.container);t.instance.meta=this.column,t.instance.data=this.row,t.instance.value=this.form&&this.hasEditor?this.form.value[this.column.name]:this.row[this.column.name]}else this.value=this.column.renderer(this.row);else this.value=this.form&&this.hasEditor?this.form.value[this.column.name]:this.row[this.column.name];this.form&&this.hasEditor&&(this.valueChangeSubscription=this.form.valueChanges.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_23__.a)(300),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_24__.a)()).subscribe(function(t){e.value=t[e.column.name]}))},e.prototype.ngOnDestroy=function(){this.valueChangeSubscription&&this.valueChangeSubscription.unsubscribe()},e.prototype.onClick=function(e){e&&(e.preventDefault(),e.stopPropagation()),this.column.onClick&&this.column.onClick(this.row)},e}(),TableFilter=function(){function e(e,t){this.element=e,this.renderer=t,this.onFilterChange=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.element=e,this.renderer=t}return e.prototype.ngOnInit=function(){this.ngOnChanges()},e.prototype.ngOnChanges=function(e){var t="";this.config.freetextFilter?t=this.config.freetextFilter:this.config.filter&&(t=this.config.filter),this.renderer.setProperty(this.element,"value",t)},e.prototype.onChangeFilter=function(e){var t=this;clearTimeout(this.filterThrottle),KeyCodes.ENTER===e.keyCode?(this.config.filter=e.target.value,this.onFilterChange.emit({filtering:this.config})):this.filterThrottle=setTimeout(function(){t.config.filter=e.target.value,t.onFilterChange.emit({filtering:t.config})},300)},e.prototype.onClick=function(e){Helpers.swallowEvent(e)},e}(),ThOrderable=function(){function e(e){this.element=e,this.onOrderChange=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.element=e}return Object.defineProperty(e.prototype,"index",{get:function(){var e=null;return this.element.nativeElement&&this.element.nativeElement.parentNode&&(e=Array.prototype.slice.call(this.element.nativeElement.parentNode.children).indexOf(this.element.nativeElement)),e},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this.column.ordering&&(this.element.nativeElement.setAttribute("draggable",!0),this.table=this.findTable(this.element.nativeElement))},e.prototype.onDragStart=function(e){this.column.ordering&&(this.element.nativeElement.classList.add("dragging"),e.dataTransfer.effectAllowed="move",e.dataTransfer.setData("text/plain",JSON.stringify(this.column)),this.clone=this.table.cloneNode(!0),this.clone.style.position="absolute",this.clone.style.left="100%",this.clone.style.width="150px",this.deleteColumns(this.clone),document.body.appendChild(this.clone),e.dataTransfer.setDragImage(this.clone,75,30))},e.prototype.deleteColumns=function(e){if(e.rows.length>0)for(var t=e.rows,n=0;n<t.length;n++)if(n>10)e.deleteRow(-1);else for(var o=t[n].cells.length,r=0;r<o;r++)r<this.index?t[n].deleteCell(0):r>this.index&&t[n].deleteCell(-1)},e.prototype.findTable=function(e){for(var t=e;t;)if((t=t.parentNode)&&"table"===t.tagName.toLowerCase())return t},e.prototype.onDrag=function(e){return Helpers.swallowEvent(e),!1},e.prototype.onDragEnd=function(e){return Helpers.swallowEvent(e),this.element.nativeElement.classList.remove("over"),this.element.nativeElement.classList.remove("dragging"),document.body.removeChild(this.clone),!1},e.prototype.onDrop=function(e){Helpers.swallowEvent(e),this.element.nativeElement.classList.remove("over");var t=JSON.parse(e.dataTransfer.getData("text/plain"));return this.onOrderChange.emit({first:t,second:this.column}),!1},e.prototype.onDragOver=function(e){return Helpers.swallowEvent(e),e.dataTransfer.dropEffect="move",!1},e.prototype.onDragEnter=function(e){this.element.nativeElement.classList.add("over"),this.target=e.target},e.prototype.onDragLeave=function(e){this.element.nativeElement.classList.remove("over")},e}(),ThSortable=function(){function e(){this.onSortChange=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter}return e.prototype.onToggleSort=function(e){if(e&&e.preventDefault(),this.config&&this.column&&!1!==this.config.sorting&&!1!==this.column.sorting){switch(this.column.sort){case"asc":this.column.sort="desc";break;default:this.column.sort="asc"}this.onSortChange.emit(this.column)}},e}(),DateCell=function(e){function t(t){var n=e.call(this)||this;return n.labels=t,n}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t.prototype.getFormattedDate=function(){return this.labels.formatDate(this.value)},t}(BaseRenderer),PercentageCell=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t}(BaseRenderer),NovoDropdownCell=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t.prototype.ngOnInit=function(){if(!this.meta.dropdownCellConfig)throw new Error('Missing "dropdownCellConfig" on the column setup')},t.prototype.onClick=function(e,t,n){(t.callback||e.callback)(this.data,n||t)},t}(BaseRenderer),NovoTableKeepFilterFocus=function(){function e(e){this.element=e}return e.prototype.ngAfterViewInit=function(){this.element.nativeElement.focus()},e}(),NovoTableActionsElement=function(){return function(){}}(),NovoTableFooterElement=function(){return function(){}}(),NovoTableHeaderElement=function(){return function(){}}(),NovoTableExtrasModule=function(){return function(){}}(),CollectionEvent=function(){function e(e,t){void 0===e&&(e="Collection.REFRESH"),void 0===t&&(t=[]),this.type="",this.data=[],this.type=e,this.data=t}return e.REFRESH="Collection.REFRESH",e.ADD="Collection.ADD",e.REMOVE="Collection.REMOVE",e.REMOVE_ALL="Collection.REMOVE_ALL",e.REPLACE="Collection.REPLACE",e.INVALIDATE_ALL="Collection.INVALIDATE_ALL",e.SORT="Collection.SORT",e.FILTER="Collection.FILTER",e.CHANGE="Collection.CHANGE",e.CURRENTPAGE_CHANGE="Collection.CURRENTPAGE_CHANGE",e.PAGESIZE_CHANGE="Collection.PAGESIZE_CHANGE",e.NUMBEROFPAGES_CHANGE="Collection.NUMBEROFPAGES_CHANGE",e}(),ArrayCollection=function(){function e(e){void 0===e&&(e=[]),this.dataChange=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.source=[],this.editData=[],this.isEditing=!1,this.filterData=[],this._filter={},this._sort=[],this.source=e,this.editData=this.copy(this.source),this.filterData=this.source.slice()}return Object.defineProperty(e.prototype,"length",{get:function(){return this.filterData.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"total",{get:function(){return this.filterData.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"list",{get:function(){return this.filterData},enumerable:!0,configurable:!0}),e.prototype.isEmpty=function(){return this.length<=0&&!this.isLoading()&&!this.hasErrors()},e.prototype.hasErrors=function(){return!1},e.prototype.isLoading=function(){return!1},e.prototype.isFiltered=function(){return Object.keys(this._filter).length>0},e.prototype.edit=function(){this.isEditing=!0,this.editData=this.copy(this.source)},e.prototype.undo=function(){this.isEditing=!1,this.source=this.copy(this.editData),this.refresh()},e.prototype.commit=function(){this.isEditing=!1,this.source=this.filterData.slice(),this.refresh()},e.prototype.addItem=function(e){this.isEditing?this.editData.push(e):this.source.push(e),this.onDataChange(new CollectionEvent(CollectionEvent.ADD,[e])),this.refresh()},e.prototype.addItemAt=function(e,t){this.isEditing?this.editData.splice(t,0,e):this.source.splice(t,0,e),this.onDataChange(new CollectionEvent(CollectionEvent.ADD,[e])),this.refresh()},e.prototype.addItems=function(e){var t,n;this.isEditing?(t=this.editData).push.apply(t,Object(tslib__WEBPACK_IMPORTED_MODULE_35__.g)(e)):(n=this.source).push.apply(n,Object(tslib__WEBPACK_IMPORTED_MODULE_35__.g)(e)),this.onDataChange(new CollectionEvent(CollectionEvent.ADD,e)),this.refresh()},e.prototype.addItemsAt=function(e,t){var n,o;this.isEditing?(n=this.editData).splice.apply(n,Object(tslib__WEBPACK_IMPORTED_MODULE_35__.g)([t,0],e)):(o=this.source).splice.apply(o,Object(tslib__WEBPACK_IMPORTED_MODULE_35__.g)([t,0],e))},e.prototype.clone=function(){return new e(this.copy(this.isEditing?this.editData:this.source))},e.prototype.copy=function(e){return Helpers.deepClone(e)},e.prototype.concat=function(e){this.addItems(e)},e.prototype.getItemAt=function(e){return this.isEditing?this.editData[e]:this.source[e]},e.prototype.getItemIndex=function(e){return this.isEditing?this.editData.indexOf(e):this.source.indexOf(e)},e.prototype.invalidate=function(){this.onDataChange(new CollectionEvent(CollectionEvent.INVALIDATE_ALL))},e.prototype.merge=function(e){var t,n;try{for(var o=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.h)(e),r=o.next();!r.done;r=o.next()){var i=r.value,a=~this.getItemIndex(i);a?this.replaceItem(i,a):this.addItem(i)}}catch(s){t={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}},e.prototype.removeAll=function(){this.source=[],this.editData=[],this.filterData=[],this.onDataChange(new CollectionEvent(CollectionEvent.REMOVE_ALL,[])),this.refresh()},e.prototype.removeItem=function(e){var t=this.getItemIndex(e);return this.removeItemAt(t)},e.prototype.removeItemAt=function(e){var t=!!this.source.splice(e,1);return this.refresh(),t},e.prototype.replaceItem=function(e,t){var n=this.getItemIndex(t);n>=0&&this.replaceItemAt(e,n)},e.prototype.replaceItemAt=function(e,t){this.filterData.splice(t,1,e)},Object.defineProperty(e.prototype,"sort",{get:function(){return this._sort},set:function(e){this._sort=e,this.refresh()},enumerable:!0,configurable:!0}),e.prototype.sortOn=function(e,t){return void 0===t&&(t=!1),this.filterData=this.filterData.sort(Helpers.sortByField(e,t)),this.onDataChange(new CollectionEvent(CollectionEvent.SORT)),this.filterData},Object.defineProperty(e.prototype,"filter",{get:function(){return this._filter},set:function(e){this._filter=e,this.refresh()},enumerable:!0,configurable:!0}),e.prototype.filterOn=function(e,t){return void 0===t&&(t=null),this.filterData=this.filterData.filter(Helpers.filterByField(e,t)),this.filterData},e.prototype.onDataChange=function(e){this.dataChange.emit(e)},e.prototype.refresh=function(){var e,t;this.filterData=this.isEditing?this.editData.slice():this.source.slice();try{for(var n=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.h)(this._sort.reverse()),o=n.next();!o.done;o=n.next()){var r=o.value;this.sortOn(r.field,r.reverse)}}catch(a){e={error:a}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}for(var i in this._filter)i&&this.filterOn(i,this._filter[i]);this.onDataChange(new CollectionEvent(CollectionEvent.CHANGE,this.filterData))},e.prototype.toArray=function(){return this.isEditing?this.editData:this.source},e.prototype.toJSON=function(){return this.isEditing?this.editData:this.source},e}(),PagedArrayCollection=function(e){function t(t){void 0===t&&(t=[]);var n=e.call(this,t)||this;return n._page=1,n._numberOfPages=1,n._pageSize=10,n}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),Object.defineProperty(t.prototype,"numberOfPages",{get:function(){return Math.ceil(this.source.length/this.pageSize)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"page",{get:function(){return this._page},set:function(e){this._page=e,this.refresh()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pageSize",{get:function(){return this._pageSize},set:function(e){this._pageSize=e,this.refresh()},enumerable:!0,configurable:!0}),t.prototype.next=function(){return this.page===this.numberOfPages?this.page:(this.page++,this.page)},t.prototype.prev=function(){return 1===this._page?this.page:(this.page--,this.page)},t.prototype.first=function(){return 1===this.page?this.page:(this.page=1,this.page)},t.prototype.last=function(){return this.page===this.numberOfPages?this.page:(this.page=this.numberOfPages,this.page)},t.prototype.refresh=function(){var e,t;this.filterData=this.isEditing?this.editData.slice():this.source.slice();try{for(var n=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.h)(this._sort.reverse()),o=n.next();!o.done;o=n.next()){var r=o.value;this.sortOn(r.field,r.reverse)}}catch(l){e={error:l}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}for(var i in this._filter)i&&this.filterOn(i,this._filter[i]);if(this.page>=0){var a=(this.page-1)*this.pageSize,s=this.filterData.slice(a,a+this.pageSize);this.onDataChange(new CollectionEvent(CollectionEvent.CHANGE,s))}else this.onDataChange(new CollectionEvent(CollectionEvent.CHANGE,this.filterData))},t}(ArrayCollection),NovoTableMode=function(){var e={VIEW:1,EDIT:2};return e[e.VIEW]="VIEW",e[e.EDIT]="EDIT",e}(),NovoTableElement=function(){function e(e,t,n){this.labels=e,this.formUtils=t,this.builder=n,this.config={},this.skipSortAndFilterClear=!1,this.mode=NovoTableMode.VIEW,this.editable=!1,this.rowIdentifier="id",this.name="table",this.onRowClick=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.onRowSelect=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.onTableChange=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this._rows=[],this.selected=[],this.activeId=0,this.master=!1,this.expandAll=!1,this.indeterminate=!1,this.lastPage=0,this.selectedPageCount=0,this.showSelectAllMessage=!1,this.pagedData=[],this.toggledDropdownMap={},this.NovoTableMode=NovoTableMode,this.tableForm=new _angular_forms__WEBPACK_IMPORTED_MODULE_34__.FormGroup({}),this.footers=[],this.grossFlagToAvoidTheTableFromBeingUglyWhenHidingTheToast=!1,this.loading=!1,notify("[Deprecated]: The table is deprecated. Please migrate to novo-data-tables!")}return Object.defineProperty(e.prototype,"rows",{get:function(){return this._rows},set:function(e){this.dataProvider=e,e&&e.length>0&&this.setupColumnDefaults(),this.skipSortAndFilterClear||this.clearAllSortAndFilters()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dataProvider",{get:function(){return this._dataProvider},set:function(e){var t=this;this._dataProvider=Array.isArray(e)?new PagedArrayCollection(e):e,this._dataProvider.dataChange.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_23__.a)(100)).subscribe(function(e){switch(e.type){case CollectionEvent.CHANGE:t._rows=e.data,t.tableForm=t.builder.group({rows:t.builder.array([])}),"checkbox"===t.config.rowSelectionStyle&&(t.pagedData=e.data,t.pageSelected=t.pagedData.filter(function(e){return e._selected}),t.rowSelectHandler());var n=[],o={};t.config.footers&&(t.config.footers.forEach(function(e){n.push.apply(n,Object(tslib__WEBPACK_IMPORTED_MODULE_35__.g)(e.columns))}),n=n.filter(function(e,t,n){return n.indexOf(e)===t}));var r=t.tableForm.controls.rows;t._rows.forEach(function(e,i){var a=[];e.controls={},e._editing={},e._expanded=t.config.expandAll,e.rowId=t._rows.length,t.columns.forEach(function(t){var n=t.editorConfig?ControlFactory.create(t.editorType,t.editorConfig):new ReadOnlyControl({key:t.name});e.controls[t.name]=n,a.push(n)}),t.formUtils.setInitialValues(a,e,!1),r.push(t.formUtils.toFormGroup(a)),0!==n.length&&n.forEach(function(t){Helpers.isBlank(o[t])&&(o[t]=0),o[t]+=e[t]})}),t.mode===NovoTableMode.EDIT&&t.setTableEdit(),t.config.footers&&(t.footers=[],t.config.footers.forEach(function(e,n){var r={};r[e.labelColumn]=e.label,e.columns.forEach(function(n){r[n]="AVG"===e.method&&0!==t._rows.length?o[n]/t._rows.length:o[n]}),t.footers.push(r)}))}}),this.config.paging?(this._dataProvider.page=this.config.paging.current,this._dataProvider.pageSize=this.config.paging.itemsPerPage):(this._dataProvider.page=1,this._dataProvider.pageSize=500),e&&e.length>0&&this.setupColumnDefaults(),this._dataProvider.refresh()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"editing",{get:function(){return this.mode===NovoTableMode.EDIT},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formValue",{get:function(){return this.tableForm.value},enumerable:!0,configurable:!0}),e.prototype.onDropdownToggled=function(e,t){this.toggledDropdownMap[t]=e},e.prototype.focusInput=function(){this.filterInputs&&this.filterInputs.length&&this.filterInputs.forEach(function(e){e.nativeElement&&setTimeout(function(){return e.nativeElement.focus()},0)})},e.prototype.onPageChange=function(e){},e.prototype.getOptionDataAutomationId=function(e){return Helpers.isBlank(e.value)?e:e.value},e.prototype.setupColumnDefaults=function(){var e=this;this.columns.forEach(function(t){if(t&&t.type)switch(t.type){case"date":t.options=t.options||e.getDefaultOptions(t)}})},e.prototype.ngDoCheck=function(){this.config.paging&&this.config.paging.current!==this.lastPage&&(this.rowSelectHandler(),this.showSelectAllMessage=!1),this.lastPage=this.config.paging?this.config.paging.current:1},e.prototype.getPageStart=function(){return this.config.paging?(this.dataProvider.page-1)*this.dataProvider.pageSize:0},e.prototype.getPageEnd=function(){return this.config.paging&&this.dataProvider.pageSize>-1?this.getPageStart()+this.dataProvider.pageSize:this.rows.length},e.prototype.getRowControlForm=function(e){return this.tableForm.controls.rows.controls[e]},e.prototype.onFilterClick=function(e,t){!t.range||e.calendarShow?(Array.isArray(e.filter)&&e.multiple?~e.filter.indexOf(t)?(e.filter.splice(e.filter.indexOf(t),1),t.range&&(e.calenderShow=!1),0===e.filter.length&&(e.filter=null)):e.filter.push(t):e.multiple?(e.filter=new Array,e.filter.push(Helpers.isBlank(t.value)?t:t.value)):e.filter=Helpers.isBlank(t.value)?t:t.value,this.onFilterChange()):e.calenderShow=!0},e.prototype.onFilterClear=function(e){var t=this;setTimeout(function(){e.filter=null,e.freetextFilter=null,t.onFilterChange(),e.originalOptions&&(e.options=e.originalOptions)})},e.prototype.clearAllSortAndFilters=function(){this.config.filtering&&this.columns.forEach(function(e){e.filter=null,e.sort=null})},e.prototype.onFilterChange=function(e){var t,n;if(this.config.filtering){var o=this.columns.filter(function(e){return!Helpers.isEmpty(e.filter)});if(o.length){var r={},i=function(e){if(Helpers.isFunction(e.match))r[e.name]=function(t,n){return e.match(n,e.filter)};else if(e.preFilter&&Helpers.isFunction(e.preFilter))r=Object.assign({},r,e.preFilter(a.escapeCharacters(e.filter)));else if(Array.isArray(e.filter)){var t=e.filter;(t[0].value||t[0].label)&&(t=e.filter.map(function(e){return e.value})),r[e.name]={any:t}}else r[e.name]=e.type&&"date"===e.type?e.filter.startDate&&e.filter.endDate?{min:Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.startOfDay)(e.filter.startDate),max:Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.startOfDay)(Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.addDays)(Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.startOfDay)(e.filter.endDate),1))}:{min:e.filter.min?Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.addDays)(Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.startOfToday)(),e.filter.min):Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.startOfToday)(),max:e.filter.max?Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.addDays)(Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.startOfTomorrow)(),e.filter.max):Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.startOfTomorrow)()}:e.filter},a=this;try{for(var s=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.h)(o),l=s.next();!l.done;l=s.next())i(l.value)}catch(c){t={error:c}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}Helpers.isFunction(this.config.filtering)?this.config.filtering(r):this._dataProvider.filter=r}else this._dataProvider.filter={};this.fireTableChangeEvent(),this.config.paging&&(this.config.paging.current=1),"checkbox"===this.config.rowSelectionStyle&&this.selectAll(!1)}},e.prototype.escapeCharacters=function(e){return"string"==typeof e?e.replace(/'/g,"''"):e},e.prototype.isFilterActive=function(e,t){var n=!1;return!e||Helpers.isBlank(e.filter)||Helpers.isBlank(t)||(n=Array.isArray(e.filter)?"string"!=typeof t?e.filter.some(function(e){return e.label===t.label}):e.filter.includes(t):typeof e.filter==typeof t?e.filter===t:e.filter===t.value),n},e.prototype.onSortChange=function(e){var t,n,o=this;this.currentSortColumn=e;var r=this.columns.filter(function(e){return e.sort&&e!==o.currentSortColumn});try{for(var i=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.h)(r),a=i.next();!a.done;a=i.next())a.value.sort=null}catch(s){t={error:s}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}e&&(Helpers.isFunction(this.config.sorting)?this.config.sorting():this._dataProvider.sort=Helpers.isFunction(e.preSort)?[].concat(e.preSort(e)):[{field:e.compare||e.name,reverse:"desc"===e.sort}]),this.config.paging&&(this.config.paging.current=1),"checkbox"===this.config.rowSelectionStyle&&this.selectAll(!1)},e.prototype.fireTableChangeEvent=function(){var e={},t=this.columns.filter(function(e){return e.filter&&e.filter.length});e.filter=!!t.length&&t,e.sort=!!this.currentSortColumn&&this.currentSortColumn,e.rows=this.rows,this.onTableChange.emit(e)},e.prototype.findColumnIndex=function(e){for(var t=0;t<this.columns.length;t+=1)if(this.columns[t].name===e)return t;return null},e.prototype.onOrderChange=function(e){var t=this.findColumnIndex(e.first.name),n=this.findColumnIndex(e.second.name);this.columns.splice(n,0,this.columns.splice(t,1)[0]),this.onSortChange(this.currentSortColumn)},e.prototype.expandAllOnPage=function(e){var t,n;this.config.expandAll=!e;try{for(var o=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.h)(this.dataProvider.list),r=o.next();!r.done;r=o.next())r.value._expanded=this.config.expandAll}catch(i){t={error:i}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}},e.prototype.selectPage=function(e){var t,n;if(this.master){this.indeterminate=!1;try{for(var o=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.h)(this.pagedData),r=o.next();!r.done;r=o.next())r.value._selected=this.master}catch(i){t={error:i}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}this.selected=this.dataProvider.list.filter(function(e){return e._selected}),this.pageSelected=this.pagedData.filter(function(e){return e._selected}),this.emitSelected(this.selected),this.selectedPageCount++,this.showSelectAllMessage=1===this.selectedPageCount&&this.selected.length!==this.dataProvider.total}else this.selectAll(!1),this.selectedPageCount=this.selectedPageCount>0?this.selectedPageCount-1:0,this.showSelectAllMessage=!1},e.prototype.selectAll=function(e){var t,n;this.master=e,this.indeterminate=!1;try{for(var o=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.h)(this.dataProvider.list),r=o.next();!r.done;r=o.next())r.value._selected=e}catch(i){t={error:i}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}this.selected=e?this.dataProvider.list:[],this.showSelectAllMessage=!1,this.selectedPageCount=this.selectedPageCount>0?this.selectedPageCount-1:0,this.rowSelectHandler()},e.prototype.rowSelectHandler=function(e){this.pageSelected=this.pagedData.filter(function(e){return e._selected}),this.selected=this.dataProvider.list.filter(function(e){return e._selected}),0===this.pageSelected.length?(this.master=!1,this.indeterminate=!1):this.pageSelected.length===this.pagedData.length?(this.master=!0,this.indeterminate=!1):(this.master=!1,this.indeterminate=!0,this.showSelectAllMessage=!1,this.selectedPageCount=this.selectedPageCount>0?this.selectedPageCount-1:0),this.emitSelected(this.selected)},e.prototype.emitSelected=function(e){this.onRowSelect.emit({length:e.length,selected:e})},e.prototype.rowClickHandler=function(e){this.config.rowSelect&&(this.activeId=e.id||0,this.onRowClick.emit(e))},e.prototype.getDefaultOptions=function(e){var t=[{label:this.labels.past1Day,min:-1,max:0},{label:this.labels.past7Days,min:-7,max:0},{label:this.labels.past30Days,min:-30,max:0},{label:this.labels.past90Days,min:-90,max:0},{label:this.labels.past1Year,min:-366,max:0},{label:this.labels.next1Day,min:0,max:1},{label:this.labels.next7Days,min:0,max:7},{label:this.labels.next30Days,min:0,max:30},{label:this.labels.next90Days,min:0,max:90},{label:this.labels.next1Year,min:0,max:366}];return e&&e.range&&t.push({label:this.labels.customDateRange,range:!0}),t},e.prototype.onCalenderSelect=function(e,t){var n=this;setTimeout(function(){t.startDate&&t.endDate&&n.onFilterChange()},10)},e.prototype.onFilterKeywords=function(e){if(e&&e.filtering&&e.filtering.freetextFilter){var t=e.filtering.freetextFilter.toLowerCase();e.filtering.originalOptions||(e.filtering.originalOptions=e.filtering.options);var n=e.filtering.originalOptions.filter(function(e){var n=e&&e.label?e.label:e;return(n=n.toLowerCase()?n.toLowerCase():n)===t||!(!~n.indexOf(t)&&!~n.indexOf(t))});e.filtering.options=n,e.filtering.filter=e.filtering.freetextFilter}else e.filtering.options=e.filtering.originalOptions;this.onFilterChange()},e.prototype.setTableEdit=function(e,t){var n=this;this.mode=NovoTableMode.EDIT,this._dataProvider.edit(),this._rows.forEach(function(o,r){o._editing=o._editing||{},n.columns.forEach(function(n,i){o._editing[n.name]=!(n.viewOnly||(!Helpers.isEmpty(e)||!Helpers.isEmpty(t))&&(Helpers.isEmpty(e)||r!==Number(e)||!Helpers.isEmpty(t))&&(Helpers.isEmpty(e)||Helpers.isEmpty(t)||r!==Number(e)||i!==Number(t)))})})},e.prototype.leaveEditMode=function(e){var t=this;this.mode=NovoTableMode.VIEW,this._rows.forEach(function(e){e._editing=e._editing||{},t.columns.forEach(function(t){e._editing[t.name]=!1})}),e?this._dataProvider.undo():this._dataProvider.commit(),this.hideToastMessage()},e.prototype.addEditableRow=function(e){void 0===e&&(e={});var t=this.tableForm.controls.rows,n={},o=[];n.controls={},n._editing={},n.rowId=this._rows.length+1,this.columns.forEach(function(e){var t=e.editorConfig?ControlFactory.create(e.editorType,e.editorConfig):new ReadOnlyControl({key:e.name});t.value=null,n.controls[e.name]=t,n._editing[e.name]=!e.viewOnly,o.push(t)}),this.formUtils.setInitialValues(o,e,!1),t.push(this.formUtils.toFormGroup(o)),this._rows.push(n)},e.prototype.validateAndGetUpdatedData=function(){var e=this;if(this.tableForm&&this.tableForm.controls&&this.tableForm.controls.rows){var t=[],n=[];return this.tableForm.controls.rows.controls.forEach(function(o,r){var i=null,a=null;Object.keys(o.controls).forEach(function(t){var n=o.controls[t];n&&n.dirty&&!n.errors?(i||(i={},e._rows[r].id&&(i.id=e._rows[r].id)),i[t]=e.tableForm.value.rows[r][t],e._rows[r][t]=i[t]):n&&n.errors&&(a||(a={}),a[t]=n.errors,n.markAsDirty(),n.markAsTouched())}),i&&t.push(i),a&&n.push({errors:a,row:e._rows[r],index:r})}),0===n.length?{changed:t}:{errors:n}}},e.prototype.cancelEditing=function(){this.leaveEditMode(!0)},e.prototype.saveChanges=function(){this.leaveEditMode(!1)},e.prototype.displayToastMessage=function(e,t){var n=this;this.loading=!1,this.toast=e,t&&setTimeout(function(){return n.hideToastMessage()},t)},e.prototype.hideToastMessage=function(){var e=this;this.toast=null,this.grossFlagToAvoidTheTableFromBeingUglyWhenHidingTheToast=!0,setTimeout(function(){e.grossFlagToAvoidTheTableFromBeingUglyWhenHidingTheToast=!1})},e.prototype.toggleLoading=function(e){this.loading=e},e.prototype.isColumnHidden=function(e){return this.editing?!!e.hideColumnOnEdit:!!e.hideColumnOnView},e}(),NovoTableModule=function(){return function(){}}(),NOVO_VALUE_TYPE=function(){var e={DEFAULT:0,ENTITY_LIST:1,LINK:2,INTERNAL_LINK:3};return e[e.DEFAULT]="DEFAULT",e[e.ENTITY_LIST]="ENTITY_LIST",e[e.LINK]="LINK",e[e.INTERNAL_LINK]="INTERNAL_LINK",e}(),NOVO_VALUE_THEME=function(){var e={DEFAULT:0,MOBILE:1};return e[e.DEFAULT]="DEFAULT",e[e.MOBILE]="MOBILE",e}(),NovoValueElement=function(){function e(){this.meta={type:"SCALAR",label:""},this.theme=NOVO_VALUE_THEME.DEFAULT,this.NOVO_VALUE_TYPE=NOVO_VALUE_TYPE,this.NOVO_VALUE_THEME=NOVO_VALUE_THEME,this.customClass=""}return Object.defineProperty(e.prototype,"label",{get:function(){return this.meta.label},set:function(e){this.meta.label=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this.meta.type},set:function(e){this.meta.type=e},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){Helpers.isEmpty(this.meta)&&(this.meta={label:""})},Object.defineProperty(e.prototype,"isMobile",{get:function(){return this.theme===NOVO_VALUE_THEME.MOBILE},enumerable:!0,configurable:!0}),e.prototype.iconClass=function(e){var t="";return e&&e.iconCls?(t="bhi-"+e.iconCls+" actions",e.onIconClick&&(t+=" clickable"),t):t},Object.defineProperty(e.prototype,"isDefault",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showLabel",{get:function(){return this._type===NOVO_VALUE_TYPE.INTERNAL_LINK||this._type===NOVO_VALUE_TYPE.LINK||this._type===NOVO_VALUE_TYPE.ENTITY_LIST},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showIcon",{get:function(){return this.meta&&this.meta.icons&&this.meta.icons.length&&!Helpers.isEmpty(this.data)},enumerable:!0,configurable:!0}),e.prototype.onValueClick=function(e){e.onIconClick&&"function"==typeof e.onIconClick&&e.onIconClick(this.data,this.meta)},e.prototype.openLink=function(){this.meta&&this.meta.openLink&&"function"==typeof this.meta.openLink&&this.meta.openLink(this.data,this.meta)},e.prototype.ngOnChanges=function(e){if(this.meta&&this.isLinkField(this.meta,this.data)){this._type=NOVO_VALUE_TYPE.LINK;var t=new RegExp("^(http|https)://","i");this.url=t.test(this.data)?this.data:"http://"+this.data}else if(this.isEntityList(this.meta.type))this._type=NOVO_VALUE_TYPE.ENTITY_LIST;else if(this.isHTMLField(this.meta))this.customClass=this.meta.customClass?this.meta.customClass:"",this.meta.stripHTML&&this.data&&this.data.replace&&(this.data=this.data.replace(/<(?!style|\/style).+?>/gi,"").trim());else if(this.meta&&this.meta.associatedEntity)switch(this.meta.associatedEntity.entity){case"ClientCorporation":case"ClientContact":case"Candidate":case"Opportunity":case"JobOrder":case"Placement":case"Lead":this._type=NOVO_VALUE_TYPE.INTERNAL_LINK}},e.prototype.isLinkField=function(e,t){var n=new RegExp("^(https?://(?:www.|(?!www))[^s.]+.[^s]{2,}|www.[^s]+.[^s]{2,})$","gi"),o=Helpers.isString(t)&&n.exec(t.trim());return["companyURL","clientCorporationCompanyURL"].indexOf(e.name)>-1||!!o||e.type===NOVO_VALUE_TYPE.LINK},e.prototype.isEntityList=function(e){return"TO_MANY"===e},e.prototype.isHTMLField=function(e){return"HTML"===e.dataSpecialization||"TEXTAREA"===e.inputType},e}(),RenderPipe=function(){function e(e,t,n){this.changeDetector=e,this.sanitizationService=t,this.labels=n}return e.prototype.equals=function(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!=e&&t!=t)return!0;var n,o,r,i=typeof e;if(i===typeof t&&"object"===i){if(!Array.isArray(e)){if(Array.isArray(t))return!1;for(o in r=Object.create(null),e)if(e[o]){if(!this.equals(e[o],t[o]))return!1;r[o]=!0}for(o in t)if(!(o in r)&&void 0!==t[o])return!1;return!0}if(!Array.isArray(t))return!1;if((n=e.length)===t.length){for(o=0;o<n;o++)if(!this.equals(e[o],t[o]))return!1;return!0}}return!1},e.prototype.getEntityLabel=function(e,t){switch(t){case"CorporateUser":case"ClientContact":case"ClientContact1":case"ClientContact2":case"ClientContact3":case"ClientContact4":case"ClientContact5":case"Lead":case"Candidate":case"Person":return((e.firstName||"")+" "+(e.lastName||"")).trim();case"ClientCorporation":case"ClientCorporation1":case"ClientCorporation2":case"ClientCorporation3":case"ClientCorporation4":case"ClientCorporation5":return(""+(e.name||"")).trim();case"JobOrder":case"JobOrder1":case"JobOrder2":case"JobOrder3":case"JobOrder4":case"JobOrder5":case"Opportunity":return(""+(e.title||"")).trim();case"Placement":var n="";return e.candidate&&(n=(e.candidate.firstName+" "+e.candidate.lastName).trim()),e.jobOrder&&(n=(n+" - "+e.jobOrder.title).trim()),n;default:return""}},e.prototype.render=function(e,t){var n,o=e;if(e&&e._subtype&&!t)return this.getEntityLabel(e,e._subtype);if(null==e||!t)return o;if(t.formatter&&"function"==typeof t.formatter)return t.formatter(e,t);n="TO_MANY"===t.type?"ToMany":"TO_ONE"===t.type?t.associatedEntity.entity:"DATETIME"===t.dataSpecialization?"DateTime":"YEAR"===t.dataSpecialization?"Year":"DATE"===t.dataSpecialization&&"Date"===t.dataType?"Date":"Timestamp"===t.dataType?"Timestamp":["mobile","phone","phone1","phone2","phone3","workPhone"].indexOf(t.name)>-1?"Phone":t.name&&"email"===t.name.substring(0,5)?"Email":t.name&&"address.countryID"===t.name||"Country"===t.optionsType?"Country":"SkillText"===t.optionsType?"SkillText":t.options||"SELECT"===t.inputType||"CHECKBOX"===t.inputType?"Options":["MONEY","PERCENTAGE","HTML","SSN"].indexOf(t.dataSpecialization)>-1?this.capitalize(t.dataSpecialization.toLowerCase()):t.dataType||"default";try{switch(n){case"Address":case"Address1":case"AddressWithoutCountry":case"SecondaryAddress":case"BillingAddress":var r=findByCountryId(Number(e.countryName));o="",(e.address1||e.address2)&&(o+=(e.address1||"")+" "+(e.address2||"")+"<br />\n"),o+=(e.city||"")+" "+(e.state||"")+" "+(e.zip||"")+(e.city||e.state||e.zip?"<br />\n":""),o=this.sanitizationService.bypassSecurityTrustHtml((o+=(r?r.name:e.countryName||"")+(r||e.countryName?"<br />\n":"")).trim());break;case"DateTime":case"Timestamp":o=this.labels.formatDateShort(e);break;case"Date":o=this.labels.formatDate(new Date(e));break;case"Year":o=new Date(e).getFullYear();break;case"Phone":case"Email":o=e;break;case"Money":o=this.labels.formatCurrency(e);break;case"Percentage":o=this.labels.formatNumber(parseFloat(e).toString(),{style:"percent",minimumFractionDigits:2});break;case"Double":case"BigDecimal":o=this.labels.formatNumber(e,{minimumFractionDigits:this.getNumberDecimalPlaces(e)});break;case"Integer":o=e;break;case"BusinessSector":case"Category":case"Certification":case"ClientCorporation":case"CorporationDepartment":case"DistributionList":case"Skill":case"Tearsheet":case"Specialty":o=e.label||e.name||"";break;case"SkillText":o=Array.isArray(e)?e.join(", "):e;break;case"Lead":case"Candidate":case"ClientContact":case"CorporateUser":case"Person":o=e.label||(e.firstName||"")+" "+(e.lastName||"");break;case"Opportunity":case"JobOrder":o=e.label||e.title||"";break;case"Placement":e.candidate&&(o=(e.candidate.firstName||"")+" "+(e.candidate.lastName||"")),e.jobOrder&&(o=e.candidate?o+" - "+(e.jobOrder.title||""):""+(e.jobOrder.title||""));break;case"JobSubmission":o=e.label||(e.jobOrder?e.jobOrder.title+" - ":"")+" "+(e.candidate?e.candidate.firstName:"")+" "+(e.candidate?e.candidate.lastName:"");break;case"WorkersCompensationRate":o=(e.compensation?e.compensation.code+" - ":"")+" "+(e.compensation?e.compensation.name:"");break;case"Options":o=this.options(e,t.options,t);break;case"ToMany":["Candidate","CorporateUser","Person"].indexOf(t.associatedEntity.entity)>-1?(o=this.concat(e.data,"firstName","lastName"),e.data.length<e.total&&(o=o+", "+this.labels.getToManyPlusMore({quantity:e.total-e.data.length}))):["Category","BusinessSector","Skill","Specialty","ClientCorporation","CorporationDepartment"].indexOf(t.associatedEntity.entity)>-1?(o=this.concat(e.data,"name"),e.data.length<e.total&&(o=o+", "+this.labels.getToManyPlusMore({quantity:e.total-e.data.length}))):o="MailListPushHistoryDetail"===t.associatedEntity.entity?this.concat(e.data,"externalListName"):""+(e.total||"");break;case"Country":var i=findByCountryId(Number(e));o=i?i.name:e;break;case"Html":Array.isArray(e)&&(e=e.join(" ")),"string"==typeof o&&(o=this.sanitizationService.bypassSecurityTrustHtml(e.replace(/\<a/gi,'<a target="_blank"')));break;case"CandidateComment":o=e.comments?this.labels.formatDateShort(e.dateLastModified)+" ("+e.name+") - "+e.comments:"";break;default:o=e.trim?e.trim():e}return o}catch(a){return console.error("WARNING: There was a problem rendering the value of the field: "+t.label+". Please check the configuration"),console.error(a),o}},e.prototype.updateValue=function(e,t){this.value=this.render(e,t),this.changeDetector.markForCheck()},e.prototype.transform=function(e,t){return null==e?"":this.equals(e,this.lastValue)&&this.equals(t,this.lastArgs)?this.value:(this.lastValue=e,this.lastArgs=t,this.updateValue(this.lastValue,this.lastArgs),this.value)},e.prototype.concat=function(e){for(var t,n,o,r,i=[],a=1;a<arguments.length;a++)i[a-1]=arguments[a];var s=[];try{for(var l=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.h)(e),c=l.next();!c.done;c=l.next()){var u=c.value,d=[];try{for(var h=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.h)(i),p=h.next();!p.done;p=h.next())d.push(""+u[p.value])}catch(f){o={error:f}}finally{try{p&&!p.done&&(r=h.return)&&r.call(h)}finally{if(o)throw o.error}}s.push(d.join(" "))}}catch(m){t={error:m}}finally{try{c&&!c.done&&(n=l.return)&&n.call(l)}finally{if(t)throw t.error}}return s.join(", ")},e.prototype.options=function(e,t,n){Array.isArray(e)||(e=[e]);try{return e.map(function(e){var n,o;try{for(var r=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.h)(t),i=r.next();!i.done;i=r.next()){var a=i.value;if(a.value===e)return a.label}}catch(s){n={error:s}}finally{try{i&&!i.done&&(o=r.return)&&o.call(r)}finally{if(n)throw n.error}}return e})}catch(o){if(!n.optionsType)throw Error(o);return e}},e.prototype.getNumberDecimalPlaces=function(e){var t;return e&&(t=((parseFloat(e).toString()||"").split(".")[1]||"").length),t||1},e.prototype.capitalize=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},e}(),EntityList=function(){function e(){this.baseEntity="",this.ENTITY_SHORT_NAMES={Lead:"lead",ClientContact:"contact",ClientContact1:"contact",ClientContact2:"contact",ClientContact3:"contact",ClientContact4:"contact",ClientContact5:"contact",ClientCorporation:"company",ClientCorporation1:"company",ClientCorporation2:"company",ClientCorporation3:"company",ClientCorporation4:"company",ClientCorporation5:"company",Opportunity:"opportunity",Task:"task",Note:"note",CorporateUser:"user",Candidate:"candidate",JobOrder:"job",JobOrder1:"job",JobOrder2:"job",JobOrder3:"job",JobOrder4:"job",JobOrder5:"job",Placement:"placement",JobSubmission:"submission",CandidateReference:"references",DistributionList:"distributionList",Appointment:"appointment"}}return e.prototype.ngOnInit=function(){var e,t;this.metaDisplay=Helpers.deepClone(this.meta),this.metaDisplay.type="TO_ONE",this.baseEntity=this.meta.associatedEntity.entity;try{for(var n=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.h)(this.data.data),o=n.next();!o.done;o=n.next()){var r=o.value;r.isLinkable=this.isLinkable(r),r.class=this.getClass(r)}}catch(i){e={error:i}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},e.prototype.getClass=function(e){return this.ENTITY_SHORT_NAMES[e.personSubtype]},e.prototype.openLink=function(e){e.openLink(e)},e.prototype.isLinkable=function(e){return e.openLink},e}(),NovoValueModule=function(){return function(){}}(),NovoIconComponent=function(){function e(e,t){this.element=e,this.cdr=t,this.size="medium",this.role="img"}return Object.defineProperty(e.prototype,"alt",{get:function(){return this.ariaLabel},set:function(e){this.ariaLabel=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this.iconName},set:function(e){this.iconName="bhi-"+e},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){var e=this;this.element.nativeElement.textContent.trim()&&Promise.resolve().then(function(){e.name=e.element.nativeElement.textContent.trim(),e.cdr.markForCheck()})},e}(),NovoIconModule=function(){return function(){}}(),NovoAccordion=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._hideToggle=!1,t.displayMode="default",t}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),Object.defineProperty(t.prototype,"hideToggle",{get:function(){return this._hideToggle},set:function(e){this._hideToggle=Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_30__.b)(e)},enumerable:!0,configurable:!0}),t}(_angular_cdk_accordion__WEBPACK_IMPORTED_MODULE_8__.a),EXPANSION_PANEL_ANIMATION_TIMING="225ms cubic-bezier(0.4,0.0,0.2,1)",novoExpansionAnimations={indicatorRotate:Object(_angular_animations__WEBPACK_IMPORTED_MODULE_12__.h)("indicatorRotate",[Object(_angular_animations__WEBPACK_IMPORTED_MODULE_12__.e)("collapsed",Object(_angular_animations__WEBPACK_IMPORTED_MODULE_12__.f)({transform:"rotate(0deg)"})),Object(_angular_animations__WEBPACK_IMPORTED_MODULE_12__.e)("expanded",Object(_angular_animations__WEBPACK_IMPORTED_MODULE_12__.f)({transform:"rotate(180deg)"})),Object(_angular_animations__WEBPACK_IMPORTED_MODULE_12__.g)("expanded <=> collapsed",Object(_angular_animations__WEBPACK_IMPORTED_MODULE_12__.a)(EXPANSION_PANEL_ANIMATION_TIMING))]),expansionHeaderHeight:Object(_angular_animations__WEBPACK_IMPORTED_MODULE_12__.h)("expansionHeight",[Object(_angular_animations__WEBPACK_IMPORTED_MODULE_12__.e)("collapsed",Object(_angular_animations__WEBPACK_IMPORTED_MODULE_12__.f)({height:"{{collapsedHeight}}"}),{params:{collapsedHeight:"48px"}}),Object(_angular_animations__WEBPACK_IMPORTED_MODULE_12__.e)("expanded",Object(_angular_animations__WEBPACK_IMPORTED_MODULE_12__.f)({height:"{{expandedHeight}}"}),{params:{expandedHeight:"56px"}}),Object(_angular_animations__WEBPACK_IMPORTED_MODULE_12__.g)("expanded <=> collapsed",Object(_angular_animations__WEBPACK_IMPORTED_MODULE_12__.c)([Object(_angular_animations__WEBPACK_IMPORTED_MODULE_12__.d)("@indicatorRotate",Object(_angular_animations__WEBPACK_IMPORTED_MODULE_12__.b)(),{optional:!0}),Object(_angular_animations__WEBPACK_IMPORTED_MODULE_12__.a)(EXPANSION_PANEL_ANIMATION_TIMING)]))]),bodyExpansion:Object(_angular_animations__WEBPACK_IMPORTED_MODULE_12__.h)("bodyExpansion",[Object(_angular_animations__WEBPACK_IMPORTED_MODULE_12__.e)("collapsed",Object(_angular_animations__WEBPACK_IMPORTED_MODULE_12__.f)({height:"0px",visibility:"hidden"})),Object(_angular_animations__WEBPACK_IMPORTED_MODULE_12__.e)("expanded",Object(_angular_animations__WEBPACK_IMPORTED_MODULE_12__.f)({height:"*",visibility:"visible"})),Object(_angular_animations__WEBPACK_IMPORTED_MODULE_12__.g)("expanded <=> collapsed",Object(_angular_animations__WEBPACK_IMPORTED_MODULE_12__.a)(EXPANSION_PANEL_ANIMATION_TIMING))])},NovoExpansionPanelContent=function(){return function(e){this._template=e}}(),uniqueId=0,NovoExpansionPanel=function(e){function t(t,n,o,r){var i=e.call(this,t,n,o)||this;return i._viewContainerRef=r,i._hideToggle=!1,i._padding=!0,i.opened=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,i.closed=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,i.expandedChange=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,i._inputChanges=new rxjs__WEBPACK_IMPORTED_MODULE_18__.a,i._headerId="novo-expansion-panel-header-"+uniqueId++,i.accordion=t,i}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),Object.defineProperty(t.prototype,"hideToggle",{get:function(){return this._hideToggle},set:function(e){this._hideToggle=Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_30__.b)(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"padding",{get:function(){return this._padding},set:function(e){this._padding=Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_30__.b)(e)},enumerable:!0,configurable:!0}),t.prototype._getHideToggle=function(){return this.accordion?this.accordion.hideToggle:this.hideToggle},t.prototype._hasSpacing=function(){return!!this.accordion&&"default"===(this.expanded?this.accordion.displayMode:this._getExpandedState())},t.prototype._getExpandedState=function(){return this.expanded?"expanded":"collapsed"},t.prototype.ngAfterContentInit=function(){var e=this;this._lazyContent&&this.opened.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_26__.a)(null),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.a)(function(){return e.expanded&&!e._portal}),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_27__.a)(1)).subscribe(function(){e._portal=new _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_10__.e(e._lazyContent._template,e._viewContainerRef)})},t.prototype.ngOnChanges=function(e){this._inputChanges.next(e)},t.prototype.ngOnDestroy=function(){e.prototype.ngOnDestroy.call(this),this._inputChanges.complete()},t.prototype._bodyAnimation=function(e){var t=e.element.classList,n=e.phaseName,o=e.toState;"done"===n&&"expanded"===o?t.add("novo-expanded"):"start"===n&&"collapsed"===o&&t.remove("novo-expanded")},t}(_angular_cdk_accordion__WEBPACK_IMPORTED_MODULE_8__.b),NovoExpansionPanelActionRow=function(){return function(){}}(),NovoExpansionPanelHeader=function(){function e(e,t,n){var o=this;this.panel=e,this._element=t,this._changeDetectorRef=n,this._parentChangeSubscription=rxjs__WEBPACK_IMPORTED_MODULE_19__.a.EMPTY,this._parentChangeSubscription=Object(rxjs__WEBPACK_IMPORTED_MODULE_14__.a)(e.opened,e.closed,e._inputChanges.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.a)(function(e){return!(!e.hideToggle&&!e.disabled)}))).subscribe(function(){return o._changeDetectorRef.markForCheck()})}return e.prototype._toggle=function(){this.panel.toggle()},e.prototype._isExpanded=function(){return this.panel.expanded},e.prototype._getExpandedState=function(){return this.panel._getExpandedState()},e.prototype._getPanelId=function(){return this.panel.id},e.prototype._showToggle=function(){return!this.panel.hideToggle&&!this.panel.disabled},e.prototype._keydown=function(e){switch(e.keyCode){case _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_9__.j:case _angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_9__.d:e.preventDefault(),this._toggle();break;default:return}},e.prototype.ngOnDestroy=function(){this._parentChangeSubscription.unsubscribe()},e}(),NovoExpansionPanelDescription=function(){return function(){}}(),NovoExpansionPanelTitle=function(){return function(){}}(),NovoExpansionModule=function(){return function(){}}(),NovoStepLabel=function(e){function t(t){return e.call(this,t)||this}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t}(_angular_cdk_stepper__WEBPACK_IMPORTED_MODULE_11__.c),NovoStepHeader=function(e){function t(t,n){var o=e.call(this,n)||this;return o._focusMonitor=t,o._element=n,t.monitor(n.nativeElement,!0),o}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),Object.defineProperty(t.prototype,"index",{get:function(){return this._index},set:function(e){this._index=Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_30__.d)(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected},set:function(e){this._selected=Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_30__.b)(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"active",{get:function(){return this._active},set:function(e){this._active=Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_30__.b)(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"touched",{get:function(){return this.selected||"edit"===this.state||"done"===this.state},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"optional",{get:function(){return this._optional},set:function(e){this._optional=Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_30__.b)(e)},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._element.nativeElement)},t.prototype._stringLabel=function(){return this.label instanceof NovoStepLabel?null:this.label},t.prototype._templateLabel=function(){return this.label instanceof NovoStepLabel?this.label:null},t.prototype._getHostElement=function(){return this._element.nativeElement},t}(_angular_cdk_stepper__WEBPACK_IMPORTED_MODULE_11__.b),novoStepperAnimations={horizontalStepTransition:Object(_angular_animations__WEBPACK_IMPORTED_MODULE_12__.h)("stepTransition",[Object(_angular_animations__WEBPACK_IMPORTED_MODULE_12__.e)("previous",Object(_angular_animations__WEBPACK_IMPORTED_MODULE_12__.f)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),Object(_angular_animations__WEBPACK_IMPORTED_MODULE_12__.e)("current",Object(_angular_animations__WEBPACK_IMPORTED_MODULE_12__.f)({transform:"none",visibility:"visible"})),Object(_angular_animations__WEBPACK_IMPORTED_MODULE_12__.e)("next",Object(_angular_animations__WEBPACK_IMPORTED_MODULE_12__.f)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),Object(_angular_animations__WEBPACK_IMPORTED_MODULE_12__.g)("* => *",Object(_angular_animations__WEBPACK_IMPORTED_MODULE_12__.a)("500ms cubic-bezier(0.35, 0, 0.25, 1)"))]),verticalStepTransition:Object(_angular_animations__WEBPACK_IMPORTED_MODULE_12__.h)("stepTransition",[Object(_angular_animations__WEBPACK_IMPORTED_MODULE_12__.e)("previous",Object(_angular_animations__WEBPACK_IMPORTED_MODULE_12__.f)({height:"0px",visibility:"hidden"})),Object(_angular_animations__WEBPACK_IMPORTED_MODULE_12__.e)("next",Object(_angular_animations__WEBPACK_IMPORTED_MODULE_12__.f)({height:"0px",visibility:"hidden"})),Object(_angular_animations__WEBPACK_IMPORTED_MODULE_12__.e)("current",Object(_angular_animations__WEBPACK_IMPORTED_MODULE_12__.f)({height:"*",visibility:"visible"})),Object(_angular_animations__WEBPACK_IMPORTED_MODULE_12__.g)("* <=> current",Object(_angular_animations__WEBPACK_IMPORTED_MODULE_12__.a)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])},NovoStep=function(e){function t(t){return e.call(this,t)||this}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t}(_angular_cdk_stepper__WEBPACK_IMPORTED_MODULE_11__.a),NovoStepper=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._iconOverrides={},t}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),Object.defineProperty(t.prototype,"completed",{get:function(){try{var e=this._steps.toArray(),t=e.length-1;return e[t].completed&&t===this.selectedIndex}catch(n){return!1}},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){var e=this;this._steps.changes.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_28__.a)(this._destroyed)).subscribe(function(){return e._stateChanged()})},t.prototype.complete=function(){try{this._steps.toArray()[this.selectedIndex].completed=!0,this.next(),this._stateChanged()}catch(e){}},t.prototype.getIndicatorType=function(e){var t=this._steps.toArray();return e===this.selectedIndex?t[e]&&e===t.length-1&&t[e].completed?"done":"edit":e<this.selectedIndex?"done":"none"},t}(_angular_cdk_stepper__WEBPACK_IMPORTED_MODULE_11__.d),NovoHorizontalStepper=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t}(NovoStepper),NovoVerticalStepper=function(e){function t(t,n){var o=e.call(this,t,n)||this;return o._orientation="vertical",o}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t}(NovoStepper),NovoStepStatus=function(){return function(e,t){}}(),NovoStepperModule=function(){return function(){}}(),NovoCategoryDropdownElement=function(e){function t(t,n){var o=e.call(this,t)||this;return o.labels=n,o._query="",o._categoryMap={},o._categories=[],o.persistSelection=!1,o.closeOnSelect=!1,o._select=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,o.categorySelected=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,o.clickHandler=o.toggleActive.bind(o),o}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),Object.defineProperty(t.prototype,"categories",{set:function(e){this._masterCategoryMap=Object.assign({},e),this._categoryMap=Object.assign({},e),this._categories=Object.keys(e)},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.element.nativeElement.querySelector("button").addEventListener("click",this.clickHandler)},t.prototype.ngOnDestroy=function(){var e=this.element.nativeElement.querySelector("button");e&&e.removeEventListener("click",this.clickHandler)},t.prototype.onKeyDown=function(e){!this.active||e.keyCode!==KeyCodes.ESC&&e.keyCode!==KeyCodes.ENTER||this.toggleActive()},t.prototype.clearSelection=function(){var e=this;this._categories.forEach(function(t){e._categoryMap[t].forEach(function(e){e.selected=!1})})},t.prototype.select=function(e,t){Helpers.swallowEvent(e),this.persistSelection&&(this.clearSelection(),t.selected=!0),this._select.emit(t),this.closeOnSelect&&this.toggleActive()},t.prototype.onCategorySelected=function(e){this.categorySelected.emit(e)},t.prototype.clearQuery=function(e){var t=this;Helpers.swallowEvent(e),this._query="",this._categories.forEach(function(e){t._categoryMap[e]=t._masterCategoryMap[e]})},t.prototype.queryCategories=function(e){var t=this;this._query=e,this._queryTimeout&&clearTimeout(this._queryTimeout),this._queryTimeout=setTimeout(function(){t._categories.forEach(function(n){t._categoryMap[n]=t._masterCategoryMap[n].filter(t.search.compare?function(n){return t.search.compare(e,n)}:function(t){return~t.label.toLowerCase().indexOf(e.toLowerCase())})})},this.search.debounce||300)},t.prototype.executeClickCallback=function(e,t){t.callback(e),this.closeOnSelect&&this.toggleActive()},t}(OutsideClick),NovoCategoryDropdownModule=function(){return function(){}}(),CHIPS_VALUE_ACCESSOR$2={provide:_angular_forms__WEBPACK_IMPORTED_MODULE_34__.NG_VALUE_ACCESSOR,useExisting:Object(_angular_core__WEBPACK_IMPORTED_MODULE_36__.forwardRef)(function(){return NovoMultiPickerElement}),multi:!0},NovoMultiPickerElement=function(){function e(e,t){this.element=e,this.labels=t,this.placeholder="",this.changed=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.focus=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.blur=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.items=[],this._items=new rxjs__WEBPACK_IMPORTED_MODULE_17__.a(1),this.selected=null,this.config={},this._value={},this.notShown={},this.onModelChange=function(){},this.onModelTouched=function(){},this.chipsCount=4}return Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(e){var t=this;e?this.types.forEach(function(n){return t._value[n.value]=e[n.value]}):(this._value={},this.types.forEach(function(e){return t._value[e.value]=[]})),this.changed.emit(e),this.onModelChange(e)},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this.selectAllOption=this.source.selectAllOption||!1,this.chipsCount=this.source.chipsCount||4,this.strictRelationship=this.source.strictRelationship||!1,this.setupOptions()},e.prototype.clearValue=function(){var e=this;this.types.forEach(function(t){return e.modifyAllOfType(t.value,"unselect")}),this.items=[],this._items.next(this.items),this.setInitialValue(null),this.onModelChange(this.value)},e.prototype.removeFromDisplay=function(e,t){this.remove(!0,t),this.modifyAffectedParentsOrChildren(!1,t)},e.prototype.setupOptions=function(){var e=this;this.options=this.source.options||[],this._options=[],this.options&&this.options.forEach(function(t){var n=e.setupOptionsByType(t);e._options.push(n)}),this.source.options=this._options},e.prototype.setupOptionsByType=function(e){var t=this,n={type:e.type,label:e.label||e.type};if(n.data=e.data.map(function(n){return t.formatOption(e,n)}),this.selectAllOption){var o=this.createSelectAllOption(e);n.data.splice(0,0,o)}return n.originalData=n.data.slice(),n},e.prototype.formatOption=function(e,t){var n={value:e.field?t[e.field]:t.value||t,label:e.format?Helpers.interpolate(e.format,t):t.label||String(t.value||t),type:e.type,checked:void 0,isParentOf:e.isParentOf,isChildOf:e.isChildOf};return n.isChildOf&&(n[e.isChildOf]=t[e.isChildOf]),n},e.prototype.createSelectAllOption=function(e){var t={value:"ALL",label:"All "+e.type,type:e.type,checked:this.model&&this.model.length&&-1!==this.model.indexOf("ALL"),isParentOf:e.isParentOf,isChildOf:e.isChildOf};if(e.isChildOf){var n=e.data.reduce(function(t,n){return t.concat(n[e.isChildOf])},[]);t[e.isChildOf]=n}return t},e.prototype.deselectAll=function(){this.selected=null},e.prototype.select=function(e,t){this.blur.emit(e),this.deselectAll(),this.selected=t},e.prototype.onFocus=function(e){this.element.nativeElement.classList.add("selected"),this.focus.emit(e)},e.prototype.clickOption=function(e){if(e&&!(e instanceof Event)){!1===e.checked?this.remove(null,e):this.add(e),this.modifyAffectedParentsOrChildren(e.checked,e);var t=this.element.nativeElement.querySelector("novo-picker > input");t&&t.focus()}},e.prototype.add=function(e){"ALL"===e.value?this.modifyAllOfType(e.type,"select"):(this.updateDisplayItems(e,"add"),this.value[e.type].push(e.value),this.updateAllItemState(e.type),this.triggerValueUpdate()),this.updateParentOrChildren(e,"select"),this.select(null,e)},e.prototype.updateAllItemState=function(e){var t=this.getAllOfType(e),n=this.allItemsSelected(t,e);return n&&this.selectAll(t,e),{allOfType:t,allOfTypeSelected:n}},e.prototype.setIndeterminateState=function(e,t){this.selectAllOption&&(e[0].indeterminate=t)},e.prototype.updateDisplayItems=function(e,t){"add"===t?this.items.push(e):this.items.indexOf(e)>-1&&this.items.splice(this.items.indexOf(e),1),this.updateDisplayText(this.items),this._items.next(this.items)},e.prototype.updateDisplayText=function(e){var t=this;this.notShown=[];var n=e.slice(this.chipsCount);n.length>0&&this.types.forEach(function(e){var o,r=n.filter(function(t){return t.type===e.value});(o=1===r.length&&"ALL"===r[0].value?t.getAllOfType(e.value).length-1:r.length)>0&&t.notShown.push({type:1===o?e.singular:e.plural||e.value,count:o})})},e.prototype.remove=function(e,t){var n;e&&(n=!0);var o=t;"ALL"===o.value?(n=!1,this.modifyAllOfType(o.type,"unselect")):this.allOfTypeSelected(o.type)&&this.handleRemoveItemIfAllSelected(o),this.removeItem(t,n)},e.prototype.removeItem=function(e,t){e.checked=!1,this.deselectAll(),this.removeValue(e),"ALL"!==e.value&&this.updateParentOrChildren(e,"unselect"),t&&this.modifyAffectedParentsOrChildren(!1,e)},e.prototype.removeValue=function(e){var t=this.value[e.type].filter(function(t){return t!==e.value});this.value[e.type]=t,this.triggerValueUpdate(),this.updateDisplayItems(e,"remove")},e.prototype.onKeyDown=function(e){e.keyCode===KeyCodes.BACKSPACE&&e.target&&0===e.target.value.length&&this.items.length&&(e&&(e.stopPropagation(),e.preventDefault()),this.selected?this.remove(null,this.selected):this.select(e,this.items[this.items.length-1]))},e.prototype.allOfTypeSelected=function(e){return this.items.filter(function(t){return t.type===e&&"ALL"===t.value}).length>0},e.prototype.modifyAllOfType=function(e,t){var n="select"===t,o=this.getAllOfType(e);o.forEach(function(e){e.checked=n,e.indeterminate=!1}),n?this.selectAll(o,e):(this.items=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.g)(this.items.filter(function(t){return t.type!==e})),this._items.next(this.items),this.value[e]=[]),this.selectAllOption&&this.updateAllParentsOrChildren(o[0],t),this.triggerValueUpdate()},e.prototype.triggerValueUpdate=function(){var e=this,t={};this.types.forEach(function(n){return t[n.value]=e.value[n.value]}),this.value=t},e.prototype.selectAll=function(e,t){if(this.selectAllOption){e[0].checked=!0;var n=e.map(function(e){return e.value});n.splice(0,1),this.value[t]=n;var o=this.items.filter(function(e){return e.type!==t});this.items=o,this.updateDisplayItems(e[0],"add")}},e.prototype.handleRemoveItemIfAllSelected=function(e){if(this.selectAllOption){var t=e.type,n=this.getAllOfType(t),o=n[0];this.removeItem(o),o.indeterminate=!0;var r=n.filter(function(e){return!0===e.checked});this.items=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.g)(this.items,r);var i=r.map(function(e){return e.value});this.value[t]=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.g)(i)}},e.prototype.handleOutsideClick=function(e){this.element.nativeElement.contains(e.target)||(this.blur.emit(e),this.deselectAll())},e.prototype.getAllOfType=function(e){return this._options.filter(function(t){return t.type===e})[0].originalData},e.prototype.updateParentOrChildren=function(e,t){this.strictRelationship&&e.isParentOf?this.updateChildrenValue(e,t):e.isChildOf&&this.selectAllOption&&this.updateParentValue(e,t)},e.prototype.modifyAffectedParentsOrChildren=function(e,t){var n=this;if(t.isChildOf||t.isParentOf){var o=this.types.filter(function(e){return!!e.isParentOf})[0].value,r=this.getAllOfType(o),i=this.getAllOfType(r[0].isParentOf),a=i.filter(function(e){return!!e.checked});r.forEach(function(r){if("ALL"!==r.value){var s=a.filter(function(e){return e[o].filter(function(e){return e===r.value}).length>0});if(e){if(r.checked)return;r.indeterminate=s.length>0}else{var l=i.filter(function(e){return"ALL"!==e.value&&e[o].filter(function(e){return e===r.value}).length>0});if(s.length>0)r.checked?n.strictRelationship&&l.length!==s.length&&(r.indeterminate=!0,r.checked=!1,n.removeValue(r),n.addIndividualChildren(s)):r.indeterminate=!0,n.strictRelationship&&t.type!==o&&r.checked&&(r.checked=!1,n.removeValue(r),n.addIndividualChildren(s));else{if(r.indeterminate=!1,0===l.length)return;n.strictRelationship&&t.type!==o&&n.remove(null,r)}}}}),this.selectAllOption&&this.updateIndeterminateStates(r,i,a)}},e.prototype.updateAllParentsOrChildren=function(e,t){e.isParentOf?this.updateAllChildrenValue(e,t):e.isChildOf&&this.updateAllParentValue(e,t)},e.prototype.updateAllChildrenValue=function(e,t){var n=this,o="select"===t,r=e.isParentOf,i=this.getAllOfType(r);this.selectAllOption&&this.allOfTypeSelected(r)&&!o?this.remove(null,i[0]):i.forEach(function(e){"ALL"!==e.value||e.checked?(e.checked&&!o&&n.remove(null,e),e.checked=o):(o&&(e.checked=!0),e.indeterminate=o)})},e.prototype.updateAllParentValue=function(e,t){var n="select"===t;this.getAllOfType(e.isChildOf).forEach(function(e){e.checked||(e.indeterminate=n)})},e.prototype.updateIndeterminateStates=function(e,t,n){var o=e.filter(function(e){return!(!e.checked&&!e.indeterminate||"ALL"===e.value)}),r=!t[0].checked&&n.length>0;this.setIndeterminateState(e,!e[0].checked&&o.length>0),this.setIndeterminateState(t,r)},e.prototype.updateChildrenValue=function(e,t){var n=this,o="select"===t,r=e.isParentOf;this.getAllOfType(r).forEach(function(t){"ALL"!==t.value&&t[e.type].filter(function(t){return t===e.value}).length>0&&(t.checked&&!o&&(t.checked=!1,n.allOfTypeSelected(r)?n.handleRemoveItemIfAllSelected(t):n.removeValue(t)),t.checked=o)})},e.prototype.updateParentValue=function(e,t){var n=this.getAllOfType(e.isChildOf);n[0].checked&&"select"!==t&&this.handleRemoveItemIfAllSelected(n[0])},e.prototype.addIndividualChildren=function(e){var t=this,n=!1;e.forEach(function(e){e.isChildOf&&e[e.isChildOf].forEach(function(o){t.value[e.isChildOf].filter(function(e){return e===o}).length>0&&(n=!0)}),0!==t.value[e.type].filter(function(t){return t===e.value}).length||n||t.add(e)})},e.prototype.setInitialValue=function(e){var t=this;this.items=[],this.value=e||{},this.types&&this.types.forEach(function(e){var n=e.value;if(t.value[n]){var o=!1,r=t.updateAllItemState(n),i=r.allOfType,a=r.allOfTypeSelected;t.value[n].forEach(function(e){a||o||(o=!0,t.setIndeterminateState(i,!0));var n=i.filter(function(t){return t.value===e})[0];n.checked=!0,a||t.updateDisplayItems(n,"add"),t.strictRelationship&&n.isParentOf&&t.updateChildrenValue(n,"select")}),e.isChildOf&&t.modifyAffectedParentsOrChildren(!0,{value:n,isChildOf:!0})}else t.value[n]=[]})},e.prototype.allItemsSelected=function(e,t){return this.value[t].length===e.length-1},e.prototype.onTouched=function(e){this.element.nativeElement.classList.remove("selected"),this.onModelTouched(),this.blur.emit(e)},e.prototype.writeValue=function(e){this.model=e,this.setInitialValue(e)},e.prototype.registerOnChange=function(e){this.onModelChange=e},e.prototype.registerOnTouched=function(e){this.onModelTouched=e},e}(),NovoMultiPickerModule=function(){return function(){}}(),Security=function(){function e(){this.credentials=[],this.change=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter}return e.prototype.grant=function(e){var t,n,o,r,i=[];if(e instanceof Array)try{for(var a=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.h)(e),s=a.next();!s.done;s=a.next())i.push(s.value.replace(/\s/gi,""))}catch(d){t={error:d}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}else if("object"==typeof e)for(var l in e)if(e[l]instanceof Array)try{for(var c=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.h)(e[l]),u=c.next();!u.done;u=c.next())i.push(l+"."+u.value)}catch(h){o={error:h}}finally{try{u&&!u.done&&(r=c.return)&&r.call(c)}finally{if(o)throw o.error}}this.credentials=[].concat(this.credentials,i),this.change.emit(this.credentials)},e.prototype.has=function(e){return this.credentials.indexOf(e)>-1},e.prototype.revoke=function(e){var t=this.credentials.indexOf(e);this.credentials.splice(t,1),this.change.emit(this.credentials)},e.prototype.clear=function(){this.credentials=[],this.change.emit(this.credentials)},e.prototype.subscribe=function(e){this.change.subscribe(e)},e.prototype.checkRoutes=function(e,t){var n,o,r=this,i=[];try{for(var a=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.h)(e),s=a.next();!s.done;s=a.next()){var l=s.value;l.entities&&~l.entities.indexOf(t.entityType)&&(l.permissions instanceof Function?l.permissions(t,this)&&i.push(l):l.permissions&&l.permissions.length?l.permissions.every(function(e){return r.has(e)})&&i.push(l):i.push(l))}}catch(c){n={error:c}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}return i},e}(),Unless=function(){function e(e,t,n){this.templateRef=e,this.viewContainer=t,this.security=n,this.permissions="",this.isDisplayed=!1,this.security.subscribe(this.check.bind(this))}return Object.defineProperty(e.prototype,"bhUnless",{set:function(e){this.permissions=e||"",this.check()},enumerable:!0,configurable:!0}),e.prototype.check=function(){var e,t,n=this,o=!1;if(~this.permissions.indexOf("||")){var r=this.permissions.split("||");try{for(var i=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.h)(r),a=i.next();!a.done;a=i.next())this.security.has(a.value.trim())&&(o=!0)}catch(s){e={error:s}}finally{try{a&&!a.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}}else o=this.permissions.split("&&").every(function(e){return n.security.has(e.trim())});o?this.isDisplayed||(this.isDisplayed=!0,this.viewContainer.createEmbeddedView(this.templateRef)):(this.isDisplayed=!1,this.viewContainer.clear())},e}(),UnlessModule=function(){return function(){}}(),DataTableSource=function(e){function t(t,n,o){var r=e.call(this)||this;return r.tableService=t,r.state=n,r.ref=o,r.total=0,r.currentTotal=0,r.current=0,r.loading=!1,r.pristine=!0,r.totalSet=!1,r}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),Object.defineProperty(t.prototype,"totallyEmpty",{get:function(){return 0===this.total},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentlyEmpty",{get:function(){return 0===this.current},enumerable:!0,configurable:!0}),t.prototype.connect=function(){var e=this,t=[this.state.updates];return rxjs__WEBPACK_IMPORTED_MODULE_14__.a.apply(void 0,Object(tslib__WEBPACK_IMPORTED_MODULE_35__.g)(t)).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_26__.a)(null),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_22__.a)(function(){return e.pristine=!1,e.loading=!0,e.tableService.getTableResults(e.state.sort,e.state.filter,e.state.page,e.state.pageSize,e.state.globalSearch,e.state.outsideFilter)}),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_25__.a)(function(t){return e.totalSet&&!e.state.isForceRefresh||(e.total=t.total,e.totalSet=!0,e.state.isForceRefresh=!1),e.currentTotal=t.total,e.current=t.results.length,e.data=t.results,e.state.selectedRows.clear(),e.state.onSelectionChange(),setTimeout(function(){e.ref.markForCheck(),setTimeout(function(){e.loading=!1,e.state.dataLoaded.next(),e.ref.markForCheck()})}),t.results}),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_29__.a)(function(t,n){return console.error(t,n),e.loading=!1,Object(rxjs__WEBPACK_IMPORTED_MODULE_15__.a)(null)}))},t.prototype.disconnect=function(){},t}(_angular_cdk_table__WEBPACK_IMPORTED_MODULE_31__.b),NovoDataTableFilterUtils=function(){function e(){}return e.constructFilter=function(e,t,n){var o=e;return e&&(t&&"date"===t&&(o=e.startDate&&e.endDate?{min:Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.startOfDay)(e.startDate.date),max:Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.startOfDay)(Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.addDays)(Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.startOfDay)(e.endDate.date),1))}:{min:e.min?Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.addDays)(Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.startOfToday)(),e.min):Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.startOfToday)(),max:e.max?Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.addDays)(Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.endOfToday)(),e.max):Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.endOfToday)()}),n&&Array.isArray(e)?o=e.map(function(e){return e&&e.hasOwnProperty("value")?e.value:e}):o&&o.hasOwnProperty("value")&&(o=e.value)),o},e}(),DataTableState=function(){function e(){this.selectionSource=new rxjs__WEBPACK_IMPORTED_MODULE_18__.a,this.paginationSource=new rxjs__WEBPACK_IMPORTED_MODULE_18__.a,this.sortFilterSource=new rxjs__WEBPACK_IMPORTED_MODULE_18__.a,this.resetSource=new rxjs__WEBPACK_IMPORTED_MODULE_18__.a,this.expandSource=new rxjs__WEBPACK_IMPORTED_MODULE_18__.a,this.dataLoaded=new rxjs__WEBPACK_IMPORTED_MODULE_18__.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 _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter}return Object.defineProperty(e.prototype,"userFiltered",{get:function(){return!!(this.filter||this.sort||this.globalSearch||this.outsideFilter)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selected",{get:function(){return Array.from(this.selectedRows.values())},enumerable:!0,configurable:!0}),e.prototype.reset=function(e,t){void 0===e&&(e=!0),t||(this.sort=void 0,this.globalSearch=void 0,this.filter=void 0),this.page=0,this.selectedRows.clear(),this.resetSource.next(),this.onSortFilterChange(),e&&this.updates.emit({sort:this.sort,filter:this.filter,globalSearch:this.globalSearch})},e.prototype.clearSort=function(e){void 0===e&&(e=!0),this.sort=void 0,this.page=0,this.selectedRows.clear(),this.resetSource.next(),this.onSortFilterChange(),e&&this.updates.emit({sort:this.sort,filter:this.filter,globalSearch:this.globalSearch})},e.prototype.clearFilter=function(e){void 0===e&&(e=!0),this.filter=void 0,this.globalSearch=void 0,this.page=0,this.selectedRows.clear(),this.resetSource.next(),this.onSortFilterChange(),e&&this.updates.emit({sort:this.sort,filter:this.filter,globalSearch:this.globalSearch})},e.prototype.onSelectionChange=function(){this.selectionSource.next()},e.prototype.onExpandChange=function(e){this.expandSource.next(e)},e.prototype.onPaginationChange=function(e,t){this.paginationSource.next({isPageSizeChange:e,pageSize:t})},e.prototype.onSortFilterChange=function(){this.sortFilterSource.next({sort:this.sort,filter:this.filter,globalSearch:this.globalSearch})},e.prototype.setInitialSortFilter=function(e){if(e&&(e.sort&&(this.sort=e.sort),e.filter)){var t=Helpers.convertToArray(e.filter);t.forEach(function(e){e.value=e.selectedOption&&e.type?NovoDataTableFilterUtils.constructFilter(e.selectedOption,e.type):e.value}),this.filter=t}},e}(),StaticDataTableService=function(){function e(e){void 0===e&&(e=[]),this.currentData=e,this.originalData=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.g)(e)}return e.prototype.getTableResults=function(e,t,n,o,r,i){void 0===n&&(n=0),this.currentData=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.g)(this.originalData);var a=this.originalData.length;return 0!==this.currentData.length&&(r&&(this.currentData=this.currentData.filter(function(e){return Object.keys(e).some(function(t){return(""+e[t]).toLowerCase().includes(r.toLowerCase())})}),a=this.currentData.length),t&&(this.currentData=this.filterData(this.currentData,t),a=this.currentData.length),e&&(this.currentData=this.currentData.sort(Helpers.sortByField(e.id,"desc"===e.value)),a=this.currentData.length),e||t||r||i||(this.currentData=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.g)(this.originalData)),Helpers.isBlank(n)||Helpers.isBlank(o)||(this.currentData=this.currentData.slice(n*o,(n+1)*o))),Object(rxjs__WEBPACK_IMPORTED_MODULE_15__.a)({results:this.currentData,total:a})},e.prototype.filterData=function(e,t){return Helpers.convertToArray(t).forEach(function(t){if(Array.isArray(t.value)){var n=Helpers.convertToArray(t.value).map(Helpers.escapeString);e=e.filter(Helpers.filterByField(t.id,n))}else{var o=Helpers.escapeString(t.value);e=e.filter(Helpers.filterByField(t.id,o))}}),e},e}(),NovoDataTable=function(){function e(e,t,n){var o=this;this.labels=e,this.ref=t,this.state=n,this.globalSearchHiddenClassToggle=!1,this.resized=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.name="novo-data-table",this.allowMultipleFilters=!1,this.rowIdentifier="id",this.activeRowIdentifier="",this.trackByFn=function(e,t){return t.id},this.templates={},this.fixedHeader=!1,this._hideGlobalSearch=!0,this.preferencesChanged=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.loading=!0,this.columnToTemplate={},this.columnsLoaded=!1,this.selection=new Set,this.scrollLeft=0,this.expandable=!1,this.initialized=!1,this.scrollListenerHandler=this.scrollListener.bind(this),this.sortFilterSubscription=this.state.sortFilterSource.subscribe(function(e){"novo-data-table"!==o.name?o.preferencesChanged.emit({name:o.name,sort:e.sort,filter:e.filter,globalSearch:e.globalSearch}):notify("Must have [name] set on data-table to use preferences!")}),this.paginationSubscription=this.state.paginationSource.subscribe(function(e){"novo-data-table"!==o.name?e.isPageSizeChange&&o.preferencesChanged.emit({name:o.name,pageSize:e.pageSize}):notify("Must have [name] set on data-table to use preferences!")}),this.resetSubscription=this.state.resetSource.subscribe(function(){setTimeout(function(){o.ref.detectChanges()},300)})}return Object.defineProperty(e.prototype,"displayedColumns",{get:function(){return this._disabledColumns},set:function(e){var t=this;this.displayedColumns&&0!==this.displayedColumns.length&&("novo-data-table"!==this.name?this.preferencesChanged.emit({name:this.name,displayedColumns:e}):notify("Must have [name] set on data-table to use preferences!")),this._disabledColumns=e,this.configureLastDisplayedColumn(),this.initialized&&setTimeout(function(){t.scrollListener()})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dataTableService",{set:function(e){this.loading=!1,e||(e=new StaticDataTableService([])),this.dataSource=new DataTableSource(e,this.state,this.ref),this.ref.detectChanges()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rows",{set:function(e){this.loading=!1;var t=new StaticDataTableService(e);this.dataSource=new DataTableSource(t,this.state,this.ref),this.ref.detectChanges()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outsideFilter",{set:function(e){var t=this;this.outsideFilterSubscription&&this.outsideFilterSubscription.unsubscribe(),e&&(this.outsideFilterSubscription=e.subscribe(function(e){t.state.outsideFilter=e,t.state.updates.next({globalSearch:t.state.globalSearch,filter:t.state.filter,sort:t.state.sort}),t.ref.markForCheck()}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"refreshSubject",{set:function(e){var t=this;this.refreshSubscription&&this.refreshSubscription.unsubscribe(),e&&(this.refreshSubscription=e.subscribe(function(e){t.state.isForceRefresh=!0,t.state.updates.next({globalSearch:t.state.globalSearch,filter:t.state.filter,sort:t.state.sort}),t.ref.markForCheck()}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"columns",{get:function(){return this._columns},set:function(e){this._columns=e,this.configureColumns()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"customFilter",{get:function(){return this._customFilter},set:function(e){this._customFilter=Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_30__.b)(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasExandedRows",{get:function(){return this._hasExandedRows},set:function(e){this._hasExandedRows=Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_30__.b)(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"forceShowHeader",{get:function(){return this._forceShowHeader},set:function(e){this._forceShowHeader=Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_30__.b)(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hideGlobalSearch",{get:function(){return this._hideGlobalSearch},set:function(e){this._hideGlobalSearch=Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_30__.b)(e),this.globalSearchHiddenClassToggle=this._hideGlobalSearch},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"empty",{get:function(){return this.dataSource&&this.dataSource.totallyEmpty},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"loadingClass",{get:function(){return this.loading||this.dataSource&&this.dataSource.loading},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this.outsideFilterSubscription&&this.outsideFilterSubscription.unsubscribe(),this.novoDataTableContainer&&this.novoDataTableContainer.nativeElement.removeEventListener("scroll",this.scrollListenerHandler),this.refreshSubscription&&this.refreshSubscription.unsubscribe(),this.resetSubscription&&this.resetSubscription.unsubscribe(),this.sortFilterSubscription&&this.sortFilterSubscription.unsubscribe()},e.prototype.ngAfterContentInit=function(){var e=this;this.displayedColumns&&this.displayedColumns.length&&(this.expandable=this.displayedColumns.includes("expand")),this.defaultTemplates.forEach(function(t){e.templates[t.getType()]||(e.templates[t.getType()]=t.template)}),this.customTemplates.forEach(function(t){e.templates[t.getType()]=t.template}),this.configureColumns(),this.paginationOptions&&!this.paginationOptions.page&&(this.paginationOptions.page=0),this.paginationOptions&&!this.paginationOptions.pageSize&&(this.paginationOptions.pageSize=50),this.paginationOptions&&!this.paginationOptions.pageSizeOptions&&(this.paginationOptions.pageSizeOptions=[10,25,50,100]),this.state.page=this.paginationOptions?this.paginationOptions.page:void 0,this.state.pageSize=this.paginationOptions?this.paginationOptions.pageSize:void 0,this.novoDataTableContainer.nativeElement.addEventListener("scroll",this.scrollListenerHandler),this.initialized=!0,this.ref.markForCheck()},e.prototype.onSearchChange=function(e){this.state.globalSearch=e,this.state.reset(!1,!0),this.state.updates.next({globalSearch:e,filter:this.state.filter,sort:this.state.sort})},e.prototype.trackColumnsBy=function(e,t){return t.id},e.prototype.isDisabled=function(e,t){return!0===e.disabled||!!e.disabledFunc&&e.disabledFunc(t)},e.prototype.isExpanded=function(e){return!!e&&this.state.expandedRows.has(""+e[this.rowIdentifier])},e.prototype.expandRow=function(e){this.isExpanded(e)?this.state.expandedRows.delete(""+e[this.rowIdentifier]):this.state.expandedRows.add(""+e[this.rowIdentifier]),this.state.onExpandChange(e.id)},e.prototype.expandRows=function(e){var t=this;(this.dataSource.data||[]).forEach(function(n){e?t.state.expandedRows.add(""+n[t.rowIdentifier]):t.state.expandedRows.delete(""+n[t.rowIdentifier])}),this.state.onExpandChange()},e.prototype.allCurrentRowsExpanded=function(){for(var e=0;e<(this.dataSource.data||[]).length;e++)if(!this.isExpanded((this.dataSource.data||[])[e]))return!1;return!0},e.prototype.isSelected=function(e){return!!e&&this.state.selectedRows.has(""+e[this.rowIdentifier])},e.prototype.selectRow=function(e){this.isSelected(e)?this.state.selectedRows.delete(""+e[this.rowIdentifier]):this.state.selectedRows.set(""+e[this.rowIdentifier],e),this.state.onSelectionChange()},e.prototype.selectRows=function(e){var t=this;(this.dataSource.data||[]).forEach(function(n){e?t.state.selectedRows.set(""+n[t.rowIdentifier],n):t.state.selectedRows.delete(""+n[t.rowIdentifier])}),this.state.onSelectionChange()},e.prototype.allCurrentRowsSelected=function(){for(var e=0;e<(this.dataSource.data||[]).length;e++)if(!this.isSelected((this.dataSource.data||[])[e]))return!1;return!0},e.prototype.configureLastDisplayedColumn=function(){var e=this;if(this.columns&&this.displayedColumns&&0!==this.columns.length&&0!==this.displayedColumns.length){this.columns.forEach(function(e){e.initialResizable&&(e.resizable=e.initialResizable.resizable,e.width=e.initialResizable.width,e.initialResizable=void 0)});var t=this.displayedColumns.filter(function(t){return-1!==e.columns.findIndex(function(e){return e.resizable&&e.id===t})});if(t&&t.length>0){var n=this.columns.find(function(e){return e.id===t[t.length-1]});n.initialResizable={resizable:n.resizable,width:n.width},n.width=void 0,n.resizable=!1}}},e.prototype.configureColumns=function(){var e=this;this.columns&&0!==this.columns.length&&0!==Object.keys(this.templates).length&&(this.columns.forEach(function(t){var n;t.template?n=t.template:e.templates[t.id]?n=t.id:"action"===t.type?t.action&&t.action.options?(t.action.icon||(t.action.icon="collapse"),n="dropdownCellTemplate"):n="buttonCellTemplate":n="link:tel"===t.type||"link:mailto"===t.type?t.type.split(":")[1]+"CellTemplate":t.type+"CellTemplate",e.columnToTemplate[t.id]=e.templates[n]}),this.configureLastDisplayedColumn(),this.columnsLoaded=!0)},e.prototype.scrollListener=function(){var e=this.novoDataTableContainer.nativeElement;e.scrollLeft!==this.scrollLeft&&(this.scrollLeft=e.scrollLeft),this.ref.markForCheck()},e}(),NovoDataTableCell=function(e){function t(t,n,o){var r=e.call(this,t,n)||this;return r.elementRef=n,r.renderer=o,r.role="gridcell",r.subscriptions=[],o.setAttribute(n.nativeElement,"data-automation-id","novo-column-"+t.cssClassFriendlyName),o.addClass(n.nativeElement,"novo-column-"+t.cssClassFriendlyName),o.addClass(n.nativeElement,"novo-data-table-cell"),r}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t.prototype.ngOnInit=function(){var e=this;this.column.cellClass&&this.renderer.addClass(this.elementRef.nativeElement,this.column.cellClass(this.row)),this.column.rightAlignCellContent&&this.renderer.addClass(this.elementRef.nativeElement,"novo-data-table-cell-align-right"),this.calculateWidths(),this.subscriptions.push(this.resized.subscribe(function(t){t===e.column&&e.calculateWidths()}))},t.prototype.ngOnDestroy=function(){this.subscriptions.forEach(function(e){e.unsubscribe()})},t.prototype.calculateWidths=function(){this.column.width&&(this.renderer.setStyle(this.elementRef.nativeElement,"min-width",this.column.width+"px"),this.renderer.setStyle(this.elementRef.nativeElement,"max-width",this.column.width+"px"),this.renderer.setStyle(this.elementRef.nativeElement,"width",this.column.width+"px"))},t}(_angular_cdk_table__WEBPACK_IMPORTED_MODULE_32__.a),NovoDataTableCheckboxCell=function(e){function t(t,n,o,r,i){var a=e.call(this,t,n)||this;return a.columnDef=t,a.dataTable=r,a.ref=i,a.role="gridcell",a.checked=!1,o.setAttribute(n.nativeElement,"data-automation-id","novo-checkbox-column-"+t.cssClassFriendlyName),o.addClass(n.nativeElement,"novo-checkbox-column-"+t.cssClassFriendlyName),o.addClass(n.nativeElement,"novo-data-table-checkbox-cell"),a.selectionSubscription=a.dataTable.state.selectionSource.subscribe(function(){a.checked=a.dataTable.isSelected(a.row),a.ref.markForCheck()}),a.resetSubscription=a.dataTable.state.resetSource.subscribe(function(){a.checked=!1,a.ref.markForCheck()}),a}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t.prototype.ngOnInit=function(){this.checked=this.dataTable.isSelected(this.row)},t.prototype.onClick=function(){this.dataTable.selectRow(this.row)},t.prototype.ngOnDestroy=function(){this.selectionSubscription&&this.selectionSubscription.unsubscribe(),this.resetSubscription&&this.resetSubscription.unsubscribe()},t}(_angular_cdk_table__WEBPACK_IMPORTED_MODULE_32__.a),NovoDataTableExpandCell=function(e){function t(t,n,o,r,i){var a=e.call(this,t,n)||this;return a.columnDef=t,a.dataTable=r,a.ref=i,a.role="gridcell",a.expanded=!1,o.setAttribute(n.nativeElement,"data-automation-id","novo-expand-column-"+t.cssClassFriendlyName),o.addClass(n.nativeElement,"novo-expand-column-"+t.cssClassFriendlyName),o.addClass(n.nativeElement,"novo-data-table-expand-cell"),a.expandSubscription=a.dataTable.state.expandSource.subscribe(function(){a.expanded=a.dataTable.isExpanded(a.row),a.ref.markForCheck()}),a}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t.prototype.ngOnInit=function(){this.expanded=this.dataTable.isExpanded(this.row)},t.prototype.onClick=function(){this.dataTable.expandRow(this.row)},t.prototype.ngOnDestroy=function(){this.expandSubscription&&this.expandSubscription.unsubscribe()},t}(_angular_cdk_table__WEBPACK_IMPORTED_MODULE_32__.a),NovoDataTableHeaderRow=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rowClass="novo-data-table-header-row",t.fixedHeader=!1,t.role="row",t}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t}(_angular_cdk_table__WEBPACK_IMPORTED_MODULE_32__.h),NovoDataTableRow=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rowClass="novo-data-table-row",t.role="row",t}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t}(_angular_cdk_table__WEBPACK_IMPORTED_MODULE_32__.j),NovoDataTableSortFilter=function(){function e(e){this.state=e}return e.prototype.filter=function(e,t,n,o,r,i){var a;void 0===r&&(r=!1),a=r?this.resolveMultiFilter(e,t,n,o,i):Helpers.isBlank(n)?void 0:Object(tslib__WEBPACK_IMPORTED_MODULE_35__.a)({id:e,type:t,value:n,transform:o},i&&{selectedOption:i}),this.state.filter=a,this.state.reset(!1,!0),this.state.updates.next({filter:a,sort:this.state.sort}),this.state.onSortFilterChange()},e.prototype.sort=function(e,t,n){var o={id:e,value:t,transform:n};this.state.sort=o,this.state.reset(!1,!0),this.state.updates.next({sort:o,filter:this.state.filter}),this.state.onSortFilterChange()},e.prototype.resolveMultiFilter=function(e,t,n,o,r){var i,a=(i=Helpers.convertToArray(this.state.filter)).findIndex(function(t){return t&&t.id===e});return a>-1&&i.splice(a,1),Helpers.isBlank(n)||(i=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.g)(i,[Object(tslib__WEBPACK_IMPORTED_MODULE_35__.a)({id:e,type:t,value:n,transform:o},r&&{selectedOption:r})])),i.length<1&&(i=void 0),i},e}(),NovoDataTableCellHeader=function(){function e(e,t,n,o,r,i,a){var s=this;this.changeDetectorRef=e,this.labels=t,this.state=n,this.renderer=o,this.elementRef=r,this._sort=i,this._cdkColumnDef=a,this.allowMultipleFilters=!1,this.icon="sortable",this.filterActive=!1,this.sortActive=!1,this.showCustomRange=!1,this.multiSelect=!1,this.multiSelectedOptions=[],this.multiSelectedOptionIsHidden=[],this.optionFilter="",this.error=!1,this.subscriptions=[],this._rerenderSubscription=n.updates.subscribe(function(e){return s.checkSortFilterState(e)})}return Object.defineProperty(e.prototype,"column",{set:function(e){this._column=e,this.label="action"===e.type?"":e.label,this.labelIcon=e.labelIcon,this.config={sortable:!!e.sortable,filterable:!!e.filterable,resizable:!!e.resizable},this.resizable=this.config.resizable;var t={};e.filterable&&Helpers.isObject(e.filterable)?(this.config.filterConfig=e.filterable,this.config.filterConfig.type||(this.config.filterConfig={type:"text"}),e.filterable.transform&&(t.filter=e.filterable.transform)):this.config.filterConfig={type:"text"},e.sortable&&Helpers.isObject(e.sortable)&&e.sortable.transform&&(t.sort=e.sortable.transform),"date"!==this.config.filterConfig.type||this.config.filterConfig.options||(this.config.filterConfig.options=this.getDefaultDateFilterOptions()),this.config.transforms=t},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this._cdkColumnDef&&(this.id=this._cdkColumnDef.name),this.checkSortFilterState({filter:this.state.filter,sort:this.state.sort},!0),this.multiSelect=!(!this.config.filterConfig||!this.config.filterConfig.type)&&"multi-select"===this.config.filterConfig.type,this.multiSelect&&(this.multiSelectedOptions=this.filter?Object(tslib__WEBPACK_IMPORTED_MODULE_35__.g)(this.filter):[]),this.changeDetectorRef.markForCheck()},e.prototype.ngOnDestroy=function(){this._rerenderSubscription.unsubscribe(),this.subscriptions.forEach(function(e){e.unsubscribe()})},e.prototype.checkSortFilterState=function(e,t){var n=this;void 0===t&&(t=!1),e.sort&&e.sort.id===this.id?(this.icon="sort-"+e.sort.value,this.sortActive=!0):(this.icon="sortable",this.sortActive=!1);var o=Helpers.convertToArray(e.filter).find(function(e){return e&&e.id===n.id});o?(this.filterActive=!0,t&&"date"===o.type&&o.selectedOption&&(this.activeDateFilter=o.selectedOption.label||this.labels.customDateRange),this.filter=o.value):(this.filterActive=!1,this.filter=void 0,this.activeDateFilter=void 0,this.multiSelectedOptions=[]),this.defaultSort&&this.id===this.defaultSort.id&&(this.icon="sort-"+this.defaultSort.value,this.sortActive=!0),this.multiSelect=!(!this.config.filterConfig||!this.config.filterConfig.type)&&"multi-select"===this.config.filterConfig.type,this.multiSelect&&(this.multiSelectedOptions=this.filter?Object(tslib__WEBPACK_IMPORTED_MODULE_35__.g)(this.filter):[],this.config.filterConfig.options&&(this.multiSelectedOptionIsHidden=this.config.filterConfig.options.map(function(e){return{option:e,hidden:!1}}))),this.changeDetectorRef.markForCheck()},e.prototype.isSelected=function(e,t){var n=this;if(t){var o=e.hasOwnProperty("value")?e.value:e;return void 0!==t.find(function(e){return n.optionPresentCheck(e,o)})}return!1},e.prototype.toggleSelection=function(e){var t=this,n=e.hasOwnProperty("value")?e.value:e,o=this.multiSelectedOptions.findIndex(function(e){return t.optionPresentCheck(e,n)});this.error=!1,o>-1?(this.multiSelectedOptions.splice(o,1),this.optionFilter&&!this.getOptionText(e).toLowerCase().startsWith(this.optionFilter.toLowerCase())&&(this.multiSelectedOptionIsHidden[this.multiSelectedOptionIsHidden.findIndex(function(t){return t.option===e})].hidden=!0)):this.multiSelectedOptions.push(n)},e.prototype.optionPresentCheck=function(e,t){return e.hasOwnProperty("value")?e.value===t:e===t},e.prototype.cancel=function(){this.multiSelectedOptions=this.filter?Object(tslib__WEBPACK_IMPORTED_MODULE_35__.g)(this.filter):[],this.dropdown.closePanel(),this.clearOptionFilter()},e.prototype.filterMultiSelect=function(){if(0!==this.multiSelectedOptions.length||this.filter){this.clearOptionFilter();var e=this.multiSelectedOptions.length>0?Object(tslib__WEBPACK_IMPORTED_MODULE_35__.g)(this.multiSelectedOptions):void 0;this.filterData(e),this.dropdown.closePanel()}else this.multiSelectHasVisibleOptions()&&this.dropdown&&(this.error=!0)},e.prototype.multiSelectOptionFilter=function(e){var t=this;this.multiSelectedOptionIsHidden.forEach(function(n){n.option&&(n.hidden=!(t.getOptionText(n.option).toLowerCase().startsWith(e.toLowerCase())||t.isSelected(n.option,t.multiSelectedOptions)))})},e.prototype.multiSelectOptionIsHidden=function(e){return this.multiSelectedOptionIsHidden.find(function(t){return t.option===e}).hidden},e.prototype.multiSelectHasVisibleOptions=function(){return this.multiSelectedOptionIsHidden.some(function(e){return!e.hidden})},e.prototype.getOptionText=function(e){return"object"!=typeof e?e.toString():(e.label.length>0?e.label:e.value).toString()},e.prototype.multiSelectOptionFilterHandleKeydown=function(e){this.multiSelect&&(this.error=!1,this.dropdown.panelOpen&&e.keyCode===KeyCodes.ESC?(Helpers.swallowEvent(e),this.clearOptionFilter(),this.dropdown.closePanel()):e.keyCode===KeyCodes.ENTER?(Helpers.swallowEvent(e),this.filterMultiSelect()):(e.keyCode>=65&&e.keyCode<=90||e.keyCode>=96&&e.keyCode<=105||e.keyCode>=48&&e.keyCode<=57)&&this.optionFilterInput.nativeElement.focus())},e.prototype.clearOptionFilter=function(){this.error=!1,this.optionFilter.length>0&&(this.optionFilter="",this.multiSelectedOptionIsHidden.forEach(function(e){e.hidden=!1}))},e.prototype.startResize=function(e){var t=this;e.preventDefault();var n=60+(this.config.filterable?30:0)+(this.config.sortable?30:0),o=this.elementRef.nativeElement.getBoundingClientRect().width,r=Object(rxjs__WEBPACK_IMPORTED_MODULE_16__.a)(window.document,"mousemove").subscribe(function(r){var i=o+(r.clientX-e.clientX);i<n&&(i=n),t._column.width=i,t.renderer.setStyle(t.elementRef.nativeElement,"min-width",t._column.width+"px"),t.renderer.setStyle(t.elementRef.nativeElement,"max-width",t._column.width+"px"),t.renderer.setStyle(t.elementRef.nativeElement,"width",t._column.width+"px"),t.changeDetectorRef.markForCheck(),t.resized.next(t._column)}),i=Object(rxjs__WEBPACK_IMPORTED_MODULE_16__.a)(window.document,"mouseup").subscribe(function(){i.unsubscribe(),r.unsubscribe(),t.changeDetectorRef.markForCheck()});this.subscriptions.push(r),this.subscriptions.push(i)},e.prototype.toggleCustomRange=function(e,t){Helpers.swallowEvent(e),this.showCustomRange=t,this.changeDetectorRef.markForCheck(),this.dropdown.openPanel()},e.prototype.focusInput=function(){var e=this;this.filterInput&&this.filterInput.nativeElement&&setTimeout(function(){return e.filterInput.nativeElement.focus()},0),this.multiSelect&&this.dropdown&&(this.dropdown.onKeyDown=function(t){e.multiSelectOptionFilterHandleKeydown(t)},setTimeout(function(){return e.optionFilterInput.nativeElement.focus()},0),this.changeDetectorRef.markForCheck())},e.prototype.sort=function(){var e=this;this.changeTimeout&&clearTimeout(this.changeTimeout),this.changeTimeout=setTimeout(function(){e.direction=e.getNextSortDirection(e.direction),e._sort.sort(e.id,e.direction,e.config.transforms.sort),e.changeDetectorRef.markForCheck()},300)},e.prototype.filterData=function(e){var t=this,n=NovoDataTableFilterUtils.constructFilter(e,this.config.filterConfig.type,this.multiSelect),o="date"===this.config.filterConfig.type&&e?e:void 0;this.changeTimeout&&clearTimeout(this.changeTimeout),this.changeTimeout=setTimeout(function(){""===n&&(n=void 0),t._sort.filter(t.id,t.config.filterConfig.type,n,t.config.transforms.filter,t.allowMultipleFilters,o),t.changeDetectorRef.markForCheck()},300)},e.prototype.clearFilter=function(){this.filter=void 0,this.multiSelectedOptions=[],this.activeDateFilter=void 0,this.filterData(void 0),this.clearOptionFilter(),this.dropdown.closePanel()},e.prototype.getNextSortDirection=function(e){return e&&"asc"===e?"desc":"asc"},e.prototype.getDefaultDateFilterOptions=function(){return[{label:this.labels.past1Day,min:-1,max:0},{label:this.labels.past7Days,min:-7,max:0},{label:this.labels.past30Days,min:-30,max:0},{label:this.labels.past90Days,min:-90,max:0},{label:this.labels.past1Year,min:-366,max:0},{label:this.labels.next1Day,min:0,max:1},{label:this.labels.next7Days,min:0,max:7},{label:this.labels.next30Days,min:0,max:30},{label:this.labels.next90Days,min:0,max:90},{label:this.labels.next1Year,min:0,max:366}]},e}(),NovoDataTableExpandHeaderCell=function(e){function t(t,n,o,r,i){var a=e.call(this,t,n)||this;return a.dataTable=r,a.ref=i,a.role="columnheader",a.expanded=!1,o.setAttribute(n.nativeElement,"data-automation-id","novo-expand-column-header-"+t.cssClassFriendlyName),o.addClass(n.nativeElement,"novo-expand-column-"+t.cssClassFriendlyName),o.addClass(n.nativeElement,"novo-data-table-expand-header-cell"),a.expandSubscription=a.dataTable.state.expandSource.subscribe(function(){a.expanded=a.dataTable.allCurrentRowsExpanded(),a.ref.markForCheck()}),a}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t.prototype.ngOnDestroy=function(){this.expandSubscription&&this.expandSubscription.unsubscribe()},t.prototype.expandAll=function(){this.dataTable.expandRows(!this.expanded)},t}(_angular_cdk_table__WEBPACK_IMPORTED_MODULE_32__.f),NovoDataTableCheckboxHeaderCell=function(e){function t(t,n,o,r,i){var a=e.call(this,t,n)||this;return a.dataTable=r,a.ref=i,a.role="columnheader",a.checked=!1,o.setAttribute(n.nativeElement,"data-automation-id","novo-checkbox-column-header-"+t.cssClassFriendlyName),o.addClass(n.nativeElement,"novo-checkbox-column-"+t.cssClassFriendlyName),o.addClass(n.nativeElement,"novo-data-table-checkbox-header-cell"),a.selectionSubscription=a.dataTable.state.selectionSource.subscribe(function(){a.checked=a.dataTable.allCurrentRowsSelected(),a.ref.markForCheck()}),a.paginationSubscription=a.dataTable.state.paginationSource.subscribe(function(e){e.isPageSizeChange?(a.checked=!1,a.dataTable.selectRows(!1)):a.checked=a.dataTable.allCurrentRowsSelected(),a.ref.markForCheck()}),a.resetSubscription=a.dataTable.state.resetSource.subscribe(function(){a.checked=!1,a.ref.markForCheck()}),a}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t.prototype.ngOnDestroy=function(){this.selectionSubscription&&this.selectionSubscription.unsubscribe(),this.paginationSubscription&&this.paginationSubscription.unsubscribe(),this.resetSubscription&&this.resetSubscription.unsubscribe()},t.prototype.onClick=function(){this.dataTable.selectRows(!this.checked)},t}(_angular_cdk_table__WEBPACK_IMPORTED_MODULE_32__.f),NovoDataTableHeaderCell=function(e){function t(t,n,o){var r=e.call(this,t,n)||this;return r.elementRef=n,r.renderer=o,r.role="columnheader",o.setAttribute(n.nativeElement,"data-automation-id","novo-column-header-"+t.cssClassFriendlyName),o.addClass(n.nativeElement,"novo-column-"+t.cssClassFriendlyName),o.addClass(n.nativeElement,"novo-data-table-header-cell"),r}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t.prototype.ngOnInit=function(){this.column.width&&(this.renderer.setStyle(this.elementRef.nativeElement,"min-width",this.column.width+"px"),this.renderer.setStyle(this.elementRef.nativeElement,"max-width",this.column.width+"px"),this.renderer.setStyle(this.elementRef.nativeElement,"width",this.column.width+"px"))},t}(_angular_cdk_table__WEBPACK_IMPORTED_MODULE_32__.f),MAX_PAGES_DISPLAYED=5,NovoDataTablePagination=function(){function e(e,t,n){var o=this;this.changeDetectorRef=e,this.labels=t,this.state=n,this.theme="standard",this._page=0,this._pageSizeOptions=[],this._length=0,this.pageChange=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.resetSubscription=this.state.resetSource.subscribe(function(){o.page=0,o.changeDetectorRef.markForCheck()})}return Object.defineProperty(e.prototype,"page",{get:function(){return this._page},set:function(e){this._page=e,this.changeDetectorRef.markForCheck(),this.longRangeLabel=this.labels.getRangeText(this.page,this.pageSize,this.length,!1),this.shortRangeLabel=this.labels.getRangeText(this.page,this.pageSize,this.length,!0),this.state.page=this._page},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pageSize",{get:function(){return this._pageSize},set:function(e){this._pageSize=e,this.updateDisplayedPageSizeOptions(),this.state.pageSize=this._pageSize},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pageSizeOptions",{get:function(){return this._pageSizeOptions},set:function(e){this._pageSizeOptions=e,this.updateDisplayedPageSizeOptions()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this._length},set:function(e){this._length=e,this.changeDetectorRef.markForCheck(),this.longRangeLabel=this.labels.getRangeText(this.page,this.pageSize,this.length,!1),this.shortRangeLabel=this.labels.getRangeText(this.page,this.pageSize,this.length,!0),this.totalPages=this.calculateTotalPages(),this.pages=this.getPages(this.page,this.totalPages)},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this._initialized=!0,this.updateDisplayedPageSizeOptions()},e.prototype.ngOnDestroy=function(){this.resetSubscription.unsubscribe()},e.prototype.selectPage=function(e){this.page=e,this.emitPageEvent()},e.prototype.nextPage=function(){this.hasNextPage()&&(this.page++,this.pages=this.getPages(this.page,this.totalPages),this.emitPageEvent())},e.prototype.previousPage=function(){this.hasPreviousPage()&&(this.page--,this.pages=this.getPages(this.page,this.totalPages),this.emitPageEvent())},e.prototype.hasPreviousPage=function(){return this.page>=1&&0!==this.pageSize},e.prototype.hasNextPage=function(){var e=Math.ceil(this.length/this.pageSize)-1;return this.page<e&&0!==this.pageSize},e.prototype.changePageSize=function(e){this.page=0,this.pageSize=e,this.emitPageEvent(!0)},e.prototype.updateDisplayedPageSizeOptions=function(){var e=this;this._initialized&&(this.displayedPageSizeOptions||(this.displayedPageSizeOptions=[],this.pageSizeOptions.forEach(function(t){t.hasOwnProperty("value")?e.displayedPageSizeOptions.push(t):e.displayedPageSizeOptions.push({value:t,label:t})})),this.longRangeLabel=this.labels.getRangeText(this.page,this.pageSize,this.length,!1),this.shortRangeLabel=this.labels.getRangeText(this.page,this.pageSize,this.length,!0),this.totalPages=this.calculateTotalPages(),this.pages=this.getPages(this.page,this.totalPages),this.changeDetectorRef.detectChanges())},e.prototype.emitPageEvent=function(e){void 0===e&&(e=!1);var t={page:this.page,pageSize:this.pageSize,length:this.length,filter:this.state.filter,sort:this.state.sort};this.pageChange.next(t),this.state.page=this.page,this.state.pageSize=this.pageSize,this.longRangeLabel=this.labels.getRangeText(this.page,this.pageSize,this.length,!1),this.shortRangeLabel=this.labels.getRangeText(this.page,this.pageSize,this.length,!0),this.totalPages=this.calculateTotalPages(),this.pages=this.getPages(this.page,this.totalPages),this.state.updates.next(t),this.state.onPaginationChange(e,this.pageSize)},e.prototype.calculateTotalPages=function(){var e=this.pageSize<1?1:Math.ceil(this.length/this.pageSize);return Math.max(e||0,1)},e.prototype.makePage=function(e,t,n){return{number:e,text:t,active:n}},e.prototype.getPages=function(e,t){var n=[],o=1,r=t;MAX_PAGES_DISPLAYED<t&&(r=(o=Math.max(e-Math.floor(MAX_PAGES_DISPLAYED/2),1))+MAX_PAGES_DISPLAYED-1)>t&&(o=(r=t)-MAX_PAGES_DISPLAYED+1);for(var i=o;i<=r;i++){var a=this.makePage(i,i.toString(),i===e);n.push(a)}return n},e}();function interpolateCell(e,t){return t.format?Helpers.interpolateWithFallback(t.format,e):e}var DataTableInterpolatePipe=function(){function e(){}return e.prototype.transform=function(e,t){return Helpers.isEmpty(e)?"":interpolateCell(e,t)},e}(),DateTableDateRendererPipe=function(){function e(e){this.labels=e}return e.prototype.transform=function(e,t){if(!Helpers.isEmpty(e)){var n=interpolateCell(e,t);return this.labels.formatDate(n)}return""},e}(),DateTableDateTimeRendererPipe=function(){function e(e){this.labels=e}return e.prototype.transform=function(e,t){if(!Helpers.isEmpty(e)){var n=interpolateCell(e,t);return this.labels.formatDateShort(n)}return""},e}(),DateTableTimeRendererPipe=function(){function e(e){this.labels=e}return e.prototype.transform=function(e,t){if(!Helpers.isEmpty(e)){var n=interpolateCell(e,t);return this.labels.formatTime(n)}return""},e}(),DateTableNumberRendererPipe=function(){function e(e){this.labels=e}return e.prototype.transform=function(e,t,n){if(void 0===n&&(n=!1),!Helpers.isEmpty(e)){var o=interpolateCell(e,t);return n&&Helpers.isNumber(o)&&(o=""+100*Number(o)),this.labels.formatNumber(o)+(n?"%":"")}return""},e}(),DataTableBigDecimalRendererPipe=function(){function e(e){this.labels=e}return e.prototype.transform=function(e,t){if(!Helpers.isEmpty(e)){var n=interpolateCell(e,t);return this.labels.formatBigDecimal(Number(n))}return""},e}(),DateTableCurrencyRendererPipe=function(){function e(e){this.labels=e}return e.prototype.transform=function(e,t){if(!Helpers.isEmpty(e)){var n=interpolateCell(e,t);return this.labels.formatCurrency(Number(n))}return""},e}(),NovoDataTableExpandDirective=function(){function e(e,t,n){var o=this;this.vcRef=e,this.state=t,this.dataTable=n,this.shouldExpandAllRows=function(e){return void 0===e},this.shouldExpandOneRow=function(e){return e===o.row.id},this.subscription=this.state.expandSource.subscribe(function(e){(o.shouldExpandAllRows(e)||o.shouldExpandOneRow(e))&&(n.isExpanded(o.row)?o.render():o.clear())})}return e.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},e.prototype.onClick=function(e){e.target.hasAttribute("novo-data-table-expander")&&(Helpers.swallowEvent(e),this.dataTable.expandRow(this.row))},e.prototype.clear=function(){this.vcRef.clear()},e.prototype.render=function(){this.vcRef.clear(),this.template&&this.row&&this.vcRef.createEmbeddedView(this.template,{$implicit:this.row})},e}(),NovoDataTableClearButton=function(){function e(e,t,n){this.state=e,this.ref=t,this.labels=n,this.sortClear=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.filterClear=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.allClear=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter}return e.prototype.clearSort=function(){this.state.clearSort(),this.sortClear.emit(!0)},e.prototype.clearFilter=function(){this.state.clearFilter(),this.filterClear.emit(!0)},e.prototype.clearAll=function(){this.state.reset(),this.allClear.emit(!0),this.sortClear.emit(!0),this.filterClear.emit(!0)},e}(),NovoDataTableModule=function(){return function(){}}(),RemoteDataTableService=function(){return function(){}}(),GlobalRef=function(){return function(){}}(),BrowserGlobalRef=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),Object.defineProperty(t.prototype,"nativeGlobal",{get:function(){return window},enumerable:!0,configurable:!0}),t}(GlobalRef),NodeGlobalRef=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),Object.defineProperty(t.prototype,"nativeGlobal",{get:function(){throw new Error("global doesn't compile for some reason")},enumerable:!0,configurable:!0}),t}(GlobalRef),LocalStorageService=function(){function e(){}return e.prototype.setItem=function(e,t){localStorage.setItem(e,t)},e.prototype.getItem=function(e){return localStorage.getItem(e)},e.prototype.removeItem=function(e){localStorage.removeItem(e)},e}(),GooglePlacesService=function(){function e(e,t,n,o){this._http=e,this.platformId=t,this._global=n,this._localStorageService=o}return e.prototype.getPredictions=function(e,t){var n=this;return new Promise(function(o){n._http.get(e+"?query="+t).subscribe(function(e){o(e||!1)})})},e.prototype.getLatLngDetail=function(e,t,n){var o=this;return new Promise(function(r){o._http.get(e+"?lat="+t+"&lng="+n).subscribe(function(e){r(e||!1)})})},e.prototype.getPlaceDetails=function(e,t){var n=this;return new Promise(function(o){n._http.get(e+"?query="+t).subscribe(function(e){o(e||!1)})})},e.prototype.getGeoCurrentLocation=function(){var e=this;return new Promise(function(t){if(Object(_angular_common__WEBPACK_IMPORTED_MODULE_37__.A)(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)})},e.prototype.getGeoLatLngDetail=function(e){var t=this;return new Promise(function(n){Object(_angular_common__WEBPACK_IMPORTED_MODULE_37__.A)(t.platformId)?(new t._global.nativeGlobal.google.maps.Geocoder).geocode({location:e},function(e,o){"OK"===o?t.getGeoPlaceDetail(e[0].place_id).then(function(e){n(e||!1)}):n(!1)}):n(!1)})},e.prototype.getGeoPrediction=function(e){var t=this;return new Promise(function(n){if(Object(_angular_common__WEBPACK_IMPORTED_MODULE_37__.A)(t.platformId)){var o=t._global.nativeGlobal,r=new o.google.maps.places.AutocompleteService,i={},a=[];if(i=e.countryRestriction.length?{input:e.query,componentRestrictions:{country:e.countryRestriction}}:{input:e.query},e.geoLocation&&(i.location=new o.google.maps.LatLng(parseFloat(e.geoLocation[0]),parseFloat(e.geoLocation[1])),i.radius=e.radius),e.geoTypes.length)for(var s=0;s<e.geoTypes.length;s++){var l=i;l.types=new Array(e.geoTypes[s]),a.push(t.geoPredictionCall(r,l))}else a.push(t.geoPredictionCall(r,i));Promise.all(a).then(function(e){var o=e;if(o.length>1){for(var r=[],i=0;i<o.length;i++)o[i]&&o[i].length&&(r=r.concat(o[i]));r=t.getUniqueResults(r),n(r)}else n(e[0])})}else n(!1)})},e.prototype.getGeoPlaceDetail=function(e){var t=this;return new Promise(function(n){Object(_angular_common__WEBPACK_IMPORTED_MODULE_37__.A)(t.platformId)?new t._global.nativeGlobal.google.maps.places.PlacesService(document.createElement("div")).getDetails({placeId:e},function(e,o){null===e||0===e.length?t.getGeoPaceDetailByReferance(e.referance).then(function(e){n(e||!1)}):n(e)}):n(!1)})},e.prototype.getGeoPaceDetailByReferance=function(e){var t=this;return new Promise(function(n){if(Object(_angular_common__WEBPACK_IMPORTED_MODULE_37__.A)(t.platformId)){var o=t._global.nativeGlobal;(new o.google.maps.places.PlacesService).getDetails({reference:e},function(e,t){n(t===o.google.maps.places.PlacesServiceStatus.OK&&e)})}else n(!1)})},e.prototype.addRecentList=function(e,t,n){var o=this;this.getRecentList(e).then(function(r){if(r){for(var i=0;i<r.length;i++)if(r[i].description===t.description){r.splice(i,1);break}r.unshift(t),r.length>n&&r.pop(),o._localStorageService.setItem(e,JSON.stringify(r))}})},e.prototype.getRecentList=function(e){var t=this;return new Promise(function(n){var o=t._localStorageService.getItem(e);n(o=o?JSON.parse(o):[])})},e.prototype.getUniqueResults=function(e){return Array.from(e.reduce(function(e,t){return e.set(t.place_id,t)},new Map).values())},e.prototype.geoPredictionCall=function(e,t){var n=this._global.nativeGlobal;return new Promise(function(o){e.getPlacePredictions(t,function(e,t){o(t===n.google.maps.places.PlacesServiceStatus.OK&&e)})})},e}(),AppBridgeHandler=function(){var e={HTTP:0,OPEN:1,OPEN_LIST:2,CLOSE:3,REFRESH:4,PIN:5,REGISTER:6,UPDATE:7,REQUEST_DATA:8,CALLBACK:9};return e[e.HTTP]="HTTP",e[e.OPEN]="OPEN",e[e.OPEN_LIST]="OPEN_LIST",e[e.CLOSE]="CLOSE",e[e.REFRESH]="REFRESH",e[e.PIN]="PIN",e[e.REGISTER]="REGISTER",e[e.UPDATE]="UPDATE",e[e.REQUEST_DATA]="REQUEST_DATA",e[e.CALLBACK]="CALLBACK",e}(),HTTP_VERBS={GET:"get",POST:"post",PUT:"put",DELETE:"delete"},MESSAGE_TYPES={REGISTER:"register",OPEN:"open",OPEN_LIST:"openList",CLOSE:"close",REFRESH:"refresh",PIN:"pin",UPDATE:"update",HTTP_GET:"httpGET",HTTP_POST:"httpPOST",HTTP_PUT:"httpPUT",HTTP_DELETE:"httpDELETE",CUSTOM_EVENT:"customEvent",REQUEST_DATA:"requestData",CALLBACK:"callback"},AppBridgeService=function(){function e(){}return e.prototype.create=function(e){return new AppBridge(e)},e}(),DevAppBridgeService=function(){function e(e){this.http=e}return e.prototype.create=function(e){return new DevAppBridge(e,this.http)},e}(),AppBridge=function(){function e(e){if(void 0===e&&(e="AppBridge"),this.id=""+Date.now(),this._registeredFrames=[],this._handlers={},this._tracing=!1,this._eventListeners={},this.traceName=e,postRobot){postRobot.CONFIG.LOG_LEVEL="error";try{this._setupHandlers()}catch(t){}}}return Object.defineProperty(e.prototype,"tracing",{set:function(e){this._tracing=e},enumerable:!0,configurable:!0}),e.prototype.handle=function(e,t){this._handlers[e]=t},e.prototype._trace=function(e,t){this._tracing&&console.log("["+(this.traceName||this.id)+'] "'+e+'"',t)},e.prototype._setupHandlers=function(){var e=this;postRobot.on(MESSAGE_TYPES.REGISTER,function(t){return e._trace(MESSAGE_TYPES.REGISTER,t),e._registeredFrames.push(t),e.register(t.data).then(function(e){return{windowName:e}})}),postRobot.on(MESSAGE_TYPES.UPDATE,function(t){return e._trace(MESSAGE_TYPES.UPDATE,t),e.update(t.data).then(function(e){return{success:e}})}),postRobot.on(MESSAGE_TYPES.OPEN,function(t){return e._trace(MESSAGE_TYPES.OPEN,t),e.open(t.data).then(function(e){return{success:e}})}),postRobot.on(MESSAGE_TYPES.OPEN_LIST,function(t){return e._trace(MESSAGE_TYPES.OPEN_LIST,t),e.openList(t.data).then(function(e){return{success:e}})}),postRobot.on(MESSAGE_TYPES.CLOSE,function(t){e._trace(MESSAGE_TYPES.CLOSE,t);var n=e._registeredFrames.findIndex(function(e){return e.data.id===t.data.id});return-1!==n&&e._registeredFrames.splice(n,1),e.close(t.data).then(function(e){return{success:e}})}),postRobot.on(MESSAGE_TYPES.REFRESH,function(t){return e._trace(MESSAGE_TYPES.REFRESH,t),e.refresh(t.data).then(function(e){return{success:e}})}),postRobot.on(MESSAGE_TYPES.PIN,function(t){return e._trace(MESSAGE_TYPES.PIN,t),e.pin(t.data).then(function(e){return{success:e}})}),postRobot.on(MESSAGE_TYPES.REQUEST_DATA,function(t){return e._trace(MESSAGE_TYPES.REQUEST_DATA,t),e.requestData(t.data).then(function(e){return{data:e.data,error:e.error}})}),postRobot.on(MESSAGE_TYPES.CALLBACK,function(t){return e._trace(MESSAGE_TYPES.CALLBACK,t),e.callback(t.data).then(function(e){return{success:e}})}),postRobot.on(MESSAGE_TYPES.HTTP_GET,function(t){return e._trace(MESSAGE_TYPES.HTTP_GET,t),e.httpGET(t.data.relativeURL).then(function(e){return{data:e.data,error:e.error}})}),postRobot.on(MESSAGE_TYPES.HTTP_POST,function(t){return e._trace(MESSAGE_TYPES.HTTP_POST,t),e.httpPOST(t.data.relativeURL,t.data.data).then(function(e){return{data:e.data,error:e.error}})}),postRobot.on(MESSAGE_TYPES.HTTP_PUT,function(t){return e._trace(MESSAGE_TYPES.HTTP_PUT,t),e.httpPUT(t.data.relativeURL,t.data.data).then(function(e){return{data:e.data,error:e.error}})}),postRobot.on(MESSAGE_TYPES.HTTP_DELETE,function(t){return e._trace(MESSAGE_TYPES.HTTP_DELETE,t),e.httpDELETE(t.data.relativeURL).then(function(e){return{data:e.data,error:e.error}})}),postRobot.on(MESSAGE_TYPES.CUSTOM_EVENT,function(t){e._trace(MESSAGE_TYPES.CUSTOM_EVENT,t),e._eventListeners[t.data.event]&&e._eventListeners[t.data.event].forEach(function(e){e(t.data.data)}),e._registeredFrames.length>0&&e._registeredFrames.forEach(function(e){postRobot.send(e.source,MESSAGE_TYPES.CUSTOM_EVENT,t.data)})})},e.prototype.open=function(e){var t=this;return new Promise(function(n,o){t._handlers[AppBridgeHandler.OPEN]?t._handlers[AppBridgeHandler.OPEN](e,function(e){e?n(!0):o(!1)}):(Object.assign(e,{id:t.id,windowName:t.windowName}),postRobot.sendToParent(MESSAGE_TYPES.OPEN,e).then(function(e){t._trace(MESSAGE_TYPES.OPEN+" (callback)",e),e.data?n(!0):o(!1)}).catch(function(e){o(!1)}))})},e.prototype.openList=function(e){var t=this;return new Promise(function(n,o){t._handlers[AppBridgeHandler.OPEN_LIST]?t._handlers[AppBridgeHandler.OPEN_LIST](e,function(e){e?n(!0):o(!1)}):(Object.assign({},{type:"List",entityType:e.type,keywords:e.keywords,criteria:e.criteria}),postRobot.sendToParent(MESSAGE_TYPES.OPEN_LIST,e).then(function(e){t._trace(MESSAGE_TYPES.OPEN_LIST+" (callback)",e),e.data?n(!0):o(!1)}).catch(function(e){o(!1)}))})},e.prototype.update=function(e){var t=this;return new Promise(function(n,o){t._handlers[AppBridgeHandler.UPDATE]?t._handlers[AppBridgeHandler.UPDATE](e,function(e){e?n(!0):o(!1)}):(Object.assign(e,{id:t.id,windowName:t.windowName}),postRobot.sendToParent(MESSAGE_TYPES.UPDATE,e).then(function(e){t._trace(MESSAGE_TYPES.UPDATE+" (callback)",e),e.data?n(!0):o(!1)}).catch(function(e){o(!1)}))})},e.prototype.close=function(e){var t=this;return new Promise(function(n,o){t._handlers[AppBridgeHandler.CLOSE]?t._handlers[AppBridgeHandler.CLOSE](e,function(e){e?n(!0):o(!1)}):(e&&console.info("[AppBridge] - close(packet) is deprecated! Please just use close()!"),postRobot.sendToParent(MESSAGE_TYPES.CLOSE,{id:t.id,windowName:t.windowName}).then(function(e){t._trace(MESSAGE_TYPES.CLOSE+" (callback)",e),e.data?n(!0):o(!1)}).catch(function(e){o(!1)}))})},e.prototype.refresh=function(e){var t=this;return new Promise(function(n,o){t._handlers[AppBridgeHandler.REFRESH]?t._handlers[AppBridgeHandler.REFRESH](e,function(e){e?n(!0):o(!1)}):(e&&console.info("[AppBridge] - refresh(packet) is deprecated! Please just use refresh()!"),postRobot.sendToParent(MESSAGE_TYPES.REFRESH,{id:t.id,windowName:t.windowName}).then(function(e){t._trace(MESSAGE_TYPES.REFRESH+" (callback)",e),e.data?n(!0):o(!1)}).catch(function(e){o(!1)}))})},e.prototype.pin=function(e){var t=this;return new Promise(function(n,o){t._handlers[AppBridgeHandler.PIN]?t._handlers[AppBridgeHandler.PIN](e,function(e){e?n(!0):o(!1)}):(e&&console.info("[AppBridge] - pin(packet) is deprecated! Please just use pin()!"),postRobot.sendToParent(MESSAGE_TYPES.PIN,{id:t.id,windowName:t.windowName}).then(function(e){t._trace(MESSAGE_TYPES.PIN+" (callback)",e),e.data?n(!0):o(!1)}).catch(function(e){o(!1)}))})},e.prototype.requestData=function(e){var t=this;return new Promise(function(n,o){t._handlers[AppBridgeHandler.REQUEST_DATA]?t._handlers[AppBridgeHandler.REQUEST_DATA](e,function(e){e?n({data:e}):o(!1)}):(Object.assign(e,{id:t.id,windowName:t.windowName}),postRobot.sendToParent(MESSAGE_TYPES.REQUEST_DATA,e).then(function(e){t._trace(MESSAGE_TYPES.REQUEST_DATA+" (callback)",e),e.data?n({data:e.data.data}):o(!1)}).catch(function(e){o(!1)}))})},e.prototype.callback=function(e){var t=this;return new Promise(function(n,o){t._handlers[AppBridgeHandler.CALLBACK]?t._handlers[AppBridgeHandler.CALLBACK](e,function(e){e?n(!0):o(!1)}):(Object.assign(e,{id:t.id,windowName:t.windowName}),postRobot.sendToParent(MESSAGE_TYPES.CALLBACK,e).then(function(e){t._trace(MESSAGE_TYPES.CALLBACK+" (callback)",e),e.data?n(!0):o(!1)}).catch(function(e){o(!1)}))})},e.prototype.register=function(e){var t=this;return void 0===e&&(e={}),new Promise(function(n,o){t._handlers[AppBridgeHandler.REGISTER]?t._handlers[AppBridgeHandler.REGISTER](e,function(e){n(e||null)}):(Object.assign(e,{id:t.id}),postRobot.sendToParent(MESSAGE_TYPES.REGISTER,e).then(function(e){t._trace(MESSAGE_TYPES.REGISTER+" (callback)",e),e.data?(t.windowName=e.data.windowName,n(e.data.windowName)):n(null)}).catch(function(e){t._trace(MESSAGE_TYPES.REGISTER+" - FAILED - (no parent)",e),o(e)}))})},e.prototype.httpGET=function(e){var t=this;return new Promise(function(n,o){t._handlers[AppBridgeHandler.HTTP]?t._handlers[AppBridgeHandler.HTTP]({verb:HTTP_VERBS.GET,relativeURL:e},function(e,t){n({data:e,error:t})}):postRobot.sendToParent(MESSAGE_TYPES.HTTP_GET,{relativeURL:e}).then(function(e){n({data:e.data.data,error:e.data.error})}).catch(function(e){o(null)})})},e.prototype.httpPOST=function(e,t){var n=this;return new Promise(function(o,r){n._handlers[AppBridgeHandler.HTTP]?n._handlers[AppBridgeHandler.HTTP]({verb:HTTP_VERBS.POST,relativeURL:e,data:t},function(e,t){o({data:e,error:t})}):postRobot.sendToParent(MESSAGE_TYPES.HTTP_POST,{relativeURL:e,data:t}).then(function(e){o({data:e.data.data,error:e.data.error})}).catch(function(e){r(null)})})},e.prototype.httpPUT=function(e,t){var n=this;return new Promise(function(o,r){n._handlers[AppBridgeHandler.HTTP]?n._handlers[AppBridgeHandler.HTTP]({verb:HTTP_VERBS.PUT,relativeURL:e,data:t},function(e,t){o({data:e,error:t})}):postRobot.sendToParent(MESSAGE_TYPES.HTTP_PUT,{relativeURL:e,data:t}).then(function(e){o({data:e.data.data,error:e.data.error})}).catch(function(e){r(null)})})},e.prototype.httpDELETE=function(e){var t=this;return new Promise(function(n,o){t._handlers[AppBridgeHandler.HTTP]?t._handlers[AppBridgeHandler.HTTP]({verb:HTTP_VERBS.DELETE,relativeURL:e},function(e,t){n({data:e,error:t})}):postRobot.sendToParent(MESSAGE_TYPES.HTTP_DELETE,{relativeURL:e}).then(function(e){n({data:e.data.data,error:e.data.error})}).catch(function(e){o(null)})})},e.prototype.fireEvent=function(e,t){return new Promise(function(n,o){postRobot.sendToParent(MESSAGE_TYPES.CUSTOM_EVENT,{event:e,data:t}).then(function(e){n(e)}).catch(function(e){o(null)})})},e.prototype.fireEventToChildren=function(e,t){this._registeredFrames.length>0&&this._registeredFrames.forEach(function(n){postRobot.send(n.source,MESSAGE_TYPES.CUSTOM_EVENT,{eventType:e,data:t})})},e.prototype.addEventListener=function(e,t){this._eventListeners[e]||(this._eventListeners[e]=[]),this._eventListeners[e].push(t)},e}(),DevAppBridge=function(e){function t(t,n){void 0===t&&(t="DevAppBridge");var o=e.call(this,t)||this;o.http=n;var r=o.getCookie("UlEncodedIdentity");if(r&&r.length){var i=JSON.parse(decodeURIComponent(r)).sessions.reduce(function(e,t){return e[t.name]=t.value.endpoint,e},{});o.baseURL=i.rest}return o}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t.prototype._setupHandlers=function(){},t.prototype.httpGET=function(e){return this.http.get(this.baseURL+"/"+e,{withCredentials:!0}).toPromise()},t.prototype.httpPOST=function(e,t){return this.http.post(this.baseURL+"/"+e,t,{withCredentials:!0}).toPromise()},t.prototype.httpPUT=function(e,t){return this.http.put(this.baseURL+"/"+e,t,{withCredentials:!0}).toPromise()},t.prototype.httpDELETE=function(e){return this.http.delete(this.baseURL+"/"+e,{withCredentials:!0}).toPromise()},t.prototype.getCookie=function(e){if(document)for(var t=e+"=",n=document.cookie.split(";"),o=0;o<n.length;o++){for(var r=n[o];" "===r.charAt(0);)r=r.substring(1);if(0===r.indexOf(t))return r.substring(t.length,r.length)}return!1},t}(AppBridge),NOVO_ELEMENTS_PROVIDERS=[{provide:NovoDragulaService,useClass:NovoDragulaService},{provide:NovoModalRef,useClass:NovoModalRef},{provide:NovoModalService,useClass:NovoModalService},{provide:GooglePlacesService,useClass:GooglePlacesService},{provide:NovoToastService,useClass:NovoToastService},{provide:ComponentUtils,useClass:ComponentUtils},{provide:GlobalRef,useClass:BrowserGlobalRef},{provide:LocalStorageService,useClass:LocalStorageService},{provide:OptionsService,useClass:OptionsService},FieldInteractionApi,DateFormatService,Security,NovoTemplateService],NovoElementProviders=function(){function e(){}return e.forRoot=function(){return{ngModule:e,providers:Object(tslib__WEBPACK_IMPORTED_MODULE_35__.g)(NOVO_ELEMENTS_PROVIDERS)}},e.forChild=function(){return{ngModule:e}},e}(),RemoteActivityTableService=function(){return function(){}}(),StaticActivityTableService=function(){function e(e){void 0===e&&(e=[]),this.data=e}return e.prototype.getTableResults=function(e,t,n,o,r,i){void 0===n&&(n=0);var a=Helpers.deepClone(this.data);if(0!==a.length){if(r&&(a=a.filter(function(e){return Object.keys(e).some(function(t){return(""+e[t]).toLowerCase().includes(r.toLowerCase())})})),t){var s=Helpers.isString(t.value)?t.value.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"):t.value;a=a.filter(Helpers.filterByField(t.id,s))}e&&(a=a.sort(Helpers.sortByField(e.id,"desc"===e.value))),Helpers.isBlank(n)||Helpers.isBlank(o)||(a=a.slice(n*o,(n+1)*o))}return Object(rxjs__WEBPACK_IMPORTED_MODULE_15__.a)({results:a,total:this.data.length})},e}(),ActivityTableDataSource=function(e){function t(t,n,o){var r=e.call(this)||this;return r.tableService=t,r.state=n,r.ref=o,r.total=0,r.current=0,r.loading=!1,r.pristine=!0,r}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),Object.defineProperty(t.prototype,"totallyEmpty",{get:function(){return 0===this.total},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentlyEmpty",{get:function(){return 0===this.current},enumerable:!0,configurable:!0}),t.prototype.connect=function(){var e=this,t=[this.state.updates];return rxjs__WEBPACK_IMPORTED_MODULE_14__.a.apply(void 0,Object(tslib__WEBPACK_IMPORTED_MODULE_35__.g)(t)).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_26__.a)(null),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_22__.a)(function(){return e.pristine=!1,e.loading=!0,e.tableService.getTableResults(e.state.sort,e.state.filter,e.state.page,e.state.pageSize,e.state.globalSearch,e.state.outsideFilter)}),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_25__.a)(function(t){return e.loading=!1,e.total=t.total,e.current=t.results.length,setTimeout(function(){e.ref.markForCheck()}),t.results}),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_29__.a)(function(t){return console.error(t),e.loading=!1,Object(rxjs__WEBPACK_IMPORTED_MODULE_15__.a)(null)}))},t.prototype.disconnect=function(){},t}(_angular_cdk_table__WEBPACK_IMPORTED_MODULE_31__.b),NovoActivityTableState=function(){function 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 _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.onReset=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter}return Object.defineProperty(e.prototype,"userFiltered",{get:function(){return!!(this.filter||this.sort||this.globalSearch||this.outsideFilter)},enumerable:!0,configurable:!0}),e.prototype.reset=function(e,t){void 0===e&&(e=!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}(),_NovoTable=_angular_cdk_table__WEBPACK_IMPORTED_MODULE_32__.l,NovoTable=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t}(_NovoTable),NovoActivityTableActions=function(){return function(){}}(),NovoActivityTableCustomHeader=function(){return function(){}}(),NovoActivityTableCustomFilter=function(){return function(){}}(),NovoActivityTableEmptyMessage=function(){return function(){}}(),NovoActivityTableNoResultsMessage=function(){return function(){}}(),NovoActivityTable=function(){function e(e,t,n){this.labels=e,this.ref=t,this.state=n,this.globalSearchHiddenClassToggle=!1,this.loading=!0,notify("[Deprecated]: The simple table is deprecated. Please migrate to novo-data-tables!")}return Object.defineProperty(e.prototype,"customFilter",{get:function(){return this._customFilter},set:function(e){this._customFilter=Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_30__.b)(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"forceShowHeader",{get:function(){return this._forceShowHeader},set:function(e){this._forceShowHeader=Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_30__.b)(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hideGlobalSearch",{get:function(){return this._hideGlobalSearch},set:function(e){this._hideGlobalSearch=Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_30__.b)(e),this.globalSearchHiddenClassToggle=this._hideGlobalSearch},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"debug",{get:function(){return this._debug},set:function(e){this._debug=Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_30__.b)(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"empty",{get:function(){return this.dataSource&&this.dataSource.totallyEmpty},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"loadingClass",{get:function(){return this.loading||this.dataSource&&this.dataSource.loading},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(e){var t=this;this.loading=e.activityService&&!e.activityService.currentValue,this.ref.detectChanges(),e.activityService&&e.activityService.currentValue&&(this.loading=!1,this.dataSource=new ActivityTableDataSource(this.activityService,this.state,this.ref),this.ref.detectChanges()),e.outsideFilter&&e.outsideFilter.currentValue&&(this.outsideFilterSubscription||(this.outsideFilterSubscription=this.outsideFilter.subscribe(function(e){t.state.outsideFilter=e,t.state.updates.next({globalSearch:t.state.globalSearch,filter:t.state.filter,sort:t.state.sort}),t.ref.markForCheck()})))},e.prototype.ngOnDestroy=function(){this.outsideFilterSubscription&&this.outsideFilterSubscription.unsubscribe()},e.prototype.ngAfterContentInit=function(){this.paginationOptions&&!this.paginationOptions.page&&(this.paginationOptions.page=0),this.paginationOptions&&!this.paginationOptions.pageSize&&(this.paginationOptions.pageSize=50),this.paginationOptions&&!this.paginationOptions.pageSizeOptions&&(this.paginationOptions.pageSizeOptions=[10,25,50,100]),this.state.page=this.paginationOptions?this.paginationOptions.page:void 0,this.state.pageSize=this.paginationOptions?this.paginationOptions.pageSize:void 0,this.ref.markForCheck()},e.prototype.onSearchChange=function(e){this.state.globalSearch=e,this.state.reset(!1,!0),this.state.updates.next({globalSearch:e,filter:this.state.filter,sort:this.state.sort})},e}(),NovoSortFilter=function(){function e(e){this.state=e}return e.prototype.filter=function(e,t,n){var o;o=Helpers.isBlank(t)?void 0:{id:e,value:t,transform:n},this.state.filter=o,this.state.reset(!1,!0),this.state.updates.next({filter:o,sort:this.state.sort})},e.prototype.sort=function(e,t,n){var o={id:e,value:t,transform:n};this.state.sort=o,this.state.reset(!1,!0),this.state.updates.next({sort:o,filter:this.state.filter})},e}(),NovoSelection=function(){function e(e){this.state=e,this.novoSelectAllToggle=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.allRows=new Map}return e.prototype.register=function(e,t){this.allRows.set(e,t)},e.prototype.deregister=function(e){var t=this;this.allRows.delete(e),this.state.selectedRows.delete(e),clearTimeout(this.throttleTimeout),this.throttleTimeout=setTimeout(function(){0===t.state.selectedRows.size&&t.novoSelectAllToggle.emit(!1)})},e.prototype.ngOnDestroy=function(){this.allRows.clear(),this.state.selectedRows.clear()},e.prototype.toggle=function(e,t,n){t?this.state.selectedRows.set(e,n):this.state.selectedRows.delete(e)},e.prototype.selectAll=function(e){e?this.state.selectedRows=new Map(this.allRows):this.state.selectedRows.clear(),this.novoSelectAllToggle.emit(e)},e}(),_NovoCellDef=_angular_cdk_table__WEBPACK_IMPORTED_MODULE_32__.b,_NovoHeaderCellDef=_angular_cdk_table__WEBPACK_IMPORTED_MODULE_32__.g,_NovoColumnDef=_angular_cdk_table__WEBPACK_IMPORTED_MODULE_32__.d,_NovoHeaderCell=_angular_cdk_table__WEBPACK_IMPORTED_MODULE_32__.f,_NovoCell=_angular_cdk_table__WEBPACK_IMPORTED_MODULE_32__.a,NovoSimpleCellDef=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t}(_NovoCellDef),NovoSimpleHeaderCellDef=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t}(_NovoHeaderCellDef),NovoSimpleColumnDef=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t}(_NovoColumnDef),NovoSimpleHeaderCell=function(e){function t(t,n,o){var r=e.call(this,t,n)||this;return r.elementRef=n,r.renderer=o,r.role="columnheader",o.setAttribute(n.nativeElement,"data-automation-id","novo-column-header-"+t.cssClassFriendlyName),o.addClass(n.nativeElement,"novo-column-"+t.cssClassFriendlyName),o.addClass(n.nativeElement,"novo-simple-header-cell"),r}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t.prototype.ngOnInit=function(){this.column.width&&(this.renderer.setStyle(this.elementRef.nativeElement,"min-width",this.column.width+"px"),this.renderer.setStyle(this.elementRef.nativeElement,"max-width",this.column.width+"px"),this.renderer.setStyle(this.elementRef.nativeElement,"width",this.column.width+"px"))},t}(_NovoHeaderCell),NovoSimpleEmptyHeaderCell=function(e){function t(t,n,o){var r=e.call(this,t,n)||this;return r.role="columnheader",o.setAttribute(n.nativeElement,"data-automation-id","novo-column-header-"+t.cssClassFriendlyName),o.addClass(n.nativeElement,"novo-column-"+t.cssClassFriendlyName),o.addClass(n.nativeElement,"novo-simple-empty-header-cell"),r}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t}(_NovoHeaderCell),NovoSimpleCheckboxHeaderCell=function(e){function t(t,n,o,r,i){var a=e.call(this,t,n)||this;return a._selection=i,a.role="columnheader",a.selectAll=!1,o.setAttribute(n.nativeElement,"data-automation-id","novo-checkbox-column-header-"+t.cssClassFriendlyName),o.addClass(n.nativeElement,"novo-checkbox-column-"+t.cssClassFriendlyName),o.addClass(n.nativeElement,"novo-simple-checkbox-header-cell"),a.selectAllSubscription=i.novoSelectAllToggle.subscribe(function(e){a.selectAll=e,r.markForCheck()}),a}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t.prototype.ngOnDestroy=function(){this.selectAllSubscription.unsubscribe()},t.prototype.toggle=function(e){this._selection.selectAll(e)},t}(_NovoHeaderCell),NovoSimpleCell=function(e){function t(t,n,o){var r=e.call(this,t,n)||this;return r.elementRef=n,r.renderer=o,r.role="gridcell",o.setAttribute(n.nativeElement,"data-automation-id","novo-column-"+t.cssClassFriendlyName),o.addClass(n.nativeElement,"novo-column-"+t.cssClassFriendlyName),o.addClass(n.nativeElement,"novo-simple-cell"),r}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t.prototype.ngOnInit=function(){this.column.customClass&&this.renderer.addClass(this.elementRef.nativeElement,this.column.customClass(this.row)),this.column.width&&(this.renderer.setStyle(this.elementRef.nativeElement,"min-width",this.column.width+"px"),this.renderer.setStyle(this.elementRef.nativeElement,"max-width",this.column.width+"px"),this.renderer.setStyle(this.elementRef.nativeElement,"width",this.column.width+"px"))},t.prototype.onClick=function(e){Helpers.swallowEvent(e),this.column.onClick&&this.column.onClick(this.row)},t}(_NovoCell),NovoSimpleCheckboxCell=function(e){function t(t,n,o,r){var i=e.call(this,t,n)||this;return i.columnDef=t,i._selection=r,i.role="gridcell",i.selected=!1,o.setAttribute(n.nativeElement,"data-automation-id","novo-checkbox-column-"+t.cssClassFriendlyName),o.addClass(n.nativeElement,"novo-checkbox-column-"+t.cssClassFriendlyName),o.addClass(n.nativeElement,"novo-simple-checkbox-cell"),i.selectAllSubscription=r.novoSelectAllToggle.subscribe(function(e){i.selected=e}),i}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t.prototype.ngOnInit=function(){this._selection.register(this.row.id||this.index,this.row),this.selected=this._selection.state.selectedRows.has(this.row.id||this.index)},t.prototype.ngOnDestroy=function(){this._selection.deregister(this.row.id||this.index),this.selectAllSubscription.unsubscribe()},t.prototype.toggle=function(e){this._selection.toggle(this.row.id||this.index,e,this.row)},t}(_NovoCell),NovoSimpleActionCell=function(e){function t(t,n,o,r){var i=e.call(this,t,n)||this;return i.elementRef=n,i.renderer=o,i.labels=r,i.role="gridcell",o.setAttribute(n.nativeElement,"data-automation-id","novo-action-column-"+t.cssClassFriendlyName),i}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t.prototype.ngOnInit=function(){this.renderer.addClass(this.elementRef.nativeElement,this.column.options?"novo-simple-dropdown-cell":"novo-simple-button-cell")},t.prototype.isDisabled=function(e,t){return!0===e.disabled||!!e.disabledCheck&&e.disabledCheck(t)},t}(_NovoCell),_NovoHeaderRowDef=_angular_cdk_table__WEBPACK_IMPORTED_MODULE_32__.i,_NovoCdkRowDef=_angular_cdk_table__WEBPACK_IMPORTED_MODULE_32__.k,_NovoHeaderRow=_angular_cdk_table__WEBPACK_IMPORTED_MODULE_32__.h,_NovoRow=_angular_cdk_table__WEBPACK_IMPORTED_MODULE_32__.j,NovoSimpleHeaderRowDef=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t}(_NovoHeaderRowDef),NovoSimpleRowDef=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t}(_NovoCdkRowDef),NovoSimpleHeaderRow=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rowClass="novo-simple-header-row",t.role="row",t}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t}(_NovoHeaderRow),NovoSimpleRow=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rowClass="novo-simple-row",t.role="row",t}return Object(tslib__WEBPACK_IMPORTED_MODULE_35__.c)(t,e),t}(_NovoRow),NovoSimpleFilterFocus=function(){function e(e){this.element=e}return e.prototype.ngAfterViewInit=function(){this.element.nativeElement.focus()},e}(),NovoSimpleCellHeader=function(){function e(e,t,n,o,r){var i=this;this.changeDetectorRef=e,this.labels=t,this.state=n,this._sort=o,this._cdkColumnDef=r,this.icon="sortable",this.filterActive=!1,this.sortActive=!1,this.showCustomRange=!1,this._rerenderSubscription=n.updates.subscribe(function(t){t.sort&&t.sort.id===i.id?(i.icon="sort-"+t.sort.value,i.sortActive=!0):(i.icon="sortable",i.sortActive=!1),t.filter&&t.filter.id===i.id?(i.filterActive=!0,i.filter=t.filter.value):(i.filterActive=!1,i.filter=void 0),e.markForCheck()})}return Object.defineProperty(e.prototype,"config",{get:function(){return this._config},set:function(e){e?(this._config={sortable:Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_30__.b)(e.sortable),filterable:Object(_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_30__.b)(e.filterable),transforms:e.transforms||{},filterConfig:e.filterConfig||{type:"text"}},"date"!==this._config.filterConfig.type||this._config.filterConfig.options||(this._config.filterConfig.options=this.getDefaultDateFilterOptions())):this._config={sortable:!1,filterable:!1,filterConfig:{type:"text"}}},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this._cdkColumnDef&&(this.id=this._cdkColumnDef.name),this.defaultSort&&this.id===this.defaultSort.id&&(this.icon="sort-"+this.defaultSort.value,this.sortActive=!0,this.changeDetectorRef.markForCheck())},e.prototype.ngOnDestroy=function(){this._rerenderSubscription.unsubscribe()},e.prototype.sort=function(){var e=this;this.changeTimeout&&clearTimeout(this.changeTimeout),this.changeTimeout=setTimeout(function(){e.direction=e.getNextSortDirection(e.direction),e._sort.sort(e.id,e.direction,e._config.transforms.sort),e.changeDetectorRef.markForCheck()},300)},e.prototype.toggleCustomRange=function(e,t){Helpers.swallowEvent(e),this.showCustomRange=t,this.changeDetectorRef.markForCheck(),this.dropdown.openPanel()},e.prototype.filterData=function(e){var t=this,n=e;"date"===this.config.filterConfig.type&&e&&(this.activeDateFilter=e.label||this.labels.customDateRange,n=e.startDate&&e.endDate?{min:Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.startOfDay)(e.startDate.date),max:Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.startOfDay)(Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.addDays)(Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.startOfDay)(e.endDate.date),1))}:{min:e.min?Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.addDays)(Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.startOfToday)(),e.min):Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.startOfToday)(),max:e.max?Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.addDays)(Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.startOfTomorrow)(),e.max):Object(date_fns__WEBPACK_IMPORTED_MODULE_33__.startOfTomorrow)()}),n&&n.hasOwnProperty("value")&&(n=e.value),this.changeTimeout&&clearTimeout(this.changeTimeout),this.changeTimeout=setTimeout(function(){""===n&&(n=void 0),t._sort.filter(t.id,n,t.config.transforms.filter),t.changeDetectorRef.markForCheck()},300)},e.prototype.clearFilter=function(){this.filter=void 0,this.activeDateFilter=void 0,this.filterData()},e.prototype.getNextSortDirection=function(e){return e&&"asc"===e?"desc":"asc"},e.prototype.getDefaultDateFilterOptions=function(){return[{label:this.labels.past1Day,min:-1,max:0},{label:this.labels.past7Days,min:-7,max:0},{label:this.labels.past30Days,min:-30,max:0},{label:this.labels.past90Days,min:-90,max:0},{label:this.labels.past1Year,min:-366,max:0},{label:this.labels.next1Day,min:0,max:1},{label:this.labels.next7Days,min:0,max:7},{label:this.labels.next30Days,min:0,max:30},{label:this.labels.next90Days,min:0,max:90},{label:this.labels.next1Year,min:0,max:366}]},e}(),DEFAULT_PAGE_SIZE=50,NovoSimpleTablePagination=function(){function e(e,t,n){var o=this;this.changeDetectorRef=e,this.labels=t,this.state=n,this._page=0,this._length=0,this._pageSizeOptions=[],this.pageChange=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,n&&n.onReset&&(this.resetSubscription=this.state.onReset.subscribe(function(e){e&&(o.page=0,o.changeDetectorRef.markForCheck())}))}return Object.defineProperty(e.prototype,"page",{get:function(){return this._page},set:function(e){this._page=e,this.changeDetectorRef.markForCheck(),this.longRangeLabel=this.labels.getRangeText(this.page,this.pageSize,this.length,!1),this.shortRangeLabel=this.labels.getRangeText(this.page,this.pageSize,this.length,!0),this.state.page=this._page},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this._length},set:function(e){this._length=e,this.changeDetectorRef.markForCheck(),this.longRangeLabel=this.labels.getRangeText(this.page,this.pageSize,this.length,!1),this.shortRangeLabel=this.labels.getRangeText(this.page,this.pageSize,this.length,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pageSize",{get:function(){return this._pageSize},set:function(e){this._pageSize=e,this.updateDisplayedPageSizeOptions(),this.state.pageSize=this._pageSize},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pageSizeOptions",{get:function(){return this._pageSizeOptions},set:function(e){this._pageSizeOptions=e,this.updateDisplayedPageSizeOptions()},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this._initialized=!0,this.updateDisplayedPageSizeOptions()},e.prototype.ngOnDestroy=function(){this.resetSubscription.unsubscribe()},e.prototype.nextPage=function(){this.hasNextPage()&&(this.page++,this.emitPageEvent())},e.prototype.previousPage=function(){this.hasPreviousPage()&&(this.page--,this.emitPageEvent())},e.prototype.hasPreviousPage=function(){return this.page>=1&&0!==this.pageSize},e.prototype.hasNextPage=function(){var e=Math.ceil(this.length/this.pageSize)-1;return this.page<e&&0!==this.pageSize},e.prototype.changePageSize=function(e){this.page=0,this.pageSize=e,this.emitPageEvent()},e.prototype.updateDisplayedPageSizeOptions=function(){this._initialized&&(this.pageSize||(this._pageSize=0!==this.pageSizeOptions.length?this.pageSizeOptions[0]:DEFAULT_PAGE_SIZE),this.displayedPageSizeOptions=this.pageSizeOptions.slice(),-1===this.displayedPageSizeOptions.indexOf(this.pageSize)&&this.displayedPageSizeOptions.push(this.pageSize),this.displayedPageSizeOptions.sort(function(e,t){return e-t}),this.changeDetectorRef.markForCheck(),this.longRangeLabel=this.labels.getRangeText(this.page,this.pageSize,this.length,!1),this.shortRangeLabel=this.labels.getRangeText(this.page,this.pageSize,this.length,!0))},e.prototype.emitPageEvent=function(){var e={page:this.page,pageSize:this.pageSize,length:this.length};this.pageChange.next(e),this.state.page=this.page,this.state.pageSize=this.pageSize,this.longRangeLabel=this.labels.getRangeText(this.page,this.pageSize,this.length,!1),this.shortRangeLabel=this.labels.getRangeText(this.page,this.pageSize,this.length,!0),this.state.updates.next(e)},e}(),NovoSimpleTableModule=function(){return function(){}}(),PopOverContent=function(){function e(e,t){this.element=e,this.cdr=t,this.placement="top",this.animation=!0,this.onCloseFromOutside=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.top=-1e4,this.left=-1e4,this.displayType="none",this.isHidden=!1}return e.prototype.ngAfterViewInit=function(){this.show(),this.cdr.detectChanges()},e.prototype.toggle=function(){this.isHidden?this.show():this.hide()},e.prototype.show=function(){if(this.popover&&this.popover.getElement()){var e=this.positionElements(this.popover.getElement(),this.popoverDiv.nativeElement,this.placement);this.displayType="block",this.top=e.top,this.left=e.left,this.isHidden=!1}},e.prototype.hide=function(){this.top=-1e4,this.left=-1e4,this.isHidden=!0,this.popover.hide()},e.prototype.hideFromPopover=function(){this.top=-1e4,this.left=-1e4},e.prototype.positionElements=function(e,t,n,o){void 0===o&&(o=!1);var r,i=n.split("-"),a=this.effectivePlacement=this.getEffectivePlacement(i[0]||"right",e,t),s=this.effectiveAlignment=i[1]||"center",l=o?this.offset(e):this.position(e),c=t.offsetWidth,u=t.offsetHeight,d={center:function(){return l.left+(l.width-c)/2},right:function(){return l.left},left:function(){return l.left+(l.width-c)}},h={center:function(){return l.top+(l.height-u)/2},bottom:function(){return l.top},top:function(){return l.top+(l.height-u)}};switch(a){case"right":r={top:h[s](),left:l.left+l.width};break;case"left":r={top:h[s](),left:l.left-c};break;case"bottom":r={top:l.top+l.height,left:d[s]()};break;default:r={top:l.top-u,left:d[s]()}}return r},e.prototype.position=function(e){var t={top:0,left:0},n=this.offset(e),o=this.parentOffsetEl(e);o!==window.document&&((t=this.offset(o)).top+=o.clientTop-o.scrollTop,t.left+=o.clientLeft-o.scrollLeft);var r=e.getBoundingClientRect();return{width:r.width||e.offsetWidth,height:r.height||e.offsetHeight,top:n.top-t.top,left:n.left-t.left}},e.prototype.offset=function(e){var t=e.getBoundingClientRect();return{width:t.width||e.offsetWidth,height:t.height||e.offsetHeight,top:t.top+(window.pageYOffset||window.document.documentElement.scrollTop),left:t.left+(window.pageXOffset||window.document.documentElement.scrollLeft)}},e.prototype.getStyle=function(e,t){return e.currentStyle?e.currentStyle[t]:window.getComputedStyle?window.getComputedStyle(e)[t]:e.style[t]},e.prototype.isStaticPositioned=function(e){return"static"===(this.getStyle(e,"position")||"static")},e.prototype.parentOffsetEl=function(e){for(var t=e.offsetParent||window.document;t&&t!==window.document&&this.isStaticPositioned(t);)t=t.offsetParent;return t||window.document},e.prototype.getEffectivePlacement=function(e,t,n){var o=t.getBoundingClientRect();return"top"===e&&o.top-n.offsetHeight<0?"bottom":"bottom"===e&&o.bottom+n.offsetHeight>window.innerHeight?"top":"left"===e&&o.left-n.offsetWidth<0?"right":"right"===e&&o.right+n.offsetWidth>window.innerWidth?"left":e},e}(),PopOverDirective=function(){function e(e,t){this.viewContainerRef=e,this.resolver=t,this.PopoverComponent=PopOverContent,this.popoverOnHover=!1,this.popoverDismissTimeout=0,this.onShown=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.onHidden=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter}return e.prototype.showOrHideOnClick=function(){this.popoverOnHover||this.popoverDisabled||this.toggle()},e.prototype.showOnHover=function(){this.popoverOnHover&&!this.popoverDisabled&&this.show()},e.prototype.hideOnHover=function(){this.popoverOnHover&&!this.popoverDisabled&&this.hide()},e.prototype.ngOnChanges=function(e){e.popoverDisabled&&e.popoverDisabled.currentValue&&this.hide(),e.popoverAlways&&e.popoverAlways.currentValue&&this.show()},e.prototype.toggle=function(){this.visible?this.hide():this.show()},e.prototype.show=function(){var e=this;if(!this.visible){if(this.visible=!0,"string"==typeof this.content){var t=this.resolver.resolveComponentFactory(this.PopoverComponent);if(!this.visible)return;this.popover=this.viewContainerRef.createComponent(t),(n=this.popover.instance).popover=this,n.content=this.content,void 0!==this.popoverPlacement&&(n.placement=this.popoverPlacement),void 0!==this.popoverAnimation&&(n.animation=this.popoverAnimation),void 0!==this.popoverTitle&&(n.title=this.popoverTitle),n.onCloseFromOutside.subscribe(function(){return e.hide()}),this.popoverDismissTimeout>0&&setTimeout(function(){return e.hide()},this.popoverDismissTimeout)}else{var n;(n=this.content).popover=this,void 0!==this.popoverPlacement&&(n.placement=this.popoverPlacement),void 0!==this.popoverAnimation&&(n.animation=this.popoverAnimation),void 0!==this.popoverTitle&&(n.title=this.popoverTitle),n.onCloseFromOutside.subscribe(function(){return e.hide()}),this.popoverDismissTimeout>0&&setTimeout(function(){return e.hide()},this.popoverDismissTimeout),n.show()}this.onShown.emit(this)}},e.prototype.hide=function(){this.visible&&(this.visible=!1,this.popover&&this.popover.destroy(),this.content instanceof PopOverContent&&this.content.hideFromPopover(),this.onHidden.emit(this))},e.prototype.getElement=function(){return this.viewContainerRef.element.nativeElement},e}(),NovoPopOverModule=function(){return function(){}}(),PlacesListComponent=function(){function e(e,t,n,o){this.platformId=e,this._elmRef=t,this._global=n,this._googlePlacesService=o,this.term="",this.termChange=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.select=new _angular_core__WEBPACK_IMPORTED_MODULE_36__.EventEmitter,this.locationInput="",this.gettingCurrentLocationFlag=!1,this.dropdownOpen=!1,this.recentDropdownOpen=!1,this.queryItems=[],this.isSettingsError=!1,this.settingsErrorMsg="",this.settings={},this.moduleinit=!1,this.selectedDataIndex=-1,this.recentSearchData=[],this.userSelectedOption="",this.defaultSettings={geoPredictionServerUrl:"",geoLatLangServiceUrl:"",geoLocDetailServerUrl:"",geoCountryRestriction:[],geoTypes:[],geoLocation:[],geoRadius:0,serverResponseListHierarchy:[],serverResponseatLangHierarchy:[],serverResponseDetailHierarchy:[],resOnSearchButtonClickOnly:!1,useGoogleGeoApi:!0,inputPlaceholderText:"Enter Area Name",inputString:"",showSearchButton:!0,showRecentSearch:!0,showCurrentLocation:!0,recentStorageName:"recentSearches",noOfRecentSearchSave:5,currentLocIconUrl:"",searchIconUrl:"",locationIconUrl:""}}return e.prototype.ngOnInit=function(){this.moduleinit||this.moduleInit()},e.prototype.ngOnChanges=function(){this.moduleinit=!0,this.moduleInit(),this.searchinputCallback(null)},e.prototype.searchinputClickCallback=function(e){e.target.select(),this.searchinputCallback(e)},e.prototype.searchinputCallback=function(e){var t=this.locationInput;t?this.getListQuery(t):(this.queryItems=[],this.userSelectedOption&&this.userQuerySubmit("false"),this.userSelectedOption="",this.settings.showRecentSearch?this.showRecentSearch():this.dropdownOpen=!1)},e.prototype.activeListNode=function(e){for(var t=0;t<this.queryItems.length;t++)e===t?(this.queryItems[t].active=!0,this.selectedDataIndex=e):this.queryItems[t].active=!1},e.prototype.selectedListNode=function(e,t){this.dropdownOpen=!1,this.recentDropdownOpen?this.setRecentLocation(this.queryItems[t]):this.getPlaceLocationInfo(this.queryItems[t])},e.prototype.closeAutocomplete=function(e){this._elmRef.nativeElement.contains(e.target)||(this.selectedDataIndex=-1,this.dropdownOpen=!1)},e.prototype.userQuerySubmit=function(e){"false"!==e&&this.userSelectedOption&&this.select.emit(this.userSelectedOption)},e.prototype.currentLocationSelected=function(){var e=this;Object(_angular_common__WEBPACK_IMPORTED_MODULE_37__.A)(this.platformId)&&(this.gettingCurrentLocationFlag=!0,this.dropdownOpen=!1,this._googlePlacesService.getGeoCurrentLocation().then(function(t){t?e.getCurrentLocationInfo(t):e.gettingCurrentLocationFlag=!1}))},e.prototype.moduleInit=function(){this.settings=this.setUserSettings(),this.settings.geoRadius&&2!==this.settings.geoLocation.length&&(this.isSettingsError=!0,this.settingsErrorMsg=this.settingsErrorMsg+'Radius should be used with GeoLocation. Please use "geoLocation" key to set lat and lng. '),2!==this.settings.geoLocation.length||this.settings.geoRadius||(this.settings.geoRadius=2e7),this.settings.showRecentSearch&&this.getRecentLocations(),this.settings.useGoogleGeoApi||(this.settings.geoPredictionServerUrl||(this.isSettingsError=!0,this.settingsErrorMsg=this.settingsErrorMsg+'Prediction custom server url is not defined. Please use "geoPredictionServerUrl" key to set. '),this.settings.geoLatLangServiceUrl||(this.isSettingsError=!0,this.settingsErrorMsg=this.settingsErrorMsg+'Latitude and longitude custom server url is not defined. Please use "geoLatLangServiceUrl" key to set. '),this.settings.geoLocDetailServerUrl||(this.isSettingsError=!0,this.settingsErrorMsg=this.settingsErrorMsg+'Location detail custom server url is not defined. Please use "geoLocDetailServerUrl" key to set. ')),this.locationInput=this.term},e.prototype.processSearchQuery=function(){this.queryItems.length&&this.selectedListNode(null,this.selectedDataIndex>-1?this.selectedDataIndex:0)},e.prototype.setUserSettings=function(){var e,t,n={};if(this.userSettings&&"object"==typeof this.userSettings){var o=Object.keys(this.defaultSettings);try{for(var r=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.h)(o),i=r.next();!i.done;i=r.next()){var a=i.value;n[a]=void 0!==this.userSettings[a]?this.userSettings[a]:this.defaultSettings[a]}}catch(s){e={error:s}}finally{try{i&&!i.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}return n}return this.defaultSettings},e.prototype.getListQuery=function(e){var t=this;if(this.recentDropdownOpen=!1,this.settings.useGoogleGeoApi){var n={query:e,countryRestriction:this.settings.geoCountryRestriction,geoTypes:this.settings.geoTypes};2===this.settings.geoLocation.length&&(n.geoLocation=this.settings.geoLocation,n.radius=this.settings.geoRadius),this._googlePlacesService.getGeoPrediction(n).then(function(e){t.updateListItem(e)})}else this._googlePlacesService.getPredictions(this.settings.geoPredictionServerUrl,e).then(function(e){e=t.extractServerList(t.settings.serverResponseListHierarchy,e),t.updateListItem(e)})},e.prototype.extractServerList=function(e,t){var n,o;if(e.length){var r=t;try{for(var i=Object(tslib__WEBPACK_IMPORTED_MODULE_35__.h)(e),a=i.next();!a.done;a=i.next())r=r[a.value]}catch(s){n={error:s}}finally{try{a&&!a.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}return r}return t},e.prototype.updateListItem=function(e){this.queryItems=e||[],this.dropdownOpen=!0},e.prototype.showRecentSearch=function(){var e=this;this.recentDropdownOpen=!0,this.dropdownOpen=!0,this._googlePlacesService.getRecentList(this.settings.recentStorageName).then(function(t){e.queryItems=t||[]})},e.prototype.getCurrentLocationInfo=function(e){var t=this;this.settings.useGoogleGeoApi?this._googlePlacesService.getGeoLatLngDetail(e).then(function(e){e&&t.setRecentLocation(e),t.gettingCurrentLocationFlag=!1}):this._googlePlacesService.getLatLngDetail(this.settings.geoLatLangServiceUrl,e.lat,e.lng).then(function(e){e&&(e=t.extractServerList(t.settings.serverResponseatLangHierarchy,e),t.setRecentLocation(e)),t.gettingCurrentLocationFlag=!1})},e.prototype.getPlaceLocationInfo=function(e){var t=this;this.settings.useGoogleGeoApi?this._googlePlacesService.getGeoPlaceDetail(e.place_id).then(function(e){e&&t.setRecentLocation(e)}):this._googlePlacesService.getPlaceDetails(this.settings.geoLocDetailServerUrl,e.place_id).then(function(e){e&&(e=t.extractServerList(t.settings.serverResponseDetailHierarchy,e),t.setRecentLocation(e))})},e.prototype.setRecentLocation=function(e){(e=JSON.parse(JSON.stringify(e))).description=e.description?e.description:e.formatted_address,e.active=!1,this.selectedDataIndex=-1,this.locationInput=e.description,this.settings.showRecentSearch&&(this._googlePlacesService.addRecentList(this.settings.recentStorageName,e,this.settings.noOfRecentSearchSave),this.getRecentLocations()),this.userSelectedOption=e,this.settings.resOnSearchButtonClickOnly||(this.select.emit(e),this.termChange.emit(e))},e.prototype.getRecentLocations=function(){var e=this;this._googlePlacesService.getRecentList(this.settings.recentStorageName).then(function(t){e.recentSearchData=t&&t.length?t:[]})},e}(),GooglePlacesModule=function(){return function(){}}(),NovoElementsModule=function(){return function(){}}(),ActivityTableRenderers=function(){function e(){}return e.propertyRenderer=function(e){return function(t){return t[e]}},e.dateRenderer=function(e){return function(t){return t[e]?new Date(t[e]).toLocaleDateString():""}},e}()},CS9Q:function(e,t,n){"use strict";var o=n("mrSG"),r=function(){function e(t,n){void 0===n&&(n=e.now),this.SchedulerAction=t,this.now=n}return e.prototype.schedule=function(e,t,n){return void 0===t&&(t=0),new this.SchedulerAction(this,e).schedule(n,t)},e.now=function(){return Date.now()},e}();n.d(t,"a",function(){return i});var i=function(e){function t(n,o){void 0===o&&(o=r.now);var i=e.call(this,n,function(){return t.delegate&&t.delegate!==i?t.delegate.now():o()})||this;return i.actions=[],i.active=!1,i.scheduled=void 0,i}return o.c(t,e),t.prototype.schedule=function(n,o,r){return void 0===o&&(o=0),t.delegate&&t.delegate!==this?t.delegate.schedule(n,o,r):e.prototype.schedule.call(this,n,o,r)},t.prototype.flush=function(e){var t=this.actions;if(this.active)t.push(e);else{var n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}},t}(r)},CXhC:function(e,t,n){var o=n("yNUO");e.exports=function(e){var t=o(e);return t.setHours(0,0,0,0),t}},CcnG:function(e,t,n){"use strict";n.r(t);var o=n("mrSG"),r=n("pugT"),i=n("K9Ia"),a=n("6blF"),s=n("p0ib"),l=n("FFOo");function c(){return function(e){return e.lift(new u(e))}}var u=function(){function e(e){this.connectable=e}return e.prototype.call=function(e,t){var n=this.connectable;n._refCount++;var o=new d(e,n),r=t.subscribe(o);return o.closed||(o.connection=n.connect()),r},e}(),d=function(e){function t(t,n){var o=e.call(this,t)||this;return o.connectable=n,o}return o.c(t,e),t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,o=e._connection;this.connection=null,!o||n&&o!==n||o.unsubscribe()}}else this.connection=null},t}(l.a),h=function(e){function t(t,n){var o=e.call(this)||this;return o.source=t,o.subjectFactory=n,o._refCount=0,o._isComplete=!1,o}return o.c(t,e),t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},t.prototype.connect=function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new r.a).add(this.source.subscribe(new f(this.getSubject(),this))),e.closed?(this._connection=null,e=r.a.EMPTY):this._connection=e),e},t.prototype.refCount=function(){return c()(this)},t}(a.a).prototype,p={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:h._subscribe},_isComplete:{value:h._isComplete,writable:!0},getSubject:{value:h.getSubject},connect:{value:h.connect},refCount:{value:h.refCount}},f=function(e){function t(t,n){var o=e.call(this,t)||this;return o.connectable=n,o}return o.c(t,e),t.prototype._error=function(t){this._unsubscribe(),e.prototype._error.call(this,t)},t.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}},t}(i.b);function m(){return new i.a}function g(e){for(var t in e)if(e[t]===g)return t;throw Error("Could not find renamed property on target object.")}function v(e,t){for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}n.d(t,"\u0275angular_packages_core_core_p",function(){return wf}),n.d(t,"\u0275angular_packages_core_core_m",function(){return bf}),n.d(t,"\u0275angular_packages_core_core_n",function(){return Cf}),n.d(t,"\u0275angular_packages_core_core_o",function(){return Ef}),n.d(t,"\u0275angular_packages_core_core_g",function(){return Mh}),n.d(t,"\u0275angular_packages_core_core_k",function(){return Qp}),n.d(t,"\u0275angular_packages_core_core_l",function(){return sf}),n.d(t,"\u0275angular_packages_core_core_c",function(){return Ie}),n.d(t,"\u0275angular_packages_core_core_d",function(){return Oh}),n.d(t,"\u0275angular_packages_core_core_e",function(){return mh}),n.d(t,"\u0275angular_packages_core_core_f",function(){return Ch}),n.d(t,"\u0275angular_packages_core_core_q",function(){return Qh}),n.d(t,"\u0275angular_packages_core_core_s",function(){return Yh}),n.d(t,"\u0275angular_packages_core_core_r",function(){return zh}),n.d(t,"\u0275angular_packages_core_core_v",function(){return Xh}),n.d(t,"\u0275angular_packages_core_core_t",function(){return Zh}),n.d(t,"\u0275angular_packages_core_core_u",function(){return Jh}),n.d(t,"\u0275angular_packages_core_core_z",function(){return qn}),n.d(t,"\u0275angular_packages_core_core_bh",function(){return b}),n.d(t,"\u0275angular_packages_core_core_ba",function(){return Ka}),n.d(t,"\u0275angular_packages_core_core_bb",function(){return pn}),n.d(t,"\u0275angular_packages_core_core_bc",function(){return En}),n.d(t,"\u0275angular_packages_core_core_bd",function(){return Ln}),n.d(t,"\u0275angular_packages_core_core_bg",function(){return kr}),n.d(t,"\u0275angular_packages_core_core_bk",function(){return Ot}),n.d(t,"\u0275angular_packages_core_core_h",function(){return ss}),n.d(t,"\u0275angular_packages_core_core_i",function(){return ls}),n.d(t,"\u0275angular_packages_core_core_j",function(){return us}),n.d(t,"\u0275angular_packages_core_core_a",function(){return L}),n.d(t,"\u0275angular_packages_core_core_b",function(){return B}),n.d(t,"\u0275angular_packages_core_core_bi",function(){return g}),n.d(t,"\u0275angular_packages_core_core_w",function(){return _g}),n.d(t,"\u0275angular_packages_core_core_x",function(){return Xv}),n.d(t,"\u0275angular_packages_core_core_y",function(){return If}),n.d(t,"createPlatform",function(){return bp}),n.d(t,"assertPlatform",function(){return Ep}),n.d(t,"destroyPlatform",function(){return wp}),n.d(t,"getPlatform",function(){return kp}),n.d(t,"PlatformRef",function(){return Ap}),n.d(t,"ApplicationRef",function(){return Op}),n.d(t,"createPlatformFactory",function(){return Cp}),n.d(t,"NgProbeToken",function(){return yp}),n.d(t,"enableProdMode",function(){return Bl}),n.d(t,"isDevMode",function(){return Ll}),n.d(t,"APP_ID",function(){return Ph}),n.d(t,"PACKAGE_ROOT_URL",function(){return jh}),n.d(t,"PLATFORM_INITIALIZER",function(){return Lh}),n.d(t,"PLATFORM_ID",function(){return Bh}),n.d(t,"APP_BOOTSTRAP_LISTENER",function(){return Nh}),n.d(t,"APP_INITIALIZER",function(){return Th}),n.d(t,"ApplicationInitStatus",function(){return Rh}),n.d(t,"DebugElement",function(){return zp}),n.d(t,"DebugNode",function(){return qp}),n.d(t,"asNativeElements",function(){return Yp}),n.d(t,"getDebugNode",function(){return Jp}),n.d(t,"Testability",function(){return hp}),n.d(t,"TestabilityRegistry",function(){return pp}),n.d(t,"setTestabilityGetter",function(){return fp}),n.d(t,"TRANSLATIONS",function(){return vf}),n.d(t,"TRANSLATIONS_FORMAT",function(){return _f}),n.d(t,"LOCALE_ID",function(){return gf}),n.d(t,"MissingTranslationStrategy",function(){return yf}),n.d(t,"ApplicationModule",function(){return kf}),n.d(t,"wtfCreateScope",function(){return tp}),n.d(t,"wtfLeave",function(){return np}),n.d(t,"wtfStartTimeRange",function(){return op}),n.d(t,"wtfEndTimeRange",function(){return rp}),n.d(t,"Type",function(){return Zu}),n.d(t,"EventEmitter",function(){return uu}),n.d(t,"ErrorHandler",function(){return sh}),n.d(t,"Sanitizer",function(){return Uu}),n.d(t,"SecurityContext",function(){return Vu}),n.d(t,"ANALYZE_FOR_ENTRY_COMPONENTS",function(){return N}),n.d(t,"Attribute",function(){return j}),n.d(t,"ContentChild",function(){return $}),n.d(t,"ContentChildren",function(){return U}),n.d(t,"Query",function(){return V}),n.d(t,"ViewChild",function(){return W}),n.d(t,"ViewChildren",function(){return H}),n.d(t,"Component",function(){return Sd}),n.d(t,"Directive",function(){return Ad}),n.d(t,"HostBinding",function(){return Rd}),n.d(t,"HostListener",function(){return Pd}),n.d(t,"Input",function(){return Dd}),n.d(t,"Output",function(){return Td}),n.d(t,"Pipe",function(){return Od}),n.d(t,"CUSTOM_ELEMENTS_SCHEMA",function(){return $d}),n.d(t,"NO_ERRORS_SCHEMA",function(){return Hd}),n.d(t,"NgModule",function(){return Wd}),n.d(t,"ViewEncapsulation",function(){return X}),n.d(t,"Version",function(){return kl}),n.d(t,"VERSION",function(){return Al}),n.d(t,"defineInjectable",function(){return S}),n.d(t,"defineInjector",function(){return O}),n.d(t,"forwardRef",function(){return go}),n.d(t,"resolveForwardRef",function(){return vo}),n.d(t,"Injectable",function(){return Xd}),n.d(t,"INJECTOR",function(){return Co}),n.d(t,"Injector",function(){return wo}),n.d(t,"inject",function(){return Fe}),n.d(t,"InjectFlags",function(){return Te}),n.d(t,"ReflectiveInjector",function(){return Sh}),n.d(t,"createInjector",function(){return Hs}),n.d(t,"ResolvedReflectiveFactory",function(){return _h}),n.d(t,"ReflectiveKey",function(){return hh}),n.d(t,"InjectionToken",function(){return T}),n.d(t,"Inject",function(){return Ae}),n.d(t,"Optional",function(){return Se}),n.d(t,"Self",function(){return Oe}),n.d(t,"SkipSelf",function(){return xe}),n.d(t,"Host",function(){return De}),n.d(t,"NgZone",function(){return ip}),n.d(t,"\u0275NoopNgZone",function(){return dp}),n.d(t,"RenderComponentType",function(){return ml}),n.d(t,"Renderer",function(){return vl}),n.d(t,"Renderer2",function(){return Cl}),n.d(t,"RendererFactory2",function(){return yl}),n.d(t,"RendererStyleFlags2",function(){return bl}),n.d(t,"RootRenderer",function(){return _l}),n.d(t,"COMPILER_OPTIONS",function(){return Gh}),n.d(t,"Compiler",function(){return Kh}),n.d(t,"CompilerFactory",function(){return qh}),n.d(t,"ModuleWithComponentFactories",function(){return Uh}),n.d(t,"ComponentFactory",function(){return il}),n.d(t,"ComponentRef",function(){return rl}),n.d(t,"ComponentFactoryResolver",function(){return cl}),n.d(t,"ElementRef",function(){return hl}),n.d(t,"NgModuleFactory",function(){return jo}),n.d(t,"NgModuleRef",function(){return No}),n.d(t,"NgModuleFactoryLoader",function(){return Dp}),n.d(t,"getModuleFactory",function(){return Pp}),n.d(t,"QueryList",function(){return Mp}),n.d(t,"SystemJsNgModuleLoader",function(){return Lp}),n.d(t,"SystemJsNgModuleLoaderConfig",function(){return Ip}),n.d(t,"TemplateRef",function(){return du}),n.d(t,"ViewContainerRef",function(){return Np}),n.d(t,"EmbeddedViewRef",function(){return Kp}),n.d(t,"ViewRef",function(){return Wp}),n.d(t,"ChangeDetectionStrategy",function(){return K}),n.d(t,"ChangeDetectorRef",function(){return Up}),n.d(t,"DefaultIterableDiffer",function(){return tf}),n.d(t,"IterableDiffers",function(){return uf}),n.d(t,"KeyValueDiffers",function(){return df}),n.d(t,"SimpleChange",function(){return _t}),n.d(t,"WrappedValue",function(){return vt}),n.d(t,"platformCore",function(){return mf}),n.d(t,"\u0275ALLOW_MULTIPLE_PLATFORMS",function(){return _p}),n.d(t,"\u0275APP_ID_RANDOM_PROVIDER",function(){return Ih}),n.d(t,"\u0275defaultIterableDiffers",function(){return pf}),n.d(t,"\u0275defaultKeyValueDiffers",function(){return ff}),n.d(t,"\u0275devModeEqual",function(){return gt}),n.d(t,"\u0275isListLikeIterable",function(){return yt}),n.d(t,"\u0275ChangeDetectorStatus",function(){return G}),n.d(t,"\u0275isDefaultChangeDetectionStrategy",function(){return q}),n.d(t,"\u0275Console",function(){return Vh}),n.d(t,"\u0275getInjectableDef",function(){return x}),n.d(t,"\u0275inject",function(){return Fe}),n.d(t,"\u0275setCurrentInjector",function(){return Pe}),n.d(t,"\u0275APP_ROOT",function(){return Bs}),n.d(t,"\u0275ivyEnabled",function(){return Sf}),n.d(t,"\u0275ComponentFactory",function(){return il}),n.d(t,"\u0275CodegenComponentFactoryResolver",function(){return ul}),n.d(t,"\u0275resolveComponentResources",function(){return z}),n.d(t,"\u0275ReflectionCapabilities",function(){return td}),n.d(t,"\u0275RenderDebugInfo",function(){return gl}),n.d(t,"\u0275_sanitizeHtml",function(){return rc}),n.d(t,"\u0275_sanitizeStyle",function(){return Wu}),n.d(t,"\u0275_sanitizeUrl",function(){return Ul}),n.d(t,"\u0275global",function(){return te}),n.d(t,"\u0275looseIdentical",function(){return ae}),n.d(t,"\u0275stringify",function(){return se}),n.d(t,"\u0275makeDecorator",function(){return I}),n.d(t,"\u0275isObservable",function(){return Dh}),n.d(t,"\u0275isPromise",function(){return xh}),n.d(t,"\u0275clearOverrides",function(){return n_}),n.d(t,"\u0275initServicesIfNeeded",function(){return mv}),n.d(t,"\u0275overrideComponentView",function(){return t_}),n.d(t,"\u0275overrideProvider",function(){return e_}),n.d(t,"\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR",function(){return Ag}),n.d(t,"\u0275defineBase",function(){return ge}),n.d(t,"\u0275defineComponent",function(){return de}),n.d(t,"\u0275defineDirective",function(){return ve}),n.d(t,"\u0275definePipe",function(){return _e}),n.d(t,"\u0275defineNgModule",function(){return fe}),n.d(t,"\u0275detectChanges",function(){return Sa}),n.d(t,"\u0275renderComponent",function(){return As}),n.d(t,"\u0275Render3ComponentFactory",function(){return Pl}),n.d(t,"\u0275Render3ComponentRef",function(){return Ml}),n.d(t,"\u0275directiveInject",function(){return Za}),n.d(t,"\u0275injectAttribute",function(){return Ja}),n.d(t,"\u0275getFactoryOf",function(){return to}),n.d(t,"\u0275getInheritedFactory",function(){return no}),n.d(t,"\u0275templateRefExtractor",function(){return Ru}),n.d(t,"\u0275ProvidersFeature",function(){return ol}),n.d(t,"\u0275InheritDefinitionFeature",function(){return Ps}),n.d(t,"\u0275NgOnChangesFeature",function(){return Fs}),n.d(t,"\u0275LifecycleHooksFeature",function(){return Ds}),n.d(t,"\u0275Render3NgModuleRef",function(){return Wc}),n.d(t,"\u0275markDirty",function(){return Da}),n.d(t,"\u0275NgModuleFactory",function(){return Kc}),n.d(t,"\u0275NO_CHANGE",function(){return Er}),n.d(t,"\u0275container",function(){return da}),n.d(t,"\u0275nextContext",function(){return bi}),n.d(t,"\u0275elementStart",function(){return Ti}),n.d(t,"\u0275namespaceHTML",function(){return Si}),n.d(t,"\u0275namespaceMathML",function(){return Ai}),n.d(t,"\u0275namespaceSVG",function(){return ki}),n.d(t,"\u0275element",function(){return Oi}),n.d(t,"\u0275listener",function(){return Bi}),n.d(t,"\u0275text",function(){return Xi}),n.d(t,"\u0275embeddedViewStart",function(){return ma}),n.d(t,"\u0275query",function(){return Du}),n.d(t,"\u0275registerContentQuery",function(){return Xa}),n.d(t,"\u0275projection",function(){return Ca}),n.d(t,"\u0275bind",function(){return Ta}),n.d(t,"\u0275interpolation1",function(){return Pa}),n.d(t,"\u0275interpolation2",function(){return Ma}),n.d(t,"\u0275interpolation3",function(){return Ia}),n.d(t,"\u0275interpolation4",function(){return Fa}),n.d(t,"\u0275interpolation5",function(){return La}),n.d(t,"\u0275interpolation6",function(){return Ba}),n.d(t,"\u0275interpolation7",function(){return Na}),n.d(t,"\u0275interpolation8",function(){return ja}),n.d(t,"\u0275interpolationV",function(){return Ra}),n.d(t,"\u0275pipeBind1",function(){return ru}),n.d(t,"\u0275pipeBind2",function(){return iu}),n.d(t,"\u0275pipeBind3",function(){return au}),n.d(t,"\u0275pipeBind4",function(){return su}),n.d(t,"\u0275pipeBindV",function(){return lu}),n.d(t,"\u0275pureFunction0",function(){return qc}),n.d(t,"\u0275pureFunction1",function(){return zc}),n.d(t,"\u0275pureFunction2",function(){return Yc}),n.d(t,"\u0275pureFunction3",function(){return Zc}),n.d(t,"\u0275pureFunction4",function(){return Jc}),n.d(t,"\u0275pureFunction5",function(){return Xc}),n.d(t,"\u0275pureFunction6",function(){return Qc}),n.d(t,"\u0275pureFunction7",function(){return eu}),n.d(t,"\u0275pureFunction8",function(){return tu}),n.d(t,"\u0275pureFunctionV",function(){return nu}),n.d(t,"\u0275getCurrentView",function(){return un}),n.d(t,"\u0275restoreView",function(){return hn}),n.d(t,"\u0275containerRefreshStart",function(){return pa}),n.d(t,"\u0275containerRefreshEnd",function(){return fa}),n.d(t,"\u0275queryRefresh",function(){return Tu}),n.d(t,"\u0275loadQueryList",function(){return $a}),n.d(t,"\u0275elementEnd",function(){return Vi}),n.d(t,"\u0275elementProperty",function(){return $i}),n.d(t,"\u0275projectionDef",function(){return ya}),n.d(t,"\u0275reference",function(){return Ua}),n.d(t,"\u0275enableBindings",function(){return ln}),n.d(t,"\u0275disableBindings",function(){return cn}),n.d(t,"\u0275elementAttribute",function(){return Ui}),n.d(t,"\u0275elementContainerStart",function(){return xi}),n.d(t,"\u0275elementContainerEnd",function(){return Di}),n.d(t,"\u0275elementStyling",function(){return qi}),n.d(t,"\u0275elementStylingMap",function(){return Zi}),n.d(t,"\u0275elementStyleProp",function(){return Yi}),n.d(t,"\u0275elementStylingApply",function(){return zi}),n.d(t,"\u0275elementClassProp",function(){return Gi}),n.d(t,"\u0275textBinding",function(){return Qi}),n.d(t,"\u0275template",function(){return ua}),n.d(t,"\u0275embeddedViewEnd",function(){return ga}),n.d(t,"\u0275store",function(){return Va}),n.d(t,"\u0275load",function(){return Ha}),n.d(t,"\u0275pipe",function(){return ou}),n.d(t,"\u0275whenRendered",function(){return Ts}),n.d(t,"\u0275i18n",function(){return Pc}),n.d(t,"\u0275i18nAttributes",function(){return Mc}),n.d(t,"\u0275i18nExp",function(){return Lc}),n.d(t,"\u0275i18nStart",function(){return Sc}),n.d(t,"\u0275i18nEnd",function(){return Dc}),n.d(t,"\u0275i18nApply",function(){return Bc}),n.d(t,"\u0275i18nPostprocess",function(){return xc}),n.d(t,"\u0275WRAP_RENDERER_FACTORY2",function(){return Tl}),n.d(t,"\u0275setClassMetadata",function(){return Gc}),n.d(t,"\u0275Render3DebugRendererFactory2",function(){return i_}),n.d(t,"\u0275compileComponent",function(){return gd}),n.d(t,"\u0275compileDirective",function(){return vd}),n.d(t,"\u0275compileNgModule",function(){return cd}),n.d(t,"\u0275compileNgModuleDefs",function(){return ud}),n.d(t,"\u0275patchComponentDefWithScope",function(){return dd}),n.d(t,"\u0275compilePipe",function(){return kd}),n.d(t,"\u0275sanitizeHtml",function(){return Ku}),n.d(t,"\u0275sanitizeStyle",function(){return Gu}),n.d(t,"\u0275sanitizeUrl",function(){return qu}),n.d(t,"\u0275sanitizeResourceUrl",function(){return zu}),n.d(t,"\u0275bypassSanitizationTrustHtml",function(){return Iu}),n.d(t,"\u0275bypassSanitizationTrustStyle",function(){return Fu}),n.d(t,"\u0275bypassSanitizationTrustScript",function(){return Lu}),n.d(t,"\u0275bypassSanitizationTrustUrl",function(){return Bu}),n.d(t,"\u0275bypassSanitizationTrustResourceUrl",function(){return Nu}),n.d(t,"\u0275getContext",function(){return oo}),n.d(t,"\u0275bindPlayerFactory",function(){return wr}),n.d(t,"\u0275addPlayer",function(){return ys}),n.d(t,"\u0275getPlayers",function(){return bs}),n.d(t,"\u0275compileNgModuleFactory__POST_R3__",function(){return vp}),n.d(t,"\u0275SWITCH_COMPILE_COMPONENT__POST_R3__",function(){return Md}),n.d(t,"\u0275SWITCH_COMPILE_DIRECTIVE__POST_R3__",function(){return Id}),n.d(t,"\u0275SWITCH_COMPILE_PIPE__POST_R3__",function(){return Fd}),n.d(t,"\u0275SWITCH_COMPILE_NGMODULE__POST_R3__",function(){return Kd}),n.d(t,"\u0275SWITCH_COMPILE_INJECTABLE__POST_R3__",function(){return Qd}),n.d(t,"\u0275SWITCH_IVY_ENABLED__POST_R3__",function(){return Af}),n.d(t,"\u0275SWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__",function(){return $p}),n.d(t,"\u0275SWITCH_ELEMENT_REF_FACTORY__POST_R3__",function(){return pl}),n.d(t,"\u0275SWITCH_TEMPLATE_REF_FACTORY__POST_R3__",function(){return hu}),n.d(t,"\u0275SWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__",function(){return jp}),n.d(t,"\u0275SWITCH_RENDERER2_FACTORY__POST_R3__",function(){return El}),n.d(t,"\u0275publishGlobalUtil",function(){return ks}),n.d(t,"\u0275publishDefaultGlobalUtils",function(){return ws}),n.d(t,"\u0275SWITCH_INJECTOR_FACTORY__POST_R3__",function(){return ko}),n.d(t,"\u0275registerModuleFactory",function(){return Rp}),n.d(t,"\u0275EMPTY_ARRAY",function(){return Em}),n.d(t,"\u0275EMPTY_MAP",function(){return wm}),n.d(t,"\u0275and",function(){return km}),n.d(t,"\u0275ccf",function(){return Wm}),n.d(t,"\u0275cmf",function(){return o_}),n.d(t,"\u0275crt",function(){return Kf}),n.d(t,"\u0275did",function(){return mg}),n.d(t,"\u0275eld",function(){return Am}),n.d(t,"\u0275elementEventFullName",function(){return nm}),n.d(t,"\u0275getComponentViewDefinitionFactory",function(){return Km}),n.d(t,"\u0275inlineInterpolate",function(){return bm}),n.d(t,"\u0275interpolate",function(){return ym}),n.d(t,"\u0275mod",function(){return Fm}),n.d(t,"\u0275mpd",function(){return Im}),n.d(t,"\u0275ncd",function(){return Bg}),n.d(t,"\u0275nov",function(){return ng}),n.d(t,"\u0275pid",function(){return gg}),n.d(t,"\u0275prd",function(){return vg}),n.d(t,"\u0275pad",function(){return Vg}),n.d(t,"\u0275pod",function(){return Ug}),n.d(t,"\u0275ppd",function(){return jg}),n.d(t,"\u0275qud",function(){return Pg}),n.d(t,"\u0275ted",function(){return Hg}),n.d(t,"\u0275unv",function(){return $f}),n.d(t,"\u0275vid",function(){return Gg});var _=g({ngComponentDef:g}),y=g({ngDirectiveDef:g}),b=g({ngInjectableDef:g}),C=g({ngInjectorDef:g}),E=g({ngPipeDef:g}),w=g({ngModuleDef:g}),k=g({ngBaseDef:g}),A=g({__NG_ELEMENT_ID__:g});function S(e){return{providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function O(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function x(e){return e.hasOwnProperty(b)?e[b]:null}function D(e){return e.hasOwnProperty(C)?e[C]:null}var T=function(){function e(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0!==t?S({providedIn:t.providedIn||"root",factory:t.factory}):void 0}return e.prototype.toString=function(){return"InjectionToken "+this._desc},e}(),R="__annotations__",P="__parameters__",M="__prop__metadata__";function I(e,t,n,r,i){var a=F(t);function s(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(this instanceof s)return a.call.apply(a,Object(o.g)([this],t)),this;var l=new((e=s).bind.apply(e,Object(o.g)([void 0],t)));return function(e){return i&&i.apply(void 0,Object(o.g)([e],t)),(e.hasOwnProperty(R)?e[R]:Object.defineProperty(e,R,{value:[]})[R]).push(l),r&&r(e),e}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s}function F(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(e){var r=e.apply(void 0,Object(o.g)(t));for(var i in r)this[i]=r[i]}}}function L(e,t,n){var r=F(t);function i(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(this instanceof i)return r.apply(this,t),this;var a=new((e=i).bind.apply(e,Object(o.g)([void 0],t)));return s.annotation=a,s;function s(e,t,n){for(var o=e.hasOwnProperty(P)?e[P]:Object.defineProperty(e,P,{value:[]})[P];o.length<=n;)o.push(null);return(o[n]=o[n]||[]).push(a),e}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i}function B(e,t,n,r){var i=F(t);function a(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(this instanceof a)return i.apply(this,t),this;var s=new((e=a).bind.apply(e,Object(o.g)([void 0],t)));return function(e,n){var i=e.constructor,a=i.hasOwnProperty(M)?i[M]:Object.defineProperty(i,M,{value:{}})[M];a[n]=a.hasOwnProperty(n)&&a[n]||[],a[n].unshift(s),r&&r.apply(void 0,Object(o.g)([e,n],t))}}return n&&(a.prototype=Object.create(n.prototype)),a.prototype.ngMetadataName=e,a.annotationCls=a,a}var N=new T("AnalyzeForEntryComponents"),j=L("Attribute",function(e){return{attributeName:e}}),V=function(){return function(){}}(),U=B("ContentChildren",function(e,t){return void 0===t&&(t={}),Object(o.a)({selector:e,first:!1,isViewQuery:!1,descendants:!1},t)},V),$=B("ContentChild",function(e,t){return void 0===t&&(t={}),Object(o.a)({selector:e,first:!0,isViewQuery:!1,descendants:!0},t)},V),H=B("ViewChildren",function(e,t){return void 0===t&&(t={}),Object(o.a)({selector:e,first:!1,isViewQuery:!0,descendants:!0},t)},V),W=B("ViewChild",function(e,t){return Object(o.a)({selector:e,first:!0,isViewQuery:!0,descendants:!0},t)},V),K=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}({}),G=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 q(e){return null==e||e===K.Default}function z(e){var t=[],n=new Map;function o(o){var r=n.get(o);if(!r){var i=e(o);n.set(o,r=i.then(J)),t.push(r)}return r}return Y.forEach(function(e){e.templateUrl&&o(e.templateUrl).then(function(t){e.template=t,e.templateUrl=void 0});var t=e.styleUrls,n=e.styles||(e.styles=[]),r=e.styles.length;t&&t.forEach(function(i,a){n.push(""),o(i).then(function(o){n[r+a]=o,t.splice(t.indexOf(i),1),0==t.length&&(e.styleUrls=void 0)})})}),Y.clear(),Promise.all(t).then(function(){return null})}var Y=new Set;function Z(e){return e.templateUrl||e.styleUrls&&e.styleUrls.length}function J(e){return"string"==typeof e?e:e.text()}var X=function(e){return e[e.Emulated=0]="Emulated",e[e.Native=1]="Native",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({}),Q="undefined"!=typeof window&&window,ee="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,te="undefined"!=typeof global&&global||Q||ee,ne=Promise.resolve(0),oe=null;function re(){if(!oe){var e=te.Symbol;if(e&&e.iterator)oe=e.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),n=0;n<t.length;++n){var o=t[n];"entries"!==o&&"size"!==o&&Map.prototype[o]===Map.prototype.entries&&(oe=o)}}return oe}function ie(e){"undefined"==typeof Zone?ne.then(function(){e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}function ae(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function se(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(se).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)}var le={},ce=[],ue=0;function de(e){var t=e.type,n=t.prototype,o={},r={type:t,providersResolver:null,consts:e.consts,vars:e.vars,hostVars:e.hostVars||0,factory:e.factory,template:e.template||null,hostBindings:e.hostBindings||null,contentQueries:e.contentQueries||null,contentQueriesRefresh:e.contentQueriesRefresh||null,attributes:e.attributes||null,declaredInputs:o,inputs:null,outputs:null,exportAs:e.exportAs||null,onInit:n.ngOnInit||null,doCheck:n.ngDoCheck||null,afterContentInit:n.ngAfterContentInit||null,afterContentChecked:n.ngAfterContentChecked||null,afterViewInit:n.ngAfterViewInit||null,afterViewChecked:n.ngAfterViewChecked||null,onDestroy:n.ngOnDestroy||null,onPush:e.changeDetection===K.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||X.Emulated,id:"c",styles:e.styles||ce,_:null};return r._=""+{toString:function(){var t=e.directives,n=e.features,i=e.pipes;r.id+=ue++,r.inputs=me(e.inputs,o),r.outputs=me(e.outputs),n&&n.forEach(function(e){return e(r)}),r.directiveDefs=t?function(){return("function"==typeof t?t():t).map(he)}:null,r.pipeDefs=i?function(){return("function"==typeof i?i():i).map(pe)}:null}},r}function he(e){return ye(e)||be(e)}function pe(e){return Ce(e)}function fe(e){return{type:e.type,bootstrap:e.bootstrap||ce,declarations:e.declarations||ce,imports:e.imports||ce,exports:e.exports||ce,transitiveCompileScopes:null}}function me(e,t){if(null==e)return le;var n={};for(var o in e)if(e.hasOwnProperty(o)){var r=e[o],i=r;Array.isArray(r)&&(i=r[1],r=r[0]),n[r]=o,t&&(t[i]=o)}return n}function ge(e){var t={};return{inputs:me(e.inputs,t),declaredInputs:t,outputs:me(e.outputs)}}var ve=de;function _e(e){return{name:e.name,factory:e.factory,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function ye(e){return e[_]||null}function be(e){return e[y]||null}function Ce(e){return e[E]||null}function Ee(e){return e[w]||null}function we(){var e=te.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}var ke,Ae=L("Inject",function(e){return{token:e}}),Se=L("Optional"),Oe=L("Self"),xe=L("SkipSelf"),De=L("Host"),Te=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}({}),Re=void 0;function Pe(e){var t=Re;return Re=e,t}function Me(e){var t=ke;return ke=e,t}function Ie(e,t){if(void 0===t&&(t=Te.Default),void 0===Re)throw new Error("inject() must be called from an injection context");return null===Re?Le(e,void 0,t):Re.get(e,t&Te.Optional?null:void 0,t)}function Fe(e,t){return void 0===t&&(t=Te.Default),(ke||Ie)(e,t)}function Le(e,t,n){var o=x(e);if(o&&"root"==o.providedIn)return void 0===o.value?o.value=o.factory():o.value;if(n&Te.Optional)return null;if(void 0!==t)return t;throw new Error("Injector: NOT_FOUND ["+se(e)+"]")}function Be(e){for(var t=[],n=0;n<e.length;n++){var o=e[n];if(Array.isArray(o)){if(0===o.length)throw new Error("Arguments array must have arguments.");for(var r=void 0,i=Te.Default,a=0;a<o.length;a++){var s=o[a];s instanceof Se||"Optional"===s.ngMetadataName?i|=Te.Optional:s instanceof xe||"SkipSelf"===s.ngMetadataName?i|=Te.SkipSelf:s instanceof Oe||"Self"===s.ngMetadataName?i|=Te.Self:r=s instanceof Ae?s.token:s}t.push(Fe(r,i))}else t.push(Fe(o))}return t}var Ne=8,je=8,Ve=9,Ue=-1,$e=function(){return function(e,t,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n}}(),He=$e.prototype,We=17,Ke=0,Ge=1,qe=2,ze=3,Ye=4,Ze=5,Je=6,Xe=7,Qe=8,et=9,tt=10,nt=11,ot=12,rt=13,it=14,at=15,st=16;function lt(e,t,n,o){t&&(o.initHooks||(o.initHooks=[])).push(e,t),n&&((o.initHooks||(o.initHooks=[])).push(e,n),(o.checkHooks||(o.checkHooks=[])).push(e,n))}function ct(e,t){if(t.firstTemplatePass)for(var n=e>>16,o=n+(4095&e),r=n;r<o;r++){var i=t.data[r];ut(i,t,r),dt(i,t,r),ht(i,t,r)}}function ut(e,t,n){e.afterContentInit&&(t.contentHooks||(t.contentHooks=[])).push(n,e.afterContentInit),e.afterContentChecked&&((t.contentHooks||(t.contentHooks=[])).push(n,e.afterContentChecked),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,e.afterContentChecked))}function dt(e,t,n){e.afterViewInit&&(t.viewHooks||(t.viewHooks=[])).push(n,e.afterViewInit),e.afterViewChecked&&((t.viewHooks||(t.viewHooks=[])).push(n,e.afterViewChecked),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,e.afterViewChecked))}function ht(e,t,n){null!=e.onDestroy&&(t.destroyHooks||(t.destroyHooks=[])).push(n,e.onDestroy)}function pt(e,t,n){16&e[Ge]&&(ft(e,t.initHooks,t.checkHooks,n),e[Ge]&=-17)}function ft(e,t,n,o){var r=o?t:n;r&&mt(e,r)}function mt(e,t){for(var n=0;n<t.length;n+=2)t[n+1].call(e[t[n]])}function gt(e,t){var n=yt(e),o=yt(t);return n&&o?function(e,t,n){for(var o=e[re()](),r=t[re()]();;){var i=o.next(),a=r.next();if(i.done&&a.done)return!0;if(i.done||a.done)return!1;if(!n(i.value,a.value))return!1}}(e,t,gt):!(n||!e||"object"!=typeof e&&"function"!=typeof e||o||!t||"object"!=typeof t&&"function"!=typeof t)||ae(e,t)}var vt=function(){function e(e){this.wrapped=e}return e.wrap=function(t){return new e(t)},e.unwrap=function(t){return e.isWrapped(t)?t.wrapped:t},e.isWrapped=function(t){return t instanceof e},e}(),_t=function(){function e(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}return e.prototype.isFirstChange=function(){return this.firstChange},e}();function yt(e){return!!bt(e)&&(Array.isArray(e)||!(e instanceof Map)&&re()in e)}function bt(e){return null!==e&&("function"==typeof e||"object"==typeof e)}var Ct=0,Et=1,wt=6,kt=7,At="__ngContext__";function St(e){return"function"==typeof e?e.name||e:"string"==typeof e?e:null==e?"":""+e}function Ot(e,t){return t[e+We]}function xt(e){for(;Array.isArray(e);)e=e[Ze];return e}function Dt(e,t){return xt(t[e+We])}function Tt(e,t){return xt(t[e.index])}function Rt(e,t){return t[Ke].data[e+We]}function Pt(e,t){var n=t[e];return n.length>=We?n:n[Ze]}function Mt(e){return 0!=(16384&e.flags)}function It(e){return 4096==(4096&e.flags)}function Ft(e){return null!==e.template}function Lt(e){return Array.isArray(e)&&"number"==typeof e[Ct]}function Bt(e){return 0!=(64&e[Ge])}function Nt(e){for(var t=Array.isArray(e)?e:Ut(e);t&&!(64&t[Ge]);)t=t[qe];return t}function jt(e){return Nt(e)[et]}function Vt(e){return e[At]}function Ut(e){var t=Vt(e);return t?Array.isArray(t)?t:t.lViewData:null}function $t(e){return e!==Ue}function Ht(e){return 32767&e}function Wt(e){return e>>16}function Kt(e,t){for(var n=Wt(e),o=t;n>0;)o=o[st],n--;return o}var Gt,qt,zt,Yt,Zt,Jt,Xt,Qt,en,tn,nn=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(te);function on(e,t){for(var n=0;n<e.length;n++)t.push(e[n])}function rn(){return Gt}function an(){return qt}function sn(){return tn&&tn[ot]}function ln(){Yt=!0}function cn(){Yt=!1}function un(){return tn}function dn(){return tn}function hn(e){wn=e}function pn(){return Zt}function fn(e){Zt=e}function mn(e,t){Zt=e,tn=t}function gn(){return Jt}function vn(e){Jt=e}function _n(){return Xt}function yn(){return Qt}function bn(e){Qt=e}function Cn(){return en}function En(){return tn}var wn=null;function kn(e){return e[Qe]||(e[Qe]=[])}function An(e){return e[Ke].cleanup||(e[Ke].cleanup=[])}var Sn=!1;function On(){return Sn}function xn(e){Sn=e}var Dn=!0;function Tn(){return Dn}function Rn(e){Dn=e}var Pn=-1;function Mn(){return Pn}function In(e){Pn=e}function Fn(e,t){var n=tn;return Xt=e&&e[Ke],en=e&&1==(1&e[Ge]),Dn=e&&Xt.firstTemplatePass,Pn=e&&Xt.bindingStartIndex,Gt=e&&e[nt],Zt=t,Jt=!0,tn=wn=e,n&&(n[Ye]=Qt),Qt=e&&e[Ye],n}function Ln(e){return void 0===e&&(e=1),(wn=function(e,t){for(;e>0;)t=t[st],e--;return t}(e,wn))[et]}function Bn(e,t){t||(Sn||ft(tn,Xt.viewHooks,Xt.viewCheckHooks,en),tn[Ge]&=-6),tn[Ge]|=16,tn[Xe]=Xt.bindingStartIndex,Fn(e,null)}var Nn=!1;function jn(e){var t=Nn;return Nn=e,t}var Vn=255,Un=0;function $n(e,t){var n=Wn(e,t);if(-1!==n)return n;var o=t[Ke];o.firstTemplatePass&&(e.injectorIndex=t.length,Hn(o.data,e),Hn(t,null),Hn(o.blueprint,null));var r=Kn(e,t),i=Ht(r),a=Kt(r,t),s=e.injectorIndex;if($t(r))for(var l=a[Ke].data,c=0;c<8;c++)t[s+c]=a[i+c]|l[i+c];return t[s+je]=r,s}function Hn(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Wn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null==t[e.injectorIndex+je]?-1:e.injectorIndex}function Kn(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var n=t[Je],o=1;n&&-1===n.injectorIndex;)n=(t=t[st])[Je],o++;return n?n.injectorIndex|o<<16|(n&&3===n.type?32768:0):-1}function Gn(e,t,n){!function(e,t,o){var r=n[A];null==r&&(r=n[A]=Un++);var i=r&Vn,a=1<<i,s=64&i,l=32&i,c=t.data;128&i?s?l?c[e+7]|=a:c[e+6]|=a:l?c[e+5]|=a:c[e+4]|=a:s?l?c[e+3]|=a:c[e+2]|=a:l?c[e+1]|=a:c[e]|=a}(e,t[Ke])}function qn(e,t){var n=e.attrs;if(n)for(var o=0;o<n.length;o+=2){var r=n[o];if(1===r)break;if(r==t)return n[o+1]}}function zn(e,t,n,o,r){void 0===o&&(o=Te.Default);var i=function(e){var t=e[A];return"number"==typeof t?t&Vn:t}(n);if("function"==typeof i){var a=pn(),s=En();mn(e,t);try{var l=i();if(null!=l||o&Te.Optional)return l;throw new Error("No provider for "+St(n))}finally{mn(a,s)}}else if("number"==typeof i){var c=null,u=Wn(e,t),d=Ue;for((-1===u||o&Te.SkipSelf)&&(Qn(o,d=-1===u?Kn(e,t):t[u+je])?(c=t[Ke],u=Ht(d),t=Kt(d,t)):u=-1);-1!==u;){d=t[u+je];var h=t[Ke];if(Xn(i,u,h.data)){var p=Zn(u,t,n,c);if(p!==Yn)return p}Qn(o,d)&&Xn(i,u,t)?(c=h,u=Ht(d),t=Kt(d,t)):u=-1}}if(o&Te.Optional&&void 0===r&&(r=null),0==(o&(Te.Self|Te.Host))){var f=t[tt];return f?f.get(n,r,o&Te.Optional):Le(n,r,o&Te.Optional)}if(o&Te.Optional)return r;throw new Error("NodeInjector: NOT_FOUND ["+St(n)+"]")}var Yn={};function Zn(e,t,n,o){var r=t[Ke],i=r.data[e+Ne],a=i.flags,s=i.providerIndexes,l=r.data,c=!1;(null==o&&It(i)&&Nn||null!=o&&o!=r&&(null==r.node||3===r.node.type))&&(c=!0);for(var u=65535&s,d=a>>16,h=4095&a,p=c?u:u+(s>>16);p<d+h;p++){var f=l[p];if(p<d&&n===f||p>=d&&f.type===n)return Jn(l,t,p,i)}return Yn}function Jn(e,t,n,o){var r,i=t[n];if(null!=(r=i)&&"object"==typeof r&&Object.getPrototypeOf(r)==He){var a=i;if(a.resolving)throw new Error("Circular dep for "+St(e[n]));var s=jn(a.canSeeViewProviders);a.resolving=!0;var l=void 0;a.injectImpl&&(l=Me(a.injectImpl));var c=pn(),u=En();mn(o,t);try{i=t[n]=a.factory(null,e,t,o)}finally{a.injectImpl&&Me(l),jn(s),a.resolving=!1,mn(c,u)}}return i}function Xn(e,t,n){var o=64&e,r=32&e;return!!((128&e?o?r?n[t+7]:n[t+6]:r?n[t+5]:n[t+4]:o?r?n[t+3]:n[t+2]:r?n[t+1]:n[t])&1<<e)}function Qn(e,t){return!(e&Te.Self||e&Te.Host&&32768&t)}var eo=function(){function e(e,t){this._tNode=e,this._hostView=t,this._injectorIndex=$n(e,t)}return e.prototype.get=function(e){return mn(this._tNode,this._hostView),zn(this._tNode,this._hostView,e)},e}();function to(e){var t=e,n=ye(t)||be(t)||Ce(t)||x(t)||D(t);return n&&void 0!==n.factory?n.factory:null}function no(e){var t=to(Object.getPrototypeOf(e.prototype).constructor);return null!==t?t:function(e){return new e}}function oo(e){var t,n=Vt(e);if(n){if(Array.isArray(n)){var o=n,r=void 0,i=void 0,a=void 0;if((t=e)&&t.constructor&&t.constructor.ngComponentDef){if(-1==(r=co(o,e)))throw new Error("The provided component was not found in the application");i=e}else if(e&&e.constructor&&e.constructor.ngDirectiveDef){if(-1==(r=function(e,t){for(var n=e[Ke].firstChild;n;){for(var o=ho(n),r=po(n,o),i=o;i<r;i++)if(e[i]===t)return n.index;n=lo(n)}return-1}(o,e)))throw new Error("The provided directive was not found in the application");a=uo(r,o,!1)}else if(-1==(r=so(o,e)))return null;var s=Vt(f=xt(o[r])),l=s&&!Array.isArray(s)?s:ro(o,r,f);if(i&&void 0===l.component&&(l.component=i,ao(l.component,l)),a&&void 0===l.directives){l.directives=a;for(var c=0;c<a.length;c++)ao(a[c],l)}ao(l.native,l),n=l}}else for(var u=e,d=u;d=d.parentNode;){var h=Vt(d);if(h){if(o=void 0,!(o=Array.isArray(h)?h:h.lViewData))return null;var p=so(o,u);if(p>=0){var f;ao(f=xt(o[p]),l=ro(o,p,f)),n=l;break}}}return n||null}function ro(e,t,n){return{lViewData:e,nodeIndex:t,native:n,component:void 0,directives:void 0,localRefs:void 0}}function io(e){var t,n=Vt(e);if(Array.isArray(n)){var o=co(n,e);(r=ro(n,o,(t=Pt(o,n))[Ze])).component=e,ao(e,r),ao(r.native,r)}else{var r;t=Pt((r=n).nodeIndex,r.lViewData)}return t}function ao(e,t){e[At]=t}function so(e,t){for(var n=e[Ke].firstChild;n;){if(Tt(n,e)===t)return n.index;n=lo(n)}return-1}function lo(e){return e.child?e.child:e.next?e.next:e.parent&&e.parent.next||null}function co(e,t){var n=e[Ke].components;if(n)for(var o=0;o<n.length;o++){var r=n[o];if(Pt(r,e)[et]===t)return r}else if(Pt(We,e)[et]===t)return We;return-1}function uo(e,t,n){var o=t[Ke].data[e],r=ho(o);if(0==r)return ce;var i=po(o,r);return!n&&4096&o.flags&&r++,t.slice(r,i)}function ho(e){return e.flags>>16}function po(e,t){var n=4095&e.flags;return n?t+n:-1}function fo(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}var mo=g({__forward_ref__:g});function go(e){return e.__forward_ref__=go,e.toString=function(){return se(this())},e}function vo(e){var t=e;return"function"==typeof t&&t.hasOwnProperty(mo)&&t.__forward_ref__===go?t():e}var _o="__source",yo=new Object,bo=yo,Co=new T("INJECTOR"),Eo=function(){function e(){}return e.prototype.get=function(e,t){if(void 0===t&&(t=yo),t===yo)throw new Error("NullInjectorError: No provider for "+se(e)+"!");return t},e}(),wo=function(){function e(){}return e.create=function(e,t){return Array.isArray(e)?new Io(e,t):new Io(e.providers,e.parent,e.name||null)},e.THROW_IF_NOT_FOUND=yo,e.NULL=new Eo,e.ngInjectableDef=S({providedIn:"any",factory:function(){return Fe(Co)}}),e.__NG_ELEMENT_ID__=function(){return Ao()},e}(),ko=function(){return e=pn(),new eo(e,En());var e},Ao=fo,So=function(e){return e},Oo=[],xo=So,Do=function(){return Array.prototype.slice.call(arguments)},To=g({provide:String,useValue:g}),Ro=wo.NULL,Po=/\n/gm,Mo="\u0275",Io=function(){function e(e,t,n){void 0===t&&(t=Ro),void 0===n&&(n=null),this.parent=t,this.source=n;var o=this._records=new Map;o.set(wo,{token:wo,fn:So,deps:Oo,value:this,useNew:!1}),o.set(Co,{token:Co,fn:So,deps:Oo,value:this,useNew:!1}),function e(t,n){if(n)if((n=vo(n))instanceof Array)for(var o=0;o<n.length;o++)e(t,n[o]);else{if("function"==typeof n)throw Bo("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw Bo("Unexpected provider",n);var r=vo(n.provide),i=function(e){var t=function(e){var t=Oo,n=e.deps;if(n&&n.length){t=[];for(var o=0;o<n.length;o++){var r=6;if((l=vo(n[o]))instanceof Array)for(var i=0,a=l;i<a.length;i++){var s=a[i];s instanceof Se||s==Se?r|=1:s instanceof xe||s==xe?r&=-3:s instanceof Oe||s==Oe?r&=-5:l=s instanceof Ae?s.token:vo(s)}t.push({token:l,options:r})}}else if(e.useExisting){var l;t=[{token:l=vo(e.useExisting),options:6}]}else if(!(n||To in e))throw Bo("'deps' required",e);return t}(e),n=So,o=Oo,r=!1,i=vo(e.provide);if(To in e)o=e.useValue;else if(e.useFactory)n=e.useFactory;else if(e.useExisting);else if(e.useClass)r=!0,n=vo(e.useClass);else{if("function"!=typeof i)throw Bo("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",e);r=!0,n=i}return{deps:t,fn:n,useNew:r,value:o}}(n);if(!0===n.multi){var a=t.get(r);if(a){if(a.fn!==Do)throw Fo(r)}else t.set(r,a={token:n.provide,deps:[],useNew:!1,fn:Do,value:Oo});a.deps.push({token:r=n,options:6})}var s=t.get(r);if(s&&s.fn==Do)throw Fo(r);t.set(r,i)}}(o,e)}return e.prototype.get=function(e,t,n){void 0===n&&(n=Te.Default);var r=this._records.get(e);try{return function e(t,n,r,i,a,s){try{return function(t,n,r,i,a,s){var l,c;if(!n||s&Te.SkipSelf)s&Te.Self||(c=i.get(t,a,Te.Default));else{if((c=n.value)==xo)throw Error(Mo+"Circular dependency");if(c===Oo){n.value=xo;var u=n.useNew,d=n.fn,h=n.deps,p=Oo;if(h.length){p=[];for(var f=0;f<h.length;f++){var m=h[f],g=m.options,v=2&g?r.get(m.token):void 0;p.push(e(m.token,v,r,v||4&g?i:Ro,1&g?null:wo.THROW_IF_NOT_FOUND,Te.Default))}}n.value=c=u?new((l=d).bind.apply(l,Object(o.g)([void 0],p))):d.apply(void 0,p)}}return c}(t,n,r,i,a,s)}catch(l){throw l instanceof Error||(l=new Error(l)),(l.ngTempTokenPath=l.ngTempTokenPath||[]).unshift(t),n&&n.value==xo&&(n.value=Oo),l}}(e,r,this._records,this.parent,t,n)}catch(a){var i=a.ngTempTokenPath;throw e[_o]&&i.unshift(e[_o]),a.message=Lo("\n"+a.message,i,this.source),a.ngTokenPath=i,a.ngTempTokenPath=null,a}},e.prototype.toString=function(){var e=[];return this._records.forEach(function(t,n){return e.push(se(n))}),"StaticInjector["+e.join(", ")+"]"},e}();function Fo(e){return Bo("Cannot mix multi providers and regular providers",e)}function Lo(e,t,n){void 0===n&&(n=null),e=e&&"\n"===e.charAt(0)&&e.charAt(1)==Mo?e.substr(2):e;var o=se(t);if(t instanceof Array)o=t.map(se).join(" -> ");else if("object"==typeof t){var r=[];for(var i in t)if(t.hasOwnProperty(i)){var a=t[i];r.push(i+":"+("string"==typeof a?JSON.stringify(a):se(a)))}o="{"+r.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+o+"]: "+e.replace(Po,"\n ")}function Bo(e,t){return new Error(Lo(e,t))}var No=function(){return function(){}}(),jo=function(){return function(){}}();function Vo(e){throw new Error("Multiple components match node with tagname "+e.tagName)}var Uo="ngProjectAs",$o=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({});function Ho(e){return!!e.listen}var Wo={createRenderer:function(e,t){return document}};function Ko(e,t){return null==e.parent?function(e){var t=e[Je];return t&&2!==t.type?Tt(t,e[qe]):null}(t):Tt(Go(e),t)}function Go(e){for(var t=e.parent;t&&5===t.type;)t=t.parent;return t}function qo(e,t){if(-1===e.index){var n=t[it];return n>-1?t[qe][n]:null}return t[qe][e.parent.index]}function zo(e,t){var n=qo(e,t);return n?n[kt]:null}var Yo=[];function Zo(e,t,n,o,r){for(var i=e[Ke].node,a=-1,s=e,l=i.child;l;){var c=null;if(3===l.type){Xo(t,n,o,Tt(l,s),r);var u=s[l.index];Lt(u)&&Xo(t,n,o,u[wt],r)}else if(0===l.type){var d=s[l.index];Xo(t,n,o,d[wt],r),o&&(d[kt]=o),d[Et].length&&(c=(s=d[Et][0])[Ke].node,r=d[wt])}else if(1===l.type){var h=Jo(s),p=h[Je].projection[l.projection];Yo[++a]=l,Yo[++a]=s,p&&(c=(s=h[qe])[Ke].data[p.index])}else c=l.child;if(null===c)for(null===l.next&&8192&l.flags&&(s=Yo[a--],l=Yo[a--]),c=l.next;!c;){if(null===(l=l.parent||s[Ke].node)||l===i)return null;0===l.type&&(r=(s=s[qe])[l.index][wt]),c=2===l.type&&s[ze]?(s=s[ze])[Ke].node:l.next}l=c}}function Jo(e){for(var t=e[Je];t&&2===t.type;)t=(e=e[qe])[Je];return e}function Xo(e,t,n,o,r){0===e?Ho(t)?t.insertBefore(n,o,r):n.insertBefore(o,r,!0):1===e?Ho(t)?t.removeChild(n,o):n.removeChild(o):2===e&&t.destroyNode(o)}function Qo(e,t){return Ho(t)?t.createText(St(e)):t.createTextNode(St(e))}function er(e,t,n){var o=zo(e[Ke].node,e);o&&Zo(e,t?0:1,e[nt],o,n)}function tr(e,t,n,o,r){var i=t[Et];o>0&&(i[o-1][ze]=e),o<i.length?(e[ze]=i[o],i.splice(o,0,e)):(i.push(e),e[ze]=null),r>-1&&(e[it]=r,e[qe]=n),e[Ye]&&e[Ye].insertView(o),e[Ge]|=8}function nr(e,t,n){var o=e[Et],r=o[t];t>0&&(o[t-1][ze]=r[ze]),o.splice(t,1),n||er(r,!1),r[Ye]&&r[Ye].removeView(),r[it]=-1,r[qe]=null,r[Ge]&=-9}function or(e,t,n){var o=e[Et][n];nr(e,n,!!t.detached),ir(o)}function rr(e){var t=e[Ke].childIndex;return-1===t?null:e[t]}function ir(e){var t=e[nt];Ho(t)&&t.destroyNode&&Zo(e,2,t,null),function(e){if(-1===e[Ke].childIndex)return sr(e);for(var t=rr(e);t;){var n=null;if(t.length>=We?t[Ke].childIndex>-1&&(n=rr(t)):t[Et].length&&(n=t[Et][0]),null==n){for(;t&&!t[ze]&&t!==e;)sr(t),t=ar(t,e);sr(t||e),n=t&&t[ze]}t=n}}(e),e[Ge]|=32}function ar(e,t){var n;return e.length>=We&&(n=e[Je])&&2===n.type?qo(n,e):e[qe]===t?null:e[qe]}function sr(e){if(e.length>=We){var t=e;!function(e){var t=e[Ke].cleanup;if(null!=t){for(var n=0;n<t.length-1;n+=2)"string"==typeof t[n]?(xt(e[t[n+1]]).removeEventListener(t[n],e[Qe][t[n+2]],t[n+3]),n+=2):"number"==typeof t[n]?(0,e[Qe][t[n]])():t[n].call(e[Qe][t[n+1]]);e[Qe]=null}}(t),function(e){var t,n=e[Ke];null!=n&&null!=(t=n.destroyHooks)&&mt(e,t)}(t),(o=(n=t)[Ke]&&n[Ke].pipeDestroyHooks)&&mt(n,o),-1===t[Ke].id&&Ho(t[nt])&&t[nt].destroy()}var n,o}function lr(e,t){if(cr(e,t)){if(Bt(t))return dr(t[nt],Tt(e,t));var n=t[Je],o=e.parent;return null!=o&&4===o.type&&(e=pr(o)),null==e.parent&&2===n.type?zo(n,t):Ko(e,t)}return null}function cr(e,t){var n,o=e,r=e.parent;return e.parent&&(4===e.parent.type?r=(o=pr(e)).parent:5===e.parent.type&&(r=(o=Go(o)).parent)),null===r&&(r=t[Je]),r&&2===r.type?null!=(n=qo(r,t))&&null!=n[kt]:null==o.parent||!(3!==o.parent.type||4096&o.parent.flags)}function ur(e,t,n,o){Ho(e)?e.insertBefore(t,n,o):t.insertBefore(n,o,!0)}function dr(e,t){return Ho(e)?e.parentNode(t):t.parentNode}function hr(e,t,n){if(void 0===e&&(e=null),null!==e&&cr(t,n)){var o=n[nt],r=Ko(t,n),i=t.parent||n[Je];if(2===i.type){var a=qo(i,n),s=a[Et],l=s.indexOf(n);ur(o,a[kt],e,fr(l,s,a[wt]))}else 4===i.type?ur(o,lr(t,n),e,r):5===i.type?ur(o,r,e,Tt(t.parent,n)):Ho(o)?o.appendChild(r,e):r.appendChild(e);return!0}return!1}function pr(e){for(;null!=e.parent&&4===e.parent.type;)e=e.parent;return e}function fr(e,t,n){if(e+1<t.length){var o=t[e+1],r=o[Je];return r.child?Tt(r.child,o):n}return n}function mr(e,t,n){if(null!==t&&cr(e,n)){var o=Ko(e,n),r=n[nt];return Ho(r)?r.removeChild(o,t):o.removeChild(t),!0}return!1}function gr(e,t,n,o){var r=Tt(e,o);hr(r,t,n),ao(r,o);var i=lr(t,n),a=o[e.index];if(0===e.type){a[kt]=i;for(var s=a[Et],l=0;l<s.length;l++)er(s[l],!0,a[wt])}else{if(4===e.type)for(var c=e.child;c;)gr(c,t,n,o),c=c.next;Lt(a)&&(a[kt]=i,hr(a[wt],t,n))}}function vr(e,t){for(var n,o,r,i,a,s=4,l=e.attrs,c=l?l.indexOf(1):-1,u=!1,d=0;d<t.length;d++){var h=t[d];if("number"!=typeof h){if(!u)if(4&s){if(s=2|1&s,""!==h&&h!==e.tagName){if(_r(s))return!1;u=!0}}else{var p=yr(8&s?"class":h,l);if(-1===p){if(_r(s))return!1;u=!0;continue}var f,m=8&s?h:t[++d];if(""!==m)if(f=c>-1&&p>c?"":l[p+1],8&s&&(r=(n=f).length,a=(i=n.indexOf(o=m))+o.length,-1===i||i>0&&" "!==n[i-1]||a<r&&" "!==n[a])||2&s&&m!==f){if(_r(s))return!1;u=!0}}}else{if(!u&&!_r(s)&&!_r(h))return!1;if(u&&_r(h))continue;u=!1,s=h|1&s}}return _r(s)||u}function _r(e){return 0==(1&e)}function yr(e,t){if(null===t)return-1;for(var n=!1,o=0;o<t.length;){var r=t[o];if(r===e)return o;0===r?o+=4:(1===r&&(n=!0),o+=n?1:2)}return-1}function br(e,t){for(var n=0;n<t.length;n++)if(vr(e,t[n]))return!0;return!1}function Cr(e,t,n){for(var o=function(e){var t=e.attrs;if(null!=t){var n=t.indexOf(Uo);if(0==(1&n))return t[n+1]}return null}(e),r=0;r<t.length;r++)if(o===n[r]||null===o&&br(e,t[r]))return r+1;return 0}var Er={};function wr(e,t){return new kr(e,t)}var kr=function(){return function(e,t){this.fn=e,this.value=t}}(),Ar=function(){function e(){this._players=[]}return e.prototype.flushPlayers=function(){for(var e=0;e<this._players.length;e++){var t=this._players[e];t.parent||0!==t.state||t.play()}this._players.length=0},e.prototype.queuePlayer=function(e){this._players.push(e)},e}();function Sr(e,t,n){return[null,t||null,n||[null],0,0,e||null,null,null]}function Or(e,t){for(var n=e+We,o=t[n],r=t;Array.isArray(o);)r=o,o=o[Ze];if("number"!=typeof(s=r)[Ge]&&"number"!=typeof s[Ct])return r;var i,a,s,l=Rt(e,t).stylingTemplate;return r!==t&&(n=Ze),r[n]=l?(i=o,(a=l.slice())[5]=i,a):Sr(o)}function xr(e,t,n,o,r,i){return i=i||n,r?e[r]=o:e.push(o),!!o&&(o.addEventListener(200,function(){var t=e.indexOf(o);t&&(t<e[0]?e[t]=null:e.splice(t,1)),o.destroy()}),(t.playerHandler||(t.playerHandler=new Ar)).queuePlayer(o,i),!0)}function Dr(e){return e[0]}function Tr(e){return e[0]=[5,null,null,null,null]}var Rr=[],Pr={};function Mr(e,t,n){var o=8+4*t,r=ti(e,o),i=ei(e,o);if(di(i,r,n instanceof kr?n.value:n)){var a=2==(2&i),s=n instanceof kr?new hi(n,e[5],a?1:2):null,l=s?n.value:n,c=Jr(e,o),u=!1;if(zr(e,s,c)){var d=Yr(e,s,c);Zr(e,o,s?d:0),u=!0}qr(e,o,l);var h=Hr(i),p=ti(e,h);if(!p||di(i,p,l)){var f=!1,m=!0;!ci(l,a)&&ci(p,a)&&(f=!0,m=!1),Lr(e,h,f),Lr(e,o,m),ri(e,!0)}u&&ii(e,!0)}}function Ir(e,t,n,o,r,i,a){n=r&&n?r(t,n):n,i||a?(i&&i.setValue(t,n),a&&a.setValue(t,n)):n?Ho(o)?o.setStyle(e,t,n,$o.DashCase):e.style.setProperty(t,n):Ho(o)?o.removeStyle(e,t,$o.DashCase):e.style.removeProperty(t)}function Fr(e,t,n,o,r,i){r||i?(r&&r.setValue(t,n),i&&i.setValue(t,n)):n?Ho(o)?o.addClass(e,t):e.classList.add(t):Ho(o)?o.removeClass(e,t):e.classList.remove(t)}function Lr(e,t,n){var o=t>=8?t+0:t;n?e[o]|=1:e[o]&=-2}function Br(e,t){return 1==(1&e[t>=8?t+0:t])}function Nr(e,t){return 2==(2&e[t>=8?t+0:t])}function jr(e,t){return 4==(4&e[t>=8?t+0:t])}function Vr(e,t,n){return 31&e|t<<5|n<<19}function Ur(e,t){var n=$r(t);return e[2][n]}function $r(e){return e>>5&16383}function Hr(e){var t=e>>19&16383;return t>=8?t:-1}function Wr(e){return Hr(e[3])}function Kr(e){return e[1]}function Gr(e,t,n){e[t+1]=n}function qr(e,t,n){e[t+2]=n}function zr(e,t,n){var o=e[0];if(t){if(!o||0===n)return!0}else if(!o)return!1;return o[n]!==t}function Yr(e,t,n){var o=e[0]||Tr(e);return n>0?o[n]=t:(o.splice(n=o[0],0,t,null),o[0]+=2),n}function Zr(e,t,n){e[t+3]=n}function Jr(e,t){return e[t+3]||0}function Xr(e,t){var n=Jr(e,t);if(n){var o=e[0];if(o)return o[n]}return null}function Qr(e,t,n){e[3===t?t:t+0]=n}function ei(e,t){return e[3===t?t:t+0]}function ti(e,t){return e[t+2]}function ni(e,t){return e[t+1]}function oi(e){return 16&e[3]}function ri(e,t){Lr(e,3,t)}function ii(e,t){t?e[3]|=8:e[3]&=-9}function ai(e,t,n){for(var o=(n||0)+1;o<e.length;o+=4)if(e[o]==t)return o-1;return-1}function si(e,t,n){var o=ti(e,t),r=ni(e,t),i=ei(e,t),a=Jr(e,t),s=i,l=ei(e,n),c=Hr(s);c>=0&&Qr(e,c,Vr(u=ei(e,c),$r(u),n));var u,d=Hr(l);d>=0&&Qr(e,d,Vr(u=ei(e,d),$r(u),t)),qr(e,t,ti(e,n)),Gr(e,t,ni(e,n)),Qr(e,t,ei(e,n)),Zr(e,t,Jr(e,n)),qr(e,n,o),Gr(e,n,r),Qr(e,n,i),Zr(e,n,a)}function li(e,t,n,o,r,i,a){var s=t<e.length;e.splice(t,0,1|r|(n?2:0),o,i,a),s&&function(e,n){for(var o=t+4;o<e.length;o+=4){var r=Hr(ei(e,o));if(r>0){var i=$r(ei(e,r));Qr(e,r,Vr((Br(e,r)?1:0)|(Nr(e,r)?2:0)|(jr(e,r)?4:0),i,o))}}}(e)}function ci(e,t){return t?!!e:null!==e}function ui(e,t,n){return t?2:n&&n(e)?4:0}function di(e,t,n){return!(2&e)&&t&&n&&4&e?t.toString()!==n.toString():t!==n}var hi=function(){function e(e,t,n){this._element=t,this._type=n,this._values={},this._dirty=!1,this._factory=e}return e.prototype.setValue=function(e,t){this._values[e]!==t&&(this._values[e]=t,this._dirty=!0)},e.prototype.buildPlayer=function(e,t){if(this._dirty){var n=this._factory.fn(this._element,this._type,this._values,t,e||null);return this._values={},this._dirty=!1,n}},e}(),pi=Promise.resolve(null);function fi(e,t){var n=_n(),o=Tn();if(n.firstTemplatePass=!1,Rn(!1),1!==t){var r=Cn(),i=On();i||pt(e,n,r),function(t){for(var n=rr(e);null!==n;n=n[ze])if(n.length<We&&-1===n[Ct])for(var o=n,r=0;r<o[Et].length;r++){var i=o[Et][r];yi(i,i[Ke],i[et],2)}}(),function(e){if(null!=e.contentQueries)for(var t=0;t<e.contentQueries.length;t+=2){var n=e.contentQueries[t];e.data[n].contentQueriesRefresh(n-We,e.contentQueries[t+1])}}(n),i||ft(e,n.contentHooks,n.contentCheckHooks,r),function(e,t){if(e.expandoInstructions){var n=t[Xe]=e.expandoStartIndex;In(n);for(var o=-1,r=-1,i=0;i<e.expandoInstructions.length;i++){var a=e.expandoInstructions[i];if("number"==typeof a){if(a<=0){r=-a;var s=e.expandoInstructions[++i];o=n+=Ve+s}else n+=a;In(n)}else t[Xe]=n,fn(_n().data[r+We]),a(o-We,r),o++}}}(n,e)}!function(e,t,n){if(null!=e)for(var o=0;o<e.length;o++)va(e[o],t,n)}(n.components,o,t)}function mi(e,t,n,o,r,i,a){var s=n.blueprint.slice();return s[Ge]=25|r,s[qe]=s[st]=e,s[et]=o,s[tt]=void 0===a?e?e[tt]:null:a,s[nt]=t,s[ot]=i||null,s}function gi(e,t,n,o,r){var i=En(),a=_n(),s=e+We;i[s]=n;var l=a.data[s];if(null==l){var c=pn(),u=gn();l=a.data[s]=Hi(i,t,s,o,r,null),c&&(!u||null!=c.child||null===l.parent&&2!==c.type?u||(c.next=l):c.child=l)}return null==a.firstChild&&3===t&&(a.firstChild=l),fn(l),vn(!0),l}function vi(e,t){null==t[Ke].node&&(t[Ke].node=Hi(t,2,e,null,null,null)),vn(!0);var n=t[Ke].node;return fn(n),t[Je]=n}function _i(e){var t=e[Ke];t.firstTemplatePass&&(t.expandoStartIndex++,t.blueprint.push(null),t.data.push(null),e.push(null))}function yi(e,t,n,o){var r,i=gn(),a=pn();if(vn(!0),fn(null),64&e[Ge])Aa(jt(e));else try{vn(!0),fn(null),r=Fn(e,e[Je]),Si(),t.template(o,n),2&o?fi(e,null):(e[Ke].firstTemplatePass=!1,Rn(!1))}finally{Bn(r,1==(1&o)),vn(i),fn(a)}}function bi(e){return void 0===e&&(e=1),Ln(e)}function Ci(e,t,n,o){var r=an(),i=Fn(e,e[Je]);try{r.begin&&r.begin(),o&&(Si(),o(n||Ei(e),t)),fi(e,n)}finally{r.end&&r.end(),Bn(i)}}function Ei(e){return 1&e[Ge]?3:2}var wi=null;function ki(){wi="http://www.w3.org/2000/svg/"}function Ai(){wi="http://www.w3.org/1998/MathML/"}function Si(){wi=null}function Oi(e,t,n,o){Ti(e,t,n,o),Vi()}function xi(e,t,n){var o=En(),r=_n(),i=rn().createComment("");hr(i,gi(e,4,i,null,t||null),o),Pi(r,o,n)}function Di(){var e=pn(),t=_n();gn()?vn(!1):fn(e=e.parent);var n=yn();n&&bn(n.addNode(e)),ct(e.flags,t)}function Ti(e,t,n,o){var r=En(),i=_n(),a=Ri(t),s=gi(e,3,a,t,n||null);n&&Fi(a,n),hr(a,s,r),Pi(i,r,o),0===zt&&ao(a,r),zt++}function Ri(e,t){var n=t||rn();return Ho(n)?n.createElement(e,wi):null===wi?n.createElement(e):n.createElementNS(wi,e)}function Pi(e,t,n,o){if(void 0===o&&(o=Tt),Yt){var r=pn();Tn()&&function(e,t,n,o,r){var i=r?{"":-1}:null,a=0;if(n){aa(o,e.data.length,n.length);for(var s=0;s<n.length;s++)(l=n[s]).providersResolver&&l.providersResolver(l);for(ea(e,o,n.length),s=0;s<n.length;s++){var l,c=e.data.length;sa(e,t,l=n[s],l.factory),a+=l.hostVars,ia(e.data.length-1,l,i),lt(c,l.onInit,l.doCheck,e)}}i&&function(e,t,n){if(t)for(var o=e.localNames=[],r=0;r<t.length;r+=2){var i=n[t[r+1]];if(null==i)throw new Error("Export of name '"+t[r+1]+"' not found!");o.push(t[r],i)}}(o,r,i),ta(e,t,a)}(e,t,function(e,t,n){var o=e.directiveRegistry,r=null;if(o)for(var i=0;i<o.length;i++){var a=o[i];br(n,a.selectors)&&(r||(r=[]),Gn($n(pn(),t),t,a.type),Ft(a)?(4096&n.flags&&Vo(n),n.flags=4096,r.unshift(a)):r.push(a))}return r}(e,t,r),r,n||null),function(e,t,n){var o=n.flags>>16,r=o+n.flags&4095;!Tn()&&o<r&&$n(n,t);for(var i=o;i<r;i++){var a=e.data[i];Ft(a)&&la(t,n,a),na(t,Jn(e.data,t,i,n),a,i)}}(e,t,r),function(e,t,n){var o=t.localNames;if(o)for(var r=t.index+1,i=0;i<o.length;i+=2){var a=o[i+1],s=-1===a?n(t,e):e[a];e[r++]=s}}(t,r,o)}}function Mi(e,t,n,o,r,i){return e.ngPrivateData||(e.ngPrivateData=Ii(-1,e,t,n,o,r,i))}function Ii(e,t,n,o,r,i,a){var s=We+n,l=s+o,c=function(e,t){var n=new Array(t).fill(null,0,e).fill(Er,e);return n[it]=-1,n[Xe]=e,n}(s,l);return c[Ke]={id:e,blueprint:c,template:t,viewQuery:a,node:null,data:c.slice(),childIndex:-1,bindingStartIndex:s,expandoStartIndex:l,expandoInstructions:null,firstTemplatePass:!0,initHooks:null,checkHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,pipeDestroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof r?r():r,pipeRegistry:"function"==typeof i?i():i,firstChild:null}}function Fi(e,t){for(var n=rn(),o=Ho(n),r=0;r<t.length;){var i=t[r];if(1===i)break;if(i===Uo)r+=2;else if(0===i){var a=t[r+1],s=t[r+2],l=t[r+3];o?n.setAttribute(e,s,l,a):e.setAttributeNS(a,s,l),r+=4}else l=t[r+1],o?n.setAttribute(e,i,l):e.setAttribute(i,l),r+=2}}function Li(e,t){!function(e){qt=e}(e);var n=e.createRenderer(null,null);return"string"==typeof t?Ho(n)?n.selectRootElement(t):n.querySelector(t):t}function Bi(e,t,n){void 0===n&&(n=!1);var o=En(),r=pn();if(3===r.type){var i=Tt(r,o),a=rn();if(Ho(a))ji(o,a.listen(i,e,t));else{var s=function(e){return function(t){!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}(t);i.addEventListener(e,s,n);var l=kn(o);l.push(s),Tn()&&An(o).push(e,r.index,l.length-1,n)}}void 0===r.outputs&&(r.outputs=Ki(r.flags,1));var c,u=r.outputs;u&&(c=u[e])&&function(e,t,n){for(var o=0;o<t.length;o+=2){var r=e[t[o]][t[o+1]].subscribe(n);Ni(e,r,r.unsubscribe)}}(o,c,t)}function Ni(e,t,n){e||(e=En()),kn(e).push(t),e[Ke].firstTemplatePass&&An(e).push(n,e[Qe].length-1)}function ji(e,t){kn(e).push(t),e[Ke].firstTemplatePass&&An(e).push(e[Qe].length-1,null)}function Vi(){var e=pn();gn()?vn(!1):fn(e=e.parent);var t=yn();t&&bn(t.addNode(e)),ct(e.flags,_n()),zt--}function Ui(e,t,n,o){if(n!==Er){var r=En(),i=rn(),a=Dt(e,r);if(null==n)Ho(i)?i.removeAttribute(a,t):a.removeAttribute(t);else{var s=null==o?St(n):o(n);Ho(i)?i.setAttribute(a,t,s):a.setAttribute(t,s)}}}function $i(e,t,n,o){if(n!==Er){var r,i=En(),a=Dt(e,i),s=Rt(e,i),l=es(s);if(l&&(r=l[t]))Wi(i,r,n),It(s)&&function(t,n){var o=Pt(e+We,t);2&o[Ge]||(o[Ge]|=4)}(i);else if(3===s.type){var c=rn();n=null!=o?o(n):n,Ho(c)?c.setProperty(a,t,n):a.setProperty?a.setProperty(t,n):a[t]=n}}}function Hi(e,t,n,o,r,i){var a=pn(),s=gn()?a:a&&a.parent,l=s&&e&&s!==e[Je]?s:null;return{type:t,index:n,injectorIndex:l?l.injectorIndex:-1,flags:0,providerIndexes:0,tagName:o,attrs:r,localNames:null,initialInputs:void 0,inputs:void 0,outputs:void 0,tViews:i,next:null,child:null,parent:l,detached:null,stylingTemplate:null,projection:null}}function Wi(e,t,n){for(var o=0;o<t.length;o+=2)e[t[o]][t[o+1]]=n}function Ki(e,t){var n=_n(),o=4095&e,r=null;if(o>0)for(var i=e>>16,a=i+o,s=0===t,l=n.data,c=i;c<a;c++){var u=l[c],d=s?u.inputs:u.outputs;for(var h in d)if(d.hasOwnProperty(h)){var p=d[h];(r=r||{}).hasOwnProperty(h)?r[h].push(c,p):r[h]=[c,p]}}return r}function Gi(e,t,n,o){if(null!=o)return function(e,t,n,o){var r=Dt(e,En()),i=r.hostStylingHack[o].classDeclarations[t],a=rn();if(Ho(a))n?a.addClass(r,i):a.removeClass(r,i);else{var s=r.classList;n?s.add(i):s.remove(i)}}(e,t,n,o);var r,i=n instanceof kr?n:!!n;Mr(r=Or(e,En()),t+r[4],i)}function qi(e,t,n,o){if(void 0===o){var r=pn(),i=es(r);if(!r.stylingTemplate){var a=!(!i||!i.hasOwnProperty("class"));a&&(r.flags|=32768),r.stylingTemplate=function(e,t,n,o){var r=[null],i=Sr(null,n,r),a={},s={},l=0;if(t)for(var c=!1,u=0;u<t.length;u++)if(1===(f=t[u]))c=!0;else{var d=f;if(c){var h=t[++u];r.push(h),a[d]=r.length-1}else l++,a[d]=0}i[4]=l;var p=o?[]:null;if(e)for(c=!1,u=0;u<e.length;u++){var f;if(1===(f=e[u]))c=!0;else{var m=f;c?(h=e[++u],r.push(h),s[m]=r.length-1,p&&p.push(m)):s[m]=0}}var g=Object.keys(a),v=Object.keys(s),_=g.length,y=g.length+v.length,b=4*y*2+8;for(u=8;u<b;u++)i.push(null);var C=4*y+8;for(u=0;u<y;u++){var E=u>=_,w=(d=E?v[u-_]:g[u],E?s[d]:a[d]),k=r[w],A=4*u+C,S=4*u+8,O=ui(d,E,n||null);Qr(i,S,Vr(O,w,A)),Gr(i,S,d),qr(i,S,null),Zr(i,S,0),Qr(i,A,Vr(O|(null!==k?1:0),w,S)),Gr(i,A,d),qr(i,A,null),Zr(i,A,0)}return Qr(i,3,Vr(0,0,C)|(o?16:0)),ri(i,r.length>1),p&&(i[6]=p.join(" ")),i}(e,t,n,a)}if(t&&t.length||e&&e.length){var s=r.index-We;if(ts(r)){var l=Or(s,En())[6];Wi(En(),r.inputs.class,l)}zi(s)}}else Cn()&&function(e,t,n,o){var r=Tt(pn(),En());(r.hostStylingHack||(r.hostStylingHack={}))[o]={classDeclarations:Ji(e),styleDeclarations:Ji(t),styleSanitizer:n}}(e||null,t||null,n||null,o)}function zi(e,t){if(null==t){var n=En(),o=0!=(1&n[Ge]);(function(e,t,n,o,r,i){var a=0;if(function(e){return Br(e,3)}(e)){for(var s=8&e[3],l=e[5],c=Wr(e),u=Kr(e),d=oi(e),h=8;h<e.length;h+=4)if(Br(e,h)){var p=ni(e,h),f=ti(e,h),m=ei(e,h),g=Xr(e,h),v=!!(2&m),_=!v||!d,y=f;h<c&&!ci(y,v)&&(y=ti(e,Hr(m))),!ci(y,v)&&_&&(y=Ur(e,m)),(!o||y)&&(v?Fr(l,p,!!y,t,void 0,g):Ir(l,p,y,t,4&m?u:null,void 0,g)),Lr(e,h,!1)}if(s){var b=Array.isArray(n)?jt(n):n,C=Dr(e),E=C[0];for(h=1;h<E;h+=2){var w=C[h],k=h+1,A=C[k];if(w){var S=w.buildPlayer(A,o);void 0!==S&&(null!=S&&xr(C,b,l,S,k)&&a++,A&&A.destroy())}else A&&A.destroy()}ii(e,!1)}ri(e,!1)}return a})(Or(e,n),rn(),n,o)>0&&ka(jt(n),2)}}function Yi(e,t,n,o,r){if(null!=r)return function(e,t,n,o,r){throw new Error("unimplemented. Should not be needed by ViewEngine compatibility")}();var i=null;n&&(i=o?St(n)+o:n),Mr(Or(e,En()),t,i)}function Zi(e,t,n,o){if(null!=o)return function(e,t,n,o){throw new Error("unimplemented. Should not be needed by ViewEngine compatibility")}();var r=En(),i=Rt(e,r),a=Or(e,r);if(ts(i)&&t!==Er){var s=a[6],l=(s.length?s+" ":"")+t;Wi(En(),i.inputs.class,l)}!function(e,t,n){n=n||null;var o=e[5],r=t instanceof kr?new hi(t,o,1):null,i=n instanceof kr?new hi(n,o,2):null,a=r?t.value:t,s=i?n.value:n,l=oi(e)||a===Er||a===e[6],c=s===Er||s===e[7];if(!l||!c){e[6]=a,e[7]=s;var u=Rr,d=!1,h=!1,p=r?1:0;zr(e,r,1)&&(Yr(e,r,1),h=!0);var f=i?3:0;zr(e,i,3)&&(Yr(e,i,3),h=!0),l||("string"==typeof a?(u=a.split(/\s+/),d=!0):u=a?Object.keys(a):Rr);for(var m=a||Pr,g=s?Object.keys(s):Rr,v=s||Pr,_=g.length,y=!1,b=Wr(e),C=0,E=g.length+u.length;b<e.length&&C<E;){var w=C>=_;if(!w&&!c||w&&!l){var k=w?C-_:C,A=w?u[k]:g[k],S=w?!!d||m[A]:v[A],O=w?p:f;if((B=ni(e,b))===A){var x=ti(e,b),D=ei(e,b);Zr(e,b,O),di(D,x,S)&&(qr(e,b,S),h=h||!!O,di(D,M=Ur(e,D),S)&&(Lr(e,b,!0),y=!0))}else{var T=ai(e,A,b);if(T>0){var R=ti(e,T),P=ei(e,T);if(si(e,b,T),di(P,R,S)){var M=Ur(e,P);qr(e,b,S),di(P,M,S)&&(Lr(e,b,!0),h=h||!!O,y=!0)}}else h=h||!!O,li(e,b,w,A,ui(A,w,Kr(e)),S,O),y=!0}}b+=4,C++}for(;b<e.length;){var I=2==(2&(D=ei(e,b)));(!I&&!c||I&&!l)&&ci(x=ti(e,b),I)&&(Lr(e,b,!0),qr(e,b,null),Zr(e,b,O=I?p:f),y=!0),b+=4}for(var F=Kr(e);C<E;){var L=C>=_;if(!L&&!c||L&&!l){k=L?C-_:C;var B=L?u[k]:g[k];x=L?!!d||m[B]:v[B],D=1|ui(B,L,F),e.push(D,B,x,O=L?p:f),y=!0}C++}y&&ri(e,!0),h&&ii(e,!0)}}(a,t,n)}function Ji(e){return e||[]}function Xi(e,t){var n=En(),o=Qo(t,rn()),r=gi(e,3,o,null,null);vn(!1),hr(o,r,n)}function Qi(e,t){if(t!==Er){var n=Dt(e,En()),o=rn();Ho(o)?o.setValue(n,St(t)):n.textContent=St(t)}}function ea(e,t,n){var o=-(t.index-We),r=e.data.length-(65535&t.providerIndexes);(e.expandoInstructions||(e.expandoInstructions=[])).push(o,r,n)}function ta(e,t,n){for(var o=0;o<n;o++)t.push(Er),e.blueprint.push(Er),e.data.push(null)}function na(e,t,n,o){var r=pn();oa(e,r,t,n),r&&r.attrs&&function(e,t,o,i){var a=r.initialInputs;(void 0===a||e>=a.length)&&(a=function(e,t,n){var o=n.initialInputs||(n.initialInputs=[]);o[e]=null;for(var r=n.attrs,i=0;i<r.length;){var a=r[i];if(1===a)break;if(0!==a){var s=t[a],l=r[i+1];void 0!==s&&(o[e]||(o[e]=[])).push(s,l),i+=2}else i+=4}return o}(e,n.inputs,r));var s=a[e];if(s)for(var l=0;l<s.length;l+=2)t[s[l]]=s[l+1]}(o,t),n.contentQueries&&n.contentQueries(o),Ft(n)&&(Pt(r.index,e)[et]=t)}function oa(e,t,n,o){var r=Tt(t,e);ao(n,e),r&&ao(r,e),null!=o.attributes&&3==t.type&&Fi(r,o.attributes)}function ra(e){var t=_n();(t.components||(t.components=[])).push(e.index)}function ia(e,t,n){n&&(t.exportAs&&(n[t.exportAs]=e),t.template&&(n[""]=e))}function aa(e,t,n){e.flags=t<<16|4096&e.flags|n,e.providerIndexes=t}function sa(e,t,n,o){e.data.push(n);var r=new $e(o,Ft(n),null);e.blueprint.push(r),t.push(r),function(e,t){e.expandoInstructions.push(t.hostBindings||fo),t.hostVars&&e.expandoInstructions.push(t.hostVars)}(e,n)}function la(e,t,n){var o=Tt(t,e),r=Mi(n.template,n.consts,n.vars,n.directiveDefs,n.pipeDefs,n.viewQuery),i=Ea(e,t.index,mi(En(),an().createRenderer(o,n),r,null,n.onPush?4:2,sn()));i[Je]=t,i[Ze]=e[t.index],e[t.index]=i,Tn()&&ra(t)}function ca(e,t,n,o,r){return[r?-1:0,[],n,null,null,e,o,lr(t,n)]}function ua(e,t,n,o,r,i,a,s){var l=En(),c=_n(),u=ha(e,r||null,i||null);Tn()&&(u.tViews=Ii(-1,t,n,o,c.directiveRegistry,c.pipeRegistry,null)),Pi(c,l,a,s);var d=yn(),h=pn();d&&bn(d.addNode(h)),ct(u.flags,c),vn(!1)}function da(e){var t=ha(e,null,null);Tn()&&(t.tViews=[]),vn(!1)}function ha(e,t,n){var o=En(),r=e+We,i=rn().createComment(""),a=gi(e,0,i,t,n),s=o[r]=ca(o[r],a,o,i);hr(i,a,o),Ea(o,e+We,s);var l=yn();return l&&(s[Ye]=l.container()),a}function pa(e){var t=En(),n=_n();fn(Ot(e,n.data)),vn(!0),t[e+We][Ct]=0,On()||pt(t,n,Cn())}function fa(){var e=pn();gn()?vn(!1):fn(e=e.parent);for(var t=En()[e.index],n=t[Ct];n<t[Et].length;)or(t,e,n)}function ma(e,t,n){var o=En(),r=pn(),i=2===r.type?r.parent:r,a=o[i.index],s=function(e,t,n,o){for(var r=e[Et],i=n;i<r.length;i++){var a=r[i][Ke].id;if(a===o)return r[i];if(!(a<o))break;or(e,t,i)}return null}(a,i,a[Ct],e);return s?(vn(!0),Fn(s,s[Ke].node)):(s=mi(En(),rn(),function(e,t,n,o){var r=_n(),i=o.tViews;return(e>=i.length||null==i[e])&&(i[e]=Ii(e,null,t,n,r.directiveRegistry,r.pipeRegistry,null)),i[e]}(e,t,n,i),null,2,sn()),a[Ye]&&(s[Ye]=a[Ye].createView()),vi(e,s),Fn(s,s[Ke].node)),a&&(Cn()&&tr(s,a,o,a[Ct],-1),a[Ct]++),Ei(s)}function ga(){var e=En(),t=e[Je];fi(e,null),Bn(e[qe]),fn(t),vn(!1)}function va(e,t,n){var o=Pt(e,En());_a(o)&&6&o[Ge]&&(t&&function(e){for(var t=e[Ke],n=e.length;n<t.blueprint.length;n++)e[n]=t.blueprint[n]}(o),xa(o,o[et],n))}function _a(e){return 8==(8&e[Ge])}function ya(e,t){var n=Jo(En())[Je];if(!n.projection)for(var o=n.projection=new Array(e?e.length+1:1).fill(null),r=o.slice(),i=n.child;null!==i;){var a=e?Cr(i,e,t):0,s=i.next;r[a]?r[a].next=i:(o[a]=i,i.next=null),r[a]=i,i=s}}var ba=[];function Ca(e,t,n){void 0===t&&(t=0);var o=En(),r=gi(e,1,null,null,n||null);null===r.projection&&(r.projection=t),vn(!1);for(var i=Jo(o),a=i[Je].projection[t],s=i[qe],l=-1;a;){if(1===a.type){var c=Jo(s),u=c[Je].projection[a.projection];if(u){ba[++l]=a,ba[++l]=s,a=u,s=c[qe];continue}}else a.flags|=8192,gr(a,r,o,s);null===a.next&&s!==i[qe]&&(s=ba[l--],a=ba[l--]),a=a.next}}function Ea(e,t,n){var o=_n(),r=Tn();return e[rt]?e[rt][ze]=n:r&&(o.childIndex=t),e[rt]=n,n}function wa(e){for(var t=e;t&&!(64&t[Ge]);)t[Ge]|=4,t=t[qe];t[Ge]|=4,ka(t[et],1)}function ka(e,t){var n,o=0===e.flags;e.flags|=t,o&&e.clean==pi&&(e.clean=new Promise(function(e){return n=e}),e.scheduler(function(){if(1&e.flags&&(e.flags&=-2,Aa(e)),2&e.flags){e.flags&=-3;var t=e.playerHandler;t&&t.flushPlayers()}e.clean=pi,n(null)}))}function Aa(e){for(var t=0;t<e.components.length;t++){var n=e.components[t];Ci(Ut(n),n,2)}}function Sa(e){xa(io(e),e,null)}function Oa(e){Aa(e[et])}function xa(e,t,n){var o=e[Ke],r=Fn(e,e[Je]),i=o.template,a=o.viewQuery;try{Si(),function(t,o,r,i){t&&(1===n||null===n&&1&e[Ge])&&t(1,i)}(a,0,0,t),i(n||Ei(e),t),fi(e,n),function(t,n,o){t&&2&e[Ge]&&t(2,o)}(a,0,t)}finally{Bn(r,1===n)}}function Da(e){wa(io(e))}function Ta(e){return Ka(En()[Xe]++,e)?e:Er}function Ra(e){for(var t=!1,n=1;n<e.length;n+=2)Ka(En()[Xe]++,e[n])&&(t=!0);if(!t)return Er;var o=e[0];for(n=1;n<e.length;n+=2)o+=St(e[n])+e[n+1];return o}function Pa(e,t,n){return Ka(En()[Xe]++,t)?e+St(t)+n:Er}function Ma(e,t,n,o,r){var i=En(),a=qa(i[Xe],t,o);return i[Xe]+=2,a?e+St(t)+n+St(o)+r:Er}function Ia(e,t,n,o,r,i,a){var s=En(),l=za(s[Xe],t,o,i);return s[Xe]+=3,l?e+St(t)+n+St(o)+r+St(i)+a:Er}function Fa(e,t,n,o,r,i,a,s,l){var c=En(),u=Ya(c[Xe],t,o,i,s);return c[Xe]+=4,u?e+St(t)+n+St(o)+r+St(i)+a+St(s)+l:Er}function La(e,t,n,o,r,i,a,s,l,c,u){var d=En(),h=Ya(d[Xe],t,o,i,s);return h=Ka(d[Xe]+4,c)||h,d[Xe]+=5,h?e+St(t)+n+St(o)+r+St(i)+a+St(s)+l+St(c)+u:Er}function Ba(e,t,n,o,r,i,a,s,l,c,u,d,h){var p=En(),f=Ya(p[Xe],t,o,i,s);return f=qa(p[Xe]+4,c,d)||f,p[Xe]+=6,f?e+St(t)+n+St(o)+r+St(i)+a+St(s)+l+St(c)+u+St(d)+h:Er}function Na(e,t,n,o,r,i,a,s,l,c,u,d,h,p,f){var m=En(),g=Ya(m[Xe],t,o,i,s);return g=za(m[Xe]+4,c,d,p)||g,m[Xe]+=7,g?e+St(t)+n+St(o)+r+St(i)+a+St(s)+l+St(c)+u+St(d)+h+St(p)+f:Er}function ja(e,t,n,o,r,i,a,s,l,c,u,d,h,p,f,m,g){var v=En(),_=Ya(v[Xe],t,o,i,s);return _=Ya(v[Xe]+4,c,d,p,m)||_,v[Xe]+=8,_?e+St(t)+n+St(o)+r+St(i)+a+St(s)+l+St(c)+u+St(d)+h+St(p)+f+St(m)+g:Er}function Va(e,t){var n=_n(),o=e+We;o>=n.data.length&&(n.data[o]=null),En()[o]=t}function Ua(e){return Ot(e,wn)}function $a(e){return En()[at][e]}function Ha(e){return Ot(e,En())}function Wa(e){return En()[e]}function Ka(e,t){var n,o,r=En(),i=On();if(r[e]===Er)r[e]=t;else{if(o=t,(n=r[e])!=n&&o!=o||n===o)return!1;!function(n,o,i,a){if(o){var s="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+r[e]+"'. Current value: '"+t+"'.";throw n&&(s+=" 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 ?"),new Error(s)}}(Cn(),i),r[e]=t}return!0}function Ga(e,t){return En()[e]=t}function qa(e,t,n){var o=Ka(e,t);return Ka(e+1,n)||o}function za(e,t,n,o){var r=qa(e,t,n);return Ka(e+2,o)||r}function Ya(e,t,n,o,r){var i=qa(e,t,n);return qa(e+2,o,r)||i}function Za(e,t){return void 0===t&&(t=Te.Default),e=vo(e),zn(pn(),En(),e,t)}function Ja(e){return qn(pn(),e)}function Xa(e,t){var n=En(),o=_n(),r=(n[at]||(n[at]=[])).push(e);if(Tn()){var i=o.contentQueries||(o.contentQueries=[]);t!==(o.contentQueries.length?o.contentQueries[o.contentQueries.length-2]:-1)&&i.push(t,r-1)}}var Qa=pi;function es(e){return e?(void 0===e.inputs&&(e.inputs=Ki(e.flags,0)),e.inputs):null}function ts(e){return 32768&e.flags}var ns,os,rs,is=function(){function e(e,t,n){this._context=t,this._componentIndex=n,this._appRef=null,this._viewContainerRef=null,this._tViewNode=null,this._view=e}return Object.defineProperty(e.prototype,"rootNodes",{get:function(){return null==this._view[Ze]?function e(t,n,o){for(var r=n.child;r;)o.push(Tt(r,t)),4===r.type&&e(t,r,o),r=r.next;return o}(this._view,this._view[Je],[]):[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._context?this._context:this._lookUpContext()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"destroyed",{get:function(){return 32==(32&this._view[Ge])},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this._viewContainerRef&&_a(this._view)&&(this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),this._viewContainerRef=null),ir(this._view)},e.prototype.onDestroy=function(e){ji(this._view,e)},e.prototype.markForCheck=function(){wa(this._view)},e.prototype.detach=function(){this._view[Ge]&=-9},e.prototype.reattach=function(){this._view[Ge]|=8},e.prototype.detectChanges=function(){var e=an();e.begin&&e.begin(),Sa(this.context),e.end&&e.end()},e.prototype.checkNoChanges=function(){!function(e){xn(!0);try{Sa(e)}finally{xn(!1)}}(this.context)},e.prototype.attachToViewContainerRef=function(e){this._viewContainerRef=e},e.prototype.detachFromAppRef=function(){this._appRef=null},e.prototype.attachToAppRef=function(e){this._appRef=e},e.prototype._lookUpContext=function(){return this._context=this._view[qe][this._componentIndex]},e}(),as=function(e){function t(t){var n=e.call(this,t,null,-1)||this;return n._view=t,n}return Object(o.c)(t,e),t.prototype.detectChanges=function(){Oa(this._view)},t.prototype.checkNoChanges=function(){!function(e){xn(!0);try{Oa(e)}finally{xn(!1)}}(this._view)},Object.defineProperty(t.prototype,"context",{get:function(){return null},enumerable:!0,configurable:!0}),t}(is);function ss(e,t,n){return ns||(ns=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.c)(t,e),t}(e)),new ns(Tt(t,n))}function ls(e,t,n,r){if(os||(os=function(e){function t(t,n,o,r,i,a){var s=e.call(this)||this;return s._declarationParentView=t,s.elementRef=n,s._tView=o,s._renderer=r,s._queries=i,s._injectorIndex=a,s}return Object(o.c)(t,e),t.prototype.createEmbeddedView=function(e,t,n,o,r){var i=function(e,t,n,o,r,i){var a=gn(),s=pn();vn(!0),fn(null);var l=mi(n,o,e,t,2,sn());return l[st]=n,r&&(l[Ye]=r.createView()),vi(-1,l),e.firstTemplatePass&&(e.node.injectorIndex=i),vn(a),fn(s),l}(this._tView,e,this._declarationParentView,this._renderer,this._queries,this._injectorIndex);t&&tr(i,t,o,r,n.index),yi(i,this._tView,e,1);var a=new is(i,e,-1);return a._tViewNode=i[Je],a},t}(e)),0===n.type){var i=r[n.index];return new os(r,ss(t,n,r),n.tViews,rn(),i[Ye],n.injectorIndex)}return null}var cs=function(){function e(e,t){this._tNode=e,this._hostView=t}return e.prototype.get=function(e,t){return zn(this._tNode,this._hostView,e,Te.Default,t)},e}();function us(e,t,n){if(It(e)){var o=e.flags>>16,r=Pt(e.index,t);return new is(r,n,o)}if(3===e.type){var i=Jo(t);return new is(i,i[et],-1)}return null}function ds(e){if(!(e instanceof Node))throw new Error("Expecting instance of DOM Node");var t,n,o,r=vs(e);return void 0===r.component&&(r.component=(o=ho(n=(t=r.lViewData)[Ke].data[r.nodeIndex]),4096&n.flags?t[o]:null)),r.component}function hs(e){for(var t=vs(e).lViewData;t[qe]&&null===t[Ze];)t=t[qe];return 64&t[Ge]?null:t[et]}function ps(e){return function(e){var t;for(t=Array.isArray(e)?e:Ut(e);t&&!(64&t[Ge]);)t=t[qe];return t}(Array.isArray(e)?e:vs(e).lViewData)[et]}function fs(e){return Object(o.g)(ps(e).components)}function ms(e){var t=vs(e);return new cs(t.lViewData[Ke].data[t.nodeIndex],t.lViewData)}function gs(e){var t=vs(e);return void 0===t.directives&&(t.directives=uo(t.nodeIndex,t.lViewData,!1)),t.directives||[]}function vs(e){var t=oo(e);if(!t)throw new Error("Invalid ng target");return t}function _s(e){return oo(e).native}function ys(e,t){var n=oo(e);if(n){var o=n.native,r=n.lViewData,i=function(e,t){if(!(t=t||oo(o)))return null;var n=Or(t.nodeIndex-We,t.lViewData);return Dr(n)||Tr(n)}(0,n),a=ps(r);xr(i,a,o,t,0,e),ka(a,2)}}function bs(e){var t=oo(e);if(!t)return[];var n=Or(t.nodeIndex-We,t.lViewData),o=n?Dr(n):null;return o?function(e){for(var t=[],n=e[0],o=2;o<n;o+=2){var r=e[o];r&&t.push(r)}for(o=n;o<e.length;o++)t.push(e[o]);return t}(o):[]}var Cs="ng",Es=!1;function ws(){Es||(Es=!0,ks("getComponent",ds),ks("getViewComponent",hs),ks("getHostElement",_s),ks("getInjector",ms),ks("getRootComponents",fs),ks("getDirectives",gs),ks("getPlayers",bs),ks("markDirty",Da))}function ks(e,t){if(te){var n=te[Cs];n||(n=te[Cs]={}),n[e]=t}}function As(e,t){void 0===t&&(t={});var n=t.rendererFactory||Wo,o=t.sanitizer||null,r=ye(e);r.type!=e&&(r.type=e);var i,a=Li(n,t.host||r.selectors[0][0]),s=r.onPush?68:66,l=xs(t.scheduler,t.playerHandler),c=n.createRenderer(a,r),u=mi(null,c,Ii(-1,null,1,0,null,null,null),l,s,void 0,t.injector||null),d=Fn(u,null);try{n.begin&&n.begin(),i=Os(Ss(a,r,u,c,o),r,u,l,t.hostFeatures||null),fi(u,null)}finally{Bn(d),n.end&&n.end()}return i}function Ss(e,t,n,o,r){Jt=!1,Zt=null,zt=0,Yt=!0;var i=n[Ke],a=mi(n,o,Mi(t.template,t.consts,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery),null,t.onPush?4:2,r),s=gi(0,3,e,null,null);return i.firstTemplatePass&&(Gn($n(s,n),n,t.type),s.flags=4096,aa(s,n.length,1),ra(s)),a[Ze]=n[We],a[Je]=s,n[We]=a}function Os(e,t,n,o,r){var i=n[Ke],a=function(e,t,n){var o=pn();e.firstTemplatePass&&(n.providersResolver&&n.providersResolver(n),ea(e,o,1),sa(e,t,n,n.factory));var r=Jn(e.data,t,t.length-1,o);return oa(t,o,r,n),r}(i,n,t);return o.components.push(a),e[et]=a,r&&r.forEach(function(e){return e(a,t)}),i.firstTemplatePass&&ta(i,n,t.hostVars),a}function xs(e,t){return{components:[],scheduler:e||nn,clean:Qa,playerHandler:t||null,flags:0}}function Ds(e,t){var n=Ut(e)[Ke],o=n.data.length-1;lt(o,t.onInit,t.doCheck,n),ct(o<<16|1,n)}function Ts(e){return function(e){return Nt(e)[et]}(e).clean}function Rs(e){return"function"==typeof e.template}function Ps(e){for(var t=Object.getPrototypeOf(e.type.prototype).constructor,n=function(){var n,r,i=void 0;if(Rs(e))i=t.ngComponentDef||t.ngDirectiveDef;else{if(t.ngComponentDef)throw new Error("Directives cannot inherit Components");i=t.ngDirectiveDef}var a=t.ngBaseDef;if(a||i){var s=e;s.inputs=Ms(e.inputs),s.declaredInputs=Ms(e.declaredInputs),s.outputs=Ms(e.outputs)}if(a&&(v(e.inputs,a.inputs),v(e.declaredInputs,a.declaredInputs),v(e.outputs,a.outputs)),i){var l=e.hostBindings,c=i.hostBindings;if(c&&(l?(e.hostBindings=function(e,t){c(e,t),l(e,t)},e.hostVars+=i.hostVars):e.hostBindings=c),Rs(e)&&Rs(i)){var u=e.viewQuery,d=i.viewQuery;d&&(e.viewQuery=u?function(e,t){d(e,t),u(e,t)}:d)}var h=e.contentQueries,p=i.contentQueries;p&&(e.contentQueries=h?function(e){p(e),h(e)}:p);var f=e.contentQueriesRefresh,m=i.contentQueriesRefresh;m&&(e.contentQueriesRefresh=f?function(e,t){m(e,t),f(e,t)}:m),v(e.inputs,i.inputs),v(e.declaredInputs,i.declaredInputs),v(e.outputs,i.outputs),e.afterContentChecked=e.afterContentChecked||i.afterContentChecked,e.afterContentInit=e.afterContentInit||i.afterContentInit,e.afterViewChecked=e.afterViewChecked||i.afterViewChecked,e.afterViewInit=e.afterViewInit||i.afterViewInit,e.doCheck=e.doCheck||i.doCheck,e.onDestroy=e.onDestroy||i.onDestroy,e.onInit=e.onInit||i.onInit;var g=i.features;if(g)try{for(var _=Object(o.h)(g),y=_.next();!y.done;y=_.next()){var b=y.value;b&&b.ngInherit&&b(e)}}catch(E){n={error:E}}finally{try{y&&!y.done&&(r=_.return)&&r.call(_)}finally{if(n)throw n.error}}return"break"}var C=t.prototype;C&&(e.afterContentChecked=e.afterContentChecked||C.afterContentChecked,e.afterContentInit=e.afterContentInit||C.afterContentInit,e.afterViewChecked=e.afterViewChecked||C.afterViewChecked,e.afterViewInit=e.afterViewInit||C.afterViewInit,e.doCheck=e.doCheck||C.doCheck,e.onDestroy=e.onDestroy||C.onDestroy,e.onInit=e.onInit||C.onInit),t=Object.getPrototypeOf(t)};t&&"break"!==n(););}function Ms(e){return e===le?{}:e===ce?[]:e}var Is="__ngOnChanges_";function Fs(e){var t=e.declaredInputs,n=e.type.prototype,o=function(e){if(t.hasOwnProperty(e)){for(var o=t[e],r=Is+o,i=void 0,a=n;!i&&a&&Object.getPrototypeOf(a)!==Object.getPrototypeOf(Object.prototype);)i=Object.getOwnPropertyDescriptor(a,o),a=Object.getPrototypeOf(a);var s=i&&i.set;Object.defineProperty(n,o,{get:i&&i.get||(s?void 0:function(){return this[r]}),set:function(t){var n=this[Is];n||(n={},Object.defineProperty(this,Is,{value:n,writable:!0}));var o=!this.hasOwnProperty(r),i=n[e];i?i.currentValue=t:n[e]=new _t(this[r],t,o),o?Object.defineProperty(this,r,{value:t,writable:!0}):this[r]=t,s&&s.call(this,t)},configurable:!1})}};for(var r in t)o(r);null!=e.onInit&&(e.onInit=Ls(e.onInit)),e.doCheck=Ls(e.doCheck)}function Ls(e){return function(){var t=this[Is];null!=t&&(this.ngOnChanges(t),this[Is]=null),e&&e.apply(this)}}Fs.ngInherit=!0;var Bs=new T("The presence of this token marks an injector as being the root injector."),Ns={},js={},Vs=[],Us=void 0;function $s(){return void 0===Us&&(Us=new Eo),Us}function Hs(e,t,n){return void 0===t&&(t=null),void 0===n&&(n=null),t=t||$s(),new Ws(e,n,t)}var Ws=function(){function e(e,t,n){var o=this;this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this.destroyed=!1;var r=[];zs([e],function(e){return o.processInjectorType(e,[],r)}),t&&zs(t,function(e){return o.processProvider(e)}),this.records.set(Co,qs(void 0,this)),this.isRootInjector=this.records.has(Bs),this.injectorDefTypes.forEach(function(e){return o.get(e)})}return e.prototype.destroy=function(){this.assertNotDestroyed(),this.destroyed=!0;try{this.onDestroy.forEach(function(e){return e.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}},e.prototype.get=function(e,t,n){void 0===t&&(t=bo),void 0===n&&(n=Te.Default),this.assertNotDestroyed();var o,r=Pe(this);try{if(!(n&Te.SkipSelf)){var i=this.records.get(e);if(void 0===i){var a=("function"==typeof(o=e)||"object"==typeof o&&o instanceof T)&&x(e);a&&this.injectableDefInScope(a)&&(i=qs(Ks(e),Ns),this.records.set(e,i))}if(void 0!==i)return this.hydrate(e,i)}return(n&Te.Self?$s():this.parent).get(e,t)}finally{Pe(r)}},e.prototype.assertNotDestroyed=function(){if(this.destroyed)throw new Error("Injector has already been destroyed.")},e.prototype.processInjectorType=function(e,t,n){var o=this;if(e=vo(e)){var r=D(e),i=null==r&&e.ngModule||void 0,a=void 0===i?e:i;if(-1===n.indexOf(a)){var s=void 0!==i&&e.providers||Vs;if(void 0!==i&&(r=D(i)),null!=r){if(this.injectorDefTypes.add(a),this.records.set(a,qs(r.factory)),null!=r.imports){n.push(a);try{zs(r.imports,function(e){return o.processInjectorType(e,t,n)})}finally{}}null!=r.providers&&zs(r.providers,function(e){return o.processProvider(e)}),zs(s,function(e){return o.processProvider(e)})}}}},e.prototype.processProvider=function(e){var t=Zs(e=vo(e))?e:vo(e.provide),n=function(e){var t=Gs(e);return Ys(e)?qs(void 0,e.useValue):qs(t,Ns)}(e);if(Zs(e)||!0!==e.multi){var o=this.records.get(t);if(o&&void 0!==o.multi)throw new Error("Mixed multi-provider for "+se(t))}else{var r=this.records.get(t);if(r){if(void 0===r.multi)throw new Error("Mixed multi-provider for "+t+".")}else(r=qs(void 0,Ns,!0)).factory=function(){return Be(r.multi)},this.records.set(t,r);t=e,r.multi.push(e)}this.records.set(t,n)},e.prototype.hydrate=function(e,t){if(t.value===js)throw new Error("Circular dep for "+se(e));var n;return t.value===Ns&&(t.value=js,t.value=t.factory()),"object"==typeof t.value&&t.value&&"object"==typeof(n=t.value)&&null!=n&&n.ngOnDestroy&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value},e.prototype.injectableDefInScope=function(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||"root"===e.providedIn&&this.isRootInjector:this.injectorDefTypes.has(e.providedIn))},e}();function Ks(e){var t=x(e);if(null===t){if(e instanceof T)throw new Error("Token "+se(e)+" is missing an ngInjectableDef definition.");return function(){return new e}}return t.factory}function Gs(e){var t=void 0;if(Zs(e))return Ks(vo(e));if(Ys(e))t=function(){return vo(e.useValue)};else if(e.useExisting)t=function(){return Fe(vo(e.useExisting))};else if(e.useFactory)t=function(){return e.useFactory.apply(e,Object(o.g)(Be(e.deps||[])))};else{var n=vo(e.useClass||e.provide);if(!e.deps)return Ks(n);t=function(){return new(n.bind.apply(n,Object(o.g)([void 0],Be(e.deps))))}}return t}function qs(e,t,n){return void 0===t&&(t=Ns),void 0===n&&(n=!1),{factory:e,value:t,multi:n?[]:void 0}}function zs(e,t){e.forEach(function(e){return Array.isArray(e)?zs(e,t):t(e)})}function Ys(e){return To in e}function Zs(e){return"function"==typeof e}function Js(e,t,n,o,r){if(e=vo(e),Array.isArray(e))for(var i=0;i<e.length;i++)Js(e[i],t,n,o,r);else{var a=En(),s=Zs(e)?e:vo(e.provide),l=Gs(e),c=pn(),u=65535&c.providerIndexes,d=c.flags>>16,h=c.providerIndexes>>16;if(Zs(e)||!e.multi){var p=new $e(l,r,Za),f=Qs(s,t,r?u:u+h,d);-1==f?(Gn($n(c,a),a,s),t.push(s),c.flags+=65536,r&&(c.providerIndexes+=65536),n.push(p),a.push(p)):(n[f]=p,a[f]=p)}else{var m=Qs(s,t,u+h,d),g=Qs(s,t,u,u+h),v=g>=0&&n[g];r&&!v||!r&&!(m>=0&&n[m])?(Gn($n(c,a),a,s),p=function(e,t,n,o,r){var i=new $e(e,n,Za);return i.multi=[],i.index=t,i.componentProviders=0,Xs(i,r,o&&!n),i}(r?tl:el,n.length,r,o,l),!r&&v&&(n[g].providerFactory=p),t.push(s),c.flags+=65536,r&&(c.providerIndexes+=65536),n.push(p),a.push(p)):Xs(n[r?g:m],l,!r&&o),!r&&o&&v&&n[g].componentProviders++}}}function Xs(e,t,n){e.multi.push(t),n&&e.componentProviders++}function Qs(e,t,n,o){for(var r=n;r<o;r++)if(t[r]===e)return r;return-1}function el(e,t,n,o){return nl(this.multi,[])}function tl(e,t,n,o){var r,i=this.multi;if(this.providerFactory){var a=this.providerFactory.componentProviders,s=Jn(t,n,this.providerFactory.index,o);nl(i,r=s.slice(0,a));for(var l=a;l<s.length;l++)r.push(s[l])}else nl(i,r=[]);return r}function nl(e,t){for(var n=0;n<e.length;n++)t.push((0,e[n])());return t}function ol(e,t){return void 0===t&&(t=[]),function(n){n.providersResolver=function(n){return function(e,t,n){var o=En()[Ke];if(o.firstTemplatePass){var r=Ft(e);Js(n,o.data,o.blueprint,r,!0),Js(t,o.data,o.blueprint,r,!1)}}(n,e,t)}}}var rl=function(){return function(){}}(),il=function(){return function(){}}();function al(e){var t=Error("No component factory found for "+se(e)+". Did you add it to @NgModule.entryComponents?");return t[sl]=e,t}var sl="ngComponent",ll=function(){function e(){}return e.prototype.resolveComponentFactory=function(e){throw al(e)},e}(),cl=function(){function e(){}return e.NULL=new ll,e}(),ul=function(){function e(e,t,n){this._parent=t,this._ngModule=n,this._factories=new Map;for(var o=0;o<e.length;o++){var r=e[o];this._factories.set(r.componentType,r)}}return e.prototype.resolveComponentFactory=function(e){var t=this._factories.get(e);if(!t&&this._parent&&(t=this._parent.resolveComponentFactory(e)),!t)throw al(e);return new dl(t,this._ngModule)},e}(),dl=function(e){function t(t,n){var o=e.call(this)||this;return o.factory=t,o.ngModule=n,o.selector=t.selector,o.componentType=t.componentType,o.ngContentSelectors=t.ngContentSelectors,o.inputs=t.inputs,o.outputs=t.outputs,o}return Object(o.c)(t,e),t.prototype.create=function(e,t,n,o){return this.factory.create(e,t,n,o||this.ngModule)},t}(il),hl=function(){function e(e){this.nativeElement=e}return e.__NG_ELEMENT_ID__=function(){return fl(e)},e}(),pl=function(e){return ss(e,pn(),En())},fl=fo,ml=function(){return function(e,t,n,o,r,i){this.id=e,this.templateUrl=t,this.slotCount=n,this.encapsulation=o,this.styles=r,this.animations=i}}(),gl=function(){return function(){}}(),vl=function(){return function(){}}(),_l=function(){return function(){}}(),yl=function(){return function(){}}(),bl=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({}),Cl=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return wl()},e}(),El=function(){return function(e){var t=En()[nt];if(Ho(t))return t;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}()},wl=fo,kl=function(){return function(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}(),Al=new kl("7.1.4"),Sl=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.c)(t,e),t.prototype.resolveComponentFactory=function(e){var t=ye(e);return new Pl(t)},t}(cl);function Ol(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}var xl=new T("ROOT_CONTEXT_TOKEN",{providedIn:"root",factory:function(){return xs(Fe(Dl))}}),Dl=new T("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return nn}}),Tl=new T("WRAP_RENDERER_FACTORY2"),Rl={},Pl=function(e){function t(t){var n=e.call(this)||this;return n.componentDef=t,n.componentType=t.type,n.selector=t.selectors[0][0],n.ngContentSelectors=[],n}return Object(o.c)(t,e),Object.defineProperty(t.prototype,"inputs",{get:function(){return Ol(this.componentDef.inputs)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){return Ol(this.componentDef.outputs)},enumerable:!0,configurable:!0}),t.prototype.create=function(e,t,n,o){var r,i=void 0===n;r=o?o.injector.get(Tl,function(e){return e})(o.injector.get(yl)):Wo;var a=i?Ri(this.selector,r.createRenderer(null,this.componentDef)):Li(r,n),s=this.componentDef.onPush?68:66,l=o&&!i?o.injector.get(xl):xs(),c=r.createRenderer(a,this.componentDef),u=o?function(e,t){return{get:function(n,o){var r=e.get(n,Rl);return r!==Rl?r:t.get(n,o)}}}(e,o.injector):e;n&&a&&(Ho(c)?c.setAttribute(a,"ng-version",Al.full):a.setAttribute("ng-version",Al.full));var d,h,p=mi(null,c,Ii(-1,null,1,0,null,null,null),l,s,void 0,u),f=Fn(p,null);try{r.begin&&r.begin();var m=Ss(a,this.componentDef,p,c);if(h=Rt(0,p),t)for(var g=0,v=p[Ke],_=h.projection=[],y=0;y<t.length;y++){for(var b=t[y],C=null,E=null,w=0;w<b.length;w++){v.firstTemplatePass&&(v.expandoStartIndex++,v.blueprint.splice(++g+We,0,null),v.data.splice(g+We,0,null),p.splice(g+We,0,null));var k=gi(g,3,b[w],null,null);E?E.next=k:C=k,E=k}_.push(C)}d=Os(m,this.componentDef,p,l,[Ds]),fi(p,1)}finally{Bn(f,!0),r.end&&r.end()}var A=new Ml(this.componentType,d,ss(hl,h,p),p,h);return i&&(A.hostView._tViewNode.child=h),A},t}(il),Ml=function(e){function t(t,n,o,r,i){var a=e.call(this)||this;return a.location=o,a._rootView=r,a._tNode=i,a.destroyCbs=[],a.instance=n,a.hostView=a.changeDetectorRef=new as(r),a.hostView._tViewNode=vi(-1,r),a.componentType=t,a}return Object(o.c)(t,e),Object.defineProperty(t.prototype,"injector",{get:function(){return new eo(this._tNode,this._rootView)},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this.destroyCbs.forEach(function(e){return e()}),this.destroyCbs=null},t.prototype.onDestroy=function(e){this.destroyCbs.push(e)},t}(rl),Il=!0,Fl=!1;function Ll(){return Fl=!0,Il}function Bl(){if(Fl)throw new Error("Cannot enable prod mode after platform setup.");Il=!1}var Nl=function(){function e(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){var t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t),this.inertBodyElement=this.inertDocument.createElement("body"),t.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return e.prototype.getInertBodyElement_XHR=function(e){e="<body><remove></remove>"+e+"</body>";try{e=encodeURI(e)}catch(o){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);var n=t.response.body;return n.removeChild(n.firstChild),n},e.prototype.getInertBodyElement_DOMParser=function(e){e="<body><remove></remove>"+e+"</body>";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(n){return null}},e.prototype.getInertBodyElement_InertDocument=function(e){var t=this.inertDocument.createElement("template");return"content"in t?(t.innerHTML=e,t):(this.inertBodyElement.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},e.prototype.stripCustomNsAttrs=function(e){for(var t=e.attributes,n=t.length-1;0<n;n--){var o=t.item(n).name;"xmlns:ns1"!==o&&0!==o.indexOf("ns1:")||e.removeAttribute(o)}for(var r=e.firstChild;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling},e}(),jl=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,Vl=/^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 Ul(e){return(e=String(e)).match(jl)||e.match(Vl)?e:(Ll()&&console.warn("WARNING: sanitizing unsafe URL value "+e+" (see http://g.co/ng/security#xss)"),"unsafe:"+e)}function $l(e){return(e=String(e)).split(",").map(function(e){return Ul(e.trim())}).join(", ")}function Hl(e){var t,n,r={};try{for(var i=Object(o.h)(e.split(",")),a=i.next();!a.done;a=i.next())r[a.value]=!0}catch(s){t={error:s}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return r}function Wl(){for(var e,t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i={};try{for(var a=Object(o.h)(n),s=a.next();!s.done;s=a.next()){var l=s.value;for(var c in l)l.hasOwnProperty(c)&&(i[c]=!0)}}catch(u){e={error:u}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}return i}var Kl,Gl=Hl("area,br,col,hr,img,wbr"),ql=Hl("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),zl=Hl("rp,rt"),Yl=Wl(zl,ql),Zl=Wl(Gl,Wl(ql,Hl("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")),Wl(zl,Hl("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")),Yl),Jl=Hl("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Xl=Hl("srcset"),Ql=Wl(Jl,Xl,Hl("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")),ec=function(){function e(){this.sanitizedSomething=!1,this.buf=[]}return e.prototype.sanitizeChildren=function(e){for(var t=e.firstChild,n=!0;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);var o=this.checkClobberedElement(t,t.nextSibling);if(o){t=o;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")},e.prototype.startElement=function(e){var t=e.nodeName.toLowerCase();if(!Zl.hasOwnProperty(t))return this.sanitizedSomething=!0,!1;this.buf.push("<"),this.buf.push(t);for(var n=e.attributes,o=0;o<n.length;o++){var r=n.item(o),i=r.name,a=i.toLowerCase();if(Ql.hasOwnProperty(a)){var s=r.value;Jl[a]&&(s=Ul(s)),Xl[a]&&(s=$l(s)),this.buf.push(" ",i,'="',oc(s),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0},e.prototype.endElement=function(e){var t=e.nodeName.toLowerCase();Zl.hasOwnProperty(t)&&!Gl.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))},e.prototype.chars=function(e){this.buf.push(oc(e))},e.prototype.checkClobberedElement=function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t},e}(),tc=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,nc=/([^\#-~ |!])/g;function oc(e){return e.replace(/&/g,"&").replace(tc,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(nc,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}function rc(e,t){var n=null;try{Kl=Kl||new Nl(e);var o=t?String(t):"";n=Kl.getInertBodyElement(o);var r=5,i=o;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,o=i,i=n.innerHTML,n=Kl.getInertBodyElement(o)}while(o!==i);var a=new ec,s=a.sanitizeChildren(ic(n)||n);return Ll()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),s}finally{if(n)for(var l=ic(n)||n;l.firstChild;)l.removeChild(l.firstChild)}}function ic(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ac={marker:"element"},sc={marker:"comment"},lc="\ufffd",cc=/^\s*(\ufffd\d+\ufffd)\s*,\s*(select|plural)\s*,/,uc=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,dc=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,hc=/\ufffd(\d+):?\d*\ufffd/gi,pc=/({\s*\ufffd\d+\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,fc=/\[(\ufffd.+?\ufffd?)\]/g,mc=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,gc=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g;function vc(e){if(!e)return[];var t,n=0,o=[],r=[],i=/[{}]/g;for(i.lastIndex=0;t=i.exec(e);){var a=t.index;if("}"==t[0]){if(o.pop(),0==o.length){var s=e.substring(n,a);cc.test(s)?r.push(_c(s)):s&&r.push(s),n=a+1}}else{if(0==o.length){var l=e.substring(n,a);r.push(l),n=a+1}o.push("{")}}var c=e.substring(n);return""!=c&&r.push(c),r}function _c(e){for(var t=[],n=[],o=1,r=0,i=vc(e=e.replace(cc,function(e,t,n){return o="select"===n?0:1,r=parseInt(t.substr(1),10),""})),a=0;a<i.length;){var s=i[a++].trim();1===o&&(s=s.replace(/\s*(?:=)?(\w+)\s*/,"$1")),s.length&&t.push(s);var l=vc(i[a++]);l.length&&n.push(l)}return c=t.indexOf("other"),u='Missing key "other" in ICU statement.',c<=-1&&function(e){throw new Error("ASSERTION ERROR: "+e)}(u),{type:o,mainBinding:r,cases:t,values:n};var c,u}function yc(e){for(var t,n,o="",r=0,i=!1;null!==(t=uc.exec(e));)i?t[0]===lc+"/*"+n+lc&&(r=t.index,i=!1):(o+=e.substring(r,t.index+t[0].length),n=t[1],i=!0);return o+e.substr(r)}function bc(e,t,n,o){void 0===o&&(o=null);for(var r=[null,null],i=e.split(hc),a=0,s=0;s<i.length;s++){var l=i[s];if(1&s){var c=parseInt(l,10);r.push(-1-c),a|=kc(c)}else""!==l&&r.push(l)}return r.push(t<<2|(n?1:0)),n&&r.push(n,o),r[0]=a,r[1]=r.length-2,r}function Cc(e,t){var n;void 0===t&&(t=0),t|=kc(e.mainBinding);for(var o=0;o<e.values.length;o++)for(var r=e.values[o],i=0;i<r.length;i++){var a=r[i];if("string"==typeof a)for(;n=hc.exec(a);)t|=kc(parseInt(n[1],10));else t=Cc(a,t)}return t}var Ec=[],wc=-1;function kc(e){return 1<<Math.min(e,31)}var Ac=[];function Sc(e,t,n){var o=_n();o.firstTemplatePass&&null===o.data[e+We]&&function(e,t,n,o){Ec[++wc]=t;var r=dn(),i=e.blueprint.length-We,a=pn(),s=gn()?pn():a&&a.parent,l=s&&s!==r[Je]?s.index-We:t,c=0;Ac[c]=l;var u=[];t>0&&a!==s&&u.push(a.index<<3|0);for(var d=[],h=[],p=function(e,t){if("number"!=typeof t)return yc(e);var n=e.indexOf(":"+t+lc)+2+t.toString().length,o=e.search(new RegExp(lc+"\\/\\*\\d+:"+t+lc));return yc(e.substring(n,o))}(n,o).split(dc),f=0;f<p.length;f++){var m=p[f];if(1&f)if("/"===m.charAt(0)){if("#"===m.charAt(1)){var g=parseInt(m.substr(2),10);l=Ac[--c],u.push(g<<3|5)}}else g=parseInt(m.substr(1),10),u.push(g<<3|0,l<<17|1),"#"===m.charAt(0)&&(Ac[++c]=l=g);else for(var v=m.split(pc),_=0;_<v.length;_++)if(m=v[_],1&_){_i(r);var y=e.blueprint.length-1-We;u.push(sc,"",l<<17|1);var b=_c(m.substr(1,m.length-2)),C=Cc(b);Vc(h,b,y,y);var E=h.length-1;d.push(kc(b.mainBinding),3,-1-b.mainBinding,y<<2|2,E,C,2,y<<2|3,E)}else if(""!==m){var w=m.match(hc);_i(r),u.push(w?"":m,l<<17|1),w&&on(bc(m,e.blueprint.length-1-We),d)}}e.data[t+We]={vars:e.blueprint.length-We-i,expandoStartIndex:i,create:u,update:d,icus:h.length?h:null}}(o,e,t,n)}function Oc(e,t,n){var o=dn();n||(n=t),n===t&&e!==t.child?(e.next=t.child,t.child=e):n!==t&&e!==n.next?(e.next=n.next,n.next=e):e.next=null,t!==o[Je]&&(e.parent=t),hr(Tt(e,o),e,o);var r=o[e.index];return 0!==e.type&&Lt(r)&&hr(r[wt],e,o),e}function xc(e,t){var n={},o=e.replace(fc,function(e,t){if(n[t]||(n[t]=t.split("|")),!n[t].length)throw new Error("i18n postprocess: unmatched placeholder - "+t);return n[t].shift()});if(Object.keys(n).some(function(e){return!!n[e].length}))throw new Error("i18n postprocess: unmatched values - "+JSON.stringify(n));return Object.keys(t).length?o=(o=o.replace(mc,function(e,n,o,r,i,a){return t.hasOwnProperty(o)?""+n+t[o]+a:e})).replace(gc,function(e,n){if(t.hasOwnProperty(n)){var o=t[n];if(!o.length)throw new Error("i18n postprocess: unmatched ICU - "+e+" with key: "+n);return o.shift()}return e}):o}function Dc(){var e=_n();e.firstTemplatePass&&function(e){for(var t=dn(),n=Ec[wc--],o=e.data[n+We],r=pn(),i=Tc(n,o.create,o.expandoStartIndex,t),a=n+1;a<=r.index-We;a++)-1===i.indexOf(a)&&Rc(a,t)}(e)}function Tc(e,t,n,o){for(var r=rn(),i=null,a=null,s=[],l=0;l<t.length;l++){var c=t[l];if("string"==typeof c)a=i,i=gi(n++,3,Qo(c,r),null,null),vn(!1);else if("number"==typeof c)switch(7&c){case 1:var u=c>>>17,d=void 0;a=Oc(i,d=u===e?o[Je]:Rt(u,o),a),d.next=null;break;case 0:var h=c>>>3;s.push(h),a=i,(i=Rt(h,o))&&(fn(i),3===i.type&&vn(!0));break;case 5:a=i=Rt(c>>>3,o),fn(i),vn(!1);break;case 4:Ui(c>>>3,t[++l],t[++l]);break;default:throw new Error('Unable to determine the type of mutate operation for "'+c+'"')}else switch(c){case sc:var p=t[++l];a=i,(i=gi(n++,5,r.createComment(p),null,null)).activeCaseIndex=null,vn(!1);break;case ac:var f=t[++l];a=i,i=gi(n++,3,r.createElement(f),f,null);break;default:throw new Error('Unable to determine the type of mutate operation for "'+c+'"')}}return vn(!1),s}function Rc(e,t){var n=Rt(e,t);mr(n,Dt(e,t)||null,t),n.detached=!0;var o=Ha(e);if(Lt(o)){var r=o;0!==n.type&&mr(n,r[wt]||null,t),r[kt]=null}}function Pc(e,t,n){Sc(e,t,n),Dc()}function Mc(e,t){var n=_n();n.firstTemplatePass&&null===n.data[e+We]&&function(e,t,n){for(var o=pn().index-We,r=[],i=0;i<n.length;i+=2)for(var a=n[i],s=n[i+1].split(pc),l=0;l<s.length;l++){var c=s[l];1&l||""!==c&&(c.match(hc)?on(bc(c,o,a),r):Ui(o,a,c))}e.data[t+We]=r}(n,e,t)}var Ic=0,Fc=0;function Lc(e){e!==Er&&(Ic|=1<<Fc),Fc++}function Bc(e){if(Fc){var t=_n(),n=dn(),o=t.data[e+We],r=void 0,i=null;Array.isArray(o)?r=o:(r=o.update,i=o.icus),function e(t,n,o,r,i,a){void 0===a&&(a=!1);for(var s=!1,l=0;l<t.length;l++){var c=t[l],u=t[++l];if(a||c&r)for(var d="",h=l+1;h<=l+u;h++){var p=t[h];if("string"==typeof p)d+=p;else if("number"==typeof p)if(p<0)d+=St(i[o-p]);else{var f=p>>>2;switch(3&p){case 1:Ui(f,t[++h],d,t[++h]);break;case 0:Qi(f,d);break;case 2:var m=t[++h],g=n[m],v=Rt(f,i);if(null!==v.activeCaseIndex)for(var _=g.remove[v.activeCaseIndex],y=0;y<_.length;y++){var b=_[y];switch(7&b){case 3:Rc(b>>>3,i);break;case 6:var C=Rt(_[y+1]>>>3,i).activeCaseIndex;null!==C&&on(n[b>>>3].remove[C],_)}}var E=jc(g,d);v.activeCaseIndex=-1!==E?E:null,Tc(-1,g.create[E],g.expandoStartIndex,i),s=!0;break;case 3:g=n[m=t[++h]],v=Rt(f,i),e(g.update[v.activeCaseIndex],n,o,r,i,s)}}}l+=u}}(r,i,n[Xe]-Fc-1,Ic,n),Ic=0,Fc=0}}var Nc=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}({});function jc(e,t){var n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:var o=function(e,n){switch(function(e,t){"string"==typeof t&&(t=parseInt(t,10));var n=t,o=n.toString().replace(/^[^.]*\.?/,""),r=Math.floor(Math.abs(n)),i=o.length,a=parseInt(o,10),s=parseInt(n.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0;switch(e.split("-")[0].toLowerCase()){case"af":case"asa":case"az":case"bem":case"bez":case"bg":case"brx":case"ce":case"cgg":case"chr":case"ckb":case"ee":case"el":case"eo":case"es":case"eu":case"fo":case"fur":case"gsw":case"ha":case"haw":case"hu":case"jgo":case"jmc":case"ka":case"kk":case"kkj":case"kl":case"ks":case"ksb":case"ky":case"lb":case"lg":case"mas":case"mgo":case"ml":case"mn":case"nb":case"nd":case"ne":case"nn":case"nnh":case"nyn":case"om":case"or":case"os":case"ps":case"rm":case"rof":case"rwk":case"saq":case"seh":case"sn":case"so":case"sq":case"ta":case"te":case"teo":case"tk":case"tr":case"ug":case"uz":case"vo":case"vun":case"wae":case"xog":return 1===n?Nc.One:Nc.Other;case"ak":case"ln":case"mg":case"pa":case"ti":return n===Math.floor(n)&&n>=0&&n<=1?Nc.One:Nc.Other;case"am":case"as":case"bn":case"fa":case"gu":case"hi":case"kn":case"mr":case"zu":return 0===r||1===n?Nc.One:Nc.Other;case"ar":return 0===n?Nc.Zero:1===n?Nc.One:2===n?Nc.Two:n%100===Math.floor(n%100)&&n%100>=3&&n%100<=10?Nc.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=99?Nc.Many:Nc.Other;case"ast":case"ca":case"de":case"en":case"et":case"fi":case"fy":case"gl":case"it":case"nl":case"sv":case"sw":case"ur":case"yi":return 1===r&&0===i?Nc.One:Nc.Other;case"be":return n%10==1&&n%100!=11?Nc.One:n%10===Math.floor(n%10)&&n%10>=2&&n%10<=4&&!(n%100>=12&&n%100<=14)?Nc.Few:n%10==0||n%10===Math.floor(n%10)&&n%10>=5&&n%10<=9||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=14?Nc.Many:Nc.Other;case"br":return n%10==1&&n%100!=11&&n%100!=71&&n%100!=91?Nc.One:n%10==2&&n%100!=12&&n%100!=72&&n%100!=92?Nc.Two:n%10===Math.floor(n%10)&&(n%10>=3&&n%10<=4||n%10==9)&&!(n%100>=10&&n%100<=19||n%100>=70&&n%100<=79||n%100>=90&&n%100<=99)?Nc.Few:0!==n&&n%1e6==0?Nc.Many:Nc.Other;case"bs":case"hr":case"sr":return 0===i&&r%10==1&&r%100!=11||a%10==1&&a%100!=11?Nc.One:0===i&&r%10===Math.floor(r%10)&&r%10>=2&&r%10<=4&&!(r%100>=12&&r%100<=14)||a%10===Math.floor(a%10)&&a%10>=2&&a%10<=4&&!(a%100>=12&&a%100<=14)?Nc.Few:Nc.Other;case"cs":case"sk":return 1===r&&0===i?Nc.One:r===Math.floor(r)&&r>=2&&r<=4&&0===i?Nc.Few:0!==i?Nc.Many:Nc.Other;case"cy":return 0===n?Nc.Zero:1===n?Nc.One:2===n?Nc.Two:3===n?Nc.Few:6===n?Nc.Many:Nc.Other;case"da":return 1===n||0!==s&&(0===r||1===r)?Nc.One:Nc.Other;case"dsb":case"hsb":return 0===i&&r%100==1||a%100==1?Nc.One:0===i&&r%100==2||a%100==2?Nc.Two:0===i&&r%100===Math.floor(r%100)&&r%100>=3&&r%100<=4||a%100===Math.floor(a%100)&&a%100>=3&&a%100<=4?Nc.Few:Nc.Other;case"ff":case"fr":case"hy":case"kab":return 0===r||1===r?Nc.One:Nc.Other;case"fil":return 0===i&&(1===r||2===r||3===r)||0===i&&r%10!=4&&r%10!=6&&r%10!=9||0!==i&&a%10!=4&&a%10!=6&&a%10!=9?Nc.One:Nc.Other;case"ga":return 1===n?Nc.One:2===n?Nc.Two:n===Math.floor(n)&&n>=3&&n<=6?Nc.Few:n===Math.floor(n)&&n>=7&&n<=10?Nc.Many:Nc.Other;case"gd":return 1===n||11===n?Nc.One:2===n||12===n?Nc.Two:n===Math.floor(n)&&(n>=3&&n<=10||n>=13&&n<=19)?Nc.Few:Nc.Other;case"gv":return 0===i&&r%10==1?Nc.One:0===i&&r%10==2?Nc.Two:0!==i||r%100!=0&&r%100!=20&&r%100!=40&&r%100!=60&&r%100!=80?0!==i?Nc.Many:Nc.Other:Nc.Few;case"he":return 1===r&&0===i?Nc.One:2===r&&0===i?Nc.Two:0!==i||n>=0&&n<=10||n%10!=0?Nc.Other:Nc.Many;case"is":return 0===s&&r%10==1&&r%100!=11||0!==s?Nc.One:Nc.Other;case"ksh":return 0===n?Nc.Zero:1===n?Nc.One:Nc.Other;case"kw":case"naq":case"se":case"smn":return 1===n?Nc.One:2===n?Nc.Two:Nc.Other;case"lag":return 0===n?Nc.Zero:0!==r&&1!==r||0===n?Nc.Other:Nc.One;case"lt":return n%10!=1||n%100>=11&&n%100<=19?n%10===Math.floor(n%10)&&n%10>=2&&n%10<=9&&!(n%100>=11&&n%100<=19)?Nc.Few:0!==a?Nc.Many:Nc.Other:Nc.One;case"lv":case"prg":return n%10==0||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19||2===i&&a%100===Math.floor(a%100)&&a%100>=11&&a%100<=19?Nc.Zero:n%10==1&&n%100!=11||2===i&&a%10==1&&a%100!=11||2!==i&&a%10==1?Nc.One:Nc.Other;case"mk":return 0===i&&r%10==1||a%10==1?Nc.One:Nc.Other;case"mt":return 1===n?Nc.One:0===n||n%100===Math.floor(n%100)&&n%100>=2&&n%100<=10?Nc.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19?Nc.Many:Nc.Other;case"pl":return 1===r&&0===i?Nc.One:0===i&&r%10===Math.floor(r%10)&&r%10>=2&&r%10<=4&&!(r%100>=12&&r%100<=14)?Nc.Few:0===i&&1!==r&&r%10===Math.floor(r%10)&&r%10>=0&&r%10<=1||0===i&&r%10===Math.floor(r%10)&&r%10>=5&&r%10<=9||0===i&&r%100===Math.floor(r%100)&&r%100>=12&&r%100<=14?Nc.Many:Nc.Other;case"pt":return n===Math.floor(n)&&n>=0&&n<=2&&2!==n?Nc.One:Nc.Other;case"ro":return 1===r&&0===i?Nc.One:0!==i||0===n||1!==n&&n%100===Math.floor(n%100)&&n%100>=1&&n%100<=19?Nc.Few:Nc.Other;case"ru":case"uk":return 0===i&&r%10==1&&r%100!=11?Nc.One:0===i&&r%10===Math.floor(r%10)&&r%10>=2&&r%10<=4&&!(r%100>=12&&r%100<=14)?Nc.Few:0===i&&r%10==0||0===i&&r%10===Math.floor(r%10)&&r%10>=5&&r%10<=9||0===i&&r%100===Math.floor(r%100)&&r%100>=11&&r%100<=14?Nc.Many:Nc.Other;case"shi":return 0===r||1===n?Nc.One:n===Math.floor(n)&&n>=2&&n<=10?Nc.Few:Nc.Other;case"si":return 0===n||1===n||0===r&&1===a?Nc.One:Nc.Other;case"sl":return 0===i&&r%100==1?Nc.One:0===i&&r%100==2?Nc.Two:0===i&&r%100===Math.floor(r%100)&&r%100>=3&&r%100<=4||0!==i?Nc.Few:Nc.Other;case"tzm":return n===Math.floor(n)&&n>=0&&n<=1||n===Math.floor(n)&&n>=11&&n<=99?Nc.One:Nc.Other;default:return Nc.Other}}("en-US",t)){case Nc.Zero:return"zero";case Nc.One:return"one";case Nc.Two:return"two";case Nc.Few:return"few";case Nc.Many:return"many";default:return"other"}}();-1===(n=e.cases.indexOf(o))&&"other"!==o&&(n=e.cases.indexOf("other"));break;case 0:n=e.cases.indexOf("other")}return n}function Vc(e,t,n,r){for(var i=[],a=[],s=[],l=[],c=[],u=0;u<t.values.length;u++){for(var d=t.values[u],h=[],p=0;p<d.length;p++){var f=d[p];if("string"!=typeof f){var m=h.push(f)-1;d[p]="\x3c!--\ufffd"+m+"\ufffd--\x3e"}}var g=Uc(d.join(""),n,h,e,r);i.push(g.create),a.push(g.remove),s.push(g.update),l.push(g.vars),c.push(g.childIcus)}e.push({type:t.type,vars:l,expandoStartIndex:r+1,childIcus:c,cases:t.cases,create:i,remove:a,update:s});var v=dn(),_=Math.max.apply(Math,Object(o.g)(l));for(u=0;u<_;u++)_i(v)}function Uc(e,t,n,r,i){var a=new Nl(document).getInertBodyElement(e);if(!a)throw new Error("Unable to generate inert body element");var s={vars:0,childIcus:[],create:[],remove:[],update:[]};return function e(t,n,r,i,a,s){if(t){for(var l=[];t;){var c=t.nextSibling,u=s+ ++n.vars;switch(t.nodeType){case Node.ELEMENT_NODE:var d=t,h=d.tagName.toLowerCase();if(Zl.hasOwnProperty(h)){n.create.push(ac,h,r<<17|1);for(var p=d.attributes,f=0;f<p.length;f++){var m=p.item(f),g=m.name.toLowerCase();m.value.match(hc)?Ql.hasOwnProperty(g)&&on(Jl[g]?bc(m.value,u,m.name,Ul):Xl[g]?bc(m.value,u,m.name,$l):bc(m.value,u,m.name),n.update):n.create.push(u<<3|4,m.name,m.value)}e(t.firstChild,n,u,i,a,s),n.remove.push(u<<3|3)}else n.vars--;break;case Node.TEXT_NODE:var v=t.textContent||"",_=v.match(hc);n.create.push(_?"":v,r<<17|1),n.remove.push(u<<3|3),_&&on(bc(v,u),n.update);break;case Node.COMMENT_NODE:var y=$c.exec(t.textContent||"");if(y){var b=parseInt(y[1],10);n.create.push(sc,"",r<<17|1),l.push([C=i[b],u])}else n.vars--;break;default:n.vars--}t=c}for(f=0;f<l.length;f++){var C,E=l[f][1];Vc(a,C=l[f][0],E,s+n.vars);var w=a.length-1;n.vars+=Math.max.apply(Math,Object(o.g)(a[w].vars)),n.childIcus.push(w);var k=Cc(C);n.update.push(kc(C.mainBinding),3,-1-C.mainBinding,E<<2|2,w,k,2,E<<2|3,w),n.remove.push(w<<3|6,E<<3|3)}}}((ic(a)||a).firstChild,s,t,n,r,i),s}var $c=/\ufffd(\d+)\ufffd/,Hc={provide:cl,useFactory:function(){return new Sl},deps:[]},Wc=function(e){function t(t,n){var o=e.call(this)||this;o._bootstrapComponents=[],o.destroyCbs=[];var r=Ee(t);return o._bootstrapComponents=r.bootstrap,o.injector=Hs(t,n,[Hc,{provide:No,useValue:o}]),o.instance=o.injector.get(t),o.componentFactoryResolver=new Sl,o}return Object(o.c)(t,e),t.prototype.destroy=function(){this.destroyCbs.forEach(function(e){return e()}),this.destroyCbs=null},t.prototype.onDestroy=function(e){this.destroyCbs.push(e)},t}(No),Kc=function(e){function t(t){var n=e.call(this)||this;return n.moduleType=t,n}return Object(o.c)(t,e),t.prototype.create=function(e){return new Wc(this.moduleType,e)},t}(jo);function Gc(e,t,n,r){var i,a=e;null!==t&&(void 0!==a.decorators?(i=a.decorators).push.apply(i,Object(o.g)(t)):a.decorators=t),null!==n&&(a.ctorParameters=n),null!==r&&(a.propDecorators=void 0!==a.propDecorators?Object(o.a)({},a.propDecorators,r):r)}function qc(e,t,n){var o=Mn()+e;return Cn()?Ga(o,n?t.call(n):t()):Wa(o)}function zc(e,t,n,o){var r=Mn()+e;return Ka(r,n)?Ga(r+1,o?t.call(o,n):t(n)):Wa(r+1)}function Yc(e,t,n,o,r){var i=Mn()+e;return qa(i,n,o)?Ga(i+2,r?t.call(r,n,o):t(n,o)):Wa(i+2)}function Zc(e,t,n,o,r,i){var a=Mn()+e;return za(a,n,o,r)?Ga(a+3,i?t.call(i,n,o,r):t(n,o,r)):Wa(a+3)}function Jc(e,t,n,o,r,i,a){var s=Mn()+e;return Ya(s,n,o,r,i)?Ga(s+4,a?t.call(a,n,o,r,i):t(n,o,r,i)):Wa(s+4)}function Xc(e,t,n,o,r,i,a,s){var l=Mn()+e,c=Ya(l,n,o,r,i);return Ka(l+4,a)||c?Ga(l+5,s?t.call(s,n,o,r,i,a):t(n,o,r,i,a)):Wa(l+5)}function Qc(e,t,n,o,r,i,a,s,l){var c=Mn()+e,u=Ya(c,n,o,r,i);return qa(c+4,a,s)||u?Ga(c+6,l?t.call(l,n,o,r,i,a,s):t(n,o,r,i,a,s)):Wa(c+6)}function eu(e,t,n,o,r,i,a,s,l,c){var u=Mn()+e,d=Ya(u,n,o,r,i);return za(u+4,a,s,l)||d?Ga(u+7,c?t.call(c,n,o,r,i,a,s,l):t(n,o,r,i,a,s,l)):Wa(u+7)}function tu(e,t,n,o,r,i,a,s,l,c,u){var d=Mn()+e,h=Ya(d,n,o,r,i);return Ya(d+4,a,s,l,c)||h?Ga(d+8,u?t.call(u,n,o,r,i,a,s,l,c):t(n,o,r,i,a,s,l,c)):Wa(d+8)}function nu(e,t,n,o){for(var r=Mn()+e,i=!1,a=0;a<n.length;a++)Ka(r++,n[a])&&(i=!0);return i?Ga(r,t.apply(o,n)):Wa(r)}function ou(e,t){var n,o=_n(),r=e+We;o.firstTemplatePass?(n=function(e,t){if(t)for(var n=0;n<t.length;n++){var o=t[n];if(e===o.name)return o}throw new Error("Pipe with name '"+e+"' not found!")}(t,o.pipeRegistry),o.data[r]=n,n.onDestroy&&(o.pipeDestroyHooks||(o.pipeDestroyHooks=[])).push(r,n.onDestroy)):n=o.data[r];var i=n.factory(null);return Va(e,i),i}function ru(e,t,n){var o=Ha(e);return cu(e)?zc(t,o.transform,n,o):o.transform(n)}function iu(e,t,n,o){var r=Ha(e);return cu(e)?Yc(t,r.transform,n,o,r):r.transform(n,o)}function au(e,t,n,o,r){var i=Ha(e);return cu(e)?Zc(t,i.transform,n,o,r,i):i.transform(n,o,r)}function su(e,t,n,o,r,i){var a=Ha(e);return cu(e)?Jc(t,a.transform,n,o,r,i,a):a.transform(n,o,r,i)}function lu(e,t,n){var o=Ha(e);return cu(e)?nu(t,o.transform,n,o):o.transform.apply(o,n)}function cu(e){return _n().data[e+We].pure}var uu=function(e){function t(t){void 0===t&&(t=!1);var n=e.call(this)||this;return n.__isAsync=t,n}return Object(o.c)(t,e),t.prototype.emit=function(t){e.prototype.next.call(this,t)},t.prototype.subscribe=function(t,n,o){var i,a=function(e){return null},s=function(){return null};t&&"object"==typeof t?(i=this.__isAsync?function(e){setTimeout(function(){return t.next(e)})}:function(e){t.next(e)},t.error&&(a=this.__isAsync?function(e){setTimeout(function(){return t.error(e)})}:function(e){t.error(e)}),t.complete&&(s=this.__isAsync?function(){setTimeout(function(){return t.complete()})}:function(){t.complete()})):(i=this.__isAsync?function(e){setTimeout(function(){return t(e)})}:function(e){t(e)},n&&(a=this.__isAsync?function(e){setTimeout(function(){return n(e)})}:function(e){n(e)}),o&&(s=this.__isAsync?function(){setTimeout(function(){return o()})}:function(){o()}));var l=e.prototype.subscribe.call(this,i,a,s);return t instanceof r.a&&t.add(l),l},t}(i.a),du=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return pu(e,hl)},e}(),hu=function(e,t){return ls(e,t,pn(),En())},pu=fo,fu=function(){function e(e,t,n){this.parent=e,this.shallow=t,this.deep=n}return e.prototype.track=function(e,t,n,o){n?this.deep=Ou(this.deep,e,t,null!=o?o:null):this.shallow=Ou(this.shallow,e,t,null!=o?o:null)},e.prototype.clone=function(){return new e(this,null,this.deep)},e.prototype.container=function(){var t=mu(this.shallow),n=mu(this.deep);return t||n?new e(this,t,n):null},e.prototype.createView=function(){var t=gu(this.shallow),n=gu(this.deep);return t||n?new e(this,t,n):null},e.prototype.insertView=function(e){vu(e,this.shallow),vu(e,this.deep)},e.prototype.addNode=function(e){return ku(this.deep,e),Mt(e)?(ku(this.shallow,e),e.parent&&Mt(e.parent)&&ku(this.parent.shallow,e),this.parent):(function(e){return null===e.parent||Mt(e.parent)}(e)&&ku(this.shallow,e),this)},e.prototype.removeView=function(){_u(this.shallow),_u(this.deep)},e}();function mu(e){for(var t=null;e;){var n=[];e.values.push(n),t={next:t,list:e.list,predicate:e.predicate,values:n,containerValues:null},e=e.next}return t}function gu(e){for(var t=null;e;)t={next:t,list:e.list,predicate:e.predicate,values:[],containerValues:e.values},e=e.next;return t}function vu(e,t){for(;t;)t.containerValues.splice(e,0,t.values),t=t.next}function _u(e){for(;e;){var t=e.containerValues,n=t.indexOf(e.values);t.splice(n,1)[0].length&&e.list.setDirty(),e=e.next}}function yu(e,t){var n=e.localNames;if(n)for(var o=0;o<n.length;o+=2)if(n[o]===t)return n[o+1];return null}function bu(e,t,n){var o=t[Ke].data;if(o)for(var r=e.flags,i=r>>16,a=i+(4095&r),s=i;s<a;s++)if(o[s].type===n)return s;return null}function Cu(e,t,n){var o=e[A];if("function"==typeof o)return o();var r=bu(t,n,e);return null!==r?n[r]:null}function Eu(e,t,n,o){var r=e[A]();return o?r?Cu(o,t,n):null:r}function wu(e,t,n,o){return n?Cu(n,e,t):o>-1?t[o]:function(e,t){return 3===e.type||4===e.type?ss(hl,e,t):0===e.type?ls(du,hl,e,t):null}(e,t)}function ku(e,t){for(var n=En();e;){var o=e.predicate,r=o.type;if(r){var i=null;r===du?i=Eu(r,t,n,o.read):null!==(l=bu(t,n,r))&&(i=wu(t,n,o.read,l)),null!==i&&Au(e,i)}else for(var a=o.selector,s=0;s<a.length;s++){var l;null!==(l=yu(t,a[s]))&&null!==(i=wu(t,n,o.read,l))&&Au(e,i)}e=e.next}}function Au(e,t){e.values.push(t),e.list.setDirty()}function Su(e,t){var n=Array.isArray(e);return{type:n?null:e,selector:n?e:null,read:t}}function Ou(e,t,n,o){return{next:e,list:t,predicate:Su(n,o),values:t._valuesTree,containerValues:null}}var xu=function(){function e(){this.dirty=!0,this.changes=new uu,this._values=[],this._valuesTree=[]}return Object.defineProperty(e.prototype,"length",{get:function(){return this._values.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"first",{get:function(){var e=this._values;return e.length?e[0]:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"last",{get:function(){var e=this._values;return e.length?e[e.length-1]:null},enumerable:!0,configurable:!0}),e.prototype.map=function(e){return this._values.map(e)},e.prototype.filter=function(e){return this._values.filter(e)},e.prototype.find=function(e){return this._values.find(e)},e.prototype.reduce=function(e,t){return this._values.reduce(e,t)},e.prototype.forEach=function(e){this._values.forEach(e)},e.prototype.some=function(e){return this._values.some(e)},e.prototype.toArray=function(){return this._values.slice(0)},e.prototype[re()]=function(){return this._values[re()]()},e.prototype.toString=function(){return this._values.toString()},e.prototype.reset=function(e){this._values=function(e){for(var t=[],n=0;n<e.length;){var o=e[n];Array.isArray(o)?o.length>0?(e=o.concat(e.slice(n+1)),n=0):n++:(t.push(o),n++)}return t}(e),this.dirty=!1},e.prototype.notifyOnChanges=function(){this.changes.emit(this)},e.prototype.setDirty=function(){this.dirty=!0},e.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},e}();function Du(e,t,n,o){var r,i=new xu;return(r=fu,Zt&&Zt!==tn[Je]&&!Mt(Zt)&&(Qt&&(Qt=Qt.clone()),Zt.flags|=16384),Qt||(Qt=new r(null,null,null))).track(i,t,n,o),Ni(null,i,i.destroy),null!=e&&Va(e,i),i}function Tu(e){return!!e.dirty&&(e.reset(e._valuesTree),e.notifyOnChanges(),!0)}function Ru(e,t){return ls(du,hl,e,t)}var Pu="__SANITIZER_TRUSTED_BRAND__";function Mu(e,t){return e instanceof String&&e[Pu]===t}function Iu(e){return ju(e,"Html")}function Fu(e){return ju(e,"Style")}function Lu(e){return ju(e,"Script")}function Bu(e){return ju(e,"Url")}function Nu(e){return ju(e,"ResourceUrl")}function ju(e,t){var n=new String(e);return n[Pu]=t,n}var Vu=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}({}),Uu=function(){return function(){}}(),$u=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Hu=/^url\(([^)]+)\)$/;function Wu(e){if(!(e=String(e).trim()))return"";var t=e.match(Hu);return t&&Ul(t[1])===t[1]||e.match($u)&&function(e){for(var t=!0,n=!0,o=0;o<e.length;o++){var r=e.charAt(o);"'"===r&&n?t=!t:'"'===r&&t&&(n=!n)}return t&&n}(e)?e:(Ll()&&console.warn("WARNING: sanitizing unsafe style value "+e+" (see http://g.co/ng/security#xss)."),"unsafe")}function Ku(e){var t=sn();return t?t.sanitize(Vu.HTML,e)||"":Mu(e,"Html")?e.toString():rc(document,St(e))}function Gu(e){var t=sn();return t?t.sanitize(Vu.STYLE,e)||"":Mu(e,"Style")?e.toString():Wu(St(e))}function qu(e){var t=sn();return t?t.sanitize(Vu.URL,e)||"":Mu(e,"Url")?e.toString():Ul(St(e))}function zu(e){var t=sn();if(t)return t.sanitize(Vu.RESOURCE_URL,e)||"";if(Mu(e,"ResourceUrl"))return e.toString();throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)")}var Yu={"\u0275defineBase":ge,"\u0275defineComponent":de,"\u0275defineDirective":ve,defineInjectable:S,defineInjector:O,"\u0275defineNgModule":fe,"\u0275definePipe":_e,"\u0275directiveInject":Za,"\u0275getFactoryOf":to,"\u0275getInheritedFactory":no,inject:Fe,"\u0275injectAttribute":Ja,"\u0275templateRefExtractor":Ru,"\u0275NgOnChangesFeature":Fs,"\u0275ProvidersFeature":ol,"\u0275InheritDefinitionFeature":Ps,"\u0275elementAttribute":Ui,"\u0275bind":Ta,"\u0275container":da,"\u0275nextContext":bi,"\u0275containerRefreshStart":pa,"\u0275containerRefreshEnd":fa,"\u0275loadQueryList":$a,"\u0275namespaceHTML":Si,"\u0275namespaceMathML":Ai,"\u0275namespaceSVG":ki,"\u0275enableBindings":ln,"\u0275disableBindings":cn,"\u0275elementStart":Ti,"\u0275elementEnd":Vi,"\u0275element":Oi,"\u0275elementContainerStart":xi,"\u0275elementContainerEnd":Di,"\u0275pureFunction0":qc,"\u0275pureFunction1":zc,"\u0275pureFunction2":Yc,"\u0275pureFunction3":Zc,"\u0275pureFunction4":Jc,"\u0275pureFunction5":Xc,"\u0275pureFunction6":Qc,"\u0275pureFunction7":eu,"\u0275pureFunction8":tu,"\u0275pureFunctionV":nu,"\u0275getCurrentView":un,"\u0275restoreView":hn,"\u0275interpolation1":Pa,"\u0275interpolation2":Ma,"\u0275interpolation3":Ia,"\u0275interpolation4":Fa,"\u0275interpolation5":La,"\u0275interpolation6":Ba,"\u0275interpolation7":Na,"\u0275interpolation8":ja,"\u0275interpolationV":Ra,"\u0275elementClassProp":Gi,"\u0275listener":Bi,"\u0275load":Ha,"\u0275projection":Ca,"\u0275elementProperty":$i,"\u0275pipeBind1":ru,"\u0275pipeBind2":iu,"\u0275pipeBind3":au,"\u0275pipeBind4":su,"\u0275pipeBindV":lu,"\u0275projectionDef":ya,"\u0275pipe":ou,"\u0275query":Du,"\u0275queryRefresh":Tu,"\u0275registerContentQuery":Xa,"\u0275reference":Ua,"\u0275elementStyling":qi,"\u0275elementStylingMap":Zi,"\u0275elementStyleProp":Yi,"\u0275elementStylingApply":zi,"\u0275template":ua,"\u0275text":Xi,"\u0275textBinding":Qi,"\u0275embeddedViewStart":ma,"\u0275embeddedViewEnd":ga,"\u0275i18n":Pc,"\u0275i18nAttributes":Mc,"\u0275i18nExp":Lc,"\u0275i18nStart":Sc,"\u0275i18nEnd":Dc,"\u0275i18nApply":Bc,"\u0275i18nPostprocess":xc,"\u0275sanitizeHtml":Ku,"\u0275sanitizeStyle":Gu,"\u0275defaultStyleSanitizer":function(e,t){return void 0===t?"background-image"===e||"background"===e||"border-image"===e||"filter"===e||"filter"===e||"list-style"===e||"list-style-image"===e:Gu(t)},"\u0275sanitizeResourceUrl":zu,"\u0275sanitizeScript":function(e){var t=sn();if(t)return t.sanitize(Vu.SCRIPT,e)||"";if(Mu(e,"Script"))return e.toString();throw new Error("unsafe value used in a script context")},"\u0275sanitizeUrl":qu},Zu=Function;function Ju(e){return"function"==typeof e}var Xu=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*arguments\)/,Qu=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,ed=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,td=function(){function e(e){this._reflect=e||te.Reflect}return e.prototype.isReflectionEnabled=function(){return!0},e.prototype.factory=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new(e.bind.apply(e,Object(o.g)([void 0],t)))}},e.prototype._zipTypesAndAnnotations=function(e,t){var n;n=void 0===e?new Array(t.length):new Array(e.length);for(var o=0;o<n.length;o++)n[o]=void 0===e?[]:e[o]!=Object?[e[o]]:[],t&&null!=t[o]&&(n[o]=n[o].concat(t[o]));return n},e.prototype._ownParameters=function(e,t){var n=e.toString();if(Xu.exec(n)||Qu.exec(n)&&!ed.exec(n))return null;if(e.parameters&&e.parameters!==t.parameters)return e.parameters;var o=e.ctorParameters;if(o&&o!==t.ctorParameters){var r="function"==typeof o?o():o,i=r.map(function(e){return e&&e.type}),a=r.map(function(e){return e&&nd(e.decorators)});return this._zipTypesAndAnnotations(i,a)}var s=e.hasOwnProperty(P)&&e[P],l=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",e);return l||s?this._zipTypesAndAnnotations(l,s):new Array(e.length).fill(void 0)},e.prototype.parameters=function(e){if(!Ju(e))return[];var t=od(e),n=this._ownParameters(e,t);return n||t===Object||(n=this.parameters(t)),n||[]},e.prototype._ownAnnotations=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?nd(e.decorators):e.hasOwnProperty(R)?e[R]:null},e.prototype.annotations=function(e){if(!Ju(e))return[];var t=od(e),n=this._ownAnnotations(e,t)||[];return(t!==Object?this.annotations(t):[]).concat(n)},e.prototype._ownPropMetadata=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 o=e.propDecorators,r={};return Object.keys(o).forEach(function(e){r[e]=nd(o[e])}),r}return e.hasOwnProperty(M)?e[M]:null},e.prototype.propMetadata=function(e){if(!Ju(e))return{};var t=od(e),n={};if(t!==Object){var r=this.propMetadata(t);Object.keys(r).forEach(function(e){n[e]=r[e]})}var i=this._ownPropMetadata(e,t);return i&&Object.keys(i).forEach(function(e){var t=[];n.hasOwnProperty(e)&&t.push.apply(t,Object(o.g)(n[e])),t.push.apply(t,Object(o.g)(i[e])),n[e]=t}),n},e.prototype.hasLifecycleHook=function(e,t){return e instanceof Zu&&t in e.prototype},e.prototype.guards=function(e){return{}},e.prototype.getter=function(e){return new Function("o","return o."+e+";")},e.prototype.setter=function(e){return new Function("o","v","return o."+e+" = v;")},e.prototype.method=function(e){return new Function("o","args","if (!o."+e+") throw new Error('\""+e+"\" is undefined');\n return o."+e+".apply(o, args);")},e.prototype.importUri=function(e){return"object"==typeof e&&e.filePath?e.filePath:"./"+se(e)},e.prototype.resourceUri=function(e){return"./"+se(e)},e.prototype.resolveIdentifier=function(e,t,n,o){return o},e.prototype.resolveEnum=function(e,t){return e[t]},e}();function nd(e){return e?e.map(function(e){var t=e.type.annotationCls,n=e.args?e.args:[];return new(t.bind.apply(t,Object(o.g)([void 0],n)))}):[]}function od(e){var t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}var rd=null;function id(){return rd=rd||new td}function ad(e){return sd(id().parameters(e))}function sd(e){var t=we();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 o(t){n.resolved=e.R3ResolvedDependencyType.Token,n.token=t}if(Array.isArray(t)){if(0===t.length)throw new Error("Dependency array must have arguments.");for(var r=0;r<t.length;r++){var i=t[r];if(void 0!==i)if(i instanceof Se||"Optional"===i.__proto__.ngMetadataName)n.optional=!0;else if(i instanceof xe||"SkipSelf"===i.__proto__.ngMetadataName)n.skipSelf=!0;else if(i instanceof Oe||"Self"===i.__proto__.ngMetadataName)n.self=!0;else if(i instanceof De||"Host"===i.__proto__.ngMetadataName)n.host=!0;else if(i instanceof Ae)n.token=i.token;else if(i instanceof j){if(void 0===i.attributeName)throw new Error("Attribute name must be defined.");n.token=i.attributeName,n.resolved=e.R3ResolvedDependencyType.Attribute}else o(i)}}else o(t);return n}(t,e)})}var ld=[];function cd(e,t){ud(e,t),function(e,t){var n=pd(t.declarations||ld),o=hd(e);n.forEach(function(t){t.hasOwnProperty(_)?dd(ye(t),o):t.hasOwnProperty(y)||t.hasOwnProperty(E)||(t.ngSelectorScope=e)})}(e,t)}function ud(e,t){var n=pd(t.declarations||ld),o=null;Object.defineProperty(e,w,{configurable:!0,get:function(){return null===o&&(o=we().compileNgModule(Yu,"ng://"+e.name+"/ngModuleDef.js",{type:e,bootstrap:pd(t.bootstrap||ld),declarations:n,imports:pd(t.imports||ld).map(fd),exports:pd(t.exports||ld).map(fd),emitInline:!0})),o}});var r=null;Object.defineProperty(e,C,{get:function(){if(null===r){var n={name:e.name,type:e,deps:ad(e),providers:t.providers||ld,imports:[t.imports||ld,t.exports||ld]};r=we().compileInjector(Yu,"ng://"+e.name+"/ngInjectorDef.js",n)}return r},configurable:!1})}function dd(e,t){e.directiveDefs=function(){return Array.from(t.compilation.directives).map(function(e){return be(e)||ye(e)}).filter(function(e){return!!e})},e.pipeDefs=function(){return Array.from(t.compilation.pipes).map(function(e){return Ce(e)})}}function hd(e){if(!md(e))throw new Error(e.name+" does not have an ngModuleDef");var t=Ee(e);if(null!==t.transitiveCompileScopes)return t.transitiveCompileScopes;var n={compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return t.declarations.forEach(function(e){Ce(e)?n.compilation.pipes.add(e):n.compilation.directives.add(e)}),t.imports.forEach(function(e){var t=e;if(!md(t))throw new Error("Importing "+t.name+" which does not have an ngModuleDef");var o=hd(t);o.exported.directives.forEach(function(e){return n.compilation.directives.add(e)}),o.exported.pipes.forEach(function(e){return n.compilation.pipes.add(e)})}),t.exports.forEach(function(e){var t=e;if(md(t)){var o=hd(t);o.exported.directives.forEach(function(e){n.compilation.directives.add(e),n.exported.directives.add(e)}),o.exported.pipes.forEach(function(e){n.compilation.pipes.add(e),n.exported.pipes.add(e)})}else Ee(t)?n.exported.pipes.add(t):n.exported.directives.add(t)}),t.transitiveCompileScopes=n,n}function pd(e){var t=[];return e.forEach(function(e){Array.isArray(e)?t.push.apply(t,Object(o.g)(pd(e))):t.push(e)}),t}function fd(e){return function(e){return void 0!==e.ngModule}(e)?e.ngModule:e}function md(e){return!!Ee(e)}function gd(e,t){var n=null;!function(e){Z(e)&&Y.add(e)}(t),Object.defineProperty(e,_,{get:function(){var r=we();if(null===n){if(Z(t)){var i=["Component '"+se(e)+"' is not resolved:"];throw t.templateUrl&&i.push(" - templateUrl: "+se(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 a=Object(o.a)({},yd(e,t),{template:t.template||"",preserveWhitespaces:t.preserveWhitespaces||!1,styles:t.styles||ce,animations:t.animations,viewQueries:Cd(id().propMetadata(e),wd),directives:new Map,pipes:new Map,encapsulation:t.encapsulation||X.Emulated,viewProviders:t.viewProviders||null});if(n=r.compileComponent(Yu,"ng://"+se(e)+"/template.html",a),void 0!==e.ngSelectorScope){var s=hd(e.ngSelectorScope);dd(n,s)}}return n},configurable:!1})}function vd(e,t){var n=null;Object.defineProperty(e,y,{get:function(){if(null===n){var o=yd(e,t);n=we().compileDirective(Yu,"ng://"+(e&&e.name)+"/ngDirectiveDef.js",o)}return n},configurable:!1})}function _d(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function yd(e,t){var n=id().propMetadata(e);return{name:e.name,type:e,typeArgumentCount:0,selector:t.selector,deps:ad(e),host:t.host||bd,propMetadata:n,inputs:t.inputs||ce,outputs:t.outputs||ce,queries:Cd(n,Ed),lifecycle:{usesOnChanges:void 0!==e.prototype.ngOnChanges},typeSourceSpan:null,usesInheritance:!_d(e),exportAs:t.exportAs||null,providers:t.providers||null}}var bd={};function Cd(e,t){var n=[],o=function(o){e.hasOwnProperty(o)&&e[o].forEach(function(e){t(e)&&n.push(function(e,t){return{propertyName:o,predicate:(n=t.selector,"string"==typeof n?n.split(",").map(function(e){return e.trim()}):n),descendants:t.descendants,first:t.first,read:t.read?t.read:null};var n}(0,e))})};for(var r in e)o(r);return n}function Ed(e){var t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function wd(e){var t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function kd(e,t){var n=null;Object.defineProperty(e,E,{get:function(){return null===n&&(n=we().compilePipe(Yu,"ng://"+St(e)+"/ngPipeDef.js",{type:e,name:e.name,deps:ad(e),pipeName:t.name,pure:void 0===t.pure||t.pure})),n},configurable:!1})}var Ad=I("Directive",function(e){return void 0===e&&(e={}),e},void 0,void 0,function(e,t){return Bd(e,t)}),Sd=I("Component",function(e){return void 0===e&&(e={}),Object(o.a)({changeDetection:K.Default},e)},Ad,void 0,function(e,t){return Ld(e,t)}),Od=I("Pipe",function(e){return Object(o.a)({pure:!0},e)},void 0,void 0,function(e,t){return Nd(e,t)}),xd=function(e){return function(t,n){for(var o=[],r=2;r<arguments.length;r++)o[r-2]=arguments[r];var i=t.constructor;i.hasOwnProperty(k)||function(e){var t=e.constructor,n=t.ngBaseDef,o=t.ngBaseDef={inputs:{},outputs:{},declaredInputs:{}};n&&(v(o.inputs,n.inputs),v(o.outputs,n.outputs),v(o.declaredInputs,n.declaredInputs))}(t),e(i.ngBaseDef)[n]=o[0]}},Dd=B("Input",function(e){return{bindingPropertyName:e}},void 0,xd(function(e){return e.inputs||{}})),Td=B("Output",function(e){return{bindingPropertyName:e}},void 0,xd(function(e){return e.outputs||{}})),Rd=B("HostBinding",function(e){return{hostPropertyName:e}}),Pd=B("HostListener",function(e,t){return{eventName:e,args:t}}),Md=gd,Id=vd,Fd=kd,Ld=fo,Bd=fo,Nd=fo,jd=g({provide:String,useValue:g}),Vd=[];function Ud(e,t){if(!t){var n=(c=new td).parameters(e);return function(){return new(e.bind.apply(e,Object(o.g)([void 0],Be(n))))}}if(jd in t){var r=t;return function(){return r.useValue}}if(t.useExisting){var i=t;return function(){return Fe(i.useExisting)}}if(t.useFactory){var a=t;return function(){return a.useFactory.apply(a,Object(o.g)(Be(a.deps||Vd)))}}if(t.useClass){var s=t,l=t.deps;if(!l){var c=new td;l=c.parameters(e)}return function(){var e;return new((e=s.useClass).bind.apply(e,Object(o.g)([void 0],Be(l))))}}var u=t.deps;return u||(c=new td,u=c.parameters(e)),function(){return new(e.bind.apply(e,Object(o.g)([void 0],Be(u))))}}var $d={name:"custom-elements"},Hd={name:"no-errors-schema"},Wd=I("NgModule",function(e){return e},void 0,void 0,function(e,t){return Gd(e,t)}),Kd=cd,Gd=function(e,t){var n=t&&t.imports||[];t&&t.exports&&(n=Object(o.g)(n,[t.exports])),e.ngInjectorDef=O({factory:Ud(e,{useClass:e}),providers:t&&t.providers,imports:n})},qd=g({provide:String,useValue:g});function zd(e){return void 0!==e.useClass}function Yd(e){return qd in e}function Zd(e){return void 0!==e.useFactory}function Jd(e){return void 0!==e.useExisting}var Xd=I("Injectable",void 0,void 0,void 0,function(e,t){return eh(e,t)}),Qd=function(e,t){var n=null;Object.defineProperty(e,b,{get:function(){if(null===n){var o=t||{providedIn:null},r=zd(o)||Zd(o)||Yd(o)||Jd(o),i={name:e.name,type:e,providedIn:o.providedIn,ctorDeps:ad(e),userDeps:void 0};if((zd(o)||Zd(o))&&void 0!==o.deps&&(i.userDeps=sd(o.deps)),r)if(zd(o))i.useClass=o.useClass;else if(Yd(o))i.useValue=o.useValue;else if(Zd(o))i.useFactory=o.useFactory;else{if(!Jd(o))throw new Error("Unreachable state.");i.useExisting=o.useExisting}else i.useClass=e;n=we().compileInjectable(Yu,"ng://"+e.name+"/ngInjectableDef.js",i)}return n}})},eh=function(e,t){t&&void 0!==t.providedIn&&!x(e)&&(e.ngInjectableDef=S({providedIn:t.providedIn,factory:Ud(e,t)}))},th="ngDebugContext",nh="ngOriginalError",oh="ngErrorLogger";function rh(e){return e[th]}function ih(e){return e[nh]}function ah(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e.error.apply(e,Object(o.g)(t))}var sh=function(){function e(){this._console=console}return e.prototype.handleError=function(e){var t=this._findOriginalError(e),n=this._findContext(e),o=function(e){return e[oh]||ah}(e);o(this._console,"ERROR",e),t&&o(this._console,"ORIGINAL ERROR",t),n&&o(this._console,"ERROR CONTEXT",n)},e.prototype._findContext=function(e){return e?rh(e)?rh(e):this._findContext(ih(e)):null},e.prototype._findOriginalError=function(e){for(var t=ih(e);t&&ih(t);)t=ih(t);return t},e}();function lh(e){return e.length>1?" ("+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 se(e.token)}).join(" -> ")+")":""}function ch(e,t,n,o){var r=[t],i=n(r),a=o?function(e,t){var n=i+" caused by: "+(t instanceof Error?t.message:t),o=Error(n);return o[nh]=t,o}(0,o):Error(i);return a.addKey=uh,a.keys=r,a.injectors=[e],a.constructResolvingMessage=n,a[nh]=o,a}function uh(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function dh(e,t){for(var n=[],o=0,r=t.length;o<r;o++){var i=t[o];n.push(i&&0!=i.length?i.map(se).join(" "):"?")}return Error("Cannot resolve all parameters for '"+se(e)+"'("+n.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+se(e)+"' is decorated with Injectable.")}var hh=function(){function e(e,t){if(this.token=e,this.id=t,!e)throw new Error("Token must be defined!");this.displayName=se(this.token)}return e.get=function(e){return ph.get(vo(e))},Object.defineProperty(e,"numberOfKeys",{get:function(){return ph.numberOfKeys},enumerable:!0,configurable:!0}),e}(),ph=new(function(){function e(){this._allKeys=new Map}return e.prototype.get=function(e){if(e instanceof hh)return e;if(this._allKeys.has(e))return this._allKeys.get(e);var t=new hh(e,hh.numberOfKeys);return this._allKeys.set(e,t),t},Object.defineProperty(e.prototype,"numberOfKeys",{get:function(){return this._allKeys.size},enumerable:!0,configurable:!0}),e}()),fh=new(function(){function e(e){this.reflectionCapabilities=e}return e.prototype.updateCapabilities=function(e){this.reflectionCapabilities=e},e.prototype.factory=function(e){return this.reflectionCapabilities.factory(e)},e.prototype.parameters=function(e){return this.reflectionCapabilities.parameters(e)},e.prototype.annotations=function(e){return this.reflectionCapabilities.annotations(e)},e.prototype.propMetadata=function(e){return this.reflectionCapabilities.propMetadata(e)},e.prototype.hasLifecycleHook=function(e,t){return this.reflectionCapabilities.hasLifecycleHook(e,t)},e.prototype.getter=function(e){return this.reflectionCapabilities.getter(e)},e.prototype.setter=function(e){return this.reflectionCapabilities.setter(e)},e.prototype.method=function(e){return this.reflectionCapabilities.method(e)},e.prototype.importUri=function(e){return this.reflectionCapabilities.importUri(e)},e.prototype.resourceUri=function(e){return this.reflectionCapabilities.resourceUri(e)},e.prototype.resolveIdentifier=function(e,t,n,o){return this.reflectionCapabilities.resolveIdentifier(e,t,n,o)},e.prototype.resolveEnum=function(e,t){return this.reflectionCapabilities.resolveEnum(e,t)},e}())(new td),mh=function(){function e(e,t,n){this.key=e,this.optional=t,this.visibility=n}return e.fromKey=function(t){return new e(t,!1,null)},e}(),gh=[],vh=function(){return function(e,t,n){this.key=e,this.resolvedFactories=t,this.multiProvider=n,this.resolvedFactory=this.resolvedFactories[0]}}(),_h=function(){return function(e,t){this.factory=e,this.dependencies=t}}();function yh(e){var t,n;if(e.useClass){var o=vo(e.useClass);t=fh.factory(o),n=Eh(o)}else e.useExisting?(t=function(e){return e},n=[mh.fromKey(hh.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 wh(e,t,n)})}return Eh(e)}(e.useFactory,e.deps)):(t=function(){return e.useValue},n=gh);return new _h(t,n)}function bh(e){return new vh(hh.get(e.provide),[yh(e)],e.multi||!1)}function Ch(e){var t=function(e,t){for(var n=0;n<e.length;n++){var o=e[n],r=t.get(o.key.id);if(r){if(o.multiProvider!==r.multiProvider)throw Error("Cannot mix multi providers and regular providers, got: "+r+" "+o);if(o.multiProvider)for(var i=0;i<o.resolvedFactories.length;i++)r.resolvedFactories.push(o.resolvedFactories[i]);else t.set(o.key.id,o)}else{var a;a=o.multiProvider?new vh(o.key,o.resolvedFactories.slice(),o.multiProvider):o,t.set(o.key.id,a)}}return t}(function e(t,n){return t.forEach(function(t){if(t instanceof Zu)n.push({provide:t,useClass:t});else if(t&&"object"==typeof t&&void 0!==t.provide)n.push(t);else{if(!(t instanceof Array))throw Error("Invalid provider - only instances of Provider and Type are allowed, got: "+t);e(t,n)}}),n}(e,[]).map(bh),new Map);return Array.from(t.values())}function Eh(e){var t=fh.parameters(e);if(!t)return[];if(t.some(function(e){return null==e}))throw dh(e,t);return t.map(function(n){return wh(e,n,t)})}function wh(e,t,n){var o=null,r=!1;if(!Array.isArray(t))return kh(t instanceof Ae?t.token:t,r,null);for(var i=null,a=0;a<t.length;++a){var s=t[a];s instanceof Zu?o=s:s instanceof Ae?o=s.token:s instanceof Se?r=!0:s instanceof Oe||s instanceof xe?i=s:s instanceof T&&(o=s)}if(null!=(o=vo(o)))return kh(o,r,i);throw dh(e,n)}function kh(e,t,n){return new mh(hh.get(e),t,n)}var Ah=new Object,Sh=function(){function e(){}return e.resolve=function(e){return Ch(e)},e.resolveAndCreate=function(t,n){var o=e.resolve(t);return e.fromResolvedProviders(o,n)},e.fromResolvedProviders=function(e,t){return new Oh(e,t)},e}(),Oh=function(){function e(e,t){this._constructionCounter=0,this._providers=e,this.parent=t||null;var n=e.length;this.keyIds=new Array(n),this.objs=new Array(n);for(var o=0;o<n;o++)this.keyIds[o]=e[o].key.id,this.objs[o]=Ah}return e.prototype.get=function(e,t){return void 0===t&&(t=bo),this._getByKey(hh.get(e),null,t)},e.prototype.resolveAndCreateChild=function(e){var t=Sh.resolve(e);return this.createChildFromResolved(t)},e.prototype.createChildFromResolved=function(t){var n=new e(t);return n.parent=this,n},e.prototype.resolveAndInstantiate=function(e){return this.instantiateResolved(Sh.resolve([e])[0])},e.prototype.instantiateResolved=function(e){return this._instantiateProvider(e)},e.prototype.getProviderAtIndex=function(e){if(e<0||e>=this._providers.length)throw function(e){return Error("Index "+e+" is out-of-bounds.")}(e);return this._providers[e]},e.prototype._new=function(e){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw ch(this,e.key,function(e){return"Cannot instantiate cyclic dependency!"+lh(e)});return this._instantiateProvider(e)},e.prototype._getMaxNumberOfObjects=function(){return this.objs.length},e.prototype._instantiateProvider=function(e){if(e.multiProvider){for(var t=new Array(e.resolvedFactories.length),n=0;n<e.resolvedFactories.length;++n)t[n]=this._instantiate(e,e.resolvedFactories[n]);return t}return this._instantiate(e,e.resolvedFactories[0])},e.prototype._instantiate=function(e,t){var n,r,i,a=this,s=t.factory;try{n=t.dependencies.map(function(e){return a._getByReflectiveDependency(e)})}catch(l){throw l.addKey&&l.addKey(this,e.key),l}try{r=s.apply(void 0,Object(o.g)(n))}catch(l){throw ch(this,e.key,function(e){var t=se(e[0].token);return i.message+": Error during instantiation of "+t+"!"+lh(e)+"."},i=l)}return r},e.prototype._getByReflectiveDependency=function(e){return this._getByKey(e.key,e.visibility,e.optional?null:bo)},e.prototype._getByKey=function(t,n,o){return t===e.INJECTOR_KEY?this:n instanceof Oe?this._getByKeySelf(t,o):this._getByKeyDefault(t,o,n)},e.prototype._getObjByKeyId=function(e){for(var t=0;t<this.keyIds.length;t++)if(this.keyIds[t]===e)return this.objs[t]===Ah&&(this.objs[t]=this._new(this._providers[t])),this.objs[t];return Ah},e.prototype._throwOrNull=function(e,t){if(t!==bo)return t;throw function(e,t){return ch(e,t,function(e){return"No provider for "+se(e[0].token)+"!"+lh(e)})}(this,e)},e.prototype._getByKeySelf=function(e,t){var n=this._getObjByKeyId(e.id);return n!==Ah?n:this._throwOrNull(e,t)},e.prototype._getByKeyDefault=function(t,n,o){var r;for(r=o instanceof xe?this.parent:this;r instanceof e;){var i=r,a=i._getObjByKeyId(t.id);if(a!==Ah)return a;r=i.parent}return null!==r?r.get(t.token,n):this._throwOrNull(t,n)},Object.defineProperty(e.prototype,"displayName",{get:function(){return"ReflectiveInjector(providers: ["+function(e,t){for(var n=new Array(e._providers.length),o=0;o<e._providers.length;++o)n[o]=' "'+e.getProviderAtIndex(o).key.displayName+'" ';return n}(this).join(", ")+"])"},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this.displayName},e.INJECTOR_KEY=hh.get(wo),e}();function xh(e){return!!e&&"function"==typeof e.then}function Dh(e){return!!e&&"function"==typeof e.subscribe}var Th=new T("Application Initializer"),Rh=function(){function e(e){var t=this;this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise(function(e,n){t.resolve=e,t.reject=n})}return e.prototype.runInitializers=function(){var e=this;if(!this.initialized){var t=[],n=function(){e.done=!0,e.resolve()};if(this.appInits)for(var o=0;o<this.appInits.length;o++){var r=this.appInits[o]();xh(r)&&t.push(r)}Promise.all(t).then(function(){n()}).catch(function(t){e.reject(t)}),0===t.length&&n(),this.initialized=!0}},e}(),Ph=new T("AppId");function Mh(){return""+Fh()+Fh()+Fh()}var Ih={provide:Ph,useFactory:Mh,deps:[]};function Fh(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var Lh=new T("Platform Initializer"),Bh=new T("Platform ID"),Nh=new T("appBootstrapListener"),jh=new T("Application Packages Root URL"),Vh=function(){function e(){}return e.prototype.log=function(e){console.log(e)},e.prototype.warn=function(e){console.warn(e)},e}(),Uh=function(){return function(e,t){this.ngModuleFactory=e,this.componentFactories=t}}();function $h(){throw new Error("Runtime compiler is not loaded")}var Hh,Wh,Kh=function(){function e(){}return e.prototype.compileModuleSync=function(e){throw $h()},e.prototype.compileModuleAsync=function(e){throw $h()},e.prototype.compileModuleAndAllComponentsSync=function(e){throw $h()},e.prototype.compileModuleAndAllComponentsAsync=function(e){throw $h()},e.prototype.clearCache=function(){},e.prototype.clearCacheFor=function(e){},e.prototype.getModuleId=function(e){},e}(),Gh=new T("compilerOptions"),qh=function(){return function(){}}();function zh(){var e=te.wtf;return!(!e||!(Hh=e.trace)||(Wh=Hh.events,0))}function Yh(e,t){return void 0===t&&(t=null),Wh.createScope(e,t)}function Zh(e,t){return Hh.leaveScope(e,t),t}function Jh(e,t){return Hh.beginTimeRange(e,t)}function Xh(e){Hh.endTimeRange(e)}var Qh=zh();function ep(e,t){return null}var tp=Qh?Yh:function(e,t){return ep},np=Qh?Zh:function(e,t){return t},op=Qh?Jh:function(e,t){return null},rp=Qh?Xh:function(e){return null},ip=function(){function e(e){var t,n=e.enableLongStackTrace,o=void 0!==n&&n;if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new uu(!1),this.onMicrotaskEmpty=new uu(!1),this.onStable=new uu(!1),this.onError=new uu(!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)),(t=this)._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(e,n,o,r,i,a){try{return cp(t),e.invokeTask(o,r,i,a)}finally{up(t)}},onInvoke:function(e,n,o,r,i,a,s){try{return cp(t),e.invoke(o,r,i,a,s)}finally{up(t)}},onHasTask:function(e,n,o,r){e.hasTask(o,r),n===o&&("microTask"==r.change?(t.hasPendingMicrotasks=r.microTask,lp(t)):"macroTask"==r.change&&(t.hasPendingMacrotasks=r.macroTask))},onHandleError:function(e,n,o,r){return e.handleError(o,r),t.runOutsideAngular(function(){return t.onError.emit(r)}),!1}})}return e.isInAngularZone=function(){return!0===Zone.current.get("isAngularZone")},e.assertInAngularZone=function(){if(!e.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")},e.assertNotInAngularZone=function(){if(e.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")},e.prototype.run=function(e,t,n){return this._inner.run(e,t,n)},e.prototype.runTask=function(e,t,n,o){var r=this._inner,i=r.scheduleEventTask("NgZoneEvent: "+o,e,sp,ap,ap);try{return r.runTask(i,t,n)}finally{r.cancelTask(i)}},e.prototype.runGuarded=function(e,t,n){return this._inner.runGuarded(e,t,n)},e.prototype.runOutsideAngular=function(e){return this._outer.run(e)},e}();function ap(){}var sp={};function lp(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 cp(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function up(e){e._nesting--,lp(e)}var dp=function(){function e(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new uu,this.onMicrotaskEmpty=new uu,this.onStable=new uu,this.onError=new uu}return e.prototype.run=function(e){return e()},e.prototype.runGuarded=function(e){return e()},e.prototype.runOutsideAngular=function(e){return e()},e.prototype.runTask=function(e){return e()},e}(),hp=function(){function e(e){var t=this;this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(function(){t.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}return e.prototype._watchAngularEvents=function(){var e=this;this._ngZone.onUnstable.subscribe({next:function(){e._didWork=!0,e._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){e._ngZone.onStable.subscribe({next:function(){ip.assertNotInAngularZone(),ie(function(){e._isZoneStable=!0,e._runCallbacksIfReady()})}})})},e.prototype.increasePendingRequestCount=function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount},e.prototype.decreasePendingRequestCount=function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount},e.prototype.isStable=function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks},e.prototype._runCallbacksIfReady=function(){var e=this;if(this.isStable())ie(function(){for(;0!==e._callbacks.length;){var t=e._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(e._didWork)}e._didWork=!1});else{var t=this.getPendingTasks();this._callbacks=this._callbacks.filter(function(e){return!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)}),this._didWork=!0}},e.prototype.getPendingTasks=function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(function(e){return{source:e.source,creationLocation:e.creationLocation,data:e.data}}):[]},e.prototype.addCallback=function(e,t,n){var o=this,r=-1;t&&t>0&&(r=setTimeout(function(){o._callbacks=o._callbacks.filter(function(e){return e.timeoutId!==r}),e(o._didWork,o.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:n})},e.prototype.whenStable=function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()},e.prototype.getPendingRequestCount=function(){return this._pendingCount},e.prototype.findProviders=function(e,t,n){return[]},e}(),pp=function(){function e(){this._applications=new Map,gp.addToWindow(this)}return e.prototype.registerApplication=function(e,t){this._applications.set(e,t)},e.prototype.unregisterApplication=function(e){this._applications.delete(e)},e.prototype.unregisterAllApplications=function(){this._applications.clear()},e.prototype.getTestability=function(e){return this._applications.get(e)||null},e.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},e.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},e.prototype.findTestabilityInTree=function(e,t){return void 0===t&&(t=!0),gp.findTestabilityInTree(this,e,t)},Object(o.b)([Object(o.d)("design:paramtypes",[])],e)}();function fp(e){gp=e}var mp,gp=new(function(){function e(){}return e.prototype.addToWindow=function(e){},e.prototype.findTestabilityInTree=function(e,t,n){return null},e}());function vp(e,t,n){return Promise.resolve(new Kc(n))}var _p=new T("AllowMultipleToken"),yp=function(){return function(e,t){this.name=e,this.token=t}}();function bp(e){if(mp&&!mp.destroyed&&!mp.injector.get(_p,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");mp=e.get(Ap);var t=e.get(Lh,null);return t&&t.forEach(function(e){return e()}),mp}function Cp(e,t,n){void 0===n&&(n=[]);var o="Platform: "+t,r=new T(o);return function(t){void 0===t&&(t=[]);var i=kp();if(!i||i.injector.get(_p,!1))if(e)e(n.concat(t).concat({provide:r,useValue:!0}));else{var a=n.concat(t).concat({provide:r,useValue:!0});bp(wo.create({providers:a,name:o}))}return Ep(r)}}function Ep(e){var t=kp();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 wp(){mp&&!mp.destroyed&&mp.destroy()}function kp(){return mp&&!mp.destroyed?mp:null}var Ap=function(){function e(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return e.prototype.bootstrapModuleFactory=function(e,t){var n,o=this,r="noop"===(n=t?t.ngZone:void 0)?new dp:("zone.js"===n?void 0:n)||new ip({enableLongStackTrace:Ll()}),i=[{provide:ip,useValue:r}];return r.run(function(){var t=wo.create({providers:i,parent:o.injector,name:e.moduleType.name}),n=e.create(t),a=n.injector.get(sh,null);if(!a)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy(function(){return xp(o._modules,n)}),r.runOutsideAngular(function(){return r.onError.subscribe({next:function(e){a.handleError(e)}})}),function(e,t,r){try{var i=((a=n.injector.get(Rh)).runInitializers(),a.donePromise.then(function(){return o._moduleDoBootstrap(n),n}));return xh(i)?i.catch(function(n){throw t.runOutsideAngular(function(){return e.handleError(n)}),n}):i}catch(s){throw t.runOutsideAngular(function(){return e.handleError(s)}),s}var a}(a,r)})},e.prototype.bootstrapModule=function(e,t){var n=this;void 0===t&&(t=[]);var o=Sp({},t);return function(e,t,n){return e.get(qh).createCompiler([t]).compileModuleAsync(n)}(this.injector,o,e).then(function(e){return n.bootstrapModuleFactory(e,o)})},e.prototype._moduleDoBootstrap=function(e){var t=e.injector.get(Op);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module "+se(e.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');e.instance.ngDoBootstrap(t)}this._modules.push(e)},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},Object.defineProperty(e.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(e){return e.destroy()}),this._destroyListeners.forEach(function(e){return e()}),this._destroyed=!0},Object.defineProperty(e.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),e}();function Sp(e,t){return Array.isArray(t)?t.reduce(Sp,e):Object(o.a)({},e,t)}var Op=function(){function e(e,t,n,o,r,i){var l=this;this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=o,this._componentFactoryResolver=r,this._initStatus=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Ll(),this._zone.onMicrotaskEmpty.subscribe({next:function(){l._zone.run(function(){l.tick()})}});var u=new a.a(function(e){l._stable=l._zone.isStable&&!l._zone.hasPendingMacrotasks&&!l._zone.hasPendingMicrotasks,l._zone.runOutsideAngular(function(){e.next(l._stable),e.complete()})}),d=new a.a(function(e){var t;l._zone.runOutsideAngular(function(){t=l._zone.onStable.subscribe(function(){ip.assertNotInAngularZone(),ie(function(){l._stable||l._zone.hasPendingMacrotasks||l._zone.hasPendingMicrotasks||(l._stable=!0,e.next(!0))})})});var n=l._zone.onUnstable.subscribe(function(){ip.assertInAngularZone(),l._stable&&(l._stable=!1,l._zone.runOutsideAngular(function(){e.next(!1)}))});return function(){t.unsubscribe(),n.unsubscribe()}});this.isStable=Object(s.a)(u,d.pipe(function(e){return c()((t=m,function(e){var n;n="function"==typeof t?t:function(){return t};var o=Object.create(e,p);return o.source=e,o.subjectFactory=n,o})(e));var t}))}var t;return t=e,e.prototype.bootstrap=function(e,t){var n,o=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 il?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var r=n instanceof dl?null:this._injector.get(No),i=n.create(wo.NULL,[],t||n.selector,r);i.onDestroy(function(){o._unloadComponent(i)});var a=i.injector.get(hp,null);return a&&i.injector.get(pp).registerApplication(i.location.nativeElement,a),this._loadComponent(i),Ll()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),i},e.prototype.tick=function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=t._tickScope();try{this._runningTick=!0,this._views.forEach(function(e){return e.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(e){return e.checkNoChanges()})}catch(o){this._zone.runOutsideAngular(function(){return e._exceptionHandler.handleError(o)})}finally{this._runningTick=!1,np(n)}},e.prototype.attachView=function(e){var t=e;this._views.push(t),t.attachToAppRef(this)},e.prototype.detachView=function(e){var t=e;xp(this._views,t),t.detachFromAppRef()},e.prototype._loadComponent=function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Nh,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})},e.prototype._unloadComponent=function(e){this.detachView(e.hostView),xp(this.components,e)},e.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(e){return e.destroy()})},Object.defineProperty(e.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),e._tickScope=tp("ApplicationRef#tick()"),e}();function xp(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var Dp=function(){return function(){}}(),Tp=new Map;function Rp(e,t){var n=Tp.get(e);if(n)throw new Error("Duplicate module registered for "+e+" - "+n.moduleType.name+" vs "+t.moduleType.name);Tp.set(e,t)}function Pp(e){var t=Tp.get(e);if(!t)throw new Error("No module with ID "+e+" loaded");return t}var Mp=function(){function e(){this.dirty=!0,this._results=[],this.changes=new uu,this.length=0}return e.prototype.map=function(e){return this._results.map(e)},e.prototype.filter=function(e){return this._results.filter(e)},e.prototype.find=function(e){return this._results.find(e)},e.prototype.reduce=function(e,t){return this._results.reduce(e,t)},e.prototype.forEach=function(e){this._results.forEach(e)},e.prototype.some=function(e){return this._results.some(e)},e.prototype.toArray=function(){return this._results.slice()},e.prototype[re()]=function(){return this._results[re()]()},e.prototype.toString=function(){return this._results.toString()},e.prototype.reset=function(e){this._results=function e(t){return t.reduce(function(t,n){var o=Array.isArray(n)?e(n):n;return t.concat(o)},[])}(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},e.prototype.notifyOnChanges=function(){this.changes.emit(this)},e.prototype.setDirty=function(){this.dirty=!0},e.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},e}(),Ip=function(){return function(){}}(),Fp={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Lp=function(){function e(e,t){this._compiler=e,this._config=t||Fp}return e.prototype.load=function(e){return this._compiler instanceof Kh?this.loadFactory(e):this.loadAndCompile(e)},e.prototype.loadAndCompile=function(e){var t=this,r=Object(o.f)(e.split("#"),2),i=r[0],a=r[1];return void 0===a&&(a="default"),n("crnd")(i).then(function(e){return e[a]}).then(function(e){return Bp(e,i,a)}).then(function(e){return t._compiler.compileModuleAsync(e)})},e.prototype.loadFactory=function(e){var t=Object(o.f)(e.split("#"),2),r=t[0],i=t[1],a="NgFactory";return void 0===i&&(i="default",a=""),n("crnd")(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then(function(e){return e[i+a]}).then(function(e){return Bp(e,r,i)})},e}();function Bp(e,t,n){if(!e)throw new Error("Cannot find '"+n+"' in '"+t+"'");return e}var Np=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return Vp(e,hl)},e}(),jp=function(e,t){return function(e,t,n,r){var i;rs||(rs=function(e){function n(t,n,o){var r=e.call(this)||this;return r._lContainer=t,r._hostTNode=n,r._hostView=o,r._viewRefs=[],r}return Object(o.c)(n,e),Object.defineProperty(n.prototype,"element",{get:function(){return ss(t,this._hostTNode,this._hostView)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"injector",{get:function(){return new cs(this._hostTNode,this._hostView)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"parentInjector",{get:function(){var e=Kn(this._hostTNode,this._hostView),t=Kt(e,this._hostView),n=function(e,t,n){if(n.parent&&-1!==n.parent.injectorIndex){for(var o=n.parent.injectorIndex,r=n.parent;null!=r.parent&&o==r.injectorIndex;)r=r.parent;return r}for(var i=Wt(e),a=t,s=t[Je];i>1;)s=(a=a[st])[Je],i--;return s}(e,this._hostView,this._hostTNode);return $t(e)&&null!=n?new cs(n,t):new Eo},enumerable:!0,configurable:!0}),n.prototype.clear=function(){for(;this._lContainer[Et].length;)this.remove(0)},n.prototype.get=function(e){return this._viewRefs[e]||null},Object.defineProperty(n.prototype,"length",{get:function(){return this._lContainer[Et].length},enumerable:!0,configurable:!0}),n.prototype.createEmbeddedView=function(e,t,n){var o=this._adjustIndex(n),r=e.createEmbeddedView(t||{},this._lContainer,this._hostTNode,this._hostView,o);return r.attachToViewContainerRef(this),this._viewRefs.splice(o,0,r),r},n.prototype.createComponent=function(e,t,n,o,r){var i=n||this.parentInjector;!r&&i&&(r=i.get(No,null));var a=e.create(i,o,void 0,r);return this.insert(a.hostView,t),a},n.prototype.insert=function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n=e._view,o=this._adjustIndex(t);return tr(n,this._lContainer,this._hostView,o,this._hostTNode.index),er(n,!0,fr(o,this._lContainer[Et],this._lContainer[wt])),e.attachToViewContainerRef(this),this._viewRefs.splice(o,0,e),e},n.prototype.move=function(e,t){var n=this.indexOf(e);return this.detach(n),this.insert(e,this._adjustIndex(t)),e},n.prototype.indexOf=function(e){return this._viewRefs.indexOf(e)},n.prototype.remove=function(e){var t=this._adjustIndex(e,-1);or(this._lContainer,this._hostTNode,t),this._viewRefs.splice(t,1)},n.prototype.detach=function(e){var t=this._adjustIndex(e,-1);return nr(this._lContainer,t,!!this._hostTNode.detached),this._viewRefs.splice(t,1)[0]||null},n.prototype._adjustIndex=function(e,t){return void 0===t&&(t=0),null==e?this._lContainer[Et].length+t:e},n}(e));var a=r[n.index];if(Lt(a))(i=a)[Ct]=-1;else{var s=r[nt].createComment("");if(Bt(r)){var l=r[nt],c=Tt(n,r);ur(l,dr(l,c),s,function(e,t){return Ho(e)?e.nextSibling(t):t.nextSibling}(l,c))}else hr(s,n,r);r[n.index]=i=ca(a,n,r,s,!0),Ea(r,n.index,i)}return new rs(i,n,r)}(e,t,pn(),En())},Vp=fo,Up=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return Hp()},e}(),$p=function(){return us(pn(),En(),null)},Hp=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]},Wp=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.c)(t,e),t}(Up),Kp=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.c)(t,e),t}(Wp),Gp=function(){return function(e,t){this.name=e,this.callback=t}}(),qp=function(){function e(e,t,n){this.nativeNode=e,this._debugContext=n,this.listeners=[],this.parent=null,t&&t instanceof zp&&t.addChild(this)}return Object.defineProperty(e.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),e}(),zp=function(e){function t(t,n,o){var r=e.call(this,t,n,o)||this;return r.properties={},r.attributes={},r.classes={},r.styles={},r.childNodes=[],r.nativeElement=t,r}return Object(o.c)(t,e),t.prototype.addChild=function(e){e&&(this.childNodes.push(e),e.parent=this)},t.prototype.removeChild=function(e){var t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))},t.prototype.insertChildrenAfter=function(e,t){var n,r=this,i=this.childNodes.indexOf(e);-1!==i&&((n=this.childNodes).splice.apply(n,Object(o.g)([i+1,0],t)),t.forEach(function(e){e.parent&&e.parent.removeChild(e),e.parent=r}))},t.prototype.insertBefore=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))},t.prototype.query=function(e){return this.queryAll(e)[0]||null},t.prototype.queryAll=function(e){var t=[];return function e(t,n,o){t.childNodes.forEach(function(t){t instanceof zp&&(n(t)&&o.push(t),e(t,n,o))})}(this,e,t),t},t.prototype.queryAllNodes=function(e){var t=[];return function e(t,n,o){t instanceof zp&&t.childNodes.forEach(function(t){n(t)&&o.push(t),t instanceof zp&&e(t,n,o)})}(this,e,t),t},Object.defineProperty(t.prototype,"children",{get:function(){return this.childNodes.filter(function(e){return e instanceof t})},enumerable:!0,configurable:!0}),t.prototype.triggerEventHandler=function(e,t){this.listeners.forEach(function(n){n.name==e&&n.callback(t)})},t}(qp);function Yp(e){return e.map(function(e){return e.nativeElement})}var Zp=new Map;function Jp(e){return Zp.get(e)||null}function Xp(e){Zp.set(e.nativeNode,e)}var Qp=function(){function e(){}return e.prototype.supports=function(e){return yt(e)},e.prototype.create=function(e){return new tf(e)},e}(),ef=function(e,t){return t},tf=function(){function e(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||ef}return e.prototype.forEachItem=function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)},e.prototype.forEachOperation=function(e){for(var t=this._itHead,n=this._removalsHead,o=0,r=null;t||n;){var i=!n||t&&t.currentIndex<af(n,o,r)?t:n,a=af(i,o,r),s=i.currentIndex;if(i===n)o--,n=n._nextRemoved;else if(t=t._next,null==i.previousIndex)o++;else{r||(r=[]);var l=a-o,c=s-o;if(l!=c){for(var u=0;u<l;u++){var d=u<r.length?r[u]:r[u]=0,h=d+u;c<=h&&h<l&&(r[u]=d+1)}r[i.previousIndex]=c-l}}a!==s&&e(i,a,s)}},e.prototype.forEachPreviousItem=function(e){var t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)},e.prototype.forEachAddedItem=function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)},e.prototype.forEachMovedItem=function(e){var t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)},e.prototype.forEachRemovedItem=function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)},e.prototype.forEachIdentityChange=function(e){var t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)},e.prototype.diff=function(e){if(null==e&&(e=[]),!yt(e))throw new Error("Error trying to diff '"+se(e)+"'. Only arrays and iterables are allowed");return this.check(e)?this:null},e.prototype.onDestroy=function(){},e.prototype.check=function(e){var t=this;this._reset();var n,o,r,i=this._itHead,a=!1;if(Array.isArray(e)){this.length=e.length;for(var s=0;s<this.length;s++)r=this._trackByFn(s,o=e[s]),null!==i&&ae(i.trackById,r)?(a&&(i=this._verifyReinsertion(i,o,r,s)),ae(i.item,o)||this._addIdentityChange(i,o)):(i=this._mismatch(i,o,r,s),a=!0),i=i._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 o=e[re()](),r=void 0;!(r=o.next()).done;)t(r.value)}(e,function(e){r=t._trackByFn(n,e),null!==i&&ae(i.trackById,r)?(a&&(i=t._verifyReinsertion(i,e,r,n)),ae(i.item,e)||t._addIdentityChange(i,e)):(i=t._mismatch(i,e,r,n),a=!0),i=i._next,n++}),this.length=n;return this._truncate(i),this.collection=e,this.isDirty},Object.defineProperty(e.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead},enumerable:!0,configurable:!0}),e.prototype._reset=function(){if(this.isDirty){var e=void 0,t=void 0;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}},e.prototype._mismatch=function(e,t,n,o){var r;return null===e?r=this._itTail:(r=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,o))?(ae(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,r,o)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(ae(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,r,o)):e=this._addAfter(new nf(t,n),r,o),e},e.prototype._verifyReinsertion=function(e,t,n,o){var r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==r?e=this._reinsertAfter(r,e._prev,o):e.currentIndex!=o&&(e.currentIndex=o,this._addToMoves(e,o)),e},e.prototype._truncate=function(e){for(;null!==e;){var t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)},e.prototype._reinsertAfter=function(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);var o=e._prevRemoved,r=e._nextRemoved;return null===o?this._removalsHead=r:o._nextRemoved=r,null===r?this._removalsTail=o:r._prevRemoved=o,this._insertAfter(e,t,n),this._addToMoves(e,n),e},e.prototype._moveAfter=function(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e},e.prototype._addAfter=function(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e},e.prototype._insertAfter=function(e,t,n){var o=null===t?this._itHead:t._next;return e._next=o,e._prev=t,null===o?this._itTail=e:o._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new rf),this._linkedRecords.put(e),e.currentIndex=n,e},e.prototype._remove=function(e){return this._addToRemovals(this._unlink(e))},e.prototype._unlink=function(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);var t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e},e.prototype._addToMoves=function(e,t){return e.previousIndex===t?e:(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e,e)},e.prototype._addToRemovals=function(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new rf),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e},e.prototype._addIdentityChange=function(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e},e}(),nf=function(){return function(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}(),of=function(){function e(){this._head=null,this._tail=null}return e.prototype.add=function(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)},e.prototype.get=function(e,t){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&ae(n.trackById,e))return n;return null},e.prototype.remove=function(e){var t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head},e}(),rf=function(){function e(){this.map=new Map}return e.prototype.put=function(e){var t=e.trackById,n=this.map.get(t);n||(n=new of,this.map.set(t,n)),n.add(e)},e.prototype.get=function(e,t){var n=this.map.get(e);return n?n.get(e,t):null},e.prototype.remove=function(e){var t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e},Object.defineProperty(e.prototype,"isEmpty",{get:function(){return 0===this.map.size},enumerable:!0,configurable:!0}),e.prototype.clear=function(){this.map.clear()},e}();function af(e,t,n){var o=e.previousIndex;if(null===o)return o;var r=0;return n&&o<n.length&&(r=n[o]),o+t+r}var sf=function(){function e(){}return e.prototype.supports=function(e){return e instanceof Map||bt(e)},e.prototype.create=function(){return new lf},e}(),lf=function(){function e(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return Object.defineProperty(e.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead},enumerable:!0,configurable:!0}),e.prototype.forEachItem=function(e){var t;for(t=this._mapHead;null!==t;t=t._next)e(t)},e.prototype.forEachPreviousItem=function(e){var t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)},e.prototype.forEachChangedItem=function(e){var t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)},e.prototype.forEachAddedItem=function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)},e.prototype.forEachRemovedItem=function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)},e.prototype.diff=function(e){if(e){if(!(e instanceof Map||bt(e)))throw new Error("Error trying to diff '"+se(e)+"'. Only maps and objects are allowed")}else e=new Map;return this.check(e)?this:null},e.prototype.onDestroy=function(){},e.prototype.check=function(e){var t=this;this._reset();var n=this._mapHead;if(this._appendAfter=null,this._forEach(e,function(e,o){if(n&&n.key===o)t._maybeAddToChanges(n,e),t._appendAfter=n,n=n._next;else{var r=t._getOrCreateRecordForKey(o,e);n=t._insertBeforeOrAppend(n,r)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(var o=n;null!==o;o=o._nextRemoved)o===this._mapHead&&(this._mapHead=null),this._records.delete(o.key),o._nextRemoved=o._next,o.previousValue=o.currentValue,o.currentValue=null,o._prev=null,o._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty},e.prototype._insertBeforeOrAppend=function(e,t){if(e){var n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null},e.prototype._getOrCreateRecordForKey=function(e,t){if(this._records.has(e)){var n=this._records.get(e);this._maybeAddToChanges(n,t);var o=n._prev,r=n._next;return o&&(o._next=r),r&&(r._prev=o),n._next=null,n._prev=null,n}var i=new cf(e);return this._records.set(e,i),i.currentValue=t,this._addToAdditions(i),i},e.prototype._reset=function(){if(this.isDirty){var e=void 0;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}},e.prototype._maybeAddToChanges=function(e,t){ae(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))},e.prototype._addToAdditions=function(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)},e.prototype._addToChanges=function(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)},e.prototype._forEach=function(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(function(n){return t(e[n],n)})},e}(),cf=function(){return function(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}(),uf=function(){function e(e){this.factories=e}return e.create=function(t,n){if(null!=n){var o=n.factories.slice();t=t.concat(o)}return new e(t)},e.extend=function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new xe,new Se]]}},e.prototype.find=function(e){var t,n=this.factories.find(function(t){return t.supports(e)});if(null!=n)return n;throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+((t=e).name||typeof t)+"'")},e.ngInjectableDef=S({providedIn:"root",factory:function(){return new e([new Qp])}}),e}(),df=function(){function e(e){this.factories=e}return e.create=function(t,n){if(n){var o=n.factories.slice();t=t.concat(o)}return new e(t)},e.extend=function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new xe,new Se]]}},e.prototype.find=function(e){var t=this.factories.find(function(t){return t.supports(e)});if(t)return t;throw new Error("Cannot find a differ supporting object '"+e+"'")},e.ngInjectableDef=S({providedIn:"root",factory:function(){return new e([new sf])}}),e}(),hf=[new sf],pf=new uf([new Qp]),ff=new df(hf),mf=Cp(null,"core",[{provide:Bh,useValue:"unknown"},{provide:Ap,deps:[wo]},{provide:pp,deps:[]},{provide:Vh,deps:[]}]),gf=new T("LocaleId"),vf=new T("Translations"),_f=new T("TranslationsFormat"),yf=function(e){return e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore",e}({});function bf(){return pf}function Cf(){return ff}function Ef(e){return e||"en-US"}var wf=[{provide:Op,useClass:Op,deps:[ip,Vh,wo,sh,cl,Rh]},{provide:Rh,useClass:Rh,deps:[[new Se,Th]]},{provide:Kh,useClass:Kh,deps:[]},Ih,{provide:uf,useFactory:bf,deps:[]},{provide:df,useFactory:Cf,deps:[]},{provide:gf,useFactory:Ef,deps:[[new Ae(gf),new Se,new xe]]}],kf=function(){return function(e){}}(),Af=!0,Sf=!1;function Of(e,t,n){var o=e.state,r=1792&o;return r===t?(e.state=-1793&o|n,e.initIndex=-1,!0):r===n}function xf(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function Df(e,t){return e.nodes[t]}function Tf(e,t){return e.nodes[t]}function Rf(e,t){return e.nodes[t]}function Pf(e,t){return e.nodes[t]}function Mf(e,t){return e.nodes[t]}var If=function(){return function(){}}(),Ff={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};function Lf(e,t,n,o){var r="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+t+"'. Current value: '"+n+"'.";return o&&(r+=" 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 Bf(n,t),n}(r,e)}function Bf(e,t){e[th]=t,e[oh]=t.logError.bind(t)}function Nf(e){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+e)}var jf=function(){},Vf=new Map;function Uf(e){var t=Vf.get(e);return t||(t=se(e)+"_"+Vf.size,Vf.set(e,t)),t}function $f(e,t,n,o){if(vt.isWrapped(o)){o=vt.unwrap(o);var r=e.def.nodes[t].bindingIndex+n,i=vt.unwrap(e.oldValues[r]);e.oldValues[r]=new vt(i)}return o}var Hf="$$undefined",Wf="$$empty";function Kf(e){return{id:Hf,styles:e.styles,encapsulation:e.encapsulation,data:e.data}}var Gf=0;function qf(e,t,n,o){return!(!(2&e.state)&&ae(e.oldValues[t.bindingIndex+n],o))}function zf(e,t,n,o){return!!qf(e,t,n,o)&&(e.oldValues[t.bindingIndex+n]=o,!0)}function Yf(e,t,n,o){var r=e.oldValues[t.bindingIndex+n];if(1&e.state||!gt(r,o)){var i=t.bindings[n].name;throw Lf(Ff.createDebugContext(e,t.nodeIndex),i+": "+r,i+": "+o,0!=(1&e.state))}}function Zf(e){for(var t=e;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function Jf(e,t){for(var n=e;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function Xf(e,t,n,o){try{return Zf(33554432&e.def.nodes[t].flags?Tf(e,t).componentView:e),Ff.handleEvent(e,t,n,o)}catch(r){e.root.errorHandler.handleError(r)}}function Qf(e){return e.parent?Tf(e.parent,e.parentNodeDef.nodeIndex):null}function em(e){return e.parent?e.parentNodeDef.parent:null}function tm(e,t){switch(201347067&t.flags){case 1:return Tf(e,t.nodeIndex).renderElement;case 2:return Df(e,t.nodeIndex).renderText}}function nm(e,t){return e?e+":"+t:t}function om(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function rm(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function im(e){return 1<<e%32}function am(e){var t={},n=0,r={};return e&&e.forEach(function(e){var i=Object(o.f)(e,2),a=i[0],s=i[1];"number"==typeof a?(t[a]=s,n|=im(a)):r[a]=s}),{matchedQueries:t,references:r,matchedQueryIds:n}}function sm(e,t){return e.map(function(e){var n,r,i;return Array.isArray(e)?(i=(n=Object(o.f)(e,2))[0],r=n[1]):(i=0,r=e),r&&("function"==typeof r||"object"==typeof r)&&t&&Object.defineProperty(r,_o,{value:t,configurable:!0}),{flags:i,token:r,tokenKey:Uf(r)}})}function lm(e,t,n){var o=n.renderParent;return o?0==(1&o.flags)||0==(33554432&o.flags)||o.element.componentRendererType&&o.element.componentRendererType.encapsulation===X.Native?Tf(e,n.renderParent.nodeIndex).renderElement:void 0:t}var cm=new WeakMap;function um(e){var t=cm.get(e);return t||((t=e(function(){return jf})).factory=e,cm.set(e,t)),t}function dm(e,t,n,o,r){3===t&&(n=e.renderer.parentNode(tm(e,e.def.lastRenderRootNode))),hm(e,t,0,e.def.nodes.length-1,n,o,r)}function hm(e,t,n,o,r,i,a){for(var s=n;s<=o;s++){var l=e.def.nodes[s];11&l.flags&&fm(e,l,t,r,i,a),s+=l.childCount}}function pm(e,t,n,o,r,i){for(var a=e;a&&!om(a);)a=a.parent;for(var s=a.parent,l=em(a),c=l.nodeIndex+l.childCount,u=l.nodeIndex+1;u<=c;u++){var d=s.def.nodes[u];d.ngContentIndex===t&&fm(s,d,n,o,r,i),u+=d.childCount}if(!s.parent){var h=e.root.projectableNodes[t];if(h)for(u=0;u<h.length;u++)mm(e,h[u],n,o,r,i)}}function fm(e,t,n,o,r,i){if(8&t.flags)pm(e,t.ngContent.index,n,o,r,i);else{var a=tm(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags?(16&t.bindingFlags&&mm(e,a,n,o,r,i),32&t.bindingFlags&&mm(Tf(e,t.nodeIndex).componentView,a,n,o,r,i)):mm(e,a,n,o,r,i),16777216&t.flags)for(var s=Tf(e,t.nodeIndex).viewContainer._embeddedViews,l=0;l<s.length;l++)dm(s[l],n,o,r,i);1&t.flags&&!t.element.name&&hm(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,o,r,i)}}function mm(e,t,n,o,r,i){var a=e.renderer;switch(n){case 1:a.appendChild(o,t);break;case 2:a.insertBefore(o,t,r);break;case 3:a.removeChild(o,t);break;case 0:i.push(t)}}var gm=/^:([^:]+):(.+)$/;function vm(e){if(":"===e[0]){var t=e.match(gm);return[t[1],t[2]]}return["",e]}function _m(e){for(var t=0,n=0;n<e.length;n++)t|=e[n].flags;return t}function ym(e,t){for(var n="",o=0;o<2*e;o+=2)n=n+t[o]+Cm(t[o+1]);return n+t[2*e]}function bm(e,t,n,o,r,i,a,s,l,c,u,d,h,p,f,m,g,v,_,y){switch(e){case 1:return t+Cm(n)+o;case 2:return t+Cm(n)+o+Cm(r)+i;case 3:return t+Cm(n)+o+Cm(r)+i+Cm(a)+s;case 4:return t+Cm(n)+o+Cm(r)+i+Cm(a)+s+Cm(l)+c;case 5:return t+Cm(n)+o+Cm(r)+i+Cm(a)+s+Cm(l)+c+Cm(u)+d;case 6:return t+Cm(n)+o+Cm(r)+i+Cm(a)+s+Cm(l)+c+Cm(u)+d+Cm(h)+p;case 7:return t+Cm(n)+o+Cm(r)+i+Cm(a)+s+Cm(l)+c+Cm(u)+d+Cm(h)+p+Cm(f)+m;case 8:return t+Cm(n)+o+Cm(r)+i+Cm(a)+s+Cm(l)+c+Cm(u)+d+Cm(h)+p+Cm(f)+m+Cm(g)+v;case 9:return t+Cm(n)+o+Cm(r)+i+Cm(a)+s+Cm(l)+c+Cm(u)+d+Cm(h)+p+Cm(f)+m+Cm(g)+v+Cm(_)+y;default:throw new Error("Does not support more than 9 expressions")}}function Cm(e){return null!=e?e.toString():""}var Em=[],wm={};function km(e,t,n,o,r,i){e|=1;var a=am(t);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:e,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:a.matchedQueries,matchedQueryIds:a.matchedQueryIds,references:a.references,ngContentIndex:n,childCount:o,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:i?um(i):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:r||jf},provider:null,text:null,query:null,ngContent:null}}function Am(e,t,n,r,i,a,s,l,c,u,d,h){var p;void 0===s&&(s=[]),u||(u=jf);var f=am(n),m=f.matchedQueries,g=f.references,v=f.matchedQueryIds,_=null,y=null;a&&(_=(p=Object(o.f)(vm(a),2))[0],y=p[1]),l=l||[];for(var b=new Array(l.length),C=0;C<l.length;C++){var E=Object(o.f)(l[C],3),w=E[0],k=E[1],A=E[2],S=Object(o.f)(vm(k),2),O=S[0],x=S[1],D=void 0,T=void 0;switch(15&w){case 4:T=A;break;case 1:case 8:D=A}b[C]={flags:w,ns:O,name:x,nonMinifiedName:x,securityContext:D,suffix:T}}c=c||[];var R=new Array(c.length);for(C=0;C<c.length;C++){var P=Object(o.f)(c[C],2);R[C]={type:0,target:P[0],eventName:P[1],propName:null}}var M=(s=s||[]).map(function(e){var t=Object(o.f)(e,2),n=t[0],r=t[1],i=Object(o.f)(vm(n),2);return[i[0],i[1],r]});return h=function(e){if(e&&e.id===Hf){var t=null!=e.encapsulation&&e.encapsulation!==X.None||e.styles.length||Object.keys(e.data).length;e.id=t?"c"+Gf++:Wf}return e&&e.id===Wf&&(e=null),e||null}(h),d&&(t|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:m,matchedQueryIds:v,references:g,ngContentIndex:r,childCount:i,bindings:b,bindingFlags:_m(b),outputs:R,element:{ns:_,name:y,attrs:M,template:null,componentProvider:null,componentView:d||null,componentRendererType:h,publicProviders:null,allProviders:null,handleEvent:u||jf},provider:null,text:null,query:null,ngContent:null}}function Sm(e,t,n){var r,i=n.element,a=e.root.selectorOrNode,s=e.renderer;if(e.parent||!a){r=i.name?s.createElement(i.name,i.ns):s.createComment("");var l=lm(e,t,n);l&&s.appendChild(l,r)}else r=s.selectRootElement(a,!!i.componentRendererType&&i.componentRendererType.encapsulation===X.ShadowDom);if(i.attrs)for(var c=0;c<i.attrs.length;c++){var u=Object(o.f)(i.attrs[c],3);s.setAttribute(r,u[1],u[2],u[0])}return r}function Om(e,t,n,o){for(var r=0;r<n.outputs.length;r++){var i=n.outputs[r],a=xm(e,n.nodeIndex,nm(i.target,i.eventName)),s=i.target,l=e;"component"===i.target&&(s=null,l=t);var c=l.renderer.listen(s||o,i.eventName,a);e.disposables[n.outputIndex+r]=c}}function xm(e,t,n){return function(o){return Xf(e,t,n,o)}}function Dm(e,t,n,o){if(!zf(e,t,n,o))return!1;var r=t.bindings[n],i=Tf(e,t.nodeIndex),a=i.renderElement,s=r.name;switch(15&r.flags){case 1:!function(e,t,n,o,r,i){var a=t.securityContext,s=a?e.root.sanitizer.sanitize(a,i):i;s=null!=s?s.toString():null;var l=e.renderer;null!=i?l.setAttribute(n,r,s,o):l.removeAttribute(n,r,o)}(e,r,a,r.ns,s,o);break;case 2:!function(e,t,n,o){var r=e.renderer;o?r.addClass(t,n):r.removeClass(t,n)}(e,a,s,o);break;case 4:!function(e,t,n,o,r){var i=e.root.sanitizer.sanitize(Vu.STYLE,r);if(null!=i){i=i.toString();var a=t.suffix;null!=a&&(i+=a)}else i=null;var s=e.renderer;null!=i?s.setStyle(n,o,i):s.removeStyle(n,o)}(e,r,a,s,o);break;case 8:!function(e,t,n,o,r){var i=t.securityContext,a=i?e.root.sanitizer.sanitize(i,r):r;e.renderer.setProperty(n,o,a)}(33554432&t.flags&&32&r.flags?i.componentView:e,r,a,s,o)}return!0}var Tm=new Object,Rm=Uf(wo),Pm=Uf(Co),Mm=Uf(No);function Im(e,t,n,o){return n=vo(n),{index:-1,deps:sm(o,se(t)),flags:e,token:t,value:n}}function Fm(e){for(var t={},n=[],o=!1,r=0;r<e.length;r++){var i=e[r];i.token===Bs&&!0===i.value&&(o=!0),1073741824&i.flags&&n.push(i.token),i.index=r,t[Uf(i.token)]=i}return{factory:null,providersByKey:t,providers:e,modules:n,isRoot:o}}function Lm(e,t,n){void 0===n&&(n=wo.THROW_IF_NOT_FOUND);var o,r,i=Pe(e);try{if(8&t.flags)return t.token;if(2&t.flags&&(n=null),1&t.flags)return e._parent.get(t.token,n);var a=t.tokenKey;switch(a){case Rm:case Pm:case Mm:return e}var s,l=e._def.providersByKey[a];if(l){var c=e._providers[l.index];return void 0===c&&(c=e._providers[l.index]=Bm(e,l)),c===Tm?void 0:c}if((s=x(t.token))&&(o=e,null!=(r=s).providedIn&&(function(e,t){return e._def.modules.indexOf(r.providedIn)>-1}(o)||"root"===r.providedIn&&o._def.isRoot))){var u=e._providers.length;return e._def.providersByKey[t.tokenKey]={flags:5120,value:s.factory,deps:[],index:u,token:t.token},e._providers[u]=Tm,e._providers[u]=Bm(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{Pe(i)}}function Bm(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=new Array(r),a=0;a<r;a++)i[a]=Lm(e,n[a]);return new(t.bind.apply(t,Object(o.g)([void 0],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=Array(r),a=0;a<r;a++)i[a]=Lm(e,n[a]);return t.apply(void 0,Object(o.g)(i))}}(e,t.value,t.deps);break;case 2048:n=Lm(e,t.deps[0]);break;case 256:n=t.value}return n===Tm||null==n||"object"!=typeof n||131072&t.flags||"function"!=typeof n.ngOnDestroy||(t.flags|=131072),void 0===n?Tm:n}function Nm(e,t){var n=e.viewContainer._embeddedViews;if((null==t||t>=n.length)&&(t=n.length-1),t<0)return null;var o=n[t];return o.viewContainerParent=null,$m(n,t),Ff.dirtyParentQueries(o),Vm(o),o}function jm(e,t,n){var o=t?tm(t,t.def.lastRenderRootNode):e.renderElement,r=n.renderer.parentNode(o),i=n.renderer.nextSibling(o);dm(n,2,r,i,void 0)}function Vm(e){dm(e,3,null,null,void 0)}function Um(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function $m(e,t){t>=e.length-1?e.pop():e.splice(t,1)}var Hm=new Object;function Wm(e,t,n,o,r,i){return new Gm(e,t,n,o,r,i)}function Km(e){return e.viewDefFactory}var Gm=function(e){function t(t,n,o,r,i,a){var s=e.call(this)||this;return s.selector=t,s.componentType=n,s._inputs=r,s._outputs=i,s.ngContentSelectors=a,s.viewDefFactory=o,s}return Object(o.c)(t,e),Object.defineProperty(t.prototype,"inputs",{get:function(){var e=[],t=this._inputs;for(var n in t)e.push({propName:n,templateName:t[n]});return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){var e=[];for(var t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e},enumerable:!0,configurable:!0}),t.prototype.create=function(e,t,n,o){if(!o)throw new Error("ngModule should be provided");var r=um(this.viewDefFactory),i=r.nodes[0].element.componentProvider.nodeIndex,a=Ff.createRootView(e,t||[],n,r,o,Hm),s=Rf(a,i).instance;return n&&a.renderer.setAttribute(Tf(a,0).renderElement,"ng-version",Al.full),new qm(a,new Jm(a),s)},t}(il),qm=function(e){function t(t,n,o){var r=e.call(this)||this;return r._view=t,r._viewRef=n,r._component=o,r._elDef=r._view.def.nodes[0],r.hostView=n,r.changeDetectorRef=n,r.instance=o,r}return Object(o.c)(t,e),Object.defineProperty(t.prototype,"location",{get:function(){return new hl(Tf(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new tg(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this._viewRef.destroy()},t.prototype.onDestroy=function(e){this._viewRef.onDestroy(e)},t}(rl);function zm(e,t,n){return new Ym(e,t,n)}var Ym=function(){function e(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}return Object.defineProperty(e.prototype,"element",{get:function(){return new hl(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new tg(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parentInjector",{get:function(){for(var e=this._view,t=this._elDef.parent;!t&&e;)t=em(e),e=e.parent;return e?new tg(e,t):new tg(this._view,null)},enumerable:!0,configurable:!0}),e.prototype.clear=function(){for(var e=this._embeddedViews.length-1;e>=0;e--){var t=Nm(this._data,e);Ff.destroyView(t)}},e.prototype.get=function(e){var t=this._embeddedViews[e];if(t){var n=new Jm(t);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(e.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),e.prototype.createEmbeddedView=function(e,t,n){var o=e.createEmbeddedView(t||{});return this.insert(o,n),o},e.prototype.createComponent=function(e,t,n,o,r){var i=n||this.parentInjector;r||e instanceof dl||(r=i.get(No));var a=e.create(i,o,void 0,r);return this.insert(a.hostView,t),a},e.prototype.insert=function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,o,r,i,a=e;return i=(n=this._data).viewContainer._embeddedViews,null==(o=t)&&(o=i.length),(r=a._view).viewContainerParent=this._view,Um(i,o,r),function(e,t){var n=Qf(t);if(n&&n!==e&&!(16&t.state)){t.state|=16;var o=n.template._projectedViews;o||(o=n.template._projectedViews=[]),o.push(t),function(e,n){if(!(4&n.flags)){t.parent.def.nodeFlags|=4,n.flags|=4;for(var o=n.parent;o;)o.childFlags|=4,o=o.parent}}(0,t.parentNodeDef)}}(n,r),Ff.dirtyParentQueries(r),jm(n,o>0?i[o-1]:null,r),a.attachToViewContainerRef(this),e},e.prototype.move=function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,o,r,i,a,s=this._embeddedViews.indexOf(e._view);return r=t,a=(i=(n=this._data).viewContainer._embeddedViews)[o=s],$m(i,o),null==r&&(r=i.length),Um(i,r,a),Ff.dirtyParentQueries(a),Vm(a),jm(n,r>0?i[r-1]:null,a),e},e.prototype.indexOf=function(e){return this._embeddedViews.indexOf(e._view)},e.prototype.remove=function(e){var t=Nm(this._data,e);t&&Ff.destroyView(t)},e.prototype.detach=function(e){var t=Nm(this._data,e);return t?new Jm(t):null},e}();function Zm(e){return new Jm(e)}var Jm=function(){function e(e){this._view=e,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(e.prototype,"rootNodes",{get:function(){return dm(this._view,0,void 0,void 0,e=[]),e;var e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),e.prototype.markForCheck=function(){Zf(this._view)},e.prototype.detach=function(){this._view.state&=-5},e.prototype.detectChanges=function(){var e=this._view.root.rendererFactory;e.begin&&e.begin();try{Ff.checkAndUpdateView(this._view)}finally{e.end&&e.end()}},e.prototype.checkNoChanges=function(){Ff.checkNoChangesView(this._view)},e.prototype.reattach=function(){this._view.state|=4},e.prototype.onDestroy=function(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)},e.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Ff.destroyView(this._view)},e.prototype.detachFromAppRef=function(){this._appRef=null,Vm(this._view),Ff.dirtyParentQueries(this._view)},e.prototype.attachToAppRef=function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e},e.prototype.attachToViewContainerRef=function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e},e}();function Xm(e,t){return new Qm(e,t)}var Qm=function(e){function t(t,n){var o=e.call(this)||this;return o._parentView=t,o._def=n,o}return Object(o.c)(t,e),t.prototype.createEmbeddedView=function(e){return new Jm(Ff.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))},Object.defineProperty(t.prototype,"elementRef",{get:function(){return new hl(Tf(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),t}(du);function eg(e,t){return new tg(e,t)}var tg=function(){function e(e,t){this.view=e,this.elDef=t}return e.prototype.get=function(e,t){return void 0===t&&(t=wo.THROW_IF_NOT_FOUND),Ff.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:Uf(e)},t)},e}();function ng(e,t){var n=e.def.nodes[t];if(1&n.flags){var o=Tf(e,n.nodeIndex);return n.element.template?o.template:o.renderElement}if(2&n.flags)return Df(e,n.nodeIndex).renderText;if(20240&n.flags)return Rf(e,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+t)}function og(e){return new rg(e.renderer)}var rg=function(){function e(e){this.delegate=e}return e.prototype.selectRootElement=function(e){return this.delegate.selectRootElement(e)},e.prototype.createElement=function(e,t){var n=Object(o.f)(vm(t),2),r=this.delegate.createElement(n[1],n[0]);return e&&this.delegate.appendChild(e,r),r},e.prototype.createViewRoot=function(e){return e},e.prototype.createTemplateAnchor=function(e){var t=this.delegate.createComment("");return e&&this.delegate.appendChild(e,t),t},e.prototype.createText=function(e,t){var n=this.delegate.createText(t);return e&&this.delegate.appendChild(e,n),n},e.prototype.projectNodes=function(e,t){for(var n=0;n<t.length;n++)this.delegate.appendChild(e,t[n])},e.prototype.attachViewAfter=function(e,t){for(var n=this.delegate.parentNode(e),o=this.delegate.nextSibling(e),r=0;r<t.length;r++)this.delegate.insertBefore(n,t[r],o)},e.prototype.detachView=function(e){for(var t=0;t<e.length;t++){var n=e[t],o=this.delegate.parentNode(n);this.delegate.removeChild(o,n)}},e.prototype.destroyView=function(e,t){for(var n=0;n<t.length;n++)this.delegate.destroyNode(t[n])},e.prototype.listen=function(e,t,n){return this.delegate.listen(e,t,n)},e.prototype.listenGlobal=function(e,t,n){return this.delegate.listen(e,t,n)},e.prototype.setElementProperty=function(e,t,n){this.delegate.setProperty(e,t,n)},e.prototype.setElementAttribute=function(e,t,n){var r=Object(o.f)(vm(t),2),i=r[0],a=r[1];null!=n?this.delegate.setAttribute(e,a,n,i):this.delegate.removeAttribute(e,a,i)},e.prototype.setBindingDebugInfo=function(e,t,n){},e.prototype.setElementClass=function(e,t,n){n?this.delegate.addClass(e,t):this.delegate.removeClass(e,t)},e.prototype.setElementStyle=function(e,t,n){null!=n?this.delegate.setStyle(e,t,n):this.delegate.removeStyle(e,t)},e.prototype.invokeElementMethod=function(e,t,n){e[t].apply(e,n)},e.prototype.setText=function(e,t){this.delegate.setValue(e,t)},e.prototype.animate=function(){throw new Error("Renderer.animate is no longer supported!")},e}();function ig(e,t,n,o){return new ag(e,t,n,o)}var ag=function(){function e(e,t,n,o){this._moduleType=e,this._parent=t,this._bootstrapComponents=n,this._def=o,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(e){for(var t=e._def,n=e._providers=new Array(t.providers.length),o=0;o<t.providers.length;o++){var r=t.providers[o];4096&r.flags||void 0===n[o]&&(n[o]=Bm(e,r))}}(this)}return e.prototype.get=function(e,t,n){void 0===t&&(t=wo.THROW_IF_NOT_FOUND),void 0===n&&(n=Te.Default);var o=0;return n&Te.SkipSelf?o|=1:n&Te.Self&&(o|=4),Lm(this,{token:e,tokenKey:Uf(e),flags:o},t)},Object.defineProperty(e.prototype,"instance",{get:function(){return this.get(this._moduleType)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentFactoryResolver",{get:function(){return this.get(cl)},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The ng module "+se(this.instance.constructor)+" has already been destroyed.");this._destroyed=!0,function(e,t){for(var n=e._def,o=new Set,r=0;r<n.providers.length;r++)if(131072&n.providers[r].flags){var i=e._providers[r];if(i&&i!==Tm){var a=i.ngOnDestroy;"function"!=typeof a||o.has(i)||(a.apply(i),o.add(i))}}}(this),this._destroyListeners.forEach(function(e){return e()})},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},e}(),sg=Uf(vl),lg=Uf(Cl),cg=Uf(hl),ug=Uf(Np),dg=Uf(du),hg=Uf(Up),pg=Uf(wo),fg=Uf(Co);function mg(e,t,n,r,i,a,s,l){var c=[];if(s)for(var u in s){var d=Object(o.f)(s[u],2);c[d[0]]={flags:8,name:u,nonMinifiedName:d[1],ns:null,securityContext:null,suffix:null}}var h=[];if(l)for(var p in l)h.push({type:1,propName:p,target:null,eventName:l[p]});return _g(e,t|=16384,n,r,i,i,a,c,h)}function gg(e,t,n){return _g(-1,e|=16,null,0,t,t,n)}function vg(e,t,n,o,r){return _g(-1,e,t,0,n,o,r)}function _g(e,t,n,o,r,i,a,s,l){var c=am(n),u=c.matchedQueries,d=c.references,h=c.matchedQueryIds;l||(l=[]),s||(s=[]),i=vo(i);var p=sm(a,se(r));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:o,bindings:s,bindingFlags:_m(s),outputs:l,element:null,provider:{token:r,value:i,deps:p},text:null,query:null,ngContent:null}}function yg(e,t){return wg(e,t)}function bg(e,t){for(var n=e;n.parent&&!om(n);)n=n.parent;return kg(n.parent,em(n),!0,t.provider.value,t.provider.deps)}function Cg(e,t){var n=kg(e,t.parent,(32768&t.flags)>0,t.provider.value,t.provider.deps);if(t.outputs.length)for(var o=0;o<t.outputs.length;o++){var r=t.outputs[o],i=n[r.propName];if(!Dh(i))throw new Error("@Output "+r.propName+" not initialized in '"+n.constructor.name+"'.");var a=i.subscribe(Eg(e,t.parent.nodeIndex,r.eventName));e.disposables[t.outputIndex+o]=a.unsubscribe.bind(a)}return n}function Eg(e,t,n){return function(o){return Xf(e,t,n,o)}}function wg(e,t){var n=(8192&t.flags)>0,r=t.provider;switch(201347067&t.flags){case 512:return kg(e,t.parent,n,r.value,r.deps);case 1024:return function(e,t,n,r,i){var a=i.length;switch(a){case 0:return r();case 1:return r(Sg(e,t,n,i[0]));case 2:return r(Sg(e,t,n,i[0]),Sg(e,t,n,i[1]));case 3:return r(Sg(e,t,n,i[0]),Sg(e,t,n,i[1]),Sg(e,t,n,i[2]));default:for(var s=Array(a),l=0;l<a;l++)s[l]=Sg(e,t,n,i[l]);return r.apply(void 0,Object(o.g)(s))}}(e,t.parent,n,r.value,r.deps);case 2048:return Sg(e,t.parent,n,r.deps[0]);case 256:return r.value}}function kg(e,t,n,r,i){var a=i.length;switch(a){case 0:return new r;case 1:return new r(Sg(e,t,n,i[0]));case 2:return new r(Sg(e,t,n,i[0]),Sg(e,t,n,i[1]));case 3:return new r(Sg(e,t,n,i[0]),Sg(e,t,n,i[1]),Sg(e,t,n,i[2]));default:for(var s=new Array(a),l=0;l<a;l++)s[l]=Sg(e,t,n,i[l]);return new(r.bind.apply(r,Object(o.g)([void 0],s)))}}var Ag={};function Sg(e,t,n,o,r){if(void 0===r&&(r=wo.THROW_IF_NOT_FOUND),8&o.flags)return o.token;var i=e;2&o.flags&&(r=null);var a=o.tokenKey;a===hg&&(n=!(!t||!t.element.componentView)),t&&1&o.flags&&(n=!1,t=t.parent);for(var s=e;s;){if(t)switch(a){case sg:return og(Og(s,t,n));case lg:return Og(s,t,n).renderer;case cg:return new hl(Tf(s,t.nodeIndex).renderElement);case ug:return Tf(s,t.nodeIndex).viewContainer;case dg:if(t.element.template)return Tf(s,t.nodeIndex).template;break;case hg:return Zm(Og(s,t,n));case pg:case fg:return eg(s,t);default:var l=(n?t.element.allProviders:t.element.publicProviders)[a];if(l){var c=Rf(s,l.nodeIndex);return c||(c={instance:wg(s,l)},s.nodes[l.nodeIndex]=c),c.instance}}n=om(s),t=em(s),s=s.parent,4&o.flags&&(s=null)}var u=i.root.injector.get(o.token,Ag);return u!==Ag||r===Ag?u:i.root.ngModule.injector.get(o.token,r)}function Og(e,t,n){var o;if(n)o=Tf(e,t.nodeIndex).componentView;else for(o=e;o.parent&&!om(o);)o=o.parent;return o}function xg(e,t,n,o,r,i){if(32768&n.flags){var a=Tf(e,n.parent.nodeIndex).componentView;2&a.def.flags&&(a.state|=8)}if(t.instance[n.bindings[o].name]=r,524288&n.flags){i=i||{};var s=vt.unwrap(e.oldValues[n.bindingIndex+o]);i[n.bindings[o].nonMinifiedName]=new _t(s,r,0!=(2&e.state))}return e.oldValues[n.bindingIndex+o]=r,i}function Dg(e,t){if(e.def.nodeFlags&t)for(var n=e.def.nodes,o=0,r=0;r<n.length;r++){var i=n[r],a=i.parent;for(!a&&i.flags&t&&Rg(e,r,i.flags&t,o++),0==(i.childFlags&t)&&(r+=i.childCount);a&&1&a.flags&&r===a.nodeIndex+a.childCount;)a.directChildFlags&t&&(o=Tg(e,a,t,o)),a=a.parent}}function Tg(e,t,n,o){for(var r=t.nodeIndex+1;r<=t.nodeIndex+t.childCount;r++){var i=e.def.nodes[r];i.flags&n&&Rg(e,r,i.flags&n,o++),r+=i.childCount}return o}function Rg(e,t,n,o){var r=Rf(e,t);if(r){var i=r.instance;i&&(Ff.setCurrentNode(e,t),1048576&n&&xf(e,512,o)&&i.ngAfterContentInit(),2097152&n&&i.ngAfterContentChecked(),4194304&n&&xf(e,768,o)&&i.ngAfterViewInit(),8388608&n&&i.ngAfterViewChecked(),131072&n&&i.ngOnDestroy())}}function Pg(e,t,n){var o=[];for(var r in n)o.push({propName:r,bindingType:n[r]});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:im(t),bindings:o},ngContent:null}}function Mg(e){for(var t=e.def.nodeMatchedQueries;e.parent&&rm(e);){var n=e.parentNodeDef;e=e.parent;for(var o=n.nodeIndex+n.childCount,r=0;r<=o;r++)67108864&(i=e.def.nodes[r]).flags&&536870912&i.flags&&(i.query.filterId&t)===i.query.filterId&&Mf(e,r).setDirty(),!(1&i.flags&&r+i.childCount<n.nodeIndex)&&67108864&i.childFlags&&536870912&i.childFlags||(r+=i.childCount)}if(134217728&e.def.nodeFlags)for(r=0;r<e.def.nodes.length;r++){var i;134217728&(i=e.def.nodes[r]).flags&&536870912&i.flags&&Mf(e,r).setDirty(),r+=i.childCount}}function Ig(e,t){var n=Mf(e,t.nodeIndex);if(n.dirty){var o,r=void 0;if(67108864&t.flags){var i=t.parent.parent;r=Fg(e,i.nodeIndex,i.nodeIndex+i.childCount,t.query,[]),o=Rf(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(r=Fg(e,0,e.def.nodes.length-1,t.query,[]),o=e.component);n.reset(r);for(var a=t.query.bindings,s=!1,l=0;l<a.length;l++){var c=a[l],u=void 0;switch(c.bindingType){case 0:u=n.first;break;case 1:u=n,s=!0}o[c.propName]=u}s&&n.notifyOnChanges()}}function Fg(e,t,n,o,r){for(var i=t;i<=n;i++){var a=e.def.nodes[i],s=a.matchedQueries[o.id];if(null!=s&&r.push(Lg(e,a,s)),1&a.flags&&a.element.template&&(a.element.template.nodeMatchedQueries&o.filterId)===o.filterId){var l=Tf(e,i);if((a.childMatchedQueries&o.filterId)===o.filterId&&(Fg(e,i+1,i+a.childCount,o,r),i+=a.childCount),16777216&a.flags)for(var c=l.viewContainer._embeddedViews,u=0;u<c.length;u++){var d=c[u],h=Qf(d);h&&h===l&&Fg(d,0,d.def.nodes.length-1,o,r)}var p=l.template._projectedViews;if(p)for(u=0;u<p.length;u++){var f=p[u];Fg(f,0,f.def.nodes.length-1,o,r)}}(a.childMatchedQueries&o.filterId)!==o.filterId&&(i+=a.childCount)}return r}function Lg(e,t,n){if(null!=n)switch(n){case 1:return Tf(e,t.nodeIndex).renderElement;case 0:return new hl(Tf(e,t.nodeIndex).renderElement);case 2:return Tf(e,t.nodeIndex).template;case 3:return Tf(e,t.nodeIndex).viewContainer;case 4:return Rf(e,t.nodeIndex).instance}}function Bg(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 Ng(e,t,n){var o=lm(e,t,n);o&&pm(e,n.ngContent.index,1,o,null,void 0)}function jg(e,t){return $g(128,e,new Array(t+1))}function Vg(e,t){return $g(32,e,new Array(t))}function Ug(e,t){for(var n=Object.keys(t),o=n.length,r=new Array(o),i=0;i<o;i++){var a=n[i];r[t[a]]=a}return $g(64,e,r)}function $g(e,t,n){for(var o=new Array(n.length),r=0;r<n.length;r++){var i=n[r];o[r]={flags:8,name:i,ns:null,nonMinifiedName:i,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:o,bindingFlags:_m(o),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}function Hg(e,t,n){for(var o=new Array(n.length-1),r=1;r<n.length;r++)o[r-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[r]};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:o,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function Wg(e,t,n){var o,r=e.renderer;o=r.createText(n.text.prefix);var i=lm(e,t,n);return i&&r.appendChild(i,o),{renderText:o}}function Kg(e,t){return(null!=e?e.toString():"")+t.suffix}function Gg(e,t,n,o){for(var r=0,i=0,a=0,s=0,l=0,c=null,u=null,d=!1,h=!1,p=null,f=0;f<t.length;f++){var m=t[f];if(m.nodeIndex=f,m.parent=c,m.bindingIndex=r,m.outputIndex=i,m.renderParent=u,a|=m.flags,l|=m.matchedQueryIds,m.element){var g=m.element;g.publicProviders=c?c.element.publicProviders:Object.create(null),g.allProviders=g.publicProviders,d=!1,h=!1,m.element.template&&(l|=m.element.template.nodeMatchedQueries)}if(zg(c,m,t.length),r+=m.bindings.length,i+=m.outputs.length,!u&&3&m.flags&&(p=m),20224&m.flags){d||(d=!0,c.element.publicProviders=Object.create(c.element.publicProviders),c.element.allProviders=c.element.publicProviders);var v=0!=(32768&m.flags);0==(8192&m.flags)||v?c.element.publicProviders[Uf(m.provider.token)]=m:(h||(h=!0,c.element.allProviders=Object.create(c.element.publicProviders)),c.element.allProviders[Uf(m.provider.token)]=m),v&&(c.element.componentProvider=m)}if(c?(c.childFlags|=m.flags,c.directChildFlags|=m.flags,c.childMatchedQueries|=m.matchedQueryIds,m.element&&m.element.template&&(c.childMatchedQueries|=m.element.template.nodeMatchedQueries)):s|=m.flags,m.childCount>0)c=m,qg(m)||(u=m);else for(;c&&f===c.nodeIndex+c.childCount;){var _=c.parent;_&&(_.childFlags|=c.childFlags,_.childMatchedQueries|=c.childMatchedQueries),u=(c=_)&&qg(c)?c.renderParent:c}}return{factory:null,nodeFlags:a,rootNodeFlags:s,nodeMatchedQueries:l,flags:e,nodes:t,updateDirectives:n||jf,updateRenderer:o||jf,handleEvent:function(e,n,o,r){return t[n].element.handleEvent(e,o,r)},bindingCount:r,outputCount:i,lastRenderRootNode:p}}function qg(e){return 0!=(1&e.flags)&&null===e.element.name}function zg(e,t,n){var o=t.element&&t.element.template;if(o){if(!o.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(o.lastRenderRootNode&&16777216&o.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+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 "+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 "+t.nodeIndex+"!");if(134217728&t.flags&&e)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+t.nodeIndex+"!")}if(t.childCount){var r=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=r&&t.nodeIndex+t.childCount>r)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+t.nodeIndex+"!")}}function Yg(e,t,n,o){var r=Xg(e.root,e.renderer,e,t,n);return Qg(r,e.component,o),ev(r),r}function Zg(e,t,n){var o=Xg(e,e.renderer,null,null,t);return Qg(o,n,n),ev(o),o}function Jg(e,t,n,o){var r,i=t.element.componentRendererType;return r=i?e.root.rendererFactory.createRenderer(o,i):e.root.renderer,Xg(e.root,r,e,t.element.componentProvider,n)}function Xg(e,t,n,o,r){var i=new Array(r.nodes.length),a=r.outputCount?new Array(r.outputCount):null;return{def:r,parent:n,viewContainerParent:null,parentNodeDef:o,context:null,component:null,nodes:i,state:13,root:e,renderer:t,oldValues:new Array(r.bindingCount),disposables:a,initIndex:-1}}function Qg(e,t,n){e.component=t,e.context=n}function ev(e){var t;om(e)&&(t=Tf(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);for(var n=e.def,o=e.nodes,r=0;r<n.nodes.length;r++){var i=n.nodes[r];Ff.setCurrentNode(e,r);var a=void 0;switch(201347067&i.flags){case 1:var s=Sm(e,t,i),l=void 0;if(33554432&i.flags){var c=um(i.element.componentView);l=Ff.createComponentView(e,i,c,s)}Om(e,l,i,s),a={renderElement:s,componentView:l,viewContainer:null,template:i.element.template?Xm(e,i):void 0},16777216&i.flags&&(a.viewContainer=zm(e,i,a));break;case 2:a=Wg(e,t,i);break;case 512:case 1024:case 2048:case 256:(a=o[r])||4096&i.flags||(a={instance:yg(e,i)});break;case 16:a={instance:bg(e,i)};break;case 16384:(a=o[r])||(a={instance:Cg(e,i)}),32768&i.flags&&Qg(Tf(e,i.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 Mp;break;case 8:Ng(e,t,i),a=void 0}o[r]=a}cv(e,lv.CreateViewNodes),pv(e,201326592,268435456,0)}function tv(e){rv(e),Ff.updateDirectives(e,1),uv(e,lv.CheckNoChanges),Ff.updateRenderer(e,1),cv(e,lv.CheckNoChanges),e.state&=-97}function nv(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,Of(e,0,256),rv(e),Ff.updateDirectives(e,0),uv(e,lv.CheckAndUpdate),pv(e,67108864,536870912,0);var t=Of(e,256,512);Dg(e,2097152|(t?1048576:0)),Ff.updateRenderer(e,0),cv(e,lv.CheckAndUpdate),pv(e,134217728,536870912,0),Dg(e,8388608|((t=Of(e,512,768))?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,Of(e,768,1024)}function ov(e,t,n,r,i,a,s,l,c,u,d,h,p){return 0===n?function(e,t,n,o,r,i,a,s,l,c,u,d){switch(201347067&t.flags){case 1:return function(e,t,n,o,r,i,a,s,l,c,u,d){var h=t.bindings.length,p=!1;return h>0&&Dm(e,t,0,n)&&(p=!0),h>1&&Dm(e,t,1,o)&&(p=!0),h>2&&Dm(e,t,2,r)&&(p=!0),h>3&&Dm(e,t,3,i)&&(p=!0),h>4&&Dm(e,t,4,a)&&(p=!0),h>5&&Dm(e,t,5,s)&&(p=!0),h>6&&Dm(e,t,6,l)&&(p=!0),h>7&&Dm(e,t,7,c)&&(p=!0),h>8&&Dm(e,t,8,u)&&(p=!0),h>9&&Dm(e,t,9,d)&&(p=!0),p}(e,t,n,o,r,i,a,s,l,c,u,d);case 2:return function(e,t,n,o,r,i,a,s,l,c,u,d){var h=!1,p=t.bindings,f=p.length;if(f>0&&zf(e,t,0,n)&&(h=!0),f>1&&zf(e,t,1,o)&&(h=!0),f>2&&zf(e,t,2,r)&&(h=!0),f>3&&zf(e,t,3,i)&&(h=!0),f>4&&zf(e,t,4,a)&&(h=!0),f>5&&zf(e,t,5,s)&&(h=!0),f>6&&zf(e,t,6,l)&&(h=!0),f>7&&zf(e,t,7,c)&&(h=!0),f>8&&zf(e,t,8,u)&&(h=!0),f>9&&zf(e,t,9,d)&&(h=!0),h){var m=t.text.prefix;f>0&&(m+=Kg(n,p[0])),f>1&&(m+=Kg(o,p[1])),f>2&&(m+=Kg(r,p[2])),f>3&&(m+=Kg(i,p[3])),f>4&&(m+=Kg(a,p[4])),f>5&&(m+=Kg(s,p[5])),f>6&&(m+=Kg(l,p[6])),f>7&&(m+=Kg(c,p[7])),f>8&&(m+=Kg(u,p[8])),f>9&&(m+=Kg(d,p[9]));var g=Df(e,t.nodeIndex).renderText;e.renderer.setValue(g,m)}return h}(e,t,n,o,r,i,a,s,l,c,u,d);case 16384:return function(e,t,n,o,r,i,a,s,l,c,u,d){var h=Rf(e,t.nodeIndex),p=h.instance,f=!1,m=void 0,g=t.bindings.length;return g>0&&qf(e,t,0,n)&&(f=!0,m=xg(e,h,t,0,n,m)),g>1&&qf(e,t,1,o)&&(f=!0,m=xg(e,h,t,1,o,m)),g>2&&qf(e,t,2,r)&&(f=!0,m=xg(e,h,t,2,r,m)),g>3&&qf(e,t,3,i)&&(f=!0,m=xg(e,h,t,3,i,m)),g>4&&qf(e,t,4,a)&&(f=!0,m=xg(e,h,t,4,a,m)),g>5&&qf(e,t,5,s)&&(f=!0,m=xg(e,h,t,5,s,m)),g>6&&qf(e,t,6,l)&&(f=!0,m=xg(e,h,t,6,l,m)),g>7&&qf(e,t,7,c)&&(f=!0,m=xg(e,h,t,7,c,m)),g>8&&qf(e,t,8,u)&&(f=!0,m=xg(e,h,t,8,u,m)),g>9&&qf(e,t,9,d)&&(f=!0,m=xg(e,h,t,9,d,m)),m&&p.ngOnChanges(m),65536&t.flags&&xf(e,256,t.nodeIndex)&&p.ngOnInit(),262144&t.flags&&p.ngDoCheck(),f}(e,t,n,o,r,i,a,s,l,c,u,d);case 32:case 64:case 128:return function(e,t,n,o,r,i,a,s,l,c,u,d){var h=t.bindings,p=!1,f=h.length;if(f>0&&zf(e,t,0,n)&&(p=!0),f>1&&zf(e,t,1,o)&&(p=!0),f>2&&zf(e,t,2,r)&&(p=!0),f>3&&zf(e,t,3,i)&&(p=!0),f>4&&zf(e,t,4,a)&&(p=!0),f>5&&zf(e,t,5,s)&&(p=!0),f>6&&zf(e,t,6,l)&&(p=!0),f>7&&zf(e,t,7,c)&&(p=!0),f>8&&zf(e,t,8,u)&&(p=!0),f>9&&zf(e,t,9,d)&&(p=!0),p){var m=Pf(e,t.nodeIndex),g=void 0;switch(201347067&t.flags){case 32:g=new Array(h.length),f>0&&(g[0]=n),f>1&&(g[1]=o),f>2&&(g[2]=r),f>3&&(g[3]=i),f>4&&(g[4]=a),f>5&&(g[5]=s),f>6&&(g[6]=l),f>7&&(g[7]=c),f>8&&(g[8]=u),f>9&&(g[9]=d);break;case 64:g={},f>0&&(g[h[0].name]=n),f>1&&(g[h[1].name]=o),f>2&&(g[h[2].name]=r),f>3&&(g[h[3].name]=i),f>4&&(g[h[4].name]=a),f>5&&(g[h[5].name]=s),f>6&&(g[h[6].name]=l),f>7&&(g[h[7].name]=c),f>8&&(g[h[8].name]=u),f>9&&(g[h[9].name]=d);break;case 128:var v=n;switch(f){case 1:g=v.transform(n);break;case 2:g=v.transform(o);break;case 3:g=v.transform(o,r);break;case 4:g=v.transform(o,r,i);break;case 5:g=v.transform(o,r,i,a);break;case 6:g=v.transform(o,r,i,a,s);break;case 7:g=v.transform(o,r,i,a,s,l);break;case 8:g=v.transform(o,r,i,a,s,l,c);break;case 9:g=v.transform(o,r,i,a,s,l,c,u);break;case 10:g=v.transform(o,r,i,a,s,l,c,u,d)}}m.value=g}return p}(e,t,n,o,r,i,a,s,l,c,u,d);default:throw"unreachable"}}(e,t,r,i,a,s,l,c,u,d,h,p):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){for(var o=!1,r=0;r<n.length;r++)Dm(e,t,r,n[r])&&(o=!0);return o}(e,t,n);case 2:return function(e,t,n){for(var o=t.bindings,r=!1,i=0;i<n.length;i++)zf(e,t,i,n[i])&&(r=!0);if(r){var a="";for(i=0;i<n.length;i++)a+=Kg(n[i],o[i]);a=t.text.prefix+a;var s=Df(e,t.nodeIndex).renderText;e.renderer.setValue(s,a)}return r}(e,t,n);case 16384:return function(e,t,n){for(var o=Rf(e,t.nodeIndex),r=o.instance,i=!1,a=void 0,s=0;s<n.length;s++)qf(e,t,s,n[s])&&(i=!0,a=xg(e,o,t,s,n[s],a));return a&&r.ngOnChanges(a),65536&t.flags&&xf(e,256,t.nodeIndex)&&r.ngOnInit(),262144&t.flags&&r.ngDoCheck(),i}(e,t,n);case 32:case 64:case 128:return function(e,t,n){for(var r=t.bindings,i=!1,a=0;a<n.length;a++)zf(e,t,a,n[a])&&(i=!0);if(i){var s=Pf(e,t.nodeIndex),l=void 0;switch(201347067&t.flags){case 32:l=n;break;case 64:for(l={},a=0;a<n.length;a++)l[r[a].name]=n[a];break;case 128:var c=n[0],u=n.slice(1);l=c.transform.apply(c,Object(o.g)(u))}s.value=l}return i}(e,t,n);default:throw"unreachable"}}(e,t,r)}function rv(e){var t=e.def;if(4&t.nodeFlags)for(var n=0;n<t.nodes.length;n++){var o=t.nodes[n];if(4&o.flags){var r=Tf(e,n).template._projectedViews;if(r)for(var i=0;i<r.length;i++){var a=r[i];a.state|=32,Jf(a,e)}}else 0==(4&o.childFlags)&&(n+=o.childCount)}}function iv(e,t,n,o,r,i,a,s,l,c,u,d,h){return 0===n?function(e,t,n,o,r,i,a,s,l,c,u,d){var h=t.bindings.length;h>0&&Yf(e,t,0,n),h>1&&Yf(e,t,1,o),h>2&&Yf(e,t,2,r),h>3&&Yf(e,t,3,i),h>4&&Yf(e,t,4,a),h>5&&Yf(e,t,5,s),h>6&&Yf(e,t,6,l),h>7&&Yf(e,t,7,c),h>8&&Yf(e,t,8,u),h>9&&Yf(e,t,9,d)}(e,t,o,r,i,a,s,l,c,u,d,h):function(e,t,n){for(var o=0;o<n.length;o++)Yf(e,t,o,n[o])}(e,t,o),!1}function av(e,t){if(Mf(e,t.nodeIndex).dirty)throw Lf(Ff.createDebugContext(e,t.nodeIndex),"Query "+t.query.id+" not dirty","Query "+t.query.id+" dirty",0!=(1&e.state))}function sv(e){if(!(128&e.state)){if(uv(e,lv.Destroy),cv(e,lv.Destroy),Dg(e,131072),e.disposables)for(var t=0;t<e.disposables.length;t++)e.disposables[t]();!function(e){if(16&e.state){var t=Qf(e);if(t){var n=t.template._projectedViews;n&&($m(n,n.indexOf(e)),Ff.dirtyParentQueries(e))}}}(e),e.renderer.destroyNode&&function(e){for(var t=e.def.nodes.length,n=0;n<t;n++){var o=e.def.nodes[n];1&o.flags?e.renderer.destroyNode(Tf(e,n).renderElement):2&o.flags?e.renderer.destroyNode(Df(e,n).renderText):(67108864&o.flags||134217728&o.flags)&&Mf(e,n).destroy()}}(e),om(e)&&e.renderer.destroy(),e.state|=128}}var lv=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 cv(e,t){var n=e.def;if(33554432&n.nodeFlags)for(var o=0;o<n.nodes.length;o++){var r=n.nodes[o];33554432&r.flags?dv(Tf(e,o).componentView,t):0==(33554432&r.childFlags)&&(o+=r.childCount)}}function uv(e,t){var n=e.def;if(16777216&n.nodeFlags)for(var o=0;o<n.nodes.length;o++){var r=n.nodes[o];if(16777216&r.flags)for(var i=Tf(e,o).viewContainer._embeddedViews,a=0;a<i.length;a++)dv(i[a],t);else 0==(16777216&r.childFlags)&&(o+=r.childCount)}}function dv(e,t){var n=e.state;switch(t){case lv.CheckNoChanges:0==(128&n)&&(12==(12&n)?tv(e):64&n&&hv(e,lv.CheckNoChangesProjectedViews));break;case lv.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?tv(e):64&n&&hv(e,t));break;case lv.CheckAndUpdate:0==(128&n)&&(12==(12&n)?nv(e):64&n&&hv(e,lv.CheckAndUpdateProjectedViews));break;case lv.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?nv(e):64&n&&hv(e,t));break;case lv.Destroy:sv(e);break;case lv.CreateViewNodes:ev(e)}}function hv(e,t){uv(e,t),cv(e,t)}function pv(e,t,n,o){if(e.def.nodeFlags&t&&e.def.nodeFlags&n)for(var r=e.def.nodes.length,i=0;i<r;i++){var a=e.def.nodes[i];if(a.flags&t&&a.flags&n)switch(Ff.setCurrentNode(e,a.nodeIndex),o){case 0:Ig(e,a);break;case 1:av(e,a)}a.childFlags&t&&a.childFlags&n||(i+=a.childCount)}}var fv=!1;function mv(){if(!fv){fv=!0;var e=Ll()?{setCurrentNode:Nv,createRootView:vv,createEmbeddedView:yv,createComponentView:bv,createNgModuleRef:Cv,overrideProvider:Av,overrideComponentView:Sv,clearOverrides:Ov,checkAndUpdateView:Rv,checkNoChangesView:Pv,destroyView:Mv,createDebugContext:function(e,t){return new zv(e,t)},handleEvent:jv,updateDirectives:Vv,updateRenderer:Uv}:{setCurrentNode:function(){},createRootView:gv,createEmbeddedView:Yg,createComponentView:Jg,createNgModuleRef:ig,overrideProvider:jf,overrideComponentView:jf,clearOverrides:jf,checkAndUpdateView:nv,checkNoChangesView:tv,destroyView:sv,createDebugContext:function(e,t){return new zv(e,t)},handleEvent:function(e,t,n,o){return e.def.handleEvent(e,t,n,o)},updateDirectives:function(e,t){return e.def.updateDirectives(0===t?Dv:Tv,e)},updateRenderer:function(e,t){return e.def.updateRenderer(0===t?Dv:Tv,e)}};Ff.setCurrentNode=e.setCurrentNode,Ff.createRootView=e.createRootView,Ff.createEmbeddedView=e.createEmbeddedView,Ff.createComponentView=e.createComponentView,Ff.createNgModuleRef=e.createNgModuleRef,Ff.overrideProvider=e.overrideProvider,Ff.overrideComponentView=e.overrideComponentView,Ff.clearOverrides=e.clearOverrides,Ff.checkAndUpdateView=e.checkAndUpdateView,Ff.checkNoChangesView=e.checkNoChangesView,Ff.destroyView=e.destroyView,Ff.resolveDep=Sg,Ff.createDebugContext=e.createDebugContext,Ff.handleEvent=e.handleEvent,Ff.updateDirectives=e.updateDirectives,Ff.updateRenderer=e.updateRenderer,Ff.dirtyParentQueries=Mg}}function gv(e,t,n,o,r,i){var a=r.injector.get(yl);return Zg(_v(e,r,a,t,n),o,i)}function vv(e,t,n,o,r,i){var a=r.injector.get(yl),s=_v(e,r,new Xv(a),t,n),l=xv(o);return Zv(Bv.create,Zg,null,[s,l,i])}function _v(e,t,n,o,r){var i=t.injector.get(Uu),a=t.injector.get(sh),s=n.createRenderer(null,null);return{ngModule:t,injector:e,projectableNodes:o,selectorOrNode:r,sanitizer:i,rendererFactory:n,renderer:s,errorHandler:a}}function yv(e,t,n,o){var r=xv(n);return Zv(Bv.create,Yg,null,[e,t,r,o])}function bv(e,t,n,o){return n=kv.get(t.element.componentProvider.provider.token)||xv(n),Zv(Bv.create,Jg,null,[e,t,n,o])}function Cv(e,t,n,o){return ig(e,t,n,function(e){var t=function(e){var t=!1,n=!1;return 0===Ev.size?{hasOverrides:t,hasDeprecatedOverrides:n}:(e.providers.forEach(function(e){var o=Ev.get(e.token);3840&e.flags&&o&&(t=!0,n=n||o.deprecatedBehavior)}),e.modules.forEach(function(e){wv.forEach(function(o,r){x(r).providedIn===e&&(t=!0,n=n||o.deprecatedBehavior)})}),{hasOverrides:t,hasDeprecatedOverrides:n})}(e),n=t.hasDeprecatedOverrides;return t.hasOverrides?(function(e){for(var t=0;t<e.providers.length;t++){var o=e.providers[t];n&&(o.flags|=4096);var r=Ev.get(o.token);r&&(o.flags=-3841&o.flags|r.flags,o.deps=sm(r.deps),o.value=r.value)}if(wv.size>0){var i=new Set(e.modules);wv.forEach(function(t,o){if(i.has(x(o).providedIn)){var r={token:o,flags:t.flags|(n?4096:0),deps:sm(t.deps),value:t.value,index:e.providers.length};e.providers.push(r),e.providersByKey[Uf(o)]=r}})}}(e=e.factory(function(){return jf})),e):e}(o))}var Ev=new Map,wv=new Map,kv=new Map;function Av(e){var t;Ev.set(e.token,e),"function"==typeof e.token&&(t=x(e.token))&&"function"==typeof t.providedIn&&wv.set(e.token,e)}function Sv(e,t){var n=um(Km(t)),o=um(n.nodes[0].element.componentView);kv.set(e,o)}function Ov(){Ev.clear(),wv.clear(),kv.clear()}function xv(e){if(0===Ev.size)return e;var t=function(e){for(var t=[],n=null,o=0;o<e.nodes.length;o++){var r=e.nodes[o];1&r.flags&&(n=r),n&&3840&r.flags&&Ev.has(r.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory(function(){return jf});for(var n=0;n<t.length;n++)o(e,t[n]);return e;function o(e,t){for(var n=t+1;n<e.nodes.length;n++){var o=e.nodes[n];if(1&o.flags)return;if(3840&o.flags){var r=o.provider,i=Ev.get(r.token);i&&(o.flags=-3841&o.flags|i.flags,r.deps=sm(i.deps),r.value=i.value)}}}}function Dv(e,t,n,o,r,i,a,s,l,c,u,d,h){var p=e.def.nodes[t];return ov(e,p,n,o,r,i,a,s,l,c,u,d,h),224&p.flags?Pf(e,t).value:void 0}function Tv(e,t,n,o,r,i,a,s,l,c,u,d,h){var p=e.def.nodes[t];return iv(e,p,n,o,r,i,a,s,l,c,u,d,h),224&p.flags?Pf(e,t).value:void 0}function Rv(e){return Zv(Bv.detectChanges,nv,null,[e])}function Pv(e){return Zv(Bv.checkNoChanges,tv,null,[e])}function Mv(e){return Zv(Bv.destroy,sv,null,[e])}var Iv,Fv,Lv,Bv=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 Nv(e,t){Fv=e,Lv=t}function jv(e,t,n,o){return Nv(e,t),Zv(Bv.handleEvent,e.def.handleEvent,null,[e,t,n,o])}function Vv(e,t){if(128&e.state)throw Nf(Bv[Iv]);return Nv(e,Gv(e,0)),e.def.updateDirectives(function(e,n,o){for(var r=[],i=3;i<arguments.length;i++)r[i-3]=arguments[i];var a=e.def.nodes[n];return 0===t?$v(e,a,o,r):Hv(e,a,o,r),16384&a.flags&&Nv(e,Gv(e,n)),224&a.flags?Pf(e,a.nodeIndex).value:void 0},e)}function Uv(e,t){if(128&e.state)throw Nf(Bv[Iv]);return Nv(e,qv(e,0)),e.def.updateRenderer(function(e,n,o){for(var r=[],i=3;i<arguments.length;i++)r[i-3]=arguments[i];var a=e.def.nodes[n];return 0===t?$v(e,a,o,r):Hv(e,a,o,r),3&a.flags&&Nv(e,qv(e,n)),224&a.flags?Pf(e,a.nodeIndex).value:void 0},e)}function $v(e,t,n,r){if(ov.apply(void 0,Object(o.g)([e,t,n],r))){var i=1===n?r[0]:r;if(16384&t.flags){for(var a={},s=0;s<t.bindings.length;s++){var l=t.bindings[s],c=i[s];8&l.flags&&(a[(p=l.nonMinifiedName,f=void 0,f=p.replace(/[$@]/g,"_"),"ng-reflect-"+(p=f.replace(Wv,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return"-"+e[1].toLowerCase()})))]=Kv(c))}var u=t.parent,d=Tf(e,u.nodeIndex).renderElement;if(u.element.name)for(var h in a)null!=(c=a[h])?e.renderer.setAttribute(d,h,c):e.renderer.removeAttribute(d,h);else e.renderer.setValue(d,"bindings="+JSON.stringify(a,null,2))}}var p,f}function Hv(e,t,n,r){iv.apply(void 0,Object(o.g)([e,t,n],r))}var Wv=/([A-Z])/g;function Kv(e){try{return null!=e?e.toString().slice(0,30):e}catch(t){return"[ERROR] Exception while trying to serialize the value"}}function Gv(e,t){for(var n=t;n<e.def.nodes.length;n++){var o=e.def.nodes[n];if(16384&o.flags&&o.bindings&&o.bindings.length)return n}return null}function qv(e,t){for(var n=t;n<e.def.nodes.length;n++){var o=e.def.nodes[n];if(3&o.flags&&o.bindings&&o.bindings.length)return n}return null}var zv=function(){function e(e,t){this.view=e,this.nodeIndex=t,null==t&&(this.nodeIndex=t=0),this.nodeDef=e.def.nodes[t];for(var n=this.nodeDef,o=e;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&o;)n=em(o),o=o.parent;this.elDef=n,this.elView=o}return Object.defineProperty(e.prototype,"elOrCompView",{get:function(){return Tf(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return eg(this.elView,this.elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"component",{get:function(){return this.elOrCompView.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this.elOrCompView.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"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},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){var e={};if(this.elDef){Yv(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&&Yv(this.elView,n,e),t+=n.childCount}}return e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentRenderElement",{get:function(){var e=function(e){for(;e&&!om(e);)e=e.parent;return e.parent?Tf(e.parent,em(e).nodeIndex):null}(this.elOrCompView);return e?e.renderElement:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"renderNode",{get:function(){return 2&this.nodeDef.flags?tm(this.view,this.nodeDef):tm(this.elView,this.elDef)},enumerable:!0,configurable:!0}),e.prototype.logError=function(e){for(var t,n,r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];2&this.nodeDef.flags?(t=this.view.def,n=this.nodeDef.nodeIndex):(t=this.elView.def,n=this.elDef.nodeIndex);var a=function(e,t){for(var n=-1,o=0;o<=t;o++)3&e.nodes[o].flags&&n++;return n}(t,n),s=-1;t.factory(function(){var t;return++s===a?(t=e.error).bind.apply(t,Object(o.g)([e],r)):jf}),s<a&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error.apply(e,Object(o.g)(r)))},e}();function Yv(e,t,n){for(var o in t.references)n[o]=Lg(e,t,t.references[o])}function Zv(e,t,n,o){var r=Iv,i=Fv,a=Lv;try{Iv=e;var s=t.apply(n,o);return Fv=i,Lv=a,Iv=r,s}catch(l){if(rh(l)||!Fv)throw l;throw function(e,t){return e instanceof Error||(e=new Error(e.toString())),Bf(e,t),e}(l,Jv())}}function Jv(){return Fv?new zv(Fv,Lv):null}var Xv=function(){function e(e){this.delegate=e}return e.prototype.createRenderer=function(e,t){return new Qv(this.delegate.createRenderer(e,t))},e.prototype.begin=function(){this.delegate.begin&&this.delegate.begin()},e.prototype.end=function(){this.delegate.end&&this.delegate.end()},e.prototype.whenRenderingDone=function(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)},e}(),Qv=function(){function e(e){this.delegate=e,this.debugContextFactory=Jv,this.data=this.delegate.data}return e.prototype.createDebugContext=function(e){return this.debugContextFactory(e)},e.prototype.destroyNode=function(e){!function(e){Zp.delete(e.nativeNode)}(Jp(e)),this.delegate.destroyNode&&this.delegate.destroyNode(e)},e.prototype.destroy=function(){this.delegate.destroy()},e.prototype.createElement=function(e,t){var n=this.delegate.createElement(e,t),o=this.createDebugContext(n);if(o){var r=new zp(n,null,o);r.name=e,Xp(r)}return n},e.prototype.createComment=function(e){var t=this.delegate.createComment(e),n=this.createDebugContext(t);return n&&Xp(new qp(t,null,n)),t},e.prototype.createText=function(e){var t=this.delegate.createText(e),n=this.createDebugContext(t);return n&&Xp(new qp(t,null,n)),t},e.prototype.appendChild=function(e,t){var n=Jp(e),o=Jp(t);n&&o&&n instanceof zp&&n.addChild(o),this.delegate.appendChild(e,t)},e.prototype.insertBefore=function(e,t,n){var o=Jp(e),r=Jp(t),i=Jp(n);o&&r&&o instanceof zp&&o.insertBefore(i,r),this.delegate.insertBefore(e,t,n)},e.prototype.removeChild=function(e,t){var n=Jp(e),o=Jp(t);n&&o&&n instanceof zp&&n.removeChild(o),this.delegate.removeChild(e,t)},e.prototype.selectRootElement=function(e,t){var n=this.delegate.selectRootElement(e,t),o=Jv()||(Sf?this.createDebugContext(n):null);return o&&Xp(new zp(n,null,o)),n},e.prototype.setAttribute=function(e,t,n,o){var r=Jp(e);r&&r instanceof zp&&(r.attributes[o?o+":"+t:t]=n),this.delegate.setAttribute(e,t,n,o)},e.prototype.removeAttribute=function(e,t,n){var o=Jp(e);o&&o instanceof zp&&(o.attributes[n?n+":"+t:t]=null),this.delegate.removeAttribute(e,t,n)},e.prototype.addClass=function(e,t){var n=Jp(e);n&&n instanceof zp&&(n.classes[t]=!0),this.delegate.addClass(e,t)},e.prototype.removeClass=function(e,t){var n=Jp(e);n&&n instanceof zp&&(n.classes[t]=!1),this.delegate.removeClass(e,t)},e.prototype.setStyle=function(e,t,n,o){var r=Jp(e);r&&r instanceof zp&&(r.styles[t]=n),this.delegate.setStyle(e,t,n,o)},e.prototype.removeStyle=function(e,t,n){var o=Jp(e);o&&o instanceof zp&&(o.styles[t]=null),this.delegate.removeStyle(e,t,n)},e.prototype.setProperty=function(e,t,n){var o=Jp(e);o&&o instanceof zp&&(o.properties[t]=n),this.delegate.setProperty(e,t,n)},e.prototype.listen=function(e,t,n){if("string"!=typeof e){var o=Jp(e);o&&o.listeners.push(new Gp(t,n))}return this.delegate.listen(e,t,n)},e.prototype.parentNode=function(e){return this.delegate.parentNode(e)},e.prototype.nextSibling=function(e){return this.delegate.nextSibling(e)},e.prototype.setValue=function(e,t){return this.delegate.setValue(e,t)},e}();function e_(e){return mv(),Ff.overrideProvider(e)}function t_(e,t){return mv(),Ff.overrideComponentView(e,t)}function n_(){return mv(),Ff.clearOverrides()}function o_(e,t,n){return new r_(e,t,n)}var r_=function(e){function t(t,n,o){var r=e.call(this)||this;return r.moduleType=t,r._bootstrapComponents=n,r._ngModuleDefFactory=o,r}return Object(o.c)(t,e),t.prototype.create=function(e){mv();var t=function(e){var t=Array.from(e.providers),n=Array.from(e.modules),o={};for(var r in e.providersByKey)o[r]=e.providersByKey[r];return{factory:e.factory,isRoot:e.isRoot,providers:t,modules:n,providersByKey:o}}(um(this._ngModuleDefFactory));return Ff.createNgModuleRef(this.moduleType,e||wo.NULL,this._bootstrapComponents,t)},t}(jo),i_=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.c)(t,e),t.prototype.createRenderer=function(t,n){var o=e.prototype.createRenderer.call(this,t,n);return o.debugContextFactory=function(e){return new a_(e)},o},t}(Xv),a_=function(){function e(e){this._nativeNode=e}return Object.defineProperty(e.prototype,"nodeIndex",{get:function(){return vs(this._nativeNode).nodeIndex},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"view",{get:function(){return vs(this._nativeNode).lViewData},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return ms(this._nativeNode)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"component",{get:function(){return ds(this._nativeNode)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){var e=vs(this._nativeNode),t=e.lViewData[Ke].data[e.nodeIndex],n=4095&t.flags;if(n>0){var o=t.flags>>16;return this.view[Ke].data.slice(o,o+n).map(function(e){return e.type})}return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){return void 0===(e=vs(this._nativeNode)).localRefs&&(e.localRefs=function(t,n){var o=t[Ke].data[e.nodeIndex];if(o&&o.localNames){for(var r={},i=0;i<o.localNames.length;i+=2){var a=o.localNames[i+1];r[o.localNames[i]]=-1===a?Tt(o,t):t[a]}return r}return null}(e.lViewData)),e.localRefs||{};var e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){throw new Error("Not implemented in ivy")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentRenderElement",{get:function(){throw new Error("Not implemented in ivy")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"renderNode",{get:function(){throw new Error("Not implemented in ivy")},enumerable:!0,configurable:!0}),e.prototype.logError=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e.error.apply(e,Object(o.g)(t))},e}()},DKTb:function(e,t,n){"use strict";function o(e){setTimeout(function(){throw e})}n.d(t,"a",function(){return o})},DT56:function(e,t,n){var o=n("yNUO");e.exports=function(e,t){var n=o(e).getTime(),r=o(t).getTime();return n<r?-1:n>r?1:0}},EMgV:function(e,t,n){var o=n("yNUO");e.exports=function(e){return o(e).getFullYear()}},Ehmk:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var o,r=n("eihs");function i(){try{return o.apply(this,arguments)}catch(e){return r.a.e=e,r.a}}function a(e){return o=e,i}},"En8+":function(e,t,n){"use strict";function o(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(t,"a",function(){return r});var r=o()},Ev1t:function(e,t,n){var o=n("ZmXw");e.exports=function(e,t){var n=Number(t);return o(e,-n)}},"F/XL":function(e,t,n){"use strict";n.d(t,"a",function(){return s});var o=n("nkY7"),r=n("IUTb"),i=n("G5J1"),a=n("PU8L");function s(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e[e.length-1];switch(Object(o.a)(n)?e.pop():n=void 0,e.length){case 0:return Object(i.b)(n);case 1:return n?Object(r.a)(e,n):Object(a.a)(e[0]);default:return Object(r.a)(e,n)}}},F809:function(e,t,n){var o=n("yNUO"),r=n("sunR"),i=n("DT56");e.exports=function(e,t){var n=o(e),a=o(t),s=i(n,a),l=Math.abs(r(n,a));return n.setMonth(n.getMonth()-s*l),s*(l-(i(n,a)===-s))}},FF6D:function(e,t,n){var o=n("yNUO");e.exports=function(e){var t=o(e);return t.setMilliseconds(999),t}},FFOo:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var o=n("mrSG"),r=n("2Bdj"),i=n("6ahw"),a=n("pugT"),s=n("L/V9"),l=n("iLxQ"),c=n("DKTb"),u=function(e){function t(n,o,r){var a=e.call(this)||this;switch(a.syncErrorValue=null,a.syncErrorThrown=!1,a.syncErrorThrowable=!1,a.isStopped=!1,a._parentSubscription=null,arguments.length){case 0:a.destination=i.a;break;case 1:if(!n){a.destination=i.a;break}if("object"==typeof n){n instanceof t?(a.syncErrorThrowable=n.syncErrorThrowable,a.destination=n,n.add(a)):(a.syncErrorThrowable=!0,a.destination=new d(a,n));break}default:a.syncErrorThrowable=!0,a.destination=new d(a,n,o,r)}return a}return o.c(t,e),t.prototype[s.a]=function(){return this},t.create=function(e,n,o){var r=new t(e,n,o);return r.syncErrorThrowable=!1,r},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},t.prototype._unsubscribeAndRecycle=function(){var e=this._parent,t=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=e,this._parents=t,this._parentSubscription=null,this},t}(a.a),d=function(e){function t(t,n,o,a){var s,l=e.call(this)||this;l._parentSubscriber=t;var c=l;return Object(r.a)(n)?s=n:n&&(s=n.next,o=n.error,a=n.complete,n!==i.a&&(c=Object.create(n),Object(r.a)(c.unsubscribe)&&l.add(c.unsubscribe.bind(c)),c.unsubscribe=l.unsubscribe.bind(l))),l._context=c,l._next=s,l._error=o,l._complete=a,l}return o.c(t,e),t.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;l.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}},t.prototype.error=function(e){if(!this.isStopped){var t=this._parentSubscriber,n=l.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(c.a)(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;Object(c.a)(e)}}},t.prototype.complete=function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var n=function(){return e._complete.call(e._context)};l.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},t.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),l.a.useDeprecatedSynchronousErrorHandling)throw n;Object(c.a)(n)}},t.prototype.__tryOrSetError=function(e,t,n){if(!l.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(o){return l.a.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=o,e.syncErrorThrown=!0,!0):(Object(c.a)(o),!0)}return!1},t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},t}(u)},FGiv:function(e,t){var n=1e3,o=6e4,r=36e5,i=24*r;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,l=typeof e;if("string"===l&&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*i;case"hours":case"hour":case"hrs":case"hr":case"h":return a*r;case"minutes":case"minute":case"mins":case"min":case"m":return a*o;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"===l&&!1===isNaN(e))return t.long?a(s=e,i,"day")||a(s,r,"hour")||a(s,o,"minute")||a(s,n,"second")||s+" ms":function(e){return e>=i?Math.round(e/i)+"d":e>=r?Math.round(e/r)+"h":e>=o?Math.round(e/o)+"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 o=n("yNUO"),r=n("OBTA");e.exports=function(e,t){var n=o(e),i=Number(t)-(Math.floor(n.getMonth()/3)+1);return r(n,n.getMonth()+3*i)}},FpO7:function(e,t,n){e.exports=function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={exports:{},id:o,loaded:!1};return e[o].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(3);Object.defineProperty(t,"conformToMask",{enumerable:!0,get:function(){return o(r).default}});var i=n(2);Object.defineProperty(t,"adjustCaretPosition",{enumerable:!0,get:function(){return o(i).default}});var a=n(5);Object.defineProperty(t,"createTextMaskInputElement",{enumerable:!0,get:function(){return o(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,r=void 0===t?o:t,i=e.previousPlaceholder,a=void 0===i?o:i,s=e.currentCaretPosition,l=void 0===s?0:s,c=e.conformedValue,u=e.rawValue,d=e.placeholderChar,h=e.placeholder,p=e.indexesOfPipedChars,f=void 0===p?n:p,m=e.caretTrapIndexes,g=void 0===m?n:m;if(0===l||!u.length)return 0;var v=r.length,_=h.length,y=c.length,b=u.length-v,C=b>0;if(b>1&&!C&&0!==v)return l;var E=0,w=void 0,k=void 0;if(!C||r!==c&&c!==h){var A=c.toLowerCase(),S=u.toLowerCase().substr(0,l).split(o).filter(function(e){return-1!==A.indexOf(e)});k=S[S.length-1];var O=a.substr(0,S.length).split(o).filter(function(e){return e!==d}).length,x=h.substr(0,S.length).split(o).filter(function(e){return e!==d}).length;!C&&(x!==O||void 0!==a[S.length-1]&&void 0!==h[S.length-2]&&a[S.length-1]!==d&&a[S.length-1]!==h[S.length-1]&&a[S.length-1]===h[S.length-2])&&O>0&&h.indexOf(k)>-1&&void 0!==u[l]&&(w=!0,k=u[l]);for(var D=f.map(function(e){return A[e]}).filter(function(e){return e===k}).length,T=S.filter(function(e){return e===k}).length,R=h.substr(0,h.indexOf(d)).split(o).filter(function(e,t){return e===k&&u[t]!==e}).length+T+D+(w?1:0),P=0,M=0;M<y&&(E=M+1,A[M]===k&&P++,!(P>=R));M++);}else E=l-b;if(C){for(var I=E,F=E;F<=_;F++)if(h[F]===d&&(I=F),h[F]===d||-1!==g.indexOf(F)||F===_)return I}else if(w){for(var L=E-1;L>=0;L--)if(c[L]===k||-1!==g.indexOf(L)||0===L)return L}else for(var B=E;B>=0;B--)if(h[B-1]===d||-1!==g.indexOf(B)||0===B)return B};var n=[],o=""},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o="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,r.isArray)(t)){if((void 0===t?"undefined":o(t))!==i.strFunction)throw new Error("Text-mask:conformToMask; The mask property must be an array.");t=t(e,n),t=(0,r.processCaretTraps)(t).maskWithoutCaretTraps}var l=n.guide,c=void 0===l||l,u=n.previousConformedValue,d=void 0===u?s:u,h=n.placeholderChar,p=void 0===h?i.placeholderChar:h,f=n.placeholder,m=void 0===f?(0,r.convertMaskToPlaceholder)(t,p):f,g=n.keepCharPositions,v=!1===c&&void 0!==d,_=e.length,y=d.length,b=m.length,C=t.length,E=_-y,w=E>0,k=n.currentCaretPosition+(w?-E:0),A=k+Math.abs(E);if(!0===g&&!w){for(var S=s,O=k;O<A;O++)m[O]===p&&(S+=p);e=e.slice(0,k)+S+e.slice(k,_)}for(var x=e.split(s).map(function(e,t){return{char:e,isNew:t>=k&&t<A}}),D=_-1;D>=0;D--){var T=x[D].char;T!==p&&T===m[D>=k&&y===C?D-E:D]&&x.splice(D,1)}var R=s,P=!1;e:for(var M=0;M<b;M++){var I=m[M];if(I===p){if(x.length>0)for(;x.length>0;){var F=x.shift(),L=F.char,B=F.isNew;if(L===p&&!0!==v){R+=p;continue e}if(t[M].test(L)){if(!0===g&&!1!==B&&d!==s&&!1!==c&&w){for(var N=x.length,j=null,V=0;V<N;V++){var U=x[V];if(U.char!==p&&!1===U.isNew)break;if(U.char===p){j=V;break}}null!==j?(R+=L,x.splice(j,1)):M--}else R+=L;continue e}P=!0}!1===v&&(R+=m.substr(M,b));break}R+=I}if(v&&!1===w){for(var $=null,H=0;H<R.length;H++)m[H]===p&&($=H);R=null!==$?R.substr(0,$+1):s}return{conformedValue:R,meta:{someCharsRejected:P}}};var r=n(4),i=n(1),a=[],s=""},function(e,t,n){"use strict";function o(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]:i,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.placeholderChar;if(!o(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=o,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 r=n(1),i=[],a="[]"},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t){document.activeElement===e&&(f?m(function(){return e.setSelectionRange(t,t,h)},0):e.setSelectionRange(t,t,h))}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},a="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 o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,h=o.inputElement,f=o.mask,m=o.guide,g=o.pipe,v=o.placeholderChar,_=void 0===v?u.placeholderChar:v,y=o.keepCharPositions,b=void 0!==y&&y,C=o.showMask,E=void 0!==C&&C;if(void 0===n&&(n=h.value),n!==t.previousConformedValue){(void 0===f?"undefined":a(f))===p&&void 0!==f.pipe&&void 0!==f.mask&&(g=f.pipe,f=f.mask);var w=void 0,k=void 0;if(f instanceof Array&&(w=(0,c.convertMaskToPlaceholder)(f,_)),!1!==f){var A=function(e){if((0,c.isString)(e))return e;if((0,c.isNumber)(e))return String(e);if(null==e)return d;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))}(n),S=h.selectionEnd,O=t.previousConformedValue,x=t.previousPlaceholder,D=void 0;if((void 0===f?"undefined":a(f))===u.strFunction){if(!1===(k=f(A,{currentCaretPosition:S,previousConformedValue:O,placeholderChar:_})))return;var T=(0,c.processCaretTraps)(k);D=T.indexes,w=(0,c.convertMaskToPlaceholder)(k=T.maskWithoutCaretTraps,_)}else k=f;var R={previousConformedValue:O,guide:m,placeholderChar:_,pipe:g,placeholder:w,currentCaretPosition:S,keepCharPositions:b},P=(0,l.default)(A,k,R).conformedValue,M=(void 0===g?"undefined":a(g))===u.strFunction,I={};M&&(!1===(I=g(P,i({rawValue:A},R)))?I={value:O,rejected:!0}:(0,c.isString)(I)&&(I={value:I}));var F=M?I.value:P,L=(0,s.default)({previousConformedValue:O,previousPlaceholder:x,conformedValue:F,placeholder:w,rawValue:A,currentCaretPosition:S,placeholderChar:_,indexesOfPipedChars:I.indexesOfPipedChars,caretTrapIndexes:D}),B=F===w&&0===L?E?w:d:F;t.previousConformedValue=B,t.previousPlaceholder=w,h.value!==B&&(h.value=B,r(h,L))}}}}};var s=o(n(2)),l=o(n(3)),c=n(4),u=n(1),d="",h="none",p="object",f="undefined"!=typeof navigator&&/Android/i.test(navigator.userAgent),m="undefined"!=typeof requestAnimationFrame?requestAnimationFrame:setTimeout}])},Fxb1:function(e,t,n){"use strict";n.d(t,"a",function(){return p});var o=n("6blF"),r=n("+tJ4"),i=n("S5XQ"),a=n("u67D"),s=n("JcRv"),l=n("2ePl"),c=n("/WYv"),u=n("McSo"),d=n("En8+"),h=n("xTla"),p=function(e){if(e instanceof o.a)return function(t){return e._isScalar?(t.next(e.value),void t.complete()):e.subscribe(t)};if(e&&"function"==typeof e[h.a])return Object(s.a)(e);if(Object(l.a)(e))return Object(r.a)(e);if(Object(c.a)(e))return Object(i.a)(e);if(e&&"function"==typeof e[d.a])return Object(a.a)(e);var t=Object(u.a)(e)?"an invalid object":"'"+e+"'";throw new TypeError("You provided "+t+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")}},Fzqc:function(e,t,n){"use strict";n.d(t,"b",function(){return a}),n.d(t,"a",function(){return s});var o=n("Ip0R"),r=n("CcnG"),i=new r.InjectionToken("cdk-dir-doc",{providedIn:"root",factory:function(){return Object(r.inject)(o.e)}}),a=function(){function e(e){if(this.value="ltr",this.change=new r.EventEmitter,e){var t=(e.body?e.body.dir:null)||(e.documentElement?e.documentElement.dir:null);this.value="ltr"===t||"rtl"===t?t:"ltr"}}return e.prototype.ngOnDestroy=function(){this.change.complete()},e.ngInjectableDef=Object(r.defineInjectable)({factory:function(){return new e(Object(r.inject)(i,8))},token:e,providedIn:"root"}),e}(),s=function(){return function(){}}()},G5J1:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i});var o=n("6blF"),r=new o.a(function(e){return e.complete()});function i(e){return e?function(e){return new o.a(function(t){return e.schedule(function(){return t.complete()})})}(e):r}},"G6+r":function(e,t,n){var o=n("x84W");e.exports=function(e,t,n){var r=o(e,n),i=o(t,n);return r.getTime()===i.getTime()}},GLf8:function(e,t,n){var o=n("crfB");e.exports=function(e,t){var n=Number(t);return o(e,-n)}},Gi3i:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var o=n("mrSG"),r=n("FFOo"),i=n("T1DM");function a(e,t){return void 0===t&&(t=i.a),function(n){return n.lift(new s(e,t))}}var s=function(){function e(e,t){this.dueTime=e,this.scheduler=t}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.dueTime,this.scheduler))},e}(),l=function(e){function t(t,n,o){var r=e.call(this,t)||this;return r.dueTime=n,r.scheduler=o,r.debouncedSubscription=null,r.lastValue=null,r.hasValue=!1,r}return o.c(t,e),t.prototype._next=function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(c,this.dueTime,this))},t.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},t.prototype.debouncedNext=function(){if(this.clearDebounce(),this.hasValue){var e=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}},t.prototype.clearDebounce=function(){var e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)},t}(r.a);function c(e){e.debouncedNext()}},Gjsa:function(e,t){var n="function"==typeof setImmediate;e.exports=n?function(e){setImmediate(e)}:function(e){setTimeout(e,0)}},GoQk:function(e,t,n){var o=n("yNUO");e.exports=function(){var e=Array.prototype.slice.call(arguments).map(function(e){return o(e)}),t=Math.min.apply(null,e);return new Date(t)}},HJBe:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=n("mrSG"),r=n("FFOo");function i(e){return void 0===e&&(e=null),function(t){return t.lift(new a(e))}}var a=function(){function e(e){this.defaultValue=e}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.defaultValue))},e}(),s=function(e){function t(t,n){var o=e.call(this,t)||this;return o.defaultValue=n,o.isEmpty=!0,o}return o.c(t,e),t.prototype._next=function(e){this.isEmpty=!1,this.destination.next(e)},t.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},t}(r.a)},HMbd:function(e,t,n){var o=n("7B8A");e.exports=function(e,t){var n=Number(t);return o(e,36e5*n)}},IJmI:function(e,t){ace.define("ace/snippets",["require","exports","module","ace/lib/oop","ace/lib/event_emitter","ace/lib/lang","ace/range","ace/anchor","ace/keyboard/hash_handler","ace/tokenizer","ace/lib/dom","ace/editor"],function(e,t,n){"use strict";var o=e("./lib/oop"),r=e("./lib/event_emitter").EventEmitter,i=e("./lib/lang"),a=e("./range").Range,s=e("./anchor").Anchor,l=e("./keyboard/hash_handler").HashHandler,c=e("./tokenizer").Tokenizer,u=a.comparePoints,d=function(){this.snippetMap={},this.snippetNameMap={}};(function(){o.implement(this,r),this.getTokenizer=function(){function e(e,t,n){return e=e.substr(1),/^\d+$/.test(e)&&!n.inFormatString?[{tabstopId:parseInt(e,10)}]:[{text:e}]}function t(e){return"(?:[^\\\\"+e+"]|\\\\.)"}return d.$tokenizer=new c({start:[{regex:/:/,onMatch:function(e,t,n){return n.length&&n[0].expectIf?(n[0].expectIf=!1,n[0].elseBranch=n[0],[n[0]]):":"}},{regex:/\\./,onMatch:function(e,t,n){var o=e[1];return"}"==o&&n.length?e=o:-1!="`$\\".indexOf(o)?e=o:n.inFormatString&&("n"==o?e="\n":"t"==o?e="\n":-1!="ulULE".indexOf(o)&&(e={changeCase:o,local:o>"a"})),[e]}},{regex:/}/,onMatch:function(e,t,n){return[n.length?n.shift():e]}},{regex:/\$(?:\d+|\w+)/,onMatch:e},{regex:/\$\{[\dA-Z_a-z]+/,onMatch:function(t,n,o){var r=e(t.substr(1),0,o);return o.unshift(r[0]),r},next:"snippetVar"},{regex:/\n/,token:"newline",merge:!1}],snippetVar:[{regex:"\\|"+t("\\|")+"*\\|",onMatch:function(e,t,n){n[0].choices=e.slice(1,-1).split(",")},next:"start"},{regex:"/("+t("/")+"+)/(?:("+t("/")+"*)/)(\\w*):?",onMatch:function(e,t,n){var o=n[0];return o.fmtString=e,e=this.splitRegex.exec(e),o.guard=e[1],o.fmt=e[2],o.flag=e[3],""},next:"start"},{regex:"`"+t("`")+"*`",onMatch:function(e,t,n){return n[0].code=e.splice(1,-1),""},next:"start"},{regex:"\\?",onMatch:function(e,t,n){n[0]&&(n[0].expectIf=!0)},next:"start"},{regex:"([^:}\\\\]|\\\\.)*:?",token:"",next:"start"}],formatString:[{regex:"/("+t("/")+"+)/",token:"regex"},{regex:"",onMatch:function(e,t,n){n.inFormatString=!0},next:"start"}]}),d.prototype.getTokenizer=function(){return d.$tokenizer},d.$tokenizer},this.tokenizeTmSnippet=function(e,t){return this.getTokenizer().getLineTokens(e,t).tokens.map(function(e){return e.value||e})},this.$getDefaultValue=function(e,t){if(/^[A-Z]\d+$/.test(t)){var n=t.substr(1);return(this.variables[t[0]+"__"]||{})[n]}if(/^\d+$/.test(t))return(this.variables.__||{})[t];if(t=t.replace(/^TM_/,""),e){var o=e.session;switch(t){case"CURRENT_WORD":var r=o.getWordRange();case"SELECTION":case"SELECTED_TEXT":return o.getTextRange(r);case"CURRENT_LINE":return o.getLine(e.getCursorPosition().row);case"PREV_LINE":return o.getLine(e.getCursorPosition().row-1);case"LINE_INDEX":return e.getCursorPosition().column;case"LINE_NUMBER":return e.getCursorPosition().row+1;case"SOFT_TABS":return o.getUseSoftTabs()?"YES":"NO";case"TAB_SIZE":return o.getTabSize();case"FILENAME":case"FILEPATH":return"";case"FULLNAME":return"Ace"}}},this.variables={},this.getVariableValue=function(e,t){return this.variables.hasOwnProperty(t)?this.variables[t](e,t)||"":this.$getDefaultValue(e,t)||""},this.tmStrFormat=function(e,t,n){var o=t.guard;o=new RegExp(o,(t.flag||"").replace(/[^gi]/,""));var r=this.tokenizeTmSnippet(t.fmt,"formatString"),i=this,a=e.replace(o,function(){i.variables.__=arguments;for(var e=i.resolveVariables(r,n),t="E",o=0;o<e.length;o++){var a=e[o];if("object"==typeof a)if(e[o]="",a.changeCase&&a.local){var s=e[o+1];s&&"string"==typeof s&&(e[o]="u"==a.changeCase?s[0].toUpperCase():s[0].toLowerCase(),e[o+1]=s.substr(1))}else a.changeCase&&(t=a.changeCase);else"U"==t?e[o]=a.toUpperCase():"L"==t&&(e[o]=a.toLowerCase())}return e.join("")});return this.variables.__=null,a},this.resolveVariables=function(e,t){for(var n=[],o=0;o<e.length;o++){var r=e[o];if("string"==typeof r)n.push(r);else{if("object"!=typeof r)continue;if(r.skip)a(r);else{if(r.processed<o)continue;if(r.text){var i=this.getVariableValue(t,r.text);i&&r.fmtString&&(i=this.tmStrFormat(i,r)),r.processed=o,null==r.expectIf?i&&(n.push(i),a(r)):i?r.skip=r.elseBranch:a(r)}else null!=r.tabstopId?n.push(r):null!=r.changeCase&&n.push(r)}}}function a(t){var n=e.indexOf(t,o+1);-1!=n&&(o=n)}return n},this.insertSnippetForSelection=function(e,t){var n=e.getCursorPosition(),o=e.session.getLine(n.row),r=e.session.getTabString(),i=o.match(/^\s*/)[0];n.column<i.length&&(i=i.slice(0,n.column)),t=t.replace(/\r/g,"");var a=this.tokenizeTmSnippet(t);a=(a=this.resolveVariables(a,e)).map(function(e){return"\n"==e?e+i:"string"==typeof e?e.replace(/\t/g,r):e});var s=[];a.forEach(function(e,t){if("object"==typeof e){var n=e.tabstopId,o=s[n];if(o||((o=s[n]=[]).index=n,o.value=""),-1===o.indexOf(e)){o.push(e);var r=a.indexOf(e,t+1);if(-1!==r){var i=a.slice(t+1,r);i.some(function(e){return"object"==typeof e})&&!o.value?o.value=i:!i.length||o.value&&"string"==typeof o.value||(o.value=i.join(""))}}}}),s.forEach(function(e){e.length=0});var l={};function c(e){for(var t=[],n=0;n<e.length;n++){var o=e[n];if("object"==typeof o){if(l[o.tabstopId])continue;o=t[e.lastIndexOf(o,n-1)]||{tabstopId:o.tabstopId}}t[n]=o}return t}for(var u=0;u<a.length;u++){var d=a[u];if("object"==typeof d){var p=d.tabstopId,f=a.indexOf(d,u+1);if(l[p])l[p]===d&&(l[p]=null);else{var m=s[p],g="string"==typeof m.value?[m.value]:c(m.value);g.unshift(u+1,Math.max(0,f-u)),g.push(d),l[p]=d,a.splice.apply(a,g),-1===m.indexOf(d)&&m.push(d)}}}var v=0,_=0,y="";a.forEach(function(e){if("string"==typeof e){var t=e.split("\n");t.length>1?(_=t[t.length-1].length,v+=t.length-1):_+=e.length,y+=e}else e.start?e.end={row:v,column:_}:e.start={row:v,column:_}});var b=e.getSelectionRange(),C=e.session.replace(b,y);new h(e).addTabstops(s,b.start,C,e.inVirtualSelectionMode&&e.selection.index)},this.insertSnippet=function(e,t){var n=this;if(e.inVirtualSelectionMode)return n.insertSnippetForSelection(e,t);e.forEachSelection(function(){n.insertSnippetForSelection(e,t)},null,{keepOrder:!0}),e.tabstopManager&&e.tabstopManager.tabNext()},this.$getScope=function(e){var t=e.session.$mode.$id||"";if("html"===(t=t.split("/").pop())||"php"===t){"php"!==t||e.session.$mode.inlinePhp||(t="html");var n=e.getCursorPosition(),o=e.session.getState(n.row);"object"==typeof o&&(o=o[0]),o.substring&&("js-"==o.substring(0,3)?t="javascript":"css-"==o.substring(0,4)?t="css":"php-"==o.substring(0,4)&&(t="php"))}return t},this.getActiveScopes=function(e){var t=this.$getScope(e),n=[t],o=this.snippetMap;return o[t]&&o[t].includeScopes&&n.push.apply(n,o[t].includeScopes),n.push("_"),n},this.expandWithTab=function(e,t){var n=this,o=e.forEachSelection(function(){return n.expandSnippetForSelection(e,t)},null,{keepOrder:!0});return o&&e.tabstopManager&&e.tabstopManager.tabNext(),o},this.expandSnippetForSelection=function(e,t){var n,o=e.getCursorPosition(),r=e.session.getLine(o.row),i=r.substring(0,o.column),a=r.substr(o.column),s=this.snippetMap;return this.getActiveScopes(e).some(function(e){var t=s[e];return t&&(n=this.findMatchingSnippet(t,i,a)),!!n},this),!(!n||(!t||!t.dryRun)&&(e.session.doc.removeInLine(o.row,o.column-n.replaceBefore.length,o.column+n.replaceAfter.length),this.variables.M__=n.matchBefore,this.variables.T__=n.matchAfter,this.insertSnippetForSelection(e,n.content),this.variables.M__=this.variables.T__=null,0))},this.findMatchingSnippet=function(e,t,n){for(var o=e.length;o--;){var r=e[o];if((!r.startRe||r.startRe.test(t))&&(!r.endRe||r.endRe.test(n))&&(r.startRe||r.endRe))return r.matchBefore=r.startRe?r.startRe.exec(t):[""],r.matchAfter=r.endRe?r.endRe.exec(n):[""],r.replaceBefore=r.triggerRe?r.triggerRe.exec(t)[0]:"",r.replaceAfter=r.endTriggerRe?r.endTriggerRe.exec(n)[0]:"",r}},this.snippetMap={},this.snippetNameMap={},this.register=function(e,t){var n=this.snippetMap,o=this.snippetNameMap,r=this;function a(e){return e&&!/^\^?\(.*\)\$?$|^\\b$/.test(e)&&(e="(?:"+e+")"),e||""}function s(e,t,n){return e=a(e),t=a(t),n?(e=t+e)&&"$"!=e[e.length-1]&&(e+="$"):(e+=t)&&"^"!=e[0]&&(e="^"+e),new RegExp(e)}function l(e){e.scope||(e.scope=t||"_"),n[t=e.scope]||(n[t]=[],o[t]={});var a=o[t];if(e.name){var l=a[e.name];l&&r.unregister(l),a[e.name]=e}n[t].push(e),e.tabTrigger&&!e.trigger&&(!e.guard&&/^\w/.test(e.tabTrigger)&&(e.guard="\\b"),e.trigger=i.escapeRegExp(e.tabTrigger)),(e.trigger||e.guard||e.endTrigger||e.endGuard)&&(e.startRe=s(e.trigger,e.guard,!0),e.triggerRe=new RegExp(e.trigger,"",!0),e.endRe=s(e.endTrigger,e.endGuard,!0),e.endTriggerRe=new RegExp(e.endTrigger,"",!0))}e||(e=[]),e&&e.content?l(e):Array.isArray(e)&&e.forEach(l),this._signal("registerSnippets",{scope:t})},this.unregister=function(e,t){var n=this.snippetMap,o=this.snippetNameMap;function r(e){var r=o[e.scope||t];if(r&&r[e.name]){delete r[e.name];var i=n[e.scope||t],a=i&&i.indexOf(e);a>=0&&i.splice(a,1)}}e.content?r(e):Array.isArray(e)&&e.forEach(r)},this.parseSnippetFile=function(e){e=e.replace(/\r/g,"");for(var t,n=[],o={},r=/^#.*|^({[\s\S]*})\s*$|^(\S+) (.*)$|^((?:\n*\t.*)+)/gm;t=r.exec(e);){if(t[1])try{o=JSON.parse(t[1]),n.push(o)}catch(l){}if(t[4])o.content=t[4].replace(/^\t/gm,""),n.push(o),o={};else{var i=t[2],a=t[3];if("regex"==i){var s=/\/((?:[^\/\\]|\\.)*)|$/g;o.guard=s.exec(a)[1],o.trigger=s.exec(a)[1],o.endTrigger=s.exec(a)[1],o.endGuard=s.exec(a)[1]}else"snippet"==i?(o.tabTrigger=a.match(/^\S*/)[0],o.name||(o.name=a)):o[i]=a}}return n},this.getSnippetByName=function(e,t){var n,o=this.snippetNameMap;return this.getActiveScopes(t).some(function(t){var r=o[t];return r&&(n=r[e]),!!n},this),n}}).call(d.prototype);var h=function(e){if(e.tabstopManager)return e.tabstopManager;e.tabstopManager=this,this.$onChange=this.onChange.bind(this),this.$onChangeSelection=i.delayedCall(this.onChangeSelection.bind(this)).schedule,this.$onChangeSession=this.onChangeSession.bind(this),this.$onAfterExec=this.onAfterExec.bind(this),this.attach(e)};(function(){this.attach=function(e){this.index=0,this.ranges=[],this.tabstops=[],this.$openTabstops=null,this.selectedTabstop=null,this.editor=e,this.editor.on("change",this.$onChange),this.editor.on("changeSelection",this.$onChangeSelection),this.editor.on("changeSession",this.$onChangeSession),this.editor.commands.on("afterExec",this.$onAfterExec),this.editor.keyBinding.addKeyboardHandler(this.keyboardHandler)},this.detach=function(){this.tabstops.forEach(this.removeTabstopMarkers,this),this.ranges=null,this.tabstops=null,this.selectedTabstop=null,this.editor.removeListener("change",this.$onChange),this.editor.removeListener("changeSelection",this.$onChangeSelection),this.editor.removeListener("changeSession",this.$onChangeSession),this.editor.commands.removeListener("afterExec",this.$onAfterExec),this.editor.keyBinding.removeKeyboardHandler(this.keyboardHandler),this.editor.tabstopManager=null,this.editor=null},this.onChange=function(e){var t="r"==e.action[0],n=e.start,o=e.end,r=n.row,i=o.row-r,a=o.column-n.column;if(t&&(i=-i,a=-a),!this.$inChange&&t){var s=this.selectedTabstop;if(s&&!s.some(function(e){return u(e.start,n)<=0&&u(e.end,o)>=0}))return this.detach()}for(var l=this.ranges,c=0;c<l.length;c++){var d=l[c];d.end.row<n.row||(t&&u(n,d.start)<0&&u(o,d.end)>0?(this.removeRange(d),c--):(d.start.row==r&&d.start.column>n.column&&(d.start.column+=a),d.end.row==r&&d.end.column>=n.column&&(d.end.column+=a),d.start.row>=r&&(d.start.row+=i),d.end.row>=r&&(d.end.row+=i),u(d.start,d.end)>0&&this.removeRange(d)))}l.length||this.detach()},this.updateLinkedFields=function(){var e=this.selectedTabstop;if(e&&e.hasLinkedRanges){this.$inChange=!0;for(var n=this.editor.session,o=n.getTextRange(e.firstNonLinked),r=e.length;r--;){var i=e[r];if(i.linked){var a=t.snippetManager.tmStrFormat(o,i.original);n.replace(i,a)}}this.$inChange=!1}},this.onAfterExec=function(e){e.command&&!e.command.readOnly&&this.updateLinkedFields()},this.onChangeSelection=function(){if(this.editor){for(var e=this.editor.selection.lead,t=this.editor.selection.anchor,n=this.editor.selection.isEmpty(),o=this.ranges.length;o--;)if(!this.ranges[o].linked){var r=this.ranges[o].contains(e.row,e.column),i=n||this.ranges[o].contains(t.row,t.column);if(r&&i)return}this.detach()}},this.onChangeSession=function(){this.detach()},this.tabNext=function(e){var t=this.tabstops.length,n=this.index+(e||1);(n=Math.min(Math.max(n,1),t))==t&&(n=0),this.selectTabstop(n),0===n&&this.detach()},this.selectTabstop=function(e){this.$openTabstops=null;var t=this.tabstops[this.index];if(t&&this.addTabstopMarkers(t),this.index=e,(t=this.tabstops[this.index])&&t.length){if(this.selectedTabstop=t,this.editor.inVirtualSelectionMode)this.editor.selection.setRange(t.firstNonLinked);else{var n=this.editor.multiSelect;n.toSingleRange(t.firstNonLinked.clone());for(var o=t.length;o--;)t.hasLinkedRanges&&t[o].linked||n.addRange(t[o].clone(),!0);n.ranges[0]&&n.addRange(n.ranges[0].clone())}this.editor.keyBinding.addKeyboardHandler(this.keyboardHandler)}},this.addTabstops=function(e,t,n){if(this.$openTabstops||(this.$openTabstops=[]),!e[0]){var o=a.fromPoints(n,n);m(o.start,t),m(o.end,t),e[0]=[o],e[0].index=0}var r=[this.index+1,0],i=this.ranges;e.forEach(function(e,n){for(var o=this.$openTabstops[n]||e,s=e.length;s--;){var l=e[s],c=a.fromPoints(l.start,l.end||l.start);f(c.start,t),f(c.end,t),c.original=l,c.tabstop=o,i.push(c),o!=e?o.unshift(c):o[s]=c,l.fmtString?(c.linked=!0,o.hasLinkedRanges=!0):o.firstNonLinked||(o.firstNonLinked=c)}o.firstNonLinked||(o.hasLinkedRanges=!1),o===e&&(r.push(o),this.$openTabstops[n]=o),this.addTabstopMarkers(o)},this),r.length>2&&(this.tabstops.length&&r.push(r.splice(2,1)[0]),this.tabstops.splice.apply(this.tabstops,r))},this.addTabstopMarkers=function(e){var t=this.editor.session;e.forEach(function(e){e.markerId||(e.markerId=t.addMarker(e,"ace_snippet-marker","text"))})},this.removeTabstopMarkers=function(e){var t=this.editor.session;e.forEach(function(e){t.removeMarker(e.markerId),e.markerId=null})},this.removeRange=function(e){var t=e.tabstop.indexOf(e);e.tabstop.splice(t,1),t=this.ranges.indexOf(e),this.ranges.splice(t,1),this.editor.session.removeMarker(e.markerId),e.tabstop.length||(-1!=(t=this.tabstops.indexOf(e.tabstop))&&this.tabstops.splice(t,1),this.tabstops.length||this.detach())},this.keyboardHandler=new l,this.keyboardHandler.bindKeys({Tab:function(e){t.snippetManager&&t.snippetManager.expandWithTab(e)||e.tabstopManager.tabNext(1)},"Shift-Tab":function(e){e.tabstopManager.tabNext(-1)},Esc:function(e){e.tabstopManager.detach()},Return:function(e){return!1}})}).call(h.prototype);var p={};p.onChange=s.prototype.onChange,p.setPosition=function(e,t){this.pos.row=e,this.pos.column=t},p.update=function(e,t,n){this.$insertRight=n,this.pos=e,this.onChange(t)};var f=function(e,t){0==e.row&&(e.column+=t.column),e.row+=t.row},m=function(e,t){e.row==t.row&&(e.column-=t.column),e.row-=t.row};e("./lib/dom").importCssString(".ace_snippet-marker { -moz-box-sizing: border-box; box-sizing: border-box; background: rgba(194, 193, 208, 0.09); border: 1px dotted rgba(211, 208, 235, 0.62); position: absolute;}"),t.snippetManager=new d;var g=e("./editor").Editor;(function(){this.insertSnippet=function(e,n){return t.snippetManager.insertSnippet(this,e,n)},this.expandSnippet=function(e){return t.snippetManager.expandWithTab(this,e)}}).call(g.prototype)}),ace.define("ace/autocomplete/popup",["require","exports","module","ace/virtual_renderer","ace/editor","ace/range","ace/lib/event","ace/lib/lang","ace/lib/dom"],function(e,t,n){"use strict";var o=e("../virtual_renderer").VirtualRenderer,r=e("../editor").Editor,i=e("../range").Range,a=e("../lib/event"),s=e("../lib/lang"),l=e("../lib/dom"),c=function(e){var t=new o(e);t.$maxLines=4;var n=new r(t);return n.setHighlightActiveLine(!1),n.setShowPrintMargin(!1),n.renderer.setShowGutter(!1),n.renderer.setHighlightGutterLine(!1),n.$mouseHandler.$focusWaitTimout=0,n.$highlightTagPending=!0,n};l.importCssString(".ace_editor.ace_autocomplete .ace_marker-layer .ace_active-line { background-color: #CAD6FA; z-index: 1;}.ace_editor.ace_autocomplete .ace_line-hover { border: 1px solid #abbffe; margin-top: -1px; background: rgba(233,233,253,0.4);}.ace_editor.ace_autocomplete .ace_line-hover { position: absolute; z-index: 2;}.ace_editor.ace_autocomplete .ace_scroller { background: none; border: none; box-shadow: none;}.ace_rightAlignedText { color: gray; display: inline-block; position: absolute; right: 4px; text-align: right; z-index: -1;}.ace_editor.ace_autocomplete .ace_completion-highlight{ color: #000; text-shadow: 0 0 0.01em;}.ace_editor.ace_autocomplete { width: 280px; z-index: 200000; background: #fbfbfb; color: #444; border: 1px lightgray solid; position: fixed; box-shadow: 2px 3px 5px rgba(0,0,0,.2); line-height: 1.4;}"),t.AcePopup=function(e){var t=l.createElement("div"),n=new c(t);e&&e.appendChild(t),t.style.display="none",n.renderer.content.style.cursor="default",n.renderer.setStyle("ace_autocomplete"),n.setOption("displayIndentGuides",!1),n.setOption("dragDelay",150);var o,r=function(){};n.focus=r,n.$isFocused=!0,n.renderer.$cursorLayer.restartTimer=r,n.renderer.$cursorLayer.element.style.opacity=0,n.renderer.$maxLines=8,n.renderer.$keepTextAreaAtCursor=!1,n.setHighlightActiveLine(!1),n.session.highlight(""),n.session.$searchHighlight.clazz="ace_highlight-marker",n.on("mousedown",function(e){var t=e.getDocumentPosition();n.selection.moveToPosition(t),d.start.row=d.end.row=t.row,e.stop()});var u=new i(-1,0,-1,1/0),d=new i(-1,0,-1,1/0);d.id=n.session.addMarker(d,"ace_active-line","fullLine"),n.setSelectOnHover=function(e){e?u.id&&(n.session.removeMarker(u.id),u.id=null):u.id=n.session.addMarker(u,"ace_line-hover","fullLine")},n.setSelectOnHover(!1),n.on("mousemove",function(e){if(o){if(o.x!=e.x||o.y!=e.y){(o=e).scrollTop=n.renderer.scrollTop;var t=o.getDocumentPosition().row;u.start.row!=t&&(u.id||n.setRow(t),p(t))}}else o=e}),n.renderer.on("beforeRender",function(){if(o&&-1!=u.start.row){o.$pos=null;var e=o.getDocumentPosition().row;u.id||n.setRow(e),p(e,!0)}}),n.renderer.on("afterRender",function(){var e=n.getRow(),t=n.renderer.$textLayer,o=t.element.childNodes[e-t.config.firstRow];o!=t.selectedNode&&(t.selectedNode&&l.removeCssClass(t.selectedNode,"ace_selected"),t.selectedNode=o,o&&l.addCssClass(o,"ace_selected"))});var h=function(){p(-1)},p=function(e,t){e!==u.start.row&&(u.start.row=u.end.row=e,t||n.session._emit("changeBackMarker"),n._emit("changeHoverMarker"))};n.getHoveredRow=function(){return u.start.row},a.addListener(n.container,"mouseout",h),n.on("hide",h),n.on("changeSelection",h),n.session.doc.getLength=function(){return n.data.length},n.session.doc.getLine=function(e){var t=n.data[e];return"string"==typeof t?t:t&&t.value||""};var f=n.session.bgTokenizer;return f.$tokenizeRow=function(e){var t=n.data[e],o=[];if(!t)return o;"string"==typeof t&&(t={value:t}),t.caption||(t.caption=t.value||t.name);for(var r,i,a=-1,s=0;s<t.caption.length;s++)i=t.caption[s],a!==(r=t.matchMask&1<<s?1:0)?(o.push({type:t.className||(r?"completion-highlight":""),value:i}),a=r):o[o.length-1].value+=i;if(t.meta){var l=n.renderer.$size.scrollerWidth/n.renderer.layerConfig.characterWidth,c=t.meta;c.length+t.caption.length>l-2&&(c=c.substr(0,l-t.caption.length-3)+"\u2026"),o.push({type:"rightAlignedText",value:c})}return o},f.$updateOnChange=r,f.start=r,n.session.$computeWidth=function(){return this.screenWidth=0},n.$blockScrolling=1/0,n.isOpen=!1,n.isTopdown=!1,n.autoSelect=!0,n.data=[],n.setData=function(e){n.setValue(s.stringRepeat("\n",e.length),-1),n.data=e||[],n.setRow(0)},n.getData=function(e){return n.data[e]},n.getRow=function(){return d.start.row},n.setRow=function(e){e=Math.max(this.autoSelect?0:-1,Math.min(this.data.length,e)),d.start.row!=e&&(n.selection.clearSelection(),d.start.row=d.end.row=e||0,n.session._emit("changeBackMarker"),n.moveCursorTo(e||0,0),n.isOpen&&n._signal("select"))},n.on("changeSelection",function(){n.isOpen&&n.setRow(n.selection.lead.row),n.renderer.scrollCursorIntoView()}),n.hide=function(){this.container.style.display="none",this._signal("hide"),n.isOpen=!1},n.show=function(e,t,r){var i=this.container,a=window.innerHeight,s=window.innerWidth,l=this.renderer,c=e.top+this.$borderSize;c>a/2&&!r&&c+t+l.$maxLines*t*1.4>a?(l.$maxPixelHeight=c-2*this.$borderSize,i.style.top="",i.style.bottom=a-c+"px",n.isTopdown=!1):(l.$maxPixelHeight=a-(c+=t)-.2*t,i.style.top=c+"px",i.style.bottom="",n.isTopdown=!0),i.style.display="",this.renderer.$textLayer.checkForSizeChanges();var u=e.left;u+i.offsetWidth>s&&(u=s-i.offsetWidth),i.style.left=u+"px",this._signal("show"),o=null,n.isOpen=!0},n.getTextLeftOffset=function(){return this.$borderSize+this.renderer.$padding+this.$imageSize},n.$imageSize=0,n.$borderSize=1,n}}),ace.define("ace/autocomplete/util",["require","exports","module"],function(e,t,n){"use strict";t.parForEach=function(e,t,n){var o=0,r=e.length;0===r&&n();for(var i=0;i<r;i++)t(e[i],function(e,t){++o===r&&n(e,t)})};var o=/[a-zA-Z_0-9\$\-\u00A2-\uFFFF]/;t.retrievePrecedingIdentifier=function(e,t,n){n=n||o;for(var r=[],i=t-1;i>=0&&n.test(e[i]);i--)r.push(e[i]);return r.reverse().join("")},t.retrieveFollowingIdentifier=function(e,t,n){n=n||o;for(var r=[],i=t;i<e.length&&n.test(e[i]);i++)r.push(e[i]);return r},t.getCompletionPrefix=function(e){var t,n=e.getCursorPosition(),o=e.session.getLine(n.row);return e.completers.forEach((function(e){e.identifierRegexps&&e.identifierRegexps.forEach((function(e){!t&&e&&(t=this.retrievePrecedingIdentifier(o,n.column,e))}).bind(this))}).bind(this)),t||this.retrievePrecedingIdentifier(o,n.column)}}),ace.define("ace/autocomplete",["require","exports","module","ace/keyboard/hash_handler","ace/autocomplete/popup","ace/autocomplete/util","ace/lib/event","ace/lib/lang","ace/lib/dom","ace/snippets"],function(e,t,n){"use strict";var o=e("./keyboard/hash_handler").HashHandler,r=e("./autocomplete/popup").AcePopup,i=e("./autocomplete/util"),a=(e("./lib/event"),e("./lib/lang")),s=e("./lib/dom"),l=e("./snippets").snippetManager,c=function(){this.autoInsert=!1,this.autoSelect=!0,this.exactMatch=!1,this.gatherCompletionsId=0,this.keyboardHandler=new o,this.keyboardHandler.bindKeys(this.commands),this.blurListener=this.blurListener.bind(this),this.changeListener=this.changeListener.bind(this),this.mousedownListener=this.mousedownListener.bind(this),this.mousewheelListener=this.mousewheelListener.bind(this),this.changeTimer=a.delayedCall((function(){this.updateCompletions(!0)}).bind(this)),this.tooltipTimer=a.delayedCall(this.updateDocTooltip.bind(this),50)};(function(){this.$init=function(){return this.popup=new r(document.body||document.documentElement),this.popup.on("click",(function(e){this.insertMatch(),e.stop()}).bind(this)),this.popup.focus=this.editor.focus.bind(this.editor),this.popup.on("show",this.tooltipTimer.bind(null,null)),this.popup.on("select",this.tooltipTimer.bind(null,null)),this.popup.on("changeHoverMarker",this.tooltipTimer.bind(null,null)),this.popup},this.getPopup=function(){return this.popup||this.$init()},this.openPopup=function(e,t,n){this.popup||this.$init(),this.popup.autoSelect=this.autoSelect,this.popup.setData(this.completions.filtered),e.keyBinding.addKeyboardHandler(this.keyboardHandler);var o=e.renderer;if(this.popup.setRow(this.autoSelect?0:-1),n)n&&!t&&this.detach();else{this.popup.setTheme(e.getTheme()),this.popup.setFontSize(e.getFontSize());var r=o.layerConfig.lineHeight,i=o.$cursorLayer.getPixelPosition(this.base,!0);i.left-=this.popup.getTextLeftOffset();var a=e.container.getBoundingClientRect();i.top+=a.top-o.layerConfig.offset,i.left+=a.left-e.renderer.scrollLeft,i.left+=o.gutterWidth,this.popup.show(i,r)}},this.detach=function(){this.editor.keyBinding.removeKeyboardHandler(this.keyboardHandler),this.editor.off("changeSelection",this.changeListener),this.editor.off("blur",this.blurListener),this.editor.off("mousedown",this.mousedownListener),this.editor.off("mousewheel",this.mousewheelListener),this.changeTimer.cancel(),this.hideDocTooltip(),this.gatherCompletionsId+=1,this.popup&&this.popup.isOpen&&this.popup.hide(),this.base&&this.base.detach(),this.activated=!1,this.completions=this.base=null},this.changeListener=function(e){var t=this.editor.selection.lead;(t.row!=this.base.row||t.column<this.base.column)&&this.detach(),this.activated?this.changeTimer.schedule():this.detach()},this.blurListener=function(e){var t=document.activeElement,n=this.editor.textInput.getElement(),o=e.relatedTarget&&this.tooltipNode&&this.tooltipNode.contains(e.relatedTarget);t==n||t.parentNode==(this.popup&&this.popup.container)||o||t==this.tooltipNode||e.relatedTarget==n||this.detach()},this.mousedownListener=function(e){this.detach()},this.mousewheelListener=function(e){this.detach()},this.goTo=function(e){var t=this.popup.getRow(),n=this.popup.session.getLength()-1;switch(e){case"up":t=t<=0?n:t-1;break;case"down":t=t>=n?-1:t+1;break;case"start":t=0;break;case"end":t=n}this.popup.setRow(t)},this.insertMatch=function(e,t){if(e||(e=this.popup.getData(this.popup.getRow())),!e)return!1;if(e.completer&&e.completer.insertMatch)e.completer.insertMatch(this.editor,e);else{if(this.completions.filterText)for(var n,o=this.editor.selection.getAllRanges(),r=0;n=o[r];r++)n.start.column-=this.completions.filterText.length,this.editor.session.remove(n);e.snippet?l.insertSnippet(this.editor,e.snippet):this.editor.execCommand("insertstring",e.value||e)}this.detach()},this.commands={Up:function(e){e.completer.goTo("up")},Down:function(e){e.completer.goTo("down")},"Ctrl-Up|Ctrl-Home":function(e){e.completer.goTo("start")},"Ctrl-Down|Ctrl-End":function(e){e.completer.goTo("end")},Esc:function(e){e.completer.detach()},Return:function(e){return e.completer.insertMatch()},"Shift-Return":function(e){e.completer.insertMatch(null,{deleteSuffix:!0})},Tab:function(e){var t=e.completer.insertMatch();if(t||e.tabstopManager)return t;e.completer.goTo("down")},PageUp:function(e){e.completer.popup.gotoPageUp()},PageDown:function(e){e.completer.popup.gotoPageDown()}},this.gatherCompletions=function(e,t){var n=e.getSession(),o=e.getCursorPosition(),r=i.getCompletionPrefix(e);this.base=n.doc.createAnchor(o.row,o.column-r.length),this.base.$insertRight=!0;var a=[],s=e.completers.length;return e.completers.forEach(function(l,c){l.getCompletions(e,n,o,r,function(n,o){!n&&o&&(a=a.concat(o)),t(null,{prefix:i.getCompletionPrefix(e),matches:a,finished:0==--s})})}),!0},this.showPopup=function(e){this.editor&&this.detach(),this.activated=!0,this.editor=e,e.completer!=this&&(e.completer&&e.completer.detach(),e.completer=this),e.on("changeSelection",this.changeListener),e.on("blur",this.blurListener),e.on("mousedown",this.mousedownListener),e.on("mousewheel",this.mousewheelListener),this.updateCompletions()},this.updateCompletions=function(e){if(e&&this.base&&this.completions){var t=this.editor.getCursorPosition(),n=this.editor.session.getTextRange({start:this.base,end:t});if(n==this.completions.filterText)return;return this.completions.setFilter(n),this.completions.filtered.length&&(1!=this.completions.filtered.length||this.completions.filtered[0].value!=n||this.completions.filtered[0].snippet)?void this.openPopup(this.editor,n,e):this.detach()}var o=this.gatherCompletionsId;this.gatherCompletions(this.editor,(function(t,n){var r=(function(){if(n.finished)return this.detach()}).bind(this),i=n.prefix,a=n&&n.matches;if(!a||!a.length)return r();if(0===i.indexOf(n.prefix)&&o==this.gatherCompletionsId){this.completions=new u(a),this.exactMatch&&(this.completions.exactMatch=!0),this.completions.setFilter(i);var s=this.completions.filtered;return s.length&&(1!=s.length||s[0].value!=i||s[0].snippet)?this.autoInsert&&1==s.length&&n.finished?this.insertMatch(s[0]):void this.openPopup(this.editor,i,e):r()}}).bind(this))},this.cancelContextMenu=function(){this.editor.$mouseHandler.cancelContextMenu()},this.updateDocTooltip=function(){var e=this.popup,t=e.data,n=t&&(t[e.getHoveredRow()]||t[e.getRow()]),o=null;return n&&this.editor&&this.popup.isOpen?(this.editor.completers.some(function(e){return e.getDocTooltip&&(o=e.getDocTooltip(n)),o}),o||(o=n),"string"==typeof o&&(o={docText:o}),o&&(o.docHTML||o.docText)?void this.showDocTooltip(o):this.hideDocTooltip()):this.hideDocTooltip()},this.showDocTooltip=function(e){this.tooltipNode||(this.tooltipNode=s.createElement("div"),this.tooltipNode.className="ace_tooltip ace_doc-tooltip",this.tooltipNode.style.margin=0,this.tooltipNode.style.pointerEvents="auto",this.tooltipNode.tabIndex=-1,this.tooltipNode.onblur=this.blurListener.bind(this),this.tooltipNode.onclick=this.onTooltipClick.bind(this));var t=this.tooltipNode;e.docHTML?t.innerHTML=e.docHTML:e.docText&&(t.textContent=e.docText),t.parentNode||document.body.appendChild(t);var n=this.popup,o=n.container.getBoundingClientRect();t.style.top=n.container.style.top,t.style.bottom=n.container.style.bottom,window.innerWidth-o.right<320?(t.style.right=window.innerWidth-o.left+"px",t.style.left=""):(t.style.left=o.right+1+"px",t.style.right=""),t.style.display="block"},this.hideDocTooltip=function(){if(this.tooltipTimer.cancel(),this.tooltipNode){var e=this.tooltipNode;this.editor.isFocused()||document.activeElement!=e||this.editor.focus(),this.tooltipNode=null,e.parentNode&&e.parentNode.removeChild(e)}},this.onTooltipClick=function(e){for(var t=e.target;t&&t!=this.tooltipNode;){if("A"==t.nodeName&&t.href){t.rel="noreferrer",t.target="_blank";break}t=t.parentNode}}}).call(c.prototype),c.startCommand={name:"startAutocomplete",exec:function(e){e.completer||(e.completer=new c),e.completer.autoInsert=!1,e.completer.autoSelect=!0,e.completer.showPopup(e),e.completer.cancelContextMenu()},bindKey:"Ctrl-Space|Ctrl-Shift-Space|Alt-Space"};var u=function(e,t){this.all=e,this.filtered=e,this.filterText=t||"",this.exactMatch=!1};(function(){this.setFilter=function(e){if(e.length>this.filterText&&0===e.lastIndexOf(this.filterText,0))var t=this.filtered;else t=this.all;this.filterText=e,t=(t=this.filterCompletions(t,this.filterText)).sort(function(e,t){return t.exactMatch-e.exactMatch||t.score-e.score});var n=null;t=t.filter(function(e){var t=e.snippet||e.caption||e.value;return t!==n&&(n=t,!0)}),this.filtered=t},this.filterCompletions=function(e,t){var n=[],o=t.toUpperCase(),r=t.toLowerCase();e:for(var i,a=0;i=e[a];a++){var s=i.value||i.caption||i.snippet;if(s){var l,c,u=-1,d=0,h=0;if(this.exactMatch){if(t!==s.substr(0,t.length))continue e}else for(var p=0;p<t.length;p++){var f=s.indexOf(r[p],u+1),m=s.indexOf(o[p],u+1);if((l=f>=0&&(m<0||f<m)?f:m)<0)continue e;(c=l-u-1)>0&&(-1===u&&(h+=10),h+=c),d|=1<<l,u=l}i.matchMask=d,i.exactMatch=h?0:1,i.score=(i.score||0)-h,n.push(i)}}return n}}).call(u.prototype),t.Autocomplete=c,t.FilteredList=u}),ace.define("ace/autocomplete/text_completer",["require","exports","module","ace/range"],function(e,t,n){var o=e("../range").Range,r=/[^a-zA-Z_0-9\$\-\u00C0-\u1FFF\u2C00-\uD7FF\w]+/;t.getCompletions=function(e,t,n,i,a){var s=function(e,t){var n=function(e,t){return e.getTextRange(o.fromPoints({row:0,column:0},t)).split(r).length-1}(e,t),i=e.getValue().split(r),a=Object.create(null),s=i[n];return i.forEach(function(e,t){if(e&&e!==s){var o=Math.abs(n-t),r=i.length-o;a[e]=a[e]?Math.max(r,a[e]):r}}),a}(t,n);a(null,Object.keys(s).map(function(e){return{caption:e,value:e,score:s[e],meta:"local"}}))}}),ace.define("ace/ext/language_tools",["require","exports","module","ace/snippets","ace/autocomplete","ace/config","ace/lib/lang","ace/autocomplete/util","ace/autocomplete/text_completer","ace/editor","ace/config"],function(e,t,n){"use strict";var o=e("../snippets").snippetManager,r=e("../autocomplete").Autocomplete,i=e("../config"),a=e("../lib/lang"),s=e("../autocomplete/util"),l=e("../autocomplete/text_completer"),c={getCompletions:function(e,t,n,o,r){if(t.$mode.completer)return t.$mode.completer.getCompletions(e,t,n,o,r);var i=e.session.getState(n.row);r(null,t.$mode.getCompletions(i,t,n,o))}},u={getCompletions:function(e,t,n,r,i){var a=o.snippetMap,s=[];o.getActiveScopes(e).forEach(function(e){for(var t=a[e]||[],n=t.length;n--;){var o=t[n],r=o.name||o.tabTrigger;r&&s.push({caption:r,snippet:o.content,meta:o.tabTrigger&&!o.name?o.tabTrigger+"\u21e5 ":"snippet",type:"snippet"})}},this),i(null,s)},getDocTooltip:function(e){"snippet"!=e.type||e.docHTML||(e.docHTML=["<b>",a.escapeHTML(e.caption),"</b>","<hr></hr>",a.escapeHTML(e.snippet)].join(""))}},d=[u,l,c];t.setCompleters=function(e){d.length=0,e&&d.push.apply(d,e)},t.addCompleter=function(e){d.push(e)},t.textCompleter=l,t.keyWordCompleter=c,t.snippetCompleter=u;var h={name:"expandSnippet",exec:function(e){return o.expandWithTab(e)},bindKey:"Tab"},p=function(e,t){f(t.session.$mode)},f=function(e){var t=e.$id;o.files||(o.files={}),m(t),e.modes&&e.modes.forEach(f)},m=function(e){if(e&&!o.files[e]){var t=e.replace("mode","snippets");o.files[e]={},i.loadModule(t,function(t){t&&(o.files[e]=t,!t.snippets&&t.snippetText&&(t.snippets=o.parseSnippetFile(t.snippetText)),o.register(t.snippets||[],t.scope),t.includeScopes&&(o.snippetMap[t.scope].includeScopes=t.includeScopes,t.includeScopes.forEach(function(e){m("ace/mode/"+e)})))})}},g=function(e){var t=e.editor,n=t.completer&&t.completer.activated;"backspace"===e.command.name?n&&!s.getCompletionPrefix(t)&&t.completer.detach():"insertstring"===e.command.name&&s.getCompletionPrefix(t)&&!n&&(t.completer||(t.completer=new r),t.completer.autoInsert=!1,t.completer.showPopup(t))},v=e("../editor").Editor;e("../config").defineOptions(v.prototype,"editor",{enableBasicAutocompletion:{set:function(e){e?(this.completers||(this.completers=Array.isArray(e)?e:d),this.commands.addCommand(r.startCommand)):this.commands.removeCommand(r.startCommand)},value:!1},enableLiveAutocompletion:{set:function(e){e?(this.completers||(this.completers=Array.isArray(e)?e:d),this.commands.on("afterExec",g)):this.commands.removeListener("afterExec",g)},value:!1},enableSnippets:{set:function(e){e?(this.commands.addCommand(h),this.on("changeMode",p),p(0,this)):(this.commands.removeCommand(h),this.off("changeMode",p))},value:!1}})}),ace.acequire(["ace/ext/language_tools"],function(){})},ILER:function(e,t,n){var o=n("CXhC");e.exports=function(e){var t=new Date;return t.setDate(t.getDate()+1),o(e).getTime()===o(t).getTime()}},IUTb:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var o=n("6blF"),r=n("pugT"),i=n("+tJ4");function a(e,t){return new o.a(t?function(n){var o=new r.a,i=0;return o.add(t.schedule(function(){i!==e.length?(n.next(e[i++]),n.closed||o.add(this.schedule())):n.complete()})),o}:Object(i.a)(e))}},Ibf7:function(e,t,n){"use strict";var o=n("Gjsa");e.exports=function(e,t,n){e&&o(function(){e.apply(n||null,t||[])})}},Ip0R:function(e,t,n){"use strict";n.d(t,"D",function(){return ie}),n.d(t,"n",function(){return se}),n.d(t,"o",function(){return ae}),n.d(t,"E",function(){return le}),n.d(t,"c",function(){return Ie}),n.d(t,"k",function(){return ce}),n.d(t,"l",function(){return de}),n.d(t,"m",function(){return pe}),n.d(t,"p",function(){return be}),n.d(t,"q",function(){return ve}),n.d(t,"r",function(){return _e}),n.d(t,"s",function(){return ye}),n.d(t,"t",function(){return Ce}),n.d(t,"e",function(){return Fe}),n.d(t,"b",function(){return Se}),n.d(t,"f",function(){return xe}),n.d(t,"d",function(){return Te}),n.d(t,"v",function(){return De}),n.d(t,"x",function(){return Me}),n.d(t,"y",function(){return Oe}),n.d(t,"C",function(){return Le}),n.d(t,"A",function(){return Ne}),n.d(t,"B",function(){return je}),n.d(t,"z",function(){return Ve}),n.d(t,"w",function(){return i}),n.d(t,"h",function(){return a}),n.d(t,"j",function(){return s}),n.d(t,"a",function(){return l}),n.d(t,"g",function(){return d}),n.d(t,"u",function(){return h}),n.d(t,"i",function(){return c});var o=n("CcnG"),r=n("mrSG"),i=function(){return function(){}}(),a=new o.InjectionToken("Location Initialized"),s=function(){return function(){}}(),l=new o.InjectionToken("appBaseHref"),c=function(){function e(e){var n=this;this._subject=new o.EventEmitter,this._platformStrategy=e;var r=this._platformStrategy.getBaseHref();this._baseHref=t.stripTrailingSlash(u(r)),this._platformStrategy.onPopState(function(e){n._subject.emit({url:n.path(!0),pop:!0,state:e.state,type:e.type})})}var t;return t=e,e.prototype.path=function(e){return void 0===e&&(e=!1),this.normalize(this._platformStrategy.path(e))},e.prototype.isCurrentPathEqualTo=function(e,n){return void 0===n&&(n=""),this.path()==this.normalize(e+t.normalizeQueryParams(n))},e.prototype.normalize=function(e){return t.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,u(e)))},e.prototype.prepareExternalUrl=function(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)},e.prototype.go=function(e,t,n){void 0===t&&(t=""),void 0===n&&(n=null),this._platformStrategy.pushState(n,"",e,t)},e.prototype.replaceState=function(e,t,n){void 0===t&&(t=""),void 0===n&&(n=null),this._platformStrategy.replaceState(n,"",e,t)},e.prototype.forward=function(){this._platformStrategy.forward()},e.prototype.back=function(){this._platformStrategy.back()},e.prototype.subscribe=function(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})},e.normalizeQueryParams=function(e){return e&&"?"!==e[0]?"?"+e:e},e.joinWithSlash=function(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},e.stripTrailingSlash=function(e){var t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)},e}();function u(e){return e.replace(/\/index.html$/,"")}var d=function(e){function t(t,n){var o=e.call(this)||this;return o._platformLocation=t,o._baseHref="",null!=n&&(o._baseHref=n),o}return Object(r.c)(t,e),t.prototype.onPopState=function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)},t.prototype.getBaseHref=function(){return this._baseHref},t.prototype.path=function(e){void 0===e&&(e=!1);var t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t},t.prototype.prepareExternalUrl=function(e){var t=c.joinWithSlash(this._baseHref,e);return t.length>0?"#"+t:t},t.prototype.pushState=function(e,t,n,o){var r=this.prepareExternalUrl(n+c.normalizeQueryParams(o));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(e,t,r)},t.prototype.replaceState=function(e,t,n,o){var r=this.prepareExternalUrl(n+c.normalizeQueryParams(o));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,r)},t.prototype.forward=function(){this._platformLocation.forward()},t.prototype.back=function(){this._platformLocation.back()},t}(s),h=function(e){function t(t,n){var o=e.call(this)||this;if(o._platformLocation=t,null==n&&(n=o._platformLocation.getBaseHrefFromDOM()),null==n)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return o._baseHref=n,o}return Object(r.c)(t,e),t.prototype.onPopState=function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)},t.prototype.getBaseHref=function(){return this._baseHref},t.prototype.prepareExternalUrl=function(e){return c.joinWithSlash(this._baseHref,e)},t.prototype.path=function(e){void 0===e&&(e=!1);var t=this._platformLocation.pathname+c.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?""+t+n:t},t.prototype.pushState=function(e,t,n,o){var r=this.prepareExternalUrl(n+c.normalizeQueryParams(o));this._platformLocation.pushState(e,t,r)},t.prototype.replaceState=function(e,t,n,o){var r=this.prepareExternalUrl(n+c.normalizeQueryParams(o));this._platformLocation.replaceState(e,t,r)},t.prototype.forward=function(){this._platformLocation.forward()},t.prototype.back=function(){this._platformLocation.back()},t}(s),p=void 0,f=["en",[["a","p"],["AM","PM"],p],[["AM","PM"],p,p],[["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"]],p,[["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"]],p,[["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}",p,"{1} 'at' {0}",p],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}],m={},g={ADP:[void 0,void 0,0],AFN:[void 0,void 0,0],ALL:[void 0,void 0,0],AMD:[void 0,void 0,0],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,"\u0440.",2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",0],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",0],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",0],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",0],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",0],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:[void 0,"\u20b1"],PKR:[void 0,"Rs",0],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RUR:[void 0,"\u0440."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,0],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UZS:[void 0,void 0,0],VEF:[void 0,"Bs"],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["CFA",void 0,0],XPF:["CFPF",void 0,0],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},v=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}({}),_=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}({}),y=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}({}),b=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}({}),C=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}({}),E=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}({});function w(e,t){return D(R(e)[10],t)}function k(e,t){return D(R(e)[11],t)}function A(e,t){return D(R(e)[12],t)}function S(e,t){var n=R(e),o=n[13][t];if(void 0===o){if(t===E.CurrencyDecimal)return n[13][E.Decimal];if(t===E.CurrencyGroup)return n[13][E.Group]}return o}function O(e,t){return R(e)[14][t]}function x(e){if(!e[19])throw new Error('Missing extra locale data for the locale "'+e[0]+'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.')}function D(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 T(e){var t=Object(r.f)(e.split(":"),2);return{hours:+t[0],minutes:+t[1]}}function R(e){var t=e.toLowerCase().replace(/_/g,"-"),n=m[t];if(n)return n;var o=t.split("-")[0];if(n=m[o])return n;if("en"===o)return f;throw new Error('Missing locale data for the locale "'+e+'".')}var P=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,M={},I=/((?:[^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]*)/,F=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}({}),L=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}({}),B=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 N(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(e,n){return null!=t&&n in t?t[n]:e})),e}function j(e,t,n,o,r){void 0===n&&(n="-");var i="";(e<0||r&&e<=0)&&(r?e=1-e:(e=-e,i=n));for(var a=String(e);a.length<t;)a="0"+a;return o&&(a=a.substr(a.length-t)),i+a}function V(e,t,n,o,r){return void 0===n&&(n=0),void 0===o&&(o=!1),void 0===r&&(r=!1),function(i,a){var s,l=function(e,t){switch(e){case L.FullYear:return t.getFullYear();case L.Month:return t.getMonth();case L.Date:return t.getDate();case L.Hours:return t.getHours();case L.Minutes:return t.getMinutes();case L.Seconds:return t.getSeconds();case L.FractionalSeconds:return t.getMilliseconds();case L.Day:return t.getDay();default:throw new Error('Unknown DateType value "'+e+'".')}}(e,i);if((n>0||l>-n)&&(l+=n),e===L.Hours)0===l&&-12===n&&(l=12);else if(e===L.FractionalSeconds)return s=t,j(l,3).substr(0,s);var c=S(a,E.MinusSign);return j(l,t,c,o,r)}}function U(e,t,n,o){return void 0===n&&(n=y.Format),void 0===o&&(o=!1),function(r,i){return function(e,t,n,o,r,i){switch(n){case B.Months:return function(e,t,n){var o=R(e),r=D([o[5],o[6]],t);return D(r,n)}(t,r,o)[e.getMonth()];case B.Days:return function(e,t,n){var o=R(e),r=D([o[3],o[4]],t);return D(r,n)}(t,r,o)[e.getDay()];case B.DayPeriods:var a=e.getHours(),s=e.getMinutes();if(i){var l,c=function(e){var t=R(e);return x(t),(t[19][2]||[]).map(function(e){return"string"==typeof e?T(e):[T(e[0]),T(e[1])]})}(t),u=function(e,t,n){var o=R(e);x(o);var r=D([o[19][0],o[19][1]],t)||[];return D(r,n)||[]}(t,r,o);if(c.forEach(function(e,t){if(Array.isArray(e)){var n=e[0],o=e[1],r=o.hours;a>=n.hours&&s>=n.minutes&&(a<r||a===r&&s<o.minutes)&&(l=u[t])}else e.hours===a&&e.minutes===s&&(l=u[t])}),l)return l}return function(e,t,n){var o=R(e),r=D([o[1],o[2]],t);return D(r,n)}(t,r,o)[a<12?0:1];case B.Eras:return function(e,t){return D(R(e)[7],t)}(t,o)[e.getFullYear()<=0?0:1];default:throw new Error("unexpected translation type "+n)}}(r,i,e,t,n,o)}}function $(e){return function(t,n,o){var r=-1*o,i=S(n,E.MinusSign),a=r>0?Math.floor(r/60):Math.ceil(r/60);switch(e){case F.Short:return(r>=0?"+":"")+j(a,2,i)+j(Math.abs(r%60),2,i);case F.ShortGMT:return"GMT"+(r>=0?"+":"")+j(a,1,i);case F.Long:return"GMT"+(r>=0?"+":"")+j(a,2,i)+":"+j(Math.abs(r%60),2,i);case F.Extended:return 0===o?"Z":(r>=0?"+":"")+j(a,2,i)+":"+j(Math.abs(r%60),2,i);default:throw new Error('Unknown zone width "'+e+'"')}}}var H=0,W=4;function K(e,t){return void 0===t&&(t=!1),function(n,o){var r,i,a,s;if(t){var l=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,c=n.getDate();r=1+Math.floor((c+l)/7)}else{var u=(a=n.getFullYear(),s=new Date(a,H,1).getDay(),new Date(a,0,1+(s<=W?W:W+7)-s)),d=(i=n,new Date(i.getFullYear(),i.getMonth(),i.getDate()+(W-i.getDay()))).getTime()-u.getTime();r=1+Math.round(d/6048e5)}return j(r,e,S(o,E.MinusSign))}}var G={};function q(e,t){e=e.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function z(e){return e instanceof Date&&!isNaN(e.valueOf())}var Y=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Z=22,J=".",X="0",Q=";",ee=",",te="#";function ne(e,t,n,o,r,i,a){void 0===a&&(a=!1);var s="",l=!1;if(isFinite(e)){var c=function(t){var n,o,r,i,a,s=Math.abs(e)+"",l=0;for((o=s.indexOf(J))>-1&&(s=s.replace(J,"")),(r=s.search(/e/i))>0?(o<0&&(o=r),o+=+s.slice(r+1),s=s.substring(0,r)):o<0&&(o=s.length),r=0;s.charAt(r)===X;r++);if(r===(a=s.length))n=[0],o=1;else{for(a--;s.charAt(a)===X;)a--;for(o-=r,n=[],i=0;r<=a;r++,i++)n[i]=Number(s.charAt(r))}return o>Z&&(n=n.splice(0,Z-1),l=o-1,o=1),{digits:n,exponent:l,integerLen:o}}();a&&(c=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}(c));var u=t.minInt,d=t.minFrac,h=t.maxFrac;if(i){var p=i.match(Y);if(null===p)throw new Error(i+" is not a valid digit info");var f=p[1],m=p[3],g=p[5];null!=f&&(u=re(f)),null!=m&&(d=re(m)),null!=g?h=re(g):null!=m&&d>h&&(h=d)}!function(e,t,n){if(t>n)throw new Error("The minimum number of digits after fraction ("+t+") is higher than the maximum ("+n+").");var o=e.digits,r=o.length-e.integerLen,i=Math.min(Math.max(t,r),n),a=i+e.integerLen,s=o[a];if(a>0){o.splice(Math.max(e.integerLen,a));for(var l=a;l<o.length;l++)o[l]=0}else{r=Math.max(0,r),e.integerLen=1,o.length=Math.max(1,a=i+1),o[0]=0;for(var c=1;c<a;c++)o[c]=0}if(s>=5)if(a-1<0){for(var u=0;u>a;u--)o.unshift(0),e.integerLen++;o.unshift(1),e.integerLen++}else o[a-1]++;for(;r<Math.max(0,i);r++)o.push(0);var d=0!==i,h=t+e.integerLen,p=o.reduceRight(function(e,t,n,o){return o[n]=(t+=e)<10?t:t-10,d&&(0===o[n]&&n>=h?o.pop():d=!1),t>=10?1:0},0);p&&(o.unshift(p),e.integerLen++)}(c,d,h);var v=c.digits,_=c.integerLen,y=c.exponent,b=[];for(l=v.every(function(e){return!e});_<u;_++)v.unshift(0);for(;_<0;_++)v.unshift(0);_>0?b=v.splice(_,v.length):(b=v,v=[0]);var C=[];for(v.length>=t.lgSize&&C.unshift(v.splice(-t.lgSize,v.length).join(""));v.length>t.gSize;)C.unshift(v.splice(-t.gSize,v.length).join(""));v.length&&C.unshift(v.join("")),s=C.join(S(n,o)),b.length&&(s+=S(n,r)+b.join("")),y&&(s+=S(n,E.Exponential)+"+"+y)}else s=S(n,E.Infinity);return e<0&&!l?t.negPre+s+t.negSuf:t.posPre+s+t.posSuf}function oe(e,t){void 0===t&&(t="-");var n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},o=e.split(Q),r=o[0],i=o[1],a=-1!==r.indexOf(J)?r.split(J):[r.substring(0,r.lastIndexOf(X)+1),r.substring(r.lastIndexOf(X)+1)],s=a[0],l=a[1]||"";n.posPre=s.substr(0,s.indexOf(te));for(var c=0;c<l.length;c++){var u=l.charAt(c);u===X?n.minFrac=n.maxFrac=c+1:u===te?n.maxFrac=c+1:n.posSuf+=u}var d=s.split(ee);if(n.gSize=d[1]?d[1].length:0,n.lgSize=d[2]||d[1]?(d[2]||d[1]).length:0,i){var h=r.length-n.posPre.length-n.posSuf.length,p=i.indexOf(te);n.negPre=i.substr(0,p).replace(/'/g,""),n.negSuf=i.substr(p+h).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}function re(e){var t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}var ie=new o.InjectionToken("UseV4Plurals"),ae=function(){return function(){}}(),se=function(e){function t(t,n){var o=e.call(this)||this;return o.locale=t,o.deprecatedPluralFn=n,o}return Object(r.c)(t,e),t.prototype.getPluralCategory=function(e,t){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(t||this.locale,e):function(e){return R(e)[18]}(t||this.locale)(e)){case _.Zero:return"zero";case _.One:return"one";case _.Two:return"two";case _.Few:return"few";case _.Many:return"many";default:return"other"}},t}(ae);function le(e,t){var n,o;t=encodeURIComponent(t);try{for(var i=Object(r.h)(e.split(";")),a=i.next();!a.done;a=i.next()){var s=a.value,l=s.indexOf("="),c=Object(r.f)(-1==l?[s,""]:[s.slice(0,l),s.slice(l+1)],2),u=c[1];if(c[0].trim()===t)return decodeURIComponent(u)}}catch(d){n={error:d}}finally{try{a&&!a.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}return null}var ce=function(){function e(e,t,n,o){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=n,this._renderer=o,this._initialClasses=[]}return Object.defineProperty(e.prototype,"klass",{set:function(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClass",{set:function(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Object(o["\u0275isListLikeIterable"])(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=function(){if(this._iterableDiffer){var e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){var t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}},e.prototype._applyKeyValueChanges=function(e){var t=this;e.forEachAddedItem(function(e){return t._toggleClass(e.key,e.currentValue)}),e.forEachChangedItem(function(e){return t._toggleClass(e.key,e.currentValue)}),e.forEachRemovedItem(function(e){e.previousValue&&t._toggleClass(e.key,!1)})},e.prototype._applyIterableChanges=function(e){var t=this;e.forEachAddedItem(function(e){if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(o["\u0275stringify"])(e.item));t._toggleClass(e.item,!0)}),e.forEachRemovedItem(function(e){return t._toggleClass(e.item,!1)})},e.prototype._applyClasses=function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach(function(e){return t._toggleClass(e,!0)}):Object.keys(e).forEach(function(n){return t._toggleClass(n,!!e[n])}))},e.prototype._removeClasses=function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach(function(e){return t._toggleClass(e,!1)}):Object.keys(e).forEach(function(e){return t._toggleClass(e,!1)}))},e.prototype._toggleClass=function(e,t){var n=this;(e=e.trim())&&e.split(/\s+/g).forEach(function(e){t?n._renderer.addClass(n._ngEl.nativeElement,e):n._renderer.removeClass(n._ngEl.nativeElement,e)})},e}(),ue=function(){function e(e,t,n,o){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=o}return Object.defineProperty(e.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),e}(),de=function(){function e(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOfDirty=!0,this._differ=null}return Object.defineProperty(e.prototype,"ngForOf",{set:function(e){this._ngForOf=e,this._ngForOfDirty=!0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(e){Object(o.isDevMode)()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(e)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngForTemplate",{set:function(e){e&&(this._template=e)},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(o){throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+((t=e).name||typeof t)+"'. NgFor only supports binding to Iterables such as Arrays.")}}var t;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}},e.prototype._applyChanges=function(e){var t=this,n=[];e.forEachOperation(function(e,o,r){if(null==e.previousIndex){var i=t._viewContainer.createEmbeddedView(t._template,new ue(null,t._ngForOf,-1,-1),r),a=new he(e,i);n.push(a)}else null==r?t._viewContainer.remove(o):(i=t._viewContainer.get(o),t._viewContainer.move(i,r),a=new he(e,i),n.push(a))});for(var o=0;o<n.length;o++)this._perViewChange(n[o].view,n[o].record);o=0;for(var r=this._viewContainer.length;o<r;o++){var i=this._viewContainer.get(o);i.context.index=o,i.context.count=r,i.context.ngForOf=this._ngForOf}e.forEachIdentityChange(function(e){t._viewContainer.get(e.currentIndex).context.$implicit=e.item})},e.prototype._perViewChange=function(e,t){e.context.$implicit=t.item},e.ngTemplateContextGuard=function(e,t){return!0},e}(),he=function(){return function(e,t){this.record=e,this.view=t}}(),pe=function(){function e(e,t){this._viewContainer=e,this._context=new fe,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}return Object.defineProperty(e.prototype,"ngIf",{set:function(e){this._context.$implicit=this._context.ngIf=e,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngIfThen",{set:function(e){me("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngIfElse",{set:function(e){me("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),e.prototype._updateView=function(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))},e.ngTemplateGuard_ngIf=function(e,t){return!0},e}(),fe=function(){return function(){this.$implicit=null,this.ngIf=null}}();function me(e,t){if(t&&!t.createEmbeddedView)throw new Error(e+" must be a TemplateRef, but received '"+Object(o["\u0275stringify"])(t)+"'.")}var ge=function(){function e(e,t){this._viewContainerRef=e,this._templateRef=t,this._created=!1}return e.prototype.create=function(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)},e.prototype.destroy=function(){this._created=!1,this._viewContainerRef.clear()},e.prototype.enforceState=function(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()},e}(),ve=function(){function e(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}return Object.defineProperty(e.prototype,"ngSwitch",{set:function(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)},enumerable:!0,configurable:!0}),e.prototype._addCase=function(){return this._caseCount++},e.prototype._addDefault=function(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)},e.prototype._matchCase=function(e){var t=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||t,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t},e.prototype._updateDefaultCases=function(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(var t=0;t<this._defaultViews.length;t++)this._defaultViews[t].enforceState(e)}},e}(),_e=function(){function e(e,t,n){this.ngSwitch=n,n._addCase(),this._view=new ge(e,t)}return e.prototype.ngDoCheck=function(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))},e}(),ye=function(){return function(e,t,n){n._addDefault(new ge(e,t))}}(),be=function(){function e(e,t,n){this._differs=e,this._ngEl=t,this._renderer=n}return Object.defineProperty(e.prototype,"ngStyle",{set:function(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=function(){if(this._differ){var e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}},e.prototype._applyChanges=function(e){var t=this;e.forEachRemovedItem(function(e){return t._setStyle(e.key,null)}),e.forEachAddedItem(function(e){return t._setStyle(e.key,e.currentValue)}),e.forEachChangedItem(function(e){return t._setStyle(e.key,e.currentValue)})},e.prototype._setStyle=function(e,t){var n=Object(r.f)(e.split("."),2),o=n[0],i=n[1];null!=(t=null!=t&&i?""+t+i:t)?this._renderer.setStyle(this._ngEl.nativeElement,o,t):this._renderer.removeStyle(this._ngEl.nativeElement,o)},e}(),Ce=function(){function e(e){this._viewContainerRef=e}return e.prototype.ngOnChanges=function(e){this._shouldRecreateView(e)?(this._viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._viewRef)),this.ngTemplateOutlet&&(this._viewRef=this._viewContainerRef.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext))):this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)},e.prototype._shouldRecreateView=function(e){var t=e.ngTemplateOutletContext;return!!e.ngTemplateOutlet||t&&this._hasContextShapeChanged(t)},e.prototype._hasContextShapeChanged=function(e){var t,n,o=Object.keys(e.previousValue||{}),i=Object.keys(e.currentValue||{});if(o.length===i.length){try{for(var a=Object(r.h)(i),s=a.next();!s.done;s=a.next())if(-1===o.indexOf(s.value))return!0}catch(l){t={error:l}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return!1}return!0},e.prototype._updateExistingContext=function(e){var t,n;try{for(var o=Object(r.h)(Object.keys(e)),i=o.next();!i.done;i=o.next()){var a=i.value;this._viewRef.context[a]=this.ngTemplateOutletContext[a]}}catch(s){t={error:s}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}},e}();function Ee(e,t){return Error("InvalidPipeArgument: '"+t+"' for pipe '"+Object(o["\u0275stringify"])(e)+"'")}var we=function(){function e(){}return e.prototype.createSubscription=function(e,t){return e.subscribe({next:t,error:function(e){throw e}})},e.prototype.dispose=function(e){e.unsubscribe()},e.prototype.onDestroy=function(e){e.unsubscribe()},e}(),ke=new(function(){function e(){}return e.prototype.createSubscription=function(e,t){return e.then(t,function(e){throw e})},e.prototype.dispose=function(e){},e.prototype.onDestroy=function(e){},e}()),Ae=new we,Se=function(){function e(e){this._ref=e,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}var t;return t=e,e.prototype.ngOnDestroy=function(){this._subscription&&this._dispose()},e.prototype.transform=function(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue===this._latestReturnedValue?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,o.WrappedValue.wrap(this._latestValue)):(e&&this._subscribe(e),this._latestReturnedValue=this._latestValue,this._latestValue)},e.prototype._subscribe=function(e){var t=this;this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,function(n){return t._updateLatestValue(e,n)})},e.prototype._selectStrategy=function(e){if(Object(o["\u0275isPromise"])(e))return ke;if(Object(o["\u0275isObservable"])(e))return Ae;throw Ee(t,e)},e.prototype._dispose=function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null},e.prototype._updateLatestValue=function(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())},e}(),Oe=function(){function e(){}var t;return t=e,e.prototype.transform=function(e){if(!e)return e;if("string"!=typeof e)throw Ee(t,e);return e.toUpperCase()},e}(),xe=function(){function e(e){this.locale=e}var t;return t=e,e.prototype.transform=function(e,n,o,i){if(void 0===n&&(n="mediumDate"),null==e||""===e||e!=e)return null;try{return function(e,t,n,o){var i=function(e){if(z(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){e=e.trim();var t,n=parseFloat(e);if(!isNaN(e-n))return new Date(n);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(e)){var o=Object(r.f)(e.split("-").map(function(e){return+e}),3);return new Date(o[0],o[1]-1,o[2])}if(t=e.match(P))return function(e){var t=new Date(0),n=0,o=0,r=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),o=Number(e[9]+e[11])),r.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));var a=Number(e[4]||0)-n,s=Number(e[5]||0)-o,l=Number(e[6]||0),c=Math.round(1e3*parseFloat("0."+(e[7]||0)));return i.call(t,a,s,l,c),t}(t)}var i=new Date(e);if(!z(i))throw new Error('Unable to convert "'+e+'" into a date');return i}(e);t=function e(t,n){var o=function(e){return R(e)[0]}(t);if(M[o]=M[o]||{},M[o][n])return M[o][n];var r="";switch(n){case"shortDate":r=w(t,C.Short);break;case"mediumDate":r=w(t,C.Medium);break;case"longDate":r=w(t,C.Long);break;case"fullDate":r=w(t,C.Full);break;case"shortTime":r=k(t,C.Short);break;case"mediumTime":r=k(t,C.Medium);break;case"longTime":r=k(t,C.Long);break;case"fullTime":r=k(t,C.Full);break;case"short":var i=e(t,"shortTime"),a=e(t,"shortDate");r=N(A(t,C.Short),[i,a]);break;case"medium":var s=e(t,"mediumTime"),l=e(t,"mediumDate");r=N(A(t,C.Medium),[s,l]);break;case"long":var c=e(t,"longTime"),u=e(t,"longDate");r=N(A(t,C.Long),[c,u]);break;case"full":var d=e(t,"fullTime"),h=e(t,"fullDate");r=N(A(t,C.Full),[d,h])}return r&&(M[o][n]=r),r}(n,t)||t;for(var a,s=[];t;){if(!(a=I.exec(t))){s.push(t);break}var l=(s=s.concat(a.slice(1))).pop();if(!l)break;t=l}var c=i.getTimezoneOffset();o&&(c=q(o,c),i=function(e,t,n){var o=e.getTimezoneOffset();return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,-1*(q(t,o)-o))}(i,o));var u="";return s.forEach(function(e){var t=function(e){if(G[e])return G[e];var t;switch(e){case"G":case"GG":case"GGG":t=U(B.Eras,b.Abbreviated);break;case"GGGG":t=U(B.Eras,b.Wide);break;case"GGGGG":t=U(B.Eras,b.Narrow);break;case"y":t=V(L.FullYear,1,0,!1,!0);break;case"yy":t=V(L.FullYear,2,0,!0,!0);break;case"yyy":t=V(L.FullYear,3,0,!1,!0);break;case"yyyy":t=V(L.FullYear,4,0,!1,!0);break;case"M":case"L":t=V(L.Month,1,1);break;case"MM":case"LL":t=V(L.Month,2,1);break;case"MMM":t=U(B.Months,b.Abbreviated);break;case"MMMM":t=U(B.Months,b.Wide);break;case"MMMMM":t=U(B.Months,b.Narrow);break;case"LLL":t=U(B.Months,b.Abbreviated,y.Standalone);break;case"LLLL":t=U(B.Months,b.Wide,y.Standalone);break;case"LLLLL":t=U(B.Months,b.Narrow,y.Standalone);break;case"w":t=K(1);break;case"ww":t=K(2);break;case"W":t=K(1,!0);break;case"d":t=V(L.Date,1);break;case"dd":t=V(L.Date,2);break;case"E":case"EE":case"EEE":t=U(B.Days,b.Abbreviated);break;case"EEEE":t=U(B.Days,b.Wide);break;case"EEEEE":t=U(B.Days,b.Narrow);break;case"EEEEEE":t=U(B.Days,b.Short);break;case"a":case"aa":case"aaa":t=U(B.DayPeriods,b.Abbreviated);break;case"aaaa":t=U(B.DayPeriods,b.Wide);break;case"aaaaa":t=U(B.DayPeriods,b.Narrow);break;case"b":case"bb":case"bbb":t=U(B.DayPeriods,b.Abbreviated,y.Standalone,!0);break;case"bbbb":t=U(B.DayPeriods,b.Wide,y.Standalone,!0);break;case"bbbbb":t=U(B.DayPeriods,b.Narrow,y.Standalone,!0);break;case"B":case"BB":case"BBB":t=U(B.DayPeriods,b.Abbreviated,y.Format,!0);break;case"BBBB":t=U(B.DayPeriods,b.Wide,y.Format,!0);break;case"BBBBB":t=U(B.DayPeriods,b.Narrow,y.Format,!0);break;case"h":t=V(L.Hours,1,-12);break;case"hh":t=V(L.Hours,2,-12);break;case"H":t=V(L.Hours,1);break;case"HH":t=V(L.Hours,2);break;case"m":t=V(L.Minutes,1);break;case"mm":t=V(L.Minutes,2);break;case"s":t=V(L.Seconds,1);break;case"ss":t=V(L.Seconds,2);break;case"S":t=V(L.FractionalSeconds,1);break;case"SS":t=V(L.FractionalSeconds,2);break;case"SSS":t=V(L.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=$(F.Short);break;case"ZZZZZ":t=$(F.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=$(F.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=$(F.Long);break;default:return null}return G[e]=t,t}(e);u+=t?t(i,n,c):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}(e,n,i||this.locale,o)}catch(a){throw Ee(t,a.message)}},e}(),De=function(){function e(e){this._locale=e}var t;return t=e,e.prototype.transform=function(e,n,o){if(Re(e))return null;o=o||this._locale;try{return function(e,t,n){return ne(e,oe(O(t,v.Percent),S(t,E.MinusSign)),t,E.Group,E.Decimal,n,!0).replace(new RegExp("%","g"),S(t,E.PercentSign))}(Pe(e),o,n)}catch(r){throw Ee(t,r.message)}},e}(),Te=function(){function e(e){this._locale=e}var t;return t=e,e.prototype.transform=function(e,n,o,r,i){if(void 0===o&&(o="symbol"),Re(e))return null;i=i||this._locale,"boolean"==typeof o&&(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".'),o=o?"symbol":"code");var a=n||"USD";"code"!==o&&(a="symbol"===o||"symbol-narrow"===o?function(e,t,n){void 0===n&&(n="en");var o=function(e){return R(e)[17]}(n)[e]||g[e]||[],r=o[1];return"narrow"===t&&"string"==typeof r?r:o[0]||e}(a,"symbol"===o?"wide":"narrow",i):o);try{return function(e,t,n,o,r){var i=oe(O(t,v.Currency),S(t,E.MinusSign));return i.minFrac=function(e){var t,n=g[o];return n&&(t=n[2]),"number"==typeof t?t:2}(),i.maxFrac=i.minFrac,ne(e,i,t,E.CurrencyGroup,E.CurrencyDecimal,r).replace("\xa4",n).replace("\xa4","")}(Pe(e),i,a,n,r)}catch(s){throw Ee(t,s.message)}},e}();function Re(e){return null==e||""===e||e!=e}function Pe(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 Me=function(){function e(){}var t;return t=e,e.prototype.transform=function(e,n,o){if(null==e)return e;if(!this.supports(e))throw Ee(t,e);return e.slice(n,o)},e.prototype.supports=function(e){return"string"==typeof e||Array.isArray(e)},e}(),Ie=function(){return function(){}}(),Fe=new o.InjectionToken("DocumentToken"),Le="browser",Be="server";function Ne(e){return e===Le}function je(e){return e===Be}var Ve=function(){function e(){}return e.ngInjectableDef=Object(o.defineInjectable)({providedIn:"root",factory:function(){return new Ue(Object(o.inject)(Fe),window)}}),e}(),Ue=function(){function e(e,t){this.document=e,this.window=t,this.offset=function(){return[0,0]}}return e.prototype.setOffset=function(e){this.offset=Array.isArray(e)?function(){return e}:e},e.prototype.getScrollPosition=function(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]},e.prototype.scrollToPosition=function(e){this.supportScrollRestoration()&&this.window.scrollTo(e[0],e[1])},e.prototype.scrollToAnchor=function(e){if(this.supportScrollRestoration()){var t=this.document.querySelector("#"+e);if(t)return void this.scrollToElement(t);var n=this.document.querySelector("[name='"+e+"']");if(n)return void this.scrollToElement(n)}},e.prototype.setHistoryScrollRestoration=function(e){if(this.supportScrollRestoration()){var t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}},e.prototype.scrollToElement=function(e){var t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,o=t.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],o-r[1])},e.prototype.supportScrollRestoration=function(){try{return!!this.window&&!!this.window.scrollTo}catch(e){return!1}},e}()},IpkJ:function(e,t,n){var o=n("yNUO");e.exports=function(e){var t=o(e);return t.setMilliseconds(0),t}},IxzM:function(e,t,n){var o=n("yNUO");e.exports=function(e){return o(e).getSeconds()}},J6Hf:function(e,t,n){var o=n("iWRJ"),r=n("lwZq");e.exports=function(e,t){var n=Number(t);return r(e,o(e)+n)}},JQcg:function(e,t,n){var o=n("yNUO");e.exports=function(e){return 1===o(e).getDay()}},JcRv:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n("xTla"),r=function(e){return function(t){var n=e[o.a]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(t)}}},JtXv:function(e,t,n){var o=n("yNUO");e.exports=function(e,t){var n=o(e),r=o(t);return n.getFullYear()===r.getFullYear()}},JxoX:function(e,t,n){var o=n("yNUO");e.exports=function(e){var t=o(e);return t.setMinutes(59,59,999),t}},K1fy:function(e,t,n){var o=n("yNUO");e.exports=function(e){return 0===o(e).getDay()}},K2dx:function(e,t,n){var o=n("yNUO");e.exports=function(e){return o(e).getTime()>(new Date).getTime()}},K9Ia:function(e,t,n){"use strict";n.d(t,"b",function(){return u}),n.d(t,"a",function(){return d});var o=n("mrSG"),r=n("6blF"),i=n("FFOo"),a=n("pugT"),s=n("8g8A"),l=n("uMaO"),c=n("L/V9"),u=function(e){function t(t){var n=e.call(this,t)||this;return n.destination=t,n}return o.c(t,e),t}(i.a),d=function(e){function t(){var t=e.call(this)||this;return t.observers=[],t.closed=!1,t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return o.c(t,e),t.prototype[c.a]=function(){return new u(this)},t.prototype.lift=function(e){var t=new h(this,this);return t.operator=e,t},t.prototype.next=function(e){if(this.closed)throw new s.a;if(!this.isStopped)for(var t=this.observers,n=t.length,o=t.slice(),r=0;r<n;r++)o[r].next(e)},t.prototype.error=function(e){if(this.closed)throw new s.a;this.hasError=!0,this.thrownError=e,this.isStopped=!0;for(var t=this.observers,n=t.length,o=t.slice(),r=0;r<n;r++)o[r].error(e);this.observers.length=0},t.prototype.complete=function(){if(this.closed)throw new s.a;this.isStopped=!0;for(var e=this.observers,t=e.length,n=e.slice(),o=0;o<t;o++)n[o].complete();this.observers.length=0},t.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},t.prototype._trySubscribe=function(t){if(this.closed)throw new s.a;return e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){if(this.closed)throw new s.a;return this.hasError?(e.error(this.thrownError),a.a.EMPTY):this.isStopped?(e.complete(),a.a.EMPTY):(this.observers.push(e),new l.a(this,e))},t.prototype.asObservable=function(){var e=new r.a;return e.source=this,e},t.create=function(e,t){return new h(e,t)},t}(r.a),h=function(e){function t(t,n){var o=e.call(this)||this;return o.destination=t,o.source=n,o}return o.c(t,e),t.prototype.next=function(e){var t=this.destination;t&&t.next&&t.next(e)},t.prototype.error=function(e){var t=this.destination;t&&t.error&&this.destination.error(e)},t.prototype.complete=function(){var e=this.destination;e&&e.complete&&this.destination.complete()},t.prototype._subscribe=function(e){return this.source?this.source.subscribe(e):a.a.EMPTY},t}(d)},KRns:function(e,t){var n=global.CustomEvent;e.exports=function(){try{var e=new n("cat",{detail:{foo:"bar"}});return"cat"===e.type&&"bar"===e.detail.foo}catch(t){}return!1}()?n:"function"==typeof document.createEvent?function(e,t){var n=document.createEvent("CustomEvent");return t?n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail):n.initCustomEvent(e,!1,!1,void 0),n}:function(e,t){var n=document.createEventObject();return n.type=e,t?(n.bubbles=Boolean(t.bubbles),n.cancelable=Boolean(t.cancelable),n.detail=t.detail):(n.bubbles=!1,n.cancelable=!1,n.detail=void 0),n}},KoBQ:function(e,t,n){var o=n("mqoM");e.exports=function(e){return o(new Date,e)}},Kpyc:function(e,t,n){var o=n("yNUO");e.exports=function(e,t){var n=o(e),r=o(t);return n.getFullYear()-r.getFullYear()}},"L/99":function(e,t,n){var o=n("RJeW");e.exports=function(e,t){var n=o(e),r=o(t);return n.getTime()===r.getTime()}},"L/V9":function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},L486:function(e,t,n){var o=n("yNUO");e.exports=function(e,t){var n=o(e),r=Number(t);return n.setFullYear(r),n}},LSME:function(e,t,n){var o=n("G6+r");e.exports=function(e,t){return o(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,o){var r;return o=o||{},r="string"==typeof e[t]?e[t]:1===n?e[t].one:e[t].other.replace("{{count}}",n),o.addSuffix?o.comparison>0?"in "+r:r+" ago":r}}}},Lwpp:function(e,t,n){"use strict";n.d(t,"a",function(){return f}),n.d(t,"d",function(){return m}),n.d(t,"c",function(){return d}),n.d(t,"e",function(){return g}),n.d(t,"b",function(){return h});var o=n("CcnG"),r=n("lLAP"),i=n("n6gG"),a=n("YSh2"),s=n("K9Ia"),l=n("F/XL"),c=n("p0Sj"),u=n("ny24"),d=function(){return function(e){this.template=e}}(),h=function(){function e(e){this._elementRef=e}return e.prototype.focus=function(){this._elementRef.nativeElement.focus()},e}(),p=0,f=function(){function e(e,t){this._stepper=e,this.interacted=!1,this._editable=!0,this._optional=!1,this._customCompleted=null,this._customError=null,this._stepperOptions=t||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType,this._showError=!!this._stepperOptions.showError}return Object.defineProperty(e.prototype,"editable",{get:function(){return this._editable},set:function(e){this._editable=Object(i.b)(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"optional",{get:function(){return this._optional},set:function(e){this._optional=Object(i.b)(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"completed",{get:function(){return null==this._customCompleted?this._getDefaultCompleted():this._customCompleted},set:function(e){this._customCompleted=Object(i.b)(e)},enumerable:!0,configurable:!0}),e.prototype._getDefaultCompleted=function(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted},Object.defineProperty(e.prototype,"hasError",{get:function(){return null==this._customError?this._getDefaultError():this._customError},set:function(e){this._customError=Object(i.b)(e)},enumerable:!0,configurable:!0}),e.prototype._getDefaultError=function(){return this.stepControl&&this.stepControl.invalid&&this.interacted},e.prototype.select=function(){this._stepper.selected=this},e.prototype.reset=function(){this.interacted=!1,null!=this._customCompleted&&(this._customCompleted=!1),null!=this._customError&&(this._customError=!1),this.stepControl&&this.stepControl.reset()},e.prototype.ngOnChanges=function(){this._stepper._stateChanged()},e}(),m=function(){function e(e,t,n,r){this._dir=e,this._changeDetectorRef=t,this._elementRef=n,this._destroyed=new s.a,this._linear=!1,this._selectedIndex=0,this.selectionChange=new o.EventEmitter,this._orientation="horizontal",this._groupId=p++,this._document=r}return Object.defineProperty(e.prototype,"linear",{get:function(){return this._linear},set:function(e){this._linear=Object(i.b)(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(e){if(this._steps){if(e<0||e>this._steps.length-1)throw Error("cdkStepper: Cannot assign out-of-bounds value to `selectedIndex`.");this._selectedIndex!=e&&!this._anyControlsInvalidOrPending(e)&&(e>=this._selectedIndex||this._steps.toArray()[e].editable)&&this._updateSelectedItemIndex(e)}else this._selectedIndex=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selected",{get:function(){return this._steps?this._steps.toArray()[this.selectedIndex]:void 0},set:function(e){this.selectedIndex=this._steps?this._steps.toArray().indexOf(e):-1},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){var e=this;this._keyManager=new r.b(this._stepHeader).withWrap().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:Object(l.a)()).pipe(Object(c.a)(this._layoutDirection()),Object(u.a)(this._destroyed)).subscribe(function(t){return e._keyManager.withHorizontalOrientation(t)}),this._keyManager.updateActiveItemIndex(this._selectedIndex),this._steps.changes.pipe(Object(u.a)(this._destroyed)).subscribe(function(){e.selected||(e._selectedIndex=Math.max(e._selectedIndex-1,0))})},e.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete()},e.prototype.next=function(){this.selectedIndex=Math.min(this._selectedIndex+1,this._steps.length-1)},e.prototype.previous=function(){this.selectedIndex=Math.max(this._selectedIndex-1,0)},e.prototype.reset=function(){this._updateSelectedItemIndex(0),this._steps.forEach(function(e){return e.reset()}),this._stateChanged()},e.prototype._getStepLabelId=function(e){return"cdk-step-label-"+this._groupId+"-"+e},e.prototype._getStepContentId=function(e){return"cdk-step-content-"+this._groupId+"-"+e},e.prototype._stateChanged=function(){this._changeDetectorRef.markForCheck()},e.prototype._getAnimationDirection=function(e){var t=e-this._selectedIndex;return t<0?"rtl"===this._layoutDirection()?"next":"previous":t>0?"rtl"===this._layoutDirection()?"previous":"next":"current"},e.prototype._getIndicatorType=function(e,t){void 0===t&&(t="number");var n=this._steps.toArray()[e],o=this._isCurrentStep(e);return n._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(n,o):this._getGuidelineLogic(n,o,t)},e.prototype._getDefaultIndicatorLogic=function(e,t){return e._showError&&e.hasError&&!t?"error":!e.completed||t?"number":e.editable?"edit":"done"},e.prototype._getGuidelineLogic=function(e,t,n){return void 0===n&&(n="number"),e._showError&&e.hasError&&!t?"error":e.completed&&!t?"done":e.completed&&t?n:e.editable&&t?"edit":n},e.prototype._isCurrentStep=function(e){return this._selectedIndex===e},e.prototype._getFocusIndex=function(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex},e.prototype._updateSelectedItemIndex=function(e){var t=this._steps.toArray();this.selectionChange.emit({selectedIndex:e,previouslySelectedIndex:this._selectedIndex,selectedStep:t[e],previouslySelectedStep:t[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(e):this._keyManager.updateActiveItemIndex(e),this._selectedIndex=e,this._stateChanged()},e.prototype._onKeydown=function(e){var t=Object(a.o)(e),n=e.keyCode,o=this._keyManager;null==o.activeItemIndex||t||n!==a.j&&n!==a.d?n===a.f?(o.setFirstItemActive(),e.preventDefault()):n===a.c?(o.setLastItemActive(),e.preventDefault()):o.onKeydown(e):(this.selectedIndex=o.activeItemIndex,e.preventDefault())},e.prototype._anyControlsInvalidOrPending=function(e){var t=this._steps.toArray();return t[this._selectedIndex].interacted=!0,!!(this._linear&&e>=0)&&t.slice(0,e).some(function(e){var t=e.stepControl;return(t?t.invalid||t.pending||!e.interacted:!e.completed)&&!e.optional})},e.prototype._layoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},e.prototype._containsFocus=function(){if(!this._document||!this._elementRef)return!1;var e=this._elementRef.nativeElement,t=this._document.activeElement;return e===t||e.contains(t)},e}(),g=function(){return function(){}}()},LxoM:function(e,t,n){var o=n("x84W");e.exports=function(e,t,n){var r=o(e,n),i=o(t,n),a=r.getTime()-6e4*r.getTimezoneOffset(),s=i.getTime()-6e4*i.getTimezoneOffset();return Math.round((a-s)/6048e5)}},M2Lx:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i}),n("n6gG");var o=n("CcnG"),r=(n("6blF"),n("K9Ia"),n("Gi3i"),function(){function e(){}return e.prototype.create=function(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)},e.ngInjectableDef=Object(o.defineInjectable)({factory:function(){return new e},token:e,providedIn:"root"}),e}()),i=function(){return function(){}}()},MGBS:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n("mrSG"),r=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o.c(t,e),t.prototype.notifyNext=function(e,t,n,o,r){this.destination.next(t)},t.prototype.notifyError=function(e,t){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.destination.complete()},t}(n("FFOo").a)},MNHD:function(e,t,n){var o=n("CXhC");e.exports=function(e){return o(e).getTime()===o(new Date).getTime()}},McSo:function(e,t,n){"use strict";function o(e){return null!=e&&"object"==typeof e}n.d(t,"a",function(){return o})},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")}},NT44:function(e,t,n){var o=n("yNUO");e.exports=function(e){return 1===o(e).getDate()}},NmtT:function(e,t,n){var o=n("yHON"),r=n("yNUO"),i=n("4Toj"),a=n("F809"),s=n("Us+F");e.exports=function(e,t,n){var l=n||{},c=o(e,t),u=l.locale,d=s.distanceInWords.localize;u&&u.distanceInWords&&u.distanceInWords.localize&&(d=u.distanceInWords.localize);var h,p,f={addSuffix:Boolean(l.addSuffix),comparison:c};c>0?(h=r(e),p=r(t)):(h=r(t),p=r(e));var m,g=i(p,h),v=p.getTimezoneOffset()-h.getTimezoneOffset(),_=Math.round(g/60)-v;if(_<2)return l.includeSeconds?g<5?d("lessThanXSeconds",5,f):g<10?d("lessThanXSeconds",10,f):g<20?d("lessThanXSeconds",20,f):g<40?d("halfAMinute",null,f):d(g<60?"lessThanXMinutes":"xMinutes",1,f):0===_?d("lessThanXMinutes",1,f):d("xMinutes",_,f);if(_<45)return d("xMinutes",_,f);if(_<90)return d("aboutXHours",1,f);if(_<1440)return d("aboutXHours",Math.round(_/60),f);if(_<2520)return d("xDays",1,f);if(_<43200)return d("xDays",Math.round(_/1440),f);if(_<86400)return d("aboutXMonths",m=Math.round(_/43200),f);if((m=a(p,h))<12)return d("xMonths",Math.round(_/43200),f);var y=m%12,b=Math.floor(m/12);return y<3?d("aboutXYears",b,f):y<9?d("overXYears",b,f):d("almostXYears",b+1,f)}},NpEG:function(e,t,n){var o=n("yNUO");e.exports=function(e){var t=o(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 o=n("RJeW"),r=n("eoPS");e.exports=function(e){var t=o(e),n=o(r(t,60)).valueOf()-t.valueOf();return Math.round(n/6048e5)}},O8cK:function(e,t,n){var o=n("yNUO"),r=n("1CCG"),i=n("DT56");e.exports=function(e,t){var n=o(e),a=o(t),s=i(n,a),l=Math.abs(r(n,a));return n.setDate(n.getDate()-s*l),s*(l-(i(n,a)===-s))}},OBTA:function(e,t,n){var o=n("yNUO"),r=n("VBar");e.exports=function(e,t){var n=o(e),i=Number(t),a=n.getFullYear(),s=n.getDate(),l=new Date(0);l.setFullYear(a,i,15),l.setHours(0,0,0,0);var c=r(l);return n.setMonth(i,Math.min(s,c)),n}},OsOA:function(e,t,n){var o=n("yNUO");e.exports=function(e){var t=o(e);return t.setSeconds(59,999),t}},P6uZ:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var o=n("3fWJ"),r=n("VnD/"),i=n("t9fZ"),a=n("HJBe"),s=n("tNVB"),l=n("mChF");function c(e,t){var n=arguments.length>=2;return function(c){return c.pipe(e?Object(r.a)(function(t,n){return e(t,n,c)}):l.a,Object(i.a)(1),n?Object(a.a)(t):Object(s.a)(function(){return new o.a}))}}},PK5m:function(e,t,n){var o=n("CXhC");e.exports=function(){return o(new Date)}},PU8L:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n("6blF");function r(e){var t=new o.a(function(t){t.next(e),t.complete()});return t._isScalar=!0,t.value=e,t}},Phjn:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n("psW0");function r(e,t){return Object(o.a)(e,t,1)}},Pu5f:function(e,t,n){var o=n("yNUO"),r=n("l0SJ"),i=n("1vin");e.exports=function(e){var t=o(e);return r(t).getTime()===i(t).getTime()}},PvkQ:function(e,t,n){var o=n("9WSG");e.exports=function(e){return o(new Date,e)}},PzH3:function(e,t,n){"use strict";var o=n("KRns"),r=n("Ys8N"),i=global.document,a=function(e,t,n,o){return e.addEventListener(t,n,o)},s=function(e,t,n,o){return e.removeEventListener(t,n,o)},l=[];function c(e,t,n){var o=function(e,t,n){var o,r;for(o=0;o<l.length;o++)if((r=l[o]).element===e&&r.type===t&&r.fn===n)return o}(e,t,n);if(o){var r=l[o].wrapper;return l.splice(o,1),r}}global.addEventListener||(a=function(e,t,n){return e.attachEvent("on"+t,function(e,t,n){var o=c(e,t,n)||function(e,t,n){return function(t){var o=t||global.event;o.target=o.target||o.srcElement,o.preventDefault=o.preventDefault||function(){o.returnValue=!1},o.stopPropagation=o.stopPropagation||function(){o.cancelBubble=!0},o.which=o.which||o.keyCode,n.call(e,o)}}(e,0,n);return l.push({wrapper:o,element:e,type:t,fn:n}),o}(e,t,n))},s=function(e,t,n){var o=c(e,t,n);if(o)return e.detachEvent("on"+t,o)}),e.exports={add:a,remove:s,fabricate:function(e,t,n){var a=-1===r.indexOf(t)?new o(t,{detail:n}):function(){var e;return i.createEvent?(e=i.createEvent("Event")).initEvent(t,!0,!0):i.createEventObject&&(e=i.createEventObject()),e}();e.dispatchEvent?e.dispatchEvent(a):e.fireEvent("on"+t,a)}}},Q5nM:function(e,t,n){var o=n("yNUO");e.exports=function(e){var t=o(e),n=t.getMonth();return t.setMonth(n-n%3,1),t.setHours(0,0,0,0),t}},QXXb:function(e,t,n){var o=n("dJQg");e.exports=function(e){return o(e,{weekStartsOn:1})}},RJeW:function(e,t,n){var o=n("iWRJ"),r=n("tMf1");e.exports=function(e){var t=o(e),n=new Date(0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),r(n)}},RRZf:function(e,t,n){"use strict";var o={},r="(?:^|\\s)",i="(?:\\s|$)";function a(e){var t=o[e];return t?t.lastIndex=0:o[e]=t=new RegExp(r+e+i,"g"),t}e.exports={add:function(e,t){var n=e.className;n.length?a(t).test(n)||(e.className+=" "+t):e.className=t},rm:function(e,t){e.className=e.className.replace(a(t)," ").trim()}}},S5XQ:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n("DKTb"),r=function(e){return function(t){return e.then(function(e){t.closed||(t.next(e),t.complete())},function(e){return t.error(e)}).then(null,o.a),t}}},S5bw:function(e,t,n){"use strict";var o=n("mrSG"),r=n("K9Ia"),i=function(e){function t(t,n){var o=e.call(this,t,n)||this;return o.scheduler=t,o.work=n,o}return o.c(t,e),t.prototype.schedule=function(t,n){return void 0===n&&(n=0),n>0?e.prototype.schedule.call(this,t,n):(this.delay=n,this.state=t,this.scheduler.flush(this),this)},t.prototype.execute=function(t,n){return n>0||this.closed?e.prototype.execute.call(this,t,n):this._execute(t,n)},t.prototype.requestAsyncId=function(t,n,o){return void 0===o&&(o=0),null!==o&&o>0||null===o&&this.delay>0?e.prototype.requestAsyncId.call(this,t,n,o):t.flush(this)},t}(n("h9Dq").a),a=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o.c(t,e),t}(n("CS9Q").a))(i),s=n("pugT"),l=n("FFOo"),c=n("G5J1"),u=n("F/XL"),d=n("6blF"),h=function(){function e(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}return e.prototype.observe=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()}},e.prototype.do=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()}},e.prototype.accept=function(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)},e.prototype.toObservable=function(){var e;switch(this.kind){case"N":return Object(u.a)(this.value);case"E":return e=this.error,new d.a(function(t){return t.error(e)});case"C":return Object(c.b)()}throw new Error("unexpected notification kind value")},e.createNext=function(t){return void 0!==t?new e("N",t):e.undefinedValueNotification},e.createError=function(t){return new e("E",void 0,t)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e}(),p=function(e){function t(t,n,o){void 0===o&&(o=0);var r=e.call(this,t)||this;return r.scheduler=n,r.delay=o,r}return o.c(t,e),t.dispatch=function(e){e.notification.observe(e.destination),this.unsubscribe()},t.prototype.scheduleMessage=function(e){this.destination.add(this.scheduler.schedule(t.dispatch,this.delay,new f(e,this.destination)))},t.prototype._next=function(e){this.scheduleMessage(h.createNext(e))},t.prototype._error=function(e){this.scheduleMessage(h.createError(e)),this.unsubscribe()},t.prototype._complete=function(){this.scheduleMessage(h.createComplete()),this.unsubscribe()},t}(l.a),f=function(){return function(e,t){this.notification=e,this.destination=t}}(),m=n("8g8A"),g=n("uMaO");n.d(t,"a",function(){return v});var v=function(e){function t(t,n,o){void 0===t&&(t=Number.POSITIVE_INFINITY),void 0===n&&(n=Number.POSITIVE_INFINITY);var r=e.call(this)||this;return r.scheduler=o,r._events=[],r._infiniteTimeWindow=!1,r._bufferSize=t<1?1:t,r._windowTime=n<1?1:n,n===Number.POSITIVE_INFINITY?(r._infiniteTimeWindow=!0,r.next=r.nextInfiniteTimeWindow):r.next=r.nextTimeWindow,r}return o.c(t,e),t.prototype.nextInfiniteTimeWindow=function(t){var n=this._events;n.push(t),n.length>this._bufferSize&&n.shift(),e.prototype.next.call(this,t)},t.prototype.nextTimeWindow=function(t){this._events.push(new _(this._getNow(),t)),this._trimBufferThenGetEvents(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){var t,n=this._infiniteTimeWindow,o=n?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,i=o.length;if(this.closed)throw new m.a;if(this.isStopped||this.hasError?t=s.a.EMPTY:(this.observers.push(e),t=new g.a(this,e)),r&&e.add(e=new p(e,r)),n)for(var a=0;a<i&&!e.closed;a++)e.next(o[a]);else for(a=0;a<i&&!e.closed;a++)e.next(o[a].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),t},t.prototype._getNow=function(){return(this.scheduler||a).now()},t.prototype._trimBufferThenGetEvents=function(){for(var e=this._getNow(),t=this._bufferSize,n=this._windowTime,o=this._events,r=o.length,i=0;i<r&&!(e-o[i].time<n);)i++;return r>t&&(i=Math.max(i,r-t)),i>0&&o.splice(0,i),o},t}(r.a),_=function(){return function(e,t){this.time=e,this.value=t}}()},SKYL:function(e,t,n){var o=n("yNUO");e.exports=function(e){return 6===o(e).getDay()}},SeLc:function(e,t,n){"use strict";var o=n("8/JR"),r=n("PzH3"),i=n("RRZf"),a=document,s=a.documentElement;function l(e,t,n,o){global.navigator.pointerEnabled?r[t](e,{mouseup:"pointerup",mousedown:"pointerdown",mousemove:"pointermove"}[n],o):global.navigator.msPointerEnabled?r[t](e,{mouseup:"MSPointerUp",mousedown:"MSPointerDown",mousemove:"MSPointerMove"}[n],o):(r[t](e,{mouseup:"touchend",mousedown:"touchstart",mousemove:"touchmove"}[n],o),r[t](e,n,o))}function c(e){if(void 0!==e.touches)return e.touches.length;if(void 0!==e.which&&0!==e.which)return e.which;if(void 0!==e.buttons)return e.buttons;var t=e.button;return void 0!==t?1&t?1:2&t?3:4&t?2:0:void 0}function u(e,t){return void 0!==global[t]?global[t]:s.clientHeight?s[e]:a.body[e]}function d(e,t,n){var o,r=e||{},i=r.className;return r.className+=" gu-hide",o=a.elementFromPoint(t,n),r.className=i,o}function h(){return!1}function p(){return!0}function f(e){return e.width||e.right-e.left}function m(e){return e.height||e.bottom-e.top}function g(e){return e.parentNode===a?null:e.parentNode}function v(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName||"SELECT"===e.tagName||function e(t){return!!t&&"false"!==t.contentEditable&&("true"===t.contentEditable||e(g(t)))}(e)}function _(e){return e.nextElementSibling||function(){var t=e;do{t=t.nextSibling}while(t&&1!==t.nodeType);return t}()}function y(e,t){var n=function(e){return e.targetTouches&&e.targetTouches.length?e.targetTouches[0]:e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e}(t),o={pageX:"clientX",pageY:"clientY"};return e in o&&!(e in n)&&o[e]in n&&(e=o[e]),n[e]}e.exports=function(e,t){var n,b,C,E,w,k,A,S,O,x,D;1===arguments.length&&!1===Array.isArray(e)&&(t=e,e=[]);var T,R=null,P=t||{};void 0===P.moves&&(P.moves=p),void 0===P.accepts&&(P.accepts=p),void 0===P.invalid&&(P.invalid=function(){return!1}),void 0===P.containers&&(P.containers=e||[]),void 0===P.isContainer&&(P.isContainer=h),void 0===P.copy&&(P.copy=!1),void 0===P.copySortSource&&(P.copySortSource=!1),void 0===P.revertOnSpill&&(P.revertOnSpill=!1),void 0===P.removeOnSpill&&(P.removeOnSpill=!1),void 0===P.direction&&(P.direction="vertical"),void 0===P.ignoreInputTextSelection&&(P.ignoreInputTextSelection=!0),void 0===P.deadzone&&(P.deadzone=0),void 0===P.mirrorContainer&&(P.mirrorContainer=a.body);var M=o({containers:P.containers,start:function(e){var t=U(e);t&&$(t)},end:H,cancel:z,remove:q,destroy:function(){F(!0),K({})},canMove:function(e){return!!U(e)},dragging:!1});return!0===P.removeOnSpill&&M.on("over",function(e){i.rm(e,"gu-hide")}).on("out",function(e){M.dragging&&i.add(e,"gu-hide")}),F(),M;function I(e){return-1!==M.containers.indexOf(e)||P.isContainer(e)}function F(e){var t=e?"remove":"add";l(s,t,"mousedown",j),l(s,t,"mouseup",K)}function L(e){l(s,e?"remove":"add","mousemove",V)}function B(e){var t=e?"remove":"add";r[t](s,"selectstart",N),r[t](s,"click",N)}function N(e){T&&e.preventDefault()}function j(e){if(k=e.clientX,A=e.clientY,1===c(e)&&!e.metaKey&&!e.ctrlKey){var t=e.target,n=U(t);n&&(T=n,L(),"mousedown"===e.type&&(v(t)?t.focus():e.preventDefault()))}}function V(e){var t=y("clientX",e),o=y("clientY",e);if(T)if(0!==c(e)){if(void 0===e.clientX||e.clientX!==k||void 0===e.clientY||e.clientY!==A){var r,d,h;if(P.ignoreInputTextSelection&&v(a.elementFromPoint(t,o)))return;if(r={x:k,y:A},d={x:t,y:o},h=Math.pow(r.x-d.x,2)+Math.pow(r.y-d.y,2),!(Math.sqrt(h)<=P.deadzone)){var p=T;L(!0),B(),H(),$(p);var g,_={left:(g=C.getBoundingClientRect()).left+u("scrollLeft","pageXOffset"),top:g.top+u("scrollTop","pageYOffset")};E=y("pageX",e)-_.left,w=y("pageY",e)-_.top,i.add(x||C,"gu-transit"),function(){if(!n){var e=C.getBoundingClientRect();(n=C.cloneNode(!0)).style.width=f(e)+"px",n.style.height=m(e)+"px",i.rm(n,"gu-transit"),i.add(n,"gu-mirror"),P.mirrorContainer.appendChild(n),l(s,"add","mousemove",X),i.add(P.mirrorContainer,"gu-unselectable"),M.emit("cloned",n,C,"mirror")}}(),X(e)}}}else K({})}function U(e){if(!(M.dragging&&n||I(e))){for(var t=e;g(e)&&!1===I(g(e));){if(P.invalid(e,t))return;if(!(e=g(e)))return}var o=g(e);if(o&&!P.invalid(e,t)&&P.moves(e,o,t,_(e)))return{item:e,source:o}}}function $(e){("boolean"==typeof P.copy?P.copy:P.copy(e.item,e.source))&&(x=e.item.cloneNode(!0),M.emit("cloned",x,e.item,"copy")),b=e.source,C=e.item,S=O=_(e.item),M.dragging=!0,M.emit("drag",C,b)}function H(){if(M.dragging){var e=x||C;G(e,g(e))}}function W(){T=!1,L(!0),B(!0)}function K(e){if(W(),M.dragging){var t=x||C,o=y("clientX",e),r=y("clientY",e),i=J(d(n,o,r),o,r);i&&(x&&P.copySortSource||!x||i!==b)?G(t,i):P.removeOnSpill?q():z()}}function G(e,t){var n=g(e);x&&P.copySortSource&&t===b&&n.removeChild(C),Z(t)?M.emit("cancel",e,b,b):M.emit("drop",e,t,b,O),Y()}function q(){if(M.dragging){var e=x||C,t=g(e);t&&t.removeChild(e),M.emit(x?"cancel":"remove",e,t,b),Y()}}function z(e){if(M.dragging){var t=arguments.length>0?e:P.revertOnSpill,n=x||C,o=g(n),r=Z(o);!1===r&&t&&(x?o&&o.removeChild(x):b.insertBefore(n,S)),r||t?M.emit("cancel",n,b,b):M.emit("drop",n,o,b,O),Y()}}function Y(){var e=x||C;W(),n&&(i.rm(P.mirrorContainer,"gu-unselectable"),l(s,"remove","mousemove",X),g(n).removeChild(n),n=null),e&&i.rm(e,"gu-transit"),D&&clearTimeout(D),M.dragging=!1,R&&M.emit("out",e,R,b),M.emit("dragend",e),b=C=x=S=O=D=R=null}function Z(e,t){var o;return o=void 0!==t?t:n?O:_(x||C),e===b&&o===S}function J(e,t,n){for(var o=e;o&&!r();)o=g(o);return o;function r(){if(!1===I(o))return!1;var r=Q(o,e),i=ee(o,r,t,n);return!!Z(o,i)||P.accepts(C,o,b,i)}}function X(e){if(n){e.preventDefault();var t=y("clientX",e),o=y("clientY",e),r=o-w;n.style.left=t-E+"px",n.style.top=r+"px";var i=x||C,a=d(n,t,o),s=J(a,t,o),l=null!==s&&s!==R;(l||null===s)&&(R&&p("out"),R=s,l&&p("over"));var c=g(i);if(s!==b||!x||P.copySortSource){var u,h=Q(s,a);if(null!==h)u=ee(s,h,t,o);else{if(!0!==P.revertOnSpill||x)return void(x&&c&&c.removeChild(i));u=S,s=b}(null===u&&l||u!==i&&u!==_(i))&&(O=u,s.insertBefore(i,u),M.emit("shadow",i,s,b))}else c&&c.removeChild(i)}function p(e){M.emit(e,i,R,b)}}function Q(e,t){for(var n=t;n!==e&&g(n)!==e;)n=g(n);return n===s?null:n}function ee(e,t,n,o){var r,i="horizontal"===P.direction;return t!==e?(r=t.getBoundingClientRect(),(i?n>r.left+f(r)/2:o>r.top+m(r)/2)?_(t):t):function(){var t,r,a,s=e.children.length;for(t=0;t<s;t++){if(a=(r=e.children[t]).getBoundingClientRect(),i&&a.left+a.width/2>n)return r;if(!i&&a.top+a.height/2>o)return r}return null}()}}},T1DM:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n("h9Dq"),r=new(n("CS9Q").a)(o.a)},T2d4:function(e,t,n){var o=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,r,i=o(e).getTime();return t.forEach(function(e){var t=o(e),a=Math.abs(i-t.getTime());(void 0===n||a<r)&&(n=t,r=a)}),n}},Txjg:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n("Zn8D");function r(){return Object(o.a)(1)}},UVXo:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("CcnG"),r=n("gIcY"),i=n("ZYjt"),a=n("FpO7");t.TextMaskConfig=function(){return function(){}}(),t.MASKEDINPUT_VALUE_ACCESSOR={provide:r.NG_VALUE_ACCESSOR,useExisting:o.forwardRef(function(){return s}),multi:!0};var s=function(){function e(e,t,n){var o;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=(o=i.\u0275getDOM()?i.\u0275getDOM().getUserAgent():"",!/android (\d+)/.test(o.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.decorators=[{type:o.Directive,args:[{host:{"(input)":"_handleInput($event.target.value)","(blur)":"onTouched()","(compositionstart)":"_compositionStart()","(compositionend)":"_compositionEnd($event.target.value)"},selector:"[textMask]",exportAs:"textMask",providers:[t.MASKEDINPUT_VALUE_ACCESSOR]}]}],e.propDecorators={textMaskConfig:[{type:o.Input,args:["textMask"]}]},e}();t.MaskedInputDirective=s,t.TextMaskModule=function(){function e(){}return e.decorators=[{type:o.NgModule,args:[{declarations:[s],exports:[s]}]}],e}();var l=n("FpO7");t.conformToMask=l.conformToMask},UpIE:function(e,t,n){var o=n("y5a+");e.exports=function(e){return o(e,{weekStartsOn:1})}},"Us+F":function(e,t,n){var o=n("LZbM"),r=n("6DAA");e.exports={distanceInWords:o(),format:r()}},VBar:function(e,t,n){var o=n("yNUO");e.exports=function(e){var t=o(e),n=t.getFullYear(),r=t.getMonth(),i=new Date(0);return i.setFullYear(n,r+1,0),i.setHours(0,0,0,0),i.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}},"VnD/":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=n("mrSG"),r=n("FFOo");function i(e,t){return function(n){return n.lift(new a(e,t))}}var a=function(){function e(e,t){this.predicate=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.predicate,this.thisArg))},e}(),s=function(e){function t(t,n,o){var r=e.call(this,t)||this;return r.predicate=n,r.thisArg=o,r.count=0,r}return o.c(t,e),t.prototype._next=function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)},t}(r.a)},WA8B:function(e,t,n){var o=n("yNUO"),r=n("pLeS"),i=n("1CCG");e.exports=function(e){var t=o(e);return i(t,r(t))+1}},Wjgk:function(e,t,n){var o=n("yNUO");e.exports=function(e){return 4===o(e).getDay()}},WmBB:function(e,t,n){var o=n("yNUO");e.exports=function(e,t){var n=o(e),r=o(t);return n.getFullYear()===r.getFullYear()&&n.getMonth()===r.getMonth()}},XZVX:function(e,t,n){var o=n("yNUO");e.exports=function(e){return o(e).getHours()}},YSh2:function(e,t,n){"use strict";n.d(t,"k",function(){return o}),n.d(t,"d",function(){return r}),n.d(t,"e",function(){return i}),n.d(t,"j",function(){return a}),n.d(t,"c",function(){return s}),n.d(t,"f",function(){return l}),n.d(t,"g",function(){return c}),n.d(t,"l",function(){return u}),n.d(t,"i",function(){return d}),n.d(t,"b",function(){return h}),n.d(t,"n",function(){return p}),n.d(t,"h",function(){return f}),n.d(t,"a",function(){return m}),n.d(t,"m",function(){return g}),n.d(t,"o",function(){return v});var o=9,r=13,i=27,a=32,s=35,l=36,c=37,u=38,d=39,h=40,p=48,f=57,m=65,g=90;function v(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.length?t.some(function(t){return e[t]}):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}},YhbO:function(e,t,n){"use strict";n.d(t,"b",function(){return u}),n.d(t,"a",function(){return l}),n.d(t,"c",function(){return d});var o=n("n6gG"),r=n("CcnG"),i=n("K9Ia"),a=n("pugT"),s=0,l=function(){function e(){this._stateChanges=new i.a,this._openCloseAllActions=new i.a,this.id="cdk-accordion-"+s++,this._multi=!1}return Object.defineProperty(e.prototype,"multi",{get:function(){return this._multi},set:function(e){this._multi=Object(o.b)(e)},enumerable:!0,configurable:!0}),e.prototype.openAll=function(){this._openCloseAll(!0)},e.prototype.closeAll=function(){this._openCloseAll(!1)},e.prototype.ngOnChanges=function(e){this._stateChanges.next(e)},e.prototype.ngOnDestroy=function(){this._stateChanges.complete()},e.prototype._openCloseAll=function(e){this.multi&&this._openCloseAllActions.next(e)},e}(),c=0,u=function(){function e(e,t,n){var o=this;this.accordion=e,this._changeDetectorRef=t,this._expansionDispatcher=n,this._openCloseAllSubscription=a.a.EMPTY,this.closed=new r.EventEmitter,this.opened=new r.EventEmitter,this.destroyed=new r.EventEmitter,this.expandedChange=new r.EventEmitter,this.id="cdk-accordion-child-"+c++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=function(){},this._removeUniqueSelectionListener=n.listen(function(e,t){o.accordion&&!o.accordion.multi&&o.accordion.id===t&&o.id!==e&&(o.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}return Object.defineProperty(e.prototype,"expanded",{get:function(){return this._expanded},set:function(e){e=Object(o.b)(e),this._expanded!==e&&(this._expanded=e,this.expandedChange.emit(e),e?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(e){this._disabled=Object(o.b)(e)},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()},e.prototype.toggle=function(){this.disabled||(this.expanded=!this.expanded)},e.prototype.close=function(){this.disabled||(this.expanded=!1)},e.prototype.open=function(){this.disabled||(this.expanded=!0)},e.prototype._subscribeToOpenCloseAllActions=function(){var e=this;return this.accordion._openCloseAllActions.subscribe(function(t){e.disabled||(e.expanded=t)})},e}(),d=function(){return function(){}}()},YlT8:function(e,t,n){var o=n("NmtT");e.exports=function(e,t){return o(Date.now(),e,t)}},YlbQ:function(e,t,n){"use strict";n.d(t,"c",function(){return c}),n.d(t,"a",function(){return l}),n.d(t,"b",function(){return s});var o=n("mrSG"),r=n("6blF"),i=n("F/XL"),a=(n("K9Ia"),n("CcnG")),s=function(){return function(){}}(),l=function(e){function t(t){var n=e.call(this)||this;return n._data=t,n}return Object(o.c)(t,e),t.prototype.connect=function(){return this._data instanceof r.a?this._data:Object(i.a)(this._data)},t.prototype.disconnect=function(){},t}(s),c=function(){function e(){this._listeners=[]}return e.prototype.notify=function(e,t){for(var n=0,o=this._listeners;n<o.length;n++)(0,o[n])(e,t)},e.prototype.listen=function(e){var t=this;return this._listeners.push(e),function(){t._listeners=t._listeners.filter(function(t){return e!==t})}},e.prototype.ngOnDestroy=function(){this._listeners=[]},e.ngInjectableDef=Object(a.defineInjectable)({factory:function(){return new e},token:e,providedIn:"root"}),e}()},Ys8N:function(e,t,n){"use strict";var o=[],r="",i=/^on/;for(r in global)i.test(r)&&o.push(r.slice(2));e.exports=o},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 o=n("yNUO");e.exports=function(e,t,n,r){var i=o(e).getTime(),a=o(t).getTime(),s=o(n).getTime(),l=o(r).getTime();if(i>a||s>l)throw new Error("The start of the range cannot be after the end of the range");return i<l&&s<a?Math.ceil(((l>a?a:l)-(s<i?i:s))/864e5):0}},ZXDK:function(e,t,n){var o=n("54Wo");e.exports=function(e,t){var n=o(e,t)/6e4;return n>0?Math.floor(n):Math.ceil(n)}},ZYjt:function(e,t,n){"use strict";n.r(t),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_c",function(){return xe}),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_b",function(){return Oe}),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_a",function(){return Se}),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_k",function(){return d}),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_d",function(){return Te}),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_i",function(){return w}),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_h",function(){return E}),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_e",function(){return Pe}),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_f",function(){return He}),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_j",function(){return T}),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_g",function(){return I}),n.d(t,"BrowserModule",function(){return De}),n.d(t,"platformBrowser",function(){return ke}),n.d(t,"Meta",function(){return Re}),n.d(t,"Title",function(){return Me}),n.d(t,"disableDebugTools",function(){return je}),n.d(t,"enableDebugTools",function(){return Ne}),n.d(t,"BrowserTransferStateModule",function(){return We}),n.d(t,"TransferState",function(){return $e}),n.d(t,"makeStateKey",function(){return Ue}),n.d(t,"By",function(){return Ke}),n.d(t,"DOCUMENT",function(){return _}),n.d(t,"EVENT_MANAGER_PLUGINS",function(){return P}),n.d(t,"EventManager",function(){return M}),n.d(t,"HAMMER_GESTURE_CONFIG",function(){return se}),n.d(t,"HAMMER_LOADER",function(){return le}),n.d(t,"HammerGestureConfig",function(){return ce}),n.d(t,"DomSanitizer",function(){return fe}),n.d(t,"VERSION",function(){return Ge}),n.d(t,"\u0275BROWSER_SANITIZATION_PROVIDERS",function(){return we}),n.d(t,"\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS",function(){return Ee}),n.d(t,"\u0275initDomAdapter",function(){return Ae}),n.d(t,"\u0275BrowserDomAdapter",function(){return g}),n.d(t,"\u0275BrowserPlatformLocation",function(){return b}),n.d(t,"\u0275TRANSITION_ID",function(){return C}),n.d(t,"\u0275BrowserGetTestability",function(){return k}),n.d(t,"\u0275escapeHtml",function(){return Ve}),n.d(t,"\u0275ELEMENT_PROBE_PROVIDERS",function(){return R}),n.d(t,"\u0275DomAdapter",function(){return u}),n.d(t,"\u0275getDOM",function(){return s}),n.d(t,"\u0275setRootDomAdapter",function(){return l}),n.d(t,"\u0275DomRendererFactory2",function(){return K}),n.d(t,"\u0275NAMESPACE_URIS",function(){return B}),n.d(t,"\u0275flattenStyles",function(){return H}),n.d(t,"\u0275shimContentAttribute",function(){return U}),n.d(t,"\u0275shimHostAttribute",function(){return $}),n.d(t,"\u0275DomEventsPlugin",function(){return ie}),n.d(t,"\u0275HammerGesturesPlugin",function(){return ue}),n.d(t,"\u0275KeyEventsPlugin",function(){return pe}),n.d(t,"\u0275DomSharedStylesHost",function(){return L}),n.d(t,"\u0275SharedStylesHost",function(){return F}),n.d(t,"\u0275DomSanitizerImpl",function(){return me});var o=n("mrSG"),r=n("Ip0R"),i=n("CcnG"),a=null;function s(){return a}function l(e){a||(a=e)}var c,u=function(){function e(){this.resourceLoaderType=null}return Object.defineProperty(e.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(e){this._attrToPropMap=e},enumerable:!0,configurable:!0}),e}(),d=function(e){function t(){var t=e.call(this)||this;t._animationPrefix=null,t._transitionEnd=null;try{var n=t.createElement("div",document);if(null!=t.getStyle(n,"animationName"))t._animationPrefix="";else for(var o=["Webkit","Moz","O","ms"],r=0;r<o.length;r++)if(null!=t.getStyle(n,o[r]+"AnimationName")){t._animationPrefix="-"+o[r].toLowerCase()+"-";break}var i={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(i).forEach(function(e){null!=t.getStyle(n,e)&&(t._transitionEnd=i[e])})}catch(a){t._animationPrefix=null,t._transitionEnd=null}return t}return Object(o.c)(t,e),t.prototype.getDistributedNodes=function(e){return e.getDistributedNodes()},t.prototype.resolveAndSetHref=function(e,t,n){e.href=null==n?t:t+"/../"+n},t.prototype.supportsDOMEvents=function(){return!0},t.prototype.supportsNativeShadowDOM=function(){return"function"==typeof document.body.createShadowRoot},t.prototype.getAnimationPrefix=function(){return this._animationPrefix?this._animationPrefix:""},t.prototype.getTransitionEnd=function(){return this._transitionEnd?this._transitionEnd:""},t.prototype.supportsAnimation=function(){return null!=this._animationPrefix&&null!=this._transitionEnd},t}(u),h={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},p={"\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"},f={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"};i["\u0275global"].Node&&(c=i["\u0275global"].Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))});var m,g=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.c)(t,e),t.prototype.parse=function(e){throw new Error("parse not implemented")},t.makeCurrent=function(){l(new t)},t.prototype.hasProperty=function(e,t){return t in e},t.prototype.setProperty=function(e,t,n){e[t]=n},t.prototype.getProperty=function(e,t){return e[t]},t.prototype.invoke=function(e,t,n){var r;(r=e)[t].apply(r,Object(o.g)(n))},t.prototype.logError=function(e){window.console&&(console.error?console.error(e):console.log(e))},t.prototype.log=function(e){window.console&&window.console.log&&window.console.log(e)},t.prototype.logGroup=function(e){window.console&&window.console.group&&window.console.group(e)},t.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},Object.defineProperty(t.prototype,"attrToPropMap",{get:function(){return h},enumerable:!0,configurable:!0}),t.prototype.contains=function(e,t){return c.call(e,t)},t.prototype.querySelector=function(e,t){return e.querySelector(t)},t.prototype.querySelectorAll=function(e,t){return e.querySelectorAll(t)},t.prototype.on=function(e,t,n){e.addEventListener(t,n,!1)},t.prototype.onAndCancel=function(e,t,n){return e.addEventListener(t,n,!1),function(){e.removeEventListener(t,n,!1)}},t.prototype.dispatchEvent=function(e,t){e.dispatchEvent(t)},t.prototype.createMouseEvent=function(e){var t=this.getDefaultDocument().createEvent("MouseEvent");return t.initEvent(e,!0,!0),t},t.prototype.createEvent=function(e){var t=this.getDefaultDocument().createEvent("Event");return t.initEvent(e,!0,!0),t},t.prototype.preventDefault=function(e){e.preventDefault(),e.returnValue=!1},t.prototype.isPrevented=function(e){return e.defaultPrevented||null!=e.returnValue&&!e.returnValue},t.prototype.getInnerHTML=function(e){return e.innerHTML},t.prototype.getTemplateContent=function(e){return"content"in e&&this.isTemplateElement(e)?e.content:null},t.prototype.getOuterHTML=function(e){return e.outerHTML},t.prototype.nodeName=function(e){return e.nodeName},t.prototype.nodeValue=function(e){return e.nodeValue},t.prototype.type=function(e){return e.type},t.prototype.content=function(e){return this.hasProperty(e,"content")?e.content:e},t.prototype.firstChild=function(e){return e.firstChild},t.prototype.nextSibling=function(e){return e.nextSibling},t.prototype.parentElement=function(e){return e.parentNode},t.prototype.childNodes=function(e){return e.childNodes},t.prototype.childNodesAsList=function(e){for(var t=e.childNodes,n=new Array(t.length),o=0;o<t.length;o++)n[o]=t[o];return n},t.prototype.clearNodes=function(e){for(;e.firstChild;)e.removeChild(e.firstChild)},t.prototype.appendChild=function(e,t){e.appendChild(t)},t.prototype.removeChild=function(e,t){e.removeChild(t)},t.prototype.replaceChild=function(e,t,n){e.replaceChild(t,n)},t.prototype.remove=function(e){return e.parentNode&&e.parentNode.removeChild(e),e},t.prototype.insertBefore=function(e,t,n){e.insertBefore(n,t)},t.prototype.insertAllBefore=function(e,t,n){n.forEach(function(n){return e.insertBefore(n,t)})},t.prototype.insertAfter=function(e,t,n){e.insertBefore(n,t.nextSibling)},t.prototype.setInnerHTML=function(e,t){e.innerHTML=t},t.prototype.getText=function(e){return e.textContent},t.prototype.setText=function(e,t){e.textContent=t},t.prototype.getValue=function(e){return e.value},t.prototype.setValue=function(e,t){e.value=t},t.prototype.getChecked=function(e){return e.checked},t.prototype.setChecked=function(e,t){e.checked=t},t.prototype.createComment=function(e){return this.getDefaultDocument().createComment(e)},t.prototype.createTemplate=function(e){var t=this.getDefaultDocument().createElement("template");return t.innerHTML=e,t},t.prototype.createElement=function(e,t){return(t=t||this.getDefaultDocument()).createElement(e)},t.prototype.createElementNS=function(e,t,n){return(n=n||this.getDefaultDocument()).createElementNS(e,t)},t.prototype.createTextNode=function(e,t){return(t=t||this.getDefaultDocument()).createTextNode(e)},t.prototype.createScriptTag=function(e,t,n){var o=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return o.setAttribute(e,t),o},t.prototype.createStyleElement=function(e,t){var n=(t=t||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(e,t)),n},t.prototype.createShadowRoot=function(e){return e.createShadowRoot()},t.prototype.getShadowRoot=function(e){return e.shadowRoot},t.prototype.getHost=function(e){return e.host},t.prototype.clone=function(e){return e.cloneNode(!0)},t.prototype.getElementsByClassName=function(e,t){return e.getElementsByClassName(t)},t.prototype.getElementsByTagName=function(e,t){return e.getElementsByTagName(t)},t.prototype.classList=function(e){return Array.prototype.slice.call(e.classList,0)},t.prototype.addClass=function(e,t){e.classList.add(t)},t.prototype.removeClass=function(e,t){e.classList.remove(t)},t.prototype.hasClass=function(e,t){return e.classList.contains(t)},t.prototype.setStyle=function(e,t,n){e.style[t]=n},t.prototype.removeStyle=function(e,t){e.style[t]=""},t.prototype.getStyle=function(e,t){return e.style[t]},t.prototype.hasStyle=function(e,t,n){var o=this.getStyle(e,t)||"";return n?o==n:o.length>0},t.prototype.tagName=function(e){return e.tagName},t.prototype.attributeMap=function(e){for(var t=new Map,n=e.attributes,o=0;o<n.length;o++){var r=n.item(o);t.set(r.name,r.value)}return t},t.prototype.hasAttribute=function(e,t){return e.hasAttribute(t)},t.prototype.hasAttributeNS=function(e,t,n){return e.hasAttributeNS(t,n)},t.prototype.getAttribute=function(e,t){return e.getAttribute(t)},t.prototype.getAttributeNS=function(e,t,n){return e.getAttributeNS(t,n)},t.prototype.setAttribute=function(e,t,n){e.setAttribute(t,n)},t.prototype.setAttributeNS=function(e,t,n,o){e.setAttributeNS(t,n,o)},t.prototype.removeAttribute=function(e,t){e.removeAttribute(t)},t.prototype.removeAttributeNS=function(e,t,n){e.removeAttributeNS(t,n)},t.prototype.templateAwareRoot=function(e){return this.isTemplateElement(e)?this.content(e):e},t.prototype.createHtmlDocument=function(){return document.implementation.createHTMLDocument("fakeTitle")},t.prototype.getDefaultDocument=function(){return document},t.prototype.getBoundingClientRect=function(e){try{return e.getBoundingClientRect()}catch(t){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}},t.prototype.getTitle=function(e){return e.title},t.prototype.setTitle=function(e,t){e.title=t||""},t.prototype.elementMatches=function(e,t){return!!this.isElementNode(e)&&(e.matches&&e.matches(t)||e.msMatchesSelector&&e.msMatchesSelector(t)||e.webkitMatchesSelector&&e.webkitMatchesSelector(t))},t.prototype.isTemplateElement=function(e){return this.isElementNode(e)&&"TEMPLATE"===e.nodeName},t.prototype.isTextNode=function(e){return e.nodeType===Node.TEXT_NODE},t.prototype.isCommentNode=function(e){return e.nodeType===Node.COMMENT_NODE},t.prototype.isElementNode=function(e){return e.nodeType===Node.ELEMENT_NODE},t.prototype.hasShadowRoot=function(e){return null!=e.shadowRoot&&e instanceof HTMLElement},t.prototype.isShadowRoot=function(e){return e instanceof DocumentFragment},t.prototype.importIntoDoc=function(e){return document.importNode(this.templateAwareRoot(e),!0)},t.prototype.adoptNode=function(e){return document.adoptNode(e)},t.prototype.getHref=function(e){return e.getAttribute("href")},t.prototype.getEventKey=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&&f.hasOwnProperty(t)&&(t=f[t]))}return p[t]||t},t.prototype.getGlobalEventTarget=function(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null},t.prototype.getHistory=function(){return window.history},t.prototype.getLocation=function(){return window.location},t.prototype.getBaseHref=function(e){var t,n=v||(v=document.querySelector("base"))?v.getAttribute("href"):null;return null==n?null:(t=n,m||(m=document.createElement("a")),m.setAttribute("href",t),"/"===m.pathname.charAt(0)?m.pathname:"/"+m.pathname)},t.prototype.resetBaseElement=function(){v=null},t.prototype.getUserAgent=function(){return window.navigator.userAgent},t.prototype.setData=function(e,t,n){this.setAttribute(e,"data-"+t,n)},t.prototype.getData=function(e,t){return this.getAttribute(e,"data-"+t)},t.prototype.getComputedStyle=function(e){return getComputedStyle(e)},t.prototype.supportsWebAnimation=function(){return"function"==typeof Element.prototype.animate},t.prototype.performanceNow=function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()},t.prototype.supportsCookies=function(){return!0},t.prototype.getCookie=function(e){return Object(r.E)(document.cookie,e)},t.prototype.setCookie=function(e,t){document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)},t}(d),v=null,_=r.e;function y(){return!!window.history.pushState}var b=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n._init(),n}return Object(o.c)(t,e),t.prototype._init=function(){this.location=s().getLocation(),this._history=s().getHistory()},t.prototype.getBaseHrefFromDOM=function(){return s().getBaseHref(this._doc)},t.prototype.onPopState=function(e){s().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)},t.prototype.onHashChange=function(e){s().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)},Object.defineProperty(t.prototype,"pathname",{get:function(){return this.location.pathname},set:function(e){this.location.pathname=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"search",{get:function(){return this.location.search},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hash",{get:function(){return this.location.hash},enumerable:!0,configurable:!0}),t.prototype.pushState=function(e,t,n){y()?this._history.pushState(e,t,n):this.location.hash=n},t.prototype.replaceState=function(e,t,n){y()?this._history.replaceState(e,t,n):this.location.hash=n},t.prototype.forward=function(){this._history.forward()},t.prototype.back=function(){this._history.back()},Object(o.b)([Object(o.e)(0,Object(i.Inject)(_)),Object(o.d)("design:paramtypes",[Object])],t)}(r.w),C=new i.InjectionToken("TRANSITION_ID");function E(e,t,n){return function(){n.get(i.ApplicationInitStatus).donePromise.then(function(){var n=s();Array.prototype.slice.apply(n.querySelectorAll(t,"style[ng-transition]")).filter(function(t){return n.getAttribute(t,"ng-transition")===e}).forEach(function(e){return n.remove(e)})})}}var w=[{provide:i.APP_INITIALIZER,useFactory:E,deps:[C,_,i.Injector],multi:!0}],k=function(){function e(){}return e.init=function(){Object(i.setTestabilityGetter)(new e)},e.prototype.addToWindow=function(e){i["\u0275global"].getAngularTestability=function(t,n){void 0===n&&(n=!0);var o=e.findTestabilityInTree(t,n);if(null==o)throw new Error("Could not find testability for element.");return o},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,o=!1,r=function(t){o=o||t,0==--n&&e(o)};t.forEach(function(e){e.whenStable(r)})})},e.prototype.findTestabilityInTree=function(e,t,n){if(null==t)return null;var o=e.getTestability(t);return null!=o?o:n?s().isShadowRoot(t)?this.findTestabilityInTree(e,s().getHost(t),!0):this.findTestabilityInTree(e,s().parentElement(t),!0):null},e}();function A(e,t){"undefined"!=typeof COMPILED&&COMPILED||((i["\u0275global"].ng=i["\u0275global"].ng||{})[e]=t)}var S={ApplicationRef:i.ApplicationRef,NgZone:i.NgZone},O="probe",x="coreTokens";function D(e){return Object(i.getDebugNode)(e)}function T(e){return A(O,D),A(x,Object(o.a)({},S,(e||[]).reduce(function(e,t){return e[t.name]=t.token,e},{}))),function(){return D}}var R=[{provide:i.APP_INITIALIZER,useFactory:T,deps:[[i.NgProbeToken,new i.Optional]],multi:!0}],P=new i.InjectionToken("EventManagerPlugins"),M=function(){function e(e,t){var n=this;this._zone=t,this._eventNameToPlugin=new Map,e.forEach(function(e){return e.manager=n}),this._plugins=e.slice().reverse()}return e.prototype.addEventListener=function(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)},e.prototype.addGlobalEventListener=function(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)},e.prototype.getZone=function(){return this._zone},e.prototype._findPluginFor=function(e){var t=this._eventNameToPlugin.get(e);if(t)return t;for(var n=this._plugins,o=0;o<n.length;o++){var r=n[o];if(r.supports(e))return this._eventNameToPlugin.set(e,r),r}throw new Error("No event manager plugin found for event "+e)},e}(),I=function(){function e(e){this._doc=e}return e.prototype.addGlobalEventListener=function(e,t,n){var o=s().getGlobalEventTarget(this._doc,e);if(!o)throw new Error("Unsupported event target "+o+" for event "+t);return this.addEventListener(o,t,n)},e}(),F=function(){function e(){this._stylesSet=new Set}return e.prototype.addStyles=function(e){var t=this,n=new Set;e.forEach(function(e){t._stylesSet.has(e)||(t._stylesSet.add(e),n.add(e))}),this.onStylesAdded(n)},e.prototype.onStylesAdded=function(e){},e.prototype.getAllStyles=function(){return Array.from(this._stylesSet)},e}(),L=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n._hostNodes=new Set,n._styleNodes=new Set,n._hostNodes.add(t.head),n}return Object(o.c)(t,e),t.prototype._addStylesToHost=function(e,t){var n=this;e.forEach(function(e){var o=n._doc.createElement("style");o.textContent=e,n._styleNodes.add(t.appendChild(o))})},t.prototype.addHost=function(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)},t.prototype.removeHost=function(e){this._hostNodes.delete(e)},t.prototype.onStylesAdded=function(e){var t=this;this._hostNodes.forEach(function(n){return t._addStylesToHost(e,n)})},t.prototype.ngOnDestroy=function(){this._styleNodes.forEach(function(e){return s().remove(e)})},t}(F),B={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/"},N=/%COMP%/g,j="_nghost-%COMP%",V="_ngcontent-%COMP%";function U(e){return V.replace(N,e)}function $(e){return j.replace(N,e)}function H(e,t,n){for(var o=0;o<t.length;o++){var r=t[o];Array.isArray(r)?H(e,r,n):(r=r.replace(N,e),n.push(r))}return n}function W(e){return function(t){!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}var K=function(){function e(e,t){this.eventManager=e,this.sharedStylesHost=t,this.rendererByCompId=new Map,this.defaultRenderer=new G(e)}return e.prototype.createRenderer=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 Z(this.eventManager,this.sharedStylesHost,t),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n;case i.ViewEncapsulation.Native:case i.ViewEncapsulation.ShadowDom:return new J(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){var o=H(t.id,t.styles,[]);this.sharedStylesHost.addStyles(o),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}},e.prototype.begin=function(){},e.prototype.end=function(){},e}(),G=function(){function e(e){this.eventManager=e,this.data=Object.create(null)}return e.prototype.destroy=function(){},e.prototype.createElement=function(e,t){return t?document.createElementNS(B[t],e):document.createElement(e)},e.prototype.createComment=function(e){return document.createComment(e)},e.prototype.createText=function(e){return document.createTextNode(e)},e.prototype.appendChild=function(e,t){e.appendChild(t)},e.prototype.insertBefore=function(e,t,n){e&&e.insertBefore(t,n)},e.prototype.removeChild=function(e,t){e&&e.removeChild(t)},e.prototype.selectRootElement=function(e,t){var n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error('The selector "'+e+'" did not match any elements');return t||(n.textContent=""),n},e.prototype.parentNode=function(e){return e.parentNode},e.prototype.nextSibling=function(e){return e.nextSibling},e.prototype.setAttribute=function(e,t,n,o){if(o){t=o+":"+t;var r=B[o];r?e.setAttributeNS(r,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)},e.prototype.removeAttribute=function(e,t,n){if(n){var o=B[n];o?e.removeAttributeNS(o,t):e.removeAttribute(n+":"+t)}else e.removeAttribute(t)},e.prototype.addClass=function(e,t){e.classList.add(t)},e.prototype.removeClass=function(e,t){e.classList.remove(t)},e.prototype.setStyle=function(e,t,n,o){o&i.RendererStyleFlags2.DashCase?e.style.setProperty(t,n,o&i.RendererStyleFlags2.Important?"important":""):e.style[t]=n},e.prototype.removeStyle=function(e,t,n){n&i.RendererStyleFlags2.DashCase?e.style.removeProperty(t):e.style[t]=""},e.prototype.setProperty=function(e,t,n){z(t,"property"),e[t]=n},e.prototype.setValue=function(e,t){e.nodeValue=t},e.prototype.listen=function(e,t,n){return z(t,"listener"),"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,W(n)):this.eventManager.addEventListener(e,t,W(n))},e}(),q="@".charCodeAt(0);function z(e,t){if(e.charCodeAt(0)===q)throw new Error("Found the synthetic "+t+" "+e+'. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.')}var Y,Z=function(e){function t(t,n,o){var r=e.call(this,t)||this;r.component=o;var i=H(o.id,o.styles,[]);return n.addStyles(i),r.contentAttr=U(o.id),r.hostAttr=$(o.id),r}return Object(o.c)(t,e),t.prototype.applyToHost=function(t){e.prototype.setAttribute.call(this,t,this.hostAttr,"")},t.prototype.createElement=function(t,n){var o=e.prototype.createElement.call(this,t,n);return e.prototype.setAttribute.call(this,o,this.contentAttr,""),o},t}(G),J=function(e){function t(t,n,o,r){var a=e.call(this,t)||this;a.sharedStylesHost=n,a.hostEl=o,a.component=r,a.shadowRoot=r.encapsulation===i.ViewEncapsulation.ShadowDom?o.attachShadow({mode:"open"}):o.createShadowRoot(),a.sharedStylesHost.addHost(a.shadowRoot);for(var s=H(r.id,r.styles,[]),l=0;l<s.length;l++){var c=document.createElement("style");c.textContent=s[l],a.shadowRoot.appendChild(c)}return a}return Object(o.c)(t,e),t.prototype.nodeOrShadowRoot=function(e){return e===this.hostEl?this.shadowRoot:e},t.prototype.destroy=function(){this.sharedStylesHost.removeHost(this.shadowRoot)},t.prototype.appendChild=function(t,n){return e.prototype.appendChild.call(this,this.nodeOrShadowRoot(t),n)},t.prototype.insertBefore=function(t,n,o){return e.prototype.insertBefore.call(this,this.nodeOrShadowRoot(t),n,o)},t.prototype.removeChild=function(t,n){return e.prototype.removeChild.call(this,this.nodeOrShadowRoot(t),n)},t.prototype.parentNode=function(t){return this.nodeOrShadowRoot(e.prototype.parentNode.call(this,this.nodeOrShadowRoot(t)))},t}(G),X="undefined"!=typeof Zone&&Zone.__symbol__||function(e){return"__zone_symbol__"+e},Q=X("addEventListener"),ee=X("removeEventListener"),te={},ne="__zone_symbol__propagationStopped";"undefined"!=typeof Zone&&Zone[X("BLACK_LISTED_EVENTS")]&&(Y={});var oe=function(e){return!!Y&&Y.hasOwnProperty(e)},re=function(e){var t=te[e.type];if(t){var n=this[t];if(n){var o=[e];if(1===n.length)return(a=n[0]).zone!==Zone.current?a.zone.run(a.handler,this,o):a.handler.apply(this,o);for(var r=n.slice(),i=0;i<r.length&&!0!==e[ne];i++){var a;(a=r[i]).zone!==Zone.current?a.zone.run(a.handler,this,o):a.handler.apply(this,o)}}}},ie=function(e){function t(t,n,o){var i=e.call(this,t)||this;return i.ngZone=n,o&&Object(r.B)(o)||i.patchEvent(),i}return Object(o.c)(t,e),t.prototype.patchEvent=function(){if("undefined"!=typeof Event&&Event&&Event.prototype&&!Event.prototype.__zone_symbol__stopImmediatePropagation){var e=Event.prototype.__zone_symbol__stopImmediatePropagation=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[ne]=!0),e&&e.apply(this,arguments)}}},t.prototype.supports=function(e){return!0},t.prototype.addEventListener=function(e,t,n){var o=this,r=n;if(!e[Q]||i.NgZone.isInAngularZone()&&!oe(t))e.addEventListener(t,r,!1);else{var a=te[t];a||(a=te[t]=X("ANGULAR"+t+"FALSE"));var s=e[a],l=s&&s.length>0;s||(s=e[a]=[]);var c=oe(t)?Zone.root:Zone.current;if(0===s.length)s.push({zone:c,handler:r});else{for(var u=!1,d=0;d<s.length;d++)if(s[d].handler===r){u=!0;break}u||s.push({zone:c,handler:r})}l||e[Q](t,re,!1)}return function(){return o.removeEventListener(e,t,r)}},t.prototype.removeEventListener=function(e,t,n){var o=e[ee];if(!o)return e.removeEventListener.apply(e,[t,n,!1]);var r=te[t],i=r&&e[r];if(!i)return e.removeEventListener.apply(e,[t,n,!1]);for(var a=!1,s=0;s<i.length;s++)if(i[s].handler===n){a=!0,i.splice(s,1);break}a?0===i.length&&o.apply(e,[t,re,!1]):e.removeEventListener.apply(e,[t,n,!1])},t}(I),ae={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},se=new i.InjectionToken("HammerGestureConfig"),le=new i.InjectionToken("HammerLoader"),ce=function(){function e(){this.events=[],this.overrides={}}return e.prototype.buildHammer=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}(),ue=function(e){function t(t,n,o,r){var i=e.call(this,t)||this;return i._config=n,i.console=o,i.loader=r,i}return Object(o.c)(t,e),t.prototype.supports=function(e){return!(!ae.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e)||!window.Hammer&&!this.loader&&(this.console.warn('The "'+e+'" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.'),1))},t.prototype.addEventListener=function(e,t,n){var o=this,r=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){var i=!1,a=function(){i=!0};return this.loader().then(function(){if(!window.Hammer)return o.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(a=function(){});i||(a=o.addEventListener(e,t,n))}).catch(function(){o.console.warn('The "'+t+'" event cannot be bound because the custom Hammer.JS loader failed.'),a=function(){}}),function(){a()}}return r.runOutsideAngular(function(){var i=o._config.buildHammer(e),a=function(e){r.runGuarded(function(){n(e)})};return i.on(t,a),function(){i.off(t,a),"function"==typeof i.destroy&&i.destroy()}})},t.prototype.isCustomEvent=function(e){return this._config.events.indexOf(e)>-1},t}(I),de=["alt","control","meta","shift"],he={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},pe=function(e){function t(t){return e.call(this,t)||this}var n;return Object(o.c)(t,e),n=t,t.prototype.supports=function(e){return null!=n.parseEventName(e)},t.prototype.addEventListener=function(e,t,o){var r=n.parseEventName(t),i=n.eventCallback(r.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return s().onAndCancel(e,r.domEventName,i)})},t.parseEventName=function(e){var t=e.toLowerCase().split("."),o=t.shift();if(0===t.length||"keydown"!==o&&"keyup"!==o)return null;var r=n._normalizeKey(t.pop()),i="";if(de.forEach(function(e){var n=t.indexOf(e);n>-1&&(t.splice(n,1),i+=e+".")}),i+=r,0!=t.length||0===r.length)return null;var a={};return a.domEventName=o,a.fullKey=i,a},t.getEventFullKey=function(e){var t="",n=s().getEventKey(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),de.forEach(function(o){o!=n&&(0,he[o])(e)&&(t+=o+".")}),t+=n},t.eventCallback=function(e,t,o){return function(r){n.getEventFullKey(r)===e&&o.runGuarded(function(){return t(r)})}},t._normalizeKey=function(e){switch(e){case"esc":return"escape";default:return e}},t}(I),fe=function(){return function(){}}(),me=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n}return Object(o.c)(t,e),t.prototype.sanitize=function(e,t){if(null==t)return null;switch(e){case i.SecurityContext.NONE:return t;case i.SecurityContext.HTML:return t instanceof ve?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"HTML"),Object(i["\u0275_sanitizeHtml"])(this._doc,String(t)));case i.SecurityContext.STYLE:return t instanceof _e?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"Style"),Object(i["\u0275_sanitizeStyle"])(t));case i.SecurityContext.SCRIPT:if(t instanceof ye)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"Script"),new Error("unsafe value used in a script context");case i.SecurityContext.URL:return t instanceof Ce||t instanceof be?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"URL"),Object(i["\u0275_sanitizeUrl"])(String(t)));case i.SecurityContext.RESOURCE_URL:if(t instanceof Ce)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+e+" (see http://g.co/ng/security#xss)")}},t.prototype.checkNotSafeValue=function(e,t){if(e instanceof ge)throw new Error("Required a safe "+t+", got a "+e.getTypeName()+" (see http://g.co/ng/security#xss)")},t.prototype.bypassSecurityTrustHtml=function(e){return new ve(e)},t.prototype.bypassSecurityTrustStyle=function(e){return new _e(e)},t.prototype.bypassSecurityTrustScript=function(e){return new ye(e)},t.prototype.bypassSecurityTrustUrl=function(e){return new be(e)},t.prototype.bypassSecurityTrustResourceUrl=function(e){return new Ce(e)},t}(fe),ge=function(){function e(e){this.changingThisBreaksApplicationSecurity=e}return e.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},e}(),ve=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.c)(t,e),t.prototype.getTypeName=function(){return"HTML"},t}(ge),_e=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.c)(t,e),t.prototype.getTypeName=function(){return"Style"},t}(ge),ye=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.c)(t,e),t.prototype.getTypeName=function(){return"Script"},t}(ge),be=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.c)(t,e),t.prototype.getTypeName=function(){return"URL"},t}(ge),Ce=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.c)(t,e),t.prototype.getTypeName=function(){return"ResourceURL"},t}(ge),Ee=[{provide:i.PLATFORM_ID,useValue:r.C},{provide:i.PLATFORM_INITIALIZER,useValue:Ae,multi:!0},{provide:r.w,useClass:b,deps:[_]},{provide:_,useFactory:Oe,deps:[]}],we=[{provide:i.Sanitizer,useExisting:fe},{provide:fe,useClass:me,deps:[_]}],ke=Object(i.createPlatformFactory)(i.platformCore,"browser",Ee);function Ae(){g.makeCurrent(),k.init()}function Se(){return new i.ErrorHandler}function Oe(){return document}var xe=[we,{provide:i["\u0275APP_ROOT"],useValue:!0},{provide:i.ErrorHandler,useFactory:Se,deps:[]},{provide:P,useClass:ie,multi:!0,deps:[_,i.NgZone,i.PLATFORM_ID]},{provide:P,useClass:pe,multi:!0,deps:[_]},{provide:P,useClass:ue,multi:!0,deps:[_,se,i["\u0275Console"],[new i.Optional,le]]},{provide:se,useClass:ce,deps:[]},{provide:K,useClass:K,deps:[M,L]},{provide:i.RendererFactory2,useExisting:K},{provide:F,useExisting:L},{provide:L,useClass:L,deps:[_]},{provide:i.Testability,useClass:i.Testability,deps:[i.NgZone]},{provide:M,useClass:M,deps:[P,i.NgZone]},R],De=function(){function e(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}var t;return t=e,e.withServerTransition=function(e){return{ngModule:t,providers:[{provide:i.APP_ID,useValue:e.appId},{provide:C,useExisting:i.APP_ID},w]}},e}();function Te(){return new Re(Object(i.inject)(_))}var Re=function(){function e(e){this._doc=e,this._dom=s()}return e.prototype.addTag=function(e,t){return void 0===t&&(t=!1),e?this._getOrCreateElement(e,t):null},e.prototype.addTags=function(e,t){var n=this;return void 0===t&&(t=!1),e?e.reduce(function(e,o){return o&&e.push(n._getOrCreateElement(o,t)),e},[]):[]},e.prototype.getTag=function(e){return e&&this._dom.querySelector(this._doc,"meta["+e+"]")||null},e.prototype.getTags=function(e){if(!e)return[];var t=this._dom.querySelectorAll(this._doc,"meta["+e+"]");return t?[].slice.call(t):[]},e.prototype.updateTag=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)},e.prototype.removeTag=function(e){this.removeTagElement(this.getTag(e))},e.prototype.removeTagElement=function(e){e&&this._dom.remove(e)},e.prototype._getOrCreateElement=function(e,t){if(void 0===t&&(t=!1),!t){var n=this._parseSelector(e),o=this.getTag(n);if(o&&this._containsAttributes(e,o))return o}var r=this._dom.createElement("meta");this._setMetaElementAttributes(e,r);var i=this._dom.getElementsByTagName(this._doc,"head")[0];return this._dom.appendChild(i,r),r},e.prototype._setMetaElementAttributes=function(e,t){var n=this;return Object.keys(e).forEach(function(o){return n._dom.setAttribute(t,o,e[o])}),t},e.prototype._parseSelector=function(e){var t=e.name?"name":"property";return t+'="'+e[t]+'"'},e.prototype._containsAttributes=function(e,t){var n=this;return Object.keys(e).every(function(o){return n._dom.getAttribute(t,o)===e[o]})},e.ngInjectableDef=Object(i.defineInjectable)({factory:Te,token:e,providedIn:"root"}),e}();function Pe(){return new Me(Object(i.inject)(_))}var Me=function(){function e(e){this._doc=e}return e.prototype.getTitle=function(){return s().getTitle(this._doc)},e.prototype.setTitle=function(e){s().setTitle(this._doc,e)},e.ngInjectableDef=Object(i.defineInjectable)({factory:Pe,token:e,providedIn:"root"}),e}(),Ie="undefined"!=typeof window&&window||{},Fe=function(){return function(e,t){this.msPerTick=e,this.numTicks=t}}(),Le=function(){function e(e){this.appRef=e.injector.get(i.ApplicationRef)}return e.prototype.timeChangeDetection=function(e){var t=e&&e.record,n=null!=Ie.console.profile;t&&n&&Ie.console.profile("Change Detection");for(var o=s().performanceNow(),r=0;r<5||s().performanceNow()-o<500;)this.appRef.tick(),r++;var i=s().performanceNow();t&&n&&Ie.console.profileEnd("Change Detection");var a=(i-o)/r;return Ie.console.log("ran "+r+" change detection cycles"),Ie.console.log(a.toFixed(2)+" ms per check"),new Fe(a,r)},e}(),Be="profiler";function Ne(e){return A(Be,new Le(e)),e}function je(){A(Be,null)}function Ve(e){var t={"&":"&a;",'"':"&q;","'":"&s;","<":"&l;",">":"&g;"};return e.replace(/[&"'<>]/g,function(e){return t[e]})}function Ue(e){return e}var $e=function(){function e(){this.store={},this.onSerializeCallbacks={}}var t;return t=e,e.init=function(e){var n=new t;return n.store=e,n},e.prototype.get=function(e,t){return void 0!==this.store[e]?this.store[e]:t},e.prototype.set=function(e,t){this.store[e]=t},e.prototype.remove=function(e){delete this.store[e]},e.prototype.hasKey=function(e){return this.store.hasOwnProperty(e)},e.prototype.onSerialize=function(e,t){this.onSerializeCallbacks[e]=t},e.prototype.toJson=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)},e}();function He(e,t){var n,o=e.getElementById(t+"-state"),r={};if(o&&o.textContent)try{r=JSON.parse((n={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"},o.textContent.replace(/&[^;]+;/g,function(e){return n[e]})))}catch(i){console.warn("Exception while restoring TransferState for app "+t,i)}return $e.init(r)}var We=function(){return function(){}}(),Ke=function(){function e(){}return e.all=function(){return function(e){return!0}},e.css=function(e){return function(t){return null!=t.nativeElement&&s().elementMatches(t.nativeElement,e)}},e.directive=function(e){return function(t){return-1!==t.providerTokens.indexOf(e)}},e}(),Ge=new i.Version("7.1.4")},Zipn:function(e,t,n){var o=n("+6+2");e.exports=function(e,t){var n=o(e),r=o(t);return n.getTime()===r.getTime()}},ZmXw:function(e,t,n){var o=n("yNUO"),r=n("VBar");e.exports=function(e,t){var n=o(e),i=Number(t),a=n.getMonth()+i,s=new Date(0);s.setFullYear(n.getFullYear(),a,1),s.setHours(0,0,0,0);var l=r(s);return n.setMonth(a,Math.min(l,n.getDate())),n}},Zn8D:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=n("psW0"),r=n("mChF");function i(e){return void 0===e&&(e=Number.POSITIVE_INFINITY),Object(o.a)(r.a,e)}},"a4+5":function(e,t,n){var o=n("yNUO");e.exports=function(e,t){var n=o(e),r=o(t);return n.getTime()<r.getTime()}},aTp7:function(e,t){e.exports=function(){var e=new Date,t=e.getFullYear(),n=e.getMonth(),o=e.getDate(),r=new Date(0);return r.setFullYear(t,n,o-1),r.setHours(0,0,0,0),r}},ad02:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var o=n("mrSG"),r=n("FFOo"),i=n("Ehmk"),a=n("eihs");function s(e,t){return function(n){return n.lift(new l(e,t))}}var l=function(){function e(e,t){this.compare=e,this.keySelector=t}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.compare,this.keySelector))},e}(),c=function(e){function t(t,n,o){var r=e.call(this,t)||this;return r.keySelector=o,r.hasKey=!1,"function"==typeof n&&(r.compare=n),r}return o.c(t,e),t.prototype.compare=function(e,t){return e===t},t.prototype._next=function(e){var t=e;if(this.keySelector&&(t=Object(i.a)(this.keySelector)(e))===a.a)return this.destination.error(a.a.e);var n=!1;if(this.hasKey){if((n=Object(i.a)(this.compare)(this.key,t))===a.a)return this.destination.error(a.a.e)}else this.hasKey=!0;!1===Boolean(n)&&(this.key=t,this.destination.next(e))},t}(r.a)},b056:function(e,t){e.exports=function(){var e=new Date,t=e.getFullYear(),n=e.getMonth(),o=e.getDate(),r=new Date(0);return r.setFullYear(t,n,o+1),r.setHours(23,59,59,999),r}},b7mW:function(e,t,n){"use strict";function o(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}n.d(t,"a",function(){return r}),o.prototype=Object.create(Error.prototype);var r=o},b8ws:function(e,t,n){var o=n("yNUO"),r=n("Kpyc"),i=n("DT56");e.exports=function(e,t){var n=o(e),a=o(t),s=i(n,a),l=Math.abs(r(n,a));return n.setFullYear(n.getFullYear()-s*l),s*(l-(i(n,a)===-s))}},bWjX:function(e,t){e.exports.id="ace/mode/javascript_worker",e.exports.src='"no use strict";!function(window){function resolveModuleId(id,paths){for(var testPath=id,tail="";testPath;){var alias=paths[testPath];if("string"==typeof alias)return alias+tail;if(alias)return alias.location.replace(/\\/*$/,"/")+(tail||alias.main||alias.name);if(alias===!1)return"";var i=testPath.lastIndexOf("/");if(-1===i)break;tail=testPath.substr(i)+tail,testPath=testPath.slice(0,i)}return id}if(!(void 0!==window.window&&window.document||window.acequire&&window.define)){window.console||(window.console=function(){var msgs=Array.prototype.slice.call(arguments,0);postMessage({type:"log",data:msgs})},window.console.error=window.console.warn=window.console.log=window.console.trace=window.console),window.window=window,window.ace=window,window.onerror=function(message,file,line,col,err){postMessage({type:"error",data:{message:message,data:err.data,file:file,line:line,col:col,stack:err.stack}})},window.normalizeModule=function(parentId,moduleName){if(-1!==moduleName.indexOf("!")){var chunks=moduleName.split("!");return window.normalizeModule(parentId,chunks[0])+"!"+window.normalizeModule(parentId,chunks[1])}if("."==moduleName.charAt(0)){var base=parentId.split("/").slice(0,-1).join("/");for(moduleName=(base?base+"/":"")+moduleName;-1!==moduleName.indexOf(".")&&previous!=moduleName;){var previous=moduleName;moduleName=moduleName.replace(/^\\.\\//,"").replace(/\\/\\.\\//,"/").replace(/[^\\/]+\\/\\.\\.\\//,"")}}return moduleName},window.acequire=function acequire(parentId,id){if(id||(id=parentId,parentId=null),!id.charAt)throw Error("worker.js acequire() accepts only (parentId, id) as arguments");id=window.normalizeModule(parentId,id);var module=window.acequire.modules[id];if(module)return module.initialized||(module.initialized=!0,module.exports=module.factory().exports),module.exports;if(!window.acequire.tlns)return console.log("unable to load "+id);var path=resolveModuleId(id,window.acequire.tlns);return".js"!=path.slice(-3)&&(path+=".js"),window.acequire.id=id,window.acequire.modules[id]={},importScripts(path),window.acequire(parentId,id)},window.acequire.modules={},window.acequire.tlns={},window.define=function(id,deps,factory){if(2==arguments.length?(factory=deps,"string"!=typeof id&&(deps=id,id=window.acequire.id)):1==arguments.length&&(factory=id,deps=[],id=window.acequire.id),"function"!=typeof factory)return window.acequire.modules[id]={exports:factory,initialized:!0},void 0;deps.length||(deps=["require","exports","module"]);var req=function(childId){return window.acequire(id,childId)};window.acequire.modules[id]={exports:{},factory:function(){var module=this,returnExports=factory.apply(this,deps.map(function(dep){switch(dep){case"require":return req;case"exports":return module.exports;case"module":return module;default:return req(dep)}}));return returnExports&&(module.exports=returnExports),module}}},window.define.amd={},acequire.tlns={},window.initBaseUrls=function(topLevelNamespaces){for(var i in topLevelNamespaces)acequire.tlns[i]=topLevelNamespaces[i]},window.initSender=function(){var EventEmitter=window.acequire("ace/lib/event_emitter").EventEmitter,oop=window.acequire("ace/lib/oop"),Sender=function(){};return function(){oop.implement(this,EventEmitter),this.callback=function(data,callbackId){postMessage({type:"call",id:callbackId,data:data})},this.emit=function(name,data){postMessage({type:"event",name:name,data:data})}}.call(Sender.prototype),new Sender};var main=window.main=null,sender=window.sender=null;window.onmessage=function(e){var msg=e.data;if(msg.event&&sender)sender._signal(msg.event,msg.data);else if(msg.command)if(main[msg.command])main[msg.command].apply(main,msg.args);else{if(!window[msg.command])throw Error("Unknown command:"+msg.command);window[msg.command].apply(window,msg.args)}else if(msg.init){window.initBaseUrls(msg.tlns),acequire("ace/lib/es5-shim"),sender=window.sender=window.initSender();var clazz=acequire(msg.module)[msg.classname];main=window.main=new clazz(sender)}}}}(this),ace.define("ace/lib/oop",["require","exports","module"],function(acequire,exports){"use strict";exports.inherits=function(ctor,superCtor){ctor.super_=superCtor,ctor.prototype=Object.create(superCtor.prototype,{constructor:{value:ctor,enumerable:!1,writable:!0,configurable:!0}})},exports.mixin=function(obj,mixin){for(var key in mixin)obj[key]=mixin[key];return obj},exports.implement=function(proto,mixin){exports.mixin(proto,mixin)}}),ace.define("ace/range",["require","exports","module"],function(acequire,exports){"use strict";var comparePoints=function(p1,p2){return p1.row-p2.row||p1.column-p2.column},Range=function(startRow,startColumn,endRow,endColumn){this.start={row:startRow,column:startColumn},this.end={row:endRow,column:endColumn}};(function(){this.isEqual=function(range){return this.start.row===range.start.row&&this.end.row===range.end.row&&this.start.column===range.start.column&&this.end.column===range.end.column},this.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(row,column){return 0==this.compare(row,column)},this.compareRange=function(range){var cmp,end=range.end,start=range.start;return cmp=this.compare(end.row,end.column),1==cmp?(cmp=this.compare(start.row,start.column),1==cmp?2:0==cmp?1:0):-1==cmp?-2:(cmp=this.compare(start.row,start.column),-1==cmp?-1:1==cmp?42:0)},this.comparePoint=function(p){return this.compare(p.row,p.column)},this.containsRange=function(range){return 0==this.comparePoint(range.start)&&0==this.comparePoint(range.end)},this.intersects=function(range){var cmp=this.compareRange(range);return-1==cmp||0==cmp||1==cmp},this.isEnd=function(row,column){return this.end.row==row&&this.end.column==column},this.isStart=function(row,column){return this.start.row==row&&this.start.column==column},this.setStart=function(row,column){"object"==typeof row?(this.start.column=row.column,this.start.row=row.row):(this.start.row=row,this.start.column=column)},this.setEnd=function(row,column){"object"==typeof row?(this.end.column=row.column,this.end.row=row.row):(this.end.row=row,this.end.column=column)},this.inside=function(row,column){return 0==this.compare(row,column)?this.isEnd(row,column)||this.isStart(row,column)?!1:!0:!1},this.insideStart=function(row,column){return 0==this.compare(row,column)?this.isEnd(row,column)?!1:!0:!1},this.insideEnd=function(row,column){return 0==this.compare(row,column)?this.isStart(row,column)?!1:!0:!1},this.compare=function(row,column){return this.isMultiLine()||row!==this.start.row?this.start.row>row?-1:row>this.end.row?1:this.start.row===row?column>=this.start.column?0:-1:this.end.row===row?this.end.column>=column?0:1:0:this.start.column>column?-1:column>this.end.column?1:0},this.compareStart=function(row,column){return this.start.row==row&&this.start.column==column?-1:this.compare(row,column)},this.compareEnd=function(row,column){return this.end.row==row&&this.end.column==column?1:this.compare(row,column)},this.compareInside=function(row,column){return this.end.row==row&&this.end.column==column?1:this.start.row==row&&this.start.column==column?-1:this.compare(row,column)},this.clipRows=function(firstRow,lastRow){if(this.end.row>lastRow)var end={row:lastRow+1,column:0};else if(firstRow>this.end.row)var end={row:firstRow,column:0};if(this.start.row>lastRow)var start={row:lastRow+1,column:0};else if(firstRow>this.start.row)var start={row:firstRow,column:0};return Range.fromPoints(start||this.start,end||this.end)},this.extend=function(row,column){var cmp=this.compare(row,column);if(0==cmp)return this;if(-1==cmp)var start={row:row,column:column};else var end={row:row,column:column};return Range.fromPoints(start||this.start,end||this.end)},this.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},this.isMultiLine=function(){return this.start.row!==this.end.row},this.clone=function(){return Range.fromPoints(this.start,this.end)},this.collapseRows=function(){return 0==this.end.column?new Range(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new Range(this.start.row,0,this.end.row,0)},this.toScreenRange=function(session){var screenPosStart=session.documentToScreenPosition(this.start),screenPosEnd=session.documentToScreenPosition(this.end);return new Range(screenPosStart.row,screenPosStart.column,screenPosEnd.row,screenPosEnd.column)},this.moveBy=function(row,column){this.start.row+=row,this.start.column+=column,this.end.row+=row,this.end.column+=column}}).call(Range.prototype),Range.fromPoints=function(start,end){return new Range(start.row,start.column,end.row,end.column)},Range.comparePoints=comparePoints,Range.comparePoints=function(p1,p2){return p1.row-p2.row||p1.column-p2.column},exports.Range=Range}),ace.define("ace/apply_delta",["require","exports","module"],function(acequire,exports){"use strict";exports.applyDelta=function(docLines,delta){var row=delta.start.row,startColumn=delta.start.column,line=docLines[row]||"";switch(delta.action){case"insert":var lines=delta.lines;if(1===lines.length)docLines[row]=line.substring(0,startColumn)+delta.lines[0]+line.substring(startColumn);else{var args=[row,1].concat(delta.lines);docLines.splice.apply(docLines,args),docLines[row]=line.substring(0,startColumn)+docLines[row],docLines[row+delta.lines.length-1]+=line.substring(startColumn)}break;case"remove":var endColumn=delta.end.column,endRow=delta.end.row;row===endRow?docLines[row]=line.substring(0,startColumn)+line.substring(endColumn):docLines.splice(row,endRow-row+1,line.substring(0,startColumn)+docLines[endRow].substring(endColumn))}}}),ace.define("ace/lib/event_emitter",["require","exports","module"],function(acequire,exports){"use strict";var EventEmitter={},stopPropagation=function(){this.propagationStopped=!0},preventDefault=function(){this.defaultPrevented=!0};EventEmitter._emit=EventEmitter._dispatchEvent=function(eventName,e){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var listeners=this._eventRegistry[eventName]||[],defaultHandler=this._defaultHandlers[eventName];if(listeners.length||defaultHandler){"object"==typeof e&&e||(e={}),e.type||(e.type=eventName),e.stopPropagation||(e.stopPropagation=stopPropagation),e.preventDefault||(e.preventDefault=preventDefault),listeners=listeners.slice();for(var i=0;listeners.length>i&&(listeners[i](e,this),!e.propagationStopped);i++);return defaultHandler&&!e.defaultPrevented?defaultHandler(e,this):void 0}},EventEmitter._signal=function(eventName,e){var listeners=(this._eventRegistry||{})[eventName];if(listeners){listeners=listeners.slice();for(var i=0;listeners.length>i;i++)listeners[i](e,this)}},EventEmitter.once=function(eventName,callback){var _self=this;callback&&this.addEventListener(eventName,function newCallback(){_self.removeEventListener(eventName,newCallback),callback.apply(null,arguments)})},EventEmitter.setDefaultHandler=function(eventName,callback){var handlers=this._defaultHandlers;if(handlers||(handlers=this._defaultHandlers={_disabled_:{}}),handlers[eventName]){var old=handlers[eventName],disabled=handlers._disabled_[eventName];disabled||(handlers._disabled_[eventName]=disabled=[]),disabled.push(old);var i=disabled.indexOf(callback);-1!=i&&disabled.splice(i,1)}handlers[eventName]=callback},EventEmitter.removeDefaultHandler=function(eventName,callback){var handlers=this._defaultHandlers;if(handlers){var disabled=handlers._disabled_[eventName];if(handlers[eventName]==callback)handlers[eventName],disabled&&this.setDefaultHandler(eventName,disabled.pop());else if(disabled){var i=disabled.indexOf(callback);-1!=i&&disabled.splice(i,1)}}},EventEmitter.on=EventEmitter.addEventListener=function(eventName,callback,capturing){this._eventRegistry=this._eventRegistry||{};var listeners=this._eventRegistry[eventName];return listeners||(listeners=this._eventRegistry[eventName]=[]),-1==listeners.indexOf(callback)&&listeners[capturing?"unshift":"push"](callback),callback},EventEmitter.off=EventEmitter.removeListener=EventEmitter.removeEventListener=function(eventName,callback){this._eventRegistry=this._eventRegistry||{};var listeners=this._eventRegistry[eventName];if(listeners){var index=listeners.indexOf(callback);-1!==index&&listeners.splice(index,1)}},EventEmitter.removeAllListeners=function(eventName){this._eventRegistry&&(this._eventRegistry[eventName]=[])},exports.EventEmitter=EventEmitter}),ace.define("ace/anchor",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(acequire,exports){"use strict";var oop=acequire("./lib/oop"),EventEmitter=acequire("./lib/event_emitter").EventEmitter,Anchor=exports.Anchor=function(doc,row,column){this.$onChange=this.onChange.bind(this),this.attach(doc),column===void 0?this.setPosition(row.row,row.column):this.setPosition(row,column)};(function(){function $pointsInOrder(point1,point2,equalPointsInOrder){var bColIsAfter=equalPointsInOrder?point1.column<=point2.column:point1.column<point2.column;return point1.row<point2.row||point1.row==point2.row&&bColIsAfter}function $getTransformedPoint(delta,point,moveIfEqual){var deltaIsInsert="insert"==delta.action,deltaRowShift=(deltaIsInsert?1:-1)*(delta.end.row-delta.start.row),deltaColShift=(deltaIsInsert?1:-1)*(delta.end.column-delta.start.column),deltaStart=delta.start,deltaEnd=deltaIsInsert?deltaStart:delta.end;return $pointsInOrder(point,deltaStart,moveIfEqual)?{row:point.row,column:point.column}:$pointsInOrder(deltaEnd,point,!moveIfEqual)?{row:point.row+deltaRowShift,column:point.column+(point.row==deltaEnd.row?deltaColShift:0)}:{row:deltaStart.row,column:deltaStart.column}}oop.implement(this,EventEmitter),this.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},this.getDocument=function(){return this.document},this.$insertRight=!1,this.onChange=function(delta){if(!(delta.start.row==delta.end.row&&delta.start.row!=this.row||delta.start.row>this.row)){var point=$getTransformedPoint(delta,{row:this.row,column:this.column},this.$insertRight);this.setPosition(point.row,point.column,!0)}},this.setPosition=function(row,column,noClip){var pos;if(pos=noClip?{row:row,column:column}:this.$clipPositionToDocument(row,column),this.row!=pos.row||this.column!=pos.column){var old={row:this.row,column:this.column};this.row=pos.row,this.column=pos.column,this._signal("change",{old:old,value:pos})}},this.detach=function(){this.document.removeEventListener("change",this.$onChange)},this.attach=function(doc){this.document=doc||this.document,this.document.on("change",this.$onChange)},this.$clipPositionToDocument=function(row,column){var pos={};return row>=this.document.getLength()?(pos.row=Math.max(0,this.document.getLength()-1),pos.column=this.document.getLine(pos.row).length):0>row?(pos.row=0,pos.column=0):(pos.row=row,pos.column=Math.min(this.document.getLine(pos.row).length,Math.max(0,column))),0>column&&(pos.column=0),pos}}).call(Anchor.prototype)}),ace.define("ace/document",["require","exports","module","ace/lib/oop","ace/apply_delta","ace/lib/event_emitter","ace/range","ace/anchor"],function(acequire,exports){"use strict";var oop=acequire("./lib/oop"),applyDelta=acequire("./apply_delta").applyDelta,EventEmitter=acequire("./lib/event_emitter").EventEmitter,Range=acequire("./range").Range,Anchor=acequire("./anchor").Anchor,Document=function(textOrLines){this.$lines=[""],0===textOrLines.length?this.$lines=[""]:Array.isArray(textOrLines)?this.insertMergedLines({row:0,column:0},textOrLines):this.insert({row:0,column:0},textOrLines)};(function(){oop.implement(this,EventEmitter),this.setValue=function(text){var len=this.getLength()-1;this.remove(new Range(0,0,len,this.getLine(len).length)),this.insert({row:0,column:0},text)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(row,column){return new Anchor(this,row,column)},this.$split=0==="aaa".split(/a/).length?function(text){return text.replace(/\\r\\n|\\r/g,"\\n").split("\\n")}:function(text){return text.split(/\\r\\n|\\r|\\n/)},this.$detectNewLine=function(text){var match=text.match(/^.*?(\\r\\n|\\r|\\n)/m);this.$autoNewLine=match?match[1]:"\\n",this._signal("changeNewLineMode")},this.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return"\\r\\n";case"unix":return"\\n";default:return this.$autoNewLine||"\\n"}},this.$autoNewLine="",this.$newLineMode="auto",this.setNewLineMode=function(newLineMode){this.$newLineMode!==newLineMode&&(this.$newLineMode=newLineMode,this._signal("changeNewLineMode"))},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(text){return"\\r\\n"==text||"\\r"==text||"\\n"==text},this.getLine=function(row){return this.$lines[row]||""},this.getLines=function(firstRow,lastRow){return this.$lines.slice(firstRow,lastRow+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(range){return this.getLinesForRange(range).join(this.getNewLineCharacter())},this.getLinesForRange=function(range){var lines;if(range.start.row===range.end.row)lines=[this.getLine(range.start.row).substring(range.start.column,range.end.column)];else{lines=this.getLines(range.start.row,range.end.row),lines[0]=(lines[0]||"").substring(range.start.column);var l=lines.length-1;range.end.row-range.start.row==l&&(lines[l]=lines[l].substring(0,range.end.column))}return lines},this.insertLines=function(row,lines){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(row,lines)},this.removeLines=function(firstRow,lastRow){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(firstRow,lastRow)},this.insertNewLine=function(position){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, [\'\', \'\']) instead."),this.insertMergedLines(position,["",""])},this.insert=function(position,text){return 1>=this.getLength()&&this.$detectNewLine(text),this.insertMergedLines(position,this.$split(text))},this.insertInLine=function(position,text){var start=this.clippedPos(position.row,position.column),end=this.pos(position.row,position.column+text.length);return this.applyDelta({start:start,end:end,action:"insert",lines:[text]},!0),this.clonePos(end)},this.clippedPos=function(row,column){var length=this.getLength();void 0===row?row=length:0>row?row=0:row>=length&&(row=length-1,column=void 0);var line=this.getLine(row);return void 0==column&&(column=line.length),column=Math.min(Math.max(column,0),line.length),{row:row,column:column}},this.clonePos=function(pos){return{row:pos.row,column:pos.column}},this.pos=function(row,column){return{row:row,column:column}},this.$clipPosition=function(position){var length=this.getLength();return position.row>=length?(position.row=Math.max(0,length-1),position.column=this.getLine(length-1).length):(position.row=Math.max(0,position.row),position.column=Math.min(Math.max(position.column,0),this.getLine(position.row).length)),position},this.insertFullLines=function(row,lines){row=Math.min(Math.max(row,0),this.getLength());var column=0;this.getLength()>row?(lines=lines.concat([""]),column=0):(lines=[""].concat(lines),row--,column=this.$lines[row].length),this.insertMergedLines({row:row,column:column},lines)},this.insertMergedLines=function(position,lines){var start=this.clippedPos(position.row,position.column),end={row:start.row+lines.length-1,column:(1==lines.length?start.column:0)+lines[lines.length-1].length};return this.applyDelta({start:start,end:end,action:"insert",lines:lines}),this.clonePos(end)},this.remove=function(range){var start=this.clippedPos(range.start.row,range.start.column),end=this.clippedPos(range.end.row,range.end.column);return this.applyDelta({start:start,end:end,action:"remove",lines:this.getLinesForRange({start:start,end:end})}),this.clonePos(start)},this.removeInLine=function(row,startColumn,endColumn){var start=this.clippedPos(row,startColumn),end=this.clippedPos(row,endColumn);return this.applyDelta({start:start,end:end,action:"remove",lines:this.getLinesForRange({start:start,end:end})},!0),this.clonePos(start)},this.removeFullLines=function(firstRow,lastRow){firstRow=Math.min(Math.max(0,firstRow),this.getLength()-1),lastRow=Math.min(Math.max(0,lastRow),this.getLength()-1);var deleteFirstNewLine=lastRow==this.getLength()-1&&firstRow>0,deleteLastNewLine=this.getLength()-1>lastRow,startRow=deleteFirstNewLine?firstRow-1:firstRow,startCol=deleteFirstNewLine?this.getLine(startRow).length:0,endRow=deleteLastNewLine?lastRow+1:lastRow,endCol=deleteLastNewLine?0:this.getLine(endRow).length,range=new Range(startRow,startCol,endRow,endCol),deletedLines=this.$lines.slice(firstRow,lastRow+1);return this.applyDelta({start:range.start,end:range.end,action:"remove",lines:this.getLinesForRange(range)}),deletedLines},this.removeNewLine=function(row){this.getLength()-1>row&&row>=0&&this.applyDelta({start:this.pos(row,this.getLine(row).length),end:this.pos(row+1,0),action:"remove",lines:["",""]})},this.replace=function(range,text){if(range instanceof Range||(range=Range.fromPoints(range.start,range.end)),0===text.length&&range.isEmpty())return range.start;if(text==this.getTextRange(range))return range.end;this.remove(range);var end;return end=text?this.insert(range.start,text):range.start},this.applyDeltas=function(deltas){for(var i=0;deltas.length>i;i++)this.applyDelta(deltas[i])},this.revertDeltas=function(deltas){for(var i=deltas.length-1;i>=0;i--)this.revertDelta(deltas[i])},this.applyDelta=function(delta,doNotValidate){var isInsert="insert"==delta.action;(isInsert?1>=delta.lines.length&&!delta.lines[0]:!Range.comparePoints(delta.start,delta.end))||(isInsert&&delta.lines.length>2e4&&this.$splitAndapplyLargeDelta(delta,2e4),applyDelta(this.$lines,delta,doNotValidate),this._signal("change",delta))},this.$splitAndapplyLargeDelta=function(delta,MAX){for(var lines=delta.lines,l=lines.length,row=delta.start.row,column=delta.start.column,from=0,to=0;;){from=to,to+=MAX-1;var chunk=lines.slice(from,to);if(to>l){delta.lines=chunk,delta.start.row=row+from,delta.start.column=column;break}chunk.push(""),this.applyDelta({start:this.pos(row+from,column),end:this.pos(row+to,column=0),action:delta.action,lines:chunk},!0)}},this.revertDelta=function(delta){this.applyDelta({start:this.clonePos(delta.start),end:this.clonePos(delta.end),action:"insert"==delta.action?"remove":"insert",lines:delta.lines.slice()})},this.indexToPosition=function(index,startRow){for(var lines=this.$lines||this.getAllLines(),newlineLength=this.getNewLineCharacter().length,i=startRow||0,l=lines.length;l>i;i++)if(index-=lines[i].length+newlineLength,0>index)return{row:i,column:index+lines[i].length+newlineLength};return{row:l-1,column:lines[l-1].length}},this.positionToIndex=function(pos,startRow){for(var lines=this.$lines||this.getAllLines(),newlineLength=this.getNewLineCharacter().length,index=0,row=Math.min(pos.row,lines.length),i=startRow||0;row>i;++i)index+=lines[i].length+newlineLength;return index+pos.column}}).call(Document.prototype),exports.Document=Document}),ace.define("ace/lib/lang",["require","exports","module"],function(acequire,exports){"use strict";exports.last=function(a){return a[a.length-1]},exports.stringReverse=function(string){return string.split("").reverse().join("")},exports.stringRepeat=function(string,count){for(var result="";count>0;)1&count&&(result+=string),(count>>=1)&&(string+=string);return result};var trimBeginRegexp=/^\\s\\s*/,trimEndRegexp=/\\s\\s*$/;exports.stringTrimLeft=function(string){return string.replace(trimBeginRegexp,"")},exports.stringTrimRight=function(string){return string.replace(trimEndRegexp,"")},exports.copyObject=function(obj){var copy={};for(var key in obj)copy[key]=obj[key];return copy},exports.copyArray=function(array){for(var copy=[],i=0,l=array.length;l>i;i++)copy[i]=array[i]&&"object"==typeof array[i]?this.copyObject(array[i]):array[i];return copy},exports.deepCopy=function deepCopy(obj){if("object"!=typeof obj||!obj)return obj;var copy;if(Array.isArray(obj)){copy=[];for(var key=0;obj.length>key;key++)copy[key]=deepCopy(obj[key]);return copy}if("[object Object]"!==Object.prototype.toString.call(obj))return obj;copy={};for(var key in obj)copy[key]=deepCopy(obj[key]);return copy},exports.arrayToMap=function(arr){for(var map={},i=0;arr.length>i;i++)map[arr[i]]=1;return map},exports.createMap=function(props){var map=Object.create(null);for(var i in props)map[i]=props[i];return map},exports.arrayRemove=function(array,value){for(var i=0;array.length>=i;i++)value===array[i]&&array.splice(i,1)},exports.escapeRegExp=function(str){return str.replace(/([.*+?^${}()|[\\]\\/\\\\])/g,"\\\\$1")},exports.escapeHTML=function(str){return str.replace(/&/g,"&").replace(/"/g,""").replace(/\'/g,"'").replace(/</g,"<")},exports.getMatchOffsets=function(string,regExp){var matches=[];return string.replace(regExp,function(str){matches.push({offset:arguments[arguments.length-2],length:str.length})}),matches},exports.deferredCall=function(fcn){var timer=null,callback=function(){timer=null,fcn()},deferred=function(timeout){return deferred.cancel(),timer=setTimeout(callback,timeout||0),deferred};return deferred.schedule=deferred,deferred.call=function(){return this.cancel(),fcn(),deferred},deferred.cancel=function(){return clearTimeout(timer),timer=null,deferred},deferred.isPending=function(){return timer},deferred},exports.delayedCall=function(fcn,defaultTimeout){var timer=null,callback=function(){timer=null,fcn()},_self=function(timeout){null==timer&&(timer=setTimeout(callback,timeout||defaultTimeout))};return _self.delay=function(timeout){timer&&clearTimeout(timer),timer=setTimeout(callback,timeout||defaultTimeout)},_self.schedule=_self,_self.call=function(){this.cancel(),fcn()},_self.cancel=function(){timer&&clearTimeout(timer),timer=null},_self.isPending=function(){return timer},_self}}),ace.define("ace/worker/mirror",["require","exports","module","ace/range","ace/document","ace/lib/lang"],function(acequire,exports){"use strict";acequire("../range").Range;var Document=acequire("../document").Document,lang=acequire("../lib/lang"),Mirror=exports.Mirror=function(sender){this.sender=sender;var doc=this.doc=new Document(""),deferredUpdate=this.deferredUpdate=lang.delayedCall(this.onUpdate.bind(this)),_self=this;sender.on("change",function(e){var data=e.data;if(data[0].start)doc.applyDeltas(data);else for(var i=0;data.length>i;i+=2){if(Array.isArray(data[i+1]))var d={action:"insert",start:data[i],lines:data[i+1]};else var d={action:"remove",start:data[i],end:data[i+1]};doc.applyDelta(d,!0)}return _self.$timeout?deferredUpdate.schedule(_self.$timeout):(_self.onUpdate(),void 0)})};(function(){this.$timeout=500,this.setTimeout=function(timeout){this.$timeout=timeout},this.setValue=function(value){this.doc.setValue(value),this.deferredUpdate.schedule(this.$timeout)},this.getValue=function(callbackId){this.sender.callback(this.doc.getValue(),callbackId)},this.onUpdate=function(){},this.isPending=function(){return this.deferredUpdate.isPending()}}).call(Mirror.prototype)}),ace.define("ace/mode/javascript/jshint",["require","exports","module"],function(acequire,exports,module){module.exports=function outer(modules,cache,entry){function newRequire(name,jumped){if(!cache[name]){if(!modules[name]){var currentRequire="function"==typeof acequire&&acequire;if(!jumped&¤tRequire)return currentRequire(name,!0);if(previousRequire)return previousRequire(name,!0);var err=Error("Cannot find module \'"+name+"\'");throw err.code="MODULE_NOT_FOUND",err}var m=cache[name]={exports:{}};modules[name][0].call(m.exports,function(x){var id=modules[name][1][x];return newRequire(id?id:x)},m,m.exports,outer,modules,cache,entry)}return cache[name].exports}for(var previousRequire="function"==typeof acequire&&acequire,i=0;entry.length>i;i++)newRequire(entry[i]);return newRequire(entry[0])}({"/node_modules/browserify/node_modules/events/events.js":[function(_dereq_,module){function EventEmitter(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function isFunction(arg){return"function"==typeof arg}function isNumber(arg){return"number"==typeof arg}function isObject(arg){return"object"==typeof arg&&null!==arg}function isUndefined(arg){return void 0===arg}module.exports=EventEmitter,EventEmitter.EventEmitter=EventEmitter,EventEmitter.prototype._events=void 0,EventEmitter.prototype._maxListeners=void 0,EventEmitter.defaultMaxListeners=10,EventEmitter.prototype.setMaxListeners=function(n){if(!isNumber(n)||0>n||isNaN(n))throw TypeError("n must be a positive number");return this._maxListeners=n,this},EventEmitter.prototype.emit=function(type){var er,handler,len,args,i,listeners;if(this._events||(this._events={}),"error"===type&&(!this._events.error||isObject(this._events.error)&&!this._events.error.length)){if(er=arguments[1],er instanceof Error)throw er;throw TypeError(\'Uncaught, unspecified "error" event.\')}if(handler=this._events[type],isUndefined(handler))return!1;if(isFunction(handler))switch(arguments.length){case 1:handler.call(this);break;case 2:handler.call(this,arguments[1]);break;case 3:handler.call(this,arguments[1],arguments[2]);break;default:for(len=arguments.length,args=Array(len-1),i=1;len>i;i++)args[i-1]=arguments[i];handler.apply(this,args)}else if(isObject(handler)){for(len=arguments.length,args=Array(len-1),i=1;len>i;i++)args[i-1]=arguments[i];for(listeners=handler.slice(),len=listeners.length,i=0;len>i;i++)listeners[i].apply(this,args)}return!0},EventEmitter.prototype.addListener=function(type,listener){var m;if(!isFunction(listener))throw TypeError("listener must be a function");if(this._events||(this._events={}),this._events.newListener&&this.emit("newListener",type,isFunction(listener.listener)?listener.listener:listener),this._events[type]?isObject(this._events[type])?this._events[type].push(listener):this._events[type]=[this._events[type],listener]:this._events[type]=listener,isObject(this._events[type])&&!this._events[type].warned){var m;m=isUndefined(this._maxListeners)?EventEmitter.defaultMaxListeners:this._maxListeners,m&&m>0&&this._events[type].length>m&&(this._events[type].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[type].length),"function"==typeof console.trace&&console.trace())}return this},EventEmitter.prototype.on=EventEmitter.prototype.addListener,EventEmitter.prototype.once=function(type,listener){function g(){this.removeListener(type,g),fired||(fired=!0,listener.apply(this,arguments))}if(!isFunction(listener))throw TypeError("listener must be a function");var fired=!1;return g.listener=listener,this.on(type,g),this},EventEmitter.prototype.removeListener=function(type,listener){var list,position,length,i;if(!isFunction(listener))throw TypeError("listener must be a function");if(!this._events||!this._events[type])return this;if(list=this._events[type],length=list.length,position=-1,list===listener||isFunction(list.listener)&&list.listener===listener)delete this._events[type],this._events.removeListener&&this.emit("removeListener",type,listener);else if(isObject(list)){for(i=length;i--\x3e0;)if(list[i]===listener||list[i].listener&&list[i].listener===listener){position=i;break}if(0>position)return this;1===list.length?(list.length=0,delete this._events[type]):list.splice(position,1),this._events.removeListener&&this.emit("removeListener",type,listener)}return this},EventEmitter.prototype.removeAllListeners=function(type){var key,listeners;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[type]&&delete this._events[type],this;if(0===arguments.length){for(key in this._events)"removeListener"!==key&&this.removeAllListeners(key);return this.removeAllListeners("removeListener"),this._events={},this\n}if(listeners=this._events[type],isFunction(listeners))this.removeListener(type,listeners);else for(;listeners.length;)this.removeListener(type,listeners[listeners.length-1]);return delete this._events[type],this},EventEmitter.prototype.listeners=function(type){var ret;return ret=this._events&&this._events[type]?isFunction(this._events[type])?[this._events[type]]:this._events[type].slice():[]},EventEmitter.listenerCount=function(emitter,type){var ret;return ret=emitter._events&&emitter._events[type]?isFunction(emitter._events[type])?1:emitter._events[type].length:0}},{}],"/node_modules/jshint/data/ascii-identifier-data.js":[function(_dereq_,module){for(var identifierStartTable=[],i=0;128>i;i++)identifierStartTable[i]=36===i||i>=65&&90>=i||95===i||i>=97&&122>=i;for(var identifierPartTable=[],i=0;128>i;i++)identifierPartTable[i]=identifierStartTable[i]||i>=48&&57>=i;module.exports={asciiIdentifierStartTable:identifierStartTable,asciiIdentifierPartTable:identifierPartTable}},{}],"/node_modules/jshint/lodash.js":[function(_dereq_,module,exports){(function(global){(function(){function baseFindIndex(array,predicate,fromRight){for(var length=array.length,index=fromRight?length:-1;fromRight?index--:length>++index;)if(predicate(array[index],index,array))return index;return-1}function baseIndexOf(array,value,fromIndex){if(value!==value)return indexOfNaN(array,fromIndex);for(var index=fromIndex-1,length=array.length;length>++index;)if(array[index]===value)return index;return-1}function baseIsFunction(value){return"function"==typeof value||!1}function baseToString(value){return"string"==typeof value?value:null==value?"":value+""}function indexOfNaN(array,fromIndex,fromRight){for(var length=array.length,index=fromIndex+(fromRight?0:-1);fromRight?index--:length>++index;){var other=array[index];if(other!==other)return index}return-1}function isObjectLike(value){return!!value&&"object"==typeof value}function lodash(){}function arrayCopy(source,array){var index=-1,length=source.length;for(array||(array=Array(length));length>++index;)array[index]=source[index];return array}function arrayEach(array,iteratee){for(var index=-1,length=array.length;length>++index&&iteratee(array[index],index,array)!==!1;);return array}function arrayFilter(array,predicate){for(var index=-1,length=array.length,resIndex=-1,result=[];length>++index;){var value=array[index];predicate(value,index,array)&&(result[++resIndex]=value)}return result}function arrayMap(array,iteratee){for(var index=-1,length=array.length,result=Array(length);length>++index;)result[index]=iteratee(array[index],index,array);return result}function arrayMax(array){for(var index=-1,length=array.length,result=NEGATIVE_INFINITY;length>++index;){var value=array[index];value>result&&(result=value)}return result}function arraySome(array,predicate){for(var index=-1,length=array.length;length>++index;)if(predicate(array[index],index,array))return!0;return!1}function assignWith(object,source,customizer){var props=keys(source);push.apply(props,getSymbols(source));for(var index=-1,length=props.length;length>++index;){var key=props[index],value=object[key],result=customizer(value,source[key],key,object,source);(result===result?result===value:value!==value)&&(value!==undefined||key in object)||(object[key]=result)}return object}function baseCopy(source,props,object){object||(object={});for(var index=-1,length=props.length;length>++index;){var key=props[index];object[key]=source[key]}return object}function baseCallback(func,thisArg,argCount){var type=typeof func;return"function"==type?thisArg===undefined?func:bindCallback(func,thisArg,argCount):null==func?identity:"object"==type?baseMatches(func):thisArg===undefined?property(func):baseMatchesProperty(func,thisArg)}function baseClone(value,isDeep,customizer,key,object,stackA,stackB){var result;if(customizer&&(result=object?customizer(value,key,object):customizer(value)),result!==undefined)return result;if(!isObject(value))return value;var isArr=isArray(value);if(isArr){if(result=initCloneArray(value),!isDeep)return arrayCopy(value,result)}else{var tag=objToString.call(value),isFunc=tag==funcTag;if(tag!=objectTag&&tag!=argsTag&&(!isFunc||object))return cloneableTags[tag]?initCloneByTag(value,tag,isDeep):object?value:{};if(result=initCloneObject(isFunc?{}:value),!isDeep)return baseAssign(result,value)}stackA||(stackA=[]),stackB||(stackB=[]);for(var length=stackA.length;length--;)if(stackA[length]==value)return stackB[length];return stackA.push(value),stackB.push(result),(isArr?arrayEach:baseForOwn)(value,function(subValue,key){result[key]=baseClone(subValue,isDeep,customizer,key,value,stackA,stackB)}),result}function baseFilter(collection,predicate){var result=[];return baseEach(collection,function(value,index,collection){predicate(value,index,collection)&&result.push(value)}),result}function baseForIn(object,iteratee){return baseFor(object,iteratee,keysIn)}function baseForOwn(object,iteratee){return baseFor(object,iteratee,keys)}function baseGet(object,path,pathKey){if(null!=object){pathKey!==undefined&&pathKey in toObject(object)&&(path=[pathKey]);for(var index=-1,length=path.length;null!=object&&length>++index;)var result=object=object[path[index]];return result}}function baseIsEqual(value,other,customizer,isLoose,stackA,stackB){if(value===other)return 0!==value||1/value==1/other;var valType=typeof value,othType=typeof other;return"function"!=valType&&"object"!=valType&&"function"!=othType&&"object"!=othType||null==value||null==other?value!==value&&other!==other:baseIsEqualDeep(value,other,baseIsEqual,customizer,isLoose,stackA,stackB)}function baseIsEqualDeep(object,other,equalFunc,customizer,isLoose,stackA,stackB){var objIsArr=isArray(object),othIsArr=isArray(other),objTag=arrayTag,othTag=arrayTag;objIsArr||(objTag=objToString.call(object),objTag==argsTag?objTag=objectTag:objTag!=objectTag&&(objIsArr=isTypedArray(object))),othIsArr||(othTag=objToString.call(other),othTag==argsTag?othTag=objectTag:othTag!=objectTag&&(othIsArr=isTypedArray(other)));var objIsObj=objTag==objectTag,othIsObj=othTag==objectTag,isSameTag=objTag==othTag;if(isSameTag&&!objIsArr&&!objIsObj)return equalByTag(object,other,objTag);if(!isLoose){var valWrapped=objIsObj&&hasOwnProperty.call(object,"__wrapped__"),othWrapped=othIsObj&&hasOwnProperty.call(other,"__wrapped__");if(valWrapped||othWrapped)return equalFunc(valWrapped?object.value():object,othWrapped?other.value():other,customizer,isLoose,stackA,stackB)}if(!isSameTag)return!1;stackA||(stackA=[]),stackB||(stackB=[]);for(var length=stackA.length;length--;)if(stackA[length]==object)return stackB[length]==other;stackA.push(object),stackB.push(other);var result=(objIsArr?equalArrays:equalObjects)(object,other,equalFunc,customizer,isLoose,stackA,stackB);return stackA.pop(),stackB.pop(),result}function baseIsMatch(object,props,values,strictCompareFlags,customizer){for(var index=-1,length=props.length,noCustomizer=!customizer;length>++index;)if(noCustomizer&&strictCompareFlags[index]?values[index]!==object[props[index]]:!(props[index]in object))return!1;for(index=-1;length>++index;){var key=props[index],objValue=object[key],srcValue=values[index];if(noCustomizer&&strictCompareFlags[index])var result=objValue!==undefined||key in object;else result=customizer?customizer(objValue,srcValue,key):undefined,result===undefined&&(result=baseIsEqual(srcValue,objValue,customizer,!0));if(!result)return!1}return!0}function baseMatches(source){var props=keys(source),length=props.length;if(!length)return constant(!0);if(1==length){var key=props[0],value=source[key];if(isStrictComparable(value))return function(object){return null==object?!1:object[key]===value&&(value!==undefined||key in toObject(object))}}for(var values=Array(length),strictCompareFlags=Array(length);length--;)value=source[props[length]],values[length]=value,strictCompareFlags[length]=isStrictComparable(value);return function(object){return null!=object&&baseIsMatch(toObject(object),props,values,strictCompareFlags)}}function baseMatchesProperty(path,value){var isArr=isArray(path),isCommon=isKey(path)&&isStrictComparable(value),pathKey=path+"";return path=toPath(path),function(object){if(null==object)return!1;var key=pathKey;if(object=toObject(object),!(!isArr&&isCommon||key in object)){if(object=1==path.length?object:baseGet(object,baseSlice(path,0,-1)),null==object)return!1;key=last(path),object=toObject(object)}return object[key]===value?value!==undefined||key in object:baseIsEqual(value,object[key],null,!0)}}function baseMerge(object,source,customizer,stackA,stackB){if(!isObject(object))return object;var isSrcArr=isLength(source.length)&&(isArray(source)||isTypedArray(source));if(!isSrcArr){var props=keys(source);push.apply(props,getSymbols(source))}return arrayEach(props||source,function(srcValue,key){if(props&&(key=srcValue,srcValue=source[key]),isObjectLike(srcValue))stackA||(stackA=[]),stackB||(stackB=[]),baseMergeDeep(object,source,key,baseMerge,customizer,stackA,stackB);else{var value=object[key],result=customizer?customizer(value,srcValue,key,object,source):undefined,isCommon=result===undefined;isCommon&&(result=srcValue),!isSrcArr&&result===undefined||!isCommon&&(result===result?result===value:value!==value)||(object[key]=result)}}),object}function baseMergeDeep(object,source,key,mergeFunc,customizer,stackA,stackB){for(var length=stackA.length,srcValue=source[key];length--;)if(stackA[length]==srcValue)return object[key]=stackB[length],undefined;var value=object[key],result=customizer?customizer(value,srcValue,key,object,source):undefined,isCommon=result===undefined;isCommon&&(result=srcValue,isLength(srcValue.length)&&(isArray(srcValue)||isTypedArray(srcValue))?result=isArray(value)?value:getLength(value)?arrayCopy(value):[]:isPlainObject(srcValue)||isArguments(srcValue)?result=isArguments(value)?toPlainObject(value):isPlainObject(value)?value:{}:isCommon=!1),stackA.push(srcValue),stackB.push(result),isCommon?object[key]=mergeFunc(result,srcValue,customizer,stackA,stackB):(result===result?result!==value:value===value)&&(object[key]=result)}function baseProperty(key){return function(object){return null==object?undefined:object[key]}}function basePropertyDeep(path){var pathKey=path+"";return path=toPath(path),function(object){return baseGet(object,path,pathKey)}}function baseSlice(array,start,end){var index=-1,length=array.length;start=null==start?0:+start||0,0>start&&(start=-start>length?0:length+start),end=end===undefined||end>length?length:+end||0,0>end&&(end+=length),length=start>end?0:end-start>>>0,start>>>=0;for(var result=Array(length);length>++index;)result[index]=array[index+start];return result}function baseSome(collection,predicate){var result;return baseEach(collection,function(value,index,collection){return result=predicate(value,index,collection),!result}),!!result}function baseValues(object,props){for(var index=-1,length=props.length,result=Array(length);length>++index;)result[index]=object[props[index]];return result}function binaryIndex(array,value,retHighest){var low=0,high=array?array.length:low;if("number"==typeof value&&value===value&&HALF_MAX_ARRAY_LENGTH>=high){for(;high>low;){var mid=low+high>>>1,computed=array[mid];(retHighest?value>=computed:value>computed)?low=mid+1:high=mid}return high}return binaryIndexBy(array,value,identity,retHighest)}function binaryIndexBy(array,value,iteratee,retHighest){value=iteratee(value);for(var low=0,high=array?array.length:0,valIsNaN=value!==value,valIsUndef=value===undefined;high>low;){var mid=floor((low+high)/2),computed=iteratee(array[mid]),isReflexive=computed===computed;if(valIsNaN)var setLow=isReflexive||retHighest;else setLow=valIsUndef?isReflexive&&(retHighest||computed!==undefined):retHighest?value>=computed:value>computed;setLow?low=mid+1:high=mid}return nativeMin(high,MAX_ARRAY_INDEX)}function bindCallback(func,thisArg,argCount){if("function"!=typeof func)return identity;if(thisArg===undefined)return func;switch(argCount){case 1:return function(value){return func.call(thisArg,value)};case 3:return function(value,index,collection){return func.call(thisArg,value,index,collection)};case 4:return function(accumulator,value,index,collection){return func.call(thisArg,accumulator,value,index,collection)};case 5:return function(value,other,key,object,source){return func.call(thisArg,value,other,key,object,source)}}return function(){return func.apply(thisArg,arguments)}}function bufferClone(buffer){return bufferSlice.call(buffer,0)}function createAssigner(assigner){return restParam(function(object,sources){var index=-1,length=null==object?0:sources.length,customizer=length>2&&sources[length-2],guard=length>2&&sources[2],thisArg=length>1&&sources[length-1];for("function"==typeof customizer?(customizer=bindCallback(customizer,thisArg,5),length-=2):(customizer="function"==typeof thisArg?thisArg:null,length-=customizer?1:0),guard&&isIterateeCall(sources[0],sources[1],guard)&&(customizer=3>length?null:customizer,length=1);length>++index;){var source=sources[index];source&&assigner(object,source,customizer)}return object})}function createBaseEach(eachFunc,fromRight){return function(collection,iteratee){var length=collection?getLength(collection):0;if(!isLength(length))return eachFunc(collection,iteratee);for(var index=fromRight?length:-1,iterable=toObject(collection);(fromRight?index--:length>++index)&&iteratee(iterable[index],index,iterable)!==!1;);return collection}}function createBaseFor(fromRight){return function(object,iteratee,keysFunc){for(var iterable=toObject(object),props=keysFunc(object),length=props.length,index=fromRight?length:-1;fromRight?index--:length>++index;){var key=props[index];if(iteratee(iterable[key],key,iterable)===!1)break}return object}}function createFindIndex(fromRight){return function(array,predicate,thisArg){return array&&array.length?(predicate=getCallback(predicate,thisArg,3),baseFindIndex(array,predicate,fromRight)):-1}}function createForEach(arrayFunc,eachFunc){return function(collection,iteratee,thisArg){return"function"==typeof iteratee&&thisArg===undefined&&isArray(collection)?arrayFunc(collection,iteratee):eachFunc(collection,bindCallback(iteratee,thisArg,3))}}function equalArrays(array,other,equalFunc,customizer,isLoose,stackA,stackB){var index=-1,arrLength=array.length,othLength=other.length,result=!0;if(arrLength!=othLength&&!(isLoose&&othLength>arrLength))return!1;for(;result&&arrLength>++index;){var arrValue=array[index],othValue=other[index];if(result=undefined,customizer&&(result=isLoose?customizer(othValue,arrValue,index):customizer(arrValue,othValue,index)),result===undefined)if(isLoose)for(var othIndex=othLength;othIndex--&&(othValue=other[othIndex],!(result=arrValue&&arrValue===othValue||equalFunc(arrValue,othValue,customizer,isLoose,stackA,stackB))););else result=arrValue&&arrValue===othValue||equalFunc(arrValue,othValue,customizer,isLoose,stackA,stackB)}return!!result}function equalByTag(object,other,tag){switch(tag){case boolTag:case dateTag:return+object==+other;case errorTag:return object.name==other.name&&object.message==other.message;case numberTag:return object!=+object?other!=+other:0==object?1/object==1/other:object==+other;case regexpTag:case stringTag:return object==other+""}return!1}function equalObjects(object,other,equalFunc,customizer,isLoose,stackA,stackB){var objProps=keys(object),objLength=objProps.length,othProps=keys(other),othLength=othProps.length;if(objLength!=othLength&&!isLoose)return!1;for(var skipCtor=isLoose,index=-1;objLength>++index;){var key=objProps[index],result=isLoose?key in other:hasOwnProperty.call(other,key);if(result){var objValue=object[key],othValue=other[key];result=undefined,customizer&&(result=isLoose?customizer(othValue,objValue,key):customizer(objValue,othValue,key)),result===undefined&&(result=objValue&&objValue===othValue||equalFunc(objValue,othValue,customizer,isLoose,stackA,stackB))}if(!result)return!1;skipCtor||(skipCtor="constructor"==key)}if(!skipCtor){var objCtor=object.constructor,othCtor=other.constructor;if(objCtor!=othCtor&&"constructor"in object&&"constructor"in other&&!("function"==typeof objCtor&&objCtor instanceof objCtor&&"function"==typeof othCtor&&othCtor instanceof othCtor))return!1}return!0}function getCallback(func,thisArg,argCount){var result=lodash.callback||callback;return result=result===callback?baseCallback:result,argCount?result(func,thisArg,argCount):result}function getIndexOf(collection,target,fromIndex){var result=lodash.indexOf||indexOf;return result=result===indexOf?baseIndexOf:result,collection?result(collection,target,fromIndex):result}function initCloneArray(array){var length=array.length,result=new array.constructor(length);return length&&"string"==typeof array[0]&&hasOwnProperty.call(array,"index")&&(result.index=array.index,result.input=array.input),result}function initCloneObject(object){var Ctor=object.constructor;return"function"==typeof Ctor&&Ctor instanceof Ctor||(Ctor=Object),new Ctor}function initCloneByTag(object,tag,isDeep){var Ctor=object.constructor;switch(tag){case arrayBufferTag:return bufferClone(object);case boolTag:case dateTag:return new Ctor(+object);case float32Tag:case float64Tag:case int8Tag:case int16Tag:case int32Tag:case uint8Tag:case uint8ClampedTag:case uint16Tag:case uint32Tag:var buffer=object.buffer;return new Ctor(isDeep?bufferClone(buffer):buffer,object.byteOffset,object.length);case numberTag:case stringTag:return new Ctor(object);case regexpTag:var result=new Ctor(object.source,reFlags.exec(object));result.lastIndex=object.lastIndex}return result}function isIndex(value,length){return value=+value,length=null==length?MAX_SAFE_INTEGER:length,value>-1&&0==value%1&&length>value}function isIterateeCall(value,index,object){if(!isObject(object))return!1;var type=typeof index;if("number"==type)var length=getLength(object),prereq=isLength(length)&&isIndex(index,length);else prereq="string"==type&&index in object;if(prereq){var other=object[index];return value===value?value===other:other!==other}return!1}function isKey(value,object){var type=typeof value;if("string"==type&&reIsPlainProp.test(value)||"number"==type)return!0;if(isArray(value))return!1;var result=!reIsDeepProp.test(value);return result||null!=object&&value in toObject(object)}function isLength(value){return"number"==typeof value&&value>-1&&0==value%1&&MAX_SAFE_INTEGER>=value}function isStrictComparable(value){return value===value&&(0===value?1/value>0:!isObject(value))}function shimIsPlainObject(value){var Ctor;if(lodash.support,!isObjectLike(value)||objToString.call(value)!=objectTag||!hasOwnProperty.call(value,"constructor")&&(Ctor=value.constructor,"function"==typeof Ctor&&!(Ctor instanceof Ctor)))return!1;var result;return baseForIn(value,function(subValue,key){result=key}),result===undefined||hasOwnProperty.call(value,result)}function shimKeys(object){for(var props=keysIn(object),propsLength=props.length,length=propsLength&&object.length,support=lodash.support,allowIndexes=length&&isLength(length)&&(isArray(object)||support.nonEnumArgs&&isArguments(object)),index=-1,result=[];propsLength>++index;){var key=props[index];(allowIndexes&&isIndex(key,length)||hasOwnProperty.call(object,key))&&result.push(key)}return result}function toObject(value){return isObject(value)?value:Object(value)}function toPath(value){if(isArray(value))return value;var result=[];return baseToString(value).replace(rePropName,function(match,number,quote,string){result.push(quote?string.replace(reEscapeChar,"$1"):number||match)}),result}function indexOf(array,value,fromIndex){var length=array?array.length:0;if(!length)return-1;if("number"==typeof fromIndex)fromIndex=0>fromIndex?nativeMax(length+fromIndex,0):fromIndex;else if(fromIndex){var index=binaryIndex(array,value),other=array[index];return(value===value?value===other:other!==other)?index:-1}return baseIndexOf(array,value,fromIndex||0)}function last(array){var length=array?array.length:0;return length?array[length-1]:undefined}function slice(array,start,end){var length=array?array.length:0;return length?(end&&"number"!=typeof end&&isIterateeCall(array,start,end)&&(start=0,end=length),baseSlice(array,start,end)):[]}function unzip(array){for(var index=-1,length=(array&&array.length&&arrayMax(arrayMap(array,getLength)))>>>0,result=Array(length);length>++index;)result[index]=arrayMap(array,baseProperty(index));return result}function includes(collection,target,fromIndex,guard){var length=collection?getLength(collection):0;return isLength(length)||(collection=values(collection),length=collection.length),length?(fromIndex="number"!=typeof fromIndex||guard&&isIterateeCall(target,fromIndex,guard)?0:0>fromIndex?nativeMax(length+fromIndex,0):fromIndex||0,"string"==typeof collection||!isArray(collection)&&isString(collection)?length>fromIndex&&collection.indexOf(target,fromIndex)>-1:getIndexOf(collection,target,fromIndex)>-1):!1}function reject(collection,predicate,thisArg){var func=isArray(collection)?arrayFilter:baseFilter;return predicate=getCallback(predicate,thisArg,3),func(collection,function(value,index,collection){return!predicate(value,index,collection)})}function some(collection,predicate,thisArg){var func=isArray(collection)?arraySome:baseSome;return thisArg&&isIterateeCall(collection,predicate,thisArg)&&(predicate=null),("function"!=typeof predicate||thisArg!==undefined)&&(predicate=getCallback(predicate,thisArg,3)),func(collection,predicate)}function restParam(func,start){if("function"!=typeof func)throw new TypeError(FUNC_ERROR_TEXT);return start=nativeMax(start===undefined?func.length-1:+start||0,0),function(){for(var args=arguments,index=-1,length=nativeMax(args.length-start,0),rest=Array(length);length>++index;)rest[index]=args[start+index];switch(start){case 0:return func.call(this,rest);case 1:return func.call(this,args[0],rest);case 2:return func.call(this,args[0],args[1],rest)}var otherArgs=Array(start+1);for(index=-1;start>++index;)otherArgs[index]=args[index];return otherArgs[start]=rest,func.apply(this,otherArgs)}}function clone(value,isDeep,customizer,thisArg){return isDeep&&"boolean"!=typeof isDeep&&isIterateeCall(value,isDeep,customizer)?isDeep=!1:"function"==typeof isDeep&&(thisArg=customizer,customizer=isDeep,isDeep=!1),customizer="function"==typeof customizer&&bindCallback(customizer,thisArg,1),baseClone(value,isDeep,customizer)}function isArguments(value){var length=isObjectLike(value)?value.length:undefined;return isLength(length)&&objToString.call(value)==argsTag}function isEmpty(value){if(null==value)return!0;var length=getLength(value);return isLength(length)&&(isArray(value)||isString(value)||isArguments(value)||isObjectLike(value)&&isFunction(value.splice))?!length:!keys(value).length}function isObject(value){var type=typeof value;return"function"==type||!!value&&"object"==type}function isNative(value){return null==value?!1:objToString.call(value)==funcTag?reIsNative.test(fnToString.call(value)):isObjectLike(value)&&reIsHostCtor.test(value)}function isNumber(value){return"number"==typeof value||isObjectLike(value)&&objToString.call(value)==numberTag}function isString(value){return"string"==typeof value||isObjectLike(value)&&objToString.call(value)==stringTag}function isTypedArray(value){return isObjectLike(value)&&isLength(value.length)&&!!typedArrayTags[objToString.call(value)]}function toPlainObject(value){return baseCopy(value,keysIn(value))}function has(object,path){if(null==object)return!1;var result=hasOwnProperty.call(object,path);return result||isKey(path)||(path=toPath(path),object=1==path.length?object:baseGet(object,baseSlice(path,0,-1)),path=last(path),result=null!=object&&hasOwnProperty.call(object,path)),result}function keysIn(object){if(null==object)return[];isObject(object)||(object=Object(object));var length=object.length;length=length&&isLength(length)&&(isArray(object)||support.nonEnumArgs&&isArguments(object))&&length||0;for(var Ctor=object.constructor,index=-1,isProto="function"==typeof Ctor&&Ctor.prototype===object,result=Array(length),skipIndexes=length>0;length>++index;)result[index]=index+"";for(var key in object)skipIndexes&&isIndex(key,length)||"constructor"==key&&(isProto||!hasOwnProperty.call(object,key))||result.push(key);return result}function values(object){return baseValues(object,keys(object))}function escapeRegExp(string){return string=baseToString(string),string&&reHasRegExpChars.test(string)?string.replace(reRegExpChars,"\\\\$&"):string}function callback(func,thisArg,guard){return guard&&isIterateeCall(func,thisArg,guard)&&(thisArg=null),baseCallback(func,thisArg)}function constant(value){return function(){return value}}function identity(value){return value}function property(path){return isKey(path)?baseProperty(path):basePropertyDeep(path)}var undefined,VERSION="3.7.0",FUNC_ERROR_TEXT="Expected a function",argsTag="[object Arguments]",arrayTag="[object Array]",boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",funcTag="[object Function]",mapTag="[object Map]",numberTag="[object Number]",objectTag="[object Object]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",weakMapTag="[object WeakMap]",arrayBufferTag="[object ArrayBuffer]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]",reIsDeepProp=/\\.|\\[(?:[^[\\]]+|(["\'])(?:(?!\\1)[^\\n\\\\]|\\\\.)*?)\\1\\]/,reIsPlainProp=/^\\w*$/,rePropName=/[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|(["\'])((?:(?!\\2)[^\\n\\\\]|\\\\.)*?)\\2)\\]/g,reRegExpChars=/[.*+?^${}()|[\\]\\/\\\\]/g,reHasRegExpChars=RegExp(reRegExpChars.source),reEscapeChar=/\\\\(\\\\)?/g,reFlags=/\\w*$/,reIsHostCtor=/^\\[object .+?Constructor\\]$/,typedArrayTags={};typedArrayTags[float32Tag]=typedArrayTags[float64Tag]=typedArrayTags[int8Tag]=typedArrayTags[int16Tag]=typedArrayTags[int32Tag]=typedArrayTags[uint8Tag]=typedArrayTags[uint8ClampedTag]=typedArrayTags[uint16Tag]=typedArrayTags[uint32Tag]=!0,typedArrayTags[argsTag]=typedArrayTags[arrayTag]=typedArrayTags[arrayBufferTag]=typedArrayTags[boolTag]=typedArrayTags[dateTag]=typedArrayTags[errorTag]=typedArrayTags[funcTag]=typedArrayTags[mapTag]=typedArrayTags[numberTag]=typedArrayTags[objectTag]=typedArrayTags[regexpTag]=typedArrayTags[setTag]=typedArrayTags[stringTag]=typedArrayTags[weakMapTag]=!1;var cloneableTags={};cloneableTags[argsTag]=cloneableTags[arrayTag]=cloneableTags[arrayBufferTag]=cloneableTags[boolTag]=cloneableTags[dateTag]=cloneableTags[float32Tag]=cloneableTags[float64Tag]=cloneableTags[int8Tag]=cloneableTags[int16Tag]=cloneableTags[int32Tag]=cloneableTags[numberTag]=cloneableTags[objectTag]=cloneableTags[regexpTag]=cloneableTags[stringTag]=cloneableTags[uint8Tag]=cloneableTags[uint8ClampedTag]=cloneableTags[uint16Tag]=cloneableTags[uint32Tag]=!0,cloneableTags[errorTag]=cloneableTags[funcTag]=cloneableTags[mapTag]=cloneableTags[setTag]=cloneableTags[weakMapTag]=!1;var objectTypes={"function":!0,object:!0},freeExports=objectTypes[typeof exports]&&exports&&!exports.nodeType&&exports,freeModule=objectTypes[typeof module]&&module&&!module.nodeType&&module,freeGlobal=freeExports&&freeModule&&"object"==typeof global&&global&&global.Object&&global,freeSelf=objectTypes[typeof self]&&self&&self.Object&&self,freeWindow=objectTypes[typeof window]&&window&&window.Object&&window,moduleExports=freeModule&&freeModule.exports===freeExports&&freeExports,root=freeGlobal||freeWindow!==(this&&this.window)&&freeWindow||freeSelf||this,arrayProto=Array.prototype,objectProto=Object.prototype,fnToString=Function.prototype.toString,hasOwnProperty=objectProto.hasOwnProperty,objToString=objectProto.toString,reIsNative=RegExp("^"+escapeRegExp(objToString).replace(/toString|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g,"$1.*?")+"$"),ArrayBuffer=isNative(ArrayBuffer=root.ArrayBuffer)&&ArrayBuffer,bufferSlice=isNative(bufferSlice=ArrayBuffer&&new ArrayBuffer(0).slice)&&bufferSlice,floor=Math.floor,getOwnPropertySymbols=isNative(getOwnPropertySymbols=Object.getOwnPropertySymbols)&&getOwnPropertySymbols,getPrototypeOf=isNative(getPrototypeOf=Object.getPrototypeOf)&&getPrototypeOf,push=arrayProto.push,preventExtensions=isNative(Object.preventExtensions=Object.preventExtensions)&&preventExtensions,propertyIsEnumerable=objectProto.propertyIsEnumerable,Uint8Array=isNative(Uint8Array=root.Uint8Array)&&Uint8Array,Float64Array=function(){try{var func=isNative(func=root.Float64Array)&&func,result=new func(new ArrayBuffer(10),0,1)&&func}catch(e){}return result}(),nativeAssign=function(){var object={1:0},func=preventExtensions&&isNative(func=Object.assign)&&func;try{func(preventExtensions(object),"xo")}catch(e){}return!object[1]&&func}(),nativeIsArray=isNative(nativeIsArray=Array.isArray)&&nativeIsArray,nativeKeys=isNative(nativeKeys=Object.keys)&&nativeKeys,nativeMax=Math.max,nativeMin=Math.min,NEGATIVE_INFINITY=Number.NEGATIVE_INFINITY,MAX_ARRAY_LENGTH=Math.pow(2,32)-1,MAX_ARRAY_INDEX=MAX_ARRAY_LENGTH-1,HALF_MAX_ARRAY_LENGTH=MAX_ARRAY_LENGTH>>>1,FLOAT64_BYTES_PER_ELEMENT=Float64Array?Float64Array.BYTES_PER_ELEMENT:0,MAX_SAFE_INTEGER=Math.pow(2,53)-1,support=lodash.support={};(function(x){var Ctor=function(){this.x=x},props=[];Ctor.prototype={valueOf:x,y:x};for(var key in new Ctor)props.push(key);support.funcDecomp=/\\bthis\\b/.test(function(){return this}),support.funcNames="string"==typeof Function.name;try{support.nonEnumArgs=!propertyIsEnumerable.call(arguments,1)}catch(e){support.nonEnumArgs=!0}})(1,0);var baseAssign=nativeAssign||function(object,source){return null==source?object:baseCopy(source,getSymbols(source),baseCopy(source,keys(source),object))},baseEach=createBaseEach(baseForOwn),baseFor=createBaseFor();bufferSlice||(bufferClone=ArrayBuffer&&Uint8Array?function(buffer){var byteLength=buffer.byteLength,floatLength=Float64Array?floor(byteLength/FLOAT64_BYTES_PER_ELEMENT):0,offset=floatLength*FLOAT64_BYTES_PER_ELEMENT,result=new ArrayBuffer(byteLength);if(floatLength){var view=new Float64Array(result,0,floatLength);view.set(new Float64Array(buffer,0,floatLength))}return byteLength!=offset&&(view=new Uint8Array(result,offset),view.set(new Uint8Array(buffer,offset))),result}:constant(null));var getLength=baseProperty("length"),getSymbols=getOwnPropertySymbols?function(object){return getOwnPropertySymbols(toObject(object))}:constant([]),findLastIndex=createFindIndex(!0),zip=restParam(unzip),forEach=createForEach(arrayEach,baseEach),isArray=nativeIsArray||function(value){return isObjectLike(value)&&isLength(value.length)&&objToString.call(value)==arrayTag},isFunction=baseIsFunction(/x/)||Uint8Array&&!baseIsFunction(Uint8Array)?function(value){return objToString.call(value)==funcTag}:baseIsFunction,isPlainObject=getPrototypeOf?function(value){if(!value||objToString.call(value)!=objectTag)return!1;var valueOf=value.valueOf,objProto=isNative(valueOf)&&(objProto=getPrototypeOf(valueOf))&&getPrototypeOf(objProto);return objProto?value==objProto||getPrototypeOf(value)==objProto:shimIsPlainObject(value)}:shimIsPlainObject,assign=createAssigner(function(object,source,customizer){return customizer?assignWith(object,source,customizer):baseAssign(object,source)}),keys=nativeKeys?function(object){if(object)var Ctor=object.constructor,length=object.length;return"function"==typeof Ctor&&Ctor.prototype===object||"function"!=typeof object&&isLength(length)?shimKeys(object):isObject(object)?nativeKeys(object):[]}:shimKeys,merge=createAssigner(baseMerge);lodash.assign=assign,lodash.callback=callback,lodash.constant=constant,lodash.forEach=forEach,lodash.keys=keys,lodash.keysIn=keysIn,lodash.merge=merge,lodash.property=property,lodash.reject=reject,lodash.restParam=restParam,lodash.slice=slice,lodash.toPlainObject=toPlainObject,lodash.unzip=unzip,lodash.values=values,lodash.zip=zip,lodash.each=forEach,lodash.extend=assign,lodash.iteratee=callback,lodash.clone=clone,lodash.escapeRegExp=escapeRegExp,lodash.findLastIndex=findLastIndex,lodash.has=has,lodash.identity=identity,lodash.includes=includes,lodash.indexOf=indexOf,lodash.isArguments=isArguments,lodash.isArray=isArray,lodash.isEmpty=isEmpty,lodash.isFunction=isFunction,lodash.isNative=isNative,lodash.isNumber=isNumber,lodash.isObject=isObject,lodash.isPlainObject=isPlainObject,lodash.isString=isString,lodash.isTypedArray=isTypedArray,lodash.last=last,lodash.some=some,lodash.any=some,lodash.contains=includes,lodash.include=includes,lodash.VERSION=VERSION,freeExports&&freeModule?moduleExports?(freeModule.exports=lodash)._=lodash:freeExports._=lodash:root._=lodash\n}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],"/node_modules/jshint/src/jshint.js":[function(_dereq_,module,exports){var _=_dereq_("../lodash"),events=_dereq_("events"),vars=_dereq_("./vars.js"),messages=_dereq_("./messages.js"),Lexer=_dereq_("./lex.js").Lexer,reg=_dereq_("./reg.js"),state=_dereq_("./state.js").state,style=_dereq_("./style.js"),options=_dereq_("./options.js"),scopeManager=_dereq_("./scope-manager.js"),JSHINT=function(){"use strict";function checkOption(name,t){return name=name.trim(),/^[+-]W\\d{3}$/g.test(name)?!0:-1!==options.validNames.indexOf(name)||"jslint"===t.type||_.has(options.removed,name)?!0:(error("E001",t,name),!1)}function isString(obj){return"[object String]"===Object.prototype.toString.call(obj)}function isIdentifier(tkn,value){return tkn?tkn.identifier&&tkn.value===value?!0:!1:!1}function isReserved(token){if(!token.reserved)return!1;var meta=token.meta;if(meta&&meta.isFutureReservedWord&&state.inES5()){if(!meta.es5)return!1;if(meta.strictOnly&&!state.option.strict&&!state.isStrict())return!1;if(token.isProperty)return!1}return!0}function supplant(str,data){return str.replace(/\\{([^{}]*)\\}/g,function(a,b){var r=data[b];return"string"==typeof r||"number"==typeof r?r:a})}function combine(dest,src){Object.keys(src).forEach(function(name){_.has(JSHINT.blacklist,name)||(dest[name]=src[name])})}function processenforceall(){if(state.option.enforceall){for(var enforceopt in options.bool.enforcing)void 0!==state.option[enforceopt]||options.noenforceall[enforceopt]||(state.option[enforceopt]=!0);for(var relaxopt in options.bool.relaxing)void 0===state.option[relaxopt]&&(state.option[relaxopt]=!1)}}function assume(){processenforceall(),state.option.esversion||state.option.moz||(state.option.esversion=state.option.es3?3:state.option.esnext?6:5),state.inES5()&&combine(predefined,vars.ecmaIdentifiers[5]),state.inES6()&&combine(predefined,vars.ecmaIdentifiers[6]),state.option.module&&(state.option.strict===!0&&(state.option.strict="global"),state.inES6()||warning("W134",state.tokens.next,"module",6)),state.option.couch&&combine(predefined,vars.couch),state.option.qunit&&combine(predefined,vars.qunit),state.option.rhino&&combine(predefined,vars.rhino),state.option.shelljs&&(combine(predefined,vars.shelljs),combine(predefined,vars.node)),state.option.typed&&combine(predefined,vars.typed),state.option.phantom&&(combine(predefined,vars.phantom),state.option.strict===!0&&(state.option.strict="global")),state.option.prototypejs&&combine(predefined,vars.prototypejs),state.option.node&&(combine(predefined,vars.node),combine(predefined,vars.typed),state.option.strict===!0&&(state.option.strict="global")),state.option.devel&&combine(predefined,vars.devel),state.option.dojo&&combine(predefined,vars.dojo),state.option.browser&&(combine(predefined,vars.browser),combine(predefined,vars.typed)),state.option.browserify&&(combine(predefined,vars.browser),combine(predefined,vars.typed),combine(predefined,vars.browserify),state.option.strict===!0&&(state.option.strict="global")),state.option.nonstandard&&combine(predefined,vars.nonstandard),state.option.jasmine&&combine(predefined,vars.jasmine),state.option.jquery&&combine(predefined,vars.jquery),state.option.mootools&&combine(predefined,vars.mootools),state.option.worker&&combine(predefined,vars.worker),state.option.wsh&&combine(predefined,vars.wsh),state.option.globalstrict&&state.option.strict!==!1&&(state.option.strict="global"),state.option.yui&&combine(predefined,vars.yui),state.option.mocha&&combine(predefined,vars.mocha)}function quit(code,line,chr){var percentage=Math.floor(100*(line/state.lines.length)),message=messages.errors[code].desc;throw{name:"JSHintError",line:line,character:chr,message:message+" ("+percentage+"% scanned).",raw:message,code:code}}function removeIgnoredMessages(){var ignored=state.ignoredLines;_.isEmpty(ignored)||(JSHINT.errors=_.reject(JSHINT.errors,function(err){return ignored[err.line]}))}function warning(code,t,a,b,c,d){var ch,l,w,msg;if(/^W\\d{3}$/.test(code)){if(state.ignored[code])return;msg=messages.warnings[code]}else/E\\d{3}/.test(code)?msg=messages.errors[code]:/I\\d{3}/.test(code)&&(msg=messages.info[code]);return t=t||state.tokens.next||{},"(end)"===t.id&&(t=state.tokens.curr),l=t.line||0,ch=t.from||0,w={id:"(error)",raw:msg.desc,code:msg.code,evidence:state.lines[l-1]||"",line:l,character:ch,scope:JSHINT.scope,a:a,b:b,c:c,d:d},w.reason=supplant(msg.desc,w),JSHINT.errors.push(w),removeIgnoredMessages(),JSHINT.errors.length>=state.option.maxerr&&quit("E043",l,ch),w}function warningAt(m,l,ch,a,b,c,d){return warning(m,{line:l,from:ch},a,b,c,d)}function error(m,t,a,b,c,d){warning(m,t,a,b,c,d)}function errorAt(m,l,ch,a,b,c,d){return error(m,{line:l,from:ch},a,b,c,d)}function addInternalSrc(elem,src){var i;return i={id:"(internal)",elem:elem,value:src},JSHINT.internals.push(i),i}function doOption(){var nt=state.tokens.next,body=nt.body.match(/(-\\s+)?[^\\s,:]+(?:\\s*:\\s*(-\\s+)?[^\\s,]+)?/g)||[],predef={};if("globals"===nt.type){body.forEach(function(g,idx){g=g.split(":");var key=(g[0]||"").trim(),val=(g[1]||"").trim();if("-"===key||!key.length){if(idx>0&&idx===body.length-1)return;return error("E002",nt),void 0}"-"===key.charAt(0)?(key=key.slice(1),val=!1,JSHINT.blacklist[key]=key,delete predefined[key]):predef[key]="true"===val}),combine(predefined,predef);for(var key in predef)_.has(predef,key)&&(declared[key]=nt)}"exported"===nt.type&&body.forEach(function(e,idx){if(!e.length){if(idx>0&&idx===body.length-1)return;return error("E002",nt),void 0}state.funct["(scope)"].addExported(e)}),"members"===nt.type&&(membersOnly=membersOnly||{},body.forEach(function(m){var ch1=m.charAt(0),ch2=m.charAt(m.length-1);ch1!==ch2||\'"\'!==ch1&&"\'"!==ch1||(m=m.substr(1,m.length-2).replace(\'\\\\"\',\'"\')),membersOnly[m]=!1}));var numvals=["maxstatements","maxparams","maxdepth","maxcomplexity","maxerr","maxlen","indent"];("jshint"===nt.type||"jslint"===nt.type)&&(body.forEach(function(g){g=g.split(":");var key=(g[0]||"").trim(),val=(g[1]||"").trim();if(checkOption(key,nt))if(numvals.indexOf(key)>=0)if("false"!==val){if(val=+val,"number"!=typeof val||!isFinite(val)||0>=val||Math.floor(val)!==val)return error("E032",nt,g[1].trim()),void 0;state.option[key]=val}else state.option[key]="indent"===key?4:!1;else{if("validthis"===key)return state.funct["(global)"]?void error("E009"):"true"!==val&&"false"!==val?void error("E002",nt):(state.option.validthis="true"===val,void 0);if("quotmark"!==key)if("shadow"!==key)if("unused"!==key)if("latedef"!==key)if("ignore"!==key)if("strict"!==key){"module"===key&&(hasParsedCode(state.funct)||error("E055",state.tokens.next,"module"));var esversions={es3:3,es5:5,esnext:6};if(!_.has(esversions,key)){if("esversion"===key){switch(val){case"5":state.inES5(!0)&&warning("I003");case"3":case"6":state.option.moz=!1,state.option.esversion=+val;break;case"2015":state.option.moz=!1,state.option.esversion=6;break;default:error("E002",nt)}return hasParsedCode(state.funct)||error("E055",state.tokens.next,"esversion"),void 0}var match=/^([+-])(W\\d{3})$/g.exec(key);if(match)return state.ignored[match[2]]="-"===match[1],void 0;var tn;return"true"===val||"false"===val?("jslint"===nt.type?(tn=options.renamed[key]||key,state.option[tn]="true"===val,void 0!==options.inverted[tn]&&(state.option[tn]=!state.option[tn])):state.option[key]="true"===val,"newcap"===key&&(state.option["(explicitNewcap)"]=!0),void 0):(error("E002",nt),void 0)}switch(val){case"true":state.option.moz=!1,state.option.esversion=esversions[key];break;case"false":state.option.moz||(state.option.esversion=5);break;default:error("E002",nt)}}else switch(val){case"true":state.option.strict=!0;break;case"false":state.option.strict=!1;break;case"func":case"global":case"implied":state.option.strict=val;break;default:error("E002",nt)}else switch(val){case"line":state.ignoredLines[nt.line]=!0,removeIgnoredMessages();break;default:error("E002",nt)}else switch(val){case"true":state.option.latedef=!0;break;case"false":state.option.latedef=!1;break;case"nofunc":state.option.latedef="nofunc";break;default:error("E002",nt)}else switch(val){case"true":state.option.unused=!0;break;case"false":state.option.unused=!1;break;case"vars":case"strict":state.option.unused=val;break;default:error("E002",nt)}else switch(val){case"true":state.option.shadow=!0;break;case"outer":state.option.shadow="outer";break;case"false":case"inner":state.option.shadow="inner";break;default:error("E002",nt)}else switch(val){case"true":case"false":state.option.quotmark="true"===val;break;case"double":case"single":state.option.quotmark=val;break;default:error("E002",nt)}}}),assume())}function peek(p){var t,i=p||0,j=lookahead.length;if(j>i)return lookahead[i];for(;i>=j;)t=lookahead[j],t||(t=lookahead[j]=lex.token()),j+=1;return t||"(end)"!==state.tokens.next.id?t:state.tokens.next}function peekIgnoreEOL(){var t,i=0;do t=peek(i++);while("(endline)"===t.id);return t}function advance(id,t){switch(state.tokens.curr.id){case"(number)":"."===state.tokens.next.id&&warning("W005",state.tokens.curr);break;case"-":("-"===state.tokens.next.id||"--"===state.tokens.next.id)&&warning("W006");break;case"+":("+"===state.tokens.next.id||"++"===state.tokens.next.id)&&warning("W007")}for(id&&state.tokens.next.id!==id&&(t?"(end)"===state.tokens.next.id?error("E019",t,t.id):error("E020",state.tokens.next,id,t.id,t.line,state.tokens.next.value):("(identifier)"!==state.tokens.next.type||state.tokens.next.value!==id)&&warning("W116",state.tokens.next,id,state.tokens.next.value)),state.tokens.prev=state.tokens.curr,state.tokens.curr=state.tokens.next;;){if(state.tokens.next=lookahead.shift()||lex.token(),state.tokens.next||quit("E041",state.tokens.curr.line),"(end)"===state.tokens.next.id||"(error)"===state.tokens.next.id)return;if(state.tokens.next.check&&state.tokens.next.check(),state.tokens.next.isSpecial)"falls through"===state.tokens.next.type?state.tokens.curr.caseFallsThrough=!0:doOption();else if("(endline)"!==state.tokens.next.id)break}}function isInfix(token){return token.infix||!token.identifier&&!token.template&&!!token.led}function isEndOfExpr(){var curr=state.tokens.curr,next=state.tokens.next;return";"===next.id||"}"===next.id||":"===next.id?!0:isInfix(next)===isInfix(curr)||"yield"===curr.id&&state.inMoz()?curr.line!==startLine(next):!1}function isBeginOfExpr(prev){return!prev.left&&"unary"!==prev.arity}function expression(rbp,initial){var left,isArray=!1,isObject=!1,isLetExpr=!1;state.nameStack.push(),initial||"let"!==state.tokens.next.value||"("!==peek(0).value||(state.inMoz()||warning("W118",state.tokens.next,"let expressions"),isLetExpr=!0,state.funct["(scope)"].stack(),advance("let"),advance("("),state.tokens.prev.fud(),advance(")")),"(end)"===state.tokens.next.id&&error("E006",state.tokens.curr);var isDangerous=state.option.asi&&state.tokens.prev.line!==startLine(state.tokens.curr)&&_.contains(["]",")"],state.tokens.prev.id)&&_.contains(["[","("],state.tokens.curr.id);if(isDangerous&&warning("W014",state.tokens.curr,state.tokens.curr.id),advance(),initial&&(state.funct["(verb)"]=state.tokens.curr.value,state.tokens.curr.beginsStmt=!0),initial===!0&&state.tokens.curr.fud)left=state.tokens.curr.fud();else for(state.tokens.curr.nud?left=state.tokens.curr.nud():error("E030",state.tokens.curr,state.tokens.curr.id);(state.tokens.next.lbp>rbp||"(template)"===state.tokens.next.type)&&!isEndOfExpr();)isArray="Array"===state.tokens.curr.value,isObject="Object"===state.tokens.curr.value,left&&(left.value||left.first&&left.first.value)&&("new"!==left.value||left.first&&left.first.value&&"."===left.first.value)&&(isArray=!1,left.value!==state.tokens.curr.value&&(isObject=!1)),advance(),isArray&&"("===state.tokens.curr.id&&")"===state.tokens.next.id&&warning("W009",state.tokens.curr),isObject&&"("===state.tokens.curr.id&&")"===state.tokens.next.id&&warning("W010",state.tokens.curr),left&&state.tokens.curr.led?left=state.tokens.curr.led(left):error("E033",state.tokens.curr,state.tokens.curr.id);return isLetExpr&&state.funct["(scope)"].unstack(),state.nameStack.pop(),left}function startLine(token){return token.startLine||token.line}function nobreaknonadjacent(left,right){left=left||state.tokens.curr,right=right||state.tokens.next,state.option.laxbreak||left.line===startLine(right)||warning("W014",right,right.value)}function nolinebreak(t){t=t||state.tokens.curr,t.line!==startLine(state.tokens.next)&&warning("E022",t,t.value)}function nobreakcomma(left,right){left.line!==startLine(right)&&(state.option.laxcomma||(comma.first&&(warning("I001"),comma.first=!1),warning("W014",left,right.value)))}function comma(opts){if(opts=opts||{},opts.peek?nobreakcomma(state.tokens.prev,state.tokens.curr):(nobreakcomma(state.tokens.curr,state.tokens.next),advance(",")),state.tokens.next.identifier&&(!opts.property||!state.inES5()))switch(state.tokens.next.value){case"break":case"case":case"catch":case"continue":case"default":case"do":case"else":case"finally":case"for":case"if":case"in":case"instanceof":case"return":case"switch":case"throw":case"try":case"var":case"let":case"while":case"with":return error("E024",state.tokens.next,state.tokens.next.value),!1}if("(punctuator)"===state.tokens.next.type)switch(state.tokens.next.value){case"}":case"]":case",":if(opts.allowTrailing)return!0;case")":return error("E024",state.tokens.next,state.tokens.next.value),!1}return!0}function symbol(s,p){var x=state.syntax[s];return x&&"object"==typeof x||(state.syntax[s]=x={id:s,lbp:p,value:s}),x}function delim(s){var x=symbol(s,0);return x.delim=!0,x}function stmt(s,f){var x=delim(s);return x.identifier=x.reserved=!0,x.fud=f,x}function blockstmt(s,f){var x=stmt(s,f);return x.block=!0,x}function reserveName(x){var c=x.id.charAt(0);return(c>="a"&&"z">=c||c>="A"&&"Z">=c)&&(x.identifier=x.reserved=!0),x}function prefix(s,f){var x=symbol(s,150);return reserveName(x),x.nud="function"==typeof f?f:function(){return this.arity="unary",this.right=expression(150),("++"===this.id||"--"===this.id)&&(state.option.plusplus?warning("W016",this,this.id):!this.right||this.right.identifier&&!isReserved(this.right)||"."===this.right.id||"["===this.right.id||warning("W017",this),this.right&&this.right.isMetaProperty?error("E031",this):this.right&&this.right.identifier&&state.funct["(scope)"].block.modify(this.right.value,this)),this},x}function type(s,f){var x=delim(s);return x.type=s,x.nud=f,x}function reserve(name,func){var x=type(name,func);return x.identifier=!0,x.reserved=!0,x}function FutureReservedWord(name,meta){var x=type(name,meta&&meta.nud||function(){return this});return meta=meta||{},meta.isFutureReservedWord=!0,x.value=name,x.identifier=!0,x.reserved=!0,x.meta=meta,x}function reservevar(s,v){return reserve(s,function(){return"function"==typeof v&&v(this),this})}function infix(s,f,p,w){var x=symbol(s,p);return reserveName(x),x.infix=!0,x.led=function(left){return w||nobreaknonadjacent(state.tokens.prev,state.tokens.curr),"in"!==s&&"instanceof"!==s||"!"!==left.id||warning("W018",left,"!"),"function"==typeof f?f(left,this):(this.left=left,this.right=expression(p),this)},x}function application(s){var x=symbol(s,42);return x.led=function(left){return nobreaknonadjacent(state.tokens.prev,state.tokens.curr),this.left=left,this.right=doFunction({type:"arrow",loneArg:left}),this},x}function relation(s,f){var x=symbol(s,100);return x.led=function(left){nobreaknonadjacent(state.tokens.prev,state.tokens.curr),this.left=left;var right=this.right=expression(100);return isIdentifier(left,"NaN")||isIdentifier(right,"NaN")?warning("W019",this):f&&f.apply(this,[left,right]),left&&right||quit("E041",state.tokens.curr.line),"!"===left.id&&warning("W018",left,"!"),"!"===right.id&&warning("W018",right,"!"),this},x}function isPoorRelation(node){return node&&("(number)"===node.type&&0===+node.value||"(string)"===node.type&&""===node.value||"null"===node.type&&!state.option.eqnull||"true"===node.type||"false"===node.type||"undefined"===node.type)}function isTypoTypeof(left,right,state){var values;return state.option.notypeof?!1:left&&right?(values=state.inES6()?typeofValues.es6:typeofValues.es3,"(identifier)"===right.type&&"typeof"===right.value&&"(string)"===left.type?!_.contains(values,left.value):!1):!1}function isGlobalEval(left,state){var isGlobal=!1;return"this"===left.type&&null===state.funct["(context)"]?isGlobal=!0:"(identifier)"===left.type&&(state.option.node&&"global"===left.value?isGlobal=!0:!state.option.browser||"window"!==left.value&&"document"!==left.value||(isGlobal=!0)),isGlobal}function findNativePrototype(left){function walkPrototype(obj){return"object"==typeof obj?"prototype"===obj.right?obj:walkPrototype(obj.left):void 0}function walkNative(obj){for(;!obj.identifier&&"object"==typeof obj.left;)obj=obj.left;return obj.identifier&&natives.indexOf(obj.value)>=0?obj.value:void 0}var natives=["Array","ArrayBuffer","Boolean","Collator","DataView","Date","DateTimeFormat","Error","EvalError","Float32Array","Float64Array","Function","Infinity","Intl","Int16Array","Int32Array","Int8Array","Iterator","Number","NumberFormat","Object","RangeError","ReferenceError","RegExp","StopIteration","String","SyntaxError","TypeError","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray","URIError"],prototype=walkPrototype(left);return prototype?walkNative(prototype):void 0}function checkLeftSideAssign(left,assignToken,options){var allowDestructuring=options&&options.allowDestructuring;if(assignToken=assignToken||left,state.option.freeze){var nativeObject=findNativePrototype(left);nativeObject&&warning("W121",left,nativeObject)}return left.identifier&&!left.isMetaProperty&&state.funct["(scope)"].block.reassign(left.value,left),"."===left.id?((!left.left||"arguments"===left.left.value&&!state.isStrict())&&warning("E031",assignToken),state.nameStack.set(state.tokens.prev),!0):"{"===left.id||"["===left.id?(allowDestructuring&&state.tokens.curr.left.destructAssign?state.tokens.curr.left.destructAssign.forEach(function(t){t.id&&state.funct["(scope)"].block.modify(t.id,t.token)}):"{"!==left.id&&left.left?"arguments"!==left.left.value||state.isStrict()||warning("E031",assignToken):warning("E031",assignToken),"["===left.id&&state.nameStack.set(left.right),!0):left.isMetaProperty?(error("E031",assignToken),!0):left.identifier&&!isReserved(left)?("exception"===state.funct["(scope)"].labeltype(left.value)&&warning("W022",left),state.nameStack.set(left),!0):(left===state.syntax["function"]&&warning("W023",state.tokens.curr),!1)}function assignop(s,f,p){var x=infix(s,"function"==typeof f?f:function(left,that){return that.left=left,left&&checkLeftSideAssign(left,that,{allowDestructuring:!0})?(that.right=expression(10),that):(error("E031",that),void 0)},p);return x.exps=!0,x.assign=!0,x}function bitwise(s,f,p){var x=symbol(s,p);return reserveName(x),x.led="function"==typeof f?f:function(left){return state.option.bitwise&&warning("W016",this,this.id),this.left=left,this.right=expression(p),this},x}function bitwiseassignop(s){return assignop(s,function(left,that){return state.option.bitwise&&warning("W016",that,that.id),left&&checkLeftSideAssign(left,that)?(that.right=expression(10),that):(error("E031",that),void 0)},20)}function suffix(s){var x=symbol(s,150);return x.led=function(left){return state.option.plusplus?warning("W016",this,this.id):left.identifier&&!isReserved(left)||"."===left.id||"["===left.id||warning("W017",this),left.isMetaProperty?error("E031",this):left&&left.identifier&&state.funct["(scope)"].block.modify(left.value,left),this.left=left,this},x}function optionalidentifier(fnparam,prop,preserve){if(state.tokens.next.identifier){preserve||advance();var curr=state.tokens.curr,val=state.tokens.curr.value;return isReserved(curr)?prop&&state.inES5()?val:fnparam&&"undefined"===val?val:(warning("W024",state.tokens.curr,state.tokens.curr.id),val):val}}function identifier(fnparam,prop){var i=optionalidentifier(fnparam,prop,!1);if(i)return i;if("..."===state.tokens.next.value){if(state.inES6(!0)||warning("W119",state.tokens.next,"spread/rest operator","6"),advance(),checkPunctuator(state.tokens.next,"..."))for(warning("E024",state.tokens.next,"...");checkPunctuator(state.tokens.next,"...");)advance();return state.tokens.next.identifier?identifier(fnparam,prop):(warning("E024",state.tokens.curr,"..."),void 0)}error("E030",state.tokens.next,state.tokens.next.value),";"!==state.tokens.next.id&&advance()}function reachable(controlToken){var t,i=0;if(";"===state.tokens.next.id&&!controlToken.inBracelessBlock)for(;;){do t=peek(i),i+=1;while("(end)"!==t.id&&"(comment)"===t.id);if(t.reach)return;if("(endline)"!==t.id){if("function"===t.id){state.option.latedef===!0&&warning("W026",t);break}warning("W027",t,t.value,controlToken.value);break}}}function parseFinalSemicolon(){if(";"!==state.tokens.next.id){if(state.tokens.next.isUnclosed)return advance();var sameLine=startLine(state.tokens.next)===state.tokens.curr.line&&"(end)"!==state.tokens.next.id,blockEnd=checkPunctuator(state.tokens.next,"}");sameLine&&!blockEnd?errorAt("E058",state.tokens.curr.line,state.tokens.curr.character):state.option.asi||(blockEnd&&!state.option.lastsemic||!sameLine)&&warningAt("W033",state.tokens.curr.line,state.tokens.curr.character)}else advance(";")}function statement(){var r,i=indent,t=state.tokens.next,hasOwnScope=!1;if(";"===t.id)return advance(";"),void 0;var res=isReserved(t);if(res&&t.meta&&t.meta.isFutureReservedWord&&":"===peek().id&&(warning("W024",t,t.id),res=!1),t.identifier&&!res&&":"===peek().id&&(advance(),advance(":"),hasOwnScope=!0,state.funct["(scope)"].stack(),state.funct["(scope)"].block.addBreakLabel(t.value,{token:state.tokens.curr}),state.tokens.next.labelled||"{"===state.tokens.next.value||warning("W028",state.tokens.next,t.value,state.tokens.next.value),state.tokens.next.label=t.value,t=state.tokens.next),"{"===t.id){var iscase="case"===state.funct["(verb)"]&&":"===state.tokens.curr.value;return block(!0,!0,!1,!1,iscase),void 0}return r=expression(0,!0),!r||r.identifier&&"function"===r.value||"(punctuator)"===r.type&&r.left&&r.left.identifier&&"function"===r.left.value||state.isStrict()||"global"!==state.option.strict||warning("E007"),t.block||(state.option.expr||r&&r.exps?state.option.nonew&&r&&r.left&&"("===r.id&&"new"===r.left.id&&warning("W031",t):warning("W030",state.tokens.curr),parseFinalSemicolon()),indent=i,hasOwnScope&&state.funct["(scope)"].unstack(),r}function statements(){for(var p,a=[];!state.tokens.next.reach&&"(end)"!==state.tokens.next.id;)";"===state.tokens.next.id?(p=peek(),(!p||"("!==p.id&&"["!==p.id)&&warning("W032"),advance(";")):a.push(statement());return a}function directives(){for(var i,p,pn;"(string)"===state.tokens.next.id;){if(p=peek(0),"(endline)"===p.id){i=1;do pn=peek(i++);while("(endline)"===pn.id);if(";"===pn.id)p=pn;else{if("["===pn.value||"."===pn.value)break;state.option.asi&&"("!==pn.value||warning("W033",state.tokens.next)}}else{if("."===p.id||"["===p.id)break;";"!==p.id&&warning("W033",p)}advance();var directive=state.tokens.curr.value;(state.directive[directive]||"use strict"===directive&&"implied"===state.option.strict)&&warning("W034",state.tokens.curr,directive),state.directive[directive]=!0,";"===p.id&&advance(";")}state.isStrict()&&(state.option["(explicitNewcap)"]||(state.option.newcap=!0),state.option.undef=!0)}function block(ordinary,stmt,isfunc,isfatarrow,iscase){var a,m,t,line,d,b=inblock,old_indent=indent;inblock=ordinary,t=state.tokens.next;var metrics=state.funct["(metrics)"];if(metrics.nestedBlockDepth+=1,metrics.verifyMaxNestedBlockDepthPerFunction(),"{"===state.tokens.next.id){if(advance("{"),state.funct["(scope)"].stack(),line=state.tokens.curr.line,"}"!==state.tokens.next.id){for(indent+=state.option.indent;!ordinary&&state.tokens.next.from>indent;)indent+=state.option.indent;if(isfunc){m={};for(d in state.directive)_.has(state.directive,d)&&(m[d]=state.directive[d]);directives(),state.option.strict&&state.funct["(context)"]["(global)"]&&(m["use strict"]||state.isStrict()||warning("E007"))}a=statements(),metrics.statementCount+=a.length,indent-=state.option.indent}advance("}",t),isfunc&&(state.funct["(scope)"].validateParams(),m&&(state.directive=m)),state.funct["(scope)"].unstack(),indent=old_indent}else if(ordinary)state.funct["(noblockscopedvar)"]="for"!==state.tokens.next.id,state.funct["(scope)"].stack(),(!stmt||state.option.curly)&&warning("W116",state.tokens.next,"{",state.tokens.next.value),state.tokens.next.inBracelessBlock=!0,indent+=state.option.indent,a=[statement()],indent-=state.option.indent,state.funct["(scope)"].unstack(),delete state.funct["(noblockscopedvar)"];else if(isfunc){if(state.funct["(scope)"].stack(),m={},!stmt||isfatarrow||state.inMoz()||error("W118",state.tokens.curr,"function closure expressions"),!stmt)for(d in state.directive)_.has(state.directive,d)&&(m[d]=state.directive[d]);expression(10),state.option.strict&&state.funct["(context)"]["(global)"]&&(m["use strict"]||state.isStrict()||warning("E007")),state.funct["(scope)"].unstack()}else error("E021",state.tokens.next,"{",state.tokens.next.value);switch(state.funct["(verb)"]){case"break":case"continue":case"return":case"throw":if(iscase)break;default:state.funct["(verb)"]=null}return inblock=b,!ordinary||!state.option.noempty||a&&0!==a.length||warning("W035",state.tokens.prev),metrics.nestedBlockDepth-=1,a}function countMember(m){membersOnly&&"boolean"!=typeof membersOnly[m]&&warning("W036",state.tokens.curr,m),"number"==typeof member[m]?member[m]+=1:member[m]=1}function comprehensiveArrayExpression(){var res={};res.exps=!0,state.funct["(comparray)"].stack();var reversed=!1;return"for"!==state.tokens.next.value&&(reversed=!0,state.inMoz()||warning("W116",state.tokens.next,"for",state.tokens.next.value),state.funct["(comparray)"].setState("use"),res.right=expression(10)),advance("for"),"each"===state.tokens.next.value&&(advance("each"),state.inMoz()||warning("W118",state.tokens.curr,"for each")),advance("("),state.funct["(comparray)"].setState("define"),res.left=expression(130),_.contains(["in","of"],state.tokens.next.value)?advance():error("E045",state.tokens.curr),state.funct["(comparray)"].setState("generate"),expression(10),advance(")"),"if"===state.tokens.next.value&&(advance("if"),advance("("),state.funct["(comparray)"].setState("filter"),res.filter=expression(10),advance(")")),reversed||(state.funct["(comparray)"].setState("use"),res.right=expression(10)),advance("]"),state.funct["(comparray)"].unstack(),res}function isMethod(){return state.funct["(statement)"]&&"class"===state.funct["(statement)"].type||state.funct["(context)"]&&"class"===state.funct["(context)"]["(verb)"]}function isPropertyName(token){return token.identifier||"(string)"===token.id||"(number)"===token.id}function propertyName(preserveOrToken){var id,preserve=!0;return"object"==typeof preserveOrToken?id=preserveOrToken:(preserve=preserveOrToken,id=optionalidentifier(!1,!0,preserve)),id?"object"==typeof id&&("(string)"===id.id||"(identifier)"===id.id?id=id.value:"(number)"===id.id&&(id=""+id.value)):"(string)"===state.tokens.next.id?(id=state.tokens.next.value,preserve||advance()):"(number)"===state.tokens.next.id&&(id=""+state.tokens.next.value,preserve||advance()),"hasOwnProperty"===id&&warning("W001"),id}function functionparams(options){function addParam(addParamArgs){state.funct["(scope)"].addParam.apply(state.funct["(scope)"],addParamArgs)}var next,ident,t,paramsIds=[],tokens=[],pastDefault=!1,pastRest=!1,arity=0,loneArg=options&&options.loneArg;if(loneArg&&loneArg.identifier===!0)return state.funct["(scope)"].addParam(loneArg.value,loneArg),{arity:1,params:[loneArg.value]};if(next=state.tokens.next,options&&options.parsedOpening||advance("("),")"===state.tokens.next.id)return advance(")"),void 0;for(;;){arity++;var currentParams=[];if(_.contains(["{","["],state.tokens.next.id)){tokens=destructuringPattern();for(t in tokens)t=tokens[t],t.id&&(paramsIds.push(t.id),currentParams.push([t.id,t.token]))}else if(checkPunctuator(state.tokens.next,"...")&&(pastRest=!0),ident=identifier(!0))paramsIds.push(ident),currentParams.push([ident,state.tokens.curr]);else for(;!checkPunctuators(state.tokens.next,[",",")"]);)advance();if(pastDefault&&"="!==state.tokens.next.id&&error("W138",state.tokens.current),"="===state.tokens.next.id&&(state.inES6()||warning("W119",state.tokens.next,"default parameters","6"),advance("="),pastDefault=!0,expression(10)),currentParams.forEach(addParam),","!==state.tokens.next.id)return advance(")",next),{arity:arity,params:paramsIds};pastRest&&warning("W131",state.tokens.next),comma()}}function functor(name,token,overwrites){var funct={"(name)":name,"(breakage)":0,"(loopage)":0,"(tokens)":{},"(properties)":{},"(catch)":!1,"(global)":!1,"(line)":null,"(character)":null,"(metrics)":null,"(statement)":null,"(context)":null,"(scope)":null,"(comparray)":null,"(generator)":null,"(arrow)":null,"(params)":null};return token&&_.extend(funct,{"(line)":token.line,"(character)":token.character,"(metrics)":createMetrics(token)}),_.extend(funct,overwrites),funct["(context)"]&&(funct["(scope)"]=funct["(context)"]["(scope)"],funct["(comparray)"]=funct["(context)"]["(comparray)"]),funct}function isFunctor(token){return"(scope)"in token}function hasParsedCode(funct){return funct["(global)"]&&!funct["(verb)"]}function doTemplateLiteral(left){function end(){if(state.tokens.curr.template&&state.tokens.curr.tail&&state.tokens.curr.context===ctx)return!0;var complete=state.tokens.next.template&&state.tokens.next.tail&&state.tokens.next.context===ctx;return complete&&advance(),complete||state.tokens.next.isUnclosed}var ctx=this.context,noSubst=this.noSubst,depth=this.depth;if(!noSubst)for(;!end();)!state.tokens.next.template||state.tokens.next.depth>depth?expression(0):advance();return{id:"(template)",type:"(template)",tag:left}}function doFunction(options){var f,token,name,statement,classExprBinding,isGenerator,isArrow,ignoreLoopFunc,oldOption=state.option,oldIgnored=state.ignored;options&&(name=options.name,statement=options.statement,classExprBinding=options.classExprBinding,isGenerator="generator"===options.type,isArrow="arrow"===options.type,ignoreLoopFunc=options.ignoreLoopFunc),state.option=Object.create(state.option),state.ignored=Object.create(state.ignored),state.funct=functor(name||state.nameStack.infer(),state.tokens.next,{"(statement)":statement,"(context)":state.funct,"(arrow)":isArrow,"(generator)":isGenerator}),f=state.funct,token=state.tokens.curr,token.funct=state.funct,functions.push(state.funct),state.funct["(scope)"].stack("functionouter");var internallyAccessibleName=name||classExprBinding;internallyAccessibleName&&state.funct["(scope)"].block.add(internallyAccessibleName,classExprBinding?"class":"function",state.tokens.curr,!1),state.funct["(scope)"].stack("functionparams");var paramsInfo=functionparams(options);return paramsInfo?(state.funct["(params)"]=paramsInfo.params,state.funct["(metrics)"].arity=paramsInfo.arity,state.funct["(metrics)"].verifyMaxParametersPerFunction()):state.funct["(metrics)"].arity=0,isArrow&&(state.inES6(!0)||warning("W119",state.tokens.curr,"arrow function syntax (=>)","6"),options.loneArg||advance("=>")),block(!1,!0,!0,isArrow),!state.option.noyield&&isGenerator&&"yielded"!==state.funct["(generator)"]&&warning("W124",state.tokens.curr),state.funct["(metrics)"].verifyMaxStatementsPerFunction(),state.funct["(metrics)"].verifyMaxComplexityPerFunction(),state.funct["(unusedOption)"]=state.option.unused,state.option=oldOption,state.ignored=oldIgnored,state.funct["(last)"]=state.tokens.curr.line,state.funct["(lastcharacter)"]=state.tokens.curr.character,state.funct["(scope)"].unstack(),state.funct["(scope)"].unstack(),state.funct=state.funct["(context)"],ignoreLoopFunc||state.option.loopfunc||!state.funct["(loopage)"]||f["(isCapturing)"]&&warning("W083",token),f}function createMetrics(functionStartToken){return{statementCount:0,nestedBlockDepth:-1,ComplexityCount:1,arity:0,verifyMaxStatementsPerFunction:function(){state.option.maxstatements&&this.statementCount>state.option.maxstatements&&warning("W071",functionStartToken,this.statementCount)\n},verifyMaxParametersPerFunction:function(){_.isNumber(state.option.maxparams)&&this.arity>state.option.maxparams&&warning("W072",functionStartToken,this.arity)},verifyMaxNestedBlockDepthPerFunction:function(){state.option.maxdepth&&this.nestedBlockDepth>0&&this.nestedBlockDepth===state.option.maxdepth+1&&warning("W073",null,this.nestedBlockDepth)},verifyMaxComplexityPerFunction:function(){var max=state.option.maxcomplexity,cc=this.ComplexityCount;max&&cc>max&&warning("W074",functionStartToken,cc)}}}function increaseComplexityCount(){state.funct["(metrics)"].ComplexityCount+=1}function checkCondAssignment(expr){var id,paren;switch(expr&&(id=expr.id,paren=expr.paren,","===id&&(expr=expr.exprs[expr.exprs.length-1])&&(id=expr.id,paren=paren||expr.paren)),id){case"=":case"+=":case"-=":case"*=":case"%=":case"&=":case"|=":case"^=":case"/=":paren||state.option.boss||warning("W084")}}function checkProperties(props){if(state.inES5())for(var name in props)props[name]&&props[name].setterToken&&!props[name].getterToken&&warning("W078",props[name].setterToken)}function metaProperty(name,c){if(checkPunctuator(state.tokens.next,".")){var left=state.tokens.curr.id;advance(".");var id=identifier();return state.tokens.curr.isMetaProperty=!0,name!==id?error("E057",state.tokens.prev,left,id):c(),state.tokens.curr}}function destructuringPattern(options){var isAssignment=options&&options.assignment;return state.inES6()||warning("W104",state.tokens.curr,isAssignment?"destructuring assignment":"destructuring binding","6"),destructuringPatternRecursive(options)}function destructuringPatternRecursive(options){var ids,identifiers=[],openingParsed=options&&options.openingParsed,isAssignment=options&&options.assignment,recursiveOptions=isAssignment?{assignment:isAssignment}:null,firstToken=openingParsed?state.tokens.curr:state.tokens.next,nextInnerDE=function(){var ident;if(checkPunctuators(state.tokens.next,["[","{"])){ids=destructuringPatternRecursive(recursiveOptions);for(var id in ids)id=ids[id],identifiers.push({id:id.id,token:id.token})}else if(checkPunctuator(state.tokens.next,","))identifiers.push({id:null,token:state.tokens.curr});else{if(!checkPunctuator(state.tokens.next,"(")){var is_rest=checkPunctuator(state.tokens.next,"...");if(isAssignment){var identifierToken=is_rest?peek(0):state.tokens.next;identifierToken.identifier||warning("E030",identifierToken,identifierToken.value);var assignTarget=expression(155);assignTarget&&(checkLeftSideAssign(assignTarget),assignTarget.identifier&&(ident=assignTarget.value))}else ident=identifier();return ident&&identifiers.push({id:ident,token:state.tokens.curr}),is_rest}advance("("),nextInnerDE(),advance(")")}return!1},assignmentProperty=function(){var id;checkPunctuator(state.tokens.next,"[")?(advance("["),expression(10),advance("]"),advance(":"),nextInnerDE()):"(string)"===state.tokens.next.id||"(number)"===state.tokens.next.id?(advance(),advance(":"),nextInnerDE()):(id=identifier(),checkPunctuator(state.tokens.next,":")?(advance(":"),nextInnerDE()):id&&(isAssignment&&checkLeftSideAssign(state.tokens.curr),identifiers.push({id:id,token:state.tokens.curr})))};if(checkPunctuator(firstToken,"[")){openingParsed||advance("["),checkPunctuator(state.tokens.next,"]")&&warning("W137",state.tokens.curr);for(var element_after_rest=!1;!checkPunctuator(state.tokens.next,"]");)nextInnerDE()&&!element_after_rest&&checkPunctuator(state.tokens.next,",")&&(warning("W130",state.tokens.next),element_after_rest=!0),checkPunctuator(state.tokens.next,"=")&&(checkPunctuator(state.tokens.prev,"...")?advance("]"):advance("="),"undefined"===state.tokens.next.id&&warning("W080",state.tokens.prev,state.tokens.prev.value),expression(10)),checkPunctuator(state.tokens.next,"]")||advance(",");advance("]")}else if(checkPunctuator(firstToken,"{")){for(openingParsed||advance("{"),checkPunctuator(state.tokens.next,"}")&&warning("W137",state.tokens.curr);!checkPunctuator(state.tokens.next,"}")&&(assignmentProperty(),checkPunctuator(state.tokens.next,"=")&&(advance("="),"undefined"===state.tokens.next.id&&warning("W080",state.tokens.prev,state.tokens.prev.value),expression(10)),checkPunctuator(state.tokens.next,"}")||(advance(","),!checkPunctuator(state.tokens.next,"}"))););advance("}")}return identifiers}function destructuringPatternMatch(tokens,value){var first=value.first;first&&_.zip(tokens,Array.isArray(first)?first:[first]).forEach(function(val){var token=val[0],value=val[1];token&&value?token.first=value:token&&token.first&&!value&&warning("W080",token.first,token.first.value)})}function blockVariableStatement(type,statement,context){var tokens,lone,value,letblock,prefix=context&&context.prefix,inexport=context&&context.inexport,isLet="let"===type,isConst="const"===type;for(state.inES6()||warning("W104",state.tokens.curr,type,"6"),isLet&&"("===state.tokens.next.value?(state.inMoz()||warning("W118",state.tokens.next,"let block"),advance("("),state.funct["(scope)"].stack(),letblock=!0):state.funct["(noblockscopedvar)"]&&error("E048",state.tokens.curr,isConst?"Const":"Let"),statement.first=[];;){var names=[];_.contains(["{","["],state.tokens.next.value)?(tokens=destructuringPattern(),lone=!1):(tokens=[{id:identifier(),token:state.tokens.curr}],lone=!0),!prefix&&isConst&&"="!==state.tokens.next.id&&warning("E012",state.tokens.curr,state.tokens.curr.value);for(var t in tokens)tokens.hasOwnProperty(t)&&(t=tokens[t],state.funct["(scope)"].block.isGlobal()&&predefined[t.id]===!1&&warning("W079",t.token,t.id),t.id&&!state.funct["(noblockscopedvar)"]&&(state.funct["(scope)"].addlabel(t.id,{type:type,token:t.token}),names.push(t.token),lone&&inexport&&state.funct["(scope)"].setExported(t.token.value,t.token)));if("="===state.tokens.next.id&&(advance("="),prefix||"undefined"!==state.tokens.next.id||warning("W080",state.tokens.prev,state.tokens.prev.value),!prefix&&"="===peek(0).id&&state.tokens.next.identifier&&warning("W120",state.tokens.next,state.tokens.next.value),value=expression(prefix?120:10),lone?tokens[0].first=value:destructuringPatternMatch(names,value)),statement.first=statement.first.concat(names),","!==state.tokens.next.id)break;comma()}return letblock&&(advance(")"),block(!0,!0),statement.block=!0,state.funct["(scope)"].unstack()),statement}function classdef(isStatement){return state.inES6()||warning("W104",state.tokens.curr,"class","6"),isStatement?(this.name=identifier(),state.funct["(scope)"].addlabel(this.name,{type:"class",token:state.tokens.curr})):state.tokens.next.identifier&&"extends"!==state.tokens.next.value?(this.name=identifier(),this.namedExpr=!0):this.name=state.nameStack.infer(),classtail(this),this}function classtail(c){var wasInClassBody=state.inClassBody;"extends"===state.tokens.next.value&&(advance("extends"),c.heritage=expression(10)),state.inClassBody=!0,advance("{"),c.body=classbody(c),advance("}"),state.inClassBody=wasInClassBody}function classbody(c){for(var name,isStatic,isGenerator,getset,computed,props=Object.create(null),staticProps=Object.create(null),i=0;"}"!==state.tokens.next.id;++i)if(name=state.tokens.next,isStatic=!1,isGenerator=!1,getset=null,";"!==name.id){if("*"===name.id&&(isGenerator=!0,advance("*"),name=state.tokens.next),"["===name.id)name=computedPropertyName(),computed=!0;else{if(!isPropertyName(name)){warning("W052",state.tokens.next,state.tokens.next.value||state.tokens.next.type),advance();continue}advance(),computed=!1,name.identifier&&"static"===name.value&&(checkPunctuator(state.tokens.next,"*")&&(isGenerator=!0,advance("*")),(isPropertyName(state.tokens.next)||"["===state.tokens.next.id)&&(computed="["===state.tokens.next.id,isStatic=!0,name=state.tokens.next,"["===state.tokens.next.id?name=computedPropertyName():advance())),!name.identifier||"get"!==name.value&&"set"!==name.value||(isPropertyName(state.tokens.next)||"["===state.tokens.next.id)&&(computed="["===state.tokens.next.id,getset=name,name=state.tokens.next,"["===state.tokens.next.id?name=computedPropertyName():advance())}if(!checkPunctuator(state.tokens.next,"(")){for(error("E054",state.tokens.next,state.tokens.next.value);"}"!==state.tokens.next.id&&!checkPunctuator(state.tokens.next,"(");)advance();"("!==state.tokens.next.value&&doFunction({statement:c})}if(computed||(getset?saveAccessor(getset.value,isStatic?staticProps:props,name.value,name,!0,isStatic):("constructor"===name.value?state.nameStack.set(c):state.nameStack.set(name),saveProperty(isStatic?staticProps:props,name.value,name,!0,isStatic))),getset&&"constructor"===name.value){var propDesc="get"===getset.value?"class getter method":"class setter method";error("E049",name,propDesc,"constructor")}else"prototype"===name.value&&error("E049",name,"class method","prototype");propertyName(name),doFunction({statement:c,type:isGenerator?"generator":null,classExprBinding:c.namedExpr?c.name:null})}else warning("W032"),advance(";");checkProperties(props)}function saveProperty(props,name,tkn,isClass,isStatic){var msg=["key","class method","static class method"];msg=msg[(isClass||!1)+(isStatic||!1)],tkn.identifier&&(name=tkn.value),props[name]&&"__proto__"!==name?warning("W075",state.tokens.next,msg,name):props[name]=Object.create(null),props[name].basic=!0,props[name].basictkn=tkn}function saveAccessor(accessorType,props,name,tkn,isClass,isStatic){var flagName="get"===accessorType?"getterToken":"setterToken",msg="";isClass?(isStatic&&(msg+="static "),msg+=accessorType+"ter method"):msg="key",state.tokens.curr.accessorType=accessorType,state.nameStack.set(tkn),props[name]?(props[name].basic||props[name][flagName])&&"__proto__"!==name&&warning("W075",state.tokens.next,msg,name):props[name]=Object.create(null),props[name][flagName]=tkn}function computedPropertyName(){advance("["),state.inES6()||warning("W119",state.tokens.curr,"computed property names","6");var value=expression(10);return advance("]"),value}function checkPunctuators(token,values){return"(punctuator)"===token.type?_.contains(values,token.value):!1}function checkPunctuator(token,value){return"(punctuator)"===token.type&&token.value===value}function destructuringAssignOrJsonValue(){var block=lookupBlockType();block.notJson?(!state.inES6()&&block.isDestAssign&&warning("W104",state.tokens.curr,"destructuring assignment","6"),statements()):(state.option.laxbreak=!0,state.jsonMode=!0,jsonValue())}function jsonValue(){function jsonObject(){var o={},t=state.tokens.next;if(advance("{"),"}"!==state.tokens.next.id)for(;;){if("(end)"===state.tokens.next.id)error("E026",state.tokens.next,t.line);else{if("}"===state.tokens.next.id){warning("W094",state.tokens.curr);break}","===state.tokens.next.id?error("E028",state.tokens.next):"(string)"!==state.tokens.next.id&&warning("W095",state.tokens.next,state.tokens.next.value)}if(o[state.tokens.next.value]===!0?warning("W075",state.tokens.next,"key",state.tokens.next.value):"__proto__"===state.tokens.next.value&&!state.option.proto||"__iterator__"===state.tokens.next.value&&!state.option.iterator?warning("W096",state.tokens.next,state.tokens.next.value):o[state.tokens.next.value]=!0,advance(),advance(":"),jsonValue(),","!==state.tokens.next.id)break;advance(",")}advance("}")}function jsonArray(){var t=state.tokens.next;if(advance("["),"]"!==state.tokens.next.id)for(;;){if("(end)"===state.tokens.next.id)error("E027",state.tokens.next,t.line);else{if("]"===state.tokens.next.id){warning("W094",state.tokens.curr);break}","===state.tokens.next.id&&error("E028",state.tokens.next)}if(jsonValue(),","!==state.tokens.next.id)break;advance(",")}advance("]")}switch(state.tokens.next.id){case"{":jsonObject();break;case"[":jsonArray();break;case"true":case"false":case"null":case"(number)":case"(string)":advance();break;case"-":advance("-"),advance("(number)");break;default:error("E003",state.tokens.next)}}var api,declared,functions,inblock,indent,lookahead,lex,member,membersOnly,predefined,stack,urls,bang={"<":!0,"<=":!0,"==":!0,"===":!0,"!==":!0,"!=":!0,">":!0,">=":!0,"+":!0,"-":!0,"*":!0,"/":!0,"%":!0},functionicity=["closure","exception","global","label","outer","unused","var"],extraModules=[],emitter=new events.EventEmitter,typeofValues={};typeofValues.legacy=["xml","unknown"],typeofValues.es3=["undefined","boolean","number","string","function","object"],typeofValues.es3=typeofValues.es3.concat(typeofValues.legacy),typeofValues.es6=typeofValues.es3.concat("symbol"),type("(number)",function(){return this}),type("(string)",function(){return this}),state.syntax["(identifier)"]={type:"(identifier)",lbp:0,identifier:!0,nud:function(){var v=this.value;return"=>"===state.tokens.next.id?this:(state.funct["(comparray)"].check(v)||state.funct["(scope)"].block.use(v,state.tokens.curr),this)},led:function(){error("E033",state.tokens.next,state.tokens.next.value)}};var baseTemplateSyntax={lbp:0,identifier:!1,template:!0};state.syntax["(template)"]=_.extend({type:"(template)",nud:doTemplateLiteral,led:doTemplateLiteral,noSubst:!1},baseTemplateSyntax),state.syntax["(template middle)"]=_.extend({type:"(template middle)",middle:!0,noSubst:!1},baseTemplateSyntax),state.syntax["(template tail)"]=_.extend({type:"(template tail)",tail:!0,noSubst:!1},baseTemplateSyntax),state.syntax["(no subst template)"]=_.extend({type:"(template)",nud:doTemplateLiteral,led:doTemplateLiteral,noSubst:!0,tail:!0},baseTemplateSyntax),type("(regexp)",function(){return this}),delim("(endline)"),delim("(begin)"),delim("(end)").reach=!0,delim("(error)").reach=!0,delim("}").reach=!0,delim(")"),delim("]"),delim(\'"\').reach=!0,delim("\'").reach=!0,delim(";"),delim(":").reach=!0,delim("#"),reserve("else"),reserve("case").reach=!0,reserve("catch"),reserve("default").reach=!0,reserve("finally"),reservevar("arguments",function(x){state.isStrict()&&state.funct["(global)"]&&warning("E008",x)}),reservevar("eval"),reservevar("false"),reservevar("Infinity"),reservevar("null"),reservevar("this",function(x){state.isStrict()&&!isMethod()&&!state.option.validthis&&(state.funct["(statement)"]&&state.funct["(name)"].charAt(0)>"Z"||state.funct["(global)"])&&warning("W040",x)}),reservevar("true"),reservevar("undefined"),assignop("=","assign",20),assignop("+=","assignadd",20),assignop("-=","assignsub",20),assignop("*=","assignmult",20),assignop("/=","assigndiv",20).nud=function(){error("E014")},assignop("%=","assignmod",20),bitwiseassignop("&="),bitwiseassignop("|="),bitwiseassignop("^="),bitwiseassignop("<<="),bitwiseassignop(">>="),bitwiseassignop(">>>="),infix(",",function(left,that){var expr;if(that.exprs=[left],state.option.nocomma&&warning("W127"),!comma({peek:!0}))return that;for(;;){if(!(expr=expression(10)))break;if(that.exprs.push(expr),","!==state.tokens.next.value||!comma())break}return that},10,!0),infix("?",function(left,that){return increaseComplexityCount(),that.left=left,that.right=expression(10),advance(":"),that["else"]=expression(10),that},30);var orPrecendence=40;infix("||",function(left,that){return increaseComplexityCount(),that.left=left,that.right=expression(orPrecendence),that},orPrecendence),infix("&&","and",50),bitwise("|","bitor",70),bitwise("^","bitxor",80),bitwise("&","bitand",90),relation("==",function(left,right){var eqnull=state.option.eqnull&&("null"===(left&&left.value)||"null"===(right&&right.value));switch(!0){case!eqnull&&state.option.eqeqeq:this.from=this.character,warning("W116",this,"===","==");break;case isPoorRelation(left):warning("W041",this,"===",left.value);break;case isPoorRelation(right):warning("W041",this,"===",right.value);break;case isTypoTypeof(right,left,state):warning("W122",this,right.value);break;case isTypoTypeof(left,right,state):warning("W122",this,left.value)}return this}),relation("===",function(left,right){return isTypoTypeof(right,left,state)?warning("W122",this,right.value):isTypoTypeof(left,right,state)&&warning("W122",this,left.value),this}),relation("!=",function(left,right){var eqnull=state.option.eqnull&&("null"===(left&&left.value)||"null"===(right&&right.value));return!eqnull&&state.option.eqeqeq?(this.from=this.character,warning("W116",this,"!==","!=")):isPoorRelation(left)?warning("W041",this,"!==",left.value):isPoorRelation(right)?warning("W041",this,"!==",right.value):isTypoTypeof(right,left,state)?warning("W122",this,right.value):isTypoTypeof(left,right,state)&&warning("W122",this,left.value),this}),relation("!==",function(left,right){return isTypoTypeof(right,left,state)?warning("W122",this,right.value):isTypoTypeof(left,right,state)&&warning("W122",this,left.value),this}),relation("<"),relation(">"),relation("<="),relation(">="),bitwise("<<","shiftleft",120),bitwise(">>","shiftright",120),bitwise(">>>","shiftrightunsigned",120),infix("in","in",120),infix("instanceof","instanceof",120),infix("+",function(left,that){var right;return that.left=left,that.right=right=expression(130),left&&right&&"(string)"===left.id&&"(string)"===right.id?(left.value+=right.value,left.character=right.character,!state.option.scripturl&®.javascriptURL.test(left.value)&&warning("W050",left),left):that},130),prefix("+","num"),prefix("+++",function(){return warning("W007"),this.arity="unary",this.right=expression(150),this}),infix("+++",function(left){return warning("W007"),this.left=left,this.right=expression(130),this},130),infix("-","sub",130),prefix("-","neg"),prefix("---",function(){return warning("W006"),this.arity="unary",this.right=expression(150),this}),infix("---",function(left){return warning("W006"),this.left=left,this.right=expression(130),this},130),infix("*","mult",140),infix("/","div",140),infix("%","mod",140),suffix("++"),prefix("++","preinc"),state.syntax["++"].exps=!0,suffix("--"),prefix("--","predec"),state.syntax["--"].exps=!0,prefix("delete",function(){var p=expression(10);return p?("."!==p.id&&"["!==p.id&&warning("W051"),this.first=p,p.identifier&&!state.isStrict()&&(p.forgiveUndef=!0),this):this}).exps=!0,prefix("~",function(){return state.option.bitwise&&warning("W016",this,"~"),this.arity="unary",this.right=expression(150),this}),prefix("...",function(){return state.inES6(!0)||warning("W119",this,"spread/rest operator","6"),state.tokens.next.identifier||"(string)"===state.tokens.next.type||checkPunctuators(state.tokens.next,["[","("])||error("E030",state.tokens.next,state.tokens.next.value),expression(150),this}),prefix("!",function(){return this.arity="unary",this.right=expression(150),this.right||quit("E041",this.line||0),bang[this.right.id]===!0&&warning("W018",this,"!"),this}),prefix("typeof",function(){var p=expression(150);return this.first=this.right=p,p||quit("E041",this.line||0,this.character||0),p.identifier&&(p.forgiveUndef=!0),this}),prefix("new",function(){var mp=metaProperty("target",function(){state.inES6(!0)||warning("W119",state.tokens.prev,"new.target","6");for(var inFunction,c=state.funct;c&&(inFunction=!c["(global)"],c["(arrow)"]);)c=c["(context)"];inFunction||warning("W136",state.tokens.prev,"new.target")});if(mp)return mp;var i,c=expression(155);if(c&&"function"!==c.id)if(c.identifier)switch(c["new"]=!0,c.value){case"Number":case"String":case"Boolean":case"Math":case"JSON":warning("W053",state.tokens.prev,c.value);break;case"Symbol":state.inES6()&&warning("W053",state.tokens.prev,c.value);break;case"Function":state.option.evil||warning("W054");break;case"Date":case"RegExp":case"this":break;default:"function"!==c.id&&(i=c.value.substr(0,1),state.option.newcap&&("A">i||i>"Z")&&!state.funct["(scope)"].isPredefined(c.value)&&warning("W055",state.tokens.curr))}else"."!==c.id&&"["!==c.id&&"("!==c.id&&warning("W056",state.tokens.curr);else state.option.supernew||warning("W057",this);return"("===state.tokens.next.id||state.option.supernew||warning("W058",state.tokens.curr,state.tokens.curr.value),this.first=this.right=c,this}),state.syntax["new"].exps=!0,prefix("void").exps=!0,infix(".",function(left,that){var m=identifier(!1,!0);return"string"==typeof m&&countMember(m),that.left=left,that.right=m,m&&"hasOwnProperty"===m&&"="===state.tokens.next.value&&warning("W001"),!left||"arguments"!==left.value||"callee"!==m&&"caller"!==m?state.option.evil||!left||"document"!==left.value||"write"!==m&&"writeln"!==m||warning("W060",left):state.option.noarg?warning("W059",left,m):state.isStrict()&&error("E008"),state.option.evil||"eval"!==m&&"execScript"!==m||isGlobalEval(left,state)&&warning("W061"),that},160,!0),infix("(",function(left,that){state.option.immed&&left&&!left.immed&&"function"===left.id&&warning("W062");var n=0,p=[];if(left&&"(identifier)"===left.type&&left.value.match(/^[A-Z]([A-Z0-9_$]*[a-z][A-Za-z0-9_$]*)?$/)&&-1==="Array Number String Boolean Date Object Error Symbol".indexOf(left.value)&&("Math"===left.value?warning("W063",left):state.option.newcap&&warning("W064",left)),")"!==state.tokens.next.id)for(;p[p.length]=expression(10),n+=1,","===state.tokens.next.id;)comma();return advance(")"),"object"==typeof left&&(state.inES5()||"parseInt"!==left.value||1!==n||warning("W065",state.tokens.curr),state.option.evil||("eval"===left.value||"Function"===left.value||"execScript"===left.value?(warning("W061",left),p[0]&&"(string)"===[0].id&&addInternalSrc(left,p[0].value)):!p[0]||"(string)"!==p[0].id||"setTimeout"!==left.value&&"setInterval"!==left.value?!p[0]||"(string)"!==p[0].id||"."!==left.value||"window"!==left.left.value||"setTimeout"!==left.right&&"setInterval"!==left.right||(warning("W066",left),addInternalSrc(left,p[0].value)):(warning("W066",left),addInternalSrc(left,p[0].value))),left.identifier||"."===left.id||"["===left.id||"=>"===left.id||"("===left.id||"&&"===left.id||"||"===left.id||"?"===left.id||state.inES6()&&left["(name)"]||warning("W067",that)),that.left=left,that},155,!0).exps=!0,prefix("(",function(){var pn1,ret,triggerFnExpr,first,last,pn=state.tokens.next,i=-1,parens=1,opening=state.tokens.curr,preceeding=state.tokens.prev,isNecessary=!state.option.singleGroups;do"("===pn.value?parens+=1:")"===pn.value&&(parens-=1),i+=1,pn1=pn,pn=peek(i);while((0!==parens||")"!==pn1.value)&&";"!==pn.value&&"(end)"!==pn.type);if("function"===state.tokens.next.id&&(triggerFnExpr=state.tokens.next.immed=!0),"=>"===pn.value)return doFunction({type:"arrow",parsedOpening:!0});var exprs=[];if(")"!==state.tokens.next.id)for(;exprs.push(expression(10)),","===state.tokens.next.id;)state.option.nocomma&&warning("W127"),comma();return advance(")",this),state.option.immed&&exprs[0]&&"function"===exprs[0].id&&"("!==state.tokens.next.id&&"."!==state.tokens.next.id&&"["!==state.tokens.next.id&&warning("W068",this),exprs.length?(exprs.length>1?(ret=Object.create(state.syntax[","]),ret.exprs=exprs,first=exprs[0],last=exprs[exprs.length-1],isNecessary||(isNecessary=preceeding.assign||preceeding.delim)):(ret=first=last=exprs[0],isNecessary||(isNecessary=opening.beginsStmt&&("{"===ret.id||triggerFnExpr||isFunctor(ret))||triggerFnExpr&&(!isEndOfExpr()||"}"!==state.tokens.prev.id)||isFunctor(ret)&&!isEndOfExpr()||"{"===ret.id&&"=>"===preceeding.id||"(number)"===ret.type&&checkPunctuator(pn,".")&&/^\\d+$/.test(ret.value))),ret&&(!isNecessary&&(first.left||first.right||ret.exprs)&&(isNecessary=!isBeginOfExpr(preceeding)&&first.lbp<=preceeding.lbp||!isEndOfExpr()&&last.lbp<state.tokens.next.lbp),isNecessary||warning("W126",opening),ret.paren=!0),ret):void 0}),application("=>"),infix("[",function(left,that){var s,e=expression(10);return e&&"(string)"===e.type&&(state.option.evil||"eval"!==e.value&&"execScript"!==e.value||isGlobalEval(left,state)&&warning("W061"),countMember(e.value),!state.option.sub&®.identifier.test(e.value)&&(s=state.syntax[e.value],s&&isReserved(s)||warning("W069",state.tokens.prev,e.value))),advance("]",that),e&&"hasOwnProperty"===e.value&&"="===state.tokens.next.value&&warning("W001"),that.left=left,that.right=e,that},160,!0),prefix("[",function(){var blocktype=lookupBlockType();if(blocktype.isCompArray)return state.option.esnext||state.inMoz()||warning("W118",state.tokens.curr,"array comprehension"),comprehensiveArrayExpression();if(blocktype.isDestAssign)return this.destructAssign=destructuringPattern({openingParsed:!0,assignment:!0}),this;var b=state.tokens.curr.line!==startLine(state.tokens.next);for(this.first=[],b&&(indent+=state.option.indent,state.tokens.next.from===indent+state.option.indent&&(indent+=state.option.indent));"(end)"!==state.tokens.next.id;){for(;","===state.tokens.next.id;){if(!state.option.elision){if(state.inES5()){warning("W128");do advance(",");while(","===state.tokens.next.id);continue}warning("W070")}advance(",")}if("]"===state.tokens.next.id)break;if(this.first.push(expression(10)),","!==state.tokens.next.id)break;if(comma({allowTrailing:!0}),"]"===state.tokens.next.id&&!state.inES5()){warning("W070",state.tokens.curr);break}}return b&&(indent-=state.option.indent),advance("]",this),this}),function(x){x.nud=function(){var b,f,i,p,t,nextVal,isGeneratorMethod=!1,props=Object.create(null);b=state.tokens.curr.line!==startLine(state.tokens.next),b&&(indent+=state.option.indent,state.tokens.next.from===indent+state.option.indent&&(indent+=state.option.indent));var blocktype=lookupBlockType();if(blocktype.isDestAssign)return this.destructAssign=destructuringPattern({openingParsed:!0,assignment:!0}),this;for(;"}"!==state.tokens.next.id;){if(nextVal=state.tokens.next.value,!state.tokens.next.identifier||","!==peekIgnoreEOL().id&&"}"!==peekIgnoreEOL().id)if(":"===peek().id||"get"!==nextVal&&"set"!==nextVal){if("*"===state.tokens.next.value&&"(punctuator)"===state.tokens.next.type?(state.inES6()||warning("W104",state.tokens.next,"generator functions","6"),advance("*"),isGeneratorMethod=!0):isGeneratorMethod=!1,"["===state.tokens.next.id)i=computedPropertyName(),state.nameStack.set(i);else if(state.nameStack.set(state.tokens.next),i=propertyName(),saveProperty(props,i,state.tokens.next),"string"!=typeof i)break;"("===state.tokens.next.value?(state.inES6()||warning("W104",state.tokens.curr,"concise methods","6"),doFunction({type:isGeneratorMethod?"generator":null})):(advance(":"),expression(10))}else advance(nextVal),state.inES5()||error("E034"),i=propertyName(),i||state.inES6()||error("E035"),i&&saveAccessor(nextVal,props,i,state.tokens.curr),t=state.tokens.next,f=doFunction(),p=f["(params)"],"get"===nextVal&&i&&p?warning("W076",t,p[0],i):"set"!==nextVal||!i||p&&1===p.length||warning("W077",t,i);else state.inES6()||warning("W104",state.tokens.next,"object short notation","6"),i=propertyName(!0),saveProperty(props,i,state.tokens.next),expression(10);if(countMember(i),","!==state.tokens.next.id)break;comma({allowTrailing:!0,property:!0}),","===state.tokens.next.id?warning("W070",state.tokens.curr):"}"!==state.tokens.next.id||state.inES5()||warning("W070",state.tokens.curr)}return b&&(indent-=state.option.indent),advance("}",this),checkProperties(props),this},x.fud=function(){error("E036",state.tokens.curr)}}(delim("{"));var conststatement=stmt("const",function(context){return blockVariableStatement("const",this,context)});conststatement.exps=!0;var letstatement=stmt("let",function(context){return blockVariableStatement("let",this,context)});letstatement.exps=!0;var varstatement=stmt("var",function(context){var tokens,lone,value,prefix=context&&context.prefix,inexport=context&&context.inexport,implied=context&&context.implied,report=!(context&&context.ignore);for(this.first=[];;){var names=[];_.contains(["{","["],state.tokens.next.value)?(tokens=destructuringPattern(),lone=!1):(tokens=[{id:identifier(),token:state.tokens.curr}],lone=!0),prefix&&implied||!report||!state.option.varstmt||warning("W132",this),this.first=this.first.concat(names);for(var t in tokens)tokens.hasOwnProperty(t)&&(t=tokens[t],!implied&&state.funct["(global)"]&&(predefined[t.id]===!1?warning("W079",t.token,t.id):state.option.futurehostile===!1&&(!state.inES5()&&vars.ecmaIdentifiers[5][t.id]===!1||!state.inES6()&&vars.ecmaIdentifiers[6][t.id]===!1)&&warning("W129",t.token,t.id)),t.id&&("for"===implied?(state.funct["(scope)"].has(t.id)||report&&warning("W088",t.token,t.id),state.funct["(scope)"].block.use(t.id,t.token)):(state.funct["(scope)"].addlabel(t.id,{type:"var",token:t.token}),lone&&inexport&&state.funct["(scope)"].setExported(t.id,t.token)),names.push(t.token)));if("="===state.tokens.next.id&&(state.nameStack.set(state.tokens.curr),advance("="),prefix||!report||state.funct["(loopage)"]||"undefined"!==state.tokens.next.id||warning("W080",state.tokens.prev,state.tokens.prev.value),"="===peek(0).id&&state.tokens.next.identifier&&(!prefix&&report&&!state.funct["(params)"]||-1===state.funct["(params)"].indexOf(state.tokens.next.value))&&warning("W120",state.tokens.next,state.tokens.next.value),value=expression(prefix?120:10),lone?tokens[0].first=value:destructuringPatternMatch(names,value)),","!==state.tokens.next.id)break;comma()}return this});varstatement.exps=!0,blockstmt("class",function(){return classdef.call(this,!0)}),blockstmt("function",function(context){var inexport=context&&context.inexport,generator=!1;"*"===state.tokens.next.value&&(advance("*"),state.inES6({strict:!0})?generator=!0:warning("W119",state.tokens.curr,"function*","6")),inblock&&warning("W082",state.tokens.curr);var i=optionalidentifier();return state.funct["(scope)"].addlabel(i,{type:"function",token:state.tokens.curr}),void 0===i?warning("W025"):inexport&&state.funct["(scope)"].setExported(i,state.tokens.prev),doFunction({name:i,statement:this,type:generator?"generator":null,ignoreLoopFunc:inblock}),"("===state.tokens.next.id&&state.tokens.next.line===state.tokens.curr.line&&error("E039"),this}),prefix("function",function(){var generator=!1;"*"===state.tokens.next.value&&(state.inES6()||warning("W119",state.tokens.curr,"function*","6"),advance("*"),generator=!0);var i=optionalidentifier();return doFunction({name:i,type:generator?"generator":null}),this}),blockstmt("if",function(){var t=state.tokens.next;increaseComplexityCount(),state.condition=!0,advance("(");var expr=expression(0);checkCondAssignment(expr);var forinifcheck=null;state.option.forin&&state.forinifcheckneeded&&(state.forinifcheckneeded=!1,forinifcheck=state.forinifchecks[state.forinifchecks.length-1],forinifcheck.type="(punctuator)"===expr.type&&"!"===expr.value?"(negative)":"(positive)"),advance(")",t),state.condition=!1;var s=block(!0,!0);return forinifcheck&&"(negative)"===forinifcheck.type&&s&&s[0]&&"(identifier)"===s[0].type&&"continue"===s[0].value&&(forinifcheck.type="(negative-with-continue)"),"else"===state.tokens.next.id&&(advance("else"),"if"===state.tokens.next.id||"switch"===state.tokens.next.id?statement():block(!0,!0)),this}),blockstmt("try",function(){function doCatch(){if(advance("catch"),advance("("),state.funct["(scope)"].stack("catchparams"),checkPunctuators(state.tokens.next,["[","{"])){var tokens=destructuringPattern();_.each(tokens,function(token){token.id&&state.funct["(scope)"].addParam(token.id,token,"exception")})}else"(identifier)"!==state.tokens.next.type?warning("E030",state.tokens.next,state.tokens.next.value):state.funct["(scope)"].addParam(identifier(),state.tokens.curr,"exception");"if"===state.tokens.next.value&&(state.inMoz()||warning("W118",state.tokens.curr,"catch filter"),advance("if"),expression(0)),advance(")"),block(!1),state.funct["(scope)"].unstack()}var b;for(block(!0);"catch"===state.tokens.next.id;)increaseComplexityCount(),b&&!state.inMoz()&&warning("W118",state.tokens.next,"multiple catch blocks"),doCatch(),b=!0;return"finally"===state.tokens.next.id?(advance("finally"),block(!0),void 0):(b||error("E021",state.tokens.next,"catch",state.tokens.next.value),this)}),blockstmt("while",function(){var t=state.tokens.next;return state.funct["(breakage)"]+=1,state.funct["(loopage)"]+=1,increaseComplexityCount(),advance("("),checkCondAssignment(expression(0)),advance(")",t),block(!0,!0),state.funct["(breakage)"]-=1,state.funct["(loopage)"]-=1,this}).labelled=!0,blockstmt("with",function(){var t=state.tokens.next;return state.isStrict()?error("E010",state.tokens.curr):state.option.withstmt||warning("W085",state.tokens.curr),advance("("),expression(0),advance(")",t),block(!0,!0),this}),blockstmt("switch",function(){var t=state.tokens.next,g=!1,noindent=!1;\nfor(state.funct["(breakage)"]+=1,advance("("),checkCondAssignment(expression(0)),advance(")",t),t=state.tokens.next,advance("{"),state.tokens.next.from===indent&&(noindent=!0),noindent||(indent+=state.option.indent),this.cases=[];;)switch(state.tokens.next.id){case"case":switch(state.funct["(verb)"]){case"yield":case"break":case"case":case"continue":case"return":case"switch":case"throw":break;default:state.tokens.curr.caseFallsThrough||warning("W086",state.tokens.curr,"case")}advance("case"),this.cases.push(expression(0)),increaseComplexityCount(),g=!0,advance(":"),state.funct["(verb)"]="case";break;case"default":switch(state.funct["(verb)"]){case"yield":case"break":case"continue":case"return":case"throw":break;default:this.cases.length&&(state.tokens.curr.caseFallsThrough||warning("W086",state.tokens.curr,"default"))}advance("default"),g=!0,advance(":");break;case"}":return noindent||(indent-=state.option.indent),advance("}",t),state.funct["(breakage)"]-=1,state.funct["(verb)"]=void 0,void 0;case"(end)":return error("E023",state.tokens.next,"}"),void 0;default:if(indent+=state.option.indent,g)switch(state.tokens.curr.id){case",":return error("E040"),void 0;case":":g=!1,statements();break;default:return error("E025",state.tokens.curr),void 0}else{if(":"!==state.tokens.curr.id)return error("E021",state.tokens.next,"case",state.tokens.next.value),void 0;advance(":"),error("E024",state.tokens.curr,":"),statements()}indent-=state.option.indent}return this}).labelled=!0,stmt("debugger",function(){return state.option.debug||warning("W087",this),this}).exps=!0,function(){var x=stmt("do",function(){state.funct["(breakage)"]+=1,state.funct["(loopage)"]+=1,increaseComplexityCount(),this.first=block(!0,!0),advance("while");var t=state.tokens.next;return advance("("),checkCondAssignment(expression(0)),advance(")",t),state.funct["(breakage)"]-=1,state.funct["(loopage)"]-=1,this});x.labelled=!0,x.exps=!0}(),blockstmt("for",function(){var s,t=state.tokens.next,letscope=!1,foreachtok=null;"each"===t.value&&(foreachtok=t,advance("each"),state.inMoz()||warning("W118",state.tokens.curr,"for each")),increaseComplexityCount(),advance("(");var nextop,comma,initializer,i=0,inof=["in","of"],level=0;checkPunctuators(state.tokens.next,["{","["])&&++level;do{if(nextop=peek(i),++i,checkPunctuators(nextop,["{","["])?++level:checkPunctuators(nextop,["}","]"])&&--level,0>level)break;0===level&&(!comma&&checkPunctuator(nextop,",")?comma=nextop:!initializer&&checkPunctuator(nextop,"=")&&(initializer=nextop))}while(level>0||!_.contains(inof,nextop.value)&&";"!==nextop.value&&"(end)"!==nextop.type);if(_.contains(inof,nextop.value)){state.inES6()||"of"!==nextop.value||warning("W104",nextop,"for of","6");var ok=!(initializer||comma);if(initializer&&error("W133",comma,nextop.value,"initializer is forbidden"),comma&&error("W133",comma,nextop.value,"more than one ForBinding"),"var"===state.tokens.next.id?(advance("var"),state.tokens.curr.fud({prefix:!0})):"let"===state.tokens.next.id||"const"===state.tokens.next.id?(advance(state.tokens.next.id),letscope=!0,state.funct["(scope)"].stack(),state.tokens.curr.fud({prefix:!0})):Object.create(varstatement).fud({prefix:!0,implied:"for",ignore:!ok}),advance(nextop.value),expression(20),advance(")",t),"in"===nextop.value&&state.option.forin&&(state.forinifcheckneeded=!0,void 0===state.forinifchecks&&(state.forinifchecks=[]),state.forinifchecks.push({type:"(none)"})),state.funct["(breakage)"]+=1,state.funct["(loopage)"]+=1,s=block(!0,!0),"in"===nextop.value&&state.option.forin){if(state.forinifchecks&&state.forinifchecks.length>0){var check=state.forinifchecks.pop();(s&&s.length>0&&("object"!=typeof s[0]||"if"!==s[0].value)||"(positive)"===check.type&&s.length>1||"(negative)"===check.type)&&warning("W089",this)}state.forinifcheckneeded=!1}state.funct["(breakage)"]-=1,state.funct["(loopage)"]-=1}else{if(foreachtok&&error("E045",foreachtok),";"!==state.tokens.next.id)if("var"===state.tokens.next.id)advance("var"),state.tokens.curr.fud();else if("let"===state.tokens.next.id)advance("let"),letscope=!0,state.funct["(scope)"].stack(),state.tokens.curr.fud();else for(;expression(0,"for"),","===state.tokens.next.id;)comma();if(nolinebreak(state.tokens.curr),advance(";"),state.funct["(loopage)"]+=1,";"!==state.tokens.next.id&&checkCondAssignment(expression(0)),nolinebreak(state.tokens.curr),advance(";"),";"===state.tokens.next.id&&error("E021",state.tokens.next,")",";"),")"!==state.tokens.next.id)for(;expression(0,"for"),","===state.tokens.next.id;)comma();advance(")",t),state.funct["(breakage)"]+=1,block(!0,!0),state.funct["(breakage)"]-=1,state.funct["(loopage)"]-=1}return letscope&&state.funct["(scope)"].unstack(),this}).labelled=!0,stmt("break",function(){var v=state.tokens.next.value;return state.option.asi||nolinebreak(this),";"===state.tokens.next.id||state.tokens.next.reach||state.tokens.curr.line!==startLine(state.tokens.next)?0===state.funct["(breakage)"]&&warning("W052",state.tokens.next,this.value):(state.funct["(scope)"].funct.hasBreakLabel(v)||warning("W090",state.tokens.next,v),this.first=state.tokens.next,advance()),reachable(this),this}).exps=!0,stmt("continue",function(){var v=state.tokens.next.value;return 0===state.funct["(breakage)"]&&warning("W052",state.tokens.next,this.value),state.funct["(loopage)"]||warning("W052",state.tokens.next,this.value),state.option.asi||nolinebreak(this),";"===state.tokens.next.id||state.tokens.next.reach||state.tokens.curr.line===startLine(state.tokens.next)&&(state.funct["(scope)"].funct.hasBreakLabel(v)||warning("W090",state.tokens.next,v),this.first=state.tokens.next,advance()),reachable(this),this}).exps=!0,stmt("return",function(){return this.line===startLine(state.tokens.next)?";"===state.tokens.next.id||state.tokens.next.reach||(this.first=expression(0),!this.first||"(punctuator)"!==this.first.type||"="!==this.first.value||this.first.paren||state.option.boss||warningAt("W093",this.first.line,this.first.character)):"(punctuator)"===state.tokens.next.type&&["[","{","+","-"].indexOf(state.tokens.next.value)>-1&&nolinebreak(this),reachable(this),this}).exps=!0,function(x){x.exps=!0,x.lbp=25}(prefix("yield",function(){var prev=state.tokens.prev;state.inES6(!0)&&!state.funct["(generator)"]?"(catch)"===state.funct["(name)"]&&state.funct["(context)"]["(generator)"]||error("E046",state.tokens.curr,"yield"):state.inES6()||warning("W104",state.tokens.curr,"yield","6"),state.funct["(generator)"]="yielded";var delegatingYield=!1;return"*"===state.tokens.next.value&&(delegatingYield=!0,advance("*")),this.line!==startLine(state.tokens.next)&&state.inMoz()?state.option.asi||nolinebreak(this):((delegatingYield||";"!==state.tokens.next.id&&!state.option.asi&&!state.tokens.next.reach&&state.tokens.next.nud)&&(nobreaknonadjacent(state.tokens.curr,state.tokens.next),this.first=expression(10),"(punctuator)"!==this.first.type||"="!==this.first.value||this.first.paren||state.option.boss||warningAt("W093",this.first.line,this.first.character)),state.inMoz()&&")"!==state.tokens.next.id&&(prev.lbp>30||!prev.assign&&!isEndOfExpr()||"yield"===prev.id)&&error("E050",this)),this})),stmt("throw",function(){return nolinebreak(this),this.first=expression(20),reachable(this),this}).exps=!0,stmt("import",function(){if(state.inES6()||warning("W119",state.tokens.curr,"import","6"),"(string)"===state.tokens.next.type)return advance("(string)"),this;if(state.tokens.next.identifier){if(this.name=identifier(),state.funct["(scope)"].addlabel(this.name,{type:"const",token:state.tokens.curr}),","!==state.tokens.next.value)return advance("from"),advance("(string)"),this;advance(",")}if("*"===state.tokens.next.id)advance("*"),advance("as"),state.tokens.next.identifier&&(this.name=identifier(),state.funct["(scope)"].addlabel(this.name,{type:"const",token:state.tokens.curr}));else for(advance("{");;){if("}"===state.tokens.next.value){advance("}");break}var importName;if("default"===state.tokens.next.type?(importName="default",advance("default")):importName=identifier(),"as"===state.tokens.next.value&&(advance("as"),importName=identifier()),state.funct["(scope)"].addlabel(importName,{type:"const",token:state.tokens.curr}),","!==state.tokens.next.value){if("}"===state.tokens.next.value){advance("}");break}error("E024",state.tokens.next,state.tokens.next.value);break}advance(",")}return advance("from"),advance("(string)"),this}).exps=!0,stmt("export",function(){var token,identifier,ok=!0;if(state.inES6()||(warning("W119",state.tokens.curr,"export","6"),ok=!1),state.funct["(scope)"].block.isGlobal()||(error("E053",state.tokens.curr),ok=!1),"*"===state.tokens.next.value)return advance("*"),advance("from"),advance("(string)"),this;if("default"===state.tokens.next.type){state.nameStack.set(state.tokens.next),advance("default");var exportType=state.tokens.next.id;return("function"===exportType||"class"===exportType)&&(this.block=!0),token=peek(),expression(10),identifier=token.value,this.block&&(state.funct["(scope)"].addlabel(identifier,{type:exportType,token:token}),state.funct["(scope)"].setExported(identifier,token)),this}if("{"===state.tokens.next.value){advance("{");for(var exportedTokens=[];;){if(state.tokens.next.identifier||error("E030",state.tokens.next,state.tokens.next.value),advance(),exportedTokens.push(state.tokens.curr),"as"===state.tokens.next.value&&(advance("as"),state.tokens.next.identifier||error("E030",state.tokens.next,state.tokens.next.value),advance()),","!==state.tokens.next.value){if("}"===state.tokens.next.value){advance("}");break}error("E024",state.tokens.next,state.tokens.next.value);break}advance(",")}return"from"===state.tokens.next.value?(advance("from"),advance("(string)")):ok&&exportedTokens.forEach(function(token){state.funct["(scope)"].setExported(token.value,token)}),this}if("var"===state.tokens.next.id)advance("var"),state.tokens.curr.fud({inexport:!0});else if("let"===state.tokens.next.id)advance("let"),state.tokens.curr.fud({inexport:!0});else if("const"===state.tokens.next.id)advance("const"),state.tokens.curr.fud({inexport:!0});else if("function"===state.tokens.next.id)this.block=!0,advance("function"),state.syntax["function"].fud({inexport:!0});else if("class"===state.tokens.next.id){this.block=!0,advance("class");var classNameToken=state.tokens.next;state.syntax["class"].fud(),state.funct["(scope)"].setExported(classNameToken.value,classNameToken)}else error("E024",state.tokens.next,state.tokens.next.value);return this}).exps=!0,FutureReservedWord("abstract"),FutureReservedWord("boolean"),FutureReservedWord("byte"),FutureReservedWord("char"),FutureReservedWord("class",{es5:!0,nud:classdef}),FutureReservedWord("double"),FutureReservedWord("enum",{es5:!0}),FutureReservedWord("export",{es5:!0}),FutureReservedWord("extends",{es5:!0}),FutureReservedWord("final"),FutureReservedWord("float"),FutureReservedWord("goto"),FutureReservedWord("implements",{es5:!0,strictOnly:!0}),FutureReservedWord("import",{es5:!0}),FutureReservedWord("int"),FutureReservedWord("interface",{es5:!0,strictOnly:!0}),FutureReservedWord("long"),FutureReservedWord("native"),FutureReservedWord("package",{es5:!0,strictOnly:!0}),FutureReservedWord("private",{es5:!0,strictOnly:!0}),FutureReservedWord("protected",{es5:!0,strictOnly:!0}),FutureReservedWord("public",{es5:!0,strictOnly:!0}),FutureReservedWord("short"),FutureReservedWord("static",{es5:!0,strictOnly:!0}),FutureReservedWord("super",{es5:!0}),FutureReservedWord("synchronized"),FutureReservedWord("transient"),FutureReservedWord("volatile");var lookupBlockType=function(){var pn,pn1,prev,i=-1,bracketStack=0,ret={};checkPunctuators(state.tokens.curr,["[","{"])&&(bracketStack+=1);do{if(prev=-1===i?state.tokens.curr:pn,pn=-1===i?state.tokens.next:peek(i),pn1=peek(i+1),i+=1,checkPunctuators(pn,["[","{"])?bracketStack+=1:checkPunctuators(pn,["]","}"])&&(bracketStack-=1),1===bracketStack&&pn.identifier&&"for"===pn.value&&!checkPunctuator(prev,".")){ret.isCompArray=!0,ret.notJson=!0;break}if(0===bracketStack&&checkPunctuators(pn,["}","]"])){if("="===pn1.value){ret.isDestAssign=!0,ret.notJson=!0;break}if("."===pn1.value){ret.notJson=!0;break}}checkPunctuator(pn,";")&&(ret.isBlock=!0,ret.notJson=!0)}while(bracketStack>0&&"(end)"!==pn.id);return ret},arrayComprehension=function(){function declare(v){var l=_current.variables.filter(function(elt){return elt.value===v?(elt.undef=!1,v):void 0}).length;return 0!==l}function use(v){var l=_current.variables.filter(function(elt){return elt.value!==v||elt.undef?void 0:(elt.unused===!0&&(elt.unused=!1),v)}).length;return 0===l}var _current,CompArray=function(){this.mode="use",this.variables=[]},_carrays=[];return{stack:function(){_current=new CompArray,_carrays.push(_current)},unstack:function(){_current.variables.filter(function(v){v.unused&&warning("W098",v.token,v.raw_text||v.value),v.undef&&state.funct["(scope)"].block.use(v.value,v.token)}),_carrays.splice(-1,1),_current=_carrays[_carrays.length-1]},setState:function(s){_.contains(["use","define","generate","filter"],s)&&(_current.mode=s)},check:function(v){return _current?_current&&"use"===_current.mode?(use(v)&&_current.variables.push({funct:state.funct,token:state.tokens.curr,value:v,undef:!0,unused:!1}),!0):_current&&"define"===_current.mode?(declare(v)||_current.variables.push({funct:state.funct,token:state.tokens.curr,value:v,undef:!1,unused:!0}),!0):_current&&"generate"===_current.mode?(state.funct["(scope)"].block.use(v,state.tokens.curr),!0):_current&&"filter"===_current.mode?(use(v)&&state.funct["(scope)"].block.use(v,state.tokens.curr),!0):!1:void 0}}},escapeRegex=function(str){return str.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g,"\\\\$&")},itself=function(s,o,g){function each(obj,cb){obj&&(Array.isArray(obj)||"object"!=typeof obj||(obj=Object.keys(obj)),obj.forEach(cb))}var i,k,x,reIgnoreStr,reIgnore,optionKeys,newOptionObj={},newIgnoredObj={};o=_.clone(o),state.reset(),o&&o.scope?JSHINT.scope=o.scope:(JSHINT.errors=[],JSHINT.undefs=[],JSHINT.internals=[],JSHINT.blacklist={},JSHINT.scope="(main)"),predefined=Object.create(null),combine(predefined,vars.ecmaIdentifiers[3]),combine(predefined,vars.reservedVars),combine(predefined,g||{}),declared=Object.create(null);var exported=Object.create(null);if(o)for(each(o.predef||null,function(item){var slice,prop;"-"===item[0]?(slice=item.slice(1),JSHINT.blacklist[slice]=slice,delete predefined[slice]):(prop=Object.getOwnPropertyDescriptor(o.predef,item),predefined[item]=prop?prop.value:!1)}),each(o.exported||null,function(item){exported[item]=!0}),delete o.predef,delete o.exported,optionKeys=Object.keys(o),x=0;optionKeys.length>x;x++)if(/^-W\\d{3}$/g.test(optionKeys[x]))newIgnoredObj[optionKeys[x].slice(1)]=!0;else{var optionKey=optionKeys[x];newOptionObj[optionKey]=o[optionKey],("esversion"===optionKey&&5===o[optionKey]||"es5"===optionKey&&o[optionKey])&&warning("I003"),"newcap"===optionKeys[x]&&o[optionKey]===!1&&(newOptionObj["(explicitNewcap)"]=!0)}state.option=newOptionObj,state.ignored=newIgnoredObj,state.option.indent=state.option.indent||4,state.option.maxerr=state.option.maxerr||50,indent=1;var scopeManagerInst=scopeManager(state,predefined,exported,declared);if(scopeManagerInst.on("warning",function(ev){warning.apply(null,[ev.code,ev.token].concat(ev.data))}),scopeManagerInst.on("error",function(ev){error.apply(null,[ev.code,ev.token].concat(ev.data))}),state.funct=functor("(global)",null,{"(global)":!0,"(scope)":scopeManagerInst,"(comparray)":arrayComprehension(),"(metrics)":createMetrics(state.tokens.next)}),functions=[state.funct],urls=[],stack=null,member={},membersOnly=null,inblock=!1,lookahead=[],!isString(s)&&!Array.isArray(s))return errorAt("E004",0),!1;api={get isJSON(){return state.jsonMode},getOption:function(name){return state.option[name]||null},getCache:function(name){return state.cache[name]},setCache:function(name,value){state.cache[name]=value},warn:function(code,data){warningAt.apply(null,[code,data.line,data.char].concat(data.data))},on:function(names,listener){names.split(" ").forEach(function(name){emitter.on(name,listener)}.bind(this))}},emitter.removeAllListeners(),(extraModules||[]).forEach(function(func){func(api)}),state.tokens.prev=state.tokens.curr=state.tokens.next=state.syntax["(begin)"],o&&o.ignoreDelimiters&&(Array.isArray(o.ignoreDelimiters)||(o.ignoreDelimiters=[o.ignoreDelimiters]),o.ignoreDelimiters.forEach(function(delimiterPair){delimiterPair.start&&delimiterPair.end&&(reIgnoreStr=escapeRegex(delimiterPair.start)+"[\\\\s\\\\S]*?"+escapeRegex(delimiterPair.end),reIgnore=RegExp(reIgnoreStr,"ig"),s=s.replace(reIgnore,function(match){return match.replace(/./g," ")}))})),lex=new Lexer(s),lex.on("warning",function(ev){warningAt.apply(null,[ev.code,ev.line,ev.character].concat(ev.data))}),lex.on("error",function(ev){errorAt.apply(null,[ev.code,ev.line,ev.character].concat(ev.data))}),lex.on("fatal",function(ev){quit("E041",ev.line,ev.from)}),lex.on("Identifier",function(ev){emitter.emit("Identifier",ev)}),lex.on("String",function(ev){emitter.emit("String",ev)}),lex.on("Number",function(ev){emitter.emit("Number",ev)}),lex.start();for(var name in o)_.has(o,name)&&checkOption(name,state.tokens.curr);assume(),combine(predefined,g||{}),comma.first=!0;try{switch(advance(),state.tokens.next.id){case"{":case"[":destructuringAssignOrJsonValue();break;default:directives(),state.directive["use strict"]&&"global"!==state.option.strict&&warning("W097",state.tokens.prev),statements()}"(end)"!==state.tokens.next.id&&quit("E041",state.tokens.curr.line),state.funct["(scope)"].unstack()}catch(err){if(!err||"JSHintError"!==err.name)throw err;var nt=state.tokens.next||{};JSHINT.errors.push({scope:"(main)",raw:err.raw,code:err.code,reason:err.message,line:err.line||nt.line,character:err.character||nt.from},null)}if("(main)"===JSHINT.scope)for(o=o||{},i=0;JSHINT.internals.length>i;i+=1)k=JSHINT.internals[i],o.scope=k.elem,itself(k.value,o,g);return 0===JSHINT.errors.length};return itself.addModule=function(func){extraModules.push(func)},itself.addModule(style.register),itself.data=function(){var fu,f,i,j,n,globals,data={functions:[],options:state.option};itself.errors.length&&(data.errors=itself.errors),state.jsonMode&&(data.json=!0);var impliedGlobals=state.funct["(scope)"].getImpliedGlobals();for(impliedGlobals.length>0&&(data.implieds=impliedGlobals),urls.length>0&&(data.urls=urls),globals=state.funct["(scope)"].getUsedOrDefinedGlobals(),globals.length>0&&(data.globals=globals),i=1;functions.length>i;i+=1){for(f=functions[i],fu={},j=0;functionicity.length>j;j+=1)fu[functionicity[j]]=[];for(j=0;functionicity.length>j;j+=1)0===fu[functionicity[j]].length&&delete fu[functionicity[j]];fu.name=f["(name)"],fu.param=f["(params)"],fu.line=f["(line)"],fu.character=f["(character)"],fu.last=f["(last)"],fu.lastcharacter=f["(lastcharacter)"],fu.metrics={complexity:f["(metrics)"].ComplexityCount,parameters:f["(metrics)"].arity,statements:f["(metrics)"].statementCount},data.functions.push(fu)}var unuseds=state.funct["(scope)"].getUnuseds();unuseds.length>0&&(data.unused=unuseds);for(n in member)if("number"==typeof member[n]){data.member=member;break}return data},itself.jshint=itself,itself}();"object"==typeof exports&&exports&&(exports.JSHINT=JSHINT)},{"../lodash":"/node_modules/jshint/lodash.js","./lex.js":"/node_modules/jshint/src/lex.js","./messages.js":"/node_modules/jshint/src/messages.js","./options.js":"/node_modules/jshint/src/options.js","./reg.js":"/node_modules/jshint/src/reg.js","./scope-manager.js":"/node_modules/jshint/src/scope-manager.js","./state.js":"/node_modules/jshint/src/state.js","./style.js":"/node_modules/jshint/src/style.js","./vars.js":"/node_modules/jshint/src/vars.js",events:"/node_modules/browserify/node_modules/events/events.js"}],"/node_modules/jshint/src/lex.js":[function(_dereq_,module,exports){"use strict";function asyncTrigger(){var _checks=[];return{push:function(fn){_checks.push(fn)},check:function(){for(var check=0;_checks.length>check;++check)_checks[check]();_checks.splice(0,_checks.length)}}}function Lexer(source){var lines=source;"string"==typeof lines&&(lines=lines.replace(/\\r\\n/g,"\\n").replace(/\\r/g,"\\n").split("\\n")),lines[0]&&"#!"===lines[0].substr(0,2)&&(-1!==lines[0].indexOf("node")&&(state.option.node=!0),lines[0]=""),this.emitter=new events.EventEmitter,this.source=source,this.setLines(lines),this.prereg=!0,this.line=0,this.char=1,this.from=1,this.input="",this.inComment=!1,this.context=[],this.templateStarts=[];for(var i=0;state.option.indent>i;i+=1)state.tab+=" ";this.ignoreLinterErrors=!1}var _=_dereq_("../lodash"),events=_dereq_("events"),reg=_dereq_("./reg.js"),state=_dereq_("./state.js").state,unicodeData=_dereq_("../data/ascii-identifier-data.js"),asciiIdentifierStartTable=unicodeData.asciiIdentifierStartTable,asciiIdentifierPartTable=unicodeData.asciiIdentifierPartTable,Token={Identifier:1,Punctuator:2,NumericLiteral:3,StringLiteral:4,Comment:5,Keyword:6,NullLiteral:7,BooleanLiteral:8,RegExp:9,TemplateHead:10,TemplateMiddle:11,TemplateTail:12,NoSubstTemplate:13},Context={Block:1,Template:2};Lexer.prototype={_lines:[],inContext:function(ctxType){return this.context.length>0&&this.context[this.context.length-1].type===ctxType},pushContext:function(ctxType){this.context.push({type:ctxType})},popContext:function(){return this.context.pop()},isContext:function(context){return this.context.length>0&&this.context[this.context.length-1]===context},currentContext:function(){return this.context.length>0&&this.context[this.context.length-1]},getLines:function(){return this._lines=state.lines,this._lines},setLines:function(val){this._lines=val,state.lines=this._lines},peek:function(i){return this.input.charAt(i||0)},skip:function(i){i=i||1,this.char+=i,this.input=this.input.slice(i)},on:function(names,listener){names.split(" ").forEach(function(name){this.emitter.on(name,listener)}.bind(this))},trigger:function(){this.emitter.emit.apply(this.emitter,Array.prototype.slice.call(arguments))},triggerAsync:function(type,args,checks,fn){checks.push(function(){fn()&&this.trigger(type,args)}.bind(this))},scanPunctuator:function(){var ch2,ch3,ch4,ch1=this.peek();switch(ch1){case".":if(/^[0-9]$/.test(this.peek(1)))return null;if("."===this.peek(1)&&"."===this.peek(2))return{type:Token.Punctuator,value:"..."};case"(":case")":case";":case",":case"[":case"]":case":":case"~":case"?":return{type:Token.Punctuator,value:ch1};case"{":return this.pushContext(Context.Block),{type:Token.Punctuator,value:ch1};case"}":return this.inContext(Context.Block)&&this.popContext(),{type:Token.Punctuator,value:ch1};case"#":return{type:Token.Punctuator,value:ch1};case"":return null}return ch2=this.peek(1),ch3=this.peek(2),ch4=this.peek(3),">"===ch1&&">"===ch2&&">"===ch3&&"="===ch4?{type:Token.Punctuator,value:">>>="}:"="===ch1&&"="===ch2&&"="===ch3?{type:Token.Punctuator,value:"==="}:"!"===ch1&&"="===ch2&&"="===ch3?{type:Token.Punctuator,value:"!=="}:">"===ch1&&">"===ch2&&">"===ch3?{type:Token.Punctuator,value:">>>"}:"<"===ch1&&"<"===ch2&&"="===ch3?{type:Token.Punctuator,value:"<<="}:">"===ch1&&">"===ch2&&"="===ch3?{type:Token.Punctuator,value:">>="}:"="===ch1&&">"===ch2?{type:Token.Punctuator,value:ch1+ch2}:ch1===ch2&&"+-<>&|".indexOf(ch1)>=0?{type:Token.Punctuator,value:ch1+ch2}:"<>=!+-*%&|^".indexOf(ch1)>=0?"="===ch2?{type:Token.Punctuator,value:ch1+ch2}:{type:Token.Punctuator,value:ch1}:"/"===ch1?"="===ch2?{type:Token.Punctuator,value:"/="}:{type:Token.Punctuator,value:"/"}:null},scanComments:function(){function commentToken(label,body,opt){var special=["jshint","jslint","members","member","globals","global","exported"],isSpecial=!1,value=label+body,commentType="plain";return opt=opt||{},opt.isMultiline&&(value+="*/"),body=body.replace(/\\n/g," "),"/*"===label&®.fallsThrough.test(body)&&(isSpecial=!0,commentType="falls through"),special.forEach(function(str){if(!isSpecial&&("//"!==label||"jshint"===str)&&(" "===body.charAt(str.length)&&body.substr(0,str.length)===str&&(isSpecial=!0,label+=str,body=body.substr(str.length)),isSpecial||" "!==body.charAt(0)||" "!==body.charAt(str.length+1)||body.substr(1,str.length)!==str||(isSpecial=!0,label=label+" "+str,body=body.substr(str.length+1)),isSpecial))switch(str){case"member":commentType="members";break;case"global":commentType="globals";break;default:var options=body.split(":").map(function(v){return v.replace(/^\\s+/,"").replace(/\\s+$/,"")});if(2===options.length)switch(options[0]){case"ignore":switch(options[1]){case"start":self.ignoringLinterErrors=!0,isSpecial=!1;break;case"end":self.ignoringLinterErrors=!1,isSpecial=!1}}commentType=str}}),{type:Token.Comment,commentType:commentType,value:value,body:body,isSpecial:isSpecial,isMultiline:opt.isMultiline||!1,isMalformed:opt.isMalformed||!1}}var ch1=this.peek(),ch2=this.peek(1),rest=this.input.substr(2),startLine=this.line,startChar=this.char,self=this;if("*"===ch1&&"/"===ch2)return this.trigger("error",{code:"E018",line:startLine,character:startChar}),this.skip(2),null;if("/"!==ch1||"*"!==ch2&&"/"!==ch2)return null;if("/"===ch2)return this.skip(this.input.length),commentToken("//",rest);var body="";if("*"===ch2){for(this.inComment=!0,this.skip(2);"*"!==this.peek()||"/"!==this.peek(1);)if(""===this.peek()){if(body+="\\n",!this.nextLine())return this.trigger("error",{code:"E017",line:startLine,character:startChar}),this.inComment=!1,commentToken("/*",body,{isMultiline:!0,isMalformed:!0})}else body+=this.peek(),this.skip();return this.skip(2),this.inComment=!1,commentToken("/*",body,{isMultiline:!0})}},scanKeyword:function(){var result=/^[a-zA-Z_$][a-zA-Z0-9_$]*/.exec(this.input),keywords=["if","in","do","var","for","new","try","let","this","else","case","void","with","enum","while","break","catch","throw","const","yield","class","super","return","typeof","delete","switch","export","import","default","finally","extends","function","continue","debugger","instanceof"];return result&&keywords.indexOf(result[0])>=0?{type:Token.Keyword,value:result[0]}:null},scanIdentifier:function(){function isNonAsciiIdentifierStart(code){return code>256}function isNonAsciiIdentifierPart(code){return code>256}function isHexDigit(str){return/^[0-9a-fA-F]$/.test(str)}function removeEscapeSequences(id){return id.replace(/\\\\u([0-9a-fA-F]{4})/g,function(m0,codepoint){return String.fromCharCode(parseInt(codepoint,16))})}var type,char,id="",index=0,readUnicodeEscapeSequence=function(){if(index+=1,"u"!==this.peek(index))return null;var code,ch1=this.peek(index+1),ch2=this.peek(index+2),ch3=this.peek(index+3),ch4=this.peek(index+4);return isHexDigit(ch1)&&isHexDigit(ch2)&&isHexDigit(ch3)&&isHexDigit(ch4)?(code=parseInt(ch1+ch2+ch3+ch4,16),asciiIdentifierPartTable[code]||isNonAsciiIdentifierPart(code)?(index+=5,"\\\\u"+ch1+ch2+ch3+ch4):null):null}.bind(this),getIdentifierStart=function(){var chr=this.peek(index),code=chr.charCodeAt(0);return 92===code?readUnicodeEscapeSequence():128>code?asciiIdentifierStartTable[code]?(index+=1,chr):null:isNonAsciiIdentifierStart(code)?(index+=1,chr):null}.bind(this),getIdentifierPart=function(){var chr=this.peek(index),code=chr.charCodeAt(0);return 92===code?readUnicodeEscapeSequence():128>code?asciiIdentifierPartTable[code]?(index+=1,chr):null:isNonAsciiIdentifierPart(code)?(index+=1,chr):null}.bind(this);if(char=getIdentifierStart(),null===char)return null;for(id=char;char=getIdentifierPart(),null!==char;)id+=char;switch(id){case"true":case"false":type=Token.BooleanLiteral;break;case"null":type=Token.NullLiteral;break;default:type=Token.Identifier}return{type:type,value:removeEscapeSequences(id),text:id,tokenLength:id.length}},scanNumericLiteral:function(){function isDecimalDigit(str){return/^[0-9]$/.test(str)}function isOctalDigit(str){return/^[0-7]$/.test(str)}function isBinaryDigit(str){return/^[01]$/.test(str)}function isHexDigit(str){return/^[0-9a-fA-F]$/.test(str)}function isIdentifierStart(ch){return"$"===ch||"_"===ch||"\\\\"===ch||ch>="a"&&"z">=ch||ch>="A"&&"Z">=ch}var bad,index=0,value="",length=this.input.length,char=this.peek(index),isAllowedDigit=isDecimalDigit,base=10,isLegacy=!1;if("."!==char&&!isDecimalDigit(char))return null;if("."!==char){for(value=this.peek(index),index+=1,char=this.peek(index),"0"===value&&(("x"===char||"X"===char)&&(isAllowedDigit=isHexDigit,base=16,index+=1,value+=char),("o"===char||"O"===char)&&(isAllowedDigit=isOctalDigit,base=8,state.inES6(!0)||this.trigger("warning",{code:"W119",line:this.line,character:this.char,data:["Octal integer literal","6"]}),index+=1,value+=char),("b"===char||"B"===char)&&(isAllowedDigit=isBinaryDigit,base=2,state.inES6(!0)||this.trigger("warning",{code:"W119",line:this.line,character:this.char,data:["Binary integer literal","6"]}),index+=1,value+=char),isOctalDigit(char)&&(isAllowedDigit=isOctalDigit,base=8,isLegacy=!0,bad=!1,index+=1,value+=char),!isOctalDigit(char)&&isDecimalDigit(char)&&(index+=1,value+=char));length>index;){if(char=this.peek(index),isLegacy&&isDecimalDigit(char))bad=!0;else if(!isAllowedDigit(char))break;value+=char,index+=1}if(isAllowedDigit!==isDecimalDigit)return!isLegacy&&2>=value.length?{type:Token.NumericLiteral,value:value,isMalformed:!0}:length>index&&(char=this.peek(index),isIdentifierStart(char))?null:{type:Token.NumericLiteral,value:value,base:base,isLegacy:isLegacy,isMalformed:!1}}if("."===char)for(value+=char,index+=1;length>index&&(char=this.peek(index),isDecimalDigit(char));)value+=char,index+=1;if("e"===char||"E"===char){if(value+=char,index+=1,char=this.peek(index),("+"===char||"-"===char)&&(value+=this.peek(index),index+=1),char=this.peek(index),!isDecimalDigit(char))return null;for(value+=char,index+=1;length>index&&(char=this.peek(index),isDecimalDigit(char));)value+=char,index+=1}return length>index&&(char=this.peek(index),isIdentifierStart(char))?null:{type:Token.NumericLiteral,value:value,base:base,isMalformed:!isFinite(value)}},scanEscapeSequence:function(checks){var allowNewLine=!1,jump=1;this.skip();var char=this.peek();switch(char){case"\'":this.triggerAsync("warning",{code:"W114",line:this.line,character:this.char,data:["\\\\\'"]},checks,function(){return state.jsonMode});break;case"b":char="\\\\b";break;case"f":char="\\\\f";break;case"n":char="\\\\n";break;case"r":char="\\\\r";break;case"t":char="\\\\t";break;case"0":char="\\\\0";var n=parseInt(this.peek(1),10);this.triggerAsync("warning",{code:"W115",line:this.line,character:this.char},checks,function(){return n>=0&&7>=n&&state.isStrict()});break;case"u":var hexCode=this.input.substr(1,4),code=parseInt(hexCode,16);isNaN(code)&&this.trigger("warning",{code:"W052",line:this.line,character:this.char,data:["u"+hexCode]}),char=String.fromCharCode(code),jump=5;break;case"v":this.triggerAsync("warning",{code:"W114",line:this.line,character:this.char,data:["\\\\v"]},checks,function(){return state.jsonMode}),char="\v";break;case"x":var x=parseInt(this.input.substr(1,2),16);this.triggerAsync("warning",{code:"W114",line:this.line,character:this.char,data:["\\\\x-"]},checks,function(){return state.jsonMode}),char=String.fromCharCode(x),jump=3;break;case"\\\\":char="\\\\\\\\";break;case\'"\':char=\'\\\\"\';break;case"/":break;case"":allowNewLine=!0,char=""}return{"char":char,jump:jump,allowNewLine:allowNewLine}},scanTemplateLiteral:function(checks){var tokenType,ch,value="",startLine=this.line,startChar=this.char,depth=this.templateStarts.length;if(!state.inES6(!0))return null;if("`"===this.peek())tokenType=Token.TemplateHead,this.templateStarts.push({line:this.line,"char":this.char}),depth=this.templateStarts.length,this.skip(1),this.pushContext(Context.Template);else{if(!this.inContext(Context.Template)||"}"!==this.peek())return null;tokenType=Token.TemplateMiddle}for(;"`"!==this.peek();){for(;""===(ch=this.peek());)if(value+="\\n",!this.nextLine()){var startPos=this.templateStarts.pop();return this.trigger("error",{code:"E052",line:startPos.line,character:startPos.char}),{type:tokenType,value:value,startLine:startLine,startChar:startChar,isUnclosed:!0,depth:depth,context:this.popContext()}}if("$"===ch&&"{"===this.peek(1))return value+="${",this.skip(2),{type:tokenType,value:value,startLine:startLine,startChar:startChar,isUnclosed:!1,depth:depth,context:this.currentContext()};\nif("\\\\"===ch){var escape=this.scanEscapeSequence(checks);value+=escape.char,this.skip(escape.jump)}else"`"!==ch&&(value+=ch,this.skip(1))}return tokenType=tokenType===Token.TemplateHead?Token.NoSubstTemplate:Token.TemplateTail,this.skip(1),this.templateStarts.pop(),{type:tokenType,value:value,startLine:startLine,startChar:startChar,isUnclosed:!1,depth:depth,context:this.popContext()}},scanStringLiteral:function(checks){var quote=this.peek();if(\'"\'!==quote&&"\'"!==quote)return null;this.triggerAsync("warning",{code:"W108",line:this.line,character:this.char},checks,function(){return state.jsonMode&&\'"\'!==quote});var value="",startLine=this.line,startChar=this.char,allowNewLine=!1;for(this.skip();this.peek()!==quote;)if(""===this.peek()){if(allowNewLine?(allowNewLine=!1,this.triggerAsync("warning",{code:"W043",line:this.line,character:this.char},checks,function(){return!state.option.multistr}),this.triggerAsync("warning",{code:"W042",line:this.line,character:this.char},checks,function(){return state.jsonMode&&state.option.multistr})):this.trigger("warning",{code:"W112",line:this.line,character:this.char}),!this.nextLine())return this.trigger("error",{code:"E029",line:startLine,character:startChar}),{type:Token.StringLiteral,value:value,startLine:startLine,startChar:startChar,isUnclosed:!0,quote:quote}}else{allowNewLine=!1;var char=this.peek(),jump=1;if(" ">char&&this.trigger("warning",{code:"W113",line:this.line,character:this.char,data:["<non-printable>"]}),"\\\\"===char){var parsed=this.scanEscapeSequence(checks);char=parsed.char,jump=parsed.jump,allowNewLine=parsed.allowNewLine}value+=char,this.skip(jump)}return this.skip(),{type:Token.StringLiteral,value:value,startLine:startLine,startChar:startChar,isUnclosed:!1,quote:quote}},scanRegExp:function(){var terminated,index=0,length=this.input.length,char=this.peek(),value=char,body="",flags=[],malformed=!1,isCharSet=!1,scanUnexpectedChars=function(){" ">char&&(malformed=!0,this.trigger("warning",{code:"W048",line:this.line,character:this.char})),"<"===char&&(malformed=!0,this.trigger("warning",{code:"W049",line:this.line,character:this.char,data:[char]}))}.bind(this);if(!this.prereg||"/"!==char)return null;for(index+=1,terminated=!1;length>index;)if(char=this.peek(index),value+=char,body+=char,isCharSet)"]"===char&&("\\\\"!==this.peek(index-1)||"\\\\"===this.peek(index-2))&&(isCharSet=!1),"\\\\"===char&&(index+=1,char=this.peek(index),body+=char,value+=char,scanUnexpectedChars()),index+=1;else{if("\\\\"===char){if(index+=1,char=this.peek(index),body+=char,value+=char,scanUnexpectedChars(),"/"===char){index+=1;continue}if("["===char){index+=1;continue}}if("["!==char){if("/"===char){body=body.substr(0,body.length-1),terminated=!0,index+=1;break}index+=1}else isCharSet=!0,index+=1}if(!terminated)return this.trigger("error",{code:"E015",line:this.line,character:this.from}),void this.trigger("fatal",{line:this.line,from:this.from});for(;length>index&&(char=this.peek(index),/[gim]/.test(char));)flags.push(char),value+=char,index+=1;try{RegExp(body,flags.join(""))}catch(err){malformed=!0,this.trigger("error",{code:"E016",line:this.line,character:this.char,data:[err.message]})}return{type:Token.RegExp,value:value,flags:flags,isMalformed:malformed}},scanNonBreakingSpaces:function(){return state.option.nonbsp?this.input.search(/(\\u00A0)/):-1},scanUnsafeChars:function(){return this.input.search(reg.unsafeChars)},next:function(checks){this.from=this.char;var start;if(/\\s/.test(this.peek()))for(start=this.char;/\\s/.test(this.peek());)this.from+=1,this.skip();var match=this.scanComments()||this.scanStringLiteral(checks)||this.scanTemplateLiteral(checks);return match?match:(match=this.scanRegExp()||this.scanPunctuator()||this.scanKeyword()||this.scanIdentifier()||this.scanNumericLiteral(),match?(this.skip(match.tokenLength||match.value.length),match):null)},nextLine:function(){var char;if(this.line>=this.getLines().length)return!1;this.input=this.getLines()[this.line],this.line+=1,this.char=1,this.from=1;var inputTrimmed=this.input.trim(),startsWith=function(){return _.some(arguments,function(prefix){return 0===inputTrimmed.indexOf(prefix)})},endsWith=function(){return _.some(arguments,function(suffix){return-1!==inputTrimmed.indexOf(suffix,inputTrimmed.length-suffix.length)})};if(this.ignoringLinterErrors===!0&&(startsWith("/*","//")||this.inComment&&endsWith("*/")||(this.input="")),char=this.scanNonBreakingSpaces(),char>=0&&this.trigger("warning",{code:"W125",line:this.line,character:char+1}),this.input=this.input.replace(/\\t/g,state.tab),char=this.scanUnsafeChars(),char>=0&&this.trigger("warning",{code:"W100",line:this.line,character:char}),!this.ignoringLinterErrors&&state.option.maxlen&&state.option.maxlen<this.input.length){var inComment=this.inComment||startsWith.call(inputTrimmed,"//")||startsWith.call(inputTrimmed,"/*"),shouldTriggerError=!inComment||!reg.maxlenException.test(inputTrimmed);shouldTriggerError&&this.trigger("warning",{code:"W101",line:this.line,character:this.input.length})}return!0},start:function(){this.nextLine()},token:function(){function isReserved(token,isProperty){if(!token.reserved)return!1;var meta=token.meta;if(meta&&meta.isFutureReservedWord&&state.inES5()){if(!meta.es5)return!1;if(meta.strictOnly&&!state.option.strict&&!state.isStrict())return!1;if(isProperty)return!1}return!0}for(var token,checks=asyncTrigger(),create=function(type,value,isProperty,token){var obj;if("(endline)"!==type&&"(end)"!==type&&(this.prereg=!1),"(punctuator)"===type){switch(value){case".":case")":case"~":case"#":case"]":case"++":case"--":this.prereg=!1;break;default:this.prereg=!0}obj=Object.create(state.syntax[value]||state.syntax["(error)"])}return"(identifier)"===type&&(("return"===value||"case"===value||"typeof"===value)&&(this.prereg=!0),_.has(state.syntax,value)&&(obj=Object.create(state.syntax[value]||state.syntax["(error)"]),isReserved(obj,isProperty&&"(identifier)"===type)||(obj=null))),obj||(obj=Object.create(state.syntax[type])),obj.identifier="(identifier)"===type,obj.type=obj.type||type,obj.value=value,obj.line=this.line,obj.character=this.char,obj.from=this.from,obj.identifier&&token&&(obj.raw_text=token.text||token.value),token&&token.startLine&&token.startLine!==this.line&&(obj.startLine=token.startLine),token&&token.context&&(obj.context=token.context),token&&token.depth&&(obj.depth=token.depth),token&&token.isUnclosed&&(obj.isUnclosed=token.isUnclosed),isProperty&&obj.identifier&&(obj.isProperty=isProperty),obj.check=checks.check,obj}.bind(this);;){if(!this.input.length)return this.nextLine()?create("(endline)",""):this.exhausted?null:(this.exhausted=!0,create("(end)",""));if(token=this.next(checks))switch(token.type){case Token.StringLiteral:return this.triggerAsync("String",{line:this.line,"char":this.char,from:this.from,startLine:token.startLine,startChar:token.startChar,value:token.value,quote:token.quote},checks,function(){return!0}),create("(string)",token.value,null,token);case Token.TemplateHead:return this.trigger("TemplateHead",{line:this.line,"char":this.char,from:this.from,startLine:token.startLine,startChar:token.startChar,value:token.value}),create("(template)",token.value,null,token);case Token.TemplateMiddle:return this.trigger("TemplateMiddle",{line:this.line,"char":this.char,from:this.from,startLine:token.startLine,startChar:token.startChar,value:token.value}),create("(template middle)",token.value,null,token);case Token.TemplateTail:return this.trigger("TemplateTail",{line:this.line,"char":this.char,from:this.from,startLine:token.startLine,startChar:token.startChar,value:token.value}),create("(template tail)",token.value,null,token);case Token.NoSubstTemplate:return this.trigger("NoSubstTemplate",{line:this.line,"char":this.char,from:this.from,startLine:token.startLine,startChar:token.startChar,value:token.value}),create("(no subst template)",token.value,null,token);case Token.Identifier:this.triggerAsync("Identifier",{line:this.line,"char":this.char,from:this.form,name:token.value,raw_name:token.text,isProperty:"."===state.tokens.curr.id},checks,function(){return!0});case Token.Keyword:case Token.NullLiteral:case Token.BooleanLiteral:return create("(identifier)",token.value,"."===state.tokens.curr.id,token);case Token.NumericLiteral:return token.isMalformed&&this.trigger("warning",{code:"W045",line:this.line,character:this.char,data:[token.value]}),this.triggerAsync("warning",{code:"W114",line:this.line,character:this.char,data:["0x-"]},checks,function(){return 16===token.base&&state.jsonMode}),this.triggerAsync("warning",{code:"W115",line:this.line,character:this.char},checks,function(){return state.isStrict()&&8===token.base&&token.isLegacy}),this.trigger("Number",{line:this.line,"char":this.char,from:this.from,value:token.value,base:token.base,isMalformed:token.malformed}),create("(number)",token.value);case Token.RegExp:return create("(regexp)",token.value);case Token.Comment:if(state.tokens.curr.comment=!0,token.isSpecial)return{id:"(comment)",value:token.value,body:token.body,type:token.commentType,isSpecial:token.isSpecial,line:this.line,character:this.char,from:this.from};break;case"":break;default:return create("(punctuator)",token.value)}else this.input.length&&(this.trigger("error",{code:"E024",line:this.line,character:this.char,data:[this.peek()]}),this.input="")}}},exports.Lexer=Lexer,exports.Context=Context},{"../data/ascii-identifier-data.js":"/node_modules/jshint/data/ascii-identifier-data.js","../lodash":"/node_modules/jshint/lodash.js","./reg.js":"/node_modules/jshint/src/reg.js","./state.js":"/node_modules/jshint/src/state.js",events:"/node_modules/browserify/node_modules/events/events.js"}],"/node_modules/jshint/src/messages.js":[function(_dereq_,module,exports){"use strict";var _=_dereq_("../lodash"),errors={E001:"Bad option: \'{a}\'.",E002:"Bad option value.",E003:"Expected a JSON value.",E004:"Input is neither a string nor an array of strings.",E005:"Input is empty.",E006:"Unexpected early end of program.",E007:\'Missing "use strict" statement.\',E008:"Strict violation.",E009:"Option \'validthis\' can\'t be used in a global scope.",E010:"\'with\' is not allowed in strict mode.",E011:"\'{a}\' has already been declared.",E012:"const \'{a}\' is initialized to \'undefined\'.",E013:"Attempting to override \'{a}\' which is a constant.",E014:"A regular expression literal can be confused with \'/=\'.",E015:"Unclosed regular expression.",E016:"Invalid regular expression.",E017:"Unclosed comment.",E018:"Unbegun comment.",E019:"Unmatched \'{a}\'.",E020:"Expected \'{a}\' to match \'{b}\' from line {c} and instead saw \'{d}\'.",E021:"Expected \'{a}\' and instead saw \'{b}\'.",E022:"Line breaking error \'{a}\'.",E023:"Missing \'{a}\'.",E024:"Unexpected \'{a}\'.",E025:"Missing \':\' on a case clause.",E026:"Missing \'}\' to match \'{\' from line {a}.",E027:"Missing \']\' to match \'[\' from line {a}.",E028:"Illegal comma.",E029:"Unclosed string.",E030:"Expected an identifier and instead saw \'{a}\'.",E031:"Bad assignment.",E032:"Expected a small integer or \'false\' and instead saw \'{a}\'.",E033:"Expected an operator and instead saw \'{a}\'.",E034:"get/set are ES5 features.",E035:"Missing property name.",E036:"Expected to see a statement and instead saw a block.",E037:null,E038:null,E039:"Function declarations are not invocable. Wrap the whole function invocation in parens.",E040:"Each value should have its own case label.",E041:"Unrecoverable syntax error.",E042:"Stopping.",E043:"Too many errors.",E044:null,E045:"Invalid for each loop.",E046:"A yield statement shall be within a generator function (with syntax: `function*`)",E047:null,E048:"{a} declaration not directly within block.",E049:"A {a} cannot be named \'{b}\'.",E050:"Mozilla acequires the yield expression to be parenthesized here.",E051:null,E052:"Unclosed template literal.",E053:"Export declaration must be in global scope.",E054:"Class properties must be methods. Expected \'(\' but instead saw \'{a}\'.",E055:"The \'{a}\' option cannot be set after any executable code.",E056:"\'{a}\' was used before it was declared, which is illegal for \'{b}\' variables.",E057:"Invalid meta property: \'{a}.{b}\'.",E058:"Missing semicolon."},warnings={W001:"\'hasOwnProperty\' is a really bad name.",W002:"Value of \'{a}\' may be overwritten in IE 8 and earlier.",W003:"\'{a}\' was used before it was defined.",W004:"\'{a}\' is already defined.",W005:"A dot following a number can be confused with a decimal point.",W006:"Confusing minuses.",W007:"Confusing plusses.",W008:"A leading decimal point can be confused with a dot: \'{a}\'.",W009:"The array literal notation [] is preferable.",W010:"The object literal notation {} is preferable.",W011:null,W012:null,W013:null,W014:"Bad line breaking before \'{a}\'.",W015:null,W016:"Unexpected use of \'{a}\'.",W017:"Bad operand.",W018:"Confusing use of \'{a}\'.",W019:"Use the isNaN function to compare with NaN.",W020:"Read only.",W021:"Reassignment of \'{a}\', which is is a {b}. Use \'var\' or \'let\' to declare bindings that may change.",W022:"Do not assign to the exception parameter.",W023:"Expected an identifier in an assignment and instead saw a function invocation.",W024:"Expected an identifier and instead saw \'{a}\' (a reserved word).",W025:"Missing name in function declaration.",W026:"Inner functions should be listed at the top of the outer function.",W027:"Unreachable \'{a}\' after \'{b}\'.",W028:"Label \'{a}\' on {b} statement.",W030:"Expected an assignment or function call and instead saw an expression.",W031:"Do not use \'new\' for side effects.",W032:"Unnecessary semicolon.",W033:"Missing semicolon.",W034:\'Unnecessary directive "{a}".\',W035:"Empty block.",W036:"Unexpected /*member \'{a}\'.",W037:"\'{a}\' is a statement label.",W038:"\'{a}\' used out of scope.",W039:"\'{a}\' is not allowed.",W040:"Possible strict violation.",W041:"Use \'{a}\' to compare with \'{b}\'.",W042:"Avoid EOL escaping.",W043:"Bad escaping of EOL. Use option multistr if needed.",W044:"Bad or unnecessary escaping.",W045:"Bad number \'{a}\'.",W046:"Don\'t use extra leading zeros \'{a}\'.",W047:"A trailing decimal point can be confused with a dot: \'{a}\'.",W048:"Unexpected control character in regular expression.",W049:"Unexpected escaped character \'{a}\' in regular expression.",W050:"JavaScript URL.",W051:"Variables should not be deleted.",W052:"Unexpected \'{a}\'.",W053:"Do not use {a} as a constructor.",W054:"The Function constructor is a form of eval.",W055:"A constructor name should start with an uppercase letter.",W056:"Bad constructor.",W057:"Weird construction. Is \'new\' necessary?",W058:"Missing \'()\' invoking a constructor.",W059:"Avoid arguments.{a}.",W060:"document.write can be a form of eval.",W061:"eval can be harmful.",W062:"Wrap an immediate function invocation in parens to assist the reader in understanding that the expression is the result of a function, and not the function itself.",W063:"Math is not a function.",W064:"Missing \'new\' prefix when invoking a constructor.",W065:"Missing radix parameter.",W066:"Implied eval. Consider passing a function instead of a string.",W067:"Bad invocation.",W068:"Wrapping non-IIFE function literals in parens is unnecessary.",W069:"[\'{a}\'] is better written in dot notation.",W070:"Extra comma. (it breaks older versions of IE)",W071:"This function has too many statements. ({a})",W072:"This function has too many parameters. ({a})",W073:"Blocks are nested too deeply. ({a})",W074:"This function\'s cyclomatic complexity is too high. ({a})",W075:"Duplicate {a} \'{b}\'.",W076:"Unexpected parameter \'{a}\' in get {b} function.",W077:"Expected a single parameter in set {a} function.",W078:"Setter is defined without getter.",W079:"Redefinition of \'{a}\'.",W080:"It\'s not necessary to initialize \'{a}\' to \'undefined\'.",W081:null,W082:"Function declarations should not be placed in blocks. Use a function expression or move the statement to the top of the outer function.",W083:"Don\'t make functions within a loop.",W084:"Assignment in conditional expression",W085:"Don\'t use \'with\'.",W086:"Expected a \'break\' statement before \'{a}\'.",W087:"Forgotten \'debugger\' statement?",W088:"Creating global \'for\' variable. Should be \'for (var {a} ...\'.",W089:"The body of a for in should be wrapped in an if statement to filter unwanted properties from the prototype.",W090:"\'{a}\' is not a statement label.",W091:null,W093:"Did you mean to return a conditional instead of an assignment?",W094:"Unexpected comma.",W095:"Expected a string and instead saw {a}.",W096:"The \'{a}\' key may produce unexpected results.",W097:\'Use the function form of "use strict".\',W098:"\'{a}\' is defined but never used.",W099:null,W100:"This character may get silently deleted by one or more browsers.",W101:"Line is too long.",W102:null,W103:"The \'{a}\' property is deprecated.",W104:"\'{a}\' is available in ES{b} (use \'esversion: {b}\') or Mozilla JS extensions (use moz).",W105:"Unexpected {a} in \'{b}\'.",W106:"Identifier \'{a}\' is not in camel case.",W107:"Script URL.",W108:"Strings must use doublequote.",W109:"Strings must use singlequote.",W110:"Mixed double and single quotes.",W112:"Unclosed string.",W113:"Control character in string: {a}.",W114:"Avoid {a}.",W115:"Octal literals are not allowed in strict mode.",W116:"Expected \'{a}\' and instead saw \'{b}\'.",W117:"\'{a}\' is not defined.",W118:"\'{a}\' is only available in Mozilla JavaScript extensions (use moz option).",W119:"\'{a}\' is only available in ES{b} (use \'esversion: {b}\').",W120:"You might be leaking a variable ({a}) here.",W121:"Extending prototype of native object: \'{a}\'.",W122:"Invalid typeof value \'{a}\'",W123:"\'{a}\' is already defined in outer scope.",W124:"A generator function shall contain a yield statement.",W125:"This line contains non-breaking spaces: http://jshint.com/doc/options/#nonbsp",W126:"Unnecessary grouping operator.",W127:"Unexpected use of a comma operator.",W128:"Empty array elements acequire elision=true.",W129:"\'{a}\' is defined in a future version of JavaScript. Use a different variable name to avoid migration issues.",W130:"Invalid element after rest element.",W131:"Invalid parameter after rest parameter.",W132:"`var` declarations are forbidden. Use `let` or `const` instead.",W133:"Invalid for-{a} loop left-hand-side: {b}.",W134:"The \'{a}\' option is only available when linting ECMAScript {b} code.",W135:"{a} may not be supported by non-browser environments.",W136:"\'{a}\' must be in function scope.",W137:"Empty destructuring.",W138:"Regular parameters should not come after default parameters."},info={I001:"Comma warnings can be turned off with \'laxcomma\'.",I002:null,I003:"ES5 option is now set per default"};exports.errors={},exports.warnings={},exports.info={},_.each(errors,function(desc,code){exports.errors[code]={code:code,desc:desc}}),_.each(warnings,function(desc,code){exports.warnings[code]={code:code,desc:desc}}),_.each(info,function(desc,code){exports.info[code]={code:code,desc:desc}})},{"../lodash":"/node_modules/jshint/lodash.js"}],"/node_modules/jshint/src/name-stack.js":[function(_dereq_,module){"use strict";function NameStack(){this._stack=[]}Object.defineProperty(NameStack.prototype,"length",{get:function(){return this._stack.length}}),NameStack.prototype.push=function(){this._stack.push(null)},NameStack.prototype.pop=function(){this._stack.pop()},NameStack.prototype.set=function(token){this._stack[this.length-1]=token},NameStack.prototype.infer=function(){var type,nameToken=this._stack[this.length-1],prefix="";return nameToken&&"class"!==nameToken.type||(nameToken=this._stack[this.length-2]),nameToken?(type=nameToken.type,"(string)"!==type&&"(number)"!==type&&"(identifier)"!==type&&"default"!==type?"(expression)":(nameToken.accessorType&&(prefix=nameToken.accessorType+" "),prefix+nameToken.value)):"(empty)"},module.exports=NameStack},{}],"/node_modules/jshint/src/options.js":[function(_dereq_,module,exports){"use strict";exports.bool={enforcing:{bitwise:!0,freeze:!0,camelcase:!0,curly:!0,eqeqeq:!0,futurehostile:!0,notypeof:!0,es3:!0,es5:!0,forin:!0,funcscope:!0,immed:!0,iterator:!0,newcap:!0,noarg:!0,nocomma:!0,noempty:!0,nonbsp:!0,nonew:!0,undef:!0,singleGroups:!1,varstmt:!1,enforceall:!1},relaxing:{asi:!0,multistr:!0,debug:!0,boss:!0,evil:!0,globalstrict:!0,plusplus:!0,proto:!0,scripturl:!0,sub:!0,supernew:!0,laxbreak:!0,laxcomma:!0,validthis:!0,withstmt:!0,moz:!0,noyield:!0,eqnull:!0,lastsemic:!0,loopfunc:!0,expr:!0,esnext:!0,elision:!0},environments:{mootools:!0,couch:!0,jasmine:!0,jquery:!0,node:!0,qunit:!0,rhino:!0,shelljs:!0,prototypejs:!0,yui:!0,mocha:!0,module:!0,wsh:!0,worker:!0,nonstandard:!0,browser:!0,browserify:!0,devel:!0,dojo:!0,typed:!0,phantom:!0},obsolete:{onecase:!0,regexp:!0,regexdash:!0}},exports.val={maxlen:!1,indent:!1,maxerr:!1,predef:!1,globals:!1,quotmark:!1,scope:!1,maxstatements:!1,maxdepth:!1,maxparams:!1,maxcomplexity:!1,shadow:!1,strict:!0,unused:!0,latedef:!1,ignore:!1,ignoreDelimiters:!1,esversion:5},exports.inverted={bitwise:!0,forin:!0,newcap:!0,plusplus:!0,regexp:!0,undef:!0,eqeqeq:!0,strict:!0},exports.validNames=Object.keys(exports.val).concat(Object.keys(exports.bool.relaxing)).concat(Object.keys(exports.bool.enforcing)).concat(Object.keys(exports.bool.obsolete)).concat(Object.keys(exports.bool.environments)),exports.renamed={eqeq:"eqeqeq",windows:"wsh",sloppy:"strict"},exports.removed={nomen:!0,onevar:!0,passfail:!0,white:!0,gcl:!0,smarttabs:!0,trailing:!0},exports.noenforceall={varstmt:!0,strict:!0}},{}],"/node_modules/jshint/src/reg.js":[function(_dereq_,module,exports){"use strict";exports.unsafeString=/@cc|<\\/?|script|\\]\\s*\\]|<\\s*!|</i,exports.unsafeChars=/[\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]/,exports.needEsc=/[\\u0000-\\u001f&<"\\/\\\\\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]/,exports.needEscGlobal=/[\\u0000-\\u001f&<"\\/\\\\\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]/g,exports.starSlash=/\\*\\//,exports.identifier=/^([a-zA-Z_$][a-zA-Z0-9_$]*)$/,exports.javascriptURL=/^(?:javascript|jscript|ecmascript|vbscript|livescript)\\s*:/i,exports.fallsThrough=/^\\s*falls?\\sthrough\\s*$/,exports.maxlenException=/^(?:(?:\\/\\/|\\/\\*|\\*) ?)?[^ ]+$/},{}],"/node_modules/jshint/src/scope-manager.js":[function(_dereq_,module){"use strict";var _=_dereq_("../lodash"),events=_dereq_("events"),marker={},scopeManager=function(state,predefined,exported,declared){function _newScope(type){_current={"(labels)":Object.create(null),"(usages)":Object.create(null),"(breakLabels)":Object.create(null),"(parent)":_current,"(type)":type,"(params)":"functionparams"===type||"catchparams"===type?[]:null},_scopeStack.push(_current)}function warning(code,token){emitter.emit("warning",{code:code,token:token,data:_.slice(arguments,2)})}function error(code,token){emitter.emit("warning",{code:code,token:token,data:_.slice(arguments,2)})}function _setupUsages(labelName){_current["(usages)"][labelName]||(_current["(usages)"][labelName]={"(modified)":[],"(reassigned)":[],"(tokens)":[]})}function _checkForUnused(){if("functionparams"===_current["(type)"])return _checkParams(),void 0;var curentLabels=_current["(labels)"];for(var labelName in curentLabels)curentLabels[labelName]&&"exception"!==curentLabels[labelName]["(type)"]&&curentLabels[labelName]["(unused)"]&&_warnUnused(labelName,curentLabels[labelName]["(token)"],"var")}function _checkParams(){var params=_current["(params)"];if(params)for(var unused_opt,param=params.pop();param;){var label=_current["(labels)"][param];if(unused_opt=_getUnusedOption(state.funct["(unusedOption)"]),"undefined"===param)return;if(label["(unused)"])_warnUnused(param,label["(token)"],"param",state.funct["(unusedOption)"]);else if("last-param"===unused_opt)return;param=params.pop()}}function _getLabel(labelName){for(var i=_scopeStack.length-1;i>=0;--i){var scopeLabels=_scopeStack[i]["(labels)"];if(scopeLabels[labelName])return scopeLabels}}function usedSoFarInCurrentFunction(labelName){for(var i=_scopeStack.length-1;i>=0;i--){var current=_scopeStack[i];if(current["(usages)"][labelName])return current["(usages)"][labelName];if(current===_currentFunctBody)break}return!1}function _checkOuterShadow(labelName,token){if("outer"===state.option.shadow)for(var isGlobal="global"===_currentFunctBody["(type)"],isNewFunction="functionparams"===_current["(type)"],outsideCurrentFunction=!isGlobal,i=0;_scopeStack.length>i;i++){var stackItem=_scopeStack[i];isNewFunction||_scopeStack[i+1]!==_currentFunctBody||(outsideCurrentFunction=!1),outsideCurrentFunction&&stackItem["(labels)"][labelName]&&warning("W123",token,labelName),stackItem["(breakLabels)"][labelName]&&warning("W123",token,labelName)}}function _latedefWarning(type,labelName,token){state.option.latedef&&(state.option.latedef===!0&&"function"===type||"function"!==type)&&warning("W003",token,labelName)}var _current,_scopeStack=[];_newScope("global"),_current["(predefined)"]=predefined;var _currentFunctBody=_current,usedPredefinedAndGlobals=Object.create(null),impliedGlobals=Object.create(null),unuseds=[],emitter=new events.EventEmitter,_getUnusedOption=function(unused_opt){return void 0===unused_opt&&(unused_opt=state.option.unused),unused_opt===!0&&(unused_opt="last-param"),unused_opt},_warnUnused=function(name,tkn,type,unused_opt){var line=tkn.line,chr=tkn.from,raw_name=tkn.raw_text||name;unused_opt=_getUnusedOption(unused_opt);var warnable_types={vars:["var"],"last-param":["var","param"],strict:["var","param","last-param"]};unused_opt&&warnable_types[unused_opt]&&-1!==warnable_types[unused_opt].indexOf(type)&&warning("W098",{line:line,from:chr},raw_name),(unused_opt||"var"===type)&&unuseds.push({name:name,line:line,character:chr})},scopeManagerInst={on:function(names,listener){names.split(" ").forEach(function(name){emitter.on(name,listener)})},isPredefined:function(labelName){return!this.has(labelName)&&_.has(_scopeStack[0]["(predefined)"],labelName)},stack:function(type){var previousScope=_current;_newScope(type),type||"functionparams"!==previousScope["(type)"]||(_current["(isFuncBody)"]=!0,_current["(context)"]=_currentFunctBody,_currentFunctBody=_current)},unstack:function(){var i,j,subScope=_scopeStack.length>1?_scopeStack[_scopeStack.length-2]:null,isUnstackingFunctionBody=_current===_currentFunctBody,isUnstackingFunctionParams="functionparams"===_current["(type)"],isUnstackingFunctionOuter="functionouter"===_current["(type)"],currentUsages=_current["(usages)"],currentLabels=_current["(labels)"],usedLabelNameList=Object.keys(currentUsages);for(currentUsages.__proto__&&-1===usedLabelNameList.indexOf("__proto__")&&usedLabelNameList.push("__proto__"),i=0;usedLabelNameList.length>i;i++){var usedLabelName=usedLabelNameList[i],usage=currentUsages[usedLabelName],usedLabel=currentLabels[usedLabelName];if(usedLabel){var usedLabelType=usedLabel["(type)"];if(usedLabel["(useOutsideOfScope)"]&&!state.option.funcscope){var usedTokens=usage["(tokens)"];if(usedTokens)for(j=0;usedTokens.length>j;j++)usedLabel["(function)"]===usedTokens[j]["(function)"]&&error("W038",usedTokens[j],usedLabelName)}if(_current["(labels)"][usedLabelName]["(unused)"]=!1,"const"===usedLabelType&&usage["(modified)"])for(j=0;usage["(modified)"].length>j;j++)error("E013",usage["(modified)"][j],usedLabelName);if(("function"===usedLabelType||"class"===usedLabelType)&&usage["(reassigned)"])for(j=0;usage["(reassigned)"].length>j;j++)error("W021",usage["(reassigned)"][j],usedLabelName,usedLabelType)}else if(isUnstackingFunctionOuter&&(state.funct["(isCapturing)"]=!0),subScope)if(subScope["(usages)"][usedLabelName]){var subScopeUsage=subScope["(usages)"][usedLabelName];subScopeUsage["(modified)"]=subScopeUsage["(modified)"].concat(usage["(modified)"]),subScopeUsage["(tokens)"]=subScopeUsage["(tokens)"].concat(usage["(tokens)"]),subScopeUsage["(reassigned)"]=subScopeUsage["(reassigned)"].concat(usage["(reassigned)"]),subScopeUsage["(onlyUsedSubFunction)"]=!1}else subScope["(usages)"][usedLabelName]=usage,isUnstackingFunctionBody&&(subScope["(usages)"][usedLabelName]["(onlyUsedSubFunction)"]=!0);else if("boolean"==typeof _current["(predefined)"][usedLabelName]){if(delete declared[usedLabelName],usedPredefinedAndGlobals[usedLabelName]=marker,_current["(predefined)"][usedLabelName]===!1&&usage["(reassigned)"])for(j=0;usage["(reassigned)"].length>j;j++)warning("W020",usage["(reassigned)"][j])}else if(usage["(tokens)"])for(j=0;usage["(tokens)"].length>j;j++){var undefinedToken=usage["(tokens)"][j];undefinedToken.forgiveUndef||(state.option.undef&&!undefinedToken.ignoreUndef&&warning("W117",undefinedToken,usedLabelName),impliedGlobals[usedLabelName]?impliedGlobals[usedLabelName].line.push(undefinedToken.line):impliedGlobals[usedLabelName]={name:usedLabelName,line:[undefinedToken.line]})}}if(subScope||Object.keys(declared).forEach(function(labelNotUsed){_warnUnused(labelNotUsed,declared[labelNotUsed],"var")}),subScope&&!isUnstackingFunctionBody&&!isUnstackingFunctionParams&&!isUnstackingFunctionOuter){var labelNames=Object.keys(currentLabels);for(i=0;labelNames.length>i;i++){var defLabelName=labelNames[i];currentLabels[defLabelName]["(blockscoped)"]||"exception"===currentLabels[defLabelName]["(type)"]||this.funct.has(defLabelName,{excludeCurrent:!0})||(subScope["(labels)"][defLabelName]=currentLabels[defLabelName],"global"!==_currentFunctBody["(type)"]&&(subScope["(labels)"][defLabelName]["(useOutsideOfScope)"]=!0),delete currentLabels[defLabelName])}}_checkForUnused(),_scopeStack.pop(),isUnstackingFunctionBody&&(_currentFunctBody=_scopeStack[_.findLastIndex(_scopeStack,function(scope){return scope["(isFuncBody)"]||"global"===scope["(type)"]})]),_current=subScope},addParam:function(labelName,token,type){if(type=type||"param","exception"===type){var previouslyDefinedLabelType=this.funct.labeltype(labelName);previouslyDefinedLabelType&&"exception"!==previouslyDefinedLabelType&&(state.option.node||warning("W002",state.tokens.next,labelName))}if(_.has(_current["(labels)"],labelName)?_current["(labels)"][labelName].duplicated=!0:(_checkOuterShadow(labelName,token,type),_current["(labels)"][labelName]={"(type)":type,"(token)":token,"(unused)":!0},_current["(params)"].push(labelName)),_.has(_current["(usages)"],labelName)){var usage=_current["(usages)"][labelName];usage["(onlyUsedSubFunction)"]?_latedefWarning(type,labelName,token):warning("E056",token,labelName,type)}},validateParams:function(){if("global"!==_currentFunctBody["(type)"]){var isStrict=state.isStrict(),currentFunctParamScope=_currentFunctBody["(parent)"];currentFunctParamScope["(params)"]&¤tFunctParamScope["(params)"].forEach(function(labelName){var label=currentFunctParamScope["(labels)"][labelName];label&&label.duplicated&&(isStrict?warning("E011",label["(token)"],labelName):state.option.shadow!==!0&&warning("W004",label["(token)"],labelName))})}},getUsedOrDefinedGlobals:function(){var list=Object.keys(usedPredefinedAndGlobals);return usedPredefinedAndGlobals.__proto__===marker&&-1===list.indexOf("__proto__")&&list.push("__proto__"),list},getImpliedGlobals:function(){var values=_.values(impliedGlobals),hasProto=!1;return impliedGlobals.__proto__&&(hasProto=values.some(function(value){return"__proto__"===value.name}),hasProto||values.push(impliedGlobals.__proto__)),values},getUnuseds:function(){return unuseds},has:function(labelName){return Boolean(_getLabel(labelName))},labeltype:function(labelName){var scopeLabels=_getLabel(labelName);return scopeLabels?scopeLabels[labelName]["(type)"]:null},addExported:function(labelName){var globalLabels=_scopeStack[0]["(labels)"];if(_.has(declared,labelName))delete declared[labelName];else if(_.has(globalLabels,labelName))globalLabels[labelName]["(unused)"]=!1;else{for(var i=1;_scopeStack.length>i;i++){var scope=_scopeStack[i];if(scope["(type)"])break;if(_.has(scope["(labels)"],labelName)&&!scope["(labels)"][labelName]["(blockscoped)"])return scope["(labels)"][labelName]["(unused)"]=!1,void 0}exported[labelName]=!0}},setExported:function(labelName,token){this.block.use(labelName,token)\n},addlabel:function(labelName,opts){var type=opts.type,token=opts.token,isblockscoped="let"===type||"const"===type||"class"===type,isexported="global"===(isblockscoped?_current:_currentFunctBody)["(type)"]&&_.has(exported,labelName);if(_checkOuterShadow(labelName,token,type),isblockscoped){var declaredInCurrentScope=_current["(labels)"][labelName];if(declaredInCurrentScope||_current!==_currentFunctBody||"global"===_current["(type)"]||(declaredInCurrentScope=!!_currentFunctBody["(parent)"]["(labels)"][labelName]),!declaredInCurrentScope&&_current["(usages)"][labelName]){var usage=_current["(usages)"][labelName];usage["(onlyUsedSubFunction)"]?_latedefWarning(type,labelName,token):warning("E056",token,labelName,type)}declaredInCurrentScope?warning("E011",token,labelName):"outer"===state.option.shadow&&scopeManagerInst.funct.has(labelName)&&warning("W004",token,labelName),scopeManagerInst.block.add(labelName,type,token,!isexported)}else{var declaredInCurrentFunctionScope=scopeManagerInst.funct.has(labelName);!declaredInCurrentFunctionScope&&usedSoFarInCurrentFunction(labelName)&&_latedefWarning(type,labelName,token),scopeManagerInst.funct.has(labelName,{onlyBlockscoped:!0})?warning("E011",token,labelName):state.option.shadow!==!0&&declaredInCurrentFunctionScope&&"__proto__"!==labelName&&"global"!==_currentFunctBody["(type)"]&&warning("W004",token,labelName),scopeManagerInst.funct.add(labelName,type,token,!isexported),"global"===_currentFunctBody["(type)"]&&(usedPredefinedAndGlobals[labelName]=marker)}},funct:{labeltype:function(labelName,options){for(var onlyBlockscoped=options&&options.onlyBlockscoped,excludeParams=options&&options.excludeParams,currentScopeIndex=_scopeStack.length-(options&&options.excludeCurrent?2:1),i=currentScopeIndex;i>=0;i--){var current=_scopeStack[i];if(current["(labels)"][labelName]&&(!onlyBlockscoped||current["(labels)"][labelName]["(blockscoped)"]))return current["(labels)"][labelName]["(type)"];var scopeCheck=excludeParams?_scopeStack[i-1]:current;if(scopeCheck&&"functionparams"===scopeCheck["(type)"])return null}return null},hasBreakLabel:function(labelName){for(var i=_scopeStack.length-1;i>=0;i--){var current=_scopeStack[i];if(current["(breakLabels)"][labelName])return!0;if("functionparams"===current["(type)"])return!1}return!1},has:function(labelName,options){return Boolean(this.labeltype(labelName,options))},add:function(labelName,type,tok,unused){_current["(labels)"][labelName]={"(type)":type,"(token)":tok,"(blockscoped)":!1,"(function)":_currentFunctBody,"(unused)":unused}}},block:{isGlobal:function(){return"global"===_current["(type)"]},use:function(labelName,token){var paramScope=_currentFunctBody["(parent)"];paramScope&¶mScope["(labels)"][labelName]&&"param"===paramScope["(labels)"][labelName]["(type)"]&&(scopeManagerInst.funct.has(labelName,{excludeParams:!0,onlyBlockscoped:!0})||(paramScope["(labels)"][labelName]["(unused)"]=!1)),token&&(state.ignored.W117||state.option.undef===!1)&&(token.ignoreUndef=!0),_setupUsages(labelName),token&&(token["(function)"]=_currentFunctBody,_current["(usages)"][labelName]["(tokens)"].push(token))},reassign:function(labelName,token){this.modify(labelName,token),_current["(usages)"][labelName]["(reassigned)"].push(token)},modify:function(labelName,token){_setupUsages(labelName),_current["(usages)"][labelName]["(modified)"].push(token)},add:function(labelName,type,tok,unused){_current["(labels)"][labelName]={"(type)":type,"(token)":tok,"(blockscoped)":!0,"(unused)":unused}},addBreakLabel:function(labelName,opts){var token=opts.token;scopeManagerInst.funct.hasBreakLabel(labelName)?warning("E011",token,labelName):"outer"===state.option.shadow&&(scopeManagerInst.funct.has(labelName)?warning("W004",token,labelName):_checkOuterShadow(labelName,token)),_current["(breakLabels)"][labelName]=token}}};return scopeManagerInst};module.exports=scopeManager},{"../lodash":"/node_modules/jshint/lodash.js",events:"/node_modules/browserify/node_modules/events/events.js"}],"/node_modules/jshint/src/state.js":[function(_dereq_,module,exports){"use strict";var NameStack=_dereq_("./name-stack.js"),state={syntax:{},isStrict:function(){return this.directive["use strict"]||this.inClassBody||this.option.module||"implied"===this.option.strict},inMoz:function(){return this.option.moz},inES6:function(){return this.option.moz||this.option.esversion>=6},inES5:function(strict){return strict?!(this.option.esversion&&5!==this.option.esversion||this.option.moz):!this.option.esversion||this.option.esversion>=5||this.option.moz},reset:function(){this.tokens={prev:null,next:null,curr:null},this.option={},this.funct=null,this.ignored={},this.directive={},this.jsonMode=!1,this.jsonWarnings=[],this.lines=[],this.tab="",this.cache={},this.ignoredLines={},this.forinifcheckneeded=!1,this.nameStack=new NameStack,this.inClassBody=!1}};exports.state=state},{"./name-stack.js":"/node_modules/jshint/src/name-stack.js"}],"/node_modules/jshint/src/style.js":[function(_dereq_,module,exports){"use strict";exports.register=function(linter){linter.on("Identifier",function(data){linter.getOption("proto")||"__proto__"===data.name&&linter.warn("W103",{line:data.line,"char":data.char,data:[data.name,"6"]})}),linter.on("Identifier",function(data){linter.getOption("iterator")||"__iterator__"===data.name&&linter.warn("W103",{line:data.line,"char":data.char,data:[data.name]})}),linter.on("Identifier",function(data){linter.getOption("camelcase")&&data.name.replace(/^_+|_+$/g,"").indexOf("_")>-1&&!data.name.match(/^[A-Z0-9_]*$/)&&linter.warn("W106",{line:data.line,"char":data.from,data:[data.name]})}),linter.on("String",function(data){var code,quotmark=linter.getOption("quotmark");quotmark&&("single"===quotmark&&"\'"!==data.quote&&(code="W109"),"double"===quotmark&&\'"\'!==data.quote&&(code="W108"),quotmark===!0&&(linter.getCache("quotmark")||linter.setCache("quotmark",data.quote),linter.getCache("quotmark")!==data.quote&&(code="W110")),code&&linter.warn(code,{line:data.line,"char":data.char}))}),linter.on("Number",function(data){"."===data.value.charAt(0)&&linter.warn("W008",{line:data.line,"char":data.char,data:[data.value]}),"."===data.value.substr(data.value.length-1)&&linter.warn("W047",{line:data.line,"char":data.char,data:[data.value]}),/^00+/.test(data.value)&&linter.warn("W046",{line:data.line,"char":data.char,data:[data.value]})}),linter.on("String",function(data){var re=/^(?:javascript|jscript|ecmascript|vbscript|livescript)\\s*:/i;linter.getOption("scripturl")||re.test(data.value)&&linter.warn("W107",{line:data.line,"char":data.char})})}},{}],"/node_modules/jshint/src/vars.js":[function(_dereq_,module,exports){"use strict";exports.reservedVars={arguments:!1,NaN:!1},exports.ecmaIdentifiers={3:{Array:!1,Boolean:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,eval:!1,EvalError:!1,Function:!1,hasOwnProperty:!1,isFinite:!1,isNaN:!1,Math:!1,Number:!1,Object:!1,parseInt:!1,parseFloat:!1,RangeError:!1,ReferenceError:!1,RegExp:!1,String:!1,SyntaxError:!1,TypeError:!1,URIError:!1},5:{JSON:!1},6:{Map:!1,Promise:!1,Proxy:!1,Reflect:!1,Set:!1,Symbol:!1,WeakMap:!1,WeakSet:!1}},exports.browser={Audio:!1,Blob:!1,addEventListener:!1,applicationCache:!1,atob:!1,blur:!1,btoa:!1,cancelAnimationFrame:!1,CanvasGradient:!1,CanvasPattern:!1,CanvasRenderingContext2D:!1,CSS:!1,clearInterval:!1,clearTimeout:!1,close:!1,closed:!1,Comment:!1,CustomEvent:!1,DOMParser:!1,defaultStatus:!1,Document:!1,document:!1,DocumentFragment:!1,Element:!1,ElementTimeControl:!1,Event:!1,event:!1,fetch:!1,FileReader:!1,FormData:!1,focus:!1,frames:!1,getComputedStyle:!1,HTMLElement:!1,HTMLAnchorElement:!1,HTMLBaseElement:!1,HTMLBlockquoteElement:!1,HTMLBodyElement:!1,HTMLBRElement:!1,HTMLButtonElement:!1,HTMLCanvasElement:!1,HTMLCollection:!1,HTMLDirectoryElement:!1,HTMLDivElement:!1,HTMLDListElement:!1,HTMLFieldSetElement:!1,HTMLFontElement:!1,HTMLFormElement:!1,HTMLFrameElement:!1,HTMLFrameSetElement:!1,HTMLHeadElement:!1,HTMLHeadingElement:!1,HTMLHRElement:!1,HTMLHtmlElement:!1,HTMLIFrameElement:!1,HTMLImageElement:!1,HTMLInputElement:!1,HTMLIsIndexElement:!1,HTMLLabelElement:!1,HTMLLayerElement:!1,HTMLLegendElement:!1,HTMLLIElement:!1,HTMLLinkElement:!1,HTMLMapElement:!1,HTMLMenuElement:!1,HTMLMetaElement:!1,HTMLModElement:!1,HTMLObjectElement:!1,HTMLOListElement:!1,HTMLOptGroupElement:!1,HTMLOptionElement:!1,HTMLParagraphElement:!1,HTMLParamElement:!1,HTMLPreElement:!1,HTMLQuoteElement:!1,HTMLScriptElement:!1,HTMLSelectElement:!1,HTMLStyleElement:!1,HTMLTableCaptionElement:!1,HTMLTableCellElement:!1,HTMLTableColElement:!1,HTMLTableElement:!1,HTMLTableRowElement:!1,HTMLTableSectionElement:!1,HTMLTemplateElement:!1,HTMLTextAreaElement:!1,HTMLTitleElement:!1,HTMLUListElement:!1,HTMLVideoElement:!1,history:!1,Image:!1,Intl:!1,length:!1,localStorage:!1,location:!1,matchMedia:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,MouseEvent:!1,moveBy:!1,moveTo:!1,MutationObserver:!1,name:!1,Node:!1,NodeFilter:!1,NodeList:!1,Notification:!1,navigator:!1,onbeforeunload:!0,onblur:!0,onerror:!0,onfocus:!0,onload:!0,onresize:!0,onunload:!0,open:!1,openDatabase:!1,opener:!1,Option:!1,parent:!1,performance:!1,print:!1,Range:!1,requestAnimationFrame:!1,removeEventListener:!1,resizeBy:!1,resizeTo:!1,screen:!1,scroll:!1,scrollBy:!1,scrollTo:!1,sessionStorage:!1,setInterval:!1,setTimeout:!1,SharedWorker:!1,status:!1,SVGAElement:!1,SVGAltGlyphDefElement:!1,SVGAltGlyphElement:!1,SVGAltGlyphItemElement:!1,SVGAngle:!1,SVGAnimateColorElement:!1,SVGAnimateElement:!1,SVGAnimateMotionElement:!1,SVGAnimateTransformElement:!1,SVGAnimatedAngle:!1,SVGAnimatedBoolean:!1,SVGAnimatedEnumeration:!1,SVGAnimatedInteger:!1,SVGAnimatedLength:!1,SVGAnimatedLengthList:!1,SVGAnimatedNumber:!1,SVGAnimatedNumberList:!1,SVGAnimatedPathData:!1,SVGAnimatedPoints:!1,SVGAnimatedPreserveAspectRatio:!1,SVGAnimatedRect:!1,SVGAnimatedString:!1,SVGAnimatedTransformList:!1,SVGAnimationElement:!1,SVGCSSRule:!1,SVGCircleElement:!1,SVGClipPathElement:!1,SVGColor:!1,SVGColorProfileElement:!1,SVGColorProfileRule:!1,SVGComponentTransferFunctionElement:!1,SVGCursorElement:!1,SVGDefsElement:!1,SVGDescElement:!1,SVGDocument:!1,SVGElement:!1,SVGElementInstance:!1,SVGElementInstanceList:!1,SVGEllipseElement:!1,SVGExternalResourcesRequired:!1,SVGFEBlendElement:!1,SVGFEColorMatrixElement:!1,SVGFEComponentTransferElement:!1,SVGFECompositeElement:!1,SVGFEConvolveMatrixElement:!1,SVGFEDiffuseLightingElement:!1,SVGFEDisplacementMapElement:!1,SVGFEDistantLightElement:!1,SVGFEFloodElement:!1,SVGFEFuncAElement:!1,SVGFEFuncBElement:!1,SVGFEFuncGElement:!1,SVGFEFuncRElement:!1,SVGFEGaussianBlurElement:!1,SVGFEImageElement:!1,SVGFEMergeElement:!1,SVGFEMergeNodeElement:!1,SVGFEMorphologyElement:!1,SVGFEOffsetElement:!1,SVGFEPointLightElement:!1,SVGFESpecularLightingElement:!1,SVGFESpotLightElement:!1,SVGFETileElement:!1,SVGFETurbulenceElement:!1,SVGFilterElement:!1,SVGFilterPrimitiveStandardAttributes:!1,SVGFitToViewBox:!1,SVGFontElement:!1,SVGFontFaceElement:!1,SVGFontFaceFormatElement:!1,SVGFontFaceNameElement:!1,SVGFontFaceSrcElement:!1,SVGFontFaceUriElement:!1,SVGForeignObjectElement:!1,SVGGElement:!1,SVGGlyphElement:!1,SVGGlyphRefElement:!1,SVGGradientElement:!1,SVGHKernElement:!1,SVGICCColor:!1,SVGImageElement:!1,SVGLangSpace:!1,SVGLength:!1,SVGLengthList:!1,SVGLineElement:!1,SVGLinearGradientElement:!1,SVGLocatable:!1,SVGMPathElement:!1,SVGMarkerElement:!1,SVGMaskElement:!1,SVGMatrix:!1,SVGMetadataElement:!1,SVGMissingGlyphElement:!1,SVGNumber:!1,SVGNumberList:!1,SVGPaint:!1,SVGPathElement:!1,SVGPathSeg:!1,SVGPathSegArcAbs:!1,SVGPathSegArcRel:!1,SVGPathSegClosePath:!1,SVGPathSegCurvetoCubicAbs:!1,SVGPathSegCurvetoCubicRel:!1,SVGPathSegCurvetoCubicSmoothAbs:!1,SVGPathSegCurvetoCubicSmoothRel:!1,SVGPathSegCurvetoQuadraticAbs:!1,SVGPathSegCurvetoQuadraticRel:!1,SVGPathSegCurvetoQuadraticSmoothAbs:!1,SVGPathSegCurvetoQuadraticSmoothRel:!1,SVGPathSegLinetoAbs:!1,SVGPathSegLinetoHorizontalAbs:!1,SVGPathSegLinetoHorizontalRel:!1,SVGPathSegLinetoRel:!1,SVGPathSegLinetoVerticalAbs:!1,SVGPathSegLinetoVerticalRel:!1,SVGPathSegList:!1,SVGPathSegMovetoAbs:!1,SVGPathSegMovetoRel:!1,SVGPatternElement:!1,SVGPoint:!1,SVGPointList:!1,SVGPolygonElement:!1,SVGPolylineElement:!1,SVGPreserveAspectRatio:!1,SVGRadialGradientElement:!1,SVGRect:!1,SVGRectElement:!1,SVGRenderingIntent:!1,SVGSVGElement:!1,SVGScriptElement:!1,SVGSetElement:!1,SVGStopElement:!1,SVGStringList:!1,SVGStylable:!1,SVGStyleElement:!1,SVGSwitchElement:!1,SVGSymbolElement:!1,SVGTRefElement:!1,SVGTSpanElement:!1,SVGTests:!1,SVGTextContentElement:!1,SVGTextElement:!1,SVGTextPathElement:!1,SVGTextPositioningElement:!1,SVGTitleElement:!1,SVGTransform:!1,SVGTransformList:!1,SVGTransformable:!1,SVGURIReference:!1,SVGUnitTypes:!1,SVGUseElement:!1,SVGVKernElement:!1,SVGViewElement:!1,SVGViewSpec:!1,SVGZoomAndPan:!1,Text:!1,TextDecoder:!1,TextEncoder:!1,TimeEvent:!1,top:!1,URL:!1,WebGLActiveInfo:!1,WebGLBuffer:!1,WebGLContextEvent:!1,WebGLFramebuffer:!1,WebGLProgram:!1,WebGLRenderbuffer:!1,WebGLRenderingContext:!1,WebGLShader:!1,WebGLShaderPrecisionFormat:!1,WebGLTexture:!1,WebGLUniformLocation:!1,WebSocket:!1,window:!1,Window:!1,Worker:!1,XDomainRequest:!1,XMLHttpRequest:!1,XMLSerializer:!1,XPathEvaluator:!1,XPathException:!1,XPathExpression:!1,XPathNamespace:!1,XPathNSResolver:!1,XPathResult:!1},exports.devel={alert:!1,confirm:!1,console:!1,Debug:!1,opera:!1,prompt:!1},exports.worker={importScripts:!0,postMessage:!0,self:!0,FileReaderSync:!0},exports.nonstandard={escape:!1,unescape:!1},exports.couch={require:!1,respond:!1,getRow:!1,emit:!1,send:!1,start:!1,sum:!1,log:!1,exports:!1,module:!1,provides:!1},exports.node={__filename:!1,__dirname:!1,GLOBAL:!1,global:!1,module:!1,acequire:!1,Buffer:!0,console:!0,exports:!0,process:!0,setTimeout:!0,clearTimeout:!0,setInterval:!0,clearInterval:!0,setImmediate:!0,clearImmediate:!0},exports.browserify={__filename:!1,__dirname:!1,global:!1,module:!1,acequire:!1,Buffer:!0,exports:!0,process:!0},exports.phantom={phantom:!0,acequire:!0,WebPage:!0,console:!0,exports:!0},exports.qunit={asyncTest:!1,deepEqual:!1,equal:!1,expect:!1,module:!1,notDeepEqual:!1,notEqual:!1,notPropEqual:!1,notStrictEqual:!1,ok:!1,propEqual:!1,QUnit:!1,raises:!1,start:!1,stop:!1,strictEqual:!1,test:!1,"throws":!1},exports.rhino={defineClass:!1,deserialize:!1,gc:!1,help:!1,importClass:!1,importPackage:!1,java:!1,load:!1,loadClass:!1,Packages:!1,print:!1,quit:!1,readFile:!1,readUrl:!1,runCommand:!1,seal:!1,serialize:!1,spawn:!1,sync:!1,toint32:!1,version:!1},exports.shelljs={target:!1,echo:!1,exit:!1,cd:!1,pwd:!1,ls:!1,find:!1,cp:!1,rm:!1,mv:!1,mkdir:!1,test:!1,cat:!1,sed:!1,grep:!1,which:!1,dirs:!1,pushd:!1,popd:!1,env:!1,exec:!1,chmod:!1,config:!1,error:!1,tempdir:!1},exports.typed={ArrayBuffer:!1,ArrayBufferView:!1,DataView:!1,Float32Array:!1,Float64Array:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1},exports.wsh={ActiveXObject:!0,Enumerator:!0,GetObject:!0,ScriptEngine:!0,ScriptEngineBuildVersion:!0,ScriptEngineMajorVersion:!0,ScriptEngineMinorVersion:!0,VBArray:!0,WSH:!0,WScript:!0,XDomainRequest:!0},exports.dojo={dojo:!1,dijit:!1,dojox:!1,define:!1,require:!1},exports.jquery={$:!1,jQuery:!1},exports.mootools={$:!1,$$:!1,Asset:!1,Browser:!1,Chain:!1,Class:!1,Color:!1,Cookie:!1,Core:!1,Document:!1,DomReady:!1,DOMEvent:!1,DOMReady:!1,Drag:!1,Element:!1,Elements:!1,Event:!1,Events:!1,Fx:!1,Group:!1,Hash:!1,HtmlTable:!1,IFrame:!1,IframeShim:!1,InputValidator:!1,instanceOf:!1,Keyboard:!1,Locale:!1,Mask:!1,MooTools:!1,Native:!1,Options:!1,OverText:!1,Request:!1,Scroller:!1,Slick:!1,Slider:!1,Sortables:!1,Spinner:!1,Swiff:!1,Tips:!1,Type:!1,typeOf:!1,URI:!1,Window:!1},exports.prototypejs={$:!1,$$:!1,$A:!1,$F:!1,$H:!1,$R:!1,$break:!1,$continue:!1,$w:!1,Abstract:!1,Ajax:!1,Class:!1,Enumerable:!1,Element:!1,Event:!1,Field:!1,Form:!1,Hash:!1,Insertion:!1,ObjectRange:!1,PeriodicalExecuter:!1,Position:!1,Prototype:!1,Selector:!1,Template:!1,Toggle:!1,Try:!1,Autocompleter:!1,Builder:!1,Control:!1,Draggable:!1,Draggables:!1,Droppables:!1,Effect:!1,Sortable:!1,SortableObserver:!1,Sound:!1,Scriptaculous:!1},exports.yui={YUI:!1,Y:!1,YUI_config:!1},exports.mocha={mocha:!1,describe:!1,xdescribe:!1,it:!1,xit:!1,context:!1,xcontext:!1,before:!1,after:!1,beforeEach:!1,afterEach:!1,suite:!1,test:!1,setup:!1,teardown:!1,suiteSetup:!1,suiteTeardown:!1},exports.jasmine={jasmine:!1,describe:!1,xdescribe:!1,it:!1,xit:!1,beforeEach:!1,afterEach:!1,setFixtures:!1,loadFixtures:!1,spyOn:!1,expect:!1,runs:!1,waitsFor:!1,waits:!1,beforeAll:!1,afterAll:!1,fail:!1,fdescribe:!1,fit:!1,pending:!1}},{}]},{},["/node_modules/jshint/src/jshint.js"])}),ace.define("ace/mode/javascript_worker",["require","exports","module","ace/lib/oop","ace/worker/mirror","ace/mode/javascript/jshint"],function(acequire,exports,module){"use strict";function startRegex(arr){return RegExp("^("+arr.join("|")+")")}var oop=acequire("../lib/oop"),Mirror=acequire("../worker/mirror").Mirror,lint=acequire("./javascript/jshint").JSHINT,disabledWarningsRe=startRegex(["Bad for in variable \'(.+)\'.",\'Missing "use strict"\']),errorsRe=startRegex(["Unexpected","Expected ","Confusing (plus|minus)","\\\\{a\\\\} unterminated regular expression","Unclosed ","Unmatched ","Unbegun comment","Bad invocation","Missing space after","Missing operator at"]),infoRe=startRegex(["Expected an assignment","Bad escapement of EOL","Unexpected comma","Unexpected space","Missing radix parameter.","A leading decimal point can","\\\\[\'{a}\'\\\\] is better written in dot notation.","\'{a}\' used out of scope"]),JavaScriptWorker=exports.JavaScriptWorker=function(sender){Mirror.call(this,sender),this.setTimeout(500),this.setOptions()};oop.inherits(JavaScriptWorker,Mirror),function(){this.setOptions=function(options){this.options=options||{esnext:!0,moz:!0,devel:!0,browser:!0,node:!0,laxcomma:!0,laxbreak:!0,lastsemic:!0,onevar:!1,passfail:!1,maxerr:100,expr:!0,multistr:!0,globalstrict:!0},this.doc.getValue()&&this.deferredUpdate.schedule(100)},this.changeOptions=function(newOptions){oop.mixin(this.options,newOptions),this.doc.getValue()&&this.deferredUpdate.schedule(100)},this.isValidJS=function(str){try{eval("throw 0;"+str)}catch(e){if(0===e)return!0}return!1},this.onUpdate=function(){var value=this.doc.getValue();if(value=value.replace(/^#!.*\\n/,"\\n"),!value)return this.sender.emit("annotate",[]);var errors=[],maxErrorLevel=this.isValidJS(value)?"warning":"error";lint(value,this.options,this.options.globals);for(var results=lint.errors,errorAdded=!1,i=0;results.length>i;i++){var error=results[i];if(error){var raw=error.raw,type="warning";if("Missing semicolon."==raw){var str=error.evidence.substr(error.character);str=str.charAt(str.search(/\\S/)),"error"==maxErrorLevel&&str&&/[\\w\\d{([\'"]/.test(str)?(error.reason=\'Missing ";" before statement\',type="error"):type="info"}else{if(disabledWarningsRe.test(raw))continue;infoRe.test(raw)?type="info":errorsRe.test(raw)?(errorAdded=!0,type=maxErrorLevel):"\'{a}\' is not defined."==raw?type="warning":"\'{a}\' is defined but never used."==raw&&(type="info")}errors.push({row:error.line-1,column:error.character-1,text:error.reason,type:type,raw:raw})}}this.sender.emit("annotate",errors)}}.call(JavaScriptWorker.prototype)}),ace.define("ace/lib/es5-shim",["require","exports","module"],function(){function Empty(){}function doesDefinePropertyWork(object){try{return Object.defineProperty(object,"sentinel",{}),"sentinel"in object}catch(exception){}}function toInteger(n){return n=+n,n!==n?n=0:0!==n&&n!==1/0&&n!==-(1/0)&&(n=(n>0||-1)*Math.floor(Math.abs(n))),n}Function.prototype.bind||(Function.prototype.bind=function(that){var target=this;if("function"!=typeof target)throw new TypeError("Function.prototype.bind called on incompatible "+target);var args=slice.call(arguments,1),bound=function(){if(this instanceof bound){var result=target.apply(this,args.concat(slice.call(arguments)));return Object(result)===result?result:this}return target.apply(that,args.concat(slice.call(arguments)))};return target.prototype&&(Empty.prototype=target.prototype,bound.prototype=new Empty,Empty.prototype=null),bound});var defineGetter,defineSetter,lookupGetter,lookupSetter,supportsAccessors,call=Function.prototype.call,prototypeOfArray=Array.prototype,prototypeOfObject=Object.prototype,slice=prototypeOfArray.slice,_toString=call.bind(prototypeOfObject.toString),owns=call.bind(prototypeOfObject.hasOwnProperty);if((supportsAccessors=owns(prototypeOfObject,"__defineGetter__"))&&(defineGetter=call.bind(prototypeOfObject.__defineGetter__),defineSetter=call.bind(prototypeOfObject.__defineSetter__),lookupGetter=call.bind(prototypeOfObject.__lookupGetter__),lookupSetter=call.bind(prototypeOfObject.__lookupSetter__)),2!=[1,2].splice(0).length)if(function(){function makeArray(l){var a=Array(l+2);return a[0]=a[1]=0,a}var lengthBefore,array=[];return array.splice.apply(array,makeArray(20)),array.splice.apply(array,makeArray(26)),lengthBefore=array.length,array.splice(5,0,"XXX"),lengthBefore+1==array.length,lengthBefore+1==array.length?!0:void 0}()){var array_splice=Array.prototype.splice;Array.prototype.splice=function(start,deleteCount){return arguments.length?array_splice.apply(this,[void 0===start?0:start,void 0===deleteCount?this.length-start:deleteCount].concat(slice.call(arguments,2))):[]}}else Array.prototype.splice=function(pos,removeCount){var length=this.length;pos>0?pos>length&&(pos=length):void 0==pos?pos=0:0>pos&&(pos=Math.max(length+pos,0)),length>pos+removeCount||(removeCount=length-pos);var removed=this.slice(pos,pos+removeCount),insert=slice.call(arguments,2),add=insert.length;if(pos===length)add&&this.push.apply(this,insert);else{var remove=Math.min(removeCount,length-pos),tailOldPos=pos+remove,tailNewPos=tailOldPos+add-remove,tailCount=length-tailOldPos,lengthAfterRemove=length-remove;if(tailOldPos>tailNewPos)for(var i=0;tailCount>i;++i)this[tailNewPos+i]=this[tailOldPos+i];else if(tailNewPos>tailOldPos)for(i=tailCount;i--;)this[tailNewPos+i]=this[tailOldPos+i];if(add&&pos===lengthAfterRemove)this.length=lengthAfterRemove,this.push.apply(this,insert);else for(this.length=lengthAfterRemove+add,i=0;add>i;++i)this[pos+i]=insert[i]}return removed};Array.isArray||(Array.isArray=function(obj){return"[object Array]"==_toString(obj)});var boxedString=Object("a"),splitString="a"!=boxedString[0]||!(0 in boxedString);if(Array.prototype.forEach||(Array.prototype.forEach=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,thisp=arguments[1],i=-1,length=self.length>>>0;if("[object Function]"!=_toString(fun))throw new TypeError;for(;length>++i;)i in self&&fun.call(thisp,self[i],i,object)}),Array.prototype.map||(Array.prototype.map=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,result=Array(length),thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)i in self&&(result[i]=fun.call(thisp,self[i],i,object));return result}),Array.prototype.filter||(Array.prototype.filter=function(fun){var value,object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,result=[],thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)i in self&&(value=self[i],fun.call(thisp,value,i,object)&&result.push(value));return result}),Array.prototype.every||(Array.prototype.every=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)if(i in self&&!fun.call(thisp,self[i],i,object))return!1;return!0}),Array.prototype.some||(Array.prototype.some=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0,thisp=arguments[1];if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");for(var i=0;length>i;i++)if(i in self&&fun.call(thisp,self[i],i,object))return!0;return!1}),Array.prototype.reduce||(Array.prototype.reduce=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0;if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");if(!length&&1==arguments.length)throw new TypeError("reduce of empty array with no initial value");var result,i=0;if(arguments.length>=2)result=arguments[1];else for(;;){if(i in self){result=self[i++];break}if(++i>=length)throw new TypeError("reduce of empty array with no initial value")}for(;length>i;i++)i in self&&(result=fun.call(void 0,result,self[i],i,object));return result}),Array.prototype.reduceRight||(Array.prototype.reduceRight=function(fun){var object=toObject(this),self=splitString&&"[object String]"==_toString(this)?this.split(""):object,length=self.length>>>0;if("[object Function]"!=_toString(fun))throw new TypeError(fun+" is not a function");if(!length&&1==arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var result,i=length-1;if(arguments.length>=2)result=arguments[1];else for(;;){if(i in self){result=self[i--];break}if(0>--i)throw new TypeError("reduceRight of empty array with no initial value")}do i in this&&(result=fun.call(void 0,result,self[i],i,object));while(i--);return result}),Array.prototype.indexOf&&-1==[0,1].indexOf(1,2)||(Array.prototype.indexOf=function(sought){var self=splitString&&"[object String]"==_toString(this)?this.split(""):toObject(this),length=self.length>>>0;if(!length)return-1;var i=0;for(arguments.length>1&&(i=toInteger(arguments[1])),i=i>=0?i:Math.max(0,length+i);length>i;i++)if(i in self&&self[i]===sought)return i;return-1}),Array.prototype.lastIndexOf&&-1==[0,1].lastIndexOf(0,-3)||(Array.prototype.lastIndexOf=function(sought){var self=splitString&&"[object String]"==_toString(this)?this.split(""):toObject(this),length=self.length>>>0;if(!length)return-1;var i=length-1;for(arguments.length>1&&(i=Math.min(i,toInteger(arguments[1]))),i=i>=0?i:length-Math.abs(i);i>=0;i--)if(i in self&&sought===self[i])return i;return-1}),Object.getPrototypeOf||(Object.getPrototypeOf=function(object){return object.__proto__||(object.constructor?object.constructor.prototype:prototypeOfObject)}),!Object.getOwnPropertyDescriptor){var ERR_NON_OBJECT="Object.getOwnPropertyDescriptor called on a non-object: ";Object.getOwnPropertyDescriptor=function(object,property){if("object"!=typeof object&&"function"!=typeof object||null===object)throw new TypeError(ERR_NON_OBJECT+object);if(owns(object,property)){var descriptor,getter,setter;if(descriptor={enumerable:!0,configurable:!0},supportsAccessors){var prototype=object.__proto__;object.__proto__=prototypeOfObject;var getter=lookupGetter(object,property),setter=lookupSetter(object,property);if(object.__proto__=prototype,getter||setter)return getter&&(descriptor.get=getter),setter&&(descriptor.set=setter),descriptor}return descriptor.value=object[property],descriptor}}}if(Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function(object){return Object.keys(object)}),!Object.create){var createEmpty;createEmpty=null===Object.prototype.__proto__?function(){return{__proto__:null}}:function(){var empty={};for(var i in empty)empty[i]=null;return empty.constructor=empty.hasOwnProperty=empty.propertyIsEnumerable=empty.isPrototypeOf=empty.toLocaleString=empty.toString=empty.valueOf=empty.__proto__=null,empty},Object.create=function(prototype,properties){var object;if(null===prototype)object=createEmpty();else{if("object"!=typeof prototype)throw new TypeError("typeof prototype["+typeof prototype+"] != \'object\'");var Type=function(){};Type.prototype=prototype,object=new Type,object.__proto__=prototype}return void 0!==properties&&Object.defineProperties(object,properties),object}}if(Object.defineProperty){var definePropertyWorksOnObject=doesDefinePropertyWork({}),definePropertyWorksOnDom="undefined"==typeof document||doesDefinePropertyWork(document.createElement("div"));if(!definePropertyWorksOnObject||!definePropertyWorksOnDom)var definePropertyFallback=Object.defineProperty}if(!Object.defineProperty||definePropertyFallback){var ERR_NON_OBJECT_DESCRIPTOR="Property description must be an object: ",ERR_NON_OBJECT_TARGET="Object.defineProperty called on non-object: ",ERR_ACCESSORS_NOT_SUPPORTED="getters & setters can not be defined on this javascript engine";Object.defineProperty=function(object,property,descriptor){if("object"!=typeof object&&"function"!=typeof object||null===object)throw new TypeError(ERR_NON_OBJECT_TARGET+object);if("object"!=typeof descriptor&&"function"!=typeof descriptor||null===descriptor)throw new TypeError(ERR_NON_OBJECT_DESCRIPTOR+descriptor);if(definePropertyFallback)try{return definePropertyFallback.call(Object,object,property,descriptor)}catch(exception){}if(owns(descriptor,"value"))if(supportsAccessors&&(lookupGetter(object,property)||lookupSetter(object,property))){var prototype=object.__proto__;object.__proto__=prototypeOfObject,delete object[property],object[property]=descriptor.value,object.__proto__=prototype}else object[property]=descriptor.value;else{if(!supportsAccessors)throw new TypeError(ERR_ACCESSORS_NOT_SUPPORTED);owns(descriptor,"get")&&defineGetter(object,property,descriptor.get),owns(descriptor,"set")&&defineSetter(object,property,descriptor.set)}return object}}Object.defineProperties||(Object.defineProperties=function(object,properties){for(var property in properties)owns(properties,property)&&Object.defineProperty(object,property,properties[property]);return object}),Object.seal||(Object.seal=function(object){return object}),Object.freeze||(Object.freeze=function(object){return object});try{Object.freeze(function(){})}catch(exception){Object.freeze=function(freezeObject){return function(object){return"function"==typeof object?object:freezeObject(object)}}(Object.freeze)}if(Object.preventExtensions||(Object.preventExtensions=function(object){return object}),Object.isSealed||(Object.isSealed=function(){return!1}),Object.isFrozen||(Object.isFrozen=function(){return!1}),Object.isExtensible||(Object.isExtensible=function(object){if(Object(object)===object)throw new TypeError;for(var name="";owns(object,name);)name+="?";object[name]=!0;var returnValue=owns(object,name);return delete object[name],returnValue}),!Object.keys){var hasDontEnumBug=!0,dontEnums=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],dontEnumsLength=dontEnums.length;for(var key in{toString:null})hasDontEnumBug=!1;Object.keys=function(object){if("object"!=typeof object&&"function"!=typeof object||null===object)throw new TypeError("Object.keys called on a non-object");var keys=[];for(var name in object)owns(object,name)&&keys.push(name);if(hasDontEnumBug)for(var i=0,ii=dontEnumsLength;ii>i;i++){var dontEnum=dontEnums[i];owns(object,dontEnum)&&keys.push(dontEnum)}return keys}}Date.now||(Date.now=function(){return(new Date).getTime()});var ws="\t\\n\v\\f\\r \xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\\u2028\\u2029\ufeff";if(!String.prototype.trim||ws.trim()){ws="["+ws+"]";var trimBeginRegexp=RegExp("^"+ws+ws+"*"),trimEndRegexp=RegExp(ws+ws+"*$");String.prototype.trim=function(){return(this+"").replace(trimBeginRegexp,"").replace(trimEndRegexp,"")}}var toObject=function(o){if(null==o)throw new TypeError("can\'t convert "+o+" to object");return Object(o)}});'},bne5:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var o=n("6blF"),r=n("isby"),i=n("2Bdj"),a=n("67Y/");function s(e,t,n,l){return Object(i.a)(n)&&(l=n,n=void 0),l?s(e,t,n).pipe(Object(a.a)(function(e){return Object(r.a)(e)?l.apply(void 0,e):l(e)})):new o.a(function(o){!function e(t,n,o,r,i){var a;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(t)){var s=t;t.addEventListener(n,o,i),a=function(){return s.removeEventListener(n,o,i)}}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(t)){var l=t;t.on(n,o),a=function(){return l.off(n,o)}}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(t)){var c=t;t.addListener(n,o),a=function(){return c.removeListener(n,o)}}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,o,r,i)}r.add(a)}(e,t,function(e){o.next(arguments.length>1?Array.prototype.slice.call(arguments):e)},o,n)})}},bwD0:function(e,t,n){var o=n("yNUO");e.exports=function(e,t){var n=o(e),r=Number(t);return n.setHours(r),n}},cPJV:function(e,t,n){var o=n("WA8B"),r=n("gfz1"),i=n("iWRJ"),a=n("yNUO"),s=n("fupu"),l=n("Us+F"),c={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 o(e)},DDDD:function(e){return d(o(e),3)},d:function(e){return e.getDay()},E:function(e){return e.getDay()||7},W:function(e){return r(e)},WW:function(e){return d(r(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(i(e)).substr(2)},GGGG:function(e){return i(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(c.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?"-":"+",o=Math.abs(e),r=o%60;return n+d(Math.floor(o/60),2)+t+d(r,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 o=t?String(t):"YYYY-MM-DDTHH:mm:ss.SSSZ",r=(n||{}).locale,i=l.format.formatters,u=l.format.formattingTokensRegExp;r&&r.format&&r.format.formatters&&(i=r.format.formatters,r.format.formattingTokensRegExp&&(u=r.format.formattingTokensRegExp));var d=a(e);return s(d)?function(e,t,n){var o,r,i=e.match(n),a=i.length;for(o=0;o<a;o++)i[o]=t[i[o]]||c[i[o]]||((r=i[o]).match(/\[[\s\S]/)?r.replace(/^\[|]$/g,""):r.replace(/\\/g,""));return function(e){for(var t="",n=0;n<a;n++)i[n]instanceof Function?t+=i[n](e,c):t+=i[n];return t}}(o,i,u)(d):"Invalid Date"}},crfB:function(e,t,n){var o=n("7B8A");e.exports=function(e,t){var n=Number(t);return o(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 o=n("yNUO");e.exports=function(e){return o(e).getMonth()}},dEPG:function(e,t,n){var o=n("l0SJ");e.exports=function(){return o(new Date)}},dJQg:function(e,t,n){var o=n("yNUO");e.exports=function(e,t){var n=t&&Number(t.weekStartsOn)||0,r=o(e),i=r.getDay(),a=6+(i<n?-7:0)-(i-n);return r.setDate(r.getDate()+a),r.setHours(23,59,59,999),r}},dWZg:function(e,t,n){"use strict";n.d(t,"a",function(){return s}),n.d(t,"b",function(){return l}),n.d(t,"e",function(){return c}),n.d(t,"f",function(){return h}),n.d(t,"d",function(){return p}),n.d(t,"c",function(){return d});var o,r=n("CcnG"),i=n("Ip0R"),a="undefined"!=typeof Intl&&Intl.v8BreakIterator,s=function(){function e(e){this._platformId=e,this.isBrowser=this._platformId?Object(i.A)(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&&!a)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}return e.ngInjectableDef=Object(r.defineInjectable)({factory:function(){return new e(Object(r.inject)(r.PLATFORM_ID,8))},token:e,providedIn:"root"}),e}(),l=function(){return function(){}}();function c(e){return 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}()?e:!!e.capture}var u,d=function(){var e={NORMAL:0,NEGATED:1,INVERTED:2};return e[e.NORMAL]="NORMAL",e[e.NEGATED]="NEGATED",e[e.INVERTED]="INVERTED",e}();function h(){return!!("object"==typeof document&&"scrollBehavior"in document.documentElement.style)}function p(){if("object"!=typeof document||!document)return d.NORMAL;if(!u){var e=document.createElement("div"),t=e.style;e.dir="rtl",t.height="1px",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";var n=document.createElement("div"),o=n.style;o.width="2px",o.height="1px",e.appendChild(n),document.body.appendChild(e),u=d.NORMAL,0===e.scrollLeft&&(e.scrollLeft=1,u=0===e.scrollLeft?d.NEGATED:d.INVERTED),e.parentNode.removeChild(e)}return u}},dgaN:function(e,t,n){var o=n("yNUO");e.exports=function(e){return 2===o(e).getDay()}},eDkP:function(e,t,n){"use strict";n.d(t,"a",function(){return N}),n.d(t,"c",function(){return T}),n.d(t,"d",function(){return D}),n.d(t,"f",function(){return L}),n.d(t,"b",function(){return k}),n.d(t,"g",function(){return w}),n.d(t,"e",function(){return U}),n.d(t,"h",function(){return j}),n.d(t,"i",function(){return V});var o=n("n6gG"),r=n("qAlS"),i=n("Ip0R"),a=n("CcnG"),s=n("mrSG"),l=n("K9Ia"),c=n("pugT"),u=n("6blF"),d=n("p0ib"),h=n("t9fZ"),p=n("ny24"),f=n("dWZg"),m=n("4c35"),g=(n("YSh2"),function(){function e(e,t){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}return e.prototype.attach=function(){},e.prototype.enable=function(){if(this._canBeEnabled()){var e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=Object(o.c)(-this._previousScrollPosition.left),e.style.top=Object(o.c)(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}},e.prototype.disable=function(){if(this._isEnabled){var e=this._document.documentElement,t=e.style,n=this._document.body.style,o=t.scrollBehavior||"",r=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=o,n.scrollBehavior=r}},e.prototype._canBeEnabled=function(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width},e}());function v(){return Error("Scroll strategy has already been attached.")}var _=function(){function e(e,t,n,o){var r=this;this._scrollDispatcher=e,this._ngZone=t,this._viewportRuler=n,this._config=o,this._scrollSubscription=null,this._detach=function(){r.disable(),r._overlayRef.hasAttached()&&r._ngZone.run(function(){return r._overlayRef.detach()})}}return e.prototype.attach=function(e){if(this._overlayRef)throw v();this._overlayRef=e},e.prototype.enable=function(){var e=this;if(!this._scrollSubscription){var t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(function(){var t=e._viewportRuler.getViewportScrollPosition().top;Math.abs(t-e._initialScrollPosition)>e._config.threshold?e._detach():e._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}},e.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},e}(),y=function(){function e(){}return e.prototype.enable=function(){},e.prototype.disable=function(){},e.prototype.attach=function(){},e}();function b(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 C(e,t){return t.some(function(t){return e.top<t.top||e.bottom>t.bottom||e.left<t.left||e.right>t.right})}var E=function(){function e(e,t,n,o){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=n,this._config=o,this._scrollSubscription=null}return e.prototype.attach=function(e){if(this._overlayRef)throw v();this._overlayRef=e},e.prototype.enable=function(){var e=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(function(){if(e._overlayRef.updatePosition(),e._config&&e._config.autoClose){var t=e._overlayRef.overlayElement.getBoundingClientRect(),n=e._viewportRuler.getViewportSize(),o=n.width,r=n.height;b(t,[{width:o,height:r,bottom:r,right:o,top:0,left:0}])&&(e.disable(),e._ngZone.run(function(){return e._overlayRef.detach()}))}}))},e.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},e}(),w=function(){function e(e,t,n,o){var r=this;this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=n,this.noop=function(){return new y},this.close=function(e){return new _(r._scrollDispatcher,r._ngZone,r._viewportRuler,e)},this.block=function(){return new g(r._viewportRuler,r._document)},this.reposition=function(e){return new E(r._scrollDispatcher,r._viewportRuler,r._ngZone,e)},this._document=o}return e.ngInjectableDef=Object(a.defineInjectable)({factory:function(){return new e(Object(a.inject)(r.a),Object(a.inject)(r.d),Object(a.inject)(a.NgZone),Object(a.inject)(i.e))},token:e,providedIn:"root"}),e}(),k=function(){return function(e){var t=this;this.scrollStrategy=new y,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e&&Object.keys(e).forEach(function(n){void 0!==e[n]&&(t[n]=e[n])})}}(),A=function(){return function(e,t,n,o,r){this.offsetX=n,this.offsetY=o,this.panelClass=r,this.originX=e.originX,this.originY=e.originY,this.overlayX=t.overlayX,this.overlayY=t.overlayY}}(),S=function(){return function(e,t){this.connectionPair=e,this.scrollableViewProperties=t}}();function O(e,t){if("top"!==t&&"bottom"!==t&&"center"!==t)throw Error("ConnectedPosition: Invalid "+e+' "'+t+'". Expected "top", "bottom" or "center".')}function x(e,t){if("start"!==t&&"end"!==t&&"center"!==t)throw Error("ConnectedPosition: Invalid "+e+' "'+t+'". Expected "start", "end" or "center".')}var D=function(){function e(e){var t=this;this._attachedOverlays=[],this._keydownListener=function(e){for(var n=t._attachedOverlays,o=n.length-1;o>-1;o--)if(n[o]._keydownEventSubscriptions>0){n[o]._keydownEvents.next(e);break}},this._document=e}return e.prototype.ngOnDestroy=function(){this._detach()},e.prototype.add=function(e){this.remove(e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener,!0),this._isAttached=!0),this._attachedOverlays.push(e)},e.prototype.remove=function(e){var t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this._detach()},e.prototype._detach=function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener,!0),this._isAttached=!1)},e.ngInjectableDef=Object(a.defineInjectable)({factory:function(){return new e(Object(a.inject)(i.e))},token:e,providedIn:"root"}),e}(),T=function(){function e(e){this._document=e}return e.prototype.ngOnDestroy=function(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)},e.prototype.getContainerElement=function(){return this._containerElement||this._createContainer(),this._containerElement},e.prototype._createContainer=function(){var e=this._document.createElement("div");e.classList.add("cdk-overlay-container"),this._document.body.appendChild(e),this._containerElement=e},e.ngInjectableDef=Object(a.defineInjectable)({factory:function(){return new e(Object(a.inject)(i.e))},token:e,providedIn:"root"}),e}(),R=function(){function e(e,t,n,o,r,i,a,s){var d=this;this._portalOutlet=e,this._host=t,this._pane=n,this._config=o,this._ngZone=r,this._keyboardDispatcher=i,this._document=a,this._location=s,this._backdropElement=null,this._backdropClick=new l.a,this._attachments=new l.a,this._detachments=new l.a,this._locationChanges=c.a.EMPTY,this._keydownEventsObservable=u.a.create(function(e){var t=d._keydownEvents.subscribe(e);return d._keydownEventSubscriptions++,function(){t.unsubscribe(),d._keydownEventSubscriptions--}}),this._keydownEvents=new l.a,this._keydownEventSubscriptions=0,o.scrollStrategy&&o.scrollStrategy.attach(this),this._positionStrategy=o.positionStrategy}return Object.defineProperty(e.prototype,"overlayElement",{get:function(){return this._pane},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"backdropElement",{get:function(){return this._backdropElement},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hostElement",{get:function(){return this._host},enumerable:!0,configurable:!0}),e.prototype.attach=function(e){var t=this,n=this._portalOutlet.attach(e);return this._positionStrategy&&this._positionStrategy.attach(this),!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._config.scrollStrategy&&this._config.scrollStrategy.enable(),this._ngZone.onStable.asObservable().pipe(Object(h.a)(1)).subscribe(function(){t.hasAttached()&&t.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&this._location&&(this._locationChanges=this._location.subscribe(function(){return t.dispose()})),n},e.prototype.detach=function(){if(this.hasAttached()){this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._config.scrollStrategy&&this._config.scrollStrategy.disable();var e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),e}},e.prototype.dispose=function(){var e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._config.scrollStrategy&&this._config.scrollStrategy.disable(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,e&&this._detachments.next(),this._detachments.complete()},e.prototype.hasAttached=function(){return this._portalOutlet.hasAttached()},e.prototype.backdropClick=function(){return this._backdropClick.asObservable()},e.prototype.attachments=function(){return this._attachments.asObservable()},e.prototype.detachments=function(){return this._detachments.asObservable()},e.prototype.keydownEvents=function(){return this._keydownEventsObservable},e.prototype.getConfig=function(){return this._config},e.prototype.updatePosition=function(){this._positionStrategy&&this._positionStrategy.apply()},e.prototype.updatePositionStrategy=function(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))},e.prototype.updateSize=function(e){this._config=Object(s.a)({},this._config,e),this._updateElementSize()},e.prototype.setDirection=function(e){this._config=Object(s.a)({},this._config,{direction:e}),this._updateElementDirection()},e.prototype.getDirection=function(){var e=this._config.direction;return e?"string"==typeof e?e:e.value:"ltr"},e.prototype._updateElementDirection=function(){this._host.setAttribute("dir",this.getDirection())},e.prototype._updateElementSize=function(){var e=this._pane.style;e.width=Object(o.c)(this._config.width),e.height=Object(o.c)(this._config.height),e.minWidth=Object(o.c)(this._config.minWidth),e.minHeight=Object(o.c)(this._config.minHeight),e.maxWidth=Object(o.c)(this._config.maxWidth),e.maxHeight=Object(o.c)(this._config.maxHeight)},e.prototype._togglePointerEvents=function(e){this._pane.style.pointerEvents=e?"auto":"none"},e.prototype._attachBackdrop=function(){var e=this;this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",function(t){return e._backdropClick.next(t)}),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){e._backdropElement&&e._backdropElement.classList.add("cdk-overlay-backdrop-showing")})}):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")},e.prototype._updateStackingOrder=function(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)},e.prototype.detachBackdrop=function(){var e=this,t=this._backdropElement;if(t){var n,o=function(){t&&t.parentNode&&t.parentNode.removeChild(t),e._backdropElement==t&&(e._backdropElement=null),e._config.backdropClass&&e._toggleClasses(t,e._config.backdropClass,!1),clearTimeout(n)};t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(function(){t.addEventListener("transitionend",o)}),t.style.pointerEvents="none",n=this._ngZone.runOutsideAngular(function(){return setTimeout(o,500)})}},e.prototype._toggleClasses=function(e,t,n){var r=e.classList;Object(o.a)(t).forEach(function(e){n?r.add(e):r.remove(e)})},e.prototype._detachContentWhenStable=function(){var e=this;this._ngZone.runOutsideAngular(function(){var t=e._ngZone.onStable.asObservable().pipe(Object(p.a)(Object(d.a)(e._attachments,e._detachments))).subscribe(function(){e._pane&&e._host&&0!==e._pane.children.length||(e._pane&&e._config.panelClass&&e._toggleClasses(e._pane,e._config.panelClass,!1),e._host&&e._host.parentElement&&(e._previousHostParent=e._host.parentElement,e._previousHostParent.removeChild(e._host)),t.unsubscribe())})})},e}(),P=function(){function e(e,t,n,o,r){var i=this;this._viewportRuler=t,this._document=n,this._platform=o,this._overlayContainer=r,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 l.a,this._resizeSubscription=c.a.EMPTY,this._offsetX=0,this._offsetY=0,this._positionChangeSubscriptions=0,this._appliedPanelClasses=[],this.positionChanges=u.a.create(function(e){var t=i._positionChanges.subscribe(e);return i._positionChangeSubscriptions++,function(){t.unsubscribe(),i._positionChangeSubscriptions--}}),this.setOrigin(e)}return Object.defineProperty(e.prototype,"positions",{get:function(){return this._preferredPositions},enumerable:!0,configurable:!0}),e.prototype.attach=function(e){var t=this;if(this._overlayRef&&e!==this._overlayRef)throw Error("This position strategy is already attached to an overlay");this._validatePositions(),e.hostElement.classList.add("cdk-overlay-connected-position-bounding-box"),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(function(){t._isInitialRender=!0,t.apply()})},e.prototype.apply=function(){if(!(this._isDisposed||this._platform&&!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._origin.getBoundingClientRect(),this._overlayRect=this._pane.getBoundingClientRect();for(var e,t=this._originRect,n=this._overlayRect,o=this._viewportRect,r=[],i=0,a=this._preferredPositions;i<a.length;i++){var s=a[i],l=this._getOriginPoint(t,s),c=this._getOverlayPoint(l,n,s),u=this._getOverlayFit(c,n,o,s);if(u.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(s,l);this._canFitWithFlexibleDimensions(u,c,o)?r.push({position:s,origin:l,overlayRect:n,boundingBoxRect:this._calculateBoundingBoxRect(l,s)}):(!e||e.overlayFit.visibleArea<u.visibleArea)&&(e={overlayFit:u,overlayPoint:c,originPoint:l,position:s,overlayRect:n})}if(r.length){for(var d=null,h=-1,p=0,f=r;p<f.length;p++){var m=f[p],g=m.boundingBoxRect.width*m.boundingBoxRect.height*(m.position.weight||1);g>h&&(h=g,d=m)}return this._isPushed=!1,void this._applyPosition(d.position,d.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(e.position,e.originPoint);this._applyPosition(e.position,e.originPoint)}},e.prototype.detach=function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()},e.prototype.dispose=function(){this._isDisposed||(this._boundingBox&&M(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)},e.prototype.reapplyLastPosition=function(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._origin.getBoundingClientRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();var e=this._lastPosition||this._preferredPositions[0],t=this._getOriginPoint(this._originRect,e);this._applyPosition(e,t)}},e.prototype.withScrollableContainers=function(e){this.scrollables=e},e.prototype.withPositions=function(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this},e.prototype.withViewportMargin=function(e){return this._viewportMargin=e,this},e.prototype.withFlexibleDimensions=function(e){return void 0===e&&(e=!0),this._hasFlexibleDimensions=e,this},e.prototype.withGrowAfterOpen=function(e){return void 0===e&&(e=!0),this._growAfterOpen=e,this},e.prototype.withPush=function(e){return void 0===e&&(e=!0),this._canPush=e,this},e.prototype.withLockedPosition=function(e){return void 0===e&&(e=!0),this._positionLocked=e,this},e.prototype.setOrigin=function(e){return this._origin=e instanceof a.ElementRef?e.nativeElement:e,this},e.prototype.withDefaultOffsetX=function(e){return this._offsetX=e,this},e.prototype.withDefaultOffsetY=function(e){return this._offsetY=e,this},e.prototype.withTransformOriginOn=function(e){return this._transformOriginSelector=e,this},e.prototype._getOriginPoint=function(e,t){var n;if("center"==t.originX)n=e.left+e.width/2;else{var o=this._isRtl()?e.right:e.left,r=this._isRtl()?e.left:e.right;n="start"==t.originX?o:r}return{x:n,y:"center"==t.originY?e.top+e.height/2:"top"==t.originY?e.top:e.bottom}},e.prototype._getOverlayPoint=function(e,t,n){var o;return o="center"==n.overlayX?-t.width/2:"start"===n.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,{x:e.x+o,y:e.y+("center"==n.overlayY?-t.height/2:"top"==n.overlayY?0:-t.height)}},e.prototype._getOverlayFit=function(e,t,n,o){var r=e.x,i=e.y,a=this._getOffset(o,"x"),s=this._getOffset(o,"y");a&&(r+=a),s&&(i+=s);var l=0-i,c=i+t.height-n.height,u=this._subtractOverflows(t.width,0-r,r+t.width-n.width),d=this._subtractOverflows(t.height,l,c),h=u*d;return{visibleArea:h,isCompletelyWithinViewport:t.width*t.height===h,fitsInViewportVertically:d===t.height,fitsInViewportHorizontally:u==t.width}},e.prototype._canFitWithFlexibleDimensions=function(e,t,n){if(this._hasFlexibleDimensions){var o=n.bottom-t.y,r=n.right-t.x,i=this._overlayRef.getConfig().minHeight,a=this._overlayRef.getConfig().minWidth;return(e.fitsInViewportVertically||null!=i&&i<=o)&&(e.fitsInViewportHorizontally||null!=a&&a<=r)}},e.prototype._pushOverlayOnScreen=function(e,t,n){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};var o,r,i=this._viewportRect,a=Math.max(e.x+t.width-i.right,0),s=Math.max(e.y+t.height-i.bottom,0),l=Math.max(i.top-n.top-e.y,0),c=Math.max(i.left-n.left-e.x,0);return this._previousPushAmount={x:o=t.width<i.width?c||-a:e.x<this._viewportMargin?i.left-n.left-e.x:0,y:r=t.height<i.height?l||-s:e.y<this._viewportMargin?i.top-n.top-e.y:0},{x:e.x+o,y:e.y+r}},e.prototype._applyPosition=function(e,t){if(this._setTransformOrigin(e),this._setOverlayElementStyles(t,e),this._setBoundingBoxStyles(t,e),e.panelClass&&this._addPanelClasses(e.panelClass),this._lastPosition=e,this._positionChangeSubscriptions>0){var n=this._getScrollVisibility(),o=new S(e,n);this._positionChanges.next(o)}this._isInitialRender=!1},e.prototype._setTransformOrigin=function(e){if(this._transformOriginSelector){var t,n=this._boundingBox.querySelectorAll(this._transformOriginSelector),o=e.overlayY;t="center"===e.overlayX?"center":this._isRtl()?"start"===e.overlayX?"right":"left":"start"===e.overlayX?"left":"right";for(var r=0;r<n.length;r++)n[r].style.transformOrigin=t+" "+o}},e.prototype._calculateBoundingBoxRect=function(e,t){var n,o,r,i,a,s,l=this._viewportRect,c=this._isRtl();if("top"===t.overlayY)o=e.y,n=l.bottom-e.y;else if("bottom"===t.overlayY)n=l.height-(r=l.height-e.y+2*this._viewportMargin)+this._viewportMargin;else{var u=Math.min(l.bottom-e.y+l.top,e.y),d=this._lastBoundingBoxSize.height;o=e.y-u,(n=2*u)>d&&!this._isInitialRender&&!this._growAfterOpen&&(o=e.y-d/2)}if("end"===t.overlayX&&!c||"start"===t.overlayX&&c)s=l.right-e.x+this._viewportMargin,i=e.x-l.left;else if("start"===t.overlayX&&!c||"end"===t.overlayX&&c)a=e.x,i=l.right-e.x;else{u=Math.min(l.right-e.x+l.left,e.x);var h=this._lastBoundingBoxSize.width;a=e.x-u,(i=2*u)>h&&!this._isInitialRender&&!this._growAfterOpen&&(a=e.x-h/2)}return{top:o,left:a,bottom:r,right:s,width:i,height:n}},e.prototype._setBoundingBoxStyles=function(e,t){var n=this._calculateBoundingBoxRect(e,t);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));var r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right="",r.width=r.height="100%";else{var i=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;r.height=Object(o.c)(n.height),r.top=Object(o.c)(n.top),r.bottom=Object(o.c)(n.bottom),r.width=Object(o.c)(n.width),r.left=Object(o.c)(n.left),r.right=Object(o.c)(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=Object(o.c)(i)),a&&(r.maxWidth=Object(o.c)(a))}this._lastBoundingBoxSize=n,M(this._boundingBox.style,r)},e.prototype._resetBoundingBoxStyles=function(){M(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})},e.prototype._resetOverlayElementStyles=function(){M(this._pane.style,{top:"",left:"",bottom:"",right:"",position:""})},e.prototype._setOverlayElementStyles=function(e,t){var n={};if(this._hasExactPosition()){var o=this._viewportRuler.getViewportScrollPosition();M(n,this._getExactOverlayY(t,e,o)),M(n,this._getExactOverlayX(t,e,o))}else n.position="static";var r="",i=this._getOffset(t,"x"),a=this._getOffset(t,"y");i&&(r+="translateX("+i+"px) "),a&&(r+="translateY("+a+"px)"),n.transform=r.trim(),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxHeight&&(n.maxHeight=""),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxWidth&&(n.maxWidth=""),M(this._pane.style,n)},e.prototype._getExactOverlayY=function(e,t,n){var r={top:null,bottom:null},i=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,n));var a=this._overlayContainer?this._overlayContainer.getContainerElement().getBoundingClientRect().top:0;return i.y-=a,"bottom"===e.overlayY?r.bottom=this._document.documentElement.clientHeight-(i.y+this._overlayRect.height)+"px":r.top=Object(o.c)(i.y),r},e.prototype._getExactOverlayX=function(e,t,n){var r={left:null,right:null},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=Object(o.c)(i.x),r},e.prototype._getScrollVisibility=function(){var e=this._origin.getBoundingClientRect(),t=this._pane.getBoundingClientRect(),n=this.scrollables.map(function(e){return e.getElementRef().nativeElement.getBoundingClientRect()});return{isOriginClipped:C(e,n),isOriginOutsideView:b(e,n),isOverlayClipped:C(t,n),isOverlayOutsideView:b(t,n)}},e.prototype._subtractOverflows=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce(function(e,t){return e-Math.max(t,0)},e)},e.prototype._getNarrowedViewportRect=function(){var e=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+e-this._viewportMargin,bottom:n.top+t-this._viewportMargin,width:e-2*this._viewportMargin,height:t-2*this._viewportMargin}},e.prototype._isRtl=function(){return"rtl"===this._overlayRef.getDirection()},e.prototype._hasExactPosition=function(){return!this._hasFlexibleDimensions||this._isPushed},e.prototype._getOffset=function(e,t){return"x"===t?null==e.offsetX?this._offsetX:e.offsetX:null==e.offsetY?this._offsetY:e.offsetY},e.prototype._validatePositions=function(){if(!this._preferredPositions.length)throw Error("FlexibleConnectedPositionStrategy: At least one position is required.");this._preferredPositions.forEach(function(e){x("originX",e.originX),O("originY",e.originY),x("overlayX",e.overlayX),O("overlayY",e.overlayY)})},e.prototype._addPanelClasses=function(e){var t=this;this._pane&&Object(o.a)(e).forEach(function(e){-1===t._appliedPanelClasses.indexOf(e)&&(t._appliedPanelClasses.push(e),t._pane.classList.add(e))})},e.prototype._clearPanelClasses=function(){var e=this;this._pane&&(this._appliedPanelClasses.forEach(function(t){return e._pane.classList.remove(t)}),this._appliedPanelClasses=[])},e}();function M(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}var I=function(){function e(e,t,n,o,r,i){this._preferredPositions=[],this._positionStrategy=new P(n,o,r,i).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(e,t)}return Object.defineProperty(e.prototype,"_isRtl",{get:function(){return"rtl"===this._overlayRef.getDirection()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onPositionChange",{get:function(){return this._positionStrategy.positionChanges},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"positions",{get:function(){return this._preferredPositions},enumerable:!0,configurable:!0}),e.prototype.attach=function(e){this._overlayRef=e,this._positionStrategy.attach(e),this._direction&&(e.setDirection(this._direction),this._direction=null)},e.prototype.dispose=function(){this._positionStrategy.dispose()},e.prototype.detach=function(){this._positionStrategy.detach()},e.prototype.apply=function(){this._positionStrategy.apply()},e.prototype.recalculateLastPosition=function(){this._positionStrategy.reapplyLastPosition()},e.prototype.withScrollableContainers=function(e){this._positionStrategy.withScrollableContainers(e)},e.prototype.withFallbackPosition=function(e,t,n,o){var r=new A(e,t,n,o);return this._preferredPositions.push(r),this._positionStrategy.withPositions(this._preferredPositions),this},e.prototype.withDirection=function(e){return this._overlayRef?this._overlayRef.setDirection(e):this._direction=e,this},e.prototype.withOffsetX=function(e){return this._positionStrategy.withDefaultOffsetX(e),this},e.prototype.withOffsetY=function(e){return this._positionStrategy.withDefaultOffsetY(e),this},e.prototype.withLockedPosition=function(e){return this._positionStrategy.withLockedPosition(e),this},e.prototype.withPositions=function(e){return this._preferredPositions=e.slice(),this._positionStrategy.withPositions(this._preferredPositions),this},e.prototype.setOrigin=function(e){return this._positionStrategy.setOrigin(e),this},e}(),F=function(){function e(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}return e.prototype.attach=function(e){var t=e.getConfig();this._overlayRef=e,this._width&&!t.width&&e.updateSize({width:this._width}),this._height&&!t.height&&e.updateSize({height:this._height}),e.hostElement.classList.add("cdk-global-overlay-wrapper"),this._isDisposed=!1},e.prototype.top=function(e){return void 0===e&&(e=""),this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this},e.prototype.left=function(e){return void 0===e&&(e=""),this._rightOffset="",this._leftOffset=e,this._justifyContent="flex-start",this},e.prototype.bottom=function(e){return void 0===e&&(e=""),this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this},e.prototype.right=function(e){return void 0===e&&(e=""),this._leftOffset="",this._rightOffset=e,this._justifyContent="flex-end",this},e.prototype.width=function(e){return void 0===e&&(e=""),this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this},e.prototype.height=function(e){return void 0===e&&(e=""),this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this},e.prototype.centerHorizontally=function(e){return void 0===e&&(e=""),this.left(e),this._justifyContent="center",this},e.prototype.centerVertically=function(e){return void 0===e&&(e=""),this.top(e),this._alignItems="center",this},e.prototype.apply=function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig();e.position=this._cssPosition,e.marginLeft="100%"===n.width?"0":this._leftOffset,e.marginTop="100%"===n.height?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=this._rightOffset,"100%"===n.width?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="100%"===n.height?"flex-start":this._alignItems}},e.prototype.dispose=function(){if(!this._isDisposed&&this._overlayRef){var e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,n=t.style;t.classList.remove("cdk-global-overlay-wrapper"),n.justifyContent=n.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},e}(),L=function(){function e(e,t,n,o){this._viewportRuler=e,this._document=t,this._platform=n,this._overlayContainer=o}return e.prototype.global=function(){return new F},e.prototype.connectedTo=function(e,t,n){return new I(t,n,e,this._viewportRuler,this._document)},e.prototype.flexibleConnectedTo=function(e){return new P(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)},e.ngInjectableDef=Object(a.defineInjectable)({factory:function(){return new e(Object(a.inject)(r.d),Object(a.inject)(i.e),Object(a.inject)(f.a,8),Object(a.inject)(T,8))},token:e,providedIn:"root"}),e}(),B=0,N=function(){function e(e,t,n,o,r,i,a,s,l,c){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=n,this._positionBuilder=o,this._keyboardDispatcher=r,this._injector=i,this._ngZone=a,this._document=s,this._directionality=l,this._location=c}return e.prototype.create=function(e){var t=this._createHostElement(),n=this._createPaneElement(t),o=this._createPortalOutlet(n),r=new k(e);return r.direction=r.direction||this._directionality.value,new R(o,t,n,r,this._ngZone,this._keyboardDispatcher,this._document,this._location)},e.prototype.position=function(){return this._positionBuilder},e.prototype._createPaneElement=function(e){var t=this._document.createElement("div");return t.id="cdk-overlay-"+B++,t.classList.add("cdk-overlay-pane"),e.appendChild(t),t},e.prototype._createHostElement=function(){var e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e},e.prototype._createPortalOutlet=function(e){return this._appRef||(this._appRef=this._injector.get(a.ApplicationRef)),new m.c(e,this._componentFactoryResolver,this._appRef,this._injector)},e}(),j=new a.InjectionToken("cdk-connected-overlay-scroll-strategy");function V(e){return function(){return e.scrollStrategies.reposition()}}var U=function(){return function(){}}()},eihs:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o={e:{}}},eoPS:function(e,t,n){var o=n("iUbB");e.exports=function(e,t){var n=Number(t);return o(e,7*n)}},f9gI:function(e,t,n){var o=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,r,i=o(e).getTime();return t.forEach(function(e,t){var a=o(e),s=Math.abs(i-a.getTime());(void 0===n||s<r)&&(n=t,r=s)}),n}},fupu:function(e,t,n){var o=n("pzWd");e.exports=function(e){if(o(e))return!isNaN(e);throw new TypeError(toString.call(e)+" is not an instance of Date")}},"g/AU":function(e,t,n){var o=n("rxuJ");e.exports=function(e,t){var n=Number(t);return o(e,-n)}},gIcY:function(e,t,n){"use strict";n.r(t);var o=n("mrSG"),r=n("CcnG"),i=n("6blF"),a=n("isby"),s=n("G5J1"),l=n("zotm"),c=n("MGBS"),u=n("67Y/"),d=function(e){function t(t,n){var o=e.call(this,t)||this;o.sources=n,o.completed=0,o.haveValues=0;var r=n.length;o.values=new Array(r);for(var i=0;i<r;i++){var a=n[i],s=Object(l.a)(o,a,null,i);s&&o.add(s)}return o}return o.c(t,e),t.prototype.notifyNext=function(e,t,n,o,r){this.values[n]=t,r._hasValue||(r._hasValue=!0,this.haveValues++)},t.prototype.notifyComplete=function(e){var t=this.destination,n=this.haveValues,o=this.values,r=o.length;e._hasValue?(this.completed++,this.completed===r&&(n===r&&t.next(o),t.complete())):t.complete()},t}(c.a),h=n("0/uQ"),p=n("ZYjt");n.d(t,"\u0275angular_packages_forms_forms_bc",function(){return ht}),n.d(t,"\u0275angular_packages_forms_forms_bb",function(){return dt}),n.d(t,"\u0275angular_packages_forms_forms_z",function(){return ct}),n.d(t,"\u0275angular_packages_forms_forms_ba",function(){return ut}),n.d(t,"\u0275angular_packages_forms_forms_a",function(){return A}),n.d(t,"\u0275angular_packages_forms_forms_b",function(){return O}),n.d(t,"\u0275angular_packages_forms_forms_c",function(){return fe}),n.d(t,"\u0275angular_packages_forms_forms_d",function(){return me}),n.d(t,"\u0275angular_packages_forms_forms_e",function(){return Ae}),n.d(t,"\u0275angular_packages_forms_forms_f",function(){return De}),n.d(t,"\u0275angular_packages_forms_forms_g",function(){return Me}),n.d(t,"\u0275angular_packages_forms_forms_h",function(){return Re}),n.d(t,"\u0275angular_packages_forms_forms_bh",function(){return lt}),n.d(t,"\u0275angular_packages_forms_forms_bd",function(){return P}),n.d(t,"\u0275angular_packages_forms_forms_be",function(){return M}),n.d(t,"\u0275angular_packages_forms_forms_i",function(){return L}),n.d(t,"\u0275angular_packages_forms_forms_j",function(){return B}),n.d(t,"\u0275angular_packages_forms_forms_bf",function(){return j}),n.d(t,"\u0275angular_packages_forms_forms_bg",function(){return V}),n.d(t,"\u0275angular_packages_forms_forms_k",function(){return Le}),n.d(t,"\u0275angular_packages_forms_forms_l",function(){return Be}),n.d(t,"\u0275angular_packages_forms_forms_m",function(){return Ge}),n.d(t,"\u0275angular_packages_forms_forms_n",function(){return je}),n.d(t,"\u0275angular_packages_forms_forms_p",function(){return He}),n.d(t,"\u0275angular_packages_forms_forms_o",function(){return Ue}),n.d(t,"\u0275angular_packages_forms_forms_q",function(){return K}),n.d(t,"\u0275angular_packages_forms_forms_s",function(){return X}),n.d(t,"\u0275angular_packages_forms_forms_r",function(){return Y}),n.d(t,"\u0275angular_packages_forms_forms_u",function(){return Ye}),n.d(t,"\u0275angular_packages_forms_forms_v",function(){return Xe}),n.d(t,"\u0275angular_packages_forms_forms_x",function(){return nt}),n.d(t,"\u0275angular_packages_forms_forms_w",function(){return et}),n.d(t,"\u0275angular_packages_forms_forms_y",function(){return rt}),n.d(t,"\u0275angular_packages_forms_forms_t",function(){return ze}),n.d(t,"AbstractControlDirective",function(){return f}),n.d(t,"AbstractFormGroupDirective",function(){return pe}),n.d(t,"CheckboxControlValueAccessor",function(){return S}),n.d(t,"ControlContainer",function(){return m}),n.d(t,"NG_VALUE_ACCESSOR",function(){return k}),n.d(t,"COMPOSITION_BUFFER_MODE",function(){return x}),n.d(t,"DefaultValueAccessor",function(){return D}),n.d(t,"NgControl",function(){return F}),n.d(t,"NgControlStatus",function(){return ge}),n.d(t,"NgControlStatusGroup",function(){return ve}),n.d(t,"NgForm",function(){return Oe}),n.d(t,"NgFormSelectorWarning",function(){return Te}),n.d(t,"NgModel",function(){return Fe}),n.d(t,"NgModelGroup",function(){return Pe}),n.d(t,"RadioControlValueAccessor",function(){return N}),n.d(t,"FormControlDirective",function(){return Ne}),n.d(t,"FormControlName",function(){return qe}),n.d(t,"FormGroupDirective",function(){return Ve}),n.d(t,"FormArrayName",function(){return We}),n.d(t,"FormGroupName",function(){return $e}),n.d(t,"NgSelectOption",function(){return z}),n.d(t,"SelectControlValueAccessor",function(){return q}),n.d(t,"SelectMultipleControlValueAccessor",function(){return J}),n.d(t,"CheckboxRequiredValidator",function(){return Je}),n.d(t,"EmailValidator",function(){return Qe}),n.d(t,"MaxLengthValidator",function(){return ot}),n.d(t,"MinLengthValidator",function(){return tt}),n.d(t,"PatternValidator",function(){return it}),n.d(t,"RequiredValidator",function(){return Ze}),n.d(t,"FormBuilder",function(){return at}),n.d(t,"AbstractControl",function(){return Ce}),n.d(t,"FormArray",function(){return ke}),n.d(t,"FormControl",function(){return Ee}),n.d(t,"FormGroup",function(){return we}),n.d(t,"NG_ASYNC_VALIDATORS",function(){return _}),n.d(t,"NG_VALIDATORS",function(){return v}),n.d(t,"Validators",function(){return b}),n.d(t,"VERSION",function(){return st}),n.d(t,"FormsModule",function(){return pt}),n.d(t,"ReactiveFormsModule",function(){return ft});var f=function(){function e(){}return Object.defineProperty(e.prototype,"value",{get:function(){return this.control?this.control.value:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valid",{get:function(){return this.control?this.control.valid:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"invalid",{get:function(){return this.control?this.control.invalid:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pending",{get:function(){return this.control?this.control.pending:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.control?this.control.disabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"enabled",{get:function(){return this.control?this.control.enabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"errors",{get:function(){return this.control?this.control.errors:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pristine",{get:function(){return this.control?this.control.pristine:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dirty",{get:function(){return this.control?this.control.dirty:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"touched",{get:function(){return this.control?this.control.touched:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"status",{get:function(){return this.control?this.control.status:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"untouched",{get:function(){return this.control?this.control.untouched:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"statusChanges",{get:function(){return this.control?this.control.statusChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valueChanges",{get:function(){return this.control?this.control.valueChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),e.prototype.reset=function(e){void 0===e&&(e=void 0),this.control&&this.control.reset(e)},e.prototype.hasError=function(e,t){return!!this.control&&this.control.hasError(e,t)},e.prototype.getError=function(e,t){return this.control?this.control.getError(e,t):null},e}(),m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.c)(t,e),Object.defineProperty(t.prototype,"formDirective",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),t}(f);function g(e){return null==e||0===e.length}var v=new r.InjectionToken("NgValidators"),_=new r.InjectionToken("NgAsyncValidators"),y=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,b=function(){function e(){}return e.min=function(e){return function(t){if(g(t.value)||g(e))return null;var n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}},e.max=function(e){return function(t){if(g(t.value)||g(e))return null;var n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}},e.required=function(e){return g(e.value)?{required:!0}:null},e.requiredTrue=function(e){return!0===e.value?null:{required:!0}},e.email=function(e){return g(e.value)?null:y.test(e.value)?null:{email:!0}},e.minLength=function(e){return function(t){if(g(t.value))return null;var n=t.value?t.value.length:0;return n<e?{minlength:{requiredLength:e,actualLength:n}}:null}},e.maxLength=function(e){return function(t){var n=t.value?t.value.length:0;return n>e?{maxlength:{requiredLength:e,actualLength:n}}:null}},e.pattern=function(t){return t?("string"==typeof t?(o="","^"!==t.charAt(0)&&(o+="^"),o+=t,"$"!==t.charAt(t.length-1)&&(o+="$"),n=new RegExp(o)):(o=t.toString(),n=t),function(e){if(g(e.value))return null;var t=e.value;return n.test(t)?null:{pattern:{requiredPattern:o,actualValue:t}}}):e.nullValidator;var n,o},e.nullValidator=function(e){return null},e.compose=function(e){if(!e)return null;var t=e.filter(C);return 0==t.length?null:function(e){return w(function(e,n){return t.map(function(t){return t(e)})}(e))}},e.composeAsync=function(e){if(!e)return null;var t=e.filter(C);return 0==t.length?null:function(e){return function e(){for(var t,n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];return"function"==typeof n[n.length-1]&&(t=n.pop()),1===n.length&&Object(a.a)(n[0])&&(n=n[0]),0===n.length?s.a:t?e(n).pipe(Object(u.a)(function(e){return t.apply(void 0,e)})):new i.a(function(e){return new d(e,n)})}(function(e,n){return t.map(function(t){return t(e)})}(e).map(E)).pipe(Object(u.a)(w))}},e}();function C(e){return null!=e}function E(e){var t=Object(r["\u0275isPromise"])(e)?Object(h.a)(e):e;if(!Object(r["\u0275isObservable"])(t))throw new Error("Expected validator to return Promise or Observable.");return t}function w(e){var t=e.reduce(function(e,t){return null!=t?Object(o.a)({},e,t):e},{});return 0===Object.keys(t).length?null:t}var k=new r.InjectionToken("NgValueAccessor"),A={provide:k,useExisting:Object(r.forwardRef)(function(){return S}),multi:!0},S=function(){function e(e,t){this._renderer=e,this._elementRef=t,this.onChange=function(e){},this.onTouched=function(){}}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"checked",e)},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e}(),O={provide:k,useExisting:Object(r.forwardRef)(function(){return D}),multi:!0},x=new r.InjectionToken("CompositionEventMode"),D=function(){function e(e,t,n){var o;this._renderer=e,this._elementRef=t,this._compositionMode=n,this.onChange=function(e){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(o=Object(p["\u0275getDOM"])()?Object(p["\u0275getDOM"])().getUserAgent():"",!/android (\d+)/.test(o.toLowerCase())))}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._handleInput=function(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)},e.prototype._compositionStart=function(){this._composing=!0},e.prototype._compositionEnd=function(e){this._composing=!1,this._compositionMode&&this.onChange(e)},e}();function T(e){return e.validate?function(t){return e.validate(t)}:e}function R(e){return e.validate?function(t){return e.validate(t)}:e}var P={provide:k,useExisting:Object(r.forwardRef)(function(){return M}),multi:!0},M=function(){function e(e,t){this._renderer=e,this._elementRef=t,this.onChange=function(e){},this.onTouched=function(){}}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)},e.prototype.registerOnChange=function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e}();function I(){throw new Error("unimplemented")}var F=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._parent=null,t.name=null,t.valueAccessor=null,t._rawValidators=[],t._rawAsyncValidators=[],t}return Object(o.c)(t,e),Object.defineProperty(t.prototype,"validator",{get:function(){return I()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return I()},enumerable:!0,configurable:!0}),t}(f),L={provide:k,useExisting:Object(r.forwardRef)(function(){return N}),multi:!0},B=function(){function e(){this._accessors=[]}return e.prototype.add=function(e,t){this._accessors.push([e,t])},e.prototype.remove=function(e){for(var t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)},e.prototype.select=function(e){var t=this;this._accessors.forEach(function(n){t._isSameGroup(n,e)&&n[1]!==e&&n[1].fireUncheck(e.value)})},e.prototype._isSameGroup=function(e,t){return!!e[0].control&&e[0]._parent===t._control._parent&&e[1].name===t.name},e}(),N=function(){function e(e,t,n,o){this._renderer=e,this._elementRef=t,this._registry=n,this._injector=o,this.onChange=function(){},this.onTouched=function(){}}return e.prototype.ngOnInit=function(){this._control=this._injector.get(F),this._checkName(),this._registry.add(this._control,this)},e.prototype.ngOnDestroy=function(){this._registry.remove(this)},e.prototype.writeValue=function(e){this._state=e===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},e.prototype.registerOnChange=function(e){var t=this;this._fn=e,this.onChange=function(){e(t.value),t._registry.select(t)}},e.prototype.fireUncheck=function(e){this.writeValue(e)},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},e.prototype._throwNameError=function(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: <input type="radio" formControlName="food" name="food">\n ')},e}(),j={provide:k,useExisting:Object(r.forwardRef)(function(){return V}),multi:!0},V=function(){function e(e,t){this._renderer=e,this._elementRef=t,this.onChange=function(e){},this.onTouched=function(){}}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(e))},e.prototype.registerOnChange=function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e}(),U='\n <div [formGroup]="myGroup">\n <input formControlName="firstName">\n </div>\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',$='\n <div [formGroup]="myGroup">\n <div formGroupName="person">\n <input formControlName="firstName">\n </div>\n </div>\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',H='\n <form>\n <div ngModelGroup="person">\n <input [(ngModel)]="person.name" name="firstName">\n </div>\n </form>',W=function(){function e(){}return e.controlParentException=function(){throw new Error("formControlName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+U)},e.ngModelGroupException=function(){throw new Error('formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n Option 1: Update the parent to be formGroupName (reactive form strategy)\n\n '+$+"\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n "+H)},e.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+U)},e.groupParentException=function(){throw new Error("formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+$)},e.arrayParentException=function(){throw new Error('formArrayName must be used with a parent formGroup directive. You\'ll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n \n <div [formGroup]="myGroup">\n <div formArrayName="cities">\n <div *ngFor="let city of cityArray.controls; index as i">\n <input [formControlName]="i">\n </div>\n </div>\n </div>\n\n In your class:\n\n this.cityArray = new FormArray([new FormControl(\'SF\')]);\n this.myGroup = new FormGroup({\n cities: this.cityArray\n });')},e.disabledAttrWarning=function(){console.warn("\n It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n you. We recommend using this approach to avoid 'changed after checked' errors.\n \n Example: \n form = new FormGroup({\n first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n last: new FormControl('Drew', Validators.required)\n });\n ")},e.ngModelWarning=function(e){console.warn("\n It looks like you're using ngModel on the same form field as "+e+". \n Support for using the ngModel input property and ngModelChange event with \n reactive form directives has been deprecated in Angular v6 and will be removed \n in Angular v7.\n \n For more information on this, see our API docs here:\n https://angular.io/api/forms/"+("formControl"===e?"FormControlDirective":"FormControlName")+"#use-with-ngmodel\n ")},e}(),K={provide:k,useExisting:Object(r.forwardRef)(function(){return q}),multi:!0};function G(e,t){return null==e?""+t:(t&&"object"==typeof t&&(t="Object"),(e+": "+t).slice(0,50))}var q=function(){function e(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=r["\u0275looseIdentical"]}return Object.defineProperty(e.prototype,"compareWith",{set:function(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e},enumerable:!0,configurable:!0}),e.prototype.writeValue=function(e){this.value=e;var t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=G(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)},e.prototype.registerOnChange=function(e){var t=this;this.onChange=function(n){t.value=t._getOptionValue(n),e(t.value)}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._registerOption=function(){return(this._idCounter++).toString()},e.prototype._getOptionId=function(e){var t,n;try{for(var r=Object(o.h)(Array.from(this._optionMap.keys())),i=r.next();!i.done;i=r.next()){var a=i.value;if(this._compareWith(this._optionMap.get(a),e))return a}}catch(s){t={error:s}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return null},e.prototype._getOptionValue=function(e){var t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e},e}(),z=function(){function e(e,t,n){this._element=e,this._renderer=t,this._select=n,this._select&&(this.id=this._select._registerOption())}return Object.defineProperty(e.prototype,"ngValue",{set:function(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue(G(this.id,e)),this._select.writeValue(this._select.value))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{set:function(e){this._setElementValue(e),this._select&&this._select.writeValue(this._select.value)},enumerable:!0,configurable:!0}),e.prototype._setElementValue=function(e){this._renderer.setProperty(this._element.nativeElement,"value",e)},e.prototype.ngOnDestroy=function(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))},e}(),Y={provide:k,useExisting:Object(r.forwardRef)(function(){return J}),multi:!0};function Z(e,t){return null==e?""+t:("string"==typeof t&&(t="'"+t+"'"),t&&"object"==typeof t&&(t="Object"),(e+": "+t).slice(0,50))}var J=function(){function e(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=r["\u0275looseIdentical"]}return Object.defineProperty(e.prototype,"compareWith",{set:function(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e},enumerable:!0,configurable:!0}),e.prototype.writeValue=function(e){var t,n=this;if(this.value=e,Array.isArray(e)){var o=e.map(function(e){return n._getOptionId(e)});t=function(e,t){e._setSelected(o.indexOf(t.toString())>-1)}}else t=function(e,t){e._setSelected(!1)};this._optionMap.forEach(t)},e.prototype.registerOnChange=function(e){var t=this;this.onChange=function(n){var o=[];if(n.hasOwnProperty("selectedOptions"))for(var r=n.selectedOptions,i=0;i<r.length;i++){var a=r.item(i),s=t._getOptionValue(a.value);o.push(s)}else for(r=n.options,i=0;i<r.length;i++)(a=r.item(i)).selected&&(s=t._getOptionValue(a.value),o.push(s));t.value=o,e(o)}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._registerOption=function(e){var t=(this._idCounter++).toString();return this._optionMap.set(t,e),t},e.prototype._getOptionId=function(e){var t,n;try{for(var r=Object(o.h)(Array.from(this._optionMap.keys())),i=r.next();!i.done;i=r.next()){var a=i.value;if(this._compareWith(this._optionMap.get(a)._value,e))return a}}catch(s){t={error:s}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return null},e.prototype._getOptionValue=function(e){var t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t)._value:e},e}(),X=function(){function e(e,t,n){this._element=e,this._renderer=t,this._select=n,this._select&&(this.id=this._select._registerOption(this))}return Object.defineProperty(e.prototype,"ngValue",{set:function(e){null!=this._select&&(this._value=e,this._setElementValue(Z(this.id,e)),this._select.writeValue(this._select.value))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{set:function(e){this._select?(this._value=e,this._setElementValue(Z(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)},enumerable:!0,configurable:!0}),e.prototype._setElementValue=function(e){this._renderer.setProperty(this._element.nativeElement,"value",e)},e.prototype._setSelected=function(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)},e.prototype.ngOnDestroy=function(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))},e}();function Q(e,t){return Object(o.g)(t.path,[e])}function ee(e,t){e||re(t,"Cannot find control with"),t.valueAccessor||re(t,"No value accessor for form control with"),e.validator=b.compose([e.validator,t.validator]),e.asyncValidator=b.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&&te(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&&te(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 te(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function ne(e,t){null==e&&re(t,"Cannot find control with"),e.validator=b.compose([e.validator,t.validator]),e.asyncValidator=b.composeAsync([e.asyncValidator,t.asyncValidator])}function oe(e){return re(e,"There is no FormControl instance attached to form control element with")}function re(e,t){var n;throw n=e.path.length>1?"path: '"+e.path.join(" -> ")+"'":e.path[0]?"name: '"+e.path+"'":"unspecified name attribute",new Error(t+" "+n)}function ie(e){return null!=e?b.compose(e.map(T)):null}function ae(e){return null!=e?b.composeAsync(e.map(R)):null}function se(e,t){if(!e.hasOwnProperty("model"))return!1;var n=e.model;return!!n.isFirstChange()||!Object(r["\u0275looseIdentical"])(t,n.currentValue)}var le=[S,V,M,q,J,N];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 ue(e,t){if(!t)return null;Array.isArray(t)||re(e,"Value accessor was not provided as an array for form control with");var n=void 0,o=void 0,r=void 0;return t.forEach(function(t){var i;t.constructor===D?n=t:(i=t,le.some(function(e){return i.constructor===e})?(o&&re(e,"More than one built-in value accessor matches form control with"),o=t):(r&&re(e,"More than one custom value accessor matches form control with"),r=t))}),r||o||n||(re(e,"No valid value accessor for form control with"),null)}function de(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}function he(e,t,n,o){Object(r.isDevMode)()&&"never"!==o&&((null!==o&&"once"!==o||t._ngModelWarningSentOnce)&&("always"!==o||n._ngModelWarningSent)||(W.ngModelWarning(e),t._ngModelWarningSentOnce=!0,n._ngModelWarningSent=!0))}var pe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.c)(t,e),t.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormGroup(this)},t.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormGroup(this)},Object.defineProperty(t.prototype,"control",{get:function(){return this.formDirective.getFormGroup(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return Q(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return ie(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return ae(this._asyncValidators)},enumerable:!0,configurable:!0}),t.prototype._checkParentType=function(){},t}(m),fe=function(){function e(e){this._cd=e}return Object.defineProperty(e.prototype,"ngClassUntouched",{get:function(){return!!this._cd.control&&this._cd.control.untouched},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassTouched",{get:function(){return!!this._cd.control&&this._cd.control.touched},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassPristine",{get:function(){return!!this._cd.control&&this._cd.control.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassDirty",{get:function(){return!!this._cd.control&&this._cd.control.dirty},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassValid",{get:function(){return!!this._cd.control&&this._cd.control.valid},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassInvalid",{get:function(){return!!this._cd.control&&this._cd.control.invalid},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassPending",{get:function(){return!!this._cd.control&&this._cd.control.pending},enumerable:!0,configurable:!0}),e}(),me={"[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"},ge=function(e){function t(t){return e.call(this,t)||this}return Object(o.c)(t,e),t}(fe),ve=function(e){function t(t){return e.call(this,t)||this}return Object(o.c)(t,e),t}(fe);function _e(e){var t=be(e)?e.validators:e;return Array.isArray(t)?ie(t):t||null}function ye(e,t){var n=be(t)?t.asyncValidators:e;return Array.isArray(n)?ae(n):n||null}function be(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}var Ce=function(){function e(e,t){this.validator=e,this.asyncValidator=t,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valid",{get:function(){return"VALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"invalid",{get:function(){return"INVALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pending",{get:function(){return"PENDING"==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return"DISABLED"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"enabled",{get:function(){return"DISABLED"!==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dirty",{get:function(){return!this.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"untouched",{get:function(){return!this.touched},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"updateOn",{get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"},enumerable:!0,configurable:!0}),e.prototype.setValidators=function(e){this.validator=_e(e)},e.prototype.setAsyncValidators=function(e){this.asyncValidator=ye(e)},e.prototype.clearValidators=function(){this.validator=null},e.prototype.clearAsyncValidators=function(){this.asyncValidator=null},e.prototype.markAsTouched=function(e){void 0===e&&(e={}),this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)},e.prototype.markAsUntouched=function(e){void 0===e&&(e={}),this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(e){e.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)},e.prototype.markAsDirty=function(e){void 0===e&&(e={}),this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)},e.prototype.markAsPristine=function(e){void 0===e&&(e={}),this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(e){e.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)},e.prototype.markAsPending=function(e){void 0===e&&(e={}),this.status="PENDING",!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)},e.prototype.disable=function(e){void 0===e&&(e={}),this.status="DISABLED",this.errors=null,this._forEachChild(function(t){t.disable(Object(o.a)({},e,{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(e),this._onDisabledChange.forEach(function(e){return e(!0)})},e.prototype.enable=function(e){void 0===e&&(e={}),this.status="VALID",this._forEachChild(function(t){t.enable(Object(o.a)({},e,{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(e),this._onDisabledChange.forEach(function(e){return e(!1)})},e.prototype._updateAncestors=function(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),this._parent._updatePristine(),this._parent._updateTouched())},e.prototype.setParent=function(e){this._parent=e},e.prototype.updateValueAndValidity=function(e){void 0===e&&(e={}),this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)},e.prototype._updateTreeValidity=function(e){void 0===e&&(e={emitEvent:!0}),this._forEachChild(function(t){return t._updateTreeValidity(e)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})},e.prototype._setInitialStatus=function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"},e.prototype._runValidator=function(){return this.validator?this.validator(this):null},e.prototype._runAsyncValidator=function(e){var t=this;if(this.asyncValidator){this.status="PENDING";var n=E(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(function(n){return t.setErrors(n,{emitEvent:e})})}},e.prototype._cancelExistingSubscription=function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()},e.prototype.setErrors=function(e,t){void 0===t&&(t={}),this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)},e.prototype.get=function(e){return function(e,t,n){return null==t?null:(t instanceof Array||(t=t.split(".")),t instanceof Array&&0===t.length?null:t.reduce(function(e,t){return e instanceof we?e.controls.hasOwnProperty(t)?e.controls[t]:null:e instanceof ke&&e.at(t)||null},e))}(this,e)},e.prototype.getError=function(e,t){var n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null},e.prototype.hasError=function(e,t){return!!this.getError(e,t)},Object.defineProperty(e.prototype,"root",{get:function(){for(var e=this;e._parent;)e=e._parent;return e},enumerable:!0,configurable:!0}),e.prototype._updateControlsErrors=function(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)},e.prototype._initObservables=function(){this.valueChanges=new r.EventEmitter,this.statusChanges=new r.EventEmitter},e.prototype._calculateStatus=function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"},e.prototype._anyControlsHaveStatus=function(e){return this._anyControls(function(t){return t.status===e})},e.prototype._anyControlsDirty=function(){return this._anyControls(function(e){return e.dirty})},e.prototype._anyControlsTouched=function(){return this._anyControls(function(e){return e.touched})},e.prototype._updatePristine=function(e){void 0===e&&(e={}),this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)},e.prototype._updateTouched=function(e){void 0===e&&(e={}),this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)},e.prototype._isBoxedValue=function(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e},e.prototype._registerOnCollectionChange=function(e){this._onCollectionChange=e},e.prototype._setUpdateStrategy=function(e){be(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)},e}(),Ee=function(e){function t(t,n,o){void 0===t&&(t=null);var r=e.call(this,_e(n),ye(o,n))||this;return r._onChange=[],r._applyFormState(t),r._setUpdateStrategy(n),r.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),r._initObservables(),r}return Object(o.c)(t,e),t.prototype.setValue=function(e,t){var n=this;void 0===t&&(t={}),this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(function(e){return e(n.value,!1!==t.emitViewToModelChange)}),this.updateValueAndValidity(t)},t.prototype.patchValue=function(e,t){void 0===t&&(t={}),this.setValue(e,t)},t.prototype.reset=function(e,t){void 0===e&&(e=null),void 0===t&&(t={}),this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1},t.prototype._updateValue=function(){},t.prototype._anyControls=function(e){return!1},t.prototype._allControlsDisabled=function(){return this.disabled},t.prototype.registerOnChange=function(e){this._onChange.push(e)},t.prototype._clearChangeFns=function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}},t.prototype.registerOnDisabledChange=function(e){this._onDisabledChange.push(e)},t.prototype._forEachChild=function(e){},t.prototype._syncPendingControls=function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))},t.prototype._applyFormState=function(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e},t}(Ce),we=function(e){function t(t,n,o){var r=e.call(this,_e(n),ye(o,n))||this;return r.controls=t,r._initObservables(),r._setUpdateStrategy(n),r._setUpControls(),r.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),r}return Object(o.c)(t,e),t.prototype.registerControl=function(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)},t.prototype.addControl=function(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.removeControl=function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.setControl=function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.contains=function(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled},t.prototype.setValue=function(e,t){var n=this;void 0===t&&(t={}),this._checkAllValuesPresent(e),Object.keys(e).forEach(function(o){n._throwIfControlMissing(o),n.controls[o].setValue(e[o],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)},t.prototype.patchValue=function(e,t){var n=this;void 0===t&&(t={}),Object.keys(e).forEach(function(o){n.controls[o]&&n.controls[o].patchValue(e[o],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)},t.prototype.reset=function(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this._forEachChild(function(n,o){n.reset(e[o],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t),this._updatePristine(t),this._updateTouched(t)},t.prototype.getRawValue=function(){return this._reduceChildren({},function(e,t,n){return e[n]=t instanceof Ee?t.value:t.getRawValue(),e})},t.prototype._syncPendingControls=function(){var e=this._reduceChildren(!1,function(e,t){return!!t._syncPendingControls()||e});return e&&this.updateValueAndValidity({onlySelf:!0}),e},t.prototype._throwIfControlMissing=function(e){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[e])throw new Error("Cannot find form control with name: "+e+".")},t.prototype._forEachChild=function(e){var t=this;Object.keys(this.controls).forEach(function(n){return e(t.controls[n],n)})},t.prototype._setUpControls=function(){var e=this;this._forEachChild(function(t){t.setParent(e),t._registerOnCollectionChange(e._onCollectionChange)})},t.prototype._updateValue=function(){this.value=this._reduceValue()},t.prototype._anyControls=function(e){var t=this,n=!1;return this._forEachChild(function(o,r){n=n||t.contains(r)&&e(o)}),n},t.prototype._reduceValue=function(){var e=this;return this._reduceChildren({},function(t,n,o){return(n.enabled||e.disabled)&&(t[o]=n.value),t})},t.prototype._reduceChildren=function(e,t){var n=e;return this._forEachChild(function(e,o){n=t(n,e,o)}),n},t.prototype._allControlsDisabled=function(){var e,t;try{for(var n=Object(o.h)(Object.keys(this.controls)),r=n.next();!r.done;r=n.next())if(this.controls[r.value].enabled)return!1}catch(i){e={error:i}}finally{try{r&&!r.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return Object.keys(this.controls).length>0||this.disabled},t.prototype._checkAllValuesPresent=function(e){this._forEachChild(function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control with name: '"+n+"'.")})},t}(Ce),ke=function(e){function t(t,n,o){var r=e.call(this,_e(n),ye(o,n))||this;return r.controls=t,r._initObservables(),r._setUpdateStrategy(n),r._setUpControls(),r.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),r}return Object(o.c)(t,e),t.prototype.at=function(e){return this.controls[e]},t.prototype.push=function(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.insert=function(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()},t.prototype.removeAt=function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),this.controls.splice(e,1),this.updateValueAndValidity()},t.prototype.setControl=function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(t.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),t.prototype.setValue=function(e,t){var n=this;void 0===t&&(t={}),this._checkAllValuesPresent(e),e.forEach(function(e,o){n._throwIfControlMissing(o),n.at(o).setValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)},t.prototype.patchValue=function(e,t){var n=this;void 0===t&&(t={}),e.forEach(function(e,o){n.at(o)&&n.at(o).patchValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)},t.prototype.reset=function(e,t){void 0===e&&(e=[]),void 0===t&&(t={}),this._forEachChild(function(n,o){n.reset(e[o],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t),this._updatePristine(t),this._updateTouched(t)},t.prototype.getRawValue=function(){return this.controls.map(function(e){return e instanceof Ee?e.value:e.getRawValue()})},t.prototype._syncPendingControls=function(){var e=this.controls.reduce(function(e,t){return!!t._syncPendingControls()||e},!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e},t.prototype._throwIfControlMissing=function(e){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(e))throw new Error("Cannot find form control at index "+e)},t.prototype._forEachChild=function(e){this.controls.forEach(function(t,n){e(t,n)})},t.prototype._updateValue=function(){var e=this;this.value=this.controls.filter(function(t){return t.enabled||e.disabled}).map(function(e){return e.value})},t.prototype._anyControls=function(e){return this.controls.some(function(t){return t.enabled&&e(t)})},t.prototype._setUpControls=function(){var e=this;this._forEachChild(function(t){return e._registerControl(t)})},t.prototype._checkAllValuesPresent=function(e){this._forEachChild(function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control at index: "+n+".")})},t.prototype._allControlsDisabled=function(){var e,t;try{for(var n=Object(o.h)(this.controls),r=n.next();!r.done;r=n.next())if(r.value.enabled)return!1}catch(i){e={error:i}}finally{try{r&&!r.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return this.controls.length>0||this.disabled},t.prototype._registerControl=function(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)},t}(Ce),Ae={provide:m,useExisting:Object(r.forwardRef)(function(){return Oe})},Se=Promise.resolve(null),Oe=function(e){function t(t,n){var o=e.call(this)||this;return o.submitted=!1,o._directives=[],o.ngSubmit=new r.EventEmitter,o.form=new we({},ie(t),ae(n)),o}return Object(o.c)(t,e),t.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},Object.defineProperty(t.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),t.prototype.addControl=function(e){var t=this;Se.then(function(){var n=t._findContainer(e.path);e.control=n.registerControl(e.name,e.control),ee(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),t._directives.push(e)})},t.prototype.getControl=function(e){return this.form.get(e.path)},t.prototype.removeControl=function(e){var t=this;Se.then(function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name),de(t._directives,e)})},t.prototype.addFormGroup=function(e){var t=this;Se.then(function(){var n=t._findContainer(e.path),o=new we({});ne(o,e),n.registerControl(e.name,o),o.updateValueAndValidity({emitEvent:!1})})},t.prototype.removeFormGroup=function(e){var t=this;Se.then(function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name)})},t.prototype.getFormGroup=function(e){return this.form.get(e.path)},t.prototype.updateModel=function(e,t){var n=this;Se.then(function(){n.form.get(e.path).setValue(t)})},t.prototype.setValue=function(e){this.control.setValue(e)},t.prototype.onSubmit=function(e){return this.submitted=!0,ce(this.form,this._directives),this.ngSubmit.emit(e),!1},t.prototype.onReset=function(){this.resetForm()},t.prototype.resetForm=function(e){void 0===e&&(e=void 0),this.form.reset(e),this.submitted=!1},t.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},t.prototype._findContainer=function(e){return e.pop(),e.length?this.form.get(e):this.form},t}(m),xe=function(){function e(){}return e.modelParentException=function(){throw new Error('\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup\'s partner directive "formControlName" instead. Example:\n\n '+U+'\n\n Or, if you\'d like to avoid registering this form control, indicate that it\'s standalone in ngModelOptions:\n\n Example:\n\n \n <div [formGroup]="myGroup">\n <input formControlName="firstName">\n <input [(ngModel)]="showMoreControls" [ngModelOptions]="{standalone: true}">\n </div>\n ')},e.formGroupNameException=function(){throw new Error("\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n "+$+"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n "+H)},e.missingNameException=function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: <input [(ngModel)]="person.firstName" name="first">\n Example 2: <input [(ngModel)]="person.firstName" [ngModelOptions]="{standalone: true}">')},e.modelGroupParentException=function(){throw new Error("\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n "+$+"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n "+H)},e.ngFormWarning=function(){console.warn("\n It looks like you're using 'ngForm'.\n\n Support for using the 'ngForm' element selector has been deprecated in Angular v6 and will be removed\n in Angular v9.\n\n Use 'ng-form' instead.\n\n Before:\n <ngForm #myForm=\"ngForm\">\n\n After:\n <ng-form #myForm=\"ngForm\">\n ")},e}(),De=new r.InjectionToken("NgFormSelectorWarning"),Te=function(){function e(e){(e&&"once"!==e||t._ngFormWarning)&&"always"!==e||(xe.ngFormWarning(),t._ngFormWarning=!0)}var t;return t=e,e._ngFormWarning=!1,e}(),Re={provide:m,useExisting:Object(r.forwardRef)(function(){return Pe})},Pe=function(e){function t(t,n,o){var r=e.call(this)||this;return r._parent=t,r._validators=n,r._asyncValidators=o,r}var n;return Object(o.c)(t,e),n=t,t.prototype._checkParentType=function(){this._parent instanceof n||this._parent instanceof Oe||xe.modelGroupParentException()},t}(pe),Me={provide:F,useExisting:Object(r.forwardRef)(function(){return Fe})},Ie=Promise.resolve(null),Fe=function(e){function t(t,n,o,i){var a=e.call(this)||this;return a.control=new Ee,a._registered=!1,a.update=new r.EventEmitter,a._parent=t,a._rawValidators=n||[],a._rawAsyncValidators=o||[],a.valueAccessor=ue(a,i),a}return Object(o.c)(t,e),t.prototype.ngOnChanges=function(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),se(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},t.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(t.prototype,"path",{get:function(){return this._parent?Q(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return ie(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return ae(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),t.prototype.viewToModelUpdate=function(e){this.viewModel=e,this.update.emit(e)},t.prototype._setUpControl=function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},t.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)},t.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},t.prototype._setUpStandalone=function(){ee(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})},t.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},t.prototype._checkParentType=function(){!(this._parent instanceof Pe)&&this._parent instanceof pe?xe.formGroupNameException():this._parent instanceof Pe||this._parent instanceof Oe||xe.modelParentException()},t.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||xe.missingNameException()},t.prototype._updateValue=function(e){var t=this;Ie.then(function(){t.control.setValue(e,{emitViewToModelChange:!1})})},t.prototype._updateDisabled=function(e){var t=this,n=e.isDisabled.currentValue,o=""===n||n&&"false"!==n;Ie.then(function(){o&&!t.control.disabled?t.control.disable():!o&&t.control.disabled&&t.control.enable()})},t}(F),Le=new r.InjectionToken("NgModelWithFormControlWarning"),Be={provide:F,useExisting:Object(r.forwardRef)(function(){return Ne})},Ne=function(e){function t(t,n,o,i){var a=e.call(this)||this;return a._ngModelWarningConfig=i,a.update=new r.EventEmitter,a._ngModelWarningSent=!1,a._rawValidators=t||[],a._rawAsyncValidators=n||[],a.valueAccessor=ue(a,o),a}var n;return Object(o.c)(t,e),n=t,Object.defineProperty(t.prototype,"isDisabled",{set:function(e){W.disabledAttrWarning()},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(e){this._isControlChanged(e)&&(ee(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),se(e,this.viewModel)&&(he("formControl",n,this,this._ngModelWarningConfig),this.form.setValue(this.model),this.viewModel=this.model)},Object.defineProperty(t.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return ie(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return ae(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),t.prototype.viewToModelUpdate=function(e){this.viewModel=e,this.update.emit(e)},t.prototype._isControlChanged=function(e){return e.hasOwnProperty("form")},t._ngModelWarningSentOnce=!1,t}(F),je={provide:m,useExisting:Object(r.forwardRef)(function(){return Ve})},Ve=function(e){function t(t,n){var o=e.call(this)||this;return o._validators=t,o._asyncValidators=n,o.submitted=!1,o.directives=[],o.form=null,o.ngSubmit=new r.EventEmitter,o}return Object(o.c)(t,e),t.prototype.ngOnChanges=function(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())},Object.defineProperty(t.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),t.prototype.addControl=function(e){var t=this.form.get(e.path);return ee(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t},t.prototype.getControl=function(e){return this.form.get(e.path)},t.prototype.removeControl=function(e){de(this.directives,e)},t.prototype.addFormGroup=function(e){var t=this.form.get(e.path);ne(t,e),t.updateValueAndValidity({emitEvent:!1})},t.prototype.removeFormGroup=function(e){},t.prototype.getFormGroup=function(e){return this.form.get(e.path)},t.prototype.addFormArray=function(e){var t=this.form.get(e.path);ne(t,e),t.updateValueAndValidity({emitEvent:!1})},t.prototype.removeFormArray=function(e){},t.prototype.getFormArray=function(e){return this.form.get(e.path)},t.prototype.updateModel=function(e,t){this.form.get(e.path).setValue(t)},t.prototype.onSubmit=function(e){return this.submitted=!0,ce(this.form,this.directives),this.ngSubmit.emit(e),!1},t.prototype.onReset=function(){this.resetForm()},t.prototype.resetForm=function(e){void 0===e&&(e=void 0),this.form.reset(e),this.submitted=!1},t.prototype._updateDomValue=function(){var e=this;this.directives.forEach(function(t){var n=e.form.get(t.path);t.control!==n&&(function(e,t){t.valueAccessor.registerOnChange(function(){return oe(t)}),t.valueAccessor.registerOnTouched(function(){return oe(t)}),t._rawValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(null)}),t._rawAsyncValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(null)}),e&&e._clearChangeFns()}(t.control,t),n&&ee(n,t),t.control=n)}),this.form._updateTreeValidity({emitEvent:!1})},t.prototype._updateRegistrations=function(){var e=this;this.form._registerOnCollectionChange(function(){return e._updateDomValue()}),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){}),this._oldForm=this.form},t.prototype._updateValidators=function(){var e=ie(this._validators);this.form.validator=b.compose([this.form.validator,e]);var t=ae(this._asyncValidators);this.form.asyncValidator=b.composeAsync([this.form.asyncValidator,t])},t.prototype._checkFormPresent=function(){this.form||W.missingFormException()},t}(m),Ue={provide:m,useExisting:Object(r.forwardRef)(function(){return $e})},$e=function(e){function t(t,n,o){var r=e.call(this)||this;return r._parent=t,r._validators=n,r._asyncValidators=o,r}return Object(o.c)(t,e),t.prototype._checkParentType=function(){Ke(this._parent)&&W.groupParentException()},t}(pe),He={provide:m,useExisting:Object(r.forwardRef)(function(){return We})},We=function(e){function t(t,n,o){var r=e.call(this)||this;return r._parent=t,r._validators=n,r._asyncValidators=o,r}return Object(o.c)(t,e),t.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormArray(this)},t.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormArray(this)},Object.defineProperty(t.prototype,"control",{get:function(){return this.formDirective.getFormArray(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return Q(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return ie(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return ae(this._asyncValidators)},enumerable:!0,configurable:!0}),t.prototype._checkParentType=function(){Ke(this._parent)&&W.arrayParentException()},t}(m);function Ke(e){return!(e instanceof $e||e instanceof Ve||e instanceof We)}var Ge={provide:F,useExisting:Object(r.forwardRef)(function(){return qe})},qe=function(e){function t(t,n,o,i,a){var s=e.call(this)||this;return s._ngModelWarningConfig=a,s._added=!1,s.update=new r.EventEmitter,s._ngModelWarningSent=!1,s._parent=t,s._rawValidators=n||[],s._rawAsyncValidators=o||[],s.valueAccessor=ue(s,i),s}var n;return Object(o.c)(t,e),n=t,Object.defineProperty(t.prototype,"isDisabled",{set:function(e){W.disabledAttrWarning()},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(e){this._added||this._setUpControl(),se(e,this.viewModel)&&(he("formControlName",n,this,this._ngModelWarningConfig),this.viewModel=this.model,this.formDirective.updateModel(this,this.model))},t.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},t.prototype.viewToModelUpdate=function(e){this.viewModel=e,this.update.emit(e)},Object.defineProperty(t.prototype,"path",{get:function(){return Q(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return ie(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return ae(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),t.prototype._checkParentType=function(){!(this._parent instanceof $e)&&this._parent instanceof pe?W.ngModelGroupException():this._parent instanceof $e||this._parent instanceof Ve||this._parent instanceof We||W.controlParentException()},t.prototype._setUpControl=function(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0},t._ngModelWarningSentOnce=!1,t}(F),ze={provide:v,useExisting:Object(r.forwardRef)(function(){return Ze}),multi:!0},Ye={provide:v,useExisting:Object(r.forwardRef)(function(){return Je}),multi:!0},Ze=function(){function e(){}return Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(e){this._required=null!=e&&!1!==e&&""+e!="false",this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),e.prototype.validate=function(e){return this.required?b.required(e):null},e.prototype.registerOnValidatorChange=function(e){this._onChange=e},e}(),Je=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.c)(t,e),t.prototype.validate=function(e){return this.required?b.requiredTrue(e):null},t}(Ze),Xe={provide:v,useExisting:Object(r.forwardRef)(function(){return Qe}),multi:!0},Qe=function(){function e(){}return Object.defineProperty(e.prototype,"email",{set:function(e){this._enabled=""===e||!0===e||"true"===e,this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),e.prototype.validate=function(e){return this._enabled?b.email(e):null},e.prototype.registerOnValidatorChange=function(e){this._onChange=e},e}(),et={provide:v,useExisting:Object(r.forwardRef)(function(){return tt}),multi:!0},tt=function(){function e(){}return e.prototype.ngOnChanges=function(e){"minlength"in e&&(this._createValidator(),this._onChange&&this._onChange())},e.prototype.validate=function(e){return null==this.minlength?null:this._validator(e)},e.prototype.registerOnValidatorChange=function(e){this._onChange=e},e.prototype._createValidator=function(){this._validator=b.minLength(parseInt(this.minlength,10))},e}(),nt={provide:v,useExisting:Object(r.forwardRef)(function(){return ot}),multi:!0},ot=function(){function e(){}return e.prototype.ngOnChanges=function(e){"maxlength"in e&&(this._createValidator(),this._onChange&&this._onChange())},e.prototype.validate=function(e){return null!=this.maxlength?this._validator(e):null},e.prototype.registerOnValidatorChange=function(e){this._onChange=e},e.prototype._createValidator=function(){this._validator=b.maxLength(parseInt(this.maxlength,10))},e}(),rt={provide:v,useExisting:Object(r.forwardRef)(function(){return it}),multi:!0},it=function(){function e(){}return e.prototype.ngOnChanges=function(e){"pattern"in e&&(this._createValidator(),this._onChange&&this._onChange())},e.prototype.validate=function(e){return this._validator(e)},e.prototype.registerOnValidatorChange=function(e){this._onChange=e},e.prototype._createValidator=function(){this._validator=b.pattern(this.pattern)},e}(),at=function(){function e(){}return e.prototype.group=function(e,t){void 0===t&&(t=null);var n=this._reduceControls(e),o=null,r=null,i=void 0;return null==t||void 0===t.asyncValidator&&void 0===t.validator?null!=t&&(o=null!=t.validators?t.validators:null,r=null!=t.asyncValidators?t.asyncValidators:null,i=null!=t.updateOn?t.updateOn:void 0):(o=null!=t.validator?t.validator:null,r=null!=t.asyncValidator?t.asyncValidator:null),new we(n,{asyncValidators:r,updateOn:i,validators:o})},e.prototype.control=function(e,t,n){return new Ee(e,t,n)},e.prototype.array=function(e,t,n){var o=this,r=e.map(function(e){return o._createControl(e)});return new ke(r,t,n)},e.prototype._reduceControls=function(e){var t=this,n={};return Object.keys(e).forEach(function(o){n[o]=t._createControl(e[o])}),n},e.prototype._createControl=function(e){return e instanceof Ee||e instanceof we||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}(),st=new r.Version("7.1.4"),lt=function(){return function(){}}(),ct=[lt,z,X,D,M,V,S,q,J,N,ge,ve,Ze,tt,ot,it,Je,Qe],ut=[Fe,Pe,Oe,Te],dt=[Ne,Ve,qe,$e,We],ht=function(){return function(){}}(),pt=function(){function e(){}var t;return t=e,e.withConfig=function(e){return{ngModule:t,providers:[{provide:De,useValue:e.warnOnDeprecatedNgFormSelector}]}},e}(),ft=function(){function e(){}var t;return t=e,e.withConfig=function(e){return{ngModule:t,providers:[{provide:Le,useValue:e.warnOnNgModelWithFormControl}]}},e}()},gUhM:function(e,t){e.exports=function(){var e=new Date,t=e.getFullYear(),n=e.getMonth(),o=e.getDate(),r=new Date(0);return r.setFullYear(t,n,o+1),r.setHours(0,0,0,0),r}},gfz1:function(e,t,n){var o=n("yNUO"),r=n("tMf1"),i=n("RJeW");e.exports=function(e){var t=o(e),n=r(t).getTime()-i(t).getTime();return Math.round(n/6048e5)+1}},gtzP:function(e,t,n){var o=n("tMf1");e.exports=function(e,t){var n=o(e),r=o(t),i=n.getTime()-6e4*n.getTimezoneOffset(),a=r.getTime()-6e4*r.getTimezoneOffset();return Math.round((i-a)/6048e5)}},gwEV:function(e,t,n){var o=n("F809");e.exports=function(e,t){var n=o(e,t)/3;return n>0?Math.floor(n):Math.ceil(n)}},h9Dq:function(e,t,n){"use strict";var o=n("mrSG"),r=function(e){function t(t,n){return e.call(this)||this}return o.c(t,e),t.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},t}(n("pugT").a);n.d(t,"a",function(){return i});var i=function(e){function t(t,n){var o=e.call(this,t,n)||this;return o.scheduler=t,o.work=n,o.pending=!1,o}return o.c(t,e),t.prototype.schedule=function(e,t){if(void 0===t&&(t=0),this.closed)return this;this.state=e;var n=this.id,o=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(o,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(o,this.id,t),this},t.prototype.requestAsyncId=function(e,t,n){return void 0===n&&(n=0),setInterval(e.flush.bind(e,this),n)},t.prototype.recycleAsyncId=function(e,t,n){if(void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)},t.prototype.execute=function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var n=!1,o=void 0;try{this.work(e)}catch(r){n=!0,o=!!r&&r||new Error(r)}if(n)return this.unsubscribe(),o},t.prototype._unsubscribe=function(){var e=this.id,t=this.scheduler,n=t.actions,o=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==o&&n.splice(o,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null},t}(r)},hLnY:function(e,t,n){var o=n("yNUO");e.exports=function(e){var t=o(e).getDay();return 0===t&&(t=7),t}},hh1I:function(e,t,n){var o=n("iWRJ"),r=n("tMf1");e.exports=function(e){var t=o(e),n=new Date(0);n.setFullYear(t+1,0,4),n.setHours(0,0,0,0);var i=r(n);return i.setMilliseconds(i.getMilliseconds()-1),i}},iLxQ:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=!1,r={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){o=e},get useDeprecatedSynchronousErrorHandling(){return o}}},iQJf:function(e,t,n){var o=n("/LN1");e.exports=function(e,t){var n=Number(t);return o(e,-n)}},iUbB:function(e,t,n){var o=n("yNUO");e.exports=function(e,t){var n=o(e),r=Number(t);return n.setDate(n.getDate()+r),n}},iWRJ:function(e,t,n){var o=n("yNUO"),r=n("tMf1");e.exports=function(e){var t=o(e),n=t.getFullYear(),i=new Date(0);i.setFullYear(n+1,0,4),i.setHours(0,0,0,0);var a=r(i),s=new Date(0);s.setFullYear(n,0,4),s.setHours(0,0,0,0);var l=r(s);return t.getTime()>=a.getTime()?n+1:t.getTime()>=l.getTime()?n:n-1}},ihYY:function(e,t,n){"use strict";function o(e,t){return{type:7,name:e,definitions:t,options:{}}}function r(e,t){return void 0===t&&(t=null),{type:4,styles:t,timings:e}}function i(e,t){return void 0===t&&(t=null),{type:3,steps:e,options:t}}function a(e){return{type:6,styles:e,offset:null}}function s(e,t,n){return{type:0,name:e,styles:t,options:n}}function l(e,t,n){return void 0===n&&(n=null),{type:1,expr:e,animation:t,options:n}}function c(e){return void 0===e&&(e=null),{type:9,options:e}}function u(e,t,n){return void 0===n&&(n=null),{type:11,selector:e,animation:t,options:n}}n.d(t,"a",function(){return r}),n.d(t,"b",function(){return c}),n.d(t,"c",function(){return i}),n.d(t,"d",function(){return u}),n.d(t,"e",function(){return s}),n.d(t,"f",function(){return a}),n.d(t,"g",function(){return l}),n.d(t,"h",function(){return o})},isby:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o=Array.isArray||function(e){return e&&"number"==typeof e.length}},iu1C:function(e,t,n){var o=n("yNUO");e.exports=function(e,t){var n=o(e),r=Number(t);return n.setMinutes(r),n}},jIFe:function(e,t,n){var o=n("yNUO");e.exports=function(e){return o(e).getMilliseconds()}},kC7l:function(e,t,n){var o=n("yNUO");e.exports=function(e){return o(e).getTime()}},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 o in e)e.hasOwnProperty(o)&&t.push(o);var r=n.concat(t).sort().reverse();return new RegExp("(\\[[^\\[]*\\])|(\\\\)?("+r.join("|")+"|.)","g")}},kRN8:function(e,t,n){var o=n("yNUO");e.exports=function(e,t){var n=o(e),r=Number(t);return n.setSeconds(r),n}},ktc5:function(e,t,n){(function(e){var o;!function(r){"object"==typeof global&&global;var i=/[\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,l=/<\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,c={"\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])/,p=/[\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]/,f=/&(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,m={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"},g={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"},v={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"},_=[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],y=String.fromCharCode,b={}.hasOwnProperty,C=function(e,t){return b.call(e,t)},E=function(e,t){if(!e)return t;var n,o={};for(n in t)o[n]=C(e,n)?e[n]:t[n];return o},w=function(e,t){var n="";return e>=55296&&e<=57343||e>1114111?(t&&S("character reference outside the permissible Unicode range"),"\ufffd"):C(v,e)?(t&&S("disallowed character reference"),v[e]):(t&&function(e,t){for(var n=-1,o=e.length;++n<o;)if(e[n]==t)return!0;return!1}(_,e)&&S("disallowed character reference"),e>65535&&(n+=y((e-=65536)>>>10&1023|55296),e=56320|1023&e),n+=y(e))},k=function(e){return"&#x"+e.toString(16).toUpperCase()+";"},A=function(e){return"&#"+e+";"},S=function(e){throw Error("Parse error: "+e)},O=function(e,t){(t=E(t,O.options)).strict&&p.test(e)&&S("forbidden code point");var n=t.useNamedReferences,o=t.allowUnsafeSymbols,r=t.decimal?A:k,d=function(e){return r(e.charCodeAt(0))};return t.encodeEverything?(e=e.replace(a,function(e){return n&&C(c,e)?"&"+c[e]+";":d(e)}),n&&(e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),n&&(e=e.replace(l,function(e){return"&"+c[e]+";"}))):n?(o||(e=e.replace(u,function(e){return"&"+c[e]+";"})),e=(e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒")).replace(l,function(e){return"&"+c[e]+";"})):o||(e=e.replace(u,d)),e.replace(i,function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1);return r(1024*(t-55296)+n-56320+65536)}).replace(s,d)};O.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var x=function(e,t){var n=(t=E(t,x.options)).strict;return n&&h.test(e)&&S("malformed character reference"),e.replace(f,function(e,o,r,i,a,s,l,c,u){var d,h,p,f,v,_;return o?m[v=o]:r?(v=r,(_=i)&&t.isAttributeValue?(n&&"="==_&&S("`&` did not start a character reference"),e):(n&&S("named character reference was not terminated by a semicolon"),g[v]+(_||""))):a?(p=a,h=s,n&&!h&&S("character reference was not terminated by a semicolon"),d=parseInt(p,10),w(d,n)):l?(f=l,h=c,n&&!h&&S("character reference was not terminated by a semicolon"),d=parseInt(f,16),w(d,n)):(n&&S("named character reference was not terminated by a semicolon"),e)})};x.options={isAttributeValue:!1,strict:!1};var D={version:"1.2.0",encode:O,decode:x,escape:function(e){return e.replace(u,function(e){return d[e]})},unescape:x};void 0===(o=(function(){return D}).call(t,n,t,e))||(e.exports=o)}()}).call(this,n("YuTi")(e))},l0SJ:function(e,t,n){var o=n("yNUO");e.exports=function(e){var t=o(e);return t.setHours(23,59,59,999),t}},"l6+5":function(e,t,n){var o=n("L/99");e.exports=function(e){return o(new Date,e)}},lCuP:function(e,t,n){var o=n("yNUO");e.exports=function(e){var t=o(e);return t.setDate(1),t.setHours(0,0,0,0),t}},lLAP:function(e,t,n){"use strict";n.d(t,"b",function(){return f}),n.d(t,"c",function(){return v}),n.d(t,"a",function(){return _}),n("Ip0R");var o=n("CcnG"),r=n("K9Ia"),i=n("pugT"),a=n("F/XL"),s=n("YSh2"),l=n("xMyE"),c=n("Gi3i"),u=n("VnD/"),d=n("67Y/"),h=(n("t9fZ"),n("mrSG")),p=n("dWZg");n("n6gG");var f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._origin="program",t}return Object(h.c)(t,e),t.prototype.setFocusOrigin=function(e){return this._origin=e,this},t.prototype.setActiveItem=function(t){e.prototype.setActiveItem.call(this,t),this.activeItem&&this.activeItem.focus(this._origin)},t}(function(){function e(e){var t=this;this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new r.a,this._typeaheadSubscription=i.a.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._skipPredicateFn=function(e){return e.disabled},this._pressedLetters=[],this.tabOut=new r.a,this.change=new r.a,e instanceof o.QueryList&&e.changes.subscribe(function(e){if(t._activeItem){var n=e.toArray().indexOf(t._activeItem);n>-1&&n!==t._activeItemIndex&&(t._activeItemIndex=n)}})}return e.prototype.skipPredicate=function(e){return this._skipPredicateFn=e,this},e.prototype.withWrap=function(e){return void 0===e&&(e=!0),this._wrap=e,this},e.prototype.withVerticalOrientation=function(e){return void 0===e&&(e=!0),this._vertical=e,this},e.prototype.withHorizontalOrientation=function(e){return this._horizontal=e,this},e.prototype.withAllowedModifierKeys=function(e){return this._allowedModifierKeys=e,this},e.prototype.withTypeAhead=function(e){var t=this;if(void 0===e&&(e=200),this._items.length&&this._items.some(function(e){return"function"!=typeof e.getLabel}))throw Error("ListKeyManager items in typeahead mode must implement the `getLabel` method.");return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Object(l.a)(function(e){return t._pressedLetters.push(e)}),Object(c.a)(e),Object(u.a)(function(){return t._pressedLetters.length>0}),Object(d.a)(function(){return t._pressedLetters.join("")})).subscribe(function(e){for(var n=t._getItemsArray(),o=1;o<n.length+1;o++){var r=(t._activeItemIndex+o)%n.length,i=n[r];if(!t._skipPredicateFn(i)&&0===i.getLabel().toUpperCase().trim().indexOf(e)){t.setActiveItem(r);break}}t._pressedLetters=[]}),this},e.prototype.setActiveItem=function(e){var t=this._activeItemIndex;this.updateActiveItem(e),this._activeItemIndex!==t&&this.change.next(this._activeItemIndex)},e.prototype.onKeydown=function(e){var t=this,n=e.keyCode,o=["altKey","ctrlKey","metaKey","shiftKey"].every(function(n){return!e[n]||t._allowedModifierKeys.indexOf(n)>-1});switch(n){case s.k:return void this.tabOut.next();case s.b:if(this._vertical&&o){this.setNextItemActive();break}return;case s.l:if(this._vertical&&o){this.setPreviousItemActive();break}return;case s.i:if(this._horizontal&&o){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case s.g:if(this._horizontal&&o){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;default:return void((o||Object(s.o)(e,"shiftKey"))&&(e.key&&1===e.key.length?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(n>=s.a&&n<=s.m||n>=s.n&&n<=s.h)&&this._letterKeyStream.next(String.fromCharCode(n))))}this._pressedLetters=[],e.preventDefault()},Object.defineProperty(e.prototype,"activeItemIndex",{get:function(){return this._activeItemIndex},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activeItem",{get:function(){return this._activeItem},enumerable:!0,configurable:!0}),e.prototype.setFirstItemActive=function(){this._setActiveItemByIndex(0,1)},e.prototype.setLastItemActive=function(){this._setActiveItemByIndex(this._items.length-1,-1)},e.prototype.setNextItemActive=function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)},e.prototype.setPreviousItemActive=function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)},e.prototype.updateActiveItem=function(e){var t=this._getItemsArray(),n="number"==typeof e?e:t.indexOf(e),o=t[n];this._activeItem=null==o?null:o,this._activeItemIndex=n},e.prototype.updateActiveItemIndex=function(e){this.updateActiveItem(e)},e.prototype._setActiveItemByDelta=function(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)},e.prototype._setActiveInWrapMode=function(e){for(var t=this._getItemsArray(),n=1;n<=t.length;n++){var o=(this._activeItemIndex+e*n+t.length)%t.length;if(!this._skipPredicateFn(t[o]))return void this.setActiveItem(o)}},e.prototype._setActiveInDefaultMode=function(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)},e.prototype._setActiveItemByIndex=function(e,t){var n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(!n[e+=t])return;this.setActiveItem(e)}},e.prototype._getItemsArray=function(){return this._items instanceof o.QueryList?this._items.toArray():this._items},e}()),m=650,g=Object(p.e)({passive:!0,capture:!0}),v=function(){function e(e,t){var n=this;this._ngZone=e,this._platform=t,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._documentKeydownListener=function(){n._lastTouchTarget=null,n._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=function(){n._lastTouchTarget||n._setOriginForCurrentEventQueue("mouse")},this._documentTouchstartListener=function(e){null!=n._touchTimeoutId&&clearTimeout(n._touchTimeoutId),n._lastTouchTarget=e.target,n._touchTimeoutId=setTimeout(function(){return n._lastTouchTarget=null},m)},this._windowFocusListener=function(){n._windowFocused=!0,n._windowFocusTimeoutId=setTimeout(function(){return n._windowFocused=!1})}}return e.prototype.monitor=function(e,t){var n=this;if(void 0===t&&(t=!1),!this._platform.isBrowser)return Object(a.a)(null);var o=this._getNativeElement(e);if(this._elementInfo.has(o)){var i=this._elementInfo.get(o);return i.checkChildren=t,i.subject.asObservable()}var s={unlisten:function(){},checkChildren:t,subject:new r.a};this._elementInfo.set(o,s),this._incrementMonitoredElementCount();var l=function(e){return n._onFocus(e,o)},c=function(e){return n._onBlur(e,o)};return this._ngZone.runOutsideAngular(function(){o.addEventListener("focus",l,!0),o.addEventListener("blur",c,!0)}),s.unlisten=function(){o.removeEventListener("focus",l,!0),o.removeEventListener("blur",c,!0)},s.subject.asObservable()},e.prototype.stopMonitoring=function(e){var t=this._getNativeElement(e),n=this._elementInfo.get(t);n&&(n.unlisten(),n.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._decrementMonitoredElementCount())},e.prototype.focusVia=function(e,t,n){var o=this._getNativeElement(e);this._setOriginForCurrentEventQueue(t),"function"==typeof o.focus&&o.focus(n)},e.prototype.ngOnDestroy=function(){var e=this;this._elementInfo.forEach(function(t,n){return e.stopMonitoring(n)})},e.prototype._toggleClass=function(e,t,n){n?e.classList.add(t):e.classList.remove(t)},e.prototype._setClasses=function(e,t){this._elementInfo.get(e)&&(this._toggleClass(e,"cdk-focused",!!t),this._toggleClass(e,"cdk-touch-focused","touch"===t),this._toggleClass(e,"cdk-keyboard-focused","keyboard"===t),this._toggleClass(e,"cdk-mouse-focused","mouse"===t),this._toggleClass(e,"cdk-program-focused","program"===t))},e.prototype._setOriginForCurrentEventQueue=function(e){var t=this;this._ngZone.runOutsideAngular(function(){t._origin=e,t._originTimeoutId=setTimeout(function(){return t._origin=null},1)})},e.prototype._wasCausedByTouch=function(e){var t=e.target;return this._lastTouchTarget instanceof Node&&t instanceof Node&&(t===this._lastTouchTarget||t.contains(this._lastTouchTarget))},e.prototype._onFocus=function(e,t){var n=this._elementInfo.get(t);if(n&&(n.checkChildren||t===e.target)){var o=this._origin;o||(o=this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(e)?"touch":"program"),this._setClasses(t,o),this._emitOrigin(n.subject,o),this._lastFocusOrigin=o}},e.prototype._onBlur=function(e,t){var n=this._elementInfo.get(t);!n||n.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(n.subject,null))},e.prototype._emitOrigin=function(e,t){this._ngZone.run(function(){return e.next(t)})},e.prototype._incrementMonitoredElementCount=function(){var e=this;1==++this._monitoredElementCount&&this._platform.isBrowser&&this._ngZone.runOutsideAngular(function(){document.addEventListener("keydown",e._documentKeydownListener,g),document.addEventListener("mousedown",e._documentMousedownListener,g),document.addEventListener("touchstart",e._documentTouchstartListener,g),window.addEventListener("focus",e._windowFocusListener)})},e.prototype._decrementMonitoredElementCount=function(){--this._monitoredElementCount||(document.removeEventListener("keydown",this._documentKeydownListener,g),document.removeEventListener("mousedown",this._documentMousedownListener,g),document.removeEventListener("touchstart",this._documentTouchstartListener,g),window.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId))},e.prototype._getNativeElement=function(e){return e instanceof o.ElementRef?e.nativeElement:e},e.ngInjectableDef=Object(o.defineInjectable)({factory:function(){return new e(Object(o.inject)(o.NgZone),Object(o.inject)(p.a))},token:e,providedIn:"root"}),e}(),_=function(){return function(){}}()},lTB2:function(e,t,n){var o=n("yNUO");e.exports=function(e,t){var n=o(e),r=Number(t);return n.setMonth(0),n.setDate(r),n}},lX9Q:function(e,t,n){var o=n("yNUO");e.exports=function(e,t){var n=o(e),r=Number(t);return n.setDate(r),n}},lbgY:function(e,t){ace.define("ace/theme/chrome",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssClass="ace-chrome",t.cssText='.ace-chrome .ace_gutter {background: #ebebeb;color: #333;overflow : hidden;}.ace-chrome .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-chrome {background-color: #FFFFFF;color: black;}.ace-chrome .ace_cursor {color: black;}.ace-chrome .ace_invisible {color: rgb(191, 191, 191);}.ace-chrome .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-chrome .ace_constant.ace_language {color: rgb(88, 92, 246);}.ace-chrome .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-chrome .ace_invalid {background-color: rgb(153, 0, 0);color: white;}.ace-chrome .ace_fold {}.ace-chrome .ace_support.ace_function {color: rgb(60, 76, 114);}.ace-chrome .ace_support.ace_constant {color: rgb(6, 150, 14);}.ace-chrome .ace_support.ace_type,.ace-chrome .ace_support.ace_class.ace-chrome .ace_support.ace_other {color: rgb(109, 121, 222);}.ace-chrome .ace_variable.ace_parameter {font-style:italic;color:#FD971F;}.ace-chrome .ace_keyword.ace_operator {color: rgb(104, 118, 135);}.ace-chrome .ace_comment {color: #236e24;}.ace-chrome .ace_comment.ace_doc {color: #236e24;}.ace-chrome .ace_comment.ace_doc.ace_tag {color: #236e24;}.ace-chrome .ace_constant.ace_numeric {color: rgb(0, 0, 205);}.ace-chrome .ace_variable {color: rgb(49, 132, 149);}.ace-chrome .ace_xml-pe {color: rgb(104, 104, 91);}.ace-chrome .ace_entity.ace_name.ace_function {color: #0000A2;}.ace-chrome .ace_heading {color: rgb(12, 7, 255);}.ace-chrome .ace_list {color:rgb(185, 6, 144);}.ace-chrome .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-chrome .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-chrome .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-chrome .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-chrome .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.07);}.ace-chrome .ace_gutter-active-line {background-color : #dcdcdc;}.ace-chrome .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-chrome .ace_storage,.ace-chrome .ace_keyword,.ace-chrome .ace_meta.ace_tag {color: rgb(147, 15, 128);}.ace-chrome .ace_string.ace_regex {color: rgb(255, 0, 0)}.ace-chrome .ace_string {color: #1A1AA6;}.ace-chrome .ace_entity.ace_other.ace_attribute-name {color: #994409;}.ace-chrome .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}',e("../lib/dom").importCssString(t.cssText,t.cssClass)})},leoV:function(e,t,n){var o=n("yNUO");e.exports=function(){var e=Array.prototype.slice.call(arguments).map(function(e){return o(e)}),t=Math.max.apply(null,e);return new Date(t)}},lwZq:function(e,t,n){var o=n("yNUO"),r=n("RJeW"),i=n("1CCG");e.exports=function(e,t){var n=o(e),a=Number(t),s=i(n,r(n)),l=new Date(0);return l.setFullYear(a,0,4),l.setHours(0,0,0,0),(n=r(l)).setDate(n.getDate()+s),n}},m7nI:function(e,t,n){var o=n("WmBB");e.exports=function(e){return o(new Date,e)}},mChF:function(e,t,n){"use strict";function o(e){return e}n.d(t,"a",function(){return o})},mqoM:function(e,t,n){var o=n("Q5nM");e.exports=function(e,t){var n=o(e),r=o(t);return n.getTime()===r.getTime()}},mrSG:function(e,t,n){"use strict";n.d(t,"c",function(){return r}),n.d(t,"a",function(){return i}),n.d(t,"b",function(){return a}),n.d(t,"e",function(){return s}),n.d(t,"d",function(){return l}),n.d(t,"h",function(){return c}),n.d(t,"f",function(){return u}),n.d(t,"g",function(){return d});var o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};function r(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};function a(e,t,n,o){var r,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(i<3?r(a):i>3?r(t,n,a):r(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function s(e,t){return function(n,o){t(n,o,e)}}function l(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function c(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function u(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,r,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(s){r={error:s}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return a}function d(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(u(arguments[t]));return e}},mthE:function(e,t,n){var o=n("yNUO");e.exports=function(e){var t=o(e).getDay();return 0===t||6===t}},n6gG:function(e,t,n){"use strict";function o(e){return null!=e&&""+e!="false"}function r(e,t){return void 0===t&&(t=0),function(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}(e)?Number(e):t}function i(e){return Array.isArray(e)?e:[e]}function a(e){return null==e?"":"string"==typeof e?e:e+"px"}n.d(t,"b",function(){return o}),n.d(t,"d",function(){return r}),n.d(t,"a",function(){return i}),n.d(t,"c",function(){return a})},nkY7:function(e,t,n){"use strict";function o(e){return e&&"function"==typeof e.schedule}n.d(t,"a",function(){return o})},ny24:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var o=n("mrSG"),r=n("MGBS"),i=n("zotm");function a(e){return function(t){return t.lift(new s(e))}}var s=function(){function e(e){this.notifier=e}return e.prototype.call=function(e,t){var n=new l(e),o=Object(i.a)(n,this.notifier);return o&&!n.seenValue?(n.add(o),t.subscribe(n)):n},e}(),l=function(e){function t(t){var n=e.call(this,t)||this;return n.seenValue=!1,n}return o.c(t,e),t.prototype.notifyNext=function(e,t,n,o,r){this.seenValue=!0,this.complete()},t.prototype.notifyComplete=function(){},t}(r.a)},p0Sj:function(e,t,n){"use strict";var o=n("IUTb"),r=n("PU8L"),i=n("G5J1"),a=n("nkY7"),s=n("F/XL"),l=n("0/uQ"),c=n("Txjg");function u(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){var n=e[e.length-1];Object(a.a)(n)?e.pop():n=null;var u=e.length;return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 1===e.length||2===e.length&&Object(a.a)(e[1])?Object(l.a)(e[0]):Object(c.a)()(s.a.apply(void 0,e))}(1!==u||n?u>0?Object(o.a)(e,n):Object(i.b)(n):Object(r.a)(e[0]),t)}}n.d(t,"a",function(){return u})},p0ib:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var o=n("6blF"),r=n("nkY7"),i=n("Zn8D"),a=n("IUTb");function s(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Number.POSITIVE_INFINITY,s=null,l=e[e.length-1];return Object(r.a)(l)?(s=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(n=e.pop())):"number"==typeof l&&(n=e.pop()),null===s&&1===e.length&&e[0]instanceof o.a?e[0]:Object(i.a)(n)(Object(a.a)(e,s))}},pDEI:function(e,t,n){var o=n("yNUO");e.exports=function(e,t){var n=o(e),r=o(t);return n.getTime()>r.getTime()}},pLeS:function(e,t,n){var o=n("yNUO");e.exports=function(e){var t=o(e),n=new Date(0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}},psW0:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var o=n("mrSG"),r=n("zotm"),i=n("MGBS"),a=n("rPjj"),s=n("67Y/"),l=n("0/uQ");function c(e,t,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof t?function(o){return o.pipe(c(function(n,o){return Object(l.a)(e(n,o)).pipe(Object(s.a)(function(e,r){return t(n,e,o,r)}))},n))}:("number"==typeof t&&(n=t),function(t){return t.lift(new u(e,n))})}var u=function(){function e(e,t){void 0===t&&(t=Number.POSITIVE_INFINITY),this.project=e,this.concurrent=t}return e.prototype.call=function(e,t){return t.subscribe(new d(e,this.project,this.concurrent))},e}(),d=function(e){function t(t,n,o){void 0===o&&(o=Number.POSITIVE_INFINITY);var r=e.call(this,t)||this;return r.project=n,r.concurrent=o,r.hasCompleted=!1,r.buffer=[],r.active=0,r.index=0,r}return o.c(t,e),t.prototype._next=function(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)},t.prototype._tryNext=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(o){return void this.destination.error(o)}this.active++,this._innerSub(t,e,n)},t.prototype._innerSub=function(e,t,n){var o=new a.a(this,void 0,void 0);this.destination.add(o),Object(r.a)(this,e,t,n,o)},t.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},t.prototype.notifyNext=function(e,t,n,o,r){this.destination.next(t)},t.prototype.notifyComplete=function(e){var t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(i.a)},pugT:function(e,t,n){"use strict";var o=n("isby"),r=n("McSo"),i=n("2Bdj"),a=n("Ehmk"),s=n("eihs");function l(e){return Error.call(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e,this}l.prototype=Object.create(Error.prototype);var c=l;n.d(t,"a",function(){return u});var u=function(){function e(e){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}var t;return e.prototype.unsubscribe=function(){var e,t=!1;if(!this.closed){var n=this._parent,l=this._parents,u=this._unsubscribe,h=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var p=-1,f=l?l.length:0;n;)n.remove(this),n=++p<f&&l[p]||null;if(Object(i.a)(u)&&Object(a.a)(u).call(this)===s.a&&(t=!0,e=e||(s.a.e instanceof c?d(s.a.e.errors):[s.a.e])),Object(o.a)(h))for(p=-1,f=h.length;++p<f;){var m=h[p];if(Object(r.a)(m)&&Object(a.a)(m.unsubscribe).call(m)===s.a){t=!0,e=e||[];var g=s.a.e;g instanceof c?e=e.concat(d(g.errors)):e.push(g)}}if(t)throw new c(e)}},e.prototype.add=function(t){if(!t||t===e.EMPTY)return e.EMPTY;if(t===this)return this;var n=t;switch(typeof t){case"function":n=new e(t);case"object":if(n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if("function"!=typeof n._addParent){var o=n;(n=new e)._subscriptions=[o]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}return(this._subscriptions||(this._subscriptions=[])).push(n),n._addParent(this),n},e.prototype.remove=function(e){var t=this._subscriptions;if(t){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}},e.prototype._addParent=function(e){var t=this._parent,n=this._parents;t&&t!==e?n?-1===n.indexOf(e)&&n.push(e):this._parents=[e]:this._parent=e},e.EMPTY=((t=new e).closed=!0,t),e}();function d(e){return e.reduce(function(e,t){return e.concat(t instanceof c?t.errors:t)},[])}},pzWd:function(e,t){e.exports=function(e){return e instanceof Date}},q9S1:function(e,t,n){var o=n("yNUO");e.exports=function(e,t){var n=o(e),r=o(t);return n.getTime()===r.getTime()}},qAlS:function(e,t,n){"use strict";var o=n("CcnG"),r=(n("n6gG"),n("K9Ia")),i=n("F/XL"),a=n("6blF"),s=n("bne5"),l=n("mrSG"),c=(n("h9Dq"),n("p0ib")),u=(n("ad02"),n("T1DM")),d=n("Ehmk"),h=n("eihs"),p=n("MGBS"),f=n("zotm"),m=function(){function e(e){this.durationSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new g(e,this.durationSelector))},e}(),g=function(e){function t(t,n){var o=e.call(this,t)||this;return o.durationSelector=n,o.hasValue=!1,o}return l.c(t,e),t.prototype._next=function(e){if(this.value=e,this.hasValue=!0,!this.throttled){var t=Object(d.a)(this.durationSelector)(e);if(t===h.a)this.destination.error(h.a.e);else{var n=Object(f.a)(this,t);!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}}},t.prototype.clearThrottle=function(){var e=this.value,t=this.hasValue,n=this.throttled;n&&(this.remove(n),this.throttled=null,n.unsubscribe()),t&&(this.value=null,this.hasValue=!1,this.destination.next(e))},t.prototype.notifyNext=function(e,t,n,o){this.clearThrottle()},t.prototype.notifyComplete=function(){this.clearThrottle()},t}(p.a),v=n("isby");function _(e){return!Object(v.a)(e)&&e-parseFloat(e)+1>=0}var y=n("nkY7");function b(e){var t=e.index,n=e.period,o=e.subscriber;if(o.next(t),!o.closed){if(-1===n)return o.complete();e.index=t+1,this.schedule(e,n)}}function C(e,t){return void 0===t&&(t=u.a),n=function(){return function(e,t,n){void 0===e&&(e=0);var o=-1;return _(t)?o=Number(t)<1?1:Number(t):Object(y.a)(t)&&(n=t),Object(y.a)(n)||(n=u.a),new a.a(function(t){var r=_(e)?e:+e-n.now();return n.schedule(b,r,{index:0,period:o,subscriber:t})})}(e,t)},function(e){return e.lift(new m(n))};var n}var E=n("VnD/");n("ny24"),n("p0Sj"),n("FFOo"),n("15JJ"),n("S5bw");var w=n("dWZg");n("YlbQ"),n.d(t,"a",function(){return k}),n.d(t,"b",function(){return A}),n.d(t,"d",function(){return S}),n.d(t,"c",function(){return O});var k=function(){function e(e,t){this._ngZone=e,this._platform=t,this._scrolled=new r.a,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map}return e.prototype.register=function(e){var t=this;this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(function(){return t._scrolled.next(e)}))},e.prototype.deregister=function(e){var t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))},e.prototype.scrolled=function(e){var t=this;return void 0===e&&(e=20),this._platform.isBrowser?a.a.create(function(n){t._globalSubscription||t._addGlobalListener();var o=e>0?t._scrolled.pipe(C(e)).subscribe(n):t._scrolled.subscribe(n);return t._scrolledCount++,function(){o.unsubscribe(),t._scrolledCount--,t._scrolledCount||t._removeGlobalListener()}}):Object(i.a)()},e.prototype.ngOnDestroy=function(){var e=this;this._removeGlobalListener(),this.scrollContainers.forEach(function(t,n){return e.deregister(n)}),this._scrolled.complete()},e.prototype.ancestorScrolled=function(e,t){var n=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(Object(E.a)(function(e){return!e||n.indexOf(e)>-1}))},e.prototype.getAncestorScrollContainers=function(e){var t=this,n=[];return this.scrollContainers.forEach(function(o,r){t._scrollableContainsElement(r,e)&&n.push(r)}),n},e.prototype._scrollableContainsElement=function(e,t){var n=t.nativeElement,o=e.getElementRef().nativeElement;do{if(n==o)return!0}while(n=n.parentElement);return!1},e.prototype._addGlobalListener=function(){var e=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){return Object(s.a)(window.document,"scroll").subscribe(function(){return e._scrolled.next()})})},e.prototype._removeGlobalListener=function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)},e.ngInjectableDef=Object(o.defineInjectable)({factory:function(){return new e(Object(o.inject)(o.NgZone),Object(o.inject)(w.a))},token:e,providedIn:"root"}),e}(),A=function(){return function(){}}(),S=function(){function e(e,t){var n=this;this._platform=e,t.runOutsideAngular(function(){n._change=e.isBrowser?Object(c.a)(Object(s.a)(window,"resize"),Object(s.a)(window,"orientationchange")):Object(i.a)(),n._invalidateCache=n.change().subscribe(function(){return n._updateViewportSize()})})}return e.prototype.ngOnDestroy=function(){this._invalidateCache.unsubscribe()},e.prototype.getViewportSize=function(){this._viewportSize||this._updateViewportSize();var e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e},e.prototype.getViewportRect=function(){var e=this.getViewportScrollPosition(),t=this.getViewportSize(),n=t.width,o=t.height;return{top:e.top,left:e.left,bottom:e.top+o,right:e.left+n,height:o,width:n}},e.prototype.getViewportScrollPosition=function(){if(!this._platform.isBrowser)return{top:0,left:0};var e=document.documentElement,t=e.getBoundingClientRect();return{top:-t.top||document.body.scrollTop||window.scrollY||e.scrollTop||0,left:-t.left||document.body.scrollLeft||window.scrollX||e.scrollLeft||0}},e.prototype.change=function(e){return void 0===e&&(e=20),e>0?this._change.pipe(C(e)):this._change},e.prototype._updateViewportSize=function(){this._viewportSize=this._platform.isBrowser?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0}},e.ngInjectableDef=Object(o.defineInjectable)({factory:function(){return new e(Object(o.inject)(w.a),Object(o.inject)(o.NgZone))},token:e,providedIn:"root"}),e}(),O={provide:S,deps:[[new o.Optional,new o.SkipSelf,S],w.a,o.NgZone],useFactory:function(e,t,n){return e||new S(t,n)}}},qFJL:function(e,t,n){var o=n("yNUO");e.exports=function(e){return 5===o(e).getDay()}},qTUo:function(e,t,n){var o=n("yNUO");e.exports=function(e){return o(e).getTime()<(new Date).getTime()}},rMQs:function(e,t,n){var o=n("yNUO");e.exports=function(e){var t=o(e).getFullYear();return t%400==0||t%4==0&&t%100!=0}},rPjj:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n("mrSG"),r=function(e){function t(t,n,o){var r=e.call(this)||this;return r.parent=t,r.outerValue=n,r.outerIndex=o,r.index=0,r}return o.c(t,e),t.prototype._next=function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)},t.prototype._error=function(e){this.parent.notifyError(e,this),this.unsubscribe()},t.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},t}(n("FFOo").a)},rxuJ:function(e,t,n){var o=n("7B8A");e.exports=function(e,t){var n=Number(t);return o(e,1e3*n)}},"s/X6":function(e,t,n){var o=n("yNUO"),r=n("+f+M"),i=n("DT56"),a=n("3zVU");e.exports=function(e,t){var n=o(e),s=o(t),l=i(n,s),c=Math.abs(r(n,s));return n=a(n,l*c),l*(c-(i(n,s)===-l))}},sunR:function(e,t,n){var o=n("yNUO");e.exports=function(e,t){var n=o(e),r=o(t);return 12*(n.getFullYear()-r.getFullYear())+(n.getMonth()-r.getMonth())}},"t/Na":function(e,t,n){"use strict";n.d(t,"k",function(){return M}),n.d(t,"n",function(){return N}),n.d(t,"o",function(){return j}),n.d(t,"l",function(){return F}),n.d(t,"m",function(){return L}),n.d(t,"b",function(){return h}),n.d(t,"f",function(){return d}),n.d(t,"c",function(){return O}),n.d(t,"a",function(){return D}),n.d(t,"d",function(){return $}),n.d(t,"e",function(){return U}),n.d(t,"j",function(){return V}),n.d(t,"g",function(){return I}),n.d(t,"i",function(){return P}),n.d(t,"h",function(){return B});var o=n("mrSG"),r=n("CcnG"),i=n("F/XL"),a=n("6blF"),s=n("Phjn"),l=n("VnD/"),c=n("67Y/"),u=n("Ip0R"),d=function(){return function(){}}(),h=function(){return function(){}}(),p=function(){function e(e){var t=this;this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?function(){t.headers=new Map,e.split("\n").forEach(function(e){var n=e.indexOf(":");if(n>0){var o=e.slice(0,n),r=o.toLowerCase(),i=e.slice(n+1).trim();t.maybeSetNormalizedName(o,r),t.headers.has(r)?t.headers.get(r).push(i):t.headers.set(r,[i])}})}:function(){t.headers=new Map,Object.keys(e).forEach(function(n){var o=e[n],r=n.toLowerCase();"string"==typeof o&&(o=[o]),o.length>0&&(t.headers.set(r,o),t.maybeSetNormalizedName(n,r))})}:this.headers=new Map}return e.prototype.has=function(e){return this.init(),this.headers.has(e.toLowerCase())},e.prototype.get=function(e){this.init();var t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null},e.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},e.prototype.getAll=function(e){return this.init(),this.headers.get(e.toLowerCase())||null},e.prototype.append=function(e,t){return this.clone({name:e,value:t,op:"a"})},e.prototype.set=function(e,t){return this.clone({name:e,value:t,op:"s"})},e.prototype.delete=function(e,t){return this.clone({name:e,value:t,op:"d"})},e.prototype.maybeSetNormalizedName=function(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)},e.prototype.init=function(){var t=this;this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(e){return t.applyUpdate(e)}),this.lazyUpdate=null))},e.prototype.copyFrom=function(e){var t=this;e.init(),Array.from(e.headers.keys()).forEach(function(n){t.headers.set(n,e.headers.get(n)),t.normalizedNames.set(n,e.normalizedNames.get(n))})},e.prototype.clone=function(t){var n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n},e.prototype.applyUpdate=function(e){var t=e.name.toLowerCase();switch(e.op){case"a":case"s":var n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);var r=("a"===e.op?this.headers.get(t):void 0)||[];r.push.apply(r,Object(o.g)(n)),this.headers.set(t,r);break;case"d":var i=e.value;if(i){var a=this.headers.get(t);if(!a)return;0===(a=a.filter(function(e){return-1===i.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)}},e.prototype.forEach=function(e){var t=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(n){return e(t.normalizedNames.get(n),t.headers.get(n))})},e}(),f=function(){function e(){}return e.prototype.encodeKey=function(e){return m(e)},e.prototype.encodeValue=function(e){return m(e)},e.prototype.decodeKey=function(e){return decodeURIComponent(e)},e.prototype.decodeValue=function(e){return decodeURIComponent(e)},e}();function m(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 g=function(){function e(e){void 0===e&&(e={});var t,n,r,i=this;if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new f,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(t=e.fromString,n=this.encoder,r=new Map,t.length>0&&t.split("&").forEach(function(e){var t=e.indexOf("="),i=Object(o.f)(-1==t?[n.decodeKey(e),""]:[n.decodeKey(e.slice(0,t)),n.decodeValue(e.slice(t+1))],2),a=i[0],s=i[1],l=r.get(a)||[];l.push(s),r.set(a,l)}),r)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(function(t){var n=e.fromObject[t];i.map.set(t,Array.isArray(n)?n:[n])})):this.map=null}return e.prototype.has=function(e){return this.init(),this.map.has(e)},e.prototype.get=function(e){this.init();var t=this.map.get(e);return t?t[0]:null},e.prototype.getAll=function(e){return this.init(),this.map.get(e)||null},e.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},e.prototype.append=function(e,t){return this.clone({param:e,value:t,op:"a"})},e.prototype.set=function(e,t){return this.clone({param:e,value:t,op:"s"})},e.prototype.delete=function(e,t){return this.clone({param:e,value:t,op:"d"})},e.prototype.toString=function(){var e=this;return this.init(),this.keys().map(function(t){var n=e.encoder.encodeKey(t);return e.map.get(t).map(function(t){return n+"="+e.encoder.encodeValue(t)}).join("&")}).join("&")},e.prototype.clone=function(t){var n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([t]),n},e.prototype.init=function(){var e=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(t){return e.map.set(t,e.cloneFrom.map.get(t))}),this.updates.forEach(function(t){switch(t.op){case"a":case"s":var n=("a"===t.op?e.map.get(t.param):void 0)||[];n.push(t.value),e.map.set(t.param,n);break;case"d":if(void 0===t.value){e.map.delete(t.param);break}var o=e.map.get(t.param)||[],r=o.indexOf(t.value);-1!==r&&o.splice(r,1),o.length>0?e.map.set(t.param,o):e.map.delete(t.param)}}),this.cloneFrom=null)},e}();function v(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function _(e){return"undefined"!=typeof Blob&&e instanceof Blob}function y(e){return"undefined"!=typeof FormData&&e instanceof FormData}var b=function(){function e(e,t,n,o){var r;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==n?n:null,r=o):r=n,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.params&&(this.params=r.params)),this.headers||(this.headers=new p),this.params){var i=this.params.toString();if(0===i.length)this.urlWithParams=t;else{var a=t.indexOf("?");this.urlWithParams=t+(-1===a?"?":a<t.length-1?"&":"")+i}}else this.params=new g,this.urlWithParams=t}return e.prototype.serializeBody=function(){return null===this.body?null:v(this.body)||_(this.body)||y(this.body)||"string"==typeof this.body?this.body:this.body instanceof g?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()},e.prototype.detectContentTypeHeader=function(){return null===this.body?null:y(this.body)?null:_(this.body)?this.body.type||null:v(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof g?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null},e.prototype.clone=function(t){void 0===t&&(t={});var n=t.method||this.method,o=t.url||this.url,r=t.responseType||this.responseType,i=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,l=t.headers||this.headers,c=t.params||this.params;return void 0!==t.setHeaders&&(l=Object.keys(t.setHeaders).reduce(function(e,n){return e.set(n,t.setHeaders[n])},l)),t.setParams&&(c=Object.keys(t.setParams).reduce(function(e,n){return e.set(n,t.setParams[n])},c)),new e(n,o,i,{params:c,headers:l,reportProgress:s,responseType:r,withCredentials:a})},e}(),C=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}({}),E=function(){return function(e,t,n){void 0===t&&(t=200),void 0===n&&(n="OK"),this.headers=e.headers||new p,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}(),w=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,t)||this;return n.type=C.ResponseHeader,n}return Object(o.c)(t,e),t.prototype.clone=function(e){return void 0===e&&(e={}),new t({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})},t}(E),k=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,t)||this;return n.type=C.Response,n.body=void 0!==t.body?t.body:null,n}return Object(o.c)(t,e),t.prototype.clone=function(e){return void 0===e&&(e={}),new t({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})},t}(E),A=function(e){function t(t){var n=e.call(this,t,0,"Unknown Error")||this;return n.name="HttpErrorResponse",n.ok=!1,n.message=n.status>=200&&n.status<300?"Http failure during parsing for "+(t.url||"(unknown url)"):"Http failure response for "+(t.url||"(unknown url)")+": "+t.status+" "+t.statusText,n.error=t.error||null,n}return Object(o.c)(t,e),t}(E);function S(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}var O=function(){function e(e){this.handler=e}return e.prototype.request=function(e,t,n){var o,r=this;if(void 0===n&&(n={}),e instanceof b)o=e;else{var a;a=n.headers instanceof p?n.headers:new p(n.headers);var u=void 0;n.params&&(u=n.params instanceof g?n.params:new g({fromObject:n.params})),o=new b(e,t,void 0!==n.body?n.body:null,{headers:a,params:u,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}var d=Object(i.a)(o).pipe(Object(s.a)(function(e){return r.handler.handle(e)}));if(e instanceof b||"events"===n.observe)return d;var h=d.pipe(Object(l.a)(function(e){return e instanceof k}));switch(n.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return h.pipe(Object(c.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 h.pipe(Object(c.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 h.pipe(Object(c.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 h.pipe(Object(c.a)(function(e){return e.body}))}case"response":return h;default:throw new Error("Unreachable: unhandled observe type "+n.observe+"}")}},e.prototype.delete=function(e,t){return void 0===t&&(t={}),this.request("DELETE",e,t)},e.prototype.get=function(e,t){return void 0===t&&(t={}),this.request("GET",e,t)},e.prototype.head=function(e,t){return void 0===t&&(t={}),this.request("HEAD",e,t)},e.prototype.jsonp=function(e,t){return this.request("JSONP",e,{params:(new g).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},e.prototype.options=function(e,t){return void 0===t&&(t={}),this.request("OPTIONS",e,t)},e.prototype.patch=function(e,t,n){return void 0===n&&(n={}),this.request("PATCH",e,S(n,t))},e.prototype.post=function(e,t,n){return void 0===n&&(n={}),this.request("POST",e,S(n,t))},e.prototype.put=function(e,t,n){return void 0===n&&(n={}),this.request("PUT",e,S(n,t))},e}(),x=function(){function e(e,t){this.next=e,this.interceptor=t}return e.prototype.handle=function(e){return this.interceptor.intercept(e,this.next)},e}(),D=new r.InjectionToken("HTTP_INTERCEPTORS"),T=function(){function e(){}return e.prototype.intercept=function(e,t){return t.handle(e)},e}(),R=/^\)\]\}',?\n/,P=function(){return function(){}}(),M=function(){function e(){}return e.prototype.build=function(){return new XMLHttpRequest},e}(),I=function(){function e(e){this.xhrFactory=e}return e.prototype.handle=function(e){var t=this;if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new a.a(function(n){var o=t.xhrFactory.build();if(o.open(e.method,e.urlWithParams),e.withCredentials&&(o.withCredentials=!0),e.headers.forEach(function(e,t){return o.setRequestHeader(e,t.join(","))}),e.headers.has("Accept")||o.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){var r=e.detectContentTypeHeader();null!==r&&o.setRequestHeader("Content-Type",r)}if(e.responseType){var i=e.responseType.toLowerCase();o.responseType="json"!==i?i:"text"}var a=e.serializeBody(),s=null,l=function(){if(null!==s)return s;var t=1223===o.status?204:o.status,n=o.statusText||"OK",r=new p(o.getAllResponseHeaders()),i=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(o)||e.url;return s=new w({headers:r,status:t,statusText:n,url:i})},c=function(){var t=l(),r=t.headers,i=t.status,a=t.statusText,s=t.url,c=null;204!==i&&(c=void 0===o.response?o.responseText:o.response),0===i&&(i=c?200:0);var u=i>=200&&i<300;if("json"===e.responseType&&"string"==typeof c){var d=c;c=c.replace(R,"");try{c=""!==c?JSON.parse(c):null}catch(h){c=d,u&&(u=!1,c={error:h,text:c})}}u?(n.next(new k({body:c,headers:r,status:i,statusText:a,url:s||void 0})),n.complete()):n.error(new A({error:c,headers:r,status:i,statusText:a,url:s||void 0}))},u=function(e){var t=new A({error:e,status:o.status||0,statusText:o.statusText||"Unknown Error"});n.error(t)},d=!1,h=function(t){d||(n.next(l()),d=!0);var r={type:C.DownloadProgress,loaded:t.loaded};t.lengthComputable&&(r.total=t.total),"text"===e.responseType&&o.responseText&&(r.partialText=o.responseText),n.next(r)},f=function(e){var t={type:C.UploadProgress,loaded:e.loaded};e.lengthComputable&&(t.total=e.total),n.next(t)};return o.addEventListener("load",c),o.addEventListener("error",u),e.reportProgress&&(o.addEventListener("progress",h),null!==a&&o.upload&&o.upload.addEventListener("progress",f)),o.send(a),n.next({type:C.Sent}),function(){o.removeEventListener("error",u),o.removeEventListener("load",c),e.reportProgress&&(o.removeEventListener("progress",h),null!==a&&o.upload&&o.upload.removeEventListener("progress",f)),o.abort()}})},e}(),F=new r.InjectionToken("XSRF_COOKIE_NAME"),L=new r.InjectionToken("XSRF_HEADER_NAME"),B=function(){return function(){}}(),N=function(){function e(e,t,n){this.doc=e,this.platform=t,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return e.prototype.getToken=function(){if("server"===this.platform)return null;var e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(u.E)(e,this.cookieName),this.lastCookieString=e),this.lastToken},e}(),j=function(){function e(e,t){this.tokenService=e,this.headerName=t}return e.prototype.intercept=function(e,t){var n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);var o=this.tokenService.getToken();return null===o||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,o)})),t.handle(e)},e}(),V=function(){function e(e,t){this.backend=e,this.injector=t,this.chain=null}return e.prototype.handle=function(e){if(null===this.chain){var t=this.injector.get(D,[]);this.chain=t.reduceRight(function(e,t){return new x(e,t)},this.backend)}return this.chain.handle(e)},e}(),U=function(){function e(){}var t;return t=e,e.disable=function(){return{ngModule:t,providers:[{provide:j,useClass:T}]}},e.withOptions=function(e){return void 0===e&&(e={}),{ngModule:t,providers:[e.cookieName?{provide:F,useValue:e.cookieName}:[],e.headerName?{provide:L,useValue:e.headerName}:[]]}},e}(),$=function(){return function(){}}()},t4rR:function(e,t,n){var o=n("yNUO"),r=n("iUbB");e.exports=function(e,t,n){var i=n&&Number(n.weekStartsOn)||0,a=o(e),s=Number(t),l=a.getDay();return r(a,((s%7+7)%7<i?7:0)+s-l)}},t9fZ:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var o=n("mrSG"),r=n("FFOo"),i=n("b7mW"),a=n("G5J1");function s(e){return function(t){return 0===e?Object(a.b)():t.lift(new l(e))}}var l=function(){function e(e){if(this.total=e,this.total<0)throw new i.a}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.total))},e}(),c=function(e){function t(t,n){var o=e.call(this,t)||this;return o.total=n,o.count=0,o}return o.c(t,e),t.prototype._next=function(e){var t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))},t}(r.a)},tMf1:function(e,t,n){var o=n("x84W");e.exports=function(e){return o(e,{weekStartsOn:1})}},tNVB:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=n("xMyE"),r=n("3fWJ"),i=function(e){return void 0===e&&(e=a),Object(o.a)({hasValue:!1,next:function(){this.hasValue=!0},complete:function(){if(!this.hasValue)throw e()}})};function a(){return new r.a}},"tg+8":function(e,t,n){var o=n("yNUO");e.exports=function(e){return o(e).getDate()}},u3z5:function(e,t,n){var o=n("yHON"),r=n("yNUO"),i=n("4Toj"),a=n("Us+F");e.exports=function(e,t,n){var s=n||{},l=o(e,t),c=s.locale,u=a.distanceInWords.localize;c&&c.distanceInWords&&c.distanceInWords.localize&&(u=c.distanceInWords.localize);var d,h,p,f={addSuffix:Boolean(s.addSuffix),comparison:l};l>0?(d=r(e),h=r(t)):(d=r(t),h=r(e));var m=Math[s.partialMethod?String(s.partialMethod):"floor"],g=i(h,d),v=h.getTimezoneOffset()-d.getTimezoneOffset(),_=m(g/60)-v;if("s"===(p=s.unit?String(s.unit):_<1?"s":_<60?"m":_<1440?"h":_<43200?"d":_<525600?"M":"Y"))return u("xSeconds",g,f);if("m"===p)return u("xMinutes",_,f);if("h"===p)return u("xHours",m(_/60),f);if("d"===p)return u("xDays",m(_/1440),f);if("M"===p)return u("xMonths",m(_/43200),f);if("Y"===p)return u("xYears",m(_/525600),f);throw new Error("Unknown unit: "+p)}},u67D:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n("En8+"),r=function(e){return function(t){for(var n=e[o.a]();;){var r=n.next();if(r.done){t.complete();break}if(t.next(r.value),t.closed)break}return"function"==typeof n.return&&t.add(function(){n.return&&n.return()}),t}}},uKeJ:function(e,t,n){var o=n("yNUO");e.exports=function(e){var t=o(e),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(0,0,0,0),t}},uMaO:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n("mrSG"),r=function(e){function t(t,n){var o=e.call(this)||this;return o.subject=t,o.subscriber=n,o.closed=!1,o}return o.c(t,e),t.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e=this.subject,t=e.observers;if(this.subject=null,t&&0!==t.length&&!e.isStopped&&!e.closed){var n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}},t}(n("pugT").a)},uPm0:function(e,t,n){var o=n("yNUO");e.exports=function(e){var t=o(e);return Math.floor(t.getMonth()/3)+1}},uttN:function(e,t,n){var o=n("7B8A");e.exports=function(e,t){var n=Number(t);return o(e,-n)}},uzal:function(e,t,n){ace.define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var o=e("../lib/oop"),r=e("./text_highlight_rules").TextHighlightRules,i=function(){this.$rules={start:[{token:"comment.doc.tag",regex:"@[\\w\\d_]+"},i.getTagRule(),{defaultToken:"comment.doc",caseInsensitive:!0}]}};o.inherits(i,r),i.getTagRule=function(e){return{token:"comment.doc.tag.storage.type",regex:"\\b(?:TODO|FIXME|XXX|HACK)\\b"}},i.getStartRule=function(e){return{token:"comment.doc",regex:"\\/\\*(?=\\*)",next:e}},i.getEndRule=function(e){return{token:"comment.doc",regex:"\\*\\/",next:e}},t.DocCommentHighlightRules=i}),ace.define("ace/mode/javascript_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/doc_comment_highlight_rules","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var o=e("../lib/oop"),r=e("./doc_comment_highlight_rules").DocCommentHighlightRules,i=e("./text_highlight_rules").TextHighlightRules,a="[a-zA-Z\\$_\xa1-\uffff][a-zA-Z\\d\\$_\xa1-\uffff]*",s=function(e){var t=this.createKeywordMapper({"variable.language":"Array|Boolean|Date|Function|Iterator|Number|Object|RegExp|String|Proxy|Namespace|QName|XML|XMLList|ArrayBuffer|Float32Array|Float64Array|Int16Array|Int32Array|Int8Array|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray|Error|EvalError|InternalError|RangeError|ReferenceError|StopIteration|SyntaxError|TypeError|URIError|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|eval|isFinite|isNaN|parseFloat|parseInt|JSON|Math|this|arguments|prototype|window|document",keyword:"const|yield|import|get|set|async|await|break|case|catch|continue|default|delete|do|else|finally|for|function|if|in|of|instanceof|new|return|switch|throw|try|typeof|let|var|while|with|debugger|__parent__|__count__|escape|unescape|with|__proto__|class|enum|extends|super|export|implements|private|public|interface|package|protected|static","storage.type":"const|let|var|function","constant.language":"null|Infinity|NaN|undefined","support.function":"alert","constant.language.boolean":"true|false"},"identifier"),n="\\\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|u{[0-9a-fA-F]{1,6}}|[0-2][0-7]{0,2}|3[0-7][0-7]?|[4-7][0-7]?|.)";this.$rules={no_regex:[r.getStartRule("doc-start"),l("no_regex"),{token:"string",regex:"'(?=.)",next:"qstring"},{token:"string",regex:'"(?=.)',next:"qqstring"},{token:"constant.numeric",regex:/0(?:[xX][0-9a-fA-F]+|[oO][0-7]+|[bB][01]+)\b/},{token:"constant.numeric",regex:/(?:\d\d*(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+\b)?/},{token:["storage.type","punctuation.operator","support.function","punctuation.operator","entity.name.function","text","keyword.operator"],regex:"("+a+")(\\.)(prototype)(\\.)("+a+")(\\s*)(=)",next:"function_arguments"},{token:["storage.type","punctuation.operator","entity.name.function","text","keyword.operator","text","storage.type","text","paren.lparen"],regex:"("+a+")(\\.)("+a+")(\\s*)(=)(\\s*)(function)(\\s*)(\\()",next:"function_arguments"},{token:["entity.name.function","text","keyword.operator","text","storage.type","text","paren.lparen"],regex:"("+a+")(\\s*)(=)(\\s*)(function)(\\s*)(\\()",next:"function_arguments"},{token:["storage.type","punctuation.operator","entity.name.function","text","keyword.operator","text","storage.type","text","entity.name.function","text","paren.lparen"],regex:"("+a+")(\\.)("+a+")(\\s*)(=)(\\s*)(function)(\\s+)(\\w+)(\\s*)(\\()",next:"function_arguments"},{token:["storage.type","text","entity.name.function","text","paren.lparen"],regex:"(function)(\\s+)("+a+")(\\s*)(\\()",next:"function_arguments"},{token:["entity.name.function","text","punctuation.operator","text","storage.type","text","paren.lparen"],regex:"("+a+")(\\s*)(:)(\\s*)(function)(\\s*)(\\()",next:"function_arguments"},{token:["text","text","storage.type","text","paren.lparen"],regex:"(:)(\\s*)(function)(\\s*)(\\()",next:"function_arguments"},{token:"keyword",regex:"from(?=\\s*('|\"))"},{token:"keyword",regex:"(?:case|do|else|finally|in|instanceof|return|throw|try|typeof|yield|void)\\b",next:"start"},{token:["support.constant"],regex:/that\b/},{token:["storage.type","punctuation.operator","support.function.firebug"],regex:/(console)(\.)(warn|info|log|error|time|trace|timeEnd|assert)\b/},{token:t,regex:a},{token:"punctuation.operator",regex:/[.](?![.])/,next:"property"},{token:"storage.type",regex:/=>/},{token:"keyword.operator",regex:/--|\+\+|\.{3}|===|==|=|!=|!==|<+=?|>+=?|!|&&|\|\||\?:|[!$%&*+\-~\/^]=?/,next:"start"},{token:"punctuation.operator",regex:/[?:,;.]/,next:"start"},{token:"paren.lparen",regex:/[\[({]/,next:"start"},{token:"paren.rparen",regex:/[\])}]/},{token:"comment",regex:/^#!.*$/}],property:[{token:"text",regex:"\\s+"},{token:["storage.type","punctuation.operator","entity.name.function","text","keyword.operator","text","storage.type","text","entity.name.function","text","paren.lparen"],regex:"("+a+")(\\.)("+a+")(\\s*)(=)(\\s*)(function)(?:(\\s+)(\\w+))?(\\s*)(\\()",next:"function_arguments"},{token:"punctuation.operator",regex:/[.](?![.])/},{token:"support.function",regex:/(s(?:h(?:ift|ow(?:Mod(?:elessDialog|alDialog)|Help))|croll(?:X|By(?:Pages|Lines)?|Y|To)?|t(?:op|rike)|i(?:n|zeToContent|debar|gnText)|ort|u(?:p|b(?:str(?:ing)?)?)|pli(?:ce|t)|e(?:nd|t(?:Re(?:sizable|questHeader)|M(?:i(?:nutes|lliseconds)|onth)|Seconds|Ho(?:tKeys|urs)|Year|Cursor|Time(?:out)?|Interval|ZOptions|Date|UTC(?:M(?:i(?:nutes|lliseconds)|onth)|Seconds|Hours|Date|FullYear)|FullYear|Active)|arch)|qrt|lice|avePreferences|mall)|h(?:ome|andleEvent)|navigate|c(?:har(?:CodeAt|At)|o(?:s|n(?:cat|textual|firm)|mpile)|eil|lear(?:Timeout|Interval)?|a(?:ptureEvents|ll)|reate(?:StyleSheet|Popup|EventObject))|t(?:o(?:GMTString|S(?:tring|ource)|U(?:TCString|pperCase)|Lo(?:caleString|werCase))|est|a(?:n|int(?:Enabled)?))|i(?:s(?:NaN|Finite)|ndexOf|talics)|d(?:isableExternalCapture|ump|etachEvent)|u(?:n(?:shift|taint|escape|watch)|pdateCommands)|j(?:oin|avaEnabled)|p(?:o(?:p|w)|ush|lugins.refresh|a(?:ddings|rse(?:Int|Float)?)|r(?:int|ompt|eference))|e(?:scape|nableExternalCapture|val|lementFromPoint|x(?:p|ec(?:Script|Command)?))|valueOf|UTC|queryCommand(?:State|Indeterm|Enabled|Value)|f(?:i(?:nd|le(?:ModifiedDate|Size|CreatedDate|UpdatedDate)|xed)|o(?:nt(?:size|color)|rward)|loor|romCharCode)|watch|l(?:ink|o(?:ad|g)|astIndexOf)|a(?:sin|nchor|cos|t(?:tachEvent|ob|an(?:2)?)|pply|lert|b(?:s|ort))|r(?:ou(?:nd|teEvents)|e(?:size(?:By|To)|calc|turnValue|place|verse|l(?:oad|ease(?:Capture|Events)))|andom)|g(?:o|et(?:ResponseHeader|M(?:i(?:nutes|lliseconds)|onth)|Se(?:conds|lection)|Hours|Year|Time(?:zoneOffset)?|Da(?:y|te)|UTC(?:M(?:i(?:nutes|lliseconds)|onth)|Seconds|Hours|Da(?:y|te)|FullYear)|FullYear|A(?:ttention|llResponseHeaders)))|m(?:in|ove(?:B(?:y|elow)|To(?:Absolute)?|Above)|ergeAttributes|a(?:tch|rgins|x))|b(?:toa|ig|o(?:ld|rderWidths)|link|ack))\b(?=\()/},{token:"support.function.dom",regex:/(s(?:ub(?:stringData|mit)|plitText|e(?:t(?:NamedItem|Attribute(?:Node)?)|lect))|has(?:ChildNodes|Feature)|namedItem|c(?:l(?:ick|o(?:se|neNode))|reate(?:C(?:omment|DATASection|aption)|T(?:Head|extNode|Foot)|DocumentFragment|ProcessingInstruction|E(?:ntityReference|lement)|Attribute))|tabIndex|i(?:nsert(?:Row|Before|Cell|Data)|tem)|open|delete(?:Row|C(?:ell|aption)|T(?:Head|Foot)|Data)|focus|write(?:ln)?|a(?:dd|ppend(?:Child|Data))|re(?:set|place(?:Child|Data)|move(?:NamedItem|Child|Attribute(?:Node)?)?)|get(?:NamedItem|Element(?:sBy(?:Name|TagName|ClassName)|ById)|Attribute(?:Node)?)|blur)\b(?=\()/},{token:"support.constant",regex:/(s(?:ystemLanguage|cr(?:ipts|ollbars|een(?:X|Y|Top|Left))|t(?:yle(?:Sheets)?|atus(?:Text|bar)?)|ibling(?:Below|Above)|ource|uffixes|e(?:curity(?:Policy)?|l(?:ection|f)))|h(?:istory|ost(?:name)?|as(?:h|Focus))|y|X(?:MLDocument|SLDocument)|n(?:ext|ame(?:space(?:s|URI)|Prop))|M(?:IN_VALUE|AX_VALUE)|c(?:haracterSet|o(?:n(?:structor|trollers)|okieEnabled|lorDepth|mp(?:onents|lete))|urrent|puClass|l(?:i(?:p(?:boardData)?|entInformation)|osed|asses)|alle(?:e|r)|rypto)|t(?:o(?:olbar|p)|ext(?:Transform|Indent|Decoration|Align)|ags)|SQRT(?:1_2|2)|i(?:n(?:ner(?:Height|Width)|put)|ds|gnoreCase)|zIndex|o(?:scpu|n(?:readystatechange|Line)|uter(?:Height|Width)|p(?:sProfile|ener)|ffscreenBuffering)|NEGATIVE_INFINITY|d(?:i(?:splay|alog(?:Height|Top|Width|Left|Arguments)|rectories)|e(?:scription|fault(?:Status|Ch(?:ecked|arset)|View)))|u(?:ser(?:Profile|Language|Agent)|n(?:iqueID|defined)|pdateInterval)|_content|p(?:ixelDepth|ort|ersonalbar|kcs11|l(?:ugins|atform)|a(?:thname|dding(?:Right|Bottom|Top|Left)|rent(?:Window|Layer)?|ge(?:X(?:Offset)?|Y(?:Offset)?))|r(?:o(?:to(?:col|type)|duct(?:Sub)?|mpter)|e(?:vious|fix)))|e(?:n(?:coding|abledPlugin)|x(?:ternal|pando)|mbeds)|v(?:isibility|endor(?:Sub)?|Linkcolor)|URLUnencoded|P(?:I|OSITIVE_INFINITY)|f(?:ilename|o(?:nt(?:Size|Family|Weight)|rmName)|rame(?:s|Element)|gColor)|E|whiteSpace|l(?:i(?:stStyleType|n(?:eHeight|kColor))|o(?:ca(?:tion(?:bar)?|lName)|wsrc)|e(?:ngth|ft(?:Context)?)|a(?:st(?:M(?:odified|atch)|Index|Paren)|yer(?:s|X)|nguage))|a(?:pp(?:MinorVersion|Name|Co(?:deName|re)|Version)|vail(?:Height|Top|Width|Left)|ll|r(?:ity|guments)|Linkcolor|bove)|r(?:ight(?:Context)?|e(?:sponse(?:XML|Text)|adyState))|global|x|m(?:imeTypes|ultiline|enubar|argin(?:Right|Bottom|Top|Left))|L(?:N(?:10|2)|OG(?:10E|2E))|b(?:o(?:ttom|rder(?:Width|RightWidth|BottomWidth|Style|Color|TopWidth|LeftWidth))|ufferDepth|elow|ackground(?:Color|Image)))\b/},{token:"identifier",regex:a},{regex:"",token:"empty",next:"no_regex"}],start:[r.getStartRule("doc-start"),l("start"),{token:"string.regexp",regex:"\\/",next:"regex"},{token:"text",regex:"\\s+|^$",next:"start"},{token:"empty",regex:"",next:"no_regex"}],regex:[{token:"regexp.keyword.operator",regex:"\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)"},{token:"string.regexp",regex:"/[sxngimy]*",next:"no_regex"},{token:"invalid",regex:/\{\d+\b,?\d*\}[+*]|[+*$^?][+*]|[$^][?]|\?{3,}/},{token:"constant.language.escape",regex:/\(\?[:=!]|\)|\{\d+\b,?\d*\}|[+*]\?|[()$^+*?.]/},{token:"constant.language.delimiter",regex:/\|/},{token:"constant.language.escape",regex:/\[\^?/,next:"regex_character_class"},{token:"empty",regex:"$",next:"no_regex"},{defaultToken:"string.regexp"}],regex_character_class:[{token:"regexp.charclass.keyword.operator",regex:"\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)"},{token:"constant.language.escape",regex:"]",next:"regex"},{token:"constant.language.escape",regex:"-"},{token:"empty",regex:"$",next:"no_regex"},{defaultToken:"string.regexp.charachterclass"}],function_arguments:[{token:"variable.parameter",regex:a},{token:"punctuation.operator",regex:"[, ]+"},{token:"punctuation.operator",regex:"$"},{token:"empty",regex:"",next:"no_regex"}],qqstring:[{token:"constant.language.escape",regex:n},{token:"string",regex:"\\\\$",consumeLineEnd:!0},{token:"string",regex:'"|$',next:"no_regex"},{defaultToken:"string"}],qstring:[{token:"constant.language.escape",regex:n},{token:"string",regex:"\\\\$",consumeLineEnd:!0},{token:"string",regex:"'|$",next:"no_regex"},{defaultToken:"string"}]},e&&e.noES6||(this.$rules.no_regex.unshift({regex:"[{}]",onMatch:function(e,t,n){if(this.next="{"==e?this.nextState:"","{"==e&&n.length)n.unshift("start",t);else if("}"==e&&n.length&&(n.shift(),this.next=n.shift(),-1!=this.next.indexOf("string")||-1!=this.next.indexOf("jsx")))return"paren.quasi.end";return"{"==e?"paren.lparen":"paren.rparen"},nextState:"start"},{token:"string.quasi.start",regex:/`/,push:[{token:"constant.language.escape",regex:n},{token:"paren.quasi.start",regex:/\${/,push:"start"},{token:"string.quasi.end",regex:/`/,next:"pop"},{defaultToken:"string.quasi"}]}),e&&0==e.jsx||(function(){var e=a.replace("\\d","\\d\\-"),t={onMatch:function(e,t,n){var o="/"==e.charAt(1)?2:1;return 1==o?(t!=this.nextState?n.unshift(this.next,this.nextState,0):n.unshift(this.next),n[2]++):2==o&&t==this.nextState&&(n[1]--,(!n[1]||n[1]<0)&&(n.shift(),n.shift())),[{type:"meta.tag.punctuation."+(1==o?"":"end-")+"tag-open.xml",value:e.slice(0,o)},{type:"meta.tag.tag-name.xml",value:e.substr(o)}]},regex:"</?"+e,next:"jsxAttributes",nextState:"jsx"};this.$rules.start.unshift(t);var n={regex:"{",token:"paren.quasi.start",push:"start"};this.$rules.jsx=[n,t,{include:"reference"},{defaultToken:"string"}],this.$rules.jsxAttributes=[{token:"meta.tag.punctuation.tag-close.xml",regex:"/?>",onMatch:function(e,t,n){return t==n[0]&&n.shift(),2==e.length&&(n[0]==this.nextState&&n[1]--,(!n[1]||n[1]<0)&&n.splice(0,2)),this.next=n[0]||"start",[{type:this.token,value:e}]},nextState:"jsx"},n,l("jsxAttributes"),{token:"entity.other.attribute-name.xml",regex:e},{token:"keyword.operator.attribute-equals.xml",regex:"="},{token:"text.tag-whitespace.xml",regex:"\\s+"},{token:"string.attribute-value.xml",regex:"'",stateName:"jsx_attr_q",push:[{token:"string.attribute-value.xml",regex:"'",next:"pop"},{include:"reference"},{defaultToken:"string.attribute-value.xml"}]},{token:"string.attribute-value.xml",regex:'"',stateName:"jsx_attr_qq",push:[{token:"string.attribute-value.xml",regex:'"',next:"pop"},{include:"reference"},{defaultToken:"string.attribute-value.xml"}]},t],this.$rules.reference=[{token:"constant.language.escape.reference.xml",regex:"(?:&#[0-9]+;)|(?:&#x[0-9a-fA-F]+;)|(?:&[a-zA-Z0-9_:\\.-]+;)"}]}).call(this)),this.embedRules(r,"doc-",[r.getEndRule("no_regex")]),this.normalizeRules()};function l(e){return[{token:"comment",regex:/\/\*/,next:[r.getTagRule(),{token:"comment",regex:"\\*\\/",next:e||"pop"},{defaultToken:"comment",caseInsensitive:!0}]},{token:"comment",regex:"\\/\\/",next:[r.getTagRule(),{token:"comment",regex:"$|^",next:e||"pop"},{defaultToken:"comment",caseInsensitive:!0}]}]}o.inherits(s,i),t.JavaScriptHighlightRules=s}),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(e,t,n){"use strict";var o=e("../range").Range,r=function(){};(function(){this.checkOutdent=function(e,t){return!!/^\s+$/.test(e)&&/^\s*\}/.test(t)},this.autoOutdent=function(e,t){var n=e.getLine(t).match(/^(\s*\})/);if(!n)return 0;var r=n[1].length,i=e.findMatchingBracket({row:t,column:r});if(!i||i.row==t)return 0;var a=this.$getIndent(e.getLine(i.row));e.replace(new o(t,0,t,r-1),a)},this.$getIndent=function(e){return e.match(/^\s*/)[0]}}).call(r.prototype),t.MatchingBraceOutdent=r}),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(e,t,n){"use strict";var o=e("../../lib/oop"),r=e("../../range").Range,i=e("./fold_mode").FoldMode,a=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};o.inherits(a,i),(function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var o=e.getLine(n);if(this.singleLineBlockCommentRe.test(o)&&!this.startRegionRe.test(o)&&!this.tripleStarBlockCommentRe.test(o))return"";var r=this._getFoldWidgetBase(e,t,n);return!r&&this.startRegionRe.test(o)?"start":r},this.getFoldWidgetRange=function(e,t,n,o){var r,i=e.getLine(n);if(this.startRegionRe.test(i))return this.getCommentRegionBlock(e,i,n);if(r=i.match(this.foldingStartMarker)){var a=r.index;if(r[1])return this.openingBracketBlock(e,r[1],n,a);var s=e.getCommentFoldRange(n,a+r[0].length,1);return s&&!s.isMultiLine()&&(o?s=this.getSectionRange(e,n):"all"!=t&&(s=null)),s}return"markbegin"!==t&&(r=i.match(this.foldingStopMarker))?(a=r.index+r[0].length,r[1]?this.closingBracketBlock(e,r[1],n,a):e.getCommentFoldRange(n,a,-1)):void 0},this.getSectionRange=function(e,t){for(var n=e.getLine(t),o=n.search(/\S/),i=t,a=n.length,s=t+=1,l=e.getLength();++t<l;){var c=(n=e.getLine(t)).search(/\S/);if(-1!==c){if(o>c)break;var u=this.getFoldWidgetRange(e,"all",t);if(u){if(u.start.row<=i)break;if(u.isMultiLine())t=u.end.row;else if(o==c)break}s=t}}return new r(i,a,s,e.getLine(s).length)},this.getCommentRegionBlock=function(e,t,n){for(var o=t.search(/\s*$/),i=e.getLength(),a=n,s=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,l=1;++n<i;){t=e.getLine(n);var c=s.exec(t);if(c&&(c[1]?l--:l++,!l))break}if(n>a)return new r(a,o,n,t.length)}}).call(a.prototype)}),ace.define("ace/mode/javascript",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/javascript_highlight_rules","ace/mode/matching_brace_outdent","ace/worker/worker_client","ace/mode/behaviour/cstyle","ace/mode/folding/cstyle"],function(e,t,o){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,a=e("./javascript_highlight_rules").JavaScriptHighlightRules,s=e("./matching_brace_outdent").MatchingBraceOutdent,l=e("../worker/worker_client").WorkerClient,c=e("./behaviour/cstyle").CstyleBehaviour,u=e("./folding/cstyle").FoldMode,d=function(){this.HighlightRules=a,this.$outdent=new s,this.$behaviour=new c,this.foldingRules=new u};r.inherits(d,i),(function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.$quotes={'"':'"',"'":"'","`":"`"},this.getNextLineIndent=function(e,t,n){var o=this.$getIndent(t),r=this.getTokenizer().getLineTokens(t,e),i=r.tokens,a=r.state;if(i.length&&"comment"==i[i.length-1].type)return o;if("start"==e||"no_regex"==e)(s=t.match(/^.*(?:\bcase\b.*:|[\{\(\[])\s*$/))&&(o+=n);else if("doc-start"==e){if("start"==a||"no_regex"==a)return"";var s;(s=t.match(/^\s*(\/?)\*/))&&(s[1]&&(o+=" "),o+="* ")}return o},this.checkOutdent=function(e,t,n){return this.$outdent.checkOutdent(t,n)},this.autoOutdent=function(e,t,n){this.$outdent.autoOutdent(t,n)},this.createWorker=function(e){var t=new l(["ace"],n("bWjX"),"JavaScriptWorker");return t.attachToDocument(e.getDocument()),t.on("annotate",function(t){e.setAnnotations(t.data)}),t.on("terminate",function(){e.clearAnnotations()}),t},this.$id="ace/mode/javascript"}).call(d.prototype),t.Mode=d})},wrXb:function(e,t,n){var o=n("yNUO");e.exports=function(e){return o(e).getDay()}},x84W:function(e,t,n){var o=n("yNUO");e.exports=function(e,t){var n=t&&Number(t.weekStartsOn)||0,r=o(e),i=r.getDay(),a=(i<n?7:0)+i-n;return r.setDate(r.getDate()-a),r.setHours(0,0,0,0),r}},xMJQ:function(e,t,n){var o=n("yNUO");e.exports=function(e,t,n){var r=o(e),i=void 0!==n?n:1,a=o(t).getTime();if(r.getTime()>a)throw new Error("The first date cannot be after the second date");var s=[],l=r;for(l.setHours(0,0,0,0);l.getTime()<=a;)s.push(o(l)),l.setDate(l.getDate()+i);return s}},xMyE:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var o=n("mrSG"),r=n("FFOo"),i=n("+umK"),a=n("2Bdj");function s(e,t,n){return function(o){return o.lift(new l(e,t,n))}}var l=function(){function e(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.nextOrObserver,this.error,this.complete))},e}(),c=function(e){function t(t,n,o,r){var s=e.call(this,t)||this;return s._tapNext=i.a,s._tapError=i.a,s._tapComplete=i.a,s._tapError=o||i.a,s._tapComplete=r||i.a,Object(a.a)(n)?(s._context=s,s._tapNext=n):n&&(s._context=n,s._tapNext=n.next||i.a,s._tapError=n.error||i.a,s._tapComplete=n.complete||i.a),s}return o.c(t,e),t.prototype._next=function(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)},t.prototype._error=function(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)},t.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()},t}(r.a)},xPkr:function(e,t,n){var o=n("CXhC");e.exports=function(e){var t=new Date;return t.setDate(t.getDate()-1),o(e).getTime()===o(t).getTime()}},xTla:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o="function"==typeof Symbol&&Symbol.observable||"@@observable"},xYlI:function(e,t,n){var o=n("yNUO");e.exports=function(e){return o(e).getMinutes()}},xq5I:function(e,t,n){var o=n("IpkJ");e.exports=function(e,t){var n=o(e),r=o(t);return n.getTime()===r.getTime()}},y3By:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i});var o=n("+umK");function r(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i(e)}function i(e){return e?1===e.length?e[0]:function(t){return e.reduce(function(e,t){return t(e)},t)}:o.a}},y4qS:function(e,t,n){"use strict";n.d(t,"n",function(){return D}),n.d(t,"p",function(){return T}),n.d(t,"o",function(){return R}),n.d(t,"l",function(){return P}),n.d(t,"b",function(){return p}),n.d(t,"g",function(){return f}),n.d(t,"d",function(){return m}),n.d(t,"f",function(){return v}),n.d(t,"a",function(){return _}),n.d(t,"i",function(){return b}),n.d(t,"k",function(){return E}),n.d(t,"c",function(){return w}),n.d(t,"h",function(){return k}),n.d(t,"e",function(){return A}),n.d(t,"j",function(){return S}),n.d(t,"m",function(){return I});var o=n("mrSG"),r=n("n6gG"),i=n("CcnG"),a=n("YlbQ"),s=n("K9Ia"),l=n("26FU"),c=n("6blF"),u=n("F/XL"),d=n("ny24");function h(e){return function(e){function t(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var o=e.apply(this,t)||this;return o._sticky=!1,o._hasStickyChanged=!1,o}return Object(o.c)(t,e),Object.defineProperty(t.prototype,"sticky",{get:function(){return this._sticky},set:function(e){var t=this._sticky;this._sticky=Object(r.b)(e),this._hasStickyChanged=t!==this._sticky},enumerable:!0,configurable:!0}),t.prototype.hasStickyChanged=function(){var e=this._hasStickyChanged;return this._hasStickyChanged=!1,e},t.prototype.resetStickyChanged=function(){this._hasStickyChanged=!1},t}(e)}var p=function(){return function(e){this.template=e}}(),f=function(){return function(e){this.template=e}}(),m=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._stickyEnd=!1,t}return Object(o.c)(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return this._name},set:function(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"stickyEnd",{get:function(){return this._stickyEnd},set:function(e){var t=this._stickyEnd;this._stickyEnd=Object(r.b)(e),this._hasStickyChanged=t!==this._stickyEnd},enumerable:!0,configurable:!0}),t}(h(function(){return function(){}}())),g=function(){return function(e,t){t.nativeElement.classList.add("cdk-column-"+e.cssClassFriendlyName)}}(),v=function(e){function t(t,n){return e.call(this,t,n)||this}return Object(o.c)(t,e),t}(g),_=function(e){function t(t,n){return e.call(this,t,n)||this}return Object(o.c)(t,e),t}(g),y=function(){function e(e,t){this.template=e,this._differs=t}return e.prototype.ngOnChanges=function(e){if(!this._columnsDiffer){var t=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(t).create(),this._columnsDiffer.diff(t)}},e.prototype.getColumnsDiff=function(){return this._columnsDiffer.diff(this.columns)},e.prototype.extractCellTemplate=function(e){return this instanceof b?e.headerCell.template:this instanceof C?e.footerCell.template:e.cell.template},e}(),b=function(e){function t(t,n){return e.call(this,t,n)||this}return Object(o.c)(t,e),t.prototype.ngOnChanges=function(t){e.prototype.ngOnChanges.call(this,t)},t}(h(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.c)(t,e),t}(y))),C=function(e){function t(t,n){return e.call(this,t,n)||this}return Object(o.c)(t,e),t.prototype.ngOnChanges=function(t){e.prototype.ngOnChanges.call(this,t)},t}(h(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.c)(t,e),t}(y))),E=function(e){function t(t,n){return e.call(this,t,n)||this}return Object(o.c)(t,e),t}(y),w=function(){function e(t){this._viewContainer=t,e.mostRecentCellOutlet=this}return e.prototype.ngOnDestroy=function(){e.mostRecentCellOutlet===this&&(e.mostRecentCellOutlet=null)},e.mostRecentCellOutlet=null,e}(),k=function(){return function(){}}(),A=function(){return function(){}}(),S=function(){return function(){}}(),O=["top","bottom","left","right"],x=function(){function e(e,t,n,o){void 0===o&&(o=!0),this.isNativeHtmlTable=e,this.stickCellCss=t,this.direction=n,this._isBrowser=o}return e.prototype.clearStickyPositioning=function(e,t){for(var n=0,o=e;n<o.length;n++){var r=o[n];if(r.nodeType===r.ELEMENT_NODE){this._removeStickyStyle(r,t);for(var i=0;i<r.children.length;i++)this._removeStickyStyle(r.children[i],t)}}},e.prototype.updateStickyColumns=function(e,t,n){var o=t.some(function(e){return e})||n.some(function(e){return e});if(e.length&&o&&this._isBrowser)for(var r=e[0],i=r.children.length,a=this._getCellWidths(r),s=this._getStickyStartColumnPositions(a,t),l=this._getStickyEndColumnPositions(a,n),c="rtl"===this.direction,u=0,d=e;u<d.length;u++)for(var h=d[u],p=0;p<i;p++){var f=h.children[p];t[p]&&this._addStickyStyle(f,c?"right":"left",s[p]),n[p]&&this._addStickyStyle(f,c?"left":"right",l[p])}},e.prototype.stickRows=function(e,t,n){if(this._isBrowser)for(var o="bottom"===n?e.reverse():e,r=0,i=0;i<o.length;i++)if(t[i]){var a=o[i];if(this.isNativeHtmlTable)for(var s=0;s<a.children.length;s++)this._addStickyStyle(a.children[s],n,r);else this._addStickyStyle(a,n,r);if(i===o.length-1)return;r+=a.getBoundingClientRect().height}},e.prototype.updateStickyFooterContainer=function(e,t){if(this.isNativeHtmlTable){var n=e.querySelector("tfoot");t.some(function(e){return!e})?this._removeStickyStyle(n,["bottom"]):this._addStickyStyle(n,"bottom",0)}},e.prototype._removeStickyStyle=function(e,t){for(var n=0,o=t;n<o.length;n++)e.style[o[n]]="";e.style.zIndex=this._getCalculatedZIndex(e),O.some(function(t){return!!e.style[t]})||(e.style.position="",e.classList.remove(this.stickCellCss))},e.prototype._addStickyStyle=function(e,t,n){e.classList.add(this.stickCellCss),e.style[t]=n+"px",e.style.cssText+="position: -webkit-sticky; position: sticky; ",e.style.zIndex=this._getCalculatedZIndex(e)},e.prototype._getCalculatedZIndex=function(e){for(var t={top:100,bottom:10,left:1,right:1},n=0,o=0,r=O;o<r.length;o++){var i=r[o];e.style[i]&&(n+=t[i])}return n?""+n:""},e.prototype._getCellWidths=function(e){for(var t=[],n=e.children,o=0;o<n.length;o++)t.push(n[o].getBoundingClientRect().width);return t},e.prototype._getStickyStartColumnPositions=function(e,t){for(var n=[],o=0,r=0;r<e.length;r++)t[r]&&(n[r]=o,o+=e[r]);return n},e.prototype._getStickyEndColumnPositions=function(e,t){for(var n=[],o=0,r=e.length;r>0;r--)t[r]&&(n[r]=o,o+=e[r]);return n},e}(),D=function(){return function(e,t){this.viewContainer=e,this.elementRef=t}}(),T=function(){return function(e,t){this.viewContainer=e,this.elementRef=t}}(),R=function(){return function(e,t){this.viewContainer=e,this.elementRef=t}}(),P=function(){function e(e,t,n,o,r,i,a){this._differs=e,this._changeDetectorRef=t,this._elementRef=n,this._dir=r,this._platform=a,this._onDestroy=new s.a,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this._multiTemplateDataRows=!1,this.viewChange=new l.a({start:0,end:Number.MAX_VALUE}),o||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=i,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}return Object.defineProperty(e.prototype,"trackBy",{get:function(){return this._trackByFn},set:function(e){Object(i.isDevMode)()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(e)+"."),this._trackByFn=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dataSource",{get:function(){return this._dataSource},set:function(e){this._dataSource!==e&&this._switchDataSource(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"multiTemplateDataRows",{get:function(){return this._multiTemplateDataRows},set:function(e){this._multiTemplateDataRows=Object(r.b)(e),this._rowOutlet.viewContainer.length&&this._forceRenderDataRows()},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var e=this;this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create(function(t,n){return e.trackBy?e.trackBy(n.dataIndex,n.data):n})},e.prototype.ngAfterContentChecked=function(){if(this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&!this._rowDefs.length)throw Error("Missing definitions for header, footer, and row; cannot determine which columns should be rendered.");this._renderUpdatedColumns(),this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription&&this._observeRenderChanges(),this._checkStickyStates()},e.prototype.ngOnDestroy=function(){this._rowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),this.dataSource instanceof a.b&&this.dataSource.disconnect(this)},e.prototype.renderRows=function(){var e=this;this._renderRows=this._getAllRenderRows();var t=this._dataDiffer.diff(this._renderRows);if(t){var n=this._rowOutlet.viewContainer;t.forEachOperation(function(t,o,r){if(null==t.previousIndex)e._insertRow(t.item,r);else if(null==r)n.remove(o);else{var i=n.get(o);n.move(i,r)}}),this._updateRowIndexContext(),t.forEachIdentityChange(function(e){n.get(e.currentIndex).context.$implicit=e.item.data}),this.updateStickyColumnStyles()}},e.prototype.setHeaderRowDef=function(e){this._customHeaderRowDefs=new Set([e]),this._headerRowDefChanged=!0},e.prototype.setFooterRowDef=function(e){this._customFooterRowDefs=new Set([e]),this._footerRowDefChanged=!0},e.prototype.addColumnDef=function(e){this._customColumnDefs.add(e)},e.prototype.removeColumnDef=function(e){this._customColumnDefs.delete(e)},e.prototype.addRowDef=function(e){this._customRowDefs.add(e)},e.prototype.removeRowDef=function(e){this._customRowDefs.delete(e)},e.prototype.addHeaderRowDef=function(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0},e.prototype.removeHeaderRowDef=function(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0},e.prototype.addFooterRowDef=function(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0},e.prototype.removeFooterRowDef=function(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0},e.prototype.updateStickyHeaderRowStyles=function(){var e=this._getRenderedRows(this._headerRowOutlet);this._stickyStyler.clearStickyPositioning(e,["top"]);var t=this._headerRowDefs.map(function(e){return e.sticky});this._stickyStyler.stickRows(e,t,"top"),this._headerRowDefs.forEach(function(e){return e.resetStickyChanged()})},e.prototype.updateStickyFooterRowStyles=function(){var e=this._getRenderedRows(this._footerRowOutlet);this._stickyStyler.clearStickyPositioning(e,["bottom"]);var t=this._footerRowDefs.map(function(e){return e.sticky});this._stickyStyler.stickRows(e,t,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,t),this._footerRowDefs.forEach(function(e){return e.resetStickyChanged()})},e.prototype.updateStickyColumnStyles=function(){var e=this,t=this._getRenderedRows(this._headerRowOutlet),n=this._getRenderedRows(this._rowOutlet),o=this._getRenderedRows(this._footerRowOutlet);this._stickyStyler.clearStickyPositioning(t.concat(n,o),["left","right"]),t.forEach(function(t,n){e._addStickyColumnStyles([t],e._headerRowDefs[n])}),this._rowDefs.forEach(function(t){for(var o=[],r=0;r<n.length;r++)e._renderRows[r].rowDef===t&&o.push(n[r]);e._addStickyColumnStyles(o,t)}),o.forEach(function(t,n){e._addStickyColumnStyles([t],e._footerRowDefs[n])}),Array.from(this._columnDefsByName.values()).forEach(function(e){return e.resetStickyChanged()})},e.prototype._getAllRenderRows=function(){var e=[],t=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(var n=0;n<this._data.length;n++){var o=this._data[n],r=this._getRenderRowsForData(o,n,t.get(o));this._cachedRenderRowsMap.has(o)||this._cachedRenderRowsMap.set(o,new WeakMap);for(var i=0;i<r.length;i++){var a=r[i],s=this._cachedRenderRowsMap.get(a.data);s.has(a.rowDef)?s.get(a.rowDef).push(a):s.set(a.rowDef,[a]),e.push(a)}}return e},e.prototype._getRenderRowsForData=function(e,t,n){return this._getRowDefs(e,t).map(function(o){var r=n&&n.has(o)?n.get(o):[];if(r.length){var i=r.shift();return i.dataIndex=t,i}return{data:e,rowDef:o,dataIndex:t}})},e.prototype._cacheColumnDefs=function(){var e=this;this._columnDefsByName.clear(),M(this._contentColumnDefs,this._customColumnDefs).forEach(function(t){if(e._columnDefsByName.has(t.name))throw Error('Duplicate column definition name provided: "'+t.name+'".');e._columnDefsByName.set(t.name,t)})},e.prototype._cacheRowDefs=function(){this._headerRowDefs=M(this._contentHeaderRowDefs,this._customHeaderRowDefs),this._footerRowDefs=M(this._contentFooterRowDefs,this._customFooterRowDefs),this._rowDefs=M(this._contentRowDefs,this._customRowDefs);var e=this._rowDefs.filter(function(e){return!e.when});if(!this.multiTemplateDataRows&&e.length>1)throw Error("There can only be one default row without a when predicate function.");this._defaultRowDef=e[0]},e.prototype._renderUpdatedColumns=function(){var e=function(e,t){return e||!!t.getColumnsDiff()};this._rowDefs.reduce(e,!1)&&this._forceRenderDataRows(),this._headerRowDefs.reduce(e,!1)&&this._forceRenderHeaderRows(),this._footerRowDefs.reduce(e,!1)&&this._forceRenderFooterRows()},e.prototype._switchDataSource=function(e){this._data=[],this.dataSource instanceof a.b&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=e},e.prototype._observeRenderChanges=function(){var e=this;if(this.dataSource){var t;if(this.dataSource.connect instanceof Function?t=this.dataSource.connect(this):this.dataSource instanceof c.a?t=this.dataSource:Array.isArray(this.dataSource)&&(t=Object(u.a)(this.dataSource)),void 0===t)throw Error("Provided data source did not match an array, Observable, or DataSource");this._renderChangeSubscription=t.pipe(Object(d.a)(this._onDestroy)).subscribe(function(t){e._data=t||[],e.renderRows()})}},e.prototype._forceRenderHeaderRows=function(){var e=this;this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach(function(t,n){return e._renderRow(e._headerRowOutlet,t,n)}),this.updateStickyHeaderRowStyles(),this.updateStickyColumnStyles()},e.prototype._forceRenderFooterRows=function(){var e=this;this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach(function(t,n){return e._renderRow(e._footerRowOutlet,t,n)}),this.updateStickyFooterRowStyles(),this.updateStickyColumnStyles()},e.prototype._addStickyColumnStyles=function(e,t){var n=this,o=Array.from(t.columns||[]).map(function(e){return n._columnDefsByName.get(e)}),r=o.map(function(e){return e.sticky}),i=o.map(function(e){return e.stickyEnd});this._stickyStyler.updateStickyColumns(e,r,i)},e.prototype._getRenderedRows=function(e){for(var t=[],n=0;n<e.viewContainer.length;n++){var o=e.viewContainer.get(n);t.push(o.rootNodes[0])}return t},e.prototype._getRowDefs=function(e,t){if(1==this._rowDefs.length)return[this._rowDefs[0]];var n=[];if(this.multiTemplateDataRows)n=this._rowDefs.filter(function(n){return!n.when||n.when(t,e)});else{var o=this._rowDefs.find(function(n){return n.when&&n.when(t,e)})||this._defaultRowDef;o&&n.push(o)}if(!n.length)throw function(e){return Error("Could not find a matching row definition for theprovided row data: "+JSON.stringify(e))}(e);return n},e.prototype._insertRow=function(e,t){this._renderRow(this._rowOutlet,e.rowDef,t,{$implicit:e.data})},e.prototype._renderRow=function(e,t,n,o){void 0===o&&(o={}),e.viewContainer.createEmbeddedView(t.template,o,n);for(var r=0,i=this._getCellTemplates(t);r<i.length;r++)w.mostRecentCellOutlet&&w.mostRecentCellOutlet._viewContainer.createEmbeddedView(i[r],o);this._changeDetectorRef.markForCheck()},e.prototype._updateRowIndexContext=function(){for(var e=this._rowOutlet.viewContainer,t=0,n=e.length;t<n;t++){var o=e.get(t).context;o.count=n,o.first=0===t,o.last=t===n-1,o.even=t%2==0,o.odd=!o.even,this.multiTemplateDataRows?(o.dataIndex=this._renderRows[t].dataIndex,o.renderIndex=t):o.index=this._renderRows[t].dataIndex}},e.prototype._getCellTemplates=function(e){var t=this;return e&&e.columns?Array.from(e.columns,function(n){var o=t._columnDefsByName.get(n);if(!o)throw Error('Could not find column with id "'+n+'".');return e.extractCellTemplate(o)}):[]},e.prototype._applyNativeTableSections=function(){for(var e=0,t=[{tag:"thead",outlet:this._headerRowOutlet},{tag:"tbody",outlet:this._rowOutlet},{tag:"tfoot",outlet:this._footerRowOutlet}];e<t.length;e++){var n=t[e],o=(this._document||document).createElement(n.tag);o.appendChild(n.outlet.elementRef.nativeElement),this._elementRef.nativeElement.appendChild(o)}},e.prototype._forceRenderDataRows=function(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows(),this.updateStickyColumnStyles()},e.prototype._checkStickyStates=function(){var e=function(e,t){return e||t.hasStickyChanged()};this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&this.updateStickyColumnStyles()},e.prototype._setupStickyStyler=function(){var e=this;this._stickyStyler=new x(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",!this._platform||this._platform.isBrowser),(this._dir?this._dir.change:Object(u.a)()).pipe(Object(d.a)(this._onDestroy)).subscribe(function(t){e._stickyStyler.direction=t,e.updateStickyColumnStyles()})},e}();function M(e,t){return e.toArray().concat(Array.from(t))}var I=function(){return function(){}}()},"y5a+":function(e,t,n){var o=n("yNUO");e.exports=function(e,t){var n=t&&Number(t.weekStartsOn)||0,r=o(e),i=r.getDay(),a=6+(i<n?-7:0)-(i-n);return r.setHours(0,0,0,0),r.setDate(r.getDate()+a),r}},yHON:function(e,t,n){var o=n("yNUO");e.exports=function(e,t){var n=o(e).getTime(),r=o(t).getTime();return n>r?-1:n<r?1:0}},yNUO:function(e,t,n){var o=n("VGX7"),r=n("pzWd"),i=/[T ]/,a=/:/,s=/^(\d{2})$/,l=[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],c=/^(\d{4})/,u=[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],d=/^-(\d{2})$/,h=/^-?(\d{3})$/,p=/^-?(\d{2})-?(\d{2})$/,f=/^-?W(\d{2})$/,m=/^-?W(\d{2})-?(\d{1})$/,g=/^(\d{2}([.,]\d*)?)$/,v=/^(\d{2}):?(\d{2}([.,]\d*)?)$/,_=/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,y=/([Z+-].*)$/,b=/^(Z)$/,C=/^([+-])(\d{2})$/,E=/^([+-])(\d{2}):?(\d{2})$/;function w(e,t,n){t=t||0,n=n||0;var o=new Date(0);o.setUTCFullYear(e,0,4);var r=7*t+n+1-(o.getUTCDay()||7);return o.setUTCDate(o.getUTCDate()+r),o}e.exports=function(e,t){if(r(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 k,A,S,O=function(t){var n,o={},r=e.split(i);if(a.test(r[0])?(o.date=null,n=r[0]):(o.date=r[0],n=r[1]),n){var s=y.exec(n);s?(o.time=n.replace(s[1],""),o.timezone=s[1]):o.time=n}return o}(),x=function(e,t){var n,o=l[t],r=u[t];if(n=c.exec(e)||r.exec(e)){var i=n[1];return{year:parseInt(i,10),restDateString:e.slice(i.length)}}if(n=s.exec(e)||o.exec(e)){var a=n[1];return{year:100*parseInt(a,10),restDateString:e.slice(a.length)}}return{year:null}}(O.date,n),D=function(e,t){if(null===t)return null;var n,o,r;if(0===e.length)return(o=new Date(0)).setUTCFullYear(t),o;if(n=d.exec(e))return o=new Date(0),r=parseInt(n[1],10)-1,o.setUTCFullYear(t,r),o;if(n=h.exec(e)){o=new Date(0);var i=parseInt(n[1],10);return o.setUTCFullYear(t,0,i),o}if(n=p.exec(e)){o=new Date(0),r=parseInt(n[1],10)-1;var a=parseInt(n[2],10);return o.setUTCFullYear(t,r,a),o}return(n=f.exec(e))?w(t,parseInt(n[1],10)-1):(n=m.exec(e))?w(t,parseInt(n[1],10)-1,parseInt(n[2],10)-1):null}(x.restDateString,x.year);if(D){var T,R=D.getTime(),P=0;if(O.time&&(P=function(e){var t;return(t=g.exec(e))?parseFloat(t[1].replace(",","."))%24*36e5:(t=v.exec(e))?parseInt(t[1],10)%24*36e5+6e4*parseFloat(t[2].replace(",",".")):(t=_.exec(e))?parseInt(t[1],10)%24*36e5+6e4*parseInt(t[2],10)+1e3*parseFloat(t[3].replace(",",".")):null}(O.time)),O.timezone)T=6e4*((A=b.exec(k=O.timezone))?0:(A=C.exec(k))?(S=60*parseInt(A[2],10),"+"===A[1]?-S:S):(A=E.exec(k))?(S=60*parseInt(A[2],10)+parseInt(A[3],10),"+"===A[1]?-S:S):0);else{var M=R+P,I=new Date(M);T=o(I);var F=new Date(M);F.setDate(I.getDate()+1);var L=o(F)-o(I);L>0&&(T+=L)}return new Date(R+P+T)}return new Date(e)}},yYDL:function(e,t,n){var o=n("yNUO");e.exports=function(e){return 3===o(e).getDay()}},zGRt:function(e,t,n){var o=n("zM65");e.exports=function(e){return o(new Date,e)}},zM65:function(e,t,n){var o=n("G6+r");e.exports=function(e,t){return o(e,t,{weekStartsOn:1})}},zUnb:function(e,t,n){"use strict";n.r(t);var o=n("CcnG"),r=n("Ip0R"),i=n("mrSG"),a=n("K9Ia"),s=n("F/XL"),l=n("0/uQ"),c=function(){function e(){}return e.prototype.load=function(e){return new Promise(function(t,n){var o=new XMLHttpRequest;o.open("GET",e),o.onload=function(){if(200===o.status)try{t(JSON.parse(o.responseText))}catch(e){n("Parse Error: Invalid JSON")}else n(o.statusText)},o.onerror=function(){n("Network Error")},o.send()})},e}();function u(e){return e&&"object"==typeof e&&!Array.isArray(e)&&null!==e}function d(e){return!!(e&&e.constructor&&e.call&&e.apply)}function h(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=Object(e[0]||{}),o=1;o<e.length;o++)for(var r=e[o],i=Object.keys(Object(r)),a=0;a<i.length;a++){var s=i[a];if(Array.isArray(n[s])||Array.isArray(r[s])){var l=Array.isArray(n[s])?n[s].slice():[],c=Array.isArray(r[s])?r[s].slice():[];n[s]=l.concat(c)}else n[s]=d(n[s])||d(r[s])?r[s]:u(n[s])||u(r[s])?h(n[s],r[s]):r[s]}return n}var p={PLN:"z\u0142",SGD:"S$",HUF:"Ft",DKK:"kr.",SEK:"kr",NOK:"kr",ZAR:"R"},f=function(){function e(){this.defaults={number:{},currency:{},date:{}},this.setLocale(window.navigator.language)}return e.prototype.override=function(e){e.locale&&(this.setLocale(e.locale),delete e.locale),this.defaults=e},e.prototype.setLocale=function(e){this.locale=e},e.prototype.formatNumber=function(e,t){var n=h({},this.defaults.number,t);return new Intl.NumberFormat([this.locale,"en-US"],n).format(e)},e.prototype.formatCurrency=function(e,t){var n=h({},"string"==typeof t?{currency:t}:t,this.defaults.currency),o=h({style:"currency",currency:"USD"},n);if(this.overrideCurrency){if("None"===this.overrideCurrency)return new Intl.NumberFormat([this.locale,"en-US"],{minimumFractionDigits:2,maximumFractionDigits:2}).format(e);o.currency=this.overrideCurrency}var r=new Intl.NumberFormat([this.locale,"en-US"],o).format(e);return p[o.currency]?r.replace(o.currency,p[o.currency]):r},e.prototype.getDateOptions=function(e){var t=h({},this.defaults.date),n="string"==typeof e?t[e]:e;return n&&0!==Object.keys(n).length||(n=t.dateShort),this.use24HourTime&&(n.hour12=!1),n},e.prototype.formatDate=function(e,t){var n=null==e||""===e?new Date:new Date(e),o=this.getDateOptions(t);return new Intl.DateTimeFormat([this.locale,"en-US"],o).format(n)},e.prototype.formatTime=function(e,t){var n=null==e||""===e?new Date:new Date(e),o=this.getDateOptions(t),r=Intl.DateTimeFormat([this.locale,"en-US"],o).formatToParts(n).reduce(function(e,t){return e[t.type]=t.value,e},{}),i=Object.keys(r).find(function(e){return"dayperiod"===e.toLowerCase()});return r.hour+":"+r.minute+(r[i]||"")},e.prototype.format=function(e,t){if(!e)return e;switch(t){case"uppercase":return e.toUpperCase();case"lowercase":return e.toLowerCase();case"title":return e.replace(/\w\S*/g,function(e){return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()});case"denormalize":return e.replace(/([A-Z])/g," $1").replace(/^./,function(e){return e.toUpperCase()});default:return e}},e}(),m=function(){function e(){this.dictionaries={}}return e.prototype.contains=function(e){return!!this.dictionaries[e]},e.prototype.get=function(e){return this.dictionaries[e]||this.dictionaries[e.split("-")[0]]},e.prototype.add=function(e,t,n){this.dictionaries[e]=h({},n,t)},e}(),g={number:{style:"decimal"},currency:{style:"currency",currency:"USD"},date:{short:{month:"2-digit",day:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit",hour12:!0},medium:{month:"short",day:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit",hour12:!0},long:{month:"long",day:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit",hour12:!0},dateShort:{month:"2-digit",day:"2-digit",year:"numeric"},dateMedium:{month:"short",day:"2-digit",year:"numeric"},dateLong:{month:"long",day:"2-digit",year:"numeric"},timeShort:{hour:"2-digit",minute:"2-digit",hour12:!0},timeLong:{hour:"2-digit",minute:"2-digit",timeZoneName:"short",hour12:!0}}},v=new(function(){function e(e){this.loader=new c,this.location="i18n/",this.currentLocale=window.navigator.language,this.dictionaryManager=new m,this.formats=new f,this.defaultReplacements={},this.onLocaleChange=new a.a,e&&this.use(e)}return e.prototype.setLocation=function(e){this.location=e},e.prototype.setDefaultReplacements=function(e){this.defaultReplacements=e},e.prototype.overrideCurrency=function(e){this.formats.overrideCurrency=e},e.prototype.forceDisplayTo24HourTime=function(e){this.formats.use24HourTime=e},e.prototype.use=function(e){var t;if(this.dictionaryManager.get(e)||(t=this.getTranslations(e)),void 0!==t)return t;var n=(e.split("-")[0]||"").toLowerCase(),o=[this.dictionaryManager.get(e),this.dictionaryManager.get(n)];return this.applyLanguage(e,o[0],o[1]),Object(s.a)(o)},e.prototype.translate=function(e,t){var n=this,o=this.getValue(e);if(o&&"object"==typeof o&&"object"==typeof t){var r=t.gender||"other";if(r){if(0!==t.quantity&&!t.quantity)throw new Error('Missing "quantity" property on the replacements!');o=o[r].hasOwnProperty(t.quantity)?o[r][t.quantity]:0===t.quantity?o[r].zero:o[r].many}}if((t||this.defaultReplacements)&&o){var a=Object.assign({},this.defaultReplacements,t);o=o.replace(/{([^}]*)}/gi,function(e,o){var r,s,l=o.split(":");if(1===l.length)return a.hasOwnProperty(o)?a[o]:a;var c=a[l[0]]||t;switch(l[1]){case"date":return n.formatDate(c,l[2]);case"currency":return n.formatCurrency(c,l[2]);case"number":return n.formatNumber(c,l[2]);case"format":var u=l[2].split(","),d=c;if(u.length)try{for(var h=Object(i.h)(u),p=h.next();!p.done;p=h.next())d=n.format(d,p.value)}catch(f){r={error:f}}finally{try{p&&!p.done&&(s=h.return)&&s.call(h)}finally{if(r)throw r.error}}else d=n.format(c,l[2]);return d;default:return""}})}return o||e},e.prototype.format=function(e,t){return this.formats.format(e,t)},e.prototype.formatDate=function(e,t){return this.formats.formatDate(e,t)},e.prototype.formatTime=function(e,t){return this.formats.formatTime(e,t)},e.prototype.formatCurrency=function(e,t){return this.formats.formatCurrency(e,t)},e.prototype.formatNumber=function(e,t){return this.formats.formatNumber(e,t)},e.prototype.getValue=function(e){var t,n=this.dictionaryManager.get(this.currentLocale);if(n){var o=e.split(".");if(t=n[o[0]])for(var r=1;r<o.length;r++)t=t?t[o[r]]:n[o[r]]}return t},e.prototype.getTranslations=function(e){var t=this,n=(e.split("-")[0]||"").toLowerCase();return Object(l.a)(new Promise(function(o,r){t.translationFetcher(n).then(function(n){t.translationFetcher(e).then(function(r){t.applyLanguage(e,r,n),o(!0)},function(r){console.error("[Chomsky] - Cannot find the locale translation file! ("+e+"):",r),t.applyLanguage(e,{},n),o(!0)})},function(r){console.error("[Chomsky] - Cannot find the base translation file! ("+n+"):",r),t.applyLanguage(e,{},{}),o(!0)})}))},e.prototype.applyLanguage=function(e,t,n){this.currentLocale=e,this.formats.setLocale(e);var o={};t&&t.hasOwnProperty("_defaults_")&&(h(o,t._defaults_),delete t._defaults_),n&&n.hasOwnProperty("_defaults_")&&(h(o,n._defaults_),delete t._defaults_),this.formats.override(h({},g,o)),this.dictionaryManager.add(e,t,n),this.onLocaleChange.next(e)},e.prototype.translationFetcher=function(e){return this.loader.load(""+this.location+e+".json")},e}()),_=function(){function e(e){this.changeDetector=e,this.lastKey="",this.lastParams="",this.onLangChange=null,this.changeDetector=e}return e.prototype.equals=function(e,t){if(e===t)return!0;if(null===e||null===t)return!1;var n,o,r,i=typeof e;if(i===typeof t&&"object"===i){if(!Array.isArray(e)){if(Array.isArray(t))return!1;for(o in r=Object.create(null),e)if(o){if(!this.equals(e[o],t[o]))return!1;r[o]=!0}for(o in t)if(!(o in r)&&void 0!==t[o])return!1;return!0}if(!Array.isArray(t))return!1;if((n=e.length)===t.length){for(o=0;o<n;o++)if(!this.equals(e[o],t[o]))return!1;return!0}}return!1},e.prototype.ngOnDestroy=function(){this.unsubscribe()},e.prototype.updateValue=function(e,t){this.value=v.translate(e,t),this.changeDetector.markForCheck()},e.prototype.transform=function(e,t){var n=this;return e&&0!==e.length?this.equals(e,this.lastKey)&&this.equals(t,this.lastParams)?this.value:(this.lastKey=e,this.lastParams=t,this.updateValue(e,t),this.unsubscribe(),this.onLangChange=v.onLocaleChange.subscribe(function(){n.updateValue(e,t)}),this.value):null},e.prototype.unsubscribe=function(){this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0)},e}(),y=function(){return function(){}}(),b=n("ZYjt"),C=function(e,t,n,o){return new(n||(n=Promise))(function(r,i){function a(e){try{l(o.next(e))}catch(t){i(t)}}function s(e){try{l(o.throw(e))}catch(t){i(t)}}function l(e){e.done?r(e.value):new n(function(t){t(e.value)}).then(a,s)}l((o=o.apply(e,t||[])).next())})},E=function(e,t){var n,o,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,o&&(r=2&i[0]?o.return:i[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,i[1])).done)return r;switch(o=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,o=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(r=(r=a.trys).length>0&&r[r.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(s){i=[6,s],o=0}finally{n=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},w=Object(b.makeStateKey)("language"),k=function(){function e(t,n,o,i){this.http=t,this.request=o,this.transferState=i,e.isServer=Object(r.B)(n)}return e.prototype.load=function(){return C(this,void 0,void 0,function(){var e;return E(this,function(t){switch(t.label){case 0:return[4,this.http.get("./app.json").toPromise()];case 1:return e=t.sent(),[2,this.setConfig(e)]}})})},e.prototype.setConfig=function(t){return C(this,void 0,void 0,function(){var n,o;return E(this,function(r){switch(r.label){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"]),n=/[^A-Za-z0-9]/,!e.settings.service.corpToken||n.test(e.settings.service.corpToken))throw new Error("Invalid Corp Token");if(o=/[^0-9]/,!e.settings.service.swimlane||o.test(e.settings.service.swimlane.toString()))throw new Error("Invalid Swimlane");return e.urlRoot&&v.setLocation(e.urlRoot+"i18n/"),[4,v.use(this.getPreferredLanguage()).toPromise()];case 1:return r.sent(),[2]}})})},e.prototype.getPreferredLanguage=function(){var t=e.settings.defaultLocale;return e.isServer?((t=this.request.acceptsLanguages(e.settings.supportedLocales))||(t=e.settings.defaultLocale),this.transferState.set(w,t)):((t=this.transferState.get(w,void 0))||(t=e.settings.supportedLocales.filter(function(e){return navigator.language===e})[0]),t||(t=e.settings.defaultLocale)),t},e}(),A=function(){function e(){this.filterCount=1,this.listFilter={},this.displaySidebar=!1,this.loading=!0,this.error=!1,this.sidebarCss={}}return e.prototype.onSidebarFilter=function(e){this.listFilter=e,this.filterCount++},e.prototype.toggleSidebar=function(e){this.displaySidebar=e,this.sidebarCss=e?{position:"absolute",width:"60%","max-width":"unset"}:{}},e.prototype.handleListLoad=function(e){this.loading=e},e.prototype.handleError=function(e){this.error=e},e}(),S=function(){function e(e,t){this.http=e,this.settings=t}return Object.defineProperty(e.prototype,"baseUrl",{get:function(){var e=k.settings.service,t=e.port?e.port:443;return"http"+(443===t?"s":"")+"://public-rest"+e.swimlane+".bullhornstaffing.com:"+t+"/rest-services/"+e.corpToken},enumerable:!0,configurable:!0}),e.prototype.getjobs=function(e,t,n){void 0===t&&(t={}),void 0===n&&(n=30);var o=[];for(var r in t.query="(isOpen:1) AND (isDeleted:0)"+this.formatAdditionalCriteria(!0)+this.formatFilter(e,!0),t.fields=k.settings.service.fields,t.count=n,t.sort=k.settings.additionalJobCriteria.sort,t.showTotalMatched=!0,t)o.push(r+"="+t[r]);var i=o.join("&");return this.http.get(this.baseUrl+"/search/JobOrder?"+i)},e.prototype.openJob=function(e){return this.http.get(this.baseUrl+"/query/JobBoardPost?where=(id="+e+")&fields="+k.settings.service.fields)},e.prototype.getCurrentJobIds=function(e,t){var n=[],o={};for(var r in o.query="(isOpen:1) AND (isDeleted:0)"+this.formatAdditionalCriteria(!0)+this.formatFilter(e,!0,t),o.count="500",o.fields="id",o.sort="id",o)n.push(r+"="+o[r]);var i=n.join("&");return this.http.get(this.baseUrl+"/search/JobOrder?"+i)},e.prototype.getAvailableFilterOptions=function(e,t){var n={},o=[];if(e.length>0){switch(n.where="id IN ("+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 r in n)o.push(r+"="+n[r]);var i=o.join("&");return this.http.get(this.baseUrl+"/query/JobBoardPost?"+i)}return Object(s.a)({count:0,start:0,data:[]})},e.prototype.formatAdditionalCriteria=function(e){var t=k.settings.additionalJobCriteria.field,n=k.settings.additionalJobCriteria.values,o="",r=e?'"':"'",i=e?":":"=";if(t&&n.length>0&&"[ FILTER FIELD HERE ]"!==t&&"[ FILTER VALUE HERE ]"!==n[0]){for(var a=0;a<n.length;a++)o+=a>0?" OR ":" AND (",o+=""+t+i+r+n[a]+r;o+=")"}return o},e.prototype.formatFilter=function(e,t,n){void 0===n&&(n=[]);var o="";for(var r in e)if(!n.includes(r)){var i=e[r];"string"==typeof i?o+=" AND ("+i+")":i.length&&(o+=" AND ("+i.join(" OR ")+")")}return o.replace(/{\?\^\^equals}/g,t?":":"=").replace(/{\?\^\^delimiter}/g,t?'"':"'")},e}(),O=function(){function e(){k.settings.integrations.googleAnalytics&&(this.trackingId=k.settings.integrations.googleAnalytics.trackingId)}return e.prototype.trackEvent=function(e){this.trackingId&&!k.isServer&&window.ga("send",{hitType:"event",eventCategory:"Career Portal",eventAction:e,eventLabel:e})},e}(),x=n("Bk/p"),D=function(){function e(e,t){this.http=e,this.settings=t}return Object.defineProperty(e.prototype,"baseUrl",{get:function(){var e=k.settings.service,t=e.port?e.port:443;return"http"+(443===t?"s":"")+"://public-rest"+e.swimlane+".bullhornstaffing.com:"+t+"/rest-services/"+e.corpToken+"/apply"},enumerable:!0,configurable:!0}),e.prototype.apply=function(e,t,n){var o=this.assembleParams(t);return this.http.post(this.baseUrl+"/"+e+"/raw?"+o,n)},e.prototype.assembleParams=function(e){var t=[];for(var n in t.push("externalID=Resume"),t.push("type=Resume"),e)e.hasOwnProperty(n)&&e[n]&&t.push(n+"="+e[n]);return t.join("&")},e}(),T=function(){function e(e,t,n,o,r,i,a){this.formUtils=e,this.params=t,this.modalRef=n,this.applyService=o,this.analytics=r,this.toaster=i,this.router=a,this.loading=!0,this.hasError=!1,this.formControls=[this.firstName,this.lastName,this.email,this.phoneNumber],this.eeocControls=[],this.applying=!1,this.consentCheckbox=k.settings.privacyConsent.consentCheckbox,this.showCategory=k.settings.service.showCategory,this.APPLIED_JOBS_KEY="APPLIED_JOBS_KEY",this.toaster.parentViewContainer=this.params.viewContainer}return e.prototype.ngOnInit=function(){this.job=this.params.job,this.source=this.params.source,this.setupForm()},e.prototype.setupForm=function(){var e;this.firstName=new x.ec({key:"firstName",label:v.translate("FIRST_NAME"),required:!0,hidden:!1,value:""}),this.lastName=new x.ec({key:"lastName",label:v.translate("LAST_NAME"),required:!0,hidden:!1,value:""}),this.email=new x.ec({key:"email",label:v.translate("EMAIL"),type:"email",required:!0,hidden:!1,value:""}),this.phoneNumber=new x.ec({key:"phone",label:v.translate("PHONE"),type:"tel",required:!1,hidden:!1,value:""}),this.genderRaceEthnicity=[new x.cc({key:"gender",label:v.translate("EEOC.GENDER_LABEL"),required:k.settings.eeoc.genderRaceEthnicity,hidden:!1,options:[{value:"M",label:v.translate("EEOC.GENDER_MALE")},{value:"F",label:v.translate("EEOC.GENDER_FEMALE")},{value:"D",label:v.translate("EEOC.GENDER_ND")}]}),new x.Yb({key:"ethnicity",label:v.translate("EEOC.RACE_ETHNICITY_LABEL"),required:k.settings.eeoc.genderRaceEthnicity,hidden:!1,multiple:!0,placeholder:v.translate("EEOC.SELECT_ALL"),config:{options:[{value:"HL",label:v.translate("EEOC.RACE_ETHNICITY_HL")},{value:"WH",label:v.translate("EEOC.RACE_ETHNICITY_WH")},{value:"BL",label:v.translate("EEOC.RACE_ETHNICITY_BL")},{value:"AS",label:v.translate("EEOC.RACE_ETHNICITY_AS")},{value:"NP",label:v.translate("EEOC.RACE_ETHNICITY_NP")},{value:"IA",label:v.translate("EEOC.RACE_ETHNICITY_IA")},{value:"DN",label:v.translate("EEOC.RACE_ETHNICITY_DN")}]}})],this.veteran=[new x.cc({key:"veteran",label:v.translate("EEOC.VETERAN_LABEL"),description:v.translate("EEOC.VETERAN_DESCRIPTION"),required:k.settings.eeoc.veteran,hidden:!1,options:[{value:"P",label:v.translate("EEOC.VETERAN_P")},{value:"V",label:v.translate("EEOC.VETERAN_V")},{value:"N",label:v.translate("EEOC.VETERAN_N")},{value:"D",label:v.translate("EEOC.VETERAN_D")}]})],this.disability=[new x.cc({key:"disability",label:v.translate("EEOC.DISABILITY_LABEL"),description:v.translate("EEOC.DISABILITY_DESCRIPTION"),required:k.settings.eeoc.disability,hidden:!1,options:[{value:"Y",label:v.translate("EEOC.DISABILITY_Y")},{value:"N",label:v.translate("EEOC.DISABILITY_N")},{value:"D",label:v.translate("EEOC.DISABILITY_D")}]})],this.resume=new x.k({key:"resume",required:!0,hidden:!1,description:v.translate("ACCEPTED_RESUME")+" "+k.settings.acceptedResumeTypes.toString()}),this.formControls=[this.firstName,this.lastName,this.email,this.phoneNumber,this.resume];var t=k.settings.eeoc;for(var n in t)t[n]&&(e=this.eeocControls).push.apply(e,this[n]);this.consentControl=new x.b({key:"consent",required:k.settings.privacyConsent.consentCheckbox,hidden:!1,interactions:[{event:"change",script:function(e){e.getValue("consent")||e.markAsInvalid("consent")}}]}),this.form=this.formUtils.toFormGroup(this.formControls.concat(this.eeocControls,[this.consentControl])),this.loading=!1},e.prototype.close=function(e){void 0===e&&(e=!1),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)},e.prototype.save=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))}},e.prototype.viewPrivacyPolicy=function(){var e=k.settings.privacyConsent.privacyPolicyUrl;"/privacy"===e?this.router.navigate([e]):window.open(e)},e.prototype.applyOnSuccess=function(e){var t={theme:"success",icon:"check",title:v.translate("THANK_YOU"),message:v.translate("YOU_WILL_BE_CONTACTED"),position:"growlTopRight",hideDelay:3e3};this.toaster.alert(t);var n=sessionStorage.getItem(this.APPLIED_JOBS_KEY);if(n){var o=JSON.parse(n);o.push(this.job.id),sessionStorage.setItem(this.APPLIED_JOBS_KEY,JSON.stringify(o))}else sessionStorage.setItem(this.APPLIED_JOBS_KEY,JSON.stringify([this.job.id]));this.applying=!1,this.close(!0)},e.prototype.applyOnFailure=function(e){this.hasError=!0,this.applying=!1},e}(),R=function(){function e(){var e=this;this.requestParams={additionalEmailInfo:function(t){return"?subject="+encodeURIComponent(t.title)+"&body="+e.description(t,window.location.href)+e.additionalEmailInfo(t)},facebook:function(){return"?display=popup&app_id="+e.config.keys.facebook+"&href="+encodeURIComponent(window.location.href)+"&redirect_uri="+encodeURIComponent("https://www.facebook.com/")+"&source=facebook"},twitter:function(t){return"?text="+encodeURIComponent(e.description(t))+"&url="+encodeURIComponent(window.location.href)+"&source=twitter"},linkedin:function(t){return"?mini=true&source=Bullhorn%20Career%20Portal&title="+encodeURIComponent(e.description(t))+"&url="+encodeURIComponent(window.location.href)+"&source=linkedin"},email:function(t){return"?subject="+encodeURIComponent(t.title)+"&body="+e.description(t,window.location.href)}}}return Object.defineProperty(e.prototype,"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"}}},enumerable:!0,configurable:!0}),e.prototype.emailLink=function(e){return"mailto:"+this.requestParams.email(e)},e.prototype.facebook=function(e){window.open(this.config.url.facebook+this.requestParams.facebook(e))},e.prototype.linkedin=function(e){window.open(this.config.url.linkedin+this.requestParams.linkedin(e))},e.prototype.sendEmailLink=function(e,t){return"mailto:"+(t=t||"")+this.requestParams.additionalEmailInfo(e)},e.prototype.twitter=function(e){window.open(this.config.url.twitter+this.requestParams.twitter(e))},e.prototype.additionalEmailInfo=function(e){var t="\n";return e.title&&(t+="\nTitle: Jobs"),e.publishedCategory&&e.publishedCategory.name&&(t+="\nCategory: "+e.publishedCategory.name),e.address&&(e.address.city&&e.address.state?t+="\nLocation: "+e.address.city+", "+e.address.state+"\n":e.address.city?t+="\nLocation: "+e.address.city+"\n":e.address.state&&(t+="\nLocation: "+e.address.state+"\n")),encodeURIComponent(t)},e.prototype.description=function(e,t){return t?"Check out this "+e.title+" job: "+encodeURIComponent(t):"Check out this "+e.title+" job!"},e}(),P=function(){function e(e,t){this.params=e,this.modalRef=t}return e.prototype.ngOnInit=function(){},e.prototype.close=function(){this.modalRef.close()},e}(),M=n("FGiv"),I=new o.InjectionToken("REQUEST"),F=new o.InjectionToken("RESPONSE"),L=function(){function e(e){this.response=e}return e.prototype.getHeader=function(e){return this.response.getHeader(e)},e.prototype.setHeader=function(e,t){return this.response&&this.response.header(e,t),this},e.prototype.appendHeader=function(e,t,n){if(void 0===n&&(n=","),this.response){var o=this.getHeader(e);if(!o)return this.setHeader(e,t);var r=o.split(n).concat([t]).filter(function(e,t,n){return t===n.indexOf(e)}).join(n);this.response.header(e,r)}return this},e.prototype.setHeaders=function(e){var t=this;return this.response&&Object.keys(e).forEach(function(n){return t.setHeader(n,e[n])}),this},e.prototype.setStatus=function(e,t){return this.response&&(this.response.statusCode=e,t&&(this.response.statusMessage=t)),this},e.prototype.setNotFound=function(e){return void 0===e&&(e="not found"),k.isServer&&(this.response.status(404),this.response.statusMessage=e),this},e.prototype.setUnauthorized=function(e){return void 0===e&&(e="Unauthorized"),this.response&&(this.response.statusCode=401,this.response.statusMessage=e),this},e.prototype.setCachePrivate=function(){return this.response&&this.setCache("private"),this},e.prototype.setCacheNone=function(){return this.response&&(this.setHeader("Cache-Control","no-cache, no-store, must-revalidate"),this.setHeader("Pragma","no-cache")),this},e.prototype.setCache=function(e,t,n){return this.response&&(this.setHeader("Cache-Control",n?e+", max-age="+(t?M(t)/1e3:0)+", s-maxage="+M(n)/1e3:e+", max-age="+(t?M(t)/1e3:0)),this.setHeader("Expires",t?new Date(Date.now()+M(t)).toUTCString():new Date(Date.now()).toUTCString())),this},e.prototype.setError=function(e){return void 0===e&&(e="internal server error"),this.response&&(this.response.statusCode=500,this.response.statusMessage=e),this},e.ngInjectableDef=o.defineInjectable({factory:function(){return new e(o.inject(F,8))},token:e,providedIn:"root"}),e}(),B=function(){function e(e,t,n,o,r,i,a,s,l,c){this.service=e,this.shareService=t,this.route=n,this.router=o,this.analytics=r,this.modalService=i,this.viewContainerRef=a,this.titleService=s,this.meta=l,this.serverResponse=c,this.loading=!0,this.showShareButtons=!1,this.alreadyApplied=!1,this.jobInfoChips=k.settings.service.jobInfoChips,this.showCategory=k.settings.service.showCategory,this.APPLIED_JOBS_KEY="APPLIED_JOBS_KEY",this.modalService.parentViewContainer=this.viewContainerRef}return e.prototype.ngOnInit=function(){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()},e.prototype.checkSessionStorage=function(){if(!k.isServer){var e=sessionStorage.getItem(this.APPLIED_JOBS_KEY);if(e){var t=JSON.parse(e);this.alreadyApplied=-1!==t.indexOf(parseInt(this.id))}}},e.prototype.getRelatedJobs=function(){var e=this;this.job&&this.job.publishedCategory&&this.service.getjobs({"publishedCategory.id":[this.job.publishedCategory.id]},{},k.settings.service.batchSize).subscribe(function(t){e.relatedJobs=t.data})},e.prototype.apply=function(){this.analytics.trackEvent("Open Apply Form "+this.job.id),this.modalService.open(T,{job:this.job,source:this.source,viewContainer:this.viewContainerRef}).onClosed.then(this.checkSessionStorage.bind(this))},e.prototype.toggleShareButtons=function(){this.showShareButtons=!this.showShareButtons},e.prototype.shareFacebook=function(){this.shareService.facebook(this.job),this.analytics.trackEvent("Shared Job: "+this.id+" via Facebook")},e.prototype.shareTwitter=function(){this.shareService.twitter(this.job),this.analytics.trackEvent("Shared Job: "+this.id+" via Twitter")},e.prototype.shareLinkedin=function(){this.shareService.linkedin(this.job),this.analytics.trackEvent("Shared Job: "+this.id+" via LinkedIn")},e.prototype.emailLink=function(){window.open(this.shareService.emailLink(this.job)),this.analytics.trackEvent("Shared Job: "+this.id+" via Email")},e.prototype.print=function(){window.print()},e.prototype.goToJobList=function(){this.router.navigate(["/"])},e.prototype.setJob=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:k.settings.companyLogoPath}),this.meta.updateTag({name:"og:url",content:""+k.urlRoot+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(P,{title:v.translate("ERROR"),message:v.translate("MISSING_JOB_ERROR")}).onClosed.then(this.goToJobList.bind(this)))},e}(),N=n("9Z1F"),j=function(){function e(e,t){this.searchService=e,this.serverResponse=t}return e.prototype.resolve=function(e){var t=this;return this.searchService.openJob(e.paramMap.get("id")).pipe(Object(N.a)(function(){return t.serverResponse.setNotFound(),console.error("invalid job id"),Object(s.a)({jobs:[]})}))},e}(),V=function(){function e(e,t){this.http=e,this.domSanitize=t,this.loading=!0}return e.prototype.ngOnInit=function(){this.http.get("./static/privacy-policy.html",{responseType:"text"}).subscribe(this.handlePolicyOnSuccess.bind(this))},e.prototype.handlePolicyOnSuccess=function(e){this.data=this.domSanitize.bypassSecurityTrustHtml(e),this.loading=!1},e}(),U=function(){return function(){}}(),$=n("26FU"),H=n("6blF"),W=n("3fWJ"),K=n("nkY7"),G=n("isby"),q=n("MGBS"),z=n("zotm"),Y=n("IUTb"),Z={},J=function(){function e(e){this.resultSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new X(e,this.resultSelector))},e}(),X=function(e){function t(t,n){var o=e.call(this,t)||this;return o.resultSelector=n,o.active=0,o.values=[],o.observables=[],o}return i.c(t,e),t.prototype._next=function(e){this.values.push(Z),this.observables.push(e)},t.prototype._complete=function(){var e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(var n=0;n<t;n++){var o=e[n];this.add(Object(z.a)(this,o,o,n))}}},t.prototype.notifyComplete=function(e){0==(this.active-=1)&&this.destination.complete()},t.prototype.notifyNext=function(e,t,n,o,r){var i=this.values,a=this.toRespond?i[n]===Z?--this.toRespond:this.toRespond:0;i[n]=t,0===a&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))},t.prototype._tryResultSelector=function(e){var t;try{t=this.resultSelector.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)},t}(q.a),Q=n("G5J1");function ee(e){return new H.a(function(t){var n;try{n=e()}catch(o){return void t.error(o)}return(n?Object(l.a)(n):Object(Q.b)()).subscribe(t)})}var te=n("67Y/"),ne=n("Txjg"),oe=n("VnD/"),re=n("FFOo"),ie=n("b7mW");function ae(e){return function(t){return 0===e?Object(Q.b)():t.lift(new se(e))}}var se=function(){function e(e){if(this.total=e,this.total<0)throw new ie.a}return e.prototype.call=function(e,t){return t.subscribe(new le(e,this.total))},e}(),le=function(e){function t(t,n){var o=e.call(this,t)||this;return o.total=n,o.ring=new Array,o.count=0,o}return i.c(t,e),t.prototype._next=function(e){var t=this.ring,n=this.total,o=this.count++;t.length<n?t.push(e):t[o%n]=e},t.prototype._complete=function(){var e=this.destination,t=this.count;if(t>0)for(var n=this.count>=this.total?this.total:this.count,o=this.ring,r=0;r<n;r++){var i=t++%n;e.next(o[i])}e.complete()},t}(re.a),ce=n("tNVB"),ue=n("HJBe"),de=n("mChF");function he(e,t){var n=arguments.length>=2;return function(o){return o.pipe(e?Object(oe.a)(function(t,n){return e(t,n,o)}):de.a,ae(1),n?Object(ue.a)(t):Object(ce.a)(function(){return new W.a}))}}var pe=n("P6uZ"),fe=n("psW0"),me=function(){function e(e,t,n){this.predicate=e,this.thisArg=t,this.source=n}return e.prototype.call=function(e,t){return t.subscribe(new ge(e,this.predicate,this.thisArg,this.source))},e}(),ge=function(e){function t(t,n,o,r){var i=e.call(this,t)||this;return i.predicate=n,i.thisArg=o,i.source=r,i.index=0,i.thisArg=o||i,i}return i.c(t,e),t.prototype.notifyComplete=function(e){this.destination.next(e),this.destination.complete()},t.prototype._next=function(e){var t=!1;try{t=this.predicate.call(this.thisArg,e,this.index++,this.source)}catch(n){return void this.destination.error(n)}t||this.notifyComplete(!1)},t.prototype._complete=function(){this.notifyComplete(!0)},t}(re.a),ve=n("15JJ"),_e=n("t9fZ"),ye=n("p0Sj");function be(e,t){var n=!1;return arguments.length>=2&&(n=!0),function(o){return o.lift(new Ce(e,t,n))}}var Ce=function(){function e(e,t,n){void 0===n&&(n=!1),this.accumulator=e,this.seed=t,this.hasSeed=n}return e.prototype.call=function(e,t){return t.subscribe(new Ee(e,this.accumulator,this.seed,this.hasSeed))},e}(),Ee=function(e){function t(t,n,o,r){var i=e.call(this,t)||this;return i.accumulator=n,i._seed=o,i.hasSeed=r,i.index=0,i}return i.c(t,e),Object.defineProperty(t.prototype,"seed",{get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e},enumerable:!0,configurable:!0}),t.prototype._next=function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)},t.prototype._tryNext=function(e){var t,n=this.index++;try{t=this.accumulator(this.seed,e,n)}catch(o){this.destination.error(o)}this.seed=t,this.destination.next(t)},t}(re.a),we=n("Phjn"),ke=n("y3By"),Ae=n("xMyE"),Se=n("pugT"),Oe=function(){function e(e){this.callback=e}return e.prototype.call=function(e,t){return t.subscribe(new xe(e,this.callback))},e}(),xe=function(e){function t(t,n){var o=e.call(this,t)||this;return o.add(new Se.a(n)),o}return i.c(t,e),t}(re.a),De=n("Zn8D"),Te=function(){return function(e,t){this.id=e,this.url=t}}(),Re=function(e){function t(t,n,o,r){void 0===o&&(o="imperative"),void 0===r&&(r=null);var i=e.call(this,t,n)||this;return i.navigationTrigger=o,i.restoredState=r,i}return Object(i.c)(t,e),t.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"},t}(Te),Pe=function(e){function t(t,n,o){var r=e.call(this,t,n)||this;return r.urlAfterRedirects=o,r}return Object(i.c)(t,e),t.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"},t}(Te),Me=function(e){function t(t,n,o){var r=e.call(this,t,n)||this;return r.reason=o,r}return Object(i.c)(t,e),t.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"},t}(Te),Ie=function(e){function t(t,n,o){var r=e.call(this,t,n)||this;return r.error=o,r}return Object(i.c)(t,e),t.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"},t}(Te),Fe=function(e){function t(t,n,o,r){var i=e.call(this,t,n)||this;return i.urlAfterRedirects=o,i.state=r,i}return Object(i.c)(t,e),t.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(Te),Le=function(e){function t(t,n,o,r){var i=e.call(this,t,n)||this;return i.urlAfterRedirects=o,i.state=r,i}return Object(i.c)(t,e),t.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(Te),Be=function(e){function t(t,n,o,r,i){var a=e.call(this,t,n)||this;return a.urlAfterRedirects=o,a.state=r,a.shouldActivate=i,a}return Object(i.c)(t,e),t.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"},t}(Te),Ne=function(e){function t(t,n,o,r){var i=e.call(this,t,n)||this;return i.urlAfterRedirects=o,i.state=r,i}return Object(i.c)(t,e),t.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(Te),je=function(e){function t(t,n,o,r){var i=e.call(this,t,n)||this;return i.urlAfterRedirects=o,i.state=r,i}return Object(i.c)(t,e),t.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(Te),Ve=function(){function e(e){this.route=e}return e.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},e}(),Ue=function(){function e(e){this.route=e}return e.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},e}(),$e=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),He=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),We=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),Ke=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),Ge=function(){function e(e,t,n){this.routerEvent=e,this.position=t,this.anchor=n}return e.prototype.toString=function(){return"Scroll(anchor: '"+this.anchor+"', position: '"+(this.position?this.position[0]+", "+this.position[1]:null)+"')"},e}(),qe=function(){return function(){}}(),ze="primary",Ye=function(){function e(e){this.params=e||{}}return e.prototype.has=function(e){return this.params.hasOwnProperty(e)},e.prototype.get=function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t[0]:t}return null},e.prototype.getAll=function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t:[t]}return[]},Object.defineProperty(e.prototype,"keys",{get:function(){return Object.keys(this.params)},enumerable:!0,configurable:!0}),e}();function Ze(e){return new Ye(e)}var Je="ngNavigationCancelingError";function Xe(e){var t=Error("NavigationCancelingError: "+e);return t[Je]=!0,t}function Qe(e,t,n){var o=n.path.split("/");if(o.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||o.length<e.length))return null;for(var r={},i=0;i<o.length;i++){var a=o[i],s=e[i];if(a.startsWith(":"))r[a.substring(1)]=s;else if(a!==s.path)return null}return{consumed:e.slice(0,o.length),posParams:r}}var et=function(){return function(e,t){this.routes=e,this.module=t}}();function tt(e,t){void 0===t&&(t="");for(var n=0;n<e.length;n++){var o=e[n];nt(o,ot(t,o))}}function nt(e,t){if(!e)throw new Error("\n Invalid configuration of route '"+t+"': Encountered undefined route.\n The reason might be an extra comma.\n\n Example:\n const routes: Routes = [\n { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n { path: 'dashboard', component: DashboardComponent },, << two commas\n { path: 'detail/:id', component: HeroDetailComponent }\n ];\n ");if(Array.isArray(e))throw new Error("Invalid configuration of route '"+t+"': Array cannot be specified");if(!e.component&&!e.children&&!e.loadChildren&&e.outlet&&e.outlet!==ze)throw new Error("Invalid configuration of route '"+t+"': a componentless route without children or loadChildren cannot have a named outlet set");if(e.redirectTo&&e.children)throw new Error("Invalid configuration of route '"+t+"': redirectTo and children cannot be used together");if(e.redirectTo&&e.loadChildren)throw new Error("Invalid configuration of route '"+t+"': redirectTo and loadChildren cannot be used together");if(e.children&&e.loadChildren)throw new Error("Invalid configuration of route '"+t+"': children and loadChildren cannot be used together");if(e.redirectTo&&e.component)throw new Error("Invalid configuration of route '"+t+"': redirectTo and component cannot be used together");if(e.path&&e.matcher)throw new Error("Invalid configuration of route '"+t+"': path and matcher cannot be used together");if(void 0===e.redirectTo&&!e.component&&!e.children&&!e.loadChildren)throw new Error("Invalid configuration of route '"+t+"'. One of the following must be provided: component, redirectTo, children or loadChildren");if(void 0===e.path&&void 0===e.matcher)throw new Error("Invalid configuration of route '"+t+"': routes must have either a path or a matcher specified");if("string"==typeof e.path&&"/"===e.path.charAt(0))throw new Error("Invalid configuration of route '"+t+"': path cannot start with a slash");if(""===e.path&&void 0!==e.redirectTo&&void 0===e.pathMatch)throw new Error("Invalid configuration of route '{path: \""+t+'", redirectTo: "'+e.redirectTo+"\"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.");if(void 0!==e.pathMatch&&"full"!==e.pathMatch&&"prefix"!==e.pathMatch)throw new Error("Invalid configuration of route '"+t+"': pathMatch can only be set to 'prefix' or 'full'");e.children&&tt(e.children,t)}function ot(e,t){return t?e||t.path?e&&!t.path?e+"/":!e&&t.path?t.path:e+"/"+t.path:"":e}function rt(e){var t=e.children&&e.children.map(rt),n=t?Object(i.a)({},e,{children:t}):Object(i.a)({},e);return!n.component&&(t||n.loadChildren)&&n.outlet&&n.outlet!==ze&&(n.component=qe),n}function it(e,t){var n,o=Object.keys(e),r=Object.keys(t);if(o.length!=r.length)return!1;for(var i=0;i<o.length;i++)if(e[n=o[i]]!==t[n])return!1;return!0}function at(e){return Array.prototype.concat.apply([],e)}function st(e){return e.length>0?e[e.length-1]:null}function lt(e,t){for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)}function ct(e){return Object(o["\u0275isObservable"])(e)?e:Object(o["\u0275isPromise"])(e)?Object(l.a)(Promise.resolve(e)):Object(s.a)(e)}function ut(e,t,n){return n?function(e,t){return it(e,t)}(e.queryParams,t.queryParams)&&function e(t,n){if(!ft(t.segments,n.segments))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(var o in n.children){if(!t.children[o])return!1;if(!e(t.children[o],n.children[o]))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 t[n]===e[n]})}(e.queryParams,t.queryParams)&&function e(t,n){return function t(n,o,r){if(n.segments.length>r.length)return!!ft(a=n.segments.slice(0,r.length),r)&&!o.hasChildren();if(n.segments.length===r.length){if(!ft(n.segments,r))return!1;for(var i in o.children){if(!n.children[i])return!1;if(!e(n.children[i],o.children[i]))return!1}return!0}var a=r.slice(0,n.segments.length),s=r.slice(n.segments.length);return!!ft(n.segments,a)&&!!n.children[ze]&&t(n.children[ze],o,s)}(t,n,n.segments)}(e.root,t.root)}var dt=function(){function e(e,t,n){this.root=e,this.queryParams=t,this.fragment=n}return Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=Ze(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return _t.serialize(this)},e}(),ht=function(){function e(e,t){var n=this;this.segments=e,this.children=t,this.parent=null,lt(t,function(e,t){return e.parent=n})}return e.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(e.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return yt(this)},e}(),pt=function(){function e(e,t){this.path=e,this.parameters=t}return Object.defineProperty(e.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=Ze(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return At(this)},e}();function ft(e,t){return e.length===t.length&&e.every(function(e,n){return e.path===t[n].path})}function mt(e,t){var n=[];return lt(e.children,function(e,o){o===ze&&(n=n.concat(t(e,o)))}),lt(e.children,function(e,o){o!==ze&&(n=n.concat(t(e,o)))}),n}var gt=function(){return function(){}}(),vt=function(){function e(){}return e.prototype.parse=function(e){var t=new Tt(e);return new dt(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())},e.prototype.serialize=function(e){var t,n;return"/"+function e(t,n){if(!t.hasChildren())return yt(t);if(n){var o=t.children[ze]?e(t.children[ze],!1):"",r=[];return lt(t.children,function(t,n){n!==ze&&r.push(n+":"+e(t,!1))}),r.length>0?o+"("+r.join("//")+")":o}var i=mt(t,function(n,o){return o===ze?[e(t.children[ze],!1)]:[o+":"+e(n,!1)]});return yt(t)+"/("+i.join("//")+")"}(e.root,!0)+(t=e.queryParams,(n=Object.keys(t).map(function(e){var n=t[e];return Array.isArray(n)?n.map(function(t){return Ct(e)+"="+Ct(t)}).join("&"):Ct(e)+"="+Ct(n)})).length?"?"+n.join("&"):"")+("string"==typeof e.fragment?"#"+encodeURI(e.fragment):"")},e}(),_t=new vt;function yt(e){return e.segments.map(function(e){return At(e)}).join("/")}function bt(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ct(e){return bt(e).replace(/%3B/gi,";")}function Et(e){return bt(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function wt(e){return decodeURIComponent(e)}function kt(e){return wt(e.replace(/\+/g,"%20"))}function At(e){return""+Et(e.path)+(t=e.parameters,Object.keys(t).map(function(e){return";"+Et(e)+"="+Et(t[e])}).join(""));var t}var St=/^[^\/()?;=#]+/;function Ot(e){var t=e.match(St);return t?t[0]:""}var xt=/^[^=?&#]+/,Dt=/^[^?&#]+/,Tt=function(){function e(e){this.url=e,this.remaining=e}return e.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ht([],{}):new ht([],this.parseChildren())},e.prototype.parseQueryParams=function(){var e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e},e.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},e.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());var t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n[ze]=new ht(e,t)),n},e.prototype.parseSegment=function(){var e=Ot(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(e),new pt(wt(e),this.parseMatrixParams())},e.prototype.parseMatrixParams=function(){for(var e={};this.consumeOptional(";");)this.parseParam(e);return e},e.prototype.parseParam=function(e){var t=Ot(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var o=Ot(this.remaining);o&&this.capture(n=o)}e[wt(t)]=wt(n)}},e.prototype.parseQueryParam=function(e){var t,n=(t=this.remaining.match(xt))?t[0]:"";if(n){this.capture(n);var o="";if(this.consumeOptional("=")){var r=function(e){var t=e.match(Dt);return t?t[0]:""}(this.remaining);r&&this.capture(o=r)}var i=kt(n),a=kt(o);if(e.hasOwnProperty(i)){var s=e[i];Array.isArray(s)||(e[i]=s=[s]),s.push(a)}else e[i]=a}},e.prototype.parseParens=function(e){var t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=Ot(this.remaining),o=this.remaining[n.length];if("/"!==o&&")"!==o&&";"!==o)throw new Error("Cannot parse url '"+this.url+"'");var r=void 0;n.indexOf(":")>-1?(r=n.substr(0,n.indexOf(":")),this.capture(r),this.capture(":")):e&&(r=ze);var i=this.parseChildren();t[r]=1===Object.keys(i).length?i[ze]:new ht([],i),this.consumeOptional("//")}return t},e.prototype.peekStartsWith=function(e){return this.remaining.startsWith(e)},e.prototype.consumeOptional=function(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)},e.prototype.capture=function(e){if(!this.consumeOptional(e))throw new Error('Expected "'+e+'".')},e}(),Rt=function(){function e(e){this._root=e}return Object.defineProperty(e.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),e.prototype.parent=function(e){var t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null},e.prototype.children=function(e){var t=Pt(e,this._root);return t?t.children.map(function(e){return e.value}):[]},e.prototype.firstChild=function(e){var t=Pt(e,this._root);return t&&t.children.length>0?t.children[0].value:null},e.prototype.siblings=function(e){var t=Mt(e,this._root);return t.length<2?[]:t[t.length-2].children.map(function(e){return e.value}).filter(function(t){return t!==e})},e.prototype.pathFromRoot=function(e){return Mt(e,this._root).map(function(e){return e.value})},e}();function Pt(e,t){var n,o;if(e===t.value)return t;try{for(var r=Object(i.h)(t.children),a=r.next();!a.done;a=r.next()){var s=Pt(e,a.value);if(s)return s}}catch(l){n={error:l}}finally{try{a&&!a.done&&(o=r.return)&&o.call(r)}finally{if(n)throw n.error}}return null}function Mt(e,t){var n,o;if(e===t.value)return[t];try{for(var r=Object(i.h)(t.children),a=r.next();!a.done;a=r.next()){var s=Mt(e,a.value);if(s.length)return s.unshift(t),s}}catch(l){n={error:l}}finally{try{a&&!a.done&&(o=r.return)&&o.call(r)}finally{if(n)throw n.error}}return[]}var It=function(){function e(e,t){this.value=e,this.children=t}return e.prototype.toString=function(){return"TreeNode("+this.value+")"},e}();function Ft(e){var t={};return e&&e.children.forEach(function(e){return t[e.value.outlet]=e}),t}var Lt=function(e){function t(t,n){var o=e.call(this,t)||this;return o.snapshot=n,$t(o,t),o}return Object(i.c)(t,e),t.prototype.toString=function(){return this.snapshot.toString()},t}(Rt);function Bt(e,t){var n=function(e,t){var n=new Vt([],{},{},"",{},ze,t,null,e.root,-1,{});return new Ut("",new It(n,[]))}(e,t),o=new $.a([new pt("",{})]),r=new $.a({}),i=new $.a({}),a=new $.a({}),s=new $.a(""),l=new Nt(o,r,a,s,i,ze,t,n.root);return l.snapshot=n.root,new Lt(new It(l,[]),n)}var Nt=function(){function e(e,t,n,o,r,i,a,s){this.url=e,this.params=t,this.queryParams=n,this.fragment=o,this.data=r,this.outlet=i,this.component=a,this._futureSnapshot=s}return Object.defineProperty(e.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=this.params.pipe(Object(te.a)(function(e){return Ze(e)}))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(te.a)(function(e){return Ze(e)}))),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},e}();function jt(e,t){void 0===t&&(t="emptyOnly");var n=e.pathFromRoot,o=0;if("always"!==t)for(o=n.length-1;o>=1;){var r=n[o],a=n[o-1];if(r.routeConfig&&""===r.routeConfig.path)o--;else{if(a.component)break;o--}}return function(e){return e.reduce(function(e,t){return{params:Object(i.a)({},e.params,t.params),data:Object(i.a)({},e.data,t.data),resolve:Object(i.a)({},e.resolve,t._resolvedData)}},{params:{},data:{},resolve:{}})}(n.slice(o))}var Vt=function(){function e(e,t,n,o,r,i,a,s,l,c,u){this.url=e,this.params=t,this.queryParams=n,this.fragment=o,this.data=r,this.outlet=i,this.component=a,this.routeConfig=s,this._urlSegment=l,this._lastPathIndex=c,this._resolve=u}return Object.defineProperty(e.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=Ze(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=Ze(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return"Route(url:'"+this.url.map(function(e){return e.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},e}(),Ut=function(e){function t(t,n){var o=e.call(this,n)||this;return o.url=t,$t(o,n),o}return Object(i.c)(t,e),t.prototype.toString=function(){return Ht(this._root)},t}(Rt);function $t(e,t){t.value._routerState=e,t.children.forEach(function(t){return $t(e,t)})}function Ht(e){var t=e.children.length>0?" { "+e.children.map(Ht).join(", ")+" } ":"";return""+e.value+t}function Wt(e){if(e.snapshot){var t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,it(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),it(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(!it(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),it(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function Kt(e,t){var n,o;return it(e.params,t.params)&&ft(n=e.url,o=t.url)&&n.every(function(e,t){return it(e.parameters,o[t].parameters)})&&!(!e.parent!=!t.parent)&&(!e.parent||Kt(e.parent,t.parent))}function Gt(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function qt(e,t,n,o,r){var i={};return o&<(o,function(e,t){i[t]=Array.isArray(e)?e.map(function(e){return""+e}):""+e}),new dt(n.root===e?t:function e(t,n,o){var r={};return lt(t.children,function(t,i){r[i]=t===n?o:e(t,n,o)}),new ht(t.segments,r)}(n.root,e,t),i,r)}var zt=function(){function e(e,t,n){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=n,e&&n.length>0&&Gt(n[0]))throw new Error("Root segment cannot have matrix parameters");var o=n.find(function(e){return"object"==typeof e&&null!=e&&e.outlets});if(o&&o!==st(n))throw new Error("{outlets:{}} has to be the last command")}return e.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},e}(),Yt=function(){return function(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n}}();function Zt(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets[ze]:""+e}function Jt(e,t,n){if(e||(e=new ht([],{})),0===e.segments.length&&e.hasChildren())return Xt(e,t,n);var o=function(e,t,n){for(var o=0,r=t,i={match:!1,pathIndex:0,commandIndex:0};r<e.segments.length;){if(o>=n.length)return i;var a=e.segments[r],s=Zt(n[o]),l=o<n.length-1?n[o+1]:null;if(r>0&&void 0===s)break;if(s&&l&&"object"==typeof l&&void 0===l.outlets){if(!nn(s,l,a))return i;o+=2}else{if(!nn(s,{},a))return i;o++}r++}return{match:!0,pathIndex:r,commandIndex:o}}(e,t,n),r=n.slice(o.commandIndex);if(o.match&&o.pathIndex<e.segments.length){var i=new ht(e.segments.slice(0,o.pathIndex),{});return i.children[ze]=new ht(e.segments.slice(o.pathIndex),e.children),Xt(i,0,r)}return o.match&&0===r.length?new ht(e.segments,{}):o.match&&!e.hasChildren()?Qt(e,t,n):o.match?Xt(e,0,r):Qt(e,t,n)}function Xt(e,t,n){if(0===n.length)return new ht(e.segments,{});var o=function(e){var t,n;return"object"!=typeof e[0]?((t={})[ze]=e,t):void 0===e[0].outlets?((n={})[ze]=e,n):e[0].outlets}(n),r={};return lt(o,function(n,o){null!==n&&(r[o]=Jt(e.children[o],t,n))}),lt(e.children,function(e,t){void 0===o[t]&&(r[t]=e)}),new ht(e.segments,r)}function Qt(e,t,n){for(var o=e.segments.slice(0,t),r=0;r<n.length;){if("object"==typeof n[r]&&void 0!==n[r].outlets){var i=en(n[r].outlets);return new ht(o,i)}if(0===r&&Gt(n[0]))o.push(new pt(e.segments[t].path,n[0])),r++;else{var a=Zt(n[r]),s=r<n.length-1?n[r+1]:null;a&&s&&Gt(s)?(o.push(new pt(a,tn(s))),r+=2):(o.push(new pt(a,{})),r++)}}return new ht(o,{})}function en(e){var t={};return lt(e,function(e,n){null!==e&&(t[n]=Qt(new ht([],{}),0,e))}),t}function tn(e){var t={};return lt(e,function(e,n){return t[n]=""+e}),t}function nn(e,t,n){return e==n.path&&it(t,n.parameters)}var on=function(){function e(e,t,n,o){this.routeReuseStrategy=e,this.futureState=t,this.currState=n,this.forwardEvent=o}return e.prototype.activate=function(e){var t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),Wt(this.futureState.root),this.activateChildRoutes(t,n,e)},e.prototype.deactivateChildRoutes=function(e,t,n){var o=this,r=Ft(t);e.children.forEach(function(e){var t=e.value.outlet;o.deactivateRoutes(e,r[t],n),delete r[t]}),lt(r,function(e,t){o.deactivateRouteAndItsChildren(e,n)})},e.prototype.deactivateRoutes=function(e,t,n){var o=e.value,r=t?t.value:null;if(o===r)if(o.component){var i=n.getContext(o.outlet);i&&this.deactivateChildRoutes(e,t,i.children)}else this.deactivateChildRoutes(e,t,n);else r&&this.deactivateRouteAndItsChildren(t,n)},e.prototype.deactivateRouteAndItsChildren=function(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)},e.prototype.detachAndStoreRouteSubtree=function(e,t){var n=t.getContext(e.value.outlet);if(n&&n.outlet){var o=n.outlet.detach(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:o,route:e,contexts:r})}},e.prototype.deactivateRouteAndOutlet=function(e,t){var n=this,o=t.getContext(e.value.outlet);if(o){var r=Ft(e),i=e.value.component?o.children:t;lt(r,function(e,t){return n.deactivateRouteAndItsChildren(e,i)}),o.outlet&&(o.outlet.deactivate(),o.children.onOutletDeactivated())}},e.prototype.activateChildRoutes=function(e,t,n){var o=this,r=Ft(t);e.children.forEach(function(e){o.activateRoutes(e,r[e.value.outlet],n),o.forwardEvent(new Ke(e.value.snapshot))}),e.children.length&&this.forwardEvent(new He(e.value.snapshot))},e.prototype.activateRoutes=function(e,t,n){var o=e.value,r=t?t.value:null;if(Wt(o),o===r)if(o.component){var i=n.getOrCreateContext(o.outlet);this.activateChildRoutes(e,t,i.children)}else this.activateChildRoutes(e,t,n);else if(o.component)if(i=n.getOrCreateContext(o.outlet),this.routeReuseStrategy.shouldAttach(o.snapshot)){var a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),i.children.onOutletReAttached(a.contexts),i.attachRef=a.componentRef,i.route=a.route.value,i.outlet&&i.outlet.attach(a.componentRef,a.route.value),rn(a.route)}else{var s=function(e){for(var t=o.snapshot.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}(),l=s?s.module.componentFactoryResolver:null;i.attachRef=null,i.route=o,i.resolver=l,i.outlet&&i.outlet.activateWith(o,l),this.activateChildRoutes(e,null,i.children)}else this.activateChildRoutes(e,null,n)},e}();function rn(e){Wt(e.value),e.children.forEach(rn)}function an(e){return"function"==typeof e}function sn(e){return e instanceof dt}var ln=function(){return function(e){this.segmentGroup=e||null}}(),cn=function(){return function(e){this.urlTree=e}}();function un(e){return new H.a(function(t){return t.error(new ln(e))})}function dn(e){return new H.a(function(t){return t.error(new cn(e))})}function hn(e){return new H.a(function(t){return t.error(new Error("Only absolute redirects can have named outlets. redirectTo: '"+e+"'"))})}var pn=function(){function e(e,t,n,r,i){this.configLoader=t,this.urlSerializer=n,this.urlTree=r,this.config=i,this.allowRedirects=!0,this.ngModule=e.get(o.NgModuleRef)}return e.prototype.apply=function(){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,ze).pipe(Object(te.a)(function(t){return e.createUrlTree(t,e.urlTree.queryParams,e.urlTree.fragment)})).pipe(Object(N.a)(function(t){if(t instanceof cn)return e.allowRedirects=!1,e.match(t.urlTree);if(t instanceof ln)throw e.noMatchError(t);throw t}))},e.prototype.match=function(e){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,e.root,ze).pipe(Object(te.a)(function(n){return t.createUrlTree(n,e.queryParams,e.fragment)})).pipe(Object(N.a)(function(e){if(e instanceof ln)throw t.noMatchError(e);throw e}))},e.prototype.noMatchError=function(e){return new Error("Cannot match any routes. URL Segment: '"+e.segmentGroup+"'")},e.prototype.createUrlTree=function(e,t,n){var o,r=e.segments.length>0?new ht([],((o={})[ze]=e,o)):e;return new dt(r,t,n)},e.prototype.expandSegmentGroup=function(e,t,n,o){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(Object(te.a)(function(e){return new ht([],e)})):this.expandSegment(e,n,t,n.segments,o,!0)},e.prototype.expandChildren=function(e,t,n){var o=this;return function(n,r){if(0===Object.keys(n).length)return Object(s.a)({});var i=[],a=[],l={};return lt(n,function(n,r){var s,c,u=(s=r,c=n,o.expandSegmentGroup(e,t,c,s)).pipe(Object(te.a)(function(e){return l[r]=e}));r===ze?i.push(u):a.push(u)}),s.a.apply(null,i.concat(a)).pipe(Object(ne.a)(),he(),Object(te.a)(function(){return l}))}(n.children)},e.prototype.expandSegment=function(e,t,n,o,r,a){var l=this;return s.a.apply(void 0,Object(i.g)(n)).pipe(Object(te.a)(function(i){return l.expandSegmentAgainstRoute(e,t,n,i,o,r,a).pipe(Object(N.a)(function(e){if(e instanceof ln)return Object(s.a)(null);throw e}))}),Object(ne.a)(),Object(pe.a)(function(e){return!!e}),Object(N.a)(function(e,n){if(e instanceof W.a||"EmptyError"===e.name){if(l.noLeftoversInUrl(t,o,r))return Object(s.a)(new ht([],{}));throw new ln(t)}throw e}))},e.prototype.noLeftoversInUrl=function(e,t,n){return 0===t.length&&!e.children[n]},e.prototype.expandSegmentAgainstRoute=function(e,t,n,o,r,i,a){return vn(o)!==i?un(t):void 0===o.redirectTo?this.matchSegmentAgainstRoute(e,t,o,r):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,o,r,i):un(t)},e.prototype.expandSegmentAgainstRouteUsingRedirect=function(e,t,n,o,r,i){return"**"===o.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,o,i):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,o,r,i)},e.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(e,t,n,o){var r=this,i=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?dn(i):this.lineralizeSegments(n,i).pipe(Object(fe.a)(function(n){var i=new ht(n,{});return r.expandSegment(e,i,t,n,o,!1)}))},e.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(e,t,n,o,r,i){var a=this,s=fn(t,o,r),l=s.consumedSegments,c=s.lastChild,u=s.positionalParamSegments;if(!s.matched)return un(t);var d=this.applyRedirectCommands(l,o.redirectTo,u);return o.redirectTo.startsWith("/")?dn(d):this.lineralizeSegments(o,d).pipe(Object(fe.a)(function(o){return a.expandSegment(e,t,n,o.concat(r.slice(c)),i,!1)}))},e.prototype.matchSegmentAgainstRoute=function(e,t,n,o){var r=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(e.injector,n).pipe(Object(te.a)(function(e){return n._loadedConfig=e,new ht(o,{})})):Object(s.a)(new ht(o,{}));var a=fn(t,n,o),l=a.consumedSegments,c=a.lastChild;if(!a.matched)return un(t);var u=o.slice(c);return this.getChildConfig(e,n,o).pipe(Object(fe.a)(function(e){var n=e.module,o=e.routes,a=function(e,t,n,o){return n.length>0&&function(e,t,n){return o.some(function(n){return gn(e,t,n)&&vn(n)!==ze})}(e,n)?{segmentGroup:mn(new ht(t,function(e,t){var n,o,r={};r[ze]=t;try{for(var a=Object(i.h)(e),s=a.next();!s.done;s=a.next()){var l=s.value;""===l.path&&vn(l)!==ze&&(r[vn(l)]=new ht([],{}))}}catch(c){n={error:c}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}return r}(o,new ht(n,e.children)))),slicedSegments:[]}:0===n.length&&function(e,t,n){return o.some(function(n){return gn(e,t,n)})}(e,n)?{segmentGroup:mn(new ht(e.segments,function(e,t,n,o){var r,a,s={};try{for(var l=Object(i.h)(n),c=l.next();!c.done;c=l.next()){var u=c.value;gn(e,t,u)&&!o[vn(u)]&&(s[vn(u)]=new ht([],{}))}}catch(d){r={error:d}}finally{try{c&&!c.done&&(a=l.return)&&a.call(l)}finally{if(r)throw r.error}}return Object(i.a)({},o,s)}(e,n,o,e.children))),slicedSegments:n}:{segmentGroup:e,slicedSegments:n}}(t,l,u,o),c=a.segmentGroup,d=a.slicedSegments;return 0===d.length&&c.hasChildren()?r.expandChildren(n,o,c).pipe(Object(te.a)(function(e){return new ht(l,e)})):0===o.length&&0===d.length?Object(s.a)(new ht(l,{})):r.expandSegment(n,c,o,d,ze,!0).pipe(Object(te.a)(function(e){return new ht(l.concat(e.segments),e.children)}))}))},e.prototype.getChildConfig=function(e,t,n){var o=this;return t.children?Object(s.a)(new et(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?Object(s.a)(t._loadedConfig):function(e,t,n){var o,r=t.canLoad;return r&&0!==r.length?Object(l.a)(r).pipe(Object(te.a)(function(o){var r,i=e.get(o);if(function(e){return e&&an(e.canLoad)}(i))r=i.canLoad(t,n);else{if(!an(i))throw new Error("Invalid CanLoad guard");r=i(t,n)}return ct(r)})).pipe(Object(ne.a)(),(o=function(e){return!0===e},function(e){return e.lift(new me(o,void 0,e))})):Object(s.a)(!0)}(e.injector,t,n).pipe(Object(fe.a)(function(n){return n?o.configLoader.load(e.injector,t).pipe(Object(te.a)(function(e){return t._loadedConfig=e,e})):function(e){return new H.a(function(t){return t.error(Xe("Cannot load children because the guard of the route \"path: '"+e.path+"'\" returned false"))})}(t)})):Object(s.a)(new et([],e))},e.prototype.lineralizeSegments=function(e,t){for(var n=[],o=t.root;;){if(n=n.concat(o.segments),0===o.numberOfChildren)return Object(s.a)(n);if(o.numberOfChildren>1||!o.children[ze])return hn(e.redirectTo);o=o.children[ze]}},e.prototype.applyRedirectCommands=function(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)},e.prototype.applyRedirectCreatreUrlTree=function(e,t,n,o){var r=this.createSegmentGroup(e,t.root,n,o);return new dt(r,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)},e.prototype.createQueryParams=function(e,t){var n={};return lt(e,function(e,o){if("string"==typeof e&&e.startsWith(":")){var r=e.substring(1);n[o]=t[r]}else n[o]=e}),n},e.prototype.createSegmentGroup=function(e,t,n,o){var r=this,i=this.createSegments(e,t.segments,n,o),a={};return lt(t.children,function(t,i){a[i]=r.createSegmentGroup(e,t,n,o)}),new ht(i,a)},e.prototype.createSegments=function(e,t,n,o){var r=this;return t.map(function(t){return t.path.startsWith(":")?r.findPosParam(e,t,o):r.findOrReturn(t,n)})},e.prototype.findPosParam=function(e,t,n){var o=n[t.path.substring(1)];if(!o)throw new Error("Cannot redirect to '"+e+"'. Cannot find '"+t.path+"'.");return o},e.prototype.findOrReturn=function(e,t){var n,o,r=0;try{for(var a=Object(i.h)(t),s=a.next();!s.done;s=a.next()){var l=s.value;if(l.path===e.path)return t.splice(r),l;r++}}catch(c){n={error:c}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}return e},e}();function fn(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 o=(t.matcher||Qe)(n,e,t);return o?{matched:!0,consumedSegments:o.consumed,lastChild:o.consumed.length,positionalParamSegments:o.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function mn(e){if(1===e.numberOfChildren&&e.children[ze]){var t=e.children[ze];return new ht(e.segments.concat(t.segments),t.children)}return e}function gn(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function vn(e){return e.outlet||ze}var _n=function(){return function(e){this.path=e,this.route=this.path[this.path.length-1]}}(),yn=function(){return function(e,t){this.component=e,this.route=t}}();function bn(e,t,n){var o=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(o?o.module.injector:n).get(e)}function Cn(e,t,n,o,r){void 0===r&&(r={canDeactivateChecks:[],canActivateChecks:[]});var i=Ft(t);return e.children.forEach(function(e){!function(e,t,n,o,r){void 0===r&&(r={canDeactivateChecks:[],canActivateChecks:[]});var i=e.value,a=t?t.value:null,s=n?n.getContext(e.value.outlet):null;if(a&&i.routeConfig===a.routeConfig){var l=function(e,t,n){switch(n){case"pathParamsChange":return!ft(e.url,t.url);case"always":return!0;case"paramsOrQueryParamsChange":return!Kt(e,t)||!it(e.queryParams,t.queryParams);case"paramsChange":default:return!Kt(e,t)}}(a,i,i.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new _n(o)):(i.data=a.data,i._resolvedData=a._resolvedData),Cn(e,t,i.component?s?s.children:null:n,o,r),l&&r.canDeactivateChecks.push(new yn(s&&s.outlet&&s.outlet.component||null,a))}else a&&En(t,s,r),r.canActivateChecks.push(new _n(o)),Cn(e,null,i.component?s?s.children:null:n,o,r)}(e,i[e.value.outlet],n,o.concat([e.value]),r),delete i[e.value.outlet]}),lt(i,function(e,t){return En(e,n.getContext(t),r)}),r}function En(e,t,n){var o=Ft(e),r=e.value;lt(o,function(e,o){En(e,r.component?t?t.children.getContext(o):null:t,n)}),n.canDeactivateChecks.push(new yn(r.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,r))}var wn=Symbol("INITIAL_VALUE");function kn(){return Object(ve.a)(function(e){return(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=null,o=null;return Object(K.a)(e[e.length-1])&&(o=e.pop()),"function"==typeof e[e.length-1]&&(n=e.pop()),1===e.length&&Object(G.a)(e[0])&&(e=e[0]),Object(Y.a)(e,o).lift(new J(n))}).apply(void 0,Object(i.g)(e.map(function(e){return e.pipe(Object(_e.a)(1),Object(ye.a)(wn))}))).pipe(be(function(e,t){var n=!1;return t.reduce(function(e,o,r){if(e!==wn)return e;if(o===wn&&(n=!0),!n){if(!1===o)return o;if(r===t.length-1||sn(o))return o}return e},e)},wn),Object(oe.a)(function(e){return e!==wn}),Object(te.a)(function(e){return sn(e)?e:!0===e}),Object(_e.a)(1))})}function An(e,t){return null!==e&&t&&t(new We(e)),Object(s.a)(!0)}function Sn(e,t){return null!==e&&t&&t(new $e(e)),Object(s.a)(!0)}function On(e,t,n){var o=t.routeConfig?t.routeConfig.canActivate:null;if(!o||0===o.length)return Object(s.a)(!0);var r=o.map(function(o){return ee(function(){var r,i=bn(o,t,n);if(function(e){return e&&an(e.canActivate)}(i))r=ct(i.canActivate(t,e));else{if(!an(i))throw new Error("Invalid CanActivate guard");r=ct(i(t,e))}return r.pipe(Object(pe.a)())})});return Object(s.a)(r).pipe(kn())}function xn(e,t,n){var o=t[t.length-1],r=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 ee(function(){var r=t.guards.map(function(r){var i,a=bn(r,t.node,n);if(function(e){return e&&an(e.canActivateChild)}(a))i=ct(a.canActivateChild(o,e));else{if(!an(a))throw new Error("Invalid CanActivateChild guard");i=ct(a(o,e))}return i.pipe(Object(pe.a)())});return Object(s.a)(r).pipe(kn())})});return Object(s.a)(r).pipe(kn())}var Dn=function(){return function(){}}(),Tn=function(){function e(e,t,n,o,r,i){this.rootComponentType=e,this.config=t,this.urlTree=n,this.url=o,this.paramsInheritanceStrategy=r,this.relativeLinkResolution=i}return e.prototype.recognize=function(){try{var e=Mn(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,ze),n=new Vt([],Object.freeze({}),Object.freeze(Object(i.a)({},this.urlTree.queryParams)),this.urlTree.fragment,{},ze,this.rootComponentType,null,this.urlTree.root,-1,{}),o=new It(n,t),r=new Ut(this.url,o);return this.inheritParamsAndData(r._root),Object(s.a)(r)}catch(a){return new H.a(function(e){return e.error(a)})}},e.prototype.inheritParamsAndData=function(e){var t=this,n=e.value,o=jt(n,this.paramsInheritanceStrategy);n.params=Object.freeze(o.params),n.data=Object.freeze(o.data),e.children.forEach(function(e){return t.inheritParamsAndData(e)})},e.prototype.processSegmentGroup=function(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)},e.prototype.processChildren=function(e,t){var n,o=this,r=mt(t,function(t,n){return o.processSegmentGroup(e,t,n)});return n={},r.forEach(function(e){var t=n[e.value.outlet];if(t){var o=t.url.map(function(e){return e.toString()}).join("/"),r=e.value.url.map(function(e){return e.toString()}).join("/");throw new Error("Two segments cannot have the same outlet name: '"+o+"' and '"+r+"'.")}n[e.value.outlet]=e.value}),r.sort(function(e,t){return e.value.outlet===ze?-1:t.value.outlet===ze?1:e.value.outlet.localeCompare(t.value.outlet)}),r},e.prototype.processSegment=function(e,t,n,o){var r,a;try{for(var s=Object(i.h)(e),l=s.next();!l.done;l=s.next()){var c=l.value;try{return this.processSegmentAgainstRoute(c,t,n,o)}catch(u){if(!(u instanceof Dn))throw u}}}catch(d){r={error:d}}finally{try{l&&!l.done&&(a=s.return)&&a.call(s)}finally{if(r)throw r.error}}if(this.noLeftoversInUrl(t,n,o))return[];throw new Dn},e.prototype.noLeftoversInUrl=function(e,t,n){return 0===t.length&&!e.children[n]},e.prototype.processSegmentAgainstRoute=function(e,t,n,o){if(e.redirectTo)throw new Dn;if((e.outlet||ze)!==o)throw new Dn;var r,a=[],s=[];if("**"===e.path){var l=n.length>0?st(n).parameters:{};r=new Vt(n,l,Object.freeze(Object(i.a)({},this.urlTree.queryParams)),this.urlTree.fragment,Ln(e),o,e.component,e,Rn(t),Pn(t)+n.length,Bn(e))}else{var c=function(e,t,n){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||n.length>0))throw new Dn;return{consumedSegments:[],lastChild:0,parameters:{}}}var o=(t.matcher||Qe)(n,e,t);if(!o)throw new Dn;var r={};lt(o.posParams,function(e,t){r[t]=e.path});var a=o.consumed.length>0?Object(i.a)({},r,o.consumed[o.consumed.length-1].parameters):r;return{consumedSegments:o.consumed,lastChild:o.consumed.length,parameters:a}}(t,e,n);a=c.consumedSegments,s=n.slice(c.lastChild),r=new Vt(a,c.parameters,Object.freeze(Object(i.a)({},this.urlTree.queryParams)),this.urlTree.fragment,Ln(e),o,e.component,e,Rn(t),Pn(t)+a.length,Bn(e))}var u=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),d=Mn(t,a,s,u,this.relativeLinkResolution),h=d.segmentGroup,p=d.slicedSegments;if(0===p.length&&h.hasChildren()){var f=this.processChildren(u,h);return[new It(r,f)]}if(0===u.length&&0===p.length)return[new It(r,[])];var m=this.processSegment(u,h,p,ze);return[new It(r,m)]},e}();function Rn(e){for(var t=e;t._sourceSegment;)t=t._sourceSegment;return t}function Pn(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 Mn(e,t,n,o,r){if(n.length>0&&function(e,t,n){return o.some(function(n){return In(e,t,n)&&Fn(n)!==ze})}(e,n)){var a=new ht(t,function(e,t,n,o){var r,a,s={};s[ze]=o,o._sourceSegment=e,o._segmentIndexShift=t.length;try{for(var l=Object(i.h)(n),c=l.next();!c.done;c=l.next()){var u=c.value;if(""===u.path&&Fn(u)!==ze){var d=new ht([],{});d._sourceSegment=e,d._segmentIndexShift=t.length,s[Fn(u)]=d}}}catch(h){r={error:h}}finally{try{c&&!c.done&&(a=l.return)&&a.call(l)}finally{if(r)throw r.error}}return s}(e,t,o,new ht(n,e.children)));return a._sourceSegment=e,a._segmentIndexShift=t.length,{segmentGroup:a,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return o.some(function(n){return In(e,t,n)})}(e,n)){var s=new ht(e.segments,function(e,t,n,o,r,a){var s,l,c={};try{for(var u=Object(i.h)(o),d=u.next();!d.done;d=u.next()){var h=d.value;if(In(e,n,h)&&!r[Fn(h)]){var p=new ht([],{});p._sourceSegment=e,p._segmentIndexShift="legacy"===a?e.segments.length:t.length,c[Fn(h)]=p}}}catch(f){s={error:f}}finally{try{d&&!d.done&&(l=u.return)&&l.call(u)}finally{if(s)throw s.error}}return Object(i.a)({},r,c)}(e,t,n,o,e.children,r));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}var l=new ht(e.segments,e.children);return l._sourceSegment=e,l._segmentIndexShift=t.length,{segmentGroup:l,slicedSegments:n}}function In(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Fn(e){return e.outlet||ze}function Ln(e){return e.data||{}}function Bn(e){return e.resolve||{}}function Nn(e,t,n,o){var r=bn(e,t,o);return ct(r.resolve?r.resolve(t,n):r(t,n))}function jn(e){return function(t){return t.pipe(Object(ve.a)(function(t){var n=e(t);return n?Object(l.a)(n).pipe(Object(te.a)(function(){return t})):Object(l.a)([t])}))}}var Vn=function(){return function(){}}(),Un=function(){function e(){}return e.prototype.shouldDetach=function(e){return!1},e.prototype.store=function(e,t){},e.prototype.shouldAttach=function(e){return!1},e.prototype.retrieve=function(e){return null},e.prototype.shouldReuseRoute=function(e,t){return e.routeConfig===t.routeConfig},e}(),$n=new o.InjectionToken("ROUTES"),Hn=function(){function e(e,t,n,o){this.loader=e,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=o}return e.prototype.load=function(e,t){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(t),this.loadModuleFactory(t.loadChildren).pipe(Object(te.a)(function(o){n.onLoadEndListener&&n.onLoadEndListener(t);var r=o.create(e);return new et(at(r.injector.get($n)).map(rt),r)}))},e.prototype.loadModuleFactory=function(e){var t=this;return"string"==typeof e?Object(l.a)(this.loader.load(e)):ct(e()).pipe(Object(fe.a)(function(e){return e instanceof o.NgModuleFactory?Object(s.a)(e):Object(l.a)(t.compiler.compileModuleAsync(e))}))},e}(),Wn=function(){return function(){}}(),Kn=function(){function e(){}return e.prototype.shouldProcessUrl=function(e){return!0},e.prototype.extract=function(e){return e},e.prototype.merge=function(e,t){return e},e}();function Gn(e){throw e}function qn(e,t,n){return t.parse("/")}function zn(e,t){return Object(s.a)(null)}var Yn=function(){function e(e,t,n,r,i,s,l,c){var u=this;this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=n,this.location=r,this.config=c,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new a.a,this.errorHandler=Gn,this.malformedUriErrorHandler=qn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:zn,afterPreactivation:zn},this.urlHandlingStrategy=new Kn,this.routeReuseStrategy=new Un,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=i.get(o.NgModuleRef),this.console=i.get(o["\u0275Console"]);var d=i.get(o.NgZone);this.isNgZoneEnabled=d instanceof o.NgZone,this.resetConfig(c),this.currentUrlTree=new dt(new ht([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.configLoader=new Hn(s,l,function(e){return u.triggerEvent(new Ve(e))},function(e){return u.triggerEvent(new Ue(e))}),this.routerState=Bt(this.currentUrlTree,this.rootComponentType),this.transitions=new $.a({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",state:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return e.prototype.setupNavigations=function(e){var t=this,n=this.events;return e.pipe(Object(oe.a)(function(e){return 0!==e.id}),Object(te.a)(function(e){return Object(i.a)({},e,{extractedUrl:t.urlHandlingStrategy.extract(e.rawUrl)})}),Object(ve.a)(function(e){var o,r,a,c,u=!1,d=!1;return Object(s.a)(e).pipe(Object(ve.a)(function(e){var o,r,a,l,c=!t.navigated||e.extractedUrl.toString()!==t.currentUrlTree.toString();if(("reload"===t.onSameUrlNavigation||c)&&t.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return Object(s.a)(e).pipe(Object(Ae.a)(function(e){return"eager"===t.urlUpdateStrategy&&!e.extras.skipLocationChange&&t.setBrowserUrl(e.rawUrl,!!e.extras.replaceUrl,e.id)}),Object(ve.a)(function(e){var o=t.transitions.getValue();return n.next(new Re(e.id,t.serializeUrl(e.extractedUrl),e.source,e.state)),o!==t.transitions.getValue()?Q.a:[e]}),Object(ve.a)(function(e){return Promise.resolve(e)}),(o=t.ngModule.injector,r=t.configLoader,a=t.urlSerializer,l=t.config,function(e){return e.pipe(Object(ve.a)(function(e){return function(t,n,o,r,i){return new pn(t,n,o,e.extractedUrl,i).apply()}(o,r,a,0,l).pipe(Object(te.a)(function(t){return Object(i.a)({},e,{urlAfterRedirects:t})}))}))}),function(e,n,o,r,a){return function(o){return o.pipe(Object(fe.a)(function(o){return function(e,t,n,o,r,i){return void 0===r&&(r="emptyOnly"),void 0===i&&(i="legacy"),new Tn(e,t,n,o,r,i).recognize()}(e,n,o.urlAfterRedirects,(s=o.urlAfterRedirects,t.serializeUrl(s)),r,a).pipe(Object(te.a)(function(e){return Object(i.a)({},o,{targetSnapshot:e})}));var s}))}}(t.rootComponentType,t.config,0,t.paramsInheritanceStrategy,t.relativeLinkResolution),Object(Ae.a)(function(e){var o=new Fe(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);n.next(o)}));if(c&&t.rawUrlTree&&t.urlHandlingStrategy.shouldProcessUrl(t.rawUrlTree)){var u=e.extractedUrl,d=e.source,h=e.state,p=e.extras,f=new Re(e.id,t.serializeUrl(u),d,h);n.next(f);var m=Bt(u,t.rootComponentType).snapshot;return Object(s.a)(Object(i.a)({},e,{targetSnapshot:m,urlAfterRedirects:u,extras:Object(i.a)({},p,{skipLocationChange:!1,replaceUrl:!1})}))}return t.rawUrlTree=e.rawUrl,e.resolve(null),Q.a}),jn(function(e){var n=e.extras;return t.hooks.beforePreactivation(e.targetSnapshot,{navigationId:e.id,appliedUrlTree:e.extractedUrl,rawUrlTree:e.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})}),Object(Ae.a)(function(e){var n=new Le(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}),Object(te.a)(function(e){return Object(i.a)({},e,{guards:(n=e.targetSnapshot,o=e.currentSnapshot,r=t.rootContexts,a=n._root,Cn(a,o?o._root:null,r,[a.value]))});var n,o,r,a}),function(e,t){return function(n){return n.pipe(Object(fe.a)(function(n){var o=n.targetSnapshot,r=n.currentSnapshot,a=n.guards,c=a.canActivateChecks,u=a.canDeactivateChecks;return 0===u.length&&0===c.length?Object(s.a)(Object(i.a)({},n,{guardsResult:!0})):function(e,t,n,o){return Object(l.a)(e).pipe(Object(fe.a)(function(e){return function(e,t,n,o,r){var i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!i||0===i.length)return Object(s.a)(!0);var a=i.map(function(i){var a,s=bn(i,t,r);if(function(e){return e&&an(e.canDeactivate)}(s))a=ct(s.canDeactivate(e,t,n,o));else{if(!an(s))throw new Error("Invalid CanDeactivate guard");a=ct(s(e,t,n,o))}return a.pipe(Object(pe.a)())});return Object(s.a)(a).pipe(kn())}(e.component,e.route,n,t,o)}),Object(pe.a)(function(e){return!0!==e},!0))}(u,o,r,e).pipe(Object(fe.a)(function(n){return n&&"boolean"==typeof n?function(e,t,n,o){return Object(l.a)(t).pipe(Object(we.a)(function(t){return Object(l.a)([Sn(t.route.parent,o),An(t.route,o),xn(e,t.path,n),On(e,t.route,n)]).pipe(Object(ne.a)(),Object(pe.a)(function(e){return!0!==e},!0))}),Object(pe.a)(function(e){return!0!==e},!0))}(o,c,e,t):Object(s.a)(n)}),Object(te.a)(function(e){return Object(i.a)({},n,{guardsResult:e})}))}))}}(t.ngModule.injector,function(e){return t.triggerEvent(e)}),Object(Ae.a)(function(e){if(sn(e.guardsResult)){var n=Xe('Redirecting to "'+t.serializeUrl(e.guardsResult)+'"');throw n.url=e.guardsResult,n}}),Object(Ae.a)(function(e){var n=new Be(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);t.triggerEvent(n)}),Object(oe.a)(function(e){if(!e.guardsResult){t.resetUrlToCurrentUrlTree();var o=new Me(e.id,t.serializeUrl(e.extractedUrl),"");return n.next(o),e.resolve(!1),!1}return!0}),jn(function(e){if(e.guards.canActivateChecks.length)return Object(s.a)(e).pipe(Object(Ae.a)(function(e){var n=new Ne(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}),(n=t.paramsInheritanceStrategy,o=t.ngModule.injector,function(e){return e.pipe(Object(fe.a)(function(e){var t=e.targetSnapshot,r=e.guards.canActivateChecks;return r.length?Object(l.a)(r).pipe(Object(we.a)(function(e){return function(e,n,o,r){return function(e,t,n,o){var r=Object.keys(e);if(0===r.length)return Object(s.a)({});if(1===r.length){var i=r[0];return Nn(e[i],t,n,o).pipe(Object(te.a)(function(e){var t;return(t={})[i]=e,t}))}var a={};return Object(l.a)(r).pipe(Object(fe.a)(function(r){return Nn(e[r],t,n,o).pipe(Object(te.a)(function(e){return a[r]=e,e}))})).pipe(he(),Object(te.a)(function(){return a}))}(e._resolve,e,t,r).pipe(Object(te.a)(function(t){return e._resolvedData=t,e.data=Object(i.a)({},e.data,jt(e,o).resolve),null}))}(e.route,0,n,o)}),function(e,t){return arguments.length>=2?function(t){return Object(ke.a)(be(e,void 0),ae(1),Object(ue.a)(void 0))(t)}:function(t){return Object(ke.a)(be(function(t,n,o){return e(t)}),ae(1))(t)}}(function(e,t){return e}),Object(te.a)(function(t){return e})):Object(s.a)(e)}))}),Object(Ae.a)(function(e){var n=new je(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}));var n,o}),jn(function(e){var n=e.extras;return t.hooks.afterPreactivation(e.targetSnapshot,{navigationId:e.id,appliedUrlTree:e.extractedUrl,rawUrlTree:e.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})}),Object(te.a)(function(e){var n,o,r,a=(r=function e(t,n,o){if(o&&t.shouldReuseRoute(n.value,o.value.snapshot)){(c=o.value)._futureSnapshot=n.value;var r=function(t,n,o){return n.children.map(function(n){var r,a;try{for(var s=Object(i.h)(o.children),l=s.next();!l.done;l=s.next()){var c=l.value;if(t.shouldReuseRoute(c.value.snapshot,n.value))return e(t,n,c)}}catch(u){r={error:u}}finally{try{l&&!l.done&&(a=s.return)&&a.call(s)}finally{if(r)throw r.error}}return e(t,n)})}(t,n,o);return new It(c,r)}var a=t.retrieve(n.value);if(a){var s=a.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 o=0;o<t.children.length;++o)e(t.children[o],n.children[o])}(n,s),s}var l,c=new Nt(new $.a((l=n.value).url),new $.a(l.params),new $.a(l.queryParams),new $.a(l.fragment),new $.a(l.data),l.outlet,l.component,l);return r=n.children.map(function(n){return e(t,n)}),new It(c,r)}(t.routeReuseStrategy,(n=e.targetSnapshot)._root,(o=e.currentRouterState)?o._root:void 0),new Lt(r,n));return Object(i.a)({},e,{targetRouterState:a})}),Object(Ae.a)(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)}),(r=t.rootContexts,a=t.routeReuseStrategy,c=function(e){return t.triggerEvent(e)},Object(te.a)(function(e){return new on(a,e.targetRouterState,e.currentRouterState,c).activate(r),e})),Object(Ae.a)({next:function(){u=!0},complete:function(){u=!0}}),(o=function(){if(!u&&!d){t.resetUrlToCurrentUrlTree();var o=new Me(e.id,t.serializeUrl(e.extractedUrl),"Navigation ID "+e.id+" is not equal to the current navigation id "+t.navigationId);n.next(o),e.resolve(!1)}},function(e){return e.lift(new Oe(o))}),Object(N.a)(function(o){if(d=!0,(s=o)&&s[Je]){t.navigated=!0;var r=sn(o.url);r||t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);var i=new Me(e.id,t.serializeUrl(e.extractedUrl),o.message);n.next(i),e.resolve(!1),r&&t.navigateByUrl(o.url)}else{t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);var a=new Ie(e.id,t.serializeUrl(e.extractedUrl),o);n.next(a);try{e.resolve(t.errorHandler(o))}catch(l){e.reject(l)}}var s;return Q.a}))}))},e.prototype.resetRootComponentType=function(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType},e.prototype.getTransition=function(){return this.transitions.value},e.prototype.setTransition=function(e){this.transitions.next(Object(i.a)({},this.getTransition(),e))},e.prototype.initialNavigation=function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})},e.prototype.setUpLocationChangeListener=function(){var e=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(t){var n=e.parseUrl(t.url),o="popstate"===t.type?"popstate":"hashchange",r=t.state&&t.state.navigationId?{navigationId:t.state.navigationId}:null;setTimeout(function(){e.scheduleNavigation(n,o,r,{replaceUrl:!0})},0)}))},Object.defineProperty(e.prototype,"url",{get:function(){return this.serializeUrl(this.currentUrlTree)},enumerable:!0,configurable:!0}),e.prototype.triggerEvent=function(e){this.events.next(e)},e.prototype.resetConfig=function(e){tt(e),this.config=e.map(rt),this.navigated=!1,this.lastSuccessfulId=-1},e.prototype.ngOnDestroy=function(){this.dispose()},e.prototype.dispose=function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)},e.prototype.createUrlTree=function(e,t){void 0===t&&(t={});var n=t.relativeTo,r=t.queryParams,a=t.fragment,s=t.preserveQueryParams,l=t.queryParamsHandling,c=t.preserveFragment;Object(o.isDevMode)()&&s&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var u=n||this.routerState.root,d=c?this.currentUrlTree.fragment:a,h=null;if(l)switch(l){case"merge":h=Object(i.a)({},this.currentUrlTree.queryParams,r);break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=r||null}else h=s?this.currentUrlTree.queryParams:r||null;return null!==h&&(h=this.removeEmptyProps(h)),function(e,t,n,o,r){if(0===n.length)return qt(t.root,t.root,t,o,r);var a=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new zt(!0,0,e);var t=0,n=!1,o=e.reduce(function(e,o,r){if("object"==typeof o&&null!=o){if(o.outlets){var a={};return lt(o.outlets,function(e,t){a[t]="string"==typeof e?e.split("/"):e}),Object(i.g)(e,[{outlets:a}])}if(o.segmentPath)return Object(i.g)(e,[o.segmentPath])}return"string"!=typeof o?Object(i.g)(e,[o]):0===r?(o.split("/").forEach(function(o,r){0==r&&"."===o||(0==r&&""===o?n=!0:".."===o?t++:""!=o&&e.push(o))}),e):Object(i.g)(e,[o])},[]);return new zt(n,t,o)}(n);if(a.toRoot())return qt(t.root,new ht([],{}),t,o,r);var s=function(e,n,o){if(e.isAbsolute)return new Yt(t.root,!0,0);if(-1===o.snapshot._lastPathIndex)return new Yt(o.snapshot._urlSegment,!0,0);var r=Gt(e.commands[0])?0:1;return function(t,n,i){for(var a=o.snapshot._urlSegment,s=o.snapshot._lastPathIndex+r,l=e.numberOfDoubleDots;l>s;){if(l-=s,!(a=a.parent))throw new Error("Invalid number of '../'");s=a.segments.length}return new Yt(a,!1,s-l)}()}(a,0,e),l=s.processChildren?Xt(s.segmentGroup,s.index,a.commands):Jt(s.segmentGroup,s.index,a.commands);return qt(s.segmentGroup,l,t,o,r)}(u,this.currentUrlTree,e,h,d)},e.prototype.navigateByUrl=function(e,t){void 0===t&&(t={skipLocationChange:!1}),Object(o.isDevMode)()&&this.isNgZoneEnabled&&!o.NgZone.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=sn(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,t)},e.prototype.navigate=function(e,t){return void 0===t&&(t={skipLocationChange:!1}),function(e){for(var t=0;t<e.length;t++){var n=e[t];if(null==n)throw new Error("The requested path contains "+n+" segment at index "+t)}}(e),this.navigateByUrl(this.createUrlTree(e,t),t)},e.prototype.serializeUrl=function(e){return this.urlSerializer.serialize(e)},e.prototype.parseUrl=function(e){var t;try{t=this.urlSerializer.parse(e)}catch(n){t=this.malformedUriErrorHandler(n,this.urlSerializer,e)}return t},e.prototype.isActive=function(e,t){if(sn(e))return ut(this.currentUrlTree,e,t);var n=this.parseUrl(e);return ut(this.currentUrlTree,n,t)},e.prototype.removeEmptyProps=function(e){return Object.keys(e).reduce(function(t,n){var o=e[n];return null!=o&&(t[n]=o),t},{})},e.prototype.processNavigations=function(){var e=this;this.navigations.subscribe(function(t){e.navigated=!0,e.lastSuccessfulId=t.id,e.events.next(new Pe(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(e.currentUrlTree))),t.resolve(!0)},function(t){e.console.warn("Unhandled Navigation Error: ")})},e.prototype.scheduleNavigation=function(e,t,n,o){var r=this.getTransition();if(r&&"imperative"!==t&&"imperative"===r.source&&r.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(r&&"hashchange"==t&&"popstate"===r.source&&r.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(r&&"popstate"==t&&"hashchange"===r.source&&r.rawUrl.toString()===e.toString())return Promise.resolve(!0);var i=null,a=null,s=new Promise(function(e,t){i=e,a=t}),l=++this.navigationId;return this.setTransition({id:l,source:t,state:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:o,resolve:i,reject:a,promise:s,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),s.catch(function(e){return Promise.reject(e)})},e.prototype.setBrowserUrl=function(e,t,n){var o=this.urlSerializer.serialize(e);this.location.isCurrentPathEqualTo(o)||t?this.location.replaceState(o,"",{navigationId:n}):this.location.go(o,"",{navigationId:n})},e.prototype.resetStateAndUrl=function(e,t,n){this.routerState=e,this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()},e.prototype.resetUrlToCurrentUrlTree=function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})},e}(),Zn=function(){function e(e,t,n,o,r){this.router=e,this.route=t,this.commands=[],null==n&&o.setAttribute(r.nativeElement,"tabindex","0")}return Object.defineProperty(e.prototype,"routerLink",{set:function(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"preserveQueryParams",{set:function(e){Object(o.isDevMode)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=e},enumerable:!0,configurable:!0}),e.prototype.onClick=function(){var e={skipLocationChange:Xn(this.skipLocationChange),replaceUrl:Xn(this.replaceUrl)};return this.router.navigateByUrl(this.urlTree,e),!0},Object.defineProperty(e.prototype,"urlTree",{get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:Xn(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:Xn(this.preserveFragment)})},enumerable:!0,configurable:!0}),e}(),Jn=function(){function e(e,t,n){var o=this;this.router=e,this.route=t,this.locationStrategy=n,this.commands=[],this.subscription=e.events.subscribe(function(e){e instanceof Pe&&o.updateTargetUrlAndHref()})}return Object.defineProperty(e.prototype,"routerLink",{set:function(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"preserveQueryParams",{set:function(e){Object(o.isDevMode)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=e},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(e){this.updateTargetUrlAndHref()},e.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},e.prototype.onClick=function(e,t,n,o){if(0!==e||t||n||o)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;var r={skipLocationChange:Xn(this.skipLocationChange),replaceUrl:Xn(this.replaceUrl)};return this.router.navigateByUrl(this.urlTree,r),!1},e.prototype.updateTargetUrlAndHref=function(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))},Object.defineProperty(e.prototype,"urlTree",{get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:Xn(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:Xn(this.preserveFragment)})},enumerable:!0,configurable:!0}),Object(i.b)([Object(o.HostBinding)("attr.target"),Object(o.Input)(),Object(i.d)("design:type",String)],e.prototype,"target",void 0),e}();function Xn(e){return""===e||!!e}var Qn=function(){return function(){this.outlet=null,this.route=null,this.resolver=null,this.children=new eo,this.attachRef=null}}(),eo=function(){function e(){this.contexts=new Map}return e.prototype.onChildOutletCreated=function(e,t){var n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)},e.prototype.onChildOutletDestroyed=function(e){var t=this.getContext(e);t&&(t.outlet=null)},e.prototype.onOutletDeactivated=function(){var e=this.contexts;return this.contexts=new Map,e},e.prototype.onOutletReAttached=function(e){this.contexts=e},e.prototype.getOrCreateContext=function(e){var t=this.getContext(e);return t||(t=new Qn,this.contexts.set(e,t)),t},e.prototype.getContext=function(e){return this.contexts.get(e)||null},e}(),to=function(){function e(e,t,n,r,i){this.parentContexts=e,this.location=t,this.resolver=n,this.changeDetector=i,this.activated=null,this._activatedRoute=null,this.activateEvents=new o.EventEmitter,this.deactivateEvents=new o.EventEmitter,this.name=r||ze,e.onChildOutletCreated(this.name,this)}return e.prototype.ngOnDestroy=function(){this.parentContexts.onChildOutletDestroyed(this.name)},e.prototype.ngOnInit=function(){if(!this.activated){var e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}},Object.defineProperty(e.prototype,"isActivated",{get:function(){return!!this.activated},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"component",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activatedRoute",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activatedRouteData",{get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}},enumerable:!0,configurable:!0}),e.prototype.detach=function(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();var e=this.activated;return this.activated=null,this._activatedRoute=null,e},e.prototype.attach=function(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)},e.prototype.deactivate=function(){if(this.activated){var e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}},e.prototype.activateWith=function(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;var n=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),o=this.parentContexts.getOrCreateContext(this.name).children,r=new no(e,o,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,r),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)},e}(),no=function(){function e(e,t,n){this.route=e,this.childContexts=t,this.parent=n}return e.prototype.get=function(e,t){return e===Nt?this.route:e===eo?this.childContexts:this.parent.get(e,t)},e}(),oo=function(){return function(){}}(),ro=function(){function e(){}return e.prototype.preload=function(e,t){return t().pipe(Object(N.a)(function(){return Object(s.a)(null)}))},e}(),io=function(){function e(){}return e.prototype.preload=function(e,t){return Object(s.a)(null)},e}(),ao=function(){function e(e,t,n,o,r){this.router=e,this.injector=o,this.preloadingStrategy=r,this.loader=new Hn(t,n,function(t){return e.triggerEvent(new Ve(t))},function(t){return e.triggerEvent(new Ue(t))})}return e.prototype.setUpPreloading=function(){var e=this;this.subscription=this.router.events.pipe(Object(oe.a)(function(e){return e instanceof Pe}),Object(we.a)(function(){return e.preload()})).subscribe(function(){})},e.prototype.preload=function(){var e=this.injector.get(o.NgModuleRef);return this.processRoutes(e,this.router.config)},e.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},e.prototype.processRoutes=function(e,t){var n,o,r=[];try{for(var a=Object(i.h)(t),s=a.next();!s.done;s=a.next()){var c=s.value;if(c.loadChildren&&!c.canLoad&&c._loadedConfig){var u=c._loadedConfig;r.push(this.processRoutes(u.module,u.routes))}else c.loadChildren&&!c.canLoad?r.push(this.preloadConfig(e,c)):c.children&&r.push(this.processRoutes(e,c.children))}}catch(d){n={error:d}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}return Object(l.a)(r).pipe(Object(De.a)(),Object(te.a)(function(e){}))},e.prototype.preloadConfig=function(e,t){var n=this;return this.preloadingStrategy.preload(t,function(){return n.loader.load(e.injector,t).pipe(Object(fe.a)(function(e){return t._loadedConfig=e,n.processRoutes(e.module,e.routes)}))})},e}(),so=function(){function e(e,t,n){void 0===n&&(n={}),this.router=e,this.viewportScroller=t,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}return e.prototype.init=function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()},e.prototype.createScrollEvents=function(){var e=this;return this.router.events.subscribe(function(t){t instanceof Re?(e.store[e.lastId]=e.viewportScroller.getScrollPosition(),e.lastSource=t.navigationTrigger,e.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Pe&&(e.lastId=t.id,e.scheduleScrollEvent(t,e.router.parseUrl(t.urlAfterRedirects).fragment))})},e.prototype.consumeScrollEvents=function(){var e=this;return this.router.events.subscribe(function(t){t instanceof 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]))})},e.prototype.scheduleScrollEvent=function(e,t){this.router.triggerEvent(new Ge(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))},e.prototype.ngOnDestroy=function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()},e}(),lo=new o.InjectionToken("ROUTER_CONFIGURATION"),co=new o.InjectionToken("ROUTER_FORROOT_GUARD"),uo=[r.i,{provide:gt,useClass:vt},{provide:Yn,useFactory:_o,deps:[o.ApplicationRef,gt,eo,r.i,o.Injector,o.NgModuleFactoryLoader,o.Compiler,$n,lo,[Wn,new o.Optional],[Vn,new o.Optional]]},eo,{provide:Nt,useFactory:yo,deps:[Yn]},{provide:o.NgModuleFactoryLoader,useClass:o.SystemJsNgModuleLoader},ao,io,ro,{provide:lo,useValue:{enableTracing:!1}}];function ho(){return new o.NgProbeToken("Router",Yn)}var po=function(){function e(e,t){}var t;return t=e,e.forRoot=function(e,n){return{ngModule:t,providers:[uo,vo(e),{provide:co,useFactory:go,deps:[[Yn,new o.Optional,new o.SkipSelf]]},{provide:lo,useValue:n||{}},{provide:r.j,useFactory:mo,deps:[r.w,[new o.Inject(r.a),new o.Optional],lo]},{provide:so,useFactory:fo,deps:[Yn,r.z,lo]},{provide:oo,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:io},{provide:o.NgProbeToken,multi:!0,useFactory:ho},[bo,{provide:o.APP_INITIALIZER,multi:!0,useFactory:Co,deps:[bo]},{provide:wo,useFactory:Eo,deps:[bo]},{provide:o.APP_BOOTSTRAP_LISTENER,multi:!0,useExisting:wo}]]}},e.forChild=function(e){return{ngModule:t,providers:[vo(e)]}},e}();function fo(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new so(e,t,n)}function mo(e,t,n){return void 0===n&&(n={}),n.useHash?new r.g(e,t):new r.u(e,t)}function go(e){if(e)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function vo(e){return[{provide:o.ANALYZE_FOR_ENTRY_COMPONENTS,multi:!0,useValue:e},{provide:$n,multi:!0,useValue:e}]}function _o(e,t,n,o,r,i,a,s,l,c,u){void 0===l&&(l={});var d=new Yn(null,t,n,o,r,i,a,at(s));if(c&&(d.urlHandlingStrategy=c),u&&(d.routeReuseStrategy=u),l.errorHandler&&(d.errorHandler=l.errorHandler),l.malformedUriErrorHandler&&(d.malformedUriErrorHandler=l.malformedUriErrorHandler),l.enableTracing){var h=Object(b["\u0275getDOM"])();d.events.subscribe(function(e){h.logGroup("Router Event: "+e.constructor.name),h.log(e.toString()),h.log(e),h.logGroupEnd()})}return l.onSameUrlNavigation&&(d.onSameUrlNavigation=l.onSameUrlNavigation),l.paramsInheritanceStrategy&&(d.paramsInheritanceStrategy=l.paramsInheritanceStrategy),l.urlUpdateStrategy&&(d.urlUpdateStrategy=l.urlUpdateStrategy),l.relativeLinkResolution&&(d.relativeLinkResolution=l.relativeLinkResolution),d}function yo(e){return e.routerState.root}var bo=function(){function e(e){this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new a.a}return e.prototype.appInitializer=function(){var e=this;return this.injector.get(r.h,Promise.resolve(null)).then(function(){var t=null,n=new Promise(function(e){return t=e}),o=e.injector.get(Yn),r=e.injector.get(lo);if(e.isLegacyDisabled(r)||e.isLegacyEnabled(r))t(!0);else if("disabled"===r.initialNavigation)o.setUpLocationChangeListener(),t(!0);else{if("enabled"!==r.initialNavigation)throw new Error("Invalid initialNavigation options: '"+r.initialNavigation+"'");o.hooks.afterPreactivation=function(){return e.initNavigation?Object(s.a)(null):(e.initNavigation=!0,t(!0),e.resultOfPreactivationDone)},o.initialNavigation()}return n})},e.prototype.bootstrapListener=function(e){var t=this.injector.get(lo),n=this.injector.get(ao),r=this.injector.get(so),i=this.injector.get(Yn),a=this.injector.get(o.ApplicationRef);e===a.components[0]&&(this.isLegacyEnabled(t)?i.initialNavigation():this.isLegacyDisabled(t)&&i.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),i.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())},e.prototype.isLegacyEnabled=function(e){return"legacy_enabled"===e.initialNavigation||!0===e.initialNavigation||void 0===e.initialNavigation},e.prototype.isLegacyDisabled=function(e){return"legacy_disabled"===e.initialNavigation||!1===e.initialNavigation},e}();function Co(e){return e.appInitializer.bind(e)}function Eo(e){return e.bootstrapListener.bind(e)}var wo=new o.InjectionToken("Router Initializer"),ko=function(){function e(e,t,n,o,r){this.router=e,this.meta=t,this.ref=n,this.toastService=o,this.modalService=r,this.title=k.settings.companyName,k.settings.integrations.googleSiteVerification&&this.meta.updateTag({name:"google-site-verification",content:k.settings.integrations.googleSiteVerification.verificationCode});var i="";k.settings.integrations.googleAnalytics&&(i=k.settings.integrations.googleAnalytics.trackingId),i&&!k.isServer&&this.router.events.subscribe(function(e){e instanceof Pe&&(window.ga("create",i,"auto"),window.ga("set","page",e.urlAfterRedirects),window.ga("send","pageview"))})}return e.prototype.ngOnInit=function(){this.toastService.parentViewContainer=this.ref,this.modalService.parentViewContainer=this.ref},e.prototype.action=function(){},e}(),Ao=n("gIcY"),So=n("eDkP"),Oo=n("Fzqc"),xo=n("4c35"),Do=n("dWZg"),To=n("qAlS"),Ro=n("M2Lx"),Po=n("lLAP"),Mo=n("UVXo"),Io=n("YhbO"),Fo=n("Lwpp"),Lo=n("y4qS"),Bo=n("t/Na");n("YlbQ");var No=o["\u0275crt"]({encapsulation:2,styles:[],data:{animation:[{type:7,name:"startDateTextState",definitions:[{type:0,name:"startDate",styles:{type:6,styles:{opacity:"1.0"},offset:null},options:void 0},{type:0,name:"endDate",styles:{type:6,styles:{opacity:"0.6"},offset:null},options:void 0},{type:1,expr:"startDate <=> endDate",animation:{type:4,styles:null,timings:"200ms ease-in"},options:null}],options:{}},{type:7,name:"endDateTextState",definitions:[{type:0,name:"startDate",styles:{type:6,styles:{opacity:"0.6"},offset:null},options:void 0},{type:0,name:"endDate",styles:{type:6,styles:{opacity:"1.0"},offset:null},options:void 0},{type:1,expr:"startDate <=> endDate",animation:{type:4,styles:null,timings:"200ms ease-in"},options:null}],options:{}},{type:7,name:"indicatorState",definitions:[{type:0,name:"startDate",styles:{type:6,styles:{transform:"translateX(0%)"},offset:null},options:void 0},{type:0,name:"endDate",styles:{type:6,styles:{transform:"translateX(100%)"},offset:null},options:void 0},{type:1,expr:"startDate <=> endDate",animation:{type:4,styles:null,timings:"200ms ease-in"},options:null}],options:{}}]}});function jo(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,8,"div",[["class","calendar-top"]],null,null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,1,"h4",[["class","day"]],[[1,"data-automation-id",0]],null,null,null,null)),(e()(),o["\u0275ted"](2,null,["",""])),(e()(),o["\u0275eld"](3,0,null,null,1,"h2",[["class","month"]],[[1,"data-automation-id",0]],null,null,null,null)),(e()(),o["\u0275ted"](4,null,["",""])),(e()(),o["\u0275eld"](5,0,null,null,1,"h1",[["class","date"]],[[1,"data-automation-id",0]],null,null,null,null)),(e()(),o["\u0275ted"](6,null,["",""])),(e()(),o["\u0275eld"](7,0,null,null,1,"h3",[["class","year"]],[[1,"data-automation-id",0]],null,null,null,null)),(e()(),o["\u0275ted"](8,null,["",""]))],null,function(e,t){var n=t.component;e(t,1,0,null==n.heading?null:n.heading.day),e(t,2,0,null==n.heading?null:n.heading.day),e(t,3,0,null==n.heading?null:n.heading.month),e(t,4,0,null==n.heading?null:n.heading.month),e(t,5,0,null==n.heading?null:n.heading.date),e(t,6,0,null==n.heading?null:n.heading.date),e(t,7,0,null==n.heading?null:n.heading.year),e(t,8,0,null==n.heading?null:n.heading.year)})}function Vo(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,5,"div",[["class","date-range-tabs"]],[[2,"week-select-mode",null]],null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,1,"span",[["class","range-tab"],["data-automation-id","calendar-start-date"]],[[24,"@startDateTextState",0]],[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.toggleRangeSelect("startDate")&&o),o},null,null)),(e()(),o["\u0275ted"](2,null,["",""])),(e()(),o["\u0275eld"](3,0,null,null,1,"span",[["class","range-tab"],["data-automation-id","calendar-end-date"]],[[24,"@endDateTextState",0]],[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.toggleRangeSelect("endDate")&&o),o},null,null)),(e()(),o["\u0275ted"](4,null,["",""])),(e()(),o["\u0275eld"](5,0,null,null,0,"i",[["class","indicator"]],[[24,"@indicatorState",0]],null,null,null,null))],null,function(e,t){var n=t.component;e(t,0,0,n.weekRangeSelect),e(t,1,0,n.rangeSelectMode),e(t,2,0,n.selectedLabel),e(t,3,0,n.rangeSelectMode),e(t,4,0,n.selected2Label),e(t,5,0,n.rangeSelectMode)})}function Uo(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"th",[["class","weekday"]],[[8,"title",0],[1,"data-automation-id",0]],null,null,null,null)),(e()(),o["\u0275ted"](1,null,["",""]))],null,function(e,t){var n=o["\u0275inlineInterpolate"](1,"",t.context.$implicit,""),r=t.context.$implicit.substr(0,2);e(t,0,0,n,r);var i=t.context.$implicit.substr(0,2);e(t,1,0,i)})}function $o(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,4,"td",[],[[1,"data-automation-id",0]],[[null,"mouseover"]],function(e,t,n){var o=!0;return"mouseover"===t&&(o=!1!==e.component.rangeHover(n,e.context.$implicit)&&o),o},null,null)),o["\u0275did"](1,278528,null,0,r.k,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{ngClass:[0,"ngClass"]},null),o["\u0275pod"](2,{today:0,notinmonth:1,selected:2,filler:3,startfill:4,endfill:5,"selecting-range":6}),(e()(),o["\u0275eld"](3,0,null,null,1,"button",[["class","day"]],[[1,"data-automation-id",0],[8,"disabled",0]],[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.select(n,e.context.$implicit,!0)&&o),o},null,null)),(e()(),o["\u0275ted"](4,null,["",""]))],function(e,t){var n=t.component,o=e(t,2,0,t.context.$implicit.isToday,t.context.$implicit.date.getMonth()!==n.month.getMonth(),n.isSelected(n.range,t.context.$implicit.date,n.selected,n.selected2),n.isFiller(n.range,t.context.$implicit.date,n.selected,n.selected2),n.isStartFill(n.range,t.context.$implicit.date,n.selected,n.selected2),n.isEndFill(n.range,t.context.$implicit.date,n.selected,n.selected2),n.isSelectingRange(n.range,t.context.$implicit.date,n.selected,n.selected2,n.hoverDay,n.rangeSelectMode,n.weekRangeSelect));e(t,1,0,o)},function(e,t){var n=t.component;e(t,0,0,t.context.$implicit.number),e(t,3,0,t.context.$implicit.number,n.isDisabled(t.context.$implicit.date,n.start,n.end)),e(t,4,0,t.context.$implicit.number)})}function Ho(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"tr",[],null,null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,$o)),o["\u0275did"](2,278528,null,0,r.l,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(e,t){e(t,2,0,t.context.$implicit.days)},null)}function Wo(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,4,"div",[],null,[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.setMonth(e.context.index)&&o),o},null,null)),(e()(),o["\u0275eld"](1,0,null,null,3,"div",[["class","month"]],[[1,"data-automation-id",0]],null,null,null,null)),o["\u0275did"](2,278528,null,0,r.k,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["\u0275pod"](3,{selected:0}),(e()(),o["\u0275ted"](4,null,["",""]))],function(e,t){var n=t.component,o=e(t,3,0,t.context.index===(null==n.selected?null:n.selected.getMonth()));e(t,2,0,"month",o)},function(e,t){e(t,1,0,t.context.$implicit),e(t,4,0,t.context.$implicit)})}function Ko(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,4,"div",[],null,[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.setYear(e.context.$implicit)&&o),o},null,null)),(e()(),o["\u0275eld"](1,0,null,null,3,"div",[["class","year"]],[[1,"data-automation-id",0]],null,null,null,null)),o["\u0275did"](2,278528,null,0,r.k,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["\u0275pod"](3,{selected:0}),(e()(),o["\u0275ted"](4,null,["",""]))],function(e,t){var n=t.component,o=e(t,3,0,t.context.$implicit==(null==n.selected?null:n.selected.getFullYear()));e(t,2,0,"year",o)},function(e,t){e(t,1,0,t.context.$implicit),e(t,4,0,t.context.$implicit)})}function Go(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,29,"div",[["class","calendar"]],null,null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,jo)),o["\u0275did"](2,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Vo)),o["\u0275did"](4,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275eld"](5,0,null,null,7,"div",[["class","calendar-header"]],null,null,null,null,null)),(e()(),o["\u0275eld"](6,0,null,null,0,"span",[["class","previous"],["data-automation-id","calendar-previous"]],null,[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.prevMonth(n)&&o),o},null,null)),(e()(),o["\u0275eld"](7,0,null,null,4,"span",[["class","heading"]],null,null,null,null,null)),(e()(),o["\u0275eld"](8,0,null,null,1,"span",[["class","month"],["data-automation-id","header-month"]],null,[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.open(n,"months")&&o),o},null,null)),(e()(),o["\u0275ted"](9,null,["",""])),(e()(),o["\u0275eld"](10,0,null,null,1,"span",[["class","year"],["data-automation-id","header-year"]],null,[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.open(n,"years")&&o),o},null,null)),(e()(),o["\u0275ted"](11,null,["",""])),(e()(),o["\u0275eld"](12,0,null,null,0,"span",[["class","next"],["data-automation-id","calendar-next"]],null,[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.nextMonth(n)&&o),o},null,null)),(e()(),o["\u0275eld"](13,0,null,null,7,"table",[["cellpadding","0"],["cellspacing","0"],["class","calendar-content days"]],[[8,"hidden",0]],null,null,null,null)),(e()(),o["\u0275eld"](14,0,null,null,3,"thead",[],null,null,null,null,null)),(e()(),o["\u0275eld"](15,0,null,null,2,"tr",[],null,null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,Uo)),o["\u0275did"](17,278528,null,0,r.l,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),o["\u0275eld"](18,0,null,null,2,"tbody",[],null,null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,Ho)),o["\u0275did"](20,278528,null,0,r.l,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),o["\u0275eld"](21,0,null,null,2,"section",[["class","calendar-content months"]],[[8,"hidden",0]],null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,Wo)),o["\u0275did"](23,278528,null,0,r.l,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),o["\u0275eld"](24,0,null,null,2,"section",[["class","calendar-content years"]],[[8,"hidden",0]],null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,Ko)),o["\u0275did"](26,278528,null,0,r.l,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),o["\u0275eld"](27,0,null,null,2,"div",[["class","calendar-footer"]],null,null,null,null,null)),(e()(),o["\u0275eld"](28,0,null,null,1,"span",[["class","today"],["data-automation-id","calendar-today"]],null,[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.setToday()&&o),o},null,null)),(e()(),o["\u0275ted"](29,null,["",""]))],function(e,t){var n=t.component;e(t,2,0,!n.inline&&!n.range),e(t,4,0,n.range),e(t,17,0,n.weekdays),e(t,20,0,n.weeks),e(t,23,0,n.months),e(t,26,0,n.years)},function(e,t){var n=t.component;e(t,9,0,n.monthLabel),e(t,11,0,null==n.month?null:n.month.getFullYear()),e(t,13,0,!("days"==n.view)),e(t,21,0,"months"!==n.view),e(t,24,0,"years"!==n.view),e(t,29,0,n.labels.today)})}var qo=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function zo(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"h6",[],null,null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,0,"i",[],[[8,"className",0]],null,null,null,null)),(e()(),o["\u0275ted"](2,null,["",""]))],null,function(e,t){var n=t.component;e(t,1,0,n.icon||"bhi-section"),e(t,2,0,n.title)})}var Yo=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function Zo(e){return o["\u0275vid"](0,[o["\u0275qud"](402653184,1,{container:0}),(e()(),o["\u0275eld"](1,16777216,[[1,3],["container",1]],null,0,"span",[],null,null,null,null,null))],null,null)}function Jo(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"novo-modal-container",[],null,null,null,Zo,Yo)),o["\u0275did"](1,4243456,null,0,x.Ic,[x.Z,x.d],null,null)],null,null)}var Xo=o["\u0275ccf"]("novo-modal-container",x.Ic,Jo,{},{},[]),Qo=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function er(e){return o["\u0275vid"](0,[o["\u0275ncd"](null,0),o["\u0275ncd"](null,1),(e()(),o["\u0275eld"](2,0,null,null,1,"footer",[],null,null,null,null,null)),o["\u0275ncd"](null,2)],null,null)}var tr=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function nr(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"i",[["class","indicator"]],null,null,null,null,null)),o["\u0275did"](1,278528,null,0,r.k,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null)],function(e,t){e(t,1,0,"indicator",t.component.iconType)},null)}function or(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"button",[["class","modal-close"],["icon","times"],["theme","icon"]],[[1,"theme",0],[1,"color",0],[1,"icon",0],[1,"loading",0],[1,"side",0]],[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.close()&&o),o},Ga,$a)),o["\u0275did"](1,49152,null,0,x.De,[],{theme:[0,"theme"],icon:[1,"icon"]},null),(e()(),o["\u0275eld"](2,0,null,null,1,"header",[],null,null,null,null,null)),o["\u0275ncd"](null,0),(e()(),o["\u0275eld"](4,0,null,null,5,"section",[["class","notification-body"]],null,null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,nr)),o["\u0275did"](6,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),o["\u0275ncd"](null,1),o["\u0275ncd"](null,2),o["\u0275ncd"](null,3),(e()(),o["\u0275eld"](10,0,null,null,1,"footer",[],null,null,null,null,null)),o["\u0275ncd"](null,4)],function(e,t){var n=t.component;e(t,1,0,"icon","times"),e(t,6,0,n.iconType)},function(e,t){e(t,0,0,o["\u0275nov"](t,1).theme,o["\u0275nov"](t,1).color,o["\u0275nov"](t,1).icon,o["\u0275nov"](t,1).loading,o["\u0275nov"](t,1).side)})}var rr=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function ir(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"novo-loading",[["theme","line"]],[[8,"className",0]],null,null,za,qa)),o["\u0275did"](1,49152,null,0,x.Ee,[],{theme:[0,"theme"]},null)],function(e,t){e(t,1,0,"line")},function(e,t){e(t,0,0,o["\u0275nov"](t,1).theme||"")})}function ar(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,4,"novo-list-item",[],[[2,"active",null]],[[null,"click"],[null,"mouseenter"]],function(e,t,n){var o=!0,r=e.component;return"click"===t&&(o=!1!==r.selectMatch(n)&&o),"mouseenter"===t&&(o=!1!==r.selectActive(e.context.$implicit)&&o),o},ua,ca)),o["\u0275did"](1,114688,null,0,x.de,[o.ElementRef],null,null),(e()(),o["\u0275eld"](2,0,null,1,2,"item-content",[],[[2,"vertical-list",null],[2,"horizontal-list",null]],null,null,Ca,ba)),o["\u0275did"](3,49152,null,0,x.ye,[],null,null),(e()(),o["\u0275eld"](4,0,null,0,0,"p",[],[[8,"innerHTML",1]],null,null,null,null))],function(e,t){e(t,1,0)},function(e,t){var n=t.component;e(t,0,0,t.context.$implicit===n.activeMatch),e(t,2,0,"vertical"===o["\u0275nov"](t,3).direction,"horizontal"===o["\u0275nov"](t,3).direction),e(t,4,0,n.highlight(t.context.$implicit.label,n.term))})}function sr(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,3,"novo-list",[],[[2,"vertical-list",null],[2,"horizontal-list",null],[1,"theme",0]],null,null,Aa,ka)),o["\u0275did"](1,49152,null,0,x.U,[o.ElementRef],null,null),(e()(),o["\u0275and"](16777216,null,0,1,null,ar)),o["\u0275did"](3,278528,null,0,r.l,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(e,t){e(t,3,0,t.component.matches)},function(e,t){e(t,0,0,"vertical"===o["\u0275nov"](t,1).direction,"horizontal"===o["\u0275nov"](t,1).direction,o["\u0275nov"](t,1).theme)})}function lr(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"p",[["class","picker-error"]],null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,["",""]))],null,function(e,t){e(t,1,0,t.component.labels.quickNoteError)})}function cr(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"p",[["class","picker-null"]],null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,["",""]))],null,function(e,t){e(t,1,0,t.component.labels.quickNoteEmpty)})}function ur(e){return o["\u0275vid"](0,[(e()(),o["\u0275and"](16777216,null,null,1,null,ir)),o["\u0275did"](1,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,sr)),o["\u0275did"](3,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,lr)),o["\u0275did"](5,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,cr)),o["\u0275did"](7,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,1,0,n.isLoading&&!n.matches.length),e(t,3,0,n.matches.length>0),e(t,5,0,n.hasError),e(t,7,0,!n.isLoading&&!n.matches.length&&!n.hasError)},null)}function dr(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"quick-note-results",[["class","active"]],null,null,null,ur,rr)),o["\u0275did"](1,49152,null,0,x.ac,[o.ElementRef,x.T,o.ChangeDetectorRef],null,null)],null,null)}var hr=o["\u0275ccf"]("quick-note-results",x.ac,dr,{matches:"matches"},{},[]),pr=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function fr(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,4,"novo-list-item",[],[[2,"active",null],[2,"disabled",null]],[[null,"click"],[null,"mouseenter"]],function(e,t,n){var o=!0,r=e.component;return"click"===t&&(o=!1!==r.selectMatch(n)&&o),"mouseenter"===t&&(o=!1!==r.selectActive(e.context.$implicit)&&o),o},ua,ca)),o["\u0275did"](1,114688,null,0,x.de,[o.ElementRef],null,null),(e()(),o["\u0275eld"](2,0,null,1,2,"item-content",[],[[2,"vertical-list",null],[2,"horizontal-list",null]],null,null,Ca,ba)),o["\u0275did"](3,49152,null,0,x.ye,[],null,null),(e()(),o["\u0275eld"](4,0,null,0,0,"span",[],[[8,"innerHTML",1]],null,null,null,null))],function(e,t){e(t,1,0)},function(e,t){var n=t.component;e(t,0,0,t.context.$implicit===n.activeMatch,n.preselected(t.context.$implicit)),e(t,2,0,"vertical"===o["\u0275nov"](t,3).direction,"horizontal"===o["\u0275nov"](t,3).direction),e(t,4,0,n.highlight(t.context.$implicit.label,n.term))})}function mr(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"novo-loading",[["theme","line"]],[[8,"className",0]],null,null,za,qa)),o["\u0275did"](1,49152,null,0,x.Ee,[],{theme:[0,"theme"]},null)],function(e,t){e(t,1,0,"line")},function(e,t){e(t,0,0,o["\u0275nov"](t,1).theme||"")})}function gr(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,5,"novo-list",[["direction","vertical"]],[[2,"vertical-list",null],[2,"horizontal-list",null],[1,"theme",0]],null,null,Aa,ka)),o["\u0275did"](1,49152,null,0,x.U,[o.ElementRef],{direction:[0,"direction"]},null),(e()(),o["\u0275and"](16777216,null,0,1,null,fr)),o["\u0275did"](3,278528,null,0,r.l,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),o["\u0275and"](16777216,null,0,1,null,mr)),o["\u0275did"](5,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,1,0,"vertical"),e(t,3,0,n.matches),e(t,5,0,n.isLoading&&n.matches.length>0)},function(e,t){e(t,0,0,"vertical"===o["\u0275nov"](t,1).direction,"horizontal"===o["\u0275nov"](t,1).direction,o["\u0275nov"](t,1).theme)})}function vr(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"div",[["class","picker-loader"]],null,null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,1,"novo-loading",[["theme","line"]],[[8,"className",0]],null,null,za,qa)),o["\u0275did"](2,49152,null,0,x.Ee,[],{theme:[0,"theme"]},null)],function(e,t){e(t,2,0,"line")},function(e,t){e(t,1,0,o["\u0275nov"](t,2).theme||"")})}function _r(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"p",[["class","picker-error"]],null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,["",""]))],null,function(e,t){e(t,1,0,t.component.labels.pickerError)})}function yr(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"p",[["class","picker-null-results"]],null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,["",""]))],null,function(e,t){e(t,1,0,t.component.getEmptyMessage())})}function br(e){return o["\u0275vid"](0,[(e()(),o["\u0275and"](16777216,null,null,1,null,gr)),o["\u0275did"](1,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,vr)),o["\u0275did"](3,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,_r)),o["\u0275did"](5,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,yr)),o["\u0275did"](7,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,1,0,n.matches.length>0),e(t,3,0,n.isLoading&&0===n.matches.length),e(t,5,0,n.hasError),e(t,7,0,n.hasNonErrorMessage)},null)}function Cr(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"picker-results",[["class","active"]],null,null,null,br,pr)),o["\u0275did"](1,49152,null,0,x.Zb,[o.ElementRef,x.T,o.ChangeDetectorRef],null,null)],null,null)}var Er=o["\u0275ccf"]("picker-results",x.Zb,Cr,{matches:"matches"},{},[]),wr=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function kr(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"p",[["class","company"]],null,null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,0,"i",[["class","bhi-company"]],null,null,null,null,null)),(e()(),o["\u0275eld"](2,0,null,null,0,"span",[],[[8,"innerHTML",1]],null,null,null,null))],null,function(e,t){var n=t.component;e(t,2,0,n.highlight(n.match.data.companyName||(null==n.match.data?null:null==n.match.data.clientCorporation?null:n.match.data.clientCorporation.name),n.term))})}function Ar(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"p",[["class","contact"]],null,null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,0,"i",[["class","bhi-person contact person"]],null,null,null,null,null)),(e()(),o["\u0275eld"](2,0,null,null,0,"span",[],[[8,"innerHTML",1]],null,null,null,null))],null,function(e,t){var n=t.component;e(t,2,0,n.highlight(n.match.data.clientContact.firstName+" "+n.match.data.clientContact.lastName,n.term))})}function Sr(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"p",[["class","candidate"]],null,null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,0,"i",[["class","bhi-candidate"]],null,null,null,null,null)),(e()(),o["\u0275eld"](2,0,null,null,0,"span",[],[[8,"innerHTML",1]],null,null,null,null))],null,function(e,t){var n=t.component;e(t,2,0,n.highlight(n.match.data.candidate.firstName+" "+n.match.data.candidate.lastName,n.term))})}function Or(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"p",[["class","start-date"]],null,null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,0,"i",[["class","bhi-calendar"]],null,null,null,null,null)),(e()(),o["\u0275eld"](2,0,null,null,0,"span",[],[[8,"innerHTML",1]],null,null,null,null))],null,function(e,t){var n=t.component;e(t,2,0,n.renderTimestamp(n.match.data.dateBegin)+" - "+n.renderTimestamp(n.match.data.dateEnd))})}function xr(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"p",[["class","email"]],null,null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,0,"i",[["class","bhi-email"]],null,null,null,null,null)),(e()(),o["\u0275eld"](2,0,null,null,0,"span",[],[[8,"innerHTML",1]],null,null,null,null))],null,function(e,t){var n=t.component;e(t,2,0,n.highlight(n.match.data.email,n.term))})}function Dr(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"p",[["class","phone"]],null,null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,0,"i",[["class","bhi-phone"]],null,null,null,null,null)),(e()(),o["\u0275eld"](2,0,null,null,0,"span",[],[[8,"innerHTML",1]],null,null,null,null))],null,function(e,t){var n=t.component;e(t,2,0,n.highlight(n.match.data.phone,n.term))})}function Tr(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,0,"span",[],[[8,"innerHTML",1]],null,null,null,null))],null,function(e,t){var n=t.component;e(t,0,0,n.highlight(n.match.data.address.city,n.term))})}function Rr(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),o["\u0275ted"](-1,null,[", "]))],null,null)}function Pr(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,0,"span",[],[[8,"innerHTML",1]],null,null,null,null))],null,function(e,t){var n=t.component;e(t,0,0,n.highlight(n.match.data.address.state,n.term))})}function Mr(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,7,"p",[["class","location"]],null,null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,0,"i",[["class","bhi-location"]],null,null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,Tr)),o["\u0275did"](3,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Rr)),o["\u0275did"](5,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Pr)),o["\u0275did"](7,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,3,0,n.match.data.address.city),e(t,5,0,n.match.data.address.city&&n.match.data.address.state),e(t,7,0,n.match.data.address.state)},null)}function Ir(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"p",[["class","status"]],null,null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,0,"i",[["class","bhi-info"]],null,null,null,null,null)),(e()(),o["\u0275eld"](2,0,null,null,0,"span",[],[[8,"innerHTML",1]],null,null,null,null))],null,function(e,t){var n=t.component;e(t,2,0,n.highlight(n.match.data.status,n.term))})}function Fr(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"p",[["class","owner"]],null,null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,0,"i",[["class","bhi-person"]],null,null,null,null,null)),(e()(),o["\u0275eld"](2,0,null,null,0,"span",[],[[8,"innerHTML",1]],null,null,null,null))],null,function(e,t){var n=t.component;e(t,2,0,n.highlight(n.match.data.owner.name,n.term))})}function Lr(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"p",[["class","primary-department"]],null,null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,0,"i",[["class","bhi-department"]],null,null,null,null,null)),(e()(),o["\u0275eld"](2,0,null,null,0,"span",[],[[8,"innerHTML",1]],null,null,null,null))],null,function(e,t){var n=t.component;e(t,2,0,n.highlight(n.match.data.primaryDepartment.name,n.term))})}function Br(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"p",[["class","occupation"]],null,null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,0,"i",[["class","bhi-occupation"]],null,null,null,null,null)),(e()(),o["\u0275eld"](2,0,null,null,0,"span",[],[[8,"innerHTML",1]],null,null,null,null))],null,function(e,t){var n=t.component;e(t,2,0,n.highlight(n.match.data.occupation,n.term))})}function Nr(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,32,"novo-list-item",[],null,null,null,ua,ca)),o["\u0275did"](1,114688,null,0,x.de,[o.ElementRef],null,null),(e()(),o["\u0275eld"](2,0,null,0,6,"item-header",[],null,null,null,va,ga)),o["\u0275did"](3,49152,null,0,x.we,[],null,null),(e()(),o["\u0275eld"](4,0,null,0,1,"item-avatar",[],null,null,null,pa,da)),o["\u0275did"](5,638976,null,0,x.ue,[],{icon:[0,"icon"]},null),(e()(),o["\u0275eld"](6,0,null,1,2,"item-title",[],null,null,null,ma,fa)),o["\u0275did"](7,49152,null,0,x.ve,[],null,null),(e()(),o["\u0275eld"](8,0,null,0,0,"span",[],[[8,"innerHTML",1]],null,null,null,null)),(e()(),o["\u0275eld"](9,0,null,1,23,"item-content",[["direction","horizontal"]],[[2,"vertical-list",null],[2,"horizontal-list",null]],null,null,Ca,ba)),o["\u0275did"](10,49152,null,0,x.ye,[],{direction:[0,"direction"]},null),(e()(),o["\u0275and"](16777216,null,0,1,null,kr)),o["\u0275did"](12,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,0,1,null,Ar)),o["\u0275did"](14,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,0,1,null,Sr)),o["\u0275did"](16,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,0,1,null,Or)),o["\u0275did"](18,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,0,1,null,xr)),o["\u0275did"](20,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,0,1,null,Dr)),o["\u0275did"](22,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,0,1,null,Mr)),o["\u0275did"](24,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,0,1,null,Ir)),o["\u0275did"](26,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,0,1,null,Fr)),o["\u0275did"](28,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,0,1,null,Lr)),o["\u0275did"](30,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,0,1,null,Br)),o["\u0275did"](32,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,1,0),e(t,5,0,n.getIconForResult(n.match.data)),e(t,10,0,"horizontal"),e(t,12,0,n.match.data.companyName||(null==n.match.data?null:null==n.match.data.clientCorporation?null:n.match.data.clientCorporation.name)),e(t,14,0,null==n.match.data?null:null==n.match.data.clientContact?null:n.match.data.clientContact.firstName),e(t,16,0,n.match.data.candidate&&"Placement"===n.match.data.searchEntity),e(t,18,0,n.match.data.dateBegin&&"Placement"===n.match.data.searchEntity),e(t,20,0,n.match.data.email),e(t,22,0,n.match.data.phone),e(t,24,0,n.match.data.address&&(n.match.data.address.city||n.match.data.address.state)),e(t,26,0,n.match.data.status),e(t,28,0,n.match.data.owner&&n.match.data.owner.name&&"Candidate"===n.match.data.searchEntity),e(t,30,0,n.match.data.primaryDepartment&&n.match.data.primaryDepartment.name&&"CorporateUser"===n.match.data.searchEntity),e(t,32,0,n.match.data.occupation&&"CorporateUser"===n.match.data.searchEntity)},function(e,t){var n=t.component;e(t,8,0,n.highlight(n.getNameForResult(n.match.data),n.term)),e(t,9,0,"vertical"===o["\u0275nov"](t,10).direction,"horizontal"===o["\u0275nov"](t,10).direction)})}function jr(e){return o["\u0275vid"](0,[(e()(),o["\u0275and"](16777216,null,null,1,null,Nr)),o["\u0275did"](1,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){e(t,1,0,t.component.match.data)},null)}function Vr(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"entity-picker-result",[],null,null,null,jr,wr)),o["\u0275did"](1,49152,null,0,x.h,[x.T],null,null)],null,null)}var Ur=o["\u0275ccf"]("entity-picker-result",x.h,Vr,{match:"match",term:"term"},{},[]),$r=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function Hr(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,3,"entity-picker-result",[],[[2,"disabled",null]],[[null,"click"],[null,"mouseenter"]],function(e,t,n){var o=!0,r=e.component;return"click"===t&&(o=!1!==r.selectMatch(n,e.context.$implicit)&&o),"mouseenter"===t&&(o=!1!==r.selectActive(e.context.$implicit)&&o),o},jr,wr)),o["\u0275did"](1,278528,null,0,r.k,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{ngClass:[0,"ngClass"]},null),o["\u0275pod"](2,{active:0}),o["\u0275did"](3,49152,null,0,x.h,[x.T],{match:[0,"match"],term:[1,"term"]},null)],function(e,t){var n=t.component,o=e(t,2,0,n.isActive(t.context.$implicit));e(t,1,0,o),e(t,3,0,t.context.$implicit,n.term)},function(e,t){e(t,0,0,t.component.preselected(t.context.$implicit))})}function Wr(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"novo-loading",[["theme","line"]],[[8,"className",0]],null,null,za,qa)),o["\u0275did"](1,49152,null,0,x.Ee,[],{theme:[0,"theme"]},null)],function(e,t){e(t,1,0,"line")},function(e,t){e(t,0,0,o["\u0275nov"](t,1).theme||"")})}function Kr(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,5,"novo-list",[["direction","vertical"]],[[2,"vertical-list",null],[2,"horizontal-list",null],[1,"theme",0]],null,null,Aa,ka)),o["\u0275did"](1,49152,null,0,x.U,[o.ElementRef],{direction:[0,"direction"]},null),(e()(),o["\u0275and"](16777216,null,0,1,null,Hr)),o["\u0275did"](3,278528,null,0,r.l,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),o["\u0275and"](16777216,null,0,1,null,Wr)),o["\u0275did"](5,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,1,0,"vertical"),e(t,3,0,n.matches),e(t,5,0,n.isLoading&&n.matches.length>0)},function(e,t){e(t,0,0,"vertical"===o["\u0275nov"](t,1).direction,"horizontal"===o["\u0275nov"](t,1).direction,o["\u0275nov"](t,1).theme)})}function Gr(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"p",[["class","picker-error"]],null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,["",""]))],null,function(e,t){e(t,1,0,t.component.labels.pickerError)})}function qr(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"p",[["class","picker-null-results"]],null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,["",""]))],null,function(e,t){e(t,1,0,t.component.labels.pickerEmpty)})}function zr(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"p",[["class","picker-null-results"]],null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,["",""]))],null,function(e,t){e(t,1,0,t.component.labels.pickerTextFieldEmpty)})}function Yr(e){return o["\u0275vid"](0,[(e()(),o["\u0275and"](16777216,null,null,1,null,Kr)),o["\u0275did"](1,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Gr)),o["\u0275did"](3,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,qr)),o["\u0275did"](5,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,zr)),o["\u0275did"](7,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,1,0,n.matches.length>0),e(t,3,0,n.hasError),e(t,5,0,n.hasNonErrorMessage&&""!==n.term),e(t,7,0,n.hasNonErrorMessage&&""===n.term)},null)}function Zr(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"entity-picker-results",[],null,null,null,Yr,$r)),o["\u0275did"](1,49152,null,0,x.i,[o.ElementRef,x.T,o.ChangeDetectorRef],null,null)],null,null)}var Jr=o["\u0275ccf"]("entity-picker-results",x.i,Zr,{matches:"matches"},{select:"select"},[]),Xr=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function Qr(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"section",[["class","picker-loading"]],null,null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,1,"novo-loading",[["theme","line"]],[[8,"className",0]],null,null,za,qa)),o["\u0275did"](2,49152,null,0,x.Ee,[],{theme:[0,"theme"]},null)],function(e,t){e(t,2,0,"line")},function(e,t){e(t,1,0,o["\u0275nov"](t,2).theme||"")})}function ei(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,19,"novo-list-item",[],[[2,"active",null],[2,"disabled",null]],[[null,"click"],[null,"mouseenter"]],function(e,t,n){var o=!0,r=e.component;return"click"===t&&(o=!1!==r.selectMatch(n)&&o),"mouseenter"===t&&(o=!1!==r.selectActive(e.context.$implicit)&&o),o},ua,ca)),o["\u0275did"](1,114688,null,0,x.de,[o.ElementRef],null,null),(e()(),o["\u0275eld"](2,0,null,0,4,"item-header",[],null,null,null,va,ga)),o["\u0275did"](3,49152,null,0,x.we,[],null,null),(e()(),o["\u0275eld"](4,0,null,1,2,"item-title",[],null,null,null,ma,fa)),o["\u0275did"](5,49152,null,0,x.ve,[],null,null),(e()(),o["\u0275eld"](6,0,null,0,0,"span",[],[[8,"innerHTML",1]],null,null,null,null)),(e()(),o["\u0275eld"](7,0,null,1,12,"item-content",[["direction","horizontal"]],[[2,"vertical-list",null],[2,"horizontal-list",null]],null,null,Ca,ba)),o["\u0275did"](8,49152,null,0,x.ye,[],{direction:[0,"direction"]},null),(e()(),o["\u0275eld"](9,0,null,0,4,"p",[],null,null,null,null,null)),(e()(),o["\u0275eld"](10,0,null,null,1,"span",[["class","label"]],null,null,null,null,null)),(e()(),o["\u0275ted"](11,null,["",": "])),(e()(),o["\u0275eld"](12,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),o["\u0275ted"](13,null,["",""])),(e()(),o["\u0275eld"](14,0,null,0,5,"p",[],null,null,null,null,null)),(e()(),o["\u0275eld"](15,0,null,null,1,"span",[["class","label"]],null,null,null,null,null)),(e()(),o["\u0275ted"](16,null,["",": "])),(e()(),o["\u0275eld"](17,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),o["\u0275ted"](18,null,["",""])),o["\u0275pod"](19,{year:0,month:1,day:2})],function(e,t){e(t,1,0),e(t,8,0,"horizontal")},function(e,t){var n=t.component;e(t,0,0,t.context.$implicit===n.activeMatch,n.preselected(t.context.$implicit)),e(t,6,0,n.sanitizeHTML(t.context.$implicit.label)),e(t,7,0,"vertical"===o["\u0275nov"](t,8).direction,"horizontal"===o["\u0275nov"](t,8).direction),e(t,11,0,n.labels.distributionListOwner),e(t,13,0,null==t.context.$implicit?null:null==t.context.$implicit.data?null:null==t.context.$implicit.data.owner?null:t.context.$implicit.data.owner.name),e(t,16,0,n.labels.dateAdded);var r=n.labels.formatDateWithFormat(null==t.context.$implicit?null:null==t.context.$implicit.data?null:t.context.$implicit.data.dateAdded,e(t,19,0,"numeric","numeric","numeric"));e(t,18,0,r)})}function ti(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"novo-loading",[["theme","line"]],[[8,"className",0]],null,null,za,qa)),o["\u0275did"](1,49152,null,0,x.Ee,[],{theme:[0,"theme"]},null)],function(e,t){e(t,1,0,"line")},function(e,t){e(t,0,0,o["\u0275nov"](t,1).theme||"")})}function ni(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,5,"novo-list",[["direction","vertical"]],[[2,"vertical-list",null],[2,"horizontal-list",null],[1,"theme",0]],null,null,Aa,ka)),o["\u0275did"](1,49152,null,0,x.U,[o.ElementRef],{direction:[0,"direction"]},null),(e()(),o["\u0275and"](16777216,null,0,1,null,ei)),o["\u0275did"](3,278528,null,0,r.l,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),o["\u0275and"](16777216,null,0,1,null,ti)),o["\u0275did"](5,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,1,0,"vertical"),e(t,3,0,n.matches),e(t,5,0,n.isLoading&&(null==n.matches?null:n.matches.length)>0)},function(e,t){e(t,0,0,"vertical"===o["\u0275nov"](t,1).direction,"horizontal"===o["\u0275nov"](t,1).direction,o["\u0275nov"](t,1).theme)})}function oi(e){return o["\u0275vid"](0,[(e()(),o["\u0275and"](16777216,null,null,1,null,Qr)),o["\u0275did"](1,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,ni)),o["\u0275did"](3,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,1,0,n.isLoading&&!(null!=n.matches&&n.matches.length)),e(t,3,0,(null==n.matches?null:n.matches.length)>0&&!n.hasError)},null)}function ri(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"distribution-list-picker-results",[],[[2,"active",null],[8,"hidden",0]],null,null,oi,Xr)),o["\u0275did"](1,49152,null,0,x.g,[o.ElementRef,b.DomSanitizer,x.T,o.ChangeDetectorRef],null,null)],null,function(e,t){e(t,0,0,o["\u0275nov"](t,1).active,o["\u0275nov"](t,1).isHidden)})}var ii=o["\u0275ccf"]("distribution-list-picker-results",x.g,ri,{matches:"matches"},{},[]),ai=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function si(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"section",[["class","picker-loading"]],null,null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,1,"novo-loading",[["theme","line"]],[[8,"className",0]],null,null,za,qa)),o["\u0275did"](2,49152,null,0,x.Ee,[],{theme:[0,"theme"]},null)],function(e,t){e(t,2,0,"line")},function(e,t){e(t,1,0,o["\u0275nov"](t,2).theme||"")})}function li(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,8,"novo-list-item",[],[[2,"active",null],[2,"disabled",null]],[[null,"click"],[null,"mouseenter"]],function(e,t,n){var o=!0,r=e.component;return"click"===t&&(o=!1!==r.selectMatch(n)&&o),"mouseenter"===t&&(o=!1!==r.selectActive(e.context.$implicit)&&o),o},ua,ca)),o["\u0275did"](1,114688,null,0,x.de,[o.ElementRef],null,null),(e()(),o["\u0275eld"](2,0,null,1,6,"item-content",[],[[2,"vertical-list",null],[2,"horizontal-list",null]],null,null,Ca,ba)),o["\u0275did"](3,49152,null,0,x.ye,[],null,null),(e()(),o["\u0275eld"](4,0,null,0,1,"h6",[],null,null,null,null,null)),(e()(),o["\u0275eld"](5,0,null,null,0,"span",[],[[8,"innerHTML",1]],null,null,null,null)),(e()(),o["\u0275eld"](6,0,null,0,2,"div",[["class","category"]],null,null,null,null,null)),(e()(),o["\u0275eld"](7,0,null,null,0,"i",[["class","bhi-category-tags"]],null,null,null,null,null)),(e()(),o["\u0275eld"](8,0,null,null,0,"span",[],[[8,"innerHTML",1]],null,null,null,null))],function(e,t){e(t,1,0)},function(e,t){var n=t.component;e(t,0,0,t.context.$implicit===n.activeMatch,n.preselected(t.context.$implicit)),e(t,2,0,"vertical"===o["\u0275nov"](t,3).direction,"horizontal"===o["\u0275nov"](t,3).direction),e(t,5,0,n.highlight(t.context.$implicit.label,n.term)),e(t,8,0,n.highlight(t.context.$implicit.data.categories||t.context.$implicit.data.parentCategory.name,n.term))})}function ci(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,3,"novo-list-item",[],null,null,null,ua,ca)),o["\u0275did"](1,114688,null,0,x.de,[o.ElementRef],null,null),(e()(),o["\u0275eld"](2,0,null,2,1,"div",[],null,null,null,null,null)),(e()(),o["\u0275ted"](3,null,["",""]))],function(e,t){e(t,1,0)},function(e,t){var n=t.component;e(t,3,0,n.labels.showingXofXResults(n.limit,n.total))})}function ui(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"novo-loading",[["theme","line"]],[[8,"className",0]],null,null,za,qa)),o["\u0275did"](1,49152,null,0,x.Ee,[],{theme:[0,"theme"]},null)],function(e,t){e(t,1,0,"line")},function(e,t){e(t,0,0,o["\u0275nov"](t,1).theme||"")})}function di(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,7,"novo-list",[["direction","vertical"]],[[2,"vertical-list",null],[2,"horizontal-list",null],[1,"theme",0]],null,null,Aa,ka)),o["\u0275did"](1,49152,null,0,x.U,[o.ElementRef],{direction:[0,"direction"]},null),(e()(),o["\u0275and"](16777216,null,0,1,null,li)),o["\u0275did"](3,278528,null,0,r.l,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),o["\u0275and"](16777216,null,0,1,null,ci)),o["\u0275did"](5,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,0,1,null,ui)),o["\u0275did"](7,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,1,0,"vertical"),e(t,3,0,n.matches),e(t,5,0,n.limitedTo),e(t,7,0,n.isLoading&&n.matches.length>0)},function(e,t){e(t,0,0,"vertical"===o["\u0275nov"](t,1).direction,"horizontal"===o["\u0275nov"](t,1).direction,o["\u0275nov"](t,1).theme)})}function hi(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"p",[["class","picker-error"]],null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,["",""]))],null,function(e,t){e(t,1,0,t.component.labels.pickerError)})}function pi(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"p",[["class","picker-null"]],null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,["",""]))],null,function(e,t){e(t,1,0,t.component.labels.pickerEmpty)})}function fi(e){return o["\u0275vid"](0,[(e()(),o["\u0275and"](16777216,null,null,1,null,si)),o["\u0275did"](1,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,di)),o["\u0275did"](3,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,hi)),o["\u0275did"](5,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,pi)),o["\u0275did"](7,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,1,0,n.isLoading&&!(null!=n.matches&&n.matches.length)),e(t,3,0,n.matches.length>0),e(t,5,0,n.hasError),e(t,7,0,!n.isLoading&&!n.matches.length&&!n.hasError)},null)}function mi(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"skill-specialty-picker-results",[],[[2,"active",null]],null,null,fi,ai)),o["\u0275did"](1,49152,null,0,x.dc,[o.ElementRef,x.T,o.ChangeDetectorRef],null,null)],null,function(e,t){e(t,0,0,o["\u0275nov"](t,1).active)})}var gi=o["\u0275ccf"]("skill-specialty-picker-results",x.dc,mi,{matches:"matches"},{},[]),vi=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function _i(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"novo-loading",[["theme","line"]],[[8,"className",0]],null,null,za,qa)),o["\u0275did"](1,49152,null,0,x.Ee,[],{theme:[0,"theme"]},null)],function(e,t){e(t,1,0,"line")},function(e,t){e(t,0,0,o["\u0275nov"](t,1).theme||"")})}function yi(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"li",[["class","header caption"]],null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,["",""]))],null,function(e,t){e(t,1,0,t.parent.context.$implicit.label||t.parent.context.$implicit.type)})}function bi(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,7,"li",[],[[2,"active",null]],[[null,"click"],[null,"mouseenter"]],function(e,t,n){var o=!0,r=e.component;return"click"===t&&(o=!1!==r.selectMatch(n,e.context.$implicit)&&o),"mouseenter"===t&&(o=!1!==r.selectActive(e.context.$implicit)&&o),o},null,null)),o["\u0275did"](1,278528,null,0,r.k,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{ngClass:[0,"ngClass"]},null),o["\u0275pod"](2,{checked:0}),(e()(),o["\u0275eld"](3,0,null,null,4,"label",[],null,null,null,null,null)),(e()(),o["\u0275eld"](4,0,null,null,2,"i",[],null,null,null,null,null)),o["\u0275did"](5,278528,null,0,r.k,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{ngClass:[0,"ngClass"]},null),o["\u0275pod"](6,{"bhi-checkbox-empty":0,"bhi-checkbox-filled":1,"bhi-checkbox-indeterminate":2}),(e()(),o["\u0275ted"](7,null,[" "," "]))],function(e,t){var n=e(t,2,0,t.context.$implicit.checked);e(t,1,0,n);var o=e(t,6,0,!t.context.$implicit.checked,t.context.$implicit.checked,t.context.$implicit.indeterminate);e(t,5,0,o)},function(e,t){e(t,0,0,t.context.$implicit===t.component.activeMatch),e(t,7,0,t.context.$implicit.label)})}function Ci(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,4,"span",[],null,null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,yi)),o["\u0275did"](2,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,bi)),o["\u0275did"](4,278528,null,0,r.l,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(e,t){e(t,2,0,t.context.$implicit.data.length>0),e(t,4,0,t.context.$implicit.data)},null)}function Ei(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"ul",[],null,null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,Ci)),o["\u0275did"](2,278528,null,0,r.l,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(e,t){e(t,2,0,t.component.matches)},null)}function wi(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"p",[["class","picker-error"]],null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,["",""]))],null,function(e,t){e(t,1,0,t.component.labels.pickerError)})}function ki(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"p",[["class","picker-null-results"]],null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,["",""]))],null,function(e,t){e(t,1,0,t.component.labels.pickerEmpty)})}function Ai(e){return o["\u0275vid"](0,[(e()(),o["\u0275and"](16777216,null,null,1,null,_i)),o["\u0275did"](1,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Ei)),o["\u0275did"](3,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,wi)),o["\u0275did"](5,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,ki)),o["\u0275did"](7,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,1,0,n.isLoading&&!n.matches.length),e(t,3,0,n.matches.length>0),e(t,5,0,n.hasError),e(t,7,0,!n.isLoading&&!n.matches.length&&!n.hasError&&""!==n.term)},null)}function Si(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"checklist-picker-results",[["class","active picker-results"]],null,null,null,Ai,vi)),o["\u0275did"](1,49152,null,0,x.c,[o.ElementRef,x.T,o.ChangeDetectorRef],null,null)],null,null)}var Oi=o["\u0275ccf"]("checklist-picker-results",x.c,Si,{matches:"matches"},{},[]),xi=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function Di(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,8,"novo-list-item",[["data-automation-id","display-all"]],[[2,"active",null],[2,"disabled",null]],[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.selectCategory({value:"all",label:"all"})&&o),o},ua,ca)),o["\u0275did"](1,114688,null,0,x.de,[o.ElementRef],null,null),(e()(),o["\u0275eld"](2,0,null,1,3,"item-content",[],[[2,"vertical-list",null],[2,"horizontal-list",null]],null,null,Ca,ba)),o["\u0275did"](3,49152,null,0,x.ye,[],null,null),(e()(),o["\u0275eld"](4,0,null,0,1,"span",[["data-automation-id","label"]],null,null,null,null,null)),(e()(),o["\u0275ted"](5,null,["",""])),(e()(),o["\u0275eld"](6,0,null,3,2,"item-end",[],null,null,null,wa,Ea)),o["\u0275did"](7,49152,null,0,x.ze,[],null,null),(e()(),o["\u0275eld"](8,0,null,0,0,"i",[["class","bhi-next"]],null,null,null,null,null))],function(e,t){e(t,1,0)},function(e,t){var n=t.component;e(t,0,0,"all"===(null==n.selectedCategory?null:n.selectedCategory.value),n.isLoading),e(t,2,0,"vertical"===o["\u0275nov"](t,3).direction,"horizontal"===o["\u0275nov"](t,3).direction),e(t,5,0,n.labels.all)})}function Ti(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,0,"i",[],[[8,"className",0]],null,null,null,null))],null,function(e,t){e(t,0,0,t.parent.context.$implicit.iconClass)})}function Ri(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,10,"novo-list-item",[],[[2,"active",null],[1,"data-automation-id",0],[2,"disabled",null]],[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.selectCategory(e.context.$implicit)&&o),o},ua,ca)),o["\u0275did"](1,114688,null,0,x.de,[o.ElementRef],null,null),(e()(),o["\u0275eld"](2,0,null,1,5,"item-content",[],[[2,"vertical-list",null],[2,"horizontal-list",null]],null,null,Ca,ba)),o["\u0275did"](3,49152,null,0,x.ye,[],null,null),(e()(),o["\u0275and"](16777216,null,0,1,null,Ti)),o["\u0275did"](5,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275eld"](6,0,null,0,1,"span",[["data-automation-id","label"]],null,null,null,null,null)),(e()(),o["\u0275ted"](7,null,["",""])),(e()(),o["\u0275eld"](8,0,null,3,2,"item-end",[],null,null,null,wa,Ea)),o["\u0275did"](9,49152,null,0,x.ze,[],null,null),(e()(),o["\u0275eld"](10,0,null,0,0,"i",[["class","bhi-next"]],null,null,null,null,null))],function(e,t){e(t,1,0),e(t,5,0,t.context.$implicit.iconClass)},function(e,t){var n=t.component;e(t,0,0,(null==n.selectedCategory?null:n.selectedCategory.value)===t.context.$implicit.value,t.context.$implicit.label,n.isLoading),e(t,2,0,"vertical"===o["\u0275nov"](t,3).direction,"horizontal"===o["\u0275nov"](t,3).direction),e(t,7,0,t.context.$implicit.label)})}function Pi(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,8,"footer",[["class","grouped-multi-picker-groups-footer"],["data-automation-id","footer"]],[[2,"disabled",null]],null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,5,"novo-switch",[["data-automation-id","switch"],["role","checkbox"]],[[1,"aria-checked",0],[1,"aria-disabled",0],[8,"className",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"onChange"],[null,"keydown"]],function(e,t,n){var r=!0,i=e.component;return"keydown"===t&&(r=!1!==o["\u0275nov"](e,2).onKeydown(n)&&r),"ngModelChange"===t&&(r=!1!==(i.customFilterValue=n)&&r),"onChange"===t&&(r=!1!==i.fireCustomFilter(n)&&r),r},Ks,Ws)),o["\u0275did"](2,49152,null,0,x.Xc,[o.ChangeDetectorRef],null,{onChange:"onChange"}),o["\u0275prd"](1024,null,Ao.NG_VALUE_ACCESSOR,function(e){return[e]},[x.Xc]),o["\u0275did"](4,671744,null,0,Ao.NgModel,[[8,null],[8,null],[8,null],[6,Ao.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,Ao.NgControl,null,[Ao.NgModel]),o["\u0275did"](6,16384,null,0,Ao.NgControlStatus,[[4,Ao.NgControl]],null,null),(e()(),o["\u0275eld"](7,0,null,null,1,"label",[["data-automation-id","label"]],null,null,null,null,null)),(e()(),o["\u0275ted"](8,null,["",""]))],function(e,t){e(t,4,0,t.component.customFilterValue)},function(e,t){var n=t.component;e(t,0,0,n.isLoading),e(t,1,0,o["\u0275nov"](t,2).model,o["\u0275nov"](t,2).disabled,o["\u0275nov"](t,2).theme,o["\u0275nov"](t,6).ngClassUntouched,o["\u0275nov"](t,6).ngClassTouched,o["\u0275nov"](t,6).ngClassPristine,o["\u0275nov"](t,6).ngClassDirty,o["\u0275nov"](t,6).ngClassValid,o["\u0275nov"](t,6).ngClassInvalid,o["\u0275nov"](t,6).ngClassPending),e(t,8,0,n.customFilterLabel)})}function Mi(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,0,"i",[["class","bhi-search"],["data-automation-id","seach-icon"]],[[2,"disabled",null]],null,null,null,null))],null,function(e,t){e(t,0,0,t.component.isLoading)})}function Ii(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,0,"i",[["class","bhi-times"],["data-automation-id","remove-icon"]],[[2,"disabled",null]],[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.clearSearchTerm(n)&&o),o},null,null))],null,function(e,t){e(t,0,0,t.component.isLoading)})}function Fi(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,5,"novo-list-item",[],[[2,"active",null],[2,"disabled",null],[1,"data-automation-id",0]],[[null,"click"],[null,"mouseenter"]],function(e,t,n){var o=!0,r=e.component;return"click"===t&&(o=!1!==r.selectMatch(n)&&o),"mouseenter"===t&&(o=!1!==r.selectActive(e.context.$implicit)&&o),o},ua,ca)),o["\u0275did"](1,114688,null,0,x.de,[o.ElementRef],null,null),(e()(),o["\u0275eld"](2,0,null,1,3,"item-content",[],[[2,"vertical-list",null],[2,"horizontal-list",null]],null,null,Ca,ba)),o["\u0275did"](3,49152,null,0,x.ye,[],null,null),(e()(),o["\u0275eld"](4,0,null,0,1,"span",[],null,null,null,null,null)),(e()(),o["\u0275ted"](5,null,["",""]))],function(e,t){e(t,1,0)},function(e,t){var n=t.component;e(t,0,0,t.context.$implicit===n.activeMatch,n.preselected(t.context.$implicit)||n.isLoading,t.context.$implicit.label),e(t,2,0,"vertical"===o["\u0275nov"](t,3).direction,"horizontal"===o["\u0275nov"](t,3).direction),e(t,5,0,t.context.$implicit.label)})}function Li(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"div",[["class","grouped-multi-picker-no-results"],["data-automation-id","empty-message"]],null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,[" "," "]))],null,function(e,t){e(t,1,0,t.component.labels.groupedMultiPickerEmpty)})}function Bi(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"div",[["class","grouped-multi-picker-no-category"],["data-automation-id","select-category-message"]],null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,[" "," "]))],null,function(e,t){e(t,1,0,t.component.labels.groupedMultiPickerSelectCategory)})}function Ni(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"div",[["class","grouped-multi-picker-loading"],["data-automation-id","loading-message"]],null,null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,1,"novo-loading",[["theme","line"]],[[8,"className",0]],null,null,za,qa)),o["\u0275did"](2,49152,null,0,x.Ee,[],{theme:[0,"theme"]},null)],function(e,t){e(t,2,0,"line")},function(e,t){e(t,1,0,o["\u0275nov"](t,2).theme||"")})}function ji(e){return o["\u0275vid"](0,[o["\u0275qud"](402653184,1,{inputElement:0}),o["\u0275qud"](402653184,2,{listElement:0}),(e()(),o["\u0275eld"](2,0,null,null,8,"div",[["class","grouped-multi-picker-groups"]],null,null,null,null,null)),(e()(),o["\u0275eld"](3,0,null,null,5,"novo-list",[["direction","vertical"]],[[2,"vertical-list",null],[2,"horizontal-list",null],[1,"theme",0]],null,null,Aa,ka)),o["\u0275did"](4,49152,null,0,x.U,[o.ElementRef],{direction:[0,"direction"]},null),(e()(),o["\u0275and"](16777216,null,0,1,null,Di)),o["\u0275did"](6,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,0,1,null,Ri)),o["\u0275did"](8,278528,null,0,r.l,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Pi)),o["\u0275did"](10,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275eld"](11,0,null,null,22,"div",[["class","grouped-multi-picker-matches"]],null,null,null,null,null)),(e()(),o["\u0275eld"](12,0,null,null,10,"div",[["class","grouped-multi-picker-input-container"],["data-automation-id","input-container"]],[[8,"hidden",0]],null,null,null,null)),(e()(),o["\u0275eld"](13,0,[[1,0],["input",1]],null,5,"input",[["autofocus",""],["data-automation-id","input"]],[[8,"placeholder",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(e,t,n){var r=!0,i=e.component;return"input"===t&&(r=!1!==o["\u0275nov"](e,14)._handleInput(n.target.value)&&r),"blur"===t&&(r=!1!==o["\u0275nov"](e,14).onTouched()&&r),"compositionstart"===t&&(r=!1!==o["\u0275nov"](e,14)._compositionStart()&&r),"compositionend"===t&&(r=!1!==o["\u0275nov"](e,14)._compositionEnd(n.target.value)&&r),"ngModelChange"===t&&(r=!1!==(i.searchTerm=n)&&r),r},null,null)),o["\u0275did"](14,16384,null,0,Ao.DefaultValueAccessor,[o.Renderer2,o.ElementRef,[2,Ao.COMPOSITION_BUFFER_MODE]],null,null),o["\u0275prd"](1024,null,Ao.NG_VALUE_ACCESSOR,function(e){return[e]},[Ao.DefaultValueAccessor]),o["\u0275did"](16,671744,null,0,Ao.NgModel,[[8,null],[8,null],[8,null],[6,Ao.NG_VALUE_ACCESSOR]],{isDisabled:[0,"isDisabled"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,Ao.NgControl,null,[Ao.NgModel]),o["\u0275did"](18,16384,null,0,Ao.NgControlStatus,[[4,Ao.NgControl]],null,null),(e()(),o["\u0275and"](16777216,null,null,1,null,Mi)),o["\u0275did"](20,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Ii)),o["\u0275did"](22,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275eld"](23,0,null,null,10,"div",[["class","grouped-multi-picker-list-container"]],null,null,null,null,null)),(e()(),o["\u0275eld"](24,0,null,null,3,"novo-list",[["direction","vertical"]],[[2,"vertical-list",null],[2,"horizontal-list",null],[1,"theme",0]],null,null,Aa,ka)),o["\u0275did"](25,49152,[[2,4],["list",4]],0,x.U,[o.ElementRef],{direction:[0,"direction"]},null),(e()(),o["\u0275and"](16777216,null,0,1,null,Fi)),o["\u0275did"](27,278528,null,0,r.l,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Li)),o["\u0275did"](29,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Bi)),o["\u0275did"](31,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Ni)),o["\u0275did"](33,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,4,0,"vertical"),e(t,6,0,n.config.displayAll),e(t,8,0,n.categories),e(t,10,0,n.customFilterEnabled),e(t,16,0,n.isLoading,n.searchTerm),e(t,20,0,!n.searchTerm),e(t,22,0,n.searchTerm),e(t,25,0,"vertical"),e(t,27,0,n.matches),e(t,29,0,0===n.matches.length&&!n.isLoading&&n.selectedCategory),e(t,31,0,0===n.matches.length&&!n.isLoading&&!n.selectedCategory),e(t,33,0,n.isLoading)},function(e,t){var n=t.component;e(t,3,0,"vertical"===o["\u0275nov"](t,4).direction,"horizontal"===o["\u0275nov"](t,4).direction,o["\u0275nov"](t,4).theme),e(t,12,0,!n.selectedCategory),e(t,13,0,n.placeholder,o["\u0275nov"](t,18).ngClassUntouched,o["\u0275nov"](t,18).ngClassTouched,o["\u0275nov"](t,18).ngClassPristine,o["\u0275nov"](t,18).ngClassDirty,o["\u0275nov"](t,18).ngClassValid,o["\u0275nov"](t,18).ngClassInvalid,o["\u0275nov"](t,18).ngClassPending),e(t,24,0,"vertical"===o["\u0275nov"](t,25).direction,"horizontal"===o["\u0275nov"](t,25).direction,o["\u0275nov"](t,25).theme)})}function Vi(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"grouped-multi-picker-results",[],null,null,null,ji,xi)),o["\u0275did"](1,245760,null,0,x.o,[o.ElementRef,o.Renderer2,x.T,o.ChangeDetectorRef],null,null)],function(e,t){e(t,1,0)},null)}var Ui=o["\u0275ccf"]("grouped-multi-picker-results",x.o,Vi,{matches:"matches"},{},[]),$i=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function Hi(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"div",[["class","date-cell"]],null,null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,1,"label",[],null,null,null,null,null)),(e()(),o["\u0275ted"](2,null,["",""]))],null,function(e,t){e(t,2,0,t.component.getFormattedDate())})}function Wi(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"date-cell",[],null,null,null,Hi,$i)),o["\u0275did"](1,49152,null,0,x.e,[x.T],null,null)],null,null)}var Ki=o["\u0275ccf"]("date-cell",x.e,Wi,{value:"value"},{},[]),Gi=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function qi(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"div",[["class","percentage"]],null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,["",""])),o["\u0275ppd"](2,2)],null,function(e,t){var n=t.component,r=o["\u0275unv"](t,1,0,e(t,2,0,o["\u0275nov"](t.parent,0),n.value,"1.0-2"));e(t,1,0,r)})}function zi(e){return o["\u0275vid"](0,[o["\u0275pid"](0,r.v,[o.LOCALE_ID]),(e()(),o["\u0275and"](16777216,null,null,1,null,qi)),o["\u0275did"](2,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,2,0,n.value||0===n.value)},null)}function Yi(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"percentage-cell",[],null,null,null,zi,Gi)),o["\u0275did"](1,49152,null,0,x.Xb,[],null,null)],null,null)}var Zi=o["\u0275ccf"]("percentage-cell",x.Xb,Yi,{},{},[]),Ji=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function Xi(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"dropdown-item-header",[],null,null,null,Ls,Fs)),o["\u0275did"](1,49152,null,0,x.Vc,[],null,null),(e()(),o["\u0275ted"](2,0,["",""]))],null,function(e,t){e(t,2,0,t.parent.context.$implicit.category)})}function Qi(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,0,"i",[["class","bhi-check"]],null,null,null,null,null))],null,null)}function ea(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,5,"item",[],[[2,"active",null],[2,"disabled",null],[2,"active",null]],[[null,"action"],[null,"click"]],function(e,t,n){var r=!0,i=e.component;return"click"===t&&(r=!1!==o["\u0275nov"](e,1).onClick(n)&&r),"action"===t&&(r=!1!==i.onClick(e.parent.context.$implicit,e.context.$implicit,e.context.$implicit.value)&&r),r},Ps,Rs)),o["\u0275did"](1,49152,[[1,4]],0,x.Tc,[x.Sc,o.ElementRef],null,{action:"action"}),(e()(),o["\u0275eld"](2,0,null,0,1,"span",[],[[1,"data-automation-id",0]],null,null,null,null)),(e()(),o["\u0275ted"](3,null,["",""])),(e()(),o["\u0275and"](16777216,null,0,1,null,Qi)),o["\u0275did"](5,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){e(t,5,0,(t.context.$implicit||t.context.$implicit.value)===t.component.value)},function(e,t){e(t,0,0,(t.context.$implicit||t.context.$implicit.value)===t.component.value,o["\u0275nov"](t,1).disabled,o["\u0275nov"](t,1).active),e(t,2,0,t.context.$implicit.label||t.context.$implicit),e(t,3,0,t.context.$implicit.label||t.context.$implicit)})}function ta(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,0,"hr",[],null,null,null,null,null))],null,null)}function na(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,6,null,null,null,null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,Xi)),o["\u0275did"](2,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,ea)),o["\u0275did"](4,278528,null,0,r.l,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,ta)),o["\u0275did"](6,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](0,null,null,0))],function(e,t){var n=t.component;e(t,2,0,t.context.$implicit.category),e(t,4,0,t.context.$implicit.options),e(t,6,0,t.context.index<n.meta.dropdownCellConfig.length-1)},null)}function oa(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,10,"novo-dropdown",[["containerClass","novo-table-dropdown-cell"],["parentScrollSelector",".table-container"]],null,[[null,"keydown"]],function(e,t,n){var r=!0;return"keydown"===t&&(r=!1!==o["\u0275nov"](e,1).onKeyDown(n)&&r),r},Ts,Ds)),o["\u0275did"](1,245760,null,0,x.Sc,[o.ElementRef,o.ChangeDetectorRef],{parentScrollSelector:[0,"parentScrollSelector"],containerClass:[1,"containerClass"]},null),(e()(),o["\u0275eld"](2,0,null,0,3,"button",[["icon","collapse"],["inverse",""],["theme","secondary"],["type","button"]],[[1,"theme",0],[1,"color",0],[1,"icon",0],[1,"loading",0],[1,"side",0]],null,null,Ga,$a)),o["\u0275did"](3,49152,null,0,x.De,[],{theme:[0,"theme"],icon:[1,"icon"]},null),(e()(),o["\u0275eld"](4,0,null,0,1,"span",[["data-automation-id","novo-dropdown-cell-value"]],null,null,null,null,null)),(e()(),o["\u0275ted"](5,null,["",""])),(e()(),o["\u0275eld"](6,0,null,1,4,"list",[],null,null,null,Is,Ms)),o["\u0275did"](7,1097728,null,1,x.Uc,[x.Sc],null,null),o["\u0275qud"](603979776,1,{items:1}),(e()(),o["\u0275and"](16777216,null,0,1,null,na)),o["\u0275did"](10,278528,null,0,r.l,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(e,t){var n=t.component;e(t,1,0,".table-container","novo-table-dropdown-cell"),e(t,3,0,"secondary","collapse"),e(t,10,0,n.meta.dropdownCellConfig)},function(e,t){var n=t.component;e(t,2,0,o["\u0275nov"](t,3).theme,o["\u0275nov"](t,3).color,o["\u0275nov"](t,3).icon,o["\u0275nov"](t,3).loading,o["\u0275nov"](t,3).side),e(t,5,0,n.value)})}function ra(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"novo-dropdown-cell",[],null,null,null,oa,Ji)),o["\u0275did"](1,114688,null,0,x.I,[],null,null)],function(e,t){e(t,1,0)},null)}var ia=o["\u0275ccf"]("novo-dropdown-cell",x.I,ra,{meta:"meta",value:"value"},{},[]),aa=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function sa(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,14,"div",[["class","check-box-group"]],[[2,"disabled",null]],null,null,null,null)),o["\u0275did"](1,278528,null,0,r.k,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["\u0275pod"](2,{checked:0}),(e()(),o["\u0275eld"](3,0,null,null,5,"input",[["type","checkbox"]],[[1,"id",0],[8,"value",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"],[null,"blur"]],function(e,t,n){var r=!0,i=e.component;return"change"===t&&(r=!1!==o["\u0275nov"](e,4).onChange(n.target.checked)&&r),"blur"===t&&(r=!1!==o["\u0275nov"](e,4).onTouched()&&r),"change"===t&&(r=!1!==i.select(n,e.context.$implicit)&&r),r},null,null)),o["\u0275did"](4,16384,null,0,Ao.CheckboxControlValueAccessor,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,Ao.NG_VALUE_ACCESSOR,function(e){return[e]},[Ao.CheckboxControlValueAccessor]),o["\u0275did"](6,671744,null,0,Ao.NgModel,[[8,null],[8,null],[8,null],[6,Ao.NG_VALUE_ACCESSOR]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},null),o["\u0275prd"](2048,null,Ao.NgControl,null,[Ao.NgModel]),o["\u0275did"](8,16384,null,0,Ao.NgControlStatus,[[4,Ao.NgControl]],null,null),(e()(),o["\u0275eld"](9,0,null,null,5,"label",[],[[1,"for",0]],[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.select(n,e.context.$implicit)&&o),o},null,null)),(e()(),o["\u0275eld"](10,0,null,null,2,"i",[],null,null,null,null,null)),o["\u0275did"](11,278528,null,0,r.k,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{ngClass:[0,"ngClass"]},null),o["\u0275pod"](12,{"bhi-checkbox-empty":0,"bhi-checkbox-filled":1}),(e()(),o["\u0275eld"](13,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),o["\u0275ted"](14,null,["",""]))],function(e,t){var n=t.component,o=e(t,2,0,t.context.$implicit.checked);e(t,1,0,"check-box-group",o),e(t,6,0,n.name,n.disabled,t.context.$implicit.checked);var r=e(t,12,0,!t.context.$implicit.checked,t.context.$implicit.checked);e(t,11,0,r)},function(e,t){var n=t.component;e(t,0,0,n.disabled),e(t,3,0,n.name+t.context.index,t.context.$implicit.checked,o["\u0275nov"](t,8).ngClassUntouched,o["\u0275nov"](t,8).ngClassTouched,o["\u0275nov"](t,8).ngClassPristine,o["\u0275nov"](t,8).ngClassDirty,o["\u0275nov"](t,8).ngClassValid,o["\u0275nov"](t,8).ngClassInvalid,o["\u0275nov"](t,8).ngClassPending),e(t,9,0,n.name+t.context.index),e(t,14,0,t.context.$implicit.label)})}function la(e){return o["\u0275vid"](0,[(e()(),o["\u0275and"](16777216,null,null,1,null,sa)),o["\u0275did"](1,278528,null,0,r.l,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(e,t){e(t,1,0,t.component._options)},null)}var ca=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function ua(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,4,"div",[["class","list-item"]],null,null,null,null,null)),o["\u0275did"](1,278528,null,0,r.k,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["\u0275pod"](2,{avatar:0}),o["\u0275ncd"](null,0),o["\u0275ncd"](null,1),o["\u0275ncd"](null,2),o["\u0275ncd"](null,3)],function(e,t){var n=e(t,2,0,t.component.avatar);e(t,1,0,"list-item",n)},null)}var da=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function ha(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"i",[["theme","contained"]],null,null,null,null,null)),o["\u0275did"](1,278528,null,0,r.k,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{ngClass:[0,"ngClass"]},null)],function(e,t){e(t,1,0,t.component.classMap)},null)}function pa(e){return o["\u0275vid"](0,[(e()(),o["\u0275and"](16777216,null,null,1,null,ha)),o["\u0275did"](1,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){e(t,1,0,t.component.iconClass)},null)}var fa=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function ma(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"h6",[],null,null,null,null,null)),o["\u0275ncd"](null,0)],null,null)}var ga=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function va(e){return o["\u0275vid"](0,[o["\u0275ncd"](null,0),o["\u0275ncd"](null,1),o["\u0275ncd"](null,2)],null,null)}var _a=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function ya(e){return o["\u0275vid"](0,[o["\u0275ncd"](null,0)],null,null)}var ba=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function Ca(e){return o["\u0275vid"](0,[o["\u0275ncd"](null,0)],null,null)}var Ea=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function wa(e){return o["\u0275vid"](0,[o["\u0275ncd"](null,0)],null,null)}var ka=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function Aa(e){return o["\u0275vid"](0,[o["\u0275ncd"](null,0)],null,null)}var Sa=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function Oa(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"i",[["class","required-indicator address1"]],null,null,null,null,null)),o["\u0275did"](1,278528,null,0,r.k,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["\u0275pod"](2,{"bhi-circle":0,"bhi-check":1})],function(e,t){var n=t.component,o=e(t,2,0,!n.valid.address1,n.valid.address1);e(t,1,0,"required-indicator address1",o)},null)}function xa(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,10,"span",[["class","street-address"]],[[2,"invalid",null],[2,"focus",null],[2,"disabled",null]],null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,Oa)),o["\u0275did"](2,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275eld"](3,0,null,null,7,"input",[["autocomplete","shipping street-address address-line-1"],["id","address1"],["name","address1"],["type","text"]],[[2,"maxlength-error",null],[8,"placeholder",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"focus"],[null,"blur"],[null,"input"],[null,"compositionstart"],[null,"compositionend"]],function(e,t,n){var r=!0,i=e.component;return"input"===t&&(r=!1!==o["\u0275nov"](e,4)._handleInput(n.target.value)&&r),"blur"===t&&(r=!1!==o["\u0275nov"](e,4).onTouched()&&r),"compositionstart"===t&&(r=!1!==o["\u0275nov"](e,4)._compositionStart()&&r),"compositionend"===t&&(r=!1!==o["\u0275nov"](e,4)._compositionEnd(n.target.value)&&r),"ngModelChange"===t&&(r=!1!==(i.model.address1=n)&&r),"ngModelChange"===t&&(r=!1!==i.updateControl()&&r),"focus"===t&&(r=!1!==i.isFocused(n,"address1")&&r),"blur"===t&&(r=!1!==i.isBlurred(n,"address1")&&r),"input"===t&&(r=!1!==i.onInput(n,"address1")&&r),r},null,null)),o["\u0275did"](4,16384,null,0,Ao.DefaultValueAccessor,[o.Renderer2,o.ElementRef,[2,Ao.COMPOSITION_BUFFER_MODE]],null,null),o["\u0275did"](5,540672,null,0,Ao.MaxLengthValidator,[],{maxlength:[0,"maxlength"]},null),o["\u0275prd"](1024,null,Ao.NG_VALIDATORS,function(e){return[e]},[Ao.MaxLengthValidator]),o["\u0275prd"](1024,null,Ao.NG_VALUE_ACCESSOR,function(e){return[e]},[Ao.DefaultValueAccessor]),o["\u0275did"](8,671744,null,0,Ao.NgModel,[[8,null],[6,Ao.NG_VALIDATORS],[8,null],[6,Ao.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,Ao.NgControl,null,[Ao.NgModel]),o["\u0275did"](10,16384,null,0,Ao.NgControlStatus,[[4,Ao.NgControl]],null,null)],function(e,t){var n=t.component;e(t,2,0,n.config.address1.required),e(t,5,0,null==n.config?null:null==n.config.address1?null:n.config.address1.maxlength),e(t,8,0,"address1",n.model.address1)},function(e,t){var n=t.component;e(t,0,0,n.invalid.address1,n.focused.address1,n.disabled.address1),e(t,3,0,n.invalidMaxlength.address1,n.config.address1.label,o["\u0275nov"](t,5).maxlength?o["\u0275nov"](t,5).maxlength:null,o["\u0275nov"](t,10).ngClassUntouched,o["\u0275nov"](t,10).ngClassTouched,o["\u0275nov"](t,10).ngClassPristine,o["\u0275nov"](t,10).ngClassDirty,o["\u0275nov"](t,10).ngClassValid,o["\u0275nov"](t,10).ngClassInvalid,o["\u0275nov"](t,10).ngClassPending)})}function Da(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"i",[["class","required-indicator address2"]],null,null,null,null,null)),o["\u0275did"](1,278528,null,0,r.k,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["\u0275pod"](2,{"bhi-circle":0,"bhi-check":1})],function(e,t){var n=t.component,o=e(t,2,0,!n.valid.address2,n.valid.address2);e(t,1,0,"required-indicator address2",o)},null)}function Ta(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,10,"span",[["class","apt suite"]],[[2,"invalid",null],[2,"focus",null],[2,"disabled",null]],null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,Da)),o["\u0275did"](2,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275eld"](3,0,null,null,7,"input",[["autocomplete","shipping address-line-2"],["id","address2"],["name","address2"],["type","text"]],[[2,"maxlength-error",null],[8,"placeholder",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"focus"],[null,"blur"],[null,"input"],[null,"compositionstart"],[null,"compositionend"]],function(e,t,n){var r=!0,i=e.component;return"input"===t&&(r=!1!==o["\u0275nov"](e,4)._handleInput(n.target.value)&&r),"blur"===t&&(r=!1!==o["\u0275nov"](e,4).onTouched()&&r),"compositionstart"===t&&(r=!1!==o["\u0275nov"](e,4)._compositionStart()&&r),"compositionend"===t&&(r=!1!==o["\u0275nov"](e,4)._compositionEnd(n.target.value)&&r),"ngModelChange"===t&&(r=!1!==(i.model.address2=n)&&r),"ngModelChange"===t&&(r=!1!==i.updateControl()&&r),"focus"===t&&(r=!1!==i.isFocused(n,"address2")&&r),"blur"===t&&(r=!1!==i.isBlurred(n,"address2")&&r),"input"===t&&(r=!1!==i.onInput(n,"address2")&&r),r},null,null)),o["\u0275did"](4,16384,null,0,Ao.DefaultValueAccessor,[o.Renderer2,o.ElementRef,[2,Ao.COMPOSITION_BUFFER_MODE]],null,null),o["\u0275did"](5,540672,null,0,Ao.MaxLengthValidator,[],{maxlength:[0,"maxlength"]},null),o["\u0275prd"](1024,null,Ao.NG_VALIDATORS,function(e){return[e]},[Ao.MaxLengthValidator]),o["\u0275prd"](1024,null,Ao.NG_VALUE_ACCESSOR,function(e){return[e]},[Ao.DefaultValueAccessor]),o["\u0275did"](8,671744,null,0,Ao.NgModel,[[8,null],[6,Ao.NG_VALIDATORS],[8,null],[6,Ao.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,Ao.NgControl,null,[Ao.NgModel]),o["\u0275did"](10,16384,null,0,Ao.NgControlStatus,[[4,Ao.NgControl]],null,null)],function(e,t){var n=t.component;e(t,2,0,n.config.address2.required),e(t,5,0,null==n.config?null:null==n.config.address2?null:n.config.address2.maxlength),e(t,8,0,"address2",n.model.address2)},function(e,t){var n=t.component;e(t,0,0,n.invalid.address2,n.focused.address2,n.disabled.address2),e(t,3,0,n.invalidMaxlength.address2,n.config.address2.label,o["\u0275nov"](t,5).maxlength?o["\u0275nov"](t,5).maxlength:null,o["\u0275nov"](t,10).ngClassUntouched,o["\u0275nov"](t,10).ngClassTouched,o["\u0275nov"](t,10).ngClassPristine,o["\u0275nov"](t,10).ngClassDirty,o["\u0275nov"](t,10).ngClassValid,o["\u0275nov"](t,10).ngClassInvalid,o["\u0275nov"](t,10).ngClassPending)})}function Ra(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"i",[["class","required-indicator"]],null,null,null,null,null)),o["\u0275did"](1,278528,null,0,r.k,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["\u0275pod"](2,{"bhi-circle":0,"bhi-check":1})],function(e,t){var n=t.component,o=e(t,2,0,!n.valid.city,n.valid.city);e(t,1,0,"required-indicator",o)},null)}function Pa(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,10,"span",[["class","city locality"]],[[2,"invalid",null],[2,"focus",null],[2,"disabled",null]],null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,Ra)),o["\u0275did"](2,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275eld"](3,0,null,null,7,"input",[["autocomplete","shipping city locality"],["id","city"],["name","city"],["type","text"]],[[2,"maxlength-error",null],[8,"placeholder",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"focus"],[null,"blur"],[null,"input"],[null,"compositionstart"],[null,"compositionend"]],function(e,t,n){var r=!0,i=e.component;return"input"===t&&(r=!1!==o["\u0275nov"](e,4)._handleInput(n.target.value)&&r),"blur"===t&&(r=!1!==o["\u0275nov"](e,4).onTouched()&&r),"compositionstart"===t&&(r=!1!==o["\u0275nov"](e,4)._compositionStart()&&r),"compositionend"===t&&(r=!1!==o["\u0275nov"](e,4)._compositionEnd(n.target.value)&&r),"ngModelChange"===t&&(r=!1!==(i.model.city=n)&&r),"ngModelChange"===t&&(r=!1!==i.updateControl()&&r),"focus"===t&&(r=!1!==i.isFocused(n,"city")&&r),"blur"===t&&(r=!1!==i.isBlurred(n,"city")&&r),"input"===t&&(r=!1!==i.onInput(n,"city")&&r),r},null,null)),o["\u0275did"](4,16384,null,0,Ao.DefaultValueAccessor,[o.Renderer2,o.ElementRef,[2,Ao.COMPOSITION_BUFFER_MODE]],null,null),o["\u0275did"](5,540672,null,0,Ao.MaxLengthValidator,[],{maxlength:[0,"maxlength"]},null),o["\u0275prd"](1024,null,Ao.NG_VALIDATORS,function(e){return[e]},[Ao.MaxLengthValidator]),o["\u0275prd"](1024,null,Ao.NG_VALUE_ACCESSOR,function(e){return[e]},[Ao.DefaultValueAccessor]),o["\u0275did"](8,671744,null,0,Ao.NgModel,[[8,null],[6,Ao.NG_VALIDATORS],[8,null],[6,Ao.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,Ao.NgControl,null,[Ao.NgModel]),o["\u0275did"](10,16384,null,0,Ao.NgControlStatus,[[4,Ao.NgControl]],null,null)],function(e,t){var n=t.component;e(t,2,0,n.config.city.required),e(t,5,0,null==n.config?null:null==n.config.city?null:n.config.city.maxlength),e(t,8,0,"city",n.model.city)},function(e,t){var n=t.component;e(t,0,0,n.invalid.city,n.focused.city,n.disabled.city),e(t,3,0,n.invalidMaxlength.city,n.config.city.label,o["\u0275nov"](t,5).maxlength?o["\u0275nov"](t,5).maxlength:null,o["\u0275nov"](t,10).ngClassUntouched,o["\u0275nov"](t,10).ngClassTouched,o["\u0275nov"](t,10).ngClassPristine,o["\u0275nov"](t,10).ngClassDirty,o["\u0275nov"](t,10).ngClassValid,o["\u0275nov"](t,10).ngClassInvalid,o["\u0275nov"](t,10).ngClassPending)})}function Ma(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"i",[["class","required-indicator"]],null,null,null,null,null)),o["\u0275did"](1,278528,null,0,r.k,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["\u0275pod"](2,{"bhi-circle":0,"bhi-check":1})],function(e,t){var n=t.component,o=e(t,2,0,!n.valid.state,n.valid.state);e(t,1,0,"required-indicator",o)},null)}function Ia(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,16777216,null,null,9,"span",[["class","state region"]],[[2,"invalid",null],[2,"focus",null],[2,"disabled",null],[1,"data-hint",0]],[[null,"mouseenter"],[null,"mouseleave"]],function(e,t,n){var r=!0;return"mouseenter"===t&&(r=!1!==o["\u0275nov"](e,1).onMouseEnter()&&r),"mouseleave"===t&&(r=!1!==o["\u0275nov"](e,1).onMouseLeave()&&r),r},null,null)),o["\u0275did"](1,212992,null,0,x.Ge,[So.a,o.ViewContainerRef,o.ElementRef],{tooltip:[0,"tooltip"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Ma)),o["\u0275did"](3,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275eld"](4,0,null,null,5,"novo-picker",[["autocomplete","shipping region"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"changed"],[null,"ngModelChange"]],function(e,t,n){var o=!0,r=e.component;return"changed"===t&&(o=!1!==r.onStateChange(n)&&o),"ngModelChange"===t&&(o=!1!==(r.model.state=n)&&o),o},Js,Gs)),o["\u0275did"](5,114688,null,0,x.Yc,[o.ElementRef,x.d,o.ChangeDetectorRef],{config:[0,"config"],placeholder:[1,"placeholder"],disablePickerInput:[2,"disablePickerInput"]},{changed:"changed"}),o["\u0275prd"](1024,null,Ao.NG_VALUE_ACCESSOR,function(e){return[e]},[x.Yc]),o["\u0275did"](7,671744,null,0,Ao.NgModel,[[8,null],[8,null],[8,null],[6,Ao.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,Ao.NgControl,null,[Ao.NgModel]),o["\u0275did"](9,16384,null,0,Ao.NgControlStatus,[[4,Ao.NgControl]],null,null),(e()(),o["\u0275and"](0,null,null,0))],function(e,t){var n=t.component;e(t,1,0,n.tooltip.state),e(t,3,0,n.config.state.required),e(t,5,0,null==n.config?null:null==n.config.state?null:n.config.state.pickerConfig,null==n.config?null:null==n.config.state?null:n.config.state.label,n.disabled.state),e(t,7,0,n.model.state)},function(e,t){var n=t.component;e(t,0,0,n.invalid.state,n.focused.state,n.disabled.state,o["\u0275nov"](t,1).tooltip),e(t,4,0,o["\u0275nov"](t,9).ngClassUntouched,o["\u0275nov"](t,9).ngClassTouched,o["\u0275nov"](t,9).ngClassPristine,o["\u0275nov"](t,9).ngClassDirty,o["\u0275nov"](t,9).ngClassValid,o["\u0275nov"](t,9).ngClassInvalid,o["\u0275nov"](t,9).ngClassPending)})}function Fa(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"i",[["class","required-indicator"]],null,null,null,null,null)),o["\u0275did"](1,278528,null,0,r.k,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["\u0275pod"](2,{"bhi-circle":0,"bhi-check":1})],function(e,t){var n=t.component,o=e(t,2,0,!n.valid.zip,n.valid.zip);e(t,1,0,"required-indicator",o)},null)}function La(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,10,"span",[["class","zip postal-code"]],[[2,"invalid",null],[2,"focus",null],[2,"disabled",null]],null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,Fa)),o["\u0275did"](2,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275eld"](3,0,null,null,7,"input",[["autocomplete","shipping postal-code"],["id","zip"],["name","zip"],["type","text"]],[[2,"maxlength-error",null],[8,"placeholder",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"focus"],[null,"blur"],[null,"input"],[null,"compositionstart"],[null,"compositionend"]],function(e,t,n){var r=!0,i=e.component;return"input"===t&&(r=!1!==o["\u0275nov"](e,4)._handleInput(n.target.value)&&r),"blur"===t&&(r=!1!==o["\u0275nov"](e,4).onTouched()&&r),"compositionstart"===t&&(r=!1!==o["\u0275nov"](e,4)._compositionStart()&&r),"compositionend"===t&&(r=!1!==o["\u0275nov"](e,4)._compositionEnd(n.target.value)&&r),"ngModelChange"===t&&(r=!1!==(i.model.zip=n)&&r),"ngModelChange"===t&&(r=!1!==i.updateControl()&&r),"focus"===t&&(r=!1!==i.isFocused(n,"zip")&&r),"blur"===t&&(r=!1!==i.isBlurred(n,"zip")&&r),"input"===t&&(r=!1!==i.onInput(n,"zip")&&r),r},null,null)),o["\u0275did"](4,16384,null,0,Ao.DefaultValueAccessor,[o.Renderer2,o.ElementRef,[2,Ao.COMPOSITION_BUFFER_MODE]],null,null),o["\u0275did"](5,540672,null,0,Ao.MaxLengthValidator,[],{maxlength:[0,"maxlength"]},null),o["\u0275prd"](1024,null,Ao.NG_VALIDATORS,function(e){return[e]},[Ao.MaxLengthValidator]),o["\u0275prd"](1024,null,Ao.NG_VALUE_ACCESSOR,function(e){return[e]},[Ao.DefaultValueAccessor]),o["\u0275did"](8,671744,null,0,Ao.NgModel,[[8,null],[6,Ao.NG_VALIDATORS],[8,null],[6,Ao.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,Ao.NgControl,null,[Ao.NgModel]),o["\u0275did"](10,16384,null,0,Ao.NgControlStatus,[[4,Ao.NgControl]],null,null)],function(e,t){var n=t.component;e(t,2,0,n.config.zip.required),e(t,5,0,null==n.config?null:null==n.config.zip?null:n.config.zip.maxlength),e(t,8,0,"zip",n.model.zip)},function(e,t){var n=t.component;e(t,0,0,n.invalid.zip,n.focused.zip,n.disabled.zip),e(t,3,0,n.invalidMaxlength.zip,n.config.zip.label,o["\u0275nov"](t,5).maxlength?o["\u0275nov"](t,5).maxlength:null,o["\u0275nov"](t,10).ngClassUntouched,o["\u0275nov"](t,10).ngClassTouched,o["\u0275nov"](t,10).ngClassPristine,o["\u0275nov"](t,10).ngClassDirty,o["\u0275nov"](t,10).ngClassValid,o["\u0275nov"](t,10).ngClassInvalid,o["\u0275nov"](t,10).ngClassPending)})}function Ba(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"i",[["class","required-indicator"]],null,null,null,null,null)),o["\u0275did"](1,278528,null,0,r.k,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["\u0275pod"](2,{"bhi-circle":0,"bhi-check":1})],function(e,t){var n=t.component,o=e(t,2,0,!n.valid.countryID,n.valid.countryID);e(t,1,0,"required-indicator",o)},null)}function Na(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,8,"span",[["class","country-name"]],[[2,"invalid",null],[2,"focus",null],[2,"disabled",null]],null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,Ba)),o["\u0275did"](2,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275eld"](3,0,null,null,5,"novo-picker",[["autocomplete","shipping country"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"changed"],[null,"ngModelChange"]],function(e,t,n){var o=!0,r=e.component;return"changed"===t&&(o=!1!==r.onCountryChange(n)&&o),"ngModelChange"===t&&(o=!1!==(r.model.countryID=n)&&o),o},Js,Gs)),o["\u0275did"](4,114688,null,0,x.Yc,[o.ElementRef,x.d,o.ChangeDetectorRef],{config:[0,"config"],placeholder:[1,"placeholder"],disablePickerInput:[2,"disablePickerInput"]},{changed:"changed"}),o["\u0275prd"](1024,null,Ao.NG_VALUE_ACCESSOR,function(e){return[e]},[x.Yc]),o["\u0275did"](6,671744,null,0,Ao.NgModel,[[8,null],[8,null],[8,null],[6,Ao.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,Ao.NgControl,null,[Ao.NgModel]),o["\u0275did"](8,16384,null,0,Ao.NgControlStatus,[[4,Ao.NgControl]],null,null)],function(e,t){var n=t.component;e(t,2,0,n.config.countryID.required),e(t,4,0,null==n.config?null:null==n.config.countryID?null:n.config.countryID.pickerConfig,n.config.countryID.label,n.disabled.countryID),e(t,6,0,n.model.countryID)},function(e,t){var n=t.component;e(t,0,0,n.invalid.countryID,n.focused.countryID,n.disabled.countryID),e(t,3,0,o["\u0275nov"](t,8).ngClassUntouched,o["\u0275nov"](t,8).ngClassTouched,o["\u0275nov"](t,8).ngClassPristine,o["\u0275nov"](t,8).ngClassDirty,o["\u0275nov"](t,8).ngClassValid,o["\u0275nov"](t,8).ngClassInvalid,o["\u0275nov"](t,8).ngClassPending)})}function ja(e){return o["\u0275vid"](0,[(e()(),o["\u0275and"](16777216,null,null,1,null,xa)),o["\u0275did"](1,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Ta)),o["\u0275did"](3,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Pa)),o["\u0275did"](5,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Ia)),o["\u0275did"](7,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,La)),o["\u0275did"](9,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Na)),o["\u0275did"](11,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,1,0,!(null!=n.config&&null!=n.config.address1&&n.config.address1.hidden)),e(t,3,0,!(null!=n.config&&null!=n.config.address2&&n.config.address2.hidden)),e(t,5,0,!(null!=n.config&&null!=n.config.city&&n.config.city.hidden)),e(t,7,0,!(null!=n.config&&null!=n.config.state&&n.config.state.hidden)),e(t,9,0,!(null!=n.config&&null!=n.config.zip&&n.config.zip.hidden)),e(t,11,0,!(null!=n.config&&null!=n.config.countryID&&n.config.countryID.hidden))},null)}var Va=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function Ua(e){return o["\u0275vid"](0,[],null,null)}var $a=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function Ha(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"i",[],null,null,null,null,null)),o["\u0275did"](1,278528,null,0,r.k,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{ngClass:[0,"ngClass"]},null)],function(e,t){e(t,1,0,t.component.icon)},null)}function Wa(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"i",[],null,null,null,null,null)),o["\u0275did"](1,278528,null,0,r.k,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{ngClass:[0,"ngClass"]},null)],function(e,t){e(t,1,0,t.component.icon)},null)}function Ka(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,4,"i",[["class","loading"]],null,null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,3,":svg:svg",[[":xml:space","preserve"],[":xmlns:a","http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/"],[":xmlns:xlink","http://www.w3.org/1999/xlink"],["height","18.5px"],["style","enable-background:new 0 0 18.2 18.5;"],["version","1.1"],["viewBox","0 0 18.2 18.5"],["width","18.2px"],["x","0px"],["xmlns","http://www.w3.org/2000/svg"],["y","0px"]],null,null,null,null,null)),(e()(),o["\u0275eld"](2,0,null,null,1,":svg:style",[["type","text/css"]],null,null,null,null,null)),(e()(),o["\u0275ted"](-1,null,[" .spinner { fill: #ffffff; } "])),(e()(),o["\u0275eld"](4,0,null,null,0,":svg:path",[["class","spinner"],["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"]],null,null,null,null,null))],null,null)}function Ga(e){return o["\u0275vid"](2,[(e()(),o["\u0275eld"](0,0,null,null,7,"div",[["class","flex-wrapper"]],null,null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,Ha)),o["\u0275did"](2,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),o["\u0275ncd"](null,0),(e()(),o["\u0275and"](16777216,null,null,1,null,Wa)),o["\u0275did"](5,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Ka)),o["\u0275did"](7,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,2,0,n.icon&&"left"===n.side&&!n.loading),e(t,5,0,n.icon&&"right"===n.side&&!n.loading),e(t,7,0,n.loading)},null)}var qa=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function za(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,0,"span",[["class","dot"]],null,null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,0,"span",[["class","dot"]],null,null,null,null,null)),(e()(),o["\u0275eld"](2,0,null,null,0,"span",[["class","dot"]],null,null,null,null,null)),(e()(),o["\u0275eld"](3,0,null,null,0,"span",[["class","dot"]],null,null,null,null,null)),(e()(),o["\u0275eld"](4,0,null,null,0,"span",[["class","dot"]],null,null,null,null,null))],null,null)}var Ya=o["\u0275crt"]({encapsulation:0,styles:["novo-tooltip[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{background:#383838;color:#fff;padding:8px 10px;font-size:12px;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;line-height:12px;white-space:nowrap;text-shadow:0 -1px 0 #000;box-shadow:4px 4px 8px rgba(0,0,0,.3)}novo-tooltip[_ngcontent-%COMP%] div.error[_ngcontent-%COMP%]{background-color:#b34e4d;text-shadow:0 -1px 0 #592726}novo-tooltip[_ngcontent-%COMP%] div.info[_ngcontent-%COMP%]{background-color:#3986ac;text-shadow:0 -1px 0 #1a3c4d}novo-tooltip[_ngcontent-%COMP%] div.warning[_ngcontent-%COMP%]{background-color:#c09854;text-shadow:0 -1px 0 #6c5328}novo-tooltip[_ngcontent-%COMP%] div.success[_ngcontent-%COMP%]{background-color:#458746;text-shadow:0 -1px 0 #1a321a}novo-tooltip[_ngcontent-%COMP%] div.rounded[_ngcontent-%COMP%]{border-radius:4px}novo-tooltip[_ngcontent-%COMP%] div.extra-large[_ngcontent-%COMP%], novo-tooltip[_ngcontent-%COMP%] div.large[_ngcontent-%COMP%], novo-tooltip[_ngcontent-%COMP%] div.medium[_ngcontent-%COMP%], novo-tooltip[_ngcontent-%COMP%] div.small[_ngcontent-%COMP%]{white-space:normal;line-height:1.4em;word-wrap:break-word}novo-tooltip[_ngcontent-%COMP%] div.extra-large[_ngcontent-%COMP%]{width:400px;font-size:1.2vh}novo-tooltip[_ngcontent-%COMP%] div.large[_ngcontent-%COMP%]{width:300px}novo-tooltip[_ngcontent-%COMP%] div.medium[_ngcontent-%COMP%]{width:150px}novo-tooltip[_ngcontent-%COMP%] div.small[_ngcontent-%COMP%]{width:80px}novo-tooltip[_ngcontent-%COMP%] div.preline[_ngcontent-%COMP%]{white-space:pre-line}novo-tooltip[_ngcontent-%COMP%] div.top[_ngcontent-%COMP%]:before{margin-bottom:-11px;left:calc(50% - 6px);bottom:0;border-top-color:#383838}novo-tooltip[_ngcontent-%COMP%] div.top.error[_ngcontent-%COMP%]:before{border-top-color:#b34e4d}novo-tooltip[_ngcontent-%COMP%] div.top.info[_ngcontent-%COMP%]:before{border-top-color:#3986ac}novo-tooltip[_ngcontent-%COMP%] div.top.warning[_ngcontent-%COMP%]:before{border-top-color:#c09854}novo-tooltip[_ngcontent-%COMP%] div.top.success[_ngcontent-%COMP%]:before{border-top-color:#458746}novo-tooltip[_ngcontent-%COMP%] div.top-left[_ngcontent-%COMP%]:before{border-top-color:#383838;margin-right:0;margin-bottom:-11px;right:0;bottom:0}novo-tooltip[_ngcontent-%COMP%] div.top-left.error[_ngcontent-%COMP%]:before{border-top-color:#b34e4d}novo-tooltip[_ngcontent-%COMP%] div.top-left.info[_ngcontent-%COMP%]:before{border-top-color:#3986ac}novo-tooltip[_ngcontent-%COMP%] div.top-left.warning[_ngcontent-%COMP%]:before{border-top-color:#c09854}novo-tooltip[_ngcontent-%COMP%] div.top-left.success[_ngcontent-%COMP%]:before{border-top-color:#458746}novo-tooltip[_ngcontent-%COMP%] div.top-right[_ngcontent-%COMP%]:before{border-top-color:#383838;margin-left:0;margin-bottom:-11px;left:0;bottom:0}novo-tooltip[_ngcontent-%COMP%] div.top-right.error[_ngcontent-%COMP%]:before{border-top-color:#b34e4d}novo-tooltip[_ngcontent-%COMP%] div.top-right.info[_ngcontent-%COMP%]:before{border-top-color:#3986ac}novo-tooltip[_ngcontent-%COMP%] div.top-right.warning[_ngcontent-%COMP%]:before{border-top-color:#c09854}novo-tooltip[_ngcontent-%COMP%] div.top-right.success[_ngcontent-%COMP%]:before{border-top-color:#458746}novo-tooltip[_ngcontent-%COMP%] div.bottom[_ngcontent-%COMP%]:before{margin-top:-11px;left:calc(50% - 6px);top:0;border-bottom-color:#383838}novo-tooltip[_ngcontent-%COMP%] div.bottom.error[_ngcontent-%COMP%]:before{border-top-color:#b34e4d}novo-tooltip[_ngcontent-%COMP%] div.bottom.info[_ngcontent-%COMP%]:before{border-top-color:#3986ac}novo-tooltip[_ngcontent-%COMP%] div.bottom.warning[_ngcontent-%COMP%]:before{border-top-color:#c09854}novo-tooltip[_ngcontent-%COMP%] div.bottom.success[_ngcontent-%COMP%]:before{border-top-color:#458746}novo-tooltip[_ngcontent-%COMP%] div.bottom-left[_ngcontent-%COMP%]:before{border-bottom-color:#383838;margin-right:0;margin-top:-11px;right:0;top:0}novo-tooltip[_ngcontent-%COMP%] div.bottom-left.error[_ngcontent-%COMP%]:before{border-bottom-color:#b34e4d}novo-tooltip[_ngcontent-%COMP%] div.bottom-left.info[_ngcontent-%COMP%]:before{border-bottom-color:#3986ac}novo-tooltip[_ngcontent-%COMP%] div.bottom-left.warning[_ngcontent-%COMP%]:before{border-bottom-color:#c09854}novo-tooltip[_ngcontent-%COMP%] div.bottom-left.success[_ngcontent-%COMP%]:before{border-bottom-color:#458746}novo-tooltip[_ngcontent-%COMP%] div.bottom-right[_ngcontent-%COMP%]:before{border-bottom-color:#383838;margin-left:0;margin-top:-11px;left:0;top:0}novo-tooltip[_ngcontent-%COMP%] div.bottom-right.error[_ngcontent-%COMP%]:before{border-bottom-color:#b34e4d}novo-tooltip[_ngcontent-%COMP%] div.bottom-right.info[_ngcontent-%COMP%]:before{border-bottom-color:#3986ac}novo-tooltip[_ngcontent-%COMP%] div.bottom-right.warning[_ngcontent-%COMP%]:before{border-bottom-color:#c09854}novo-tooltip[_ngcontent-%COMP%] div.bottom-right.success[_ngcontent-%COMP%]:before{border-bottom-color:#458746}novo-tooltip[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]:before{border-left-color:#383838;margin-right:-11px;margin-bottom:-6px;right:0;bottom:50%}novo-tooltip[_ngcontent-%COMP%] div.left.error[_ngcontent-%COMP%]:before{border-left-color:#b34e4d}novo-tooltip[_ngcontent-%COMP%] div.left.info[_ngcontent-%COMP%]:before{border-left-color:#3986ac}novo-tooltip[_ngcontent-%COMP%] div.left.warning[_ngcontent-%COMP%]:before{border-left-color:#c09854}novo-tooltip[_ngcontent-%COMP%] div.left.success[_ngcontent-%COMP%]:before{border-left-color:#458746}novo-tooltip[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]:before{left:0;bottom:50%;border-right-color:#383838;margin-left:-11px;margin-bottom:-6px}novo-tooltip[_ngcontent-%COMP%] div.right.error[_ngcontent-%COMP%]:before{border-right-color:#b34e4d}novo-tooltip[_ngcontent-%COMP%] div.right.info[_ngcontent-%COMP%]:before{border-right-color:#3986ac}novo-tooltip[_ngcontent-%COMP%] div.right.warning[_ngcontent-%COMP%]:before{border-right-color:#c09854}novo-tooltip[_ngcontent-%COMP%] div.right.success[_ngcontent-%COMP%]:before{border-right-color:#458746}novo-tooltip[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:before{content:'';position:absolute;background:0 0;border:6px solid transparent;box-sizing:border-box}"],data:{animation:[{type:7,name:"state",definitions:[{type:0,name:"initial, void, hidden",styles:{type:6,styles:{opacity:"0"},offset:null},options:void 0},{type:0,name:"visible",styles:{type:6,styles:{opacity:"1"},offset:null},options:void 0},{type:1,expr:"* => visible",animation:[{type:6,styles:{opacity:0,visibility:"visible"},offset:null},{type:4,styles:null,timings:"0.3s ease-in"}],options:null},{type:1,expr:"* => hidden",animation:[{type:6,styles:{opacity:1,visibility:"hidden"},offset:null},{type:4,styles:null,timings:"0.3s ease-in"}],options:null}],options:{}}]}});function Za(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,3,"div",[],[[24,"@state",0]],null,null,null,null)),o["\u0275did"](1,278528,null,0,r.k,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{ngClass:[0,"ngClass"]},null),o["\u0275pad"](2,5),(e()(),o["\u0275ted"](3,null,["",""]))],function(e,t){var n=t.component,o=e(t,2,0,n.tooltipType,n.rounded?"rounded":"",n.size?n.size:"",n.preline?"preline":"",n.position);e(t,1,0,o)},function(e,t){var n=t.component;e(t,0,0,n.noAnimate?"no-animation":"visible"),e(t,3,0,n.message)})}function Ja(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"novo-tooltip",[],null,null,null,Za,Ya)),o["\u0275did"](1,49152,null,0,x.He,[],null,null)],null,null)}var Xa=o["\u0275ccf"]("novo-tooltip",x.He,Ja,{},{},[]),Qa=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function es(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"h5",[],null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,["",""]))],null,function(e,t){e(t,1,0,t.component.title)})}function ts(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,0,"p",[],[[2,"message-only",null],[8,"innerHTML",1]],null,null,null,null))],null,function(e,t){var n=t.component;e(t,0,0,!n.title,n._message)})}function ns(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"div",[["class","link-generated"]],null,null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,0,"input",[["onfocus","this.select();"],["type","text"]],[[8,"value",0]],null,null,null,null))],null,function(e,t){e(t,1,0,t.component.link)})}function os(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"div",[["class","close-icon"]],null,[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.close(n)&&o),o},null,null)),(e()(),o["\u0275eld"](1,0,null,null,0,"i",[["class","bhi-times"]],null,null,null,null,null))],null,null)}function rs(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"div",[["class","toast-icon"]],null,null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,1,"i",[],null,null,null,null,null)),o["\u0275did"](2,278528,null,0,r.k,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{ngClass:[0,"ngClass"]},null),(e()(),o["\u0275eld"](3,0,null,null,8,"div",[["class","toast-content"]],null,null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,es)),o["\u0275did"](5,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,ts)),o["\u0275did"](7,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,ns)),o["\u0275did"](9,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275eld"](10,0,null,null,1,"div",[["class","dialogue"]],null,null,null,null,null)),o["\u0275ncd"](null,0),(e()(),o["\u0275and"](16777216,null,null,1,null,os)),o["\u0275did"](13,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,2,0,n.iconClass),e(t,5,0,n.title),e(t,7,0,n._message),e(t,9,0,n.link),e(t,13,0,n.isCloseable)},null)}function is(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"novo-toast",[],[[8,"className",0],[2,"show",null],[2,"animate",null],[2,"embedded",null]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==(!o["\u0275nov"](e,1).isCloseable&&o["\u0275nov"](e,1).clickHandler(n))&&r),r},rs,Qa)),o["\u0275did"](1,638976,null,0,x.zc,[b.DomSanitizer],null,null)],function(e,t){e(t,1,0)},function(e,t){e(t,0,0,o["\u0275nov"](t,1).alertTheme,o["\u0275nov"](t,1).show,o["\u0275nov"](t,1).animate,o["\u0275nov"](t,1).embedded)})}var as=o["\u0275ccf"]("novo-toast",x.zc,is,{theme:"theme",icon:"icon",title:"title",hasDialogue:"hasDialogue",link:"link",isCloseable:"isCloseable",message:"message"},{closed:"closed"},["*"]),ss=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function ls(e){return o["\u0275vid"](0,[o["\u0275ncd"](null,0)],null,null)}var cs=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function us(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"button",[["theme","icon"]],[[1,"inverse",0],[8,"disabled",0],[1,"theme",0],[1,"color",0],[1,"icon",0],[1,"loading",0],[1,"side",0]],null,null,Ga,$a)),o["\u0275did"](1,49152,null,0,x.De,[],{theme:[0,"theme"],icon:[1,"icon"]},null),o["\u0275ncd"](0,0)],function(e,t){e(t,1,0,"icon",t.component.icon)},function(e,t){var n=t.component;e(t,0,0,n.inverse,n.disabled,o["\u0275nov"](t,1).theme,o["\u0275nov"](t,1).color,o["\u0275nov"](t,1).icon,o["\u0275nov"](t,1).loading,o["\u0275nov"](t,1).side)})}var ds=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function hs(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"i",[["class","header-icon"]],null,null,null,null,null)),o["\u0275did"](1,278528,null,0,r.k,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null)],function(e,t){e(t,1,0,"header-icon",t.component.icon)},null)}function ps(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"small",[],null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,["",""]))],null,function(e,t){e(t,1,0,t.component.subTitle)})}function fs(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,7,null,null,null,null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,hs)),o["\u0275did"](2,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275eld"](3,0,null,null,4,"div",[["class","header-titles"]],null,null,null,null,null)),(e()(),o["\u0275eld"](4,0,null,null,1,"h1",[],null,null,null,null,null)),(e()(),o["\u0275ted"](5,null,["",""])),(e()(),o["\u0275and"](16777216,null,null,1,null,ps)),o["\u0275did"](7,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,2,0,n.icon),e(t,7,0,n.subTitle)},function(e,t){e(t,5,0,t.component.title)})}function ms(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,3,null,null,null,null,null,null,null)),o["\u0275ncd"](null,0),(e()(),o["\u0275eld"](2,0,null,null,1,"div",[["class","header-titles"]],null,null,null,null,null)),o["\u0275ncd"](null,1)],null,null)}function gs(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,9,"section",[],null,null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,4,"div",[["class","header-title"]],null,null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,fs)),o["\u0275did"](3,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,ms)),o["\u0275did"](5,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),o["\u0275ncd"](null,2),(e()(),o["\u0275eld"](7,0,null,null,0,"span",[["flex",""]],null,null,null,null,null)),o["\u0275ncd"](null,3),o["\u0275ncd"](null,4),o["\u0275ncd"](null,5)],function(e,t){var n=t.component;e(t,3,0,n.title),e(t,5,0,!n.title)},null)}var vs=o["\u0275crt"]({encapsulation:2,styles:[],data:{animation:[{type:7,name:"tileState",definitions:[{type:0,name:"inactive",styles:{type:6,styles:{opacity:"0"},offset:null},options:void 0},{type:0,name:"active",styles:{type:6,styles:{opacity:"1"},offset:null},options:void 0},{type:1,expr:"inactive => active",animation:{type:4,styles:null,timings:"200ms ease-in"},options:null},{type:1,expr:"active => inactive",animation:{type:4,styles:null,timings:"200ms ease-out"},options:null}],options:{}}]}});function _s(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,5,"div",[["class","tile"]],[[1,"data-automation-id",0]],[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.select(n,e.context.$implicit)&&o),o},null,null)),o["\u0275did"](1,278528,null,0,r.k,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["\u0275pod"](2,{active:0,disabled:1}),(e()(),o["\u0275eld"](3,0,null,null,0,"input",[["class","tiles-input"],["type","radio"]],[[8,"name",0],[8,"value",0],[1,"id",0],[8,"disabled",0]],[[null,"change"],[null,"focus"],[null,"blur"]],function(e,t,n){var o=!0,r=e.component;return"change"===t&&(o=!1!==r.select(n,e.context.$implicit)&&o),"focus"===t&&(o=!1!==r.setFocus(!0)&&o),"blur"===t&&(o=!1!==r.setFocus(!1)&&o),o},null,null)),(e()(),o["\u0275eld"](4,0,null,null,1,"label",[],[[1,"for",0],[1,"data-automation-id",0]],null,null,null,null)),(e()(),o["\u0275ted"](5,null,[" "," "]))],function(e,t){var n=e(t,2,0,t.context.$implicit.checked,t.context.$implicit.disabled);e(t,1,0,"tile",n)},function(e,t){var n=t.component;e(t,0,0,t.context.$implicit.label||t.context.$implicit),e(t,3,0,n.name,t.context.$implicit.checked||t.context.$implicit,n.name+t.context.index,n.disabled),e(t,4,0,n.name+t.context.index,t.context.$implicit.label||t.context.$implicit),e(t,5,0,t.context.$implicit.label||t.context.$implicit)})}function ys(e){return o["\u0275vid"](2,[(e()(),o["\u0275eld"](0,0,null,null,3,"div",[["class","tile-container"]],[[2,"active",null],[2,"disabled",null]],null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,_s)),o["\u0275did"](2,278528,null,0,r.l,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),o["\u0275eld"](3,0,null,null,0,"span",[["class","active-indicator"]],[[24,"@tileState",0],[8,"hidden",0]],null,null,null,null))],function(e,t){e(t,2,0,t.component._options)},function(e,t){var n=t.component;e(t,0,0,n.focused,n.disabled),e(t,3,0,n.state,null==n.activeTile)})}var bs=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function Cs(e){return o["\u0275vid"](0,[o["\u0275qud"](402653184,1,{wrapper:0}),o["\u0275qud"](402653184,2,{host:0}),o["\u0275qud"](402653184,3,{results:0}),(e()(),o["\u0275eld"](3,0,[[1,0],["wrapper",1]],null,2,"div",[["class","quick-note-wrapper"]],null,null,null,null,null)),(e()(),o["\u0275eld"](4,0,[[2,0],["host",1]],null,0,"textarea",[],null,null,null,null,null)),(e()(),o["\u0275eld"](5,16777216,[[3,3],["results",1]],null,0,"span",[],null,null,null,null,null))],null,null)}var Es=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function ws(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,4,"button",[],[[1,"theme",0],[1,"color",0],[1,"icon",0],[1,"loading",0],[1,"side",0]],null,null,Ga,$a)),o["\u0275did"](1,278528,null,0,r.k,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{ngClass:[0,"ngClass"]},null),o["\u0275pod"](2,{unchecked:0,checked:1,"has-icon":2}),o["\u0275did"](3,49152,null,0,x.De,[],{theme:[0,"theme"],icon:[1,"icon"]},null),(e()(),o["\u0275ted"](4,0,["",""]))],function(e,t){var n=t.component,o=e(t,2,0,!n.checked,n.checked,!!n.icon);e(t,1,0,o),e(t,3,0,n.theme,n.icon)},function(e,t){var n=t.component;e(t,0,0,o["\u0275nov"](t,3).theme,o["\u0275nov"](t,3).color,o["\u0275nov"](t,3).icon,o["\u0275nov"](t,3).loading,o["\u0275nov"](t,3).side),e(t,4,0,n.label)})}function ks(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,5,"div",[],null,null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,2,"i",[],null,null,null,null,null)),o["\u0275did"](2,278528,null,0,r.k,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{ngClass:[0,"ngClass"]},null),o["\u0275pod"](3,{"bhi-radio-empty":0,"bhi-radio-filled":1}),(e()(),o["\u0275ted"](4,null,[" "," "])),o["\u0275ncd"](null,0)],function(e,t){var n=t.component,o=e(t,3,0,!n.checked,n.checked);e(t,2,0,o)},function(e,t){e(t,4,0,t.component.label)})}function As(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,0,"input",[["type","radio"]],[[8,"name",0],[8,"checked",0],[1,"id",0],[8,"disabled",0]],[[null,"change"]],function(e,t,n){var o=!0;return"change"===t&&(o=!1!==e.component.select(n)&&o),o},null,null)),(e()(),o["\u0275eld"](1,0,null,null,4,"label",[],[[1,"for",0],[2,"disabled",null]],[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.select(n)&&o),o},null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,ws)),o["\u0275did"](3,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,ks)),o["\u0275did"](5,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,3,0,n.button),e(t,5,0,!n.button)},function(e,t){var n=t.component;e(t,0,0,n.name,n.checked,n.name,n.disabled),e(t,1,0,n.name,n.disabled)})}var Ss=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function Os(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,[[2,0],["panel",1]],null,1,"div",[["class","novo-overlay-panel"],["role","listbox"]],[[8,"id",0]],null,null,null,null)),o["\u0275ncd"](null,0)],null,function(e,t){e(t,0,0,t.component.id)})}function xs(e){return o["\u0275vid"](2,[o["\u0275qud"](402653184,1,{template:0}),o["\u0275qud"](671088640,2,{panel:0}),(e()(),o["\u0275and"](0,[[1,2]],null,0,null,Os))],null,null)}var Ds=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function Ts(e){return o["\u0275vid"](0,[o["\u0275qud"](402653184,1,{overlay:0}),o["\u0275ncd"](null,0),(e()(),o["\u0275eld"](2,16777216,null,null,3,"novo-overlay-template",[],null,null,null,xs,Ss)),o["\u0275did"](3,180224,[[1,4]],0,x.Rc,[So.a,o.ViewContainerRef,o.NgZone,o.ChangeDetectorRef,[2,r.e]],{position:[0,"position"],scrollStrategy:[1,"scrollStrategy"],width:[2,"width"],parent:[3,"parent"]},null),(e()(),o["\u0275eld"](4,0,null,0,1,"div",[],[[8,"className",0],[4,"height","px"],[2,"has-height",null]],[[null,"keydown"]],function(e,t,n){var o=!0;return"keydown"===t&&(o=!1!==e.component.onOverlayKeyDown(n)&&o),o},null,null)),o["\u0275ncd"](null,1)],function(e,t){var n=t.component;e(t,3,0,n.side,n.scrollStrategy,n.width,n.element)},function(e,t){var n=t.component;e(t,4,0,o["\u0275inlineInterpolate"](1,"dropdown-container ",n.containerClass,""),n.height,!!n.height)})}var Rs=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function Ps(e){return o["\u0275vid"](0,[o["\u0275ncd"](null,0)],null,null)}var Ms=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function Is(e){return o["\u0275vid"](0,[o["\u0275ncd"](null,0)],null,null)}var Fs=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function Ls(e){return o["\u0275vid"](0,[o["\u0275ncd"](null,0)],null,null)}var Bs=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function Ns(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"button",[["class","header"],["tabIndex","-1"],["type","button"]],null,[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(e.component.toggleHeader(n),o=!1),o},null,null)),(e()(),o["\u0275eld"](1,0,null,null,0,"i",[["class","bhi-add-thin"]],null,null,null,null,null)),(e()(),o["\u0275ted"](2,null,["\xa0"," "]))],null,function(e,t){e(t,2,0,t.component.headerConfig.label)})}function js(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,15,"div",[],null,null,null,null,null)),o["\u0275did"](1,278528,null,0,r.k,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{ngClass:[0,"ngClass"]},null),o["\u0275pod"](2,{active:0}),(e()(),o["\u0275eld"](3,0,null,null,7,"input",[["autocomplete","false"],["autofocus",""],["type","text"]],[[8,"placeholder",0],[1,"id",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(e,t,n){var r=!0,i=e.component;return"input"===t&&(r=!1!==o["\u0275nov"](e,6)._handleInput(n.target.value)&&r),"blur"===t&&(r=!1!==o["\u0275nov"](e,6).onTouched()&&r),"compositionstart"===t&&(r=!1!==o["\u0275nov"](e,6)._compositionStart()&&r),"compositionend"===t&&(r=!1!==o["\u0275nov"](e,6)._compositionEnd(n.target.value)&&r),"ngModelChange"===t&&(r=!1!==(i.header.value=n)&&r),r},null,null)),o["\u0275did"](4,278528,null,0,r.k,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{ngClass:[0,"ngClass"]},null),o["\u0275pod"](5,{invalid:0}),o["\u0275did"](6,16384,null,0,Ao.DefaultValueAccessor,[o.Renderer2,o.ElementRef,[2,Ao.COMPOSITION_BUFFER_MODE]],null,null),o["\u0275prd"](1024,null,Ao.NG_VALUE_ACCESSOR,function(e){return[e]},[Ao.DefaultValueAccessor]),o["\u0275did"](8,671744,null,0,Ao.NgModel,[[8,null],[8,null],[8,null],[6,Ao.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,Ao.NgControl,null,[Ao.NgModel]),o["\u0275did"](10,16384,null,0,Ao.NgControlStatus,[[4,Ao.NgControl]],null,null),(e()(),o["\u0275eld"](11,0,null,null,4,"footer",[],null,null,null,null,null)),(e()(),o["\u0275eld"](12,0,null,null,1,"button",[],null,[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.toggleHeader(n,!1)&&o),o},null,null)),(e()(),o["\u0275ted"](13,null,["",""])),(e()(),o["\u0275eld"](14,0,null,null,1,"button",[["class","primary"]],null,[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.saveHeader()&&o),o},null,null)),(e()(),o["\u0275ted"](15,null,["",""]))],function(e,t){var n=t.component,o=e(t,2,0,n.header.open);e(t,1,0,o);var r=e(t,5,0,!n.header.valid);e(t,4,0,r),e(t,8,0,n.header.value)},function(e,t){var n=t.component;e(t,3,0,n.headerConfig.placeholder,n.name,o["\u0275nov"](t,10).ngClassUntouched,o["\u0275nov"](t,10).ngClassTouched,o["\u0275nov"](t,10).ngClassPristine,o["\u0275nov"](t,10).ngClassDirty,o["\u0275nov"](t,10).ngClassValid,o["\u0275nov"](t,10).ngClassInvalid,o["\u0275nov"](t,10).ngClassPending),e(t,13,0,n.labels.cancel),e(t,15,0,n.labels.save)})}function Vs(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,4,"li",[["class","select-header"]],[[2,"open",null]],null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,Ns)),o["\u0275did"](2,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,js)),o["\u0275did"](4,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,2,0,!n.header.open),e(t,4,0,n.header.open)},function(e,t){e(t,0,0,t.component.header.open)})}function Us(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,0,"i",[["class","bhi-check"]],null,null,null,null,null))],null,null)}function $s(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,5,"li",[],[[1,"data-automation-value",0]],[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.setValueAndClose({value:e.context.$implicit,index:e.context.index})&&o),o},null,null)),o["\u0275did"](1,278528,null,0,r.k,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{ngClass:[0,"ngClass"]},null),o["\u0275pod"](2,{active:0}),(e()(),o["\u0275eld"](3,0,null,null,0,"span",[],[[8,"innerHTML",1]],null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,Us)),o["\u0275did"](5,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=e(t,2,0,t.context.$implicit.active);e(t,1,0,n),e(t,5,0,t.context.$implicit.active)},function(e,t){var n=t.component;e(t,0,0,t.context.$implicit.label),e(t,3,0,n.highlight(t.context.$implicit.label,n.filterTerm))})}function Hs(e){return o["\u0275vid"](0,[o["\u0275qud"](402653184,1,{overlay:0}),o["\u0275qud"](402653184,2,{dropdown:0}),(e()(),o["\u0275eld"](2,0,[[2,0],["dropdownElement",1]],null,2,"div",[["type","button"]],[[8,"tabIndex",0],[2,"empty",null]],[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(e.component.togglePanel(),o=!1),o},null,null)),(e()(),o["\u0275ted"](3,null,[" ",""])),(e()(),o["\u0275eld"](4,0,null,null,0,"i",[["class","bhi-collapse"]],null,null,null,null,null)),(e()(),o["\u0275eld"](5,16777216,null,null,7,"novo-overlay-template",[["position","center"]],null,[[null,"closing"]],function(e,t,n){var o=!0;return"closing"===t&&(o=!1!==e.component.dropdown.nativeElement.focus()&&o),o},xs,Ss)),o["\u0275did"](6,180224,[[1,4]],0,x.Rc,[So.a,o.ViewContainerRef,o.NgZone,o.ChangeDetectorRef,[2,r.e]],{position:[0,"position"],parent:[1,"parent"]},{closing:"closing"}),(e()(),o["\u0275eld"](7,0,null,0,5,"ul",[["class","novo-select-list"],["tabIndex","-1"]],[[2,"header",null],[2,"active",null]],null,null,null,null)),o["\u0275ncd"](null,0),(e()(),o["\u0275and"](16777216,null,null,1,null,Vs)),o["\u0275did"](10,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,$s)),o["\u0275did"](12,278528,null,0,r.l,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(e,t){var n=t.component;e(t,6,0,"center",n.element),e(t,10,0,n.headerConfig),e(t,12,0,n.filteredOptions)},function(e,t){var n=t.component;e(t,2,0,o["\u0275inlineInterpolate"](1,"",n.disabled?-1:0,""),n.empty),e(t,3,0,n.selected.label),e(t,7,0,n.headerConfig,n.panelOpen)})}var Ws=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function Ks(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,6,"div",[],null,[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.toggle(n)&&o),o},null,null)),(e()(),o["\u0275eld"](1,0,null,null,3,"div",[["class","novo-switch-container"]],null,null,null,null,null)),(e()(),o["\u0275eld"](2,0,null,null,0,"div",[["class","novo-switch-bar"]],null,null,null,null,null)),(e()(),o["\u0275eld"](3,0,null,null,1,"div",[["class","novo-switch-thumb-container"]],null,null,null,null,null)),(e()(),o["\u0275eld"](4,0,null,null,0,"div",[["class","novo-switch-thumb"]],null,null,null,null,null)),(e()(),o["\u0275eld"](5,0,null,null,1,"div",[["class","novo-switch-label"]],null,null,null,null,null)),o["\u0275ncd"](null,0)],null,null)}var Gs=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function qs(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,0,"i",[["class","bhi-more"]],null,null,null,null,null))],null,null)}function zs(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,0,"i",[],[[8,"className",0]],null,null,null,null))],null,function(e,t){var n=t.component;e(t,0,0,o["\u0275inlineInterpolate"](2,"bhi-",null==n.config?null:n.config.entityIcon," entity-icon ",null==n.config?null:n.config.entityIcon,""))})}function Ys(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,0,"i",[["class","bhi-search"]],null,null,null,null,null))],null,null)}function Zs(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,0,"i",[["class","bhi-times"]],[[2,"entity-selected",null]],[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.clearValue(!0)&&o),o},null,null))],null,function(e,t){var n=t.component;e(t,0,0,(null==n.config?null:n.config.entityIcon)&&n._value)})}function Js(e){return o["\u0275vid"](0,[o["\u0275qud"](402653184,1,{results:0}),o["\u0275qud"](402653184,2,{container:0}),o["\u0275qud"](402653184,3,{input:0}),(e()(),o["\u0275and"](16777216,null,null,1,null,qs)),o["\u0275did"](4,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,zs)),o["\u0275did"](6,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275eld"](7,0,[[3,0],["input",1]],null,5,"input",[["autocomplete","off"],["class","picker-input"],["type","text"]],[[2,"entity-picker",null],[2,"entity-selected",null],[8,"placeholder",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"click"],[null,"blur"],[null,"input"],[null,"compositionstart"],[null,"compositionend"]],function(e,t,n){var r=!0,i=e.component;return"input"===t&&(r=!1!==o["\u0275nov"](e,8)._handleInput(n.target.value)&&r),"blur"===t&&(r=!1!==o["\u0275nov"](e,8).onTouched()&&r),"compositionstart"===t&&(r=!1!==o["\u0275nov"](e,8)._compositionStart()&&r),"compositionend"===t&&(r=!1!==o["\u0275nov"](e,8)._compositionEnd(n.target.value)&&r),"ngModelChange"===t&&(r=!1!==(i.term=n)&&r),"ngModelChange"===t&&(r=!1!==i.checkTerm(n)&&r),"keydown"===t&&(r=!1!==i.onKeyDown(n)&&r),"focus"===t&&(r=!1!==i.onFocus(n)&&r),"click"===t&&(r=!1!==i.onFocus(n)&&r),"blur"===t&&(r=!1!==i.onTouched(n)&&r),r},null,null)),o["\u0275did"](8,16384,null,0,Ao.DefaultValueAccessor,[o.Renderer2,o.ElementRef,[2,Ao.COMPOSITION_BUFFER_MODE]],null,null),o["\u0275prd"](1024,null,Ao.NG_VALUE_ACCESSOR,function(e){return[e]},[Ao.DefaultValueAccessor]),o["\u0275did"](10,671744,null,0,Ao.NgModel,[[8,null],[8,null],[8,null],[6,Ao.NG_VALUE_ACCESSOR]],{isDisabled:[0,"isDisabled"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,Ao.NgControl,null,[Ao.NgModel]),o["\u0275did"](12,16384,null,0,Ao.NgControlStatus,[[4,Ao.NgControl]],null,null),(e()(),o["\u0275and"](16777216,null,null,1,null,Ys)),o["\u0275did"](14,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Zs)),o["\u0275did"](16,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275eld"](17,16777216,null,null,3,"novo-overlay-template",[["class","picker-results-container"],["position","above-below"]],null,[[null,"closing"]],function(e,t,n){var o=!0;return"closing"===t&&(o=!1!==e.component.onOverlayClosed()&&o),o},xs,Ss)),o["\u0275did"](18,180224,[[2,4]],0,x.Rc,[So.a,o.ViewContainerRef,o.NgZone,o.ChangeDetectorRef,[2,r.e]],{position:[0,"position"],parent:[1,"parent"]},{closing:"closing"}),(e()(),o["\u0275eld"](19,16777216,[[1,3],["results",1]],0,0,"span",[],null,null,null,null,null)),o["\u0275ncd"](0,0)],function(e,t){var n=t.component;e(t,4,0,(null==n.config?null:n.config.entityIcon)&&!n._value),e(t,6,0,(null==n.config?null:n.config.entityIcon)&&n._value),e(t,10,0,n.disablePickerInput,n.term),e(t,14,0,(!n._value||n.clearValueOnSelect)&&!n.disablePickerInput),e(t,16,0,n._value&&!n.clearValueOnSelect&&!n.disablePickerInput),e(t,18,0,"above-below",n.element)},function(e,t){var n=t.component;e(t,7,0,null==n.config?null:n.config.entityIcon,(null==n.config?null:n.config.entityIcon)&&n._value,n.placeholder,o["\u0275nov"](t,12).ngClassUntouched,o["\u0275nov"](t,12).ngClassTouched,o["\u0275nov"](t,12).ngClassPristine,o["\u0275nov"](t,12).ngClassDirty,o["\u0275nov"](t,12).ngClassValid,o["\u0275nov"](t,12).ngClassInvalid,o["\u0275nov"](t,12).ngClassPending)})}var Xs=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function Qs(e){return o["\u0275vid"](2,[o["\u0275qud"](402653184,1,{overlay:0}),o["\u0275qud"](402653184,2,{input:0}),(e()(),o["\u0275eld"](2,16777216,null,null,2,"button",[["data-automation-id","novo-search-fab"],["theme","fab"],["tooltipPosition","bottom"]],[[1,"theme",0],[1,"color",0],[1,"icon",0],[1,"loading",0],[1,"side",0],[1,"data-hint",0]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],function(e,t,n){var r=!0,i=e.component;return"mouseenter"===t&&(r=!1!==o["\u0275nov"](e,4).onMouseEnter()&&r),"mouseleave"===t&&(r=!1!==o["\u0275nov"](e,4).onMouseLeave()&&r),"click"===t&&(r=!1!==i.showSearch()&&r),r},Ga,$a)),o["\u0275did"](3,49152,null,0,x.De,[],{color:[0,"color"],theme:[1,"theme"],icon:[2,"icon"]},null),o["\u0275did"](4,212992,null,0,x.Ge,[So.a,o.ViewContainerRef,o.ElementRef],{tooltip:[0,"tooltip"],position:[1,"position"]},null),(e()(),o["\u0275eld"](5,0,[[2,0],["input",1]],null,0,"input",[["data-automation-id","novo-search-input"],["type","text"]],[[1,"name",0],[1,"value",0],[1,"placeholder",0]],[[null,"focus"],[null,"blur"],[null,"keydown"],[null,"input"]],function(e,t,n){var o=!0,r=e.component;return"focus"===t&&(o=!1!==r.onFocus()&&o),"blur"===t&&(o=!1!==r.onBlur()&&o),"keydown"===t&&(o=!1!==r._handleKeydown(n)&&o),"input"===t&&(o=!1!==r._handleInput(n)&&o),o},null,null)),(e()(),o["\u0275eld"](6,16777216,null,null,2,"novo-overlay-template",[["position","above-below"]],null,[[null,"select"],[null,"closing"]],function(e,t,n){var o=!0,r=e.component;return"select"===t&&(o=!1!==r.closePanel()&&o),"closing"===t&&(o=!1!==r.onBlur()&&o),o},xs,Ss)),o["\u0275did"](7,180224,[[1,4]],0,x.Rc,[So.a,o.ViewContainerRef,o.NgZone,o.ChangeDetectorRef,[2,r.e]],{position:[0,"position"],closeOnSelect:[1,"closeOnSelect"],parent:[2,"parent"]},{select:"select",closing:"closing"}),o["\u0275ncd"](0,0)],function(e,t){var n=t.component;e(t,3,0,n.theme,"fab",n.icon),e(t,4,0,n.hint,"bottom"),e(t,7,0,"above-below",n.closeOnSelect,n.element)},function(e,t){var n=t.component;e(t,2,0,o["\u0275nov"](t,3).theme,o["\u0275nov"](t,3).color,o["\u0275nov"](t,3).icon,o["\u0275nov"](t,3).loading,o["\u0275nov"](t,3).side,o["\u0275nov"](t,4).tooltip),e(t,5,0,n.name,n.displayValue,n.placeholder)})}var el=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function tl(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,0,"i",[["class","bhi-circle"]],null,null,null,null,null))],null,null)}function nl(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,0,"i",[["class","bhi-close"]],null,[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.onRemove(n)&&o),o},null,null))],null,null)}function ol(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,5,"span",[],null,[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],function(e,t,n){var o=!0,r=e.component;return"click"===t&&(o=!1!==r.onSelect(n)&&o),"mouseenter"===t&&(o=!1!==r.onSelect(n)&&o),"mouseleave"===t&&(o=!1!==r.onDeselect(n)&&o),o},null,null)),o["\u0275did"](1,278528,null,0,r.k,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{ngClass:[0,"ngClass"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,tl)),o["\u0275did"](3,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275eld"](4,0,null,null,1,"span",[],null,null,null,null,null)),o["\u0275ncd"](null,0),(e()(),o["\u0275and"](16777216,null,null,1,null,nl)),o["\u0275did"](7,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,1,0,n._type),e(t,3,0,n._type),e(t,7,0,!n.disabled)},null)}var rl=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function il(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"novo-chip",[],[[2,"selected",null]],[[null,"remove"],[null,"select"],[null,"deselect"]],function(e,t,n){var o=!0,r=e.component;return"remove"===t&&(o=!1!==r.remove(n,e.context.$implicit)&&o),"select"===t&&(o=!1!==r.select(n,e.context.$implicit)&&o),"deselect"===t&&(o=!1!==r.deselect(n,e.context.$implicit)&&o),o},ol,el)),o["\u0275did"](1,49152,null,0,x.cd,[],{type:[0,"type"],disabled:[1,"disabled"]},{select:"select",remove:"remove",deselect:"deselect"}),(e()(),o["\u0275ted"](2,0,[" "," "]))],function(e,t){var n=t.component;e(t,1,0,n.type||(null==t.context.$implicit?null:null==t.context.$implicit.value?null:t.context.$implicit.value.searchEntity),n.disablePickerInput)},function(e,t){e(t,0,0,t.context.$implicit==t.component.selected),e(t,2,0,t.context.$implicit.label)})}function al(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,6,"div",[["class","chip-input-container"]],null,null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,5,"novo-picker",[["clearValueOnSelect","true"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"select"],[null,"keydown"],[null,"focus"],[null,"typing"],[null,"blur"]],function(e,t,n){var o=!0,r=e.component;return"ngModelChange"===t&&(o=!1!==(r.itemToAdd=n)&&o),"select"===t&&(o=!1!==r.add(n)&&o),"keydown"===t&&(o=!1!==r.onKeyDown(n)&&o),"focus"===t&&(o=!1!==r.onFocus(n)&&o),"typing"===t&&(o=!1!==r.onTyping(n)&&o),"blur"===t&&(o=!1!==r.onTouched(n)&&o),o},Js,Gs)),o["\u0275did"](2,114688,null,0,x.Yc,[o.ElementRef,x.d,o.ChangeDetectorRef],{config:[0,"config"],placeholder:[1,"placeholder"],clearValueOnSelect:[2,"clearValueOnSelect"],closeOnSelect:[3,"closeOnSelect"],selected:[4,"selected"],overrideElement:[5,"overrideElement"],disablePickerInput:[6,"disablePickerInput"]},{select:"select",focus:"focus",blur:"blur",typing:"typing"}),o["\u0275prd"](1024,null,Ao.NG_VALUE_ACCESSOR,function(e){return[e]},[x.Yc]),o["\u0275did"](4,671744,null,0,Ao.NgModel,[[8,null],[8,null],[8,null],[6,Ao.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,Ao.NgControl,null,[Ao.NgModel]),o["\u0275did"](6,16384,null,0,Ao.NgControlStatus,[[4,Ao.NgControl]],null,null)],function(e,t){var n=t.component;e(t,2,0,n.source,n.placeholder,"true",n.closeOnSelect,n.items,n.element,n.disablePickerInput),e(t,4,0,n.itemToAdd)},function(e,t){e(t,1,0,o["\u0275nov"](t,6).ngClassUntouched,o["\u0275nov"](t,6).ngClassTouched,o["\u0275nov"](t,6).ngClassPristine,o["\u0275nov"](t,6).ngClassDirty,o["\u0275nov"](t,6).ngClassValid,o["\u0275nov"](t,6).ngClassInvalid,o["\u0275nov"](t,6).ngClassPending)})}function sl(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,0,"i",[["class","bhi-search"]],[[2,"has-value",null]],null,null,null,null))],null,function(e,t){e(t,0,0,t.component.items.length)})}function ll(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"label",[["class","clear-all"]],null,[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.clearValue()&&o),o},null,null)),(e()(),o["\u0275ted"](1,null,[""," "])),(e()(),o["\u0275eld"](2,0,null,null,0,"i",[["class","bhi-times"]],null,null,null,null,null))],null,function(e,t){e(t,1,0,t.component.labels.clearAll)})}function cl(e){return o["\u0275vid"](0,[o["\u0275qud"](402653184,1,{preview:0}),(e()(),o["\u0275eld"](1,0,null,null,3,"div",[["class","novo-chip-container"]],null,null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,2,null,il)),o["\u0275did"](3,278528,null,0,r.l,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),o["\u0275pid"](131072,r.b,[o.ChangeDetectorRef]),(e()(),o["\u0275and"](16777216,null,null,1,null,al)),o["\u0275did"](6,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275eld"](7,0,null,null,1,"div",[["class","preview-container"]],null,null,null,null,null)),(e()(),o["\u0275eld"](8,16777216,[[1,3],["preview",1]],null,0,"span",[],null,null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,sl)),o["\u0275did"](10,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,ll)),o["\u0275did"](12,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,3,0,o["\u0275unv"](t,3,0,o["\u0275nov"](t,4).transform(n._items))),e(t,6,0,!n.maxlength||n.maxlength&&n.items.length<n.maxlength),e(t,10,0,!n.disablePickerInput),e(t,12,0,n.items.length&&!n.disablePickerInput)},null)}var ul=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function dl(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,0,"i",[["class","bhi-delete-o"]],null,[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.onRemove(n)&&o),o},null,null))],null,null)}function hl(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,3,"div",[["class","novo-row-chips-columns"]],null,null,null,null,null)),o["\u0275ncd"](null,0),(e()(),o["\u0275and"](16777216,null,null,1,null,dl)),o["\u0275did"](3,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){e(t,3,0,!t.component.disabled)},null)}var pl=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function fl(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"div",[["class","column-label"]],null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,["",""]))],null,function(e,t){e(t,1,0,t.context.$implicit.label)})}function ml(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"div",[["class","novo-row-chips-columns"]],null,null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,fl)),o["\u0275did"](2,278528,null,0,r.l,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(e,t){e(t,2,0,t.component.source.columns)},null)}function gl(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"div",[["class","novo-row-chips-empty-message"]],null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,["",""]))],null,function(e,t){e(t,1,0,t.component.source.emptyReadOnlyMessage)})}function vl(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"div",[["class","column-data"]],null,null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),o["\u0275ted"](2,null,["",""]))],null,function(e,t){var n=t.context.$implicit.data(t.parent.context.$implicit);e(t,2,0,n)})}function _l(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,3,"novo-row-chip",[],[[2,"selected",null]],[[null,"remove"],[null,"select"]],function(e,t,n){var o=!0,r=e.component;return"remove"===t&&(o=!1!==r.remove(n,e.context.$implicit)&&o),"select"===t&&(o=!1!==r.select(n,e.context.$implicit)&&o),o},hl,ul)),o["\u0275did"](1,49152,null,0,x.ed,[],{type:[0,"type"],disabled:[1,"disabled"]},{select:"select",remove:"remove"}),(e()(),o["\u0275and"](16777216,null,0,1,null,vl)),o["\u0275did"](3,278528,null,0,r.l,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(e,t){var n=t.component;e(t,1,0,n.type||(null==t.context.$implicit?null:null==t.context.$implicit.value?null:t.context.$implicit.value.searchEntity),n.disablePickerInput),e(t,3,0,n.source.columns)},function(e,t){e(t,0,0,t.context.$implicit==t.component.selected)})}function yl(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,5,"novo-picker",[["clearValueOnSelect","true"]],[[8,"hidden",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"select"],[null,"keydown"],[null,"focus"],[null,"typing"],[null,"blur"]],function(e,t,n){var o=!0,r=e.component;return"ngModelChange"===t&&(o=!1!==(r.itemToAdd=n)&&o),"select"===t&&(o=!1!==r.add(n)&&o),"keydown"===t&&(o=!1!==r.onKeyDown(n)&&o),"focus"===t&&(o=!1!==r.onFocus(n)&&o),"typing"===t&&(o=!1!==r.onTyping(n)&&o),"blur"===t&&(o=!1!==r.onTouched(n)&&o),o},Js,Gs)),o["\u0275did"](1,114688,null,0,x.Yc,[o.ElementRef,x.d,o.ChangeDetectorRef],{config:[0,"config"],placeholder:[1,"placeholder"],clearValueOnSelect:[2,"clearValueOnSelect"],closeOnSelect:[3,"closeOnSelect"],selected:[4,"selected"],overrideElement:[5,"overrideElement"],disablePickerInput:[6,"disablePickerInput"]},{select:"select",focus:"focus",blur:"blur",typing:"typing"}),o["\u0275prd"](1024,null,Ao.NG_VALUE_ACCESSOR,function(e){return[e]},[x.Yc]),o["\u0275did"](3,671744,null,0,Ao.NgModel,[[8,null],[8,null],[8,null],[6,Ao.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,Ao.NgControl,null,[Ao.NgModel]),o["\u0275did"](5,16384,null,0,Ao.NgControlStatus,[[4,Ao.NgControl]],null,null)],function(e,t){var n=t.component;e(t,1,0,n.source,n.placeholder,"true",n.closeOnSelect,n.items,n.element,n.disablePickerInput),e(t,3,0,n.itemToAdd)},function(e,t){e(t,0,0,t.component.disablePickerInput,o["\u0275nov"](t,5).ngClassUntouched,o["\u0275nov"](t,5).ngClassTouched,o["\u0275nov"](t,5).ngClassPristine,o["\u0275nov"](t,5).ngClassDirty,o["\u0275nov"](t,5).ngClassValid,o["\u0275nov"](t,5).ngClassInvalid,o["\u0275nov"](t,5).ngClassPending)})}function bl(e){return o["\u0275vid"](0,[o["\u0275qud"](402653184,1,{preview:0}),(e()(),o["\u0275and"](16777216,null,null,1,null,ml)),o["\u0275did"](2,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,gl)),o["\u0275did"](4,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,2,null,_l)),o["\u0275did"](6,278528,null,0,r.l,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),o["\u0275pid"](131072,r.b,[o.ChangeDetectorRef]),(e()(),o["\u0275and"](16777216,null,null,1,null,yl)),o["\u0275did"](9,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275eld"](10,0,null,null,1,"div",[["class","preview-container"]],null,null,null,null,null)),(e()(),o["\u0275eld"](11,16777216,[[1,3],["preview",1]],null,0,"span",[],null,null,null,null,null))],function(e,t){var n=t.component;e(t,2,0,n.items.length>0),e(t,4,0,n.source.emptyReadOnlyMessage&&n.disablePickerInput&&0===n.items.length),e(t,6,0,o["\u0275unv"](t,6,0,o["\u0275nov"](t,7).transform(n._items))),e(t,9,0,!n.maxlength||n.maxlength&&n.items.length<n.maxlength)},null)}var Cl=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function El(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,0,"i",[["class","bhi-calendar"]],null,[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.openPanel()&&o),o},null,null))],null,null)}function wl(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,0,"i",[["class","bhi-times"]],null,[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.clearValue()&&o),o},null,null))],null,null)}function kl(e){return o["\u0275vid"](0,[o["\u0275qud"](402653184,1,{overlay:0}),(e()(),o["\u0275eld"](1,0,[["input",1]],null,6,"input",[["data-automation-id","date-input"],["type","text"]],[[8,"placeholder",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"focus"],[null,"keydown"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(e,t,n){var r=!0,i=e.component;return"input"===t&&(r=!1!==o["\u0275nov"](e,2)._handleInput(n.target.value)&&r),"blur"===t&&(r=!1!==o["\u0275nov"](e,2).onTouched()&&r),"compositionstart"===t&&(r=!1!==o["\u0275nov"](e,2)._compositionStart()&&r),"compositionend"===t&&(r=!1!==o["\u0275nov"](e,2)._compositionEnd(n.target.value)&&r),"input"===t&&(r=!1!==o["\u0275nov"](e,3)._handleInput(n.target.value)&&r),"blur"===t&&(r=!1!==o["\u0275nov"](e,3).onTouched()&&r),"compositionstart"===t&&(r=!1!==o["\u0275nov"](e,3)._compositionStart()&&r),"compositionend"===t&&(r=!1!==o["\u0275nov"](e,3)._compositionEnd(n.target.value)&&r),"ngModelChange"===t&&(r=!1!==(i.formattedValue=n)&&r),"focus"===t&&(r=!1!==i._handleFocus(n)&&r),"keydown"===t&&(r=!1!==i._handleKeydown(n)&&r),"input"===t&&(r=!1!==i._handleInput(n)&&r),"blur"===t&&(r=!1!==i._handleBlur(n)&&r),r},null,null)),o["\u0275did"](2,16384,null,0,Ao.DefaultValueAccessor,[o.Renderer2,o.ElementRef,[2,Ao.COMPOSITION_BUFFER_MODE]],null,null),o["\u0275did"](3,540672,null,0,Mo.MaskedInputDirective,[o.Renderer2,o.ElementRef,[2,Ao.COMPOSITION_BUFFER_MODE]],{textMaskConfig:[0,"textMaskConfig"]},null),o["\u0275prd"](1024,null,Ao.NG_VALUE_ACCESSOR,function(e,t){return[e,t]},[Ao.DefaultValueAccessor,Mo.MaskedInputDirective]),o["\u0275did"](5,671744,null,0,Ao.NgModel,[[8,null],[8,null],[8,null],[6,Ao.NG_VALUE_ACCESSOR]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,Ao.NgControl,null,[Ao.NgModel]),o["\u0275did"](7,16384,null,0,Ao.NgControlStatus,[[4,Ao.NgControl]],null,null),(e()(),o["\u0275and"](16777216,null,null,1,null,El)),o["\u0275did"](9,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,wl)),o["\u0275did"](11,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275eld"](12,16777216,null,null,7,"novo-overlay-template",[["position","above-below"]],null,null,null,xs,Ss)),o["\u0275did"](13,180224,[[1,4]],0,x.Rc,[So.a,o.ViewContainerRef,o.NgZone,o.ChangeDetectorRef,[2,r.e]],{position:[0,"position"],parent:[1,"parent"]},null),(e()(),o["\u0275eld"](14,0,null,0,5,"novo-date-picker",[["inline","true"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"onSelect"]],function(e,t,n){var o=!0;return"onSelect"===t&&(o=!1!==e.component.setValueAndClose(n)&&o),o},Go,No)),o["\u0275did"](15,638976,null,0,x.D,[x.T,o.ElementRef],{start:[0,"start"],end:[1,"end"],inline:[2,"inline"]},{onSelect:"onSelect"}),o["\u0275prd"](1024,null,Ao.NG_VALUE_ACCESSOR,function(e){return[e]},[x.D]),o["\u0275did"](17,671744,null,0,Ao.NgModel,[[8,null],[8,null],[8,null],[6,Ao.NG_VALUE_ACCESSOR]],{model:[0,"model"]},null),o["\u0275prd"](2048,null,Ao.NgControl,null,[Ao.NgModel]),o["\u0275did"](19,16384,null,0,Ao.NgControlStatus,[[4,Ao.NgControl]],null,null)],function(e,t){var n=t.component;e(t,3,0,n.maskOptions),e(t,5,0,n.name,n.disabled,n.formattedValue),e(t,9,0,!n.hasValue),e(t,11,0,n.hasValue),e(t,13,0,"above-below",n.element),e(t,15,0,n.start,n.end,"true"),e(t,17,0,n.value)},function(e,t){e(t,1,0,t.component.placeholder,o["\u0275nov"](t,7).ngClassUntouched,o["\u0275nov"](t,7).ngClassTouched,o["\u0275nov"](t,7).ngClassPristine,o["\u0275nov"](t,7).ngClassDirty,o["\u0275nov"](t,7).ngClassValid,o["\u0275nov"](t,7).ngClassInvalid,o["\u0275nov"](t,7).ngClassPending),e(t,14,0,o["\u0275nov"](t,19).ngClassUntouched,o["\u0275nov"](t,19).ngClassTouched,o["\u0275nov"](t,19).ngClassPristine,o["\u0275nov"](t,19).ngClassDirty,o["\u0275nov"](t,19).ngClassValid,o["\u0275nov"](t,19).ngClassInvalid,o["\u0275nov"](t,19).ngClassPending)})}var Al=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function Sl(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,5,"span",[["class","digital--clock"]],null,null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,1,"span",[["class","hours"],["data-automation-id","novo-time-picker-hours"]],null,null,null,null,null)),(e()(),o["\u0275ted"](2,null,["",""])),(e()(),o["\u0275ted"](-1,null,[":"])),(e()(),o["\u0275eld"](4,0,null,null,1,"span",[["class","minutes"],["data-automation-id","novo-time-picker-minutes"]],null,null,null,null,null)),(e()(),o["\u0275ted"](5,null,["",""]))],null,function(e,t){var n=t.component;e(t,2,0,n.hours),e(t,5,0,n.minutes)})}function Ol(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"span",[["class","digital--period"]],[[2,"active",null],[1,"data-automation-id",0]],[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.setPeriod(n,e.context.$implicit,!0)&&o),o},null,null)),(e()(),o["\u0275ted"](1,null,["",""]))],null,function(e,t){e(t,0,0,t.component.meridian==t.context.$implicit,t.context.$implicit),e(t,1,0,t.context.$implicit)})}function xl(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"div",[["class","control-block"]],null,null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,Ol)),o["\u0275did"](2,278528,null,0,r.l,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(e,t){e(t,2,0,t.component.MERIDIANS)},null)}function Dl(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,0,"i",[["class","bhi-check"]],null,null,null,null,null))],null,null)}function Tl(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,6,"novo-list-item",[],[[2,"active",null],[1,"data-automation-id",0]],[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.setValue(n,e.context.$implicit)&&o),o},ua,ca)),o["\u0275did"](1,114688,null,0,x.de,[o.ElementRef],null,null),(e()(),o["\u0275eld"](2,0,null,1,2,"item-content",[],[[2,"vertical-list",null],[2,"horizontal-list",null]],null,null,Ca,ba)),o["\u0275did"](3,49152,null,0,x.ye,[],null,null),(e()(),o["\u0275ted"](4,0,["",""])),(e()(),o["\u0275and"](16777216,null,2,1,null,Dl)),o["\u0275did"](6,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,1,0),e(t,6,0,t.context.$implicit==n.selected)},function(e,t){e(t,0,0,t.context.$implicit==t.component.selected,t.context.$implicit),e(t,2,0,"vertical"===o["\u0275nov"](t,3).direction,"horizontal"===o["\u0275nov"](t,3).direction),e(t,4,0,t.context.$implicit)})}function Rl(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,4,"div",[["class","increments"]],null,null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,3,"novo-list",[["data-automation-id","novo-time-picker-increments"],["direction","vertical"]],[[2,"vertical-list",null],[2,"horizontal-list",null],[1,"theme",0]],null,null,Aa,ka)),o["\u0275did"](2,49152,null,0,x.U,[o.ElementRef],{direction:[0,"direction"]},null),(e()(),o["\u0275and"](16777216,null,0,1,null,Tl)),o["\u0275did"](4,278528,null,0,r.l,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(e,t){var n=t.component;e(t,2,0,"vertical"),e(t,4,0,n.increments)},function(e,t){e(t,1,0,"vertical"===o["\u0275nov"](t,2).direction,"horizontal"===o["\u0275nov"](t,2).direction,o["\u0275nov"](t,2).theme)})}function Pl(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,3,"span",[["class","analog--hour"]],[[1,"data-automation-id",0]],[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.setHours(n,e.context.$implicit,!0)&&o),o},null,null)),o["\u0275did"](1,278528,null,0,r.k,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["\u0275pod"](2,{active:0}),(e()(),o["\u0275ted"](3,null,["",""]))],function(e,t){var n=e(t,2,0,t.component.activeHour==t.context.$implicit);e(t,1,0,"analog--hour",n)},function(e,t){e(t,0,0,t.context.$implicit),e(t,3,0,t.context.$implicit)})}function Ml(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,3,"span",[["class","analog--minute"]],[[1,"data-automation-id",0]],[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.setMinutes(n,e.context.$implicit,!0)&&o),o},null,null)),o["\u0275did"](1,278528,null,0,r.k,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["\u0275pod"](2,{active:0}),(e()(),o["\u0275ted"](3,null,["",""]))],function(e,t){var n=e(t,2,0,t.component.activeMinute==t.context.$implicit);e(t,1,0,"analog--minute",n)},function(e,t){e(t,0,0,t.context.$implicit),e(t,3,0,t.context.$implicit)})}function Il(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,17,"div",[["class","analog"]],null,null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,16,"div",[["class","analog--inner"]],null,null,null,null,null)),(e()(),o["\u0275eld"](2,0,null,null,9,"div",[["class","analog--face"]],null,null,null,null,null)),(e()(),o["\u0275eld"](3,0,null,null,0,"span",[["class","analog--center"]],null,null,null,null,null)),(e()(),o["\u0275eld"](4,0,null,null,2,"span",[["class","analog--hand--hours"]],null,null,null,null,null)),o["\u0275did"](5,278528,null,0,r.k,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(e()(),o["\u0275eld"](6,0,null,null,0,"span",[["class","analog--ball"]],null,null,null,null,null)),(e()(),o["\u0275eld"](7,0,null,null,4,"span",[["class","analog--hand--minutes"]],null,null,null,null,null)),o["\u0275did"](8,278528,null,0,r.k,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(e()(),o["\u0275eld"](9,0,null,null,2,"span",[["class","analog--ball"]],null,null,null,null,null)),o["\u0275did"](10,278528,null,0,r.k,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["\u0275pod"](11,{between:0}),(e()(),o["\u0275eld"](12,0,null,null,2,"div",[["class","analog--hours"]],null,null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,Pl)),o["\u0275did"](14,278528,null,0,r.l,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),o["\u0275eld"](15,0,null,null,2,"div",[["class","analog--minutes"]],null,null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,Ml)),o["\u0275did"](17,278528,null,0,r.l,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(e,t){var n=t.component;e(t,5,0,"analog--hand--hours",n.hoursClass),e(t,8,0,"analog--hand--minutes",n.minutesClass);var o=e(t,11,0,n.inBetween);e(t,10,0,"analog--ball",o),e(t,14,0,n.HOURS),e(t,17,0,n.MINUTES)},null)}function Fl(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,5,"div",[["class","digital"]],[[2,"inline",null],[2,"military",null]],null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,4,"div",[["class","digital--inner"]],null,null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,Sl)),o["\u0275did"](3,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,xl)),o["\u0275did"](5,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Rl)),o["\u0275did"](7,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Il)),o["\u0275did"](9,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,3,0,!n.inline),e(t,5,0,!n.military),e(t,7,0,!n.analog),e(t,9,0,n.analog)},function(e,t){var n=t.component;e(t,0,0,n.inline,n.military)})}var Ll=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function Bl(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,0,"i",[["class","bhi-clock"]],null,[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.openPanel()&&o),o},null,null))],null,null)}function Nl(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,0,"i",[["class","bhi-times"]],null,[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.clearValue()&&o),o},null,null))],null,null)}function jl(e){return o["\u0275vid"](0,[o["\u0275qud"](402653184,1,{overlay:0}),(e()(),o["\u0275eld"](1,0,[["input",1]],null,6,"input",[["data-automation-id","time-input"],["type","text"]],[[8,"placeholder",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"focus"],[null,"keydown"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(e,t,n){var r=!0,i=e.component;return"input"===t&&(r=!1!==o["\u0275nov"](e,2)._handleInput(n.target.value)&&r),"blur"===t&&(r=!1!==o["\u0275nov"](e,2).onTouched()&&r),"compositionstart"===t&&(r=!1!==o["\u0275nov"](e,2)._compositionStart()&&r),"compositionend"===t&&(r=!1!==o["\u0275nov"](e,2)._compositionEnd(n.target.value)&&r),"input"===t&&(r=!1!==o["\u0275nov"](e,3)._handleInput(n.target.value)&&r),"blur"===t&&(r=!1!==o["\u0275nov"](e,3).onTouched()&&r),"compositionstart"===t&&(r=!1!==o["\u0275nov"](e,3)._compositionStart()&&r),"compositionend"===t&&(r=!1!==o["\u0275nov"](e,3)._compositionEnd(n.target.value)&&r),"ngModelChange"===t&&(r=!1!==(i.formattedValue=n)&&r),"focus"===t&&(r=!1!==i._handleFocus(n)&&r),"keydown"===t&&(r=!1!==i._handleKeydown(n)&&r),"input"===t&&(r=!1!==i._handleInput(n)&&r),"blur"===t&&(r=!1!==i._handleBlur(n)&&r),r},null,null)),o["\u0275did"](2,16384,null,0,Ao.DefaultValueAccessor,[o.Renderer2,o.ElementRef,[2,Ao.COMPOSITION_BUFFER_MODE]],null,null),o["\u0275did"](3,540672,null,0,Mo.MaskedInputDirective,[o.Renderer2,o.ElementRef,[2,Ao.COMPOSITION_BUFFER_MODE]],{textMaskConfig:[0,"textMaskConfig"]},null),o["\u0275prd"](1024,null,Ao.NG_VALUE_ACCESSOR,function(e,t){return[e,t]},[Ao.DefaultValueAccessor,Mo.MaskedInputDirective]),o["\u0275did"](5,671744,null,0,Ao.NgModel,[[8,null],[8,null],[8,null],[6,Ao.NG_VALUE_ACCESSOR]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,Ao.NgControl,null,[Ao.NgModel]),o["\u0275did"](7,16384,null,0,Ao.NgControlStatus,[[4,Ao.NgControl]],null,null),(e()(),o["\u0275and"](16777216,null,null,1,null,Bl)),o["\u0275did"](9,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Nl)),o["\u0275did"](11,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275eld"](12,16777216,null,null,7,"novo-overlay-template",[["position","above-below"]],null,null,null,xs,Ss)),o["\u0275did"](13,180224,[[1,4]],0,x.Rc,[So.a,o.ViewContainerRef,o.NgZone,o.ChangeDetectorRef,[2,r.e]],{position:[0,"position"],parent:[1,"parent"]},null),(e()(),o["\u0275eld"](14,0,null,0,5,"novo-time-picker",[["inline","true"]],[[2,"military",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"onSelect"]],function(e,t,n){var o=!0;return"onSelect"===t&&(o=!1!==e.component.setValue(n)&&o),o},Fl,Al)),o["\u0275did"](15,638976,null,0,x.id,[],{military:[0,"military"],inline:[1,"inline"]},{onSelect:"onSelect"}),o["\u0275prd"](1024,null,Ao.NG_VALUE_ACCESSOR,function(e){return[e]},[x.id]),o["\u0275did"](17,671744,null,0,Ao.NgModel,[[8,null],[8,null],[8,null],[6,Ao.NG_VALUE_ACCESSOR]],{model:[0,"model"]},null),o["\u0275prd"](2048,null,Ao.NgControl,null,[Ao.NgModel]),o["\u0275did"](19,16384,null,0,Ao.NgControlStatus,[[4,Ao.NgControl]],null,null)],function(e,t){var n=t.component;e(t,3,0,n.maskOptions),e(t,5,0,n.name,n.disabled,n.formattedValue),e(t,9,0,!n.hasValue),e(t,11,0,n.hasValue),e(t,13,0,"above-below",n.element),e(t,15,0,n.military,"true"),e(t,17,0,n.value)},function(e,t){e(t,1,0,t.component.placeholder,o["\u0275nov"](t,7).ngClassUntouched,o["\u0275nov"](t,7).ngClassTouched,o["\u0275nov"](t,7).ngClassPristine,o["\u0275nov"](t,7).ngClassDirty,o["\u0275nov"](t,7).ngClassValid,o["\u0275nov"](t,7).ngClassInvalid,o["\u0275nov"](t,7).ngClassPending),e(t,14,0,o["\u0275nov"](t,15).military,o["\u0275nov"](t,19).ngClassUntouched,o["\u0275nov"](t,19).ngClassTouched,o["\u0275nov"](t,19).ngClassPristine,o["\u0275nov"](t,19).ngClassDirty,o["\u0275nov"](t,19).ngClassValid,o["\u0275nov"](t,19).ngClassInvalid,o["\u0275nov"](t,19).ngClassPending)})}var Vl=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function Ul(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,5,"novo-date-picker-input",[],[[2,"disabled",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"blurEvent"],[null,"focusEvent"]],function(e,t,n){var o=!0,r=e.component;return"ngModelChange"===t&&(o=!1!==r.updateDate(n)&&o),"blurEvent"===t&&(o=!1!==r.handleBlur(n)&&o),"focusEvent"===t&&(o=!1!==r.handleFocus(n)&&o),o},kl,Cl)),o["\u0275did"](1,114688,null,0,x.gd,[o.ElementRef,x.T,o.ChangeDetectorRef,x.hd],{start:[0,"start"],end:[1,"end"],maskOptions:[2,"maskOptions"],disabled:[3,"disabled"]},{blurEvent:"blurEvent",focusEvent:"focusEvent"}),o["\u0275prd"](1024,null,Ao.NG_VALUE_ACCESSOR,function(e){return[e]},[x.gd]),o["\u0275did"](3,671744,null,0,Ao.NgModel,[[8,null],[8,null],[8,null],[6,Ao.NG_VALUE_ACCESSOR]],{isDisabled:[0,"isDisabled"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,Ao.NgControl,null,[Ao.NgModel]),o["\u0275did"](5,16384,null,0,Ao.NgControlStatus,[[4,Ao.NgControl]],null,null),(e()(),o["\u0275eld"](6,0,null,null,5,"novo-time-picker-input",[],[[2,"disabled",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"blurEvent"],[null,"focusEvent"]],function(e,t,n){var o=!0,r=e.component;return"ngModelChange"===t&&(o=!1!==r.updateTime(n)&&o),"blurEvent"===t&&(o=!1!==r.handleBlur(n)&&o),"focusEvent"===t&&(o=!1!==r.handleFocus(n)&&o),o},jl,Ll)),o["\u0275did"](7,114688,null,0,x.kd,[o.ElementRef,x.T,x.hd,o.ChangeDetectorRef],{military:[0,"military"],disabled:[1,"disabled"]},{blurEvent:"blurEvent",focusEvent:"focusEvent"}),o["\u0275prd"](1024,null,Ao.NG_VALUE_ACCESSOR,function(e){return[e]},[x.kd]),o["\u0275did"](9,671744,null,0,Ao.NgModel,[[8,null],[8,null],[8,null],[6,Ao.NG_VALUE_ACCESSOR]],{isDisabled:[0,"isDisabled"],model:[1,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,Ao.NgControl,null,[Ao.NgModel]),o["\u0275did"](11,16384,null,0,Ao.NgControlStatus,[[4,Ao.NgControl]],null,null)],function(e,t){var n=t.component;e(t,1,0,n.start,n.end,n.maskOptions,n.disabled),e(t,3,0,n.disabled,n.datePart),e(t,7,0,n.military,n.disabled),e(t,9,0,n.disabled,n.timePart)},function(e,t){e(t,0,0,o["\u0275nov"](t,1).disabled,o["\u0275nov"](t,5).ngClassUntouched,o["\u0275nov"](t,5).ngClassTouched,o["\u0275nov"](t,5).ngClassPristine,o["\u0275nov"](t,5).ngClassDirty,o["\u0275nov"](t,5).ngClassValid,o["\u0275nov"](t,5).ngClassInvalid,o["\u0275nov"](t,5).ngClassPending),e(t,6,0,o["\u0275nov"](t,7).disabled,o["\u0275nov"](t,11).ngClassUntouched,o["\u0275nov"](t,11).ngClassTouched,o["\u0275nov"](t,11).ngClassPristine,o["\u0275nov"](t,11).ngClassDirty,o["\u0275nov"](t,11).ngClassValid,o["\u0275nov"](t,11).ngClassInvalid,o["\u0275nov"](t,11).ngClassPending)})}var $l=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function Hl(e){return o["\u0275vid"](0,[o["\u0275qud"](402653184,1,{host:0}),(e()(),o["\u0275eld"](1,0,[[1,0],["host",1]],null,0,"textarea",[],[[8,"name",0],[8,"id",0]],null,null,null,null))],null,function(e,t){var n=t.component;e(t,1,0,n.name,n.name)})}var Wl=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function Kl(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,0,"i",[],[[8,"className",0],[1,"data-automation-id",0]],null,null,null,null))],null,function(e,t){var n=t.component;e(t,0,0,o["\u0275inlineInterpolate"](1,"bhi-",n.icon,""),"novo-tip-well-icon-"+n.name)})}function Gl(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"p",[],[[1,"data-automation-id",0]],null,null,null,null)),(e()(),o["\u0275ted"](1,null,["",""]))],null,function(e,t){var n=t.component;e(t,0,0,"novo-tip-well-tip-"+n.name),e(t,1,0,n.tip)})}function ql(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,0,"p",[],[[1,"data-automation-id",0],[8,"innerHTML",1]],null,null,null,null))],null,function(e,t){var n=t.component;e(t,0,0,"novo-tip-well-tip-"+n.name,n.tip)})}function zl(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"button",[["theme","dialogue"]],[[1,"data-automation-id",0],[1,"theme",0],[1,"color",0],[1,"icon",0],[1,"loading",0],[1,"side",0]],[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.hideTip()&&o),o},Ga,$a)),o["\u0275did"](1,49152,null,0,x.De,[],{theme:[0,"theme"]},null),(e()(),o["\u0275ted"](2,0,["",""]))],function(e,t){e(t,1,0,"dialogue")},function(e,t){var n=t.component;e(t,0,0,"novo-tip-well-button-"+n.name,o["\u0275nov"](t,1).theme,o["\u0275nov"](t,1).color,o["\u0275nov"](t,1).icon,o["\u0275nov"](t,1).loading,o["\u0275nov"](t,1).side),e(t,2,0,n.buttonText)})}function Yl(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,9,"div",[],null,null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,6,"div",[],null,null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,Kl)),o["\u0275did"](3,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Gl)),o["\u0275did"](5,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,ql)),o["\u0275did"](7,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,zl)),o["\u0275did"](9,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,3,0,n.icon),e(t,5,0,n.sanitize),e(t,7,0,!n.sanitize),e(t,9,0,n.button)},null)}function Zl(e){return o["\u0275vid"](0,[(e()(),o["\u0275and"](16777216,null,null,1,null,Yl)),o["\u0275did"](1,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){e(t,1,0,t.component.isActive)},null)}var Jl=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function Xl(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,["",""]))],null,function(e,t){e(t,1,0,t.component.label)})}function Ql(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,10,"div",[["class","check-box-group"]],[[2,"checked",null],[2,"disabled",null]],null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,5,"input",[["type","checkbox"]],[[1,"id",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"change"],[null,"blur"]],function(e,t,n){var r=!0,i=e.component;return"change"===t&&(r=!1!==o["\u0275nov"](e,2).onChange(n.target.checked)&&r),"blur"===t&&(r=!1!==o["\u0275nov"](e,2).onTouched()&&r),"ngModelChange"===t&&(r=!1!==(i.model=n)&&r),r},null,null)),o["\u0275did"](2,16384,null,0,Ao.CheckboxControlValueAccessor,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,Ao.NG_VALUE_ACCESSOR,function(e){return[e]},[Ao.CheckboxControlValueAccessor]),o["\u0275did"](4,671744,null,0,Ao.NgModel,[[8,null],[8,null],[8,null],[6,Ao.NG_VALUE_ACCESSOR]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,Ao.NgControl,null,[Ao.NgModel]),o["\u0275did"](6,16384,null,0,Ao.NgControlStatus,[[4,Ao.NgControl]],null,null),(e()(),o["\u0275eld"](7,0,null,null,3,"label",[],[[1,"for",0],[2,"disabled",null]],[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.select(n)&&o),o},null,null)),(e()(),o["\u0275eld"](8,0,null,null,0,"i",[],[[2,"bhi-checkbox-empty",null],[2,"bhi-checkbox-filled",null],[2,"bhi-checkbox-indeterminate",null],[2,"bhi-circle-o",null],[2,"bhi-check",null],[2,"bhi-circle",null]],null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,Xl)),o["\u0275did"](10,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,4,0,n.name,n.disabled,n.model),e(t,10,0,n.label)},function(e,t){var n=t.component;e(t,0,0,n.model,n.disabled),e(t,1,0,n.name,o["\u0275nov"](t,6).ngClassUntouched,o["\u0275nov"](t,6).ngClassTouched,o["\u0275nov"](t,6).ngClassPristine,o["\u0275nov"](t,6).ngClassDirty,o["\u0275nov"](t,6).ngClassValid,o["\u0275nov"](t,6).ngClassInvalid,o["\u0275nov"](t,6).ngClassPending),e(t,7,0,n.name,n.disabled),e(t,8,0,!n.model&&!n.indeterminate&&n.boxIcon,n.model&&!n.indeterminate&&n.boxIcon,n.indeterminate&&n.boxIcon,!n.model&&!n.indeterminate&&!n.boxIcon,n.model&&!n.indeterminate&&!n.boxIcon,n.indeterminate&&!n.boxIcon)})}var ec=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function tc(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,0,"input",[["tabindex","-1"],["type","file"]],[[8,"name",0],[1,"id",0],[1,"multiple",0],[1,"data-feature-id",0]],[[null,"change"]],function(e,t,n){var o=!0;return"change"===t&&(o=!1!==e.component.check(n)&&o),o},null,null))],null,function(e,t){var n=t.component;e(t,0,0,n.name,n.name,n.multiple,n.dataFeatureId)})}function nc(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,0,"input",[["tabindex","-1"],["type","file"]],[[8,"name",0],[1,"id",0],[1,"multiple",0],[1,"data-feature-id",0]],[[null,"change"]],function(e,t,n){var o=!0;return"change"===t&&(o=!1!==e.component.customCheck(n)&&o),o},null,null))],null,function(e,t){var n=t.component;e(t,0,0,n.name,n.name,n.multiple,n.dataFeatureId)})}function oc(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,5,"label",[["class","no-box"]],[[1,"for",0]],null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,4,"div",[],null,null,null,null,null)),(e()(),o["\u0275eld"](2,0,null,null,0,"i",[["class","bhi-dropzone"]],null,null,null,null,null)),(e()(),o["\u0275ted"](3,null,[""," "," "])),(e()(),o["\u0275eld"](4,0,null,null,1,"strong",[["class","link"]],null,null,null,null,null)),(e()(),o["\u0275ted"](5,null,["",""]))],null,function(e,t){var n=t.component;e(t,0,0,n.name),e(t,3,0,n.placeholder||n.labels.chooseAFile,n.labels.or),e(t,5,0,n.labels.clickToBrowse)})}function rc(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,6,"label",[["class","boxed"]],[[1,"for",0]],null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),o["\u0275ted"](2,null,["",""])),(e()(),o["\u0275eld"](3,0,null,null,3,"small",[],null,null,null,null,null)),(e()(),o["\u0275ted"](4,null,[""," "])),(e()(),o["\u0275eld"](5,0,null,null,1,"strong",[["class","link"]],null,null,null,null,null)),(e()(),o["\u0275ted"](6,null,["",""]))],null,function(e,t){var n=t.component;e(t,0,0,n.name),e(t,2,0,n.placeholder||n.labels.chooseAFile),e(t,4,0,n.labels.or),e(t,6,0,n.labels.clickToBrowse)})}function ic(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,10,"div",[["class","file-input-group"]],[[2,"disabled",null],[2,"active",null]],null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,tc)),o["\u0275did"](2,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,nc)),o["\u0275did"](4,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275eld"](5,0,null,null,5,"section",[],null,null,null,null,null)),o["\u0275did"](6,16384,null,0,r.q,[],{ngSwitch:[0,"ngSwitch"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,oc)),o["\u0275did"](8,278528,null,0,r.r,[o.ViewContainerRef,o.TemplateRef,r.q],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,rc)),o["\u0275did"](10,16384,null,0,r.s,[o.ViewContainerRef,o.TemplateRef,r.q],null,null)],function(e,t){var n=t.component;e(t,2,0,!n.layoutOptions.customActions),e(t,4,0,n.layoutOptions.customActions),e(t,6,0,n.layoutOptions.labelStyle),e(t,8,0,"no-box")},function(e,t){var n=t.component;e(t,0,0,n.disabled,n.active)})}function ac(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,0,"i",[["class","bhi-move"]],null,null,null,null,null))],null,null)}function sc(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),o["\u0275ted"](-1,null,["||"]))],null,null)}function lc(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,8,"label",[],null,null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,3,"span",[],null,null,null,null,null)),(e()(),o["\u0275eld"](2,0,null,null,2,"a",[["target","_blank"]],[[8,"href",4]],null,null,null,null)),(e()(),o["\u0275ted"](3,null,["",""])),o["\u0275ppd"](4,1),(e()(),o["\u0275and"](16777216,null,null,1,null,sc)),o["\u0275did"](6,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275eld"](7,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),o["\u0275ted"](8,null,["",""]))],function(e,t){e(t,6,0,t.parent.context.$implicit.description)},function(e,t){e(t,2,0,o["\u0275inlineInterpolate"](1,"",t.parent.context.$implicit.link,""));var n=o["\u0275unv"](t,3,0,e(t,4,0,o["\u0275nov"](t.parent.parent.parent,0),t.parent.context.$implicit.name));e(t,3,0,n),e(t,8,0,t.parent.context.$implicit.description)})}function cc(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"label",[],null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,["",""])),o["\u0275ppd"](2,1)],null,function(e,t){var n=o["\u0275unv"](t,1,0,e(t,2,0,o["\u0275nov"](t.parent.parent.parent,0),t.parent.context.$implicit.name));e(t,1,0,n)})}function uc(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"button",[["icon","save"],["tabindex","-1"],["theme","icon"],["type","button"]],[[1,"data-automation-id",0],[1,"theme",0],[1,"color",0],[1,"icon",0],[1,"loading",0],[1,"side",0]],[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.download(e.parent.parent.parent.context.$implicit)&&o),o},Ga,$a)),o["\u0275did"](1,49152,null,0,x.De,[],{theme:[0,"theme"],icon:[1,"icon"]},null)],function(e,t){e(t,1,0,"icon","save")},function(e,t){e(t,0,0,"file-download",o["\u0275nov"](t,1).theme,o["\u0275nov"](t,1).color,o["\u0275nov"](t,1).icon,o["\u0275nov"](t,1).loading,o["\u0275nov"](t,1).side)})}function dc(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"button",[["icon","close"],["tabindex","-1"],["theme","icon"],["type","button"]],[[1,"data-automation-id",0],[1,"theme",0],[1,"color",0],[1,"icon",0],[1,"loading",0],[1,"side",0]],[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.remove(e.parent.parent.parent.context.$implicit)&&o),o},Ga,$a)),o["\u0275did"](1,49152,null,0,x.De,[],{theme:[0,"theme"],icon:[1,"icon"]},null)],function(e,t){e(t,1,0,"icon","close")},function(e,t){e(t,0,0,"file-remove",o["\u0275nov"](t,1).theme,o["\u0275nov"](t,1).color,o["\u0275nov"](t,1).icon,o["\u0275nov"](t,1).loading,o["\u0275nov"](t,1).side)})}function hc(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,4,"div",[],null,null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,uc)),o["\u0275did"](2,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,dc)),o["\u0275did"](4,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,2,0,n.layoutOptions.download),e(t,4,0,!n.disabled&&(n.layoutOptions.removable||!n.layoutOptions.removable&&n.layoutOptions.removableWhenNew&&!t.parent.parent.context.$implicit.link))},null)}function pc(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"button",[["icon","edit"],["tabindex","-1"],["theme","icon"],["type","button"]],[[1,"data-automation-id",0],[1,"theme",0],[1,"color",0],[1,"icon",0],[1,"loading",0],[1,"side",0]],[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.customEdit(e.parent.parent.parent.context.$implicit)&&o),o},Ga,$a)),o["\u0275did"](1,49152,null,0,x.De,[],{theme:[0,"theme"],icon:[1,"icon"]},null)],function(e,t){e(t,1,0,"icon","edit")},function(e,t){e(t,0,0,"file-edit",o["\u0275nov"](t,1).theme,o["\u0275nov"](t,1).color,o["\u0275nov"](t,1).icon,o["\u0275nov"](t,1).loading,o["\u0275nov"](t,1).side)})}function fc(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"button",[["icon","save"],["tabindex","-1"],["theme","icon"],["type","button"]],[[1,"data-automation-id",0],[1,"theme",0],[1,"color",0],[1,"icon",0],[1,"loading",0],[1,"side",0]],[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.customSave(e.parent.parent.parent.context.$implicit)&&o),o},Ga,$a)),o["\u0275did"](1,49152,null,0,x.De,[],{theme:[0,"theme"],icon:[1,"icon"]},null)],function(e,t){e(t,1,0,"icon","save")},function(e,t){e(t,0,0,"file-download",o["\u0275nov"](t,1).theme,o["\u0275nov"](t,1).color,o["\u0275nov"](t,1).icon,o["\u0275nov"](t,1).loading,o["\u0275nov"](t,1).side)})}function mc(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"button",[["icon","close"],["tabindex","-1"],["theme","icon"],["type","button"]],[[1,"data-automation-id",0],[1,"theme",0],[1,"color",0],[1,"icon",0],[1,"loading",0],[1,"side",0]],[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.customDelete(e.parent.parent.parent.context.$implicit)&&o),o},Ga,$a)),o["\u0275did"](1,49152,null,0,x.De,[],{theme:[0,"theme"],icon:[1,"icon"]},null)],function(e,t){e(t,1,0,"icon","close")},function(e,t){e(t,0,0,"file-remove",o["\u0275nov"](t,1).theme,o["\u0275nov"](t,1).color,o["\u0275nov"](t,1).icon,o["\u0275nov"](t,1).loading,o["\u0275nov"](t,1).side)})}function gc(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,6,"div",[],null,null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,pc)),o["\u0275did"](2,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,fc)),o["\u0275did"](4,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,mc)),o["\u0275did"](6,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,2,0,n.layoutOptions.edit&&!n.disabled),e(t,4,0,n.layoutOptions.download),e(t,6,0,!n.disabled)},null)}function vc(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,4,"div",[["class","actions"]],[[1,"data-automation-id",0]],null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,hc)),o["\u0275did"](2,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,gc)),o["\u0275did"](4,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,2,0,!n.layoutOptions.customActions),e(t,4,0,n.layoutOptions.customActions)},function(e,t){e(t,0,0,"file-actions")})}function _c(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"novo-loading",[],[[8,"className",0]],null,null,za,qa)),o["\u0275did"](1,49152,null,0,x.Ee,[],null,null)],null,function(e,t){e(t,0,0,o["\u0275nov"](t,1).theme||"")})}function yc(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,10,"div",[["class","file-item"]],[[2,"disabled",null]],null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,ac)),o["\u0275did"](2,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,lc)),o["\u0275did"](4,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,cc)),o["\u0275did"](6,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,vc)),o["\u0275did"](8,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,_c)),o["\u0275did"](10,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){e(t,2,0,t.component.layoutOptions.draggable),e(t,4,0,t.context.$implicit.link),e(t,6,0,!t.context.$implicit.link),e(t,8,0,t.context.$implicit.loaded),e(t,10,0,!t.context.$implicit.loaded)},function(e,t){e(t,0,0,t.component.disabled)})}function bc(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,3,"div",[["class","file-output-group"]],null,null,null,null,null)),o["\u0275did"](1,606208,null,0,x.ad,[o.ElementRef,x.H],{bag:[0,"bag"],dragulaModel:[1,"dragulaModel"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,yc)),o["\u0275did"](3,278528,null,0,r.l,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(e,t){var n=t.component;e(t,1,0,n.fileOutputBag,n.files),e(t,3,0,n.files)},null)}function Cc(e){return o["\u0275vid"](0,[o["\u0275pid"](0,x.f,[]),o["\u0275qud"](402653184,1,{fileInput:0}),o["\u0275qud"](402653184,2,{fileOutput:0}),o["\u0275qud"](402653184,3,{container:0}),(e()(),o["\u0275eld"](4,16777216,[[3,3],["container",1]],null,0,"div",[],null,null,null,null,null)),(e()(),o["\u0275and"](0,[[1,2],["fileInput",2]],null,0,null,ic)),(e()(),o["\u0275and"](0,[[2,2],["fileOutput",2]],null,0,null,bc))],null,null)}var Ec=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function wc(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,3,"label",[],[[1,"for",0]],null,null,null,null)),o["\u0275did"](1,278528,null,0,r.k,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{ngClass:[0,"ngClass"]},null),o["\u0275pod"](2,{encrypted:0}),(e()(),o["\u0275ted"](3,null,[" "," "]))],function(e,t){var n=t.component,o=e(t,2,0,n.form.controls[n.control.key].encrypted);e(t,1,0,o)},function(e,t){var n=t.component;e(t,0,0,n.control.key),e(t,3,0,n.form.controls[n.control.key].label)})}function kc(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"label",[["class","novo-control-label"]],[[1,"for",0],[2,"novo-control-empty",null],[2,"novo-control-focused",null],[2,"novo-control-filled",null],[2,"novo-control-always-active",null],[2,"novo-control-extra-spacing",null]],null,null,null,null)),(e()(),o["\u0275ted"](1,null,[" "," "]))],null,function(e,t){var n=t.component;e(t,0,0,n.control.key,!n.hasValue,n.focused,n.hasValue,n.alwaysActive||n.form.controls[n.control.key].placeholder,n.requiresExtraSpacing),e(t,1,0,n.form.controls[n.control.key].label)})}function Ac(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"i",[],[[8,"hidden",0]],null,null,null,null)),o["\u0275did"](1,278528,null,0,r.k,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),o["\u0275pod"](2,{"bhi-circle":0,"bhi-check":1})],function(e,t){var n=t.component,r=o["\u0275inlineInterpolate"](1,"required-indicator ",n.form.controls[n.control.key].controlType,""),i=e(t,2,0,!n.isValid,n.isValid);e(t,1,0,r,i)},function(e,t){var n=t.component;e(t,0,0,!n.form.controls[n.control.key].required||n.form.controls[n.control.key].readOnly)})}function Sc(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,0,null,null,null,null,null,null,null))],null,null)}function Oc(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,null,null,null,null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,Sc)),o["\u0275did"](2,540672,null,0,r.t,[o.ViewContainerRef],{ngTemplateOutletContext:[0,"ngTemplateOutletContext"],ngTemplateOutlet:[1,"ngTemplateOutlet"]},null),(e()(),o["\u0275and"](0,null,null,0))],function(e,t){var n=t.component;e(t,2,0,n.templateContext,n.templates[n.form.controls[n.control.key].controlType])},null)}function xc(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,null,null,null,null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,1,"div",[["class","novo-control-input-container novo-control-input-with-label"]],null,null,null,null,null)),(e()(),o["\u0275eld"](2,0,null,null,0,"input",[["type","text"]],null,null,null,null,null))],null,null)}function Dc(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,0,"span",[["class","error-text"]],null,null,null,null,null))],null,null)}function Tc(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"span",[["class","error-text"]],null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,[""," ",""])),o["\u0275ppd"](2,1)],null,function(e,t){var n=t.component,r=o["\u0275unv"](t,1,0,e(t,2,0,o["\u0275nov"](t.parent.parent,0),n.form.controls[n.control.key].label));e(t,1,0,r,n.labels.isRequired)})}function Rc(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"span",[["class","error-text"]],null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,[""," "," ",""])),o["\u0275ppd"](2,1)],null,function(e,t){var n=t.component,r=o["\u0275unv"](t,1,0,e(t,2,0,o["\u0275nov"](t.parent.parent,0),n.form.controls[n.control.key].label));e(t,1,0,r,n.labels.minLength,n.form.controls[n.control.key].minlength)})}function Pc(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"span",[["class","error-text"]],null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,["",""]))],null,function(e,t){var n=t.component;e(t,1,0,n.labels.maxlengthMet(n.form.controls[n.control.key].maxlength))})}function Mc(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"span",[["class","error-text"]],null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,["",""]))],null,function(e,t){var n=t.component;e(t,1,0,n.labels.invalidMaxlength(n.form.controls[n.control.key].maxlength))})}function Ic(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"span",[["class","error-text"]],null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,["",""]))],null,function(e,t){e(t,1,0,t.component.labels.maxRecordsReached)})}function Fc(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"span",[["class","error-text"]],null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,[""," ",""])),o["\u0275ppd"](2,1)],null,function(e,t){var n=t.component,r=o["\u0275unv"](t,1,0,e(t,2,0,o["\u0275nov"](t.parent.parent,0),n.form.controls[n.control.key].label));e(t,1,0,r,n.labels.invalidEmail)})}function Lc(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"span",[["class","error-text"]],null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,[""," ",""])),o["\u0275ppd"](2,1)],null,function(e,t){var n=t.component,r=o["\u0275unv"](t,1,0,e(t,2,0,o["\u0275nov"](t.parent.parent,0),n.form.controls[n.control.key].label));e(t,1,0,r,n.labels.isTooLarge)})}function Bc(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,[""," ",""])),o["\u0275ppd"](2,1)],null,function(e,t){var n=t.component,r=o["\u0275unv"](t,1,0,e(t,2,0,o["\u0275nov"](t.parent.parent,0),n.form.controls[n.control.key].label));e(t,1,0,r,n.labels.notValidYear)})}function Nc(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"span",[["class","error-text"]],null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,["",""]))],null,function(e,t){e(t,1,0,t.component.errors.custom)})}function jc(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"span",[["class","error-text"]],null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,[" "," "]))],null,function(e,t){var n=t.component;e(t,1,0,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 Vc(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"span",[["class","error-text"]],null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,[" "," "]))],null,function(e,t){var n=t.component;e(t,1,0,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 Uc(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"span",[["class","error-text"]],null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,[""," "," "])),o["\u0275ppd"](2,1)],null,function(e,t){var n=t.component,r=o["\u0275unv"](t,1,0,e(t,2,0,o["\u0275nov"](t.parent.parent.parent,0),t.context.$implicit));e(t,1,0,r,n.labels.isRequired)})}function $c(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,Uc)),o["\u0275did"](2,278528,null,0,r.l,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(e,t){var n=t.component;e(t,2,0,null==n.errors?null:n.errors.invalidAddressFields)},null)}function Hc(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"span",[["class","description"]],null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,[" "," "]))],null,function(e,t){var n=t.component;e(t,1,0,n.form.controls[n.control.key].description)})}function Wc(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"span",[["class","warning-text"]],null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,["",""]))],null,function(e,t){var n=t.component;e(t,1,0,n.form.controls[n.control.key].warning)})}function Kc(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"span",[["class","character-count"]],[[2,"error",null]],null,null,null,null)),(e()(),o["\u0275ted"](1,null,["","/",""]))],null,function(e,t){var n=t.component;e(t,0,0,(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)),e(t,1,0,n.itemCount,n.maxLength||n.form.controls[n.control.key].maxlength)})}function Gc(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"span",[["class","record-count"]],[[2,"zero-count",null],[2,"row-picker",null]],null,null,null,null)),(e()(),o["\u0275ted"](1,null,["","/",""]))],null,function(e,t){var n=t.component;e(t,0,0,0===n.itemCount,n.form.controls[n.control.key].config.columns),e(t,1,0,n.itemCount,n.maxLength||n.form.controls[n.control.key].maxlength)})}function qc(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,37,"div",[],[[2,"has-tip",null]],null,null,null,null)),o["\u0275did"](1,278528,null,0,r.k,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(e()(),o["\u0275eld"](2,0,null,null,31,"div",[["class","messages"]],null,null,null,null,null)),o["\u0275did"](3,278528,null,0,r.k,[o.IterableDiffers,o.KeyValueDiffers,o.ElementRef,o.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Dc)),o["\u0275did"](5,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Tc)),o["\u0275did"](7,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Rc)),o["\u0275did"](9,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Pc)),o["\u0275did"](11,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Mc)),o["\u0275did"](13,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Ic)),o["\u0275did"](15,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Fc)),o["\u0275did"](17,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Lc)),o["\u0275did"](19,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Bc)),o["\u0275did"](21,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Nc)),o["\u0275did"](23,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,jc)),o["\u0275did"](25,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Vc)),o["\u0275did"](27,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,$c)),o["\u0275did"](29,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Hc)),o["\u0275did"](31,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Wc)),o["\u0275did"](33,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Kc)),o["\u0275did"](35,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Gc)),o["\u0275did"](37,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,1,0,o["\u0275inlineInterpolate"](1,"field-message ",n.form.controls[n.control.key].controlType,""),n.showErrorState||n.showMaxLengthMetMessage?"error-shown":"error-hidden"),e(t,3,0,"messages",n.showMessages?"count-shown messages-shown":"count-hidden messages-hidden"),e(t,5,0,n.showFieldMessage),e(t,7,0,n.isDirty&&(null==n.errors?null:n.errors.required)&&"address"!==n.form.controls[n.control.key].controlType),e(t,9,0,n.isDirty&&(null==n.errors?null:n.errors.minlength)),e(t,11,0,n.isDirty&&n.maxLengthMet&&n.focused&&!(null!=n.errors&&n.errors.maxlength)&&"picker"!==n.form.controls[n.control.key].controlType),e(t,13,0,(null==n.errors?null:n.errors.maxlength)&&n.focused&&!(null!=n.errors&&n.errors.maxlengthFields)),e(t,15,0,n.maxLengthMet&&"picker"===n.form.controls[n.control.key].controlType),e(t,17,0,n.isDirty&&(null==n.errors?null:n.errors.invalidEmail)),e(t,19,0,n.isDirty&&((null==n.errors?null:n.errors.integerTooLarge)||(null==n.errors?null:n.errors.doubleTooLarge))),e(t,21,0,n.isDirty&&(null==n.errors?null:n.errors.minYear)),e(t,23,0,n.isDirty&&(null==n.errors?null:n.errors.custom)),e(t,25,0,(null==n.errors?null:n.errors.maxlength)&&(null==n.errors?null:n.errors.maxlengthFields)&&n.maxlengthErrorField&&n.focused),e(t,27,0,n.isDirty&&n.maxlengthMetField&&n.focused&&!(null!=n.errors&&null!=n.errors.maxlengthFields&&n.errors.maxlengthFields.includes(n.maxlengthMetField))),e(t,29,0,n.isDirty&&(null==n.errors?null:n.errors.invalidAddress)),e(t,31,0,n.form.controls[n.control.key].description),e(t,33,0,n.form.controls[n.control.key].warning),e(t,35,0,n.showCount&&"picker"!==n.form.controls[n.control.key].controlType),e(t,37,0,n.showCount&&"picker"===n.form.controls[n.control.key].controlType)},function(e,t){var n=t.component;e(t,0,0,n.form.controls[n.control.key].tipWell)})}function zc(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"novo-tip-well",[],[[2,"active",null]],null,null,Zl,Wl)),o["\u0275did"](1,114688,null,0,x.od,[x.T],{name:[0,"name"],tip:[1,"tip"],button:[2,"button"],icon:[3,"icon"]},null)],function(e,t){var n=t.component;e(t,1,0,n.control.key,null==n.form.controls[n.control.key]?null:null==n.form.controls[n.control.key].tipWell?null:n.form.controls[n.control.key].tipWell.tip,null==n.form.controls[n.control.key]?null:null==n.form.controls[n.control.key].tipWell?null:n.form.controls[n.control.key].tipWell.button,null==n.form.controls[n.control.key]?null:null==n.form.controls[n.control.key].tipWell?null:n.form.controls[n.control.key].tipWell.icon)},function(e,t){e(t,0,0,o["\u0275nov"](t,1).isActive)})}function Yc(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,4,"i",[["class","loading"]],null,null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,3,":svg:svg",[[":xml:space","preserve"],[":xmlns:a","http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/"],[":xmlns:xlink","http://www.w3.org/1999/xlink"],["height","18.5px"],["style","enable-background:new 0 0 18.2 18.5;"],["version","1.1"],["viewBox","0 0 18.2 18.5"],["width","18.2px"],["x","0px"],["xmlns","http://www.w3.org/2000/svg"],["y","0px"]],null,null,null,null,null)),(e()(),o["\u0275eld"](2,0,null,null,1,":svg:style",[["type","text/css"]],null,null,null,null,null)),(e()(),o["\u0275ted"](-1,null,[" .spinner { fill:#FFFFFF; } "])),(e()(),o["\u0275eld"](4,0,null,null,0,":svg:path",[["class","spinner"],["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"]],null,null,null,null,null))],null,null)}function Zc(e){return o["\u0275vid"](0,[o["\u0275pid"](0,r.y,[]),(e()(),o["\u0275eld"](1,0,null,null,23,"div",[["class","novo-control-container"]],[[8,"hidden",0]],null,null,null,null)),(e()(),o["\u0275eld"](2,16777216,null,null,2,"span",[],[[1,"data-hint",0]],[[null,"mouseenter"],[null,"mouseleave"]],function(e,t,n){var r=!0;return"mouseenter"===t&&(r=!1!==o["\u0275nov"](e,3).onMouseEnter()&&r),"mouseleave"===t&&(r=!1!==o["\u0275nov"](e,3).onMouseLeave()&&r),r},null,null)),o["\u0275did"](3,212992,null,0,x.Ge,[So.a,o.ViewContainerRef,o.ElementRef],{tooltip:[0,"tooltip"],position:[1,"position"]},null),(e()(),o["\u0275eld"](4,0,null,null,0,"i",[["class","bhi-lock"]],[[8,"hidden",0]],null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,wc)),o["\u0275did"](6,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275eld"](7,0,null,null,17,"div",[["class","novo-control-outer-container"]],null,null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,kc)),o["\u0275did"](9,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275eld"](10,0,null,null,12,"div",[["class","novo-control-inner-container"]],[[2,"required",null]],null,null,null,null)),(e()(),o["\u0275eld"](11,0,null,null,7,"div",[["class","novo-control-inner-input-container"]],[[2,"novo-control-filled",null],[2,"novo-control-empty",null]],null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,Ac)),o["\u0275did"](13,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275eld"](14,0,null,null,4,"div",[],[[8,"className",0],[1,"data-automation-id",0],[2,"control-disabled",null]],null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,Oc)),o["\u0275did"](16,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,xc)),o["\u0275did"](18,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,qc)),o["\u0275did"](20,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,zc)),o["\u0275did"](22,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Yc)),o["\u0275did"](24,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,3,0,n.labels.encryptedFieldTooltip,"right"),e(t,6,0,"vertical"!==n.form.layout&&n.form.controls[n.control.key].label&&!n.condensed),e(t,9,0,"vertical"===n.form.layout&&n.form.controls[n.control.key].label&&!n.condensed),e(t,13,0,!n.condensed||n.form.controls[n.control.key].required),e(t,16,0,n.templates),e(t,18,0,!n.templates||n.loading),e(t,20,0,!n.condensed),e(t,22,0,n.form.controls[n.control.key].tipWell),e(t,24,0,n.form.controls[n.control.key].fieldInteractionloading)},function(e,t){var n=t.component;e(t,1,0,n.form.controls[n.control.key].hidden||"hidden"===n.form.controls[n.control.key].type||"hidden"===n.form.controls[n.control.key].controlType),e(t,2,0,o["\u0275nov"](t,3).tooltip),e(t,4,0,!n.form.controls[n.control.key].encrypted),e(t,10,0,n.form.controls[n.control.key].required&&!n.form.controls[n.control.key].readOnly),e(t,11,0,n.hasValue,!n.hasValue),e(t,14,0,o["\u0275inlineInterpolate"](1,"novo-control-input ",n.form.controls[n.control.key].controlType,""),n.control.key,n.form.controls[n.control.key].disabled)})}var Jc=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function Xc(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"header",[],null,null,null,null,null)),o["\u0275ncd"](null,0),o["\u0275ncd"](null,1)],null,null)}function Qc(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"novo-control-templates",[],null,null,null,$u,du)),o["\u0275did"](1,4243456,null,0,x.wd,[x.Nb],null,null),(e()(),o["\u0275eld"](2,0,null,null,8,"div",[["class","novo-form-container"]],null,null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,Xc)),o["\u0275did"](4,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275eld"](5,0,null,null,5,"form",[["class","novo-form"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(e,t,n){var r=!0;return"submit"===t&&(r=!1!==o["\u0275nov"](e,7).onSubmit(n)&&r),"reset"===t&&(r=!1!==o["\u0275nov"](e,7).onReset()&&r),r},null,null)),o["\u0275did"](6,16384,null,0,Ao["\u0275angular_packages_forms_forms_bh"],[],null,null),o["\u0275did"](7,540672,null,0,Ao.FormGroupDirective,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Ao.ControlContainer,null,[Ao.FormGroupDirective]),o["\u0275did"](9,16384,null,0,Ao.NgControlStatusGroup,[[4,Ao.ControlContainer]],null,null),o["\u0275ncd"](null,2)],function(e,t){var n=t.component;e(t,4,0,!n.hideHeader),e(t,7,0,n.form)},function(e,t){e(t,5,0,o["\u0275nov"](t,9).ngClassUntouched,o["\u0275nov"](t,9).ngClassTouched,o["\u0275nov"](t,9).ngClassPristine,o["\u0275nov"](t,9).ngClassDirty,o["\u0275nov"](t,9).ngClassValid,o["\u0275nov"](t,9).ngClassInvalid,o["\u0275nov"](t,9).ngClassPending)})}var eu=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function tu(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,5,"h2",[],null,null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,1,"label",[],null,null,null,null,null)),(e()(),o["\u0275ted"](2,null,["",":"])),(e()(),o["\u0275ted"](3,null,[" "," "])),(e()(),o["\u0275eld"](4,0,null,null,0,"i",[["class","bhi-arrow-right"]],null,null,null,null,null)),(e()(),o["\u0275ted"](5,null,[" ",""]))],null,function(e,t){var n=t.component;e(t,2,0,n.params.label),e(t,3,0,n.params.oldValue),e(t,5,0,n.params.newValue)})}function nu(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"h2",[],null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,["",""]))],null,function(e,t){e(t,1,0,t.component.params.message)})}function ou(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,13,"novo-notification",[["type","warning"]],[[1,"data-automation-id",0]],null,null,or,tr)),o["\u0275did"](1,114688,null,0,x.Kd,[x.Z],{type:[0,"type"]},null),(e()(),o["\u0275eld"](2,0,null,1,1,"h1",[],null,null,null,null,null)),(e()(),o["\u0275ted"](3,null,["",""])),(e()(),o["\u0275and"](16777216,null,2,1,null,tu)),o["\u0275did"](5,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,2,1,null,nu)),o["\u0275did"](7,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275eld"](8,0,null,4,2,"button",[["theme","standard"]],[[1,"data-automation-id",0],[1,"theme",0],[1,"color",0],[1,"icon",0],[1,"loading",0],[1,"side",0]],[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.close(!1)&&o),o},Ga,$a)),o["\u0275did"](9,49152,null,0,x.De,[],{theme:[0,"theme"]},null),(e()(),o["\u0275ted"](10,0,["",""])),(e()(),o["\u0275eld"](11,0,null,4,2,"button",[["autofocus",""],["icon","check"],["theme","primary"]],[[1,"data-automation-id",0],[1,"theme",0],[1,"color",0],[1,"icon",0],[1,"loading",0],[1,"side",0]],[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.close(!0)&&o),o},Ga,$a)),o["\u0275did"](12,49152,null,0,x.De,[],{theme:[0,"theme"],icon:[1,"icon"]},null),(e()(),o["\u0275ted"](13,0,["",""]))],function(e,t){var n=t.component;e(t,1,0,"warning"),e(t,5,0,!n.params.message),e(t,7,0,n.params.message),e(t,9,0,"standard"),e(t,12,0,"primary","check")},function(e,t){var n=t.component;e(t,0,0,"field-interaction-modal-"+n.params.key),e(t,3,0,n.labels.confirmChangesModalMessage),e(t,8,0,"field-interaction-modal-cancel"+n.params.key,o["\u0275nov"](t,9).theme,o["\u0275nov"](t,9).color,o["\u0275nov"](t,9).icon,o["\u0275nov"](t,9).loading,o["\u0275nov"](t,9).side),e(t,10,0,n.labels.cancel),e(t,11,0,"field-interaction-modal-save-"+n.params.key,o["\u0275nov"](t,12).theme,o["\u0275nov"](t,12).color,o["\u0275nov"](t,12).icon,o["\u0275nov"](t,12).loading,o["\u0275nov"](t,12).side),e(t,13,0,n.labels.save)})}function ru(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"control-confirm-modal",[],null,null,null,ou,eu)),o["\u0275did"](1,49152,null,0,x.ud,[x.Z,x.Y,x.T],null,null)],null,null)}var iu=o["\u0275ccf"]("control-confirm-modal",x.ud,ru,{},{},[]),au=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function su(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,["",""]))],null,function(e,t){e(t,1,0,t.context.$implicit)})}function lu(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,11,"novo-notification",[["type","warning"]],[[1,"data-automation-id",0]],null,null,or,tr)),o["\u0275did"](1,114688,null,0,x.Kd,[x.Z],{type:[0,"type"]},null),(e()(),o["\u0275eld"](2,0,null,1,1,"h1",[],null,null,null,null,null)),(e()(),o["\u0275ted"](3,null,["",""])),(e()(),o["\u0275and"](16777216,null,3,1,null,su)),o["\u0275did"](5,278528,null,0,r.l,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),o["\u0275eld"](6,0,null,4,2,"button",[["theme","standard"]],[[1,"data-automation-id",0],[1,"theme",0],[1,"color",0],[1,"icon",0],[1,"loading",0],[1,"side",0]],[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.close(!1)&&o),o},Ga,$a)),o["\u0275did"](7,49152,null,0,x.De,[],{theme:[0,"theme"]},null),(e()(),o["\u0275ted"](8,0,["",""])),(e()(),o["\u0275eld"](9,0,null,4,2,"button",[["autofocus",""],["icon","check"],["theme","primary"]],[[1,"data-automation-id",0],[1,"theme",0],[1,"color",0],[1,"icon",0],[1,"loading",0],[1,"side",0]],[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.close(!0)&&o),o},Ga,$a)),o["\u0275did"](10,49152,null,0,x.De,[],{theme:[0,"theme"],icon:[1,"icon"]},null),(e()(),o["\u0275ted"](11,0,["",""]))],function(e,t){var n=t.component;e(t,1,0,"warning"),e(t,5,0,n.params.changes),e(t,7,0,"standard"),e(t,10,0,"primary","check")},function(e,t){var n=t.component;e(t,0,0,"field-interaction-modal-"+n.params.key),e(t,3,0,n.labels.promptModalMessage),e(t,6,0,"field-interaction-modal-cancel"+n.params.key,o["\u0275nov"](t,7).theme,o["\u0275nov"](t,7).color,o["\u0275nov"](t,7).icon,o["\u0275nov"](t,7).loading,o["\u0275nov"](t,7).side),e(t,8,0,n.labels.cancel),e(t,9,0,"field-interaction-modal-yes-"+n.params.key,o["\u0275nov"](t,10).theme,o["\u0275nov"](t,10).color,o["\u0275nov"](t,10).icon,o["\u0275nov"](t,10).loading,o["\u0275nov"](t,10).side),e(t,11,0,n.labels.yes)})}function cu(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"control-prompt-modal",[],null,null,null,lu,au)),o["\u0275did"](1,49152,null,0,x.vd,[x.Z,x.Y,x.T],null,null)],null,null)}var uu=o["\u0275ccf"]("control-prompt-modal",x.vd,cu,{},{},[]),du=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function hu(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"div",[],null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,["",""]))],null,function(e,t){e(t,1,0,t.context.form.value[t.context.$implicit.key])})}function pu(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,6,"input",[["autocomplete",""]],[[8,"id",0],[8,"type",0],[8,"placeholder",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"focus"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(e,t,n){var r=!0;return"input"===t&&(r=!1!==o["\u0275nov"](e,1)._handleInput(n.target.value)&&r),"blur"===t&&(r=!1!==o["\u0275nov"](e,1).onTouched()&&r),"compositionstart"===t&&(r=!1!==o["\u0275nov"](e,1)._compositionStart()&&r),"compositionend"===t&&(r=!1!==o["\u0275nov"](e,1)._compositionEnd(n.target.value)&&r),"input"===t&&(r=!1!==o["\u0275nov"](e,2)._handleInput(n.target.value)&&r),"blur"===t&&(r=!1!==o["\u0275nov"](e,2).onTouched()&&r),"compositionstart"===t&&(r=!1!==o["\u0275nov"](e,2)._compositionStart()&&r),"compositionend"===t&&(r=!1!==o["\u0275nov"](e,2)._compositionEnd(n.target.value)&&r),"input"===t&&(r=!1!==e.parent.context.methods.emitChange(n)&&r),"focus"===t&&(r=!1!==e.parent.context.methods.handleFocus(n)&&r),"blur"===t&&(r=!1!==e.parent.context.methods.handleBlur(n)&&r),r},null,null)),o["\u0275did"](1,16384,null,0,Ao.DefaultValueAccessor,[o.Renderer2,o.ElementRef,[2,Ao.COMPOSITION_BUFFER_MODE]],null,null),o["\u0275did"](2,540672,null,0,Mo.MaskedInputDirective,[o.Renderer2,o.ElementRef,[2,Ao.COMPOSITION_BUFFER_MODE]],{textMaskConfig:[0,"textMaskConfig"]},null),o["\u0275prd"](1024,null,Ao.NG_VALUE_ACCESSOR,function(e,t){return[e,t]},[Ao.DefaultValueAccessor,Mo.MaskedInputDirective]),o["\u0275did"](4,671744,null,0,Ao.FormControlName,[[3,Ao.ControlContainer],[8,null],[8,null],[6,Ao.NG_VALUE_ACCESSOR],[2,Ao["\u0275angular_packages_forms_forms_k"]]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,Ao.NgControl,null,[Ao.FormControlName]),o["\u0275did"](6,16384,null,0,Ao.NgControlStatus,[[4,Ao.NgControl]],null,null)],function(e,t){e(t,2,0,t.parent.context.$implicit.maskOptions),e(t,4,0,t.parent.context.$implicit.key)},function(e,t){e(t,0,0,t.parent.context.$implicit.key,null==t.parent.context.$implicit?null:t.parent.context.$implicit.type,null==t.parent.context.$implicit?null:t.parent.context.$implicit.placeholder,o["\u0275nov"](t,6).ngClassUntouched,o["\u0275nov"](t,6).ngClassTouched,o["\u0275nov"](t,6).ngClassPristine,o["\u0275nov"](t,6).ngClassDirty,o["\u0275nov"](t,6).ngClassValid,o["\u0275nov"](t,6).ngClassInvalid,o["\u0275nov"](t,6).ngClassPending)})}function fu(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,7,"input",[["autocomplete",""]],[[2,"maxlength-error",null],[8,"id",0],[8,"type",0],[8,"placeholder",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"focus"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(e,t,n){var r=!0;return"input"===t&&(r=!1!==o["\u0275nov"](e,1)._handleInput(n.target.value)&&r),"blur"===t&&(r=!1!==o["\u0275nov"](e,1).onTouched()&&r),"compositionstart"===t&&(r=!1!==o["\u0275nov"](e,1)._compositionStart()&&r),"compositionend"===t&&(r=!1!==o["\u0275nov"](e,1)._compositionEnd(n.target.value)&&r),"input"===t&&(r=!1!==e.parent.context.methods.emitChange(n)&&r),"focus"===t&&(r=!1!==e.parent.context.methods.handleFocus(n)&&r),"blur"===t&&(r=!1!==e.parent.context.methods.handleBlur(n)&&r),r},null,null)),o["\u0275did"](1,16384,null,0,Ao.DefaultValueAccessor,[o.Renderer2,o.ElementRef,[2,Ao.COMPOSITION_BUFFER_MODE]],null,null),o["\u0275did"](2,540672,null,0,Ao.MaxLengthValidator,[],{maxlength:[0,"maxlength"]},null),o["\u0275prd"](1024,null,Ao.NG_VALIDATORS,function(e){return[e]},[Ao.MaxLengthValidator]),o["\u0275prd"](1024,null,Ao.NG_VALUE_ACCESSOR,function(e){return[e]},[Ao.DefaultValueAccessor]),o["\u0275did"](5,671744,null,0,Ao.FormControlName,[[3,Ao.ControlContainer],[6,Ao.NG_VALIDATORS],[8,null],[6,Ao.NG_VALUE_ACCESSOR],[2,Ao["\u0275angular_packages_forms_forms_k"]]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,Ao.NgControl,null,[Ao.FormControlName]),o["\u0275did"](7,16384,null,0,Ao.NgControlStatus,[[4,Ao.NgControl]],null,null)],function(e,t){e(t,2,0,null==t.parent.context.$implicit?null:t.parent.context.$implicit.maxlength),e(t,5,0,t.parent.context.$implicit.key)},function(e,t){e(t,0,1,[null==t.parent.context.errors?null:t.parent.context.errors.maxlength,t.parent.context.$implicit.key,null==t.parent.context.$implicit?null:t.parent.context.$implicit.type,null==t.parent.context.$implicit?null:t.parent.context.$implicit.placeholder,o["\u0275nov"](t,2).maxlength?o["\u0275nov"](t,2).maxlength:null,o["\u0275nov"](t,7).ngClassUntouched,o["\u0275nov"](t,7).ngClassTouched,o["\u0275nov"](t,7).ngClassPristine,o["\u0275nov"](t,7).ngClassDirty,o["\u0275nov"](t,7).ngClassValid,o["\u0275nov"](t,7).ngClassInvalid,o["\u0275nov"](t,7).ngClassPending])})}function mu(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,[["numberInput",1]],null,7,"input",[["step","any"]],[[2,"maxlength-error",null],[8,"id",0],[8,"type",0],[8,"placeholder",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keydown"],[null,"input"],[null,"focus"],[null,"blur"],[null,"mousewheel"],[null,"compositionstart"],[null,"compositionend"]],function(e,t,n){var r=!0;return"input"===t&&(r=!1!==o["\u0275nov"](e,1)._handleInput(n.target.value)&&r),"blur"===t&&(r=!1!==o["\u0275nov"](e,1).onTouched()&&r),"compositionstart"===t&&(r=!1!==o["\u0275nov"](e,1)._compositionStart()&&r),"compositionend"===t&&(r=!1!==o["\u0275nov"](e,1)._compositionEnd(n.target.value)&&r),"keydown"===t&&(r=!1!==e.parent.context.methods.restrictKeys(n)&&r),"input"===t&&(r=!1!==e.parent.context.methods.emitChange(n)&&r),"focus"===t&&(r=!1!==e.parent.context.methods.handleFocus(n)&&r),"blur"===t&&(r=!1!==e.parent.context.methods.handleBlur(n)&&r),"mousewheel"===t&&(r=!1!==o["\u0275nov"](e,0).blur()&&r),r},null,null)),o["\u0275did"](1,16384,null,0,Ao.DefaultValueAccessor,[o.Renderer2,o.ElementRef,[2,Ao.COMPOSITION_BUFFER_MODE]],null,null),o["\u0275did"](2,540672,null,0,Ao.MaxLengthValidator,[],{maxlength:[0,"maxlength"]},null),o["\u0275prd"](1024,null,Ao.NG_VALIDATORS,function(e){return[e]},[Ao.MaxLengthValidator]),o["\u0275prd"](1024,null,Ao.NG_VALUE_ACCESSOR,function(e){return[e]},[Ao.DefaultValueAccessor]),o["\u0275did"](5,671744,null,0,Ao.FormControlName,[[3,Ao.ControlContainer],[6,Ao.NG_VALIDATORS],[8,null],[6,Ao.NG_VALUE_ACCESSOR],[2,Ao["\u0275angular_packages_forms_forms_k"]]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,Ao.NgControl,null,[Ao.FormControlName]),o["\u0275did"](7,16384,null,0,Ao.NgControlStatus,[[4,Ao.NgControl]],null,null)],function(e,t){e(t,2,0,null==t.parent.context.$implicit?null:t.parent.context.$implicit.maxlength),e(t,5,0,t.parent.context.$implicit.key)},function(e,t){e(t,0,1,[null==t.parent.context.errors?null:t.parent.context.errors.maxlength,t.parent.context.$implicit.key,null==t.parent.context.$implicit?null:t.parent.context.$implicit.type,null==t.parent.context.$implicit?null:t.parent.context.$implicit.placeholder,o["\u0275nov"](t,2).maxlength?o["\u0275nov"](t,2).maxlength:null,o["\u0275nov"](t,7).ngClassUntouched,o["\u0275nov"](t,7).ngClassTouched,o["\u0275nov"](t,7).ngClassPristine,o["\u0275nov"](t,7).ngClassDirty,o["\u0275nov"](t,7).ngClassValid,o["\u0275nov"](t,7).ngClassInvalid,o["\u0275nov"](t,7).ngClassPending])})}function gu(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,[["percentInput",1]],null,0,"input",[["step","any"]],[[8,"type",0],[8,"placeholder",0],[8,"value",0]],[[null,"keydown"],[null,"input"],[null,"focus"],[null,"blur"],[null,"mousewheel"]],function(e,t,n){var r=!0;return"keydown"===t&&(r=!1!==e.parent.context.methods.restrictKeys(n)&&r),"input"===t&&(r=!1!==e.parent.context.methods.handlePercentChange(n)&&r),"focus"===t&&(r=!1!==e.parent.context.methods.handleFocus(n)&&r),"blur"===t&&(r=!1!==e.parent.context.methods.handleBlur(n)&&r),"mousewheel"===t&&(r=!1!==o["\u0275nov"](e,0).blur()&&r),r},null,null))],null,function(e,t){e(t,0,0,null==t.parent.context.$implicit?null:t.parent.context.$implicit.type,null==t.parent.context.$implicit?null:t.parent.context.$implicit.placeholder,null==t.parent.context.$implicit?null:t.parent.context.$implicit.percentValue)})}function vu(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"label",[["class","input-label"]],null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,["",""]))],null,function(e,t){e(t,1,0,t.parent.context.$implicit.currencyFormat)})}function _u(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"label",[["class","input-label"]],null,null,null,null,null)),(e()(),o["\u0275ted"](-1,null,["%"]))],null,null)}function yu(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,16777216,null,null,16,"div",[["class","novo-control-input-container novo-control-input-with-label"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"data-hint",0]],[[null,"submit"],[null,"reset"],[null,"mouseenter"],[null,"mouseleave"]],function(e,t,n){var r=!0;return"submit"===t&&(r=!1!==o["\u0275nov"](e,1).onSubmit(n)&&r),"reset"===t&&(r=!1!==o["\u0275nov"](e,1).onReset()&&r),"mouseenter"===t&&(r=!1!==o["\u0275nov"](e,4).onMouseEnter()&&r),"mouseleave"===t&&(r=!1!==o["\u0275nov"](e,4).onMouseLeave()&&r),r},null,null)),o["\u0275did"](1,540672,null,0,Ao.FormGroupDirective,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Ao.ControlContainer,null,[Ao.FormGroupDirective]),o["\u0275did"](3,16384,null,0,Ao.NgControlStatusGroup,[[4,Ao.ControlContainer]],null,null),o["\u0275did"](4,212992,null,0,x.Ge,[So.a,o.ViewContainerRef,o.ElementRef],{tooltip:[0,"tooltip"],position:[1,"position"],size:[2,"size"],preline:[3,"preline"],removeArrow:[4,"removeArrow"],autoPosition:[5,"autoPosition"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,pu)),o["\u0275did"](6,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,fu)),o["\u0275did"](8,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,mu)),o["\u0275did"](10,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,gu)),o["\u0275did"](12,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,vu)),o["\u0275did"](14,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,_u)),o["\u0275did"](16,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](0,null,null,0))],function(e,t){e(t,1,0,t.context.form),e(t,4,0,null==t.context.$implicit?null:t.context.$implicit.tooltip,null==t.context.$implicit?null:t.context.$implicit.tooltipPosition,null==t.context.$implicit?null:t.context.$implicit.tooltipSize,null==t.context.$implicit?null:t.context.$implicit.tooltipPreline,null==t.context.$implicit?null:t.context.$implicit.removeTooltipArrow,null==t.context.$implicit?null:t.context.$implicit.tooltipAutoPosition),e(t,6,0,"number"!==(null==t.context.$implicit?null:t.context.$implicit.type)&&(null==t.context.$implicit?null:t.context.$implicit.textMaskEnabled)),e(t,8,0,"number"!==(null==t.context.$implicit?null:t.context.$implicit.type)&&!(null!=t.context.$implicit&&t.context.$implicit.textMaskEnabled)),e(t,10,0,"number"===(null==t.context.$implicit?null:t.context.$implicit.type)&&"percentage"!==(null==t.context.$implicit?null:t.context.$implicit.subType)),e(t,12,0,"number"===(null==t.context.$implicit?null:t.context.$implicit.type)&&"percentage"===(null==t.context.$implicit?null:t.context.$implicit.subType)),e(t,14,0,"currency"===(null==t.context.$implicit?null:t.context.$implicit.subType)),e(t,16,0,"percentage"===(null==t.context.$implicit?null:t.context.$implicit.subType))},function(e,t){e(t,0,0,o["\u0275nov"](t,3).ngClassUntouched,o["\u0275nov"](t,3).ngClassTouched,o["\u0275nov"](t,3).ngClassPristine,o["\u0275nov"](t,3).ngClassDirty,o["\u0275nov"](t,3).ngClassValid,o["\u0275nov"](t,3).ngClassInvalid,o["\u0275nov"](t,3).ngClassPending,o["\u0275nov"](t,4).tooltip)})}function bu(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,16777216,null,null,13,"div",[["class","textarea-container"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"data-hint",0]],[[null,"submit"],[null,"reset"],[null,"mouseenter"],[null,"mouseleave"]],function(e,t,n){var r=!0;return"submit"===t&&(r=!1!==o["\u0275nov"](e,1).onSubmit(n)&&r),"reset"===t&&(r=!1!==o["\u0275nov"](e,1).onReset()&&r),"mouseenter"===t&&(r=!1!==o["\u0275nov"](e,4).onMouseEnter()&&r),"mouseleave"===t&&(r=!1!==o["\u0275nov"](e,4).onMouseLeave()&&r),r},null,null)),o["\u0275did"](1,540672,null,0,Ao.FormGroupDirective,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Ao.ControlContainer,null,[Ao.FormGroupDirective]),o["\u0275did"](3,16384,null,0,Ao.NgControlStatusGroup,[[4,Ao.ControlContainer]],null,null),o["\u0275did"](4,212992,null,0,x.Ge,[So.a,o.ViewContainerRef,o.ElementRef],{tooltip:[0,"tooltip"],position:[1,"position"],size:[2,"size"],preline:[3,"preline"],removeArrow:[4,"removeArrow"],autoPosition:[5,"autoPosition"]},null),(e()(),o["\u0275eld"](5,0,null,null,8,"textarea",[["autosize",""]],[[2,"maxlength-error",null],[8,"name",0],[1,"id",0],[8,"placeholder",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"focus"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(e,t,n){var r=!0;return"input"===t&&(r=!1!==o["\u0275nov"](e,6)._handleInput(n.target.value)&&r),"blur"===t&&(r=!1!==o["\u0275nov"](e,6).onTouched()&&r),"compositionstart"===t&&(r=!1!==o["\u0275nov"](e,6)._compositionStart()&&r),"compositionend"===t&&(r=!1!==o["\u0275nov"](e,6)._compositionEnd(n.target.value)&&r),"input"===t&&(r=!1!==o["\u0275nov"](e,13).onInput(n.target)&&r),"input"===t&&(r=!1!==e.context.methods.handleTextAreaInput(n)&&r),"focus"===t&&(r=!1!==e.context.methods.handleFocus(n)&&r),"blur"===t&&(r=!1!==e.context.methods.handleBlur(n)&&r),r},null,null)),o["\u0275did"](6,16384,null,0,Ao.DefaultValueAccessor,[o.Renderer2,o.ElementRef,[2,Ao.COMPOSITION_BUFFER_MODE]],null,null),o["\u0275did"](7,540672,null,0,Ao.MaxLengthValidator,[],{maxlength:[0,"maxlength"]},null),o["\u0275prd"](1024,null,Ao.NG_VALIDATORS,function(e){return[e]},[Ao.MaxLengthValidator]),o["\u0275prd"](1024,null,Ao.NG_VALUE_ACCESSOR,function(e){return[e]},[Ao.DefaultValueAccessor]),o["\u0275did"](10,671744,null,0,Ao.FormControlName,[[3,Ao.ControlContainer],[6,Ao.NG_VALIDATORS],[8,null],[6,Ao.NG_VALUE_ACCESSOR],[2,Ao["\u0275angular_packages_forms_forms_k"]]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,Ao.NgControl,null,[Ao.FormControlName]),o["\u0275did"](12,16384,null,0,Ao.NgControlStatus,[[4,Ao.NgControl]],null,null),o["\u0275did"](13,1064960,null,0,x.rd,[o.ElementRef],null,null),(e()(),o["\u0275and"](0,null,null,0))],function(e,t){e(t,1,0,t.context.form),e(t,4,0,null==t.context.$implicit?null:t.context.$implicit.tooltip,null==t.context.$implicit?null:t.context.$implicit.tooltipPosition,null==t.context.$implicit?null:t.context.$implicit.tooltipSize,null==t.context.$implicit?null:t.context.$implicit.tooltipPreline,null==t.context.$implicit?null:t.context.$implicit.removeTooltipArrow,null==t.context.$implicit?null:t.context.$implicit.tooltipAutoPosition),e(t,7,0,null==t.context.$implicit?null:t.context.$implicit.maxlength),e(t,10,0,t.context.$implicit.key)},function(e,t){e(t,0,0,o["\u0275nov"](t,3).ngClassUntouched,o["\u0275nov"](t,3).ngClassTouched,o["\u0275nov"](t,3).ngClassPristine,o["\u0275nov"](t,3).ngClassDirty,o["\u0275nov"](t,3).ngClassValid,o["\u0275nov"](t,3).ngClassInvalid,o["\u0275nov"](t,3).ngClassPending,o["\u0275nov"](t,4).tooltip),e(t,5,1,[null==t.context.errors?null:t.context.errors.maxlength,t.context.$implicit.key,t.context.$implicit.key,t.context.$implicit.placeholder,o["\u0275nov"](t,7).maxlength?o["\u0275nov"](t,7).maxlength:null,o["\u0275nov"](t,12).ngClassUntouched,o["\u0275nov"](t,12).ngClassTouched,o["\u0275nov"](t,12).ngClassPristine,o["\u0275nov"](t,12).ngClassDirty,o["\u0275nov"](t,12).ngClassValid,o["\u0275nov"](t,12).ngClassInvalid,o["\u0275nov"](t,12).ngClassPending])})}function Cu(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,9,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(e,t,n){var r=!0;return"submit"===t&&(r=!1!==o["\u0275nov"](e,1).onSubmit(n)&&r),"reset"===t&&(r=!1!==o["\u0275nov"](e,1).onReset()&&r),r},null,null)),o["\u0275did"](1,540672,null,0,Ao.FormGroupDirective,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Ao.ControlContainer,null,[Ao.FormGroupDirective]),o["\u0275did"](3,16384,null,0,Ao.NgControlStatusGroup,[[4,Ao.ControlContainer]],null,null),(e()(),o["\u0275eld"](4,0,null,null,5,"novo-editor",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"focus"],[null,"blur"]],function(e,t,n){var o=!0;return"focus"===t&&(o=!1!==e.context.methods.handleFocus(n)&&o),"blur"===t&&(o=!1!==e.context.methods.handleBlur(n)&&o),o},Hl,$l)),o["\u0275did"](5,4374528,null,0,x.nd,[o.NgZone],{config:[0,"config"],name:[1,"name"],minimal:[2,"minimal"],startupFocus:[3,"startupFocus"],fileBrowserImageUploadUrl:[4,"fileBrowserImageUploadUrl"]},{blur:"blur",focus:"focus"}),o["\u0275prd"](1024,null,Ao.NG_VALUE_ACCESSOR,function(e){return[e]},[x.nd]),o["\u0275did"](7,671744,null,0,Ao.FormControlName,[[3,Ao.ControlContainer],[8,null],[8,null],[6,Ao.NG_VALUE_ACCESSOR],[2,Ao["\u0275angular_packages_forms_forms_k"]]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,Ao.NgControl,null,[Ao.FormControlName]),o["\u0275did"](9,16384,null,0,Ao.NgControlStatus,[[4,Ao.NgControl]],null,null)],function(e,t){e(t,1,0,t.context.form),e(t,5,0,t.context.$implicit.config,t.context.$implicit.key,t.context.$implicit.minimal,t.context.$implicit.startupFocus,t.context.$implicit.fileBrowserImageUploadUrl),e(t,7,0,t.context.$implicit.key)},function(e,t){e(t,0,0,o["\u0275nov"](t,3).ngClassUntouched,o["\u0275nov"](t,3).ngClassTouched,o["\u0275nov"](t,3).ngClassPristine,o["\u0275nov"](t,3).ngClassDirty,o["\u0275nov"](t,3).ngClassValid,o["\u0275nov"](t,3).ngClassInvalid,o["\u0275nov"](t,3).ngClassPending),e(t,4,0,o["\u0275nov"](t,9).ngClassUntouched,o["\u0275nov"](t,9).ngClassTouched,o["\u0275nov"](t,9).ngClassPristine,o["\u0275nov"](t,9).ngClassDirty,o["\u0275nov"](t,9).ngClassValid,o["\u0275nov"](t,9).ngClassInvalid,o["\u0275nov"](t,9).ngClassPending)})}function Eu(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,9,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(e,t,n){var r=!0;return"submit"===t&&(r=!1!==o["\u0275nov"](e,1).onSubmit(n)&&r),"reset"===t&&(r=!1!==o["\u0275nov"](e,1).onReset()&&r),r},null,null)),o["\u0275did"](1,540672,null,0,Ao.FormGroupDirective,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Ao.ControlContainer,null,[Ao.FormGroupDirective]),o["\u0275did"](3,16384,null,0,Ao.NgControlStatusGroup,[[4,Ao.ControlContainer]],null,null),(e()(),o["\u0275eld"](4,0,null,null,5,"novo-ace-editor",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"focus"],[null,"blur"]],function(e,t,n){var o=!0;return"focus"===t&&(o=!1!==e.context.methods.handleFocus(n)&&o),"blur"===t&&(o=!1!==e.context.methods.handleBlur(n)&&o),o},Ua,Va)),o["\u0275did"](5,245760,null,0,x.Ce,[o.ElementRef],{name:[0,"name"]},{blur:"blur",focus:"focus"}),o["\u0275prd"](1024,null,Ao.NG_VALUE_ACCESSOR,function(e){return[e]},[x.Ce]),o["\u0275did"](7,671744,null,0,Ao.FormControlName,[[3,Ao.ControlContainer],[8,null],[8,null],[6,Ao.NG_VALUE_ACCESSOR],[2,Ao["\u0275angular_packages_forms_forms_k"]]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,Ao.NgControl,null,[Ao.FormControlName]),o["\u0275did"](9,16384,null,0,Ao.NgControlStatus,[[4,Ao.NgControl]],null,null)],function(e,t){e(t,1,0,t.context.form),e(t,5,0,t.context.$implicit.key),e(t,7,0,t.context.$implicit.key)},function(e,t){e(t,0,0,o["\u0275nov"](t,3).ngClassUntouched,o["\u0275nov"](t,3).ngClassTouched,o["\u0275nov"](t,3).ngClassPristine,o["\u0275nov"](t,3).ngClassDirty,o["\u0275nov"](t,3).ngClassValid,o["\u0275nov"](t,3).ngClassInvalid,o["\u0275nov"](t,3).ngClassPending),e(t,4,0,o["\u0275nov"](t,9).ngClassUntouched,o["\u0275nov"](t,9).ngClassTouched,o["\u0275nov"](t,9).ngClassPristine,o["\u0275nov"](t,9).ngClassDirty,o["\u0275nov"](t,9).ngClassValid,o["\u0275nov"](t,9).ngClassInvalid,o["\u0275nov"](t,9).ngClassPending)})}function wu(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,3,"option",[["disabled",""],["hidden",""],["selected",""],["value",""]],null,null,null,null,null)),o["\u0275did"](1,147456,null,0,Ao.NgSelectOption,[o.ElementRef,o.Renderer2,[2,Ao.SelectControlValueAccessor]],{value:[0,"value"]},null),o["\u0275did"](2,147456,null,0,Ao["\u0275angular_packages_forms_forms_s"],[o.ElementRef,o.Renderer2,[8,null]],{value:[0,"value"]},null),(e()(),o["\u0275ted"](3,null,["",""]))],function(e,t){e(t,1,0,""),e(t,2,0,"")},function(e,t){e(t,3,0,t.parent.context.$implicit.placeholder)})}function ku(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,3,"option",[],null,null,null,null,null)),o["\u0275did"](1,147456,null,0,Ao.NgSelectOption,[o.ElementRef,o.Renderer2,[2,Ao.SelectControlValueAccessor]],{value:[0,"value"]},null),o["\u0275did"](2,147456,null,0,Ao["\u0275angular_packages_forms_forms_s"],[o.ElementRef,o.Renderer2,[8,null]],{value:[0,"value"]},null),(e()(),o["\u0275ted"](3,null,["",""]))],function(e,t){e(t,1,0,t.context.$implicit.key),e(t,2,0,t.context.$implicit.key)},function(e,t){e(t,3,0,t.context.$implicit.value)})}function Au(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,14,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(e,t,n){var r=!0;return"submit"===t&&(r=!1!==o["\u0275nov"](e,1).onSubmit(n)&&r),"reset"===t&&(r=!1!==o["\u0275nov"](e,1).onReset()&&r),r},null,null)),o["\u0275did"](1,540672,null,0,Ao.FormGroupDirective,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Ao.ControlContainer,null,[Ao.FormGroupDirective]),o["\u0275did"](3,16384,null,0,Ao.NgControlStatusGroup,[[4,Ao.ControlContainer]],null,null),(e()(),o["\u0275eld"](4,16777216,null,null,10,"select",[],[[8,"id",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"data-hint",0]],[[null,"change"],[null,"blur"],[null,"mouseenter"],[null,"mouseleave"]],function(e,t,n){var r=!0;return"change"===t&&(r=!1!==o["\u0275nov"](e,5).onChange(n.target.value)&&r),"blur"===t&&(r=!1!==o["\u0275nov"](e,5).onTouched()&&r),"mouseenter"===t&&(r=!1!==o["\u0275nov"](e,10).onMouseEnter()&&r),"mouseleave"===t&&(r=!1!==o["\u0275nov"](e,10).onMouseLeave()&&r),r},null,null)),o["\u0275did"](5,16384,null,0,Ao.SelectControlValueAccessor,[o.Renderer2,o.ElementRef],null,null),o["\u0275prd"](1024,null,Ao.NG_VALUE_ACCESSOR,function(e){return[e]},[Ao.SelectControlValueAccessor]),o["\u0275did"](7,671744,null,0,Ao.FormControlName,[[3,Ao.ControlContainer],[8,null],[8,null],[6,Ao.NG_VALUE_ACCESSOR],[2,Ao["\u0275angular_packages_forms_forms_k"]]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,Ao.NgControl,null,[Ao.FormControlName]),o["\u0275did"](9,16384,null,0,Ao.NgControlStatus,[[4,Ao.NgControl]],null,null),o["\u0275did"](10,212992,null,0,x.Ge,[So.a,o.ViewContainerRef,o.ElementRef],{tooltip:[0,"tooltip"],position:[1,"position"],size:[2,"size"],preline:[3,"preline"],removeArrow:[4,"removeArrow"],autoPosition:[5,"autoPosition"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,wu)),o["\u0275did"](12,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,ku)),o["\u0275did"](14,278528,null,0,r.l,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(e,t){e(t,1,0,t.context.form),e(t,7,0,t.context.$implicit.key),e(t,10,0,t.context.$implicit.tooltip,t.context.$implicit.tooltipPosition,null==t.context.$implicit?null:t.context.$implicit.tooltipSize,null==t.context.$implicit?null:t.context.$implicit.tooltipPreline,null==t.context.$implicit?null:t.context.$implicit.removeTooltipArrow,null==t.context.$implicit?null:t.context.$implicit.tooltipAutoPosition),e(t,12,0,t.context.$implicit.placeholder),e(t,14,0,t.context.$implicit.options)},function(e,t){e(t,0,0,o["\u0275nov"](t,3).ngClassUntouched,o["\u0275nov"](t,3).ngClassTouched,o["\u0275nov"](t,3).ngClassPristine,o["\u0275nov"](t,3).ngClassDirty,o["\u0275nov"](t,3).ngClassValid,o["\u0275nov"](t,3).ngClassInvalid,o["\u0275nov"](t,3).ngClassPending),e(t,4,0,t.context.$implicit.key,o["\u0275nov"](t,9).ngClassUntouched,o["\u0275nov"](t,9).ngClassTouched,o["\u0275nov"](t,9).ngClassPristine,o["\u0275nov"](t,9).ngClassDirty,o["\u0275nov"](t,9).ngClassValid,o["\u0275nov"](t,9).ngClassInvalid,o["\u0275nov"](t,9).ngClassPending,o["\u0275nov"](t,10).tooltip)})}function Su(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,10,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(e,t,n){var r=!0;return"submit"===t&&(r=!1!==o["\u0275nov"](e,1).onSubmit(n)&&r),"reset"===t&&(r=!1!==o["\u0275nov"](e,1).onReset()&&r),r},null,null)),o["\u0275did"](1,540672,null,0,Ao.FormGroupDirective,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Ao.ControlContainer,null,[Ao.FormGroupDirective]),o["\u0275did"](3,16384,null,0,Ao.NgControlStatusGroup,[[4,Ao.ControlContainer]],null,null),(e()(),o["\u0275eld"](4,16777216,null,null,6,"novo-file-input",[],[[8,"id",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"data-hint",0]],[[null,"edit"],[null,"save"],[null,"delete"],[null,"upload"],[null,"mouseenter"],[null,"mouseleave"]],function(e,t,n){var r=!0;return"mouseenter"===t&&(r=!1!==o["\u0275nov"](e,10).onMouseEnter()&&r),"mouseleave"===t&&(r=!1!==o["\u0275nov"](e,10).onMouseLeave()&&r),"edit"===t&&(r=!1!==e.context.methods.handleEdit(n)&&r),"save"===t&&(r=!1!==e.context.methods.handleSave(n)&&r),"delete"===t&&(r=!1!==e.context.methods.handleDelete(n)&&r),"upload"===t&&(r=!1!==e.context.methods.handleUpload(n)&&r),r},Cc,ec)),o["\u0275did"](5,770048,null,0,x.qd,[o.ElementRef,x.T,x.H],{name:[0,"name"],multiple:[1,"multiple"],placeholder:[2,"placeholder"],layoutOptions:[3,"layoutOptions"],value:[4,"value"]},{edit:"edit",save:"save",delete:"delete",upload:"upload"}),o["\u0275prd"](1024,null,Ao.NG_VALUE_ACCESSOR,function(e){return[e]},[x.qd]),o["\u0275did"](7,671744,null,0,Ao.FormControlName,[[3,Ao.ControlContainer],[8,null],[8,null],[6,Ao.NG_VALUE_ACCESSOR],[2,Ao["\u0275angular_packages_forms_forms_k"]]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,Ao.NgControl,null,[Ao.FormControlName]),o["\u0275did"](9,16384,null,0,Ao.NgControlStatus,[[4,Ao.NgControl]],null,null),o["\u0275did"](10,212992,null,0,x.Ge,[So.a,o.ViewContainerRef,o.ElementRef],{tooltip:[0,"tooltip"],position:[1,"position"],size:[2,"size"],preline:[3,"preline"],removeArrow:[4,"removeArrow"],autoPosition:[5,"autoPosition"]},null)],function(e,t){e(t,1,0,t.context.form),e(t,5,0,t.context.$implicit.key,t.context.$implicit.multiple,t.context.$implicit.placeholder,t.context.$implicit.layoutOptions,t.context.$implicit.value),e(t,7,0,t.context.$implicit.key),e(t,10,0,t.context.$implicit.tooltip,t.context.$implicit.tooltipPosition,null==t.context.$implicit?null:t.context.$implicit.tooltipSize,null==t.context.$implicit?null:t.context.$implicit.tooltipPreline,null==t.context.$implicit?null:t.context.$implicit.removeTooltipArrow,null==t.context.$implicit?null:t.context.$implicit.tooltipAutoPosition)},function(e,t){e(t,0,0,o["\u0275nov"](t,3).ngClassUntouched,o["\u0275nov"](t,3).ngClassTouched,o["\u0275nov"](t,3).ngClassPristine,o["\u0275nov"](t,3).ngClassDirty,o["\u0275nov"](t,3).ngClassValid,o["\u0275nov"](t,3).ngClassInvalid,o["\u0275nov"](t,3).ngClassPending),e(t,4,0,t.context.$implicit.key,o["\u0275nov"](t,9).ngClassUntouched,o["\u0275nov"](t,9).ngClassTouched,o["\u0275nov"](t,9).ngClassPristine,o["\u0275nov"](t,9).ngClassDirty,o["\u0275nov"](t,9).ngClassValid,o["\u0275nov"](t,9).ngClassInvalid,o["\u0275nov"](t,9).ngClassPending,o["\u0275nov"](t,10).tooltip)})}function Ou(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,10,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(e,t,n){var r=!0;return"submit"===t&&(r=!1!==o["\u0275nov"](e,1).onSubmit(n)&&r),"reset"===t&&(r=!1!==o["\u0275nov"](e,1).onReset()&&r),r},null,null)),o["\u0275did"](1,540672,null,0,Ao.FormGroupDirective,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Ao.ControlContainer,null,[Ao.FormGroupDirective]),o["\u0275did"](3,16384,null,0,Ao.NgControlStatusGroup,[[4,Ao.ControlContainer]],null,null),(e()(),o["\u0275eld"](4,16777216,null,null,6,"novo-tiles",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"data-hint",0]],[[null,"onChange"],[null,"mouseenter"],[null,"mouseleave"]],function(e,t,n){var r=!0;return"mouseenter"===t&&(r=!1!==o["\u0275nov"](e,10).onMouseEnter()&&r),"mouseleave"===t&&(r=!1!==o["\u0275nov"](e,10).onMouseLeave()&&r),"onChange"===t&&(r=!1!==e.context.methods.modelChange(n)&&r),r},ys,vs)),o["\u0275did"](5,1622016,null,0,x.Mc,[o.ElementRef,o.ChangeDetectorRef],{options:[0,"options"],disabled:[1,"disabled"]},{onChange:"onChange"}),o["\u0275prd"](1024,null,Ao.NG_VALUE_ACCESSOR,function(e){return[e]},[x.Mc]),o["\u0275did"](7,671744,null,0,Ao.FormControlName,[[3,Ao.ControlContainer],[8,null],[8,null],[6,Ao.NG_VALUE_ACCESSOR],[2,Ao["\u0275angular_packages_forms_forms_k"]]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,Ao.NgControl,null,[Ao.FormControlName]),o["\u0275did"](9,16384,null,0,Ao.NgControlStatus,[[4,Ao.NgControl]],null,null),o["\u0275did"](10,212992,null,0,x.Ge,[So.a,o.ViewContainerRef,o.ElementRef],{tooltip:[0,"tooltip"],position:[1,"position"],size:[2,"size"],preline:[3,"preline"],removeArrow:[4,"removeArrow"],autoPosition:[5,"autoPosition"]},null)],function(e,t){e(t,1,0,t.context.form),e(t,5,0,t.context.$implicit.options,t.context.$implicit.disabled),e(t,7,0,t.context.$implicit.key),e(t,10,0,t.context.$implicit.tooltip,t.context.$implicit.tooltipPosition,null==t.context.$implicit?null:t.context.$implicit.tooltipSize,null==t.context.$implicit?null:t.context.$implicit.tooltipPreline,null==t.context.$implicit?null:t.context.$implicit.removeTooltipArrow,null==t.context.$implicit?null:t.context.$implicit.tooltipAutoPosition)},function(e,t){e(t,0,0,o["\u0275nov"](t,3).ngClassUntouched,o["\u0275nov"](t,3).ngClassTouched,o["\u0275nov"](t,3).ngClassPristine,o["\u0275nov"](t,3).ngClassDirty,o["\u0275nov"](t,3).ngClassValid,o["\u0275nov"](t,3).ngClassInvalid,o["\u0275nov"](t,3).ngClassPending),e(t,4,0,o["\u0275nov"](t,9).ngClassUntouched,o["\u0275nov"](t,9).ngClassTouched,o["\u0275nov"](t,9).ngClassPristine,o["\u0275nov"](t,9).ngClassDirty,o["\u0275nov"](t,9).ngClassValid,o["\u0275nov"](t,9).ngClassInvalid,o["\u0275nov"](t,9).ngClassPending,o["\u0275nov"](t,10).tooltip)})}function xu(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,16777216,null,null,6,"novo-picker",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"data-hint",0]],[[null,"select"],[null,"changed"],[null,"typing"],[null,"focus"],[null,"blur"],[null,"mouseenter"],[null,"mouseleave"]],function(e,t,n){var r=!0;return"mouseenter"===t&&(r=!1!==o["\u0275nov"](e,6).onMouseEnter()&&r),"mouseleave"===t&&(r=!1!==o["\u0275nov"](e,6).onMouseLeave()&&r),"select"===t&&(r=!1!==e.parent.context.methods.modelChange(n)&&r),"changed"===t&&(r=!1!==e.parent.context.methods.modelChangeWithRaw(n)&&r),"typing"===t&&(r=!1!==e.parent.context.methods.handleTyping(n)&&r),"focus"===t&&(r=!1!==e.parent.context.methods.handleFocus(n)&&r),"blur"===t&&(r=!1!==e.parent.context.methods.handleBlur(n)&&r),r},Js,Gs)),o["\u0275did"](1,114688,null,0,x.Yc,[o.ElementRef,x.d,o.ChangeDetectorRef],{config:[0,"config"],placeholder:[1,"placeholder"],parentScrollSelector:[2,"parentScrollSelector"]},{changed:"changed",select:"select",focus:"focus",blur:"blur",typing:"typing"}),o["\u0275prd"](1024,null,Ao.NG_VALUE_ACCESSOR,function(e){return[e]},[x.Yc]),o["\u0275did"](3,671744,null,0,Ao.FormControlName,[[3,Ao.ControlContainer],[8,null],[8,null],[6,Ao.NG_VALUE_ACCESSOR],[2,Ao["\u0275angular_packages_forms_forms_k"]]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,Ao.NgControl,null,[Ao.FormControlName]),o["\u0275did"](5,16384,null,0,Ao.NgControlStatus,[[4,Ao.NgControl]],null,null),o["\u0275did"](6,212992,null,0,x.Ge,[So.a,o.ViewContainerRef,o.ElementRef],{tooltip:[0,"tooltip"],position:[1,"position"],size:[2,"size"],preline:[3,"preline"],removeArrow:[4,"removeArrow"],autoPosition:[5,"autoPosition"]},null),(e()(),o["\u0275and"](0,null,null,0))],function(e,t){e(t,1,0,t.parent.context.$implicit.config,t.parent.context.$implicit.placeholder,t.parent.context.$implicit.parentScrollSelector),e(t,3,0,t.parent.context.$implicit.key),e(t,6,0,t.parent.context.$implicit.tooltip,t.parent.context.$implicit.tooltipPosition,null==t.parent.context.$implicit?null:t.parent.context.$implicit.tooltipSize,null==t.parent.context.$implicit?null:t.parent.context.$implicit.tooltipPreline,null==t.parent.context.$implicit?null:t.parent.context.$implicit.removeTooltipArrow,null==t.parent.context.$implicit?null:t.parent.context.$implicit.tooltipAutoPosition)},function(e,t){e(t,0,0,o["\u0275nov"](t,5).ngClassUntouched,o["\u0275nov"](t,5).ngClassTouched,o["\u0275nov"](t,5).ngClassPristine,o["\u0275nov"](t,5).ngClassDirty,o["\u0275nov"](t,5).ngClassValid,o["\u0275nov"](t,5).ngClassInvalid,o["\u0275nov"](t,5).ngClassPending,o["\u0275nov"](t,6).tooltip)})}function Du(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,16777216,null,null,8,"novo-chips",[],[[1,"maxlength",0],[2,"with-value",null],[2,"disabled",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"data-hint",0]],[[null,"changed"],[null,"typing"],[null,"focus"],[null,"blur"],[null,"mouseenter"],[null,"mouseleave"]],function(e,t,n){var r=!0;return"mouseenter"===t&&(r=!1!==o["\u0275nov"](e,8).onMouseEnter()&&r),"mouseleave"===t&&(r=!1!==o["\u0275nov"](e,8).onMouseLeave()&&r),"changed"===t&&(r=!1!==e.parent.context.methods.modelChangeWithRaw(n)&&r),"typing"===t&&(r=!1!==e.parent.context.methods.handleTyping(n)&&r),"focus"===t&&(r=!1!==e.parent.context.methods.handleFocus(n)&&r),"blur"===t&&(r=!1!==e.parent.context.methods.handleBlur(n)&&r),r},cl,rl)),o["\u0275did"](1,540672,null,0,Ao.MaxLengthValidator,[],{maxlength:[0,"maxlength"]},null),o["\u0275prd"](1024,null,Ao.NG_VALIDATORS,function(e){return[e]},[Ao.MaxLengthValidator]),o["\u0275did"](3,114688,null,0,x.dd,[o.ElementRef,x.d,x.T],{closeOnSelect:[0,"closeOnSelect"],placeholder:[1,"placeholder"],source:[2,"source"],maxlength:[3,"maxlength"],type:[4,"type"]},{changed:"changed",focus:"focus",blur:"blur",typing:"typing"}),o["\u0275prd"](1024,null,Ao.NG_VALUE_ACCESSOR,function(e){return[e]},[x.dd]),o["\u0275did"](5,671744,null,0,Ao.FormControlName,[[3,Ao.ControlContainer],[6,Ao.NG_VALIDATORS],[8,null],[6,Ao.NG_VALUE_ACCESSOR],[2,Ao["\u0275angular_packages_forms_forms_k"]]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,Ao.NgControl,null,[Ao.FormControlName]),o["\u0275did"](7,16384,null,0,Ao.NgControlStatus,[[4,Ao.NgControl]],null,null),o["\u0275did"](8,212992,null,0,x.Ge,[So.a,o.ViewContainerRef,o.ElementRef],{tooltip:[0,"tooltip"],position:[1,"position"],size:[2,"size"],preline:[3,"preline"],removeArrow:[4,"removeArrow"],autoPosition:[5,"autoPosition"]},null),(e()(),o["\u0275and"](0,null,null,0))],function(e,t){e(t,1,0,null==t.parent.context.$implicit?null:t.parent.context.$implicit.maxlength),e(t,3,0,t.parent.context.$implicit.closeOnSelect,t.parent.context.$implicit.placeholder,t.parent.context.$implicit.config,null==t.parent.context.$implicit?null:t.parent.context.$implicit.maxlength,t.parent.context.$implicit.config.type),e(t,5,0,t.parent.context.$implicit.key),e(t,8,0,t.parent.context.$implicit.tooltip,t.parent.context.$implicit.tooltipPosition,null==t.parent.context.$implicit?null:t.parent.context.$implicit.tooltipSize,null==t.parent.context.$implicit?null:t.parent.context.$implicit.tooltipPreline,null==t.parent.context.$implicit?null:t.parent.context.$implicit.removeTooltipArrow,null==t.parent.context.$implicit?null:t.parent.context.$implicit.tooltipAutoPosition)},function(e,t){e(t,0,1,[o["\u0275nov"](t,1).maxlength?o["\u0275nov"](t,1).maxlength:null,o["\u0275nov"](t,3).items.length>0,o["\u0275nov"](t,3).disablePickerInput,o["\u0275nov"](t,7).ngClassUntouched,o["\u0275nov"](t,7).ngClassTouched,o["\u0275nov"](t,7).ngClassPristine,o["\u0275nov"](t,7).ngClassDirty,o["\u0275nov"](t,7).ngClassValid,o["\u0275nov"](t,7).ngClassInvalid,o["\u0275nov"](t,7).ngClassPending,o["\u0275nov"](t,8).tooltip])})}function Tu(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,16777216,null,null,6,"novo-row-chips",[],[[2,"with-value",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"data-hint",0]],[[null,"changed"],[null,"typing"],[null,"focus"],[null,"blur"],[null,"mouseenter"],[null,"mouseleave"]],function(e,t,n){var r=!0;return"mouseenter"===t&&(r=!1!==o["\u0275nov"](e,6).onMouseEnter()&&r),"mouseleave"===t&&(r=!1!==o["\u0275nov"](e,6).onMouseLeave()&&r),"changed"===t&&(r=!1!==e.parent.context.methods.modelChangeWithRaw(n)&&r),"typing"===t&&(r=!1!==e.parent.context.methods.handleTyping(n)&&r),"focus"===t&&(r=!1!==e.parent.context.methods.handleFocus(n)&&r),"blur"===t&&(r=!1!==e.parent.context.methods.handleBlur(n)&&r),r},bl,pl)),o["\u0275did"](1,114688,null,0,x.fd,[o.ElementRef,x.d,x.T],{closeOnSelect:[0,"closeOnSelect"],placeholder:[1,"placeholder"],source:[2,"source"],type:[3,"type"]},{changed:"changed",focus:"focus",blur:"blur",typing:"typing"}),o["\u0275prd"](1024,null,Ao.NG_VALUE_ACCESSOR,function(e){return[e]},[x.fd]),o["\u0275did"](3,671744,null,0,Ao.FormControlName,[[3,Ao.ControlContainer],[8,null],[8,null],[6,Ao.NG_VALUE_ACCESSOR],[2,Ao["\u0275angular_packages_forms_forms_k"]]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,Ao.NgControl,null,[Ao.FormControlName]),o["\u0275did"](5,16384,null,0,Ao.NgControlStatus,[[4,Ao.NgControl]],null,null),o["\u0275did"](6,212992,null,0,x.Ge,[So.a,o.ViewContainerRef,o.ElementRef],{tooltip:[0,"tooltip"],position:[1,"position"],size:[2,"size"],preline:[3,"preline"],removeArrow:[4,"removeArrow"],autoPosition:[5,"autoPosition"]},null),(e()(),o["\u0275and"](0,null,null,0))],function(e,t){e(t,1,0,t.parent.context.$implicit.closeOnSelect,t.parent.context.$implicit.placeholder,t.parent.context.$implicit.config,t.parent.context.$implicit.config.type),e(t,3,0,t.parent.context.$implicit.key),e(t,6,0,t.parent.context.$implicit.tooltip,t.parent.context.$implicit.tooltipPosition,null==t.parent.context.$implicit?null:t.parent.context.$implicit.tooltipSize,null==t.parent.context.$implicit?null:t.parent.context.$implicit.tooltipPreline,null==t.parent.context.$implicit?null:t.parent.context.$implicit.removeTooltipArrow,null==t.parent.context.$implicit?null:t.parent.context.$implicit.tooltipAutoPosition)},function(e,t){e(t,0,0,o["\u0275nov"](t,1).items.length>0,o["\u0275nov"](t,5).ngClassUntouched,o["\u0275nov"](t,5).ngClassTouched,o["\u0275nov"](t,5).ngClassPristine,o["\u0275nov"](t,5).ngClassDirty,o["\u0275nov"](t,5).ngClassValid,o["\u0275nov"](t,5).ngClassInvalid,o["\u0275nov"](t,5).ngClassPending,o["\u0275nov"](t,6).tooltip)})}function Ru(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,9,"div",[["class","novo-control-input-container"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(e,t,n){var r=!0;return"submit"===t&&(r=!1!==o["\u0275nov"](e,1).onSubmit(n)&&r),"reset"===t&&(r=!1!==o["\u0275nov"](e,1).onReset()&&r),r},null,null)),o["\u0275did"](1,540672,null,0,Ao.FormGroupDirective,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Ao.ControlContainer,null,[Ao.FormGroupDirective]),o["\u0275did"](3,16384,null,0,Ao.NgControlStatusGroup,[[4,Ao.ControlContainer]],null,null),(e()(),o["\u0275and"](16777216,null,null,1,null,xu)),o["\u0275did"](5,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Du)),o["\u0275did"](7,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Tu)),o["\u0275did"](9,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){e(t,1,0,t.context.form),e(t,5,0,!t.context.$implicit.multiple),e(t,7,0,t.context.$implicit.multiple&&!t.context.$implicit.config.columns),e(t,9,0,t.context.$implicit.multiple&&t.context.$implicit.config.columns)},function(e,t){e(t,0,0,o["\u0275nov"](t,3).ngClassUntouched,o["\u0275nov"](t,3).ngClassTouched,o["\u0275nov"](t,3).ngClassPristine,o["\u0275nov"](t,3).ngClassDirty,o["\u0275nov"](t,3).ngClassValid,o["\u0275nov"](t,3).ngClassInvalid,o["\u0275nov"](t,3).ngClassPending)})}function Pu(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,10,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(e,t,n){var r=!0;return"submit"===t&&(r=!1!==o["\u0275nov"](e,1).onSubmit(n)&&r),"reset"===t&&(r=!1!==o["\u0275nov"](e,1).onReset()&&r),r},null,null)),o["\u0275did"](1,540672,null,0,Ao.FormGroupDirective,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Ao.ControlContainer,null,[Ao.FormGroupDirective]),o["\u0275did"](3,16384,null,0,Ao.NgControlStatusGroup,[[4,Ao.ControlContainer]],null,null),(e()(),o["\u0275eld"](4,16777216,null,null,6,"novo-select",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"data-hint",0]],[[null,"onSelect"],[null,"keydown"],[null,"mouseenter"],[null,"mouseleave"]],function(e,t,n){var r=!0;return"keydown"===t&&(r=!1!==o["\u0275nov"](e,5).onKeyDown(n)&&r),"mouseenter"===t&&(r=!1!==o["\u0275nov"](e,10).onMouseEnter()&&r),"mouseleave"===t&&(r=!1!==o["\u0275nov"](e,10).onMouseLeave()&&r),"onSelect"===t&&(r=!1!==e.context.methods.modelChange(n)&&r),r},Hs,Bs)),o["\u0275did"](5,770048,null,0,x.Wc,[o.ElementRef,x.T,o.ChangeDetectorRef,Po.c,o.NgZone],{options:[0,"options"],placeholder:[1,"placeholder"],headerConfig:[2,"headerConfig"]},{onSelect:"onSelect"}),o["\u0275prd"](1024,null,Ao.NG_VALUE_ACCESSOR,function(e){return[e]},[x.Wc]),o["\u0275did"](7,671744,null,0,Ao.FormControlName,[[3,Ao.ControlContainer],[8,null],[8,null],[6,Ao.NG_VALUE_ACCESSOR],[2,Ao["\u0275angular_packages_forms_forms_k"]]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,Ao.NgControl,null,[Ao.FormControlName]),o["\u0275did"](9,16384,null,0,Ao.NgControlStatus,[[4,Ao.NgControl]],null,null),o["\u0275did"](10,212992,null,0,x.Ge,[So.a,o.ViewContainerRef,o.ElementRef],{tooltip:[0,"tooltip"],position:[1,"position"],size:[2,"size"],preline:[3,"preline"],removeArrow:[4,"removeArrow"],autoPosition:[5,"autoPosition"]},null)],function(e,t){e(t,1,0,t.context.form),e(t,5,0,t.context.$implicit.options,t.context.$implicit.placeholder,t.context.$implicit.headerConfig),e(t,7,0,t.context.$implicit.key),e(t,10,0,t.context.$implicit.tooltip,t.context.$implicit.tooltipPosition,null==t.context.$implicit?null:t.context.$implicit.tooltipSize,null==t.context.$implicit?null:t.context.$implicit.tooltipPreline,null==t.context.$implicit?null:t.context.$implicit.removeTooltipArrow,null==t.context.$implicit?null:t.context.$implicit.tooltipAutoPosition)},function(e,t){e(t,0,0,o["\u0275nov"](t,3).ngClassUntouched,o["\u0275nov"](t,3).ngClassTouched,o["\u0275nov"](t,3).ngClassPristine,o["\u0275nov"](t,3).ngClassDirty,o["\u0275nov"](t,3).ngClassValid,o["\u0275nov"](t,3).ngClassInvalid,o["\u0275nov"](t,3).ngClassPending),e(t,4,0,o["\u0275nov"](t,9).ngClassUntouched,o["\u0275nov"](t,9).ngClassTouched,o["\u0275nov"](t,9).ngClassPristine,o["\u0275nov"](t,9).ngClassDirty,o["\u0275nov"](t,9).ngClassValid,o["\u0275nov"](t,9).ngClassInvalid,o["\u0275nov"](t,9).ngClassPending,o["\u0275nov"](t,10).tooltip)})}function Mu(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,16777216,null,null,6,"novo-radio",[],[[1,"data-automation-id",0],[2,"vertical",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"data-hint",0]],[[null,"mouseenter"],[null,"mouseleave"]],function(e,t,n){var r=!0;return"mouseenter"===t&&(r=!1!==o["\u0275nov"](e,6).onMouseEnter()&&r),"mouseleave"===t&&(r=!1!==o["\u0275nov"](e,6).onMouseLeave()&&r),r},As,Es)),o["\u0275did"](1,49152,null,0,x.Pc,[o.ChangeDetectorRef],{name:[0,"name"],value:[1,"value"],checked:[2,"checked"],label:[3,"label"],button:[4,"button"],icon:[5,"icon"]},null),o["\u0275prd"](1024,null,Ao.NG_VALUE_ACCESSOR,function(e){return[e]},[x.Pc]),o["\u0275did"](3,671744,null,0,Ao.FormControlName,[[3,Ao.ControlContainer],[8,null],[8,null],[6,Ao.NG_VALUE_ACCESSOR],[2,Ao["\u0275angular_packages_forms_forms_k"]]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,Ao.NgControl,null,[Ao.FormControlName]),o["\u0275did"](5,16384,null,0,Ao.NgControlStatus,[[4,Ao.NgControl]],null,null),o["\u0275did"](6,212992,null,0,x.Ge,[So.a,o.ViewContainerRef,o.ElementRef],{tooltip:[0,"tooltip"],position:[1,"position"],size:[2,"size"],preline:[3,"preline"],removeArrow:[4,"removeArrow"],autoPosition:[5,"autoPosition"]},null),(e()(),o["\u0275and"](0,null,null,0))],function(e,t){e(t,1,0,t.parent.context.$implicit.key,t.context.$implicit.value,t.context.$implicit.value===t.parent.context.form.value[t.parent.context.$implicit.key],t.context.$implicit.label,!!t.context.$implicit.icon,t.context.$implicit.icon),e(t,3,0,t.parent.context.$implicit.key),e(t,6,0,t.parent.context.$implicit.tooltip,t.parent.context.$implicit.tooltipPosition,null==t.parent.context.$implicit?null:t.parent.context.$implicit.tooltipSize,null==t.parent.context.$implicit?null:t.parent.context.$implicit.tooltipPreline,null==t.parent.context.$implicit?null:t.parent.context.$implicit.removeTooltipArrow,null==t.parent.context.$implicit?null:t.parent.context.$implicit.tooltipAutoPosition)},function(e,t){e(t,0,0,t.parent.context.$implicit.key+"-"+((null==t.context.$implicit?null:t.context.$implicit.label)||(null==t.context.$implicit?null:t.context.$implicit.value)),o["\u0275nov"](t,1).vertical,o["\u0275nov"](t,5).ngClassUntouched,o["\u0275nov"](t,5).ngClassTouched,o["\u0275nov"](t,5).ngClassPristine,o["\u0275nov"](t,5).ngClassDirty,o["\u0275nov"](t,5).ngClassValid,o["\u0275nov"](t,5).ngClassInvalid,o["\u0275nov"](t,5).ngClassPending,o["\u0275nov"](t,6).tooltip)})}function Iu(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,5,"div",[["class","novo-control-input-container"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(e,t,n){var r=!0;return"submit"===t&&(r=!1!==o["\u0275nov"](e,1).onSubmit(n)&&r),"reset"===t&&(r=!1!==o["\u0275nov"](e,1).onReset()&&r),r},null,null)),o["\u0275did"](1,540672,null,0,Ao.FormGroupDirective,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Ao.ControlContainer,null,[Ao.FormGroupDirective]),o["\u0275did"](3,16384,null,0,Ao.NgControlStatusGroup,[[4,Ao.ControlContainer]],null,null),(e()(),o["\u0275and"](16777216,null,null,1,null,Mu)),o["\u0275did"](5,278528,null,0,r.l,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(e,t){e(t,1,0,t.context.form),e(t,5,0,t.context.$implicit.options)},function(e,t){e(t,0,0,o["\u0275nov"](t,3).ngClassUntouched,o["\u0275nov"](t,3).ngClassTouched,o["\u0275nov"](t,3).ngClassPristine,o["\u0275nov"](t,3).ngClassDirty,o["\u0275nov"](t,3).ngClassValid,o["\u0275nov"](t,3).ngClassInvalid,o["\u0275nov"](t,3).ngClassPending)})}function Fu(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,16777216,null,null,10,"div",[["class","novo-control-input-container"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"data-hint",0]],[[null,"submit"],[null,"reset"],[null,"mouseenter"],[null,"mouseleave"]],function(e,t,n){var r=!0;return"submit"===t&&(r=!1!==o["\u0275nov"](e,1).onSubmit(n)&&r),"reset"===t&&(r=!1!==o["\u0275nov"](e,1).onReset()&&r),"mouseenter"===t&&(r=!1!==o["\u0275nov"](e,4).onMouseEnter()&&r),"mouseleave"===t&&(r=!1!==o["\u0275nov"](e,4).onMouseLeave()&&r),r},null,null)),o["\u0275did"](1,540672,null,0,Ao.FormGroupDirective,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Ao.ControlContainer,null,[Ao.FormGroupDirective]),o["\u0275did"](3,16384,null,0,Ao.NgControlStatusGroup,[[4,Ao.ControlContainer]],null,null),o["\u0275did"](4,212992,null,0,x.Ge,[So.a,o.ViewContainerRef,o.ElementRef],{tooltip:[0,"tooltip"],position:[1,"position"],size:[2,"size"],preline:[3,"preline"],removeArrow:[4,"removeArrow"],autoPosition:[5,"autoPosition"]},null),(e()(),o["\u0275eld"](5,0,null,null,5,"novo-time-picker-input",[],[[1,"id",0],[2,"disabled",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,jl,Ll)),o["\u0275did"](6,114688,null,0,x.kd,[o.ElementRef,x.T,x.hd,o.ChangeDetectorRef],{name:[0,"name"],placeholder:[1,"placeholder"],military:[2,"military"]},null),o["\u0275prd"](1024,null,Ao.NG_VALUE_ACCESSOR,function(e){return[e]},[x.kd]),o["\u0275did"](8,671744,null,0,Ao.FormControlName,[[3,Ao.ControlContainer],[8,null],[8,null],[6,Ao.NG_VALUE_ACCESSOR],[2,Ao["\u0275angular_packages_forms_forms_k"]]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,Ao.NgControl,null,[Ao.FormControlName]),o["\u0275did"](10,16384,null,0,Ao.NgControlStatus,[[4,Ao.NgControl]],null,null),(e()(),o["\u0275and"](0,null,null,0))],function(e,t){e(t,1,0,t.context.form),e(t,4,0,null==t.context.$implicit?null:t.context.$implicit.tooltip,null==t.context.$implicit?null:t.context.$implicit.tooltipPosition,null==t.context.$implicit?null:t.context.$implicit.tooltipSize,null==t.context.$implicit?null:t.context.$implicit.tooltipPreline,null==t.context.$implicit?null:t.context.$implicit.removeTooltipArrow,null==t.context.$implicit?null:t.context.$implicit.tooltipAutoPosition),e(t,6,0,t.context.$implicit.key,t.context.$implicit.placeholder,t.context.$implicit.military),e(t,8,0,t.context.$implicit.key)},function(e,t){e(t,0,0,o["\u0275nov"](t,3).ngClassUntouched,o["\u0275nov"](t,3).ngClassTouched,o["\u0275nov"](t,3).ngClassPristine,o["\u0275nov"](t,3).ngClassDirty,o["\u0275nov"](t,3).ngClassValid,o["\u0275nov"](t,3).ngClassInvalid,o["\u0275nov"](t,3).ngClassPending,o["\u0275nov"](t,4).tooltip),e(t,5,0,t.context.$implicit.key,o["\u0275nov"](t,6).disabled,o["\u0275nov"](t,10).ngClassUntouched,o["\u0275nov"](t,10).ngClassTouched,o["\u0275nov"](t,10).ngClassPristine,o["\u0275nov"](t,10).ngClassDirty,o["\u0275nov"](t,10).ngClassValid,o["\u0275nov"](t,10).ngClassInvalid,o["\u0275nov"](t,10).ngClassPending)})}function Lu(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,16777216,null,null,10,"div",[["class","novo-control-input-container"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"data-hint",0]],[[null,"submit"],[null,"reset"],[null,"mouseenter"],[null,"mouseleave"]],function(e,t,n){var r=!0;return"submit"===t&&(r=!1!==o["\u0275nov"](e,1).onSubmit(n)&&r),"reset"===t&&(r=!1!==o["\u0275nov"](e,1).onReset()&&r),"mouseenter"===t&&(r=!1!==o["\u0275nov"](e,4).onMouseEnter()&&r),"mouseleave"===t&&(r=!1!==o["\u0275nov"](e,4).onMouseLeave()&&r),r},null,null)),o["\u0275did"](1,540672,null,0,Ao.FormGroupDirective,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Ao.ControlContainer,null,[Ao.FormGroupDirective]),o["\u0275did"](3,16384,null,0,Ao.NgControlStatusGroup,[[4,Ao.ControlContainer]],null,null),o["\u0275did"](4,212992,null,0,x.Ge,[So.a,o.ViewContainerRef,o.ElementRef],{tooltip:[0,"tooltip"],position:[1,"position"],size:[2,"size"],preline:[3,"preline"],removeArrow:[4,"removeArrow"],autoPosition:[5,"autoPosition"]},null),(e()(),o["\u0275eld"](5,0,null,null,5,"novo-date-picker-input",[],[[1,"id",0],[2,"disabled",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"focusEvent"],[null,"blurEvent"]],function(e,t,n){var o=!0;return"focusEvent"===t&&(o=!1!==e.context.methods.handleFocus(n)&&o),"blurEvent"===t&&(o=!1!==e.context.methods.handleBlur(n)&&o),o},kl,Cl)),o["\u0275did"](6,114688,null,0,x.gd,[o.ElementRef,x.T,o.ChangeDetectorRef,x.hd],{name:[0,"name"],start:[1,"start"],end:[2,"end"],placeholder:[3,"placeholder"],format:[4,"format"],textMaskEnabled:[5,"textMaskEnabled"],allowInvalidDate:[6,"allowInvalidDate"]},{blurEvent:"blurEvent",focusEvent:"focusEvent"}),o["\u0275prd"](1024,null,Ao.NG_VALUE_ACCESSOR,function(e){return[e]},[x.gd]),o["\u0275did"](8,671744,null,0,Ao.FormControlName,[[3,Ao.ControlContainer],[8,null],[8,null],[6,Ao.NG_VALUE_ACCESSOR],[2,Ao["\u0275angular_packages_forms_forms_k"]]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,Ao.NgControl,null,[Ao.FormControlName]),o["\u0275did"](10,16384,null,0,Ao.NgControlStatus,[[4,Ao.NgControl]],null,null),(e()(),o["\u0275and"](0,null,null,0))],function(e,t){e(t,1,0,t.context.form),e(t,4,0,t.context.$implicit.tooltip,t.context.$implicit.tooltipPosition,null==t.context.$implicit?null:t.context.$implicit.tooltipSize,null==t.context.$implicit?null:t.context.$implicit.tooltipPreline,null==t.context.$implicit?null:t.context.$implicit.removeTooltipArrow,null==t.context.$implicit?null:t.context.$implicit.tooltipAutoPosition),e(t,6,0,t.context.$implicit.key,t.context.$implicit.startDate,t.context.$implicit.endDate,t.context.$implicit.placeholder,t.context.$implicit.dateFormat,t.context.$implicit.textMaskEnabled,t.context.$implicit.allowInvalidDate),e(t,8,0,t.context.$implicit.key)},function(e,t){e(t,0,0,o["\u0275nov"](t,3).ngClassUntouched,o["\u0275nov"](t,3).ngClassTouched,o["\u0275nov"](t,3).ngClassPristine,o["\u0275nov"](t,3).ngClassDirty,o["\u0275nov"](t,3).ngClassValid,o["\u0275nov"](t,3).ngClassInvalid,o["\u0275nov"](t,3).ngClassPending,o["\u0275nov"](t,4).tooltip),e(t,5,0,t.context.$implicit.key,o["\u0275nov"](t,6).disabled,o["\u0275nov"](t,10).ngClassUntouched,o["\u0275nov"](t,10).ngClassTouched,o["\u0275nov"](t,10).ngClassPristine,o["\u0275nov"](t,10).ngClassDirty,o["\u0275nov"](t,10).ngClassValid,o["\u0275nov"](t,10).ngClassInvalid,o["\u0275nov"](t,10).ngClassPending)})}function Bu(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,16777216,null,null,10,"div",[["class","novo-control-input-container"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"data-hint",0]],[[null,"submit"],[null,"reset"],[null,"mouseenter"],[null,"mouseleave"]],function(e,t,n){var r=!0;return"submit"===t&&(r=!1!==o["\u0275nov"](e,1).onSubmit(n)&&r),"reset"===t&&(r=!1!==o["\u0275nov"](e,1).onReset()&&r),"mouseenter"===t&&(r=!1!==o["\u0275nov"](e,4).onMouseEnter()&&r),"mouseleave"===t&&(r=!1!==o["\u0275nov"](e,4).onMouseLeave()&&r),r},null,null)),o["\u0275did"](1,540672,null,0,Ao.FormGroupDirective,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Ao.ControlContainer,null,[Ao.FormGroupDirective]),o["\u0275did"](3,16384,null,0,Ao.NgControlStatusGroup,[[4,Ao.ControlContainer]],null,null),o["\u0275did"](4,212992,null,0,x.Ge,[So.a,o.ViewContainerRef,o.ElementRef],{tooltip:[0,"tooltip"],position:[1,"position"],size:[2,"size"],preline:[3,"preline"],removeArrow:[4,"removeArrow"],autoPosition:[5,"autoPosition"]},null),(e()(),o["\u0275eld"](5,0,null,null,5,"novo-date-time-picker-input",[],[[1,"id",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"focusEvent"],[null,"blurEvent"]],function(e,t,n){var o=!0;return"focusEvent"===t&&(o=!1!==e.context.methods.handleFocus(n)&&o),"blurEvent"===t&&(o=!1!==e.context.methods.handleBlur(n)&&o),o},Ul,Vl)),o["\u0275did"](6,49152,null,0,x.md,[o.ElementRef,x.T,o.ChangeDetectorRef],{name:[0,"name"],start:[1,"start"],end:[2,"end"],placeholder:[3,"placeholder"],military:[4,"military"]},{blurEvent:"blurEvent",focusEvent:"focusEvent"}),o["\u0275prd"](1024,null,Ao.NG_VALUE_ACCESSOR,function(e){return[e]},[x.md]),o["\u0275did"](8,671744,null,0,Ao.FormControlName,[[3,Ao.ControlContainer],[8,null],[8,null],[6,Ao.NG_VALUE_ACCESSOR],[2,Ao["\u0275angular_packages_forms_forms_k"]]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,Ao.NgControl,null,[Ao.FormControlName]),o["\u0275did"](10,16384,null,0,Ao.NgControlStatus,[[4,Ao.NgControl]],null,null),(e()(),o["\u0275and"](0,null,null,0))],function(e,t){e(t,1,0,t.context.form),e(t,4,0,t.context.$implicit.tooltip,t.context.$implicit.tooltipPosition,null==t.context.$implicit?null:t.context.$implicit.tooltipSize,null==t.context.$implicit?null:t.context.$implicit.tooltipPreline,null==t.context.$implicit?null:t.context.$implicit.removeTooltipArrow,null==t.context.$implicit?null:t.context.$implicit.tooltipAutoPosition),e(t,6,0,t.context.$implicit.key,t.context.$implicit.startDate,t.context.$implicit.endDate,t.context.$implicit.placeholder,t.context.$implicit.military),e(t,8,0,t.context.$implicit.key)},function(e,t){e(t,0,0,o["\u0275nov"](t,3).ngClassUntouched,o["\u0275nov"](t,3).ngClassTouched,o["\u0275nov"](t,3).ngClassPristine,o["\u0275nov"](t,3).ngClassDirty,o["\u0275nov"](t,3).ngClassValid,o["\u0275nov"](t,3).ngClassInvalid,o["\u0275nov"](t,3).ngClassPending,o["\u0275nov"](t,4).tooltip),e(t,5,0,t.context.$implicit.key,o["\u0275nov"](t,10).ngClassUntouched,o["\u0275nov"](t,10).ngClassTouched,o["\u0275nov"](t,10).ngClassPristine,o["\u0275nov"](t,10).ngClassDirty,o["\u0275nov"](t,10).ngClassValid,o["\u0275nov"](t,10).ngClassInvalid,o["\u0275nov"](t,10).ngClassPending)})}function Nu(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,9,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(e,t,n){var r=!0;return"submit"===t&&(r=!1!==o["\u0275nov"](e,1).onSubmit(n)&&r),"reset"===t&&(r=!1!==o["\u0275nov"](e,1).onReset()&&r),r},null,null)),o["\u0275did"](1,540672,null,0,Ao.FormGroupDirective,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Ao.ControlContainer,null,[Ao.FormGroupDirective]),o["\u0275did"](3,16384,null,0,Ao.NgControlStatusGroup,[[4,Ao.ControlContainer]],null,null),(e()(),o["\u0275eld"](4,0,null,null,5,"novo-address",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"],[null,"focus"],[null,"blur"],[null,"validityChange"]],function(e,t,n){var o=!0;return"change"===t&&(o=!1!==e.context.methods.handleAddressChange(n)&&o),"focus"===t&&(o=!1!==e.context.methods.handleFocus(n.event,n.field)&&o),"blur"===t&&(o=!1!==e.context.methods.handleBlur(n.event,n.field)&&o),"validityChange"===t&&(o=!1!==e.context.methods.updateValidity()&&o),o},ja,Sa)),o["\u0275did"](5,114688,null,0,x.Be,[x.T],{config:[0,"config"],readOnly:[1,"readOnly"]},{change:"change",focus:"focus",blur:"blur",validityChange:"validityChange"}),o["\u0275prd"](1024,null,Ao.NG_VALUE_ACCESSOR,function(e){return[e]},[x.Be]),o["\u0275did"](7,671744,null,0,Ao.FormControlName,[[3,Ao.ControlContainer],[8,null],[8,null],[6,Ao.NG_VALUE_ACCESSOR],[2,Ao["\u0275angular_packages_forms_forms_k"]]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,Ao.NgControl,null,[Ao.FormControlName]),o["\u0275did"](9,16384,null,0,Ao.NgControlStatus,[[4,Ao.NgControl]],null,null)],function(e,t){e(t,1,0,t.context.form),e(t,5,0,null==t.context.$implicit?null:t.context.$implicit.config,null==t.context.$implicit?null:t.context.$implicit.readOnly),e(t,7,0,t.context.$implicit.key)},function(e,t){e(t,0,0,o["\u0275nov"](t,3).ngClassUntouched,o["\u0275nov"](t,3).ngClassTouched,o["\u0275nov"](t,3).ngClassPristine,o["\u0275nov"](t,3).ngClassDirty,o["\u0275nov"](t,3).ngClassValid,o["\u0275nov"](t,3).ngClassInvalid,o["\u0275nov"](t,3).ngClassPending),e(t,4,0,o["\u0275nov"](t,9).ngClassUntouched,o["\u0275nov"](t,9).ngClassTouched,o["\u0275nov"](t,9).ngClassPristine,o["\u0275nov"](t,9).ngClassDirty,o["\u0275nov"](t,9).ngClassValid,o["\u0275nov"](t,9).ngClassInvalid,o["\u0275nov"](t,9).ngClassPending)})}function ju(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,10,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(e,t,n){var r=!0;return"submit"===t&&(r=!1!==o["\u0275nov"](e,1).onSubmit(n)&&r),"reset"===t&&(r=!1!==o["\u0275nov"](e,1).onReset()&&r),r},null,null)),o["\u0275did"](1,540672,null,0,Ao.FormGroupDirective,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Ao.ControlContainer,null,[Ao.FormGroupDirective]),o["\u0275did"](3,16384,null,0,Ao.NgControlStatusGroup,[[4,Ao.ControlContainer]],null,null),(e()(),o["\u0275eld"](4,16777216,null,null,6,"novo-checkbox",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"data-hint",0]],[[null,"mouseenter"],[null,"mouseleave"]],function(e,t,n){var r=!0;return"mouseenter"===t&&(r=!1!==o["\u0275nov"](e,10).onMouseEnter()&&r),"mouseleave"===t&&(r=!1!==o["\u0275nov"](e,10).onMouseLeave()&&r),r},Ql,Jl)),o["\u0275did"](5,114688,null,0,x.pd,[o.ChangeDetectorRef],{name:[0,"name"],label:[1,"label"],layoutOptions:[2,"layoutOptions"]},null),o["\u0275prd"](1024,null,Ao.NG_VALUE_ACCESSOR,function(e){return[e]},[x.pd]),o["\u0275did"](7,671744,null,0,Ao.FormControlName,[[3,Ao.ControlContainer],[8,null],[8,null],[6,Ao.NG_VALUE_ACCESSOR],[2,Ao["\u0275angular_packages_forms_forms_k"]]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,Ao.NgControl,null,[Ao.FormControlName]),o["\u0275did"](9,16384,null,0,Ao.NgControlStatus,[[4,Ao.NgControl]],null,null),o["\u0275did"](10,212992,null,0,x.Ge,[So.a,o.ViewContainerRef,o.ElementRef],{tooltip:[0,"tooltip"],position:[1,"position"],size:[2,"size"],preline:[3,"preline"],removeArrow:[4,"removeArrow"],autoPosition:[5,"autoPosition"]},null)],function(e,t){e(t,1,0,t.context.form),e(t,5,0,null==t.context.$implicit?null:t.context.$implicit.key,null==t.context.$implicit?null:t.context.$implicit.checkboxLabel,null==t.context.$implicit?null:t.context.$implicit.layoutOptions),e(t,7,0,null==t.context.$implicit?null:t.context.$implicit.key),e(t,10,0,null==t.context.$implicit?null:t.context.$implicit.tooltip,null==t.context.$implicit?null:t.context.$implicit.tooltipPosition,null==t.context.$implicit?null:t.context.$implicit.tooltipSize,null==t.context.$implicit?null:t.context.$implicit.tooltipPreline,null==t.context.$implicit?null:t.context.$implicit.removeTooltipArrow,null==t.context.$implicit?null:t.context.$implicit.tooltipAutoPosition)},function(e,t){e(t,0,0,o["\u0275nov"](t,3).ngClassUntouched,o["\u0275nov"](t,3).ngClassTouched,o["\u0275nov"](t,3).ngClassPristine,o["\u0275nov"](t,3).ngClassDirty,o["\u0275nov"](t,3).ngClassValid,o["\u0275nov"](t,3).ngClassInvalid,o["\u0275nov"](t,3).ngClassPending),e(t,4,0,o["\u0275nov"](t,9).ngClassUntouched,o["\u0275nov"](t,9).ngClassTouched,o["\u0275nov"](t,9).ngClassPristine,o["\u0275nov"](t,9).ngClassDirty,o["\u0275nov"](t,9).ngClassValid,o["\u0275nov"](t,9).ngClassInvalid,o["\u0275nov"](t,9).ngClassPending,o["\u0275nov"](t,10).tooltip)})}function Vu(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,10,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(e,t,n){var r=!0;return"submit"===t&&(r=!1!==o["\u0275nov"](e,1).onSubmit(n)&&r),"reset"===t&&(r=!1!==o["\u0275nov"](e,1).onReset()&&r),r},null,null)),o["\u0275did"](1,540672,null,0,Ao.FormGroupDirective,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Ao.ControlContainer,null,[Ao.FormGroupDirective]),o["\u0275did"](3,16384,null,0,Ao.NgControlStatusGroup,[[4,Ao.ControlContainer]],null,null),(e()(),o["\u0275eld"](4,16777216,null,null,6,"novo-check-list",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"data-hint",0]],[[null,"onSelect"],[null,"mouseenter"],[null,"mouseleave"]],function(e,t,n){var r=!0;return"mouseenter"===t&&(r=!1!==o["\u0275nov"](e,10).onMouseEnter()&&r),"mouseleave"===t&&(r=!1!==o["\u0275nov"](e,10).onMouseLeave()&&r),"onSelect"===t&&(r=!1!==e.context.methods.modelChange(n)&&r),r},la,aa)),o["\u0275did"](5,114688,null,0,x.x,[],{name:[0,"name"],options:[1,"options"]},{onSelect:"onSelect"}),o["\u0275prd"](1024,null,Ao.NG_VALUE_ACCESSOR,function(e){return[e]},[x.x]),o["\u0275did"](7,671744,null,0,Ao.FormControlName,[[3,Ao.ControlContainer],[8,null],[8,null],[6,Ao.NG_VALUE_ACCESSOR],[2,Ao["\u0275angular_packages_forms_forms_k"]]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,Ao.NgControl,null,[Ao.FormControlName]),o["\u0275did"](9,16384,null,0,Ao.NgControlStatus,[[4,Ao.NgControl]],null,null),o["\u0275did"](10,212992,null,0,x.Ge,[So.a,o.ViewContainerRef,o.ElementRef],{tooltip:[0,"tooltip"],position:[1,"position"],size:[2,"size"],preline:[3,"preline"],removeArrow:[4,"removeArrow"],autoPosition:[5,"autoPosition"]},null)],function(e,t){e(t,1,0,t.context.form),e(t,5,0,t.context.$implicit.key,null==t.context.$implicit?null:t.context.$implicit.options),e(t,7,0,t.context.$implicit.key),e(t,10,0,null==t.context.$implicit?null:t.context.$implicit.tooltip,null==t.context.$implicit?null:t.context.$implicit.tooltipPosition,null==t.context.$implicit?null:t.context.$implicit.tooltipSize,null==t.context.$implicit?null:t.context.$implicit.tooltipPreline,null==t.context.$implicit?null:t.context.$implicit.removeTooltipArrow,null==t.context.$implicit?null:t.context.$implicit.tooltipAutoPosition)},function(e,t){e(t,0,0,o["\u0275nov"](t,3).ngClassUntouched,o["\u0275nov"](t,3).ngClassTouched,o["\u0275nov"](t,3).ngClassPristine,o["\u0275nov"](t,3).ngClassDirty,o["\u0275nov"](t,3).ngClassValid,o["\u0275nov"](t,3).ngClassInvalid,o["\u0275nov"](t,3).ngClassPending),e(t,4,0,o["\u0275nov"](t,9).ngClassUntouched,o["\u0275nov"](t,9).ngClassTouched,o["\u0275nov"](t,9).ngClassPristine,o["\u0275nov"](t,9).ngClassDirty,o["\u0275nov"](t,9).ngClassValid,o["\u0275nov"](t,9).ngClassInvalid,o["\u0275nov"](t,9).ngClassPending,o["\u0275nov"](t,10).tooltip)})}function Uu(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,10,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(e,t,n){var r=!0;return"submit"===t&&(r=!1!==o["\u0275nov"](e,1).onSubmit(n)&&r),"reset"===t&&(r=!1!==o["\u0275nov"](e,1).onReset()&&r),r},null,null)),o["\u0275did"](1,540672,null,0,Ao.FormGroupDirective,[[8,null],[8,null]],{form:[0,"form"]},null),o["\u0275prd"](2048,null,Ao.ControlContainer,null,[Ao.FormGroupDirective]),o["\u0275did"](3,16384,null,0,Ao.NgControlStatusGroup,[[4,Ao.ControlContainer]],null,null),(e()(),o["\u0275eld"](4,16777216,null,null,6,"novo-quick-note",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"data-hint",0]],[[null,"change"],[null,"mouseenter"],[null,"mouseleave"]],function(e,t,n){var r=!0;return"mouseenter"===t&&(r=!1!==o["\u0275nov"](e,10).onMouseEnter()&&r),"mouseleave"===t&&(r=!1!==o["\u0275nov"](e,10).onMouseLeave()&&r),"change"===t&&(r=!1!==e.context.methods.modelChange(n)&&r),r},Cs,bs)),o["\u0275did"](5,4440064,null,0,x.Nc,[o.NgZone,o.ElementRef,x.d],{config:[0,"config"],startupFocus:[1,"startupFocus"],placeholder:[2,"placeholder"]},{change:"change"}),o["\u0275prd"](1024,null,Ao.NG_VALUE_ACCESSOR,function(e){return[e]},[x.Nc]),o["\u0275did"](7,671744,null,0,Ao.FormControlName,[[3,Ao.ControlContainer],[8,null],[8,null],[6,Ao.NG_VALUE_ACCESSOR],[2,Ao["\u0275angular_packages_forms_forms_k"]]],{name:[0,"name"]},null),o["\u0275prd"](2048,null,Ao.NgControl,null,[Ao.FormControlName]),o["\u0275did"](9,16384,null,0,Ao.NgControlStatus,[[4,Ao.NgControl]],null,null),o["\u0275did"](10,212992,null,0,x.Ge,[So.a,o.ViewContainerRef,o.ElementRef],{tooltip:[0,"tooltip"],position:[1,"position"],size:[2,"size"],preline:[3,"preline"],removeArrow:[4,"removeArrow"],autoPosition:[5,"autoPosition"]},null)],function(e,t){e(t,1,0,t.context.form),e(t,5,0,null==t.context.$implicit?null:t.context.$implicit.config,null==t.context.$implicit?null:t.context.$implicit.startupFocus,null==t.context.$implicit?null:t.context.$implicit.placeholder),e(t,7,0,t.context.$implicit.key),e(t,10,0,null==t.context.$implicit?null:t.context.$implicit.tooltip,null==t.context.$implicit?null:t.context.$implicit.tooltipPosition,null==t.context.$implicit?null:t.context.$implicit.tooltipSize,null==t.context.$implicit?null:t.context.$implicit.tooltipPreline,null==t.context.$implicit?null:t.context.$implicit.removeTooltipArrow,null==t.context.$implicit?null:t.context.$implicit.tooltipAutoPosition)},function(e,t){e(t,0,0,o["\u0275nov"](t,3).ngClassUntouched,o["\u0275nov"](t,3).ngClassTouched,o["\u0275nov"](t,3).ngClassPristine,o["\u0275nov"](t,3).ngClassDirty,o["\u0275nov"](t,3).ngClassValid,o["\u0275nov"](t,3).ngClassInvalid,o["\u0275nov"](t,3).ngClassPending),e(t,4,0,o["\u0275nov"](t,9).ngClassUntouched,o["\u0275nov"](t,9).ngClassTouched,o["\u0275nov"](t,9).ngClassPristine,o["\u0275nov"](t,9).ngClassDirty,o["\u0275nov"](t,9).ngClassValid,o["\u0275nov"](t,9).ngClassInvalid,o["\u0275nov"](t,9).ngClassPending,o["\u0275nov"](t,10).tooltip)})}function $u(e){return o["\u0275vid"](0,[o["\u0275qud"](671088640,1,{defaultTemplates:1}),(e()(),o["\u0275and"](0,null,null,1,null,hu)),o["\u0275did"](2,16384,[[1,4]],0,x.Mb,[o.TemplateRef],{name:[0,"name"]},null),(e()(),o["\u0275and"](0,null,null,1,null,yu)),o["\u0275did"](4,16384,[[1,4]],0,x.Mb,[o.TemplateRef],{name:[0,"name"]},null),(e()(),o["\u0275and"](0,null,null,1,null,bu)),o["\u0275did"](6,16384,[[1,4]],0,x.Mb,[o.TemplateRef],{name:[0,"name"]},null),(e()(),o["\u0275and"](0,null,null,1,null,Cu)),o["\u0275did"](8,16384,[[1,4]],0,x.Mb,[o.TemplateRef],{name:[0,"name"]},null),(e()(),o["\u0275and"](0,null,null,1,null,Eu)),o["\u0275did"](10,16384,[[1,4]],0,x.Mb,[o.TemplateRef],{name:[0,"name"]},null),(e()(),o["\u0275and"](0,null,null,1,null,Au)),o["\u0275did"](12,16384,[[1,4]],0,x.Mb,[o.TemplateRef],{name:[0,"name"]},null),(e()(),o["\u0275and"](0,null,null,1,null,Su)),o["\u0275did"](14,16384,[[1,4]],0,x.Mb,[o.TemplateRef],{name:[0,"name"]},null),(e()(),o["\u0275and"](0,null,null,1,null,Ou)),o["\u0275did"](16,16384,[[1,4]],0,x.Mb,[o.TemplateRef],{name:[0,"name"]},null),(e()(),o["\u0275and"](0,null,null,1,null,Ru)),o["\u0275did"](18,16384,[[1,4]],0,x.Mb,[o.TemplateRef],{name:[0,"name"]},null),(e()(),o["\u0275and"](0,null,null,1,null,Pu)),o["\u0275did"](20,16384,[[1,4]],0,x.Mb,[o.TemplateRef],{name:[0,"name"]},null),(e()(),o["\u0275and"](0,null,null,1,null,Iu)),o["\u0275did"](22,16384,[[1,4]],0,x.Mb,[o.TemplateRef],{name:[0,"name"]},null),(e()(),o["\u0275and"](0,null,null,1,null,Fu)),o["\u0275did"](24,16384,[[1,4]],0,x.Mb,[o.TemplateRef],{name:[0,"name"]},null),(e()(),o["\u0275and"](0,null,null,1,null,Lu)),o["\u0275did"](26,16384,[[1,4]],0,x.Mb,[o.TemplateRef],{name:[0,"name"]},null),(e()(),o["\u0275and"](0,null,null,1,null,Bu)),o["\u0275did"](28,16384,[[1,4]],0,x.Mb,[o.TemplateRef],{name:[0,"name"]},null),(e()(),o["\u0275and"](0,null,null,1,null,Nu)),o["\u0275did"](30,16384,[[1,4]],0,x.Mb,[o.TemplateRef],{name:[0,"name"]},null),(e()(),o["\u0275and"](0,null,null,1,null,ju)),o["\u0275did"](32,16384,[[1,4]],0,x.Mb,[o.TemplateRef],{name:[0,"name"]},null),(e()(),o["\u0275and"](0,null,null,1,null,Vu)),o["\u0275did"](34,16384,[[1,4]],0,x.Mb,[o.TemplateRef],{name:[0,"name"]},null),(e()(),o["\u0275and"](0,null,null,1,null,Uu)),o["\u0275did"](36,16384,[[1,4]],0,x.Mb,[o.TemplateRef],{name:[0,"name"]},null)],function(e,t){e(t,2,0,"read-only"),e(t,4,0,"textbox"),e(t,6,0,"text-area"),e(t,8,0,"editor"),e(t,10,0,"ace-editor"),e(t,12,0,"native-select"),e(t,14,0,"file"),e(t,16,0,"tiles"),e(t,18,0,"picker"),e(t,20,0,"select"),e(t,22,0,"radio"),e(t,24,0,"time"),e(t,26,0,"date"),e(t,28,0,"date-time"),e(t,30,0,"address"),e(t,32,0,"checkbox"),e(t,34,0,"checklist"),e(t,36,0,"quick-note")},null)}var Hu=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function Wu(e){return o["\u0275vid"](0,[o["\u0275qud"](402653184,1,{popoverDiv:0}),(e()(),o["\u0275eld"](1,0,[[1,0],["popoverDiv",1]],null,7,"div",[["role","popover"],["style","display: block"]],[[8,"className",0],[4,"top",null],[4,"left",null],[2,"fade",null]],null,null,null,null)),(e()(),o["\u0275eld"](2,0,null,null,0,"div",[],[[8,"className",0]],null,null,null,null)),(e()(),o["\u0275eld"](3,0,null,null,1,"h4",[["class","popover-title"]],[[8,"hidden",0]],null,null,null,null)),(e()(),o["\u0275ted"](4,null,["",""])),(e()(),o["\u0275eld"](5,0,null,null,3,"div",[["class","popover-content"]],null,null,null,null,null)),o["\u0275ncd"](null,0),(e()(),o["\u0275eld"](7,0,null,null,1,"div",[["class","popover-content-text"]],null,null,null,null,null)),(e()(),o["\u0275ted"](8,null,["",""]))],null,function(e,t){var n=t.component;e(t,1,0,o["\u0275inlineInterpolate"](1,"popover ",n.effectivePlacement,""),n.top+"px",n.left+"px",n.animation),e(t,2,0,o["\u0275inlineInterpolate"](1,"arrow ",n.effectiveAlignment,"")),e(t,3,0,!n.title),e(t,4,0,n.title),e(t,8,0,n.content)})}function Ku(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"popover-content",[],null,null,null,Wu,Hu)),o["\u0275did"](1,4243456,null,0,x.re,[o.ElementRef,o.ChangeDetectorRef],null,null)],null,null)}var Gu=o["\u0275ccf"]("popover-content",x.re,Ku,{content:"content",placement:"placement",title:"title",animation:"animation"},{},["*"]),qu=o["\u0275crt"]({encapsulation:2,styles:[],data:{}});function zu(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),o["\u0275did"](1,212992,null,0,to,[eo,o.ViewContainerRef,o.ComponentFactoryResolver,[8,null],o.ChangeDetectorRef],null,null)],function(e,t){e(t,1,0)},null)}function Yu(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"ng-component",[],null,null,null,zu,qu)),o["\u0275did"](1,49152,null,0,qe,[],null,null)],null,null)}var Zu=o["\u0275ccf"]("ng-component",qe,Yu,{},{},[]),Ju=function(){function e(e,t){this.service=e,this.formUtils=t,this.checkboxFilter=new o.EventEmitter,this.loading=!0,this.viewAllOptions=!1}return e.prototype.ngOnChanges=function(e){switch(this.field){case"publishedCategory(id,name)":this.fieldName="publishedCategory";break;default:this.fieldName=this.field}this.getFilterOptions()},e.prototype.toggleAllOptions=function(){this.viewAllOptions=!this.viewAllOptions},e.prototype.getFilterOptions=function(){this.loading=!0,this.service.getCurrentJobIds(this.filter,[this.fieldName]).subscribe(this.handleJobIdsOnSuccess.bind(this))},e.prototype.handleJobIdsOnSuccess=function(e){var t=e.data.map(function(e){return e.id});this.service.getAvailableFilterOptions(t,this.field).subscribe(this.setFieldOptionsOnSuccess.bind(this))},e.prototype.setFieldOptionsOnSuccess=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:e.address.city+" ("+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}"+e+"{?^^delimiter}"})),n.checkboxFilter.emit(t)};break;case"address(state)":this.options=e.data.map(function(e){return{value:e.address.state,label:e.address.state+" ("+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}"+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:e.publishedCategory.name+" ("+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 x.a({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}(),Xu=o["\u0275crt"]({encapsulation:0,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}"]],data:{}});function Qu(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"novo-loading",[],[[8,"className",0]],null,null,za,qa)),o["\u0275did"](1,49152,null,0,x.Ee,[],null,null)],null,function(e,t){e(t,0,0,o["\u0275nov"](t,1).theme||"")})}function ed(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,6,"novo-form",[],null,null,null,Qc,Jc)),o["\u0275prd"](512,null,x.Nb,x.Nb,[]),o["\u0275did"](2,1163264,null,1,x.td,[x.Nb],{form:[0,"form"]},null),o["\u0275qud"](603979776,1,{customTemplates:1}),(e()(),o["\u0275eld"](4,0,null,2,2,"div",[["class","novo-form-row"]],null,null,null,null,null)),(e()(),o["\u0275eld"](5,0,null,null,1,"novo-control",[],[[8,"className",0],[1,"data-control-type",0],[2,"disabled",null],[2,"hidden",null],[1,"data-control-key",0]],null,null,Zc,Ec)),o["\u0275did"](6,5488640,null,0,x.sd,[o.ElementRef,x.T,x.hd,x.j,x.Nb,o.ChangeDetectorRef,o.LOCALE_ID],{control:[0,"control"],form:[1,"form"]},null)],function(e,t){var n=t.component;e(t,2,0,n.form),e(t,6,0,n.control,n.form)},function(e,t){e(t,5,0,o["\u0275nov"](t,6).form.controls[o["\u0275nov"](t,6).control.key].controlType,o["\u0275nov"](t,6).form.controls[o["\u0275nov"](t,6).control.key].controlType,o["\u0275nov"](t,6).form.controls[o["\u0275nov"](t,6).control.key].readOnly,o["\u0275nov"](t,6).form.controls[o["\u0275nov"](t,6).control.key].hidden,o["\u0275nov"](t,6).control.key)})}function td(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,3,"div",[["class","filter-header"]],null,null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),o["\u0275ted"](2,null,[""," ",""])),o["\u0275pid"](131072,_,[o.ChangeDetectorRef]),(e()(),o["\u0275and"](16777216,null,null,1,null,Qu)),o["\u0275did"](5,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,ed)),o["\u0275did"](7,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,5,0,n.loading),e(t,7,0,!n.loading)},function(e,t){var n=t.component;e(t,2,0,o["\u0275unv"](t,2,0,o["\u0275nov"](t,3).transform("FILTER_BY")),n.title)})}var nd=function(){function e(e,t){this.searchService=e,this.router=t,this.newFilter=new o.EventEmitter,this.toggleSidebar=new o.EventEmitter,this.display=!1,this.controls=[],this.keyword="",this.loading=!1,this.filter={},this.showPrivacyPolicy=k.settings.privacyConsent.sidebarLink}return e.prototype.searchOnDelay=function(){var e=this,t=k.settings.service.keywordSearchFields;this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout(function(){var n="";e.keyword.trim()&&t.forEach(function(t,o){o>0&&(n+=" OR "),n+=t+"{?^^equals}"+(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)},e.prototype.updateFilter=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)},e.prototype.hideSidebar=function(){this.toggleSidebar.emit(!1)},e.prototype.viewPrivacyPolicy=function(){var e=k.settings.privacyConsent.privacyPolicyUrl;"/privacy"===e?this.router.navigate([e]):window.open(e)},e.prototype.handleJobIdsOnSuccess=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}(),od=o["\u0275crt"]({encapsulation:0,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:initial;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}"]],data:{}});function rd(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"novo-loading",[],[[8,"className",0]],null,null,za,qa)),o["\u0275did"](1,49152,null,0,x.Ee,[],null,null)],null,function(e,t){e(t,0,0,o["\u0275nov"](t,1).theme||"")})}function id(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,10,null,null,null,null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,9,"div",[["class","filters"]],null,null,null,null,null)),(e()(),o["\u0275eld"](2,0,null,null,2,"app-sidebar-filter",[["field","publishedCategory(id,name)"]],null,[[null,"checkboxFilter"]],function(e,t,n){var o=!0;return"checkboxFilter"===t&&(o=!1!==e.component.updateFilter("publishedCategory",n)&&o),o},td,Xu)),o["\u0275did"](3,573440,null,0,Ju,[S,x.l],{filter:[0,"filter"],field:[1,"field"],title:[2,"title"]},{checkboxFilter:"checkboxFilter"}),o["\u0275pid"](131072,_,[o.ChangeDetectorRef]),(e()(),o["\u0275eld"](5,0,null,null,2,"app-sidebar-filter",[["field","address(state)"]],null,[[null,"checkboxFilter"]],function(e,t,n){var o=!0;return"checkboxFilter"===t&&(o=!1!==e.component.updateFilter("address(state)",n)&&o),o},td,Xu)),o["\u0275did"](6,573440,null,0,Ju,[S,x.l],{filter:[0,"filter"],field:[1,"field"],title:[2,"title"]},{checkboxFilter:"checkboxFilter"}),o["\u0275pid"](131072,_,[o.ChangeDetectorRef]),(e()(),o["\u0275eld"](8,0,null,null,2,"app-sidebar-filter",[["field","address(city)"]],null,[[null,"checkboxFilter"]],function(e,t,n){var o=!0;return"checkboxFilter"===t&&(o=!1!==e.component.updateFilter("address(city)",n)&&o),o},td,Xu)),o["\u0275did"](9,573440,null,0,Ju,[S,x.l],{filter:[0,"filter"],field:[1,"field"],title:[2,"title"]},{checkboxFilter:"checkboxFilter"}),o["\u0275pid"](131072,_,[o.ChangeDetectorRef])],function(e,t){var n=t.component;e(t,3,0,n.filter,"publishedCategory(id,name)",o["\u0275inlineInterpolate"](1,"",o["\u0275unv"](t,3,2,o["\u0275nov"](t,4).transform("CATEGORY")),"")),e(t,6,0,n.filter,"address(state)",o["\u0275inlineInterpolate"](1,"",o["\u0275unv"](t,6,2,o["\u0275nov"](t,7).transform("STATE")),"")),e(t,9,0,n.filter,"address(city)",o["\u0275inlineInterpolate"](1,"",o["\u0275unv"](t,9,2,o["\u0275nov"](t,10).transform("CITY")),""))},null)}function ad(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"a",[["class","privacy-policy-link"]],null,[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.viewPrivacyPolicy()&&o),o},null,null)),(e()(),o["\u0275ted"](1,null,["",""])),o["\u0275pid"](131072,_,[o.ChangeDetectorRef])],null,function(e,t){e(t,1,0,o["\u0275unv"](t,1,0,o["\u0275nov"](t,2).transform("PRIVACY_POLICY")))})}function sd(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,9,"div",[["class","header"]],null,null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,2,"div",[["class","close-filter-container"]],null,null,null,null,null)),(e()(),o["\u0275eld"](2,0,null,null,1,"button",[["icon","times"],["theme","icon"]],[[1,"theme",0],[1,"color",0],[1,"icon",0],[1,"loading",0],[1,"side",0]],[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.hideSidebar()&&o),o},Ga,$a)),o["\u0275did"](3,49152,null,0,x.De,[],{theme:[0,"theme"],icon:[1,"icon"]},null),(e()(),o["\u0275eld"](4,0,null,null,5,"novo-search",[["alwaysOpen","true"],["placeholder","Keyword Search"]],[[2,"focused",null],[2,"active",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],function(e,t,n){var o=!0,r=e.component;return"ngModelChange"===t&&(o=!1!==(r.keyword=n)&&o),"ngModelChange"===t&&(o=!1!==r.searchOnDelay()&&o),o},Qs,Xs)),o["\u0275did"](5,49152,null,0,x.Zc,[o.ElementRef,x.T,o.ChangeDetectorRef,o.NgZone],{placeholder:[0,"placeholder"],alwaysOpen:[1,"alwaysOpen"]},null),o["\u0275prd"](1024,null,Ao.NG_VALUE_ACCESSOR,function(e){return[e]},[x.Zc]),o["\u0275did"](7,671744,null,0,Ao.NgModel,[[8,null],[8,null],[8,null],[6,Ao.NG_VALUE_ACCESSOR]],{model:[0,"model"]},{update:"ngModelChange"}),o["\u0275prd"](2048,null,Ao.NgControl,null,[Ao.NgModel]),o["\u0275did"](9,16384,null,0,Ao.NgControlStatus,[[4,Ao.NgControl]],null,null),(e()(),o["\u0275and"](16777216,null,null,1,null,rd)),o["\u0275did"](11,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,id)),o["\u0275did"](13,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,ad)),o["\u0275did"](15,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275eld"](16,0,null,null,4,"section",[["class","credits"]],null,null,null,null,null)),(e()(),o["\u0275eld"](17,0,null,null,1,"span",[["class","powered-by"]],null,null,null,null,null)),(e()(),o["\u0275ted"](-1,null,["Powered By"])),(e()(),o["\u0275eld"](19,0,null,null,1,"a",[["href","http://www.bullhorn.com/"],["target","_blank"]],null,null,null,null,null)),(e()(),o["\u0275eld"](20,0,null,null,0,"img",[["class","bullhorn"],["src","assets/logo.svg"]],null,null,null,null,null))],function(e,t){var n=t.component;e(t,3,0,"icon","times"),e(t,5,0,"Keyword Search","true"),e(t,7,0,n.keyword),e(t,11,0,n.loading),e(t,13,0,!n.loading),e(t,15,0,n.showPrivacyPolicy)},function(e,t){e(t,2,0,o["\u0275nov"](t,3).theme,o["\u0275nov"](t,3).color,o["\u0275nov"](t,3).icon,o["\u0275nov"](t,3).loading,o["\u0275nov"](t,3).side),e(t,4,0,o["\u0275nov"](t,5).focused,o["\u0275nov"](t,5).active,o["\u0275nov"](t,9).ngClassUntouched,o["\u0275nov"](t,9).ngClassTouched,o["\u0275nov"](t,9).ngClassPristine,o["\u0275nov"](t,9).ngClassDirty,o["\u0275nov"](t,9).ngClassValid,o["\u0275nov"](t,9).ngClassInvalid,o["\u0275nov"](t,9).ngClassPending)})}var ld=n("ktc5"),cd=function(){function e(){}return e.prototype.transform=function(e,t){return Object(ld.decode)(e.replace(/<.*?>/g,""))},e}(),ud=function(){function e(e,t,n,r){this.http=e,this.titleService=t,this.meta=n,this.router=r,this.sidebarVisible=!1,this.displaySidebar=new o.EventEmitter,this.showLoading=new o.EventEmitter,this.showError=new o.EventEmitter,this.jobs=[],this._loading=!0,this.moreAvailable=!0,this.total="...",this.jobInfoChips=k.settings.service.jobInfoChips,this.showCategory=k.settings.service.showCategory,this.start=0}return e.prototype.ngOnChanges=function(e){this.getData()},e.prototype.getData=function(e){void 0===e&&(e=!1),this.start=e?this.start+30:0,this.titleService.setTitle(k.settings.companyName+" - Careers");var t=v.translate("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))},e.prototype.loadMore=function(){this.getData(!0)},e.prototype.openSidebar=function(){this.displaySidebar.emit(!0)},e.prototype.loadJob=function(e){this.router.navigate(["jobs/"+e]),this.loading=!0},Object.defineProperty(e.prototype,"loading",{get:function(){return this._loading},set:function(e){this.showLoading.emit(e),this._loading=e},enumerable:!0,configurable:!0}),e.prototype.onSuccess=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},e.prototype.onFailure=function(e){this.loading=!1,this.jobs=[],this.total=0,this.moreAvailable=!1,this.showError.emit(!0)},e}(),dd=o["\u0275crt"]({encapsulation:0,styles:[["[_nghost-%COMP%] div.open-positions[_ngcontent-%COMP%]{font-weight:600;font-size:1.5em;margin:30px 34px 22px 35px}[_nghost-%COMP%] div.mobile-filter-container[_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}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){novo-list[_ngcontent-%COMP%] .job-card[_ngcontent-%COMP%] .category[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%] div.open-positions[_ngcontent-%COMP%]{font-weight:600;font-size:1.5em;margin:30px 34px 22px 15px}[_nghost-%COMP%] div.mobile-filter-container[_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}"]],data:{}});function hd(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"novo-loading",[],[[8,"className",0]],null,null,za,qa)),o["\u0275did"](1,49152,null,0,x.Ee,[],null,null)],null,function(e,t){e(t,0,0,o["\u0275nov"](t,1).theme||"")})}function pd(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),o["\u0275ted"](-1,null,[",\xa0"]))],null,null)}function fd(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,5,"span",[["class","mid-card"]],null,null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,0,"i",[["class","bhi-location"]],null,null,null,null,null)),(e()(),o["\u0275ted"](2,null,[" "," "])),(e()(),o["\u0275and"](16777216,null,null,1,null,pd)),o["\u0275did"](4,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275ted"](5,null,[" "," "]))],function(e,t){e(t,4,0,(null==t.parent.context.$implicit.address?null:t.parent.context.$implicit.address.city)&&(null==t.parent.context.$implicit.address?null:t.parent.context.$implicit.address.state))},function(e,t){e(t,2,0,null==t.parent.context.$implicit?null:null==t.parent.context.$implicit.address?null:t.parent.context.$implicit.address.city),e(t,5,0,null==t.parent.context.$implicit?null:null==t.parent.context.$implicit.address?null:t.parent.context.$implicit.address.state)})}function md(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,null,null,null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,[" "," "]))],null,function(e,t){e(t,1,0,t.parent.parent.parent.context.$implicit[null==t.parent.parent.context.$implicit?null:t.parent.parent.context.$implicit.field]||t.parent.parent.parent.context.$implicit[t.parent.parent.context.$implicit])})}function gd(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,null,null,null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,[" "," "])),o["\u0275ppd"](2,2)],null,function(e,t){var n=o["\u0275unv"](t,1,0,e(t,2,0,o["\u0275nov"](t.parent.parent.parent.parent.parent,0),t.parent.parent.parent.context.$implicit[null==t.parent.parent.context.$implicit?null:t.parent.parent.context.$implicit.field],"mediumDate"));e(t,1,0,n)})}function vd(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,null,null,null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,[" "," "])),o["\u0275ppd"](2,2)],null,function(e,t){var n=o["\u0275unv"](t,1,0,e(t,2,0,o["\u0275nov"](t.parent.parent.parent.parent.parent,0),t.parent.parent.parent.context.$implicit[null==t.parent.parent.context.$implicit?null:t.parent.parent.context.$implicit.field],"medium"));e(t,1,0,n)})}function _d(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,null,null,null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,[" "," "])),o["\u0275ppd"](2,2)],null,function(e,t){var n=o["\u0275unv"](t,1,0,e(t,2,0,o["\u0275nov"](t.parent.parent.parent.parent.parent,1),t.parent.parent.parent.context.$implicit[null==t.parent.parent.context.$implicit?null:t.parent.parent.context.$implicit.field],"USD"));e(t,1,0,n)})}function yd(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,null,null,null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,[" "," "])),o["\u0275ppd"](2,2)],null,function(e,t){var n=o["\u0275unv"](t,1,0,e(t,2,0,o["\u0275nov"](t.parent.parent.parent.parent.parent,1),t.parent.parent.parent.context.$implicit[null==t.parent.parent.context.$implicit?null:t.parent.parent.context.$implicit.field],"GBP"));e(t,1,0,n)})}function bd(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,null,null,null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,[" "," "])),o["\u0275ppd"](2,2)],null,function(e,t){var n=o["\u0275unv"](t,1,0,e(t,2,0,o["\u0275nov"](t.parent.parent.parent.parent.parent,1),t.parent.parent.parent.context.$implicit[null==t.parent.parent.context.$implicit?null:t.parent.parent.context.$implicit.field],"EUR"));e(t,1,0,n)})}function Cd(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,null,null,null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,[" "," "]))],null,function(e,t){e(t,1,0,t.parent.parent.parent.context.$implicit[null==t.parent.parent.context.$implicit?null:t.parent.parent.context.$implicit.field]||t.parent.parent.parent.context.$implicit[t.parent.parent.context.$implicit])})}function Ed(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,14,"span",[["class","mid-card"]],null,null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,md)),o["\u0275did"](2,278528,null,0,r.r,[o.ViewContainerRef,o.TemplateRef,r.q],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,gd)),o["\u0275did"](4,278528,null,0,r.r,[o.ViewContainerRef,o.TemplateRef,r.q],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,vd)),o["\u0275did"](6,278528,null,0,r.r,[o.ViewContainerRef,o.TemplateRef,r.q],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,_d)),o["\u0275did"](8,278528,null,0,r.r,[o.ViewContainerRef,o.TemplateRef,r.q],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,yd)),o["\u0275did"](10,278528,null,0,r.r,[o.ViewContainerRef,o.TemplateRef,r.q],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,bd)),o["\u0275did"](12,278528,null,0,r.r,[o.ViewContainerRef,o.TemplateRef,r.q],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Cd)),o["\u0275did"](14,16384,null,0,r.s,[o.ViewContainerRef,o.TemplateRef,r.q],null,null)],function(e,t){e(t,2,0,"string"),e(t,4,0,"mediumDate"),e(t,6,0,"dateTime"),e(t,8,0,"USD"),e(t,10,0,"GBP"),e(t,12,0,"EUR")},null)}function wd(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,3,null,null,null,null,null,null,null)),o["\u0275did"](1,16384,null,0,r.q,[],{ngSwitch:[0,"ngSwitch"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Ed)),o["\u0275did"](3,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](0,null,null,0))],function(e,t){e(t,1,0,t.context.$implicit.type||"string"),e(t,3,0,t.parent.context.$implicit[t.context.$implicit]||t.parent.context.$implicit[null==t.context.$implicit?null:t.context.$implicit.field])},null)}function kd(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"span",[["class","category"]],null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,[" "," "]))],null,function(e,t){e(t,1,0,null==t.parent.context.$implicit.publishedCategory?null:t.parent.context.$implicit.publishedCategory.name)})}function Ad(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,21,"div",[["class","job-card"]],null,[[null,"click"]],function(e,t,n){var r=!0,i=e.component;return"click"===t&&(r=!1!==o["\u0275nov"](e,1).onClick()&&r),"click"===t&&(r=!1!==i.loadJob(e.context.$implicit.id)&&r),r},null,null)),o["\u0275did"](1,16384,null,0,Zn,[Yn,Nt,[8,null],o.Renderer2,o.ElementRef],{routerLink:[0,"routerLink"]},null),(e()(),o["\u0275eld"](2,0,null,null,14,"novo-list-item",[],null,null,null,ua,ca)),o["\u0275did"](3,114688,null,0,x.de,[o.ElementRef],null,null),(e()(),o["\u0275eld"](4,0,null,0,6,"item-header",[],null,null,null,va,ga)),o["\u0275did"](5,49152,null,0,x.we,[],null,null),(e()(),o["\u0275eld"](6,0,null,1,4,"item-title",[],null,null,null,ma,fa)),o["\u0275did"](7,49152,null,0,x.ve,[],null,null),(e()(),o["\u0275eld"](8,0,null,0,2,"a",[],[[8,"href",4],[1,"target",0],[8,"href",4]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==o["\u0275nov"](e,9).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),o["\u0275did"](9,671744,null,0,Jn,[Yn,Nt,r.j],{routerLink:[0,"routerLink"]},null),(e()(),o["\u0275ted"](10,null,["",""])),(e()(),o["\u0275eld"](11,0,null,2,5,"item-header-end",[],null,null,null,ya,_a)),o["\u0275did"](12,49152,null,0,x.xe,[],null,null),(e()(),o["\u0275and"](16777216,null,0,1,null,fd)),o["\u0275did"](14,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,0,1,null,wd)),o["\u0275did"](16,278528,null,0,r.l,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,kd)),o["\u0275did"](18,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275eld"](19,0,null,null,2,"span",[["class","description"]],null,null,null,null,null)),(e()(),o["\u0275ted"](20,null,[" "," "])),o["\u0275ppd"](21,1)],function(e,t){var n=t.component;e(t,1,0,"jobs/"+t.context.$implicit.id),e(t,3,0),e(t,9,0,"jobs/"+t.context.$implicit.id),e(t,14,0,(null==t.context.$implicit?null:null==t.context.$implicit.address?null:t.context.$implicit.address.city)||(null==t.context.$implicit?null:null==t.context.$implicit.address?null:t.context.$implicit.address.state)),e(t,16,0,n.jobInfoChips),e(t,18,0,t.context.$implicit.publishedCategory&&n.showCategory)},function(e,t){e(t,8,0,"jobs/"+t.context.$implicit.id,o["\u0275nov"](t,9).target,o["\u0275nov"](t,9).href),e(t,10,0,t.context.$implicit.title);var n=o["\u0275unv"](t,20,0,e(t,21,0,o["\u0275nov"](t.parent.parent,2),t.context.$implicit.publicDescription));e(t,20,0,n)})}function Sd(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,3,"novo-list",[["direction","vertical"]],[[2,"vertical-list",null],[2,"horizontal-list",null],[1,"theme",0]],null,null,Aa,ka)),o["\u0275did"](1,49152,null,0,x.U,[o.ElementRef],{direction:[0,"direction"]},null),(e()(),o["\u0275and"](16777216,null,0,1,null,Ad)),o["\u0275did"](3,278528,null,0,r.l,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(e,t){var n=t.component;e(t,1,0,"vertical"),e(t,3,0,n.jobs)},function(e,t){e(t,0,0,"vertical"===o["\u0275nov"](t,1).direction,"horizontal"===o["\u0275nov"](t,1).direction,o["\u0275nov"](t,1).theme)})}function Od(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,3,"div",[["class","load-more-button"]],null,null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,2,"button",[["inverse",""],["theme","secondary"]],[[1,"theme",0],[1,"color",0],[1,"icon",0],[1,"loading",0],[1,"side",0]],[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.loadMore()&&o),o},Ga,$a)),o["\u0275did"](2,49152,null,0,x.De,[],{theme:[0,"theme"]},null),(e()(),o["\u0275ted"](-1,0,["Load More"]))],function(e,t){e(t,2,0,"secondary")},function(e,t){e(t,1,0,o["\u0275nov"](t,2).theme,o["\u0275nov"](t,2).color,o["\u0275nov"](t,2).icon,o["\u0275nov"](t,2).loading,o["\u0275nov"](t,2).side)})}function xd(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,3,"div",[["class","empty-list"]],null,null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,0,"i",[["class","bhi-search-question"]],null,null,null,null,null)),(e()(),o["\u0275ted"](2,null,[" ","\n"])),o["\u0275pid"](131072,_,[o.ChangeDetectorRef])],null,function(e,t){e(t,2,0,o["\u0275unv"](t,2,0,o["\u0275nov"](t,3).transform("NO_MATCHING_JOBS")))})}function Dd(e){return o["\u0275vid"](0,[o["\u0275pid"](0,r.f,[o.LOCALE_ID]),o["\u0275pid"](0,r.d,[o.LOCALE_ID]),o["\u0275pid"](0,cd,[]),(e()(),o["\u0275and"](16777216,null,null,1,null,hd)),o["\u0275did"](4,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275eld"](5,0,null,null,4,"div",[["class","mobile-filter-container"]],null,null,null,null,null)),(e()(),o["\u0275eld"](6,0,null,null,3,"button",[["icon","filter"],["side","left"],["theme","secondary"]],[[1,"theme",0],[1,"color",0],[1,"icon",0],[1,"loading",0],[1,"side",0]],[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.openSidebar()&&o),o},Ga,$a)),o["\u0275did"](7,49152,null,0,x.De,[],{side:[0,"side"],theme:[1,"theme"],icon:[2,"icon"]},null),(e()(),o["\u0275ted"](8,0,["",""])),o["\u0275pid"](131072,_,[o.ChangeDetectorRef]),(e()(),o["\u0275eld"](10,0,null,null,3,"div",[["class","open-positions"]],null,null,null,null,null)),(e()(),o["\u0275eld"](11,0,null,null,2,"span",[["class","open-positions-text"]],null,null,null,null,null)),(e()(),o["\u0275ted"](12,null,[""," (",")"])),o["\u0275pid"](131072,_,[o.ChangeDetectorRef]),(e()(),o["\u0275and"](16777216,null,null,1,null,Sd)),o["\u0275did"](15,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Od)),o["\u0275did"](17,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,xd)),o["\u0275did"](19,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,4,0,n.loading),e(t,7,0,"left","secondary","filter"),e(t,15,0,!n.loading&&n.jobs.length>0),e(t,17,0,!n.loading&&n.moreAvailable),e(t,19,0,!n.loading&&0===n.jobs.length)},function(e,t){var n=t.component;e(t,6,0,o["\u0275nov"](t,7).theme,o["\u0275nov"](t,7).color,o["\u0275nov"](t,7).icon,o["\u0275nov"](t,7).loading,o["\u0275nov"](t,7).side),e(t,8,0,o["\u0275unv"](t,8,0,o["\u0275nov"](t,9).transform("FILTER"))),e(t,12,0,o["\u0275unv"](t,12,0,o["\u0275nov"](t,13).transform("OPEN_POSITIONS")),n.total)})}var Td=o["\u0275crt"]({encapsulation:0,styles:[["@-webkit-keyframes rotate{0%{transform:rotateZ(0)}75%{transform:rotateZ(200deg)}100%{transform:rotateZ(180deg)}}@keyframes rotate{0%{transform:rotateZ(0)}75%{transform:rotateZ(200deg)}100%{transform:rotateZ(180deg)}}@-webkit-keyframes half-rotate{0%{transform:rotateZ(45deg)}75%{transform:rotateZ(100deg)}100%{transform:rotateZ(90deg)}}@keyframes half-rotate{0%{transform:rotateZ(45deg)}75%{transform:rotateZ(100deg)}100%{transform:rotateZ(90deg)}}@-webkit-keyframes rotateBack{0%{transform:rotateZ(90deg)}100%{transform:rotateZ(0)}}@keyframes rotateBack{0%{transform:rotateZ(90deg)}100%{transform:rotateZ(0)}}@-webkit-keyframes show{0%{opacity:0;transform:translateX(-100%)}75%{transform:translateX(0)}100%{opacity:1;transform:translateX(0)}}@keyframes show{0%{opacity:0;transform:translateX(-100%)}75%{transform:translateX(0)}100%{opacity:1;transform:translateX(0)}}.frame[_ngcontent-%COMP%]{display:flex;flex-direction:row}.frame[_ngcontent-%COMP%] app-sidebar[_ngcontent-%COMP%]{width:30%;flex-grow:0;height:calc(100vh - 55px);max-width:300px;min-width:250px;overflow-x:hidden;overflow-y:auto;box-shadow:rgba(0,0,0,.1) 0 6px 7px 0}.frame[_ngcontent-%COMP%] .list[_ngcontent-%COMP%]{width:80%;flex-grow:1000;overflow-y:auto;height:calc(100vh - 55px)}@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}"]],data:{}});function Rd(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"novo-loading",[],[[8,"className",0]],null,null,za,qa)),o["\u0275did"](1,49152,null,0,x.Ee,[],null,null)],null,function(e,t){e(t,0,0,o["\u0275nov"](t,1).theme||"")})}function Pd(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,4,"div",[["class","error-state"]],null,null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,0,"i",[["class","bhi-caution"]],null,null,null,null,null)),(e()(),o["\u0275eld"](2,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),o["\u0275ted"](3,null,["",""])),o["\u0275pid"](131072,_,[o.ChangeDetectorRef])],null,function(e,t){e(t,3,0,o["\u0275unv"](t,3,0,o["\u0275nov"](t,4).transform("ERROR_HAS_OCCURED")))})}function Md(e){return o["\u0275vid"](0,[(e()(),o["\u0275and"](16777216,null,null,1,null,Rd)),o["\u0275did"](1,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Pd)),o["\u0275did"](3,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275eld"](4,0,null,null,8,"div",[["class","frame"]],null,null,null,null,null)),o["\u0275did"](5,278528,null,0,r.p,[o.KeyValueDiffers,o.ElementRef,o.Renderer2],{ngStyle:[0,"ngStyle"]},null),o["\u0275pod"](6,{display:0}),(e()(),o["\u0275eld"](7,0,null,null,2,"app-sidebar",[],[[2,"active",null]],[[null,"newFilter"],[null,"toggleSidebar"]],function(e,t,n){var o=!0,r=e.component;return"newFilter"===t&&(o=!1!==r.onSidebarFilter(n)&&o),"toggleSidebar"===t&&(o=!1!==r.toggleSidebar(n)&&o),o},sd,od)),o["\u0275did"](8,278528,null,0,r.p,[o.KeyValueDiffers,o.ElementRef,o.Renderer2],{ngStyle:[0,"ngStyle"]},null),o["\u0275did"](9,49152,null,0,nd,[S,Yn],{display:[0,"display"]},{newFilter:"newFilter",toggleSidebar:"toggleSidebar"}),(e()(),o["\u0275eld"](10,0,null,null,2,"div",[["class","list"]],null,null,null,null,null)),(e()(),o["\u0275eld"](11,0,null,null,1,"app-job-list",[],null,[[null,"displaySidebar"],[null,"showLoading"],[null,"showError"]],function(e,t,n){var o=!0,r=e.component;return"displaySidebar"===t&&(o=!1!==r.toggleSidebar(n)&&o),"showLoading"===t&&(o=!1!==r.handleListLoad(n)&&o),"showError"===t&&(o=!1!==r.handleError(n)&&o),o},Dd,dd)),o["\u0275did"](12,573440,null,0,ud,[S,b.Title,b.Meta,Yn],{filter:[0,"filter"],filterCount:[1,"filterCount"],sidebarVisible:[2,"sidebarVisible"]},{displaySidebar:"displaySidebar",showLoading:"showLoading",showError:"showError"})],function(e,t){var n=t.component;e(t,1,0,n.loading&&!n.error),e(t,3,0,n.error);var o=e(t,6,0,n.loading||n.error?"none":"flex");e(t,5,0,o),e(t,8,0,n.sidebarCss),e(t,9,0,n.displaySidebar),e(t,12,0,n.listFilter,n.filterCount,n.displaySidebar)},function(e,t){e(t,7,0,o["\u0275nov"](t,9).display)})}function Id(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"app-main-page",[],null,null,null,Md,Td)),o["\u0275did"](1,49152,null,0,A,[],null,null)],null,null)}var Fd=o["\u0275ccf"]("app-main-page",A,Id,{},{},[]),Ld=function(){function e(e,t,n){this._renderer2=e,this._document=t,this.datePipe=n}return e.prototype.ngOnChanges=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"),employmentType:this.jobData.employmentType,hiringOrganization:{"@type":"Organization",name:k.settings.companyName,sameAs:k.settings.companyUrl,logo:k.settings.companyLogoPath},jobLocation:{"@type":"Place",address:{"@type":"PostalAddress",addressLocality:this.jobData.address.city,addressRegion:this.jobData.address.state,postalCode:this.jobData.publishedZip,addressCountry:this.jobData.address.countryName}},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),this._renderer2.appendChild(this._document.body,t)},e}(),Bd=o["\u0275crt"]({encapsulation:0,styles:[["[_nghost-%COMP%]{display:none}"]],data:{}});function Nd(e){return o["\u0275vid"](0,[],null,null)}var jd=o["\u0275crt"]({encapsulation:0,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[_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%] div.job-info-container[_ngcontent-%COMP%] .job-info[_ngcontent-%COMP%]{color:#0b344f;padding:10px;margin:5px;background-color:#f4f4f4;border-radius:8px;align-self:center}.background[_ngcontent-%COMP%] .job-container[_ngcontent-%COMP%] .job-header[_ngcontent-%COMP%] div.job-info-container[_ngcontent-%COMP%] .job-info[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:1em}.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}.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}"]],data:{}});function Vd(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"novo-loading",[],[[8,"className",0]],null,null,za,qa)),o["\u0275did"](1,49152,null,0,x.Ee,[],null,null)],null,function(e,t){e(t,0,0,o["\u0275nov"](t,1).theme||"")})}function Ud(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"app-structured-seo",[],[[8,"innerHTML",1]],null,null,Nd,Bd)),o["\u0275did"](1,573440,null,0,Ld,[o.Renderer2,b.DOCUMENT,r.f],{jobData:[0,"jobData"]},null)],function(e,t){e(t,1,0,t.component.job)},function(e,t){e(t,0,0,o["\u0275nov"](t,1).html)})}function $d(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"span",[["class","category"]],null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,[" "," "]))],null,function(e,t){var n=t.component;e(t,1,0,null==n.job.publishedCategory?null:n.job.publishedCategory.name)})}function Hd(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),o["\u0275ted"](-1,null,[",\xa0"]))],null,null)}function Wd(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,5,"span",[["class","job-info"]],null,null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,0,"i",[["class","bhi-location"]],null,null,null,null,null)),(e()(),o["\u0275ted"](2,null,[" "," "])),(e()(),o["\u0275and"](16777216,null,null,1,null,Hd)),o["\u0275did"](4,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275ted"](5,null,[" "," "]))],function(e,t){var n=t.component;e(t,4,0,(null==n.job.address?null:n.job.address.city)&&(null==n.job.address?null:n.job.address.state))},function(e,t){var n=t.component;e(t,2,0,n.job.address.city),e(t,5,0,n.job.address.state)})}function Kd(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,null,null,null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,[" "," "]))],null,function(e,t){var n=t.component;e(t,1,0,n.job[null==t.parent.parent.context.$implicit?null:t.parent.parent.context.$implicit.field]||n.job[t.parent.parent.context.$implicit])})}function Gd(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,null,null,null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,[" "," "])),o["\u0275ppd"](2,2)],null,function(e,t){var n=t.component,r=o["\u0275unv"](t,1,0,e(t,2,0,o["\u0275nov"](t.parent.parent.parent.parent,0),n.job[null==t.parent.parent.context.$implicit?null:t.parent.parent.context.$implicit.field],"mediumDate"));e(t,1,0,r)})}function qd(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,null,null,null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,[" "," "])),o["\u0275ppd"](2,2)],null,function(e,t){var n=t.component,r=o["\u0275unv"](t,1,0,e(t,2,0,o["\u0275nov"](t.parent.parent.parent.parent,0),n.job[null==t.parent.parent.context.$implicit?null:t.parent.parent.context.$implicit.field],"medium"));e(t,1,0,r)})}function zd(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,null,null,null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,[" "," "])),o["\u0275ppd"](2,2)],null,function(e,t){var n=t.component,r=o["\u0275unv"](t,1,0,e(t,2,0,o["\u0275nov"](t.parent.parent.parent.parent,1),n.job[null==t.parent.parent.context.$implicit?null:t.parent.parent.context.$implicit.field],"USD"));e(t,1,0,r)})}function Yd(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,null,null,null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,[" "," "])),o["\u0275ppd"](2,2)],null,function(e,t){var n=t.component,r=o["\u0275unv"](t,1,0,e(t,2,0,o["\u0275nov"](t.parent.parent.parent.parent,1),n.job[null==t.parent.parent.context.$implicit?null:t.parent.parent.context.$implicit.field],"GBP"));e(t,1,0,r)})}function Zd(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,null,null,null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,[" "," "])),o["\u0275ppd"](2,2)],null,function(e,t){var n=t.component,r=o["\u0275unv"](t,1,0,e(t,2,0,o["\u0275nov"](t.parent.parent.parent.parent,1),n.job[null==t.parent.parent.context.$implicit?null:t.parent.parent.context.$implicit.field],"EUR"));e(t,1,0,r)})}function Jd(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,null,null,null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,[" "," "]))],null,function(e,t){var n=t.component;e(t,1,0,n.job[null==t.parent.parent.context.$implicit?null:t.parent.parent.context.$implicit.field]||n.job[t.parent.parent.context.$implicit])})}function Xd(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,14,"span",[["class","job-info"]],null,null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,Kd)),o["\u0275did"](2,278528,null,0,r.r,[o.ViewContainerRef,o.TemplateRef,r.q],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Gd)),o["\u0275did"](4,278528,null,0,r.r,[o.ViewContainerRef,o.TemplateRef,r.q],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,qd)),o["\u0275did"](6,278528,null,0,r.r,[o.ViewContainerRef,o.TemplateRef,r.q],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,zd)),o["\u0275did"](8,278528,null,0,r.r,[o.ViewContainerRef,o.TemplateRef,r.q],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Yd)),o["\u0275did"](10,278528,null,0,r.r,[o.ViewContainerRef,o.TemplateRef,r.q],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Zd)),o["\u0275did"](12,278528,null,0,r.r,[o.ViewContainerRef,o.TemplateRef,r.q],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Jd)),o["\u0275did"](14,16384,null,0,r.s,[o.ViewContainerRef,o.TemplateRef,r.q],null,null)],function(e,t){e(t,2,0,"string"),e(t,4,0,"mediumDate"),e(t,6,0,"dateTime"),e(t,8,0,"USD"),e(t,10,0,"GBP"),e(t,12,0,"EUR")},null)}function Qd(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,3,null,null,null,null,null,null,null)),o["\u0275did"](1,16384,null,0,r.q,[],{ngSwitch:[0,"ngSwitch"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Xd)),o["\u0275did"](3,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](0,null,null,0))],function(e,t){var n=t.component;e(t,1,0,t.context.$implicit.type||"string"),e(t,3,0,n.job[t.context.$implicit]||n.job[null==t.context.$implicit?null:t.context.$implicit.field])},null)}function eh(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,3,"button",[["theme","primary"]],[[1,"theme",0],[1,"color",0],[1,"icon",0],[1,"loading",0],[1,"side",0]],[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.apply()&&o),o},Ga,$a)),o["\u0275did"](1,49152,null,0,x.De,[],{theme:[0,"theme"]},null),(e()(),o["\u0275ted"](2,0,["",""])),o["\u0275pid"](131072,_,[o.ChangeDetectorRef])],function(e,t){e(t,1,0,"primary")},function(e,t){e(t,0,0,o["\u0275nov"](t,1).theme,o["\u0275nov"](t,1).color,o["\u0275nov"](t,1).icon,o["\u0275nov"](t,1).loading,o["\u0275nov"](t,1).side),e(t,2,0,o["\u0275unv"](t,2,0,o["\u0275nov"](t,3).transform("APPLY_NOW")))})}function th(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,3,"button",[["disabled","true"],["theme","primary"]],[[1,"theme",0],[1,"color",0],[1,"icon",0],[1,"loading",0],[1,"side",0]],null,null,Ga,$a)),o["\u0275did"](1,49152,null,0,x.De,[],{theme:[0,"theme"]},null),(e()(),o["\u0275ted"](2,0,["",""])),o["\u0275pid"](131072,_,[o.ChangeDetectorRef])],function(e,t){e(t,1,0,"primary")},function(e,t){e(t,0,0,o["\u0275nov"](t,1).theme,o["\u0275nov"](t,1).color,o["\u0275nov"](t,1).icon,o["\u0275nov"](t,1).loading,o["\u0275nov"](t,1).side),e(t,2,0,o["\u0275unv"](t,2,0,o["\u0275nov"](t,3).transform("ALREADY_APPLIED")))})}function nh(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"button",[["icon","email"],["theme","icon"]],[[1,"theme",0],[1,"color",0],[1,"icon",0],[1,"loading",0],[1,"side",0]],[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.emailLink()&&o),o},Ga,$a)),o["\u0275did"](1,49152,null,0,x.De,[],{theme:[0,"theme"],icon:[1,"icon"]},null)],function(e,t){e(t,1,0,"icon","email")},function(e,t){e(t,0,0,o["\u0275nov"](t,1).theme,o["\u0275nov"](t,1).color,o["\u0275nov"](t,1).icon,o["\u0275nov"](t,1).loading,o["\u0275nov"](t,1).side)})}function oh(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"button",[["icon","twitter"],["theme","icon"]],[[1,"theme",0],[1,"color",0],[1,"icon",0],[1,"loading",0],[1,"side",0]],[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.shareTwitter()&&o),o},Ga,$a)),o["\u0275did"](1,49152,null,0,x.De,[],{theme:[0,"theme"],icon:[1,"icon"]},null)],function(e,t){e(t,1,0,"icon","twitter")},function(e,t){e(t,0,0,o["\u0275nov"](t,1).theme,o["\u0275nov"](t,1).color,o["\u0275nov"](t,1).icon,o["\u0275nov"](t,1).loading,o["\u0275nov"](t,1).side)})}function rh(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"button",[["icon","facebook"],["theme","icon"]],[[1,"theme",0],[1,"color",0],[1,"icon",0],[1,"loading",0],[1,"side",0]],[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.shareFacebook()&&o),o},Ga,$a)),o["\u0275did"](1,49152,null,0,x.De,[],{theme:[0,"theme"],icon:[1,"icon"]},null)],function(e,t){e(t,1,0,"icon","facebook")},function(e,t){e(t,0,0,o["\u0275nov"](t,1).theme,o["\u0275nov"](t,1).color,o["\u0275nov"](t,1).icon,o["\u0275nov"](t,1).loading,o["\u0275nov"](t,1).side)})}function ih(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"button",[["icon","linkedin"],["theme","icon"]],[[1,"theme",0],[1,"color",0],[1,"icon",0],[1,"loading",0],[1,"side",0]],[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.shareLinkedin()&&o),o},Ga,$a)),o["\u0275did"](1,49152,null,0,x.De,[],{theme:[0,"theme"],icon:[1,"icon"]},null)],function(e,t){e(t,1,0,"icon","linkedin")},function(e,t){e(t,0,0,o["\u0275nov"](t,1).theme,o["\u0275nov"](t,1).color,o["\u0275nov"](t,1).icon,o["\u0275nov"](t,1).loading,o["\u0275nov"](t,1).side)})}function ah(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,3,"button",[["icon","share"],["theme","dialogue"]],[[1,"theme",0],[1,"color",0],[1,"icon",0],[1,"loading",0],[1,"side",0]],[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.toggleShareButtons()&&o),o},Ga,$a)),o["\u0275did"](1,49152,null,0,x.De,[],{theme:[0,"theme"],icon:[1,"icon"]},null),(e()(),o["\u0275ted"](2,0,["",""])),o["\u0275pid"](131072,_,[o.ChangeDetectorRef])],function(e,t){e(t,1,0,"dialogue","share")},function(e,t){e(t,0,0,o["\u0275nov"](t,1).theme,o["\u0275nov"](t,1).color,o["\u0275nov"](t,1).icon,o["\u0275nov"](t,1).loading,o["\u0275nov"](t,1).side),e(t,2,0,o["\u0275unv"](t,2,0,o["\u0275nov"](t,3).transform("SHARE_POST")))})}function sh(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,34,"div",[["class","background"]],null,null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,33,"div",[["class","job-container"]],null,null,null,null,null)),(e()(),o["\u0275eld"](2,0,null,null,3,"button",[["icon","previous"],["side","left"],["theme","dialogue"]],[[1,"theme",0],[1,"color",0],[1,"icon",0],[1,"loading",0],[1,"side",0]],[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.goToJobList()&&o),o},Ga,$a)),o["\u0275did"](3,49152,null,0,x.De,[],{side:[0,"side"],theme:[1,"theme"],icon:[2,"icon"]},null),(e()(),o["\u0275ted"](4,0,["",""])),o["\u0275pid"](131072,_,[o.ChangeDetectorRef]),(e()(),o["\u0275eld"](6,0,null,null,10,"div",[["class","job-header"]],null,null,null,null,null)),(e()(),o["\u0275eld"](7,0,null,null,1,"span",[["class","job-title"]],null,null,null,null,null)),(e()(),o["\u0275ted"](8,null,["",""])),(e()(),o["\u0275eld"](9,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,$d)),o["\u0275did"](11,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275eld"](12,0,null,null,4,"div",[["class","job-info-container"]],null,null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,Wd)),o["\u0275did"](14,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Qd)),o["\u0275did"](16,278528,null,0,r.l,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),o["\u0275eld"](17,0,null,null,0,"div",[["class","job-description-text"]],[[8,"innerHTML",1]],null,null,null,null)),(e()(),o["\u0275eld"](18,0,null,null,16,"div",[["class","share"]],null,null,null,null,null)),(e()(),o["\u0275and"](16777216,null,null,1,null,eh)),o["\u0275did"](20,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,th)),o["\u0275did"](22,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,nh)),o["\u0275did"](24,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,oh)),o["\u0275did"](26,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,rh)),o["\u0275did"](28,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,ih)),o["\u0275did"](30,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,ah)),o["\u0275did"](32,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275eld"](33,0,null,null,1,"button",[["icon","print"],["theme","icon"]],[[1,"theme",0],[1,"color",0],[1,"icon",0],[1,"loading",0],[1,"side",0]],[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.print()&&o),o},Ga,$a)),o["\u0275did"](34,49152,null,0,x.De,[],{theme:[0,"theme"],icon:[1,"icon"]},null)],function(e,t){var n=t.component;e(t,3,0,"left","dialogue","previous"),e(t,11,0,n.job.publishedCategory&&n.showCategory),e(t,14,0,n.job.address.city||n.job.address.state),e(t,16,0,n.jobInfoChips),e(t,20,0,!n.alreadyApplied),e(t,22,0,n.alreadyApplied),e(t,24,0,n.showShareButtons),e(t,26,0,n.showShareButtons),e(t,28,0,n.showShareButtons),e(t,30,0,n.showShareButtons),e(t,32,0,!n.showShareButtons),e(t,34,0,"icon","print")},function(e,t){var n=t.component;e(t,2,0,o["\u0275nov"](t,3).theme,o["\u0275nov"](t,3).color,o["\u0275nov"](t,3).icon,o["\u0275nov"](t,3).loading,o["\u0275nov"](t,3).side),e(t,4,0,o["\u0275unv"](t,4,0,o["\u0275nov"](t,5).transform("BACK"))),e(t,8,0,n.job.title),e(t,17,0,n.job.publicDescription),e(t,33,0,o["\u0275nov"](t,34).theme,o["\u0275nov"](t,34).color,o["\u0275nov"](t,34).icon,o["\u0275nov"](t,34).loading,o["\u0275nov"](t,34).side)})}function lh(e){return o["\u0275vid"](0,[o["\u0275pid"](0,r.f,[o.LOCALE_ID]),o["\u0275pid"](0,r.d,[o.LOCALE_ID]),(e()(),o["\u0275and"](16777216,null,null,1,null,Vd)),o["\u0275did"](3,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Ud)),o["\u0275did"](5,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,sh)),o["\u0275did"](7,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,3,0,n.loading),e(t,5,0,!n.loading),e(t,7,0,!n.loading)},null)}function ch(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,16777216,null,null,1,"app-job-details",[],null,null,null,lh,jd)),o["\u0275did"](1,114688,null,0,B,[S,R,Nt,Yn,O,x.ab,o.ViewContainerRef,b.Title,b.Meta,L],null,null)],function(e,t){e(t,1,0)},null)}var uh=o["\u0275ccf"]("app-job-details",B,ch,{},{},[]),dh=o["\u0275crt"]({encapsulation:0,styles:[["novo-loading[_ngcontent-%COMP%]{padding:20px;font-size:13px;display:flex;height:100%;position:absolute;align-items:center;width:100%;justify-content:center}"]],data:{}});function hh(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,0,"div",[],[[8,"innerHTML",1]],null,null,null,null))],null,function(e,t){e(t,0,0,t.component.data)})}function ph(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"novo-loading",[],[[8,"className",0]],null,null,za,qa)),o["\u0275did"](1,49152,null,0,x.Ee,[],null,null)],null,function(e,t){e(t,0,0,o["\u0275nov"](t,1).theme||"")})}function fh(e){return o["\u0275vid"](0,[(e()(),o["\u0275and"](16777216,null,null,1,null,hh)),o["\u0275did"](1,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,ph)),o["\u0275did"](3,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,1,0,!n.loading),e(t,3,0,n.loading)},null)}function mh(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"app-privacy-policy",[],null,null,null,fh,dh)),o["\u0275did"](1,114688,null,0,V,[Bo.c,b.DomSanitizer],null,null)],function(e,t){e(t,1,0)},null)}var gh=o["\u0275ccf"]("app-privacy-policy",V,mh,{},{},[]),vh=o["\u0275crt"]({encapsulation:0,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 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%]{max-height:calc(100vh - 180px);height:calc(100vh - 180px);width:100vw}}"]],data:{}});function _h(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"div",[["class","job-details"]],null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,["",""]))],null,function(e,t){var n=t.component;e(t,1,0,null==n.job.publishedCategory?null:n.job.publishedCategory.name)})}function yh(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),o["\u0275ted"](-1,null,[",\xa0"]))],null,null)}function bh(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"span",[["class","separator"]],null,null,null,null,null)),(e()(),o["\u0275ted"](-1,null,["|"]))],null,null)}function Ch(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"div",[["class","novo-form-row"]],null,null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,1,"novo-control",[],[[8,"className",0],[1,"data-control-type",0],[2,"disabled",null],[2,"hidden",null],[1,"data-control-key",0]],null,null,Zc,Ec)),o["\u0275did"](2,5488640,null,0,x.sd,[o.ElementRef,x.T,x.hd,x.j,x.Nb,o.ChangeDetectorRef,o.LOCALE_ID],{control:[0,"control"],form:[1,"form"]},null)],function(e,t){e(t,2,0,t.context.$implicit,t.component.form)},function(e,t){e(t,1,0,o["\u0275nov"](t,2).form.controls[o["\u0275nov"](t,2).control.key].controlType,o["\u0275nov"](t,2).form.controls[o["\u0275nov"](t,2).control.key].controlType,o["\u0275nov"](t,2).form.controls[o["\u0275nov"](t,2).control.key].readOnly,o["\u0275nov"](t,2).form.controls[o["\u0275nov"](t,2).control.key].hidden,o["\u0275nov"](t,2).control.key)})}function Eh(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"div",[["class","novo-form-row"]],null,null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,1,"novo-control",[],[[8,"className",0],[1,"data-control-type",0],[2,"disabled",null],[2,"hidden",null],[1,"data-control-key",0]],null,null,Zc,Ec)),o["\u0275did"](2,5488640,null,0,x.sd,[o.ElementRef,x.T,x.hd,x.j,x.Nb,o.ChangeDetectorRef,o.LOCALE_ID],{control:[0,"control"],form:[1,"form"]},null)],function(e,t){e(t,2,0,t.context.$implicit,t.component.form)},function(e,t){e(t,1,0,o["\u0275nov"](t,2).form.controls[o["\u0275nov"](t,2).control.key].controlType,o["\u0275nov"](t,2).form.controls[o["\u0275nov"](t,2).control.key].controlType,o["\u0275nov"](t,2).form.controls[o["\u0275nov"](t,2).control.key].readOnly,o["\u0275nov"](t,2).form.controls[o["\u0275nov"](t,2).control.key].hidden,o["\u0275nov"](t,2).control.key)})}function wh(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,5,"div",[["class","eeoc-form"]],null,null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,2,"novo-fieldset-header",[],null,null,null,zo,qo)),o["\u0275did"](2,49152,null,0,x.gc,[],{title:[0,"title"]},null),o["\u0275pid"](131072,_,[o.ChangeDetectorRef]),(e()(),o["\u0275and"](16777216,null,null,1,null,Eh)),o["\u0275did"](5,278528,null,0,r.l,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(e,t){var n=t.component;e(t,2,0,o["\u0275inlineInterpolate"](1,"",o["\u0275unv"](t,2,0,o["\u0275nov"](t,3).transform("EEOC.EEOC_FORM_DESCRIPTION")),"")),e(t,5,0,n.eeocControls)},null)}function kh(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,8,"div",[["class","consent-form novo-form-row"]],null,null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,1,"novo-control",[],[[8,"className",0],[1,"data-control-type",0],[2,"disabled",null],[2,"hidden",null],[1,"data-control-key",0]],null,null,Zc,Ec)),o["\u0275did"](2,5488640,null,0,x.sd,[o.ElementRef,x.T,x.hd,x.j,x.Nb,o.ChangeDetectorRef,o.LOCALE_ID],{control:[0,"control"],form:[1,"form"]},null),(e()(),o["\u0275eld"](3,0,null,null,5,"label",[["class","consent-checkbox-label"]],null,null,null,null,null)),(e()(),o["\u0275ted"](4,null,[""," "])),o["\u0275pid"](131072,_,[o.ChangeDetectorRef]),(e()(),o["\u0275eld"](6,0,null,null,2,"a",[],null,[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.viewPrivacyPolicy()&&o),o},null,null)),(e()(),o["\u0275ted"](7,null,["",""])),o["\u0275pid"](131072,_,[o.ChangeDetectorRef])],function(e,t){var n=t.component;e(t,2,0,n.consentControl,n.form)},function(e,t){e(t,1,0,o["\u0275nov"](t,2).form.controls[o["\u0275nov"](t,2).control.key].controlType,o["\u0275nov"](t,2).form.controls[o["\u0275nov"](t,2).control.key].controlType,o["\u0275nov"](t,2).form.controls[o["\u0275nov"](t,2).control.key].readOnly,o["\u0275nov"](t,2).form.controls[o["\u0275nov"](t,2).control.key].hidden,o["\u0275nov"](t,2).control.key),e(t,4,0,o["\u0275unv"](t,4,0,o["\u0275nov"](t,5).transform("BY_CHECKING_THIS_BOX"))),e(t,7,0,o["\u0275unv"](t,7,0,o["\u0275nov"](t,8).transform("PRIVACY_POLICY")))})}function Ah(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"span",[["class","error"]],null,null,null,null,null)),(e()(),o["\u0275ted"](1,null,["",""])),o["\u0275pid"](131072,_,[o.ChangeDetectorRef])],null,function(e,t){e(t,1,0,o["\u0275unv"](t,1,0,o["\u0275nov"](t,2).transform("ERROR_WHILE_APPLYING")))})}function Sh(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,12,"section",[],null,null,null,null,null)),(e()(),o["\u0275eld"](1,0,null,null,9,"novo-form",[["layout","vertical"]],null,null,null,Qc,Jc)),o["\u0275prd"](512,null,x.Nb,x.Nb,[]),o["\u0275did"](3,1163264,null,1,x.td,[x.Nb],{form:[0,"form"],layout:[1,"layout"]},null),o["\u0275qud"](603979776,1,{customTemplates:1}),(e()(),o["\u0275and"](16777216,null,2,1,null,Ch)),o["\u0275did"](6,278528,null,0,r.l,[o.ViewContainerRef,o.TemplateRef,o.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),o["\u0275and"](16777216,null,2,1,null,wh)),o["\u0275did"](8,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,2,1,null,kh)),o["\u0275did"](10,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275and"](16777216,null,null,1,null,Ah)),o["\u0275did"](12,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,3,0,n.form,"vertical"),e(t,6,0,n.formControls),e(t,8,0,n.eeocControls.length),e(t,10,0,n.consentCheckbox),e(t,12,0,n.hasError)},null)}function Oh(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,28,"novo-modal",[],null,null,null,er,Qo)),o["\u0275did"](1,49152,null,0,x.jd,[x.Z],null,null),(e()(),o["\u0275eld"](2,0,null,0,16,"header",[["class","apply-modal-header"],["theme","neutral"]],[[8,"className",0],[2,"condensed",null],[1,"theme",0]],null,null,gs,ds)),o["\u0275did"](3,49152,null,0,x.Dc,[],{title:[0,"title"],theme:[1,"theme"]},null),(e()(),o["\u0275eld"](4,0,null,3,3,"utils",[],null,null,null,ls,ss)),o["\u0275did"](5,49152,null,0,x.Bc,[],null,null),(e()(),o["\u0275eld"](6,0,null,0,1,"util-action",[["icon","times"]],null,[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.close()&&o),o},us,cs)),o["\u0275did"](7,49152,null,0,x.Cc,[],{icon:[0,"icon"]},null),(e()(),o["\u0275and"](16777216,null,5,1,null,_h)),o["\u0275did"](9,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275eld"](10,0,null,5,8,"div",[["class","job-details"]],null,null,null,null,null)),(e()(),o["\u0275ted"](11,null,["",""])),(e()(),o["\u0275and"](16777216,null,null,1,null,yh)),o["\u0275did"](13,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275ted"](14,null,[""," "])),(e()(),o["\u0275and"](16777216,null,null,1,null,bh)),o["\u0275did"](16,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275eld"](17,0,null,null,1,"span",[["class","type"]],null,null,null,null,null)),(e()(),o["\u0275ted"](18,null,["",""])),(e()(),o["\u0275and"](16777216,null,1,1,null,Sh)),o["\u0275did"](20,16384,null,0,r.m,[o.ViewContainerRef,o.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),o["\u0275eld"](21,0,null,2,3,"button",[["data-automation-id","create-modal-cancel"],["theme","standard"]],[[1,"theme",0],[1,"color",0],[1,"icon",0],[1,"loading",0],[1,"side",0]],[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.close()&&o),o},Ga,$a)),o["\u0275did"](22,49152,null,0,x.De,[],{theme:[0,"theme"]},null),(e()(),o["\u0275ted"](23,0,["",""])),o["\u0275pid"](131072,_,[o.ChangeDetectorRef]),(e()(),o["\u0275eld"](25,0,null,2,3,"button",[["data-automation-id","create-modal-save"],["icon","check"],["theme","primary"]],[[8,"disabled",0],[1,"theme",0],[1,"color",0],[1,"icon",0],[1,"loading",0],[1,"side",0]],[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.save()&&o),o},Ga,$a)),o["\u0275did"](26,49152,null,0,x.De,[],{theme:[0,"theme"],loading:[1,"loading"],icon:[2,"icon"]},null),(e()(),o["\u0275ted"](27,0,[" "," "])),o["\u0275pid"](131072,_,[o.ChangeDetectorRef])],function(e,t){var n=t.component;e(t,3,0,n.job.title,"neutral"),e(t,7,0,"times"),e(t,9,0,n.job.publishedCategory&&n.showCategory),e(t,13,0,(null==n.job.address?null:n.job.address.city)&&(null==n.job.address?null:n.job.address.state)),e(t,16,0,((null==n.job.address?null:n.job.address.city)||(null==n.job.address?null:n.job.address.state))&&n.job.employmentType),e(t,20,0,!n.loading),e(t,22,0,"standard"),e(t,26,0,"primary",n.applying,"check")},function(e,t){var n=t.component;e(t,2,0,o["\u0275nov"](t,3).headerClass,o["\u0275nov"](t,3).condensed,o["\u0275nov"](t,3).theme),e(t,11,0,n.job.address.city),e(t,14,0,n.job.address.state),e(t,18,0,n.job.employmentType),e(t,21,0,o["\u0275nov"](t,22).theme,o["\u0275nov"](t,22).color,o["\u0275nov"](t,22).icon,o["\u0275nov"](t,22).loading,o["\u0275nov"](t,22).side),e(t,23,0,o["\u0275unv"](t,23,0,o["\u0275nov"](t,24).transform("CANCEL"))),e(t,25,0,!n.form.valid,o["\u0275nov"](t,26).theme,o["\u0275nov"](t,26).color,o["\u0275nov"](t,26).icon,o["\u0275nov"](t,26).loading,o["\u0275nov"](t,26).side),e(t,27,0,o["\u0275unv"](t,27,0,o["\u0275nov"](t,28).transform("APPLY")))})}function xh(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"app-apply-modal",[],null,null,null,Oh,vh)),o["\u0275did"](1,114688,null,0,T,[x.l,x.Y,x.Z,D,O,x.Sb,Yn],null,null)],function(e,t){e(t,1,0)},null)}var Dh=o["\u0275ccf"]("app-apply-modal",T,xh,{},{},[]),Th=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function Rh(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,9,"novo-notification",[["data-automation-id","error-modal"],["type","error"]],null,null,null,or,tr)),o["\u0275did"](1,114688,null,0,x.Kd,[x.Z],{type:[0,"type"]},null),(e()(),o["\u0275eld"](2,0,null,1,1,"h1",[],null,null,null,null,null)),(e()(),o["\u0275ted"](3,null,["",""])),(e()(),o["\u0275eld"](4,0,null,2,1,"h2",[],null,null,null,null,null)),(e()(),o["\u0275ted"](5,null,["",""])),(e()(),o["\u0275eld"](6,0,null,4,3,"button",[["data-automation-id","error-modal-confirm"],["icon","check"],["theme","primary"]],[[1,"theme",0],[1,"color",0],[1,"icon",0],[1,"loading",0],[1,"side",0]],[[null,"click"]],function(e,t,n){var o=!0;return"click"===t&&(o=!1!==e.component.close()&&o),o},Ga,$a)),o["\u0275did"](7,49152,null,0,x.De,[],{theme:[0,"theme"],icon:[1,"icon"]},null),(e()(),o["\u0275ted"](8,0,["",""])),o["\u0275pid"](131072,_,[o.ChangeDetectorRef])],function(e,t){e(t,1,0,"error"),e(t,7,0,"primary","check")},function(e,t){var n=t.component;e(t,3,0,n.params.title),e(t,5,0,n.params.message),e(t,6,0,o["\u0275nov"](t,7).theme,o["\u0275nov"](t,7).color,o["\u0275nov"](t,7).icon,o["\u0275nov"](t,7).loading,o["\u0275nov"](t,7).side),e(t,8,0,o["\u0275unv"](t,8,0,o["\u0275nov"](t,9).transform("OKAY")))})}function Ph(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,1,"error-modal",[],null,null,null,Rh,Th)),o["\u0275did"](1,114688,null,0,P,[x.Y,x.Z],null,null)],function(e,t){e(t,1,0)},null)}var Mh=o["\u0275ccf"]("error-modal",P,Ph,{},{},[]),Ih=o["\u0275crt"]({encapsulation:0,styles:[[""]],data:{}});function Fh(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,0,null,null,2,"header",[["condensed","true"],["icon","company"],["theme","neutral"]],[[8,"className",0],[2,"condensed",null],[1,"theme",0]],null,null,gs,ds)),o["\u0275did"](1,49152,null,0,x.Dc,[],{condensed:[0,"condensed"],title:[1,"title"],theme:[2,"theme"],icon:[3,"icon"]},null),(e()(),o["\u0275eld"](2,0,null,1,0,"div",[["class","entity-header"],["novo-title",""]],null,null,null,null,null)),(e()(),o["\u0275eld"](3,0,null,null,2,"div",[],null,null,null,null,null)),(e()(),o["\u0275eld"](4,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),o["\u0275did"](5,212992,null,0,to,[eo,o.ViewContainerRef,o.ComponentFactoryResolver,[8,null],o.ChangeDetectorRef],null,null)],function(e,t){e(t,1,0,"true",t.component.title,"neutral","company"),e(t,5,0)},function(e,t){e(t,0,0,o["\u0275nov"](t,1).headerClass,o["\u0275nov"](t,1).condensed,o["\u0275nov"](t,1).theme)})}function Lh(e){return o["\u0275vid"](0,[(e()(),o["\u0275eld"](0,16777216,null,null,1,"app-root",[],null,null,null,Fh,Ih)),o["\u0275did"](1,114688,null,0,ko,[Yn,b.Meta,o.ViewContainerRef,x.Sb,x.ab],null,null)],function(e,t){e(t,1,0)},null)}var Bh=o["\u0275ccf"]("app-root",ko,Lh,{},{},[]),Nh=new o.InjectionToken("WindowToken");function jh(){return window}var Vh=function(){return function(){}}(),Uh=function(){function e(e,t){this.document=e,this.window=t}return Object.defineProperty(e.prototype,"isSupported",{get:function(){return!!this.document.queryCommandSupported&&!!this.document.queryCommandSupported("copy")},enumerable:!0,configurable:!0}),e.prototype.isTargetValid=function(e){if(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement){if(e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');return!0}throw new Error("Target should be input or textarea")},e.prototype.copyFromInputElement=function(e){try{this.selectTarget(e);var t=this.copyText();return this.clearSelection(e,this.window),t}catch(n){return!1}},e.prototype.copyFromContent=function(e){return this.tempTextArea||(this.tempTextArea=this.createTempTextArea(this.document,this.window),this.document.body.appendChild(this.tempTextArea)),this.tempTextArea.value=e,this.copyFromInputElement(this.tempTextArea)},e.prototype.destroy=function(){this.tempTextArea&&(this.document.body.removeChild(this.tempTextArea),this.tempTextArea=void 0)},e.prototype.selectTarget=function(e){return e.select(),e.setSelectionRange(0,e.value.length),e.value.length},e.prototype.copyText=function(){return this.document.execCommand("copy")},e.prototype.clearSelection=function(e,t){e&&e.blur(),t.getSelection().removeAllRanges()},e.prototype.createTempTextArea=function(e,t){var n,o="rtl"===e.documentElement.getAttribute("dir");return(n=e.createElement("textarea")).style.fontSize="12pt",n.style.border="0",n.style.padding="0",n.style.margin="0",n.style.position="absolute",n.style[o?"right":"left"]="-9999px",n.style.top=(t.pageYOffset||e.documentElement.scrollTop)+"px",n.setAttribute("readonly",""),n},e}();function $h(e,t,n){return n||new Uh(e,t)}new o.Optional,new o.SkipSelf;var Hh=function(){return function(){}}(),Wh=o["\u0275cmf"](U,[ko],function(e){return o["\u0275mod"]([o["\u0275mpd"](512,o.ComponentFactoryResolver,o["\u0275CodegenComponentFactoryResolver"],[[8,[Xa,as,Xo,hr,Er,Ur,Jr,Oi,Ui,ii,gi,iu,uu,Ki,Zi,ia,Gu,Zu,Fd,uh,gh,Dh,Mh,Bh]],[3,o.ComponentFactoryResolver],o.NgModuleRef]),o["\u0275mpd"](5120,o.LOCALE_ID,o["\u0275angular_packages_core_core_o"],[[3,o.LOCALE_ID]]),o["\u0275mpd"](4608,r.o,r.n,[o.LOCALE_ID,[2,r.D]]),o["\u0275mpd"](5120,o.IterableDiffers,o["\u0275angular_packages_core_core_m"],[]),o["\u0275mpd"](5120,o.KeyValueDiffers,o["\u0275angular_packages_core_core_n"],[]),o["\u0275mpd"](4608,b.DomSanitizer,b["\u0275DomSanitizerImpl"],[r.e]),o["\u0275mpd"](6144,o.Sanitizer,null,[b.DomSanitizer]),o["\u0275mpd"](4608,b.HAMMER_GESTURE_CONFIG,b.HammerGestureConfig,[]),o["\u0275mpd"](5120,b.EVENT_MANAGER_PLUGINS,function(e,t,n,o,r,i,a,s){return[new b["\u0275DomEventsPlugin"](e,t,n),new b["\u0275KeyEventsPlugin"](o),new b["\u0275HammerGesturesPlugin"](r,i,a,s)]},[r.e,o.NgZone,o.PLATFORM_ID,r.e,r.e,b.HAMMER_GESTURE_CONFIG,o["\u0275Console"],[2,b.HAMMER_LOADER]]),o["\u0275mpd"](4608,b.EventManager,b.EventManager,[b.EVENT_MANAGER_PLUGINS,o.NgZone]),o["\u0275mpd"](135680,b["\u0275DomSharedStylesHost"],b["\u0275DomSharedStylesHost"],[r.e]),o["\u0275mpd"](4608,b["\u0275DomRendererFactory2"],b["\u0275DomRendererFactory2"],[b.EventManager,b["\u0275DomSharedStylesHost"]]),o["\u0275mpd"](6144,o.RendererFactory2,null,[b["\u0275DomRendererFactory2"]]),o["\u0275mpd"](6144,b["\u0275SharedStylesHost"],null,[b["\u0275DomSharedStylesHost"]]),o["\u0275mpd"](4608,o.Testability,o.Testability,[o.NgZone]),o["\u0275mpd"](4608,Bo.h,Bo.n,[r.e,o.PLATFORM_ID,Bo.l]),o["\u0275mpd"](4608,Bo.o,Bo.o,[Bo.h,Bo.m]),o["\u0275mpd"](5120,Bo.a,function(e){return[e]},[Bo.o]),o["\u0275mpd"](4608,Ao.FormBuilder,Ao.FormBuilder,[]),o["\u0275mpd"](4608,Ao["\u0275angular_packages_forms_forms_j"],Ao["\u0275angular_packages_forms_forms_j"],[]),o["\u0275mpd"](4608,So.a,So.a,[So.g,So.c,o.ComponentFactoryResolver,So.f,So.d,o.Injector,o.NgZone,r.e,Oo.b,[2,r.i]]),o["\u0275mpd"](5120,So.h,So.i,[So.a]),o["\u0275mpd"](4608,Ro.a,Ro.a,[]),o["\u0275mpd"](4608,x.r,x.r,[]),o["\u0275mpd"](4608,x.Nb,x.Nb,[]),o["\u0275mpd"](4608,x.Zd,x.Zd,[]),o["\u0275mpd"](4608,x.ne,x.oe,[]),o["\u0275mpd"](4608,x.pe,x.pe,[]),o["\u0275mpd"](4608,x.m,x.m,[Bo.c,o.PLATFORM_ID,x.ne,x.pe]),o["\u0275mpd"](4608,x.d,x.d,[o.ComponentFactoryResolver]),o["\u0275mpd"](4608,x.T,x.T,[[2,o.LOCALE_ID]]),o["\u0275mpd"](4608,x.hd,x.hd,[x.T]),o["\u0275mpd"](4608,x.H,x.H,[]),o["\u0275mpd"](4608,x.Wb,x.Wb,[]),o["\u0275mpd"](4608,x.l,x.l,[x.T,x.Wb]),o["\u0275mpd"](5120,Nh,jh,[]),o["\u0275mpd"](5120,Uh,$h,[b.DOCUMENT,Nh,[3,Uh]]),o["\u0275mpd"](5120,Nt,yo,[Yn]),o["\u0275mpd"](4608,io,io,[]),o["\u0275mpd"](6144,oo,null,[io]),o["\u0275mpd"](135680,ao,ao,[Yn,o.NgModuleFactoryLoader,o.Compiler,o.Injector,oo]),o["\u0275mpd"](4608,ro,ro,[]),o["\u0275mpd"](5120,so,fo,[Yn,r.z,lo]),o["\u0275mpd"](5120,wo,Eo,[bo]),o["\u0275mpd"](5120,o.APP_BOOTSTRAP_LISTENER,function(e){return[e]},[wo]),o["\u0275mpd"](4608,S,S,[Bo.c,k]),o["\u0275mpd"](4608,R,R,[]),o["\u0275mpd"](4608,x.Sb,x.Sb,[x.d]),o["\u0275mpd"](4608,x.ab,x.ab,[x.d]),o["\u0275mpd"](4608,x.j,x.j,[x.Sb,x.ab,x.l,Bo.c,x.T]),o["\u0275mpd"](4608,D,D,[Bo.c,k]),o["\u0275mpd"](4608,O,O,[]),o["\u0275mpd"](4608,r.f,r.f,[o.LOCALE_ID]),o["\u0275mpd"](4608,L,L,[[2,F]]),o["\u0275mpd"](4608,j,j,[S,L]),o["\u0275mpd"](1073742336,r.c,r.c,[]),o["\u0275mpd"](1024,o.ErrorHandler,b["\u0275angular_packages_platform_browser_platform_browser_a"],[]),o["\u0275mpd"](1024,o.NgProbeToken,function(){return[ho()]},[]),o["\u0275mpd"](256,o.APP_ID,"serverApp",[]),o["\u0275mpd"](2048,b["\u0275TRANSITION_ID"],null,[o.APP_ID]),o["\u0275mpd"](512,bo,bo,[o.Injector]),o["\u0275mpd"](512,Bo.k,Bo.k,[]),o["\u0275mpd"](2048,Bo.i,null,[Bo.k]),o["\u0275mpd"](512,Bo.g,Bo.g,[Bo.i]),o["\u0275mpd"](2048,Bo.b,null,[Bo.g]),o["\u0275mpd"](512,Bo.f,Bo.j,[Bo.b,o.Injector]),o["\u0275mpd"](512,Bo.c,Bo.c,[Bo.f]),o["\u0275mpd"](1024,b.TransferState,b["\u0275angular_packages_platform_browser_platform_browser_f"],[r.e,o.APP_ID]),o["\u0275mpd"](512,k,k,[Bo.c,o.PLATFORM_ID,[2,I],b.TransferState]),o["\u0275mpd"](1024,o.APP_INITIALIZER,function(e,t,n,o,r,i){return[b["\u0275angular_packages_platform_browser_platform_browser_j"](e),b["\u0275angular_packages_platform_browser_platform_browser_h"](t,n,o),Co(r),(a=i,function(){return a.load()})];var a},[[2,o.NgProbeToken],b["\u0275TRANSITION_ID"],r.e,o.Injector,bo,k]),o["\u0275mpd"](512,o.ApplicationInitStatus,o.ApplicationInitStatus,[[2,o.APP_INITIALIZER]]),o["\u0275mpd"](131584,o.ApplicationRef,o.ApplicationRef,[o.NgZone,o["\u0275Console"],o.Injector,o.ErrorHandler,o.ComponentFactoryResolver,o.ApplicationInitStatus]),o["\u0275mpd"](1073742336,o.ApplicationModule,o.ApplicationModule,[o.ApplicationRef]),o["\u0275mpd"](1073742336,b.BrowserModule,b.BrowserModule,[[3,b.BrowserModule]]),o["\u0275mpd"](1073742336,Bo.e,Bo.e,[]),o["\u0275mpd"](1073742336,Bo.d,Bo.d,[]),o["\u0275mpd"](1073742336,Ao["\u0275angular_packages_forms_forms_bc"],Ao["\u0275angular_packages_forms_forms_bc"],[]),o["\u0275mpd"](1073742336,Ao.ReactiveFormsModule,Ao.ReactiveFormsModule,[]),o["\u0275mpd"](1073742336,x.eb,x.eb,[]),o["\u0275mpd"](1073742336,x.s,x.s,[]),o["\u0275mpd"](1073742336,x.W,x.W,[]),o["\u0275mpd"](1073742336,x.Tb,x.Tb,[]),o["\u0275mpd"](1073742336,x.v,x.v,[]),o["\u0275mpd"](1073742336,x.u,x.u,[]),o["\u0275mpd"](1073742336,x.Rb,x.Rb,[]),o["\u0275mpd"](1073742336,x.Q,x.Q,[]),o["\u0275mpd"](1073742336,x.Hb,x.Hb,[]),o["\u0275mpd"](1073742336,x.Ob,x.Ob,[]),o["\u0275mpd"](1073742336,x.X,x.X,[]),o["\u0275mpd"](1073742336,Ao.FormsModule,Ao.FormsModule,[]),o["\u0275mpd"](1073742336,x.V,x.V,[]),o["\u0275mpd"](1073742336,x.fb,x.fb,[]),o["\u0275mpd"](1073742336,x.gb,x.gb,[]),o["\u0275mpd"](1073742336,Oo.a,Oo.a,[]),o["\u0275mpd"](1073742336,xo.d,xo.d,[]),o["\u0275mpd"](1073742336,Do.b,Do.b,[]),o["\u0275mpd"](1073742336,To.b,To.b,[]),o["\u0275mpd"](1073742336,So.e,So.e,[]),o["\u0275mpd"](1073742336,x.Qc,x.Qc,[]),o["\u0275mpd"](1073742336,x.J,x.J,[]),o["\u0275mpd"](1073742336,Ro.b,Ro.b,[]),o["\u0275mpd"](1073742336,Po.a,Po.a,[]),o["\u0275mpd"](1073742336,x.ib,x.ib,[]),o["\u0275mpd"](1073742336,x.Gb,x.Gb,[]),o["\u0275mpd"](1073742336,x.G,x.G,[]),o["\u0275mpd"](1073742336,x.Bb,x.Bb,[]),o["\u0275mpd"](1073742336,x.db,x.db,[]),o["\u0275mpd"](1073742336,x.y,x.y,[]),o["\u0275mpd"](1073742336,Mo.TextMaskModule,Mo.TextMaskModule,[]),o["\u0275mpd"](1073742336,x.E,x.E,[]),o["\u0275mpd"](1073742336,x.Pb,x.Pb,[]),o["\u0275mpd"](1073742336,x.F,x.F,[]),o["\u0275mpd"](1073742336,x.cb,x.cb,[]),o["\u0275mpd"](1073742336,x.Qb,x.Qb,[]),o["\u0275mpd"](1073742336,Lo.m,Lo.m,[]),o["\u0275mpd"](1073742336,x.O,x.O,[]),o["\u0275mpd"](1073742336,x.hb,x.hb,[]),o["\u0275mpd"](1073742336,x.zb,x.zb,[]),o["\u0275mpd"](1073742336,x.p,x.p,[]),o["\u0275mpd"](1073742336,x.z,x.z,[]),o["\u0275mpd"](1073742336,x.P,x.P,[]),o["\u0275mpd"](1073742336,x.Kb,x.Kb,[]),o["\u0275mpd"](1073742336,x.Lb,x.Lb,[]),o["\u0275mpd"](1073742336,x.w,x.w,[]),o["\u0275mpd"](1073742336,x.bb,x.bb,[]),o["\u0275mpd"](1073742336,x.qe,x.qe,[]),o["\u0275mpd"](1073742336,x.C,x.C,[]),o["\u0275mpd"](1073742336,x.se,x.se,[]),o["\u0275mpd"](1073742336,x.Ub,x.Ub,[]),o["\u0275mpd"](1073742336,x.S,x.S,[]),o["\u0275mpd"](1073742336,Io.c,Io.c,[]),o["\u0275mpd"](1073742336,x.N,x.N,[]),o["\u0275mpd"](1073742336,x.fc,x.fc,[]),o["\u0275mpd"](1073742336,Fo.e,Fo.e,[]),o["\u0275mpd"](1073742336,x.Fb,x.Fb,[]),o["\u0275mpd"](1073742336,x.M,x.M,[]),o["\u0275mpd"](1073742336,b.BrowserTransferStateModule,b.BrowserTransferStateModule,[]),o["\u0275mpd"](1073742336,Vh,Vh,[]),o["\u0275mpd"](1073742336,Hh,Hh,[]),o["\u0275mpd"](1073742336,y,y,[]),o["\u0275mpd"](1024,co,go,[[3,Yn]]),o["\u0275mpd"](512,gt,vt,[]),o["\u0275mpd"](512,eo,eo,[]),o["\u0275mpd"](256,lo,{enableTracing:!1,useHash:!0},[]),o["\u0275mpd"](1024,r.j,mo,[r.w,[2,r.a],lo]),o["\u0275mpd"](512,r.i,r.i,[r.j]),o["\u0275mpd"](512,o.Compiler,o.Compiler,[]),o["\u0275mpd"](512,o.NgModuleFactoryLoader,o.SystemJsNgModuleLoader,[o.Compiler,[2,o.SystemJsNgModuleLoaderConfig]]),o["\u0275mpd"](1024,$n,function(){return[[{path:"",component:A},{path:"jobs/:id",component:B,resolve:{message:j}},{path:"jobs",component:A},{path:"privacy",component:V}]]},[]),o["\u0275mpd"](1024,Yn,_o,[o.ApplicationRef,gt,eo,r.i,o.Injector,o.NgModuleFactoryLoader,o.Compiler,$n,lo,[2,Wn],[2,Vn]]),o["\u0275mpd"](1073742336,po,po,[[2,co],[2,Yn]]),o["\u0275mpd"](1073742336,U,U,[]),o["\u0275mpd"](256,o["\u0275APP_ROOT"],!0,[]),o["\u0275mpd"](256,Bo.l,"XSRF-TOKEN",[]),o["\u0275mpd"](256,Bo.m,"X-XSRF-TOKEN",[])])});Object(o.enableProdMode)(),document.addEventListener("DOMContentLoaded",function(){b.platformBrowser().bootstrapModuleFactory(Wh).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 o=n("yNUO");e.exports=function(e){var t=o(e),n=t.getMonth();return t.setMonth(n-n%3+3,0),t.setHours(0,0,0,0),t}},zotm:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=n("rPjj"),r=n("Fxb1");function i(e,t,n,i,a){if(void 0===a&&(a=new o.a(e,n,i)),!a.closed)return Object(r.a)(t)(a)}}},[[0,0]]]);