From 0a675fe10feb3f97d6781100f8594079619b23ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9lian=20Veyssi=C3=A8re?= Date: Fri, 24 Apr 2020 14:06:29 +0200 Subject: [PATCH] update demo --- dist/ng-select2/index.html | 2 +- ...ain.a5809ebb7e851957906b.js => main.cf968ab3f220f3dee30d.js} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename dist/ng-select2/{main.a5809ebb7e851957906b.js => main.cf968ab3f220f3dee30d.js} (78%) diff --git a/dist/ng-select2/index.html b/dist/ng-select2/index.html index be14131..4af53ea 100644 --- a/dist/ng-select2/index.html +++ b/dist/ng-select2/index.html @@ -15,6 +15,6 @@ - + \ No newline at end of file diff --git a/dist/ng-select2/main.a5809ebb7e851957906b.js b/dist/ng-select2/main.cf968ab3f220f3dee30d.js similarity index 78% rename from dist/ng-select2/main.a5809ebb7e851957906b.js rename to dist/ng-select2/main.cf968ab3f220f3dee30d.js index aa91891..5c1c301 100644 --- a/dist/ng-select2/main.a5809ebb7e851957906b.js +++ b/dist/ng-select2/main.cf968ab3f220f3dee30d.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&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function u(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var 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(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(H);function q(e){return e}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}(x),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}(S);function ee(){return new I}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.hasOwnProperty(re)?e[re]:null}function ue(e){return 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[qe]}function wt(e){return e[gt]}function Ct(e){var t=wt(e);return t?Array.isArray(t)?t:t.lViewData:null}function Ot(e){return 32767&e}function Pt(e,t){for(var n=e>>16,r=t;n>0;)r=r[nt],n--;return r}var xt,Et,Mt,kt,St,It,Tt,At,Nt=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(ge);function Vt(){return xt}function Dt(){return Et}function Rt(){return Mt}function jt(e){Mt=e}function Ft(e,t){Mt=e,At=t}function Ht(){return kt}function Lt(e){kt=e}function Bt(){return St}function Ut(){return Tt}function zt(){return At}var Gt=!1;function Zt(){return Gt}function Wt(e){Gt=e}var qt=!0;function Qt(e){qt=e}function Kt(e,t){var n=At;return St=e&&e[Ue],Tt=e&&1==(1&e[ze]),qt=e&&St.firstTemplatePass,xt=e&&e[Xe],Mt=t,kt=!0,At=e,n&&(n[We]=It),It=e&&e[We],n}function Jt(e,t){t||(Gt||lt(At,St.viewHooks,St.viewCheckHooks,Tt),At[ze]&=-6),At[ze]|=16,At[Ke]=St.bindingStartIndex,Kt(e,null)}var $t=!1;function Yt(e){var t=$t;return $t=e,t}var Xt=255,en=0;function tn(e,t){var n=rn(e,t);if(-1!==n)return n;var r=t[Ue];r.firstTemplatePass&&(e.injectorIndex=t.length,nn(r.data,e),nn(t,null),nn(r.blueprint,null));var o=on(e,t),i=Ot(o),l=Pt(o,t),a=e.injectorIndex;if(o!==Fe)for(var s=l[Ue].data,u=0;u<8;u++)t[a+u]=l[i+u]|s[i+u];return t[a+Re]=o,a}function nn(e,t){e.push(0,0,0,0,0,0,0,0,t)}function rn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null==t[e.injectorIndex+Re]?-1:e.injectorIndex}function on(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var n=t[Qe],r=1;n&&-1===n.injectorIndex;)n=(t=t[nt])[Qe],r++;return n?n.injectorIndex|r<<16|(n&&3===n.type?32768:0):-1}var ln={};function an(e,t,n,r){var o=t[Ue],i=o.data[e+De],l=i.flags,a=i.providerIndexes,s=o.data,u=!1;(null==r&&function(e){return 4096==(4096&e.flags)}(i)&&$t||null!=r&&r!=o&&(null==o.node||3===o.node.type))&&(u=!0);for(var c=65535&a,d=l>>16,p=4095&l,f=u?c:c+(a>>16);f=d&&h.type===n)return sn(s,t,f,i)}return ln}function sn(e,t,n,r){var o,i=t[n];if(null!=(o=i)&&"object"==typeof o&&Object.getPrototypeOf(o)==Le){var l=i;if(l.resolving)throw new Error("Circular dep for "+yt(e[n]));var a=Yt(l.canSeeViewProviders);l.resolving=!0;var s=void 0;l.injectImpl&&(s=Te(l.injectImpl));var u=Rt(),c=zt();Ft(r,t);try{i=t[n]=l.factory(null,e,t,r)}finally{l.injectImpl&&Te(s),Yt(a),l.resolving=!1,Ft(u,c)}}return i}function un(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< ");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):Ce(l)))}r="{"+o.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+r+"]: "+e.replace(In,"\n ")}function Dn(e,t){return new Error(Vn(e,t))}var Rn=function(){return function(){}}(),jn=function(){return function(){}}(),Fn="ngProjectAs";function Hn(e){return!!e.listen}var Ln={createRenderer:function(e,t){return document}},Bn=[];function Un(e){for(var t=e[Qe];t&&2===t.type;)t=(e=e[Ge])[Qe];return e}function zn(e,t,n,r,o){0===e?Hn(t)?t.insertBefore(n,r,o):n.insertBefore(r,o,!0):1===e?Hn(t)?t.removeChild(n,r):n.removeChild(r):2===e&&t.destroyNode(r)}function Gn(e){var t=e[Ue].childIndex;return-1===t?null:e[t]}function Zn(e,t){var n;return e.length>=Be&&(n=e[Qe])&&2===n.type?function(t,n){if(-1===t.index){var r=e[tt];return r>-1?e[Ge][r]:null}return e[Ge][t.parent.index]}(n):e[Ge]===t?null:e[Ge]}function Wn(e){if(e.length>=Be){var t=e;!function(e){var t=e[Ue].cleanup;if(null!=t){for(var n=0;n=Be?t[Ue].childIndex>-1&&(n=Gn(t)):t[ht].length&&(n=t[ht][0]),null==n){for(;t&&!t[Ze]&&t!==e;)Wn(t),t=Zn(t,e);Wn(t||e),n=t&&t[Ze]}t=n}}(e),e[ze]|=32},e.prototype.onDestroy=function(e){var t,n;n=e,function(e){return e[Je]||(e[Je]=[])}(t=this._view).push(n),t[Ue].firstTemplatePass&&function(e){return e[Ue].cleanup||(e[Ue].cleanup=[])}(t).push(t[Je].length-1,null)},e.prototype.markForCheck=function(){!function(e){for(var t=e;t&&!(64&t[ze]);)t[ze]|=4,t=t[Ge];var n,r,o;t[ze]|=4,o=0===(n=t[$e]).flags,n.flags|=1,o&&n.clean==Qn&&(n.clean=new Promise(function(e){return r=e}),n.scheduler(function(){if(1&n.flags&&(n.flags&=-2,sr(n)),2&n.flags){n.flags&=-3;var e=n.playerHandler;e&&e.flushPlayers()}n.clean=Qn,r(null)}))}(this._view)},e.prototype.detach=function(){this._view[ze]&=-9},e.prototype.reattach=function(){this._view[ze]|=8},e.prototype.detectChanges=function(){var e=Dt();e.begin&&e.begin(),ur(this.context),e.end&&e.end()},e.prototype.checkNoChanges=function(){!function(e){Wt(!0);try{ur(e)}finally{Wt(!1)}}(this.context)},e.prototype.attachToViewContainerRef=function(e){this._viewContainerRef=e},e.prototype.detachFromAppRef=function(){this._appRef=null},e.prototype.attachToAppRef=function(e){this._appRef=e},e.prototype._lookUpContext=function(){return this._context=this._view[Ge][this._componentIndex]},e}());function vr(e,t,n,r,o){var i=n[Ue],l=function(e,t,n){var r=Rt();e.firstTemplatePass&&(n.providersResolver&&n.providersResolver(n),function(e,t,n){var o=-(r.index-Be),i=e.data.length-(65535&r.providerIndexes);(e.expandoInstructions||(e.expandoInstructions=[])).push(o,i,1)}(e),function(e,t,n,r){e.data.push(n);var o=new He(r,function(e){return null!==e.template}(n),null);e.blueprint.push(o),t.push(o),function(e,t){e.expandoInstructions.push(t.hostBindings||fn),t.hostVars&&e.expandoInstructions.push(t.hostVars)}(e,n)}(e,t,n,n.factory));var o=sn(e.data,t,t.length-1,r);return function(e,t,n,r){var o=_t(t,e);pn(n,e),o&&pn(o,e),null!=r.attributes&&3==t.type&&function(e,t){for(var n=Vt(),r=Hn(n),o=0;o>16,r=n+(4095&e),o=n;o',!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();vo.hasOwnProperty(t)&&!co.hasOwnProperty(t)&&(this.buf.push(""))},e.prototype.chars=function(e){this.buf.push(Co(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}(),bo=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,wo=/([^\#-~ |!])/g;function Co(e){return e.replace(/&/g,"&").replace(bo,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(wo,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}function Oo(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Po={provide:Dr,useFactory:function(){return new Wr},deps:[]},xo=function(e){function t(t,n){var r=e.call(this)||this;return r._bootstrapComponents=[],r.destroyCbs=[],r._bootstrapComponents=(t[ie]||null).bootstrap,r.injector=function(e,t,n){return void 0===t&&(t=null),void 0===n&&(n=null),t=t||Or(),new Pr(e,n,t)}(t,n,[Po,{provide:Rn,useValue:r}]),r.instance=r.injector.get(t),r.componentFactoryResolver=new Wr,r}return o(t,e),t.prototype.destroy=function(){this.destroyCbs.forEach(function(e){return e()}),this.destroyCbs=null},t.prototype.onDestroy=function(e){this.destroyCbs.push(e)},t}(Rn);!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 xo(this.moduleType,e)}}(jn);var Eo=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}(I),Mo=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return ko(e,Fr)},e}(),ko=fn,So=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}({}),Io=function(){return function(){}}(),To=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"),Ao=/^url\(([^)]+)\)$/;Function,String,String;var No="ngDebugContext",Vo="ngOriginalError",Do="ngErrorLogger";function Ro(e){return e[No]}function jo(e){return e[Vo]}function Fo(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}(),gi=function(){function e(){this._applications=new Map,yi.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),yi.findTestabilityInTree(this,e,t)},l([a("design:paramtypes",[])],e)}(),yi=new(function(){function e(){}return e.prototype.addToWindow=function(e){},e.prototype.findTestabilityInTree=function(e,t,n){return null},e}()),mi=new ce("AllowMultipleToken"),_i=function(){return function(e,t){this.name=e,this.token=t}}();function bi(e,t,n){void 0===n&&(n=[]);var r="Platform: "+t,o=new ce(r);return function(t){void 0===t&&(t=[]);var i=wi();if(!i||i.injector.get(mi,!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(fi&&!fi.destroyed&&!fi.injector.get(mi,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");fi=e.get(Ci);var t=e.get(qo,null);t&&t.forEach(function(e){return e()})}(Cn.create({providers:l,name:r}))}return function(e){var t=wi();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 wi(){return fi&&!fi.destroyed?fi:null}var Ci=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 hi:("zone.js"===n?void 0:n)||new ai({enableLongStackTrace:no()}),i=[{provide:ai,useValue:o}];return o.run(function(){var t=Cn.create({providers:i,parent:r.injector,name:e.moduleType.name}),n=e.create(t),l=n.injector.get(Ho,null);if(!l)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy(function(){return xi(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(zo)).runInitializers(),l.donePromise.then(function(){return r._moduleDoBootstrap(n),n}));return Lo(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=Oi({},t);return function(e,t,n){return e.get(ti).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(Pi);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module "+Ce(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 Oi(e,t){return Array.isArray(t)?t.reduce(Oi,e):i({},e,t)}var Pi=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=no(),this._zone.onMicrotaskEmpty.subscribe({next:function(){l._zone.run(function(){l.tick()})}});var a=new x(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 x(function(e){var t;l._zone.runOutsideAngular(function(){t=l._zone.onStable.subscribe(function(){ai.assertNotInAngularZone(),be(function(){l._stable||l._zone.hasPendingMacrotasks||l._zone.hasPendingMicrotasks||(l._stable=!0,e.next(!0))})})});var n=l._zone.onUnstable.subscribe(function(){ai.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 x?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 G(t(e,r)).pipe(L(function(t,o){return n(e,t,r,o)}))},r))}:("number"==typeof n&&(r=n),function(e){return e.lift(new Z(t,r))})}(q,e)}(r)(function(e,t){return t?z(e,t):new x(N(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 Tr?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var o=n instanceof jr?null:this._injector.get(Rn),i=n.create(Cn.NULL,[],t||n.selector,o);i.onDestroy(function(){r._unloadComponent(i)});var l=i.injector.get(vi,null);return l&&i.injector.get(gi).registerApplication(i.location.nativeElement,l),this._loadComponent(i),no()&&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,li(n)}},e.prototype.attachView=function(e){var t=e;this._views.push(t),t.attachToAppRef(this)},e.prototype.detachView=function(e){var t=e;xi(this._views,t),t.detachFromAppRef()},e.prototype._loadComponent=function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Ko,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})},e.prototype._unloadComponent=function(e){this.detachView(e.hostView),xi(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=ii("ApplicationRef#tick()"),e}();function xi(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var Ei,Mi=function(){function e(){this.dirty=!0,this._results=[],this.changes=new Eo,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[_e()]=function(){return this._results[_e()]()},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}(),ki=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return Si(e,Fr)},e}(),Si=fn,Ii=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return Ti()},e}(),Ti=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]=ta,e._providers[c]=aa(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{Ie(i)}}function aa(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(la(e,n[0]));case 2:return new t(la(e,n[0]),la(e,n[1]));case 3:return new t(la(e,n[0]),la(e,n[1]),la(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,pa(n,t),pl.dirtyParentQueries(r),ca(r),r}function ua(e,t,n){var r=t?Al(t,t.def.lastRenderRootNode):e.renderElement,o=n.renderer.parentNode(r),i=n.renderer.nextSibling(r);Bl(n,2,o,i,void 0)}function ca(e){Bl(e,3,null,null,void 0)}function da(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function pa(e,t){t>=e.length-1?e.pop():e.splice(t,1)}var fa=new Object;function ha(e,t,n,r,o,i){return new va(e,t,n,r,o,i)}var va=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=Ll(this.viewDefFactory),i=o.nodes[0].element.componentProvider.nodeIndex,l=pl.createRootView(e,t||[],n,o,r,fa),a=ul(l,i).instance;return n&&l.renderer.setAttribute(sl(l,0).renderElement,"ng-version",Zr.full),new ga(l,new ba(l),a)},t}(Tr),ga=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 Fr(sl(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new Pa(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}(Ir);function ya(e,t,n){return new ma(e,t,n)}var ma=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 Fr(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new Pa(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=Tl(e),e=e.parent;return e?new Pa(e,t):new Pa(this._view,null)},enumerable:!0,configurable:!0}),e.prototype.clear=function(){for(var e=this._embeddedViews.length-1;e>=0;e--){var t=sa(this._data,e);pl.destroyView(t)}},e.prototype.get=function(e){var t=this._embeddedViews[e];if(t){var n=new ba(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 jr||(o=i.get(Rn));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,da(i,r,o),function(e,t){var n=Il(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),pl.dirtyParentQueries(o),ua(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],pa(i,r),null==o&&(o=i.length),da(i,o,l),pl.dirtyParentQueries(l),ca(l),ua(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=sa(this._data,e);t&&pl.destroyView(t)},e.prototype.detach=function(e){var t=sa(this._data,e);return t?new ba(t):null},e}();function _a(e){return new ba(e)}var ba=function(){function e(e){this._view=e,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(e.prototype,"rootNodes",{get:function(){return Bl(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(){Ml(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{pl.checkAndUpdateView(this._view)}finally{e.end&&e.end()}},e.prototype.checkNoChanges=function(){pl.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)),pl.destroyView(this._view)},e.prototype.detachFromAppRef=function(){this._appRef=null,ca(this._view),pl.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 wa(e,t){return new Ca(e,t)}var Ca=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 ba(pl.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))},Object.defineProperty(t.prototype,"elementRef",{get:function(){return new Fr(sl(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),t}(Mo);function Oa(e,t){return new Pa(e,t)}var Pa=function(){function e(e,t){this.view=e,this.elDef=t}return e.prototype.get=function(e,t){return void 0===t&&(t=Cn.THROW_IF_NOT_FOUND),pl.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:ml(e)},t)},e}();function xa(e,t){var n=e.def.nodes[t];if(1&n.flags){var r=sl(e,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return al(e,n.nodeIndex).renderText;if(20240&n.flags)return ul(e,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+t)}function Ea(e){return new Ma(e.renderer)}var Ma=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(ql(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 qa(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(Ka(e,t,n,o[0]));case 2:return r(Ka(e,t,n,o[0]),Ka(e,t,n,o[1]));case 3:return r(Ka(e,t,n,o[0]),Ka(e,t,n,o[1]),Ka(e,t,n,o[2]));default:for(var l=Array(i),a=0;a0)u=v,ps(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)&&ps(u)?u.renderParent:u}}return{factory:null,nodeFlags:l,rootNodeFlags:a,nodeMatchedQueries:s,flags:e,nodes:t,updateDirectives:n||gl,updateRenderer:r||gl,handleEvent:function(e,n,r,o){return t[n].element.handleEvent(e,r,o)},bindingCount:o,outputCount:i,lastRenderRootNode:f}}function ps(e){return 0!=(1&e.flags)&&null===e.element.name}function fs(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 hs(e,t,n,r){var o=ys(e.root,e.renderer,e,t,n);return ms(o,e.component,r),_s(o),o}function vs(e,t,n){var r=ys(e,e.renderer,null,null,t);return ms(r,n,n),_s(r),r}function gs(e,t,n,r){var o,i=t.element.componentRendererType;return o=i?e.root.rendererFactory.createRenderer(r,i):e.root.renderer,ys(e.root,o,e,t.element.componentProvider,n)}function ys(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 ms(e,t,n){e.component=t,e.context=n}function _s(e){var t;Nl(e)&&(t=sl(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);for(var n=e.def,r=e.nodes,o=0;o0&&ea(e,t,0,n)&&(f=!0),p>1&&ea(e,t,1,r)&&(f=!0),p>2&&ea(e,t,2,o)&&(f=!0),p>3&&ea(e,t,3,i)&&(f=!0),p>4&&ea(e,t,4,l)&&(f=!0),p>5&&ea(e,t,5,a)&&(f=!0),p>6&&ea(e,t,6,s)&&(f=!0),p>7&&ea(e,t,7,u)&&(f=!0),p>8&&ea(e,t,8,c)&&(f=!0),p>9&&ea(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&&xl(e,t,0,n)&&(p=!0),h>1&&xl(e,t,1,r)&&(p=!0),h>2&&xl(e,t,2,o)&&(p=!0),h>3&&xl(e,t,3,i)&&(p=!0),h>4&&xl(e,t,4,l)&&(p=!0),h>5&&xl(e,t,5,a)&&(p=!0),h>6&&xl(e,t,6,s)&&(p=!0),h>7&&xl(e,t,7,u)&&(p=!0),h>8&&xl(e,t,8,c)&&(p=!0),h>9&&xl(e,t,9,d)&&(p=!0),p){var v=t.text.prefix;h>0&&(v+=cs(n,f[0])),h>1&&(v+=cs(r,f[1])),h>2&&(v+=cs(o,f[2])),h>3&&(v+=cs(i,f[3])),h>4&&(v+=cs(l,f[4])),h>5&&(v+=cs(a,f[5])),h>6&&(v+=cs(s,f[6])),h>7&&(v+=cs(u,f[7])),h>8&&(v+=cs(c,f[8])),h>9&&(v+=cs(d,f[9]));var g=al(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=ul(e,t.nodeIndex),f=p.instance,h=!1,v=void 0,g=t.bindings.length;return g>0&&Pl(e,t,0,n)&&(h=!0,v=$a(e,p,t,0,n,v)),g>1&&Pl(e,t,1,r)&&(h=!0,v=$a(e,p,t,1,r,v)),g>2&&Pl(e,t,2,o)&&(h=!0,v=$a(e,p,t,2,o,v)),g>3&&Pl(e,t,3,i)&&(h=!0,v=$a(e,p,t,3,i,v)),g>4&&Pl(e,t,4,l)&&(h=!0,v=$a(e,p,t,4,l,v)),g>5&&Pl(e,t,5,a)&&(h=!0,v=$a(e,p,t,5,a,v)),g>6&&Pl(e,t,6,s)&&(h=!0,v=$a(e,p,t,6,s,v)),g>7&&Pl(e,t,7,u)&&(h=!0,v=$a(e,p,t,7,u,v)),g>8&&Pl(e,t,8,c)&&(h=!0,v=$a(e,p,t,8,c,v)),g>9&&Pl(e,t,9,d)&&(h=!0,v=$a(e,p,t,9,d,v)),v&&f.ngOnChanges(v),65536&t.flags&&ll(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&&xl(e,t,0,n)&&(f=!0),h>1&&xl(e,t,1,r)&&(f=!0),h>2&&xl(e,t,2,o)&&(f=!0),h>3&&xl(e,t,3,i)&&(f=!0),h>4&&xl(e,t,4,l)&&(f=!0),h>5&&xl(e,t,5,a)&&(f=!0),h>6&&xl(e,t,6,s)&&(f=!0),h>7&&xl(e,t,7,u)&&(f=!0),h>8&&xl(e,t,8,c)&&(f=!0),h>9&&xl(e,t,9,d)&&(f=!0),f){var v=cl(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&&El(e,t,0,n),p>1&&El(e,t,1,r),p>2&&El(e,t,2,o),p>3&&El(e,t,3,i),p>4&&El(e,t,4,l),p>5&&El(e,t,5,a),p>6&&El(e,t,6,s),p>7&&El(e,t,7,u),p>8&&El(e,t,8,c),p>9&&El(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);Bs.forEach(function(t,r){if(i.has(se(r).providedIn)){var o={token:r,flags:t.flags|(n?4096:0),deps:jl(t.deps),value:t.value,index:e.providers.length};e.providers.push(o),e.providersByKey[ml(r)]=o}})}}(e=e.factory(function(){return gl})),e):e}(r))}var Ls=new Map,Bs=new Map,Us=new Map;function zs(e){var t;Ls.set(e.token,e),"function"==typeof e.token&&(t=se(e.token))&&"function"==typeof t.providedIn&&Bs.set(e.token,e)}function Gs(e,t){var n=Ll(t.viewDefFactory),r=Ll(n.nodes[0].element.componentView);Us.set(e,r)}function Zs(){Ls.clear(),Bs.clear(),Us.clear()}function Ws(e){if(0===Ls.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=Mc(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}(lc),Dc=["alt","control","meta","shift"],Rc={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},jc=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 Bu().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(Dc.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=Bu().getEventKey(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),Dc.forEach(function(r){r!=n&&(0,Rc[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}(lc),Fc=function(){return function(){}}(),Hc=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 So.NONE:return t;case So.HTML:return t instanceof Bc?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"HTML"),function(e,t){var n=null;try{uo=uo||new ro(e);var r=t?String(t):"";n=uo.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=uo.getInertBodyElement(r)}while(r!==i);var l=new _o,a=l.sanitizeChildren(Oo(n)||n);return no()&&l.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),a}finally{if(n)for(var s=Oo(n)||n;s.firstChild;)s.removeChild(s.firstChild)}}(this._doc,String(t)));case So.STYLE:return t instanceof Uc?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"Style"),function(e){if(!(e=String(e).trim()))return"";var t=e.match(Ao);return t&&lo(t[1])===t[1]||e.match(To)&&function(e){for(var t=!0,n=!0,r=0;re?{max:{max:e,actual:t.value}}:null}},e.required=function(e){return $c(e.value)?{required:!0}:null},e.requiredTrue=function(e){return!0===e.value?null:{required:!0}},e.email=function(e){return $c(e.value)?null:Yc.test(e.value)?null:{email:!0}},e.minLength=function(e){return function(t){if($c(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($c(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(ed);return 0==t.length?null:function(e){return nd(function(e,n){return t.map(function(t){return t(e)})}(e))}},e.composeAsync=function(e){if(!e)return null;var t=e.filter(ed);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}(),dd=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(ud),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}(),pd=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}(),fd='\n

\n \n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',hd='\n
\n
\n \n
\n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\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 "+fd)},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 '+hd+'\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n \n
\n
\n \n
\n
')},e.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+fd)},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 "+hd)},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=we}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=we}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?Xc.compose(e.map(id)):null}function Sd(e){return null!=e?Xc.composeAsync(e.map(ld)):null}var Id=[rd,pd,ad,yd,bd,dd];function Td(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){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var Nd=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}(Jc),Vd=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}(),Dd=function(e){function t(t){return e.call(this,t)||this}return o(t,e),t}(Vd),Rd=function(e){function t(t){return e.call(this,t)||this}return o(t,e),t}(Vd);function jd(e){var t=Hd(e)?e.validators:e;return Array.isArray(t)?kd(t):t||null}function Fd(e,t){var n=Hd(t)?t.asyncValidators:e;return Array.isArray(n)?Sd(n):n||null}function Hd(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}var Ld=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=jd(e)},e.prototype.setAsyncValidators=function(e){this.asyncValidator=Fd(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=td(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 Ud?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 Eo,this.statusChanges=new Eo},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){Hd(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)},e}(),Bd=function(e){function t(t,n,r){void 0===t&&(t=null);var o=e.call(this,jd(n),Fd(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}(Ld),Ud=function(e){function t(t,n,r){var o=e.call(this,jd(n),Fd(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 Bd?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}(Ld),zd=function(e){function t(t,n,r){var o=e.call(this,jd(n),Fd(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 Bd?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}(Ld),Gd=Promise.resolve(null),Zd=function(e){function t(t,n){var r=e.call(this)||this;return r.submitted=!1,r._directives=[],r.ngSubmit=new Eo,r.form=new Ud({},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;Gd.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;Gd.then(function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name),Ad(t._directives,e)})},t.prototype.addFormGroup=function(e){var t=this;Gd.then(function(){var n=t._findContainer(e.path),r=new Ud({});xd(r,e),n.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})},t.prototype.removeFormGroup=function(e){var t=this;Gd.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;Gd.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,Td(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}(Jc),Wd=new ce("NgFormSelectorWarning"),qd=new ce("NgModelWithFormControlWarning"),Qd=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 Eo,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){Ad(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,Td(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=Xc.compose([this.form.validator,e]);var t=Sd(this._asyncValidators);this.form.asyncValidator=Xc.composeAsync([this.form.asyncValidator,t])},t.prototype._checkFormPresent=function(){this.form||vd.missingFormException()},t}(Jc),Kd=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(){$d(this._parent)&&vd.groupParentException()},t}(Nd),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}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(){$d(this._parent)&&vd.arrayParentException()},t}(Jc);function $d(e){return!(e instanceof Kd||e instanceof Qd||e instanceof Jd)}var Yd=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 Eo,l._ngModelWarningSent=!1,l._parent=t,l._rawValidators=n||[],l._rawAsyncValidators=r||[],l.valueAccessor=function(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===od?n=t:(i=t,Id.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)}(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(),function(e,t){if(!e.hasOwnProperty("model"))return!1;var n=e.model;return!!n.isFirstChange()||!we(t,n.currentValue)}(e,this.viewModel)&&("formControlName",t=n,this,r=this._ngModelWarningConfig,no()&&"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 Kd)&&this._parent instanceof Nd?vd.ngModelGroupException():this._parent instanceof Kd||this._parent instanceof Qd||this._parent instanceof Jd||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}(ud),Xd=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||void 0===t.asyncValidator&&void 0===t.validator?null!=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 Ud(n,{asyncValidators:o,updateOn:i,validators:r})},e.prototype.control=function(e,t,n){return new Bd(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 Bd||e instanceof Ud||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}(),ep=function(){return function(){}}(),tp=function(){return function(){}}(),np=function(){function e(){}var t;return t=e,e.withConfig=function(e){return{ngModule:t,providers:[{provide:Wd,useValue:e.warnOnDeprecatedNgFormSelector}]}},e}(),rp=function(){function e(){}var t;return t=e,e.withConfig=function(e){return{ngModule:t,providers:[{provide:qd,useValue:e.warnOnNgModelWithFormControl}]}},e}(),op=[{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"}]}],ip=[{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"}],lp=[{value:"foo",label:"foo"},{value:"bar",label:"bar"},{value:"baz",label:"baz"}],ap=[{value:"foo1",label:"foo1"},{value:"foo2",label:"foo2"},{value:"foo3",label:"foo3"},{value:"foo4",label:"foo4"},{value:"foo5",label:"foo5"},{value:"foo6",label:"foo6"}],sp=[{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"}]}],up=[{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"}],cp=[{value:!0,label:"true"},{value:!1,label:"false"}],dp=[{value:"fr",label:'
\n
France
\n
Europe
\n
'},{value:"sp",label:'
\n
Spain
\n
Europe
\n
'},{value:"ch",label:'
\n
China
\n
Asia
\n
'}],pp=function(){function e(e){this.fb=e,this.data1=op,this.data2=ip,this.data3=lp,this.data4=JSON.parse(JSON.stringify(lp)),this.data5=ap,this.data6=JSON.parse(JSON.stringify(ap)),this.data7=JSON.parse(JSON.stringify(lp)),this.data8=[],this.data9=JSON.parse(JSON.stringify(op)),this.data10=JSON.parse(JSON.stringify(op)),this.data11=JSON.parse(JSON.stringify(op)),this.data12=JSON.parse(JSON.stringify(op)),this.data13=cp,this.data15=ip,this.data16=ip,this.data17=dp,this.data18=sp,this.data19=up,this.data20=JSON.parse(JSON.stringify(up)),this.minCountForSearch=1/0,this.value1="CA",this.value2="CA",this.value3="foo",this.value4="bar",this.value5="foo3",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.fg=new Ud({state:new Bd}),this.ctrlForm=this.fb.group({test11:new Bd(null,Xc.required)}),this.fg.patchValue(this.formData())}return e.prototype.update1=function(e){this.value1=e.value},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(ip))},e.prototype.update8=function(e){this.value8=e.value},e.prototype.search8=function(e){this.data8=e?JSON.parse(JSON.stringify(ip)).filter(function(t){return t.label.toLowerCase().indexOf(e.toLowerCase())>-1}):JSON.parse(JSON.stringify(ip))},e.prototype.update9=function(e){this.value9=e.value},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.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}(),fp=[{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}],hp=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){e.disabled||this.select(e)},e.prototype.toggleOpenAndClose=function(){var e=this;this.disabled||(this.focused=!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.isOpen&&!this._clickDetection&&setTimeout(function(){window.document.body.addEventListener("click",e._clickDetectionFc,!1),e._clickDetection=!0},200),this._changeDetectorRef.markForCheck())},e.prototype.testValueChange=function(e,t){if(!e&&!t||e===t)return!1;if(this.multiple&&e&&e.length&&t&&t.length&&e.length===t.length){for(var n=0,r=e;n-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=hp.getFilteredSelectedData(t,e.option)),!e.customSearchEnabled&&e.searchText&&e.searchText.length>=+e.minCharForSearch&&(t=hp.getFilteredData(t,e.searchText,e.editPattern)),hp.valueIsNotInFilteredData(t,e.hoveringValue)&&(e.hoveringValue=hp.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.focused=!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&&hp.getOptionsByValue(this.data,e,this.multiple).map(function(e){return t.select(e)})):this.select(hp.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}(),mp=Cl({encapsulation:0,styles:[[":root{--select2-required-color:red;--select2-selection-background-color:#fff;--select2-selection-disabled-background-color:#eee;--select2-selection-choice-background-color:#e4e4e4;--select2-selection-border-color:#aaa;--select2-selection-focus-border-color:#000;--select2-selection-text-color:#444;--select2-selection-choice-text-color:#999;--select2-selection-choice-hover-text-color:#333;--select2-placeholder-color:#999;--select2-arrow-color:#888;--select2-dropdown-background-color:#fff;--select2-dropdown-border-color:#aaa;--select2-option-disabled-color:#999;--select2-option-selected-background-color:#ddd;--select2-option-highlighted-background-color:#5897fb;--select2-option-highlighted-color:#fff;--select2-option-group-color:gray;--select2-border-radius:4px;--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-color:#ddd;--select2-material-option-selected-background-color:rgba(0, 0, 0, 0.04);--select2-material-option-highlighted-text-color:#000;--select2-material-option-selected-text-color:#ff5722}.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-color:#fff;background-color:var(--select2-dropdown-background-color,#fff);border:1px solid #aaa;border:1px solid var(--select2-dropdown-border-color,#aaa);border-radius:4px;border-radius:var(--select2-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}.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-color:#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-color:#fff;background-color:var(--select2-selection-background-color,#fff);border:1px solid #aaa;border:1px solid var(--select2-selection-border-color,#aaa);border-radius:4px;border-radius:var(--select2-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-color:#eee;background-color:var(--select2-selection-disabled-background-color,#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-color:#fff;background-color:var(--select2-selection-background-color,#fff);border:1px solid #aaa;border:1px solid var(--select2-selection-border-color,#aaa);border-radius:4px;border-radius:var(--select2-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%]{background-color:#e4e4e4;background-color:var(--select2-selection-choice-background-color,#e4e4e4);border:1px solid #aaa;border:1px solid var(--select2-selection-border-color,#aaa);border-radius:4px;border-radius:var(--select2-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-text-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-text-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-color:#eee;background-color:var(--select2-selection-disabled-background-color,#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-dropdown-border-color,#aaa)}.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-color,#999)}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[aria-selected=true][_ngcontent-%COMP%]{background-color:#ddd;background-color:var(--select2-option-selected-background-color,#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-color:#5897fb;background-color:var(--select2-option-highlighted-background-color,#5897fb);color:#fff;color:var(--select2-option-highlighted-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-color,gray)}.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-color:transparent;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-color:transparent;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:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;position:absolute;-webkit-transform-origin:0 21px;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%]{-webkit-transform:translateY(-1.5em) scale(.75) perspective(100px) translateZ(.001px);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-color:rgba(0,0,0,.04);background-color:var(--select2-material-option-selected-background-color,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-color:transparent}.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%}@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 _p(e){return ds(0,[(e()(),Jl(0,0,null,null,0,"span",[["class","select2-required"]],null,null,null,null,null))],null,null)}function bp(e){return ds(0,[(e()(),Jl(0,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),ss(-1,null,["\xa0"]))],null,null)}function wp(e){return ds(0,[(e()(),Jl(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 Cp(e){return ds(0,[(e()(),Jl(0,0,null,null,6,"span",[["class","select2-selection__rendered"]],[[8,"title",0]],null,null,null,null)),(e()(),Kl(16777216,null,null,1,null,bp)),Fa(2,16384,null,0,Nu,[ki,Mo],{ngIf:[0,"ngIf"]},null),(e()(),Kl(16777216,null,null,1,null,wp)),Fa(4,16384,null,0,Nu,[ki,Mo],{ngIf:[0,"ngIf"]},null),(e()(),Jl(5,0,null,null,1,"span",[["class","select2-selection__placeholder"]],[[2,"select2-selection__placeholder__option",null]],null,null,null,null)),(e()(),ss(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 Op(e){return ds(0,[(e()(),Jl(0,0,null,null,0,"span",[["class","select2-selection__arrow"],["role","presentation"]],null,null,null,null,null))],null,null)}function Pp(e){return ds(0,[(e()(),Jl(0,0,null,null,3,"li",[["class","select2-selection__choice"]],[[8,"title",0]],null,null,null,null)),(e()(),Jl(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()(),ss(-1,null,["\xd7"])),(e()(),Jl(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 xp(e){return ds(0,[(e()(),Jl(0,0,null,null,4,"ul",[["class","select2-selection__rendered"]],null,null,null,null,null)),(e()(),Jl(1,0,null,null,1,"span",[["class","select2-selection__placeholder"]],[[2,"select2-selection__placeholder__option",null]],null,null,null,null)),(e()(),ss(2,null,["",""])),(e()(),Kl(16777216,null,null,1,null,Pp)),Fa(4,278528,null,0,Tu,[ki,Mo,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 Ep(e){return ds(0,[(e()(),Jl(0,0,[[3,0],["result",1]],null,0,"li",[["role","treeitem"]],[[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,n.getOptionStyle(t.context.$implicit),n.isSelected(t.context.$implicit),n.isDisabled(t.context.$implicit),t.context.$implicit.label)})}function Mp(e){return ds(0,[(e()(),Jl(0,0,null,null,4,"li",[["class","select2-results__option"],["role","group"]],null,null,null,null,null)),(e()(),Jl(1,0,null,null,0,"strong",[],[[1,"class",0],[8,"innerHTML",1]],null,null,null,null)),(e()(),Jl(2,0,null,null,2,"ul",[["class","select2-results__options select2-results__options--nested"]],null,null,null,null,null)),(e()(),Kl(16777216,null,null,1,null,Ep)),Fa(4,278528,null,0,Tu,[ki,Mo,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 kp(e){return ds(0,[(e()(),Jl(0,0,[[3,0],["result",1]],null,0,"li",[["role","treeitem"]],[[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,n.getOptionStyle(t.parent.context.$implicit),n.isSelected(t.parent.context.$implicit),n.isDisabled(t.parent.context.$implicit),t.parent.context.$implicit.label)})}function Sp(e){return ds(0,[(e()(),Jl(0,0,null,null,4,null,null,null,null,null,null,null)),(e()(),Kl(16777216,null,null,1,null,Mp)),Fa(2,16384,null,0,Nu,[ki,Mo],{ngIf:[0,"ngIf"]},null),(e()(),Kl(16777216,null,null,1,null,kp)),Fa(4,16384,null,0,Nu,[ki,Mo],{ngIf:[0,"ngIf"]},null),(e()(),Kl(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 Ip(e){return ds(0,[ts(402653184,1,{selection:0}),ts(402653184,2,{resultContainer:0}),ts(671088640,3,{results:1}),ts(402653184,4,{searchInput:0}),(e()(),Jl(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)),ls(null,0),(e()(),Kl(16777216,null,null,1,null,_p)),Fa(7,16384,null,0,Nu,[ki,Mo],{ngIf:[0,"ngIf"]},null),(e()(),Jl(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()(),Jl(9,0,[[1,0],["selection",1]],null,9,"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()(),Jl(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()(),Kl(16777216,null,null,1,null,Cp)),Fa(12,16384,null,0,Nu,[ki,Mo],{ngIf:[0,"ngIf"]},null),(e()(),Kl(16777216,null,null,1,null,Op)),Fa(14,16384,null,0,Nu,[ki,Mo],{ngIf:[0,"ngIf"]},null),(e()(),Kl(16777216,null,null,1,null,xp)),Fa(16,16384,null,0,Nu,[ki,Mo],{ngIf:[0,"ngIf"]},null),(e()(),Jl(17,0,null,null,1,"div",[["class","select2-subscript-wrapper"]],null,null,null,null,null)),ls(null,1),(e()(),Jl(19,0,null,null,7,"div",[["class","select2-container select2-container--default select2-container-dropdown"]],[[2,"select2-container--open",null]],null,null,null,null)),(e()(),Jl(20,0,null,null,6,"div",[["class","select2-dropdown"]],[[2,"select2-dropdown--below",null],[2,"select2-dropdown--above",null]],null,null,null,null)),(e()(),Jl(21,0,null,null,1,"div",[["class","select2-search select2-search--dropdown"]],[[2,"select2-search--hide",null]],null,null,null,null)),(e()(),Jl(22,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"]],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),r},null,null)),(e()(),Jl(23,0,null,null,3,"div",[["class","select2-results"]],null,null,null,null,null)),(e()(),Jl(24,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()(),Kl(16777216,null,null,1,null,Sp)),Fa(26,278528,null,0,Tu,[ki,Mo,Qi],{ngForOf:[0,"ngForOf"],ngForTrackBy:[1,"ngForTrackBy"]},null)],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,26,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,19,0,n.isOpen),e(t,20,0,!n.select2above,n.select2above),e(t,21,0,n.hideSearch()),e(t,22,0,n.id+"-search-field",n.searchText,n.isOpen?n.tabIndex:"-1"),e(t,24,0,n.resultMaxHeight)})}var Tp=function(){return function(){}}(),Ap=Cl({encapsulation:0,styles:[["#select2-17[_ngcontent-%COMP%] .select2-multiple-labels{display:flex;justify-content:space-between}.noStyle[_ngcontent-%COMP%]{background-color:#faebd7}"]],data:{}});function Np(e){return ds(0,[(e()(),Jl(0,0,null,null,136,"div",[["style","width: 500px;"]],null,null,null,null,null)),(e()(),Jl(1,0,null,null,1,"a",[["href","https://github.com/Zefling/ng-select2/tree/master/src"],["target","_blank"]],null,null,null,null,null)),(e()(),ss(-1,null,["the source code of the demo"])),(e()(),Jl(3,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),ss(4,null,["1. options in group (",")"])),(e()(),Jl(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"]],function(e,t,n){var r=!0;return"update"===t&&(r=!1!==e.component.update1(n)&&r),r},Ip,mp)),Fa(6,4702208,null,0,yp,[Ii,[2,Zd],[2,Qd],[8,null],[8,null]],{data:[0,"data"],id:[1,"id"],value:[2,"value"]},{update:"update"}),(e()(),Jl(7,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),ss(8,null,["2. options (",")"])),(e()(),Jl(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},Ip,mp)),Fa(10,4702208,null,0,yp,[Ii,[2,Zd],[2,Qd],[8,null],[8,null]],{data:[0,"data"],id:[1,"id"],value:[2,"value"]},{update:"update"}),(e()(),Jl(11,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),ss(12,null,["3. less options (",")"])),(e()(),Jl(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},Ip,mp)),Fa(14,4702208,null,0,yp,[Ii,[2,Zd],[2,Qd],[8,null],[8,null]],{data:[0,"data"],id:[1,"id"],value:[2,"value"]},{update:"update"}),(e()(),Jl(15,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),ss(16,null,["4. disabled (",")"])),(e()(),Jl(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,Ip,mp)),Fa(18,4702208,null,0,yp,[Ii,[2,Zd],[2,Qd],[8,null],[8,null]],{data:[0,"data"],id:[1,"id"],disabled:[2,"disabled"],value:[3,"value"]},null),(e()(),Jl(19,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),ss(20,null,["5. hide search box (",")"])),(e()(),Jl(21,0,null,null,1,"select2",[["id","selec2-5"]],[[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},Ip,mp)),Fa(22,4702208,null,0,yp,[Ii,[2,Zd],[2,Qd],[8,null],[8,null]],{data:[0,"data"],minCountForSearch:[1,"minCountForSearch"],id:[2,"id"],value:[3,"value"]},{update:"update"}),(e()(),Jl(23,0,null,null,17,"h3",[],null,null,null,null,null)),(e()(),ss(-1,null,["6. search limit to "])),(e()(),Jl(25,0,[["limit",1]],null,0,"input",[["size","3"],["value","7"]],null,null,null,null,null)),(e()(),ss(-1,null,[" / display status "])),(e()(),Jl(27,0,[["status",1]],null,12,"select",[],null,null,null,null,null)),(e()(),Jl(28,0,null,null,3,"option",[["selected",""]],null,null,null,null,null)),Fa(29,147456,null,0,md,[Fr,zr,[8,null]],null,null),Fa(30,147456,null,0,wd,[Fr,zr,[8,null]],null,null),(e()(),ss(-1,null,["default"])),(e()(),Jl(32,0,null,null,3,"option",[],null,null,null,null,null)),Fa(33,147456,null,0,md,[Fr,zr,[8,null]],null,null),Fa(34,147456,null,0,wd,[Fr,zr,[8,null]],null,null),(e()(),ss(-1,null,["hidden"])),(e()(),Jl(36,0,null,null,3,"option",[],null,null,null,null,null)),Fa(37,147456,null,0,md,[Fr,zr,[8,null]],null,null),Fa(38,147456,null,0,wd,[Fr,zr,[8,null]],null,null),(e()(),ss(-1,null,["always"])),(e()(),ss(40,null,[" (",")"])),(e()(),Jl(41,0,null,null,4,"div",[],null,null,null,null,null)),(e()(),Jl(42,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()(),ss(-1,null,["Add item"])),(e()(),Jl(44,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()(),ss(-1,null,["Remove item"])),(e()(),Jl(46,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},Ip,mp)),Fa(47,4702208,null,0,yp,[Ii,[2,Zd],[2,Qd],[8,null],[8,null]],{data:[0,"data"],displaySearchStatus:[1,"displaySearchStatus"],minCountForSearch:[2,"minCountForSearch"],id:[3,"id"],value:[4,"value"]},{update:"update"}),(e()(),Jl(48,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),ss(49,null,["7. placeholder (",")"])),(e()(),Jl(50,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},Ip,mp)),Fa(51,4702208,null,0,yp,[Ii,[2,Zd],[2,Qd],[8,null],[8,null]],{data:[0,"data"],placeholder:[1,"placeholder"],id:[2,"id"]},{update:"update"}),(e()(),Jl(52,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),ss(53,null,["8. open and search event (",")"])),(e()(),Jl(54,0,null,null,1,"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,"search"],[null,"update"]],function(e,t,n){var r=!0,o=e.component;return"open"===t&&(r=!1!==o.open8()&&r),"search"===t&&(r=!1!==o.search8(n)&&r),"update"===t&&(r=!1!==o.update8(n)&&r),r},Ip,mp)),Fa(55,4702208,null,0,yp,[Ii,[2,Zd],[2,Qd],[8,null],[8,null]],{data:[0,"data"],customSearchEnabled:[1,"customSearchEnabled"],id:[2,"id"]},{update:"update",open:"open",search:"search"}),(e()(),Jl(56,0,null,null,2,"h3",[],null,null,null,null,null)),(e()(),ss(57,null,["9. multiple (",")"])),Ha(0,Ru,[]),(e()(),Jl(59,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"]],function(e,t,n){var r=!0;return"update"===t&&(r=!1!==e.component.update9(n)&&r),r},Ip,mp)),Fa(60,4702208,null,0,yp,[Ii,[2,Zd],[2,Qd],[8,null],[8,null]],{data:[0,"data"],multiple:[1,"multiple"],id:[2,"id"],value:[3,"value"]},{update:"update"}),(e()(),Jl(61,0,null,null,2,"h3",[],null,null,null,null,null)),(e()(),ss(62,null,["10. multiple + hide selected items (",")"])),Ha(0,Ru,[]),(e()(),Jl(64,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},Ip,mp)),Fa(65,4702208,null,0,yp,[Ii,[2,Zd],[2,Qd],[8,null],[8,null]],{data:[0,"data"],multiple:[1,"multiple"],id:[2,"id"],hideSelectedItems:[3,"hideSelectedItems"],value:[4,"value"]},{update:"update"}),(e()(),Jl(66,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),ss(67,null,["11. material style and form binding (",")"])),(e()(),Jl(68,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!==xa(e,70).onSubmit(n)&&r),"reset"===t&&(r=!1!==xa(e,70).onReset()&&r),r},null,null)),Fa(69,16384,null,0,ep,[],null,null),Fa(70,540672,null,0,Qd,[[8,null],[8,null]],{form:[0,"form"]},null),La(2048,null,Jc,null,[Qd]),Fa(72,16384,null,0,Rd,[[4,Jc]],null,null),(e()(),Jl(73,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},Ip,mp)),Fa(74,671744,null,0,Yd,[[3,Jc],[8,null],[8,null],[8,null],[2,qd]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),La(2048,null,ud,null,[Yd]),Fa(76,16384,null,0,Dd,[[4,ud]],null,null),Fa(77,4702208,null,0,yp,[Ii,[2,Zd],[2,Qd],[6,ud],[8,null]],{data:[0,"data"],placeholder:[1,"placeholder"],material:[2,"material"],id:[3,"id"]},null),(e()(),Jl(78,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()(),ss(-1,null,["reset"])),(e()(),Jl(80,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()(),ss(-1,null,["Utah"])),(e()(),Jl(82,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),ss(83,null,["12. material style (",")"])),(e()(),Jl(84,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},Ip,mp)),Fa(85,4702208,null,0,yp,[Ii,[2,Zd],[2,Qd],[8,null],[8,null]],{data:[0,"data"],material:[1,"material"],id:[2,"id"],value:[3,"value"]},{update:"update"}),(e()(),Jl(86,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),ss(87,null,["13. boolean value (",")"])),(e()(),Jl(88,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},Ip,mp)),Fa(89,4702208,null,0,yp,[Ii,[2,Zd],[2,Qd],[8,null],[8,null]],{data:[0,"data"],id:[1,"id"],value:[2,"value"]},{update:"update"}),(e()(),Jl(90,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),ss(-1,null,["14. FormControl"])),(e()(),Jl(92,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!==xa(e,94).onSubmit(n)&&r),"reset"===t&&(r=!1!==xa(e,94).onReset()&&r),r},null,null)),Fa(93,16384,null,0,ep,[],null,null),Fa(94,540672,null,0,Qd,[[8,null],[8,null]],{form:[0,"form"]},null),La(2048,null,Jc,null,[Qd]),Fa(96,16384,null,0,Rd,[[4,Jc]],null,null),(e()(),Jl(97,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,Ip,mp)),Fa(98,671744,null,0,Yd,[[3,Jc],[8,null],[8,null],[8,null],[2,qd]],{name:[0,"name"]},null),La(2048,null,ud,null,[Yd]),Fa(100,16384,null,0,Dd,[[4,ud]],null,null),Fa(101,4702208,null,0,yp,[Ii,[2,Zd],[2,Qd],[6,ud],[8,null]],{data:[0,"data"],multiple:[1,"multiple"],id:[2,"id"]},null),(e()(),Jl(102,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()(),ss(-1,null,["Log Selected"])),(e()(),Jl(104,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()(),ss(-1,null,["Reset Form"])),(e()(),Jl(106,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),ss(107,null,["15. with label (",")"])),(e()(),Jl(108,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},Ip,mp)),Fa(109,4702208,null,0,yp,[Ii,[2,Zd],[2,Qd],[8,null],[8,null]],{data:[0,"data"],id:[1,"id"],value:[2,"value"]},{update:"update"}),(e()(),Jl(110,0,null,0,2,"select2-label",[],null,null,null,null,null)),Fa(111,16384,null,0,Tp,[],null,null),(e()(),ss(-1,null,["Select a state"])),(e()(),Jl(113,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),ss(114,null,["16. required with label (",")"])),(e()(),Jl(115,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},Ip,mp)),Fa(116,4702208,null,0,yp,[Ii,[2,Zd],[2,Qd],[8,null],[8,null]],{data:[0,"data"],id:[1,"id"],required:[2,"required"],value:[3,"value"]},{update:"update"}),(e()(),Jl(117,0,null,0,2,"select2-label",[],null,null,null,null,null)),Fa(118,16384,null,0,Tp,[],null,null),(e()(),ss(-1,null,["Select a state"])),(e()(),Jl(120,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),ss(121,null,["17. with two option labels (",")"])),(e()(),Jl(122,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},Ip,mp)),Fa(123,4702208,null,0,yp,[Ii,[2,Zd],[2,Qd],[8,null],[8,null]],{data:[0,"data"],id:[1,"id"],value:[2,"value"]},{update:"update"}),(e()(),Jl(124,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),ss(-1,null,["18. search starts with 3 chars"])),(e()(),Jl(126,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},Ip,mp)),Fa(127,4702208,null,0,yp,[Ii,[2,Zd],[2,Qd],[8,null],[8,null]],{data:[0,"data"],minCharForSearch:[1,"minCharForSearch"],id:[2,"id"],value:[3,"value"]},{update:"update"}),(e()(),Jl(128,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),ss(129,null,["19. dropdown list position above (",")"])),(e()(),Jl(130,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},Ip,mp)),Fa(131,4702208,null,0,yp,[Ii,[2,Zd],[2,Qd],[8,null],[8,null]],{data:[0,"data"],listPosition:[1,"listPosition"],id:[2,"id"],value:[3,"value"]},{update:"update"}),(e()(),Jl(132,0,null,null,4,"div",[["class","noStyle"]],null,null,null,null,null)),(e()(),Jl(133,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),ss(134,null,["20. nostyle (",")"])),(e()(),Jl(135,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},Ip,mp)),Fa(136,4702208,null,0,yp,[Ii,[2,Zd],[2,Qd],[8,null],[8,null]],{data:[0,"data"],listPosition:[1,"listPosition"],noStyle:[2,"noStyle"],id:[3,"id"],value:[4,"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,22,0,n.data5,n.minCountForSearch,"selec2-5",n.value5),e(t,47,0,n.data6,xa(t,27).value,xa(t,25).value,"selec2-6",n.value6),e(t,51,0,n.data7,"select an item","selec2-7"),e(t,55,0,n.data8,"true","selec2-8"),e(t,60,0,n.data9,"true","selec2-9",n.value9),e(t,65,0,n.data10,"true","selec2-10","true",n.value10),e(t,70,0,n.ctrlForm),e(t,74,0,"test11",n.value11),e(t,77,0,n.data11,"Select a state","","selec2-11"),e(t,85,0,n.data12,"","selec2-12",n.value12),e(t,89,0,n.data13,"selec2-13",n.value13),e(t,94,0,n.fg),e(t,98,0,"state"),e(t,101,0,n.data9,"true","selec2-10"),e(t,109,0,n.data15,"selec2-15",n.value15),e(t,116,0,n.data16,"selec2-16","",n.value16),e(t,123,0,n.data17,"select2-17",n.value17),e(t,127,0,n.data18,"3","selec2-18",n.value18),e(t,131,0,n.data19,"above","selec2-19",n.value19),e(t,136,0,n.data20,"above","","selec2-20",n.value20)},function(e,t){var n=t.component;e(t,4,0,n.value1),e(t,5,0,xa(t,6).id,xa(t,6).ariaInvalid,xa(t,6).classMaterial,xa(t,6).classNostyle,xa(t,6).select2above),e(t,8,0,n.value2),e(t,9,0,xa(t,10).id,xa(t,10).ariaInvalid,xa(t,10).classMaterial,xa(t,10).classNostyle,xa(t,10).select2above),e(t,12,0,n.value3),e(t,13,0,xa(t,14).id,xa(t,14).ariaInvalid,xa(t,14).classMaterial,xa(t,14).classNostyle,xa(t,14).select2above),e(t,16,0,n.value4),e(t,17,0,xa(t,18).id,xa(t,18).ariaInvalid,xa(t,18).classMaterial,xa(t,18).classNostyle,xa(t,18).select2above),e(t,20,0,n.value5),e(t,21,0,xa(t,22).id,xa(t,22).ariaInvalid,xa(t,22).classMaterial,xa(t,22).classNostyle,xa(t,22).select2above),e(t,40,0,n.value6),e(t,46,0,xa(t,47).id,xa(t,47).ariaInvalid,xa(t,47).classMaterial,xa(t,47).classNostyle,xa(t,47).select2above),e(t,49,0,n.value7),e(t,50,0,xa(t,51).id,xa(t,51).ariaInvalid,xa(t,51).classMaterial,xa(t,51).classNostyle,xa(t,51).select2above),e(t,53,0,n.value8),e(t,54,0,xa(t,55).id,xa(t,55).ariaInvalid,xa(t,55).classMaterial,xa(t,55).classNostyle,xa(t,55).select2above),e(t,57,0,_l(t,57,0,xa(t,58).transform(n.value9))),e(t,59,0,xa(t,60).id,xa(t,60).ariaInvalid,xa(t,60).classMaterial,xa(t,60).classNostyle,xa(t,60).select2above),e(t,62,0,_l(t,62,0,xa(t,63).transform(n.value10))),e(t,64,0,xa(t,65).id,xa(t,65).ariaInvalid,xa(t,65).classMaterial,xa(t,65).classNostyle,xa(t,65).select2above),e(t,67,0,n.value11),e(t,68,0,xa(t,72).ngClassUntouched,xa(t,72).ngClassTouched,xa(t,72).ngClassPristine,xa(t,72).ngClassDirty,xa(t,72).ngClassValid,xa(t,72).ngClassInvalid,xa(t,72).ngClassPending),e(t,73,1,[xa(t,76).ngClassUntouched,xa(t,76).ngClassTouched,xa(t,76).ngClassPristine,xa(t,76).ngClassDirty,xa(t,76).ngClassValid,xa(t,76).ngClassInvalid,xa(t,76).ngClassPending,xa(t,77).id,xa(t,77).ariaInvalid,xa(t,77).classMaterial,xa(t,77).classNostyle,xa(t,77).select2above]),e(t,83,0,n.value12),e(t,84,0,xa(t,85).id,xa(t,85).ariaInvalid,xa(t,85).classMaterial,xa(t,85).classNostyle,xa(t,85).select2above),e(t,87,0,n.value13),e(t,88,0,xa(t,89).id,xa(t,89).ariaInvalid,xa(t,89).classMaterial,xa(t,89).classNostyle,xa(t,89).select2above),e(t,92,0,xa(t,96).ngClassUntouched,xa(t,96).ngClassTouched,xa(t,96).ngClassPristine,xa(t,96).ngClassDirty,xa(t,96).ngClassValid,xa(t,96).ngClassInvalid,xa(t,96).ngClassPending),e(t,97,1,[xa(t,100).ngClassUntouched,xa(t,100).ngClassTouched,xa(t,100).ngClassPristine,xa(t,100).ngClassDirty,xa(t,100).ngClassValid,xa(t,100).ngClassInvalid,xa(t,100).ngClassPending,xa(t,101).id,xa(t,101).ariaInvalid,xa(t,101).classMaterial,xa(t,101).classNostyle,xa(t,101).select2above]),e(t,107,0,n.value15),e(t,108,0,xa(t,109).id,xa(t,109).ariaInvalid,xa(t,109).classMaterial,xa(t,109).classNostyle,xa(t,109).select2above),e(t,114,0,n.value16),e(t,115,0,xa(t,116).id,xa(t,116).ariaInvalid,xa(t,116).classMaterial,xa(t,116).classNostyle,xa(t,116).select2above),e(t,121,0,n.value17),e(t,122,0,xa(t,123).id,xa(t,123).ariaInvalid,xa(t,123).classMaterial,xa(t,123).classNostyle,xa(t,123).select2above),e(t,126,0,xa(t,127).id,xa(t,127).ariaInvalid,xa(t,127).classMaterial,xa(t,127).classNostyle,xa(t,127).select2above),e(t,129,0,n.value19),e(t,130,0,xa(t,131).id,xa(t,131).ariaInvalid,xa(t,131).classMaterial,xa(t,131).classNostyle,xa(t,131).select2above),e(t,134,0,n.value20),e(t,135,0,xa(t,136).id,xa(t,136).ariaInvalid,xa(t,136).classMaterial,xa(t,136).classNostyle,xa(t,136).select2above)})}function Vp(e){return ds(0,[(e()(),Jl(0,0,null,null,1,"app-root",[],null,null,null,Np,Ap)),Fa(1,49152,null,0,pp,[Xd],null,null)],null,null)}var Dp=ha("app-root",pp,Vp,{},{},[]),Rp=function(){return function(){}}(),jp=mu(bu,[pp],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&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function u(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var 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(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(H);function q(e){return e}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}(x),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}(S);function ee(){return new I}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.hasOwnProperty(re)?e[re]:null}function ue(e){return 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[qe]}function wt(e){return e[gt]}function Ct(e){var t=wt(e);return t?Array.isArray(t)?t:t.lViewData:null}function Ot(e){return 32767&e}function Pt(e,t){for(var n=e>>16,r=t;n>0;)r=r[nt],n--;return r}var xt,Et,Mt,kt,St,It,Tt,At,Nt=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(ge);function Vt(){return xt}function Dt(){return Et}function Rt(){return Mt}function jt(e){Mt=e}function Ft(e,t){Mt=e,At=t}function Ht(){return kt}function Lt(e){kt=e}function Bt(){return St}function Ut(){return Tt}function zt(){return At}var Gt=!1;function Zt(){return Gt}function Wt(e){Gt=e}var qt=!0;function Qt(e){qt=e}function Kt(e,t){var n=At;return St=e&&e[Ue],Tt=e&&1==(1&e[ze]),qt=e&&St.firstTemplatePass,xt=e&&e[Xe],Mt=t,kt=!0,At=e,n&&(n[We]=It),It=e&&e[We],n}function Jt(e,t){t||(Gt||lt(At,St.viewHooks,St.viewCheckHooks,Tt),At[ze]&=-6),At[ze]|=16,At[Ke]=St.bindingStartIndex,Kt(e,null)}var $t=!1;function Yt(e){var t=$t;return $t=e,t}var Xt=255,en=0;function tn(e,t){var n=rn(e,t);if(-1!==n)return n;var r=t[Ue];r.firstTemplatePass&&(e.injectorIndex=t.length,nn(r.data,e),nn(t,null),nn(r.blueprint,null));var o=on(e,t),i=Ot(o),l=Pt(o,t),a=e.injectorIndex;if(o!==Fe)for(var s=l[Ue].data,u=0;u<8;u++)t[a+u]=l[i+u]|s[i+u];return t[a+Re]=o,a}function nn(e,t){e.push(0,0,0,0,0,0,0,0,t)}function rn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null==t[e.injectorIndex+Re]?-1:e.injectorIndex}function on(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var n=t[Qe],r=1;n&&-1===n.injectorIndex;)n=(t=t[nt])[Qe],r++;return n?n.injectorIndex|r<<16|(n&&3===n.type?32768:0):-1}var ln={};function an(e,t,n,r){var o=t[Ue],i=o.data[e+De],l=i.flags,a=i.providerIndexes,s=o.data,u=!1;(null==r&&function(e){return 4096==(4096&e.flags)}(i)&&$t||null!=r&&r!=o&&(null==o.node||3===o.node.type))&&(u=!0);for(var c=65535&a,d=l>>16,p=4095&l,f=u?c:c+(a>>16);f=d&&h.type===n)return sn(s,t,f,i)}return ln}function sn(e,t,n,r){var o,i=t[n];if(null!=(o=i)&&"object"==typeof o&&Object.getPrototypeOf(o)==Le){var l=i;if(l.resolving)throw new Error("Circular dep for "+yt(e[n]));var a=Yt(l.canSeeViewProviders);l.resolving=!0;var s=void 0;l.injectImpl&&(s=Te(l.injectImpl));var u=Rt(),c=zt();Ft(r,t);try{i=t[n]=l.factory(null,e,t,r)}finally{l.injectImpl&&Te(s),Yt(a),l.resolving=!1,Ft(u,c)}}return i}function un(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< ");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):Ce(l)))}r="{"+o.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+r+"]: "+e.replace(In,"\n ")}function Dn(e,t){return new Error(Vn(e,t))}var Rn=function(){return function(){}}(),jn=function(){return function(){}}(),Fn="ngProjectAs";function Hn(e){return!!e.listen}var Ln={createRenderer:function(e,t){return document}},Bn=[];function Un(e){for(var t=e[Qe];t&&2===t.type;)t=(e=e[Ge])[Qe];return e}function zn(e,t,n,r,o){0===e?Hn(t)?t.insertBefore(n,r,o):n.insertBefore(r,o,!0):1===e?Hn(t)?t.removeChild(n,r):n.removeChild(r):2===e&&t.destroyNode(r)}function Gn(e){var t=e[Ue].childIndex;return-1===t?null:e[t]}function Zn(e,t){var n;return e.length>=Be&&(n=e[Qe])&&2===n.type?function(t,n){if(-1===t.index){var r=e[tt];return r>-1?e[Ge][r]:null}return e[Ge][t.parent.index]}(n):e[Ge]===t?null:e[Ge]}function Wn(e){if(e.length>=Be){var t=e;!function(e){var t=e[Ue].cleanup;if(null!=t){for(var n=0;n=Be?t[Ue].childIndex>-1&&(n=Gn(t)):t[ht].length&&(n=t[ht][0]),null==n){for(;t&&!t[Ze]&&t!==e;)Wn(t),t=Zn(t,e);Wn(t||e),n=t&&t[Ze]}t=n}}(e),e[ze]|=32},e.prototype.onDestroy=function(e){var t,n;n=e,function(e){return e[Je]||(e[Je]=[])}(t=this._view).push(n),t[Ue].firstTemplatePass&&function(e){return e[Ue].cleanup||(e[Ue].cleanup=[])}(t).push(t[Je].length-1,null)},e.prototype.markForCheck=function(){!function(e){for(var t=e;t&&!(64&t[ze]);)t[ze]|=4,t=t[Ge];var n,r,o;t[ze]|=4,o=0===(n=t[$e]).flags,n.flags|=1,o&&n.clean==Qn&&(n.clean=new Promise(function(e){return r=e}),n.scheduler(function(){if(1&n.flags&&(n.flags&=-2,sr(n)),2&n.flags){n.flags&=-3;var e=n.playerHandler;e&&e.flushPlayers()}n.clean=Qn,r(null)}))}(this._view)},e.prototype.detach=function(){this._view[ze]&=-9},e.prototype.reattach=function(){this._view[ze]|=8},e.prototype.detectChanges=function(){var e=Dt();e.begin&&e.begin(),ur(this.context),e.end&&e.end()},e.prototype.checkNoChanges=function(){!function(e){Wt(!0);try{ur(e)}finally{Wt(!1)}}(this.context)},e.prototype.attachToViewContainerRef=function(e){this._viewContainerRef=e},e.prototype.detachFromAppRef=function(){this._appRef=null},e.prototype.attachToAppRef=function(e){this._appRef=e},e.prototype._lookUpContext=function(){return this._context=this._view[Ge][this._componentIndex]},e}());function vr(e,t,n,r,o){var i=n[Ue],l=function(e,t,n){var r=Rt();e.firstTemplatePass&&(n.providersResolver&&n.providersResolver(n),function(e,t,n){var o=-(r.index-Be),i=e.data.length-(65535&r.providerIndexes);(e.expandoInstructions||(e.expandoInstructions=[])).push(o,i,1)}(e),function(e,t,n,r){e.data.push(n);var o=new He(r,function(e){return null!==e.template}(n),null);e.blueprint.push(o),t.push(o),function(e,t){e.expandoInstructions.push(t.hostBindings||fn),t.hostVars&&e.expandoInstructions.push(t.hostVars)}(e,n)}(e,t,n,n.factory));var o=sn(e.data,t,t.length-1,r);return function(e,t,n,r){var o=_t(t,e);pn(n,e),o&&pn(o,e),null!=r.attributes&&3==t.type&&function(e,t){for(var n=Vt(),r=Hn(n),o=0;o>16,r=n+(4095&e),o=n;o',!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();vo.hasOwnProperty(t)&&!co.hasOwnProperty(t)&&(this.buf.push(""))},e.prototype.chars=function(e){this.buf.push(Co(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}(),bo=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,wo=/([^\#-~ |!])/g;function Co(e){return e.replace(/&/g,"&").replace(bo,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(wo,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}function Oo(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Po={provide:Dr,useFactory:function(){return new Wr},deps:[]},xo=function(e){function t(t,n){var r=e.call(this)||this;return r._bootstrapComponents=[],r.destroyCbs=[],r._bootstrapComponents=(t[ie]||null).bootstrap,r.injector=function(e,t,n){return void 0===t&&(t=null),void 0===n&&(n=null),t=t||Or(),new Pr(e,n,t)}(t,n,[Po,{provide:Rn,useValue:r}]),r.instance=r.injector.get(t),r.componentFactoryResolver=new Wr,r}return o(t,e),t.prototype.destroy=function(){this.destroyCbs.forEach(function(e){return e()}),this.destroyCbs=null},t.prototype.onDestroy=function(e){this.destroyCbs.push(e)},t}(Rn);!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 xo(this.moduleType,e)}}(jn);var Eo=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}(I),Mo=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return ko(e,Fr)},e}(),ko=fn,So=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}({}),Io=function(){return function(){}}(),To=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"),Ao=/^url\(([^)]+)\)$/;Function,String,String;var No="ngDebugContext",Vo="ngOriginalError",Do="ngErrorLogger";function Ro(e){return e[No]}function jo(e){return e[Vo]}function Fo(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}(),gi=function(){function e(){this._applications=new Map,yi.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),yi.findTestabilityInTree(this,e,t)},l([a("design:paramtypes",[])],e)}(),yi=new(function(){function e(){}return e.prototype.addToWindow=function(e){},e.prototype.findTestabilityInTree=function(e,t,n){return null},e}()),mi=new ce("AllowMultipleToken"),_i=function(){return function(e,t){this.name=e,this.token=t}}();function bi(e,t,n){void 0===n&&(n=[]);var r="Platform: "+t,o=new ce(r);return function(t){void 0===t&&(t=[]);var i=wi();if(!i||i.injector.get(mi,!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(fi&&!fi.destroyed&&!fi.injector.get(mi,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");fi=e.get(Ci);var t=e.get(qo,null);t&&t.forEach(function(e){return e()})}(Cn.create({providers:l,name:r}))}return function(e){var t=wi();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 wi(){return fi&&!fi.destroyed?fi:null}var Ci=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 hi:("zone.js"===n?void 0:n)||new ai({enableLongStackTrace:no()}),i=[{provide:ai,useValue:o}];return o.run(function(){var t=Cn.create({providers:i,parent:r.injector,name:e.moduleType.name}),n=e.create(t),l=n.injector.get(Ho,null);if(!l)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy(function(){return xi(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(zo)).runInitializers(),l.donePromise.then(function(){return r._moduleDoBootstrap(n),n}));return Lo(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=Oi({},t);return function(e,t,n){return e.get(ti).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(Pi);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module "+Ce(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 Oi(e,t){return Array.isArray(t)?t.reduce(Oi,e):i({},e,t)}var Pi=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=no(),this._zone.onMicrotaskEmpty.subscribe({next:function(){l._zone.run(function(){l.tick()})}});var a=new x(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 x(function(e){var t;l._zone.runOutsideAngular(function(){t=l._zone.onStable.subscribe(function(){ai.assertNotInAngularZone(),be(function(){l._stable||l._zone.hasPendingMacrotasks||l._zone.hasPendingMicrotasks||(l._stable=!0,e.next(!0))})})});var n=l._zone.onUnstable.subscribe(function(){ai.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 x?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 G(t(e,r)).pipe(L(function(t,o){return n(e,t,r,o)}))},r))}:("number"==typeof n&&(r=n),function(e){return e.lift(new Z(t,r))})}(q,e)}(r)(function(e,t){return t?z(e,t):new x(N(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 Tr?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var o=n instanceof jr?null:this._injector.get(Rn),i=n.create(Cn.NULL,[],t||n.selector,o);i.onDestroy(function(){r._unloadComponent(i)});var l=i.injector.get(vi,null);return l&&i.injector.get(gi).registerApplication(i.location.nativeElement,l),this._loadComponent(i),no()&&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,li(n)}},e.prototype.attachView=function(e){var t=e;this._views.push(t),t.attachToAppRef(this)},e.prototype.detachView=function(e){var t=e;xi(this._views,t),t.detachFromAppRef()},e.prototype._loadComponent=function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Ko,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})},e.prototype._unloadComponent=function(e){this.detachView(e.hostView),xi(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=ii("ApplicationRef#tick()"),e}();function xi(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var Ei,Mi=function(){function e(){this.dirty=!0,this._results=[],this.changes=new Eo,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[_e()]=function(){return this._results[_e()]()},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}(),ki=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return Si(e,Fr)},e}(),Si=fn,Ii=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return Ti()},e}(),Ti=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]=ta,e._providers[c]=aa(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{Ie(i)}}function aa(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(la(e,n[0]));case 2:return new t(la(e,n[0]),la(e,n[1]));case 3:return new t(la(e,n[0]),la(e,n[1]),la(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,pa(n,t),pl.dirtyParentQueries(r),ca(r),r}function ua(e,t,n){var r=t?Al(t,t.def.lastRenderRootNode):e.renderElement,o=n.renderer.parentNode(r),i=n.renderer.nextSibling(r);Bl(n,2,o,i,void 0)}function ca(e){Bl(e,3,null,null,void 0)}function da(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function pa(e,t){t>=e.length-1?e.pop():e.splice(t,1)}var fa=new Object;function ha(e,t,n,r,o,i){return new va(e,t,n,r,o,i)}var va=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=Ll(this.viewDefFactory),i=o.nodes[0].element.componentProvider.nodeIndex,l=pl.createRootView(e,t||[],n,o,r,fa),a=ul(l,i).instance;return n&&l.renderer.setAttribute(sl(l,0).renderElement,"ng-version",Zr.full),new ga(l,new ba(l),a)},t}(Tr),ga=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 Fr(sl(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new Pa(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}(Ir);function ya(e,t,n){return new ma(e,t,n)}var ma=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 Fr(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new Pa(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=Tl(e),e=e.parent;return e?new Pa(e,t):new Pa(this._view,null)},enumerable:!0,configurable:!0}),e.prototype.clear=function(){for(var e=this._embeddedViews.length-1;e>=0;e--){var t=sa(this._data,e);pl.destroyView(t)}},e.prototype.get=function(e){var t=this._embeddedViews[e];if(t){var n=new ba(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 jr||(o=i.get(Rn));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,da(i,r,o),function(e,t){var n=Il(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),pl.dirtyParentQueries(o),ua(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],pa(i,r),null==o&&(o=i.length),da(i,o,l),pl.dirtyParentQueries(l),ca(l),ua(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=sa(this._data,e);t&&pl.destroyView(t)},e.prototype.detach=function(e){var t=sa(this._data,e);return t?new ba(t):null},e}();function _a(e){return new ba(e)}var ba=function(){function e(e){this._view=e,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(e.prototype,"rootNodes",{get:function(){return Bl(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(){Ml(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{pl.checkAndUpdateView(this._view)}finally{e.end&&e.end()}},e.prototype.checkNoChanges=function(){pl.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)),pl.destroyView(this._view)},e.prototype.detachFromAppRef=function(){this._appRef=null,ca(this._view),pl.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 wa(e,t){return new Ca(e,t)}var Ca=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 ba(pl.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))},Object.defineProperty(t.prototype,"elementRef",{get:function(){return new Fr(sl(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),t}(Mo);function Oa(e,t){return new Pa(e,t)}var Pa=function(){function e(e,t){this.view=e,this.elDef=t}return e.prototype.get=function(e,t){return void 0===t&&(t=Cn.THROW_IF_NOT_FOUND),pl.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:ml(e)},t)},e}();function xa(e,t){var n=e.def.nodes[t];if(1&n.flags){var r=sl(e,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return al(e,n.nodeIndex).renderText;if(20240&n.flags)return ul(e,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+t)}function Ea(e){return new Ma(e.renderer)}var Ma=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(ql(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 qa(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(Ka(e,t,n,o[0]));case 2:return r(Ka(e,t,n,o[0]),Ka(e,t,n,o[1]));case 3:return r(Ka(e,t,n,o[0]),Ka(e,t,n,o[1]),Ka(e,t,n,o[2]));default:for(var l=Array(i),a=0;a0)u=v,ps(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)&&ps(u)?u.renderParent:u}}return{factory:null,nodeFlags:l,rootNodeFlags:a,nodeMatchedQueries:s,flags:e,nodes:t,updateDirectives:n||gl,updateRenderer:r||gl,handleEvent:function(e,n,r,o){return t[n].element.handleEvent(e,r,o)},bindingCount:o,outputCount:i,lastRenderRootNode:f}}function ps(e){return 0!=(1&e.flags)&&null===e.element.name}function fs(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 hs(e,t,n,r){var o=ys(e.root,e.renderer,e,t,n);return ms(o,e.component,r),_s(o),o}function vs(e,t,n){var r=ys(e,e.renderer,null,null,t);return ms(r,n,n),_s(r),r}function gs(e,t,n,r){var o,i=t.element.componentRendererType;return o=i?e.root.rendererFactory.createRenderer(r,i):e.root.renderer,ys(e.root,o,e,t.element.componentProvider,n)}function ys(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 ms(e,t,n){e.component=t,e.context=n}function _s(e){var t;Nl(e)&&(t=sl(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);for(var n=e.def,r=e.nodes,o=0;o0&&ea(e,t,0,n)&&(f=!0),p>1&&ea(e,t,1,r)&&(f=!0),p>2&&ea(e,t,2,o)&&(f=!0),p>3&&ea(e,t,3,i)&&(f=!0),p>4&&ea(e,t,4,l)&&(f=!0),p>5&&ea(e,t,5,a)&&(f=!0),p>6&&ea(e,t,6,s)&&(f=!0),p>7&&ea(e,t,7,u)&&(f=!0),p>8&&ea(e,t,8,c)&&(f=!0),p>9&&ea(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&&xl(e,t,0,n)&&(p=!0),h>1&&xl(e,t,1,r)&&(p=!0),h>2&&xl(e,t,2,o)&&(p=!0),h>3&&xl(e,t,3,i)&&(p=!0),h>4&&xl(e,t,4,l)&&(p=!0),h>5&&xl(e,t,5,a)&&(p=!0),h>6&&xl(e,t,6,s)&&(p=!0),h>7&&xl(e,t,7,u)&&(p=!0),h>8&&xl(e,t,8,c)&&(p=!0),h>9&&xl(e,t,9,d)&&(p=!0),p){var v=t.text.prefix;h>0&&(v+=cs(n,f[0])),h>1&&(v+=cs(r,f[1])),h>2&&(v+=cs(o,f[2])),h>3&&(v+=cs(i,f[3])),h>4&&(v+=cs(l,f[4])),h>5&&(v+=cs(a,f[5])),h>6&&(v+=cs(s,f[6])),h>7&&(v+=cs(u,f[7])),h>8&&(v+=cs(c,f[8])),h>9&&(v+=cs(d,f[9]));var g=al(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=ul(e,t.nodeIndex),f=p.instance,h=!1,v=void 0,g=t.bindings.length;return g>0&&Pl(e,t,0,n)&&(h=!0,v=$a(e,p,t,0,n,v)),g>1&&Pl(e,t,1,r)&&(h=!0,v=$a(e,p,t,1,r,v)),g>2&&Pl(e,t,2,o)&&(h=!0,v=$a(e,p,t,2,o,v)),g>3&&Pl(e,t,3,i)&&(h=!0,v=$a(e,p,t,3,i,v)),g>4&&Pl(e,t,4,l)&&(h=!0,v=$a(e,p,t,4,l,v)),g>5&&Pl(e,t,5,a)&&(h=!0,v=$a(e,p,t,5,a,v)),g>6&&Pl(e,t,6,s)&&(h=!0,v=$a(e,p,t,6,s,v)),g>7&&Pl(e,t,7,u)&&(h=!0,v=$a(e,p,t,7,u,v)),g>8&&Pl(e,t,8,c)&&(h=!0,v=$a(e,p,t,8,c,v)),g>9&&Pl(e,t,9,d)&&(h=!0,v=$a(e,p,t,9,d,v)),v&&f.ngOnChanges(v),65536&t.flags&&ll(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&&xl(e,t,0,n)&&(f=!0),h>1&&xl(e,t,1,r)&&(f=!0),h>2&&xl(e,t,2,o)&&(f=!0),h>3&&xl(e,t,3,i)&&(f=!0),h>4&&xl(e,t,4,l)&&(f=!0),h>5&&xl(e,t,5,a)&&(f=!0),h>6&&xl(e,t,6,s)&&(f=!0),h>7&&xl(e,t,7,u)&&(f=!0),h>8&&xl(e,t,8,c)&&(f=!0),h>9&&xl(e,t,9,d)&&(f=!0),f){var v=cl(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&&El(e,t,0,n),p>1&&El(e,t,1,r),p>2&&El(e,t,2,o),p>3&&El(e,t,3,i),p>4&&El(e,t,4,l),p>5&&El(e,t,5,a),p>6&&El(e,t,6,s),p>7&&El(e,t,7,u),p>8&&El(e,t,8,c),p>9&&El(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);Bs.forEach(function(t,r){if(i.has(se(r).providedIn)){var o={token:r,flags:t.flags|(n?4096:0),deps:jl(t.deps),value:t.value,index:e.providers.length};e.providers.push(o),e.providersByKey[ml(r)]=o}})}}(e=e.factory(function(){return gl})),e):e}(r))}var Ls=new Map,Bs=new Map,Us=new Map;function zs(e){var t;Ls.set(e.token,e),"function"==typeof e.token&&(t=se(e.token))&&"function"==typeof t.providedIn&&Bs.set(e.token,e)}function Gs(e,t){var n=Ll(t.viewDefFactory),r=Ll(n.nodes[0].element.componentView);Us.set(e,r)}function Zs(){Ls.clear(),Bs.clear(),Us.clear()}function Ws(e){if(0===Ls.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=Mc(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}(lc),Dc=["alt","control","meta","shift"],Rc={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},jc=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 Bu().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(Dc.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=Bu().getEventKey(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),Dc.forEach(function(r){r!=n&&(0,Rc[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}(lc),Fc=function(){return function(){}}(),Hc=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 So.NONE:return t;case So.HTML:return t instanceof Bc?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"HTML"),function(e,t){var n=null;try{uo=uo||new ro(e);var r=t?String(t):"";n=uo.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=uo.getInertBodyElement(r)}while(r!==i);var l=new _o,a=l.sanitizeChildren(Oo(n)||n);return no()&&l.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),a}finally{if(n)for(var s=Oo(n)||n;s.firstChild;)s.removeChild(s.firstChild)}}(this._doc,String(t)));case So.STYLE:return t instanceof Uc?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"Style"),function(e){if(!(e=String(e).trim()))return"";var t=e.match(Ao);return t&&lo(t[1])===t[1]||e.match(To)&&function(e){for(var t=!0,n=!0,r=0;re?{max:{max:e,actual:t.value}}:null}},e.required=function(e){return $c(e.value)?{required:!0}:null},e.requiredTrue=function(e){return!0===e.value?null:{required:!0}},e.email=function(e){return $c(e.value)?null:Yc.test(e.value)?null:{email:!0}},e.minLength=function(e){return function(t){if($c(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($c(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(ed);return 0==t.length?null:function(e){return nd(function(e,n){return t.map(function(t){return t(e)})}(e))}},e.composeAsync=function(e){if(!e)return null;var t=e.filter(ed);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}(),dd=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(ud),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}(),pd=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}(),fd='\n

\n \n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',hd='\n
\n
\n \n
\n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\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 "+fd)},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 '+hd+'\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n \n
\n
\n \n
\n
')},e.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+fd)},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 "+hd)},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=we}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=we}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?Xc.compose(e.map(id)):null}function Sd(e){return null!=e?Xc.composeAsync(e.map(ld)):null}var Id=[rd,pd,ad,yd,bd,dd];function Td(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){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var Nd=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}(Jc),Vd=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}(),Dd=function(e){function t(t){return e.call(this,t)||this}return o(t,e),t}(Vd),Rd=function(e){function t(t){return e.call(this,t)||this}return o(t,e),t}(Vd);function jd(e){var t=Hd(e)?e.validators:e;return Array.isArray(t)?kd(t):t||null}function Fd(e,t){var n=Hd(t)?t.asyncValidators:e;return Array.isArray(n)?Sd(n):n||null}function Hd(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}var Ld=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=jd(e)},e.prototype.setAsyncValidators=function(e){this.asyncValidator=Fd(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=td(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 Ud?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 Eo,this.statusChanges=new Eo},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){Hd(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)},e}(),Bd=function(e){function t(t,n,r){void 0===t&&(t=null);var o=e.call(this,jd(n),Fd(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}(Ld),Ud=function(e){function t(t,n,r){var o=e.call(this,jd(n),Fd(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 Bd?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}(Ld),zd=function(e){function t(t,n,r){var o=e.call(this,jd(n),Fd(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 Bd?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}(Ld),Gd=Promise.resolve(null),Zd=function(e){function t(t,n){var r=e.call(this)||this;return r.submitted=!1,r._directives=[],r.ngSubmit=new Eo,r.form=new Ud({},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;Gd.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;Gd.then(function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name),Ad(t._directives,e)})},t.prototype.addFormGroup=function(e){var t=this;Gd.then(function(){var n=t._findContainer(e.path),r=new Ud({});xd(r,e),n.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})},t.prototype.removeFormGroup=function(e){var t=this;Gd.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;Gd.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,Td(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}(Jc),Wd=new ce("NgFormSelectorWarning"),qd=new ce("NgModelWithFormControlWarning"),Qd=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 Eo,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){Ad(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,Td(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=Xc.compose([this.form.validator,e]);var t=Sd(this._asyncValidators);this.form.asyncValidator=Xc.composeAsync([this.form.asyncValidator,t])},t.prototype._checkFormPresent=function(){this.form||vd.missingFormException()},t}(Jc),Kd=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(){$d(this._parent)&&vd.groupParentException()},t}(Nd),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}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(){$d(this._parent)&&vd.arrayParentException()},t}(Jc);function $d(e){return!(e instanceof Kd||e instanceof Qd||e instanceof Jd)}var Yd=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 Eo,l._ngModelWarningSent=!1,l._parent=t,l._rawValidators=n||[],l._rawAsyncValidators=r||[],l.valueAccessor=function(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===od?n=t:(i=t,Id.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)}(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(),function(e,t){if(!e.hasOwnProperty("model"))return!1;var n=e.model;return!!n.isFirstChange()||!we(t,n.currentValue)}(e,this.viewModel)&&("formControlName",t=n,this,r=this._ngModelWarningConfig,no()&&"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 Kd)&&this._parent instanceof Nd?vd.ngModelGroupException():this._parent instanceof Kd||this._parent instanceof Qd||this._parent instanceof Jd||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}(ud),Xd=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||void 0===t.asyncValidator&&void 0===t.validator?null!=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 Ud(n,{asyncValidators:o,updateOn:i,validators:r})},e.prototype.control=function(e,t,n){return new Bd(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 Bd||e instanceof Ud||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}(),ep=function(){return function(){}}(),tp=function(){return function(){}}(),np=function(){function e(){}var t;return t=e,e.withConfig=function(e){return{ngModule:t,providers:[{provide:Wd,useValue:e.warnOnDeprecatedNgFormSelector}]}},e}(),rp=function(){function e(){}var t;return t=e,e.withConfig=function(e){return{ngModule:t,providers:[{provide:qd,useValue:e.warnOnNgModelWithFormControl}]}},e}(),op=[{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"}]}],ip=[{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"}],lp=[{value:"foo",label:"foo"},{value:"bar",label:"bar"},{value:"baz",label:"baz"}],ap=[{value:"foo1",label:"foo1"},{value:"foo2",label:"foo2"},{value:"foo3",label:"foo3"},{value:"foo4",label:"foo4"},{value:"foo5",label:"foo5"},{value:"foo6",label:"foo6"}],sp=[{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"}]}],up=[{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"}],cp=[{value:!0,label:"true"},{value:!1,label:"false"}],dp=[{value:"fr",label:'
\n
France
\n
Europe
\n
'},{value:"sp",label:'
\n
Spain
\n
Europe
\n
'},{value:"ch",label:'
\n
China
\n
Asia
\n
'}],pp=function(){function e(e){this.fb=e,this.data1=op,this.data2=ip,this.data3=lp,this.data4=JSON.parse(JSON.stringify(lp)),this.data5=ap,this.data6=JSON.parse(JSON.stringify(ap)),this.data7=JSON.parse(JSON.stringify(lp)),this.data8=[],this.data9=JSON.parse(JSON.stringify(op)),this.data10=JSON.parse(JSON.stringify(op)),this.data11=JSON.parse(JSON.stringify(op)),this.data12=JSON.parse(JSON.stringify(op)),this.data13=cp,this.data15=ip,this.data16=ip,this.data17=dp,this.data18=sp,this.data19=up,this.data20=JSON.parse(JSON.stringify(up)),this.minCountForSearch=1/0,this.value1="CA",this.value2="CA",this.value3="foo",this.value4="bar",this.value5="foo3",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.fg=new Ud({state:new Bd}),this.ctrlForm=this.fb.group({test11:new Bd(null,Xc.required)}),this.fg.patchValue(this.formData())}return e.prototype.update1=function(e){this.value1=e.value},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(ip))},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(ip)).filter(function(t){return t.label.toLowerCase().indexOf(e.toLowerCase())>-1}):JSON.parse(JSON.stringify(ip))},e.prototype.update9=function(e){this.value9=e.value},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.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}(),fp=[{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}],hp=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){e.disabled||this.select(e)},e.prototype.toggleOpenAndClose=function(){var e=this;this.disabled||(this.focused=!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.close.emit(),this.isOpen&&!this._clickDetection&&setTimeout(function(){window.document.body.addEventListener("click",e._clickDetectionFc,!1),e._clickDetection=!0},200),this._changeDetectorRef.markForCheck())},e.prototype.testValueChange=function(e,t){if(!e&&!t||e===t)return!1;if(this.multiple&&e&&e.length&&t&&t.length&&e.length===t.length){for(var n=0,r=e;n-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=hp.getFilteredSelectedData(t,e.option)),!e.customSearchEnabled&&e.searchText&&e.searchText.length>=+e.minCharForSearch&&(t=hp.getFilteredData(t,e.searchText,e.editPattern)),hp.valueIsNotInFilteredData(t,e.hoveringValue)&&(e.hoveringValue=hp.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.focused=!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&&hp.getOptionsByValue(this.data,e,this.multiple).map(function(e){return t.select(e)})):this.select(hp.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}(),mp=Cl({encapsulation:0,styles:[[":root{--select2-required-color:red;--select2-selection-background-color:#fff;--select2-selection-disabled-background-color:#eee;--select2-selection-choice-background-color:#e4e4e4;--select2-selection-border-color:#aaa;--select2-selection-focus-border-color:#000;--select2-selection-text-color:#444;--select2-selection-choice-text-color:#999;--select2-selection-choice-hover-text-color:#333;--select2-placeholder-color:#999;--select2-arrow-color:#888;--select2-dropdown-background-color:#fff;--select2-dropdown-border-color:#aaa;--select2-option-disabled-color:#999;--select2-option-selected-background-color:#ddd;--select2-option-highlighted-background-color:#5897fb;--select2-option-highlighted-color:#fff;--select2-option-group-color:gray;--select2-border-radius:4px;--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-color:#ddd;--select2-material-option-selected-background-color:rgba(0, 0, 0, 0.04);--select2-material-option-highlighted-text-color:#000;--select2-material-option-selected-text-color:#ff5722}.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-color:#fff;background-color:var(--select2-dropdown-background-color,#fff);border:1px solid #aaa;border:1px solid var(--select2-dropdown-border-color,#aaa);border-radius:4px;border-radius:var(--select2-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}.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-color:#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-color:#fff;background-color:var(--select2-selection-background-color,#fff);border:1px solid #aaa;border:1px solid var(--select2-selection-border-color,#aaa);border-radius:4px;border-radius:var(--select2-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-color:#eee;background-color:var(--select2-selection-disabled-background-color,#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-color:#fff;background-color:var(--select2-selection-background-color,#fff);border:1px solid #aaa;border:1px solid var(--select2-selection-border-color,#aaa);border-radius:4px;border-radius:var(--select2-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%]{background-color:#e4e4e4;background-color:var(--select2-selection-choice-background-color,#e4e4e4);border:1px solid #aaa;border:1px solid var(--select2-selection-border-color,#aaa);border-radius:4px;border-radius:var(--select2-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-text-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-text-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-color:#eee;background-color:var(--select2-selection-disabled-background-color,#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-dropdown-border-color,#aaa)}.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-color,#999)}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[aria-selected=true][_ngcontent-%COMP%]{background-color:#ddd;background-color:var(--select2-option-selected-background-color,#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-color:#5897fb;background-color:var(--select2-option-highlighted-background-color,#5897fb);color:#fff;color:var(--select2-option-highlighted-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-color,gray)}.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-color:transparent;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-color:transparent;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:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;position:absolute;-webkit-transform-origin:0 21px;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%]{-webkit-transform:translateY(-1.5em) scale(.75) perspective(100px) translateZ(.001px);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-color:rgba(0,0,0,.04);background-color:var(--select2-material-option-selected-background-color,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-color:transparent}.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%}@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 _p(e){return ds(0,[(e()(),Jl(0,0,null,null,0,"span",[["class","select2-required"]],null,null,null,null,null))],null,null)}function bp(e){return ds(0,[(e()(),Jl(0,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),ss(-1,null,["\xa0"]))],null,null)}function wp(e){return ds(0,[(e()(),Jl(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 Cp(e){return ds(0,[(e()(),Jl(0,0,null,null,6,"span",[["class","select2-selection__rendered"]],[[8,"title",0]],null,null,null,null)),(e()(),Kl(16777216,null,null,1,null,bp)),Fa(2,16384,null,0,Nu,[ki,Mo],{ngIf:[0,"ngIf"]},null),(e()(),Kl(16777216,null,null,1,null,wp)),Fa(4,16384,null,0,Nu,[ki,Mo],{ngIf:[0,"ngIf"]},null),(e()(),Jl(5,0,null,null,1,"span",[["class","select2-selection__placeholder"]],[[2,"select2-selection__placeholder__option",null]],null,null,null,null)),(e()(),ss(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 Op(e){return ds(0,[(e()(),Jl(0,0,null,null,0,"span",[["class","select2-selection__arrow"],["role","presentation"]],null,null,null,null,null))],null,null)}function Pp(e){return ds(0,[(e()(),Jl(0,0,null,null,3,"li",[["class","select2-selection__choice"]],[[8,"title",0]],null,null,null,null)),(e()(),Jl(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()(),ss(-1,null,["\xd7"])),(e()(),Jl(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 xp(e){return ds(0,[(e()(),Jl(0,0,null,null,4,"ul",[["class","select2-selection__rendered"]],null,null,null,null,null)),(e()(),Jl(1,0,null,null,1,"span",[["class","select2-selection__placeholder"]],[[2,"select2-selection__placeholder__option",null]],null,null,null,null)),(e()(),ss(2,null,["",""])),(e()(),Kl(16777216,null,null,1,null,Pp)),Fa(4,278528,null,0,Tu,[ki,Mo,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 Ep(e){return ds(0,[(e()(),Jl(0,0,[[3,0],["result",1]],null,0,"li",[["role","treeitem"]],[[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,n.getOptionStyle(t.context.$implicit),n.isSelected(t.context.$implicit),n.isDisabled(t.context.$implicit),t.context.$implicit.label)})}function Mp(e){return ds(0,[(e()(),Jl(0,0,null,null,4,"li",[["class","select2-results__option"],["role","group"]],null,null,null,null,null)),(e()(),Jl(1,0,null,null,0,"strong",[],[[1,"class",0],[8,"innerHTML",1]],null,null,null,null)),(e()(),Jl(2,0,null,null,2,"ul",[["class","select2-results__options select2-results__options--nested"]],null,null,null,null,null)),(e()(),Kl(16777216,null,null,1,null,Ep)),Fa(4,278528,null,0,Tu,[ki,Mo,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 kp(e){return ds(0,[(e()(),Jl(0,0,[[3,0],["result",1]],null,0,"li",[["role","treeitem"]],[[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,n.getOptionStyle(t.parent.context.$implicit),n.isSelected(t.parent.context.$implicit),n.isDisabled(t.parent.context.$implicit),t.parent.context.$implicit.label)})}function Sp(e){return ds(0,[(e()(),Jl(0,0,null,null,4,null,null,null,null,null,null,null)),(e()(),Kl(16777216,null,null,1,null,Mp)),Fa(2,16384,null,0,Nu,[ki,Mo],{ngIf:[0,"ngIf"]},null),(e()(),Kl(16777216,null,null,1,null,kp)),Fa(4,16384,null,0,Nu,[ki,Mo],{ngIf:[0,"ngIf"]},null),(e()(),Kl(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 Ip(e){return ds(0,[ts(402653184,1,{selection:0}),ts(402653184,2,{resultContainer:0}),ts(671088640,3,{results:1}),ts(402653184,4,{searchInput:0}),(e()(),Jl(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)),ls(null,0),(e()(),Kl(16777216,null,null,1,null,_p)),Fa(7,16384,null,0,Nu,[ki,Mo],{ngIf:[0,"ngIf"]},null),(e()(),Jl(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()(),Jl(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()(),Jl(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()(),Kl(16777216,null,null,1,null,Cp)),Fa(12,16384,null,0,Nu,[ki,Mo],{ngIf:[0,"ngIf"]},null),(e()(),Kl(16777216,null,null,1,null,Op)),Fa(14,16384,null,0,Nu,[ki,Mo],{ngIf:[0,"ngIf"]},null),(e()(),Kl(16777216,null,null,1,null,xp)),Fa(16,16384,null,0,Nu,[ki,Mo],{ngIf:[0,"ngIf"]},null),(e()(),Jl(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()(),Jl(18,0,null,null,6,"div",[["class","select2-dropdown"]],[[2,"select2-dropdown--below",null],[2,"select2-dropdown--above",null]],null,null,null,null)),(e()(),Jl(19,0,null,null,1,"div",[["class","select2-search select2-search--dropdown"]],[[2,"select2-search--hide",null]],null,null,null,null)),(e()(),Jl(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"]],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),r},null,null)),(e()(),Jl(21,0,null,null,3,"div",[["class","select2-results"]],null,null,null,null,null)),(e()(),Jl(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()(),Kl(16777216,null,null,1,null,Sp)),Fa(24,278528,null,0,Tu,[ki,Mo,Qi],{ngForOf:[0,"ngForOf"],ngForTrackBy:[1,"ngForTrackBy"]},null),(e()(),Jl(25,0,null,null,1,"div",[["class","select2-subscript-wrapper"]],null,null,null,null,null)),ls(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 Tp=function(){return function(){}}(),Ap=function(){return function(){}}(),Np=Cl({encapsulation:0,styles:[["#select2-17[_ngcontent-%COMP%] .select2-multiple-labels{display:flex;justify-content:space-between}.noStyle[_ngcontent-%COMP%]{background-color:#faebd7}"]],data:{}});function Vp(e){return ds(0,[(e()(),Jl(0,0,null,null,139,"div",[["style","width: 500px;"]],null,null,null,null,null)),(e()(),Jl(1,0,null,null,1,"a",[["href","https://github.com/Zefling/ng-select2/tree/master/src"],["target","_blank"]],null,null,null,null,null)),(e()(),ss(-1,null,["the source code of the demo"])),(e()(),Jl(3,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),ss(4,null,["1. options in group (",")"])),(e()(),Jl(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"]],function(e,t,n){var r=!0;return"update"===t&&(r=!1!==e.component.update1(n)&&r),r},Ip,mp)),Fa(6,4702208,null,0,yp,[Ii,[2,Zd],[2,Qd],[8,null],[8,null]],{data:[0,"data"],id:[1,"id"],value:[2,"value"]},{update:"update"}),(e()(),Jl(7,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),ss(8,null,["2. options (",")"])),(e()(),Jl(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},Ip,mp)),Fa(10,4702208,null,0,yp,[Ii,[2,Zd],[2,Qd],[8,null],[8,null]],{data:[0,"data"],id:[1,"id"],value:[2,"value"]},{update:"update"}),(e()(),Jl(11,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),ss(12,null,["3. less options (",")"])),(e()(),Jl(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},Ip,mp)),Fa(14,4702208,null,0,yp,[Ii,[2,Zd],[2,Qd],[8,null],[8,null]],{data:[0,"data"],id:[1,"id"],value:[2,"value"]},{update:"update"}),(e()(),Jl(15,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),ss(16,null,["4. disabled (",")"])),(e()(),Jl(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,Ip,mp)),Fa(18,4702208,null,0,yp,[Ii,[2,Zd],[2,Qd],[8,null],[8,null]],{data:[0,"data"],id:[1,"id"],disabled:[2,"disabled"],value:[3,"value"]},null),(e()(),Jl(19,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),ss(20,null,["5. hide search box (",")"])),(e()(),Jl(21,0,null,null,1,"select2",[["id","selec2-5"]],[[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},Ip,mp)),Fa(22,4702208,null,0,yp,[Ii,[2,Zd],[2,Qd],[8,null],[8,null]],{data:[0,"data"],minCountForSearch:[1,"minCountForSearch"],id:[2,"id"],value:[3,"value"]},{update:"update"}),(e()(),Jl(23,0,null,null,17,"h3",[],null,null,null,null,null)),(e()(),ss(-1,null,["6. search limit to "])),(e()(),Jl(25,0,[["limit",1]],null,0,"input",[["size","3"],["value","7"]],null,null,null,null,null)),(e()(),ss(-1,null,[" / display status "])),(e()(),Jl(27,0,[["status",1]],null,12,"select",[],null,null,null,null,null)),(e()(),Jl(28,0,null,null,3,"option",[["selected",""]],null,null,null,null,null)),Fa(29,147456,null,0,md,[Fr,zr,[8,null]],null,null),Fa(30,147456,null,0,wd,[Fr,zr,[8,null]],null,null),(e()(),ss(-1,null,["default"])),(e()(),Jl(32,0,null,null,3,"option",[],null,null,null,null,null)),Fa(33,147456,null,0,md,[Fr,zr,[8,null]],null,null),Fa(34,147456,null,0,wd,[Fr,zr,[8,null]],null,null),(e()(),ss(-1,null,["hidden"])),(e()(),Jl(36,0,null,null,3,"option",[],null,null,null,null,null)),Fa(37,147456,null,0,md,[Fr,zr,[8,null]],null,null),Fa(38,147456,null,0,wd,[Fr,zr,[8,null]],null,null),(e()(),ss(-1,null,["always"])),(e()(),ss(40,null,[" (",")"])),(e()(),Jl(41,0,null,null,4,"div",[],null,null,null,null,null)),(e()(),Jl(42,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()(),ss(-1,null,["Add item"])),(e()(),Jl(44,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()(),ss(-1,null,["Remove item"])),(e()(),Jl(46,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},Ip,mp)),Fa(47,4702208,null,0,yp,[Ii,[2,Zd],[2,Qd],[8,null],[8,null]],{data:[0,"data"],displaySearchStatus:[1,"displaySearchStatus"],minCountForSearch:[2,"minCountForSearch"],id:[3,"id"],value:[4,"value"]},{update:"update"}),(e()(),Jl(48,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),ss(49,null,["7. placeholder (",")"])),(e()(),Jl(50,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},Ip,mp)),Fa(51,4702208,null,0,yp,[Ii,[2,Zd],[2,Qd],[8,null],[8,null]],{data:[0,"data"],placeholder:[1,"placeholder"],id:[2,"id"]},{update:"update"}),(e()(),Jl(52,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),ss(53,null,["8. open, close and search event (",")"])),(e()(),Jl(54,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},Ip,mp)),Fa(55,4702208,null,0,yp,[Ii,[2,Zd],[2,Qd],[8,null],[8,null]],{data:[0,"data"],customSearchEnabled:[1,"customSearchEnabled"],id:[2,"id"]},{update:"update",open:"open",close:"close",search:"search"}),(e()(),Jl(56,0,null,1,2,"select2-hint",[],null,null,null,null,null)),Fa(57,16384,null,0,Tp,[],null,null),(e()(),ss(58,null,["value : ",""])),(e()(),Jl(59,0,null,null,2,"h3",[],null,null,null,null,null)),(e()(),ss(60,null,["9. multiple (",")"])),Ha(0,Ru,[]),(e()(),Jl(62,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"]],function(e,t,n){var r=!0;return"update"===t&&(r=!1!==e.component.update9(n)&&r),r},Ip,mp)),Fa(63,4702208,null,0,yp,[Ii,[2,Zd],[2,Qd],[8,null],[8,null]],{data:[0,"data"],multiple:[1,"multiple"],id:[2,"id"],value:[3,"value"]},{update:"update"}),(e()(),Jl(64,0,null,null,2,"h3",[],null,null,null,null,null)),(e()(),ss(65,null,["10. multiple + hide selected items (",")"])),Ha(0,Ru,[]),(e()(),Jl(67,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},Ip,mp)),Fa(68,4702208,null,0,yp,[Ii,[2,Zd],[2,Qd],[8,null],[8,null]],{data:[0,"data"],multiple:[1,"multiple"],id:[2,"id"],hideSelectedItems:[3,"hideSelectedItems"],value:[4,"value"]},{update:"update"}),(e()(),Jl(69,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),ss(70,null,["11. material style and form binding (",")"])),(e()(),Jl(71,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!==xa(e,73).onSubmit(n)&&r),"reset"===t&&(r=!1!==xa(e,73).onReset()&&r),r},null,null)),Fa(72,16384,null,0,ep,[],null,null),Fa(73,540672,null,0,Qd,[[8,null],[8,null]],{form:[0,"form"]},null),La(2048,null,Jc,null,[Qd]),Fa(75,16384,null,0,Rd,[[4,Jc]],null,null),(e()(),Jl(76,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},Ip,mp)),Fa(77,671744,null,0,Yd,[[3,Jc],[8,null],[8,null],[8,null],[2,qd]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),La(2048,null,ud,null,[Yd]),Fa(79,16384,null,0,Dd,[[4,ud]],null,null),Fa(80,4702208,null,0,yp,[Ii,[2,Zd],[2,Qd],[6,ud],[8,null]],{data:[0,"data"],placeholder:[1,"placeholder"],material:[2,"material"],id:[3,"id"]},null),(e()(),Jl(81,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()(),ss(-1,null,["reset"])),(e()(),Jl(83,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()(),ss(-1,null,["Utah"])),(e()(),Jl(85,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),ss(86,null,["12. material style (",")"])),(e()(),Jl(87,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},Ip,mp)),Fa(88,4702208,null,0,yp,[Ii,[2,Zd],[2,Qd],[8,null],[8,null]],{data:[0,"data"],material:[1,"material"],id:[2,"id"],value:[3,"value"]},{update:"update"}),(e()(),Jl(89,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),ss(90,null,["13. boolean value (",")"])),(e()(),Jl(91,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},Ip,mp)),Fa(92,4702208,null,0,yp,[Ii,[2,Zd],[2,Qd],[8,null],[8,null]],{data:[0,"data"],id:[1,"id"],value:[2,"value"]},{update:"update"}),(e()(),Jl(93,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),ss(-1,null,["14. FormControl"])),(e()(),Jl(95,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!==xa(e,97).onSubmit(n)&&r),"reset"===t&&(r=!1!==xa(e,97).onReset()&&r),r},null,null)),Fa(96,16384,null,0,ep,[],null,null),Fa(97,540672,null,0,Qd,[[8,null],[8,null]],{form:[0,"form"]},null),La(2048,null,Jc,null,[Qd]),Fa(99,16384,null,0,Rd,[[4,Jc]],null,null),(e()(),Jl(100,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,Ip,mp)),Fa(101,671744,null,0,Yd,[[3,Jc],[8,null],[8,null],[8,null],[2,qd]],{name:[0,"name"]},null),La(2048,null,ud,null,[Yd]),Fa(103,16384,null,0,Dd,[[4,ud]],null,null),Fa(104,4702208,null,0,yp,[Ii,[2,Zd],[2,Qd],[6,ud],[8,null]],{data:[0,"data"],multiple:[1,"multiple"],id:[2,"id"]},null),(e()(),Jl(105,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()(),ss(-1,null,["Log Selected"])),(e()(),Jl(107,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()(),ss(-1,null,["Reset Form"])),(e()(),Jl(109,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),ss(110,null,["15. with label (",")"])),(e()(),Jl(111,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},Ip,mp)),Fa(112,4702208,null,0,yp,[Ii,[2,Zd],[2,Qd],[8,null],[8,null]],{data:[0,"data"],id:[1,"id"],value:[2,"value"]},{update:"update"}),(e()(),Jl(113,0,null,0,2,"select2-label",[],null,null,null,null,null)),Fa(114,16384,null,0,Ap,[],null,null),(e()(),ss(-1,null,["Select a state"])),(e()(),Jl(116,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),ss(117,null,["16. required with label (",")"])),(e()(),Jl(118,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},Ip,mp)),Fa(119,4702208,null,0,yp,[Ii,[2,Zd],[2,Qd],[8,null],[8,null]],{data:[0,"data"],id:[1,"id"],required:[2,"required"],value:[3,"value"]},{update:"update"}),(e()(),Jl(120,0,null,0,2,"select2-label",[],null,null,null,null,null)),Fa(121,16384,null,0,Ap,[],null,null),(e()(),ss(-1,null,["Select a state"])),(e()(),Jl(123,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),ss(124,null,["17. with two option labels (",")"])),(e()(),Jl(125,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},Ip,mp)),Fa(126,4702208,null,0,yp,[Ii,[2,Zd],[2,Qd],[8,null],[8,null]],{data:[0,"data"],id:[1,"id"],value:[2,"value"]},{update:"update"}),(e()(),Jl(127,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),ss(-1,null,["18. search starts with 3 chars"])),(e()(),Jl(129,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},Ip,mp)),Fa(130,4702208,null,0,yp,[Ii,[2,Zd],[2,Qd],[8,null],[8,null]],{data:[0,"data"],minCharForSearch:[1,"minCharForSearch"],id:[2,"id"],value:[3,"value"]},{update:"update"}),(e()(),Jl(131,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),ss(132,null,["19. dropdown list position above (",")"])),(e()(),Jl(133,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},Ip,mp)),Fa(134,4702208,null,0,yp,[Ii,[2,Zd],[2,Qd],[8,null],[8,null]],{data:[0,"data"],listPosition:[1,"listPosition"],id:[2,"id"],value:[3,"value"]},{update:"update"}),(e()(),Jl(135,0,null,null,4,"div",[["class","noStyle"]],null,null,null,null,null)),(e()(),Jl(136,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),ss(137,null,["20. nostyle (",")"])),(e()(),Jl(138,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},Ip,mp)),Fa(139,4702208,null,0,yp,[Ii,[2,Zd],[2,Qd],[8,null],[8,null]],{data:[0,"data"],listPosition:[1,"listPosition"],noStyle:[2,"noStyle"],id:[3,"id"],value:[4,"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,22,0,n.data5,n.minCountForSearch,"selec2-5",n.value5),e(t,47,0,n.data6,xa(t,27).value,xa(t,25).value,"selec2-6",n.value6),e(t,51,0,n.data7,"select an item","selec2-7"),e(t,55,0,n.data8,"true","selec2-8"),e(t,63,0,n.data9,"true","selec2-9",n.value9),e(t,68,0,n.data10,"true","selec2-10","true",n.value10),e(t,73,0,n.ctrlForm),e(t,77,0,"test11",n.value11),e(t,80,0,n.data11,"Select a state","","selec2-11"),e(t,88,0,n.data12,"","selec2-12",n.value12),e(t,92,0,n.data13,"selec2-13",n.value13),e(t,97,0,n.fg),e(t,101,0,"state"),e(t,104,0,n.data9,"true","selec2-10"),e(t,112,0,n.data15,"selec2-15",n.value15),e(t,119,0,n.data16,"selec2-16","",n.value16),e(t,126,0,n.data17,"select2-17",n.value17),e(t,130,0,n.data18,"3","selec2-18",n.value18),e(t,134,0,n.data19,"above","selec2-19",n.value19),e(t,139,0,n.data20,"above","","selec2-20",n.value20)},function(e,t){var n=t.component;e(t,4,0,n.value1),e(t,5,0,xa(t,6).id,xa(t,6).ariaInvalid,xa(t,6).classMaterial,xa(t,6).classNostyle,xa(t,6).select2above),e(t,8,0,n.value2),e(t,9,0,xa(t,10).id,xa(t,10).ariaInvalid,xa(t,10).classMaterial,xa(t,10).classNostyle,xa(t,10).select2above),e(t,12,0,n.value3),e(t,13,0,xa(t,14).id,xa(t,14).ariaInvalid,xa(t,14).classMaterial,xa(t,14).classNostyle,xa(t,14).select2above),e(t,16,0,n.value4),e(t,17,0,xa(t,18).id,xa(t,18).ariaInvalid,xa(t,18).classMaterial,xa(t,18).classNostyle,xa(t,18).select2above),e(t,20,0,n.value5),e(t,21,0,xa(t,22).id,xa(t,22).ariaInvalid,xa(t,22).classMaterial,xa(t,22).classNostyle,xa(t,22).select2above),e(t,40,0,n.value6),e(t,46,0,xa(t,47).id,xa(t,47).ariaInvalid,xa(t,47).classMaterial,xa(t,47).classNostyle,xa(t,47).select2above),e(t,49,0,n.value7),e(t,50,0,xa(t,51).id,xa(t,51).ariaInvalid,xa(t,51).classMaterial,xa(t,51).classNostyle,xa(t,51).select2above),e(t,53,0,n.value8),e(t,54,0,xa(t,55).id,xa(t,55).ariaInvalid,xa(t,55).classMaterial,xa(t,55).classNostyle,xa(t,55).select2above),e(t,58,0,n.value8),e(t,60,0,_l(t,60,0,xa(t,61).transform(n.value9))),e(t,62,0,xa(t,63).id,xa(t,63).ariaInvalid,xa(t,63).classMaterial,xa(t,63).classNostyle,xa(t,63).select2above),e(t,65,0,_l(t,65,0,xa(t,66).transform(n.value10))),e(t,67,0,xa(t,68).id,xa(t,68).ariaInvalid,xa(t,68).classMaterial,xa(t,68).classNostyle,xa(t,68).select2above),e(t,70,0,n.value11),e(t,71,0,xa(t,75).ngClassUntouched,xa(t,75).ngClassTouched,xa(t,75).ngClassPristine,xa(t,75).ngClassDirty,xa(t,75).ngClassValid,xa(t,75).ngClassInvalid,xa(t,75).ngClassPending),e(t,76,1,[xa(t,79).ngClassUntouched,xa(t,79).ngClassTouched,xa(t,79).ngClassPristine,xa(t,79).ngClassDirty,xa(t,79).ngClassValid,xa(t,79).ngClassInvalid,xa(t,79).ngClassPending,xa(t,80).id,xa(t,80).ariaInvalid,xa(t,80).classMaterial,xa(t,80).classNostyle,xa(t,80).select2above]),e(t,86,0,n.value12),e(t,87,0,xa(t,88).id,xa(t,88).ariaInvalid,xa(t,88).classMaterial,xa(t,88).classNostyle,xa(t,88).select2above),e(t,90,0,n.value13),e(t,91,0,xa(t,92).id,xa(t,92).ariaInvalid,xa(t,92).classMaterial,xa(t,92).classNostyle,xa(t,92).select2above),e(t,95,0,xa(t,99).ngClassUntouched,xa(t,99).ngClassTouched,xa(t,99).ngClassPristine,xa(t,99).ngClassDirty,xa(t,99).ngClassValid,xa(t,99).ngClassInvalid,xa(t,99).ngClassPending),e(t,100,1,[xa(t,103).ngClassUntouched,xa(t,103).ngClassTouched,xa(t,103).ngClassPristine,xa(t,103).ngClassDirty,xa(t,103).ngClassValid,xa(t,103).ngClassInvalid,xa(t,103).ngClassPending,xa(t,104).id,xa(t,104).ariaInvalid,xa(t,104).classMaterial,xa(t,104).classNostyle,xa(t,104).select2above]),e(t,110,0,n.value15),e(t,111,0,xa(t,112).id,xa(t,112).ariaInvalid,xa(t,112).classMaterial,xa(t,112).classNostyle,xa(t,112).select2above),e(t,117,0,n.value16),e(t,118,0,xa(t,119).id,xa(t,119).ariaInvalid,xa(t,119).classMaterial,xa(t,119).classNostyle,xa(t,119).select2above),e(t,124,0,n.value17),e(t,125,0,xa(t,126).id,xa(t,126).ariaInvalid,xa(t,126).classMaterial,xa(t,126).classNostyle,xa(t,126).select2above),e(t,129,0,xa(t,130).id,xa(t,130).ariaInvalid,xa(t,130).classMaterial,xa(t,130).classNostyle,xa(t,130).select2above),e(t,132,0,n.value19),e(t,133,0,xa(t,134).id,xa(t,134).ariaInvalid,xa(t,134).classMaterial,xa(t,134).classNostyle,xa(t,134).select2above),e(t,137,0,n.value20),e(t,138,0,xa(t,139).id,xa(t,139).ariaInvalid,xa(t,139).classMaterial,xa(t,139).classNostyle,xa(t,139).select2above)})}function Dp(e){return ds(0,[(e()(),Jl(0,0,null,null,1,"app-root",[],null,null,null,Vp,Np)),Fa(1,49152,null,0,pp,[Xd],null,null)],null,null)}var Rp=ha("app-root",pp,Dp,{},{},[]),jp=function(){return function(){}}(),Fp=mu(bu,[pp],function(e){return function(e){for(var t={},n=[],r=!1,o=0;o