From cd3be9c3720297d29e4d4c3b7199c11162ff9786 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Z=C3=A9fling?= Date: Wed, 11 Nov 2020 14:58:53 +0100 Subject: [PATCH] Update demo --- dist/ng-select2/index.html | 4 ++-- ...n.e62417ab2334cd5a00cd.js => main.d583c1cffe6be7d36439.js} | 2 +- ...0e991c5992f8630bc9.css => styles.3ff695c00d717f2d2a11.css} | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename dist/ng-select2/{main.e62417ab2334cd5a00cd.js => main.d583c1cffe6be7d36439.js} (80%) rename dist/ng-select2/{styles.280e991c5992f8630bc9.css => styles.3ff695c00d717f2d2a11.css} (100%) diff --git a/dist/ng-select2/index.html b/dist/ng-select2/index.html index 6c0cc5a..cc19fa7 100644 --- a/dist/ng-select2/index.html +++ b/dist/ng-select2/index.html @@ -11,10 +11,10 @@ - + - + \ No newline at end of file diff --git a/dist/ng-select2/main.e62417ab2334cd5a00cd.js b/dist/ng-select2/main.d583c1cffe6be7d36439.js similarity index 80% rename from dist/ng-select2/main.e62417ab2334cd5a00cd.js rename to dist/ng-select2/main.d583c1cffe6be7d36439.js index 533a2e1..14b084a 100644 --- a/dist/ng-select2/main.e62417ab2334cd5a00cd.js +++ b/dist/ng-select2/main.d583c1cffe6be7d36439.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(e,t,n){e.exports=n("zUnb")},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"},zUnb:function(e,t,n){"use strict";n.r(t);var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function o(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0;a--)(o=e[a])&&(l=(i<3?o(l):i>3?o(t,n,l):o(t,n))||l);return i>3&&l&&Object.defineProperty(t,n,l),l}function a(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function s(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function u(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),l=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)l.push(r.value)}catch(a){o={error:a}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return l}function c(){for(var e=[],t=0;t0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(Z);function Q(){return function(e){return e.lift(new K(e))}}var K=function(){function e(e){this.connectable=e}return e.prototype.call=function(e,t){var n=this.connectable;n._refCount++;var r=new J(e,n),o=t.subscribe(r);return r.closed||(r.connection=n.connect()),o},e}(),J=function(e){function t(t,n){var r=e.call(this,t)||this;return r.connectable=n,r}return o(t,e),t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},t}(C),$=function(e){function t(t,n){var r=e.call(this)||this;return r.source=t,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return o(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 v).add(this.source.subscribe(new X(this.getSubject(),this))),e.closed&&(this._connection=null,e=v.EMPTY)),e},t.prototype.refCount=function(){return Q()(this)},t}(E),Y=function(){var e=$.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}}(),X=function(e){function t(t,n){var r=e.call(this,t)||this;return r.connectable=n,r}return o(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);function ee(){return new T}function te(e){for(var t in e)if(e[t]===te)return t;throw Error("Could not find renamed property on target object.")}var ne=te({ngComponentDef:te}),re=te({ngInjectableDef:te}),oe=te({ngInjectorDef:te}),ie=te({ngModuleDef:te}),le=te({__NG_ELEMENT_ID__:te});function ae(e){return{providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function se(e){return e&&e.hasOwnProperty(re)?e[re]:null}function ue(e){return e&&e.hasOwnProperty(oe)?e[oe]:null}var ce=function(){function e(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0!==t?ae({providedIn:t.providedIn||"root",factory:t.factory}):void 0}return e.prototype.toString=function(){return"InjectionToken "+this._desc},e}(),de="__parameters__";function pe(e,t,n){var r=function(e){return function(){for(var t=[],n=0;n=Be?n:n[Ie]}function rt(e){return null!==e.template}function ot(e){return e[We]}function it(e){var t=ot(e);return t?Array.isArray(t)?t:t.lView:null}function lt(e){return 32767&e}function at(e,t){for(var n=e>>16,r=t;n>0;)r=r[Le],n--;return r}var st=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(ve);function ut(e){for(var t=e[Te];t&&2===t.type;)t=(e=e[Le])[Te];return e}var ct,dt,pt,ft,ht=pe("Inject",function(e){return{token:e}}),vt=pe("Optional"),gt=pe("Self"),yt=pe("SkipSelf"),mt=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}({}),_t=void 0;function bt(e){var t=_t;return _t=e,t}function wt(e){var t=ct;return ct=e,t}function Ct(e,t){return void 0===t&&(t=mt.Default),(ct||function(e,t){if(void 0===t&&(t=mt.Default),void 0===_t)throw new Error("inject() must be called from an injection context");return null===_t?Ot(e,void 0,t):_t.get(e,t&mt.Optional?null:void 0,t)})(e,t)}function Ot(e,t,n){var r=se(e);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&mt.Optional)return null;if(void 0!==t)return t;throw new Error("Injector: NOT_FOUND ["+we(e)+"]")}function Pt(e){for(var t=[],n=0;n>16,c=o?a+u:e.directiveEnd,d=r?a:a+u;d=s&&p.type===n)return d}if(o){var f=l[s];if(f&&rt(f)&&f.type===n)return s}return null}(a,t,n,null==r?function(e){return 1==(1&e.flags)}(a)&&Zt:r!=l&&3===a.type,o&mt.Host&&i===a);return null!==s?en(l.data,t,s,a):Yt}function en(e,t,n,r){var o,i=t[n];if(null!=(o=i)&&"object"==typeof o&&Object.getPrototypeOf(o)==Ye){var l=i;if(l.resolving)throw new Error("Circular dep for "+Xe(e[n]));var a=Wt(l.canSeeViewProviders);l.resolving=!0;var s=void 0;l.injectImpl&&(s=wt(l.injectImpl));var u=Tt(),c=It();At(r,t);try{i=t[n]=l.factory(null,e,t,r)}finally{l.injectImpl&&wt(s),Wt(a),l.resolving=!1,At(u,c)}}return i}function tn(e,t,n){var r=64&e,o=32&e;return!!((128&e?r?o?n[t+7]:n[t+6]:o?n[t+5]:n[t+4]:r?o?n[t+3]:n[t+2]:o?n[t+1]:n[t])&1<=Be&&(n=e[Te])&&2===n.type?function(t,n){if(-1===t.index){var r=e[He];return r>-1?e[ke][r]:null}return e[ke][t.parent.index]}(n):e[ke]===t?null:e[ke]}function wn(e){if(e.length>=Be){var t=e;!function(e){var t,n=e[Ee];null!=n&&null!=(t=n.destroyHooks)&&St(e,t)}(t),(o=(r=t)[Ee]&&r[Ee].pipeDestroyHooks)&&St(r,o),function(e){var t=e[Ee].cleanup;if(null!=t){for(var n=e[Ae],r=0;r=0?n[l]():n[-l].unsubscribe(),r+=2}else"number"==typeof t[r]?(0,n[t[r]])():t[r].call(n[t[r+1]]);e[Ae]=null}}(t);var n=t[Te];n&&3===n.type&&vn(t[je])&&t[je].destroy()}var r,o}var Cn="@",On=Promise.resolve(null);function Pn(e){var t=e[Ee];if(t.firstTemplatePass=!1,Ut(!1),!Rt(e)){var n=Ft();(function(e,t,n){!n&&32&e[Me]&&(kt(e,t.initHooks,t.checkHooks,n),e[Me]&=-33)})(e,t,n),function(e){for(var t=_n(e);null!==t;t=t[Se])if(t.length ");else if("object"==typeof t){var o=[];for(var i in t)if(t.hasOwnProperty(i)){var l=t[i];o.push(i+":"+("string"==typeof l?JSON.stringify(l):we(l)))}r="{"+o.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+r+"]: "+e.replace(rr,"\n ")}function sr(e,t){return new Error(ar(e,t))}var ur=new ce("The presence of this token marks an injector as being the root injector."),cr={},dr={},pr=[],fr=void 0;function hr(){return void 0===fr&&(fr=new Qn),fr}var vr=function(){function e(e,t,n){var r=this;this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this.destroyed=!1;var o=[];mr([e],function(e){return r.processInjectorType(e,[],o)}),t&&mr(t,function(n){return r.processProvider(n,e,t)}),this.records.set(qn,yr(void 0,this)),this.isRootInjector=this.records.has(ur),this.injectorDefTypes.forEach(function(e){return r.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=Wn),void 0===n&&(n=mt.Default),this.assertNotDestroyed();var r,o=bt(this);try{if(!(n&mt.SkipSelf)){var i=this.records.get(e);if(void 0===i){var l=("function"==typeof(r=e)||"object"==typeof r&&r instanceof ce)&&se(e);l&&this.injectableDefInScope(l)&&(i=yr(gr(e),cr),this.records.set(e,i))}if(void 0!==i)return this.hydrate(e,i)}return(n&mt.Self?hr():this.parent).get(e,t)}finally{bt(o)}},e.prototype.assertNotDestroyed=function(){if(this.destroyed)throw new Error("Injector has already been destroyed.")},e.prototype.processInjectorType=function(e,t,n){var r=this;if(e=Pe(e)){var o=ue(e),i=null==o&&e.ngModule||void 0,l=void 0===i?e:i,a=-1!==n.indexOf(l),s=void 0!==i&&e.providers||pr;if(void 0!==i&&(o=ue(i)),null!=o){if(this.injectorDefTypes.add(l),this.records.set(l,yr(o.factory,cr)),null!=o.imports&&!a){n.push(l);try{mr(o.imports,function(e){return r.processInjectorType(e,t,n)})}finally{}}var u=o.providers;if(null!=u&&!a){var c=e;mr(u,function(e){return r.processProvider(e,c,u)})}var d=e.ngModule;mr(s,function(e){return r.processProvider(e,d,s)})}}},e.prototype.processProvider=function(e,t,n){var r=br(e=Pe(e))?e:Pe(e&&e.provide),o=function(e,t,n){var r=function(e,t,n){var r,o=void 0;if(br(e))return gr(Pe(e));if(_r(e))o=function(){return Pe(e.useValue)};else if((r=e)&&r.useExisting)o=function(){return Ct(Pe(e.useExisting))};else if(e&&e.useFactory)o=function(){return e.useFactory.apply(e,c(Pt(e.deps||[])))};else{var i=Pe(e&&(e.useClass||e.provide));if(!i){var l="";throw t&&n&&(l=" - only instances of Provider and Type are allowed, got: ["+n.map(function(t){return t==e?"?"+e+"?":"..."}).join(", ")+"]"),new Error("Invalid provider for the NgModule '"+we(t)+"'"+l)}if(!e.deps)return gr(i);o=function(){return new(i.bind.apply(i,c([void 0],Pt(e.deps))))}}return o}(e,t,n);return _r(e)?yr(void 0,e.useValue):yr(r,cr)}(e,t,n);if(br(e)||!0!==e.multi){var i=this.records.get(r);if(i&&void 0!==i.multi)throw new Error("Mixed multi-provider for "+we(r))}else{var l=this.records.get(r);if(l){if(void 0===l.multi)throw new Error("Mixed multi-provider for "+r+".")}else(l=yr(void 0,cr,!0)).factory=function(){return Pt(l.multi)},this.records.set(r,l);r=e,l.multi.push(e)}this.records.set(r,o)},e.prototype.hydrate=function(e,t){if(t.value===dr)throw new Error("Cannot instantiate cyclic dependency! "+we(e));var n;return t.value===cr&&(t.value=dr,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 gr(e){var t=se(e);if(null===t){var n=ue(e);if(null!==n)return n.factory;if(e instanceof ce)throw new Error("Token "+we(e)+" is missing an ngInjectableDef definition.");if(e instanceof Function){var r=e.length;if(r>0){var o=new Array(r).fill("?");throw new Error("Can't resolve all parameters for "+we(e)+": ("+o.join(", ")+").")}return function(){return new e}}throw new Error("unreachable")}return t.factory}function yr(e,t,n){return void 0===n&&(n=!1),{factory:e,value:t,multi:n?[]:void 0}}function mr(e,t){e.forEach(function(e){return Array.isArray(e)?mr(e,t):t(e)})}function _r(e){return e&&"object"==typeof e&&tr in e}function br(e){return"function"==typeof e}var wr=function(){return function(){}}(),Cr=function(){return function(){}}();function Or(e){var t=Error("No component factory found for "+we(e)+". Did you add it to @NgModule.entryComponents?");return t[xr]=e,t}var Pr,xr="ngComponent",Er=function(){function e(){}return e.prototype.resolveComponentFactory=function(e){throw Or(e)},e}(),Mr=function(){function e(){}return e.NULL=new Er,e}(),kr=function(){function e(e,t,n){this._parent=t,this._ngModule=n,this._factories=new Map;for(var r=0;r-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}var t,n;vn(n=(t=this._lView)[je])&&n.destroyNode&&function(e,n,r,o,i){for(var l=t[Ee].node,a=-1,s=t,u=l.child;u;){var c=null;if(3===u.type){mn(2,r,null,tt(u,s),i);var d=s[u.index];v=d,Array.isArray(v)&&v.length===Ze&&mn(2,r,null,d[Ge],i)}else if(0===u.type){var p=s[u.index];mn(2,r,null,p[Ge],i),p[ze].length&&(c=(s=p[ze][0])[Ee].node,i=p[Ge])}else if(1===u.type){var f=ut(s),h=f[Te].projection[u.projection];yn[++a]=u,yn[++a]=s,h&&(c=(s=f[ke])[Ee].data[h.index])}else c=u.child;if(null===c)for(null===u.next&&2&u.flags&&(s=yn[a--],u=yn[a--]),c=u.next;!c;){if(null===(u=u.parent||s[Ee].node)||u===l)return null;0===u.type&&(i=(s=s[ke])[u.index][Ge]),c=2===u.type&&s[Se]?(s=s[Se])[Ee].node:u.next}u=c}var v}(0,0,n),function(e){if(-1===e[Ee].childIndex)return wn(e);for(var t=_n(e);t;){var n=null;if(t.length>=Be?t[Ee].childIndex>-1&&(n=_n(t)):t[ze].length&&(n=t[ze][0]),null==n){for(;t&&!t[Se]&&t!==e;)wn(t),t=bn(t,e);wn(t||e),n=t&&t[Se]}t=n}}(t),t[Me]|=64},e.prototype.onDestroy=function(e){var t,n;n=e,function(e){return e[Ae]||(e[Ae]=[])}(t=this._lView).push(n),t[Ee].firstTemplatePass&&function(e){return e[Ee].cleanup||(e[Ee].cleanup=[])}(t).push(t[Ae].length-1,null)},e.prototype.markForCheck=function(){!function(e){for(;e&&!(128&e[Me]);)e[Me]|=8,e=e[ke];var t,n,r;e[Me]|=8,r=0===(t=e[Ve]).flags,t.flags|=1,r&&t.clean==On&&(t.clean=new Promise(function(e){return n=e}),t.scheduler(function(){if(1&t.flags&&(t.flags&=-2,Vn(t)),2&t.flags){t.flags&=-3;var e=t.playerHandler;e&&e.flushPlayers()}t.clean=On,n(null)}))}(this._lView)},e.prototype.detach=function(){this._lView[Me]&=-17},e.prototype.reattach=function(){this._lView[Me]|=16},e.prototype.detectChanges=function(){Dn(this._lView,this.context)},e.prototype.checkNoChanges=function(){!function(e){Ht(!0);try{!function(e){Dn(function(e){var t,n=ot(e);if(Array.isArray(n)){var r=function(e,t){var n=e[Ee].components;if(n)for(var r=0;r',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='

',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=""+e+"";try{e=encodeURI(e)}catch(r){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);var n=t.response.body;return n.removeChild(n.firstChild),n},e.prototype.getInertBodyElement_DOMParser=function(e){e=""+e+"";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"),!0},e.prototype.endElement=function(e){var t=e.nodeName.toLowerCase();co.hasOwnProperty(t)&&!lo.hasOwnProperty(t)&&(this.buf.push(""))},e.prototype.chars=function(e){this.buf.push(_o(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}(),yo=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,mo=/([^\#-~ |!])/g;function _o(e){return e.replace(/&/g,"&").replace(yo,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(mo,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}function bo(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var wo={provide:Mr,useClass:zr,deps:[Ir]},Co=function(e){function t(t,n){var r=e.call(this)||this;r._parent=n,r._bootstrapComponents=[],r.injector=r,r.destroyCbs=[];var o=function(e,n){var r=t[ie]||null;return r}();return r._bootstrapComponents=o.bootstrap,r._r3Injector=function(e,t,n){return void 0===t&&(t=null),void 0===n&&(n=null),t=t||hr(),new vr(e,n,t)}(t,n,[{provide:Ir,useValue:r},wo]),r.instance=r.get(t),r}return o(t,e),t.prototype.get=function(e,t,n){return void 0===t&&(t=Kn.THROW_IF_NOT_FOUND),void 0===n&&(n=mt.Default),e===Kn||e===Ir||e===qn?this:this._r3Injector.get(e,t,n)},Object.defineProperty(t.prototype,"componentFactoryResolver",{get:function(){return this.get(Mr)},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}(Ir);!function(e){function t(t){var n=e.call(this)||this;return n.moduleType=t,n}o(t,e),t.prototype.create=function(e){return new Co(this.moduleType,e)}}(Tr);var Oo=function(e){function t(t){void 0===t&&(t=!1);var n=e.call(this)||this;return n.__isAsync=t,n}return o(t,e),t.prototype.emit=function(t){e.prototype.next.call(this,t)},t.prototype.subscribe=function(t,n,r){var o,i=function(e){return null},l=function(){return null};t&&"object"==typeof t?(o=this.__isAsync?function(e){setTimeout(function(){return t.next(e)})}:function(e){t.next(e)},t.error&&(i=this.__isAsync?function(e){setTimeout(function(){return t.error(e)})}:function(e){t.error(e)}),t.complete&&(l=this.__isAsync?function(){setTimeout(function(){return t.complete()})}:function(){t.complete()})):(o=this.__isAsync?function(e){setTimeout(function(){return t(e)})}:function(e){t(e)},n&&(i=this.__isAsync?function(e){setTimeout(function(){return n(e)})}:function(e){n(e)}),r&&(l=this.__isAsync?function(){setTimeout(function(){return r()})}:function(){r()}));var a=e.prototype.subscribe.call(this,o,i,l);return t instanceof v&&t.add(a),a},t}(T),Po=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return xo(e,Ar)},e}(),xo=zn,Eo=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"),Mo=/^url\(([^)]+)\)$/,ko="ngDebugContext",So="ngOriginalError",Io="ngErrorLogger";function To(e){return e[ko]}function No(e){return e[So]}function Ao(e){for(var t=[],n=1;n0&&(o=setTimeout(function(){r._callbacks=r._callbacks.filter(function(e){return e.timeoutId!==o}),e(r._didWork,r.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:o,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}(),vi=function(){function e(){this._applications=new Map,gi.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),gi.findTestabilityInTree(this,e,t)},l([a("design:paramtypes",[])],e)}(),gi=new(function(){function e(){}return e.prototype.addToWindow=function(e){},e.prototype.findTestabilityInTree=function(e,t,n){return null},e}()),yi=new ce("AllowMultipleToken"),mi=function(){return function(e,t){this.name=e,this.token=t}}();function _i(e,t,n){void 0===n&&(n=[]);var r="Platform: "+t,o=new ce(r);return function(t){void 0===t&&(t=[]);var i=bi();if(!i||i.injector.get(yi,!1))if(e)e(n.concat(t).concat({provide:o,useValue:!0}));else{var l=n.concat(t).concat({provide:o,useValue:!0});!function(e){if(pi&&!pi.destroyed&&!pi.injector.get(yi,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");pi=e.get(wi);var t=e.get(Uo,null);t&&t.forEach(function(e){return e()})}(Kn.create({providers:l,name:r}))}return function(e){var t=bi();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}(o)}}function bi(){return pi&&!pi.destroyed?pi:null}var wi=function(){function e(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return e.prototype.bootstrapModuleFactory=function(e,t){var n,r=this,o="noop"===(n=t?t.ngZone:void 0)?new fi:("zone.js"===n?void 0:n)||new li({enableLongStackTrace:Yr()}),i=[{provide:li,useValue:o}];return o.run(function(){var t=Kn.create({providers:i,parent:r.injector,name:e.moduleType.name}),n=e.create(t),l=n.injector.get(Vo,null);if(!l)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy(function(){return Pi(r._modules,n)}),o.runOutsideAngular(function(){return o.onError.subscribe({next:function(e){l.handleError(e)}})}),function(e,t,o){try{var i=((l=n.injector.get(Fo)).runInitializers(),l.donePromise.then(function(){return r._moduleDoBootstrap(n),n}));return Do(i)?i.catch(function(n){throw t.runOutsideAngular(function(){return e.handleError(n)}),n}):i}catch(a){throw t.runOutsideAngular(function(){return e.handleError(a)}),a}var l}(l,o)})},e.prototype.bootstrapModule=function(e,t){var n=this;void 0===t&&(t=[]);var r=Ci({},t);return function(e,t,n){return e.get(ei).createCompiler([t]).compileModuleAsync(n)}(this.injector,r,e).then(function(e){return n.bootstrapModuleFactory(e,r)})},e.prototype._moduleDoBootstrap=function(e){var t=e.injector.get(Oi);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module "+we(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 Ci(e,t){return Array.isArray(t)?t.reduce(Ci,e):i({},e,t)}var Oi=function(){function e(e,t,n,r,o,i){var l=this;this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=o,this._initStatus=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Yr(),this._zone.onMicrotaskEmpty.subscribe({next:function(){l._zone.run(function(){l.tick()})}});var a=new E(function(e){l._stable=l._zone.isStable&&!l._zone.hasPendingMacrotasks&&!l._zone.hasPendingMicrotasks,l._zone.runOutsideAngular(function(){e.next(l._stable),e.complete()})}),s=new E(function(e){var t;l._zone.runOutsideAngular(function(){t=l._zone.onStable.subscribe(function(){li.assertNotInAngularZone(),_e(function(){l._stable||l._zone.hasPendingMacrotasks||l._zone.hasPendingMicrotasks||(l._stable=!0,e.next(!0))})})});var n=l._zone.onUnstable.subscribe(function(){li.assertInAngularZone(),l._stable&&(l._stable=!1,l._zone.runOutsideAngular(function(){e.next(!1)}))});return function(){t.unsubscribe(),n.unsubscribe()}});this.isStable=function(){for(var e=[],t=0;t1&&"number"==typeof e[e.length-1]&&(r=e.pop())):"number"==typeof i&&(r=e.pop()),null===o&&1===e.length&&e[0]instanceof E?e[0]:function(e){return void 0===e&&(e=Number.POSITIVE_INFINITY),function e(t,n,r){return void 0===r&&(r=Number.POSITIVE_INFINITY),"function"==typeof n?function(o){return o.pipe(e(function(e,r){return z(t(e,r)).pipe(A(function(t,o){return n(e,t,r,o)}))},r))}:("number"==typeof n&&(r=n),function(e){return e.lift(new W(t,r))})}(x,e)}(r)(function(e,t){return t?U(e,t):new E(R(e))}(e,o))}(a,s.pipe(function(e){return Q()((t=ee,function(e){var n;n="function"==typeof t?t:function(){return t};var r=Object.create(e,Y);return r.source=e,r.subjectFactory=n,r})(e));var t}))}var t;return t=e,e.prototype.bootstrap=function(e,t){var n,r=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=e instanceof Cr?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var o=n instanceof Sr?null:this._injector.get(Ir),i=n.create(Kn.NULL,[],t||n.selector,o);i.onDestroy(function(){r._unloadComponent(i)});var l=i.injector.get(hi,null);return l&&i.injector.get(vi).registerApplication(i.location.nativeElement,l),this._loadComponent(i),Yr()&&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(r){this._zone.runOutsideAngular(function(){return e._exceptionHandler.handleError(r)})}finally{this._runningTick=!1,ii(n)}},e.prototype.attachView=function(e){var t=e;this._views.push(t),t.attachToAppRef(this)},e.prototype.detachView=function(e){var t=e;Pi(this._views,t),t.detachFromAppRef()},e.prototype._loadComponent=function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Go,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})},e.prototype._unloadComponent=function(e){this.detachView(e.hostView),Pi(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=oi("ApplicationRef#tick()"),e}();function Pi(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var xi,Ei=function(){function e(){this.dirty=!0,this._results=[],this.changes=new Oo,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[me()]=function(){return this._results[me()]()},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 r=Array.isArray(n)?e(n):n;return t.concat(r)},[])}(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}(),Mi=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return ki(e,Ar)},e}(),ki=zn,Si=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return Ii()},e}(),Ii=function(){for(var e=[],t=0;t-1}(r)||"root"===o.providedIn&&r._def.isRoot))){var c=e._providers.length;return e._def.providersByKey[t.tokenKey]={flags:5120,value:a.factory,deps:[],index:c,token:t.token},e._providers[c]=ea,e._providers[c]=la(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{bt(i)}}function la(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(ia(e,n[0]));case 2:return new t(ia(e,n[0]),ia(e,n[1]));case 3:return new t(ia(e,n[0]),ia(e,n[1]),ia(e,n[2]));default:for(var o=new Array(r),i=0;i=n.length)&&(t=n.length-1),t<0)return null;var r=n[t];return r.viewContainerParent=null,da(n,t),dl.dirtyParentQueries(r),ua(r),r}function sa(e,t,n){var r=t?Tl(t,t.def.lastRenderRootNode):e.renderElement,o=n.renderer.parentNode(r),i=n.renderer.nextSibling(r);Ll(n,2,o,i,void 0)}function ua(e){Ll(e,3,null,null,void 0)}function ca(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function da(e,t){t>=e.length-1?e.pop():e.splice(t,1)}var pa=new Object;function fa(e,t,n,r,o,i){return new ha(e,t,n,r,o,i)}var ha=function(e){function t(t,n,r,o,i,l){var a=e.call(this)||this;return a.selector=t,a.componentType=n,a._inputs=o,a._outputs=i,a.ngContentSelectors=l,a.viewDefFactory=r,a}return o(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,r){if(!r)throw new Error("ngModule should be provided");var o=Hl(this.viewDefFactory),i=o.nodes[0].element.componentProvider.nodeIndex,l=dl.createRootView(e,t||[],n,o,r,pa),a=sl(l,i).instance;return n&&l.renderer.setAttribute(al(l,0).renderElement,"ng-version",Ur.full),new va(l,new _a(l),a)},t}(Cr),va=function(e){function t(t,n,r){var o=e.call(this)||this;return o._view=t,o._viewRef=n,o._component=r,o._elDef=o._view.def.nodes[0],o.hostView=n,o.changeDetectorRef=n,o.instance=r,o}return o(t,e),Object.defineProperty(t.prototype,"location",{get:function(){return new Ar(al(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new Oa(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}(wr);function ga(e,t,n){return new ya(e,t,n)}var ya=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 Ar(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new Oa(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=Il(e),e=e.parent;return e?new Oa(e,t):new Oa(this._view,null)},enumerable:!0,configurable:!0}),e.prototype.clear=function(){for(var e=this._embeddedViews.length-1;e>=0;e--){var t=aa(this._data,e);dl.destroyView(t)}},e.prototype.get=function(e){var t=this._embeddedViews[e];if(t){var n=new _a(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 r=e.createEmbeddedView(t||{});return this.insert(r,n),r},e.prototype.createComponent=function(e,t,n,r,o){var i=n||this.parentInjector;o||e instanceof Sr||(o=i.get(Ir));var l=e.create(i,r,void 0,o);return this.insert(l.hostView,t),l},e.prototype.insert=function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,r,o,i,l=e;return i=(n=this._data).viewContainer._embeddedViews,null==(r=t)&&(r=i.length),(o=l._view).viewContainerParent=this._view,ca(i,r,o),function(e,t){var n=Sl(t);if(n&&n!==e&&!(16&t.state)){t.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(t),function(e,n){if(!(4&n.flags)){t.parent.def.nodeFlags|=4,n.flags|=4;for(var r=n.parent;r;)r.childFlags|=4,r=r.parent}}(0,t.parentNodeDef)}}(n,o),dl.dirtyParentQueries(o),sa(n,r>0?i[r-1]:null,o),l.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,r,o,i,l,a=this._embeddedViews.indexOf(e._view);return o=t,l=(i=(n=this._data).viewContainer._embeddedViews)[r=a],da(i,r),null==o&&(o=i.length),ca(i,o,l),dl.dirtyParentQueries(l),ua(l),sa(n,o>0?i[o-1]:null,l),e},e.prototype.indexOf=function(e){return this._embeddedViews.indexOf(e._view)},e.prototype.remove=function(e){var t=aa(this._data,e);t&&dl.destroyView(t)},e.prototype.detach=function(e){var t=aa(this._data,e);return t?new _a(t):null},e}();function ma(e){return new _a(e)}var _a=function(){function e(e){this._view=e,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(e.prototype,"rootNodes",{get:function(){return Ll(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(){El(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{dl.checkAndUpdateView(this._view)}finally{e.end&&e.end()}},e.prototype.checkNoChanges=function(){dl.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)),dl.destroyView(this._view)},e.prototype.detachFromAppRef=function(){this._appRef=null,ua(this._view),dl.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 ba(e,t){return new wa(e,t)}var wa=function(e){function t(t,n){var r=e.call(this)||this;return r._parentView=t,r._def=n,r}return o(t,e),t.prototype.createEmbeddedView=function(e){return new _a(dl.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))},Object.defineProperty(t.prototype,"elementRef",{get:function(){return new Ar(al(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),t}(Po);function Ca(e,t){return new Oa(e,t)}var Oa=function(){function e(e,t){this.view=e,this.elDef=t}return e.prototype.get=function(e,t){return void 0===t&&(t=Kn.THROW_IF_NOT_FOUND),dl.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:yl(e)},t)},e}();function Pa(e,t){var n=e.def.nodes[t];if(1&n.flags){var r=al(e,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return ll(e,n.nodeIndex).renderText;if(20240&n.flags)return sl(e,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+t)}function xa(e){return new Ea(e.renderer)}var Ea=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=u(Wl(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;n0,t.provider.value,t.provider.deps);if(t.outputs.length)for(var r=0;r0,r=t.provider;switch(201347067&t.flags){case 512:return Wa(e,t.parent,n,r.value,r.deps);case 1024:return function(e,t,n,r,o){var i=o.length;switch(i){case 0:return r();case 1:return r(Qa(e,t,n,o[0]));case 2:return r(Qa(e,t,n,o[0]),Qa(e,t,n,o[1]));case 3:return r(Qa(e,t,n,o[0]),Qa(e,t,n,o[1]),Qa(e,t,n,o[2]));default:for(var l=Array(i),a=0;a0)u=v,ds(v)||(c=v);else for(;u&&h===u.nodeIndex+u.childCount;){var m=u.parent;m&&(m.childFlags|=u.childFlags,m.childMatchedQueries|=u.childMatchedQueries),c=(u=m)&&ds(u)?u.renderParent:u}}return{factory:null,nodeFlags:l,rootNodeFlags:a,nodeMatchedQueries:s,flags:e,nodes:t,updateDirectives:n||vl,updateRenderer:r||vl,handleEvent:function(e,n,r,o){return t[n].element.handleEvent(e,r,o)},bindingCount:o,outputCount:i,lastRenderRootNode:f}}function ds(e){return 0!=(1&e.flags)&&null===e.element.name}function ps(e,t,n){var r=t.element&&t.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+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 o=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=o&&t.nodeIndex+t.childCount>o)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+t.nodeIndex+"!")}}function fs(e,t,n,r){var o=gs(e.root,e.renderer,e,t,n);return ys(o,e.component,r),ms(o),o}function hs(e,t,n){var r=gs(e,e.renderer,null,null,t);return ys(r,n,n),ms(r),r}function vs(e,t,n,r){var o,i=t.element.componentRendererType;return o=i?e.root.rendererFactory.createRenderer(r,i):e.root.renderer,gs(e.root,o,e,t.element.componentProvider,n)}function gs(e,t,n,r,o){var i=new Array(o.nodes.length),l=o.outputCount?new Array(o.outputCount):null;return{def:o,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:i,state:13,root:e,renderer:t,oldValues:new Array(o.bindingCount),disposables:l,initIndex:-1}}function ys(e,t,n){e.component=t,e.context=n}function ms(e){var t;Nl(e)&&(t=al(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);for(var n=e.def,r=e.nodes,o=0;o0&&Xl(e,t,0,n)&&(f=!0),p>1&&Xl(e,t,1,r)&&(f=!0),p>2&&Xl(e,t,2,o)&&(f=!0),p>3&&Xl(e,t,3,i)&&(f=!0),p>4&&Xl(e,t,4,l)&&(f=!0),p>5&&Xl(e,t,5,a)&&(f=!0),p>6&&Xl(e,t,6,s)&&(f=!0),p>7&&Xl(e,t,7,u)&&(f=!0),p>8&&Xl(e,t,8,c)&&(f=!0),p>9&&Xl(e,t,9,d)&&(f=!0),f}(e,t,n,r,o,i,l,a,s,u,c,d);case 2:return function(e,t,n,r,o,i,l,a,s,u,c,d){var p=!1,f=t.bindings,h=f.length;if(h>0&&Pl(e,t,0,n)&&(p=!0),h>1&&Pl(e,t,1,r)&&(p=!0),h>2&&Pl(e,t,2,o)&&(p=!0),h>3&&Pl(e,t,3,i)&&(p=!0),h>4&&Pl(e,t,4,l)&&(p=!0),h>5&&Pl(e,t,5,a)&&(p=!0),h>6&&Pl(e,t,6,s)&&(p=!0),h>7&&Pl(e,t,7,u)&&(p=!0),h>8&&Pl(e,t,8,c)&&(p=!0),h>9&&Pl(e,t,9,d)&&(p=!0),p){var v=t.text.prefix;h>0&&(v+=us(n,f[0])),h>1&&(v+=us(r,f[1])),h>2&&(v+=us(o,f[2])),h>3&&(v+=us(i,f[3])),h>4&&(v+=us(l,f[4])),h>5&&(v+=us(a,f[5])),h>6&&(v+=us(s,f[6])),h>7&&(v+=us(u,f[7])),h>8&&(v+=us(c,f[8])),h>9&&(v+=us(d,f[9]));var g=ll(e,t.nodeIndex).renderText;e.renderer.setValue(g,v)}return p}(e,t,n,r,o,i,l,a,s,u,c,d);case 16384:return function(e,t,n,r,o,i,l,a,s,u,c,d){var p=sl(e,t.nodeIndex),f=p.instance,h=!1,v=void 0,g=t.bindings.length;return g>0&&Ol(e,t,0,n)&&(h=!0,v=Ja(e,p,t,0,n,v)),g>1&&Ol(e,t,1,r)&&(h=!0,v=Ja(e,p,t,1,r,v)),g>2&&Ol(e,t,2,o)&&(h=!0,v=Ja(e,p,t,2,o,v)),g>3&&Ol(e,t,3,i)&&(h=!0,v=Ja(e,p,t,3,i,v)),g>4&&Ol(e,t,4,l)&&(h=!0,v=Ja(e,p,t,4,l,v)),g>5&&Ol(e,t,5,a)&&(h=!0,v=Ja(e,p,t,5,a,v)),g>6&&Ol(e,t,6,s)&&(h=!0,v=Ja(e,p,t,6,s,v)),g>7&&Ol(e,t,7,u)&&(h=!0,v=Ja(e,p,t,7,u,v)),g>8&&Ol(e,t,8,c)&&(h=!0,v=Ja(e,p,t,8,c,v)),g>9&&Ol(e,t,9,d)&&(h=!0,v=Ja(e,p,t,9,d,v)),v&&f.ngOnChanges(v),65536&t.flags&&il(e,256,t.nodeIndex)&&f.ngOnInit(),262144&t.flags&&f.ngDoCheck(),h}(e,t,n,r,o,i,l,a,s,u,c,d);case 32:case 64:case 128:return function(e,t,n,r,o,i,l,a,s,u,c,d){var p=t.bindings,f=!1,h=p.length;if(h>0&&Pl(e,t,0,n)&&(f=!0),h>1&&Pl(e,t,1,r)&&(f=!0),h>2&&Pl(e,t,2,o)&&(f=!0),h>3&&Pl(e,t,3,i)&&(f=!0),h>4&&Pl(e,t,4,l)&&(f=!0),h>5&&Pl(e,t,5,a)&&(f=!0),h>6&&Pl(e,t,6,s)&&(f=!0),h>7&&Pl(e,t,7,u)&&(f=!0),h>8&&Pl(e,t,8,c)&&(f=!0),h>9&&Pl(e,t,9,d)&&(f=!0),f){var v=ul(e,t.nodeIndex),g=void 0;switch(201347067&t.flags){case 32:g=new Array(p.length),h>0&&(g[0]=n),h>1&&(g[1]=r),h>2&&(g[2]=o),h>3&&(g[3]=i),h>4&&(g[4]=l),h>5&&(g[5]=a),h>6&&(g[6]=s),h>7&&(g[7]=u),h>8&&(g[8]=c),h>9&&(g[9]=d);break;case 64:g={},h>0&&(g[p[0].name]=n),h>1&&(g[p[1].name]=r),h>2&&(g[p[2].name]=o),h>3&&(g[p[3].name]=i),h>4&&(g[p[4].name]=l),h>5&&(g[p[5].name]=a),h>6&&(g[p[6].name]=s),h>7&&(g[p[7].name]=u),h>8&&(g[p[8].name]=c),h>9&&(g[p[9].name]=d);break;case 128:var y=n;switch(h){case 1:g=y.transform(n);break;case 2:g=y.transform(r);break;case 3:g=y.transform(r,o);break;case 4:g=y.transform(r,o,i);break;case 5:g=y.transform(r,o,i,l);break;case 6:g=y.transform(r,o,i,l,a);break;case 7:g=y.transform(r,o,i,l,a,s);break;case 8:g=y.transform(r,o,i,l,a,s,u);break;case 9:g=y.transform(r,o,i,l,a,s,u,c);break;case 10:g=y.transform(r,o,i,l,a,s,u,c,d)}}v.value=g}return f}(e,t,n,r,o,i,l,a,s,u,c,d);default:throw"unreachable"}}(e,t,r,o,i,l,a,s,u,d,p,f):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){for(var r=!1,o=0;o0&&xl(e,t,0,n),p>1&&xl(e,t,1,r),p>2&&xl(e,t,2,o),p>3&&xl(e,t,3,i),p>4&&xl(e,t,4,l),p>5&&xl(e,t,5,a),p>6&&xl(e,t,6,s),p>7&&xl(e,t,7,u),p>8&&xl(e,t,8,c),p>9&&xl(e,t,9,d)}(e,t,r,o,i,l,a,s,u,c,d,p):function(e,t,n){for(var r=0;r0){var i=new Set(e.modules);Ls.forEach(function(t,r){if(i.has(se(r).providedIn)){var o={token:r,flags:t.flags|(n?4096:0),deps:Rl(t.deps),value:t.value,index:e.providers.length};e.providers.push(o),e.providersByKey[yl(r)]=o}})}}(e=e.factory(function(){return vl})),e):e}(r))}var Hs=new Map,Ls=new Map,Bs=new Map;function Us(e){var t;Hs.set(e.token,e),"function"==typeof e.token&&(t=se(e.token))&&"function"==typeof t.providedIn&&Ls.set(e.token,e)}function zs(e,t){var n=Hl(t.viewDefFactory),r=Hl(n.nodes[0].element.componentView);Bs.set(e,r)}function Gs(){Hs.clear(),Ls.clear(),Bs.clear()}function Zs(e){if(0===Hs.size)return e;var t=function(e){for(var t=[],n=null,r=0;r0},t.prototype.tagName=function(e){return e.tagName},t.prototype.attributeMap=function(e){for(var t=new Map,n=e.attributes,r=0;r0;l||(l=e[i]=[]);var s=Pc(t)?Zone.root:Zone.current;if(0===l.length)l.push({zone:s,handler:o});else{for(var u=!1,c=0;c-1},t}(rc),Nc=["alt","control","meta","shift"],Ac={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},Vc=function(e){function t(t){return e.call(this,t)||this}var n;return o(t,e),n=t,t.prototype.supports=function(e){return null!=n.parseEventName(e)},t.prototype.addEventListener=function(e,t,r){var o=n.parseEventName(t),i=n.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return Fu().onAndCancel(e,o.domEventName,i)})},t.parseEventName=function(e){var t=e.toLowerCase().split("."),r=t.shift();if(0===t.length||"keydown"!==r&&"keyup"!==r)return null;var o=n._normalizeKey(t.pop()),i="";if(Nc.forEach(function(e){var n=t.indexOf(e);n>-1&&(t.splice(n,1),i+=e+".")}),i+=o,0!=t.length||0===o.length)return null;var l={};return l.domEventName=r,l.fullKey=i,l},t.getEventFullKey=function(e){var t="",n=Fu().getEventKey(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),Nc.forEach(function(r){r!=n&&(0,Ac[r])(e)&&(t+=r+".")}),t+=n},t.eventCallback=function(e,t,r){return function(o){n.getEventFullKey(o)===e&&r.runGuarded(function(){return t(o)})}},t._normalizeKey=function(e){switch(e){case"esc":return"escape";default:return e}},t}(rc),Dc=function(){return function(){}}(),Rc=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n}return o(t,e),t.prototype.sanitize=function(e,t){if(null==t)return null;switch(e){case Lr.NONE:return t;case Lr.HTML:return t instanceof Fc?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"HTML"),function(e,t){var n=null;try{io=io||new Xr(e);var r=t?String(t):"";n=io.getInertBodyElement(r);var o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=io.getInertBodyElement(r)}while(r!==i);var l=new go,a=l.sanitizeChildren(bo(n)||n);return Yr()&&l.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),a}finally{if(n)for(var s=bo(n)||n;s.firstChild;)s.removeChild(s.firstChild)}}(this._doc,String(t)));case Lr.STYLE:return t instanceof Hc?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"Style"),function(e){if(!(e=String(e).trim()))return"";var t=e.match(Mo);return t&&no(t[1])===t[1]||e.match(Eo)&&function(e){for(var t=!0,n=!0,r=0;re?{max:{max:e,actual:t.value}}:null}},e.required=function(e){return Qc(e.value)?{required:!0}:null},e.requiredTrue=function(e){return!0===e.value?null:{required:!0}},e.email=function(e){return Qc(e.value)?null:Kc.test(e.value)?null:{email:!0}},e.minLength=function(e){return function(t){if(Qc(t.value))return null;var n=t.value?t.value.length:0;return ne?{maxlength:{requiredLength:e,actualLength:n}}:null}},e.pattern=function(t){return t?("string"==typeof t?(r="","^"!==t.charAt(0)&&(r+="^"),r+=t,"$"!==t.charAt(t.length-1)&&(r+="$"),n=new RegExp(r)):(r=t.toString(),n=t),function(e){if(Qc(e.value))return null;var t=e.value;return n.test(t)?null:{pattern:{requiredPattern:r,actualValue:t}}}):e.nullValidator;var n,r},e.nullValidator=function(e){return null},e.compose=function(e){if(!e)return null;var t=e.filter($c);return 0==t.length?null:function(e){return Xc(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(){for(var e=[],t=0;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}(),cd=function(){function e(e,t,n,r){this._renderer=e,this._elementRef=t,this._registry=n,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return e.prototype.ngOnInit=function(){this._control=this._injector.get(sd),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: \n ')},e}(),dd=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}(),pd='\n

\n \n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',fd='\n
\n
\n \n
\n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',hd='\n
\n
\n \n
\n
',vd=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 "+pd)},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 '+fd+"\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n "+hd)},e.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+pd)},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 "+fd)},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
\n
\n
\n \n
\n
\n
\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}();function gd(e,t){return null==e?""+t:(t&&"object"==typeof t&&(t="Object"),(e+": "+t).slice(0,50))}var yd=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=be}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=gd(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)},e.prototype.registerOnChange=function(e){var t=this;this.onChange=function(n){t.value=t._getOptionValue(n),e(t.value)}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._registerOption=function(){return(this._idCounter++).toString()},e.prototype._getOptionId=function(e){var t,n;try{for(var r=s(Array.from(this._optionMap.keys())),o=r.next();!o.done;o=r.next()){var i=o.value;if(this._compareWith(this._optionMap.get(i),e))return i}}catch(l){t={error:l}}finally{try{o&&!o.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}(),md=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(gd(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}();function _d(e,t){return null==e?""+t:("string"==typeof t&&(t="'"+t+"'"),t&&"object"==typeof t&&(t="Object"),(e+": "+t).slice(0,50))}var bd=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=be}return Object.defineProperty(e.prototype,"compareWith",{set:function(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e},enumerable:!0,configurable:!0}),e.prototype.writeValue=function(e){var t,n=this;if(this.value=e,Array.isArray(e)){var r=e.map(function(e){return n._getOptionId(e)});t=function(e,t){e._setSelected(r.indexOf(t.toString())>-1)}}else t=function(e,t){e._setSelected(!1)};this._optionMap.forEach(t)},e.prototype.registerOnChange=function(e){var t=this;this.onChange=function(n){var r=[];if(n.hasOwnProperty("selectedOptions"))for(var o=n.selectedOptions,i=0;i1?"path: '"+e.path.join(" -> ")+"'":e.path[0]?"name: '"+e.path+"'":"unspecified name attribute",new Error(t+" "+n)}function kd(e){return null!=e?Jc.compose(e.map(od)):null}function Sd(e){return null!=e?Jc.composeAsync(e.map(id)):null}function Id(e,t){if(!e.hasOwnProperty("model"))return!1;var n=e.model;return!!n.isFirstChange()||!be(t,n.currentValue)}var Td=[td,dd,ld,yd,bd,cd];function Nd(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 Ad(e,t){if(!t)return null;Array.isArray(t)||Md(e,"Value accessor was not provided as an array for form control with");var n=void 0,r=void 0,o=void 0;return t.forEach(function(t){var i;t.constructor===rd?n=t:(i=t,Td.some(function(e){return i.constructor===e})?(r&&Md(e,"More than one built-in value accessor matches form control with"),r=t):(o&&Md(e,"More than one custom value accessor matches form control with"),o=t))}),o||r||n||(Md(e,"No valid value accessor for form control with"),null)}function Vd(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var Dd=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(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 Cd(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 kd(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return Sd(this._asyncValidators)},enumerable:!0,configurable:!0}),t.prototype._checkParentType=function(){},t}(qc),Rd=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}(),jd=function(e){function t(t){return e.call(this,t)||this}return o(t,e),t}(Rd),Fd=function(e){function t(t){return e.call(this,t)||this}return o(t,e),t}(Rd);function Hd(e){var t=Bd(e)?e.validators:e;return Array.isArray(t)?kd(t):t||null}function Ld(e,t){var n=Bd(t)?t.asyncValidators:e;return Array.isArray(n)?Sd(n):n||null}function Bd(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}var Ud=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=Hd(e)},e.prototype.setAsyncValidators=function(e){this.asyncValidator=Ld(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(i({},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(i({},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=Yc(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 Gd?e.controls.hasOwnProperty(t)?e.controls[t]:null:e instanceof Zd&&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 Oo,this.statusChanges=new Oo},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){Bd(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)},e}(),zd=function(e){function t(t,n,r){void 0===t&&(t=null);var o=e.call(this,Hd(n),Ld(r,n))||this;return o._onChange=[],o._applyFormState(t),o._setUpdateStrategy(n),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o._initObservables(),o}return o(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}(Ud),Gd=function(e){function t(t,n,r){var o=e.call(this,Hd(n),Ld(r,n))||this;return o.controls=t,o._initObservables(),o._setUpdateStrategy(n),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return o(t,e),t.prototype.registerControl=function(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)},t.prototype.addControl=function(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.removeControl=function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.setControl=function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.contains=function(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled},t.prototype.setValue=function(e,t){var n=this;void 0===t&&(t={}),this._checkAllValuesPresent(e),Object.keys(e).forEach(function(r){n._throwIfControlMissing(r),n.controls[r].setValue(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)},t.prototype.patchValue=function(e,t){var n=this;void 0===t&&(t={}),Object.keys(e).forEach(function(r){n.controls[r]&&n.controls[r].patchValue(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)},t.prototype.reset=function(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this._forEachChild(function(n,r){n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t),this._updatePristine(t),this._updateTouched(t)},t.prototype.getRawValue=function(){return this._reduceChildren({},function(e,t,n){return e[n]=t instanceof zd?t.value:t.getRawValue(),e})},t.prototype._syncPendingControls=function(){var e=this._reduceChildren(!1,function(e,t){return!!t._syncPendingControls()||e});return e&&this.updateValueAndValidity({onlySelf:!0}),e},t.prototype._throwIfControlMissing=function(e){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[e])throw new Error("Cannot find form control with name: "+e+".")},t.prototype._forEachChild=function(e){var t=this;Object.keys(this.controls).forEach(function(n){return e(t.controls[n],n)})},t.prototype._setUpControls=function(){var e=this;this._forEachChild(function(t){t.setParent(e),t._registerOnCollectionChange(e._onCollectionChange)})},t.prototype._updateValue=function(){this.value=this._reduceValue()},t.prototype._anyControls=function(e){var t=this,n=!1;return this._forEachChild(function(r,o){n=n||t.contains(o)&&e(r)}),n},t.prototype._reduceValue=function(){var e=this;return this._reduceChildren({},function(t,n,r){return(n.enabled||e.disabled)&&(t[r]=n.value),t})},t.prototype._reduceChildren=function(e,t){var n=e;return this._forEachChild(function(e,r){n=t(n,e,r)}),n},t.prototype._allControlsDisabled=function(){var e,t;try{for(var n=s(Object.keys(this.controls)),r=n.next();!r.done;r=n.next())if(this.controls[r.value].enabled)return!1}catch(o){e={error:o}}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}(Ud),Zd=function(e){function t(t,n,r){var o=e.call(this,Hd(n),Ld(r,n))||this;return o.controls=t,o._initObservables(),o._setUpdateStrategy(n),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return o(t,e),t.prototype.at=function(e){return this.controls[e]},t.prototype.push=function(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.insert=function(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()},t.prototype.removeAt=function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),this.controls.splice(e,1),this.updateValueAndValidity()},t.prototype.setControl=function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(t.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),t.prototype.setValue=function(e,t){var n=this;void 0===t&&(t={}),this._checkAllValuesPresent(e),e.forEach(function(e,r){n._throwIfControlMissing(r),n.at(r).setValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)},t.prototype.patchValue=function(e,t){var n=this;void 0===t&&(t={}),e.forEach(function(e,r){n.at(r)&&n.at(r).patchValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)},t.prototype.reset=function(e,t){void 0===e&&(e=[]),void 0===t&&(t={}),this._forEachChild(function(n,r){n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t),this._updatePristine(t),this._updateTouched(t)},t.prototype.getRawValue=function(){return this.controls.map(function(e){return e instanceof zd?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=s(this.controls),r=n.next();!r.done;r=n.next())if(r.value.enabled)return!1}catch(o){e={error:o}}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}(Ud),Wd=Promise.resolve(null),qd=function(e){function t(t,n){var r=e.call(this)||this;return r.submitted=!1,r._directives=[],r.ngSubmit=new Oo,r.form=new Gd({},kd(t),Sd(n)),r}return o(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;Wd.then(function(){var n=t._findContainer(e.path);e.control=n.registerControl(e.name,e.control),Od(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;Wd.then(function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name),Vd(t._directives,e)})},t.prototype.addFormGroup=function(e){var t=this;Wd.then(function(){var n=t._findContainer(e.path),r=new Gd({});xd(r,e),n.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})},t.prototype.removeFormGroup=function(e){var t=this;Wd.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;Wd.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,Nd(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}(qc),Qd=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 '+pd+'\n\n Or, if you\'d like to avoid registering this form control, indicate that it\'s standalone in ngModelOptions:\n\n Example:\n\n \n
\n \n \n
\n ')},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 "+fd+"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n "+hd)},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: \n Example 2: ')},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 "+fd+"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n "+hd)},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 \n\n After:\n \n ")},e}(),Kd=new ce("NgFormSelectorWarning"),Jd=function(e){function t(t,n,r){var o=e.call(this)||this;return o._parent=t,o._validators=n,o._asyncValidators=r,o}var n;return o(t,e),n=t,t.prototype._checkParentType=function(){this._parent instanceof n||this._parent instanceof qd||Qd.modelGroupParentException()},t}(Dd),$d=Promise.resolve(null),Yd=function(e){function t(t,n,r,o){var i=e.call(this)||this;return i.control=new zd,i._registered=!1,i.update=new Oo,i._parent=t,i._rawValidators=n||[],i._rawAsyncValidators=r||[],i.valueAccessor=Ad(i,o),i}return o(t,e),t.prototype.ngOnChanges=function(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),Id(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?Cd(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 kd(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return Sd(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(){Od(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 Jd)&&this._parent instanceof Dd?Qd.formGroupNameException():this._parent instanceof Jd||this._parent instanceof qd||Qd.modelParentException()},t.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||Qd.missingNameException()},t.prototype._updateValue=function(e){var t=this;$d.then(function(){t.control.setValue(e,{emitViewToModelChange:!1})})},t.prototype._updateDisabled=function(e){var t=this,n=e.isDisabled.currentValue,r=""===n||n&&"false"!==n;$d.then(function(){r&&!t.control.disabled?t.control.disable():!r&&t.control.disabled&&t.control.enable()})},t}(sd),Xd=new ce("NgModelWithFormControlWarning"),ep=function(e){function t(t,n){var r=e.call(this)||this;return r._validators=t,r._asyncValidators=n,r.submitted=!1,r.directives=[],r.form=null,r.ngSubmit=new Oo,r}return o(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 Od(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){Vd(this.directives,e)},t.prototype.addFormGroup=function(e){var t=this.form.get(e.path);xd(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);xd(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,Nd(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 Ed(t)}),t.valueAccessor.registerOnTouched(function(){return Ed(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&&Od(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=kd(this._validators);this.form.validator=Jc.compose([this.form.validator,e]);var t=Sd(this._asyncValidators);this.form.asyncValidator=Jc.composeAsync([this.form.asyncValidator,t])},t.prototype._checkFormPresent=function(){this.form||vd.missingFormException()},t}(qc),tp=function(e){function t(t,n,r){var o=e.call(this)||this;return o._parent=t,o._validators=n,o._asyncValidators=r,o}return o(t,e),t.prototype._checkParentType=function(){rp(this._parent)&&vd.groupParentException()},t}(Dd),np=function(e){function t(t,n,r){var o=e.call(this)||this;return o._parent=t,o._validators=n,o._asyncValidators=r,o}return o(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 Cd(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return kd(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return Sd(this._asyncValidators)},enumerable:!0,configurable:!0}),t.prototype._checkParentType=function(){rp(this._parent)&&vd.arrayParentException()},t}(qc);function rp(e){return!(e instanceof tp||e instanceof ep||e instanceof np)}var op=function(e){function t(t,n,r,o,i){var l=e.call(this)||this;return l._ngModelWarningConfig=i,l._added=!1,l.update=new Oo,l._ngModelWarningSent=!1,l._parent=t,l._rawValidators=n||[],l._rawAsyncValidators=r||[],l.valueAccessor=Ad(l,o),l}var n;return o(t,e),n=t,Object.defineProperty(t.prototype,"isDisabled",{set:function(e){vd.disabledAttrWarning()},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(e){var t,r;this._added||this._setUpControl(),Id(e,this.viewModel)&&("formControlName",t=n,this,r=this._ngModelWarningConfig,Yr()&&"never"!==r&&((null!==r&&"once"!==r||t._ngModelWarningSentOnce)&&("always"!==r||this._ngModelWarningSent)||(vd.ngModelWarning("formControlName"),t._ngModelWarningSentOnce=!0,this._ngModelWarningSent=!0)),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 Cd(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 kd(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return Sd(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),t.prototype._checkParentType=function(){!(this._parent instanceof tp)&&this._parent instanceof Dd?vd.ngModelGroupException():this._parent instanceof tp||this._parent instanceof ep||this._parent instanceof np||vd.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}(sd),ip=function(){function e(){}return e.prototype.group=function(e,t){void 0===t&&(t=null);var n=this._reduceControls(e),r=null,o=null,i=void 0;return null!=t&&(function(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}(t)?(r=null!=t.validators?t.validators:null,o=null!=t.asyncValidators?t.asyncValidators:null,i=null!=t.updateOn?t.updateOn:void 0):(r=null!=t.validator?t.validator:null,o=null!=t.asyncValidator?t.asyncValidator:null)),new Gd(n,{asyncValidators:o,updateOn:i,validators:r})},e.prototype.control=function(e,t,n){return new zd(e,t,n)},e.prototype.array=function(e,t,n){var r=this,o=e.map(function(e){return r._createControl(e)});return new Zd(o,t,n)},e.prototype._reduceControls=function(e){var t=this,n={};return Object.keys(e).forEach(function(r){n[r]=t._createControl(e[r])}),n},e.prototype._createControl=function(e){return e instanceof zd||e instanceof Gd||e instanceof Zd?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)},e}(),lp=function(){return function(){}}(),ap=function(){return function(){}}(),sp=function(){function e(){}var t;return t=e,e.withConfig=function(e){return{ngModule:t,providers:[{provide:Kd,useValue:e.warnOnDeprecatedNgFormSelector}]}},e}(),up=function(){function e(){}var t;return t=e,e.withConfig=function(e){return{ngModule:t,providers:[{provide:Xd,useValue:e.warnOnNgModelWithFormControl}]}},e}(),cp=[{label:"Alaskan/Hawaiian Time Zone",options:[{value:"AK",label:"Alaska"},{value:"HI",label:"Hawaii",disabled:!0}]},{label:"Pacific Time Zone",options:[{value:"CA",label:"California"},{value:"NV",label:"Nevada"},{value:"OR",label:"Oregon"},{value:"WA",label:"Washington"}]},{label:"Mountain Time Zone",options:[{value:"AZ",label:"Arizona"},{value:"CO",label:"Colorado"},{value:"ID",label:"Idaho"},{value:"MT",label:"Montana"},{value:"NE",label:"Nebraska"},{value:"NM",label:"New Mexico"},{value:"ND",label:"North Dakota"},{value:"UT",label:"Utah"},{value:"WY",label:"Wyoming"}]},{label:"Central Time Zone",options:[{value:"AL",label:"Alabama"},{value:"AR",label:"Arkansas"},{value:"IL",label:"Illinois"},{value:"IA",label:"Iowa"},{value:"KS",label:"Kansas"},{value:"KY",label:"Kentucky"},{value:"LA",label:"Louisiana"},{value:"MN",label:"Minnesota"},{value:"MS",label:"Mississippi"},{value:"MO",label:"Missouri"},{value:"OK",label:"Oklahoma"},{value:"SD",label:"South Dakota"},{value:"TX",label:"Texas"},{value:"TN",label:"Tennessee"},{value:"WI",label:"Wisconsin"}]},{label:"Eastern Time Zone",options:[{value:"CT",label:"Connecticut"},{value:"DE",label:"Delaware"},{value:"FL",label:"Florida"},{value:"GA",label:"Georgia"},{value:"IN",label:"Indiana"},{value:"ME",label:"Maine"},{value:"MD",label:"Maryland"},{value:"MA",label:"Massachusetts"},{value:"MI",label:"Michigan"},{value:"NH",label:"New Hampshire"},{value:"NJ",label:"New Jersey"},{value:"NY",label:"New York"},{value:"NC",label:"North Carolina"},{value:"OH",label:"Ohio"},{value:"PA",label:"Pennsylvania"},{value:"RI",label:"Rhode Island"},{value:"SC",label:"South Carolina"},{value:"VT",label:"Vermont"},{value:"VA",label:"Virginia"},{value:"WV",label:"West Virginia"}]}],dp=[{value:"AK",label:"Alaska"},{value:"HI",label:"Hawaii",disabled:!0},{value:"CA",label:"California"},{value:"NV",label:"Nevada"},{value:"OR",label:"Oregon"},{value:"WA",label:"Washington"},{value:"AZ",label:"Arizona"},{value:"CO",label:"Colorado"},{value:"ID",label:"Idaho"},{value:"MT",label:"Montana"},{value:"NE",label:"Nebraska"},{value:"NM",label:"New Mexico"},{value:"ND",label:"North Dakota"},{value:"UT",label:"Utah"},{value:"WY",label:"Wyoming"},{value:"AL",label:"Alabama"},{value:"AR",label:"Arkansas"},{value:"IL",label:"Illinois"},{value:"IA",label:"Iowa"},{value:"KS",label:"Kansas"},{value:"KY",label:"Kentucky"},{value:"LA",label:"Louisiana"},{value:"MN",label:"Minnesota"},{value:"MS",label:"Mississippi"},{value:"MO",label:"Missouri"},{value:"OK",label:"Oklahoma"},{value:"SD",label:"South Dakota"},{value:"TX",label:"Texas"},{value:"TN",label:"Tennessee"},{value:"WI",label:"Wisconsin"},{value:"CT",label:"Connecticut"},{value:"DE",label:"Delaware"},{value:"FL",label:"Florida"},{value:"GA",label:"Georgia"},{value:"IN",label:"Indiana"},{value:"ME",label:"Maine"},{value:"MD",label:"Maryland"},{value:"MA",label:"Massachusetts"},{value:"MI",label:"Michigan"},{value:"NH",label:"New Hampshire"},{value:"NJ",label:"New Jersey"},{value:"NY",label:"New York"},{value:"NC",label:"North Carolina"},{value:"OH",label:"Ohio"},{value:"PA",label:"Pennsylvania"},{value:"RI",label:"Rhode Island"},{value:"SC",label:"South Carolina"},{value:"VT",label:"Vermont"},{value:"VA",label:"Virginia",disabled:!0},{value:"WV",label:"West Virginia"}],pp=[{value:"foo",label:"foo"},{value:"bar",label:"bar"},{value:"baz",label:"baz"}],fp=[{value:0,label:"0"},{value:1,label:"1"},{value:2,label:"2"},{value:3,label:"3"},{value:4,label:"4"},{value:5,label:"5"},{value:6,label:"6"}],hp=[{value:"foo1",label:"foo1"},{value:"foo2",label:"foo2"},{value:"foo3",label:"foo3"},{value:"foo4",label:"foo4"},{value:"foo5",label:"foo5"},{value:"foo6",label:"foo6"}],vp=[{label:"Mainland region",options:[{value:"FR-ARA",label:"Auvergne-Rh\xf4ne-Alpes"},{value:"FR-BFC",label:"Bourgogne-Franche-Comt\xe9"},{value:"FR-BRE",label:"Bretagne"},{value:"FR-CVL",label:"Centre-Val de Loire"},{value:"FR-COR",label:"Corse"},{value:"FR-GES",label:"Grand Est"},{value:"FR-HDF",label:"Hauts-de-France"},{value:"FR-IDF",label:"\xcele-de-France"},{value:"FR-NOR",label:"Normandie"},{value:"FR-NAQ",label:"Nouvelle-Aquitaine"},{value:"FR-OCC",label:"Occitanie"},{value:"FR-PDL",label:"Pays de la Loire"},{value:"FR-PAC",label:"Provence-Alpes-C\xf4te d'Azur"}]},{label:"Overseas region",options:[{value:"FR-GP",label:"Guadeloupe"},{value:"FR-MQ",label:"Martinique"},{value:"FR-GF",label:"Guyane"},{value:"FR-RE",label:"La R\xe9union"},{value:"FR-YT",label:"Mayotte"}]}],gp=[{value:"foo1",label:"foo1"},{value:"foo2",label:"foo2"},{value:"foo3",label:"foo3"},{value:"foo4",label:"foo4"},{value:"foo5",label:"foo5"},{value:"foo6",label:"foo6"},{value:"foo7",label:"foo7"},{value:"foo8",label:"foo8"}],yp=[{value:!0,label:"true"},{value:!1,label:"false"}],mp=[{value:"fr",label:'
\n
France
\n
Europe
\n
'},{value:"sp",label:'
\n
Spain
\n
Europe
\n
'},{value:"ch",label:'
\n
China
\n
Asia
\n
'}],_p=[{value:"heliotrope",label:"Heliotrope",classes:"white flower",id:"option-heliotrope"},{value:"hibiscus",label:"Hibiscus",classes:"red flower",id:"option-hibiscus"},{value:"lily",label:"Lily",classes:"white flower",id:"option-lily"},{value:"marigold",label:"Marigold",classes:"red flower",id:"option-marigold"},{value:"petunia",label:"Petunia",classes:"white flower",id:"option-petunia"},{value:"sunflower",label:"Sunflower",classes:"yellow flower",id:"option-sunflower"}],bp=function(){function e(e){this.fb=e,this.data1=cp,this.data2=dp,this.data3=pp,this.data4=JSON.parse(JSON.stringify(pp)),this.data5=fp,this.data6=hp,this.data7=JSON.parse(JSON.stringify(pp)),this.data8=[],this.data9=JSON.parse(JSON.stringify(cp)),this.data10=JSON.parse(JSON.stringify(cp)),this.data11=JSON.parse(JSON.stringify(cp)),this.data12=JSON.parse(JSON.stringify(cp)),this.data13=yp,this.data15=dp,this.data16=dp,this.data17=mp,this.data18=vp,this.data19=gp,this.data20=JSON.parse(JSON.stringify(gp)),this.data21=JSON.parse(JSON.stringify(gp)),this.data22=_p,this.minCountForSearch=1/0,this.value1="CA",this.value2="CA",this.value3="foo",this.value4="bar",this.value5="0",this.value6="foo3",this.value7="",this.value8="",this.value9=[],this.value10=[],this.value11="CA",this.value12="CA",this.value13=!0,this.value15="",this.value16="",this.value17="",this.value18="",this.value19="",this.value20="",this.value21="foo6",this.value22="",this.limitSelection=0,this.fg=new Gd({state:new zd}),this.ctrlForm=this.fb.group({test11:new zd(null,Jc.required)}),this.ctrlForm2=this.fb.group({test5:new zd(0,Jc.required)}),this.fg.patchValue(this.formData())}return e.prototype.update1=function(e){this.value1=e.value,console.log("update1",e)},e.prototype.change1=function(e){console.log("change1",e)},e.prototype.focus1=function(e){console.log("focus1",e)},e.prototype.blur1=function(e){console.log("blur1",e)},e.prototype.open1=function(e){console.log("open1",e)},e.prototype.close1=function(e){console.log("close1",e)},e.prototype.search1=function(e){console.log("search1",e)},e.prototype.update2=function(e){this.value2=e.value},e.prototype.update3=function(e){this.value3=e.value},e.prototype.update5=function(e){this.value5=e.value},e.prototype.addItem=function(){var e=this.data6.length+1;this.data6.push({value:"foo"+e,label:"foo"+e})},e.prototype.removeItem=function(){this.data6.pop()},e.prototype.update6=function(e){this.value6=e.value},e.prototype.update7=function(e){this.value7=e.value},e.prototype.open8=function(){this.data8=JSON.parse(JSON.stringify(dp))},e.prototype.close8=function(){alert("close")},e.prototype.update8=function(e){this.value8=e.value},e.prototype.search8=function(e){this.data8=e?JSON.parse(JSON.stringify(dp)).filter(function(t){return t.label.toLowerCase().indexOf(e.toLowerCase())>-1}):JSON.parse(JSON.stringify(dp))},e.prototype.update9=function(e){this.value9=e.value,console.log("update9",e)},e.prototype.focus9=function(e){console.log("focus9",e)},e.prototype.blur9=function(e){console.log("blur9",e)},e.prototype.open9=function(e){console.log("open9",e)},e.prototype.close9=function(e){console.log("close9",e)},e.prototype.search9=function(e){console.log("search9",e)},e.prototype.update10=function(e){this.value10=e.value},e.prototype.reset11=function(){var e=this.ctrlForm.get("test11");e&&e.reset()},e.prototype.change11=function(){var e=this.ctrlForm.get("test11");e&&e.setValue("UT")},e.prototype.update12=function(e){this.value12=e.value},e.prototype.update13=function(e){this.value13=e.value},e.prototype.update15=function(e){this.value15=e.value},e.prototype.update16=function(e){this.value16=e.value},e.prototype.update17=function(e){this.value17=e.value},e.prototype.update18=function(e){this.value18=e.value},e.prototype.update19=function(e){this.value19=e.value},e.prototype.update20=function(e){this.value20=e.value},e.prototype.update21=function(e){this.value21=e.value},e.prototype.update22=function(e){this.value22=e.value},e.prototype.resetForm=function(){this.fg.reset(this.formData())},e.prototype.print=function(){console.log("FormControl",this.fg.value)},e.prototype.formData=function(){return{state:["CA","NV"]}},e}(),wp=[{l:"a",s:/[\u24d0\uff41\u1e9a\xe0\xe1\xe2\u1ea7\u1ea5\u1eab\u1ea9\xe3\u0101\u0103\u1eb1\u1eaf\u1eb5\u1eb3\u0227\u01e1\xe4\u01df\u1ea3\xe5\u01fb\u01ce\u0201\u0203\u1ea1\u1ead\u1eb7\u1e01\u0105\u2c65\u0250]/gi},{l:"aa",s:/\ua733/gi},{l:"ae",s:/[\xe6\u01fd\u01e3]/gi},{l:"ao",s:/\ua735/gi},{l:"au",s:/\ua737/gi},{l:"av",s:/[\ua739\ua73b]/gi},{l:"ay",s:/\ua73d/gi},{l:"b",s:/[\u24d1\uff42\u1e03\u1e05\u1e07\u0180\u0183\u0253]/gi},{l:"c",s:/[\u24d2\uff43\u0107\u0109\u010b\u010d\xe7\u1e09\u0188\u023c\ua73f\u2184]/gi},{l:"d",s:/[\u24d3\uff44\u1e0b\u010f\u1e0d\u1e11\u1e13\u1e0f\u0111\u018c\u0256\u0257\ua77a]/gi},{l:"dz",s:/[\u01f3\u01c6]/gi},{l:"e",s:/[\u24d4\uff45\xe8\xe9\xea\u1ec1\u1ebf\u1ec5\u1ec3\u1ebd\u0113\u1e15\u1e17\u0115\u0117\xeb\u1ebb\u011b\u0205\u0207\u1eb9\u1ec7\u0229\u1e1d\u0119\u1e19\u1e1b\u0247\u025b\u01dd]/gi},{l:"f",s:/[\u24d5\uff46\u1e1f\u0192\ua77c]/gi},{l:"g",s:/[\u24d6\uff47\u01f5\u011d\u1e21\u011f\u0121\u01e7\u0123\u01e5\u0260\ua7a1\u1d79\ua77f]/gi},{l:"h",s:/[\u24d7\uff48\u0125\u1e23\u1e27\u021f\u1e25\u1e29\u1e2b\u1e96\u0127\u2c68\u2c76\u0265]/gi},{l:"hv",s:/\u0195/gi},{l:"i",s:/[\u24d8\uff49\xec\xed\xee\u0129\u012b\u012d\u0130\xef\u1e2f\u1ec9\u01d0\u0209\u020b\u1ecb\u012f\u1e2d\u0268\u0131]/gi},{l:"j",s:/[\u24d9\uff4a\u0135\u01f0\u0249]/gi},{l:"k",s:/[\u24da\uff4b\u1e31\u01e9\u1e33\u0137\u1e35\u0199\u2c6a\ua741\ua743\ua745\ua7a3]/gi},{l:"l",s:/[\u24db\uff4c\u0140\u013a\u013e\u1e37\u1e39\u013c\u1e3d\u1e3b\u017f\u0142\u019a\u026b\u2c61\ua749\ua781\ua747\ua746]/gi},{l:"lj",s:/\u01c9/gi},{l:"m",s:/[\u24dc\uff4d\u1e3f\u1e41\u1e43\u0271\u026f]/gi},{l:"n",s:/[\u24dd\uff4e\u01f9\u0144\xf1\u1e45\u0148\u1e47\u0146\u1e4b\u1e49\u019e\u0272\u0149\ua791\ua7a5]/gi},{l:"nj",s:/\u01cc/gi},{l:"o",s:/[\u24de\uff4f\xf2\xf3\xf4\u1ed3\u1ed1\u1ed7\u1ed5\xf5\u1e4d\u022d\u1e4f\u014d\u1e51\u1e53\u014f\u022f\u0231\xf6\u022b\u1ecf\u0151\u01d2\u020d\u020f\u01a1\u1edd\u1edb\u1ee1\u1edf\u1ee3\u1ecd\u1ed9\u01eb\u01ed\xf8\u01ff\u0254\u019f\ua74b\ua74d\u0275]/gi},{l:"oi",s:/\u01a3/gi},{l:"oe",s:/\u0153/gi},{l:"oo",s:/\ua74f/gi},{l:"ou",s:/\u0223/gi},{l:"p",s:/[\u24df\uff50\u1e55\u1e57\u01a5\u1d7d\ua751\ua753\ua755]/gi},{l:"q",s:/[\u24e0\uff51\u024b\ua757\ua759]/gi},{l:"r",s:/[\u24e1\uff52\u0155\u1e59\u0159\u0211\u0213\u1e5b\u1e5d\u0157\u1e5f\u024d\u027d\ua75b\ua7a7\ua783]/gi},{l:"s",s:/[\u24e2\uff53\xdf\u1e9e\u015b\u1e65\u015d\u1e61\u0161\u1e67\u1e63\u1e69\u0219\u015f\u023f\ua7a9\ua785\u1e9b]/gi},{l:"t",s:/[\u24e3\uff54\u1e6b\u1e97\u0165\u1e6d\u021b\u0163\u1e71\u1e6f\u0167\u01ad\u0288\u2c66\ua787]/gi},{l:"tz",s:/\ua729/gi},{l:"u",s:/[\u24e4\uff55\xf9\xfa\xfb\u0169\u1e79\u016b\u1e7b\u016d\xfc\u01dc\u01d8\u01d6\u01da\u1ee7\u016f\u0171\u01d4\u0215\u0217\u01b0\u1eeb\u1ee9\u1eef\u1eed\u1ef1\u1ee5\u1e73\u0173\u1e77\u1e75\u0289]/gi},{l:"v",s:/[\u24e5\uff56\u1e7d\u1e7f\u028b\ua75f\u028c]/gi},{l:"vy",s:/\ua761/gi},{l:"w",s:/[\u24e6\uff57\u1e81\u1e83\u0175\u1e87\u1e85\u1e98\u1e89\u2c73]/gi},{l:"x",s:/[\u24e7\uff58\u1e8b\u1e8d]/gi},{l:"y",s:/[\u24e8\uff59\u1ef3\xfd\u0177\u1ef9\u0233\u1e8f\xff\u1ef7\u1e99\u1ef5\u01b4\u024f\u1eff]/gi},{l:"z",s:/[\u24e9\uff5a\u017a\u1e91\u017c\u017e\u1e93\u1e95\u01b6\u0225\u0240\u2c6c\ua763]/gi}],Cp=function(){function e(){}return e.getOptionByValue=function(e,t){for(var n=0,r=e;n=0;o--){var i=t[o],l=i.options;if(l)for(var a=l.length-1;a>=0;a--){var s=l[a];if(r&&!s.disabled)return s;r||(r=s.value===n)}else{if(s=i,r&&!s.disabled)return s;r||(r=s.value===n)}}return null},e.getNextOption=function(t,n){for(var r=e.isNullOrUndefined(n),o=0,i=t;o-1?this.displaySearchStatus:"default";return"default"===e&&this.isSearchboxHidden||"hidden"===e},e.prototype.getOptionStyle=function(e){return"select2-results__option "+(e.value===this.hoveringValue?"select2-results__option--highlighted ":"")+(e.classes||"")},e.prototype.mouseenter=function(e){e.disabled||(this.hoveringValue=e.value)},e.prototype.click=function(e){this.testSelection(e)&&this.select(e)},e.prototype.prevChange=function(e){e.stopPropagation()},e.prototype.toggleOpenAndClose=function(){var e=this;this.disabled||(this._focus(!0),this.isOpen=!this.isOpen,this.isOpen?(this.innerSearchText="",this.updateFilteredData(),this._focusSearchboxOrResultsElement(),setTimeout(function(){if(e.option){var t=e.option instanceof Array?e.option[0]:e.option;e.updateScrollFromOption(t)}else e.resultsElement.scrollTop=0}),this.open.emit(this)):this.close.emit(this),this.isOpen&&!this._clickDetection&&setTimeout(function(){window.document.body.addEventListener("click",e._clickDetectionFc,!1),e._clickDetection=!0},200),this._changeDetectorRef.markForCheck())},e.prototype.testSelection=function(e){return!(e.disabled||this.multiple&&this.limitSelection&&!(Array.isArray(this._value)&&this._value.length-1))return!0;return!1}return!0},e.prototype.updateFilteredData=function(){var e=this;setTimeout(function(){var t=e.data;e.multiple&&e.hideSelectedItems&&(t=Cp.getFilteredSelectedData(t,e.option)),!e.customSearchEnabled&&e.searchText&&e.searchText.length>=+e.minCharForSearch&&(t=Cp.getFilteredData(t,e.searchText,e.editPattern)),Cp.valueIsNotInFilteredData(t,e.hoveringValue)&&(e.hoveringValue=Cp.getFirstAvailableOption(t)),e.filteredData=t})},e.prototype.clickDetection=function(e){this.ifParentContainsClass(e.target,"selection")?this.isOpen&&!this.ifParentContainsId(e.target,this._id)&&(this.toggleOpenAndClose(),this.clickExit()):(this.isOpen&&!this.ifParentContainsClass(e.target,"select2-dropdown")&&this.toggleOpenAndClose(),this.ifParentContainsId(e.target,this._id)||this.clickExit())},e.prototype.clickExit=function(){this._focus(!1),window.document.body.removeEventListener("click",this._clickDetectionFc),this._clickDetection=!1},e.prototype.ifParentContainsClass=function(e,t){return null!==this.getParentElementByClass(e,t)},e.prototype.ifParentContainsId=function(e,t){return null!==this.getParentElementById(e,t)},e.prototype.getParentElementByClass=function(e,t){return this.containClasses(e,t.trim().split(/\s+/))?e:e.parentElement?this.getParentElementByClass(e.parentElement,t):null},e.prototype.getParentElementById=function(e,t){return e.id===t?e:e.parentElement?this.getParentElementById(e.parentElement,t):null},e.prototype.containClasses=function(e,t){if(!e.classList)return!1;for(var n=0,r=t;n0)&&-1!==t.indexOf(e)},e.prototype._setSelectionByValue=function(e){var t=this;if(this.option||null!=e){var n=Array.isArray(e);if(this.multiple&&e&&!n)throw new Error("Non array value.");this.data?this.multiple?(this.option=[],n&&Cp.getOptionsByValue(this.data,e,this.multiple).map(function(e){return t.select(e)})):this.select(Cp.getOptionByValue(this.data,e)):this._control&&this._control.viewToModelUpdate(e),this._changeDetectorRef.markForCheck()}},e.prototype._dirtyCheckNativeValue=function(){var e=this.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this._stateChanges.next())},e.prototype._coerceBooleanProperty=function(e){return null!=e&&""+e!="false"},e.prototype._focusSearchboxOrResultsElement=function(){this.isSearchboxHidden?this.resultsElement&&this.resultsElement.focus():this.searchInputElement&&this.searchInputElement.focus()},e.prototype._focus=function(e){!e&&this.focused?(this.focused=e,this.blur.emit(this)):e&&!this.focused&&(this.focused=e,this.focus.emit(this))},e}(),Ep=wl({encapsulation:0,styles:[[".select2-label[_ngcontent-%COMP%]{color:#000;color:var(--select2-label-text-color,#000)}.select2-container[_ngcontent-%COMP%]{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle;width:100%}.select2-container[_ngcontent-%COMP%] .select2-container-dropdown[_ngcontent-%COMP%]{position:absolute;width:0;opacity:0}.select2-container[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]{box-sizing:border-box;cursor:pointer;display:block;height:28px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.select2-container[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{display:block;padding:0 0 0 8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1 1 auto}.select2-container[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%]{position:relative}.select2-container[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{box-sizing:border-box;cursor:pointer;display:block;min-height:32px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.select2-container[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{display:inline-block;overflow:hidden;padding-left:8px;text-overflow:ellipsis;white-space:nowrap}.select2-container[_ngcontent-%COMP%] .select2-search--inline[_ngcontent-%COMP%]{float:left}.select2-container[_ngcontent-%COMP%] .select2-search--inline[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]{box-sizing:border-box;border:none;font-size:100%;margin-top:5px;padding:0}.select2-container[_ngcontent-%COMP%] .select2-search--inline[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]::-webkit-search-cancel-button{-webkit-appearance:none}.select2-dropdown[_ngcontent-%COMP%]{background:#fff;background:var(--select2-dropdown-background,#fff);border:1px solid #aaa;border:1px solid var(--select2-dropdown-border-color,#aaa);border-radius:4px;border-radius:var(--select2-selection-border-radius,4px);box-sizing:border-box;display:block;position:absolute;width:100%;z-index:1051;height:0;overflow:hidden}.select2-results[_ngcontent-%COMP%]{display:block}.select2-results__options[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}.select2-results__option[_ngcontent-%COMP%]{padding:6px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:#000;color:var(--select2-option-text-color,#000)}.select2-results__option[aria-selected][_ngcontent-%COMP%]{cursor:pointer}.select2-container.select2-container-dropdown.select2-container--open[_ngcontent-%COMP%]{width:100%;opacity:1}.select2-container--open[_ngcontent-%COMP%] .select2-dropdown[_ngcontent-%COMP%]{overflow:auto;height:auto}.select2-container--open[_ngcontent-%COMP%] .select2-dropdown--above[_ngcontent-%COMP%]{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;bottom:27px;display:flex;flex-direction:column-reverse}.select2-container--open[_ngcontent-%COMP%] .select2-dropdown--below[_ngcontent-%COMP%]{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-search--dropdown[_ngcontent-%COMP%]{display:block;padding:4px}.select2-search--dropdown[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]{padding:4px;width:100%;box-sizing:border-box}.select2-search--dropdown[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]::-webkit-search-cancel-button{-webkit-appearance:none}.select2-search--dropdown.select2-search--hide[_ngcontent-%COMP%]{display:none}.select2-close-mask[_ngcontent-%COMP%]{border:0;margin:0;padding:0;display:block;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:99;background:#fff;filter:alpha(opacity=0)}.select2-required[_ngcontent-%COMP%]::before{content:'*';color:red;color:var(--select2-required-color,red)}.select2-hidden-accessible[_ngcontent-%COMP%]{border:0!important;clip:rect(0 0 0 0)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;width:1px!important}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]{background:#fff;background:var(--select2-selection-background,#fff);border:1px solid #aaa;border:1px solid var(--select2-selection-border-color,#aaa);border-radius:4px;border-radius:var(--select2-selection-border-radius,4px);display:flex}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{color:#444;color:var(--select2-selection-text-color,#444);line-height:28px}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%]{cursor:pointer;float:right;font-weight:700}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%]{color:#999;color:var(--select2-placeholder-color,#999)}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__placeholder__option[_ngcontent-%COMP%]{display:none}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%]{display:flex;width:20px;align-items:center;justify-content:center}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%]::before{content:' ';border-color:#888 transparent;border-color:var(--select2-arrow-color,#888) transparent;border-style:solid;border-width:5px 4px 0;height:0;width:0}.select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]{background:#eee;background:var(--select2-selection-disabled-background,#eee);cursor:default}.select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%]{display:none}.select2-container--default.select2-container--open[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%]::before{border-color:transparent transparent #888;border-color:transparent transparent var(--select2-arrow-color,#888);border-width:0 4px 5px}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background:#fff;background:var(--select2-selection-background,#fff);border:1px solid #aaa;border:1px solid var(--select2-selection-border-color,#aaa);border-radius:4px;border-radius:var(--select2-selection-border-radius,4px);cursor:text}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{flex:1 1 auto;box-sizing:border-box;list-style:none;margin:0;padding:0 5px;width:100%}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style:none}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%]{color:#999;color:var(--select2-placeholder-color,#999);margin-top:5px;float:left}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__placeholder__option[_ngcontent-%COMP%]{display:none}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%]{cursor:pointer;float:right;font-weight:700;margin-top:5px;margin-right:10px}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice[_ngcontent-%COMP%]{color:#000;color:var(--select2-selection-choice-text-color,#000);background:#e4e4e4;background:var(--select2-selection-choice-background,#e4e4e4);border:1px solid #aaa;border:1px solid var(--select2-selection-choice-border-color,#aaa);border-radius:4px;border-radius:var(--select2-selection-border-radius,4px);cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice__remove[_ngcontent-%COMP%]{color:#999;color:var(--select2-selection-choice-close-color,#999);cursor:pointer;display:inline-block;font-weight:700;margin-right:2px}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice__remove[_ngcontent-%COMP%]:hover{color:#333;color:var(--select2-selection-choice-hover-close-color,#333)}.select2-container--default.select2-container--focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]{border:1px solid #000;border:solid var(--select2-selection-focus-border-color,#000) 1px;outline:0}.select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background:#eee;background:var(--select2-selection-disabled-background,#eee);cursor:default}.select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection__choice__remove[_ngcontent-%COMP%]{display:none}.select2-container--default.select2-container--open.select2-container--above[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%], .select2-container--default.select2-container--open.select2-container--above[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%], .select2-container--default.select2-container--open.select2-container--below[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]{border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--default[_ngcontent-%COMP%] .select2-search--dropdown[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]{border:1px solid #aaa;border:1px solid var(--select2-search-border-color,#aaa);background:#fff;background:1px solid var(--select2-search-background,#fff);border-radius:0;border-radius:var(--select2-search-border-radius,0)}.select2-container--default[_ngcontent-%COMP%] .select2-search--inline[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]{background:0 0;border:none;outline:0;box-shadow:none;-webkit-appearance:textfield}.select2-container--default[_ngcontent-%COMP%] .select2-results[_ngcontent-%COMP%] > .select2-results__options[_ngcontent-%COMP%]{overflow-y:auto}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[role=group][_ngcontent-%COMP%]{padding:0}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[aria-disabled=true][_ngcontent-%COMP%]{color:#999;color:var(--select2-option-disabled-text-color,#999);background:0 0;background:var(--select2-option-disabled-background,transparent)}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[aria-selected=true][_ngcontent-%COMP%]{color:#000;color:var(--select2-option-selected-text-color,#000);background:#ddd;background:var(--select2-option-selected-background,#ddd)}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{padding-left:1em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__group[_ngcontent-%COMP%]{padding-left:0}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-1em;padding-left:2em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-2em;padding-left:3em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-3em;padding-left:4em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-4em;padding-left:5em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-5em;padding-left:6em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option--highlighted[aria-selected][_ngcontent-%COMP%]{background:#5897fb;background:var(--select2-option-highlighted-background,#5897fb);color:#fff;color:var(--select2-option-highlighted-text-color,#fff)}.select2-container--default[_ngcontent-%COMP%] .select2-results__group[_ngcontent-%COMP%]{cursor:default;display:block;padding:6px;color:gray;color:var(--select2-option-group-text-color,gray);background:0 0;background:var(--select2-option-group-background,transparent)}.nostyle[_nghost-%COMP%] .select2-dropdown[_ngcontent-%COMP%]{border-color:transparent}.nostyle[_nghost-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%], .nostyle[_nghost-%COMP%] .select2-selection--single[_ngcontent-%COMP%]{background:0 0;border-color:transparent}.nostyle[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%], .nostyle[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .nostyle[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%], .nostyle[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]{background:0 0;border-color:transparent}.material[_nghost-%COMP%]{display:inline-block;width:300px}.material[_nghost-%COMP%] > .select2-container[_ngcontent-%COMP%]{padding-bottom:1.29688em;vertical-align:inherit}.material[_nghost-%COMP%] > .select2-container[_ngcontent-%COMP%] .selection[_ngcontent-%COMP%]{padding:.4375em 0;border-top:.84375em solid transparent;display:inline-flex;align-items:baseline;width:100%;height:auto}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]{width:100%;border:0;border-radius:0;height:24px;box-sizing:border-box}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]::before, .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]::before{content:' ';display:block;position:absolute;bottom:1.65em;background:#ddd;background:var(--select2-material-underline,#ddd);height:1px;width:100%}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]::after, .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]::after{content:' ';display:block;position:absolute;bottom:1.63em;background:#5a419e;background:var(--select2-material-underline-active,#5a419e);height:2px;width:0%;left:50%;transition:none}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{padding-left:1px;line-height:inherit}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%]{display:block;color:rgba(0,0,0,.38);color:var(--select2-material-placeholder-color,rgba(0,0,0,.38));transition:transform .3s;position:absolute;transform-origin:0 21px;left:0;top:20px}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-container--open[_ngcontent-%COMP%]{left:0;bottom:1.6em}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection__placeholder__option[_ngcontent-%COMP%]{transform:translateY(-1.5em) scale(.75) perspective(100px) translateZ(.001px);width:133.33333%}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%]{top:20px}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]::after, .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]::after, .material[_nghost-%COMP%] .select2-container--default.select2-container--open[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]::after, .material[_nghost-%COMP%] .select2-container--default.select2-container--open[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]::after{transition:width .3s cubic-bezier(.12,1,.77,1),left .3s cubic-bezier(.12,1,.77,1);width:100%;left:0}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-dropdown[_ngcontent-%COMP%]{border-radius:0;border:0;box-shadow:0 5px 5px rgba(0,0,0,.5)}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-results__option--highlighted[aria-selected][_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-results__option[aria-selected=true][_ngcontent-%COMP%]{background:rgba(0,0,0,.04);background:var(--select2-material-option-selected-background,rgba(0,0,0,.04));color:#000;color:var(--select2-material-option-highlighted-text-color,#000)}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-results__option[aria-selected=true][_ngcontent-%COMP%]{color:#ff5722;color:var(--select2-material-option-selected-text-color,#ff5722)}.material[_nghost-%COMP%] .select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]{background:0 0}.material[_nghost-%COMP%] .select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]::before, .material[_nghost-%COMP%] .select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]::before{background:linear-gradient(to right,rgba(0,0,0,.26) 0,rgba(0,0,0,.26) 33%,transparent 0);background:var(--select2-material-underline-disabled,linear-gradient(to right,rgba(0,0,0,.26) 0,rgba(0,0,0,.26) 33%,transparent 0));background-size:4px 1px;background-repeat:repeat-x;background-position:0 bottom}.material.ng-invalid.ng-touched[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]::after, .material.ng-invalid.ng-touched[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]::before, .material.ng-invalid.ng-touched[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]::after, .material.ng-invalid.ng-touched[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]::before{background:red;background:var(--select2-material-underline-invalid,red)}.material[_nghost-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%], .material[_nghost-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]{border:0}.material[_nghost-%COMP%] .select2-subscript-wrapper[_ngcontent-%COMP%]{position:absolute;top:calc(100% - 1.72917em);font-size:75%;color:#888;color:var(--select2-hint-text-color,#888)}@supports (-moz-appearance:none){select2.material[_ngcontent-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%], select2.material[_ngcontent-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]{height:26px}}@supports (-ms-scroll-limit:0){select2.material[_ngcontent-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%], select2.material[_ngcontent-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]{height:25px}}"]],data:{}});function Mp(e){return cs(0,[(e()(),Kl(0,0,null,null,0,"span",[["class","select2-required"]],null,null,null,null,null))],null,null)}function kp(e){return cs(0,[(e()(),Kl(0,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),as(-1,null,["\xa0"]))],null,null)}function Sp(e){return cs(0,[(e()(),Kl(0,0,null,null,0,"span",[],[[8,"innerHTML",1]],null,null,null,null))],null,function(e,t){e(t,0,0,t.component.select2Option.label)})}function Ip(e){return cs(0,[(e()(),Kl(0,0,null,null,6,"span",[["class","select2-selection__rendered"]],[[8,"title",0]],null,null,null,null)),(e()(),Ql(16777216,null,null,1,null,kp)),ja(2,16384,null,0,Iu,[Mi,Po],{ngIf:[0,"ngIf"]},null),(e()(),Ql(16777216,null,null,1,null,Sp)),ja(4,16384,null,0,Iu,[Mi,Po],{ngIf:[0,"ngIf"]},null),(e()(),Kl(5,0,null,null,1,"span",[["class","select2-selection__placeholder"]],[[2,"select2-selection__placeholder__option",null]],null,null,null,null)),(e()(),as(6,null,["",""]))],function(e,t){var n=t.component;e(t,2,0,!n.select2Option),e(t,4,0,n.select2Option)},function(e,t){var n=t.component;e(t,0,0,n.select2Option?n.select2Option.label:""),e(t,5,0,n.option),e(t,6,0,n.placeholder)})}function Tp(e){return cs(0,[(e()(),Kl(0,0,null,null,0,"span",[["class","select2-selection__arrow"],["role","presentation"]],null,null,null,null,null))],null,null)}function Np(e){return cs(0,[(e()(),Kl(0,0,null,null,3,"li",[["class","select2-selection__choice"]],[[8,"title",0]],null,null,null,null)),(e()(),Kl(1,0,null,null,1,"span",[["class","select2-selection__choice__remove"],["role","presentation"]],null,[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.removeSelection(n,e.context.$implicit)&&r),r},null,null)),(e()(),as(-1,null,["\xd7"])),(e()(),Kl(3,0,null,null,0,"span",[],[[8,"innerHTML",1]],null,null,null,null))],null,function(e,t){e(t,0,0,t.context.$implicit.label),e(t,3,0,t.context.$implicit.label)})}function Ap(e){return cs(0,[(e()(),Kl(0,0,null,null,4,"ul",[["class","select2-selection__rendered"]],null,null,null,null,null)),(e()(),Kl(1,0,null,null,1,"span",[["class","select2-selection__placeholder"]],[[2,"select2-selection__placeholder__option",null]],null,null,null,null)),(e()(),as(2,null,["",""])),(e()(),Ql(16777216,null,null,1,null,Np)),ja(4,278528,null,0,ku,[Mi,Po,qi],{ngForOf:[0,"ngForOf"],ngForTrackBy:[1,"ngForTrackBy"]},null)],function(e,t){var n=t.component;e(t,4,0,n.option,n.trackBy)},function(e,t){var n=t.component;e(t,1,0,(null==n.select2Options?null:n.select2Options.length)>0),e(t,2,0,n.placeholder)})}function Vp(e){return cs(0,[(e()(),Kl(0,0,[[3,0],["result",1]],null,0,"li",[["role","treeitem"]],[[8,"id",0],[8,"className",0],[1,"aria-selected",0],[1,"aria-disabled",0],[8,"innerHTML",1]],[[null,"mouseenter"],[null,"click"]],function(e,t,n){var r=!0,o=e.component;return"mouseenter"===t&&(r=!1!==o.mouseenter(e.context.$implicit)&&r),"click"===t&&(r=!1!==o.click(e.context.$implicit)&&r),r},null,null))],null,function(e,t){var n=t.component;e(t,0,0,t.context.$implicit.id||n.id+"-option-"+t.parent.parent.context.index+"-"+t.context.index,n.getOptionStyle(t.context.$implicit),n.isSelected(t.context.$implicit),n.isDisabled(t.context.$implicit),t.context.$implicit.label)})}function Dp(e){return cs(0,[(e()(),Kl(0,0,null,null,4,"li",[["class","select2-results__option"],["role","group"]],null,null,null,null,null)),(e()(),Kl(1,0,null,null,0,"strong",[],[[1,"class",0],[8,"innerHTML",1]],null,null,null,null)),(e()(),Kl(2,0,null,null,2,"ul",[["class","select2-results__options select2-results__options--nested"]],null,null,null,null,null)),(e()(),Ql(16777216,null,null,1,null,Vp)),ja(4,278528,null,0,ku,[Mi,Po,qi],{ngForOf:[0,"ngForOf"],ngForTrackBy:[1,"ngForTrackBy"]},null)],function(e,t){e(t,4,0,t.parent.context.$implicit.options,t.component.trackBy)},function(e,t){e(t,1,0,"select2-results__group"+(t.parent.context.$implicit.classes?" "+t.parent.context.$implicit.classes:""),t.parent.context.$implicit.label)})}function Rp(e){return cs(0,[(e()(),Kl(0,0,[[3,0],["result",1]],null,0,"li",[["role","treeitem"]],[[8,"id",0],[8,"className",0],[1,"aria-selected",0],[1,"aria-disabled",0],[8,"innerHTML",1]],[[null,"mouseenter"],[null,"click"]],function(e,t,n){var r=!0,o=e.component;return"mouseenter"===t&&(r=!1!==o.mouseenter(e.parent.context.$implicit)&&r),"click"===t&&(r=!1!==o.click(e.parent.context.$implicit)&&r),r},null,null))],null,function(e,t){var n=t.component;e(t,0,0,t.parent.context.$implicit.id||n.id+"-option-"+t.parent.context.index,n.getOptionStyle(t.parent.context.$implicit),n.isSelected(t.parent.context.$implicit),n.isDisabled(t.parent.context.$implicit),t.parent.context.$implicit.label)})}function jp(e){return cs(0,[(e()(),Kl(0,0,null,null,4,null,null,null,null,null,null,null)),(e()(),Ql(16777216,null,null,1,null,Dp)),ja(2,16384,null,0,Iu,[Mi,Po],{ngIf:[0,"ngIf"]},null),(e()(),Ql(16777216,null,null,1,null,Rp)),ja(4,16384,null,0,Iu,[Mi,Po],{ngIf:[0,"ngIf"]},null),(e()(),Ql(0,null,null,0))],function(e,t){e(t,2,0,t.context.$implicit.options),e(t,4,0,!t.context.$implicit.options)},null)}function Fp(e){return cs(0,[es(402653184,1,{selection:0}),es(402653184,2,{resultContainer:0}),es(671088640,3,{results:1}),es(402653184,4,{searchInput:0}),(e()(),Kl(4,0,null,null,3,"div",[["class","select2-label"]],null,[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.toggleOpenAndClose()&&r),r},null,null)),is(null,0),(e()(),Ql(16777216,null,null,1,null,Mp)),ja(7,16384,null,0,Iu,[Mi,Po],{ngIf:[0,"ngIf"]},null),(e()(),Kl(8,0,null,null,18,"div",[["class","select2 select2-container select2-container--default select2-container--focus"]],[[2,"select2-container--below",null],[2,"select2-container--above",null],[2,"select2-container--open",null],[2,"select2-container--disabled",null]],null,null,null,null)),(e()(),Kl(9,0,[[1,0],["selection",1]],null,7,"div",[["class","selection"]],[[1,"tabindex",0],[2,"select2-focused",null]],[[null,"click"],[null,"focus"],[null,"blur"],[null,"keydown"]],function(e,t,n){var r=!0,o=e.component;return"click"===t&&(r=!1!==o.toggleOpenAndClose()&&r),"focus"===t&&(r=!1!==o.focusin()&&r),"blur"===t&&(r=!1!==o.focusout()&&r),"keydown"===t&&(r=!1!==o.openKey(n)&&r),r},null,null)),(e()(),Kl(10,0,null,null,6,"div",[["class","select2-selection"],["role","combobox"]],[[2,"select2-selection--multiple",null],[2,"select2-selection--single",null]],null,null,null,null)),(e()(),Ql(16777216,null,null,1,null,Ip)),ja(12,16384,null,0,Iu,[Mi,Po],{ngIf:[0,"ngIf"]},null),(e()(),Ql(16777216,null,null,1,null,Tp)),ja(14,16384,null,0,Iu,[Mi,Po],{ngIf:[0,"ngIf"]},null),(e()(),Ql(16777216,null,null,1,null,Ap)),ja(16,16384,null,0,Iu,[Mi,Po],{ngIf:[0,"ngIf"]},null),(e()(),Kl(17,0,null,null,7,"div",[["class","select2-container select2-container--default select2-container-dropdown"]],[[2,"select2-container--open",null]],null,null,null,null)),(e()(),Kl(18,0,null,null,6,"div",[["class","select2-dropdown"]],[[2,"select2-dropdown--below",null],[2,"select2-dropdown--above",null]],null,null,null,null)),(e()(),Kl(19,0,null,null,1,"div",[["class","select2-search select2-search--dropdown"]],[[2,"select2-search--hide",null]],null,null,null,null)),(e()(),Kl(20,0,[[4,0],["searchInput",1]],null,0,"input",[["autocapitalize","off"],["autocomplete","off"],["autocorrect","off"],["class","select2-search__field"],["role","textbox"],["spellcheck","false"],["type","search"]],[[8,"id",0],[8,"value",0],[1,"tabindex",0]],[[null,"keydown"],[null,"keyup"],[null,"change"]],function(e,t,n){var r=!0,o=e.component;return"keydown"===t&&(r=!1!==o.keyDown(n)&&r),"keyup"===t&&(r=!1!==o.searchUpdate(n)&&r),"change"===t&&(r=!1!==o.prevChange(n)&&r),r},null,null)),(e()(),Kl(21,0,null,null,3,"div",[["class","select2-results"]],null,null,null,null,null)),(e()(),Kl(22,0,[[2,0],["results",1]],null,2,"ul",[["class","select2-results__options"],["role","tree"],["tabindex","-1"]],[[4,"max-height",null]],[[null,"keydown"]],function(e,t,n){var r=!0;return"keydown"===t&&(r=!1!==e.component.keyDown(n)&&r),r},null,null)),(e()(),Ql(16777216,null,null,1,null,jp)),ja(24,278528,null,0,ku,[Mi,Po,qi],{ngForOf:[0,"ngForOf"],ngForTrackBy:[1,"ngForTrackBy"]},null),(e()(),Kl(25,0,null,null,1,"div",[["class","select2-subscript-wrapper"]],null,null,null,null,null)),is(null,1)],function(e,t){var n=t.component;e(t,7,0,n.required),e(t,12,0,!n.multiple),e(t,14,0,!n.multiple),e(t,16,0,n.multiple),e(t,24,0,n.filteredData,n.trackBy)},function(e,t){var n=t.component;e(t,8,0,!n.select2above,n.select2above,n.isOpen,n.disabled),e(t,9,0,n.isOpen?"-1":n.tabIndex,n.focused),e(t,10,0,n.multiple,!n.multiple),e(t,17,0,n.isOpen),e(t,18,0,!n.select2above,n.select2above),e(t,19,0,n.hideSearch()),e(t,20,0,n.id+"-search-field",n.searchText,n.isOpen?n.tabIndex:"-1"),e(t,22,0,n.resultMaxHeight)})}var Hp=function(){return function(){}}(),Lp=function(){return function(){}}(),Bp=wl({encapsulation:0,styles:[['@charset "UTF-8"; :root{--select2-label-text-color:#000;--select2-required-color:red;--select2-selection-border-radius:4px;--select2-selection-background:#fff;--select2-selection-disabled-background:#eee;--select2-selection-border-color:#aaa;--select2-selection-focus-border-color:#000;--select2-selection-text-color:#444;--select2-selection-choice-background:#e4e4e4;--select2-selection-choice-text-color:#000;--select2-selection-choice-border-color:#aaa;--select2-selection-choice-close-color:#999;--select2-selection-choice-hover-close-color:#333;--select2-placeholder-color:#999;--select2-arrow-color:#888;--select2-dropdown-background:#fff;--select2-dropdown-border-color:#aaa;--select2-search-border-color:#aaa;--select2-search-background:#fff;--select2-search-border-radius:0px;--select2-option-text-color:#000;--select2-option-disabled-text-color:#999;--select2-option-disabled-background:transparent;--select2-option-selected-text-color:#000;--select2-option-selected-background:#ddd;--select2-option-highlighted-text-color:#fff;--select2-option-highlighted-background:#5897fb;--select2-option-group-text-color:gray;--select2-option-group-background:transparent;--select2-hint-text-color:#888;--select2-material-underline:#ddd;--select2-material-underline-active:#5a419e;--select2-material-underline-disabled:linear-gradient(to right, rgba(0, 0, 0, 0.26) 0, rgba(0, 0, 0, 0.26) 33%, transparent 0);--select2-material-underline-invalid:red;--select2-material-placeholder-color:rgba(0, 0, 0, 0.38);--select2-material-selection-background:#ddd;--select2-material-option-selected-background:rgba(0, 0, 0, 0.04);--select2-material-option-highlighted-text-color:#000;--select2-material-option-selected-text-color:#ff5722}#select2-17[_ngcontent-%COMP%] .select2-multiple-labels{display:flex;justify-content:space-between}.noStyle[_ngcontent-%COMP%]{background-color:#faebd7}.flower-list[_ngcontent-%COMP%] .flower.white::before{content:"\ud83c\udf3c "}.flower-list[_ngcontent-%COMP%] .flower.red::before{content:"\ud83c\udf39 "}.flower-list[_ngcontent-%COMP%] .flower.yellow::before{content:"\ud83c\udf3b "}']],data:{}});function Up(e){return cs(0,[(e()(),Kl(0,0,null,null,169,"div",[["style","width: 500px;"]],null,null,null,null,null)),(e()(),Kl(1,0,null,null,1,"a",[["href","https://github.com/Zefling/ng-select2/tree/master/src"],["target","_blank"]],null,null,null,null,null)),(e()(),as(-1,null,["the source code of the demo"])),(e()(),Kl(3,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),as(4,null,["1. options in group (",")"])),(e()(),Kl(5,0,null,null,1,"select2",[["id","selec2-1"]],[[8,"id",0],[1,"aria-invalid",0],[2,"material",null],[2,"nostyle",null],[2,"select2-above",null]],[[null,"update"],[null,"change"],[null,"blur"],[null,"focus"],[null,"open"],[null,"close"],[null,"search"]],function(e,t,n){var r=!0,o=e.component;return"update"===t&&(r=!1!==o.update1(n)&&r),"change"===t&&(r=!1!==o.change1(n)&&r),"blur"===t&&(r=!1!==o.blur1(n)&&r),"focus"===t&&(r=!1!==o.focus1(n)&&r),"open"===t&&(r=!1!==o.open1(n)&&r),"close"===t&&(r=!1!==o.close1(n)&&r),"search"===t&&(r=!1!==o.search1(n)&&r),r},Fp,Ep)),ja(6,4702208,null,0,xp,[Si,[2,qd],[2,ep],[8,null],[8,null]],{data:[0,"data"],id:[1,"id"],value:[2,"value"]},{update:"update",open:"open",close:"close",focus:"focus",blur:"blur",search:"search"}),(e()(),Kl(7,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),as(8,null,["2. options (",")"])),(e()(),Kl(9,0,null,null,1,"select2",[["id","selec2-2"]],[[8,"id",0],[1,"aria-invalid",0],[2,"material",null],[2,"nostyle",null],[2,"select2-above",null]],[[null,"update"]],function(e,t,n){var r=!0;return"update"===t&&(r=!1!==e.component.update2(n)&&r),r},Fp,Ep)),ja(10,4702208,null,0,xp,[Si,[2,qd],[2,ep],[8,null],[8,null]],{data:[0,"data"],id:[1,"id"],value:[2,"value"]},{update:"update"}),(e()(),Kl(11,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),as(12,null,["3. less options (",")"])),(e()(),Kl(13,0,null,null,1,"select2",[["id","selec2-3"]],[[8,"id",0],[1,"aria-invalid",0],[2,"material",null],[2,"nostyle",null],[2,"select2-above",null]],[[null,"update"]],function(e,t,n){var r=!0;return"update"===t&&(r=!1!==e.component.update3(n)&&r),r},Fp,Ep)),ja(14,4702208,null,0,xp,[Si,[2,qd],[2,ep],[8,null],[8,null]],{data:[0,"data"],id:[1,"id"],value:[2,"value"]},{update:"update"}),(e()(),Kl(15,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),as(16,null,["4. disabled (",")"])),(e()(),Kl(17,0,null,null,1,"select2",[["id","selec2-4"]],[[8,"id",0],[1,"aria-invalid",0],[2,"material",null],[2,"nostyle",null],[2,"select2-above",null]],null,null,Fp,Ep)),ja(18,4702208,null,0,xp,[Si,[2,qd],[2,ep],[8,null],[8,null]],{data:[0,"data"],id:[1,"id"],disabled:[2,"disabled"],value:[3,"value"]},null),(e()(),Kl(19,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),as(20,null,["5. hide search box (",")"])),(e()(),Kl(21,0,null,null,9,"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!==Pa(e,23).onSubmit(n)&&r),"reset"===t&&(r=!1!==Pa(e,23).onReset()&&r),r},null,null)),ja(22,16384,null,0,lp,[],null,null),ja(23,540672,null,0,ep,[[8,null],[8,null]],{form:[0,"form"]},null),Ha(2048,null,qc,null,[ep]),ja(25,16384,null,0,Fd,[[4,qc]],null,null),(e()(),Kl(26,0,null,null,4,"select2",[["formControlName","test5"],["id","selec2-5"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[8,"id",0],[1,"aria-invalid",0],[2,"material",null],[2,"nostyle",null],[2,"select2-above",null]],[[null,"update"]],function(e,t,n){var r=!0;return"update"===t&&(r=!1!==e.component.update5(n)&&r),r},Fp,Ep)),ja(27,671744,null,0,op,[[3,qc],[8,null],[8,null],[8,null],[2,Xd]],{name:[0,"name"]},null),Ha(2048,null,sd,null,[op]),ja(29,16384,null,0,jd,[[4,sd]],null,null),ja(30,4702208,null,0,xp,[Si,[2,qd],[2,ep],[6,sd],[8,null]],{data:[0,"data"],minCountForSearch:[1,"minCountForSearch"],id:[2,"id"]},{update:"update"}),(e()(),Kl(31,0,null,null,17,"h3",[],null,null,null,null,null)),(e()(),as(-1,null,["6. search limit to "])),(e()(),Kl(33,0,[["limit",1]],null,0,"input",[["size","3"],["value","7"]],null,null,null,null,null)),(e()(),as(-1,null,[" / display status "])),(e()(),Kl(35,0,[["status",1]],null,12,"select",[],null,null,null,null,null)),(e()(),Kl(36,0,null,null,3,"option",[["selected",""]],null,null,null,null,null)),ja(37,147456,null,0,md,[Ar,Fr,[8,null]],null,null),ja(38,147456,null,0,wd,[Ar,Fr,[8,null]],null,null),(e()(),as(-1,null,["default"])),(e()(),Kl(40,0,null,null,3,"option",[],null,null,null,null,null)),ja(41,147456,null,0,md,[Ar,Fr,[8,null]],null,null),ja(42,147456,null,0,wd,[Ar,Fr,[8,null]],null,null),(e()(),as(-1,null,["hidden"])),(e()(),Kl(44,0,null,null,3,"option",[],null,null,null,null,null)),ja(45,147456,null,0,md,[Ar,Fr,[8,null]],null,null),ja(46,147456,null,0,wd,[Ar,Fr,[8,null]],null,null),(e()(),as(-1,null,["always"])),(e()(),as(48,null,[" (",")"])),(e()(),Kl(49,0,null,null,4,"div",[],null,null,null,null,null)),(e()(),Kl(50,0,null,null,1,"button",[["type","button"]],null,[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.addItem()&&r),r},null,null)),(e()(),as(-1,null,["Add item"])),(e()(),Kl(52,0,null,null,1,"button",[["type","button"]],null,[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.removeItem()&&r),r},null,null)),(e()(),as(-1,null,["Remove item"])),(e()(),Kl(54,0,null,null,1,"select2",[["id","selec2-6"]],[[8,"id",0],[1,"aria-invalid",0],[2,"material",null],[2,"nostyle",null],[2,"select2-above",null]],[[null,"update"]],function(e,t,n){var r=!0;return"update"===t&&(r=!1!==e.component.update6(n)&&r),r},Fp,Ep)),ja(55,4702208,null,0,xp,[Si,[2,qd],[2,ep],[8,null],[8,null]],{data:[0,"data"],displaySearchStatus:[1,"displaySearchStatus"],minCountForSearch:[2,"minCountForSearch"],id:[3,"id"],value:[4,"value"]},{update:"update"}),(e()(),Kl(56,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),as(57,null,["7. placeholder (",")"])),(e()(),Kl(58,0,null,null,1,"select2",[["id","selec2-7"],["placeholder","select an item"]],[[8,"id",0],[1,"aria-invalid",0],[2,"material",null],[2,"nostyle",null],[2,"select2-above",null]],[[null,"update"]],function(e,t,n){var r=!0;return"update"===t&&(r=!1!==e.component.update7(n)&&r),r},Fp,Ep)),ja(59,4702208,null,0,xp,[Si,[2,qd],[2,ep],[8,null],[8,null]],{data:[0,"data"],placeholder:[1,"placeholder"],id:[2,"id"]},{update:"update"}),(e()(),Kl(60,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),as(61,null,["8. open, close and search event (",")"])),(e()(),Kl(62,0,null,null,4,"select2",[["customSearchEnabled","true"],["id","selec2-8"]],[[8,"id",0],[1,"aria-invalid",0],[2,"material",null],[2,"nostyle",null],[2,"select2-above",null]],[[null,"open"],[null,"close"],[null,"search"],[null,"update"]],function(e,t,n){var r=!0,o=e.component;return"open"===t&&(r=!1!==o.open8()&&r),"close"===t&&(r=!1!==o.close8()&&r),"search"===t&&(r=!1!==o.search8(n)&&r),"update"===t&&(r=!1!==o.update8(n)&&r),r},Fp,Ep)),ja(63,4702208,null,0,xp,[Si,[2,qd],[2,ep],[8,null],[8,null]],{data:[0,"data"],customSearchEnabled:[1,"customSearchEnabled"],id:[2,"id"]},{update:"update",open:"open",close:"close",search:"search"}),(e()(),Kl(64,0,null,1,2,"select2-hint",[],null,null,null,null,null)),ja(65,16384,null,0,Hp,[],null,null),(e()(),as(66,null,["value : ",""])),(e()(),Kl(67,0,null,null,10,"h3",[],null,null,null,null,null)),(e()(),as(-1,null,["9. multiple + limite "])),(e()(),Kl(69,0,null,null,6,"input",[["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],function(e,t,n){var r=!0,o=e.component;return"input"===t&&(r=!1!==Pa(e,70)._handleInput(n.target.value)&&r),"blur"===t&&(r=!1!==Pa(e,70).onTouched()&&r),"compositionstart"===t&&(r=!1!==Pa(e,70)._compositionStart()&&r),"compositionend"===t&&(r=!1!==Pa(e,70)._compositionEnd(n.target.value)&&r),"change"===t&&(r=!1!==Pa(e,71).onChange(n.target.value)&&r),"input"===t&&(r=!1!==Pa(e,71).onChange(n.target.value)&&r),"blur"===t&&(r=!1!==Pa(e,71).onTouched()&&r),"ngModelChange"===t&&(r=!1!==(o.limitSelection=n)&&r),r},null,null)),ja(70,16384,null,0,rd,[Fr,Ar,[2,nd]],null,null),ja(71,16384,null,0,ld,[Fr,Ar],null,null),Ha(1024,null,ed,function(e,t){return[e,t]},[rd,ld]),ja(73,671744,null,0,Yd,[[8,null],[8,null],[8,null],[6,ed]],{model:[0,"model"]},{update:"ngModelChange"}),Ha(2048,null,sd,null,[Yd]),ja(75,16384,null,0,jd,[[4,sd]],null,null),(e()(),as(76,null,[" (",")"])),Fa(0,Au,[]),(e()(),Kl(78,0,null,null,1,"select2",[["id","selec2-9"],["multiple","true"]],[[8,"id",0],[1,"aria-invalid",0],[2,"material",null],[2,"nostyle",null],[2,"select2-above",null]],[[null,"update"],[null,"blur"],[null,"focus"],[null,"open"],[null,"close"],[null,"search"]],function(e,t,n){var r=!0,o=e.component;return"update"===t&&(r=!1!==o.update9(n)&&r),"blur"===t&&(r=!1!==o.blur9(n)&&r),"focus"===t&&(r=!1!==o.focus9(n)&&r),"open"===t&&(r=!1!==o.open9(n)&&r),"close"===t&&(r=!1!==o.close9(n)&&r),"search"===t&&(r=!1!==o.search9(n)&&r),r},Fp,Ep)),ja(79,4702208,null,0,xp,[Si,[2,qd],[2,ep],[8,null],[8,null]],{data:[0,"data"],multiple:[1,"multiple"],limitSelection:[2,"limitSelection"],id:[3,"id"],value:[4,"value"]},{update:"update",open:"open",close:"close",focus:"focus",blur:"blur",search:"search"}),(e()(),Kl(80,0,null,null,2,"h3",[],null,null,null,null,null)),(e()(),as(81,null,["10. multiple + hide selected items (",")"])),Fa(0,Au,[]),(e()(),Kl(83,0,null,null,1,"select2",[["hideSelectedItems","true"],["id","selec2-10"],["multiple","true"]],[[8,"id",0],[1,"aria-invalid",0],[2,"material",null],[2,"nostyle",null],[2,"select2-above",null]],[[null,"update"]],function(e,t,n){var r=!0;return"update"===t&&(r=!1!==e.component.update10(n)&&r),r},Fp,Ep)),ja(84,4702208,null,0,xp,[Si,[2,qd],[2,ep],[8,null],[8,null]],{data:[0,"data"],multiple:[1,"multiple"],id:[2,"id"],hideSelectedItems:[3,"hideSelectedItems"],value:[4,"value"]},{update:"update"}),(e()(),Kl(85,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),as(86,null,["11. material style and form binding (",")"])),(e()(),Kl(87,0,null,null,13,"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!==Pa(e,89).onSubmit(n)&&r),"reset"===t&&(r=!1!==Pa(e,89).onReset()&&r),r},null,null)),ja(88,16384,null,0,lp,[],null,null),ja(89,540672,null,0,ep,[[8,null],[8,null]],{form:[0,"form"]},null),Ha(2048,null,qc,null,[ep]),ja(91,16384,null,0,Fd,[[4,qc]],null,null),(e()(),Kl(92,0,null,null,4,"select2",[["formControlName","test11"],["id","selec2-11"],["material",""],["placeholder","Select a state"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[8,"id",0],[1,"aria-invalid",0],[2,"material",null],[2,"nostyle",null],[2,"select2-above",null]],[[null,"ngModelChange"]],function(e,t,n){var r=!0;return"ngModelChange"===t&&(r=!1!==(e.component.value11=n)&&r),r},Fp,Ep)),ja(93,671744,null,0,op,[[3,qc],[8,null],[8,null],[8,null],[2,Xd]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ha(2048,null,sd,null,[op]),ja(95,16384,null,0,jd,[[4,sd]],null,null),ja(96,4702208,null,0,xp,[Si,[2,qd],[2,ep],[6,sd],[8,null]],{data:[0,"data"],placeholder:[1,"placeholder"],material:[2,"material"],id:[3,"id"]},null),(e()(),Kl(97,0,null,null,1,"button",[],null,[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.reset11()&&r),r},null,null)),(e()(),as(-1,null,["reset"])),(e()(),Kl(99,0,null,null,1,"button",[],null,[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.change11()&&r),r},null,null)),(e()(),as(-1,null,["Utah"])),(e()(),Kl(101,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),as(102,null,["12. material style (",")"])),(e()(),Kl(103,0,null,null,1,"select2",[["id","selec2-12"],["material",""]],[[8,"id",0],[1,"aria-invalid",0],[2,"material",null],[2,"nostyle",null],[2,"select2-above",null]],[[null,"update"]],function(e,t,n){var r=!0;return"update"===t&&(r=!1!==e.component.update12(n)&&r),r},Fp,Ep)),ja(104,4702208,null,0,xp,[Si,[2,qd],[2,ep],[8,null],[8,null]],{data:[0,"data"],material:[1,"material"],id:[2,"id"],value:[3,"value"]},{update:"update"}),(e()(),Kl(105,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),as(106,null,["13. boolean value (",")"])),(e()(),Kl(107,0,null,null,1,"select2",[["id","selec2-13"]],[[8,"id",0],[1,"aria-invalid",0],[2,"material",null],[2,"nostyle",null],[2,"select2-above",null]],[[null,"update"]],function(e,t,n){var r=!0;return"update"===t&&(r=!1!==e.component.update13(n)&&r),r},Fp,Ep)),ja(108,4702208,null,0,xp,[Si,[2,qd],[2,ep],[8,null],[8,null]],{data:[0,"data"],id:[1,"id"],value:[2,"value"]},{update:"update"}),(e()(),Kl(109,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),as(-1,null,["14. FormControl"])),(e()(),Kl(111,0,null,null,13,"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!==Pa(e,113).onSubmit(n)&&r),"reset"===t&&(r=!1!==Pa(e,113).onReset()&&r),r},null,null)),ja(112,16384,null,0,lp,[],null,null),ja(113,540672,null,0,ep,[[8,null],[8,null]],{form:[0,"form"]},null),Ha(2048,null,qc,null,[ep]),ja(115,16384,null,0,Fd,[[4,qc]],null,null),(e()(),Kl(116,0,null,null,4,"select2",[["formControlName","state"],["id","selec2-10"],["multiple","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],[8,"id",0],[1,"aria-invalid",0],[2,"material",null],[2,"nostyle",null],[2,"select2-above",null]],null,null,Fp,Ep)),ja(117,671744,null,0,op,[[3,qc],[8,null],[8,null],[8,null],[2,Xd]],{name:[0,"name"]},null),Ha(2048,null,sd,null,[op]),ja(119,16384,null,0,jd,[[4,sd]],null,null),ja(120,4702208,null,0,xp,[Si,[2,qd],[2,ep],[6,sd],[8,null]],{data:[0,"data"],multiple:[1,"multiple"],id:[2,"id"]},null),(e()(),Kl(121,0,null,null,1,"button",[],null,[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.print()&&r),r},null,null)),(e()(),as(-1,null,["Log Selected"])),(e()(),Kl(123,0,null,null,1,"button",[],null,[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.resetForm()&&r),r},null,null)),(e()(),as(-1,null,["Reset Form"])),(e()(),Kl(125,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),as(126,null,["15. with label (",")"])),(e()(),Kl(127,0,null,null,4,"select2",[["id","selec2-15"]],[[8,"id",0],[1,"aria-invalid",0],[2,"material",null],[2,"nostyle",null],[2,"select2-above",null]],[[null,"update"]],function(e,t,n){var r=!0;return"update"===t&&(r=!1!==e.component.update15(n)&&r),r},Fp,Ep)),ja(128,4702208,null,0,xp,[Si,[2,qd],[2,ep],[8,null],[8,null]],{data:[0,"data"],id:[1,"id"],value:[2,"value"]},{update:"update"}),(e()(),Kl(129,0,null,0,2,"select2-label",[],null,null,null,null,null)),ja(130,16384,null,0,Lp,[],null,null),(e()(),as(-1,null,["Select a state"])),(e()(),Kl(132,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),as(133,null,["16. required with label (",")"])),(e()(),Kl(134,0,null,null,4,"select2",[["id","selec2-16"],["required",""]],[[8,"id",0],[1,"aria-invalid",0],[2,"material",null],[2,"nostyle",null],[2,"select2-above",null]],[[null,"update"]],function(e,t,n){var r=!0;return"update"===t&&(r=!1!==e.component.update16(n)&&r),r},Fp,Ep)),ja(135,4702208,null,0,xp,[Si,[2,qd],[2,ep],[8,null],[8,null]],{data:[0,"data"],id:[1,"id"],required:[2,"required"],value:[3,"value"]},{update:"update"}),(e()(),Kl(136,0,null,0,2,"select2-label",[],null,null,null,null,null)),ja(137,16384,null,0,Lp,[],null,null),(e()(),as(-1,null,["Select a state"])),(e()(),Kl(139,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),as(140,null,["17. with two option labels (",")"])),(e()(),Kl(141,0,null,null,1,"select2",[["id","select2-17"]],[[8,"id",0],[1,"aria-invalid",0],[2,"material",null],[2,"nostyle",null],[2,"select2-above",null]],[[null,"update"]],function(e,t,n){var r=!0;return"update"===t&&(r=!1!==e.component.update17(n)&&r),r},Fp,Ep)),ja(142,4702208,null,0,xp,[Si,[2,qd],[2,ep],[8,null],[8,null]],{data:[0,"data"],id:[1,"id"],value:[2,"value"]},{update:"update"}),(e()(),Kl(143,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),as(-1,null,["18. search starts with 3 chars"])),(e()(),Kl(145,0,null,null,1,"select2",[["id","selec2-18"],["minCharForSearch","3"]],[[8,"id",0],[1,"aria-invalid",0],[2,"material",null],[2,"nostyle",null],[2,"select2-above",null]],[[null,"update"]],function(e,t,n){var r=!0;return"update"===t&&(r=!1!==e.component.update18(n)&&r),r},Fp,Ep)),ja(146,4702208,null,0,xp,[Si,[2,qd],[2,ep],[8,null],[8,null]],{data:[0,"data"],minCharForSearch:[1,"minCharForSearch"],id:[2,"id"],value:[3,"value"]},{update:"update"}),(e()(),Kl(147,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),as(148,null,["19. dropdown list position above (",")"])),(e()(),Kl(149,0,null,null,1,"select2",[["id","selec2-19"],["listPosition","above"]],[[8,"id",0],[1,"aria-invalid",0],[2,"material",null],[2,"nostyle",null],[2,"select2-above",null]],[[null,"update"]],function(e,t,n){var r=!0;return"update"===t&&(r=!1!==e.component.update19(n)&&r),r},Fp,Ep)),ja(150,4702208,null,0,xp,[Si,[2,qd],[2,ep],[8,null],[8,null]],{data:[0,"data"],listPosition:[1,"listPosition"],id:[2,"id"],value:[3,"value"]},{update:"update"}),(e()(),Kl(151,0,null,null,4,"div",[["class","noStyle"]],null,null,null,null,null)),(e()(),Kl(152,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),as(153,null,["20. nostyle (",")"])),(e()(),Kl(154,0,null,null,1,"select2",[["id","selec2-20"],["listPosition","above"],["noStyle",""]],[[8,"id",0],[1,"aria-invalid",0],[2,"material",null],[2,"nostyle",null],[2,"select2-above",null]],[[null,"update"]],function(e,t,n){var r=!0;return"update"===t&&(r=!1!==e.component.update20(n)&&r),r},Fp,Ep)),ja(155,4702208,null,0,xp,[Si,[2,qd],[2,ep],[8,null],[8,null]],{data:[0,"data"],listPosition:[1,"listPosition"],noStyle:[2,"noStyle"],id:[3,"id"],value:[4,"value"]},{update:"update"}),(e()(),Kl(156,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),as(157,null,["21. update to empty/null/undefined (",")"])),(e()(),Kl(158,0,null,null,1,"select2",[["id","selec2-21"],["listPosition","above"]],[[8,"id",0],[1,"aria-invalid",0],[2,"material",null],[2,"nostyle",null],[2,"select2-above",null]],[[null,"update"]],function(e,t,n){var r=!0;return"update"===t&&(r=!1!==e.component.update21(n)&&r),r},Fp,Ep)),ja(159,4702208,null,0,xp,[Si,[2,qd],[2,ep],[8,null],[8,null]],{data:[0,"data"],listPosition:[1,"listPosition"],id:[2,"id"],value:[3,"value"]},{update:"update"}),(e()(),Kl(160,0,null,null,1,"button",[],null,[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==(e.component.value21="")&&r),r},null,null)),(e()(),as(-1,null,["Update value to empty string"])),(e()(),Kl(162,0,null,null,1,"button",[],null,[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==(e.component.value21=null)&&r),r},null,null)),(e()(),as(-1,null,["Update value to null"])),(e()(),Kl(164,0,null,null,1,"button",[],null,[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==(e.component.value21=void 0)&&r),r},null,null)),(e()(),as(-1,null,["Update value to undefined"])),(e()(),Kl(166,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),as(167,null,["22. with item classes and id (",")"])),(e()(),Kl(168,0,null,null,1,"select2",[["class","flower-list"],["id","selec2-22"],["listPosition","above"]],[[8,"id",0],[1,"aria-invalid",0],[2,"material",null],[2,"nostyle",null],[2,"select2-above",null]],[[null,"update"]],function(e,t,n){var r=!0;return"update"===t&&(r=!1!==e.component.update22(n)&&r),r},Fp,Ep)),ja(169,4702208,null,0,xp,[Si,[2,qd],[2,ep],[8,null],[8,null]],{data:[0,"data"],listPosition:[1,"listPosition"],id:[2,"id"],value:[3,"value"]},{update:"update"})],function(e,t){var n=t.component;e(t,6,0,n.data1,"selec2-1",n.value1),e(t,10,0,n.data2,"selec2-2",n.value2),e(t,14,0,n.data3,"selec2-3",n.value3),e(t,18,0,n.data4,"selec2-4",!0,n.value4),e(t,23,0,n.ctrlForm2),e(t,27,0,"test5"),e(t,30,0,n.data5,n.minCountForSearch,"selec2-5"),e(t,55,0,n.data6,Pa(t,35).value,Pa(t,33).value,"selec2-6",n.value6),e(t,59,0,n.data7,"select an item","selec2-7"),e(t,63,0,n.data8,"true","selec2-8"),e(t,73,0,n.limitSelection),e(t,79,0,n.data9,"true",n.limitSelection,"selec2-9",n.value9),e(t,84,0,n.data10,"true","selec2-10","true",n.value10),e(t,89,0,n.ctrlForm),e(t,93,0,"test11",n.value11),e(t,96,0,n.data11,"Select a state","","selec2-11"),e(t,104,0,n.data12,"","selec2-12",n.value12),e(t,108,0,n.data13,"selec2-13",n.value13),e(t,113,0,n.fg),e(t,117,0,"state"),e(t,120,0,n.data9,"true","selec2-10"),e(t,128,0,n.data15,"selec2-15",n.value15),e(t,135,0,n.data16,"selec2-16","",n.value16),e(t,142,0,n.data17,"select2-17",n.value17),e(t,146,0,n.data18,"3","selec2-18",n.value18),e(t,150,0,n.data19,"above","selec2-19",n.value19),e(t,155,0,n.data20,"above","","selec2-20",n.value20),e(t,159,0,n.data21,"above","selec2-21",n.value21),e(t,169,0,n.data22,"above","selec2-22",n.value22)},function(e,t){var n=t.component;e(t,4,0,n.value1),e(t,5,0,Pa(t,6).id,Pa(t,6).ariaInvalid,Pa(t,6).classMaterial,Pa(t,6).classNostyle,Pa(t,6).select2above),e(t,8,0,n.value2),e(t,9,0,Pa(t,10).id,Pa(t,10).ariaInvalid,Pa(t,10).classMaterial,Pa(t,10).classNostyle,Pa(t,10).select2above),e(t,12,0,n.value3),e(t,13,0,Pa(t,14).id,Pa(t,14).ariaInvalid,Pa(t,14).classMaterial,Pa(t,14).classNostyle,Pa(t,14).select2above),e(t,16,0,n.value4),e(t,17,0,Pa(t,18).id,Pa(t,18).ariaInvalid,Pa(t,18).classMaterial,Pa(t,18).classNostyle,Pa(t,18).select2above),e(t,20,0,n.value5),e(t,21,0,Pa(t,25).ngClassUntouched,Pa(t,25).ngClassTouched,Pa(t,25).ngClassPristine,Pa(t,25).ngClassDirty,Pa(t,25).ngClassValid,Pa(t,25).ngClassInvalid,Pa(t,25).ngClassPending),e(t,26,1,[Pa(t,29).ngClassUntouched,Pa(t,29).ngClassTouched,Pa(t,29).ngClassPristine,Pa(t,29).ngClassDirty,Pa(t,29).ngClassValid,Pa(t,29).ngClassInvalid,Pa(t,29).ngClassPending,Pa(t,30).id,Pa(t,30).ariaInvalid,Pa(t,30).classMaterial,Pa(t,30).classNostyle,Pa(t,30).select2above]),e(t,48,0,n.value6),e(t,54,0,Pa(t,55).id,Pa(t,55).ariaInvalid,Pa(t,55).classMaterial,Pa(t,55).classNostyle,Pa(t,55).select2above),e(t,57,0,n.value7),e(t,58,0,Pa(t,59).id,Pa(t,59).ariaInvalid,Pa(t,59).classMaterial,Pa(t,59).classNostyle,Pa(t,59).select2above),e(t,61,0,n.value8),e(t,62,0,Pa(t,63).id,Pa(t,63).ariaInvalid,Pa(t,63).classMaterial,Pa(t,63).classNostyle,Pa(t,63).select2above),e(t,66,0,n.value8),e(t,69,0,Pa(t,75).ngClassUntouched,Pa(t,75).ngClassTouched,Pa(t,75).ngClassPristine,Pa(t,75).ngClassDirty,Pa(t,75).ngClassValid,Pa(t,75).ngClassInvalid,Pa(t,75).ngClassPending),e(t,76,0,ml(t,76,0,Pa(t,77).transform(n.value9))),e(t,78,0,Pa(t,79).id,Pa(t,79).ariaInvalid,Pa(t,79).classMaterial,Pa(t,79).classNostyle,Pa(t,79).select2above),e(t,81,0,ml(t,81,0,Pa(t,82).transform(n.value10))),e(t,83,0,Pa(t,84).id,Pa(t,84).ariaInvalid,Pa(t,84).classMaterial,Pa(t,84).classNostyle,Pa(t,84).select2above),e(t,86,0,n.value11),e(t,87,0,Pa(t,91).ngClassUntouched,Pa(t,91).ngClassTouched,Pa(t,91).ngClassPristine,Pa(t,91).ngClassDirty,Pa(t,91).ngClassValid,Pa(t,91).ngClassInvalid,Pa(t,91).ngClassPending),e(t,92,1,[Pa(t,95).ngClassUntouched,Pa(t,95).ngClassTouched,Pa(t,95).ngClassPristine,Pa(t,95).ngClassDirty,Pa(t,95).ngClassValid,Pa(t,95).ngClassInvalid,Pa(t,95).ngClassPending,Pa(t,96).id,Pa(t,96).ariaInvalid,Pa(t,96).classMaterial,Pa(t,96).classNostyle,Pa(t,96).select2above]),e(t,102,0,n.value12),e(t,103,0,Pa(t,104).id,Pa(t,104).ariaInvalid,Pa(t,104).classMaterial,Pa(t,104).classNostyle,Pa(t,104).select2above),e(t,106,0,n.value13),e(t,107,0,Pa(t,108).id,Pa(t,108).ariaInvalid,Pa(t,108).classMaterial,Pa(t,108).classNostyle,Pa(t,108).select2above),e(t,111,0,Pa(t,115).ngClassUntouched,Pa(t,115).ngClassTouched,Pa(t,115).ngClassPristine,Pa(t,115).ngClassDirty,Pa(t,115).ngClassValid,Pa(t,115).ngClassInvalid,Pa(t,115).ngClassPending),e(t,116,1,[Pa(t,119).ngClassUntouched,Pa(t,119).ngClassTouched,Pa(t,119).ngClassPristine,Pa(t,119).ngClassDirty,Pa(t,119).ngClassValid,Pa(t,119).ngClassInvalid,Pa(t,119).ngClassPending,Pa(t,120).id,Pa(t,120).ariaInvalid,Pa(t,120).classMaterial,Pa(t,120).classNostyle,Pa(t,120).select2above]),e(t,126,0,n.value15),e(t,127,0,Pa(t,128).id,Pa(t,128).ariaInvalid,Pa(t,128).classMaterial,Pa(t,128).classNostyle,Pa(t,128).select2above),e(t,133,0,n.value16),e(t,134,0,Pa(t,135).id,Pa(t,135).ariaInvalid,Pa(t,135).classMaterial,Pa(t,135).classNostyle,Pa(t,135).select2above),e(t,140,0,n.value17),e(t,141,0,Pa(t,142).id,Pa(t,142).ariaInvalid,Pa(t,142).classMaterial,Pa(t,142).classNostyle,Pa(t,142).select2above),e(t,145,0,Pa(t,146).id,Pa(t,146).ariaInvalid,Pa(t,146).classMaterial,Pa(t,146).classNostyle,Pa(t,146).select2above),e(t,148,0,n.value19),e(t,149,0,Pa(t,150).id,Pa(t,150).ariaInvalid,Pa(t,150).classMaterial,Pa(t,150).classNostyle,Pa(t,150).select2above),e(t,153,0,n.value20),e(t,154,0,Pa(t,155).id,Pa(t,155).ariaInvalid,Pa(t,155).classMaterial,Pa(t,155).classNostyle,Pa(t,155).select2above),e(t,157,0,n.value21),e(t,158,0,Pa(t,159).id,Pa(t,159).ariaInvalid,Pa(t,159).classMaterial,Pa(t,159).classNostyle,Pa(t,159).select2above),e(t,167,0,n.value22),e(t,168,0,Pa(t,169).id,Pa(t,169).ariaInvalid,Pa(t,169).classMaterial,Pa(t,169).classNostyle,Pa(t,169).select2above)})}function zp(e){return cs(0,[(e()(),Kl(0,0,null,null,1,"app-root",[],null,null,null,Up,Bp)),ja(1,49152,null,0,bp,[ip],null,null)],null,null)}var Gp=fa("app-root",bp,zp,{},{},[]),Zp=function(){return function(){}}(),Wp=vu(yu,[bp],function(e){return function(e){for(var t={},n=[],r=!1,o=0;o=0;a--)(o=e[a])&&(l=(i<3?o(l):i>3?o(t,n,l):o(t,n))||l);return i>3&&l&&Object.defineProperty(t,n,l),l}function a(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function s(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function u(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),l=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)l.push(r.value)}catch(a){o={error:a}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return l}function c(){for(var e=[],t=0;t0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(Z);function Q(){return function(e){return e.lift(new K(e))}}var K=function(){function e(e){this.connectable=e}return e.prototype.call=function(e,t){var n=this.connectable;n._refCount++;var r=new J(e,n),o=t.subscribe(r);return r.closed||(r.connection=n.connect()),o},e}(),J=function(e){function t(t,n){var r=e.call(this,t)||this;return r.connectable=n,r}return o(t,e),t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},t}(C),$=function(e){function t(t,n){var r=e.call(this)||this;return r.source=t,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return o(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 v).add(this.source.subscribe(new X(this.getSubject(),this))),e.closed&&(this._connection=null,e=v.EMPTY)),e},t.prototype.refCount=function(){return Q()(this)},t}(E),Y=function(){var e=$.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}}(),X=function(e){function t(t,n){var r=e.call(this,t)||this;return r.connectable=n,r}return o(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);function ee(){return new T}function te(e){for(var t in e)if(e[t]===te)return t;throw Error("Could not find renamed property on target object.")}var ne=te({ngComponentDef:te}),re=te({ngInjectableDef:te}),oe=te({ngInjectorDef:te}),ie=te({ngModuleDef:te}),le=te({__NG_ELEMENT_ID__:te});function ae(e){return{providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function se(e){return e&&e.hasOwnProperty(re)?e[re]:null}function ue(e){return e&&e.hasOwnProperty(oe)?e[oe]:null}var ce=function(){function e(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0!==t?ae({providedIn:t.providedIn||"root",factory:t.factory}):void 0}return e.prototype.toString=function(){return"InjectionToken "+this._desc},e}(),de="__parameters__";function pe(e,t,n){var r=function(e){return function(){for(var t=[],n=0;n=Be?n:n[Ie]}function rt(e){return null!==e.template}function ot(e){return e[We]}function it(e){var t=ot(e);return t?Array.isArray(t)?t:t.lView:null}function lt(e){return 32767&e}function at(e,t){for(var n=e>>16,r=t;n>0;)r=r[Le],n--;return r}var st=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(ve);function ut(e){for(var t=e[Te];t&&2===t.type;)t=(e=e[Le])[Te];return e}var ct,dt,pt,ft,ht=pe("Inject",function(e){return{token:e}}),vt=pe("Optional"),gt=pe("Self"),yt=pe("SkipSelf"),mt=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}({}),_t=void 0;function bt(e){var t=_t;return _t=e,t}function wt(e){var t=ct;return ct=e,t}function Ct(e,t){return void 0===t&&(t=mt.Default),(ct||function(e,t){if(void 0===t&&(t=mt.Default),void 0===_t)throw new Error("inject() must be called from an injection context");return null===_t?Ot(e,void 0,t):_t.get(e,t&mt.Optional?null:void 0,t)})(e,t)}function Ot(e,t,n){var r=se(e);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&mt.Optional)return null;if(void 0!==t)return t;throw new Error("Injector: NOT_FOUND ["+we(e)+"]")}function Pt(e){for(var t=[],n=0;n>16,c=o?a+u:e.directiveEnd,d=r?a:a+u;d=s&&p.type===n)return d}if(o){var f=l[s];if(f&&rt(f)&&f.type===n)return s}return null}(a,t,n,null==r?function(e){return 1==(1&e.flags)}(a)&&Zt:r!=l&&3===a.type,o&mt.Host&&i===a);return null!==s?en(l.data,t,s,a):Yt}function en(e,t,n,r){var o,i=t[n];if(null!=(o=i)&&"object"==typeof o&&Object.getPrototypeOf(o)==Ye){var l=i;if(l.resolving)throw new Error("Circular dep for "+Xe(e[n]));var a=Wt(l.canSeeViewProviders);l.resolving=!0;var s=void 0;l.injectImpl&&(s=wt(l.injectImpl));var u=Tt(),c=It();At(r,t);try{i=t[n]=l.factory(null,e,t,r)}finally{l.injectImpl&&wt(s),Wt(a),l.resolving=!1,At(u,c)}}return i}function tn(e,t,n){var r=64&e,o=32&e;return!!((128&e?r?o?n[t+7]:n[t+6]:o?n[t+5]:n[t+4]:r?o?n[t+3]:n[t+2]:o?n[t+1]:n[t])&1<=Be&&(n=e[Te])&&2===n.type?function(t,n){if(-1===t.index){var r=e[He];return r>-1?e[ke][r]:null}return e[ke][t.parent.index]}(n):e[ke]===t?null:e[ke]}function wn(e){if(e.length>=Be){var t=e;!function(e){var t,n=e[Ee];null!=n&&null!=(t=n.destroyHooks)&&St(e,t)}(t),(o=(r=t)[Ee]&&r[Ee].pipeDestroyHooks)&&St(r,o),function(e){var t=e[Ee].cleanup;if(null!=t){for(var n=e[Ae],r=0;r=0?n[l]():n[-l].unsubscribe(),r+=2}else"number"==typeof t[r]?(0,n[t[r]])():t[r].call(n[t[r+1]]);e[Ae]=null}}(t);var n=t[Te];n&&3===n.type&&vn(t[je])&&t[je].destroy()}var r,o}var Cn="@",On=Promise.resolve(null);function Pn(e){var t=e[Ee];if(t.firstTemplatePass=!1,Ut(!1),!Rt(e)){var n=Ft();(function(e,t,n){!n&&32&e[Me]&&(kt(e,t.initHooks,t.checkHooks,n),e[Me]&=-33)})(e,t,n),function(e){for(var t=_n(e);null!==t;t=t[Se])if(t.length ");else if("object"==typeof t){var o=[];for(var i in t)if(t.hasOwnProperty(i)){var l=t[i];o.push(i+":"+("string"==typeof l?JSON.stringify(l):we(l)))}r="{"+o.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+r+"]: "+e.replace(rr,"\n ")}function sr(e,t){return new Error(ar(e,t))}var ur=new ce("The presence of this token marks an injector as being the root injector."),cr={},dr={},pr=[],fr=void 0;function hr(){return void 0===fr&&(fr=new Qn),fr}var vr=function(){function e(e,t,n){var r=this;this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this.destroyed=!1;var o=[];mr([e],function(e){return r.processInjectorType(e,[],o)}),t&&mr(t,function(n){return r.processProvider(n,e,t)}),this.records.set(qn,yr(void 0,this)),this.isRootInjector=this.records.has(ur),this.injectorDefTypes.forEach(function(e){return r.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=Wn),void 0===n&&(n=mt.Default),this.assertNotDestroyed();var r,o=bt(this);try{if(!(n&mt.SkipSelf)){var i=this.records.get(e);if(void 0===i){var l=("function"==typeof(r=e)||"object"==typeof r&&r instanceof ce)&&se(e);l&&this.injectableDefInScope(l)&&(i=yr(gr(e),cr),this.records.set(e,i))}if(void 0!==i)return this.hydrate(e,i)}return(n&mt.Self?hr():this.parent).get(e,t)}finally{bt(o)}},e.prototype.assertNotDestroyed=function(){if(this.destroyed)throw new Error("Injector has already been destroyed.")},e.prototype.processInjectorType=function(e,t,n){var r=this;if(e=Pe(e)){var o=ue(e),i=null==o&&e.ngModule||void 0,l=void 0===i?e:i,a=-1!==n.indexOf(l),s=void 0!==i&&e.providers||pr;if(void 0!==i&&(o=ue(i)),null!=o){if(this.injectorDefTypes.add(l),this.records.set(l,yr(o.factory,cr)),null!=o.imports&&!a){n.push(l);try{mr(o.imports,function(e){return r.processInjectorType(e,t,n)})}finally{}}var u=o.providers;if(null!=u&&!a){var c=e;mr(u,function(e){return r.processProvider(e,c,u)})}var d=e.ngModule;mr(s,function(e){return r.processProvider(e,d,s)})}}},e.prototype.processProvider=function(e,t,n){var r=br(e=Pe(e))?e:Pe(e&&e.provide),o=function(e,t,n){var r=function(e,t,n){var r,o=void 0;if(br(e))return gr(Pe(e));if(_r(e))o=function(){return Pe(e.useValue)};else if((r=e)&&r.useExisting)o=function(){return Ct(Pe(e.useExisting))};else if(e&&e.useFactory)o=function(){return e.useFactory.apply(e,c(Pt(e.deps||[])))};else{var i=Pe(e&&(e.useClass||e.provide));if(!i){var l="";throw t&&n&&(l=" - only instances of Provider and Type are allowed, got: ["+n.map(function(t){return t==e?"?"+e+"?":"..."}).join(", ")+"]"),new Error("Invalid provider for the NgModule '"+we(t)+"'"+l)}if(!e.deps)return gr(i);o=function(){return new(i.bind.apply(i,c([void 0],Pt(e.deps))))}}return o}(e,t,n);return _r(e)?yr(void 0,e.useValue):yr(r,cr)}(e,t,n);if(br(e)||!0!==e.multi){var i=this.records.get(r);if(i&&void 0!==i.multi)throw new Error("Mixed multi-provider for "+we(r))}else{var l=this.records.get(r);if(l){if(void 0===l.multi)throw new Error("Mixed multi-provider for "+r+".")}else(l=yr(void 0,cr,!0)).factory=function(){return Pt(l.multi)},this.records.set(r,l);r=e,l.multi.push(e)}this.records.set(r,o)},e.prototype.hydrate=function(e,t){if(t.value===dr)throw new Error("Cannot instantiate cyclic dependency! "+we(e));var n;return t.value===cr&&(t.value=dr,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 gr(e){var t=se(e);if(null===t){var n=ue(e);if(null!==n)return n.factory;if(e instanceof ce)throw new Error("Token "+we(e)+" is missing an ngInjectableDef definition.");if(e instanceof Function){var r=e.length;if(r>0){var o=new Array(r).fill("?");throw new Error("Can't resolve all parameters for "+we(e)+": ("+o.join(", ")+").")}return function(){return new e}}throw new Error("unreachable")}return t.factory}function yr(e,t,n){return void 0===n&&(n=!1),{factory:e,value:t,multi:n?[]:void 0}}function mr(e,t){e.forEach(function(e){return Array.isArray(e)?mr(e,t):t(e)})}function _r(e){return e&&"object"==typeof e&&tr in e}function br(e){return"function"==typeof e}var wr=function(){return function(){}}(),Cr=function(){return function(){}}();function Or(e){var t=Error("No component factory found for "+we(e)+". Did you add it to @NgModule.entryComponents?");return t[xr]=e,t}var Pr,xr="ngComponent",Er=function(){function e(){}return e.prototype.resolveComponentFactory=function(e){throw Or(e)},e}(),Mr=function(){function e(){}return e.NULL=new Er,e}(),kr=function(){function e(e,t,n){this._parent=t,this._ngModule=n,this._factories=new Map;for(var r=0;r-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}var t,n;vn(n=(t=this._lView)[je])&&n.destroyNode&&function(e,n,r,o,i){for(var l=t[Ee].node,a=-1,s=t,u=l.child;u;){var c=null;if(3===u.type){mn(2,r,null,tt(u,s),i);var d=s[u.index];v=d,Array.isArray(v)&&v.length===Ze&&mn(2,r,null,d[Ge],i)}else if(0===u.type){var p=s[u.index];mn(2,r,null,p[Ge],i),p[ze].length&&(c=(s=p[ze][0])[Ee].node,i=p[Ge])}else if(1===u.type){var f=ut(s),h=f[Te].projection[u.projection];yn[++a]=u,yn[++a]=s,h&&(c=(s=f[ke])[Ee].data[h.index])}else c=u.child;if(null===c)for(null===u.next&&2&u.flags&&(s=yn[a--],u=yn[a--]),c=u.next;!c;){if(null===(u=u.parent||s[Ee].node)||u===l)return null;0===u.type&&(i=(s=s[ke])[u.index][Ge]),c=2===u.type&&s[Se]?(s=s[Se])[Ee].node:u.next}u=c}var v}(0,0,n),function(e){if(-1===e[Ee].childIndex)return wn(e);for(var t=_n(e);t;){var n=null;if(t.length>=Be?t[Ee].childIndex>-1&&(n=_n(t)):t[ze].length&&(n=t[ze][0]),null==n){for(;t&&!t[Se]&&t!==e;)wn(t),t=bn(t,e);wn(t||e),n=t&&t[Se]}t=n}}(t),t[Me]|=64},e.prototype.onDestroy=function(e){var t,n;n=e,function(e){return e[Ae]||(e[Ae]=[])}(t=this._lView).push(n),t[Ee].firstTemplatePass&&function(e){return e[Ee].cleanup||(e[Ee].cleanup=[])}(t).push(t[Ae].length-1,null)},e.prototype.markForCheck=function(){!function(e){for(;e&&!(128&e[Me]);)e[Me]|=8,e=e[ke];var t,n,r;e[Me]|=8,r=0===(t=e[Ve]).flags,t.flags|=1,r&&t.clean==On&&(t.clean=new Promise(function(e){return n=e}),t.scheduler(function(){if(1&t.flags&&(t.flags&=-2,Vn(t)),2&t.flags){t.flags&=-3;var e=t.playerHandler;e&&e.flushPlayers()}t.clean=On,n(null)}))}(this._lView)},e.prototype.detach=function(){this._lView[Me]&=-17},e.prototype.reattach=function(){this._lView[Me]|=16},e.prototype.detectChanges=function(){Dn(this._lView,this.context)},e.prototype.checkNoChanges=function(){!function(e){Ht(!0);try{!function(e){Dn(function(e){var t,n=ot(e);if(Array.isArray(n)){var r=function(e,t){var n=e[Ee].components;if(n)for(var r=0;r',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='

',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=""+e+"";try{e=encodeURI(e)}catch(r){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);var n=t.response.body;return n.removeChild(n.firstChild),n},e.prototype.getInertBodyElement_DOMParser=function(e){e=""+e+"";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"),!0},e.prototype.endElement=function(e){var t=e.nodeName.toLowerCase();co.hasOwnProperty(t)&&!lo.hasOwnProperty(t)&&(this.buf.push(""))},e.prototype.chars=function(e){this.buf.push(_o(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}(),yo=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,mo=/([^\#-~ |!])/g;function _o(e){return e.replace(/&/g,"&").replace(yo,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(mo,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}function bo(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var wo={provide:Mr,useClass:zr,deps:[Ir]},Co=function(e){function t(t,n){var r=e.call(this)||this;r._parent=n,r._bootstrapComponents=[],r.injector=r,r.destroyCbs=[];var o=function(e,n){var r=t[ie]||null;return r}();return r._bootstrapComponents=o.bootstrap,r._r3Injector=function(e,t,n){return void 0===t&&(t=null),void 0===n&&(n=null),t=t||hr(),new vr(e,n,t)}(t,n,[{provide:Ir,useValue:r},wo]),r.instance=r.get(t),r}return o(t,e),t.prototype.get=function(e,t,n){return void 0===t&&(t=Kn.THROW_IF_NOT_FOUND),void 0===n&&(n=mt.Default),e===Kn||e===Ir||e===qn?this:this._r3Injector.get(e,t,n)},Object.defineProperty(t.prototype,"componentFactoryResolver",{get:function(){return this.get(Mr)},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}(Ir);!function(e){function t(t){var n=e.call(this)||this;return n.moduleType=t,n}o(t,e),t.prototype.create=function(e){return new Co(this.moduleType,e)}}(Tr);var Oo=function(e){function t(t){void 0===t&&(t=!1);var n=e.call(this)||this;return n.__isAsync=t,n}return o(t,e),t.prototype.emit=function(t){e.prototype.next.call(this,t)},t.prototype.subscribe=function(t,n,r){var o,i=function(e){return null},l=function(){return null};t&&"object"==typeof t?(o=this.__isAsync?function(e){setTimeout(function(){return t.next(e)})}:function(e){t.next(e)},t.error&&(i=this.__isAsync?function(e){setTimeout(function(){return t.error(e)})}:function(e){t.error(e)}),t.complete&&(l=this.__isAsync?function(){setTimeout(function(){return t.complete()})}:function(){t.complete()})):(o=this.__isAsync?function(e){setTimeout(function(){return t(e)})}:function(e){t(e)},n&&(i=this.__isAsync?function(e){setTimeout(function(){return n(e)})}:function(e){n(e)}),r&&(l=this.__isAsync?function(){setTimeout(function(){return r()})}:function(){r()}));var a=e.prototype.subscribe.call(this,o,i,l);return t instanceof v&&t.add(a),a},t}(T),Po=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return xo(e,Ar)},e}(),xo=zn,Eo=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"),Mo=/^url\(([^)]+)\)$/,ko="ngDebugContext",So="ngOriginalError",Io="ngErrorLogger";function To(e){return e[ko]}function No(e){return e[So]}function Ao(e){for(var t=[],n=1;n0&&(o=setTimeout(function(){r._callbacks=r._callbacks.filter(function(e){return e.timeoutId!==o}),e(r._didWork,r.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:o,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}(),vi=function(){function e(){this._applications=new Map,gi.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),gi.findTestabilityInTree(this,e,t)},l([a("design:paramtypes",[])],e)}(),gi=new(function(){function e(){}return e.prototype.addToWindow=function(e){},e.prototype.findTestabilityInTree=function(e,t,n){return null},e}()),yi=new ce("AllowMultipleToken"),mi=function(){return function(e,t){this.name=e,this.token=t}}();function _i(e,t,n){void 0===n&&(n=[]);var r="Platform: "+t,o=new ce(r);return function(t){void 0===t&&(t=[]);var i=bi();if(!i||i.injector.get(yi,!1))if(e)e(n.concat(t).concat({provide:o,useValue:!0}));else{var l=n.concat(t).concat({provide:o,useValue:!0});!function(e){if(pi&&!pi.destroyed&&!pi.injector.get(yi,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");pi=e.get(wi);var t=e.get(Uo,null);t&&t.forEach(function(e){return e()})}(Kn.create({providers:l,name:r}))}return function(e){var t=bi();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}(o)}}function bi(){return pi&&!pi.destroyed?pi:null}var wi=function(){function e(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return e.prototype.bootstrapModuleFactory=function(e,t){var n,r=this,o="noop"===(n=t?t.ngZone:void 0)?new fi:("zone.js"===n?void 0:n)||new li({enableLongStackTrace:Yr()}),i=[{provide:li,useValue:o}];return o.run(function(){var t=Kn.create({providers:i,parent:r.injector,name:e.moduleType.name}),n=e.create(t),l=n.injector.get(Vo,null);if(!l)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy(function(){return Pi(r._modules,n)}),o.runOutsideAngular(function(){return o.onError.subscribe({next:function(e){l.handleError(e)}})}),function(e,t,o){try{var i=((l=n.injector.get(Fo)).runInitializers(),l.donePromise.then(function(){return r._moduleDoBootstrap(n),n}));return Do(i)?i.catch(function(n){throw t.runOutsideAngular(function(){return e.handleError(n)}),n}):i}catch(a){throw t.runOutsideAngular(function(){return e.handleError(a)}),a}var l}(l,o)})},e.prototype.bootstrapModule=function(e,t){var n=this;void 0===t&&(t=[]);var r=Ci({},t);return function(e,t,n){return e.get(ei).createCompiler([t]).compileModuleAsync(n)}(this.injector,r,e).then(function(e){return n.bootstrapModuleFactory(e,r)})},e.prototype._moduleDoBootstrap=function(e){var t=e.injector.get(Oi);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module "+we(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 Ci(e,t){return Array.isArray(t)?t.reduce(Ci,e):i({},e,t)}var Oi=function(){function e(e,t,n,r,o,i){var l=this;this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=o,this._initStatus=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Yr(),this._zone.onMicrotaskEmpty.subscribe({next:function(){l._zone.run(function(){l.tick()})}});var a=new E(function(e){l._stable=l._zone.isStable&&!l._zone.hasPendingMacrotasks&&!l._zone.hasPendingMicrotasks,l._zone.runOutsideAngular(function(){e.next(l._stable),e.complete()})}),s=new E(function(e){var t;l._zone.runOutsideAngular(function(){t=l._zone.onStable.subscribe(function(){li.assertNotInAngularZone(),_e(function(){l._stable||l._zone.hasPendingMacrotasks||l._zone.hasPendingMicrotasks||(l._stable=!0,e.next(!0))})})});var n=l._zone.onUnstable.subscribe(function(){li.assertInAngularZone(),l._stable&&(l._stable=!1,l._zone.runOutsideAngular(function(){e.next(!1)}))});return function(){t.unsubscribe(),n.unsubscribe()}});this.isStable=function(){for(var e=[],t=0;t1&&"number"==typeof e[e.length-1]&&(r=e.pop())):"number"==typeof i&&(r=e.pop()),null===o&&1===e.length&&e[0]instanceof E?e[0]:function(e){return void 0===e&&(e=Number.POSITIVE_INFINITY),function e(t,n,r){return void 0===r&&(r=Number.POSITIVE_INFINITY),"function"==typeof n?function(o){return o.pipe(e(function(e,r){return z(t(e,r)).pipe(A(function(t,o){return n(e,t,r,o)}))},r))}:("number"==typeof n&&(r=n),function(e){return e.lift(new W(t,r))})}(x,e)}(r)(function(e,t){return t?U(e,t):new E(R(e))}(e,o))}(a,s.pipe(function(e){return Q()((t=ee,function(e){var n;n="function"==typeof t?t:function(){return t};var r=Object.create(e,Y);return r.source=e,r.subjectFactory=n,r})(e));var t}))}var t;return t=e,e.prototype.bootstrap=function(e,t){var n,r=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=e instanceof Cr?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var o=n instanceof Sr?null:this._injector.get(Ir),i=n.create(Kn.NULL,[],t||n.selector,o);i.onDestroy(function(){r._unloadComponent(i)});var l=i.injector.get(hi,null);return l&&i.injector.get(vi).registerApplication(i.location.nativeElement,l),this._loadComponent(i),Yr()&&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(r){this._zone.runOutsideAngular(function(){return e._exceptionHandler.handleError(r)})}finally{this._runningTick=!1,ii(n)}},e.prototype.attachView=function(e){var t=e;this._views.push(t),t.attachToAppRef(this)},e.prototype.detachView=function(e){var t=e;Pi(this._views,t),t.detachFromAppRef()},e.prototype._loadComponent=function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Go,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})},e.prototype._unloadComponent=function(e){this.detachView(e.hostView),Pi(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=oi("ApplicationRef#tick()"),e}();function Pi(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var xi,Ei=function(){function e(){this.dirty=!0,this._results=[],this.changes=new Oo,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[me()]=function(){return this._results[me()]()},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 r=Array.isArray(n)?e(n):n;return t.concat(r)},[])}(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}(),Mi=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return ki(e,Ar)},e}(),ki=zn,Si=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return Ii()},e}(),Ii=function(){for(var e=[],t=0;t-1}(r)||"root"===o.providedIn&&r._def.isRoot))){var c=e._providers.length;return e._def.providersByKey[t.tokenKey]={flags:5120,value:a.factory,deps:[],index:c,token:t.token},e._providers[c]=ea,e._providers[c]=la(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{bt(i)}}function la(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(ia(e,n[0]));case 2:return new t(ia(e,n[0]),ia(e,n[1]));case 3:return new t(ia(e,n[0]),ia(e,n[1]),ia(e,n[2]));default:for(var o=new Array(r),i=0;i=n.length)&&(t=n.length-1),t<0)return null;var r=n[t];return r.viewContainerParent=null,da(n,t),dl.dirtyParentQueries(r),ua(r),r}function sa(e,t,n){var r=t?Tl(t,t.def.lastRenderRootNode):e.renderElement,o=n.renderer.parentNode(r),i=n.renderer.nextSibling(r);Ll(n,2,o,i,void 0)}function ua(e){Ll(e,3,null,null,void 0)}function ca(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function da(e,t){t>=e.length-1?e.pop():e.splice(t,1)}var pa=new Object;function fa(e,t,n,r,o,i){return new ha(e,t,n,r,o,i)}var ha=function(e){function t(t,n,r,o,i,l){var a=e.call(this)||this;return a.selector=t,a.componentType=n,a._inputs=o,a._outputs=i,a.ngContentSelectors=l,a.viewDefFactory=r,a}return o(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,r){if(!r)throw new Error("ngModule should be provided");var o=Hl(this.viewDefFactory),i=o.nodes[0].element.componentProvider.nodeIndex,l=dl.createRootView(e,t||[],n,o,r,pa),a=sl(l,i).instance;return n&&l.renderer.setAttribute(al(l,0).renderElement,"ng-version",Ur.full),new va(l,new _a(l),a)},t}(Cr),va=function(e){function t(t,n,r){var o=e.call(this)||this;return o._view=t,o._viewRef=n,o._component=r,o._elDef=o._view.def.nodes[0],o.hostView=n,o.changeDetectorRef=n,o.instance=r,o}return o(t,e),Object.defineProperty(t.prototype,"location",{get:function(){return new Ar(al(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new Oa(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}(wr);function ga(e,t,n){return new ya(e,t,n)}var ya=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 Ar(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new Oa(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=Il(e),e=e.parent;return e?new Oa(e,t):new Oa(this._view,null)},enumerable:!0,configurable:!0}),e.prototype.clear=function(){for(var e=this._embeddedViews.length-1;e>=0;e--){var t=aa(this._data,e);dl.destroyView(t)}},e.prototype.get=function(e){var t=this._embeddedViews[e];if(t){var n=new _a(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 r=e.createEmbeddedView(t||{});return this.insert(r,n),r},e.prototype.createComponent=function(e,t,n,r,o){var i=n||this.parentInjector;o||e instanceof Sr||(o=i.get(Ir));var l=e.create(i,r,void 0,o);return this.insert(l.hostView,t),l},e.prototype.insert=function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,r,o,i,l=e;return i=(n=this._data).viewContainer._embeddedViews,null==(r=t)&&(r=i.length),(o=l._view).viewContainerParent=this._view,ca(i,r,o),function(e,t){var n=Sl(t);if(n&&n!==e&&!(16&t.state)){t.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(t),function(e,n){if(!(4&n.flags)){t.parent.def.nodeFlags|=4,n.flags|=4;for(var r=n.parent;r;)r.childFlags|=4,r=r.parent}}(0,t.parentNodeDef)}}(n,o),dl.dirtyParentQueries(o),sa(n,r>0?i[r-1]:null,o),l.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,r,o,i,l,a=this._embeddedViews.indexOf(e._view);return o=t,l=(i=(n=this._data).viewContainer._embeddedViews)[r=a],da(i,r),null==o&&(o=i.length),ca(i,o,l),dl.dirtyParentQueries(l),ua(l),sa(n,o>0?i[o-1]:null,l),e},e.prototype.indexOf=function(e){return this._embeddedViews.indexOf(e._view)},e.prototype.remove=function(e){var t=aa(this._data,e);t&&dl.destroyView(t)},e.prototype.detach=function(e){var t=aa(this._data,e);return t?new _a(t):null},e}();function ma(e){return new _a(e)}var _a=function(){function e(e){this._view=e,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(e.prototype,"rootNodes",{get:function(){return Ll(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(){El(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{dl.checkAndUpdateView(this._view)}finally{e.end&&e.end()}},e.prototype.checkNoChanges=function(){dl.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)),dl.destroyView(this._view)},e.prototype.detachFromAppRef=function(){this._appRef=null,ua(this._view),dl.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 ba(e,t){return new wa(e,t)}var wa=function(e){function t(t,n){var r=e.call(this)||this;return r._parentView=t,r._def=n,r}return o(t,e),t.prototype.createEmbeddedView=function(e){return new _a(dl.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))},Object.defineProperty(t.prototype,"elementRef",{get:function(){return new Ar(al(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),t}(Po);function Ca(e,t){return new Oa(e,t)}var Oa=function(){function e(e,t){this.view=e,this.elDef=t}return e.prototype.get=function(e,t){return void 0===t&&(t=Kn.THROW_IF_NOT_FOUND),dl.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:yl(e)},t)},e}();function Pa(e,t){var n=e.def.nodes[t];if(1&n.flags){var r=al(e,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return ll(e,n.nodeIndex).renderText;if(20240&n.flags)return sl(e,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+t)}function xa(e){return new Ea(e.renderer)}var Ea=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=u(Wl(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;n0,t.provider.value,t.provider.deps);if(t.outputs.length)for(var r=0;r0,r=t.provider;switch(201347067&t.flags){case 512:return Wa(e,t.parent,n,r.value,r.deps);case 1024:return function(e,t,n,r,o){var i=o.length;switch(i){case 0:return r();case 1:return r(Qa(e,t,n,o[0]));case 2:return r(Qa(e,t,n,o[0]),Qa(e,t,n,o[1]));case 3:return r(Qa(e,t,n,o[0]),Qa(e,t,n,o[1]),Qa(e,t,n,o[2]));default:for(var l=Array(i),a=0;a0)u=v,ds(v)||(c=v);else for(;u&&h===u.nodeIndex+u.childCount;){var m=u.parent;m&&(m.childFlags|=u.childFlags,m.childMatchedQueries|=u.childMatchedQueries),c=(u=m)&&ds(u)?u.renderParent:u}}return{factory:null,nodeFlags:l,rootNodeFlags:a,nodeMatchedQueries:s,flags:e,nodes:t,updateDirectives:n||vl,updateRenderer:r||vl,handleEvent:function(e,n,r,o){return t[n].element.handleEvent(e,r,o)},bindingCount:o,outputCount:i,lastRenderRootNode:f}}function ds(e){return 0!=(1&e.flags)&&null===e.element.name}function ps(e,t,n){var r=t.element&&t.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+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 o=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=o&&t.nodeIndex+t.childCount>o)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+t.nodeIndex+"!")}}function fs(e,t,n,r){var o=gs(e.root,e.renderer,e,t,n);return ys(o,e.component,r),ms(o),o}function hs(e,t,n){var r=gs(e,e.renderer,null,null,t);return ys(r,n,n),ms(r),r}function vs(e,t,n,r){var o,i=t.element.componentRendererType;return o=i?e.root.rendererFactory.createRenderer(r,i):e.root.renderer,gs(e.root,o,e,t.element.componentProvider,n)}function gs(e,t,n,r,o){var i=new Array(o.nodes.length),l=o.outputCount?new Array(o.outputCount):null;return{def:o,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:i,state:13,root:e,renderer:t,oldValues:new Array(o.bindingCount),disposables:l,initIndex:-1}}function ys(e,t,n){e.component=t,e.context=n}function ms(e){var t;Nl(e)&&(t=al(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);for(var n=e.def,r=e.nodes,o=0;o0&&Xl(e,t,0,n)&&(f=!0),p>1&&Xl(e,t,1,r)&&(f=!0),p>2&&Xl(e,t,2,o)&&(f=!0),p>3&&Xl(e,t,3,i)&&(f=!0),p>4&&Xl(e,t,4,l)&&(f=!0),p>5&&Xl(e,t,5,a)&&(f=!0),p>6&&Xl(e,t,6,s)&&(f=!0),p>7&&Xl(e,t,7,u)&&(f=!0),p>8&&Xl(e,t,8,c)&&(f=!0),p>9&&Xl(e,t,9,d)&&(f=!0),f}(e,t,n,r,o,i,l,a,s,u,c,d);case 2:return function(e,t,n,r,o,i,l,a,s,u,c,d){var p=!1,f=t.bindings,h=f.length;if(h>0&&Pl(e,t,0,n)&&(p=!0),h>1&&Pl(e,t,1,r)&&(p=!0),h>2&&Pl(e,t,2,o)&&(p=!0),h>3&&Pl(e,t,3,i)&&(p=!0),h>4&&Pl(e,t,4,l)&&(p=!0),h>5&&Pl(e,t,5,a)&&(p=!0),h>6&&Pl(e,t,6,s)&&(p=!0),h>7&&Pl(e,t,7,u)&&(p=!0),h>8&&Pl(e,t,8,c)&&(p=!0),h>9&&Pl(e,t,9,d)&&(p=!0),p){var v=t.text.prefix;h>0&&(v+=us(n,f[0])),h>1&&(v+=us(r,f[1])),h>2&&(v+=us(o,f[2])),h>3&&(v+=us(i,f[3])),h>4&&(v+=us(l,f[4])),h>5&&(v+=us(a,f[5])),h>6&&(v+=us(s,f[6])),h>7&&(v+=us(u,f[7])),h>8&&(v+=us(c,f[8])),h>9&&(v+=us(d,f[9]));var g=ll(e,t.nodeIndex).renderText;e.renderer.setValue(g,v)}return p}(e,t,n,r,o,i,l,a,s,u,c,d);case 16384:return function(e,t,n,r,o,i,l,a,s,u,c,d){var p=sl(e,t.nodeIndex),f=p.instance,h=!1,v=void 0,g=t.bindings.length;return g>0&&Ol(e,t,0,n)&&(h=!0,v=Ja(e,p,t,0,n,v)),g>1&&Ol(e,t,1,r)&&(h=!0,v=Ja(e,p,t,1,r,v)),g>2&&Ol(e,t,2,o)&&(h=!0,v=Ja(e,p,t,2,o,v)),g>3&&Ol(e,t,3,i)&&(h=!0,v=Ja(e,p,t,3,i,v)),g>4&&Ol(e,t,4,l)&&(h=!0,v=Ja(e,p,t,4,l,v)),g>5&&Ol(e,t,5,a)&&(h=!0,v=Ja(e,p,t,5,a,v)),g>6&&Ol(e,t,6,s)&&(h=!0,v=Ja(e,p,t,6,s,v)),g>7&&Ol(e,t,7,u)&&(h=!0,v=Ja(e,p,t,7,u,v)),g>8&&Ol(e,t,8,c)&&(h=!0,v=Ja(e,p,t,8,c,v)),g>9&&Ol(e,t,9,d)&&(h=!0,v=Ja(e,p,t,9,d,v)),v&&f.ngOnChanges(v),65536&t.flags&&il(e,256,t.nodeIndex)&&f.ngOnInit(),262144&t.flags&&f.ngDoCheck(),h}(e,t,n,r,o,i,l,a,s,u,c,d);case 32:case 64:case 128:return function(e,t,n,r,o,i,l,a,s,u,c,d){var p=t.bindings,f=!1,h=p.length;if(h>0&&Pl(e,t,0,n)&&(f=!0),h>1&&Pl(e,t,1,r)&&(f=!0),h>2&&Pl(e,t,2,o)&&(f=!0),h>3&&Pl(e,t,3,i)&&(f=!0),h>4&&Pl(e,t,4,l)&&(f=!0),h>5&&Pl(e,t,5,a)&&(f=!0),h>6&&Pl(e,t,6,s)&&(f=!0),h>7&&Pl(e,t,7,u)&&(f=!0),h>8&&Pl(e,t,8,c)&&(f=!0),h>9&&Pl(e,t,9,d)&&(f=!0),f){var v=ul(e,t.nodeIndex),g=void 0;switch(201347067&t.flags){case 32:g=new Array(p.length),h>0&&(g[0]=n),h>1&&(g[1]=r),h>2&&(g[2]=o),h>3&&(g[3]=i),h>4&&(g[4]=l),h>5&&(g[5]=a),h>6&&(g[6]=s),h>7&&(g[7]=u),h>8&&(g[8]=c),h>9&&(g[9]=d);break;case 64:g={},h>0&&(g[p[0].name]=n),h>1&&(g[p[1].name]=r),h>2&&(g[p[2].name]=o),h>3&&(g[p[3].name]=i),h>4&&(g[p[4].name]=l),h>5&&(g[p[5].name]=a),h>6&&(g[p[6].name]=s),h>7&&(g[p[7].name]=u),h>8&&(g[p[8].name]=c),h>9&&(g[p[9].name]=d);break;case 128:var y=n;switch(h){case 1:g=y.transform(n);break;case 2:g=y.transform(r);break;case 3:g=y.transform(r,o);break;case 4:g=y.transform(r,o,i);break;case 5:g=y.transform(r,o,i,l);break;case 6:g=y.transform(r,o,i,l,a);break;case 7:g=y.transform(r,o,i,l,a,s);break;case 8:g=y.transform(r,o,i,l,a,s,u);break;case 9:g=y.transform(r,o,i,l,a,s,u,c);break;case 10:g=y.transform(r,o,i,l,a,s,u,c,d)}}v.value=g}return f}(e,t,n,r,o,i,l,a,s,u,c,d);default:throw"unreachable"}}(e,t,r,o,i,l,a,s,u,d,p,f):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){for(var r=!1,o=0;o0&&xl(e,t,0,n),p>1&&xl(e,t,1,r),p>2&&xl(e,t,2,o),p>3&&xl(e,t,3,i),p>4&&xl(e,t,4,l),p>5&&xl(e,t,5,a),p>6&&xl(e,t,6,s),p>7&&xl(e,t,7,u),p>8&&xl(e,t,8,c),p>9&&xl(e,t,9,d)}(e,t,r,o,i,l,a,s,u,c,d,p):function(e,t,n){for(var r=0;r0){var i=new Set(e.modules);Ls.forEach(function(t,r){if(i.has(se(r).providedIn)){var o={token:r,flags:t.flags|(n?4096:0),deps:Rl(t.deps),value:t.value,index:e.providers.length};e.providers.push(o),e.providersByKey[yl(r)]=o}})}}(e=e.factory(function(){return vl})),e):e}(r))}var Hs=new Map,Ls=new Map,Bs=new Map;function Us(e){var t;Hs.set(e.token,e),"function"==typeof e.token&&(t=se(e.token))&&"function"==typeof t.providedIn&&Ls.set(e.token,e)}function zs(e,t){var n=Hl(t.viewDefFactory),r=Hl(n.nodes[0].element.componentView);Bs.set(e,r)}function Gs(){Hs.clear(),Ls.clear(),Bs.clear()}function Zs(e){if(0===Hs.size)return e;var t=function(e){for(var t=[],n=null,r=0;r0},t.prototype.tagName=function(e){return e.tagName},t.prototype.attributeMap=function(e){for(var t=new Map,n=e.attributes,r=0;r0;l||(l=e[i]=[]);var s=Pc(t)?Zone.root:Zone.current;if(0===l.length)l.push({zone:s,handler:o});else{for(var u=!1,c=0;c-1},t}(rc),Nc=["alt","control","meta","shift"],Ac={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},Vc=function(e){function t(t){return e.call(this,t)||this}var n;return o(t,e),n=t,t.prototype.supports=function(e){return null!=n.parseEventName(e)},t.prototype.addEventListener=function(e,t,r){var o=n.parseEventName(t),i=n.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return Fu().onAndCancel(e,o.domEventName,i)})},t.parseEventName=function(e){var t=e.toLowerCase().split("."),r=t.shift();if(0===t.length||"keydown"!==r&&"keyup"!==r)return null;var o=n._normalizeKey(t.pop()),i="";if(Nc.forEach(function(e){var n=t.indexOf(e);n>-1&&(t.splice(n,1),i+=e+".")}),i+=o,0!=t.length||0===o.length)return null;var l={};return l.domEventName=r,l.fullKey=i,l},t.getEventFullKey=function(e){var t="",n=Fu().getEventKey(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),Nc.forEach(function(r){r!=n&&(0,Ac[r])(e)&&(t+=r+".")}),t+=n},t.eventCallback=function(e,t,r){return function(o){n.getEventFullKey(o)===e&&r.runGuarded(function(){return t(o)})}},t._normalizeKey=function(e){switch(e){case"esc":return"escape";default:return e}},t}(rc),Dc=function(){return function(){}}(),Rc=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n}return o(t,e),t.prototype.sanitize=function(e,t){if(null==t)return null;switch(e){case Lr.NONE:return t;case Lr.HTML:return t instanceof Fc?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"HTML"),function(e,t){var n=null;try{io=io||new Xr(e);var r=t?String(t):"";n=io.getInertBodyElement(r);var o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=io.getInertBodyElement(r)}while(r!==i);var l=new go,a=l.sanitizeChildren(bo(n)||n);return Yr()&&l.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),a}finally{if(n)for(var s=bo(n)||n;s.firstChild;)s.removeChild(s.firstChild)}}(this._doc,String(t)));case Lr.STYLE:return t instanceof Hc?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"Style"),function(e){if(!(e=String(e).trim()))return"";var t=e.match(Mo);return t&&no(t[1])===t[1]||e.match(Eo)&&function(e){for(var t=!0,n=!0,r=0;re?{max:{max:e,actual:t.value}}:null}},e.required=function(e){return Qc(e.value)?{required:!0}:null},e.requiredTrue=function(e){return!0===e.value?null:{required:!0}},e.email=function(e){return Qc(e.value)?null:Kc.test(e.value)?null:{email:!0}},e.minLength=function(e){return function(t){if(Qc(t.value))return null;var n=t.value?t.value.length:0;return ne?{maxlength:{requiredLength:e,actualLength:n}}:null}},e.pattern=function(t){return t?("string"==typeof t?(r="","^"!==t.charAt(0)&&(r+="^"),r+=t,"$"!==t.charAt(t.length-1)&&(r+="$"),n=new RegExp(r)):(r=t.toString(),n=t),function(e){if(Qc(e.value))return null;var t=e.value;return n.test(t)?null:{pattern:{requiredPattern:r,actualValue:t}}}):e.nullValidator;var n,r},e.nullValidator=function(e){return null},e.compose=function(e){if(!e)return null;var t=e.filter($c);return 0==t.length?null:function(e){return Xc(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(){for(var e=[],t=0;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}(),cd=function(){function e(e,t,n,r){this._renderer=e,this._elementRef=t,this._registry=n,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return e.prototype.ngOnInit=function(){this._control=this._injector.get(sd),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: \n ')},e}(),dd=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}(),pd='\n

\n \n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',fd='\n
\n
\n \n
\n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',hd='\n
\n
\n \n
\n
',vd=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 "+pd)},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 '+fd+"\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n "+hd)},e.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+pd)},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 "+fd)},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
\n
\n
\n \n
\n
\n
\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}();function gd(e,t){return null==e?""+t:(t&&"object"==typeof t&&(t="Object"),(e+": "+t).slice(0,50))}var yd=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=be}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=gd(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)},e.prototype.registerOnChange=function(e){var t=this;this.onChange=function(n){t.value=t._getOptionValue(n),e(t.value)}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._registerOption=function(){return(this._idCounter++).toString()},e.prototype._getOptionId=function(e){var t,n;try{for(var r=s(Array.from(this._optionMap.keys())),o=r.next();!o.done;o=r.next()){var i=o.value;if(this._compareWith(this._optionMap.get(i),e))return i}}catch(l){t={error:l}}finally{try{o&&!o.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}(),md=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(gd(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}();function _d(e,t){return null==e?""+t:("string"==typeof t&&(t="'"+t+"'"),t&&"object"==typeof t&&(t="Object"),(e+": "+t).slice(0,50))}var bd=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=be}return Object.defineProperty(e.prototype,"compareWith",{set:function(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e},enumerable:!0,configurable:!0}),e.prototype.writeValue=function(e){var t,n=this;if(this.value=e,Array.isArray(e)){var r=e.map(function(e){return n._getOptionId(e)});t=function(e,t){e._setSelected(r.indexOf(t.toString())>-1)}}else t=function(e,t){e._setSelected(!1)};this._optionMap.forEach(t)},e.prototype.registerOnChange=function(e){var t=this;this.onChange=function(n){var r=[];if(n.hasOwnProperty("selectedOptions"))for(var o=n.selectedOptions,i=0;i1?"path: '"+e.path.join(" -> ")+"'":e.path[0]?"name: '"+e.path+"'":"unspecified name attribute",new Error(t+" "+n)}function kd(e){return null!=e?Jc.compose(e.map(od)):null}function Sd(e){return null!=e?Jc.composeAsync(e.map(id)):null}function Id(e,t){if(!e.hasOwnProperty("model"))return!1;var n=e.model;return!!n.isFirstChange()||!be(t,n.currentValue)}var Td=[td,dd,ld,yd,bd,cd];function Nd(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 Ad(e,t){if(!t)return null;Array.isArray(t)||Md(e,"Value accessor was not provided as an array for form control with");var n=void 0,r=void 0,o=void 0;return t.forEach(function(t){var i;t.constructor===rd?n=t:(i=t,Td.some(function(e){return i.constructor===e})?(r&&Md(e,"More than one built-in value accessor matches form control with"),r=t):(o&&Md(e,"More than one custom value accessor matches form control with"),o=t))}),o||r||n||(Md(e,"No valid value accessor for form control with"),null)}function Vd(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var Dd=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(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 Cd(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 kd(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return Sd(this._asyncValidators)},enumerable:!0,configurable:!0}),t.prototype._checkParentType=function(){},t}(qc),Rd=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}(),jd=function(e){function t(t){return e.call(this,t)||this}return o(t,e),t}(Rd),Fd=function(e){function t(t){return e.call(this,t)||this}return o(t,e),t}(Rd);function Hd(e){var t=Bd(e)?e.validators:e;return Array.isArray(t)?kd(t):t||null}function Ld(e,t){var n=Bd(t)?t.asyncValidators:e;return Array.isArray(n)?Sd(n):n||null}function Bd(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}var Ud=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=Hd(e)},e.prototype.setAsyncValidators=function(e){this.asyncValidator=Ld(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(i({},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(i({},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=Yc(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 Gd?e.controls.hasOwnProperty(t)?e.controls[t]:null:e instanceof Zd&&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 Oo,this.statusChanges=new Oo},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){Bd(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)},e}(),zd=function(e){function t(t,n,r){void 0===t&&(t=null);var o=e.call(this,Hd(n),Ld(r,n))||this;return o._onChange=[],o._applyFormState(t),o._setUpdateStrategy(n),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o._initObservables(),o}return o(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}(Ud),Gd=function(e){function t(t,n,r){var o=e.call(this,Hd(n),Ld(r,n))||this;return o.controls=t,o._initObservables(),o._setUpdateStrategy(n),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return o(t,e),t.prototype.registerControl=function(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)},t.prototype.addControl=function(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.removeControl=function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.setControl=function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.contains=function(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled},t.prototype.setValue=function(e,t){var n=this;void 0===t&&(t={}),this._checkAllValuesPresent(e),Object.keys(e).forEach(function(r){n._throwIfControlMissing(r),n.controls[r].setValue(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)},t.prototype.patchValue=function(e,t){var n=this;void 0===t&&(t={}),Object.keys(e).forEach(function(r){n.controls[r]&&n.controls[r].patchValue(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)},t.prototype.reset=function(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this._forEachChild(function(n,r){n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t),this._updatePristine(t),this._updateTouched(t)},t.prototype.getRawValue=function(){return this._reduceChildren({},function(e,t,n){return e[n]=t instanceof zd?t.value:t.getRawValue(),e})},t.prototype._syncPendingControls=function(){var e=this._reduceChildren(!1,function(e,t){return!!t._syncPendingControls()||e});return e&&this.updateValueAndValidity({onlySelf:!0}),e},t.prototype._throwIfControlMissing=function(e){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[e])throw new Error("Cannot find form control with name: "+e+".")},t.prototype._forEachChild=function(e){var t=this;Object.keys(this.controls).forEach(function(n){return e(t.controls[n],n)})},t.prototype._setUpControls=function(){var e=this;this._forEachChild(function(t){t.setParent(e),t._registerOnCollectionChange(e._onCollectionChange)})},t.prototype._updateValue=function(){this.value=this._reduceValue()},t.prototype._anyControls=function(e){var t=this,n=!1;return this._forEachChild(function(r,o){n=n||t.contains(o)&&e(r)}),n},t.prototype._reduceValue=function(){var e=this;return this._reduceChildren({},function(t,n,r){return(n.enabled||e.disabled)&&(t[r]=n.value),t})},t.prototype._reduceChildren=function(e,t){var n=e;return this._forEachChild(function(e,r){n=t(n,e,r)}),n},t.prototype._allControlsDisabled=function(){var e,t;try{for(var n=s(Object.keys(this.controls)),r=n.next();!r.done;r=n.next())if(this.controls[r.value].enabled)return!1}catch(o){e={error:o}}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}(Ud),Zd=function(e){function t(t,n,r){var o=e.call(this,Hd(n),Ld(r,n))||this;return o.controls=t,o._initObservables(),o._setUpdateStrategy(n),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return o(t,e),t.prototype.at=function(e){return this.controls[e]},t.prototype.push=function(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.insert=function(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()},t.prototype.removeAt=function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),this.controls.splice(e,1),this.updateValueAndValidity()},t.prototype.setControl=function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(t.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),t.prototype.setValue=function(e,t){var n=this;void 0===t&&(t={}),this._checkAllValuesPresent(e),e.forEach(function(e,r){n._throwIfControlMissing(r),n.at(r).setValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)},t.prototype.patchValue=function(e,t){var n=this;void 0===t&&(t={}),e.forEach(function(e,r){n.at(r)&&n.at(r).patchValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)},t.prototype.reset=function(e,t){void 0===e&&(e=[]),void 0===t&&(t={}),this._forEachChild(function(n,r){n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t),this._updatePristine(t),this._updateTouched(t)},t.prototype.getRawValue=function(){return this.controls.map(function(e){return e instanceof zd?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=s(this.controls),r=n.next();!r.done;r=n.next())if(r.value.enabled)return!1}catch(o){e={error:o}}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}(Ud),Wd=Promise.resolve(null),qd=function(e){function t(t,n){var r=e.call(this)||this;return r.submitted=!1,r._directives=[],r.ngSubmit=new Oo,r.form=new Gd({},kd(t),Sd(n)),r}return o(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;Wd.then(function(){var n=t._findContainer(e.path);e.control=n.registerControl(e.name,e.control),Od(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;Wd.then(function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name),Vd(t._directives,e)})},t.prototype.addFormGroup=function(e){var t=this;Wd.then(function(){var n=t._findContainer(e.path),r=new Gd({});xd(r,e),n.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})},t.prototype.removeFormGroup=function(e){var t=this;Wd.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;Wd.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,Nd(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}(qc),Qd=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 '+pd+'\n\n Or, if you\'d like to avoid registering this form control, indicate that it\'s standalone in ngModelOptions:\n\n Example:\n\n \n
\n \n \n
\n ')},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 "+fd+"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n "+hd)},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: \n Example 2: ')},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 "+fd+"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n "+hd)},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 \n\n After:\n \n ")},e}(),Kd=new ce("NgFormSelectorWarning"),Jd=function(e){function t(t,n,r){var o=e.call(this)||this;return o._parent=t,o._validators=n,o._asyncValidators=r,o}var n;return o(t,e),n=t,t.prototype._checkParentType=function(){this._parent instanceof n||this._parent instanceof qd||Qd.modelGroupParentException()},t}(Dd),$d=Promise.resolve(null),Yd=function(e){function t(t,n,r,o){var i=e.call(this)||this;return i.control=new zd,i._registered=!1,i.update=new Oo,i._parent=t,i._rawValidators=n||[],i._rawAsyncValidators=r||[],i.valueAccessor=Ad(i,o),i}return o(t,e),t.prototype.ngOnChanges=function(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),Id(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?Cd(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 kd(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return Sd(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(){Od(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 Jd)&&this._parent instanceof Dd?Qd.formGroupNameException():this._parent instanceof Jd||this._parent instanceof qd||Qd.modelParentException()},t.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||Qd.missingNameException()},t.prototype._updateValue=function(e){var t=this;$d.then(function(){t.control.setValue(e,{emitViewToModelChange:!1})})},t.prototype._updateDisabled=function(e){var t=this,n=e.isDisabled.currentValue,r=""===n||n&&"false"!==n;$d.then(function(){r&&!t.control.disabled?t.control.disable():!r&&t.control.disabled&&t.control.enable()})},t}(sd),Xd=new ce("NgModelWithFormControlWarning"),ep=function(e){function t(t,n){var r=e.call(this)||this;return r._validators=t,r._asyncValidators=n,r.submitted=!1,r.directives=[],r.form=null,r.ngSubmit=new Oo,r}return o(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 Od(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){Vd(this.directives,e)},t.prototype.addFormGroup=function(e){var t=this.form.get(e.path);xd(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);xd(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,Nd(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 Ed(t)}),t.valueAccessor.registerOnTouched(function(){return Ed(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&&Od(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=kd(this._validators);this.form.validator=Jc.compose([this.form.validator,e]);var t=Sd(this._asyncValidators);this.form.asyncValidator=Jc.composeAsync([this.form.asyncValidator,t])},t.prototype._checkFormPresent=function(){this.form||vd.missingFormException()},t}(qc),tp=function(e){function t(t,n,r){var o=e.call(this)||this;return o._parent=t,o._validators=n,o._asyncValidators=r,o}return o(t,e),t.prototype._checkParentType=function(){rp(this._parent)&&vd.groupParentException()},t}(Dd),np=function(e){function t(t,n,r){var o=e.call(this)||this;return o._parent=t,o._validators=n,o._asyncValidators=r,o}return o(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 Cd(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return kd(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return Sd(this._asyncValidators)},enumerable:!0,configurable:!0}),t.prototype._checkParentType=function(){rp(this._parent)&&vd.arrayParentException()},t}(qc);function rp(e){return!(e instanceof tp||e instanceof ep||e instanceof np)}var op=function(e){function t(t,n,r,o,i){var l=e.call(this)||this;return l._ngModelWarningConfig=i,l._added=!1,l.update=new Oo,l._ngModelWarningSent=!1,l._parent=t,l._rawValidators=n||[],l._rawAsyncValidators=r||[],l.valueAccessor=Ad(l,o),l}var n;return o(t,e),n=t,Object.defineProperty(t.prototype,"isDisabled",{set:function(e){vd.disabledAttrWarning()},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(e){var t,r;this._added||this._setUpControl(),Id(e,this.viewModel)&&("formControlName",t=n,this,r=this._ngModelWarningConfig,Yr()&&"never"!==r&&((null!==r&&"once"!==r||t._ngModelWarningSentOnce)&&("always"!==r||this._ngModelWarningSent)||(vd.ngModelWarning("formControlName"),t._ngModelWarningSentOnce=!0,this._ngModelWarningSent=!0)),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 Cd(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 kd(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return Sd(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),t.prototype._checkParentType=function(){!(this._parent instanceof tp)&&this._parent instanceof Dd?vd.ngModelGroupException():this._parent instanceof tp||this._parent instanceof ep||this._parent instanceof np||vd.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}(sd),ip=function(){function e(){}return e.prototype.group=function(e,t){void 0===t&&(t=null);var n=this._reduceControls(e),r=null,o=null,i=void 0;return null!=t&&(function(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}(t)?(r=null!=t.validators?t.validators:null,o=null!=t.asyncValidators?t.asyncValidators:null,i=null!=t.updateOn?t.updateOn:void 0):(r=null!=t.validator?t.validator:null,o=null!=t.asyncValidator?t.asyncValidator:null)),new Gd(n,{asyncValidators:o,updateOn:i,validators:r})},e.prototype.control=function(e,t,n){return new zd(e,t,n)},e.prototype.array=function(e,t,n){var r=this,o=e.map(function(e){return r._createControl(e)});return new Zd(o,t,n)},e.prototype._reduceControls=function(e){var t=this,n={};return Object.keys(e).forEach(function(r){n[r]=t._createControl(e[r])}),n},e.prototype._createControl=function(e){return e instanceof zd||e instanceof Gd||e instanceof Zd?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)},e}(),lp=function(){return function(){}}(),ap=function(){return function(){}}(),sp=function(){function e(){}var t;return t=e,e.withConfig=function(e){return{ngModule:t,providers:[{provide:Kd,useValue:e.warnOnDeprecatedNgFormSelector}]}},e}(),up=function(){function e(){}var t;return t=e,e.withConfig=function(e){return{ngModule:t,providers:[{provide:Xd,useValue:e.warnOnNgModelWithFormControl}]}},e}(),cp=[{label:"Alaskan/Hawaiian Time Zone",options:[{value:"AK",label:"Alaska"},{value:"HI",label:"Hawaii",disabled:!0}]},{label:"Pacific Time Zone",options:[{value:"CA",label:"California"},{value:"NV",label:"Nevada"},{value:"OR",label:"Oregon"},{value:"WA",label:"Washington"}]},{label:"Mountain Time Zone",options:[{value:"AZ",label:"Arizona"},{value:"CO",label:"Colorado"},{value:"ID",label:"Idaho"},{value:"MT",label:"Montana"},{value:"NE",label:"Nebraska"},{value:"NM",label:"New Mexico"},{value:"ND",label:"North Dakota"},{value:"UT",label:"Utah"},{value:"WY",label:"Wyoming"}]},{label:"Central Time Zone",options:[{value:"AL",label:"Alabama"},{value:"AR",label:"Arkansas"},{value:"IL",label:"Illinois"},{value:"IA",label:"Iowa"},{value:"KS",label:"Kansas"},{value:"KY",label:"Kentucky"},{value:"LA",label:"Louisiana"},{value:"MN",label:"Minnesota"},{value:"MS",label:"Mississippi"},{value:"MO",label:"Missouri"},{value:"OK",label:"Oklahoma"},{value:"SD",label:"South Dakota"},{value:"TX",label:"Texas"},{value:"TN",label:"Tennessee"},{value:"WI",label:"Wisconsin"}]},{label:"Eastern Time Zone",options:[{value:"CT",label:"Connecticut"},{value:"DE",label:"Delaware"},{value:"FL",label:"Florida"},{value:"GA",label:"Georgia"},{value:"IN",label:"Indiana"},{value:"ME",label:"Maine"},{value:"MD",label:"Maryland"},{value:"MA",label:"Massachusetts"},{value:"MI",label:"Michigan"},{value:"NH",label:"New Hampshire"},{value:"NJ",label:"New Jersey"},{value:"NY",label:"New York"},{value:"NC",label:"North Carolina"},{value:"OH",label:"Ohio"},{value:"PA",label:"Pennsylvania"},{value:"RI",label:"Rhode Island"},{value:"SC",label:"South Carolina"},{value:"VT",label:"Vermont"},{value:"VA",label:"Virginia"},{value:"WV",label:"West Virginia"}]}],dp=[{value:"AK",label:"Alaska"},{value:"HI",label:"Hawaii",disabled:!0},{value:"CA",label:"California"},{value:"NV",label:"Nevada"},{value:"OR",label:"Oregon"},{value:"WA",label:"Washington"},{value:"AZ",label:"Arizona"},{value:"CO",label:"Colorado"},{value:"ID",label:"Idaho"},{value:"MT",label:"Montana"},{value:"NE",label:"Nebraska"},{value:"NM",label:"New Mexico"},{value:"ND",label:"North Dakota"},{value:"UT",label:"Utah"},{value:"WY",label:"Wyoming"},{value:"AL",label:"Alabama"},{value:"AR",label:"Arkansas"},{value:"IL",label:"Illinois"},{value:"IA",label:"Iowa"},{value:"KS",label:"Kansas"},{value:"KY",label:"Kentucky"},{value:"LA",label:"Louisiana"},{value:"MN",label:"Minnesota"},{value:"MS",label:"Mississippi"},{value:"MO",label:"Missouri"},{value:"OK",label:"Oklahoma"},{value:"SD",label:"South Dakota"},{value:"TX",label:"Texas"},{value:"TN",label:"Tennessee"},{value:"WI",label:"Wisconsin"},{value:"CT",label:"Connecticut"},{value:"DE",label:"Delaware"},{value:"FL",label:"Florida"},{value:"GA",label:"Georgia"},{value:"IN",label:"Indiana"},{value:"ME",label:"Maine"},{value:"MD",label:"Maryland"},{value:"MA",label:"Massachusetts"},{value:"MI",label:"Michigan"},{value:"NH",label:"New Hampshire"},{value:"NJ",label:"New Jersey"},{value:"NY",label:"New York"},{value:"NC",label:"North Carolina"},{value:"OH",label:"Ohio"},{value:"PA",label:"Pennsylvania"},{value:"RI",label:"Rhode Island"},{value:"SC",label:"South Carolina"},{value:"VT",label:"Vermont"},{value:"VA",label:"Virginia",disabled:!0},{value:"WV",label:"West Virginia"}],pp=[{value:"foo",label:"foo"},{value:"bar",label:"bar"},{value:"baz",label:"baz"}],fp=[{value:0,label:"0"},{value:1,label:"1"},{value:2,label:"2"},{value:3,label:"3"},{value:4,label:"4"},{value:5,label:"5"},{value:6,label:"6"}],hp=[{value:"foo1",label:"foo1"},{value:"foo2",label:"foo2"},{value:"foo3",label:"foo3"},{value:"foo4",label:"foo4"},{value:"foo5",label:"foo5"},{value:"foo6",label:"foo6"}],vp=[{label:"Mainland region",options:[{value:"FR-ARA",label:"Auvergne-Rh\xf4ne-Alpes"},{value:"FR-BFC",label:"Bourgogne-Franche-Comt\xe9"},{value:"FR-BRE",label:"Bretagne"},{value:"FR-CVL",label:"Centre-Val de Loire"},{value:"FR-COR",label:"Corse"},{value:"FR-GES",label:"Grand Est"},{value:"FR-HDF",label:"Hauts-de-France"},{value:"FR-IDF",label:"\xcele-de-France"},{value:"FR-NOR",label:"Normandie"},{value:"FR-NAQ",label:"Nouvelle-Aquitaine"},{value:"FR-OCC",label:"Occitanie"},{value:"FR-PDL",label:"Pays de la Loire"},{value:"FR-PAC",label:"Provence-Alpes-C\xf4te d'Azur"}]},{label:"Overseas region",options:[{value:"FR-GP",label:"Guadeloupe"},{value:"FR-MQ",label:"Martinique"},{value:"FR-GF",label:"Guyane"},{value:"FR-RE",label:"La R\xe9union"},{value:"FR-YT",label:"Mayotte"}]}],gp=[{value:"foo1",label:"foo1"},{value:"foo2",label:"foo2"},{value:"foo3",label:"foo3"},{value:"foo4",label:"foo4"},{value:"foo5",label:"foo5"},{value:"foo6",label:"foo6"},{value:"foo7",label:"foo7"},{value:"foo8",label:"foo8"}],yp=[{value:!0,label:"true"},{value:!1,label:"false"}],mp=[{value:"fr",label:'
\n
France
\n
Europe
\n
'},{value:"sp",label:'
\n
Spain
\n
Europe
\n
'},{value:"ch",label:'
\n
China
\n
Asia
\n
'}],_p=[{value:"heliotrope",label:"Heliotrope",classes:"white flower",id:"option-heliotrope"},{value:"hibiscus",label:"Hibiscus",classes:"red flower",id:"option-hibiscus"},{value:"lily",label:"Lily",classes:"white flower",id:"option-lily"},{value:"marigold",label:"Marigold",classes:"red flower",id:"option-marigold"},{value:"petunia",label:"Petunia",classes:"white flower",id:"option-petunia"},{value:"sunflower",label:"Sunflower",classes:"yellow flower",id:"option-sunflower"}],bp=function(){function e(e){this.fb=e,this.data1=cp,this.data2=dp,this.data3=pp,this.data4=JSON.parse(JSON.stringify(pp)),this.data5=fp,this.data6=hp,this.data7=JSON.parse(JSON.stringify(pp)),this.data8=[],this.data9=JSON.parse(JSON.stringify(cp)),this.data10=JSON.parse(JSON.stringify(cp)),this.data11=JSON.parse(JSON.stringify(cp)),this.data12=JSON.parse(JSON.stringify(cp)),this.data13=yp,this.data15=dp,this.data16=dp,this.data17=mp,this.data18=vp,this.data19=gp,this.data20=JSON.parse(JSON.stringify(gp)),this.data21=JSON.parse(JSON.stringify(gp)),this.data22=_p,this.minCountForSearch=1/0,this.value1="CA",this.value2="CA",this.value3="foo",this.value4="bar",this.value5="0",this.value6="foo3",this.value7="",this.value8="",this.value9=[],this.value10=[],this.value11="CA",this.value12="CA",this.value13=!0,this.value15="",this.value16="",this.value17="",this.value18="",this.value19="",this.value20="",this.value21="foo6",this.value22="",this.limitSelection=0,this.fg=new Gd({state:new zd}),this.ctrlForm=this.fb.group({test11:new zd(null,Jc.required)}),this.ctrlForm2=this.fb.group({test5:new zd(0,Jc.required)}),this.fg.patchValue(this.formData())}return e.prototype.update1=function(e){this.value1=e.value,console.log("update1",e)},e.prototype.change1=function(e){console.log("change1",e)},e.prototype.focus1=function(e){console.log("focus1",e)},e.prototype.blur1=function(e){console.log("blur1",e)},e.prototype.open1=function(e){console.log("open1",e)},e.prototype.close1=function(e){console.log("close1",e)},e.prototype.search1=function(e){console.log("search1",e)},e.prototype.update2=function(e){this.value2=e.value},e.prototype.update3=function(e){this.value3=e.value},e.prototype.update5=function(e){this.value5=e.value},e.prototype.addItem=function(){var e=this.data6.length+1;this.data6.push({value:"foo"+e,label:"foo"+e})},e.prototype.removeItem=function(){this.data6.pop()},e.prototype.update6=function(e){this.value6=e.value},e.prototype.update7=function(e){this.value7=e.value},e.prototype.open8=function(){this.data8=JSON.parse(JSON.stringify(dp))},e.prototype.close8=function(){alert("close")},e.prototype.update8=function(e){this.value8=e.value},e.prototype.search8=function(e){this.data8=e?JSON.parse(JSON.stringify(dp)).filter(function(t){return t.label.toLowerCase().indexOf(e.toLowerCase())>-1}):JSON.parse(JSON.stringify(dp))},e.prototype.update9=function(e){this.value9=e.value,console.log("update9",e)},e.prototype.focus9=function(e){console.log("focus9",e)},e.prototype.blur9=function(e){console.log("blur9",e)},e.prototype.open9=function(e){console.log("open9",e)},e.prototype.close9=function(e){console.log("close9",e)},e.prototype.search9=function(e){console.log("search9",e)},e.prototype.update10=function(e){this.value10=e.value},e.prototype.reset11=function(){var e=this.ctrlForm.get("test11");e&&e.reset()},e.prototype.change11=function(){var e=this.ctrlForm.get("test11");e&&e.setValue("UT")},e.prototype.update12=function(e){this.value12=e.value},e.prototype.update13=function(e){this.value13=e.value},e.prototype.update15=function(e){this.value15=e.value},e.prototype.update16=function(e){this.value16=e.value},e.prototype.update17=function(e){this.value17=e.value},e.prototype.update18=function(e){this.value18=e.value},e.prototype.update19=function(e){this.value19=e.value},e.prototype.update20=function(e){this.value20=e.value},e.prototype.update21=function(e){this.value21=e.value},e.prototype.update22=function(e){this.value22=e.value},e.prototype.resetForm=function(){this.fg.reset(this.formData())},e.prototype.print=function(){console.log("FormControl",this.fg.value)},e.prototype.formData=function(){return{state:["CA","NV"]}},e}(),wp=[{l:"a",s:/[\u24d0\uff41\u1e9a\xe0\xe1\xe2\u1ea7\u1ea5\u1eab\u1ea9\xe3\u0101\u0103\u1eb1\u1eaf\u1eb5\u1eb3\u0227\u01e1\xe4\u01df\u1ea3\xe5\u01fb\u01ce\u0201\u0203\u1ea1\u1ead\u1eb7\u1e01\u0105\u2c65\u0250]/gi},{l:"aa",s:/\ua733/gi},{l:"ae",s:/[\xe6\u01fd\u01e3]/gi},{l:"ao",s:/\ua735/gi},{l:"au",s:/\ua737/gi},{l:"av",s:/[\ua739\ua73b]/gi},{l:"ay",s:/\ua73d/gi},{l:"b",s:/[\u24d1\uff42\u1e03\u1e05\u1e07\u0180\u0183\u0253]/gi},{l:"c",s:/[\u24d2\uff43\u0107\u0109\u010b\u010d\xe7\u1e09\u0188\u023c\ua73f\u2184]/gi},{l:"d",s:/[\u24d3\uff44\u1e0b\u010f\u1e0d\u1e11\u1e13\u1e0f\u0111\u018c\u0256\u0257\ua77a]/gi},{l:"dz",s:/[\u01f3\u01c6]/gi},{l:"e",s:/[\u24d4\uff45\xe8\xe9\xea\u1ec1\u1ebf\u1ec5\u1ec3\u1ebd\u0113\u1e15\u1e17\u0115\u0117\xeb\u1ebb\u011b\u0205\u0207\u1eb9\u1ec7\u0229\u1e1d\u0119\u1e19\u1e1b\u0247\u025b\u01dd]/gi},{l:"f",s:/[\u24d5\uff46\u1e1f\u0192\ua77c]/gi},{l:"g",s:/[\u24d6\uff47\u01f5\u011d\u1e21\u011f\u0121\u01e7\u0123\u01e5\u0260\ua7a1\u1d79\ua77f]/gi},{l:"h",s:/[\u24d7\uff48\u0125\u1e23\u1e27\u021f\u1e25\u1e29\u1e2b\u1e96\u0127\u2c68\u2c76\u0265]/gi},{l:"hv",s:/\u0195/gi},{l:"i",s:/[\u24d8\uff49\xec\xed\xee\u0129\u012b\u012d\u0130\xef\u1e2f\u1ec9\u01d0\u0209\u020b\u1ecb\u012f\u1e2d\u0268\u0131]/gi},{l:"j",s:/[\u24d9\uff4a\u0135\u01f0\u0249]/gi},{l:"k",s:/[\u24da\uff4b\u1e31\u01e9\u1e33\u0137\u1e35\u0199\u2c6a\ua741\ua743\ua745\ua7a3]/gi},{l:"l",s:/[\u24db\uff4c\u0140\u013a\u013e\u1e37\u1e39\u013c\u1e3d\u1e3b\u017f\u0142\u019a\u026b\u2c61\ua749\ua781\ua747\ua746]/gi},{l:"lj",s:/\u01c9/gi},{l:"m",s:/[\u24dc\uff4d\u1e3f\u1e41\u1e43\u0271\u026f]/gi},{l:"n",s:/[\u24dd\uff4e\u01f9\u0144\xf1\u1e45\u0148\u1e47\u0146\u1e4b\u1e49\u019e\u0272\u0149\ua791\ua7a5]/gi},{l:"nj",s:/\u01cc/gi},{l:"o",s:/[\u24de\uff4f\xf2\xf3\xf4\u1ed3\u1ed1\u1ed7\u1ed5\xf5\u1e4d\u022d\u1e4f\u014d\u1e51\u1e53\u014f\u022f\u0231\xf6\u022b\u1ecf\u0151\u01d2\u020d\u020f\u01a1\u1edd\u1edb\u1ee1\u1edf\u1ee3\u1ecd\u1ed9\u01eb\u01ed\xf8\u01ff\u0254\u019f\ua74b\ua74d\u0275]/gi},{l:"oi",s:/\u01a3/gi},{l:"oe",s:/\u0153/gi},{l:"oo",s:/\ua74f/gi},{l:"ou",s:/\u0223/gi},{l:"p",s:/[\u24df\uff50\u1e55\u1e57\u01a5\u1d7d\ua751\ua753\ua755]/gi},{l:"q",s:/[\u24e0\uff51\u024b\ua757\ua759]/gi},{l:"r",s:/[\u24e1\uff52\u0155\u1e59\u0159\u0211\u0213\u1e5b\u1e5d\u0157\u1e5f\u024d\u027d\ua75b\ua7a7\ua783]/gi},{l:"s",s:/[\u24e2\uff53\xdf\u1e9e\u015b\u1e65\u015d\u1e61\u0161\u1e67\u1e63\u1e69\u0219\u015f\u023f\ua7a9\ua785\u1e9b]/gi},{l:"t",s:/[\u24e3\uff54\u1e6b\u1e97\u0165\u1e6d\u021b\u0163\u1e71\u1e6f\u0167\u01ad\u0288\u2c66\ua787]/gi},{l:"tz",s:/\ua729/gi},{l:"u",s:/[\u24e4\uff55\xf9\xfa\xfb\u0169\u1e79\u016b\u1e7b\u016d\xfc\u01dc\u01d8\u01d6\u01da\u1ee7\u016f\u0171\u01d4\u0215\u0217\u01b0\u1eeb\u1ee9\u1eef\u1eed\u1ef1\u1ee5\u1e73\u0173\u1e77\u1e75\u0289]/gi},{l:"v",s:/[\u24e5\uff56\u1e7d\u1e7f\u028b\ua75f\u028c]/gi},{l:"vy",s:/\ua761/gi},{l:"w",s:/[\u24e6\uff57\u1e81\u1e83\u0175\u1e87\u1e85\u1e98\u1e89\u2c73]/gi},{l:"x",s:/[\u24e7\uff58\u1e8b\u1e8d]/gi},{l:"y",s:/[\u24e8\uff59\u1ef3\xfd\u0177\u1ef9\u0233\u1e8f\xff\u1ef7\u1e99\u1ef5\u01b4\u024f\u1eff]/gi},{l:"z",s:/[\u24e9\uff5a\u017a\u1e91\u017c\u017e\u1e93\u1e95\u01b6\u0225\u0240\u2c6c\ua763]/gi}],Cp=function(){function e(){}return e.getOptionByValue=function(e,t){for(var n=0,r=e;n=0;o--){var i=t[o],l=i.options;if(l)for(var a=l.length-1;a>=0;a--){var s=l[a];if(r&&!s.disabled)return s;r||(r=s.value===n)}else{if(s=i,r&&!s.disabled)return s;r||(r=s.value===n)}}return null},e.getNextOption=function(t,n){for(var r=e.isNullOrUndefined(n),o=0,i=t;o-1?this.displaySearchStatus:"default";return"default"===e&&this.isSearchboxHidden||"hidden"===e},e.prototype.getOptionStyle=function(e){return"select2-results__option "+(e.value===this.hoveringValue?"select2-results__option--highlighted ":"")+(e.classes||"")},e.prototype.mouseenter=function(e){e.disabled||(this.hoveringValue=e.value)},e.prototype.click=function(e){this.testSelection(e)&&this.select(e)},e.prototype.prevChange=function(e){e.stopPropagation()},e.prototype.toggleOpenAndClose=function(){var e=this;this.disabled||(this._focus(!0),this.isOpen=!this.isOpen,this.isOpen?(this.innerSearchText="",this.updateFilteredData(),this._focusSearchboxOrResultsElement(),setTimeout(function(){if(e.option){var t=e.option instanceof Array?e.option[0]:e.option;e.updateScrollFromOption(t)}else e.resultsElement.scrollTop=0}),this.open.emit(this)):this.close.emit(this),this.isOpen&&!this._clickDetection&&setTimeout(function(){window.document.body.addEventListener("click",e._clickDetectionFc,!1),e._clickDetection=!0},200),this._changeDetectorRef.markForCheck())},e.prototype.testSelection=function(e){return!(e.disabled||this.multiple&&this.limitSelection&&!(Array.isArray(this._value)&&this._value.length-1))return!0;return!1}return!0},e.prototype.updateFilteredData=function(){var e=this;setTimeout(function(){var t=e.data;e.multiple&&e.hideSelectedItems&&(t=Cp.getFilteredSelectedData(t,e.option)),!e.customSearchEnabled&&e.searchText&&e.searchText.length>=+e.minCharForSearch&&(t=Cp.getFilteredData(t,e.searchText,e.editPattern)),Cp.valueIsNotInFilteredData(t,e.hoveringValue)&&(e.hoveringValue=Cp.getFirstAvailableOption(t)),e.filteredData=t,e._changeDetectorRef.markForCheck()})},e.prototype.clickDetection=function(e){this.ifParentContainsClass(e.target,"selection")?this.isOpen&&!this.ifParentContainsId(e.target,this._id)&&(this.toggleOpenAndClose(),this.clickExit()):(this.isOpen&&!this.ifParentContainsClass(e.target,"select2-dropdown")&&this.toggleOpenAndClose(),this.ifParentContainsId(e.target,this._id)||this.clickExit())},e.prototype.clickExit=function(){this._focus(!1),window.document.body.removeEventListener("click",this._clickDetectionFc),this._clickDetection=!1},e.prototype.ifParentContainsClass=function(e,t){return null!==this.getParentElementByClass(e,t)},e.prototype.ifParentContainsId=function(e,t){return null!==this.getParentElementById(e,t)},e.prototype.getParentElementByClass=function(e,t){return this.containClasses(e,t.trim().split(/\s+/))?e:e.parentElement?this.getParentElementByClass(e.parentElement,t):null},e.prototype.getParentElementById=function(e,t){return e.id===t?e:e.parentElement?this.getParentElementById(e.parentElement,t):null},e.prototype.containClasses=function(e,t){if(!e.classList)return!1;for(var n=0,r=t;n0)&&-1!==t.indexOf(e)},e.prototype._setSelectionByValue=function(e){var t=this;if(this.option||null!=e){var n=Array.isArray(e);if(this.multiple&&e&&!n)throw new Error("Non array value.");this.data?this.multiple?(this.option=[],n&&Cp.getOptionsByValue(this.data,e,this.multiple).map(function(e){return t.select(e)})):this.select(Cp.getOptionByValue(this.data,e)):this._control&&this._control.viewToModelUpdate(e),this._changeDetectorRef.markForCheck()}},e.prototype._dirtyCheckNativeValue=function(){var e=this.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this._stateChanges.next())},e.prototype._coerceBooleanProperty=function(e){return null!=e&&""+e!="false"},e.prototype._focusSearchboxOrResultsElement=function(){this.isSearchboxHidden?this.resultsElement&&this.resultsElement.focus():this.searchInputElement&&this.searchInputElement.focus()},e.prototype._focus=function(e){!e&&this.focused?(this.focused=e,this.blur.emit(this)):e&&!this.focused&&(this.focused=e,this.focus.emit(this))},e}(),Ep=wl({encapsulation:0,styles:[[".select2-label[_ngcontent-%COMP%]{color:#000;color:var(--select2-label-text-color,#000)}.select2-container[_ngcontent-%COMP%]{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle;width:100%}.select2-container[_ngcontent-%COMP%] .select2-container-dropdown[_ngcontent-%COMP%]{position:absolute;width:0;opacity:0}.select2-container[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]{box-sizing:border-box;cursor:pointer;display:block;height:28px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.select2-container[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{display:block;padding:0 0 0 8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1 1 auto}.select2-container[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%]{position:relative}.select2-container[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{box-sizing:border-box;cursor:pointer;display:block;min-height:32px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.select2-container[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{display:inline-block;overflow:hidden;padding-left:8px;text-overflow:ellipsis;white-space:nowrap}.select2-container[_ngcontent-%COMP%] .select2-search--inline[_ngcontent-%COMP%]{float:left}.select2-container[_ngcontent-%COMP%] .select2-search--inline[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]{box-sizing:border-box;border:none;font-size:100%;margin-top:5px;padding:0}.select2-container[_ngcontent-%COMP%] .select2-search--inline[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]::-webkit-search-cancel-button{-webkit-appearance:none}.select2-dropdown[_ngcontent-%COMP%]{background:#fff;background:var(--select2-dropdown-background,#fff);border:1px solid #aaa;border:1px solid var(--select2-dropdown-border-color,#aaa);border-radius:4px;border-radius:var(--select2-selection-border-radius,4px);box-sizing:border-box;display:block;position:absolute;width:100%;z-index:1051;height:0;overflow:hidden}.select2-results[_ngcontent-%COMP%]{display:block}.select2-results__options[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}.select2-results__option[_ngcontent-%COMP%]{padding:6px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:#000;color:var(--select2-option-text-color,#000)}.select2-results__option[aria-selected][_ngcontent-%COMP%]{cursor:pointer}.select2-container.select2-container-dropdown.select2-container--open[_ngcontent-%COMP%]{width:100%;opacity:1}.select2-container--open[_ngcontent-%COMP%] .select2-dropdown[_ngcontent-%COMP%]{overflow:auto;height:auto}.select2-container--open[_ngcontent-%COMP%] .select2-dropdown--above[_ngcontent-%COMP%]{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;bottom:27px;display:flex;flex-direction:column-reverse}.select2-container--open[_ngcontent-%COMP%] .select2-dropdown--below[_ngcontent-%COMP%]{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-search--dropdown[_ngcontent-%COMP%]{display:block;padding:4px}.select2-search--dropdown[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]{padding:4px;width:100%;box-sizing:border-box}.select2-search--dropdown[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]::-webkit-search-cancel-button{-webkit-appearance:none}.select2-search--dropdown.select2-search--hide[_ngcontent-%COMP%]{display:none}.select2-close-mask[_ngcontent-%COMP%]{border:0;margin:0;padding:0;display:block;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:99;background:#fff;filter:alpha(opacity=0)}.select2-required[_ngcontent-%COMP%]::before{content:'*';color:red;color:var(--select2-required-color,red)}.select2-hidden-accessible[_ngcontent-%COMP%]{border:0!important;clip:rect(0 0 0 0)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;width:1px!important}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]{background:#fff;background:var(--select2-selection-background,#fff);border:1px solid #aaa;border:1px solid var(--select2-selection-border-color,#aaa);border-radius:4px;border-radius:var(--select2-selection-border-radius,4px);display:flex}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{color:#444;color:var(--select2-selection-text-color,#444);line-height:28px}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%]{cursor:pointer;float:right;font-weight:700}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%]{color:#999;color:var(--select2-placeholder-color,#999)}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__placeholder__option[_ngcontent-%COMP%]{display:none}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%]{display:flex;width:20px;align-items:center;justify-content:center}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%]::before{content:' ';border-color:#888 transparent;border-color:var(--select2-arrow-color,#888) transparent;border-style:solid;border-width:5px 4px 0;height:0;width:0}.select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]{background:#eee;background:var(--select2-selection-disabled-background,#eee);cursor:default}.select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%]{display:none}.select2-container--default.select2-container--open[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%]::before{border-color:transparent transparent #888;border-color:transparent transparent var(--select2-arrow-color,#888);border-width:0 4px 5px}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background:#fff;background:var(--select2-selection-background,#fff);border:1px solid #aaa;border:1px solid var(--select2-selection-border-color,#aaa);border-radius:4px;border-radius:var(--select2-selection-border-radius,4px);cursor:text}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{flex:1 1 auto;box-sizing:border-box;list-style:none;margin:0;padding:0 5px;width:100%}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style:none}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%]{color:#999;color:var(--select2-placeholder-color,#999);margin-top:5px;float:left}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__placeholder__option[_ngcontent-%COMP%]{display:none}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%]{cursor:pointer;float:right;font-weight:700;margin-top:5px;margin-right:10px}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice[_ngcontent-%COMP%]{color:#000;color:var(--select2-selection-choice-text-color,#000);background:#e4e4e4;background:var(--select2-selection-choice-background,#e4e4e4);border:1px solid #aaa;border:1px solid var(--select2-selection-choice-border-color,#aaa);border-radius:4px;border-radius:var(--select2-selection-border-radius,4px);cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice__remove[_ngcontent-%COMP%]{color:#999;color:var(--select2-selection-choice-close-color,#999);cursor:pointer;display:inline-block;font-weight:700;margin-right:2px}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice__remove[_ngcontent-%COMP%]:hover{color:#333;color:var(--select2-selection-choice-hover-close-color,#333)}.select2-container--default.select2-container--focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]{border:1px solid #000;border:solid var(--select2-selection-focus-border-color,#000) 1px;outline:0}.select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background:#eee;background:var(--select2-selection-disabled-background,#eee);cursor:default}.select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection__choice__remove[_ngcontent-%COMP%]{display:none}.select2-container--default.select2-container--open.select2-container--above[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%], .select2-container--default.select2-container--open.select2-container--above[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%], .select2-container--default.select2-container--open.select2-container--below[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]{border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--default[_ngcontent-%COMP%] .select2-search--dropdown[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]{border:1px solid #aaa;border:1px solid var(--select2-search-border-color,#aaa);background:#fff;background:1px solid var(--select2-search-background,#fff);border-radius:0;border-radius:var(--select2-search-border-radius,0)}.select2-container--default[_ngcontent-%COMP%] .select2-search--inline[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]{background:0 0;border:none;outline:0;box-shadow:none;-webkit-appearance:textfield}.select2-container--default[_ngcontent-%COMP%] .select2-results[_ngcontent-%COMP%] > .select2-results__options[_ngcontent-%COMP%]{overflow-y:auto}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[role=group][_ngcontent-%COMP%]{padding:0}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[aria-disabled=true][_ngcontent-%COMP%]{color:#999;color:var(--select2-option-disabled-text-color,#999);background:0 0;background:var(--select2-option-disabled-background,transparent)}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[aria-selected=true][_ngcontent-%COMP%]{color:#000;color:var(--select2-option-selected-text-color,#000);background:#ddd;background:var(--select2-option-selected-background,#ddd)}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{padding-left:1em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__group[_ngcontent-%COMP%]{padding-left:0}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-1em;padding-left:2em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-2em;padding-left:3em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-3em;padding-left:4em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-4em;padding-left:5em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-5em;padding-left:6em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option--highlighted[aria-selected][_ngcontent-%COMP%]{background:#5897fb;background:var(--select2-option-highlighted-background,#5897fb);color:#fff;color:var(--select2-option-highlighted-text-color,#fff)}.select2-container--default[_ngcontent-%COMP%] .select2-results__group[_ngcontent-%COMP%]{cursor:default;display:block;padding:6px;color:gray;color:var(--select2-option-group-text-color,gray);background:0 0;background:var(--select2-option-group-background,transparent)}.nostyle[_nghost-%COMP%] .select2-dropdown[_ngcontent-%COMP%]{border-color:transparent}.nostyle[_nghost-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%], .nostyle[_nghost-%COMP%] .select2-selection--single[_ngcontent-%COMP%]{background:0 0;border-color:transparent}.nostyle[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%], .nostyle[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .nostyle[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%], .nostyle[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]{background:0 0;border-color:transparent}.material[_nghost-%COMP%]{display:inline-block;width:300px}.material[_nghost-%COMP%] > .select2-container[_ngcontent-%COMP%]{padding-bottom:1.29688em;vertical-align:inherit}.material[_nghost-%COMP%] > .select2-container[_ngcontent-%COMP%] .selection[_ngcontent-%COMP%]{padding:.4375em 0;border-top:.84375em solid transparent;display:inline-flex;align-items:baseline;width:100%;height:auto}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]{width:100%;border:0;border-radius:0;height:24px;box-sizing:border-box}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]::before, .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]::before{content:' ';display:block;position:absolute;bottom:1.65em;background:#ddd;background:var(--select2-material-underline,#ddd);height:1px;width:100%}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]::after, .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]::after{content:' ';display:block;position:absolute;bottom:1.63em;background:#5a419e;background:var(--select2-material-underline-active,#5a419e);height:2px;width:0%;left:50%;transition:none}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{padding-left:1px;line-height:inherit}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%]{display:block;color:rgba(0,0,0,.38);color:var(--select2-material-placeholder-color,rgba(0,0,0,.38));transition:transform .3s;position:absolute;transform-origin:0 21px;left:0;top:20px}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-container--open[_ngcontent-%COMP%]{left:0;bottom:1.6em}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection__placeholder__option[_ngcontent-%COMP%]{transform:translateY(-1.5em) scale(.75) perspective(100px) translateZ(.001px);width:133.33333%}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%]{top:20px}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]::after, .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]::after, .material[_nghost-%COMP%] .select2-container--default.select2-container--open[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]::after, .material[_nghost-%COMP%] .select2-container--default.select2-container--open[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]::after{transition:width .3s cubic-bezier(.12,1,.77,1),left .3s cubic-bezier(.12,1,.77,1);width:100%;left:0}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-dropdown[_ngcontent-%COMP%]{border-radius:0;border:0;box-shadow:0 5px 5px rgba(0,0,0,.5)}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-results__option--highlighted[aria-selected][_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-results__option[aria-selected=true][_ngcontent-%COMP%]{background:rgba(0,0,0,.04);background:var(--select2-material-option-selected-background,rgba(0,0,0,.04));color:#000;color:var(--select2-material-option-highlighted-text-color,#000)}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-results__option[aria-selected=true][_ngcontent-%COMP%]{color:#ff5722;color:var(--select2-material-option-selected-text-color,#ff5722)}.material[_nghost-%COMP%] .select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]{background:0 0}.material[_nghost-%COMP%] .select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]::before, .material[_nghost-%COMP%] .select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]::before{background:linear-gradient(to right,rgba(0,0,0,.26) 0,rgba(0,0,0,.26) 33%,transparent 0);background:var(--select2-material-underline-disabled,linear-gradient(to right,rgba(0,0,0,.26) 0,rgba(0,0,0,.26) 33%,transparent 0));background-size:4px 1px;background-repeat:repeat-x;background-position:0 bottom}.material.ng-invalid.ng-touched[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]::after, .material.ng-invalid.ng-touched[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]::before, .material.ng-invalid.ng-touched[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]::after, .material.ng-invalid.ng-touched[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]::before{background:red;background:var(--select2-material-underline-invalid,red)}.material[_nghost-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%], .material[_nghost-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]{border:0}.material[_nghost-%COMP%] .select2-subscript-wrapper[_ngcontent-%COMP%]{position:absolute;top:calc(100% - 1.72917em);font-size:75%;color:#888;color:var(--select2-hint-text-color,#888)}@supports (-moz-appearance:none){select2.material[_ngcontent-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%], select2.material[_ngcontent-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]{height:26px}}@supports (-ms-scroll-limit:0){select2.material[_ngcontent-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%], select2.material[_ngcontent-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]{height:25px}}"]],data:{}});function Mp(e){return cs(0,[(e()(),Kl(0,0,null,null,0,"span",[["class","select2-required"]],null,null,null,null,null))],null,null)}function kp(e){return cs(0,[(e()(),Kl(0,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),as(-1,null,["\xa0"]))],null,null)}function Sp(e){return cs(0,[(e()(),Kl(0,0,null,null,0,"span",[],[[8,"innerHTML",1]],null,null,null,null))],null,function(e,t){e(t,0,0,t.component.select2Option.label)})}function Ip(e){return cs(0,[(e()(),Kl(0,0,null,null,6,"span",[["class","select2-selection__rendered"]],[[8,"title",0]],null,null,null,null)),(e()(),Ql(16777216,null,null,1,null,kp)),ja(2,16384,null,0,Iu,[Mi,Po],{ngIf:[0,"ngIf"]},null),(e()(),Ql(16777216,null,null,1,null,Sp)),ja(4,16384,null,0,Iu,[Mi,Po],{ngIf:[0,"ngIf"]},null),(e()(),Kl(5,0,null,null,1,"span",[["class","select2-selection__placeholder"]],[[2,"select2-selection__placeholder__option",null]],null,null,null,null)),(e()(),as(6,null,["",""]))],function(e,t){var n=t.component;e(t,2,0,!n.select2Option),e(t,4,0,n.select2Option)},function(e,t){var n=t.component;e(t,0,0,n.select2Option?n.select2Option.label:""),e(t,5,0,n.option),e(t,6,0,n.placeholder)})}function Tp(e){return cs(0,[(e()(),Kl(0,0,null,null,0,"span",[["class","select2-selection__arrow"],["role","presentation"]],null,null,null,null,null))],null,null)}function Np(e){return cs(0,[(e()(),Kl(0,0,null,null,3,"li",[["class","select2-selection__choice"]],[[8,"title",0]],null,null,null,null)),(e()(),Kl(1,0,null,null,1,"span",[["class","select2-selection__choice__remove"],["role","presentation"]],null,[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.removeSelection(n,e.context.$implicit)&&r),r},null,null)),(e()(),as(-1,null,["\xd7"])),(e()(),Kl(3,0,null,null,0,"span",[],[[8,"innerHTML",1]],null,null,null,null))],null,function(e,t){e(t,0,0,t.context.$implicit.label),e(t,3,0,t.context.$implicit.label)})}function Ap(e){return cs(0,[(e()(),Kl(0,0,null,null,4,"ul",[["class","select2-selection__rendered"]],null,null,null,null,null)),(e()(),Kl(1,0,null,null,1,"span",[["class","select2-selection__placeholder"]],[[2,"select2-selection__placeholder__option",null]],null,null,null,null)),(e()(),as(2,null,["",""])),(e()(),Ql(16777216,null,null,1,null,Np)),ja(4,278528,null,0,ku,[Mi,Po,qi],{ngForOf:[0,"ngForOf"],ngForTrackBy:[1,"ngForTrackBy"]},null)],function(e,t){var n=t.component;e(t,4,0,n.option,n.trackBy)},function(e,t){var n=t.component;e(t,1,0,(null==n.select2Options?null:n.select2Options.length)>0),e(t,2,0,n.placeholder)})}function Vp(e){return cs(0,[(e()(),Kl(0,0,[[3,0],["result",1]],null,0,"li",[["role","treeitem"]],[[8,"id",0],[8,"className",0],[1,"aria-selected",0],[1,"aria-disabled",0],[8,"innerHTML",1]],[[null,"mouseenter"],[null,"click"]],function(e,t,n){var r=!0,o=e.component;return"mouseenter"===t&&(r=!1!==o.mouseenter(e.context.$implicit)&&r),"click"===t&&(r=!1!==o.click(e.context.$implicit)&&r),r},null,null))],null,function(e,t){var n=t.component;e(t,0,0,t.context.$implicit.id||n.id+"-option-"+t.parent.parent.context.index+"-"+t.context.index,n.getOptionStyle(t.context.$implicit),n.isSelected(t.context.$implicit),n.isDisabled(t.context.$implicit),t.context.$implicit.label)})}function Dp(e){return cs(0,[(e()(),Kl(0,0,null,null,4,"li",[["class","select2-results__option"],["role","group"]],null,null,null,null,null)),(e()(),Kl(1,0,null,null,0,"strong",[],[[1,"class",0],[8,"innerHTML",1]],null,null,null,null)),(e()(),Kl(2,0,null,null,2,"ul",[["class","select2-results__options select2-results__options--nested"]],null,null,null,null,null)),(e()(),Ql(16777216,null,null,1,null,Vp)),ja(4,278528,null,0,ku,[Mi,Po,qi],{ngForOf:[0,"ngForOf"],ngForTrackBy:[1,"ngForTrackBy"]},null)],function(e,t){e(t,4,0,t.parent.context.$implicit.options,t.component.trackBy)},function(e,t){e(t,1,0,"select2-results__group"+(t.parent.context.$implicit.classes?" "+t.parent.context.$implicit.classes:""),t.parent.context.$implicit.label)})}function Rp(e){return cs(0,[(e()(),Kl(0,0,[[3,0],["result",1]],null,0,"li",[["role","treeitem"]],[[8,"id",0],[8,"className",0],[1,"aria-selected",0],[1,"aria-disabled",0],[8,"innerHTML",1]],[[null,"mouseenter"],[null,"click"]],function(e,t,n){var r=!0,o=e.component;return"mouseenter"===t&&(r=!1!==o.mouseenter(e.parent.context.$implicit)&&r),"click"===t&&(r=!1!==o.click(e.parent.context.$implicit)&&r),r},null,null))],null,function(e,t){var n=t.component;e(t,0,0,t.parent.context.$implicit.id||n.id+"-option-"+t.parent.context.index,n.getOptionStyle(t.parent.context.$implicit),n.isSelected(t.parent.context.$implicit),n.isDisabled(t.parent.context.$implicit),t.parent.context.$implicit.label)})}function jp(e){return cs(0,[(e()(),Kl(0,0,null,null,4,null,null,null,null,null,null,null)),(e()(),Ql(16777216,null,null,1,null,Dp)),ja(2,16384,null,0,Iu,[Mi,Po],{ngIf:[0,"ngIf"]},null),(e()(),Ql(16777216,null,null,1,null,Rp)),ja(4,16384,null,0,Iu,[Mi,Po],{ngIf:[0,"ngIf"]},null),(e()(),Ql(0,null,null,0))],function(e,t){e(t,2,0,t.context.$implicit.options),e(t,4,0,!t.context.$implicit.options)},null)}function Fp(e){return cs(0,[es(402653184,1,{selection:0}),es(402653184,2,{resultContainer:0}),es(671088640,3,{results:1}),es(402653184,4,{searchInput:0}),(e()(),Kl(4,0,null,null,3,"div",[["class","select2-label"]],null,[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.toggleOpenAndClose()&&r),r},null,null)),is(null,0),(e()(),Ql(16777216,null,null,1,null,Mp)),ja(7,16384,null,0,Iu,[Mi,Po],{ngIf:[0,"ngIf"]},null),(e()(),Kl(8,0,null,null,18,"div",[["class","select2 select2-container select2-container--default select2-container--focus"]],[[2,"select2-container--below",null],[2,"select2-container--above",null],[2,"select2-container--open",null],[2,"select2-container--disabled",null]],null,null,null,null)),(e()(),Kl(9,0,[[1,0],["selection",1]],null,7,"div",[["class","selection"]],[[1,"tabindex",0],[2,"select2-focused",null]],[[null,"click"],[null,"focus"],[null,"blur"],[null,"keydown"]],function(e,t,n){var r=!0,o=e.component;return"click"===t&&(r=!1!==o.toggleOpenAndClose()&&r),"focus"===t&&(r=!1!==o.focusin()&&r),"blur"===t&&(r=!1!==o.focusout()&&r),"keydown"===t&&(r=!1!==o.openKey(n)&&r),r},null,null)),(e()(),Kl(10,0,null,null,6,"div",[["class","select2-selection"],["role","combobox"]],[[2,"select2-selection--multiple",null],[2,"select2-selection--single",null]],null,null,null,null)),(e()(),Ql(16777216,null,null,1,null,Ip)),ja(12,16384,null,0,Iu,[Mi,Po],{ngIf:[0,"ngIf"]},null),(e()(),Ql(16777216,null,null,1,null,Tp)),ja(14,16384,null,0,Iu,[Mi,Po],{ngIf:[0,"ngIf"]},null),(e()(),Ql(16777216,null,null,1,null,Ap)),ja(16,16384,null,0,Iu,[Mi,Po],{ngIf:[0,"ngIf"]},null),(e()(),Kl(17,0,null,null,7,"div",[["class","select2-container select2-container--default select2-container-dropdown"]],[[2,"select2-container--open",null]],null,null,null,null)),(e()(),Kl(18,0,null,null,6,"div",[["class","select2-dropdown"]],[[2,"select2-dropdown--below",null],[2,"select2-dropdown--above",null]],null,null,null,null)),(e()(),Kl(19,0,null,null,1,"div",[["class","select2-search select2-search--dropdown"]],[[2,"select2-search--hide",null]],null,null,null,null)),(e()(),Kl(20,0,[[4,0],["searchInput",1]],null,0,"input",[["autocapitalize","off"],["autocomplete","off"],["autocorrect","off"],["class","select2-search__field"],["role","textbox"],["spellcheck","false"],["type","search"]],[[8,"id",0],[8,"value",0],[1,"tabindex",0]],[[null,"keydown"],[null,"keyup"],[null,"change"]],function(e,t,n){var r=!0,o=e.component;return"keydown"===t&&(r=!1!==o.keyDown(n)&&r),"keyup"===t&&(r=!1!==o.searchUpdate(n)&&r),"change"===t&&(r=!1!==o.prevChange(n)&&r),r},null,null)),(e()(),Kl(21,0,null,null,3,"div",[["class","select2-results"]],null,null,null,null,null)),(e()(),Kl(22,0,[[2,0],["results",1]],null,2,"ul",[["class","select2-results__options"],["role","tree"],["tabindex","-1"]],[[4,"max-height",null]],[[null,"keydown"]],function(e,t,n){var r=!0;return"keydown"===t&&(r=!1!==e.component.keyDown(n)&&r),r},null,null)),(e()(),Ql(16777216,null,null,1,null,jp)),ja(24,278528,null,0,ku,[Mi,Po,qi],{ngForOf:[0,"ngForOf"],ngForTrackBy:[1,"ngForTrackBy"]},null),(e()(),Kl(25,0,null,null,1,"div",[["class","select2-subscript-wrapper"]],null,null,null,null,null)),is(null,1)],function(e,t){var n=t.component;e(t,7,0,n.required),e(t,12,0,!n.multiple),e(t,14,0,!n.multiple),e(t,16,0,n.multiple),e(t,24,0,n.filteredData,n.trackBy)},function(e,t){var n=t.component;e(t,8,0,!n.select2above,n.select2above,n.isOpen,n.disabled),e(t,9,0,n.isOpen?"-1":n.tabIndex,n.focused),e(t,10,0,n.multiple,!n.multiple),e(t,17,0,n.isOpen),e(t,18,0,!n.select2above,n.select2above),e(t,19,0,n.hideSearch()),e(t,20,0,n.id+"-search-field",n.searchText,n.isOpen?n.tabIndex:"-1"),e(t,22,0,n.resultMaxHeight)})}var Hp=function(){return function(){}}(),Lp=function(){return function(){}}(),Bp=wl({encapsulation:0,styles:[['@charset "UTF-8"; :root{--select2-label-text-color:#000;--select2-required-color:red;--select2-selection-border-radius:4px;--select2-selection-background:#fff;--select2-selection-disabled-background:#eee;--select2-selection-border-color:#aaa;--select2-selection-focus-border-color:#000;--select2-selection-text-color:#444;--select2-selection-choice-background:#e4e4e4;--select2-selection-choice-text-color:#000;--select2-selection-choice-border-color:#aaa;--select2-selection-choice-close-color:#999;--select2-selection-choice-hover-close-color:#333;--select2-placeholder-color:#999;--select2-arrow-color:#888;--select2-dropdown-background:#fff;--select2-dropdown-border-color:#aaa;--select2-search-border-color:#aaa;--select2-search-background:#fff;--select2-search-border-radius:0px;--select2-option-text-color:#000;--select2-option-disabled-text-color:#999;--select2-option-disabled-background:transparent;--select2-option-selected-text-color:#000;--select2-option-selected-background:#ddd;--select2-option-highlighted-text-color:#fff;--select2-option-highlighted-background:#5897fb;--select2-option-group-text-color:gray;--select2-option-group-background:transparent;--select2-hint-text-color:#888;--select2-material-underline:#ddd;--select2-material-underline-active:#5a419e;--select2-material-underline-disabled:linear-gradient(to right, rgba(0, 0, 0, 0.26) 0, rgba(0, 0, 0, 0.26) 33%, transparent 0);--select2-material-underline-invalid:red;--select2-material-placeholder-color:rgba(0, 0, 0, 0.38);--select2-material-selection-background:#ddd;--select2-material-option-selected-background:rgba(0, 0, 0, 0.04);--select2-material-option-highlighted-text-color:#000;--select2-material-option-selected-text-color:#ff5722}#select2-17[_ngcontent-%COMP%] .select2-multiple-labels{display:flex;justify-content:space-between}.noStyle[_ngcontent-%COMP%]{background-color:#faebd7}.flower-list[_ngcontent-%COMP%] .flower.white::before{content:"\ud83c\udf3c "}.flower-list[_ngcontent-%COMP%] .flower.red::before{content:"\ud83c\udf39 "}.flower-list[_ngcontent-%COMP%] .flower.yellow::before{content:"\ud83c\udf3b "}']],data:{}});function Up(e){return cs(0,[(e()(),Kl(0,0,null,null,169,"div",[["style","width: 500px;"]],null,null,null,null,null)),(e()(),Kl(1,0,null,null,1,"a",[["href","https://github.com/Zefling/ng-select2/tree/master/src"],["target","_blank"]],null,null,null,null,null)),(e()(),as(-1,null,["the source code of the demo"])),(e()(),Kl(3,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),as(4,null,["1. options in group (",")"])),(e()(),Kl(5,0,null,null,1,"select2",[["id","selec2-1"]],[[8,"id",0],[1,"aria-invalid",0],[2,"material",null],[2,"nostyle",null],[2,"select2-above",null]],[[null,"update"],[null,"change"],[null,"blur"],[null,"focus"],[null,"open"],[null,"close"],[null,"search"]],function(e,t,n){var r=!0,o=e.component;return"update"===t&&(r=!1!==o.update1(n)&&r),"change"===t&&(r=!1!==o.change1(n)&&r),"blur"===t&&(r=!1!==o.blur1(n)&&r),"focus"===t&&(r=!1!==o.focus1(n)&&r),"open"===t&&(r=!1!==o.open1(n)&&r),"close"===t&&(r=!1!==o.close1(n)&&r),"search"===t&&(r=!1!==o.search1(n)&&r),r},Fp,Ep)),ja(6,4702208,null,0,xp,[Si,[2,qd],[2,ep],[8,null],[8,null]],{data:[0,"data"],id:[1,"id"],value:[2,"value"]},{update:"update",open:"open",close:"close",focus:"focus",blur:"blur",search:"search"}),(e()(),Kl(7,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),as(8,null,["2. options (",")"])),(e()(),Kl(9,0,null,null,1,"select2",[["id","selec2-2"]],[[8,"id",0],[1,"aria-invalid",0],[2,"material",null],[2,"nostyle",null],[2,"select2-above",null]],[[null,"update"]],function(e,t,n){var r=!0;return"update"===t&&(r=!1!==e.component.update2(n)&&r),r},Fp,Ep)),ja(10,4702208,null,0,xp,[Si,[2,qd],[2,ep],[8,null],[8,null]],{data:[0,"data"],id:[1,"id"],value:[2,"value"]},{update:"update"}),(e()(),Kl(11,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),as(12,null,["3. less options (",")"])),(e()(),Kl(13,0,null,null,1,"select2",[["id","selec2-3"]],[[8,"id",0],[1,"aria-invalid",0],[2,"material",null],[2,"nostyle",null],[2,"select2-above",null]],[[null,"update"]],function(e,t,n){var r=!0;return"update"===t&&(r=!1!==e.component.update3(n)&&r),r},Fp,Ep)),ja(14,4702208,null,0,xp,[Si,[2,qd],[2,ep],[8,null],[8,null]],{data:[0,"data"],id:[1,"id"],value:[2,"value"]},{update:"update"}),(e()(),Kl(15,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),as(16,null,["4. disabled (",")"])),(e()(),Kl(17,0,null,null,1,"select2",[["id","selec2-4"]],[[8,"id",0],[1,"aria-invalid",0],[2,"material",null],[2,"nostyle",null],[2,"select2-above",null]],null,null,Fp,Ep)),ja(18,4702208,null,0,xp,[Si,[2,qd],[2,ep],[8,null],[8,null]],{data:[0,"data"],id:[1,"id"],disabled:[2,"disabled"],value:[3,"value"]},null),(e()(),Kl(19,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),as(20,null,["5. hide search box (",")"])),(e()(),Kl(21,0,null,null,9,"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!==Pa(e,23).onSubmit(n)&&r),"reset"===t&&(r=!1!==Pa(e,23).onReset()&&r),r},null,null)),ja(22,16384,null,0,lp,[],null,null),ja(23,540672,null,0,ep,[[8,null],[8,null]],{form:[0,"form"]},null),Ha(2048,null,qc,null,[ep]),ja(25,16384,null,0,Fd,[[4,qc]],null,null),(e()(),Kl(26,0,null,null,4,"select2",[["formControlName","test5"],["id","selec2-5"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[8,"id",0],[1,"aria-invalid",0],[2,"material",null],[2,"nostyle",null],[2,"select2-above",null]],[[null,"update"]],function(e,t,n){var r=!0;return"update"===t&&(r=!1!==e.component.update5(n)&&r),r},Fp,Ep)),ja(27,671744,null,0,op,[[3,qc],[8,null],[8,null],[8,null],[2,Xd]],{name:[0,"name"]},null),Ha(2048,null,sd,null,[op]),ja(29,16384,null,0,jd,[[4,sd]],null,null),ja(30,4702208,null,0,xp,[Si,[2,qd],[2,ep],[6,sd],[8,null]],{data:[0,"data"],minCountForSearch:[1,"minCountForSearch"],id:[2,"id"]},{update:"update"}),(e()(),Kl(31,0,null,null,17,"h3",[],null,null,null,null,null)),(e()(),as(-1,null,["6. search limit to "])),(e()(),Kl(33,0,[["limit",1]],null,0,"input",[["size","3"],["value","7"]],null,null,null,null,null)),(e()(),as(-1,null,[" / display status "])),(e()(),Kl(35,0,[["status",1]],null,12,"select",[],null,null,null,null,null)),(e()(),Kl(36,0,null,null,3,"option",[["selected",""]],null,null,null,null,null)),ja(37,147456,null,0,md,[Ar,Fr,[8,null]],null,null),ja(38,147456,null,0,wd,[Ar,Fr,[8,null]],null,null),(e()(),as(-1,null,["default"])),(e()(),Kl(40,0,null,null,3,"option",[],null,null,null,null,null)),ja(41,147456,null,0,md,[Ar,Fr,[8,null]],null,null),ja(42,147456,null,0,wd,[Ar,Fr,[8,null]],null,null),(e()(),as(-1,null,["hidden"])),(e()(),Kl(44,0,null,null,3,"option",[],null,null,null,null,null)),ja(45,147456,null,0,md,[Ar,Fr,[8,null]],null,null),ja(46,147456,null,0,wd,[Ar,Fr,[8,null]],null,null),(e()(),as(-1,null,["always"])),(e()(),as(48,null,[" (",")"])),(e()(),Kl(49,0,null,null,4,"div",[],null,null,null,null,null)),(e()(),Kl(50,0,null,null,1,"button",[["type","button"]],null,[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.addItem()&&r),r},null,null)),(e()(),as(-1,null,["Add item"])),(e()(),Kl(52,0,null,null,1,"button",[["type","button"]],null,[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.removeItem()&&r),r},null,null)),(e()(),as(-1,null,["Remove item"])),(e()(),Kl(54,0,null,null,1,"select2",[["id","selec2-6"]],[[8,"id",0],[1,"aria-invalid",0],[2,"material",null],[2,"nostyle",null],[2,"select2-above",null]],[[null,"update"]],function(e,t,n){var r=!0;return"update"===t&&(r=!1!==e.component.update6(n)&&r),r},Fp,Ep)),ja(55,4702208,null,0,xp,[Si,[2,qd],[2,ep],[8,null],[8,null]],{data:[0,"data"],displaySearchStatus:[1,"displaySearchStatus"],minCountForSearch:[2,"minCountForSearch"],id:[3,"id"],value:[4,"value"]},{update:"update"}),(e()(),Kl(56,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),as(57,null,["7. placeholder (",")"])),(e()(),Kl(58,0,null,null,1,"select2",[["id","selec2-7"],["placeholder","select an item"]],[[8,"id",0],[1,"aria-invalid",0],[2,"material",null],[2,"nostyle",null],[2,"select2-above",null]],[[null,"update"]],function(e,t,n){var r=!0;return"update"===t&&(r=!1!==e.component.update7(n)&&r),r},Fp,Ep)),ja(59,4702208,null,0,xp,[Si,[2,qd],[2,ep],[8,null],[8,null]],{data:[0,"data"],placeholder:[1,"placeholder"],id:[2,"id"]},{update:"update"}),(e()(),Kl(60,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),as(61,null,["8. open, close and search event (",")"])),(e()(),Kl(62,0,null,null,4,"select2",[["customSearchEnabled","true"],["id","selec2-8"]],[[8,"id",0],[1,"aria-invalid",0],[2,"material",null],[2,"nostyle",null],[2,"select2-above",null]],[[null,"open"],[null,"close"],[null,"search"],[null,"update"]],function(e,t,n){var r=!0,o=e.component;return"open"===t&&(r=!1!==o.open8()&&r),"close"===t&&(r=!1!==o.close8()&&r),"search"===t&&(r=!1!==o.search8(n)&&r),"update"===t&&(r=!1!==o.update8(n)&&r),r},Fp,Ep)),ja(63,4702208,null,0,xp,[Si,[2,qd],[2,ep],[8,null],[8,null]],{data:[0,"data"],customSearchEnabled:[1,"customSearchEnabled"],id:[2,"id"]},{update:"update",open:"open",close:"close",search:"search"}),(e()(),Kl(64,0,null,1,2,"select2-hint",[],null,null,null,null,null)),ja(65,16384,null,0,Hp,[],null,null),(e()(),as(66,null,["value : ",""])),(e()(),Kl(67,0,null,null,10,"h3",[],null,null,null,null,null)),(e()(),as(-1,null,["9. multiple + limite "])),(e()(),Kl(69,0,null,null,6,"input",[["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],function(e,t,n){var r=!0,o=e.component;return"input"===t&&(r=!1!==Pa(e,70)._handleInput(n.target.value)&&r),"blur"===t&&(r=!1!==Pa(e,70).onTouched()&&r),"compositionstart"===t&&(r=!1!==Pa(e,70)._compositionStart()&&r),"compositionend"===t&&(r=!1!==Pa(e,70)._compositionEnd(n.target.value)&&r),"change"===t&&(r=!1!==Pa(e,71).onChange(n.target.value)&&r),"input"===t&&(r=!1!==Pa(e,71).onChange(n.target.value)&&r),"blur"===t&&(r=!1!==Pa(e,71).onTouched()&&r),"ngModelChange"===t&&(r=!1!==(o.limitSelection=n)&&r),r},null,null)),ja(70,16384,null,0,rd,[Fr,Ar,[2,nd]],null,null),ja(71,16384,null,0,ld,[Fr,Ar],null,null),Ha(1024,null,ed,function(e,t){return[e,t]},[rd,ld]),ja(73,671744,null,0,Yd,[[8,null],[8,null],[8,null],[6,ed]],{model:[0,"model"]},{update:"ngModelChange"}),Ha(2048,null,sd,null,[Yd]),ja(75,16384,null,0,jd,[[4,sd]],null,null),(e()(),as(76,null,[" (",")"])),Fa(0,Au,[]),(e()(),Kl(78,0,null,null,1,"select2",[["id","selec2-9"],["multiple","true"]],[[8,"id",0],[1,"aria-invalid",0],[2,"material",null],[2,"nostyle",null],[2,"select2-above",null]],[[null,"update"],[null,"blur"],[null,"focus"],[null,"open"],[null,"close"],[null,"search"]],function(e,t,n){var r=!0,o=e.component;return"update"===t&&(r=!1!==o.update9(n)&&r),"blur"===t&&(r=!1!==o.blur9(n)&&r),"focus"===t&&(r=!1!==o.focus9(n)&&r),"open"===t&&(r=!1!==o.open9(n)&&r),"close"===t&&(r=!1!==o.close9(n)&&r),"search"===t&&(r=!1!==o.search9(n)&&r),r},Fp,Ep)),ja(79,4702208,null,0,xp,[Si,[2,qd],[2,ep],[8,null],[8,null]],{data:[0,"data"],multiple:[1,"multiple"],limitSelection:[2,"limitSelection"],id:[3,"id"],value:[4,"value"]},{update:"update",open:"open",close:"close",focus:"focus",blur:"blur",search:"search"}),(e()(),Kl(80,0,null,null,2,"h3",[],null,null,null,null,null)),(e()(),as(81,null,["10. multiple + hide selected items (",")"])),Fa(0,Au,[]),(e()(),Kl(83,0,null,null,1,"select2",[["hideSelectedItems","true"],["id","selec2-10"],["multiple","true"]],[[8,"id",0],[1,"aria-invalid",0],[2,"material",null],[2,"nostyle",null],[2,"select2-above",null]],[[null,"update"]],function(e,t,n){var r=!0;return"update"===t&&(r=!1!==e.component.update10(n)&&r),r},Fp,Ep)),ja(84,4702208,null,0,xp,[Si,[2,qd],[2,ep],[8,null],[8,null]],{data:[0,"data"],multiple:[1,"multiple"],id:[2,"id"],hideSelectedItems:[3,"hideSelectedItems"],value:[4,"value"]},{update:"update"}),(e()(),Kl(85,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),as(86,null,["11. material style and form binding (",")"])),(e()(),Kl(87,0,null,null,13,"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!==Pa(e,89).onSubmit(n)&&r),"reset"===t&&(r=!1!==Pa(e,89).onReset()&&r),r},null,null)),ja(88,16384,null,0,lp,[],null,null),ja(89,540672,null,0,ep,[[8,null],[8,null]],{form:[0,"form"]},null),Ha(2048,null,qc,null,[ep]),ja(91,16384,null,0,Fd,[[4,qc]],null,null),(e()(),Kl(92,0,null,null,4,"select2",[["formControlName","test11"],["id","selec2-11"],["material",""],["placeholder","Select a state"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[8,"id",0],[1,"aria-invalid",0],[2,"material",null],[2,"nostyle",null],[2,"select2-above",null]],[[null,"ngModelChange"]],function(e,t,n){var r=!0;return"ngModelChange"===t&&(r=!1!==(e.component.value11=n)&&r),r},Fp,Ep)),ja(93,671744,null,0,op,[[3,qc],[8,null],[8,null],[8,null],[2,Xd]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ha(2048,null,sd,null,[op]),ja(95,16384,null,0,jd,[[4,sd]],null,null),ja(96,4702208,null,0,xp,[Si,[2,qd],[2,ep],[6,sd],[8,null]],{data:[0,"data"],placeholder:[1,"placeholder"],material:[2,"material"],id:[3,"id"]},null),(e()(),Kl(97,0,null,null,1,"button",[],null,[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.reset11()&&r),r},null,null)),(e()(),as(-1,null,["reset"])),(e()(),Kl(99,0,null,null,1,"button",[],null,[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.change11()&&r),r},null,null)),(e()(),as(-1,null,["Utah"])),(e()(),Kl(101,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),as(102,null,["12. material style (",")"])),(e()(),Kl(103,0,null,null,1,"select2",[["id","selec2-12"],["material",""]],[[8,"id",0],[1,"aria-invalid",0],[2,"material",null],[2,"nostyle",null],[2,"select2-above",null]],[[null,"update"]],function(e,t,n){var r=!0;return"update"===t&&(r=!1!==e.component.update12(n)&&r),r},Fp,Ep)),ja(104,4702208,null,0,xp,[Si,[2,qd],[2,ep],[8,null],[8,null]],{data:[0,"data"],material:[1,"material"],id:[2,"id"],value:[3,"value"]},{update:"update"}),(e()(),Kl(105,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),as(106,null,["13. boolean value (",")"])),(e()(),Kl(107,0,null,null,1,"select2",[["id","selec2-13"]],[[8,"id",0],[1,"aria-invalid",0],[2,"material",null],[2,"nostyle",null],[2,"select2-above",null]],[[null,"update"]],function(e,t,n){var r=!0;return"update"===t&&(r=!1!==e.component.update13(n)&&r),r},Fp,Ep)),ja(108,4702208,null,0,xp,[Si,[2,qd],[2,ep],[8,null],[8,null]],{data:[0,"data"],id:[1,"id"],value:[2,"value"]},{update:"update"}),(e()(),Kl(109,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),as(-1,null,["14. FormControl"])),(e()(),Kl(111,0,null,null,13,"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!==Pa(e,113).onSubmit(n)&&r),"reset"===t&&(r=!1!==Pa(e,113).onReset()&&r),r},null,null)),ja(112,16384,null,0,lp,[],null,null),ja(113,540672,null,0,ep,[[8,null],[8,null]],{form:[0,"form"]},null),Ha(2048,null,qc,null,[ep]),ja(115,16384,null,0,Fd,[[4,qc]],null,null),(e()(),Kl(116,0,null,null,4,"select2",[["formControlName","state"],["id","selec2-10"],["multiple","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],[8,"id",0],[1,"aria-invalid",0],[2,"material",null],[2,"nostyle",null],[2,"select2-above",null]],null,null,Fp,Ep)),ja(117,671744,null,0,op,[[3,qc],[8,null],[8,null],[8,null],[2,Xd]],{name:[0,"name"]},null),Ha(2048,null,sd,null,[op]),ja(119,16384,null,0,jd,[[4,sd]],null,null),ja(120,4702208,null,0,xp,[Si,[2,qd],[2,ep],[6,sd],[8,null]],{data:[0,"data"],multiple:[1,"multiple"],id:[2,"id"]},null),(e()(),Kl(121,0,null,null,1,"button",[],null,[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.print()&&r),r},null,null)),(e()(),as(-1,null,["Log Selected"])),(e()(),Kl(123,0,null,null,1,"button",[],null,[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.resetForm()&&r),r},null,null)),(e()(),as(-1,null,["Reset Form"])),(e()(),Kl(125,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),as(126,null,["15. with label (",")"])),(e()(),Kl(127,0,null,null,4,"select2",[["id","selec2-15"]],[[8,"id",0],[1,"aria-invalid",0],[2,"material",null],[2,"nostyle",null],[2,"select2-above",null]],[[null,"update"]],function(e,t,n){var r=!0;return"update"===t&&(r=!1!==e.component.update15(n)&&r),r},Fp,Ep)),ja(128,4702208,null,0,xp,[Si,[2,qd],[2,ep],[8,null],[8,null]],{data:[0,"data"],id:[1,"id"],value:[2,"value"]},{update:"update"}),(e()(),Kl(129,0,null,0,2,"select2-label",[],null,null,null,null,null)),ja(130,16384,null,0,Lp,[],null,null),(e()(),as(-1,null,["Select a state"])),(e()(),Kl(132,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),as(133,null,["16. required with label (",")"])),(e()(),Kl(134,0,null,null,4,"select2",[["id","selec2-16"],["required",""]],[[8,"id",0],[1,"aria-invalid",0],[2,"material",null],[2,"nostyle",null],[2,"select2-above",null]],[[null,"update"]],function(e,t,n){var r=!0;return"update"===t&&(r=!1!==e.component.update16(n)&&r),r},Fp,Ep)),ja(135,4702208,null,0,xp,[Si,[2,qd],[2,ep],[8,null],[8,null]],{data:[0,"data"],id:[1,"id"],required:[2,"required"],value:[3,"value"]},{update:"update"}),(e()(),Kl(136,0,null,0,2,"select2-label",[],null,null,null,null,null)),ja(137,16384,null,0,Lp,[],null,null),(e()(),as(-1,null,["Select a state"])),(e()(),Kl(139,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),as(140,null,["17. with two option labels (",")"])),(e()(),Kl(141,0,null,null,1,"select2",[["id","select2-17"]],[[8,"id",0],[1,"aria-invalid",0],[2,"material",null],[2,"nostyle",null],[2,"select2-above",null]],[[null,"update"]],function(e,t,n){var r=!0;return"update"===t&&(r=!1!==e.component.update17(n)&&r),r},Fp,Ep)),ja(142,4702208,null,0,xp,[Si,[2,qd],[2,ep],[8,null],[8,null]],{data:[0,"data"],id:[1,"id"],value:[2,"value"]},{update:"update"}),(e()(),Kl(143,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),as(-1,null,["18. search starts with 3 chars"])),(e()(),Kl(145,0,null,null,1,"select2",[["id","selec2-18"],["minCharForSearch","3"]],[[8,"id",0],[1,"aria-invalid",0],[2,"material",null],[2,"nostyle",null],[2,"select2-above",null]],[[null,"update"]],function(e,t,n){var r=!0;return"update"===t&&(r=!1!==e.component.update18(n)&&r),r},Fp,Ep)),ja(146,4702208,null,0,xp,[Si,[2,qd],[2,ep],[8,null],[8,null]],{data:[0,"data"],minCharForSearch:[1,"minCharForSearch"],id:[2,"id"],value:[3,"value"]},{update:"update"}),(e()(),Kl(147,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),as(148,null,["19. dropdown list position above (",")"])),(e()(),Kl(149,0,null,null,1,"select2",[["id","selec2-19"],["listPosition","above"]],[[8,"id",0],[1,"aria-invalid",0],[2,"material",null],[2,"nostyle",null],[2,"select2-above",null]],[[null,"update"]],function(e,t,n){var r=!0;return"update"===t&&(r=!1!==e.component.update19(n)&&r),r},Fp,Ep)),ja(150,4702208,null,0,xp,[Si,[2,qd],[2,ep],[8,null],[8,null]],{data:[0,"data"],listPosition:[1,"listPosition"],id:[2,"id"],value:[3,"value"]},{update:"update"}),(e()(),Kl(151,0,null,null,4,"div",[["class","noStyle"]],null,null,null,null,null)),(e()(),Kl(152,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),as(153,null,["20. nostyle (",")"])),(e()(),Kl(154,0,null,null,1,"select2",[["id","selec2-20"],["listPosition","above"],["noStyle",""]],[[8,"id",0],[1,"aria-invalid",0],[2,"material",null],[2,"nostyle",null],[2,"select2-above",null]],[[null,"update"]],function(e,t,n){var r=!0;return"update"===t&&(r=!1!==e.component.update20(n)&&r),r},Fp,Ep)),ja(155,4702208,null,0,xp,[Si,[2,qd],[2,ep],[8,null],[8,null]],{data:[0,"data"],listPosition:[1,"listPosition"],noStyle:[2,"noStyle"],id:[3,"id"],value:[4,"value"]},{update:"update"}),(e()(),Kl(156,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),as(157,null,["21. update to empty/null/undefined (",")"])),(e()(),Kl(158,0,null,null,1,"select2",[["id","selec2-21"],["listPosition","above"]],[[8,"id",0],[1,"aria-invalid",0],[2,"material",null],[2,"nostyle",null],[2,"select2-above",null]],[[null,"update"]],function(e,t,n){var r=!0;return"update"===t&&(r=!1!==e.component.update21(n)&&r),r},Fp,Ep)),ja(159,4702208,null,0,xp,[Si,[2,qd],[2,ep],[8,null],[8,null]],{data:[0,"data"],listPosition:[1,"listPosition"],id:[2,"id"],value:[3,"value"]},{update:"update"}),(e()(),Kl(160,0,null,null,1,"button",[],null,[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==(e.component.value21="")&&r),r},null,null)),(e()(),as(-1,null,["Update value to empty string"])),(e()(),Kl(162,0,null,null,1,"button",[],null,[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==(e.component.value21=null)&&r),r},null,null)),(e()(),as(-1,null,["Update value to null"])),(e()(),Kl(164,0,null,null,1,"button",[],null,[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==(e.component.value21=void 0)&&r),r},null,null)),(e()(),as(-1,null,["Update value to undefined"])),(e()(),Kl(166,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),as(167,null,["22. with item classes and id (",")"])),(e()(),Kl(168,0,null,null,1,"select2",[["class","flower-list"],["id","selec2-22"],["listPosition","above"]],[[8,"id",0],[1,"aria-invalid",0],[2,"material",null],[2,"nostyle",null],[2,"select2-above",null]],[[null,"update"]],function(e,t,n){var r=!0;return"update"===t&&(r=!1!==e.component.update22(n)&&r),r},Fp,Ep)),ja(169,4702208,null,0,xp,[Si,[2,qd],[2,ep],[8,null],[8,null]],{data:[0,"data"],listPosition:[1,"listPosition"],id:[2,"id"],value:[3,"value"]},{update:"update"})],function(e,t){var n=t.component;e(t,6,0,n.data1,"selec2-1",n.value1),e(t,10,0,n.data2,"selec2-2",n.value2),e(t,14,0,n.data3,"selec2-3",n.value3),e(t,18,0,n.data4,"selec2-4",!0,n.value4),e(t,23,0,n.ctrlForm2),e(t,27,0,"test5"),e(t,30,0,n.data5,n.minCountForSearch,"selec2-5"),e(t,55,0,n.data6,Pa(t,35).value,Pa(t,33).value,"selec2-6",n.value6),e(t,59,0,n.data7,"select an item","selec2-7"),e(t,63,0,n.data8,"true","selec2-8"),e(t,73,0,n.limitSelection),e(t,79,0,n.data9,"true",n.limitSelection,"selec2-9",n.value9),e(t,84,0,n.data10,"true","selec2-10","true",n.value10),e(t,89,0,n.ctrlForm),e(t,93,0,"test11",n.value11),e(t,96,0,n.data11,"Select a state","","selec2-11"),e(t,104,0,n.data12,"","selec2-12",n.value12),e(t,108,0,n.data13,"selec2-13",n.value13),e(t,113,0,n.fg),e(t,117,0,"state"),e(t,120,0,n.data9,"true","selec2-10"),e(t,128,0,n.data15,"selec2-15",n.value15),e(t,135,0,n.data16,"selec2-16","",n.value16),e(t,142,0,n.data17,"select2-17",n.value17),e(t,146,0,n.data18,"3","selec2-18",n.value18),e(t,150,0,n.data19,"above","selec2-19",n.value19),e(t,155,0,n.data20,"above","","selec2-20",n.value20),e(t,159,0,n.data21,"above","selec2-21",n.value21),e(t,169,0,n.data22,"above","selec2-22",n.value22)},function(e,t){var n=t.component;e(t,4,0,n.value1),e(t,5,0,Pa(t,6).id,Pa(t,6).ariaInvalid,Pa(t,6).classMaterial,Pa(t,6).classNostyle,Pa(t,6).select2above),e(t,8,0,n.value2),e(t,9,0,Pa(t,10).id,Pa(t,10).ariaInvalid,Pa(t,10).classMaterial,Pa(t,10).classNostyle,Pa(t,10).select2above),e(t,12,0,n.value3),e(t,13,0,Pa(t,14).id,Pa(t,14).ariaInvalid,Pa(t,14).classMaterial,Pa(t,14).classNostyle,Pa(t,14).select2above),e(t,16,0,n.value4),e(t,17,0,Pa(t,18).id,Pa(t,18).ariaInvalid,Pa(t,18).classMaterial,Pa(t,18).classNostyle,Pa(t,18).select2above),e(t,20,0,n.value5),e(t,21,0,Pa(t,25).ngClassUntouched,Pa(t,25).ngClassTouched,Pa(t,25).ngClassPristine,Pa(t,25).ngClassDirty,Pa(t,25).ngClassValid,Pa(t,25).ngClassInvalid,Pa(t,25).ngClassPending),e(t,26,1,[Pa(t,29).ngClassUntouched,Pa(t,29).ngClassTouched,Pa(t,29).ngClassPristine,Pa(t,29).ngClassDirty,Pa(t,29).ngClassValid,Pa(t,29).ngClassInvalid,Pa(t,29).ngClassPending,Pa(t,30).id,Pa(t,30).ariaInvalid,Pa(t,30).classMaterial,Pa(t,30).classNostyle,Pa(t,30).select2above]),e(t,48,0,n.value6),e(t,54,0,Pa(t,55).id,Pa(t,55).ariaInvalid,Pa(t,55).classMaterial,Pa(t,55).classNostyle,Pa(t,55).select2above),e(t,57,0,n.value7),e(t,58,0,Pa(t,59).id,Pa(t,59).ariaInvalid,Pa(t,59).classMaterial,Pa(t,59).classNostyle,Pa(t,59).select2above),e(t,61,0,n.value8),e(t,62,0,Pa(t,63).id,Pa(t,63).ariaInvalid,Pa(t,63).classMaterial,Pa(t,63).classNostyle,Pa(t,63).select2above),e(t,66,0,n.value8),e(t,69,0,Pa(t,75).ngClassUntouched,Pa(t,75).ngClassTouched,Pa(t,75).ngClassPristine,Pa(t,75).ngClassDirty,Pa(t,75).ngClassValid,Pa(t,75).ngClassInvalid,Pa(t,75).ngClassPending),e(t,76,0,ml(t,76,0,Pa(t,77).transform(n.value9))),e(t,78,0,Pa(t,79).id,Pa(t,79).ariaInvalid,Pa(t,79).classMaterial,Pa(t,79).classNostyle,Pa(t,79).select2above),e(t,81,0,ml(t,81,0,Pa(t,82).transform(n.value10))),e(t,83,0,Pa(t,84).id,Pa(t,84).ariaInvalid,Pa(t,84).classMaterial,Pa(t,84).classNostyle,Pa(t,84).select2above),e(t,86,0,n.value11),e(t,87,0,Pa(t,91).ngClassUntouched,Pa(t,91).ngClassTouched,Pa(t,91).ngClassPristine,Pa(t,91).ngClassDirty,Pa(t,91).ngClassValid,Pa(t,91).ngClassInvalid,Pa(t,91).ngClassPending),e(t,92,1,[Pa(t,95).ngClassUntouched,Pa(t,95).ngClassTouched,Pa(t,95).ngClassPristine,Pa(t,95).ngClassDirty,Pa(t,95).ngClassValid,Pa(t,95).ngClassInvalid,Pa(t,95).ngClassPending,Pa(t,96).id,Pa(t,96).ariaInvalid,Pa(t,96).classMaterial,Pa(t,96).classNostyle,Pa(t,96).select2above]),e(t,102,0,n.value12),e(t,103,0,Pa(t,104).id,Pa(t,104).ariaInvalid,Pa(t,104).classMaterial,Pa(t,104).classNostyle,Pa(t,104).select2above),e(t,106,0,n.value13),e(t,107,0,Pa(t,108).id,Pa(t,108).ariaInvalid,Pa(t,108).classMaterial,Pa(t,108).classNostyle,Pa(t,108).select2above),e(t,111,0,Pa(t,115).ngClassUntouched,Pa(t,115).ngClassTouched,Pa(t,115).ngClassPristine,Pa(t,115).ngClassDirty,Pa(t,115).ngClassValid,Pa(t,115).ngClassInvalid,Pa(t,115).ngClassPending),e(t,116,1,[Pa(t,119).ngClassUntouched,Pa(t,119).ngClassTouched,Pa(t,119).ngClassPristine,Pa(t,119).ngClassDirty,Pa(t,119).ngClassValid,Pa(t,119).ngClassInvalid,Pa(t,119).ngClassPending,Pa(t,120).id,Pa(t,120).ariaInvalid,Pa(t,120).classMaterial,Pa(t,120).classNostyle,Pa(t,120).select2above]),e(t,126,0,n.value15),e(t,127,0,Pa(t,128).id,Pa(t,128).ariaInvalid,Pa(t,128).classMaterial,Pa(t,128).classNostyle,Pa(t,128).select2above),e(t,133,0,n.value16),e(t,134,0,Pa(t,135).id,Pa(t,135).ariaInvalid,Pa(t,135).classMaterial,Pa(t,135).classNostyle,Pa(t,135).select2above),e(t,140,0,n.value17),e(t,141,0,Pa(t,142).id,Pa(t,142).ariaInvalid,Pa(t,142).classMaterial,Pa(t,142).classNostyle,Pa(t,142).select2above),e(t,145,0,Pa(t,146).id,Pa(t,146).ariaInvalid,Pa(t,146).classMaterial,Pa(t,146).classNostyle,Pa(t,146).select2above),e(t,148,0,n.value19),e(t,149,0,Pa(t,150).id,Pa(t,150).ariaInvalid,Pa(t,150).classMaterial,Pa(t,150).classNostyle,Pa(t,150).select2above),e(t,153,0,n.value20),e(t,154,0,Pa(t,155).id,Pa(t,155).ariaInvalid,Pa(t,155).classMaterial,Pa(t,155).classNostyle,Pa(t,155).select2above),e(t,157,0,n.value21),e(t,158,0,Pa(t,159).id,Pa(t,159).ariaInvalid,Pa(t,159).classMaterial,Pa(t,159).classNostyle,Pa(t,159).select2above),e(t,167,0,n.value22),e(t,168,0,Pa(t,169).id,Pa(t,169).ariaInvalid,Pa(t,169).classMaterial,Pa(t,169).classNostyle,Pa(t,169).select2above)})}function zp(e){return cs(0,[(e()(),Kl(0,0,null,null,1,"app-root",[],null,null,null,Up,Bp)),ja(1,49152,null,0,bp,[ip],null,null)],null,null)}var Gp=fa("app-root",bp,zp,{},{},[]),Zp=function(){return function(){}}(),Wp=vu(yu,[bp],function(e){return function(e){for(var t={},n=[],r=!1,o=0;o