diff --git a/dist/ng-select2/browser/index.html b/dist/ng-select2/browser/index.html index 85ea070..28c013c 100644 --- a/dist/ng-select2/browser/index.html +++ b/dist/ng-select2/browser/index.html @@ -11,5 +11,5 @@ - + diff --git a/dist/ng-select2/browser/main-R3QWUUFX.js b/dist/ng-select2/browser/main-R3QWUUFX.js deleted file mode 100644 index cc69aab..0000000 --- a/dist/ng-select2/browser/main-R3QWUUFX.js +++ /dev/null @@ -1,41 +0,0 @@ -import{$ as I,$a as Ue,A as ir,Aa as bt,Ab as Te,B as Ct,Ba as ue,C as ra,Ca as st,Cb as La,D as Ii,Da as xa,Db as hr,E as $e,Ea as lr,Eb as fe,F as nr,Fa as F,Fb as ya,G as sa,Ga as Me,Gb as qt,H as aa,Ha as v,Hb as wa,I as rr,Ia as Ht,Ib as Ba,J as Re,Ja as Z,Jb as at,K as Gt,Ka as or,Kb as Ma,L as la,La as ji,Lb as Ua,M as ee,Ma as q,Mb as Oa,N as oa,Na as Xi,Nb as Va,O as te,Oa as Gi,Ob as Pa,P as we,Pa as h,Pb as Da,Q as N,Qa as c,Qb as Ka,R as H,Ra as L,Rb as Na,S as ua,Sa as Ke,Sb as Ia,T as z,Ta as _e,U as sr,Ua as Ra,V as B,Va as b,Vb as ka,W as M,Wa as T,Wb as Fa,X as fa,Xa as ur,Y as ca,Ya as Hi,Z as be,Za as Ca,_ as $,_a as Ze,a as ye,aa as rt,ab as Oe,b as Qs,ba as Be,bb as Y,c as Js,ca as pe,cb as p,d as Zn,da as m,db as ce,e as Qn,ea as x,eb as U,f as W,fa as Se,fb as zt,g as xe,ga as ki,gb as $t,h as ze,ha as We,hb as Wt,i as re,ia as J,ib as Ee,j as y,ja as ha,jb as fr,k as jt,ka as K,kb as va,l as Jn,la as da,lb as ba,m as ea,ma as pa,mb as Sa,n as j,na as Ce,nb as zi,o as Ki,oa as _a,ob as $i,p as le,pa as Ea,pb as se,q as Xt,qa as E,qb as Ta,r as ta,ra as A,rb as Wi,s as er,sa as ga,sb as cr,t as ia,ta as qe,tb as Aa,u as Ni,ua as ar,ub as qi,v as na,va as Ye,vb as Yi,w as de,wa as oe,wb as Ne,x as tr,xa as ma,xb as G,y as xt,ya as Fi,yb as Qe,z as Rt,za as vt,zb as St}from"./chunk-JIMBH2NK.js";import{a as S,b as k,c as mt,d as Zs}from"./chunk-LHREKEGM.js";var qr=mt(dt=>{"use strict";Object.defineProperty(dt,"__esModule",{value:!0});dt.EXTENDED_PICTOGRAPHIC=dt.CLUSTER_BREAK=void 0;var Kc;(function(i){i[i.CR=0]="CR",i[i.LF=1]="LF",i[i.CONTROL=2]="CONTROL",i[i.EXTEND=3]="EXTEND",i[i.REGIONAL_INDICATOR=4]="REGIONAL_INDICATOR",i[i.SPACINGMARK=5]="SPACINGMARK",i[i.L=6]="L",i[i.V=7]="V",i[i.T=8]="T",i[i.LV=9]="LV",i[i.LVT=10]="LVT",i[i.OTHER=11]="OTHER",i[i.PREPEND=12]="PREPEND",i[i.E_BASE=13]="E_BASE",i[i.E_MODIFIER=14]="E_MODIFIER",i[i.ZWJ=15]="ZWJ",i[i.GLUE_AFTER_ZWJ=16]="GLUE_AFTER_ZWJ",i[i.E_BASE_GAZ=17]="E_BASE_GAZ"})(Kc=dt.CLUSTER_BREAK||(dt.CLUSTER_BREAK={}));dt.EXTENDED_PICTOGRAPHIC=101});var to=mt(Qr=>{"use strict";Object.defineProperty(Qr,"__esModule",{value:!0});var P=qr(),Fe=0,Yr=1,Nc=2,Ic=3,kc=4,Zr=class{static isSurrogate(e,s){return 55296<=e.charCodeAt(s)&&e.charCodeAt(s)<=56319&&56320<=e.charCodeAt(s+1)&&e.charCodeAt(s+1)<=57343}static codePointAt(e,s){s===void 0&&(s=0);let t=e.charCodeAt(s);if(55296<=t&&t<=56319&&s=1){let n=e.charCodeAt(s-1),a=t;return 55296<=n&&n<=56319?(n-55296)*1024+(a-56320)+65536:a}return t}static shouldBreak(e,s,t,n,a,o){let l=[e].concat(s).concat([t]),u=[n].concat(a).concat([o]),f=l[l.length-2],d=t,_=o,g=l.lastIndexOf(P.CLUSTER_BREAK.REGIONAL_INDICATOR);if(g>0&&l.slice(1,g).every(function(C){return C===P.CLUSTER_BREAK.REGIONAL_INDICATOR})&&[P.CLUSTER_BREAK.PREPEND,P.CLUSTER_BREAK.REGIONAL_INDICATOR].indexOf(f)===-1)return l.filter(function(C){return C===P.CLUSTER_BREAK.REGIONAL_INDICATOR}).length%2===1?Ic:kc;if(f===P.CLUSTER_BREAK.CR&&d===P.CLUSTER_BREAK.LF)return Fe;if(f===P.CLUSTER_BREAK.CONTROL||f===P.CLUSTER_BREAK.CR||f===P.CLUSTER_BREAK.LF)return Yr;if(d===P.CLUSTER_BREAK.CONTROL||d===P.CLUSTER_BREAK.CR||d===P.CLUSTER_BREAK.LF)return Yr;if(f===P.CLUSTER_BREAK.L&&(d===P.CLUSTER_BREAK.L||d===P.CLUSTER_BREAK.V||d===P.CLUSTER_BREAK.LV||d===P.CLUSTER_BREAK.LVT))return Fe;if((f===P.CLUSTER_BREAK.LV||f===P.CLUSTER_BREAK.V)&&(d===P.CLUSTER_BREAK.V||d===P.CLUSTER_BREAK.T))return Fe;if((f===P.CLUSTER_BREAK.LVT||f===P.CLUSTER_BREAK.T)&&d===P.CLUSTER_BREAK.T)return Fe;if(d===P.CLUSTER_BREAK.EXTEND||d===P.CLUSTER_BREAK.ZWJ)return Fe;if(d===P.CLUSTER_BREAK.SPACINGMARK)return Fe;if(f===P.CLUSTER_BREAK.PREPEND)return Fe;let R=u.slice(0,-1).lastIndexOf(P.EXTENDED_PICTOGRAPHIC);return R!==-1&&u[R]===P.EXTENDED_PICTOGRAPHIC&&l.slice(R+1,-2).every(function(C){return C===P.CLUSTER_BREAK.EXTEND})&&f===P.CLUSTER_BREAK.ZWJ&&_===P.EXTENDED_PICTOGRAPHIC?Fe:s.indexOf(P.CLUSTER_BREAK.REGIONAL_INDICATOR)!==-1?Nc:f===P.CLUSTER_BREAK.REGIONAL_INDICATOR&&d===P.CLUSTER_BREAK.REGIONAL_INDICATOR?Fe:Yr}};Qr.default=Zr});var io=mt(es=>{"use strict";Object.defineProperty(es,"__esModule",{value:!0});var Jr=class{constructor(e,s){this._index=0,this._str=e,this._nextBreak=s}[Symbol.iterator](){return this}next(){let e;if((e=this._nextBreak(this._str,this._index)){"use strict";var no=hi&&hi.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(hi,"__esModule",{value:!0});var r=qr(),An=no(to()),Fc=no(io()),ts=class i{static nextBreak(e,s){if(s===void 0&&(s=0),s<0)return 0;if(s>=e.length-1)return e.length;let t=An.default.codePointAt(e,s),n=i.getGraphemeBreakProperty(t),a=i.getEmojiProperty(t),o=[],l=[];for(let u=s+1;u{"use strict";var jc=di&&di.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(di,"__esModule",{value:!0});var Xc=jc(ro());di.default=Xc.default});var Ro=mt((_i,ls)=>{(function(i,e){typeof _i=="object"&&typeof ls=="object"?ls.exports=e():typeof define=="function"&&define.amd?define([],e):typeof _i=="object"?_i.bowser=e():i.bowser=e()})(_i,function(){return function(i){var e={};function s(t){if(e[t])return e[t].exports;var n=e[t]={i:t,l:!1,exports:{}};return i[t].call(n.exports,n,n.exports,s),n.l=!0,n.exports}return s.m=i,s.c=e,s.d=function(t,n,a){s.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:a})},s.r=function(t){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},s.t=function(t,n){if(1&n&&(t=s(t)),8&n||4&n&&typeof t=="object"&&t&&t.__esModule)return t;var a=Object.create(null);if(s.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&n&&typeof t!="string")for(var o in t)s.d(a,o,(function(l){return t[l]}).bind(null,o));return a},s.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return s.d(n,"a",n),n},s.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},s.p="",s(s.s=90)}({17:function(i,e,s){"use strict";e.__esModule=!0,e.default=void 0;var t=s(18),n=function(){function a(){}return a.getFirstMatch=function(o,l){var u=l.match(o);return u&&u.length>0&&u[1]||""},a.getSecondMatch=function(o,l){var u=l.match(o);return u&&u.length>1&&u[2]||""},a.matchAndReturnConst=function(o,l,u){if(o.test(l))return u},a.getWindowsVersionName=function(o){switch(o){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},a.getMacOSVersionName=function(o){var l=o.split(".").splice(0,2).map(function(u){return parseInt(u,10)||0});if(l.push(0),l[0]===10)switch(l[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},a.getAndroidVersionName=function(o){var l=o.split(".").splice(0,2).map(function(u){return parseInt(u,10)||0});if(l.push(0),!(l[0]===1&&l[1]<5))return l[0]===1&&l[1]<6?"Cupcake":l[0]===1&&l[1]>=6?"Donut":l[0]===2&&l[1]<2?"Eclair":l[0]===2&&l[1]===2?"Froyo":l[0]===2&&l[1]>2?"Gingerbread":l[0]===3?"Honeycomb":l[0]===4&&l[1]<1?"Ice Cream Sandwich":l[0]===4&&l[1]<4?"Jelly Bean":l[0]===4&&l[1]>=4?"KitKat":l[0]===5?"Lollipop":l[0]===6?"Marshmallow":l[0]===7?"Nougat":l[0]===8?"Oreo":l[0]===9?"Pie":void 0},a.getVersionPrecision=function(o){return o.split(".").length},a.compareVersions=function(o,l,u){u===void 0&&(u=!1);var f=a.getVersionPrecision(o),d=a.getVersionPrecision(l),_=Math.max(f,d),g=0,R=a.map([o,l],function(C){var w=_-a.getVersionPrecision(C),D=C+new Array(w+1).join(".0");return a.map(D.split("."),function(he){return new Array(20-he.length).join("0")+he}).reverse()});for(u&&(g=_-Math.min(f,d)),_-=1;_>=g;){if(R[0][_]>R[1][_])return 1;if(R[0][_]===R[1][_]){if(_===g)return 0;_-=1}else if(R[0][_]1?d-1:0),g=1;g0){var Pe=Object.keys(C),nt=l.default.find(Pe,function(De){return R.isOS(De)});if(nt){var $s=this.satisfies(C[nt]);if($s!==void 0)return $s}var Ws=l.default.find(Pe,function(De){return R.isPlatform(De)});if(Ws){var qs=this.satisfies(C[Ws]);if(qs!==void 0)return qs}}if(he>0){var gu=Object.keys(D),Ys=l.default.find(gu,function(De){return R.isBrowser(De,!0)});if(Ys!==void 0)return this.compareVersion(D[Ys])}},_.isBrowser=function(g,R){R===void 0&&(R=!1);var C=this.getBrowserName().toLowerCase(),w=g.toLowerCase(),D=l.default.getBrowserTypeByAlias(w);return R&&D&&(w=D.toLowerCase()),w===C},_.compareVersion=function(g){var R=[0],C=g,w=!1,D=this.getBrowserVersion();if(typeof D=="string")return g[0]===">"||g[0]==="<"?(C=g.substr(1),g[1]==="="?(w=!0,C=g.substr(2)):R=[],g[0]===">"?R.push(1):R.push(-1)):g[0]==="="?C=g.substr(1):g[0]==="~"&&(w=!0,C=g.substr(1)),R.indexOf(l.default.compareVersions(D,C,w))>-1},_.isOS=function(g){return this.getOSName(!0)===String(g).toLowerCase()},_.isPlatform=function(g){return this.getPlatformType(!0)===String(g).toLowerCase()},_.isEngine=function(g){return this.getEngineName(!0)===String(g).toLowerCase()},_.is=function(g,R){return R===void 0&&(R=!1),this.isBrowser(g,R)||this.isOS(g)||this.isPlatform(g)},_.some=function(g){var R=this;return g===void 0&&(g=[]),g.some(function(C){return R.is(C)})},d}();e.default=f,i.exports=e.default},92:function(i,e,s){"use strict";e.__esModule=!0,e.default=void 0;var t,n=(t=s(17))&&t.__esModule?t:{default:t},a=/version\/(\d+(\.?_?\d+)+)/i,o=[{test:[/googlebot/i],describe:function(l){var u={name:"Googlebot"},f=n.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,l)||n.default.getFirstMatch(a,l);return f&&(u.version=f),u}},{test:[/opera/i],describe:function(l){var u={name:"Opera"},f=n.default.getFirstMatch(a,l)||n.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,l);return f&&(u.version=f),u}},{test:[/opr\/|opios/i],describe:function(l){var u={name:"Opera"},f=n.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,l)||n.default.getFirstMatch(a,l);return f&&(u.version=f),u}},{test:[/SamsungBrowser/i],describe:function(l){var u={name:"Samsung Internet for Android"},f=n.default.getFirstMatch(a,l)||n.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,l);return f&&(u.version=f),u}},{test:[/Whale/i],describe:function(l){var u={name:"NAVER Whale Browser"},f=n.default.getFirstMatch(a,l)||n.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,l);return f&&(u.version=f),u}},{test:[/MZBrowser/i],describe:function(l){var u={name:"MZ Browser"},f=n.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,l)||n.default.getFirstMatch(a,l);return f&&(u.version=f),u}},{test:[/focus/i],describe:function(l){var u={name:"Focus"},f=n.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,l)||n.default.getFirstMatch(a,l);return f&&(u.version=f),u}},{test:[/swing/i],describe:function(l){var u={name:"Swing"},f=n.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,l)||n.default.getFirstMatch(a,l);return f&&(u.version=f),u}},{test:[/coast/i],describe:function(l){var u={name:"Opera Coast"},f=n.default.getFirstMatch(a,l)||n.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,l);return f&&(u.version=f),u}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(l){var u={name:"Opera Touch"},f=n.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,l)||n.default.getFirstMatch(a,l);return f&&(u.version=f),u}},{test:[/yabrowser/i],describe:function(l){var u={name:"Yandex Browser"},f=n.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,l)||n.default.getFirstMatch(a,l);return f&&(u.version=f),u}},{test:[/ucbrowser/i],describe:function(l){var u={name:"UC Browser"},f=n.default.getFirstMatch(a,l)||n.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,l);return f&&(u.version=f),u}},{test:[/Maxthon|mxios/i],describe:function(l){var u={name:"Maxthon"},f=n.default.getFirstMatch(a,l)||n.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,l);return f&&(u.version=f),u}},{test:[/epiphany/i],describe:function(l){var u={name:"Epiphany"},f=n.default.getFirstMatch(a,l)||n.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,l);return f&&(u.version=f),u}},{test:[/puffin/i],describe:function(l){var u={name:"Puffin"},f=n.default.getFirstMatch(a,l)||n.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,l);return f&&(u.version=f),u}},{test:[/sleipnir/i],describe:function(l){var u={name:"Sleipnir"},f=n.default.getFirstMatch(a,l)||n.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,l);return f&&(u.version=f),u}},{test:[/k-meleon/i],describe:function(l){var u={name:"K-Meleon"},f=n.default.getFirstMatch(a,l)||n.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,l);return f&&(u.version=f),u}},{test:[/micromessenger/i],describe:function(l){var u={name:"WeChat"},f=n.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,l)||n.default.getFirstMatch(a,l);return f&&(u.version=f),u}},{test:[/qqbrowser/i],describe:function(l){var u={name:/qqbrowserlite/i.test(l)?"QQ Browser Lite":"QQ Browser"},f=n.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,l)||n.default.getFirstMatch(a,l);return f&&(u.version=f),u}},{test:[/msie|trident/i],describe:function(l){var u={name:"Internet Explorer"},f=n.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,l);return f&&(u.version=f),u}},{test:[/\sedg\//i],describe:function(l){var u={name:"Microsoft Edge"},f=n.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,l);return f&&(u.version=f),u}},{test:[/edg([ea]|ios)/i],describe:function(l){var u={name:"Microsoft Edge"},f=n.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,l);return f&&(u.version=f),u}},{test:[/vivaldi/i],describe:function(l){var u={name:"Vivaldi"},f=n.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,l);return f&&(u.version=f),u}},{test:[/seamonkey/i],describe:function(l){var u={name:"SeaMonkey"},f=n.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,l);return f&&(u.version=f),u}},{test:[/sailfish/i],describe:function(l){var u={name:"Sailfish"},f=n.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,l);return f&&(u.version=f),u}},{test:[/silk/i],describe:function(l){var u={name:"Amazon Silk"},f=n.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,l);return f&&(u.version=f),u}},{test:[/phantom/i],describe:function(l){var u={name:"PhantomJS"},f=n.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,l);return f&&(u.version=f),u}},{test:[/slimerjs/i],describe:function(l){var u={name:"SlimerJS"},f=n.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,l);return f&&(u.version=f),u}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(l){var u={name:"BlackBerry"},f=n.default.getFirstMatch(a,l)||n.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,l);return f&&(u.version=f),u}},{test:[/(web|hpw)[o0]s/i],describe:function(l){var u={name:"WebOS Browser"},f=n.default.getFirstMatch(a,l)||n.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,l);return f&&(u.version=f),u}},{test:[/bada/i],describe:function(l){var u={name:"Bada"},f=n.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,l);return f&&(u.version=f),u}},{test:[/tizen/i],describe:function(l){var u={name:"Tizen"},f=n.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,l)||n.default.getFirstMatch(a,l);return f&&(u.version=f),u}},{test:[/qupzilla/i],describe:function(l){var u={name:"QupZilla"},f=n.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,l)||n.default.getFirstMatch(a,l);return f&&(u.version=f),u}},{test:[/firefox|iceweasel|fxios/i],describe:function(l){var u={name:"Firefox"},f=n.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,l);return f&&(u.version=f),u}},{test:[/electron/i],describe:function(l){var u={name:"Electron"},f=n.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,l);return f&&(u.version=f),u}},{test:[/MiuiBrowser/i],describe:function(l){var u={name:"Miui"},f=n.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,l);return f&&(u.version=f),u}},{test:[/chromium/i],describe:function(l){var u={name:"Chromium"},f=n.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,l)||n.default.getFirstMatch(a,l);return f&&(u.version=f),u}},{test:[/chrome|crios|crmo/i],describe:function(l){var u={name:"Chrome"},f=n.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,l);return f&&(u.version=f),u}},{test:[/GSA/i],describe:function(l){var u={name:"Google Search"},f=n.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,l);return f&&(u.version=f),u}},{test:function(l){var u=!l.test(/like android/i),f=l.test(/android/i);return u&&f},describe:function(l){var u={name:"Android Browser"},f=n.default.getFirstMatch(a,l);return f&&(u.version=f),u}},{test:[/playstation 4/i],describe:function(l){var u={name:"PlayStation 4"},f=n.default.getFirstMatch(a,l);return f&&(u.version=f),u}},{test:[/safari|applewebkit/i],describe:function(l){var u={name:"Safari"},f=n.default.getFirstMatch(a,l);return f&&(u.version=f),u}},{test:[/.*/i],describe:function(l){var u=l.search("\\(")!==-1?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:n.default.getFirstMatch(u,l),version:n.default.getSecondMatch(u,l)}}}];e.default=o,i.exports=e.default},93:function(i,e,s){"use strict";e.__esModule=!0,e.default=void 0;var t,n=(t=s(17))&&t.__esModule?t:{default:t},a=s(18),o=[{test:[/Roku\/DVP/],describe:function(l){var u=n.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,l);return{name:a.OS_MAP.Roku,version:u}}},{test:[/windows phone/i],describe:function(l){var u=n.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,l);return{name:a.OS_MAP.WindowsPhone,version:u}}},{test:[/windows /i],describe:function(l){var u=n.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,l),f=n.default.getWindowsVersionName(u);return{name:a.OS_MAP.Windows,version:u,versionName:f}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(l){var u={name:a.OS_MAP.iOS},f=n.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,l);return f&&(u.version=f),u}},{test:[/macintosh/i],describe:function(l){var u=n.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,l).replace(/[_\s]/g,"."),f=n.default.getMacOSVersionName(u),d={name:a.OS_MAP.MacOS,version:u};return f&&(d.versionName=f),d}},{test:[/(ipod|iphone|ipad)/i],describe:function(l){var u=n.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,l).replace(/[_\s]/g,".");return{name:a.OS_MAP.iOS,version:u}}},{test:function(l){var u=!l.test(/like android/i),f=l.test(/android/i);return u&&f},describe:function(l){var u=n.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,l),f=n.default.getAndroidVersionName(u),d={name:a.OS_MAP.Android,version:u};return f&&(d.versionName=f),d}},{test:[/(web|hpw)[o0]s/i],describe:function(l){var u=n.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,l),f={name:a.OS_MAP.WebOS};return u&&u.length&&(f.version=u),f}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(l){var u=n.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,l)||n.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,l)||n.default.getFirstMatch(/\bbb(\d+)/i,l);return{name:a.OS_MAP.BlackBerry,version:u}}},{test:[/bada/i],describe:function(l){var u=n.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,l);return{name:a.OS_MAP.Bada,version:u}}},{test:[/tizen/i],describe:function(l){var u=n.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,l);return{name:a.OS_MAP.Tizen,version:u}}},{test:[/linux/i],describe:function(){return{name:a.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:a.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(l){var u=n.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,l);return{name:a.OS_MAP.PlayStation4,version:u}}}];e.default=o,i.exports=e.default},94:function(i,e,s){"use strict";e.__esModule=!0,e.default=void 0;var t,n=(t=s(17))&&t.__esModule?t:{default:t},a=s(18),o=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(l){var u=n.default.getFirstMatch(/(can-l01)/i,l)&&"Nova",f={type:a.PLATFORMS_MAP.mobile,vendor:"Huawei"};return u&&(f.model=u),f}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet}}},{test:function(l){var u=l.test(/ipod|iphone/i),f=l.test(/like (ipod|iphone)/i);return u&&!f},describe:function(l){var u=n.default.getFirstMatch(/(ipod|iphone)/i,l);return{type:a.PLATFORMS_MAP.mobile,vendor:"Apple",model:u}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:a.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:a.PLATFORMS_MAP.mobile}}},{test:function(l){return l.getBrowserName(!0)==="blackberry"},describe:function(){return{type:a.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(l){return l.getBrowserName(!0)==="bada"},describe:function(){return{type:a.PLATFORMS_MAP.mobile}}},{test:function(l){return l.getBrowserName()==="windows phone"},describe:function(){return{type:a.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(l){var u=Number(String(l.getOSVersion()).split(".")[0]);return l.getOSName(!0)==="android"&&u>=3},describe:function(){return{type:a.PLATFORMS_MAP.tablet}}},{test:function(l){return l.getOSName(!0)==="android"},describe:function(){return{type:a.PLATFORMS_MAP.mobile}}},{test:function(l){return l.getOSName(!0)==="macos"},describe:function(){return{type:a.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(l){return l.getOSName(!0)==="windows"},describe:function(){return{type:a.PLATFORMS_MAP.desktop}}},{test:function(l){return l.getOSName(!0)==="linux"},describe:function(){return{type:a.PLATFORMS_MAP.desktop}}},{test:function(l){return l.getOSName(!0)==="playstation 4"},describe:function(){return{type:a.PLATFORMS_MAP.tv}}},{test:function(l){return l.getOSName(!0)==="roku"},describe:function(){return{type:a.PLATFORMS_MAP.tv}}}];e.default=o,i.exports=e.default},95:function(i,e,s){"use strict";e.__esModule=!0,e.default=void 0;var t,n=(t=s(17))&&t.__esModule?t:{default:t},a=s(18),o=[{test:function(l){return l.getBrowserName(!0)==="microsoft edge"},describe:function(l){if(/\sedg\//i.test(l))return{name:a.ENGINE_MAP.Blink};var u=n.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,l);return{name:a.ENGINE_MAP.EdgeHTML,version:u}}},{test:[/trident/i],describe:function(l){var u={name:a.ENGINE_MAP.Trident},f=n.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,l);return f&&(u.version=f),u}},{test:function(l){return l.test(/presto/i)},describe:function(l){var u={name:a.ENGINE_MAP.Presto},f=n.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,l);return f&&(u.version=f),u}},{test:function(l){var u=l.test(/gecko/i),f=l.test(/like gecko/i);return u&&!f},describe:function(l){var u={name:a.ENGINE_MAP.Gecko},f=n.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,l);return f&&(u.version=f),u}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:a.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(l){var u={name:a.ENGINE_MAP.WebKit},f=n.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,l);return f&&(u.version=f),u}}];e.default=o,i.exports=e.default}})})});var Za=(()=>{let e=class e{constructor(t,n){this._renderer=t,this._elementRef=n,this.onChange=a=>{},this.onTouched=()=>{}}setProperty(t,n){this._renderer.setProperty(this._elementRef.nativeElement,t,n)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}};e.\u0275fac=function(n){return new(n||e)(A(Ye),A(J))},e.\u0275dir=I({type:e});let i=e;return i})(),ii=(()=>{let e=class e extends Za{};e.\u0275fac=(()=>{let t;return function(a){return(t||(t=Se(e)))(a||e)}})(),e.\u0275dir=I({type:e,features:[ue]});let i=e;return i})(),ot=new z(""),xu={provide:ot,useExisting:we(()=>ni),multi:!0},ni=(()=>{let e=class e extends ii{writeValue(t){this.setProperty("checked",t)}};e.\u0275fac=(()=>{let t;return function(a){return(t||(t=Se(e)))(a||e)}})(),e.\u0275dir=I({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(n,a){n&1&&b("change",function(l){return a.onChange(l.target.checked)})("blur",function(){return a.onTouched()})},features:[Ee([xu]),ue]});let i=e;return i})(),Ru={provide:ot,useExisting:we(()=>wt),multi:!0};function Cu(){let i=hr()?hr().getUserAgent():"";return/android (\d+)/.test(i.toLowerCase())}var vu=new z(""),wt=(()=>{let e=class e extends Za{constructor(t,n,a){super(t,n),this._compositionMode=a,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!Cu())}writeValue(t){let n=t??"";this.setProperty("value",n)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}};e.\u0275fac=function(n){return new(n||e)(A(Ye),A(J),A(vu,8))},e.\u0275dir=I({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(n,a){n&1&&b("input",function(l){return a._handleInput(l.target.value)})("blur",function(){return a.onTouched()})("compositionstart",function(){return a._compositionStart()})("compositionend",function(l){return a._compositionEnd(l.target.value)})},features:[Ee([Ru]),ue]});let i=e;return i})();function Je(i){return i==null||(typeof i=="string"||Array.isArray(i))&&i.length===0}function Qa(i){return i!=null&&typeof i.length=="number"}var an=new z(""),ln=new z(""),bu=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,ti=class{static min(e){return Su(e)}static max(e){return Tu(e)}static required(e){return Au(e)}static requiredTrue(e){return Lu(e)}static email(e){return yu(e)}static minLength(e){return wu(e)}static maxLength(e){return Bu(e)}static pattern(e){return Mu(e)}static nullValidator(e){return Ja(e)}static compose(e){return sl(e)}static composeAsync(e){return al(e)}};function Su(i){return e=>{if(Je(e.value)||Je(i))return null;let s=parseFloat(e.value);return!isNaN(s)&&s{if(Je(e.value)||Je(i))return null;let s=parseFloat(e.value);return!isNaN(s)&&s>i?{max:{max:i,actual:e.value}}:null}}function Au(i){return Je(i.value)?{required:!0}:null}function Lu(i){return i.value===!0?null:{required:!0}}function yu(i){return Je(i.value)||bu.test(i.value)?null:{email:!0}}function wu(i){return e=>Je(e.value)||!Qa(e.value)?null:e.value.lengthQa(e.value)&&e.value.length>i?{maxlength:{requiredLength:i,actualLength:e.value.length}}:null}function Mu(i){if(!i)return Ja;let e,s;return typeof i=="string"?(s="",i.charAt(0)!=="^"&&(s+="^"),s+=i,i.charAt(i.length-1)!=="$"&&(s+="$"),e=new RegExp(s)):(s=i.toString(),e=i),t=>{if(Je(t.value))return null;let n=t.value;return e.test(n)?null:{pattern:{requiredPattern:s,actualValue:n}}}}function Ja(i){return null}function el(i){return i!=null}function tl(i){return Wi(i)?re(i):i}function il(i){let e={};return i.forEach(s=>{e=s!=null?S(S({},e),s):e}),Object.keys(e).length===0?null:e}function nl(i,e){return e.map(s=>s(i))}function Uu(i){return!i.validate}function rl(i){return i.map(e=>Uu(e)?e:s=>e.validate(s))}function sl(i){if(!i)return null;let e=i.filter(el);return e.length==0?null:function(s){return il(nl(s,e))}}function mr(i){return i!=null?sl(rl(i)):null}function al(i){if(!i)return null;let e=i.filter(el);return e.length==0?null:function(s){let t=nl(s,e).map(tl);return ia(t).pipe(j(il))}}function xr(i){return i!=null?al(rl(i)):null}function ja(i,e){return i===null?[e]:Array.isArray(i)?[...i,e]:[i,e]}function ll(i){return i._rawValidators}function ol(i){return i._rawAsyncValidators}function dr(i){return i?Array.isArray(i)?i:[i]:[]}function Qi(i,e){return Array.isArray(i)?i.includes(e):i===e}function Xa(i,e){let s=dr(e);return dr(i).forEach(n=>{Qi(s,n)||s.push(n)}),s}function Ga(i,e){return dr(e).filter(s=>!Qi(i,s))}var Ji=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=mr(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=xr(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,s){return this.control?this.control.hasError(e,s):!1}getError(e,s){return this.control?this.control.getError(e,s):null}},Ie=class extends Ji{get formDirective(){return null}get path(){return null}},ke=class extends Ji{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},en=class{constructor(e){this._cd=e}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},Ou={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},bd=k(S({},Ou),{"[class.ng-submitted]":"isSubmitted"}),on=(()=>{let e=class e extends en{constructor(t){super(t)}};e.\u0275fac=function(n){return new(n||e)(A(ke,2))},e.\u0275dir=I({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,a){n&2&&Z("ng-untouched",a.isUntouched)("ng-touched",a.isTouched)("ng-pristine",a.isPristine)("ng-dirty",a.isDirty)("ng-valid",a.isValid)("ng-invalid",a.isInvalid)("ng-pending",a.isPending)},features:[ue]});let i=e;return i})(),un=(()=>{let e=class e extends en{constructor(t){super(t)}};e.\u0275fac=function(n){return new(n||e)(A(Ie,10))},e.\u0275dir=I({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,a){n&2&&Z("ng-untouched",a.isUntouched)("ng-touched",a.isTouched)("ng-pristine",a.isPristine)("ng-dirty",a.isDirty)("ng-valid",a.isValid)("ng-invalid",a.isInvalid)("ng-pending",a.isPending)("ng-submitted",a.isSubmitted)},features:[ue]});let i=e;return i})();var Yt="VALID",Zi="INVALID",Tt="PENDING",Zt="DISABLED",et=class{},tn=class extends et{constructor(e,s){super(),this.value=e,this.source=s}},Jt=class extends et{constructor(e,s){super(),this.pristine=e,this.source=s}},ei=class extends et{constructor(e,s){super(),this.touched=e,this.source=s}},At=class extends et{constructor(e,s){super(),this.status=e,this.source=s}},pr=class extends et{constructor(e){super(),this.source=e}},_r=class extends et{constructor(e){super(),this.source=e}};function Rr(i){return(fn(i)?i.validators:i)||null}function Vu(i){return Array.isArray(i)?mr(i):i||null}function Cr(i,e){return(fn(e)?e.asyncValidators:i)||null}function Pu(i){return Array.isArray(i)?xr(i):i||null}function fn(i){return i!=null&&!Array.isArray(i)&&typeof i=="object"}function ul(i,e,s){let t=i.controls;if(!(e?Object.keys(t):t).length)throw new te(1e3,"");if(!t[s])throw new te(1001,"")}function fl(i,e,s){i._forEachChild((t,n)=>{if(s[n]===void 0)throw new te(1002,"")})}var yt=class{constructor(e,s){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=St(()=>this.statusReactive()),this.statusReactive=bt(void 0),this._pristine=St(()=>this.pristineReactive()),this.pristineReactive=bt(!0),this._touched=St(()=>this.touchedReactive()),this.touchedReactive=bt(!1),this._events=new W,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(s)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get status(){return Te(this.statusReactive)}set status(e){Te(()=>this.statusReactive.set(e))}get valid(){return this.status===Yt}get invalid(){return this.status===Zi}get pending(){return this.status==Tt}get disabled(){return this.status===Zt}get enabled(){return this.status!==Zt}get pristine(){return Te(this.pristineReactive)}set pristine(e){Te(()=>this.pristineReactive.set(e))}get dirty(){return!this.pristine}get touched(){return Te(this.touchedReactive)}set touched(e){Te(()=>this.touchedReactive.set(e))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(Xa(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(Xa(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(Ga(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(Ga(e,this._rawAsyncValidators))}hasValidator(e){return Qi(this._rawValidators,e)}hasAsyncValidator(e){return Qi(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){let s=this.touched===!1;this.touched=!0;let t=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsTouched(k(S({},e),{sourceControl:t})),s&&e.emitEvent!==!1&&this._events.next(new ei(!0,t))}markAllAsTouched(e={}){this.markAsTouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(s=>s.markAllAsTouched(e))}markAsUntouched(e={}){let s=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let t=e.sourceControl??this;this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:t})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,t),s&&e.emitEvent!==!1&&this._events.next(new ei(!1,t))}markAsDirty(e={}){let s=this.pristine===!0;this.pristine=!1;let t=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsDirty(k(S({},e),{sourceControl:t})),s&&e.emitEvent!==!1&&this._events.next(new Jt(!1,t))}markAsPristine(e={}){let s=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let t=e.sourceControl??this;this._forEachChild(n=>{n.markAsPristine({onlySelf:!0,emitEvent:e.emitEvent})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e,t),s&&e.emitEvent!==!1&&this._events.next(new Jt(!0,t))}markAsPending(e={}){this.status=Tt;let s=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new At(this.status,s)),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.markAsPending(k(S({},e),{sourceControl:s}))}disable(e={}){let s=this._parentMarkedDirty(e.onlySelf);this.status=Zt,this.errors=null,this._forEachChild(n=>{n.disable(k(S({},e),{onlySelf:!0}))}),this._updateValue();let t=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new tn(this.value,t)),this._events.next(new At(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(k(S({},e),{skipPristineCheck:s}),this),this._onDisabledChange.forEach(n=>n(!0))}enable(e={}){let s=this._parentMarkedDirty(e.onlySelf);this.status=Yt,this._forEachChild(t=>{t.enable(k(S({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(k(S({},e),{skipPristineCheck:s}),this),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(e,s){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine({},s),this._parent._updateTouched({},s))}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let t=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Yt||this.status===Tt)&&this._runAsyncValidator(t,e.emitEvent)}let s=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new tn(this.value,s)),this._events.next(new At(this.status,s)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(k(S({},e),{sourceControl:s}))}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(s=>s._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Zt:Yt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,s){if(this.asyncValidator){this.status=Tt,this._hasOwnPendingAsyncValidator={emitEvent:s!==!1};let t=tl(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(n=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(n,{emitEvent:s,shouldHaveEmitted:e})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let e=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,e}return!1}setErrors(e,s={}){this.errors=e,this._updateControlsErrors(s.emitEvent!==!1,this,s.shouldHaveEmitted)}get(e){let s=e;return s==null||(Array.isArray(s)||(s=s.split(".")),s.length===0)?null:s.reduce((t,n)=>t&&t._find(n),this)}getError(e,s){let t=s?this.get(s):this;return t&&t.errors?t.errors[e]:null}hasError(e,s){return!!this.getError(e,s)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e,s,t){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),(e||t)&&this._events.next(new At(this.status,s)),this._parent&&this._parent._updateControlsErrors(e,s,t)}_initObservables(){this.valueChanges=new K,this.statusChanges=new K}_calculateStatus(){return this._allControlsDisabled()?Zt:this.errors?Zi:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Tt)?Tt:this._anyControlsHaveStatus(Zi)?Zi:Yt}_anyControlsHaveStatus(e){return this._anyControls(s=>s.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e,s){let t=!this._anyControlsDirty(),n=this.pristine!==t;this.pristine=t,this._parent&&!e.onlySelf&&this._parent._updatePristine(e,s),n&&this._events.next(new Jt(this.pristine,s))}_updateTouched(e={},s){this.touched=this._anyControlsTouched(),this._events.next(new ei(this.touched,s)),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,s)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){fn(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let s=this._parent&&this._parent.dirty;return!e&&!!s&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=Vu(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=Pu(this._rawAsyncValidators)}},lt=class extends yt{constructor(e,s,t){super(Rr(s),Cr(t,s)),this.controls=e,this._initObservables(),this._setUpdateStrategy(s),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,s){return this.controls[e]?this.controls[e]:(this.controls[e]=s,s.setParent(this),s._registerOnCollectionChange(this._onCollectionChange),s)}addControl(e,s,t={}){this.registerControl(e,s),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(e,s={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:s.emitEvent}),this._onCollectionChange()}setControl(e,s,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],s&&this.registerControl(e,s),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,s={}){fl(this,!0,e),Object.keys(e).forEach(t=>{ul(this,!0,t),this.controls[t].setValue(e[t],{onlySelf:!0,emitEvent:s.emitEvent})}),this.updateValueAndValidity(s)}patchValue(e,s={}){e!=null&&(Object.keys(e).forEach(t=>{let n=this.controls[t];n&&n.patchValue(e[t],{onlySelf:!0,emitEvent:s.emitEvent})}),this.updateValueAndValidity(s))}reset(e={},s={}){this._forEachChild((t,n)=>{t.reset(e?e[n]:null,{onlySelf:!0,emitEvent:s.emitEvent})}),this._updatePristine(s,this),this._updateTouched(s,this),this.updateValueAndValidity(s)}getRawValue(){return this._reduceChildren({},(e,s,t)=>(e[t]=s.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(s,t)=>t._syncPendingControls()?!0:s);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(s=>{let t=this.controls[s];t&&e(t,s)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[s,t]of Object.entries(this.controls))if(this.contains(s)&&e(t))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(s,t,n)=>((t.enabled||this.disabled)&&(s[n]=t.value),s))}_reduceChildren(e,s){let t=e;return this._forEachChild((n,a)=>{t=s(t,n,a)}),t}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var cl=lt;var Er=class extends lt{};var ri=new z("CallSetDisabledState",{providedIn:"root",factory:()=>cn}),cn="always";function hl(i,e){return[...e.path,i]}function nn(i,e,s=cn){vr(i,e),e.valueAccessor.writeValue(i.value),(i.disabled||s==="always")&&e.valueAccessor.setDisabledState?.(i.disabled),Ku(i,e),Iu(i,e),Nu(i,e),Du(i,e)}function Ha(i,e,s=!0){let t=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(t),e.valueAccessor.registerOnTouched(t)),sn(i,e),i&&(e._invokeOnDestroyCallbacks(),i._registerOnCollectionChange(()=>{}))}function rn(i,e){i.forEach(s=>{s.registerOnValidatorChange&&s.registerOnValidatorChange(e)})}function Du(i,e){if(e.valueAccessor.setDisabledState){let s=t=>{e.valueAccessor.setDisabledState(t)};i.registerOnDisabledChange(s),e._registerOnDestroy(()=>{i._unregisterOnDisabledChange(s)})}}function vr(i,e){let s=ll(i);e.validator!==null?i.setValidators(ja(s,e.validator)):typeof s=="function"&&i.setValidators([s]);let t=ol(i);e.asyncValidator!==null?i.setAsyncValidators(ja(t,e.asyncValidator)):typeof t=="function"&&i.setAsyncValidators([t]);let n=()=>i.updateValueAndValidity();rn(e._rawValidators,n),rn(e._rawAsyncValidators,n)}function sn(i,e){let s=!1;if(i!==null){if(e.validator!==null){let n=ll(i);if(Array.isArray(n)&&n.length>0){let a=n.filter(o=>o!==e.validator);a.length!==n.length&&(s=!0,i.setValidators(a))}}if(e.asyncValidator!==null){let n=ol(i);if(Array.isArray(n)&&n.length>0){let a=n.filter(o=>o!==e.asyncValidator);a.length!==n.length&&(s=!0,i.setAsyncValidators(a))}}}let t=()=>{};return rn(e._rawValidators,t),rn(e._rawAsyncValidators,t),s}function Ku(i,e){e.valueAccessor.registerOnChange(s=>{i._pendingValue=s,i._pendingChange=!0,i._pendingDirty=!0,i.updateOn==="change"&&dl(i,e)})}function Nu(i,e){e.valueAccessor.registerOnTouched(()=>{i._pendingTouched=!0,i.updateOn==="blur"&&i._pendingChange&&dl(i,e),i.updateOn!=="submit"&&i.markAsTouched()})}function dl(i,e){i._pendingDirty&&i.markAsDirty(),i.setValue(i._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1}function Iu(i,e){let s=(t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)};i.registerOnChange(s),e._registerOnDestroy(()=>{i._unregisterOnChange(s)})}function pl(i,e){i==null,vr(i,e)}function ku(i,e){return sn(i,e)}function _l(i,e){if(!i.hasOwnProperty("model"))return!1;let s=i.model;return s.isFirstChange()?!0:!Object.is(e,s.currentValue)}function Fu(i){return Object.getPrototypeOf(i.constructor)===ii}function El(i,e){i._syncPendingControls(),e.forEach(s=>{let t=s.control;t.updateOn==="submit"&&t._pendingChange&&(s.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function gl(i,e){if(!e)return null;Array.isArray(e);let s,t,n;return e.forEach(a=>{a.constructor===wt?s=a:Fu(a)?t=a:n=a}),n||t||s||null}function ju(i,e){let s=i.indexOf(e);s>-1&&i.splice(s,1)}var Xu={provide:Ie,useExisting:we(()=>br)},Qt=Promise.resolve(),br=(()=>{let e=class e extends Ie{get submitted(){return Te(this.submittedReactive)}constructor(t,n,a){super(),this.callSetDisabledState=a,this._submitted=St(()=>this.submittedReactive()),this.submittedReactive=bt(!1),this._directives=new Set,this.ngSubmit=new K,this.form=new lt({},mr(t),xr(n))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){Qt.then(()=>{let n=this._findContainer(t.path);t.control=n.registerControl(t.name,t.control),nn(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){Qt.then(()=>{let n=this._findContainer(t.path);n&&n.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){Qt.then(()=>{let n=this._findContainer(t.path),a=new lt({});pl(a,t),n.registerControl(t.name,a),a.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){Qt.then(()=>{let n=this._findContainer(t.path);n&&n.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,n){Qt.then(()=>{this.form.get(t.path).setValue(n)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submittedReactive.set(!0),El(this.form,this._directives),this.ngSubmit.emit(t),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}};e.\u0275fac=function(n){return new(n||e)(A(an,10),A(ln,10),A(ri,8))},e.\u0275dir=I({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,a){n&1&&b("submit",function(l){return a.onSubmit(l)})("reset",function(){return a.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ee([Xu]),ue]});let i=e;return i})();function za(i,e){let s=i.indexOf(e);s>-1&&i.splice(s,1)}function $a(i){return typeof i=="object"&&i!==null&&Object.keys(i).length===2&&"value"in i&&"disabled"in i}var Lt=class extends yt{constructor(e=null,s,t){super(Rr(s),Cr(t,s)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(s),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),fn(s)&&(s.nonNullable||s.initialValueIsDefault)&&($a(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,s={}){this.value=this._pendingValue=e,this._onChange.length&&s.emitModelToViewChange!==!1&&this._onChange.forEach(t=>t(this.value,s.emitViewToModelChange!==!1)),this.updateValueAndValidity(s)}patchValue(e,s={}){this.setValue(e,s)}reset(e=this.defaultValue,s={}){this._applyFormState(e),this.markAsPristine(s),this.markAsUntouched(s),this.setValue(this.value,s),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){za(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){za(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){$a(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}},O=Lt,Gu=i=>i instanceof Lt;var Hu={provide:ke,useExisting:we(()=>Sr)},Wa=Promise.resolve(),Sr=(()=>{let e=class e extends ke{constructor(t,n,a,o,l,u){super(),this._changeDetectorRef=l,this.callSetDisabledState=u,this.control=new Lt,this._registered=!1,this.name="",this.update=new K,this._parent=t,this._setValidators(n),this._setAsyncValidators(a),this.valueAccessor=gl(this,o)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){let n=t.name.previousValue;this.formDirective.removeControl({name:n,path:this._getPath(n)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),_l(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){nn(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(t){Wa.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){let n=t.isDisabled.currentValue,a=n!==0&&G(n);Wa.then(()=>{a&&!this.control.disabled?this.control.disable():!a&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?hl(t,this._parent):[t]}};e.\u0275fac=function(n){return new(n||e)(A(Ie,9),A(an,10),A(ln,10),A(ot,10),A(Ne,8),A(ri,8))},e.\u0275dir=I({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Ee([Hu]),ue,pe]});let i=e;return i})(),ml=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=I({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});let i=e;return i})(),zu={provide:ot,useExisting:we(()=>si),multi:!0},si=(()=>{let e=class e extends ii{writeValue(t){let n=t??"";this.setProperty("value",n)}registerOnChange(t){this.onChange=n=>{t(n==""?null:parseFloat(n))}}};e.\u0275fac=(()=>{let t;return function(a){return(t||(t=Se(e)))(a||e)}})(),e.\u0275dir=I({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(n,a){n&1&&b("input",function(l){return a.onChange(l.target.value)})("blur",function(){return a.onTouched()})},features:[Ee([zu]),ue]});let i=e;return i})();var xl=new z("");var $u={provide:Ie,useExisting:we(()=>ut)},ut=(()=>{let e=class e extends Ie{get submitted(){return Te(this._submittedReactive)}set submitted(t){this._submittedReactive.set(t)}constructor(t,n,a){super(),this.callSetDisabledState=a,this._submitted=St(()=>this._submittedReactive()),this._submittedReactive=bt(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new K,this._setValidators(t),this._setAsyncValidators(n)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(sn(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){let n=this.form.get(t.path);return nn(n,t,this.callSetDisabledState),n.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),n}getControl(t){return this.form.get(t.path)}removeControl(t){Ha(t.control||null,t,!1),ju(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,n){this.form.get(t.path).setValue(n)}onSubmit(t){return this._submittedReactive.set(!0),El(this.form,this.directives),this.ngSubmit.emit(t),this.form._events.next(new pr(this.control)),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this._submittedReactive.set(!1),this.form._events.next(new _r(this.form))}_updateDomValue(){this.directives.forEach(t=>{let n=t.control,a=this.form.get(t.path);n!==a&&(Ha(n||null,t),Gu(a)&&(nn(a,t,this.callSetDisabledState),t.control=a))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){let n=this.form.get(t.path);pl(n,t),n.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){let n=this.form.get(t.path);n&&ku(n,t)&&n.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){vr(this.form,this),this._oldForm&&sn(this._oldForm,this)}_checkFormPresent(){this.form}};e.\u0275fac=function(n){return new(n||e)(A(an,10),A(ln,10),A(ri,8))},e.\u0275dir=I({type:e,selectors:[["","formGroup",""]],hostBindings:function(n,a){n&1&&b("submit",function(l){return a.onSubmit(l)})("reset",function(){return a.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ee([$u]),ue,pe]});let i=e;return i})();var Wu={provide:ke,useExisting:we(()=>ai)},ai=(()=>{let e=class e extends ke{set isDisabled(t){}constructor(t,n,a,o,l){super(),this._ngModelWarningConfig=l,this._added=!1,this.name=null,this.update=new K,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(n),this._setAsyncValidators(a),this.valueAccessor=gl(this,o)}ngOnChanges(t){this._added||this._setUpControl(),_l(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return hl(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}};e._ngModelWarningSentOnce=!1,e.\u0275fac=function(n){return new(n||e)(A(Ie,13),A(an,10),A(ln,10),A(ot,10),A(xl,8))},e.\u0275dir=I({type:e,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[Ee([Wu]),ue,pe]});let i=e;return i})(),qu={provide:ot,useExisting:we(()=>hn),multi:!0};function Rl(i,e){return i==null?`${e}`:(e&&typeof e=="object"&&(e="Object"),`${i}: ${e}`.slice(0,50))}function Yu(i){return i.split(":")[0]}var hn=(()=>{let e=class e extends ii{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;let n=this._getOptionId(t),a=Rl(n,t);this.setProperty("value",a)}registerOnChange(t){this.onChange=n=>{this.value=this._getOptionValue(n),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(let n of this._optionMap.keys())if(this._compareWith(this._optionMap.get(n),t))return n;return null}_getOptionValue(t){let n=Yu(t);return this._optionMap.has(n)?this._optionMap.get(n):t}};e.\u0275fac=(()=>{let t;return function(a){return(t||(t=Se(e)))(a||e)}})(),e.\u0275dir=I({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(n,a){n&1&&b("change",function(l){return a.onChange(l.target.value)})("blur",function(){return a.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ee([qu]),ue]});let i=e;return i})(),dn=(()=>{let e=class e{constructor(t,n,a){this._element=t,this._renderer=n,this._select=a,this._select&&(this.id=this._select._registerOption())}set ngValue(t){this._select!=null&&(this._select._optionMap.set(this.id,t),this._setElementValue(Rl(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}};e.\u0275fac=function(n){return new(n||e)(A(J),A(Ye),A(hn,9))},e.\u0275dir=I({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});let i=e;return i})(),Zu={provide:ot,useExisting:we(()=>Cl),multi:!0};function qa(i,e){return i==null?`${e}`:(typeof e=="string"&&(e=`'${e}'`),e&&typeof e=="object"&&(e="Object"),`${i}: ${e}`.slice(0,50))}function Qu(i){return i.split(":")[0]}var Cl=(()=>{let e=class e extends ii{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;let n;if(Array.isArray(t)){let a=t.map(o=>this._getOptionId(o));n=(o,l)=>{o._setSelected(a.indexOf(l.toString())>-1)}}else n=(a,o)=>{a._setSelected(!1)};this._optionMap.forEach(n)}registerOnChange(t){this.onChange=n=>{let a=[],o=n.selectedOptions;if(o!==void 0){let l=o;for(let u=0;u{let t;return function(a){return(t||(t=Se(e)))(a||e)}})(),e.\u0275dir=I({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(n,a){n&1&&b("change",function(l){return a.onChange(l.target)})("blur",function(){return a.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ee([Zu]),ue]});let i=e;return i})(),pn=(()=>{let e=class e{constructor(t,n,a){this._element=t,this._renderer=n,this._select=a,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){this._select!=null&&(this._value=t,this._setElementValue(qa(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(qa(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}};e.\u0275fac=function(n){return new(n||e)(A(J),A(Ye),A(Cl,9))},e.\u0275dir=I({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});let i=e;return i})();var vl=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=$({type:e}),e.\u0275inj=H({});let i=e;return i})(),gr=class extends yt{constructor(e,s,t){super(Rr(s),Cr(t,s)),this.controls=e,this._initObservables(),this._setUpdateStrategy(s),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(e){return this.controls[this._adjustIndex(e)]}push(e,s={}){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:s.emitEvent}),this._onCollectionChange()}insert(e,s,t={}){this.controls.splice(e,0,s),this._registerControl(s),this.updateValueAndValidity({emitEvent:t.emitEvent})}removeAt(e,s={}){let t=this._adjustIndex(e);t<0&&(t=0),this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity({emitEvent:s.emitEvent})}setControl(e,s,t={}){let n=this._adjustIndex(e);n<0&&(n=0),this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),s&&(this.controls.splice(n,0,s),this._registerControl(s)),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,s={}){fl(this,!1,e),e.forEach((t,n)=>{ul(this,!1,n),this.at(n).setValue(t,{onlySelf:!0,emitEvent:s.emitEvent})}),this.updateValueAndValidity(s)}patchValue(e,s={}){e!=null&&(e.forEach((t,n)=>{this.at(n)&&this.at(n).patchValue(t,{onlySelf:!0,emitEvent:s.emitEvent})}),this.updateValueAndValidity(s))}reset(e=[],s={}){this._forEachChild((t,n)=>{t.reset(e[n],{onlySelf:!0,emitEvent:s.emitEvent})}),this._updatePristine(s,this),this._updateTouched(s,this),this.updateValueAndValidity(s)}getRawValue(){return this.controls.map(e=>e.getRawValue())}clear(e={}){this.controls.length<1||(this._forEachChild(s=>s._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}_adjustIndex(e){return e<0?e+this.length:e}_syncPendingControls(){let e=this.controls.reduce((s,t)=>t._syncPendingControls()?!0:s,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){this.controls.forEach((s,t)=>{e(s,t)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(s=>s.enabled&&e(s))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_allControlsDisabled(){for(let e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}_find(e){return this.at(e)??null}};function Ya(i){return!!i&&(i.asyncValidators!==void 0||i.validators!==void 0||i.updateOn!==void 0)}var Ju=(()=>{let e=class e{constructor(){this.useNonNullable=!1}get nonNullable(){let t=new e;return t.useNonNullable=!0,t}group(t,n=null){let a=this._reduceControls(t),o={};return Ya(n)?o=n:n!==null&&(o.validators=n.validator,o.asyncValidators=n.asyncValidator),new lt(a,o)}record(t,n=null){let a=this._reduceControls(t);return new Er(a,n)}control(t,n,a){let o={};return this.useNonNullable?(Ya(n)?o=n:(o.validators=n,o.asyncValidators=a),new Lt(t,k(S({},o),{nonNullable:!0}))):new Lt(t,n,a)}array(t,n,a){let o=t.map(l=>this._createControl(l));return new gr(o,n,a)}_reduceControls(t){let n={};return Object.keys(t).forEach(a=>{n[a]=this._createControl(t[a])}),n}_createControl(t){if(t instanceof Lt)return t;if(t instanceof yt)return t;if(Array.isArray(t)){let n=t[0],a=t.length>1?t[1]:null,o=t.length>2?t[2]:null;return this.control(n,a,o)}else return this.control(t)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var _n=(()=>{let e=class e extends Ju{group(t,n=null){return super.group(t,n)}control(t,n,a){return super.control(t,n,a)}array(t,n,a){return super.array(t,n,a)}};e.\u0275fac=(()=>{let t;return function(a){return(t||(t=Se(e)))(a||e)}})(),e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var li=(()=>{let e=class e{static withConfig(t){return{ngModule:e,providers:[{provide:ri,useValue:t.callSetDisabledState??cn}]}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=$({type:e}),e.\u0275inj=H({imports:[vl]});let i=e;return i})(),Tr=(()=>{let e=class e{static withConfig(t){return{ngModule:e,providers:[{provide:xl,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:ri,useValue:t.callSetDisabledState??cn}]}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=$({type:e}),e.\u0275inj=H({imports:[vl]});let i=e;return i})();var bl=[{l:"a",s:/[ⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ]/gi},{l:"aa",s:/ꜳ/gi},{l:"ae",s:/[æǽǣ]/gi},{l:"ao",s:/ꜵ/gi},{l:"au",s:/ꜷ/gi},{l:"av",s:/[ꜹꜻ]/gi},{l:"ay",s:/ꜽ/gi},{l:"b",s:/[ⓑbḃḅḇƀƃɓ]/gi},{l:"c",s:/[ⓒcćĉċčçḉƈȼꜿↄ]/gi},{l:"d",s:/[ⓓdḋďḍḑḓḏđƌɖɗꝺ]/gi},{l:"dz",s:/[dzdž]/gi},{l:"e",s:/[ⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ]/gi},{l:"f",s:/[ⓕfḟƒꝼ]/gi},{l:"g",s:/[ⓖgǵĝḡğġǧģǥɠꞡᵹꝿ]/gi},{l:"h",s:/[ⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ]/gi},{l:"hv",s:/ƕ/gi},{l:"i",s:/[ⓘiìíîĩīĭİïḯỉǐȉȋịįḭɨı]/gi},{l:"j",s:/[ⓙjĵǰɉ]/gi},{l:"k",s:/[ⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ]/gi},{l:"l",s:/[ⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇꝆ]/gi},{l:"lj",s:/lj/gi},{l:"m",s:/[ⓜmḿṁṃɱɯ]/gi},{l:"n",s:/[ⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ]/gi},{l:"nj",s:/nj/gi},{l:"o",s:/[ⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔƟꝋꝍɵ]/gi},{l:"oi",s:/ƣ/gi},{l:"oe",s:/œ/gi},{l:"oo",s:/ꝏ/gi},{l:"ou",s:/ȣ/gi},{l:"p",s:/[ⓟpṕṗƥᵽꝑꝓꝕ]/gi},{l:"q",s:/[ⓠqɋꝗꝙ]/gi},{l:"r",s:/[ⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ]/gi},{l:"s",s:/[ⓢsßẞśṥŝṡšṧṣṩșşȿꞩꞅẛ]/gi},{l:"t",s:/[ⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ]/gi},{l:"tz",s:/ꜩ/gi},{l:"u",s:/[ⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ]/gi},{l:"v",s:/[ⓥvṽṿʋꝟʌ]/gi},{l:"vy",s:/ꝡ/gi},{l:"w",s:/[ⓦwẁẃŵẇẅẘẉⱳ]/gi},{l:"x",s:/[ⓧxẋẍ]/gi},{l:"y",s:/[ⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ]/gi},{l:"z",s:/[ⓩzźẑżžẓẕƶȥɀⱬꝣ]/gi}],Sl=6,Tl=new RegExp("[\\-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]","g");function Lr(i){return Array.isArray(i)?i:[i]}function Q(i){return i==null?"":typeof i=="string"?i:`${i}px`}function Al(i){return i instanceof J?i.nativeElement:i}var yr;try{yr=typeof Intl<"u"&&Intl.v8BreakIterator}catch{yr=!1}var ct=(()=>{let e=class e{constructor(t){this._platformId=t,this.isBrowser=this._platformId?Va(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||yr)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}};e.\u0275fac=function(n){return new(n||e)(B(da))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var ft;function Ll(){if(ft==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return ft=!1,ft;if("scrollBehavior"in document.documentElement.style)ft=!0;else{let i=Element.prototype.scrollTo;i?ft=!/\{\s*\[native code\]\s*\}/.test(i.toString()):ft=!1}}return ft}function En(i){return i.composedPath?i.composedPath()[0]:i.target}function wr(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var ef=new z("cdk-dir-doc",{providedIn:"root",factory:tf});function tf(){return M(fe)}var nf=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function rf(i){let e=i?.toLowerCase()||"";return e==="auto"&&typeof navigator<"u"&&navigator?.language?nf.test(navigator.language)?"rtl":"ltr":e==="rtl"?"rtl":"ltr"}var Br=(()=>{let e=class e{constructor(t){if(this.value="ltr",this.change=new K,t){let n=t.body?t.body.dir:null,a=t.documentElement?t.documentElement.dir:null;this.value=rf(n||a||"ltr")}}ngOnDestroy(){this.change.complete()}};e.\u0275fac=function(n){return new(n||e)(B(ef,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var oi=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=$({type:e}),e.\u0275inj=H({});let i=e;return i})();var af=20,Bl=(()=>{let e=class e{constructor(t,n,a){this._ngZone=t,this._platform=n,this._scrolled=new W,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=a}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){let n=this.scrollContainers.get(t);n&&(n.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=af){return this._platform.isBrowser?new Js(n=>{this._globalSubscription||this._addGlobalListener();let a=t>0?this._scrolled.pipe(tr(t)).subscribe(n):this._scrolled.subscribe(n);return this._scrolledCount++,()=>{a.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):y()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,n)=>this.deregister(n)),this._scrolled.complete()}ancestorScrolled(t,n){let a=this.getAncestorScrollContainers(t);return this.scrolled(n).pipe(de(o=>!o||a.indexOf(o)>-1))}getAncestorScrollContainers(t){let n=[];return this.scrollContainers.forEach((a,o)=>{this._scrollableContainsElement(o,t)&&n.push(o)}),n}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,n){let a=Al(n),o=t.getElementRef().nativeElement;do if(a==o)return!0;while(a=a.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let t=this._getWindow();return Ni(t.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}};e.\u0275fac=function(n){return new(n||e)(B(oe),B(ct),B(fe,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var lf=20,ui=(()=>{let e=class e{constructor(t,n,a){this._platform=t,this._change=new W,this._changeListener=o=>{this._change.next(o)},this._document=a,n.runOutsideAngular(()=>{if(t.isBrowser){let o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){let t=this.getViewportScrollPosition(),{width:n,height:a}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+a,right:t.left+n,height:a,width:n}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let t=this._document,n=this._getWindow(),a=t.documentElement,o=a.getBoundingClientRect(),l=-o.top||t.body.scrollTop||n.scrollY||a.scrollTop||0,u=-o.left||t.body.scrollLeft||n.scrollX||a.scrollLeft||0;return{top:l,left:u}}change(t=lf){return t>0?this._change.pipe(tr(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}};e.\u0275fac=function(n){return new(n||e)(B(ct),B(oe),B(fe,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var wl=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=$({type:e}),e.\u0275inj=H({});let i=e;return i})(),Mr=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=$({type:e}),e.\u0275inj=H({imports:[oi,wl,oi,wl]});let i=e;return i})();var fi=class{attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;e!=null&&(this._attachedHost=null,e.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(e){this._attachedHost=e}},Ur=class extends fi{constructor(e,s,t,n,a){super(),this.component=e,this.viewContainerRef=s,this.injector=t,this.componentFactoryResolver=n,this.projectableNodes=a}},ci=class extends fi{constructor(e,s,t,n){super(),this.templateRef=e,this.viewContainerRef=s,this.context=t,this.injector=n}get origin(){return this.templateRef.elementRef}attach(e,s=this.context){return this.context=s,super.attach(e)}detach(){return this.context=void 0,super.detach()}},Or=class extends fi{constructor(e){super(),this.element=e instanceof J?e.nativeElement:e}},Vr=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){if(e instanceof Ur)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof ci)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof Or)return this._attachedPortal=e,this.attachDomPortal(e)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var gn=class extends Vr{constructor(e,s,t,n,a){super(),this.outletElement=e,this._componentFactoryResolver=s,this._appRef=t,this._defaultInjector=n,this.attachDomPortal=o=>{this._document;let l=o.element;l.parentNode;let u=this._document.createComment("dom-portal");l.parentNode.insertBefore(u,l),this.outletElement.appendChild(l),this._attachedPortal=o,super.setDisposeFn(()=>{u.parentNode&&u.parentNode.replaceChild(l,u)})},this._document=a}attachComponentPortal(e){let t=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),n;return e.viewContainerRef?(n=e.viewContainerRef.createComponent(t,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector,e.projectableNodes||void 0),this.setDisposeFn(()=>n.destroy())):(n=t.create(e.injector||this._defaultInjector||We.NULL),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),this._attachedPortal=e,n}attachTemplatePortal(e){let s=e.viewContainerRef,t=s.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return t.rootNodes.forEach(n=>this.outletElement.appendChild(n)),t.detectChanges(),this.setDisposeFn(()=>{let n=s.indexOf(t);n!==-1&&s.remove(n)}),this._attachedPortal=e,t}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(e){return e.hostView.rootNodes[0]}};var Ul=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=$({type:e}),e.\u0275inj=H({});let i=e;return i})();function Ol(i,...e){return e.length?e.some(s=>i[s]):i.altKey||i.shiftKey||i.ctrlKey||i.metaKey}var Vl=Ll(),Pr=class{constructor(e,s){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=s}attach(){}enable(){if(this._canBeEnabled()){let e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=Q(-this._previousScrollPosition.left),e.style.top=Q(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let e=this._document.documentElement,s=this._document.body,t=e.style,n=s.style,a=t.scrollBehavior||"",o=n.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),Vl&&(t.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Vl&&(t.scrollBehavior=a,n.scrollBehavior=o)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let s=this._document.body,t=this._viewportRuler.getViewportSize();return s.scrollHeight>t.height||s.scrollWidth>t.width}};var Dr=class{constructor(e,s,t,n){this._scrollDispatcher=e,this._ngZone=s,this._viewportRuler=t,this._config=n,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(this._scrollSubscription)return;let e=this._scrollDispatcher.scrolled(0).pipe(de(s=>!s||!this._overlayRef.overlayElement.contains(s.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{let s=this._viewportRuler.getViewportScrollPosition().top;Math.abs(s-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},mn=class{enable(){}disable(){}attach(){}};function Kr(i,e){return e.some(s=>{let t=i.bottoms.bottom,a=i.rights.right;return t||n||a||o})}function Pl(i,e){return e.some(s=>{let t=i.tops.bottom,a=i.lefts.right;return t||n||a||o})}var Nr=class{constructor(e,s,t,n){this._scrollDispatcher=e,this._viewportRuler=s,this._ngZone=t,this._config=n,this._scrollSubscription=null}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(!this._scrollSubscription){let e=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(e).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let s=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:n}=this._viewportRuler.getViewportSize();Kr(s,[{width:t,height:n,bottom:n,right:t,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},uf=(()=>{let e=class e{constructor(t,n,a,o){this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=a,this.noop=()=>new mn,this.close=l=>new Dr(this._scrollDispatcher,this._ngZone,this._viewportRuler,l),this.block=()=>new Pr(this._viewportRuler,this._document),this.reposition=l=>new Nr(this._scrollDispatcher,this._viewportRuler,this._ngZone,l),this._document=o}};e.\u0275fac=function(n){return new(n||e)(B(Bl),B(ui),B(oe),B(fe))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),xn=class{constructor(e){if(this.scrollStrategy=new mn,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){let s=Object.keys(e);for(let t of s)e[t]!==void 0&&(this[t]=e[t])}}};var Ir=class{constructor(e,s){this.connectionPair=e,this.scrollableViewProperties=s}};var Fl=(()=>{let e=class e{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){let n=this._attachedOverlays.indexOf(t);n>-1&&this._attachedOverlays.splice(n,1),this._attachedOverlays.length===0&&this.detach()}};e.\u0275fac=function(n){return new(n||e)(B(fe))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),ff=(()=>{let e=class e extends Fl{constructor(t,n){super(t),this._ngZone=n,this._keydownListener=a=>{let o=this._attachedOverlays;for(let l=o.length-1;l>-1;l--)if(o[l]._keydownEvents.observers.length>0){let u=o[l]._keydownEvents;this._ngZone?this._ngZone.run(()=>u.next(a)):u.next(a);break}}}add(t){super.add(t),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}};e.\u0275fac=function(n){return new(n||e)(B(fe),B(oe,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),cf=(()=>{let e=class e extends Fl{constructor(t,n,a){super(t),this._platform=n,this._ngZone=a,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=En(o)},this._clickListener=o=>{let l=En(o),u=o.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:l;this._pointerDownEventTarget=null;let f=this._attachedOverlays.slice();for(let d=f.length-1;d>-1;d--){let _=f[d];if(_._outsidePointerEvents.observers.length<1||!_.hasAttached())continue;if(Dl(_.overlayElement,l)||Dl(_.overlayElement,u))break;let g=_._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>g.next(o)):g.next(o)}}}add(t){if(super.add(t),!this._isAttached){let n=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(n)):this._addEventListeners(n),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=n.style.cursor,n.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){let t=this._document.body;t.removeEventListener("pointerdown",this._pointerDownListener,!0),t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(t){t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0)}};e.\u0275fac=function(n){return new(n||e)(B(fe),B(ct),B(oe,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function Dl(i,e){let s=typeof ShadowRoot<"u"&&ShadowRoot,t=e;for(;t;){if(t===i)return!0;t=s&&t instanceof ShadowRoot?t.host:t.parentNode}return!1}var jl=(()=>{let e=class e{constructor(t,n){this._platform=n,this._document=t}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let t="cdk-overlay-container";if(this._platform.isBrowser||wr()){let a=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let o=0;othis._backdropClick.next(g),this._backdropTransitionendHandler=g=>{this._disposeBackdrop(g.target)},this._keydownEvents=new W,this._outsidePointerEvents=new W,this._renders=new W,n.scrollStrategy&&(this._scrollStrategy=n.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=n.positionStrategy,this._afterRenderRef=Te(()=>ma(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let s=this._portalOutlet.attach(e);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),Fi(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof s?.onDestroy=="function"&&s.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),s}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){let e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,e&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=S(S({},this._config),e),this._updateElementSize()}setDirection(e){this._config=k(S({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){let e=this._config.direction;return e?typeof e=="string"?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let e=this._pane.style;e.width=Q(this._config.width),e.height=Q(this._config.height),e.minWidth=Q(this._config.minWidth),e.minHeight=Q(this._config.minHeight),e.maxWidth=Q(this._config.maxWidth),e.maxHeight=Q(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){let e="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(e)})}):this._backdropElement.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let e=this._backdropElement;if(e){if(this._animationsDisabled){this._disposeBackdrop(e);return}e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",this._backdropTransitionendHandler)}),e.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(e)},500))}}_toggleClasses(e,s,t){let n=Lr(s||[]).filter(a=>!!a);n.length&&(t?e.classList.add(...n):e.classList.remove(...n))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let e=this._renders.pipe(Gt(na(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),e.unsubscribe())})})}_disposeScrollStrategy(){let e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}_disposeBackdrop(e){e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",this._backdropTransitionendHandler),e.remove(),this._backdropElement===e&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},Kl="cdk-overlay-connected-position-bounding-box",hf=/([A-Za-z%]+)$/,Fr=class{get positions(){return this._preferredPositions}constructor(e,s,t,n,a){this._viewportRuler=s,this._document=t,this._platform=n,this._overlayContainer=a,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new W,this._resizeSubscription=ye.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}attach(e){this._overlayRef&&this._overlayRef,this._validatePositions(),e.hostElement.classList.add(Kl),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._originRect,s=this._overlayRect,t=this._viewportRect,n=this._containerRect,a=[],o;for(let l of this._preferredPositions){let u=this._getOriginPoint(e,n,l),f=this._getOverlayPoint(u,s,l),d=this._getOverlayFit(f,s,t,l);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(l,u);return}if(this._canFitWithFlexibleDimensions(d,f,t)){a.push({position:l,origin:u,overlayRect:s,boundingBoxRect:this._calculateBoundingBoxRect(u,l)});continue}(!o||o.overlayFit.visibleAreau&&(u=d,l=f)}this._isPushed=!1,this._applyPosition(l.position,l.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(o.position,o.originPoint);return}this._applyPosition(o.position,o.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&ht(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Kl),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let e=this._lastPosition;if(e){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let s=this._getOriginPoint(this._originRect,this._containerRect,e);this._applyPosition(e,s)}else this.apply()}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,e.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,s,t){let n;if(t.originX=="center")n=e.left+e.width/2;else{let o=this._isRtl()?e.right:e.left,l=this._isRtl()?e.left:e.right;n=t.originX=="start"?o:l}s.left<0&&(n-=s.left);let a;return t.originY=="center"?a=e.top+e.height/2:a=t.originY=="top"?e.top:e.bottom,s.top<0&&(a-=s.top),{x:n,y:a}}_getOverlayPoint(e,s,t){let n;t.overlayX=="center"?n=-s.width/2:t.overlayX==="start"?n=this._isRtl()?-s.width:0:n=this._isRtl()?0:-s.width;let a;return t.overlayY=="center"?a=-s.height/2:a=t.overlayY=="top"?0:-s.height,{x:e.x+n,y:e.y+a}}_getOverlayFit(e,s,t,n){let a=Il(s),{x:o,y:l}=e,u=this._getOffset(n,"x"),f=this._getOffset(n,"y");u&&(o+=u),f&&(l+=f);let d=0-o,_=o+a.width-t.width,g=0-l,R=l+a.height-t.height,C=this._subtractOverflows(a.width,d,_),w=this._subtractOverflows(a.height,g,R),D=C*w;return{visibleArea:D,isCompletelyWithinViewport:a.width*a.height===D,fitsInViewportVertically:w===a.height,fitsInViewportHorizontally:C==a.width}}_canFitWithFlexibleDimensions(e,s,t){if(this._hasFlexibleDimensions){let n=t.bottom-s.y,a=t.right-s.x,o=Nl(this._overlayRef.getConfig().minHeight),l=Nl(this._overlayRef.getConfig().minWidth),u=e.fitsInViewportVertically||o!=null&&o<=n,f=e.fitsInViewportHorizontally||l!=null&&l<=a;return u&&f}return!1}_pushOverlayOnScreen(e,s,t){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};let n=Il(s),a=this._viewportRect,o=Math.max(e.x+n.width-a.width,0),l=Math.max(e.y+n.height-a.height,0),u=Math.max(a.top-t.top-e.y,0),f=Math.max(a.left-t.left-e.x,0),d=0,_=0;return n.width<=a.width?d=f||-o:d=e.xC&&!this._isInitialRender&&!this._growAfterOpen&&(o=e.y-C/2)}let u=s.overlayX==="start"&&!n||s.overlayX==="end"&&n,f=s.overlayX==="end"&&!n||s.overlayX==="start"&&n,d,_,g;if(f)g=t.width-e.x+this._viewportMargin*2,d=e.x-this._viewportMargin;else if(u)_=e.x,d=t.right-e.x;else{let R=Math.min(t.right-e.x+t.left,e.x),C=this._lastBoundingBoxSize.width;d=R*2,_=e.x-R,d>C&&!this._isInitialRender&&!this._growAfterOpen&&(_=e.x-C/2)}return{top:o,left:_,bottom:l,right:g,width:d,height:a}}_setBoundingBoxStyles(e,s){let t=this._calculateBoundingBoxRect(e,s);!this._isInitialRender&&!this._growAfterOpen&&(t.height=Math.min(t.height,this._lastBoundingBoxSize.height),t.width=Math.min(t.width,this._lastBoundingBoxSize.width));let n={};if(this._hasExactPosition())n.top=n.left="0",n.bottom=n.right=n.maxHeight=n.maxWidth="",n.width=n.height="100%";else{let a=this._overlayRef.getConfig().maxHeight,o=this._overlayRef.getConfig().maxWidth;n.height=Q(t.height),n.top=Q(t.top),n.bottom=Q(t.bottom),n.width=Q(t.width),n.left=Q(t.left),n.right=Q(t.right),s.overlayX==="center"?n.alignItems="center":n.alignItems=s.overlayX==="end"?"flex-end":"flex-start",s.overlayY==="center"?n.justifyContent="center":n.justifyContent=s.overlayY==="bottom"?"flex-end":"flex-start",a&&(n.maxHeight=Q(a)),o&&(n.maxWidth=Q(o))}this._lastBoundingBoxSize=t,ht(this._boundingBox.style,n)}_resetBoundingBoxStyles(){ht(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ht(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,s){let t={},n=this._hasExactPosition(),a=this._hasFlexibleDimensions,o=this._overlayRef.getConfig();if(n){let d=this._viewportRuler.getViewportScrollPosition();ht(t,this._getExactOverlayY(s,e,d)),ht(t,this._getExactOverlayX(s,e,d))}else t.position="static";let l="",u=this._getOffset(s,"x"),f=this._getOffset(s,"y");u&&(l+=`translateX(${u}px) `),f&&(l+=`translateY(${f}px)`),t.transform=l.trim(),o.maxHeight&&(n?t.maxHeight=Q(o.maxHeight):a&&(t.maxHeight="")),o.maxWidth&&(n?t.maxWidth=Q(o.maxWidth):a&&(t.maxWidth="")),ht(this._pane.style,t)}_getExactOverlayY(e,s,t){let n={top:"",bottom:""},a=this._getOverlayPoint(s,this._overlayRect,e);if(this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,t)),e.overlayY==="bottom"){let o=this._document.documentElement.clientHeight;n.bottom=`${o-(a.y+this._overlayRect.height)}px`}else n.top=Q(a.y);return n}_getExactOverlayX(e,s,t){let n={left:"",right:""},a=this._getOverlayPoint(s,this._overlayRect,e);this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,t));let o;if(this._isRtl()?o=e.overlayX==="end"?"left":"right":o=e.overlayX==="end"?"right":"left",o==="right"){let l=this._document.documentElement.clientWidth;n.right=`${l-(a.x+this._overlayRect.width)}px`}else n.left=Q(a.x);return n}_getScrollVisibility(){let e=this._getOriginRect(),s=this._pane.getBoundingClientRect(),t=this._scrollables.map(n=>n.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Pl(e,t),isOriginOutsideView:Kr(e,t),isOverlayClipped:Pl(s,t),isOverlayOutsideView:Kr(s,t)}}_subtractOverflows(e,...s){return s.reduce((t,n)=>t-Math.max(n,0),e)}_getNarrowedViewportRect(){let e=this._document.documentElement.clientWidth,s=this._document.documentElement.clientHeight,t=this._viewportRuler.getViewportScrollPosition();return{top:t.top+this._viewportMargin,left:t.left+this._viewportMargin,right:t.left+e-this._viewportMargin,bottom:t.top+s-this._viewportMargin,width:e-2*this._viewportMargin,height:s-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,s){return s==="x"?e.offsetX==null?this._offsetX:e.offsetX:e.offsetY==null?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&Lr(e).forEach(s=>{s!==""&&this._appliedPanelClasses.indexOf(s)===-1&&(this._appliedPanelClasses.push(s),this._pane.classList.add(s))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){let e=this._origin;if(e instanceof J)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();let s=e.width||0,t=e.height||0;return{top:e.y,bottom:e.y+t,left:e.x,right:e.x+s,height:t,width:s}}};function ht(i,e){for(let s in e)e.hasOwnProperty(s)&&(i[s]=e[s]);return i}function Nl(i){if(typeof i!="number"&&i!=null){let[e,s]=i.split(hf);return!s||s==="px"?parseFloat(e):null}return i||null}function Il(i){return{top:Math.floor(i.top),right:Math.floor(i.right),bottom:Math.floor(i.bottom),left:Math.floor(i.left),width:Math.floor(i.width),height:Math.floor(i.height)}}function df(i,e){return i===e?!0:i.isOriginClipped===e.isOriginClipped&&i.isOriginOutsideView===e.isOriginOutsideView&&i.isOverlayClipped===e.isOverlayClipped&&i.isOverlayOutsideView===e.isOverlayOutsideView}var kl="cdk-global-overlay-wrapper",jr=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(e){let s=e.getConfig();this._overlayRef=e,this._width&&!s.width&&e.updateSize({width:this._width}),this._height&&!s.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(kl),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._xOffset=e,this._xPosition="left",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._xOffset=e,this._xPosition="right",this}start(e=""){return this._xOffset=e,this._xPosition="start",this}end(e=""){return this._xOffset=e,this._xPosition="end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._xPosition="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let e=this._overlayRef.overlayElement.style,s=this._overlayRef.hostElement.style,t=this._overlayRef.getConfig(),{width:n,height:a,maxWidth:o,maxHeight:l}=t,u=(n==="100%"||n==="100vw")&&(!o||o==="100%"||o==="100vw"),f=(a==="100%"||a==="100vh")&&(!l||l==="100%"||l==="100vh"),d=this._xPosition,_=this._xOffset,g=this._overlayRef.getConfig().direction==="rtl",R="",C="",w="";u?w="flex-start":d==="center"?(w="center",g?C=_:R=_):g?d==="left"||d==="end"?(w="flex-end",R=_):(d==="right"||d==="start")&&(w="flex-start",C=_):d==="left"||d==="start"?(w="flex-start",R=_):(d==="right"||d==="end")&&(w="flex-end",C=_),e.position=this._cssPosition,e.marginLeft=u?"0":R,e.marginTop=f?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=u?"0":C,s.justifyContent=w,s.alignItems=f?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let e=this._overlayRef.overlayElement.style,s=this._overlayRef.hostElement,t=s.style;s.classList.remove(kl),t.justifyContent=t.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},pf=(()=>{let e=class e{constructor(t,n,a,o){this._viewportRuler=t,this._document=n,this._platform=a,this._overlayContainer=o}global(){return new jr}flexibleConnectedTo(t){return new Fr(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};e.\u0275fac=function(n){return new(n||e)(B(ui),B(fe),B(ct),B(jl))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),_f=0,Cn=(()=>{let e=class e{constructor(t,n,a,o,l,u,f,d,_,g,R,C){this.scrollStrategies=t,this._overlayContainer=n,this._componentFactoryResolver=a,this._positionBuilder=o,this._keyboardDispatcher=l,this._injector=u,this._ngZone=f,this._document=d,this._directionality=_,this._location=g,this._outsideClickDispatcher=R,this._animationsModuleType=C}create(t){let n=this._createHostElement(),a=this._createPaneElement(n),o=this._createPortalOutlet(a),l=new xn(t);return l.direction=l.direction||this._directionality.value,new kr(o,n,a,l,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(rt))}position(){return this._positionBuilder}_createPaneElement(t){let n=this._document.createElement("div");return n.id=`cdk-overlay-${_f++}`,n.classList.add("cdk-overlay-pane"),t.appendChild(n),n}_createHostElement(){let t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(qi)),new gn(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}};e.\u0275fac=function(n){return new(n||e)(B(uf),B(jl),B(ar),B(pf),B(ff),B(We),B(oe),B(fe),B(Br),B(at),B(cf),B(pa,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Ef=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Xl=new z("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let i=M(Cn);return()=>i.scrollStrategies.reposition()}}),Rn=(()=>{let e=class e{constructor(t){this.elementRef=t}};e.\u0275fac=function(n){return new(n||e)(A(J))},e.\u0275dir=I({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0});let i=e;return i})(),vn=(()=>{let e=class e{get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(t){this._disposeOnNavigation=t}constructor(t,n,a,o,l){this._overlay=t,this._dir=l,this._backdropSubscription=ye.EMPTY,this._attachSubscription=ye.EMPTY,this._detachSubscription=ye.EMPTY,this._positionSubscription=ye.EMPTY,this._disposeOnNavigation=!1,this._ngZone=M(oe),this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new K,this.positionChange=new K,this.attach=new K,this.detach=new K,this.overlayKeydown=new K,this.overlayOutsideClick=new K,this._templatePortal=new ci(n,a),this._scrollStrategyFactory=o,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Ef);let t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(n=>{this.overlayKeydown.next(n),n.keyCode===27&&!this.disableClose&&!Ol(n)&&(n.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(n=>{let a=this._getOriginElement(),o=En(n);(!a||a!==o&&!a.contains(o))&&this.overlayOutsideClick.next(n)})}_buildConfig(){let t=this._position=this.positionStrategy||this._createPositionStrategy(),n=new xn({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(n.width=this.width),(this.height||this.height===0)&&(n.height=this.height),(this.minWidth||this.minWidth===0)&&(n.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(n.minHeight=this.minHeight),this.backdropClass&&(n.backdropClass=this.backdropClass),this.panelClass&&(n.panelClass=this.panelClass),n}_updatePositionStrategy(t){let n=this.positions.map(a=>({originX:a.originX,originY:a.originY,overlayX:a.overlayX,overlayY:a.overlayY,offsetX:a.offsetX||this.offsetX,offsetY:a.offsetY||this.offsetY,panelClass:a.panelClass||void 0}));return t.setOrigin(this._getOrigin()).withPositions(n).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let t=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(t),t}_getOrigin(){return this.origin instanceof Rn?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Rn?this.origin.elementRef.nativeElement:this.origin instanceof J?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(la(()=>this.positionChange.observers.length>0)).subscribe(t=>{this._ngZone.run(()=>this.positionChange.emit(t)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}};e.\u0275fac=function(n){return new(n||e)(A(Cn),A(qe),A(vt),A(Xl),A(Br,8))},e.\u0275dir=I({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",G],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",G],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",G],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",G],push:[2,"cdkConnectedOverlayPush","push",G],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",G]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[st,pe]});let i=e;return i})();function gf(i){return()=>i.scrollStrategies.reposition()}var mf={provide:Xl,deps:[Cn],useFactory:gf},Gl=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=$({type:e}),e.\u0275inj=H({providers:[Cn,mf],imports:[oi,Ul,Mr,Mr]});let i=e;return i})();var ie=class i{static getOptionByValue(e,s){if(Array.isArray(e))for(let t of e){let n=t.options;if(n){for(let a of n)if(a.value===s)return a}else if(t.value===s)return t}}static getOptionsByValue(e,s,t){if(t){let n=Array.isArray(s)?s:[],a=[];for(let o of n){let l=i.getOptionByValue(e,o);l&&a.push(l)}return a}return i.getOptionByValue(e,s)}static getFirstAvailableOption(e){if(Array.isArray(e))for(let s of e){let t=s.options;if(t){for(let n of t)if(!n.disabled)return n.value}else{let n=s;if(!n.disabled)return n.value}}return null}static valueIsNotInFilteredData(e,s){if(i.isNullOrUndefined(s))return!0;for(let t of e){let n=t.options;if(n){for(let a of n)if(a.value===s)return!1}else if(t.value===s)return!1}return!0}static getPreviousOption(e,s){let t=i.isNullOrUndefined(s);for(let n=e.length-1;n>=0;n--){let a=e[n],o=a.options;if(o)for(let l=o.length-1;l>=0;l--){let u=o[l];if(t&&!u.disabled&&!u.hide)return u;t||(t=u.value===s)}else{let l=a;if(t&&!l.disabled&&!l.hide)return l;t||(t=l.value===s)}}return null}static getNextOption(e,s){let t=i.isNullOrUndefined(s);for(let n of e){let a=n.options;if(a)for(let o of a)if(t){if(!o.disabled&&!o.hide)return o}else t||(t=o.value===s);else{let o=n;if(t){if(!o.disabled&&!o.hide)return o}else t||(t=o.value===s)}}return null}static getReduceData(e,s=0){if(s>0){let t=0,n=[];for(let a of e){let o=a.options;if(o){let l=k(S({},a),{options:[]});n.push(l);for(let u of o)if(l.options.push(u),t++,t===s)return{result:n,reduce:!0}}else n.push(a),t++;if(t===s)return{result:n,reduce:!0}}return{result:n,reduce:!1}}else return{result:e,reduce:!1}}static getFilteredData(e,s,t){if(s){let n=[];for(let a of e){let o=a.options;if(o){if(o.some(l=>i.containSearchText(l.label,s,t))){let l=o.filter(u=>i.containSearchText(u.label,s,t));n.push(k(S({},a),{options:l}))}}else i.containSearchText(a.label,s,t)&&n.push(a)}return n}else return e}static getFilteredSelectedData(e,s){let t=[];for(let n of e){let a=n.options;if(a){let o=a.filter(l=>i.isSelected(s,l,!0)==="false");o.length&&t.push(k(S({},n),{options:o}))}else i.isSelected(s,n,!0)==="false"&&t.push(n)}return t}static isSearchboxHiddex(e,s){return(s===""||s===void 0||s===null||isNaN(+s))&&(s=Sl),i.getOptionsCount(e)<+s}static isSelected(e,s,t){return t?e&&e.some(n=>n.value===s.value)?"true":"false":e&&s.value===e.value?"true":"false"}static removeSelection(e,s){for(let t=0;tObject.prototype.toString.call(i).includes(s))}function Wr(i,e){return i?e.document.documentElement:null}function Hl(i,e){let s=Mf(e);return e.isWindow?wf(s,i,e):Bf(s,i,e)}function wf(i,e,s){let{axis:t,container:n,isWindow:a}=s,{offsetHeightKey:o,clientHeightKey:l}=zl(t),u=i+Wl(Wr(a,n),t,a),f=$l(e.nativeElement,a,o,l),d=Uf(e.nativeElement,t,a)+f;return{height:i,scrolled:u,totalToScroll:d,isWindow:a}}function Bf(i,e,s){let{axis:t,container:n}=s,a=n[t.scrollTopKey()],o=n[t.scrollHeightKey()];return{height:i,scrolled:a,totalToScroll:o,isWindow:!1}}function zl(i){return{offsetHeightKey:i.offsetHeightKey(),clientHeightKey:i.clientHeightKey()}}function Mf({container:i,isWindow:e,axis:s}){let{offsetHeightKey:t,clientHeightKey:n}=zl(s);return $l(i,e,t,n)}function $l(i,e,s,t){if(isNaN(i[s])){let n=Wr(e,i);return n?n[t]:0}else return i[s]}function Uf(i,e,s){let t=e.topKey();if(i.getBoundingClientRect)return i.getBoundingClientRect()[t]+Wl(i,e,s)}function Wl(i,e,s){let t=e.pageYOffsetKey(),n=e.scrollTopKey(),a=e.offsetTopKey();return isNaN(window.pageYOffset)?Wr(s,i)[n]:i.ownerDocument?i.ownerDocument.defaultView[t]:i[a]}function Of(i,e={down:0,up:0},s){let t,n;if(i.totalToScroll<=0)return!1;let a=i.isWindow?i.scrolled:i.height+i.scrolled;if(s)t=(i.totalToScroll-a)/i.totalToScroll,n=(e?.down?e.down:0)/10;else{let l=i.scrolled+(i.totalToScroll-a);t=i.scrolled/l,n=(e?.up?e.up:0)/10}return t<=n}function Vf(i,e){return iy(Hl(t,a))),j(f=>Nf(o.lastScrollPosition,f,u)),ee(({stats:f})=>o.updateScroll(f.scrolled,f.totalToScroll)),de(({fire:f,scrollDown:d,stats:{totalToScroll:_}})=>Tf(i.alwaysCallback,f,o.isTriggeredScroll(_,d))),ee(({scrollDown:f,stats:{totalToScroll:d}})=>{o.updateTriggeredFlag(d,f)}),j(If))}function Kf(i){let e=Ni(i.container,"scroll");return i.throttle&&(e=e.pipe(oa(i.throttle,void 0,{leading:!0,trailing:!0}))),e}function Nf(i,e,s){let{scrollDown:t,fire:n}=Pf(i,e,s);return{scrollDown:t,fire:n,stats:e}}var $r={DOWN:"[NGX_ISE] DOWN",UP:"[NGX_ISE] UP"};function If(i){let{scrollDown:e,stats:{scrolled:s}}=i;return{type:e?$r.DOWN:$r.UP,payload:{currentScrollPosition:s}}}var ql=(()=>{let e=class e{constructor(t,n){this.element=t,this.zone=n,this.scrolled=new K,this.scrolledUp=new K,this.infiniteScrollDistance=2,this.infiniteScrollUpDistance=1.5,this.infiniteScrollThrottle=150,this.infiniteScrollDisabled=!1,this.infiniteScrollContainer=null,this.scrollWindow=!0,this.immediateCheck=!1,this.horizontal=!1,this.alwaysCallback=!1,this.fromRoot=!1}ngAfterViewInit(){this.infiniteScrollDisabled||this.setup()}ngOnChanges({infiniteScrollContainer:t,infiniteScrollDisabled:n,infiniteScrollDistance:a}){let o=Gr(t),l=Gr(n),u=Gr(a),f=!l&&!this.infiniteScrollDisabled||l&&!n.currentValue||u;(o||l||u)&&(this.destroyScroller(),f&&this.setup())}ngOnDestroy(){this.destroyScroller()}setup(){vf()&&this.zone.runOutsideAngular(()=>{this.disposeScroller=Df({fromRoot:this.fromRoot,alwaysCallback:this.alwaysCallback,disable:this.infiniteScrollDisabled,downDistance:this.infiniteScrollDistance,element:this.element,horizontal:this.horizontal,scrollContainer:this.infiniteScrollContainer,scrollWindow:this.scrollWindow,throttle:this.infiniteScrollThrottle,upDistance:this.infiniteScrollUpDistance}).subscribe(t=>this.handleOnScroll(t))})}handleOnScroll({type:t,payload:n}){let a=t===$r.DOWN?this.scrolled:this.scrolledUp;kf(a)&&this.zone.run(()=>a.emit(n))}destroyScroller(){this.disposeScroller&&this.disposeScroller.unsubscribe()}};e.\u0275fac=function(n){return new(n||e)(A(J),A(oe))},e.\u0275dir=I({type:e,selectors:[["","infiniteScroll",""],["","infinite-scroll",""],["","data-infinite-scroll",""]],inputs:{infiniteScrollDistance:"infiniteScrollDistance",infiniteScrollUpDistance:"infiniteScrollUpDistance",infiniteScrollThrottle:"infiniteScrollThrottle",infiniteScrollDisabled:"infiniteScrollDisabled",infiniteScrollContainer:"infiniteScrollContainer",scrollWindow:"scrollWindow",immediateCheck:"immediateCheck",horizontal:"horizontal",alwaysCallback:"alwaysCallback",fromRoot:"fromRoot"},outputs:{scrolled:"scrolled",scrolledUp:"scrolledUp"},standalone:!0,features:[pe]});let i=e;return i})();function kf(i){return i.observed??i.observers.length>0}var Yl=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=$({type:e}),e.\u0275inj=H({});let i=e;return i})();var jf=["selection"],Xf=["results"],Gf=["searchInput"],Hf=["dropdown"],zf=["result"],$f=[[["select2-label"]],[["select2-hint"]]],Wf=["select2-label","select2-hint"],qf=()=>[];function Yf(i,e){i&1&&L(0,"span",8)}function Zf(i,e){i&1&&(h(0,"span"),p(1,"\xA0"),c())}function Qf(i,e){if(i&1&&L(0,"span",19),i&2){let s=T(3);v("innerHTML",s.select2Option.label,Ce)}}function Jf(i,e){i&1&&Ke(0)}function ec(i,e){if(i&1&&F(0,Jf,1,0,"ng-container",20),i&2){let s=T(3);v("ngTemplateOutlet",s.getTemplate(s.select2Option,"option"))("ngTemplateOutletContext",s.select2Option)}}function tc(i,e){if(i&1&&F(0,Qf,1,1,"span",19)(1,ec,1,2,"ng-container"),i&2){let s=T(2);q(!s.hasTemplate(s.select2Option,"option")||s.noLabelTemplate?0:1)}}function ic(i,e){if(i&1&&(h(0,"span",12),F(1,Zf,2,0,"span")(2,tc,2,1),h(3,"span",18),p(4),c()()),i&2){let s=T();v("title",(s.select2Option==null?null:s.select2Option.label)||""),E(),q(s.select2Option?-1:1),E(),q(s.select2Option?2:-1),E(),Z("select2-selection__placeholder__option",s.option),E(),ce(s.placeholder)}}function nc(i,e){if(i&1){let s=_e();h(0,"span",21),b("click",function(n){m(s);let a=T();return x(a.reset(n))}),p(1,"\xD7"),c()}}function rc(i,e){i&1&&L(0,"span",14)}function sc(i,e){if(i&1&&(h(0,"span",18),p(1),c()),i&2){let s=T(2);Z("select2-selection__placeholder__option",(s.select2Options==null?null:s.select2Options.length)>0),E(),ce(s.placeholder)}}function ac(i,e){if(i&1){let s=_e();h(0,"span",27),b("click",function(n){m(s);let a=T().$implicit,o=T(2);return x(o.removeSelection(n,a))}),p(1,"\xD7"),c()}}function lc(i,e){if(i&1&&L(0,"span",19),i&2){let s=T().$implicit;v("innerHTML",s.label,Ce)}}function oc(i,e){i&1&&Ke(0)}function uc(i,e){if(i&1&&F(0,oc,1,0,"ng-container",20),i&2){let s=T().$implicit,t=T(2);v("ngTemplateOutlet",t.getTemplate(s,"option"))("ngTemplateOutletContext",s)}}function fc(i,e){if(i&1){let s=_e();h(0,"li",25),b("keydown.enter",function(n){let a=m(s).$implicit,o=T(2);return x(o.removeSelection(n,a))}),F(1,ac,2,0,"span",26)(2,lc,1,1,"span",19)(3,uc,1,2,"ng-container"),c()}if(i&2){let s=e.$implicit,t=T(2);v("title",s.label),E(),q(t.disabled||t.readonly?-1:1),E(),q(!t.hasTemplate(s,"option")||t.noLabelTemplate?2:3)}}function cc(i,e){if(i&1){let s=_e();h(0,"li",28),b("focus",function(n){m(s);let a=T(2);return x(a.stopEvent(n))})("blur",function(n){m(s);let a=T(2);return x(a.stopEvent(n))}),h(1,"input",29),b("click",function(n){m(s);let a=T(2);return a.toggleOpenAndClose(!1,!0),x(a.stopEvent(n))})("keydown",function(n){m(s);let a=T(2);return x(a.keyDown(n,!0))})("keyup",function(n){m(s);let a=T(2);return x(a.searchUpdate(n))})("change",function(n){m(s);let a=T(2);return x(a.prevChange(n))}),c()()}if(i&2){let s=T(2);E(),v("id",s.id+"-create-field")}}function hc(i,e){if(i&1&&(h(0,"ul",15),F(1,sc,2,3,"span",22),Xi(2,fc,4,3,"li",23,ji().trackBy,!0),F(4,cc,2,1,"li",24),c()),i&2){let s=T();E(),q(s.autoCreate?-1:1),E(),Gi(s.option||va(2,qf)),E(2),q(s.autoCreate?4:-1)}}function dc(i,e){i&1&&Ke(0)}function pc(i,e){if(i&1&&F(0,dc,1,0,"ng-container",30),i&2){T();let s=Y(17);v("ngTemplateOutlet",s)}}function _c(i,e){i&1&&Ke(0)}function Ec(i,e){if(i&1&&F(0,_c,1,0,"ng-container",30),i&2){T();let s=Y(17);v("ngTemplateOutlet",s)}}function gc(i,e){if(i&1&&L(0,"strong",19),i&2){let s=T(2).$implicit;v("innerHTML",s.label,Ce),Me("class","select2-results__group"+(s.classes?" "+s.classes:""))}}function mc(i,e){i&1&&Ke(0)}function xc(i,e){if(i&1&&F(0,mc,1,0,"ng-container",20),i&2){let s=T(2).$implicit,t=T(2);v("ngTemplateOutlet",t.getTemplate(s,"group"))("ngTemplateOutletContext",s)}}function Rc(i,e){if(i&1&&L(0,"div",43),i&2){let s=T().$implicit;v("innerHTML",s.label,Ce)}}function Cc(i,e){i&1&&Ke(0)}function vc(i,e){if(i&1&&F(0,Cc,1,0,"ng-container",20),i&2){let s=T().$implicit,t=T(4);v("ngTemplateOutlet",t.getTemplate(s,"option"))("ngTemplateOutletContext",s)}}function bc(i,e){if(i&1){let s=_e();h(0,"li",42,5),b("mouseenter",function(){let n=m(s).$implicit,a=T(4);return x(a.mouseenter(n))})("click",function(){let n=m(s).$implicit,a=T(4);return x(a.click(n))}),F(2,Rc,1,1,"div",43)(3,vc,1,2,"ng-container"),c()}if(i&2){let s=e.$implicit,t=e.$index,n=T(2).$index,a=T(2);or(a.getOptionStyle(s)),v("id",s.id||a.id+"-option-"+n+"-"+t),Me("aria-selected",a.isSelected(s))("aria-disabled",a.isDisabled(s)),E(2),q(a.hasTemplate(s,"option")?3:2)}}function Sc(i,e){if(i&1&&(h(0,"li",39),F(1,gc,1,2,"strong",19)(2,xc,1,2,"ng-container"),h(3,"ul",41),Xi(4,bc,4,6,"li",40,ji().trackBy,!0),c()()),i&2){let s=T().$implicit,t=T(2);E(),q(t.hasTemplate(s,"group")?2:1),E(3),Gi(s.options)}}function Tc(i,e){if(i&1&&L(0,"div",43),i&2){let s=T(2).$implicit;v("innerHTML",s.label,Ce)}}function Ac(i,e){i&1&&Ke(0)}function Lc(i,e){if(i&1&&F(0,Ac,1,0,"ng-container",20),i&2){let s=T(2).$implicit,t=T(2);v("ngTemplateOutlet",t.getTemplate(s,"option"))("ngTemplateOutletContext",s)}}function yc(i,e){i&1&&Ke(0)}function wc(i,e){if(i&1&&F(0,yc,1,0,"ng-container",20),i&2){let s=T(2).$implicit,t=T(2);v("ngTemplateOutlet",t.getTemplate(s,"option"))("ngTemplateOutletContext",s)}}function Bc(i,e){if(i&1){let s=_e();h(0,"li",42,5),b("mouseenter",function(){m(s);let n=T().$implicit,a=T(2);return x(a.mouseenter(n))})("click",function(){m(s);let n=T().$implicit,a=T(2);return x(a.click(n))}),F(2,Tc,1,1,"div",43)(3,Lc,1,2,"ng-container")(4,wc,1,2,"ng-template",null,6,se),c()}if(i&2){let s=T(),t=s.$implicit,n=s.$index,a=T(2);or(a.getOptionStyle(t)),v("id",t.id||a.id+"-option-"+n),Me("aria-selected",a.isSelected(t))("aria-disabled",a.isDisabled(t)),E(2),q(a.hasTemplate(t,"option")?3:2)}}function Mc(i,e){if(i&1&&F(0,Sc,6,1,"li",39)(1,Bc,6,6,"li",40),i&2){let s=e.$implicit;q(s.options!==void 0?0:1)}}function Uc(i,e){if(i&1&&L(0,"li",37),i&2){let s=T(2);v("innerHTML",s.noResultMessage,Ce)}}function Oc(i,e){if(i&1&&L(0,"li",38),i&2){let s=T(2);v("innerHTML",s.maxResultsMessage,Ce)}}function Vc(i,e){if(i&1){let s=_e();h(0,"div",31)(1,"div",32,2)(3,"div",33)(4,"input",34,3),b("keydown",function(n){m(s);let a=T();return x(a.keyDown(n,a.autoCreate))})("keyup",function(n){m(s);let a=T();return x(a.searchUpdate(n))})("change",function(n){m(s);let a=T();return x(a.prevChange(n))}),c()(),h(6,"div",35)(7,"ul",36,4),b("scrolled",function(){m(s);let n=T();return x(n.onScroll("down"))})("scrolledUp",function(){m(s);let n=T();return x(n.onScroll("up"))})("keydown",function(n){m(s);let a=T();return x(a.keyDown(n))}),Xi(9,Mc,2,1,null,null,ji().trackBy,!0),F(11,Uc,1,1,"li",37)(12,Oc,1,1,"li",38),c()()()()}if(i&2){let s=Y(8),t=T();Z("select2-container--open",t.isOpen)("select2-overlay",t.overlay)("select2-position-auto",t.listPosition==="auto")("select2-style-borderless",t.styleMode==="borderless"),E(),Z("select2-dropdown--below",!t.select2above)("select2-dropdown--above",t.select2above),E(2),Z("select2-search--hide",t.hideSearch()),E(),v("id",t.id+"-search-field")("value",t.searchText),Me("tabindex",t.isOpen?t.tabIndex:"-1"),E(3),Ht("max-height",t.resultMaxHeight)("--grid-size",t.grid||null),Z("select2-grid",t.grid&&t.isNumber(t.grid))("select2-grid-auto",t.grid&&!t.isNumber(t.grid)),v("infiniteScrollDisabled",!t.infiniteScroll&&!t.isOpen)("infiniteScrollDistance",t.infiniteScrollDistance)("infiniteScrollThrottle",t.infiniteScrollThrottle)("infiniteScrollContainer",s),E(2),Gi(t.filteredData),E(2),q(!(t.filteredData!=null&&t.filteredData.length)&&t.noResultMessage?11:-1),E(),q(t.maxResultsExceeded?12:-1)}}var Pc=0,Dc=["default","hidden","always"],bn=(()=>{let e=class e{set data(t){this._data=t,this.updateFilteredData(!0)}get multiple(){return this._multiple}set multiple(t){this._multiple=t,this.ngOnInit()}get minCountForSearch(){return this._minCountForSearch}set minCountForSearch(t){this._minCountForSearch=t,this.updateSearchBox()}get id(){return this._id}set id(t){this._id=t||this._uid}get disabled(){return this._control?this._control.disabled:this._disabled}set disabled(t){this._disabled=t}get value(){return this._value}set value(t){this.testValueChange(this._value,t)&&setTimeout(()=>{this._value===void 0&&(this._value=t??null),this.writeValue(t??null)},10)}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=t}get select2Options(){return this.multiple?this.option:null}get select2Option(){return this.multiple?null:this.option}get searchText(){return this.innerSearchText}set searchText(t){this.innerSearchText=t}get ariaInvalid(){return this._isErrorState()}get classMaterial(){return this.styleMode==="material"}get classNostyle(){return this.styleMode==="noStyle"}get classBorderless(){return this.styleMode==="borderless"}get select2above(){return this.overlay?this._isAbobeOverlay():this.listPosition==="above"}get _positions(){return this.listPosition==="auto"?void 0:null}get resultsElement(){return this.resultContainer?.nativeElement}constructor(t,n,a,o,l,u){this._viewportRuler=t,this._changeDetectorRef=n,this._parentForm=a,this._parentFormGroup=o,this._control=l,this.minCharForSearch=0,this.limitSelection=0,this.listPosition="below",this.overlay=!1,this.styleMode="default",this.maxResults=0,this.maxResultsMessage="Too many results\u2026",this.infiniteScrollDistance=1.5,this.infiniteScrollThrottle=150,this.infiniteScroll=!1,this.autoCreate=!1,this.noLabelTemplate=!1,this.resultMaxHeight="200px",this.customSearchEnabled=!1,this.required=!1,this.hideSelectedItems=!1,this.readonly=!1,this.resettable=!1,this.grid="",this.update=new K,this.autoCreateItem=new K,this.open=new K,this.close=new K,this.focus=new K,this.blur=new K,this.search=new K,this.scroll=new K,this.removeOption=new K,this.option=null,this.isOpen=!1,this.focused=!1,this.hoveringValue=null,this.innerSearchText="",this._stateChanges=new W,this._disabled=!1,this._multiple=!1,this._uid=`select2-${Pc++}`,this._value=null,this._onTouched=()=>{},this._onChange=()=>{},this.id=this.id,this._tabIndex=parseInt(u,10)||0,this._control&&(this._control.valueAccessor=this)}clickDetection(t){if(this.isOpen&&focus){let n=t.target;this.ifParentContainsClass(n,"selection")?this.ifParentContainsId(n,this._id)||(this.toggleOpenAndClose(),this.clickExit()):(this.ifParentContainsClass(n,"select2-dropdown")||this.toggleOpenAndClose(),!this.overlay&&!this.ifParentContainsId(n,this._id)&&this.clickExit())}else if(this.focused){let n=t.target;this._focus(this.clickOnSelect2Element(n))}}ngOnInit(){this._viewportRuler.change(100).subscribe(()=>{this.isOpen&&this.triggerRect()});let t=ie.getOptionsByValue(this._data,this._control?this._control.value:this.value,this.multiple);t!==null&&(this.option=t),Array.isArray(t)||(this.hoveringValue=this.value),this.updateSearchBox()}ngAfterViewInit(){this.cdkConnectedOverlay.positionChange.subscribe(t=>{this.listPosition==="auto"&&t.connectionPair?.originY&&this._overlayPosition!==t.connectionPair.originY&&(this.triggerRect(),this._overlayPosition=t.connectionPair.originY,this._changeDetectorRef.detectChanges())}),this.selectionElement=this.selection.nativeElement,this.triggerRect()}ngDoCheck(){this.updateSearchBox(),this._dirtyCheckNativeValue(),this._triggerRect&&(this.overlayWidth!==this._triggerRect.width&&(this.overlayWidth=this._triggerRect.width),this._dropdownRect?.height>0&&this.overlayHeight!==this._dropdownRect.height&&(this.overlayHeight=this.listPosition==="auto"?this._dropdownRect.height:0))}updateSearchBox(){let t=this.customSearchEnabled?!1:ie.isSearchboxHiddex(this._data,this._minCountForSearch);this.isSearchboxHidden!==t&&(this.isSearchboxHidden=t)}hideSearch(){let t=Dc.indexOf(this.displaySearchStatus)>-1?this.displaySearchStatus:"default";return t==="default"&&this.isSearchboxHidden||t==="hidden"}getOptionStyle(t){return"select2-results__option "+(t.hide?"select2-results__option--hide ":"")+(t.value===this.hoveringValue?"select2-results__option--highlighted ":"")+(t.classes||"")}mouseenter(t){t.disabled||(this.hoveringValue=t.value)}click(t){this.testSelection(t)&&this.select(t)}reset(t){this.select(this.resetSelectedValue!==void 0?ie.getOptionByValue(this._data,this.resetSelectedValue)??null:null),t&&this.stopEvent(t)}prevChange(t){t.stopPropagation()}stopEvent(t){t.preventDefault(),t.stopPropagation()}toggleOpenAndClose(t=!0,n,a){if(this.disabled)return;this._focus(t);let o=this.isOpen!==(n??!this.isOpen);this.isOpen=n??!this.isOpen,this.isOpen?(this.isSearchboxHidden||(this.innerSearchText="",this.updateFilteredData(),this._focusSearchboxOrResultsElement(t)),this.isSearchboxHidden&&!o&&a?this.keyDown(a):setTimeout(()=>{if(this.option){let l=Array.isArray(this.option)?this.option[0]:this.option;this.updateScrollFromOption(l)}else this.resultsElement&&(this.resultsElement.scrollTop=0);setTimeout(()=>{this.triggerRect(),this.cdkConnectedOverlay?.overlayRef?.updatePosition()},100)}),o&&this.open.emit(this)):o&&this.close.emit(this),this._changeDetectorRef.markForCheck()}hasTemplate(t,n){return this.templates instanceof qe||this.templates?.[t.templateId]instanceof qe||this.templates?.[n]instanceof qe}getTemplate(t,n){return this.hasTemplate(t,n)?this.templates[t.templateId]||this.templates[n]||this.templates:void 0}triggerRect(){this._triggerRect=this.selectionElement.getBoundingClientRect(),this._dropdownRect=this.dropdown?.nativeElement?this.dropdown.nativeElement.getBoundingClientRect():void 0}isNumber(t){return!isNaN(t-0)&&t!==null&&t!==""&&t!==!1}testSelection(t){return t.disabled?!1:!this.multiple||!this.limitSelection||Array.isArray(this._value)&&this._value.length-1))return!0;return!1}return!0}updateFilteredData(t=!1){setTimeout(()=>{let n=this._data;if(this.multiple&&this.hideSelectedItems&&(n=ie.getFilteredSelectedData(n,this.option)),!this.customSearchEnabled&&this.searchText&&this.searchText.length>=+this.minCharForSearch&&(n=ie.getFilteredData(n,this.searchText,this.editPattern)),this.maxResults>0){let a=ie.getReduceData(n,+this.maxResults);n=a.result,this.maxResultsExceeded=a.reduce}else this.maxResultsExceeded=!1;ie.valueIsNotInFilteredData(n,this.hoveringValue)&&(this.hoveringValue=ie.getFirstAvailableOption(n)),t&&this._previousNativeValue!==this._value&&this.writeValue(this._control?this._control.value:this._value),this.filteredData=n,this._changeDetectorRef.markForCheck()})}clickExit(){this._focus(!1)}ifParentContainsClass(t,n){return this.getParentElementByClass(t,n)!==null}ifParentContainsId(t,n){return this.getParentElementById(t,n)!==null}getParentElementByClass(t,n){return this.containClasses(t,n.trim().split(/\s+/))?t:t.parentElement?this.getParentElementByClass(t.parentElement,n):null}getParentElementById(t,n){return t.id===n?t:t.parentElement?this.getParentElementById(t.parentElement,n):null}containClasses(t,n){if(!t.classList)return!1;for(let a of n)if(!t.classList.contains(a))return!1;return!0}containAlmostOneClasses(t,n){if(!t.classList)return!1;let a=!1;for(let o of n)t.classList.contains(o)&&(a=!0);return a}clickOnSelect2Element(t){return this.containAlmostOneClasses(t,["select2-overlay-backdrop","select2-label-content","select2-selection__rendered","select2-results__option"])}focusin(){this.disabled||this._focus(!0)}focusout(){this.selectionElement&&!this.selectionElement.classList.contains("select2-focused")&&(this._focus(!1),this._onTouched())}select(t,n=!0){let a;if(t!=null)if(this.multiple){let o=this.option,l=o.findIndex(u=>u.value===t.value);l===-1?o.push(t):o.splice(l,1),a=this.option.map(u=>u.value)}else this.option=t,this.isOpen&&(this.isOpen=!1,this.close.emit(this),this.selectionElement?.focus()),a=this.option.value,!t&&this._value===null&&(this._value=a??null);else(Array.isArray(this.option)?this.option?.length:this.option)&&(a=""),this.option=null;this.multiple&&this.hideSelectedItems&&this.updateFilteredData(),n&&=a!==void 0&&this.testDiffValue(this._value,a),this._control&&this._onChange(a),n&&(this._value=a??null,setTimeout(()=>{this.update.emit({component:this,value:this._value,options:Array.isArray(this.option)?this.option:this.option?[this.option]:null})}))}testDiffValue(t,n){return Array.isArray(t)?t?.length!==n?.length:t!==n}keyDown(t,n=!1){n&&this._testKey(t,["Enter",13])?this.createAndAdd(t):this._testKey(t,["ArrowDown",40])?(this.moveDown(),t.preventDefault()):this._testKey(t,["ArrowUp",38])?(this.moveUp(),t.preventDefault()):this._testKey(t,["Enter",13])?(this.selectByEnter(),t.preventDefault()):this._testKey(t,["Escape","Tab",9,27])&&this.isOpen&&(this.toggleOpenAndClose(),this._focus(!1))}openKey(t,n=!1){n&&this._testKey(t,["Enter",13])?this.createAndAdd(t):this._testKey(t,["ArrowDown","ArrowUp","Enter",40,38,13])?(this.toggleOpenAndClose(!0,!0,t),t.preventDefault()):this._testKey(t,["Escape","Tab",9,27])&&(this.isOpen?(this.toggleOpenAndClose(!1),this._onTouched(),t.preventDefault()):this._focus(!1))}searchUpdate(t){this.searchText=t.target.value,this.customSearchEnabled?this.search.emit({component:this,value:this._value,search:this.searchText,data:this._data,filteredData:n=>{this.filteredData=n,this._changeDetectorRef.markForCheck()}}):this.updateFilteredData()}trackBy(t,n){return n.value}isSelected(t){return ie.isSelected(this.option,t,this.multiple)}isDisabled(t){return t.disabled?"true":"false"}removeSelection(t,n){ie.removeSelection(this.option,n),this.multiple&&this.hideSelectedItems&&this.updateFilteredData();let a=this.option.map(o=>o.value);this._control?this._onChange(a):this._value=a??null,this.update.emit({component:this,value:a,options:Array.isArray(this.option)?this.option:this.option?[this.option]:null}),this.removeOption.emit({component:this,value:a,removedOption:n}),t.preventDefault(),t.stopPropagation(),this.isOpen&&this._focusSearchboxOrResultsElement()}writeValue(t){this._setSelectionByValue(t)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}onScroll(t){this.scroll.emit({component:this,way:t,search:this.innerSearchText,data:this._data})}_isErrorState(){let t=this._control?.invalid,n=this._control?.touched,a=this._parentFormGroup?.submitted||this._parentForm?.submitted;return!!(t&&(n||a))}addItem(t){let n=ie.getOptionByValue(this._data,t);return n||(n={value:t,label:t},this._data.push(n)),n}createAndAdd(t){let n=t.target.value;if(n.trim()){let a=this.addItem(n.trim());this.click(a),t.target.value="",this.autoCreateItem.emit({value:a,component:this,options:Array.isArray(this.option)?this.option:this.option?[this.option]:null})}this.stopEvent(t)}moveUp(){this.updateScrollFromOption(ie.getPreviousOption(this.filteredData,this.hoveringValue))}moveDown(){this.updateScrollFromOption(ie.getNextOption(this.filteredData,this.hoveringValue))}updateScrollFromOption(t){if(t){this.hoveringValue=t.value;let n=this.results.find(a=>a.nativeElement.innerText.trim()===t.label);if(n&&this.resultsElement){this.resultsElement.scrollTop=0;let a=this.resultsElement.getBoundingClientRect(),o=n.nativeElement.getBoundingClientRect();this.resultsElement.scrollTop=o.top-a.top}}}selectByEnter(){if(this.hoveringValue){let t=ie.getOptionByValue(this._data,this.hoveringValue);this.select(t)}}_testKey(t,n=[]){return this._isKey(this._getKey(t),n)}_getKey(t){let n;return t.key!==void 0?n=t.key:t.keyIdentifier!==void 0?n=t.keyIdentifier:t.keyCode!==void 0?n=t.keyCode:t.preventDefault(),n}_isKey(t,n=[]){return n&&n.length>0?n.indexOf(t)!==-1:!1}_setSelectionByValue(t){if(this.option||t!=null){let n=Array.isArray(t);if(this.multiple&&t&&!n)throw new Error("Non array value.");this._data?this.multiple?(this.option=[],n?(ie.getOptionsByValue(this._data,t,this.multiple).map(o=>this.select(o,!1)),this._value??=t,this.testDiffValue(this._value,t)&&(console.error(this.id,this._value,t),this.update.emit({component:this,value:t,options:Array.isArray(this.option)?this.option:this.option?[this.option]:null}))):t===null&&(this.value=[],this.reset(),this.select(null,!1),this.testDiffValue(this._value,t)&&(this._value=[],this.update.emit({component:this,value:this._value,options:Array.isArray(this.option)?this.option:this.option?[this.option]:null})))):(this._value??=t,this.select(ie.getOptionByValue(this._data,t))):this._control&&this._control.viewToModelUpdate(t),this._changeDetectorRef.markForCheck()}}_dirtyCheckNativeValue(){let t=this.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this._stateChanges.next())}_focusSearchboxOrResultsElement(t=!0){this.isSearchboxHidden||(setTimeout(()=>{this.searchInput&&this.searchInput.nativeElement&&t&&this.searchInput.nativeElement.focus()}),this.resultsElement&&t&&this.resultsElement.focus())}_focus(t){!t&&this.focused?(this.focused=t,this.blur.emit(this)):t&&!this.focused&&(this.focused=t,this.focus.emit(this))}_isAbobeOverlay(){return this.overlay&&this._overlayPosition&&this.listPosition==="auto"?this._overlayPosition==="top":this.listPosition==="above"}};e.\u0275fac=function(n){return new(n||e)(A(ui),A(Ne),A(br,8),A(ut,8),A(ke,10),ki("tabindex"))},e.\u0275cmp=be({type:e,selectors:[["select2"]],viewQuery:function(n,a){if(n&1&&(Ze(vn,5),Ze(jf,7),Ze(Xf,5),Ze(Gf,5),Ze(Hf,5),Ze(zf,5)),n&2){let o;Ue(o=Oe())&&(a.cdkConnectedOverlay=o.first),Ue(o=Oe())&&(a.selection=o.first),Ue(o=Oe())&&(a.resultContainer=o.first),Ue(o=Oe())&&(a.searchInput=o.first),Ue(o=Oe())&&(a.dropdown=o.first),Ue(o=Oe())&&(a.results=o)}},hostVars:10,hostBindings:function(n,a){n&1&&b("click",function(l){return a.clickDetection(l)},!1,Ea),n&2&&(Ra("id",a.id),Me("aria-invalid",a.ariaInvalid),Z("material",a.classMaterial)("nostyle",a.classNostyle)("borderless",a.classBorderless)("select2-above",a.select2above))},inputs:{data:"data",minCharForSearch:[2,"minCharForSearch","minCharForSearch",Qe],displaySearchStatus:"displaySearchStatus",placeholder:"placeholder",limitSelection:[2,"limitSelection","limitSelection",Qe],listPosition:"listPosition",multiple:[2,"multiple","multiple",G],overlay:[2,"overlay","overlay",G],styleMode:"styleMode",noResultMessage:"noResultMessage",maxResults:[2,"maxResults","maxResults",Qe],maxResultsMessage:"maxResultsMessage",infiniteScrollDistance:[2,"infiniteScrollDistance","infiniteScrollDistance",Qe],infiniteScrollThrottle:[2,"infiniteScrollThrottle","infiniteScrollThrottle",Qe],infiniteScroll:[2,"infiniteScroll","infiniteScroll",G],autoCreate:[2,"autoCreate","autoCreate",G],noLabelTemplate:[2,"noLabelTemplate","noLabelTemplate",G],editPattern:"editPattern",templates:"templates",resultMaxHeight:"resultMaxHeight",customSearchEnabled:[2,"customSearchEnabled","customSearchEnabled",G],minCountForSearch:[2,"minCountForSearch","minCountForSearch",Qe],id:"id",required:[2,"required","required",G],disabled:[2,"disabled","disabled",G],hideSelectedItems:[2,"hideSelectedItems","hideSelectedItems",G],readonly:[2,"readonly","readonly",G],value:"value",tabIndex:[2,"tabIndex","tabIndex",Qe],resettable:[2,"resettable","resettable",G],resetSelectedValue:"resetSelectedValue",grid:"grid"},outputs:{update:"update",autoCreateItem:"autoCreateItem",open:"open",close:"close",focus:"focus",blur:"blur",search:"search",scroll:"scroll",removeOption:"removeOption"},features:[st],ngContentSelectors:Wf,decls:18,vars:28,consts:[["selection","","trigger","cdkOverlayOrigin"],["containerTemplate",""],["dropdown",""],["searchInput",""],["results",""],["result",""],["li",""],[1,"select2-label",3,"click"],[1,"select2-required"],[1,"select2","select2-container","select2-container--default"],["cdkOverlayOrigin","",1,"selection",3,"click","focus","blur","keydown","tabindex"],["role","combobox",1,"select2-selection"],[1,"select2-selection__rendered",3,"title"],["role","presentation",1,"select2-selection__reset"],["role","presentation",1,"select2-selection__arrow"],[1,"select2-selection__rendered"],[1,"select2-subscript-wrapper"],["cdkConnectedOverlay","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","select2-overlay-backdrop",3,"backdropClick","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayMinWidth","cdkConnectedOverlayHeight","cdkConnectedOverlayPositions"],[1,"select2-selection__placeholder"],[3,"innerHTML"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["role","presentation",1,"select2-selection__reset",3,"click"],[1,"select2-selection__placeholder",3,"select2-selection__placeholder__option"],["tabindex","0",1,"select2-selection__choice",3,"title"],[1,"select2-selection__auto-create"],["tabindex","0",1,"select2-selection__choice",3,"keydown.enter","title"],["role","presentation",1,"select2-selection__choice__remove"],["role","presentation",1,"select2-selection__choice__remove",3,"click"],[1,"select2-selection__auto-create",3,"focus","blur"],["type","search","role","textbox","autocomplete","off","autocorrect","off","autocapitalize","off","spellcheck","false",1,"select2-create__field",3,"click","keydown","keyup","change","id"],[4,"ngTemplateOutlet"],[1,"select2-container","select2-container--default","select2-container-dropdown"],[1,"select2-dropdown"],[1,"select2-search","select2-search--dropdown"],["type","search","role","textbox","autocomplete","off","autocorrect","off","autocapitalize","off","spellcheck","false",1,"select2-search__field",3,"keydown","keyup","change","id","value"],[1,"select2-results"],["role","tree","tabindex","-1","infiniteScroll","",1,"select2-results__options",3,"scrolled","scrolledUp","keydown","infiniteScrollDisabled","infiniteScrollDistance","infiniteScrollThrottle","infiniteScrollContainer"],[1,"select2-no-result","select2-results__option",3,"innerHTML"],[1,"select2-too-much-result","select2-results__option",3,"innerHTML"],["role","group",1,"select2-results__option"],["role","treeitem",3,"id","class"],[1,"select2-results__options","select2-results__options--nested"],["role","treeitem",3,"mouseenter","click","id"],[1,"select2-label-content",3,"innerHTML"]],template:function(n,a){if(n&1){let o=_e();ur($f),h(0,"div",7),b("click",function(){return m(o),x(a.toggleOpenAndClose())}),Hi(1),F(2,Yf,1,0,"span",8),c(),h(3,"div",9)(4,"div",10,0),b("click",function(){return m(o),x(a.toggleOpenAndClose())})("focus",function(){return m(o),x(a.focusin())})("blur",function(){return m(o),x(a.focusout())})("keydown",function(u){return m(o),x(a.openKey(u))}),h(7,"div",11),F(8,ic,5,6,"span",12)(9,nc,2,0,"span",13)(10,rc,1,0,"span",14)(11,hc,5,3,"ul",15),c()(),F(12,pc,1,1,"ng-container"),h(13,"div",16),Hi(14,1),c()(),F(15,Ec,1,1,"ng-template",17),b("backdropClick",function(){return m(o),x(a.toggleOpenAndClose())}),F(16,Vc,13,31,"ng-template",null,1,se)}if(n&2){let o=Y(6);E(2),q(a.required?2:-1),E(),Z("select2-container--focus",a.focused)("select2-container--below",!a.select2above)("select2-container--above",a.select2above)("select2-container--open",a.isOpen)("select2-container--disabled",a.disabled),E(),Z("select2-focused",a.focused),v("tabindex",a.isOpen?"-1":a.tabIndex),E(3),Z("select2-selection--multiple",a.multiple)("select2-selection--single",!a.multiple),E(),q(a.multiple?-1:8),E(),q(!a.multiple&&a.resettable&&a.resetSelectedValue!==a.value&&a.select2Option&&!(a.disabled||a.readonly)?9:-1),E(),q(a.multiple?-1:10),E(),q(a.multiple?11:-1),E(),q(a.overlay?-1:12),E(3),v("cdkConnectedOverlayOrigin",o)("cdkConnectedOverlayOpen",a.isOpen&&a.overlay)("cdkConnectedOverlayMinWidth",a.overlayWidth)("cdkConnectedOverlayHeight",a.overlayHeight)("cdkConnectedOverlayPositions",a._positions)}},dependencies:[Ma,vn,Rn,ql],styles:['.select2-label[_ngcontent-%COMP%]{color:var(--select2-label-text-color, #000)}.select2-container[_ngcontent-%COMP%]{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle;width:100%}.select2-container[_ngcontent-%COMP%] .select2-container-dropdown[_ngcontent-%COMP%]{position:absolute;width:0px;opacity:0}.select2-container[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]{box-sizing:border-box;cursor:pointer;display:block;height:var(--select2-single-height, 28px);-webkit-user-select:none;user-select:none}.select2-container[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{display:block;padding:var(--select2-selection-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:var(--select2-multiple-height, 28px);-webkit-user-select:none;user-select:none}.select2-container[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{display:inline-flex;overflow:hidden;padding-left:8px;padding-bottom:2px;text-overflow:ellipsis;white-space:nowrap;flex-wrap:wrap;gap:var(--select2-selection-multiple-gap, 2px 5px)}.select2-container[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] .select2-selection__auto-create[_ngcontent-%COMP%]{flex:1 1 150px;min-width:150px;display:flex}.select2-container[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] .select2-create__field[_ngcontent-%COMP%]{width:100%;border:0}.select2-container[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] .select2-create__field[_ngcontent-%COMP%]:focus{border:0;outline:0}.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:var(--select2-dropdown-background, white);border:1px solid var(--select2-dropdown-border-color, #aaa);border-radius:var(--select2-selection-border-radius, 4px);box-sizing:border-box;display:block;position:absolute;width:100%;z-index:1051;height:0;overflow:hidden}.select2-dropdown[_ngcontent-%COMP%] .select2-label-content[_ngcontent-%COMP%]{display:contents}.select2-results[_ngcontent-%COMP%]{display:block}.select2-results__options[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}.select2-results__option[_ngcontent-%COMP%]{padding:var(--select2-option-padding, 6px);-webkit-user-select:none;user-select:none;color:var(--select2-option-text-color, #000)}.select2-results__option[aria-selected][_ngcontent-%COMP%]{cursor:pointer}.select2-container.select2-container-dropdown.select2-container--open[_ngcontent-%COMP%]{width:100%;opacity:1}.select2-container--open[_ngcontent-%COMP%] .select2-dropdown[_ngcontent-%COMP%]{overflow:auto;height:auto}.select2-container--open[_ngcontent-%COMP%] .select2-dropdown--above[_ngcontent-%COMP%]{border-bottom:var(--select2-dropdown-above-border-bottom, none);border-bottom-left-radius:var(--select2-dropdown-above-border-bottom-left-radius, 0);border-bottom-right-radius:var(--select2-dropdown-above-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:var(--select2-dropdown-below-border-top, none);border-top-left-radius:var(--select2-dropdown-below-border-top-left-radius, 0);border-top-right-radius:var(--select2-dropdown-below-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}.select2-required[_ngcontent-%COMP%]:before{content:"*";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:var(--select2-selection-background, #fff);border:1px solid var(--select2-selection-border-color, #aaa);border-radius:var(--select2-selection-border-radius, 4px);display:flex}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{color:var(--select2-selection-text-color, #111);line-height:var(--select2-selection-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:var(--select2-placeholder-color, #999)}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;white-space:nowrap;text-overflow:var(--select2-placeholder-overflow, ellipsis)}.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__reset[_ngcontent-%COMP%], .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:var(--select2-arrow-color, #888) transparent;border-style:solid;border-width:5px 4px 0;height:0;width:0}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__reset[_ngcontent-%COMP%]{color:var(--select2-reset-color, #999)}.select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]{background:var(--select2-selection-disabled-background, #eee);cursor:default}.select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%]{display:none}.select2-container--default.select2-container--open[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%]:before{border-color:transparent transparent var(--select2-arrow-color, #888);border-width:0 4px 5px}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background:var(--select2-selection-background, #fff);border:1px solid var(--select2-selection-border-color, #aaa);border-radius:var(--select2-selection-border-radius, 4px);cursor:text;display:flex}.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:var(--select2-selection-multiple-padding, 2px 5px);width:100%;min-height:1em;align-items:center}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style:none;line-height:var(--select2-selection-choice-line-height, 20px)}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%]{display:block;width:100%;color:var(--select2-placeholder-color, #999);margin-top:5px;float:left;overflow:hidden;white-space:nowrap;text-overflow:var(--select2-placeholder-overflow, ellipsis)}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__placeholder__option[_ngcontent-%COMP%]{display:none}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%]{cursor:pointer;float:right;font-weight:700;margin-top:5px;margin-right:10px}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice[_ngcontent-%COMP%]{color:var(--select2-selection-choice-text-color, #000);background:var(--select2-selection-choice-background, #e4e4e4);border:1px solid var(--select2-selection-choice-border-color, #aaa);border-radius:var(--select2-selection-border-radius, 4px);cursor:default;padding:0 5px}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice__remove[_ngcontent-%COMP%]{color:var(--select2-selection-choice-close-color, #999);cursor:pointer;display:inline-block;font-weight:700;margin-right:2px}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice__remove[_ngcontent-%COMP%]:hover{color:var(--select2-selection-choice-hover-close-color, #333)}.select2-container--default.select2-container--focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{border:solid var(--select2-selection-focus-border-color, #000) 1px;outline:none}.select2-container--default[_ngcontent-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{border:solid var(--select2-selection-focus-border-color, #000) 1px;outline:none}.select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background:var(--select2-selection-disabled-background, #eee);cursor:default}.select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection__choice__remove[_ngcontent-%COMP%]{display:none}.select2-container--default.select2-container--open.select2-container--above[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .select2-container--default.select2-container--open.select2-container--above[_ngcontent-%COMP%] .select2-selection--multiple[_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--single[_ngcontent-%COMP%], .select2-container--default.select2-container--open.select2-container--below[_ngcontent-%COMP%] .select2-selection--multiple[_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 var(--select2-search-border-color, #aaa);background:1px solid var(--select2-search-background, #fff);border-radius:var(--select2-search-border-radius, 0px)}.select2-container--default[_ngcontent-%COMP%] .select2-search--inline[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]{background:transparent;border:none;outline:none;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;grid-column:col-start/col-end}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[aria-disabled=true][_ngcontent-%COMP%]{color:var(--select2-option-disabled-text-color, #999);background:var(--select2-option-disabled-background, transparent)}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[aria-selected=true][_ngcontent-%COMP%]{color:var(--select2-option-selected-text-color, #000);background:var(--select2-option-selected-background, #ddd)}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{padding-left:1em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__group[_ngcontent-%COMP%]{padding-left:0}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-1em;padding-left:2em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-2em;padding-left:3em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-3em;padding-left:4em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-4em;padding-left:5em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-5em;padding-left:6em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option--highlighted[aria-selected][_ngcontent-%COMP%]{background:var(--select2-option-highlighted-background, #5897fb);color:var(--select2-option-highlighted-text-color, #fff)}.select2-container--default[_ngcontent-%COMP%] .select2-results__option--hide[_ngcontent-%COMP%]{display:none}.select2-container--default[_ngcontent-%COMP%] .select2-results__group[_ngcontent-%COMP%]{cursor:default;display:block;padding:6px;color:var(--select2-option-group-text-color, gray);background:var(--select2-option-group-background, transparent)}.select2-no-result[_ngcontent-%COMP%]{color:var(--select2-no-result-color, #888);font-style:var(--select2-no-result-font-style, italic)}.select2-too-much-result[_ngcontent-%COMP%]{color:var(--select2-too-much-result-color, #888);font-style:var(--select2-too-much-font-style, italic)}.select2-grid[_ngcontent-%COMP%], .select2-grid[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{display:grid;grid-template-columns:[col-start] repeat(var(--grid-size),1fr) [col-end]}.select2-grid-auto[_ngcontent-%COMP%], .select2-grid-auto[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{display:grid;grid-template-columns:[col-start] repeat(auto-fill,minmax(var(--grid-size, 100px),1fr)) [col-end]}.select2-container--default[_ngcontent-%COMP%] .select2-grid[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%] .select2-grid-auto[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding-left:var(--select2-option-padding, 6px)}.select2-container--default[_ngcontent-%COMP%] .select2-grid[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] .select2-results__group[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%] .select2-grid-auto[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] .select2-results__group[_ngcontent-%COMP%]{padding-left:0}.select2-container--default[_ngcontent-%COMP%] .select2-grid[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%] .select2-grid-auto[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%] .select2-grid[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%] .select2-grid-auto[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%] .select2-grid[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%] .select2-grid-auto[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%] .select2-grid[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%] .select2-grid-auto[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%] .select2-grid[_ngcontent-%COMP%] ul[_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-container--default[_ngcontent-%COMP%] .select2-grid-auto[_ngcontent-%COMP%] ul[_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%]{padding-left:var(--select2-option-padding, 6px)}.nostyle[_nghost-%COMP%] .select2-dropdown[_ngcontent-%COMP%]{border-color:transparent}.nostyle[_nghost-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .nostyle[_nghost-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background:transparent;border-color:transparent}.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%] .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%], .nostyle[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background:transparent;border-color:transparent}.borderless[_nghost-%COMP%]{--select2-dropdown-above-border-bottom: 1px solid var(--select2-dropdown-border-color, #aaa);--select2-dropdown-above-border-bottom-left-radius: var(--select2-selection-border-radius, 4px);--select2-dropdown-above-border-bottom-right-radius: var(--select2-selection-border-radius, 4px);--select2-dropdown-below-border-top: 1px solid var(--select2-dropdown-border-color, #aaa);--select2-dropdown-below-border-top-left-radius: var(--select2-selection-border-radius, 4px);--select2-dropdown-below-border-top-right-radius: var(--select2-selection-border-radius, 4px)}.borderless[_nghost-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .borderless[_nghost-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background:transparent;border-color:transparent}.borderless[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .borderless[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%], .borderless[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .borderless[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background: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--single[_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_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--single[_ngcontent-%COMP%]:before, .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:before{content:" ";display:block;position:absolute;bottom:1.65em;background:var(--select2-material-underline, #ddd);height:1px;width:100%}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:after, .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:after{content:" ";display:block;position:absolute;bottom:1.63em;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--single[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{padding-left:1px;line-height:inherit}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%]{display:block;color:var(--select2-material-placeholder-color, rgba(0, 0, 0, .38));transition:transform .3s;position:absolute;transform-origin:0 21px;left:0;top:20px}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-container--open[_ngcontent-%COMP%]{left:0;bottom:1.6em}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection__placeholder__option[_ngcontent-%COMP%]{transform:translateY(-1.5em) scale(.75) perspective(100px) translateZ(.001px);width:133.33333%}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%]{top:20px}.material[_nghost-%COMP%] .select2-container--default.select2-container--open[_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[_ngcontent-%COMP%] .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:after, .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_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 #00000080}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-results__option[aria-selected=true][_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-results__option--highlighted[aria-selected][_ngcontent-%COMP%]{background:var(--select2-material-option-selected-background, rgba(0, 0, 0, .04));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:var(--select2-material-option-selected-text-color, #ff5722)}.material[_nghost-%COMP%] .select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background:transparent}.material[_nghost-%COMP%] .select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:before, .material[_nghost-%COMP%] .select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:before{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--single[_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--multiple[_ngcontent-%COMP%]:before, .material.ng-invalid.ng-touched[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:after{background:var(--select2-material-underline-invalid, red)}.material[_nghost-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .material[_nghost-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{border:0}.material[_nghost-%COMP%] .select2-subscript-wrapper[_ngcontent-%COMP%]{position:absolute;top:calc(100% - 1.72917em);font-size:75%;color:var(--select2-hint-text-color, #888)} .select2-overlay-backdrop{background:var(--select2-overlay-backdrop, transparent)} .cdk-overlay-container .select2-container .select2-dropdown.select2-dropdown--above{bottom:28px} .cdk-overlay-container .select2-container--open.select2-position-auto .select2-dropdown{margin-bottom:28px} .cdk-overlay-container .select2-container--open.select2-position-auto .select2-dropdown.select2-dropdown--above{bottom:0;margin-bottom:0;margin-top:28px} .cdk-overlay-container .select2-style-borderless{--select2-dropdown-above-border-bottom: 1px solid var(--select2-dropdown-border-color, #aaa);--select2-dropdown-above-border-bottom-left-radius: var(--select2-selection-border-radius, 4px);--select2-dropdown-above-border-bottom-right-radius: var(--select2-selection-border-radius, 4px);--select2-dropdown-below-border-top: 1px solid var(--select2-dropdown-border-color, #aaa);--select2-dropdown-below-border-top-left-radius: var(--select2-selection-border-radius, 4px);--select2-dropdown-below-border-top-right-radius: var(--select2-selection-border-radius, 4px)}@supports (-moz-appearance: none){select2.material[_ngcontent-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], select2.material[_ngcontent-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{height:26px}}']});let i=e;return i})();var Sn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=I({type:e,selectors:[["select2-hint"]]});let i=e;return i})();var Tn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=I({type:e,selectors:[["select2-label"]]});let i=e;return i})();var eo=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=$({type:e}),e.\u0275inj=H({imports:[Oa,li,Gl,Tr,Yl,li,Tr]});let i=e;return i})();var ao=Zs(so()),je=[{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"}]}],pi=[{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"}],Bt=[{value:"foo",label:"foo"},{value:"bar",label:"bar"},{value:"baz",label:"baz"}],lo=[{value:0,label:"0"},{value:1,label:"1"},{value:2,label:"2"},{value:3,label:"3"},{value:4,label:"4"},{value:5,label:"5"},{value:6,label:"6"}],oo=[{value:"foo1",label:"foo1"},{value:"foo2",label:"foo2"},{value:"foo3",label:"foo3"},{value:"foo4",label:"foo4"},{value:"foo5",label:"foo5"},{value:"foo6",label:"foo6"}],uo=[{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"},{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"}],fo=[{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"}]}],Ln=[{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"},{value:"foo9",label:"foo9",hide:!0}],co=[{value:!0,label:"true"},{value:!1,label:"false"}],ho=[{value:"fr",label:`
-
France
-
Europe
-
`},{value:"sp",label:`
-
Spain
-
Europe
-
`},{value:"ch",label:`
-
China
-
Asia
-
`}],po=[{value:"heliotrope",label:"Heliotrope",classes:"white flower",id:"option-heliotrope"},{value:"hibiscus",label:"Hibiscus",classes:"red flower",id:"option-hibiscus"},{value:"lily",label:"Lily",classes:"white flower",id:"option-lily"},{value:"marigold",label:"Marigold",classes:"red flower",id:"option-marigold"},{value:"petunia",label:"Petunia",classes:"white flower",id:"option-petunia"},{value:"sunflower",label:"Sunflower",classes:"yellow flower",id:"option-sunflower"}],is=[{value:"heliotrope",label:"Heliotrope",data:{color:"white",name:"Heliotrope"},templateId:"template1",id:"option-heliotrope"},{value:"hibiscus",label:"Hibiscus",data:{color:"red",name:"Hibiscus"},templateId:"template1",id:"option-hibiscus"},{value:"lily",label:"Lily",data:{color:"white",name:"Lily"},templateId:"template2",id:"option-lily"},{value:"marigold",label:"Marigold",data:{color:"red",name:"Marigold"},templateId:"template2",id:"option-marigold"},{value:"petunia",label:"Petunia",data:{color:"white",name:"Petunia"},templateId:"template3",id:"option-petunia"},{value:"sunflower",label:"Sunflower",data:{color:"yellow",name:"Sunflower"},templateId:"template3",id:"option-sunflower"}],yn=[{label:"Red",data:{name:"(Red)"},options:[{value:"hibiscus",label:"Hibiscus",data:{color:"red",name:"Hibiscus"},templateId:"template1",id:"option-hibiscus"},{value:"marigold",label:"Marigold",data:{color:"red",name:"Marigold"},templateId:"template2",id:"option-marigold"}]},{label:"Yellow",data:{name:"(Yellow)"},options:[{value:"sunflower",label:"Sunflower",data:{color:"yellow",name:"Sunflower"},templateId:"template3",id:"option-sunflower"}]},{label:"White",data:{name:"(White)"},options:[{value:"heliotrope",label:"Heliotrope",data:{color:"white",name:"Heliotrope"},templateId:"template1",id:"option-heliotrope"},{value:"lily",label:"Lily",data:{color:"white",name:"Lily"},templateId:"template2",id:"option-lily"},{value:"petunia",label:"Petunia",data:{color:"white",name:"Petunia"},templateId:"template3",id:"option-petunia"}]}],ns=[];for(let i=1;i<=50;i++)ns.push({value:i,label:">"+i});var rs=[];for(let i=1;i<=200;i++)rs.push({value:i,label:"item n\xB0 "+i});var ss=[{value:"english",label:"English"},{value:"french",label:"French"},{value:"japanese",label:"Japanese"}],_o=[{value:"english",label:"Anglais"},{value:"french",label:"Fran\xE7ais"},{value:"japanese",label:"Japonais"}],Eo=[{value:"english",label:"\u82F1\u8A9E"},{value:"french",label:"\u30D5\u30E9\u30F3\u30B9\u8A9E"},{value:"japanese",label:"\u65E5\u672C\u8A9E"}],go=new ao.default,mo=go.splitGraphemes("\u{1F600}\u{1F603}\u{1F604}\u{1F601}\u{1F606}\u{1F605}\u{1F923}\u{1F602}\u{1F642}\u{1F643}\u{1FAE0}\u{1F609}\u{1F60A}\u{1F607}\u{1F970}\u{1F60D}\u{1F929}\u{1F618}\u{1F617}\u263A\uFE0F\u{1F61A}\u{1F619}\u{1F972}\u{1F60B}\u{1F61B}\u{1F61C}\u{1F92A}\u{1F61D}\u{1F911}\u{1F917}\u{1F92D}\u{1FAE2}\u{1FAE3}\u{1F92B}\u{1F914}\u{1FAE1}\u{1F910}\u{1F928}\u{1F610}\uFE0F\u{1F611}\u{1F636}\u{1FAE5}\u{1F636}\u200D\u{1F32B}\uFE0F\u{1F60F}\u{1F612}\u{1F644}\u{1F62C}\u{1F62E}\u200D\u{1F4A8}\u{1F925}\u{1FAE8}\u{1F642}\u200D\u2194\uFE0F\u{1F642}\u200D\u2195\uFE0F\u{1F60C}\u{1F614}\u{1F62A}\u{1F924}\u{1F634}\u{1F637}\u{1F912}\u{1F915}\u{1F922}\u{1F92E}\u{1F927}\u{1F975}\u{1F976}\u{1F974}\u{1F635}\u{1F635}\u200D\u{1F4AB}\u{1F92F}\u{1F920}\u{1F973}\u{1F978}\u{1F60E}\u{1F913}\u{1F9D0}\u{1F615}\u{1FAE4}\u{1F61F}\u{1F641}\u2639\uFE0F\u{1F62E}\u{1F62F}\u{1F632}\u{1F633}\u{1F97A}\u{1F979}\u{1F626}\u{1F627}\u{1F628}\u{1F630}\u{1F625}\u{1F622}\u{1F62D}\u{1F631}\u{1F616}\u{1F623}\u{1F61E}\u{1F613}\u{1F629}\u{1F62B}\u{1F971}\u{1F624}\u{1F621}\u{1F620}\u{1F92C}\u{1F608}\u{1F47F}\u{1F480}\u2620\uFE0F\u{1F4A9}\u{1F921}\u{1F479}\u{1F47A}\u{1F47B}\u{1F47D}\uFE0F\u{1F47E}\u{1F916}\u{1F63A}\u{1F638}\u{1F639}\u{1F63B}\u{1F63C}\u{1F63D}\u{1F640}\u{1F63F}\u{1F63E}\u{1F648}\u{1F649}\u{1F64A}\u{1F48C}\u{1F498}\u{1F49D}\u{1F496}\u{1F497}\u{1F493}\u{1F49E}\u{1F495}\u{1F49F}\u2763\uFE0F\u{1F494}\u2764\uFE0F\u200D\u{1F525}\u2764\uFE0F\u200D\u{1FA79}\u2764\uFE0F\u{1FA77}\u{1F9E1}\u{1F49B}\u{1F49A}\u{1F499}\u{1FA75}\u{1F49C}\u{1F90E}\u{1F5A4}\u{1FA76}\u{1F90D}\u{1F48B}\u{1F4AF}\u{1F4A2}\u{1F4A5}\u{1F4AB}\u{1F4A6}\u{1F4A8}\u{1F573}\uFE0F\u{1F4AC}\u{1F441}\uFE0F\u200D\u{1F5E8}\uFE0F\u{1F5E8}\uFE0F\u{1F5EF}\uFE0F\u{1F4AD}\u{1F4A4}").map(i=>({value:i,label:i})),xo=Object.entries({"\u2764\uFE0F\u{1F923}Smileys et \xE9motions":"\u{1F600}\u{1F603}\u{1F604}\u{1F601}\u{1F606}\u{1F605}\u{1F923}\u{1F602}\u{1F642}\u{1F643}\u{1FAE0}\u{1F609}\u{1F60A}\u{1F607}\u{1F970}\u{1F60D}\u{1F929}\u{1F618}\u{1F617}\u263A\uFE0F\u{1F61A}\u{1F619}\u{1F972}\u{1F60B}\u{1F61B}\u{1F61C}\u{1F92A}\u{1F61D}\u{1F911}\u{1F917}\u{1F92D}\u{1FAE2}\u{1FAE3}\u{1F92B}\u{1F914}\u{1FAE1}\u{1F910}\u{1F928}\u{1F610}\uFE0F\u{1F611}\u{1F636}\u{1FAE5}\u{1F636}\u200D\u{1F32B}\uFE0F\u{1F60F}\u{1F612}\u{1F644}\u{1F62C}\u{1F62E}\u200D\u{1F4A8}\u{1F925}\u{1FAE8}\u{1F642}\u200D\u2194\uFE0F\u{1F642}\u200D\u2195\uFE0F\u{1F60C}\u{1F614}\u{1F62A}\u{1F924}\u{1F634}\u{1F637}\u{1F912}\u{1F915}\u{1F922}\u{1F92E}\u{1F927}\u{1F975}\u{1F976}\u{1F974}\u{1F635}\u{1F635}\u200D\u{1F4AB}\u{1F92F}\u{1F920}\u{1F973}\u{1F978}\u{1F60E}\u{1F913}\u{1F9D0}\u{1F615}\u{1FAE4}\u{1F61F}\u{1F641}\u2639\uFE0F\u{1F62E}\u{1F62F}\u{1F632}\u{1F633}\u{1F97A}\u{1F979}\u{1F626}\u{1F627}\u{1F628}\u{1F630}\u{1F625}\u{1F622}\u{1F62D}\u{1F631}\u{1F616}\u{1F623}\u{1F61E}\u{1F613}\u{1F629}\u{1F62B}\u{1F971}\u{1F624}\u{1F621}\u{1F620}\u{1F92C}\u{1F608}\u{1F47F}\u{1F480}\u2620\uFE0F\u{1F4A9}\u{1F921}\u{1F479}\u{1F47A}\u{1F47B}\u{1F47D}\uFE0F\u{1F47E}\u{1F916}\u{1F63A}\u{1F638}\u{1F639}\u{1F63B}\u{1F63C}\u{1F63D}\u{1F640}\u{1F63F}\u{1F63E}\u{1F648}\u{1F649}\u{1F64A}\u{1F48C}\u{1F498}\u{1F49D}\u{1F496}\u{1F497}\u{1F493}\u{1F49E}\u{1F495}\u{1F49F}\u2763\uFE0F\u{1F494}\u2764\uFE0F\u200D\u{1F525}\u2764\uFE0F\u200D\u{1FA79}\u2764\uFE0F\u{1FA77}\u{1F9E1}\u{1F49B}\u{1F49A}\u{1F499}\u{1FA75}\u{1F49C}\u{1F90E}\u{1F5A4}\u{1FA76}\u{1F90D}\u{1F48B}\u{1F4AF}\u{1F4A2}\u{1F4A5}\u{1F4AB}\u{1F4A6}\u{1F4A8}\u{1F573}\uFE0F\u{1F4AC}\u{1F441}\uFE0F\u200D\u{1F5E8}\uFE0F\u{1F5E8}\uFE0F\u{1F5EF}\uFE0F\u{1F4AD}\u{1F4A4}","\u{1F44D}\uFE0F\u{1F64B}\u200D\u2642\uFE0FPersonnes et corps":"\u{1F44B}\u{1F91A}\u{1F590}\uFE0F\u270B\uFE0F\u{1F596}\u{1FAF1}\u{1FAF2}\u{1FAF3}\u{1FAF4}\u{1FAF7}\u{1FAF8}\u{1F44C}\u{1F90C}\u{1F90F}\u270C\uFE0F\u{1F91E}\u{1FAF0}\u{1F91F}\u{1F918}\u{1F919}\u{1F448}\uFE0F\u{1F449}\uFE0F\u{1F446}\uFE0F\u{1F595}\u{1F447}\uFE0F\u261D\uFE0F\u{1FAF5}\u{1F44D}\uFE0F\u{1F44E}\uFE0F\u270A\uFE0F\u{1F44A}\u{1F91B}\u{1F91C}\u{1F44F}\u{1F64C}\u{1FAF6}\u{1F450}\u{1F932}\u{1F91D}\u{1F64F}\u270D\uFE0F\u{1F485}\u{1F933}\u{1F4AA}\u{1F9BE}\u{1F9BF}\u{1F9B5}\u{1F9B6}\u{1F442}\uFE0F\u{1F9BB}\u{1F443}\u{1F9E0}\u{1FAC0}\u{1FAC1}\u{1F9B7}\u{1F9B4}\u{1F440}\u{1F441}\uFE0F\u{1F445}\u{1F444}\u{1FAE6}\u{1F476}\u{1F9D2}\u{1F466}\u{1F467}\u{1F9D1}\u{1F471}\u{1F468}\u{1F9D4}\u{1F9D4}\u200D\u2642\uFE0F\u{1F9D4}\u200D\u2640\uFE0F\u{1F468}\u200D\u{1F9B0}\u{1F468}\u200D\u{1F9B1}\u{1F468}\u200D\u{1F9B3}\u{1F468}\u200D\u{1F9B2}\u{1F469}\u{1F469}\u200D\u{1F9B0}\u{1F9D1}\u200D\u{1F9B0}\u{1F469}\u200D\u{1F9B1}\u{1F9D1}\u200D\u{1F9B1}\u{1F469}\u200D\u{1F9B3}\u{1F9D1}\u200D\u{1F9B3}\u{1F469}\u200D\u{1F9B2}\u{1F9D1}\u200D\u{1F9B2}\u{1F471}\u200D\u2640\uFE0F\u{1F471}\u200D\u2642\uFE0F\u{1F9D3}\u{1F474}\u{1F475}\u{1F64D}\u{1F64D}\u200D\u2642\uFE0F\u{1F64D}\u200D\u2640\uFE0F\u{1F64E}\u{1F64E}\u200D\u2642\uFE0F\u{1F64E}\u200D\u2640\uFE0F\u{1F645}\u{1F645}\u200D\u2642\uFE0F\u{1F645}\u200D\u2640\uFE0F\u{1F646}\u{1F646}\u200D\u2642\uFE0F\u{1F646}\u200D\u2640\uFE0F\u{1F481}\u{1F481}\u200D\u2642\uFE0F\u{1F481}\u200D\u2640\uFE0F\u{1F64B}\u{1F64B}\u200D\u2642\uFE0F\u{1F64B}\u200D\u2640\uFE0F\u{1F9CF}\u{1F9CF}\u200D\u2642\uFE0F\u{1F9CF}\u200D\u2640\uFE0F\u{1F647}\u{1F647}\u200D\u2642\uFE0F\u{1F647}\u200D\u2640\uFE0F\u{1F926}\u{1F926}\u200D\u2642\uFE0F\u{1F926}\u200D\u2640\uFE0F\u{1F937}\u{1F937}\u200D\u2642\uFE0F\u{1F937}\u200D\u2640\uFE0F\u{1F9D1}\u200D\u2695\uFE0F\u{1F468}\u200D\u2695\uFE0F\u{1F469}\u200D\u2695\uFE0F\u{1F9D1}\u200D\u{1F393}\u{1F468}\u200D\u{1F393}\u{1F469}\u200D\u{1F393}\u{1F9D1}\u200D\u{1F3EB}\u{1F468}\u200D\u{1F3EB}\u{1F469}\u200D\u{1F3EB}\u{1F9D1}\u200D\u2696\uFE0F\u{1F468}\u200D\u2696\uFE0F\u{1F469}\u200D\u2696\uFE0F\u{1F9D1}\u200D\u{1F33E}\u{1F468}\u200D\u{1F33E}\u{1F469}\u200D\u{1F33E}\u{1F9D1}\u200D\u{1F373}\u{1F468}\u200D\u{1F373}\u{1F469}\u200D\u{1F373}\u{1F9D1}\u200D\u{1F527}\u{1F468}\u200D\u{1F527}\u{1F469}\u200D\u{1F527}\u{1F9D1}\u200D\u{1F3ED}\u{1F468}\u200D\u{1F3ED}\u{1F469}\u200D\u{1F3ED}\u{1F9D1}\u200D\u{1F4BC}\u{1F468}\u200D\u{1F4BC}\u{1F469}\u200D\u{1F4BC}\u{1F9D1}\u200D\u{1F52C}\u{1F468}\u200D\u{1F52C}\u{1F469}\u200D\u{1F52C}\u{1F9D1}\u200D\u{1F4BB}\u{1F468}\u200D\u{1F4BB}\u{1F469}\u200D\u{1F4BB}\u{1F9D1}\u200D\u{1F3A4}\u{1F468}\u200D\u{1F3A4}\u{1F469}\u200D\u{1F3A4}\u{1F9D1}\u200D\u{1F3A8}\u{1F468}\u200D\u{1F3A8}\u{1F469}\u200D\u{1F3A8}\u{1F9D1}\u200D\u2708\uFE0F\u{1F468}\u200D\u2708\uFE0F\u{1F469}\u200D\u2708\uFE0F\u{1F9D1}\u200D\u{1F680}\u{1F468}\u200D\u{1F680}\u{1F469}\u200D\u{1F680}\u{1F9D1}\u200D\u{1F692}\u{1F468}\u200D\u{1F692}\u{1F469}\u200D\u{1F692}\u{1F46E}\u{1F46E}\u200D\u2642\uFE0F\u{1F46E}\u200D\u2640\uFE0F\u{1F575}\uFE0F\u{1F575}\uFE0F\u200D\u2642\uFE0F\u{1F575}\uFE0F\u200D\u2640\uFE0F\u{1F482}\u{1F482}\u200D\u2642\uFE0F\u{1F482}\u200D\u2640\uFE0F\u{1F977}\u{1F477}\u{1F477}\u200D\u2642\uFE0F\u{1F477}\u200D\u2640\uFE0F\u{1FAC5}\u{1F934}\u{1F478}\u{1F473}\u{1F473}\u200D\u2642\uFE0F\u{1F473}\u200D\u2640\uFE0F\u{1F472}\u{1F9D5}\u{1F935}\u{1F935}\u200D\u2642\uFE0F\u{1F935}\u200D\u2640\uFE0F\u{1F470}\u{1F470}\u200D\u2642\uFE0F\u{1F470}\u200D\u2640\uFE0F\u{1F930}\u{1FAC3}\u{1FAC4}\u{1F931}\u{1F469}\u200D\u{1F37C}\u{1F468}\u200D\u{1F37C}\u{1F9D1}\u200D\u{1F37C}\u{1F47C}\u{1F385}\u{1F936}\u{1F9D1}\u200D\u{1F384}\u{1F9B8}\u{1F9B8}\u200D\u2642\uFE0F\u{1F9B8}\u200D\u2640\uFE0F\u{1F9B9}\u{1F9B9}\u200D\u2642\uFE0F\u{1F9B9}\u200D\u2640\uFE0F\u{1F9D9}\u{1F9D9}\u200D\u2642\uFE0F\u{1F9D9}\u200D\u2640\uFE0F\u{1F9DA}\u{1F9DA}\u200D\u2642\uFE0F\u{1F9DA}\u200D\u2640\uFE0F\u{1F9DB}\u{1F9DB}\u200D\u2642\uFE0F\u{1F9DB}\u200D\u2640\uFE0F\u{1F9DC}\u{1F9DC}\u200D\u2642\uFE0F\u{1F9DC}\u200D\u2640\uFE0F\u{1F9DD}\u{1F9DD}\u200D\u2642\uFE0F\u{1F9DD}\u200D\u2640\uFE0F\u{1F9DE}\u{1F9DE}\u200D\u2642\uFE0F\u{1F9DE}\u200D\u2640\uFE0F\u{1F9DF}\u{1F9DF}\u200D\u2642\uFE0F\u{1F9DF}\u200D\u2640\uFE0F\u{1F9CC}\u{1F486}\u{1F486}\u200D\u2642\uFE0F\u{1F486}\u200D\u2640\uFE0F\u{1F487}\u{1F487}\u200D\u2642\uFE0F\u{1F487}\u200D\u2640\uFE0F\u{1F6B6}\u{1F6B6}\u200D\u2642\uFE0F\u{1F6B6}\u200D\u2640\uFE0F\u{1F6B6}\u200D\u27A1\uFE0F\u{1F6B6}\u200D\u2640\uFE0F\u200D\u{1F6B6}\u200D\u2642\uFE0F\u200D\u{1F9CD}\u{1F9CD}\u200D\u2642\uFE0F\u{1F9CD}\u200D\u2640\uFE0F\u{1F9CE}\u{1F9CE}\u200D\u2642\uFE0F\u{1F9CE}\u200D\u2640\uFE0F\u{1F9CE}\u200D\u27A1\uFE0F\u{1F9CE}\u200D\u2640\uFE0F\u200D\u{1F9CE}\u200D\u2642\uFE0F\u200D\u{1F9D1}\u200D\u{1F9AF}\u{1F9D1}\u200D\u{1F9AF}\u200D\u27A1\u{1F468}\u200D\u{1F9AF}\u{1F468}\u200D\u{1F9AF}\u200D\u27A1\u{1F469}\u200D\u{1F9AF}\u{1F469}\u200D\u{1F9AF}\u200D\u27A1\u{1F9D1}\u200D\u{1F9BC}\u{1F9D1}\u200D\u{1F9BC}\u200D\u27A1\u{1F468}\u200D\u{1F9BC}\u{1F468}\u200D\u{1F9BC}\u200D\u27A1\u{1F469}\u200D\u{1F9BC}\u{1F469}\u200D\u{1F9BC}\u200D\u27A1\u{1F9D1}\u200D\u{1F9BD}\u{1F9D1}\u200D\u{1F9BD}\u200D\u27A1\u{1F468}\u200D\u{1F9BD}\u{1F468}\u200D\u{1F9BD}\u200D\u27A1\u{1F469}\u200D\u{1F9BD}\u{1F469}\u200D\u{1F9BD}\u200D\u27A1\u{1F3C3}\u{1F3C3}\u200D\u2642\uFE0F\u{1F3C3}\u200D\u2640\uFE0F\u{1F3C3}\u200D\u27A1\uFE0F\u{1F3C3}\u200D\u2640\uFE0F\u200D\u{1F3C3}\u200D\u2642\uFE0F\u200D\u{1F483}\u{1F57A}\u{1F574}\uFE0F\u{1F46F}\u{1F46F}\u200D\u2642\uFE0F\u{1F46F}\u200D\u2640\uFE0F\u{1F9D6}\u{1F9D6}\u200D\u2642\uFE0F\u{1F9D6}\u200D\u2640\uFE0F\u{1F9D7}\u{1F9D7}\u200D\u2642\uFE0F\u{1F9D7}\u200D\u2640\uFE0F\u{1F93A}\u{1F3C7}\u26F7\uFE0F\u{1F3C2}\uFE0F\u{1F3CC}\uFE0F\u{1F3CC}\uFE0F\u200D\u2642\uFE0F\u{1F3CC}\uFE0F\u200D\u2640\uFE0F\u{1F3C4}\uFE0F\u{1F3C4}\u200D\u2642\uFE0F\u{1F3C4}\u200D\u2640\uFE0F\u{1F6A3}\u{1F6A3}\u200D\u2642\uFE0F\u{1F6A3}\u200D\u2640\uFE0F\u{1F3CA}\uFE0F\u{1F3CA}\u200D\u2642\uFE0F\u{1F3CA}\u200D\u2640\uFE0F\u26F9\uFE0F\u26F9\uFE0F\u200D\u2642\uFE0F\u26F9\uFE0F\u200D\u2640\uFE0F\u{1F3CB}\uFE0F\u{1F3CB}\uFE0F\u200D\u2642\uFE0F\u{1F3CB}\uFE0F\u200D\u2640\uFE0F\u{1F6B4}\u{1F6B4}\u200D\u2642\uFE0F\u{1F6B4}\u200D\u2640\uFE0F\u{1F6B5}\u{1F6B5}\u200D\u2642\uFE0F\u{1F6B5}\u200D\u2640\uFE0F\u{1F938}\u{1F938}\u200D\u2642\uFE0F\u{1F938}\u200D\u2640\uFE0F\u{1F93C}\u{1F93C}\u200D\u2642\uFE0F\u{1F93C}\u200D\u2640\uFE0F\u{1F93D}\u{1F93D}\u200D\u2642\uFE0F\u{1F93D}\u200D\u2640\uFE0F\u{1F93E}\u{1F93E}\u200D\u2642\uFE0F\u{1F93E}\u200D\u2640\uFE0F\u{1F939}\u{1F939}\u200D\u2642\uFE0F\u{1F939}\u200D\u2640\uFE0F\u{1F9D8}\u{1F9D8}\u200D\u2642\uFE0F\u{1F9D8}\u200D\u2640\uFE0F\u{1F6C0}\u{1F6CC}\u{1F9D1}\u200D\u{1F91D}\u200D\u{1F9D1}\u{1F46D}\u{1F46B}\u{1F46C}\u{1F48F}\u{1F469}\u200D\u2764\uFE0F\u200D\u{1F468}\u200D\u2764\uFE0F\u200D\u{1F469}\u200D\u2764\uFE0F\u200D\u{1F491}\u{1F469}\u200D\u2764\uFE0F\u200D\u{1F468}\u200D\u2764\uFE0F\u200D\u{1F469}\u200D\u2764\uFE0F\u200D\u{1F468}\u200D\u{1F469}\u200D\u{1F466}\u{1F468}\u200D\u{1F469}\u200D\u{1F467}\u{1F468}\u200D\u{1F469}\u200D\u{1F467}\u{1F468}\u200D\u{1F469}\u200D\u{1F466}\u{1F468}\u200D\u{1F469}\u200D\u{1F467}\u{1F468}\u200D\u{1F468}\u200D\u{1F466}\u{1F468}\u200D\u{1F468}\u200D\u{1F467}\u{1F468}\u200D\u{1F468}\u200D\u{1F467}\u{1F468}\u200D\u{1F468}\u200D\u{1F466}\u{1F468}\u200D\u{1F468}\u200D\u{1F467}\u{1F469}\u200D\u{1F469}\u200D\u{1F466}\u{1F469}\u200D\u{1F469}\u200D\u{1F467}\u{1F469}\u200D\u{1F469}\u200D\u{1F467}\u{1F469}\u200D\u{1F469}\u200D\u{1F466}\u{1F469}\u200D\u{1F469}\u200D\u{1F467}\u{1F468}\u200D\u{1F466}\u{1F468}\u200D\u{1F466}\u200D\u{1F466}\u{1F468}\u200D\u{1F467}\u{1F468}\u200D\u{1F467}\u200D\u{1F466}\u{1F468}\u200D\u{1F467}\u200D\u{1F467}\u{1F469}\u200D\u{1F466}\u{1F469}\u200D\u{1F466}\u200D\u{1F466}\u{1F469}\u200D\u{1F467}\u{1F469}\u200D\u{1F467}\u200D\u{1F466}\u{1F469}\u200D\u{1F467}\u200D\u{1F467}\u{1F5E3}\uFE0F\u{1F464}\u{1F465}\u{1FAC2}\u{1F46A}\uFE0F\u{1F9D1}\u200D\u{1F9D1}\u200D\u{1F9D2}\u{1F9D1}\u200D\u{1F9D1}\u200D\u{1F9D2}\u{1F9D1}\u200D\u{1F9D2}\u{1F9D1}\u200D\u{1F9D2}\u200D\u{1F9D2}\u{1F463}","\u{1F334}\u{1F981}Animaux et nature":"\u{1F435}\u{1F412}\u{1F98D}\u{1F9A7}\u{1F436}\u{1F415}\uFE0F\u{1F9AE}\u{1F415}\u200D\u{1F9BA}\u{1F429}\u{1F43A}\u{1F98A}\u{1F99D}\u{1F431}\u{1F408}\uFE0F\u{1F408}\u200D\u2B1B\u{1F981}\u{1F42F}\u{1F405}\u{1F406}\u{1F434}\u{1FACE}\u{1FACF}\u{1F40E}\u{1F984}\u{1F993}\u{1F98C}\u{1F9AC}\u{1F42E}\u{1F402}\u{1F403}\u{1F404}\u{1F437}\u{1F416}\u{1F417}\u{1F43D}\u{1F40F}\u{1F411}\u{1F410}\u{1F42A}\u{1F42B}\u{1F999}\u{1F992}\u{1F418}\u{1F9A3}\u{1F98F}\u{1F99B}\u{1F42D}\u{1F401}\u{1F400}\u{1F439}\u{1F430}\u{1F407}\u{1F43F}\uFE0F\u{1F9AB}\u{1F994}\u{1F987}\u{1F43B}\u{1F43B}\u200D\u2744\uFE0F\u{1F428}\u{1F43C}\u{1F9A5}\u{1F9A6}\u{1F9A8}\u{1F998}\u{1F9A1}\u{1F43E}\u{1F983}\u{1F414}\u{1F413}\u{1F423}\u{1F424}\u{1F425}\u{1F426}\uFE0F\u{1F427}\u{1F54A}\uFE0F\u{1F985}\u{1F986}\u{1F9A2}\u{1F989}\u{1F9A4}\u{1FAB6}\u{1F9A9}\u{1F99A}\u{1F99C}\u{1FABD}\u{1F426}\u200D\u2B1B\u{1FABF}\u{1F426}\u200D\u{1F525}\u{1F438}\u{1F40A}\u{1F422}\u{1F98E}\u{1F40D}\u{1F432}\u{1F409}\u{1F995}\u{1F996}\u{1F433}\u{1F40B}\u{1F42C}\u{1F9AD}\u{1F41F}\uFE0F\u{1F420}\u{1F421}\u{1F988}\u{1F419}\u{1F41A}\u{1FAB8}\u{1FABC}\u{1F40C}\u{1F98B}\u{1F41B}\u{1F41C}\u{1F41D}\u{1FAB2}\u{1F41E}\u{1F997}\u{1FAB3}\u{1F577}\uFE0F\u{1F578}\uFE0F\u{1F982}\u{1F99F}\u{1FAB0}\u{1FAB1}\u{1F9A0}\u{1F490}\u{1F338}\u{1F4AE}\u{1FAB7}\u{1F3F5}\uFE0F\u{1F339}\u{1F940}\u{1F33A}\u{1F33B}\u{1F33C}\u{1F337}\u{1FABB}\u{1F331}\u{1FAB4}\u{1F332}\u{1F333}\u{1F334}\u{1F335}\u{1F33E}\u{1F33F}\u2618\uFE0F\u{1F340}\u{1F341}\u{1F342}\u{1F343}\u{1FAB9}\u{1FABA}\u{1F344}","\u{1F35C}\u{1F378}\uFE0FNourriture et boissons":"\u{1F347}\u{1F348}\u{1F349}\u{1F34A}\u{1F34B}\u{1F34B}\u200D\u{1F7E9}\u{1F34C}\u{1F34D}\u{1F96D}\u{1F34E}\u{1F34F}\u{1F350}\u{1F351}\u{1F352}\u{1F353}\u{1FAD0}\u{1F95D}\u{1F345}\u{1FAD2}\u{1F965}\u{1F951}\u{1F346}\u{1F954}\u{1F955}\u{1F33D}\u{1F336}\uFE0F\u{1FAD1}\u{1F952}\u{1F96C}\u{1F966}\u{1F9C4}\u{1F9C5}\u{1F95C}\u{1FAD8}\u{1F330}\u{1FADA}\u{1FADB}\u{1F344}\u200D\u{1F7EB}\u{1F35E}\u{1F950}\u{1F956}\u{1FAD3}\u{1F968}\u{1F96F}\u{1F95E}\u{1F9C7}\u{1F9C0}\u{1F356}\u{1F357}\u{1F969}\u{1F953}\u{1F354}\u{1F35F}\u{1F355}\u{1F32D}\u{1F96A}\u{1F32E}\u{1F32F}\u{1FAD4}\u{1F959}\u{1F9C6}\u{1F95A}\u{1F373}\u{1F958}\u{1F372}\u{1FAD5}\u{1F963}\u{1F957}\u{1F37F}\u{1F9C8}\u{1F9C2}\u{1F96B}\u{1F371}\u{1F358}\u{1F359}\u{1F35A}\u{1F35B}\u{1F35C}\u{1F35D}\u{1F360}\u{1F362}\u{1F363}\u{1F364}\u{1F365}\u{1F96E}\u{1F361}\u{1F95F}\u{1F960}\u{1F961}\u{1F980}\u{1F99E}\u{1F990}\u{1F991}\u{1F9AA}\u{1F366}\u{1F367}\u{1F368}\u{1F369}\u{1F36A}\u{1F382}\u{1F370}\u{1F9C1}\u{1F967}\u{1F36B}\u{1F36C}\u{1F36D}\u{1F36E}\u{1F36F}\u{1F37C}\u{1F95B}\u2615\uFE0F\u{1FAD6}\u{1F375}\u{1F376}\u{1F37E}\u{1F377}\u{1F378}\uFE0F\u{1F379}\u{1F37A}\u{1F37B}\u{1F942}\u{1F943}\u{1FAD7}\u{1F964}\u{1F9CB}\u{1F9C3}\u{1F9C9}\u{1F9CA}\u{1F962}\u{1F37D}\uFE0F\u{1F374}\u{1F944}\u{1F52A}\u{1FAD9}\u{1F3FA}","\u2708\uFE0F\u26C5\uFE0FVoyages, lieux et m\xE9t\xE9o":"\u{1F30D}\uFE0F\u{1F30E}\uFE0F\u{1F30F}\uFE0F\u{1F310}\u{1F5FA}\uFE0F\u{1F5FE}\u{1F9ED}\u{1F3D4}\uFE0F\u26F0\uFE0F\u{1F30B}\u{1F5FB}\u{1F3D5}\uFE0F\u{1F3D6}\uFE0F\u{1F3DC}\uFE0F\u{1F3DD}\uFE0F\u{1F3DE}\uFE0F\u{1F3DF}\uFE0F\u{1F3DB}\uFE0F\u{1F3D7}\uFE0F\u{1F9F1}\u{1FAA8}\u{1FAB5}\u{1F6D6}\u{1F3D8}\uFE0F\u{1F3DA}\uFE0F\u{1F3E0}\uFE0F\u{1F3E1}\u{1F3E2}\u{1F3E3}\u{1F3E4}\u{1F3E5}\u{1F3E6}\u{1F3E8}\u{1F3E9}\u{1F3EA}\u{1F3EB}\u{1F3EC}\u{1F3ED}\uFE0F\u{1F3EF}\u{1F3F0}\u{1F492}\u{1F5FC}\u{1F5FD}\u26EA\uFE0F\u{1F54C}\u{1F6D5}\u{1F54D}\u26E9\uFE0F\u{1F54B}\u26F2\uFE0F\u26FA\uFE0F\u{1F301}\u{1F303}\u{1F3D9}\uFE0F\u{1F304}\u{1F305}\u{1F306}\u{1F307}\u{1F309}\u2668\uFE0F\u{1F3A0}\u{1F6DD}\u{1F3A1}\u{1F3A2}\u{1F488}\u{1F3AA}\u{1F682}\u{1F683}\u{1F684}\u{1F685}\u{1F686}\u{1F687}\uFE0F\u{1F688}\u{1F689}\u{1F68A}\u{1F69D}\u{1F69E}\u{1F68B}\u{1F68C}\u{1F68D}\uFE0F\u{1F68E}\u{1F690}\u{1F691}\uFE0F\u{1F692}\u{1F693}\u{1F694}\uFE0F\u{1F695}\u{1F696}\u{1F697}\u{1F698}\uFE0F\u{1F699}\u{1F6FB}\u{1F69A}\u{1F69B}\u{1F69C}\u{1F3CE}\uFE0F\u{1F3CD}\uFE0F\u{1F6F5}\u{1F9BD}\u{1F9BC}\u{1F6FA}\u{1F6B2}\uFE0F\u{1F6F4}\u{1F6F9}\u{1F6FC}\u{1F68F}\u{1F6E3}\uFE0F\u{1F6E4}\uFE0F\u{1F6E2}\uFE0F\u26FD\uFE0F\u{1F6DE}\u{1F6A8}\u{1F6A5}\u{1F6A6}\u{1F6D1}\u{1F6A7}\u2693\uFE0F\u{1F6DF}\u26F5\uFE0F\u{1F6F6}\u{1F6A4}\u{1F6F3}\uFE0F\u26F4\uFE0F\u{1F6E5}\uFE0F\u{1F6A2}\u2708\uFE0F\u{1F6E9}\uFE0F\u{1F6EB}\u{1F6EC}\u{1FA82}\u{1F4BA}\u{1F681}\u{1F69F}\u{1F6A0}\u{1F6A1}\u{1F6F0}\uFE0F\u{1F680}\u{1F6F8}\u{1F6CE}\uFE0F\u{1F9F3}\u231B\uFE0F\u23F3\uFE0F\u231A\uFE0F\u23F0\uFE0F\u23F1\uFE0F\u23F2\uFE0F\u{1F570}\uFE0F\u{1F55B}\uFE0F\u{1F567}\uFE0F\u{1F550}\uFE0F\u{1F55C}\uFE0F\u{1F551}\uFE0F\u{1F55D}\uFE0F\u{1F552}\uFE0F\u{1F55E}\uFE0F\u{1F553}\uFE0F\u{1F55F}\uFE0F\u{1F554}\uFE0F\u{1F560}\uFE0F\u{1F555}\uFE0F\u{1F561}\uFE0F\u{1F556}\uFE0F\u{1F562}\uFE0F\u{1F557}\uFE0F\u{1F563}\uFE0F\u{1F558}\uFE0F\u{1F564}\uFE0F\u{1F559}\uFE0F\u{1F565}\uFE0F\u{1F55A}\uFE0F\u{1F566}\uFE0F\u{1F311}\u{1F312}\u{1F313}\u{1F314}\u{1F315}\uFE0F\u{1F316}\u{1F317}\u{1F318}\u{1F319}\u{1F31A}\u{1F31B}\u{1F31C}\uFE0F\u{1F321}\uFE0F\u2600\uFE0F\u{1F31D}\u{1F31E}\u{1FA90}\u2B50\uFE0F\u{1F31F}\u{1F320}\u{1F30C}\u2601\uFE0F\u26C5\uFE0F\u26C8\uFE0F\u{1F324}\uFE0F\u{1F325}\uFE0F\u{1F326}\uFE0F\u{1F327}\uFE0F\u{1F328}\uFE0F\u{1F329}\uFE0F\u{1F32A}\uFE0F\u{1F32B}\uFE0F\u{1F32C}\uFE0F\u{1F300}\u{1F308}\u{1F302}\u2602\uFE0F\u2614\uFE0F\u26F1\uFE0F\u26A1\uFE0F\u2744\uFE0F\u2603\uFE0F\u26C4\uFE0F\u2604\uFE0F\u{1F525}\u{1F4A7}\u{1F30A}","\u26BD\uFE0F\u{1F3AE}\uFE0FActivit\xE9s et \xE9v\xE9nements":"\u{1F383}\u{1F384}\u{1F386}\u{1F387}\u{1F9E8}\u2728\uFE0F\u{1F388}\u{1F389}\u{1F38A}\u{1F38B}\u{1F38D}\u{1F38E}\u{1F38F}\u{1F390}\u{1F391}\u{1F9E7}\u{1F380}\u{1F381}\u{1F397}\uFE0F\u{1F39F}\uFE0F\u{1F3AB}\u{1F396}\uFE0F\u{1F3C6}\uFE0F\u{1F3C5}\u{1F947}\u{1F948}\u{1F949}\u26BD\uFE0F\u26BE\uFE0F\u{1F94E}\u{1F3C0}\u{1F3D0}\u{1F3C8}\u{1F3C9}\u{1F3BE}\u{1F94F}\u{1F3B3}\u{1F3CF}\u{1F3D1}\u{1F3D2}\u{1F94D}\u{1F3D3}\u{1F3F8}\u{1F94A}\u{1F94B}\u{1F945}\u26F3\uFE0F\u26F8\uFE0F\u{1F3A3}\u{1F93F}\u{1F3BD}\u{1F3BF}\u{1F6F7}\u{1F94C}\u{1F3AF}\u{1FA80}\u{1FA81}\u{1F52B}\u{1F3B1}\u{1F52E}\u{1FA84}\u{1F3AE}\uFE0F\u{1F579}\uFE0F\u{1F3B0}\u{1F3B2}\u{1F9E9}\u{1F9F8}\u{1FA85}\u{1FAA9}\u{1FA86}\u2660\uFE0F\u2665\uFE0F\u2666\uFE0F\u2663\uFE0F\u265F\uFE0F\u{1F0CF}\u{1F004}\uFE0F\u{1F3B4}\u{1F3AD}\uFE0F\u{1F5BC}\uFE0F\u{1F3A8}\u{1F9F5}\u{1FAA1}\u{1F9F6}\u{1FAA2}","\u{1F4BB}\uFE0F\u{1FAA5}Objets":"\u{1F453}\uFE0F\u{1F576}\uFE0F\u{1F97D}\u{1F97C}\u{1F9BA}\u{1F454}\u{1F455}\u{1F456}\u{1F9E3}\u{1F9E4}\u{1F9E5}\u{1F9E6}\u{1F457}\u{1F458}\u{1F97B}\u{1FA71}\u{1FA72}\u{1FA73}\u{1F459}\u{1F45A}\u{1FAAD}\u{1F45B}\u{1F45C}\u{1F45D}\u{1F6CD}\uFE0F\u{1F392}\u{1FA74}\u{1F45E}\u{1F45F}\u{1F97E}\u{1F97F}\u{1F460}\u{1F461}\u{1FA70}\u{1F462}\u{1FAAE}\u{1F451}\u{1F452}\u{1F3A9}\u{1F393}\uFE0F\u{1F9E2}\u{1FA96}\u26D1\uFE0F\u{1F4FF}\u{1F484}\u{1F48D}\u{1F48E}\u{1F507}\u{1F508}\uFE0F\u{1F509}\u{1F50A}\u{1F4E2}\u{1F4E3}\u{1F4EF}\u{1F514}\u{1F515}\u{1F3BC}\u{1F3B5}\u{1F3B6}\u{1F399}\uFE0F\u{1F39A}\uFE0F\u{1F39B}\uFE0F\u{1F3A4}\u{1F3A7}\uFE0F\u{1F4FB}\uFE0F\u{1F3B7}\u{1FA97}\u{1F3B8}\u{1F3B9}\u{1F3BA}\u{1F3BB}\u{1FA95}\u{1F941}\u{1FA98}\u{1FA87}\u{1FA88}\u{1F4F1}\u{1F4F2}\u260E\uFE0F\u{1F4DE}\u{1F4DF}\uFE0F\u{1F4E0}\u{1F50B}\u{1FAAB}\u{1F50C}\u{1F4BB}\uFE0F\u{1F5A5}\uFE0F\u{1F5A8}\uFE0F\u2328\uFE0F\u{1F5B1}\uFE0F\u{1F5B2}\uFE0F\u{1F4BD}\u{1F4BE}\u{1F4BF}\uFE0F\u{1F4C0}\u{1F9EE}\u{1F3A5}\u{1F39E}\uFE0F\u{1F4FD}\uFE0F\u{1F3AC}\uFE0F\u{1F4FA}\uFE0F\u{1F4F7}\uFE0F\u{1F4F8}\u{1F4F9}\uFE0F\u{1F4FC}\u{1F50D}\uFE0F\u{1F50E}\u{1F56F}\uFE0F\u{1F4A1}\u{1F526}\u{1F3EE}\u{1FA94}\u{1F4D4}\u{1F4D5}\u{1F4D6}\u{1F4D7}\u{1F4D8}\u{1F4D9}\u{1F4DA}\uFE0F\u{1F4D3}\u{1F4D2}\u{1F4C3}\u{1F4DC}\u{1F4C4}\u{1F4F0}\u{1F5DE}\uFE0F\u{1F4D1}\u{1F516}\u{1F3F7}\uFE0F\u{1F4B0}\uFE0F\u{1FA99}\u{1F4B4}\u{1F4B5}\u{1F4B6}\u{1F4B7}\u{1F4B8}\u{1F4B3}\uFE0F\u{1F9FE}\u{1F4B9}\u2709\uFE0F\u{1F4E7}\u{1F4E8}\u{1F4E9}\u{1F4E4}\uFE0F\u{1F4E5}\uFE0F\u{1F4E6}\uFE0F\u{1F4EB}\uFE0F\u{1F4EA}\uFE0F\u{1F4EC}\uFE0F\u{1F4ED}\uFE0F\u{1F4EE}\u{1F5F3}\uFE0F\u270F\uFE0F\u2712\uFE0F\u{1F58B}\uFE0F\u{1F58A}\uFE0F\u{1F58C}\uFE0F\u{1F58D}\uFE0F\u{1F4DD}\u{1F4BC}\u{1F4C1}\u{1F4C2}\u{1F5C2}\uFE0F\u{1F4C5}\u{1F4C6}\u{1F5D2}\uFE0F\u{1F5D3}\uFE0F\u{1F4C7}\u{1F4C8}\u{1F4C9}\u{1F4CA}\u{1F4CB}\uFE0F\u{1F4CC}\u{1F4CD}\u{1F4CE}\u{1F587}\uFE0F\u{1F4CF}\u{1F4D0}\u2702\uFE0F\u{1F5C3}\uFE0F\u{1F5C4}\uFE0F\u{1F5D1}\uFE0F\u{1F512}\uFE0F\u{1F513}\uFE0F\u{1F50F}\u{1F510}\u{1F511}\u{1F5DD}\uFE0F\u{1F528}\u{1FA93}\u26CF\uFE0F\u2692\uFE0F\u{1F6E0}\uFE0F\u{1F5E1}\uFE0F\u2694\uFE0F\u{1F4A3}\uFE0F\u{1FA83}\u{1F3F9}\u{1F6E1}\uFE0F\u{1FA9A}\u{1F527}\u{1FA9B}\u{1F529}\u2699\uFE0F\u{1F5DC}\uFE0F\u2696\uFE0F\u{1F9AF}\u{1F517}\u26D3\uFE0F\u200D\u{1F4A5}\u26D3\uFE0F\u{1FA9D}\u{1F9F0}\u{1F9F2}\u{1FA9C}\u2697\uFE0F\u{1F9EA}\u{1F9EB}\u{1F9EC}\u{1F52C}\u{1F52D}\u{1F4E1}\u{1F489}\u{1FA78}\u{1F48A}\u{1FA79}\u{1FA7C}\u{1FA7A}\u{1FA7B}\u{1F6AA}\u{1F6D7}\u{1FA9E}\u{1FA9F}\u{1F6CF}\uFE0F\u{1F6CB}\uFE0F\u{1FA91}\u{1F6BD}\u{1FAA0}\u{1F6BF}\u{1F6C1}\u{1FAA4}\u{1FA92}\u{1F9F4}\u{1F9F7}\u{1F9F9}\u{1F9FA}\u{1F9FB}\u{1FAA3}\u{1F9FC}\u{1FAE7}\u{1FAA5}\u{1F9FD}\u{1F9EF}\u{1F6D2}\u{1F6AC}\u26B0\uFE0F\u{1FAA6}\u26B1\uFE0F\u{1F9FF}\u{1FAAC}\u{1F5FF}\u{1FAA7}\u{1FAAA}","\u2705\uFE0F\u26A0\uFE0FSymboles":"\u{1F3E7}\u{1F6AE}\u{1F6B0}\u267F\uFE0F\u{1F6B9}\uFE0F\u{1F6BA}\uFE0F\u{1F6BB}\u{1F6BC}\uFE0F\u{1F6BE}\u{1F6C2}\u{1F6C3}\u{1F6C4}\u{1F6C5}\u26A0\uFE0F\u{1F6B8}\u26D4\uFE0F\u{1F6AB}\u{1F6B3}\u{1F6AD}\uFE0F\u{1F6AF}\u{1F6B1}\u{1F6B7}\u{1F4F5}\u{1F51E}\u2622\uFE0F\u2623\uFE0F\u2B06\uFE0F\u2197\uFE0F\u27A1\uFE0F\u2198\uFE0F\u2B07\uFE0F\u2199\uFE0F\u2B05\uFE0F\u2196\uFE0F\u2195\uFE0F\u2194\uFE0F\u21A9\uFE0F\u21AA\uFE0F\u2934\uFE0F\u2935\uFE0F\u{1F503}\u{1F504}\u{1F519}\u{1F51A}\u{1F51B}\u{1F51C}\u{1F51D}\u{1F6D0}\u269B\uFE0F\u{1F549}\uFE0F\u2721\uFE0F\u2638\uFE0F\u262F\uFE0F\u271D\uFE0F\u2626\uFE0F\u262A\uFE0F\u262E\uFE0F\u{1F54E}\u{1F52F}\u{1FAAF}\u2648\uFE0F\u2649\uFE0F\u264A\uFE0F\u264B\uFE0F\u264C\uFE0F\u264D\uFE0F\u264E\uFE0F\u264F\uFE0F\u2650\uFE0F\u2651\uFE0F\u2652\uFE0F\u2653\uFE0F\u26CE\uFE0F\u{1F500}\u{1F501}\u{1F502}\u25B6\uFE0F\u23E9\uFE0F\u23ED\uFE0F\u23EF\uFE0F\u25C0\uFE0F\u23EA\uFE0F\u23EE\uFE0F\u{1F53C}\u23EB\uFE0F\u{1F53D}\u23EC\uFE0F\u23F8\uFE0F\u23F9\uFE0F\u23FA\uFE0F\u23CF\uFE0F\u{1F3A6}\u{1F505}\u{1F506}\u{1F4F6}\u{1F6DC}\u{1F4F3}\u{1F4F4}\u2640\uFE0F\u2642\uFE0F\u26A7\uFE0F\u2716\uFE0F\u2795\uFE0F\u2796\uFE0F\u2797\uFE0F\u{1F7F0}\u267E\uFE0F\u203C\uFE0F\u2049\uFE0F\u2753\uFE0F\u2754\uFE0F\u2755\uFE0F\u2757\uFE0F\u3030\uFE0F\u{1F4B1}\u{1F4B2}\u2695\uFE0F\u267B\uFE0F\u269C\uFE0F\u{1F531}\u{1F4DB}\u{1F530}\u2B55\uFE0F\u2705\uFE0F\u2611\uFE0F\u2714\uFE0F\u274C\uFE0F\u274E\uFE0F\u27B0\uFE0F\u27BF\uFE0F\u303D\uFE0F\u2733\uFE0F\u2734\uFE0F\u2747\uFE0F\xA9\uFE0F\xAE\uFE0F\u2122\uFE0F#\uFE0F\u20E3*\uFE0F\u20E30\uFE0F\u20E31\uFE0F\u20E32\uFE0F\u20E33\uFE0F\u20E34\uFE0F\u20E35\uFE0F\u20E36\uFE0F\u20E37\uFE0F\u20E38\uFE0F\u20E39\uFE0F\u20E3\u{1F51F}\u{1F520}\u{1F521}\u{1F522}\u{1F523}\u{1F524}\u{1F170}\uFE0F\u{1F18E}\u{1F171}\uFE0F\u{1F191}\u{1F192}\u{1F193}\u2139\uFE0F\u{1F194}\u24C2\uFE0F\u{1F195}\u{1F196}\u{1F17E}\uFE0F\u{1F197}\u{1F17F}\uFE0F\u{1F198}\u{1F199}\u{1F19A}\u{1F201}\u{1F202}\uFE0F\u{1F237}\uFE0F\u{1F236}\u{1F22F}\uFE0F\u{1F250}\u{1F239}\u{1F21A}\uFE0F\u{1F232}\u{1F251}\u{1F238}\u{1F234}\u{1F233}\u3297\uFE0F\u3299\uFE0F\u{1F23A}\u{1F235}\u{1F534}\u{1F7E0}\u{1F7E1}\u{1F7E2}\u{1F535}\u{1F7E3}\u{1F7E4}\u26AB\uFE0F\u26AA\uFE0F\u{1F7E5}\u{1F7E7}\u{1F7E8}\u{1F7E9}\u{1F7E6}\u{1F7EA}\u{1F7EB}\u2B1B\uFE0F\u2B1C\uFE0F\u25FC\uFE0F\u25FB\uFE0F\u25FE\uFE0F\u25FD\uFE0F\u25AA\uFE0F\u25AB\uFE0F\u{1F536}\u{1F537}\u{1F538}\u{1F539}\u{1F53A}\u{1F53B}\u{1F4A0}\u{1F518}\u{1F533}\u{1F532}","\u{1F1E8}\u{1F1F5} \u{1F6A9}Drapeaux":"\u{1F3C1}\u{1F6A9}\u{1F38C}\u{1F3F4}\u{1F3F3}\uFE0F\u{1F3F3}\uFE0F\u200D\u{1F308}\u{1F3F3}\uFE0F\u200D\u26A7\uFE0F\u{1F3F4}\u200D\u2620\uFE0F\u{1F1E6}\u{1F1E8}\u{1F1E6}\u{1F1E9}\u{1F1E6}\u{1F1EA}\u{1F1E6}\u{1F1EB}\u{1F1E6}\u{1F1EC}\u{1F1E6}\u{1F1EE}\u{1F1E6}\u{1F1F1}\u{1F1E6}\u{1F1F2}\u{1F1E6}\u{1F1F4}\u{1F1E6}\u{1F1F6}\u{1F1E6}\u{1F1F7}\u{1F1E6}\u{1F1F8}\u{1F1E6}\u{1F1F9}\u{1F1E6}\u{1F1FA}\u{1F1E6}\u{1F1FC}\u{1F1E6}\u{1F1FD}\u{1F1E6}\u{1F1FF}\u{1F1E7}\u{1F1E6}\u{1F1E7}\u{1F1E7}\u{1F1E7}\u{1F1E9}\u{1F1E7}\u{1F1EA}\u{1F1E7}\u{1F1EB}\u{1F1E7}\u{1F1EC}\u{1F1E7}\u{1F1ED}\u{1F1E7}\u{1F1EE}\u{1F1E7}\u{1F1EF}\u{1F1E7}\u{1F1F1}\u{1F1E7}\u{1F1F2}\u{1F1E7}\u{1F1F3}\u{1F1E7}\u{1F1F4}\u{1F1E7}\u{1F1F6}\u{1F1E7}\u{1F1F7}\u{1F1E7}\u{1F1F8}\u{1F1E7}\u{1F1F9}\u{1F1E7}\u{1F1FB}\u{1F1E7}\u{1F1FC}\u{1F1E7}\u{1F1FE}\u{1F1E7}\u{1F1FF}\u{1F1E8}\u{1F1E6}\u{1F1E8}\u{1F1E8}\u{1F1E8}\u{1F1E9}\u{1F1E8}\u{1F1EB}\u{1F1E8}\u{1F1EC}\u{1F1E8}\u{1F1ED}\u{1F1E8}\u{1F1EE}\u{1F1E8}\u{1F1F0}\u{1F1E8}\u{1F1F1}\u{1F1E8}\u{1F1F2}\u{1F1E8}\u{1F1F3}\u{1F1E8}\u{1F1F4}\u{1F1E8}\u{1F1F5}\u{1F1E8}\u{1F1F7}\u{1F1E8}\u{1F1FA}\u{1F1E8}\u{1F1FB}\u{1F1E8}\u{1F1FC}\u{1F1E8}\u{1F1FD}\u{1F1E8}\u{1F1FE}\u{1F1E8}\u{1F1FF}\u{1F1E9}\u{1F1EA}\u{1F1E9}\u{1F1EC}\u{1F1E9}\u{1F1EF}\u{1F1E9}\u{1F1F0}\u{1F1E9}\u{1F1F2}\u{1F1E9}\u{1F1F4}\u{1F1E9}\u{1F1FF}\u{1F1EA}\u{1F1E6}\u{1F1EA}\u{1F1E8}\u{1F1EA}\u{1F1EA}\u{1F1EA}\u{1F1EC}\u{1F1EA}\u{1F1ED}\u{1F1EA}\u{1F1F7}\u{1F1EA}\u{1F1F8}\u{1F1EA}\u{1F1F9}\u{1F1EA}\u{1F1FA}\u{1F1EB}\u{1F1EE}\u{1F1EB}\u{1F1EF}\u{1F1EB}\u{1F1F0}\u{1F1EB}\u{1F1F2}\u{1F1EB}\u{1F1F4}\u{1F1EB}\u{1F1F7}\u{1F1EC}\u{1F1E6}\u{1F1EC}\u{1F1E7}\u{1F1EC}\u{1F1E9}\u{1F1EC}\u{1F1EA}\u{1F1EC}\u{1F1EB}\u{1F1EC}\u{1F1EC}\u{1F1EC}\u{1F1ED}\u{1F1EC}\u{1F1EE}\u{1F1EC}\u{1F1F1}\u{1F1EC}\u{1F1F2}\u{1F1EC}\u{1F1F3}\u{1F1EC}\u{1F1F5}\u{1F1EC}\u{1F1F6}\u{1F1EC}\u{1F1F7}\u{1F1EC}\u{1F1F8}\u{1F1EC}\u{1F1F9}\u{1F1EC}\u{1F1FA}\u{1F1EC}\u{1F1FC}\u{1F1EC}\u{1F1FE}\u{1F1ED}\u{1F1F0}\u{1F1ED}\u{1F1F2}\u{1F1ED}\u{1F1F3}\u{1F1ED}\u{1F1F7}\u{1F1ED}\u{1F1F9}\u{1F1ED}\u{1F1FA}\u{1F1EE}\u{1F1E8}\u{1F1EE}\u{1F1E9}\u{1F1EE}\u{1F1EA}\u{1F1EE}\u{1F1F1}\u{1F1EE}\u{1F1F2}\u{1F1EE}\u{1F1F3}\u{1F1EE}\u{1F1F4}\u{1F1EE}\u{1F1F6}\u{1F1EE}\u{1F1F7}\u{1F1EE}\u{1F1F8}\u{1F1EE}\u{1F1F9}\u{1F1EF}\u{1F1EA}\u{1F1EF}\u{1F1F2}\u{1F1EF}\u{1F1F4}\u{1F1EF}\u{1F1F5}\u{1F1F0}\u{1F1EA}\u{1F1F0}\u{1F1EC}\u{1F1F0}\u{1F1ED}\u{1F1F0}\u{1F1EE}\u{1F1F0}\u{1F1F2}\u{1F1F0}\u{1F1F3}\u{1F1F0}\u{1F1F5}\u{1F1F0}\u{1F1F7}\u{1F1F0}\u{1F1FC}\u{1F1F0}\u{1F1FE}\u{1F1F0}\u{1F1FF}\u{1F1F1}\u{1F1E6}\u{1F1F1}\u{1F1E7}\u{1F1F1}\u{1F1E8}\u{1F1F1}\u{1F1EE}\u{1F1F1}\u{1F1F0}\u{1F1F1}\u{1F1F7}\u{1F1F1}\u{1F1F8}\u{1F1F1}\u{1F1F9}\u{1F1F1}\u{1F1FA}\u{1F1F1}\u{1F1FB}\u{1F1F1}\u{1F1FE}\u{1F1F2}\u{1F1E6}\u{1F1F2}\u{1F1E8}\u{1F1F2}\u{1F1E9}\u{1F1F2}\u{1F1EA}\u{1F1F2}\u{1F1EB}\u{1F1F2}\u{1F1EC}\u{1F1F2}\u{1F1ED}\u{1F1F2}\u{1F1F0}\u{1F1F2}\u{1F1F1}\u{1F1F2}\u{1F1F2}\u{1F1F2}\u{1F1F3}\u{1F1F2}\u{1F1F4}\u{1F1F2}\u{1F1F5}\u{1F1F2}\u{1F1F6}\u{1F1F2}\u{1F1F7}\u{1F1F2}\u{1F1F8}\u{1F1F2}\u{1F1F9}\u{1F1F2}\u{1F1FA}\u{1F1F2}\u{1F1FB}\u{1F1F2}\u{1F1FC}\u{1F1F2}\u{1F1FD}\u{1F1F2}\u{1F1FE}\u{1F1F2}\u{1F1FF}\u{1F1F3}\u{1F1E6}\u{1F1F3}\u{1F1E8}\u{1F1F3}\u{1F1EA}\u{1F1F3}\u{1F1EB}\u{1F1F3}\u{1F1EC}\u{1F1F3}\u{1F1EE}\u{1F1F3}\u{1F1F1}\u{1F1F3}\u{1F1F4}\u{1F1F3}\u{1F1F5}\u{1F1F3}\u{1F1F7}\u{1F1F3}\u{1F1FA}\u{1F1F3}\u{1F1FF}\u{1F1F4}\u{1F1F2}\u{1F1F5}\u{1F1E6}\u{1F1F5}\u{1F1EA}\u{1F1F5}\u{1F1EB}\u{1F1F5}\u{1F1EC}\u{1F1F5}\u{1F1ED}\u{1F1F5}\u{1F1F0}\u{1F1F5}\u{1F1F1}\u{1F1F5}\u{1F1F2}\u{1F1F5}\u{1F1F3}\u{1F1F5}\u{1F1F7}\u{1F1F5}\u{1F1F8}\u{1F1F5}\u{1F1F9}\u{1F1F5}\u{1F1FC}\u{1F1F5}\u{1F1FE}\u{1F1F6}\u{1F1E6}\u{1F1F7}\u{1F1EA}\u{1F1F7}\u{1F1F4}\u{1F1F7}\u{1F1F8}\u{1F1F7}\u{1F1FA}\u{1F1F7}\u{1F1FC}\u{1F1F8}\u{1F1E6}\u{1F1F8}\u{1F1E7}\u{1F1F8}\u{1F1E8}\u{1F1F8}\u{1F1E9}\u{1F1F8}\u{1F1EA}\u{1F1F8}\u{1F1EC}\u{1F1F8}\u{1F1ED}\u{1F1F8}\u{1F1EE}\u{1F1F8}\u{1F1EF}\u{1F1F8}\u{1F1F0}\u{1F1F8}\u{1F1F1}\u{1F1F8}\u{1F1F2}\u{1F1F8}\u{1F1F3}\u{1F1F8}\u{1F1F4}\u{1F1F8}\u{1F1F7}\u{1F1F8}\u{1F1F8}\u{1F1F8}\u{1F1F9}\u{1F1F8}\u{1F1FB}\u{1F1F8}\u{1F1FD}\u{1F1F8}\u{1F1FE}\u{1F1F8}\u{1F1FF}\u{1F1F9}\u{1F1E6}\u{1F1F9}\u{1F1E8}\u{1F1F9}\u{1F1E9}\u{1F1F9}\u{1F1EB}\u{1F1F9}\u{1F1EC}\u{1F1F9}\u{1F1ED}\u{1F1F9}\u{1F1EF}\u{1F1F9}\u{1F1F0}\u{1F1F9}\u{1F1F1}\u{1F1F9}\u{1F1F2}\u{1F1F9}\u{1F1F3}\u{1F1F9}\u{1F1F4}\u{1F1F9}\u{1F1F7}\u{1F1F9}\u{1F1F9}\u{1F1F9}\u{1F1FB}\u{1F1F9}\u{1F1FC}\u{1F1F9}\u{1F1FF}\u{1F1FA}\u{1F1E6}\u{1F1FA}\u{1F1EC}\u{1F1FA}\u{1F1F2}\u{1F1FA}\u{1F1F3}\u{1F1FA}\u{1F1F8}\u{1F1FA}\u{1F1FE}\u{1F1FA}\u{1F1FF}\u{1F1FB}\u{1F1E6}\u{1F1FB}\u{1F1E8}\u{1F1FB}\u{1F1EA}\u{1F1FB}\u{1F1EC}\u{1F1FB}\u{1F1EE}\u{1F1FB}\u{1F1F3}\u{1F1FB}\u{1F1FA}\u{1F1FC}\u{1F1EB}\u{1F1FC}\u{1F1F8}\u{1F1FD}\u{1F1F0}\u{1F1FE}\u{1F1EA}\u{1F1FE}\u{1F1F9}\u{1F1FF}\u{1F1E6}\u{1F1FF}\u{1F1F2}\u{1F1FF}\u{1F1FC}\u{1F3F4}\u{E0067}\u{E0062}\u{E0065}\u{E006E}\u{1F3F4}\u{E0067}\u{E0062}\u{E0073}\u{E0063}\u{1F3F4}\u{E0067}\u{E0062}\u{E0077}\u{E006C}"}).map(i=>({label:i[0],options:go.splitGraphemes(i[1]).map(e=>({value:e,label:e}))}));var Gc=(i,e)=>({option:i,group:e}),Hc=(i,e,s)=>({template1:i,template2:e,template3:s});function zc(i,e){if(i&1&&(h(0,"strong"),p(1),c(),p(2)),i&2){let s=e.data;E(),ce(s==null?null:s.color),E(),U(": ",s==null?null:s.name,"")}}function $c(i,e){if(i&1&&(h(0,"strong"),p(1),c(),p(2)),i&2){let s=e.data;E(),ce(s==null?null:s.color),E(),U(": ",s==null?null:s.name,"")}}function Wc(i,e){if(i&1&&(h(0,"strong"),p(1),c()),i&2){let s=e.label;E(),U("(",s,")")}}function qc(i,e){if(i&1&&(h(0,"span"),p(1),c()),i&2){let s=e.data;Ht("background",s==null?null:s.color),E(),ce(s==null?null:s.name)}}function Yc(i,e){if(i&1&&(h(0,"strong"),p(1),c(),p(2)),i&2){let s=e.data;E(),ce(s==null?null:s.color),E(),U(": ",s==null?null:s.name,"")}}function Zc(i,e){if(i&1&&(p(0),zi(1,"json")),i&2){let s=e.data;ce($i(1,1,s))}}var as=(()=>{let e=class e{constructor(t){this.fb=t,this.data1=je,this.data2=pi,this.data3=Bt,this.data4=JSON.parse(JSON.stringify(Bt)),this.data5=lo,this.data6=oo,this.data7=JSON.parse(JSON.stringify(Bt)),this.data8=[],this.data9=JSON.parse(JSON.stringify(je)),this.data10=JSON.parse(JSON.stringify(je)),this.data11=JSON.parse(JSON.stringify(je)),this.data12=JSON.parse(JSON.stringify(je)),this.data13=co,this.data15=pi,this.data16=pi,this.data17=ho,this.data18=fo,this.data19=Ln,this.data20=JSON.parse(JSON.stringify(Ln)),this.data21=JSON.parse(JSON.stringify(Ln)),this.data22=po,this.data23=is,this.data24=yn,this.data25=JSON.parse(JSON.stringify(is)),this.data26=ns,this.data28=rs,this.data29=JSON.parse(JSON.stringify(Bt)),this.data29b=JSON.parse(JSON.stringify(je)),this.data30=JSON.parse(JSON.stringify(je)),this.data31=ss,this.data32=JSON.parse(JSON.stringify(Bt)),this.data34=pi,this.data34b=je,this.data35=mo,this.data35b=xo,this.minCountForSearch=1/0,this.value1="CA",this.value2="CA",this.value3="foo",this.value4="bar",this.value5=0,this.value6="foo3",this.value7="",this.value8="",this.value9=[],this.value10=["CA","OR"],this.value11="CA",this.value12="CA",this.value13=!0,this.value15="",this.value16="",this.value17="",this.value18="",this.value19="",this.value20="",this.value21="foo6",this.value22="",this.value23="",this.value24="",this.value25="",this.value26="",this.value28="",this.value29=[],this.value29b=[],this.value30="CA",this.value31="",this.value31b="",this.value32="",this.value33="",this.value34="",this.value34b="",this.value35="",this.value35b="",this.limitSelection=0,this.overlay=!1,this.fg=new cl({state:new O}),this.ctrlForm=this.fb.group({test11:new O(null,ti.required)}),this.ctrlForm2=this.fb.group({test5:new O(0,ti.required)}),this.ctrlForm3=this.fb.group({test33:new O(null)}),this.fg.patchValue(this.formData())}addItem(){let t=this.data6.length+1;this.data6.push({value:"foo"+t,label:"foo"+t})}removeItem(){this.data6.pop()}reset(){this.ctrlForm3.reset()}open(t,n){console.log(t,n)}close(t,n){console.log(t,n)}focus(t,n){console.log(t,n)}blur(t,n){console.log(t,n)}change(t,n){console.log(t,n)}search(t,n){console.log(t,n)}open8(){this.data8=uo}close8(){alert("close")}search8(t){t.filteredData(t.search?t.data.filter(n=>n.label.toLowerCase().includes(t.search.toLowerCase())):t.data)}reset11(){let t=this.ctrlForm.get("test11");t&&t.reset()}change11(){let t=this.ctrlForm.get("test11");t&&t.setValue("UT")}scroll26(t){if(console.log("scroll26",t),t.way==="down"&&!t.search){let n=this.data26.length;for(let a=1+n;a<=50+n;a++)this.data26.push({value:a,label:">"+a})}}update(t,n){console.log("update",n.component.id,n.value),this[t]=n.value}resetForm(){this.fg.reset(this.formData())}print(){console.log("FormControl",this.fg.value)}formData(){return{state:["CA","NV"]}}changeData31(t){switch(t){case"english":this.data31=ss;break;case"french":this.data31=_o;break;case"japanese":this.data31=Eo;break}}};e.\u0275fac=function(n){return new(n||e)(A(_n))},e.\u0275cmp=be({type:e,selectors:[["app-root"]],decls:200,vars:175,consts:[["limit",""],["status",""],["select20",""],["template",""],["templateOption",""],["templateGroup",""],["template1",""],["template2",""],["template3",""],["select31",""],["for","disabled"],["id","disabled","type","checkbox",3,"ngModelChange","ngModel"],[1,"block"],["id","ex-1"],["resettable","","customSearchEnabled","","id","selec2-1",3,"update","change","blur","focus","open","close","search","overlay","data","value"],["id","ex-2"],["id","selec2-2",3,"update","overlay","data","value"],["id","ex-3"],["id","selec2-3",3,"update","overlay","data","value"],["id","ex-4"],["id","selec2-4",3,"overlay","data","value","disabled"],["id","ex-5"],[3,"formGroup"],["formControlName","test5","id","selec2-5",3,"update","overlay","data","minCountForSearch"],["id","ex-6"],["size","3","value","7"],["selected",""],["type","button",3,"click"],["id","selec2-6",3,"update","overlay","data","value","minCountForSearch","displaySearchStatus"],["id","ex-7"],["placeholder","select an item","resettable","","id","selec2-7",3,"update","overlay","data"],["id","ex-8"],["customSearchEnabled","","listPosition","auto","id","selec2-8",3,"open","close","search","update","overlay","data"],["id","ex-9"],["type","number",3,"ngModelChange","ngModel"],["multiple","true","customSearchEnabled","","id","selec2-9",3,"update","blur","focus","open","close","search","overlay","data","value","limitSelection"],["id","ex-10"],["multiple","true","hideSelectedItems","true","id","selec2-10",3,"update","overlay","data","value"],["id","ex-11"],["formControlName","test11","placeholder","Select a state","styleMode","material","id","selec2-11",3,"ngModelChange","overlay","ngModel","data"],[3,"click"],["id","ex-12"],["styleMode","material","id","selec2-12",3,"update","overlay","data","value"],["id","ex-13"],["id","selec2-13",3,"update","overlay","data","value"],["id","ex-14"],["multiple","true","id","selec2-10","formControlName","state",3,"update","overlay","data"],["id","ex-15"],["id","selec2-15",3,"update","overlay","data","value"],["id","ex-16"],["required","","id","selec2-16",3,"update","overlay","data","value"],["id","ex-17"],["id","select2-17",3,"update","overlay","data","value"],["id","ex-18"],["minCharForSearch","3","id","selec2-18",3,"update","overlay","data","value"],["id","ex-19"],["listPosition","above","id","selec2-19",3,"update","overlay","data","value"],[1,"noStyle"],["id","ex-20"],["listPosition","above","id","selec2-20",3,"update","overlay","data","value","styleMode"],["id","ex-21"],["listPosition","above","id","selec2-21",3,"update","overlay","data","value"],["id","ex-22"],["listPosition","auto","id","selec2-22",1,"flower-list",3,"update","overlay","data","value"],["id","ex-23"],["listPosition","above","id","selec2-23",1,"flower-list",3,"update","overlay","data","value","templates"],["id","ex-24"],["listPosition","above","id","selec2-24",1,"flower-list",3,"update","overlay","data","value","templates"],["id","ex-25"],["listPosition","above","id","selec2-25",1,"flower-list",3,"update","overlay","data","value","templates"],["id","ex-26"],["listPosition","above","infiniteScroll","","infiniteScrollDistance","1.5","infiniteScrollThrottle","150","id","selec2-26",3,"update","scroll","overlay","data","value"],["id","ex-27"],["listPosition","auto","id","selec2-27",3,"update","overlay","data","value"],["id","ex-28"],["listPosition","auto","id","selec2-28","maxResults","50","maxResultsMessage","Too much results in this list.",3,"update","overlay","data","value"],["id","ex-29"],["multiple","","autoCreate","","id","selec2-29",3,"update","overlay","data","value"],["id","ex-29b"],["multiple","","autoCreate","","id","selec2-29b",3,"update","overlay","data","value"],["id","ex-30"],["resettable","","resetSelectedValue","CA","id","selec2-30",3,"update","overlay","data","value"],["id","ex-31"],[3,"change"],["id","selec2-31",3,"update","overlay","data","value"],["id","selec2-31b",3,"ngModelChange","update","overlay","data","ngModel"],["id","ex-32"],["resettable","","autoCreate","","resetSelectedValue","CA","id","selec2-32",3,"autoCreateItem","update","overlay","data","value"],["id","ex-33"],["placeholder","Select Name","formControlName","test33","multiple","true","hideSelectedItems","true","id","selec2-33",3,"update","data"],["id","ex-34"],["id","selec2-34","grid","4",3,"autoCreateItem","update","overlay","data","value"],["id","ex-34b"],["grid","4","id","selec2-34b",3,"autoCreateItem","update","overlay","data","value"],["id","ex-35"],["id","selec2-35","grid","35px",3,"autoCreateItem","update","overlay","data","value"],["id","ex-35b"],["multiple","","id","selec2-35b","grid","35px",3,"autoCreateItem","update","overlay","data","value"]],template:function(n,a){if(n&1){let o=_e();h(0,"h2"),p(1,"Examples"),c(),h(2,"label",10),p(3,"overlay : "),c(),h(4,"input",11),Wt("ngModelChange",function(u){return m(o),$t(a.overlay,u)||(a.overlay=u),x(u)}),c(),h(5,"div",12)(6,"h3",13),p(7),c(),h(8,"select2",14),b("update",function(u){return m(o),x(a.update("value1",u))})("change",function(u){return m(o),x(a.change("change1",u))})("blur",function(u){return m(o),x(a.blur("blur1",u))})("focus",function(u){return m(o),x(a.focus("focus1",u))})("open",function(u){return m(o),x(a.open("open1",u))})("close",function(u){return m(o),x(a.close("close1",u))})("search",function(u){return m(o),x(a.search("search1",u))}),c(),h(9,"h3",15),p(10),c(),h(11,"select2",16),b("update",function(u){return m(o),x(a.update("value2",u))}),c(),h(12,"h3",17),p(13),c(),h(14,"select2",18),b("update",function(u){return m(o),x(a.update("value3",u))}),c(),h(15,"h3",19),p(16),c(),L(17,"select2",20),h(18,"h3",21),p(19),c(),h(20,"form",22)(21,"select2",23),b("update",function(u){return m(o),x(a.update("value5",u))}),c()(),h(22,"h3",24),p(23," 6. search limit to "),L(24,"input",25,0),p(26," / display status "),h(27,"select",null,1)(29,"option",26),p(30,"default"),c(),h(31,"option"),p(32,"hidden"),c(),h(33,"option"),p(34,"always"),c()(),p(35),c(),h(36,"div")(37,"button",27),b("click",function(){return m(o),x(a.addItem())}),p(38,"Add item"),c(),h(39,"button",27),b("click",function(){return m(o),x(a.removeItem())}),p(40,"Remove item"),c()(),h(41,"select2",28),b("update",function(u){return m(o),x(a.update("value6",u))}),c(),h(42,"h3",29),p(43),c(),h(44,"select2",30),b("update",function(u){return m(o),x(a.update("value7",u))}),c(),h(45,"h3",31),p(46),c(),h(47,"select2",32),b("open",function(){return m(o),x(a.open8())})("close",function(){return m(o),x(a.close8())})("search",function(u){return m(o),x(a.search8(u))})("update",function(u){return m(o),x(a.update("value8",u))}),h(48,"select2-hint"),p(49),c()(),h(50,"h3",33),p(51,"9. multiple + limite "),h(52,"input",34),Wt("ngModelChange",function(u){return m(o),$t(a.limitSelection,u)||(a.limitSelection=u),x(u)}),c(),p(53),zi(54,"json"),c(),h(55,"select2",35),b("update",function(u){return m(o),x(a.update("value9",u))})("blur",function(u){return m(o),x(a.blur("blur9",u))})("focus",function(u){return m(o),x(a.focus("focus9",u))})("open",function(u){return m(o),x(a.open("open9",u))})("close",function(u){return m(o),x(a.close("close9",u))})("search",function(u){return m(o),x(a.search("search9",u))}),c(),h(56,"h3",36),p(57),zi(58,"json"),c(),h(59,"select2",37),b("update",function(u){return m(o),x(a.update("value10",u))}),c(),h(60,"h3",38),p(61),c(),h(62,"form",22)(63,"select2",39),Wt("ngModelChange",function(u){return m(o),$t(a.value11,u)||(a.value11=u),x(u)}),c(),h(64,"button",40),b("click",function(){return m(o),x(a.reset11())}),p(65,"reset"),c(),h(66,"button",40),b("click",function(){return m(o),x(a.change11())}),p(67,"Utah"),c()(),h(68,"h3",41),p(69),c(),h(70,"select2",42),b("update",function(u){return m(o),x(a.update("value12",u))}),c(),h(71,"h3",43),p(72),c(),h(73,"select2",44),b("update",function(u){return m(o),x(a.update("value13",u))}),c(),h(74,"h3",45),p(75),c(),h(76,"form",22)(77,"select2",46),b("update",function(u){return m(o),x(a.update("value14",u))}),c(),h(78,"button",40),b("click",function(){return m(o),x(a.print())}),p(79,"Log Selected"),c(),h(80,"button",40),b("click",function(){return m(o),x(a.resetForm())}),p(81,"Reset Form"),c()(),h(82,"h3",47),p(83),c(),h(84,"select2",48),b("update",function(u){return m(o),x(a.update("value15",u))}),h(85,"select2-label"),p(86,"Select a state"),c()(),h(87,"h3",49),p(88),c(),h(89,"select2",50),b("update",function(u){return m(o),x(a.update("value16",u))}),h(90,"select2-label"),p(91,"Select a state"),c()(),h(92,"h3",51),p(93),c(),h(94,"select2",52),b("update",function(u){return m(o),x(a.update("value17",u))}),c(),h(95,"h3",53),p(96,"18. search starts with 3 chars"),c(),h(97,"select2",54),b("update",function(u){return m(o),x(a.update("value18",u))}),c(),h(98,"h3",55),p(99),c(),h(100,"select2",56),b("update",function(u){return m(o),x(a.update("value19",u))}),c(),h(101,"div",57)(102,"h3",58),p(103),c(),h(104,"select",null,2)(106,"option",26),p(107,"noStyle"),c(),h(108,"option"),p(109,"borderless"),c()(),L(110,"br"),h(111,"select2",59),b("update",function(u){return m(o),x(a.update("value20",u))}),c()(),h(112,"h3",60),p(113),c(),h(114,"select2",61),b("update",function(u){return m(o),x(a.update("value21",u))}),c(),h(115,"button",40),b("click",function(){return m(o),x(a.value21="")}),p(116,"Update value to empty string"),c(),h(117,"button",40),b("click",function(){return m(o),x(a.value21=null)}),p(118,"Update value to null"),c(),h(119,"button",40),b("click",function(){return m(o),x(a.value21=void 0)}),p(120,"Update value to undefined"),c(),h(121,"h3",62),p(122),c(),h(123,"select2",63),b("update",function(u){return m(o),x(a.update("value22",u))}),c(),h(124,"h3",64),p(125),c(),h(126,"select2",65),b("update",function(u){return m(o),x(a.update("value23",u))}),F(127,zc,3,2,"ng-template",null,3,se),c(),h(129,"h3",66),p(130),c(),h(131,"select2",67),b("update",function(u){return m(o),x(a.update("value24",u))}),F(132,$c,3,2,"ng-template",null,4,se)(134,Wc,2,1,"ng-template",null,5,se),c(),h(136,"h3",68),p(137),c(),h(138,"select2",69),b("update",function(u){return m(o),x(a.update("value25",u))}),F(139,qc,2,3,"ng-template",null,6,se)(141,Yc,3,2,"ng-template",null,7,se)(143,Zc,2,3,"ng-template",null,8,se),c(),h(145,"h3",70),p(146),c(),h(147,"select2",71),b("update",function(u){return m(o),x(a.update("value26",u))})("scroll",function(u){return m(o),x(a.scroll26(u))}),c(),h(148,"h3",72),p(149),c(),h(150,"select2",73),b("update",function(u){return m(o),x(a.update("value2",u))}),c(),h(151,"h3",74),p(152),c(),h(153,"select2",75),b("update",function(u){return m(o),x(a.update("value28",u))}),c(),h(154,"h3",76),p(155),c(),h(156,"select2",77),b("update",function(u){return m(o),x(a.update("value29",u))}),c(),h(157,"h3",78),p(158),c(),h(159,"select2",79),b("update",function(u){return m(o),x(a.update("value29b",u))}),c(),h(160,"h3",80),p(161),c(),h(162,"select2",81),b("update",function(u){return m(o),x(a.update("value30",u))}),c(),h(163,"h3",82),p(164),c(),h(165,"select",83,9),b("change",function(){m(o);let u=Y(166);return x(a.changeData31(u.value))}),h(167,"option"),p(168,"english"),c(),h(169,"option"),p(170,"french"),c(),h(171,"option"),p(172,"japanese"),c()(),L(173,"br"),p(174," Value : "),h(175,"select2",84),b("update",function(u){return m(o),x(a.update("value31",u))}),c(),L(176,"br"),p(177," NgModel : "),h(178,"select2",85),Wt("ngModelChange",function(u){return m(o),$t(a.value31b,u)||(a.value31b=u),x(u)}),b("update",function(u){return m(o),x(a.update("value31b",u))}),c(),h(179,"h3",86),p(180),c(),h(181,"select2",87),b("autoCreateItem",function(u){return m(o),x(a.update("value32",u))})("update",function(u){return m(o),x(a.update("value32",u))}),c(),h(182,"h3",88),p(183),c(),h(184,"form",22)(185,"select2",89),b("update",function(u){return m(o),x(a.update("value33",u))}),c(),h(186,"button",40),b("click",function(){return m(o),x(a.reset())}),p(187,"Reset"),c()(),h(188,"h3",90),p(189),c(),h(190,"select2",91),b("autoCreateItem",function(u){return m(o),x(a.update("value34",u))})("update",function(u){return m(o),x(a.update("value34",u))}),c(),h(191,"h3",92),p(192),c(),h(193,"select2",93),b("autoCreateItem",function(u){return m(o),x(a.update("value34b",u))})("update",function(u){return m(o),x(a.update("value34b",u))}),c(),h(194,"h3",94),p(195),c(),h(196,"select2",95),b("autoCreateItem",function(u){return m(o),x(a.update("value35",u))})("update",function(u){return m(o),x(a.update("value35",u))}),c(),h(197,"h3",96),p(198),c(),h(199,"select2",97),b("autoCreateItem",function(u){return m(o),x(a.update("value35b",u))})("update",function(u){return m(o),x(a.update("value35b",u))}),c()()}if(n&2){let o,l=Y(25),u=Y(28),f=Y(105),d=Y(128),_=Y(133),g=Y(135),R=Y(140),C=Y(142),w=Y(144);E(4),zt("ngModel",a.overlay),E(3),U("1. options in group (",a.value1,")"),E(),v("overlay",a.overlay)("data",a.data1)("value",a.value1),E(2),U("2. options (",a.value2,")"),E(),v("overlay",a.overlay)("data",a.data2)("value",a.value2),E(2),U("3. less options (",a.value3,")"),E(),v("overlay",a.overlay)("data",a.data3)("value",a.value3),E(2),U("4. disabled (",a.value4,")"),E(),v("overlay",a.overlay)("data",a.data4)("value",a.value4)("disabled",!0),E(2),U("5. hide search box (",a.value5,")"),E(),v("formGroup",a.ctrlForm2),E(),v("overlay",a.overlay)("data",a.data5)("minCountForSearch",a.minCountForSearch),E(14),U(" (",a.value6,") "),E(6),v("overlay",a.overlay)("data",a.data6)("value",a.value6)("minCountForSearch",l.value)("displaySearchStatus",u.value),E(2),U("7. placeholder (",a.value7,")"),E(),v("overlay",a.overlay)("data",a.data7),E(2),U("8. open, close and search event (",a.value8,")"),E(),v("overlay",a.overlay)("data",a.data8),E(2),U("value : ",a.value8,""),E(3),zt("ngModel",a.limitSelection),E(),U(" (",$i(54,164,a.value9),")"),E(2),v("overlay",a.overlay)("data",a.data9)("value",a.value9)("limitSelection",a.limitSelection),E(2),U("10. multiple + hide selected items (",$i(58,166,a.value10),")"),E(2),v("overlay",a.overlay)("data",a.data10)("value",a.value10),E(2),U("11. material style and form binding (",a.value11,")"),E(),v("formGroup",a.ctrlForm),E(),v("overlay",a.overlay),zt("ngModel",a.value11),v("data",a.data11),E(6),U("12. material style (",a.value12,")"),E(),v("overlay",a.overlay)("data",a.data12)("value",a.value12),E(2),U("13. boolean value (",a.value13,")"),E(),v("overlay",a.overlay)("data",a.data13)("value",a.value13),E(2),U("14. FormControl (",a.fg.get("state").value,")"),E(),v("formGroup",a.fg),E(),v("overlay",a.overlay)("data",a.data9),E(6),U("15. with label (",a.value15,")"),E(),v("overlay",a.overlay)("data",a.data15)("value",a.value15),E(4),U("16. required with label (",a.value16,")"),E(),v("overlay",a.overlay)("data",a.data16)("value",a.value16),E(4),U("17. with two option labels (",a.value17,")"),E(),v("overlay",a.overlay)("data",a.data17)("value",a.value17),E(3),v("overlay",a.overlay)("data",a.data18)("value",a.value18),E(2),U("19. dropdown list position above (",a.value19,")"),E(),v("overlay",a.overlay)("data",a.data19)("value",a.value19),E(3),U("20. nostyle (",a.value20,")"),E(8),v("overlay",a.overlay)("data",a.data20)("value",a.value20)("styleMode",(f==null?null:f.value)||"noStyle"),E(2),U("21. update to empty/null/undefined (",a.value21,")"),E(),v("overlay",a.overlay)("data",a.data21)("value",a.value21),E(8),U("22. with item classes and id (",a.value22,")"),E(),v("overlay",a.overlay)("data",a.data22)("value",a.value22),E(2),U("23. with template (",a.value23,")"),E(),v("overlay",a.overlay)("data",a.data23)("value",a.value23)("templates",d),E(4),U("24. with template (option / group) (",a.value24,")"),E(),v("overlay",a.overlay)("data",a.data24)("value",a.value24)("templates",ba(168,Gc,_,g)),E(6),U("25. with templates Ids (",a.value25,")"),E(),v("overlay",a.overlay)("data",a.data25)("value",a.value25)("templates",Sa(171,Hc,R,C,w)),E(8),U("26. infiniteScroll(",a.value26,")"),E(),v("overlay",a.overlay)("data",a.data26)("value",a.value26),E(2),U("27. position (",a.value2,")"),E(),v("overlay",a.overlay)("data",a.data2)("value",a.value2),E(2),U("28. max results 50 (",a.value28,")"),E(),v("overlay",a.overlay)("data",a.data28)("value",a.value28),E(2),U("29. option autocreate (",a.value29,")"),E(),v("overlay",a.overlay)("data",a.data29)("value",a.value29),E(2),U("29b. option autocreate search search (",a.value29b,")"),E(),v("overlay",a.overlay)("data",a.data29b)("value",a.value29b),E(2),U("30. selected option when \xD7 is clicked (",a.value30,")"),E(),v("overlay",a.overlay)("data",a.data30)("value",a.value30),E(2),U("31. change list (",a.value31,")"),E(11),v("overlay",a.overlay)("data",a.data31)("value",a.value31),E(3),v("overlay",a.overlay)("data",a.data31),zt("ngModel",a.value31b),E(2),U("32. auto create when (",a.value32,")"),E(),v("overlay",a.overlay)("data",a.data32)("value",a.value32),E(2),U("33. reset form multiple(",(o=a.ctrlForm3.get("test33"))==null?null:o.value,")"),E(),v("formGroup",a.ctrlForm3),E(),v("data",a.data32),E(4),U("34. grid (",a.value34,")"),E(),v("overlay",a.overlay)("data",a.data34)("value",a.value34),E(2),U("34b. grid sub-group (",a.value34b,")"),E(),v("overlay",a.overlay)("data",a.data34b)("value",a.value34b),E(2),U("35. grid-auto (",a.value35,")"),E(),v("overlay",a.overlay)("data",a.data35)("value",a.value35),E(2),U("35b. grid-auto sub-group + multiple (",a.value35b,")"),E(),v("overlay",a.overlay)("data",a.data35b)("value",a.value35b)}},dependencies:[ml,dn,pn,wt,si,ni,on,un,Sr,ut,ai,Sn,Tn,bn,Ua],styles:['@charset "UTF-8";#select2-17[_ngcontent-%COMP%] .select2-multiple-labels{display:flex;justify-content:space-between}.noStyle[_ngcontent-%COMP%]{background-color:#faebd7}.flower-list[_ngcontent-%COMP%] .flower.white:before{content:"\\1f33c "}.flower-list[_ngcontent-%COMP%] .flower.red:before{content:"\\1f339 "}.flower-list[_ngcontent-%COMP%] .flower.yellow:before{content:"\\1f33b "}.block[_ngcontent-%COMP%]{padding-bottom:300px;max-width:500px}']});let i=e;return i})();var wn=class{constructor(e,s={}){this.json=e,this.options={spaceType:"space",spaceLength:4,spaceBase:0,maxLength:0,attrPosition:"alignFirstAttr",wrapAttrNumber:1,type:"html",formatting:"multiline",indent:!0,xmlDefaultTag:"span",noContentTags:["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],removeOptionalEndTags:!1,optionalEndTags:["colgroup","dd","dt","li","optgroup","option","p","rb","rt","rtc","rp","td","th","thead","tbody","tfoot","tr"]},Object.assign(this.options,s)}toString(){let e="",s=this.options.formatting==="inline";return Array.isArray(this.json)?this.json.forEach((t,n)=>{e+=`${n>0&&!s?` -`:""}${this._getSpacing(0)}${this._generate(0,t,s)}`}):e=`${this._getSpacing(0)}${this._generate(0,this.json,s)}`,e}_generate(e,s,t=!1){let n=!this.options.noContentTags.includes(s.tag.toLowerCase()),a=(!n||s.autoclose)&&this._modeXML()?"/":"",o=`<${s.tag}${this._generateAttrs(e,s,t||s.inline)}${a}>`;if(n&&!s.autoclose){let l=this._generateBody(e,s,t||s.inline);l&&this._hasMultiline()&&!(t||s.inline)&&(l=`${l} -${this._getSpacing(e)}`),o+=l,(!this.options.removeOptionalEndTags||this._modeXML()||this.options.removeOptionalEndTags&&!this.options.optionalEndTags.includes(s.tag.toLowerCase()))&&(o+=``)}return o}_generateAttrs(e,s,t){let n="",a=s.attrs;if(a&&Object.keys(a).length){let o=Object.values(s.attrs).filter(d=>d!==void 0).length,l=(this.options.wrapAttrNumber??1){let R=a[d];if(R!==void 0){let C=`${d}${R!==null||R?`="${String(R).replace(/"/g,""e;")}"`:""}`,w="",D="",[he,Pe]=l.split(" ");switch(he){case"inline":if(!this.options.maxLength||(u.replace(/\n/g,"")+(f>1?" ":"")+C+(_===g.length-1?">":"")).length{n+=this._generateBodyElement(e,a,!1,t)}):n+=this._generateBodyElement(e,s.body,!0,t)),n}_generateBodyElement(e,s,t,n=!1){let a="";return this._hasMultiline()&&!n&&(a+=` -${this._getSpacing(e+1)}`),!t&&this._modeXML()&&typeof s=="string"&&(s={tag:this.options.xmlDefaultTag,body:s}),a+=typeof s=="string"?this._formatText(e+1,s,n):this._generate(e+1,s,n),a}_formatText(e,s,t=!1){let n="",a=this._getSpacing(e);if(!t&&this.options.maxLength){let o=s.split(` -`);for(let l of o){let u="";if((a+l).length>this.options.maxLength){let f=l.split(" ");for(let d of f)(a+u+(u?" ":"")+d).length{let e=class e{constructor(t){this.fb=t,this.data=yn,this.html="",this.ctrlForm=this.fb.group({json:new O(JSON.stringify(this.data,null,2)),label:new O,hint:new O,disabled:new O,overlay:new O,minCharForSearch:new O,minCountForSearch:new O,displaySearchStatus:new O,placeholder:new O,multiple:new O,autoCreate:new O,resettable:new O,resetSelectedValue:new O,limitSelection:new O,hideSelectedItems:new O,resultMaxHeight:new O,listPosition:new O,infiniteScroll:new O,infiniteScrollDistance:new O,infiniteScrollThrottle:new O,styleMode:new O,noResultMessage:new O,maxResults:new O,maxResultsMessage:new O,grid:new O,template:new O,noLabelTemplate:new O,update:new O,open:new O,close:new O,focus:new O,blur:new O,search:new O,scroll:new O,removeOption:new O}),this.ctrlForm.valueChanges.subscribe(()=>{let n=this.ctrlForm.value;console.log(n)}),this.ctrlForm.valueChanges.subscribe(n=>this.codeGeneration()),this.ctrlForm.get("json").valueChanges.subscribe(n=>this.changeJson(n))}ngAfterContentInit(){this.codeGeneration()}getTemplate(t,n,a,o,l){switch(this.ctrlForm.value.template){case"ref":return t;case"option-group":return{option:n,group:a};case"templateId":return{template1:o,template2:l}}}_event(t,n){this.ctrlForm.value&&this.ctrlForm.value[t]&&console.log("Event",t,n)}codeGeneration(){let t={tag:"select2",attrs:{"[data]":"data"},body:[]},n=this.ctrlForm.value,a=t.attrs,o=t.body;switch(n.label&&o.push({tag:"select2-label",body:n.label,inline:!0}),n.hint&&o.push({tag:"select2-hint",body:n.hint,inline:!0}),n.disabled&&(a.disabled=this._testBoolean(n.disabled)),n.overlay&&(a.overlay=this._testBoolean(n.overlay)),n.minCharForSearch&&(a.minCharForSearch=n.minCharForSearch),n.minCountForSearch&&(a.minCountForSearch=n.minCountForSearch),n.displaySearchStatus&&(a.displaySearchStatus=n.displaySearchStatus),n.placeholder&&(a.placeholder=n.placeholder),n.search&&(a.customSearchEnabled=this._testBoolean(n.search)),n.multiple?a.multiple=this._testBoolean(n.multiple):(n.resettable&&(a.resettable=this._testBoolean(n.resettable)),n.resetSelectedValue&&(a.resetSelectedValue=n.resetSelectedValue)),n.autoCreate&&(a.autoCreate=this._testBoolean(n.autoCreate)),n.limitSelection&&(a.limitSelection=n.limitSelection),n.hideSelectedItems&&(a.hideSelectedItems=this._testBoolean(n.hideSelectedItems)),n.resultMaxHeight&&(a.resultMaxHeight=n.resultMaxHeight),n.listPosition&&(a.listPosition=n.listPosition),n.infiniteScroll&&(a.infiniteScroll=this._testBoolean(n.infiniteScroll)),n.infiniteScrollDistance&&(a.infiniteScrollDistance=n.infiniteScrollDistance),n.infiniteScrollThrottle&&(a.infiniteScrollThrottle=n.infiniteScrollThrottle),n.grid&&(a.grid=n.grid),n.styleMode&&(a.styleMode=n.styleMode),n.noResultMessage&&(a.noResultMessage=n.noResultMessage),n.maxResultsMessage&&(a.maxResultsMessage=n.maxResultsMessage),n.maxResults&&(a.maxResults=n.maxResults),n.noLabelTemplate&&(a.noLabelTemplate=this._testBoolean(n.noLabelTemplate)),n.template){case"ref":a["[templates]"]="template",o.push({tag:"ng-template",attrs:{"#template":null,"let-data":"data"},body:' {{data?.color}}: {{data?.name}}'});break;case"option-group":a["[templates]"]="{option : option, group: group}",o.push({tag:"ng-template",attrs:{"#option":null,"let-data":"data"},body:"{{data?.name}}"},{tag:"ng-template",attrs:{"#group":null,"let-label":"label"},body:"Group: {{label}}"});break;case"templateId":a["[templates]"]="{template1 : template1, template2: template2}",o.push({tag:"ng-template",attrs:{"#template1":null,"let-data":"data"},body:"{{data?.name}}"},{tag:"ng-template",attrs:{"#template2":null,"let-label":"label","let-data":"data"},body:"{{label}} : {{data?.color}}"});break}n.update&&(a["(update)"]="_update($event)"),n.open&&(a["(open)"]="_open($event)"),n.close&&(a["(close)"]="_close($event)"),n.focus&&(a["(focus)"]="_focus($event)"),n.blur&&(a["(blur)"]="_blur($event)"),n.search&&(a["(search)"]="_search($event)"),this.html=new wn(t).toString()}changeJson(t){this.jsonError="";try{this.data=JSON.parse(t)}catch(n){this.jsonError=this._parseJsonError(t,n)}}_parseJsonError(t,n){let a="",o=n.message.match(/[^\n]+/)[0],l=Co.getParser(window.navigator.userAgent).getResult();if(l.browser.name==="Chrome")if(o.match(/at position/)){let u=parseInt(o.match(/at position (\d+)/)[1],10),f=t.split(/\n/),d=1;for(let _ of f)if(_){if(d+_.length>=u){a=o+"
"+_+`
-`+" ".repeat(u-d+1)+"^
";break}d+=_.length+1}}else a=o;else if(l.browser.name==="Firefox")if(o.match(/at line/)){let[,u,f]=o.match(/at line (\d+) column (\d+)/),d=t.split(/\n/);d[+u-1]?a=o+"
"+d[+u-1]+`
-`+" ".repeat(+f-1)+"^
":a=o}else a=o;else a=o;return a}_testBoolean(t){return t?null:void 0}};e.\u0275fac=function(n){return new(n||e)(A(_n))},e.\u0275cmp=be({type:e,selectors:[["app-root"]],decls:215,vars:16,consts:[["template",""],["option",""],["group",""],["template1",""],["template2",""],[1,"cols"],[3,"formGroup"],["for","json"],["formControlName","json","id","json"],[1,"error",3,"innerHTML"],["for","label"],["type","text","formControlName","label","id","label"],["for","hint"],["type","text","formControlName","hint","id","hint"],["for","disabled"],["type","checkbox","formControlName","disabled","id","disabled"],["for","overlay"],["type","checkbox","formControlName","overlay","id","overlay"],["for","minCharForSearch"],["type","number","formControlName","minCharForSearch","id","minCharForSearch"],["for","minCountForSearch"],["type","number","formControlName","minCountForSearch","id","minCountForSearch"],["for","displaySearchStatus"],["formControlName","displaySearchStatus","id","displaySearchStatus"],["value","default"],["value","hidden"],["value","always"],["for","placeholder"],["type","text","formControlName","placeholder","id","placeholder"],["for","noResultMessage"],["type","text","formControlName","noResultMessage","id","noResultMessage"],["for","multiple"],["type","checkbox","formControlName","multiple","id","multiple"],["for","resettable"],["type","checkbox","formControlName","resettable","id","resettable"],["for","resetSelectedValue"],["formControlName","resetSelectedValue","id","resetSelectedValue"],[3,"value"],["value","hibiscus"],["value","marigold"],["value","sunflower"],["value","heliotrope"],["value","lily"],["value","petunia"],["for","autoCreate"],["type","checkbox","formControlName","autoCreate","id","autoCreate"],["for","limitSelection"],["type","number","formControlName","limitSelection","id","limitSelection"],["for","grid"],["type","string","formControlName","grid","id","grid"],["for","hideSelectedItems"],["type","checkbox","formControlName","hideSelectedItems","id","hideSelectedItems"],["for","resultMaxHeight"],["type","text","formControlName","resultMaxHeight","id","resultMaxHeight"],["for","maxResults"],["type","text","formControlName","maxResults","id","maxResults"],["for","maxResultsMessage"],["type","text","formControlName","maxResultsMessage","id","maxResultsMessage"],["for","listPosition"],["formControlName","listPosition","id","listPosition"],["value","below"],["value","above"],["for","infiniteScroll"],["type","checkbox","formControlName","infiniteScroll","id","infiniteScroll"],["for","infiniteScrollDistance"],["type","number","formControlName","infiniteScrollDistance","id","infiniteScrollDistance"],["for","infiniteScrollThrottle"],["type","number","formControlName","infiniteScrollThrottle","id","infiniteScrollThrottle"],["for","styleMode"],["formControlName","styleMode","id","listPstyleModeosition"],["value",""],["value","material"],["value","noStyle"],["value","borderless"],["for","template"],["formControlName","template","id","template"],["value","none"],["value","ref"],["value","option-group"],["value","templateId"],["for","noLabelTemplate"],["type","checkbox","formControlName","noLabelTemplate","id","noLabelTemplate"],["for","update"],["type","checkbox","formControlName","update","id","update"],["for","open"],["type","checkbox","formControlName","open","id","open"],["for","close"],["type","checkbox","formControlName","close","id","close"],["for","focus"],["type","checkbox","formControlName","focus","id","focus"],["for","blur"],["type","checkbox","formControlName","blur","id","blur"],["for","search"],["type","checkbox","formControlName","search","id","search"],["for","scroll"],["type","checkbox","formControlName","scroll","id","scroll"],["for","removeOption"],["type","checkbox","formControlName","removeOption","id","removeOption"],[1,"result"],[3,"data","overlay","disabled","minCharForSearch","minCountForSearch","displaySearchStatus","placeholder","customSearchEnabled","multiple","resettable","resetSelectedValue","autoCreate","limitSelection","hideSelectedItems","resultMaxHeight","maxResults","maxResultsMessage","listPosition","infiniteScroll","infiniteScrollDistance","infiniteScrollThrottle","styleMode","noResultMessage","grid","noLabelTemplate","templates"],[1,"code"],["language","html",3,"highlight"],[3,"update","open","close","focus","blur","search","scroll","removeOption","data","overlay","disabled","minCharForSearch","minCountForSearch","displaySearchStatus","placeholder","customSearchEnabled","multiple","resettable","resetSelectedValue","autoCreate","limitSelection","hideSelectedItems","resultMaxHeight","maxResults","maxResultsMessage","listPosition","infiniteScroll","infiniteScrollDistance","infiniteScrollThrottle","styleMode","noResultMessage","grid","noLabelTemplate","templates"],[3,"innerHTML"]],template:function(n,a){n&1&&(h(0,"h2"),p(1,"Generator"),c(),h(2,"div",5)(3,"div",6)(4,"h4"),p(5,"data"),c(),h(6,"div")(7,"label",7),p(8,"json (for "),h(9,"code"),p(10,"[data]"),c(),p(11,") : "),c(),L(12,"textarea",8)(13,"div",9),c(),h(14,"h4"),p(15,"tags"),c(),h(16,"div")(17,"label",10),p(18,"label : "),c(),L(19,"input",11),c(),h(20,"div")(21,"label",12),p(22,"hint : "),c(),L(23,"input",13),c(),h(24,"h4"),p(25,"parameters"),c(),h(26,"div")(27,"label",14),p(28,"disabled : "),c(),L(29,"input",15),c(),h(30,"div")(31,"label",16),p(32,"overlay : "),c(),L(33,"input",17),c(),h(34,"div")(35,"label",18),p(36,"minCharForSearch (0) : "),c(),L(37,"input",19),c(),h(38,"div")(39,"label",20),p(40,"minCountForSearch (6) : "),c(),L(41,"input",21),c(),h(42,"div")(43,"label",22),p(44,"displaySearchStatus :"),c(),h(45,"select",23)(46,"option",24),p(47,"default"),c(),h(48,"option",25),p(49,"hidden"),c(),h(50,"option",26),p(51,"always"),c()()(),h(52,"div")(53,"label",27),p(54,"placeholder : "),c(),L(55,"input",28),c(),h(56,"div")(57,"label",29),p(58,"noResultMessage : "),c(),L(59,"input",30),c(),h(60,"div")(61,"label",31),p(62,"multiple : "),c(),L(63,"input",32),c(),h(64,"div")(65,"label",33),p(66,"resettable : "),c(),L(67,"input",34),c(),h(68,"div")(69,"label",35),p(70,"resetSelectedValue : "),c(),h(71,"select",36)(72,"option",37),p(73,"undefined"),c(),h(74,"option",37),p(75,"null"),c(),h(76,"option",38),p(77,"hibiscus"),c(),h(78,"option",39),p(79,"marigold"),c(),h(80,"option",40),p(81,"sunflower"),c(),h(82,"option",41),p(83,"heliotrope"),c(),h(84,"option",42),p(85,"lily"),c(),h(86,"option",43),p(87,"petunia"),c()()(),h(88,"div")(89,"label",44),p(90,"autoCreate : "),c(),L(91,"input",45),c(),h(92,"div")(93,"label",46),p(94,"limitSelection (0) : "),c(),L(95,"input",47),c(),h(96,"div")(97,"label",48),p(98,"grid (4 or '100px') : "),c(),L(99,"input",49),c(),h(100,"div")(101,"label",50),p(102,"hideSelectedItems : "),c(),L(103,"input",51),c(),h(104,"div")(105,"label",52),p(106,"resultMaxHeight ('200px') : "),c(),L(107,"input",53),c(),h(108,"div")(109,"label",54),p(110,"maxResults (0 = infinity) : "),c(),L(111,"input",55),c(),h(112,"div")(113,"label",56),p(114,"maxResultsMessage ('Too much result...') : "),c(),L(115,"input",57),c(),h(116,"div")(117,"label",58),p(118,"listPosition :"),c(),h(119,"select",59),L(120,"option"),h(121,"option",60),p(122,"below"),c(),h(123,"option",61),p(124,"above"),c()()(),h(125,"div")(126,"label",62),p(127,"infiniteScroll : "),c(),L(128,"input",63),c(),h(129,"div")(130,"label",64),p(131,"infiniteScrollDistance (1.5) : "),c(),L(132,"input",65),c(),h(133,"div")(134,"label",66),p(135,"infiniteScrollThrottle (150) : "),c(),L(136,"input",67),c(),h(137,"div")(138,"label",68),p(139,"styleMode : "),c(),h(140,"select",69)(141,"option",70),p(142,"default"),c(),h(143,"option",71),p(144,"material"),c(),h(145,"option",72),p(146,"noStyle"),c(),h(147,"option",73),p(148,"borderless"),c()()(),h(149,"h4"),p(150,"Templates"),c(),h(151,"div")(152,"label",74),p(153,"template style :"),c(),h(154,"select",75)(155,"option",76),p(156,"None"),c(),h(157,"option",77),p(158,"Unique template"),c(),h(159,"option",78),p(160,"Template group & option"),c(),h(161,"option",79),p(162,"Template by templateId"),c()()(),h(163,"div")(164,"label",80),p(165,"noLabelTemplate : "),c(),L(166,"input",81),c(),h(167,"h4"),p(168,"Events"),c(),h(169,"div")(170,"label",82),p(171,"update: "),c(),L(172,"input",83),c(),h(173,"div")(174,"label",84),p(175,"open: "),c(),L(176,"input",85),c(),h(177,"div")(178,"label",86),p(179,"close: "),c(),L(180,"input",87),c(),h(181,"div")(182,"label",88),p(183,"focus: "),c(),L(184,"input",89),c(),h(185,"div")(186,"label",90),p(187,"blur: "),c(),L(188,"input",91),c(),h(189,"div")(190,"label",92),p(191,"search: "),c(),L(192,"input",93),p(193," (Required: "),h(194,"code"),p(195,"customSearchEnabled"),c(),p(196,") "),c(),h(197,"div")(198,"label",94),p(199,"scroll: "),c(),L(200,"input",95),c(),h(201,"div")(202,"label",96),p(203,"removeOption: "),c(),L(204,"input",97),c()(),h(205,"div")(206,"div",98)(207,"h4"),p(208,"HTML render"),c(),F(209,rh,13,28,"select2",99),h(210,"h4"),p(211,"HTML Code"),c(),h(212,"div",100)(213,"code"),L(214,"pre",101),c()()()()()),n&2&&(E(3),v("formGroup",a.ctrlForm),E(10),v("innerHTML",a.jsonError,Ce),E(51),Z("hide",a.ctrlForm==null||a.ctrlForm.value==null?null:a.ctrlForm.value.multiple),E(4),Z("hide",a.ctrlForm==null||a.ctrlForm.value==null?null:a.ctrlForm.value.multiple),E(4),v("value",void 0),E(2),v("value",null),E(26),Z("hide",!(!(a.ctrlForm==null||a.ctrlForm.value==null)&&a.ctrlForm.value.multiple)),E(29),Z("hide",!(!(a.ctrlForm==null||a.ctrlForm.value==null)&&a.ctrlForm.value.infiniteScrollDistance)),E(4),Z("hide",!(!(a.ctrlForm==null||a.ctrlForm.value==null)&&a.ctrlForm.value.infiniteScroll)),E(76),q(a.ctrlForm.value?209:-1),E(5),v("highlight",a.html))},dependencies:[dn,pn,wt,si,ni,hn,on,un,ut,ai,Sn,Tn,bn,ka],styles:["label[_ngcontent-%COMP%]{display:inline-block;width:250px}.cols[_ngcontent-%COMP%]{display:flex;max-width:100%}.cols[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:1 0 50%;max-width:50%}.code[_ngcontent-%COMP%]{overflow:auto}.error[_ngcontent-%COMP%]{color:red}textarea#json[_ngcontent-%COMP%]{width:calc(100% - 15px);resize:vertical;box-sizing:border-box;height:200px}.hide[_ngcontent-%COMP%]{display:none}.result[_ngcontent-%COMP%]{position:sticky;top:0}"]});let i=e;return i})();var V="primary",wi=Symbol("RouteTitle"),hs=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let s=this.params[e];return Array.isArray(s)?s[0]:s}return null}getAll(e){if(this.has(e)){let s=this.params[e];return Array.isArray(s)?s:[s]}return[]}get keys(){return Object.keys(this.params)}};function Dt(i){return new hs(i)}function ah(i,e,s){let t=s.path.split("/");if(t.length>i.length||s.pathMatch==="full"&&(e.hasChildren()||t.lengtht[a]===n)}else return i===e}function Vo(i){return i.length>0?i[i.length-1]:null}function it(i){return Jn(i)?i:Wi(i)?re(Promise.resolve(i)):y(i)}var oh={exact:Do,subset:Ko},Po={exact:uh,subset:fh,ignored:()=>!0};function bo(i,e,s){return oh[s.paths](i.root,e.root,s.matrixParams)&&Po[s.queryParams](i.queryParams,e.queryParams)&&!(s.fragment==="exact"&&i.fragment!==e.fragment)}function uh(i,e){return Ve(i,e)}function Do(i,e,s){if(!_t(i.segments,e.segments)||!Un(i.segments,e.segments,s)||i.numberOfChildren!==e.numberOfChildren)return!1;for(let t in e.children)if(!i.children[t]||!Do(i.children[t],e.children[t],s))return!1;return!0}function fh(i,e){return Object.keys(e).length<=Object.keys(i).length&&Object.keys(e).every(s=>Oo(i[s],e[s]))}function Ko(i,e,s){return No(i,e,e.segments,s)}function No(i,e,s,t){if(i.segments.length>s.length){let n=i.segments.slice(0,s.length);return!(!_t(n,s)||e.hasChildren()||!Un(n,s,t))}else if(i.segments.length===s.length){if(!_t(i.segments,s)||!Un(i.segments,s,t))return!1;for(let n in e.children)if(!i.children[n]||!Ko(i.children[n],e.children[n],t))return!1;return!0}else{let n=s.slice(0,i.segments.length),a=s.slice(i.segments.length);return!_t(i.segments,n)||!Un(i.segments,n,t)||!i.children[V]?!1:No(i.children[V],e,a,t)}}function Un(i,e,s){return e.every((t,n)=>Po[s](i[n].parameters,t.parameters))}var Ge=class{constructor(e=new X([],{}),s={},t=null){this.root=e,this.queryParams=s,this.fragment=t}get queryParamMap(){return this._queryParamMap??=Dt(this.queryParams),this._queryParamMap}toString(){return dh.serialize(this)}},X=class{constructor(e,s){this.segments=e,this.children=s,this.parent=null,Object.values(s).forEach(t=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return On(this)}},pt=class{constructor(e,s){this.path=e,this.parameters=s}get parameterMap(){return this._parameterMap??=Dt(this.parameters),this._parameterMap}toString(){return ko(this)}};function ch(i,e){return _t(i,e)&&i.every((s,t)=>Ve(s.parameters,e[t].parameters))}function _t(i,e){return i.length!==e.length?!1:i.every((s,t)=>s.path===e[t].path)}function hh(i,e){let s=[];return Object.entries(i.children).forEach(([t,n])=>{t===V&&(s=s.concat(e(n,t)))}),Object.entries(i.children).forEach(([t,n])=>{t!==V&&(s=s.concat(e(n,t)))}),s}var Bi=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:()=>new Kt,providedIn:"root"});let i=e;return i})(),Kt=class{parse(e){let s=new _s(e);return new Ge(s.parseRootSegment(),s.parseQueryParams(),s.parseFragment())}serialize(e){let s=`/${Ei(e.root,!0)}`,t=Eh(e.queryParams),n=typeof e.fragment=="string"?`#${ph(e.fragment)}`:"";return`${s}${t}${n}`}},dh=new Kt;function On(i){return i.segments.map(e=>ko(e)).join("/")}function Ei(i,e){if(!i.hasChildren())return On(i);if(e){let s=i.children[V]?Ei(i.children[V],!1):"",t=[];return Object.entries(i.children).forEach(([n,a])=>{n!==V&&t.push(`${n}:${Ei(a,!1)}`)}),t.length>0?`${s}(${t.join("//")})`:s}else{let s=hh(i,(t,n)=>n===V?[Ei(i.children[V],!1)]:[`${n}:${Ei(t,!1)}`]);return Object.keys(i.children).length===1&&i.children[V]!=null?`${On(i)}/${s[0]}`:`${On(i)}/(${s.join("//")})`}}function Io(i){return encodeURIComponent(i).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Bn(i){return Io(i).replace(/%3B/gi,";")}function ph(i){return encodeURI(i)}function ps(i){return Io(i).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Vn(i){return decodeURIComponent(i)}function So(i){return Vn(i.replace(/\+/g,"%20"))}function ko(i){return`${ps(i.path)}${_h(i.parameters)}`}function _h(i){return Object.entries(i).map(([e,s])=>`;${ps(e)}=${ps(s)}`).join("")}function Eh(i){let e=Object.entries(i).map(([s,t])=>Array.isArray(t)?t.map(n=>`${Bn(s)}=${Bn(n)}`).join("&"):`${Bn(s)}=${Bn(t)}`).filter(s=>s);return e.length?`?${e.join("&")}`:""}var gh=/^[^\/()?;#]+/;function os(i){let e=i.match(gh);return e?e[0]:""}var mh=/^[^\/()?;=#]+/;function xh(i){let e=i.match(mh);return e?e[0]:""}var Rh=/^[^=?&#]+/;function Ch(i){let e=i.match(Rh);return e?e[0]:""}var vh=/^[^&#]+/;function bh(i){let e=i.match(vh);return e?e[0]:""}var _s=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new X([],{}):new X([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let s={};this.peekStartsWith("/(")&&(this.capture("/"),s=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(e.length>0||Object.keys(s).length>0)&&(t[V]=new X(e,s)),t}parseSegment(){let e=os(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new te(4009,!1);return this.capture(e),new pt(Vn(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let s=xh(this.remaining);if(!s)return;this.capture(s);let t="";if(this.consumeOptional("=")){let n=os(this.remaining);n&&(t=n,this.capture(t))}e[Vn(s)]=Vn(t)}parseQueryParam(e){let s=Ch(this.remaining);if(!s)return;this.capture(s);let t="";if(this.consumeOptional("=")){let o=bh(this.remaining);o&&(t=o,this.capture(t))}let n=So(s),a=So(t);if(e.hasOwnProperty(n)){let o=e[n];Array.isArray(o)||(o=[o],e[n]=o),o.push(a)}else e[n]=a}parseParens(e){let s={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let t=os(this.remaining),n=this.remaining[t.length];if(n!=="/"&&n!==")"&&n!==";")throw new te(4010,!1);let a;t.indexOf(":")>-1?(a=t.slice(0,t.indexOf(":")),this.capture(a),this.capture(":")):e&&(a=V);let o=this.parseChildren();s[a]=Object.keys(o).length===1?o[V]:new X([],o),this.consumeOptional("//")}return s}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new te(4011,!1)}};function Fo(i){return i.segments.length>0?new X([],{[V]:i}):i}function jo(i){let e={};for(let[t,n]of Object.entries(i.children)){let a=jo(n);if(t===V&&a.segments.length===0&&a.hasChildren())for(let[o,l]of Object.entries(a.children))e[o]=l;else(a.segments.length>0||a.hasChildren())&&(e[t]=a)}let s=new X(i.segments,e);return Sh(s)}function Sh(i){if(i.numberOfChildren===1&&i.children[V]){let e=i.children[V];return new X(i.segments.concat(e.segments),e.children)}return i}function Et(i){return i instanceof Ge}function Th(i,e,s=null,t=null){let n=Xo(i);return Go(n,e,s,t)}function Xo(i){let e;function s(a){let o={};for(let u of a.children){let f=s(u);o[u.outlet]=f}let l=new X(a.url,o);return a===i&&(e=l),l}let t=s(i.root),n=Fo(t);return e??n}function Go(i,e,s,t){let n=i;for(;n.parent;)n=n.parent;if(e.length===0)return us(n,n,n,s,t);let a=Ah(e);if(a.toRoot())return us(n,n,new X([],{}),s,t);let o=Lh(a,n,i),l=o.processChildren?xi(o.segmentGroup,o.index,a.commands):zo(o.segmentGroup,o.index,a.commands);return us(n,o.segmentGroup,l,s,t)}function Pn(i){return typeof i=="object"&&i!=null&&!i.outlets&&!i.segmentPath}function vi(i){return typeof i=="object"&&i!=null&&i.outlets}function us(i,e,s,t,n){let a={};t&&Object.entries(t).forEach(([u,f])=>{a[u]=Array.isArray(f)?f.map(d=>`${d}`):`${f}`});let o;i===e?o=s:o=Ho(i,e,s);let l=Fo(jo(o));return new Ge(l,a,n)}function Ho(i,e,s){let t={};return Object.entries(i.children).forEach(([n,a])=>{a===e?t[n]=s:t[n]=Ho(a,e,s)}),new X(i.segments,t)}var Dn=class{constructor(e,s,t){if(this.isAbsolute=e,this.numberOfDoubleDots=s,this.commands=t,e&&t.length>0&&Pn(t[0]))throw new te(4003,!1);let n=t.find(vi);if(n&&n!==Vo(t))throw new te(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Ah(i){if(typeof i[0]=="string"&&i.length===1&&i[0]==="/")return new Dn(!0,0,i);let e=0,s=!1,t=i.reduce((n,a,o)=>{if(typeof a=="object"&&a!=null){if(a.outlets){let l={};return Object.entries(a.outlets).forEach(([u,f])=>{l[u]=typeof f=="string"?f.split("/"):f}),[...n,{outlets:l}]}if(a.segmentPath)return[...n,a.segmentPath]}return typeof a!="string"?[...n,a]:o===0?(a.split("/").forEach((l,u)=>{u==0&&l==="."||(u==0&&l===""?s=!0:l===".."?e++:l!=""&&n.push(l))}),n):[...n,a]},[]);return new Dn(s,e,t)}var Ot=class{constructor(e,s,t){this.segmentGroup=e,this.processChildren=s,this.index=t}};function Lh(i,e,s){if(i.isAbsolute)return new Ot(e,!0,0);if(!s)return new Ot(e,!1,NaN);if(s.parent===null)return new Ot(s,!0,0);let t=Pn(i.commands[0])?0:1,n=s.segments.length-1+t;return yh(s,n,i.numberOfDoubleDots)}function yh(i,e,s){let t=i,n=e,a=s;for(;a>n;){if(a-=n,t=t.parent,!t)throw new te(4005,!1);n=t.segments.length}return new Ot(t,!1,n-a)}function wh(i){return vi(i[0])?i[0].outlets:{[V]:i}}function zo(i,e,s){if(i??=new X([],{}),i.segments.length===0&&i.hasChildren())return xi(i,e,s);let t=Bh(i,e,s),n=s.slice(t.commandIndex);if(t.match&&t.pathIndexa!==V)&&i.children[V]&&i.numberOfChildren===1&&i.children[V].segments.length===0){let a=xi(i.children[V],e,s);return new X(i.segments,a.children)}return Object.entries(t).forEach(([a,o])=>{typeof o=="string"&&(o=[o]),o!==null&&(n[a]=zo(i.children[a],e,o))}),Object.entries(i.children).forEach(([a,o])=>{t[a]===void 0&&(n[a]=o)}),new X(i.segments,n)}}function Bh(i,e,s){let t=0,n=e,a={match:!1,pathIndex:0,commandIndex:0};for(;n=s.length)return a;let o=i.segments[n],l=s[t];if(vi(l))break;let u=`${l}`,f=t0&&u===void 0)break;if(u&&f&&typeof f=="object"&&f.outlets===void 0){if(!Ao(u,f,o))return a;t+=2}else{if(!Ao(u,{},o))return a;t++}n++}return{match:!0,pathIndex:n,commandIndex:t}}function Es(i,e,s){let t=i.segments.slice(0,e),n=0;for(;n{typeof t=="string"&&(t=[t]),t!==null&&(e[s]=Es(new X([],{}),0,t))}),e}function To(i){let e={};return Object.entries(i).forEach(([s,t])=>e[s]=`${t}`),e}function Ao(i,e,s){return i==s.path&&Ve(e,s.parameters)}var Ri="imperative",ne=function(i){return i[i.NavigationStart=0]="NavigationStart",i[i.NavigationEnd=1]="NavigationEnd",i[i.NavigationCancel=2]="NavigationCancel",i[i.NavigationError=3]="NavigationError",i[i.RoutesRecognized=4]="RoutesRecognized",i[i.ResolveStart=5]="ResolveStart",i[i.ResolveEnd=6]="ResolveEnd",i[i.GuardsCheckStart=7]="GuardsCheckStart",i[i.GuardsCheckEnd=8]="GuardsCheckEnd",i[i.RouteConfigLoadStart=9]="RouteConfigLoadStart",i[i.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",i[i.ChildActivationStart=11]="ChildActivationStart",i[i.ChildActivationEnd=12]="ChildActivationEnd",i[i.ActivationStart=13]="ActivationStart",i[i.ActivationEnd=14]="ActivationEnd",i[i.Scroll=15]="Scroll",i[i.NavigationSkipped=16]="NavigationSkipped",i}(ne||{}),ve=class{constructor(e,s){this.id=e,this.url=s}},Nt=class extends ve{constructor(e,s,t="imperative",n=null){super(e,s),this.type=ne.NavigationStart,this.navigationTrigger=t,this.restoredState=n}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Le=class extends ve{constructor(e,s,t){super(e,s),this.urlAfterRedirects=t,this.type=ne.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},me=function(i){return i[i.Redirect=0]="Redirect",i[i.SupersededByNewNavigation=1]="SupersededByNewNavigation",i[i.NoDataFromResolver=2]="NoDataFromResolver",i[i.GuardRejected=3]="GuardRejected",i}(me||{}),Kn=function(i){return i[i.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",i[i.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",i}(Kn||{}),Xe=class extends ve{constructor(e,s,t,n){super(e,s),this.reason=t,this.code=n,this.type=ne.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},tt=class extends ve{constructor(e,s,t,n){super(e,s),this.reason=t,this.code=n,this.type=ne.NavigationSkipped}},bi=class extends ve{constructor(e,s,t,n){super(e,s),this.error=t,this.target=n,this.type=ne.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Nn=class extends ve{constructor(e,s,t,n){super(e,s),this.urlAfterRedirects=t,this.state=n,this.type=ne.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},gs=class extends ve{constructor(e,s,t,n){super(e,s),this.urlAfterRedirects=t,this.state=n,this.type=ne.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ms=class extends ve{constructor(e,s,t,n,a){super(e,s),this.urlAfterRedirects=t,this.state=n,this.shouldActivate=a,this.type=ne.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},xs=class extends ve{constructor(e,s,t,n){super(e,s),this.urlAfterRedirects=t,this.state=n,this.type=ne.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Rs=class extends ve{constructor(e,s,t,n){super(e,s),this.urlAfterRedirects=t,this.state=n,this.type=ne.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Cs=class{constructor(e){this.route=e,this.type=ne.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},vs=class{constructor(e){this.route=e,this.type=ne.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},bs=class{constructor(e){this.snapshot=e,this.type=ne.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ss=class{constructor(e){this.snapshot=e,this.type=ne.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ts=class{constructor(e){this.snapshot=e,this.type=ne.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},As=class{constructor(e){this.snapshot=e,this.type=ne.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},In=class{constructor(e,s,t){this.routerEvent=e,this.position=s,this.anchor=t,this.type=ne.Scroll}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},Si=class{},It=class{constructor(e,s){this.url=e,this.navigationBehaviorOptions=s}};function Uh(i,e){return i.providers&&!i._injector&&(i._injector=lr(i.providers,e,`Route: ${i.path}`)),i._injector??e}function Ae(i){return i.outlet||V}function Oh(i,e){let s=i.filter(t=>Ae(t)===e);return s.push(...i.filter(t=>Ae(t)!==e)),s}function Mi(i){if(!i)return null;if(i.routeConfig?._injector)return i.routeConfig._injector;for(let e=i.parent;e;e=e.parent){let s=e.routeConfig;if(s?._loadedInjector)return s._loadedInjector;if(s?._injector)return s._injector}return null}var Ls=class{get injector(){return Mi(this.route?.snapshot)??this.rootInjector}set injector(e){}constructor(e){this.rootInjector=e,this.outlet=null,this.route=null,this.children=new Ui(this.rootInjector),this.attachRef=null}},Ui=(()=>{let e=class e{constructor(t){this.rootInjector=t,this.contexts=new Map}onChildOutletCreated(t,n){let a=this.getOrCreateContext(t);a.outlet=n,this.contexts.set(t,a)}onChildOutletDestroyed(t){let n=this.getContext(t);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){let t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let n=this.getContext(t);return n||(n=new Ls(this.rootInjector),this.contexts.set(t,n)),n}getContext(t){return this.contexts.get(t)||null}};e.\u0275fac=function(n){return new(n||e)(B(rt))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),kn=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let s=this.pathFromRoot(e);return s.length>1?s[s.length-2]:null}children(e){let s=ys(e,this._root);return s?s.children.map(t=>t.value):[]}firstChild(e){let s=ys(e,this._root);return s&&s.children.length>0?s.children[0].value:null}siblings(e){let s=ws(e,this._root);return s.length<2?[]:s[s.length-2].children.map(n=>n.value).filter(n=>n!==e)}pathFromRoot(e){return ws(e,this._root).map(s=>s.value)}};function ys(i,e){if(i===e.value)return e;for(let s of e.children){let t=ys(i,s);if(t)return t}return null}function ws(i,e){if(i===e.value)return[e];for(let s of e.children){let t=ws(i,s);if(t.length)return t.unshift(e),t}return[]}var ge=class{constructor(e,s){this.value=e,this.children=s}toString(){return`TreeNode(${this.value})`}};function Ut(i){let e={};return i&&i.children.forEach(s=>e[s.value.outlet]=s),e}var Fn=class extends kn{constructor(e,s){super(e),this.snapshot=s,Ns(this,e)}toString(){return this.snapshot.toString()}};function $o(i){let e=Vh(i),s=new xe([new pt("",{})]),t=new xe({}),n=new xe({}),a=new xe({}),o=new xe(""),l=new gt(s,t,a,o,n,V,i,e.root);return l.snapshot=e.root,new Fn(new ge(l,[]),e)}function Vh(i){let e={},s={},t={},n="",a=new Vt([],e,t,n,s,V,i,null,{});return new Xn("",new ge(a,[]))}var gt=class{constructor(e,s,t,n,a,o,l,u){this.urlSubject=e,this.paramsSubject=s,this.queryParamsSubject=t,this.fragmentSubject=n,this.dataSubject=a,this.outlet=o,this.component=l,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(j(f=>f[wi]))??y(void 0),this.url=e,this.params=s,this.queryParams=t,this.fragment=n,this.data=a}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(j(e=>Dt(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(j(e=>Dt(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function jn(i,e,s="emptyOnly"){let t,{routeConfig:n}=i;return e!==null&&(s==="always"||n?.path===""||!e.component&&!e.routeConfig?.loadComponent)?t={params:S(S({},e.params),i.params),data:S(S({},e.data),i.data),resolve:S(S(S(S({},i.data),e.data),n?.data),i._resolvedData)}:t={params:S({},i.params),data:S({},i.data),resolve:S(S({},i.data),i._resolvedData??{})},n&&qo(n)&&(t.resolve[wi]=n.title),t}var Vt=class{get title(){return this.data?.[wi]}constructor(e,s,t,n,a,o,l,u,f){this.url=e,this.params=s,this.queryParams=t,this.fragment=n,this.data=a,this.outlet=o,this.component=l,this.routeConfig=u,this._resolve=f}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Dt(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Dt(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(t=>t.toString()).join("/"),s=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${s}')`}},Xn=class extends kn{constructor(e,s){super(s),this.url=e,Ns(this,s)}toString(){return Wo(this._root)}};function Ns(i,e){e.value._routerState=i,e.children.forEach(s=>Ns(i,s))}function Wo(i){let e=i.children.length>0?` { ${i.children.map(Wo).join(", ")} } `:"";return`${i.value}${e}`}function fs(i){if(i.snapshot){let e=i.snapshot,s=i._futureSnapshot;i.snapshot=s,Ve(e.queryParams,s.queryParams)||i.queryParamsSubject.next(s.queryParams),e.fragment!==s.fragment&&i.fragmentSubject.next(s.fragment),Ve(e.params,s.params)||i.paramsSubject.next(s.params),lh(e.url,s.url)||i.urlSubject.next(s.url),Ve(e.data,s.data)||i.dataSubject.next(s.data)}else i.snapshot=i._futureSnapshot,i.dataSubject.next(i._futureSnapshot.data)}function Bs(i,e){let s=Ve(i.params,e.params)&&ch(i.url,e.url),t=!i.parent!=!e.parent;return s&&!t&&(!i.parent||Bs(i.parent,e.parent))}function qo(i){return typeof i.title=="string"||i.title===null}var Is=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=V,this.activateEvents=new K,this.deactivateEvents=new K,this.attachEvents=new K,this.detachEvents=new K,this.parentContexts=M(Ui),this.location=M(vt),this.changeDetector=M(Ne),this.inputBinder=M(qn,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){let{firstChange:n,previousValue:a}=t.name;if(n)return;this.isTrackedInParentContexts(a)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(a)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new te(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new te(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new te(4012,!1);this.location.detach();let t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,n){this.activated=t,this._activatedRoute=n,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){let t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,n){if(this.isActivated)throw new te(4013,!1);this._activatedRoute=t;let a=this.location,l=t.snapshot.component,u=this.parentContexts.getOrCreateContext(this.name).children,f=new Ms(t,u,a.injector);this.activated=a.createComponent(l,{index:a.length,injector:f,environmentInjector:n}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=I({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[pe]});let i=e;return i})(),Ms=class i{__ngOutletInjector(e){return new i(this.route,this.childContexts,e)}constructor(e,s,t){this.route=e,this.childContexts=s,this.parent=t}get(e,s){return e===gt?this.route:e===Ui?this.childContexts:this.parent.get(e,s)}},qn=new z(""),Lo=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){let{activatedRoute:n}=t,a=Ki([n.queryParams,n.params,n.data]).pipe(Re(([o,l,u],f)=>(u=S(S(S({},o),l),u),f===0?y(u):Promise.resolve(u)))).subscribe(o=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==n||n.component===null){this.unsubscribeFromRouteData(t);return}let l=La(n.component);if(!l){this.unsubscribeFromRouteData(t);return}for(let{templateName:u}of l.inputs)t.activatedComponentRef.setInput(u,o[u])});this.outletDataSubscriptions.set(t,a)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac});let i=e;return i})();function Ph(i,e,s){let t=Ti(i,e._root,s?s._root:void 0);return new Fn(t,e)}function Ti(i,e,s){if(s&&i.shouldReuseRoute(e.value,s.value.snapshot)){let t=s.value;t._futureSnapshot=e.value;let n=Dh(i,e,s);return new ge(t,n)}else{if(i.shouldAttach(e.value)){let a=i.retrieve(e.value);if(a!==null){let o=a.route;return o.value._futureSnapshot=e.value,o.children=e.children.map(l=>Ti(i,l)),o}}let t=Kh(e.value),n=e.children.map(a=>Ti(i,a));return new ge(t,n)}}function Dh(i,e,s){return e.children.map(t=>{for(let n of s.children)if(i.shouldReuseRoute(t.value,n.value.snapshot))return Ti(i,t,n);return Ti(i,t)})}function Kh(i){return new gt(new xe(i.url),new xe(i.params),new xe(i.queryParams),new xe(i.fragment),new xe(i.data),i.outlet,i.component,i)}var Ai=class{constructor(e,s){this.redirectTo=e,this.navigationBehaviorOptions=s}},Yo="ngNavigationCancelingError";function Gn(i,e){let{redirectTo:s,navigationBehaviorOptions:t}=Et(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,n=Zo(!1,me.Redirect);return n.url=s,n.navigationBehaviorOptions=t,n}function Zo(i,e){let s=new Error(`NavigationCancelingError: ${i||""}`);return s[Yo]=!0,s.cancellationCode=e,s}function Nh(i){return Qo(i)&&Et(i.url)}function Qo(i){return!!i&&i[Yo]}var Ih=(i,e,s,t)=>j(n=>(new Us(e,n.targetRouterState,n.currentRouterState,s,t).activate(i),n)),Us=class{constructor(e,s,t,n,a){this.routeReuseStrategy=e,this.futureState=s,this.currState=t,this.forwardEvent=n,this.inputBindingEnabled=a}activate(e){let s=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(s,t,e),fs(this.futureState.root),this.activateChildRoutes(s,t,e)}deactivateChildRoutes(e,s,t){let n=Ut(s);e.children.forEach(a=>{let o=a.value.outlet;this.deactivateRoutes(a,n[o],t),delete n[o]}),Object.values(n).forEach(a=>{this.deactivateRouteAndItsChildren(a,t)})}deactivateRoutes(e,s,t){let n=e.value,a=s?s.value:null;if(n===a)if(n.component){let o=t.getContext(n.outlet);o&&this.deactivateChildRoutes(e,s,o.children)}else this.deactivateChildRoutes(e,s,t);else a&&this.deactivateRouteAndItsChildren(s,t)}deactivateRouteAndItsChildren(e,s){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,s):this.deactivateRouteAndOutlet(e,s)}detachAndStoreRouteSubtree(e,s){let t=s.getContext(e.value.outlet),n=t&&e.value.component?t.children:s,a=Ut(e);for(let o of Object.values(a))this.deactivateRouteAndItsChildren(o,n);if(t&&t.outlet){let o=t.outlet.detach(),l=t.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:o,route:e,contexts:l})}}deactivateRouteAndOutlet(e,s){let t=s.getContext(e.value.outlet),n=t&&e.value.component?t.children:s,a=Ut(e);for(let o of Object.values(a))this.deactivateRouteAndItsChildren(o,n);t&&(t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated()),t.attachRef=null,t.route=null)}activateChildRoutes(e,s,t){let n=Ut(s);e.children.forEach(a=>{this.activateRoutes(a,n[a.value.outlet],t),this.forwardEvent(new As(a.value.snapshot))}),e.children.length&&this.forwardEvent(new Ss(e.value.snapshot))}activateRoutes(e,s,t){let n=e.value,a=s?s.value:null;if(fs(n),n===a)if(n.component){let o=t.getOrCreateContext(n.outlet);this.activateChildRoutes(e,s,o.children)}else this.activateChildRoutes(e,s,t);else if(n.component){let o=t.getOrCreateContext(n.outlet);if(this.routeReuseStrategy.shouldAttach(n.snapshot)){let l=this.routeReuseStrategy.retrieve(n.snapshot);this.routeReuseStrategy.store(n.snapshot,null),o.children.onOutletReAttached(l.contexts),o.attachRef=l.componentRef,o.route=l.route.value,o.outlet&&o.outlet.attach(l.componentRef,l.route.value),fs(l.route.value),this.activateChildRoutes(e,null,o.children)}else o.attachRef=null,o.route=n,o.outlet&&o.outlet.activateWith(n,o.injector),this.activateChildRoutes(e,null,o.children)}else this.activateChildRoutes(e,null,t)}},Hn=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},Pt=class{constructor(e,s){this.component=e,this.route=s}};function kh(i,e,s){let t=i._root,n=e?e._root:null;return gi(t,n,s,[t.value])}function Fh(i){let e=i.routeConfig?i.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:i,guards:e}}function Ft(i,e){let s=Symbol(),t=e.get(i,s);return t===s?typeof i=="function"&&!ua(i)?i:e.get(i):t}function gi(i,e,s,t,n={canDeactivateChecks:[],canActivateChecks:[]}){let a=Ut(e);return i.children.forEach(o=>{jh(o,a[o.value.outlet],s,t.concat([o.value]),n),delete a[o.value.outlet]}),Object.entries(a).forEach(([o,l])=>Ci(l,s.getContext(o),n)),n}function jh(i,e,s,t,n={canDeactivateChecks:[],canActivateChecks:[]}){let a=i.value,o=e?e.value:null,l=s?s.getContext(i.value.outlet):null;if(o&&a.routeConfig===o.routeConfig){let u=Xh(o,a,a.routeConfig.runGuardsAndResolvers);u?n.canActivateChecks.push(new Hn(t)):(a.data=o.data,a._resolvedData=o._resolvedData),a.component?gi(i,e,l?l.children:null,t,n):gi(i,e,s,t,n),u&&l&&l.outlet&&l.outlet.isActivated&&n.canDeactivateChecks.push(new Pt(l.outlet.component,o))}else o&&Ci(e,l,n),n.canActivateChecks.push(new Hn(t)),a.component?gi(i,null,l?l.children:null,t,n):gi(i,null,s,t,n);return n}function Xh(i,e,s){if(typeof s=="function")return s(i,e);switch(s){case"pathParamsChange":return!_t(i.url,e.url);case"pathParamsOrQueryParamsChange":return!_t(i.url,e.url)||!Ve(i.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Bs(i,e)||!Ve(i.queryParams,e.queryParams);case"paramsChange":default:return!Bs(i,e)}}function Ci(i,e,s){let t=Ut(i),n=i.value;Object.entries(t).forEach(([a,o])=>{n.component?e?Ci(o,e.children.getContext(a),s):Ci(o,null,s):Ci(o,e,s)}),n.component?e&&e.outlet&&e.outlet.isActivated?s.canDeactivateChecks.push(new Pt(e.outlet.component,n)):s.canDeactivateChecks.push(new Pt(null,n)):s.canDeactivateChecks.push(new Pt(null,n))}function Oi(i){return typeof i=="function"}function Gh(i){return typeof i=="boolean"}function Hh(i){return i&&Oi(i.canLoad)}function zh(i){return i&&Oi(i.canActivate)}function $h(i){return i&&Oi(i.canActivateChild)}function Wh(i){return i&&Oi(i.canDeactivate)}function qh(i){return i&&Oi(i.canMatch)}function Jo(i){return i instanceof ea||i?.name==="EmptyError"}var Mn=Symbol("INITIAL_VALUE");function kt(){return Re(i=>Ki(i.map(e=>e.pipe(Ct(1),rr(Mn)))).pipe(j(e=>{for(let s of e)if(s!==!0){if(s===Mn)return Mn;if(s===!1||Yh(s))return s}return!0}),de(e=>e!==Mn),Ct(1)))}function Yh(i){return Et(i)||i instanceof Ai}function Zh(i,e){return le(s=>{let{targetSnapshot:t,currentSnapshot:n,guards:{canActivateChecks:a,canDeactivateChecks:o}}=s;return o.length===0&&a.length===0?y(k(S({},s),{guardsResult:!0})):Qh(o,t,n,i).pipe(le(l=>l&&Gh(l)?Jh(t,a,i,e):y(l)),j(l=>k(S({},s),{guardsResult:l})))})}function Qh(i,e,s,t){return re(i).pipe(le(n=>r0(n.component,n.route,s,e,t)),$e(n=>n!==!0,!0))}function Jh(i,e,s,t){return re(e).pipe(Rt(n=>ta(t0(n.route.parent,t),e0(n.route,t),n0(i,n.path,s),i0(i,n.route,s))),$e(n=>n!==!0,!0))}function e0(i,e){return i!==null&&e&&e(new Ts(i)),y(!0)}function t0(i,e){return i!==null&&e&&e(new bs(i)),y(!0)}function i0(i,e,s){let t=e.routeConfig?e.routeConfig.canActivate:null;if(!t||t.length===0)return y(!0);let n=t.map(a=>er(()=>{let o=Mi(e)??s,l=Ft(a,o),u=zh(l)?l.canActivate(e,i):Be(o,()=>l(e,i));return it(u).pipe($e())}));return y(n).pipe(kt())}function n0(i,e,s){let t=e[e.length-1],a=e.slice(0,e.length-1).reverse().map(o=>Fh(o)).filter(o=>o!==null).map(o=>er(()=>{let l=o.guards.map(u=>{let f=Mi(o.node)??s,d=Ft(u,f),_=$h(d)?d.canActivateChild(t,i):Be(f,()=>d(t,i));return it(_).pipe($e())});return y(l).pipe(kt())}));return y(a).pipe(kt())}function r0(i,e,s,t,n){let a=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!a||a.length===0)return y(!0);let o=a.map(l=>{let u=Mi(e)??n,f=Ft(l,u),d=Wh(f)?f.canDeactivate(i,e,s,t):Be(u,()=>f(i,e,s,t));return it(d).pipe($e())});return y(o).pipe(kt())}function s0(i,e,s,t){let n=e.canLoad;if(n===void 0||n.length===0)return y(!0);let a=n.map(o=>{let l=Ft(o,i),u=Hh(l)?l.canLoad(e,s):Be(i,()=>l(e,s));return it(u)});return y(a).pipe(kt(),eu(t))}function eu(i){return Qs(ee(e=>{if(typeof e!="boolean")throw Gn(i,e)}),j(e=>e===!0))}function a0(i,e,s,t){let n=e.canMatch;if(!n||n.length===0)return y(!0);let a=n.map(o=>{let l=Ft(o,i),u=qh(l)?l.canMatch(e,s):Be(i,()=>l(e,s));return it(u)});return y(a).pipe(kt(),eu(t))}var Li=class{constructor(e){this.segmentGroup=e||null}},yi=class extends Error{constructor(e){super(),this.urlTree=e}};function Mt(i){return jt(new Li(i))}function l0(i){return jt(new te(4e3,!1))}function o0(i){return jt(Zo(!1,me.GuardRejected))}var Os=class{constructor(e,s){this.urlSerializer=e,this.urlTree=s}lineralizeSegments(e,s){let t=[],n=s.root;for(;;){if(t=t.concat(n.segments),n.numberOfChildren===0)return y(t);if(n.numberOfChildren>1||!n.children[V])return l0(`${e.redirectTo}`);n=n.children[V]}}applyRedirectCommands(e,s,t,n,a){if(typeof s!="string"){let l=s,{queryParams:u,fragment:f,routeConfig:d,url:_,outlet:g,params:R,data:C,title:w}=n,D=Be(a,()=>l({params:R,data:C,queryParams:u,fragment:f,routeConfig:d,url:_,outlet:g,title:w}));if(D instanceof Ge)throw new yi(D);s=D}let o=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),e,t);if(s[0]==="/")throw new yi(o);return o}applyRedirectCreateUrlTree(e,s,t,n){let a=this.createSegmentGroup(e,s.root,t,n);return new Ge(a,this.createQueryParams(s.queryParams,this.urlTree.queryParams),s.fragment)}createQueryParams(e,s){let t={};return Object.entries(e).forEach(([n,a])=>{if(typeof a=="string"&&a[0]===":"){let l=a.substring(1);t[n]=s[l]}else t[n]=a}),t}createSegmentGroup(e,s,t,n){let a=this.createSegments(e,s.segments,t,n),o={};return Object.entries(s.children).forEach(([l,u])=>{o[l]=this.createSegmentGroup(e,u,t,n)}),new X(a,o)}createSegments(e,s,t,n){return s.map(a=>a.path[0]===":"?this.findPosParam(e,a,n):this.findOrReturn(a,t))}findPosParam(e,s,t){let n=t[s.path.substring(1)];if(!n)throw new te(4001,!1);return n}findOrReturn(e,s){let t=0;for(let n of s){if(n.path===e.path)return s.splice(t),n;t++}return e}},Vs={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function u0(i,e,s,t,n){let a=ks(i,e,s);return a.matched?(t=Uh(e,t),a0(t,e,s,n).pipe(j(o=>o===!0?a:S({},Vs)))):y(a)}function ks(i,e,s){if(e.path==="**")return f0(s);if(e.path==="")return e.pathMatch==="full"&&(i.hasChildren()||s.length>0)?S({},Vs):{matched:!0,consumedSegments:[],remainingSegments:s,parameters:{},positionalParamSegments:{}};let n=(e.matcher||ah)(s,i,e);if(!n)return S({},Vs);let a={};Object.entries(n.posParams??{}).forEach(([l,u])=>{a[l]=u.path});let o=n.consumed.length>0?S(S({},a),n.consumed[n.consumed.length-1].parameters):a;return{matched:!0,consumedSegments:n.consumed,remainingSegments:s.slice(n.consumed.length),parameters:o,positionalParamSegments:n.posParams??{}}}function f0(i){return{matched:!0,parameters:i.length>0?Vo(i).parameters:{},consumedSegments:i,remainingSegments:[],positionalParamSegments:{}}}function yo(i,e,s,t){return s.length>0&&d0(i,s,t)?{segmentGroup:new X(e,h0(t,new X(s,i.children))),slicedSegments:[]}:s.length===0&&p0(i,s,t)?{segmentGroup:new X(i.segments,c0(i,s,t,i.children)),slicedSegments:s}:{segmentGroup:new X(i.segments,i.children),slicedSegments:s}}function c0(i,e,s,t){let n={};for(let a of s)if(Yn(i,e,a)&&!t[Ae(a)]){let o=new X([],{});n[Ae(a)]=o}return S(S({},t),n)}function h0(i,e){let s={};s[V]=e;for(let t of i)if(t.path===""&&Ae(t)!==V){let n=new X([],{});s[Ae(t)]=n}return s}function d0(i,e,s){return s.some(t=>Yn(i,e,t)&&Ae(t)!==V)}function p0(i,e,s){return s.some(t=>Yn(i,e,t))}function Yn(i,e,s){return(i.hasChildren()||e.length>0)&&s.pathMatch==="full"?!1:s.path===""}function _0(i,e,s,t){return Ae(i)!==t&&(t===V||!Yn(e,s,i))?!1:ks(e,i,s).matched}function E0(i,e,s){return e.length===0&&!i.children[s]}var Ps=class{};function g0(i,e,s,t,n,a,o="emptyOnly"){return new Ds(i,e,s,t,n,o,a).recognize()}var m0=31,Ds=class{constructor(e,s,t,n,a,o,l){this.injector=e,this.configLoader=s,this.rootComponentType=t,this.config=n,this.urlTree=a,this.paramsInheritanceStrategy=o,this.urlSerializer=l,this.applyRedirects=new Os(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new te(4002,`'${e.segmentGroup}'`)}recognize(){let e=yo(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(j(({children:s,rootSnapshot:t})=>{let n=new ge(t,s),a=new Xn("",n),o=Th(t,[],this.urlTree.queryParams,this.urlTree.fragment);return o.queryParams=this.urlTree.queryParams,a.url=this.urlSerializer.serialize(o),{state:a,tree:o}}))}match(e){let s=new Vt([],Object.freeze({}),Object.freeze(S({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),V,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,V,s).pipe(j(t=>({children:t,rootSnapshot:s})),xt(t=>{if(t instanceof yi)return this.urlTree=t.urlTree,this.match(t.urlTree.root);throw t instanceof Li?this.noMatchError(t):t}))}processSegmentGroup(e,s,t,n,a){return t.segments.length===0&&t.hasChildren()?this.processChildren(e,s,t,a):this.processSegment(e,s,t,t.segments,n,!0,a).pipe(j(o=>o instanceof ge?[o]:[]))}processChildren(e,s,t,n){let a=[];for(let o of Object.keys(t.children))o==="primary"?a.unshift(o):a.push(o);return re(a).pipe(Rt(o=>{let l=t.children[o],u=Oh(s,o);return this.processSegmentGroup(e,u,l,o,n)}),aa((o,l)=>(o.push(...l),o)),ir(null),sa(),le(o=>{if(o===null)return Mt(t);let l=tu(o);return x0(l),y(l)}))}processSegment(e,s,t,n,a,o,l){return re(s).pipe(Rt(u=>this.processSegmentAgainstRoute(u._injector??e,s,u,t,n,a,o,l).pipe(xt(f=>{if(f instanceof Li)return y(null);throw f}))),$e(u=>!!u),xt(u=>{if(Jo(u))return E0(t,n,a)?y(new Ps):Mt(t);throw u}))}processSegmentAgainstRoute(e,s,t,n,a,o,l,u){return _0(t,n,a,o)?t.redirectTo===void 0?this.matchSegmentAgainstRoute(e,n,t,a,o,u):this.allowRedirects&&l?this.expandSegmentAgainstRouteUsingRedirect(e,n,s,t,a,o,u):Mt(n):Mt(n)}expandSegmentAgainstRouteUsingRedirect(e,s,t,n,a,o,l){let{matched:u,parameters:f,consumedSegments:d,positionalParamSegments:_,remainingSegments:g}=ks(s,n,a);if(!u)return Mt(s);typeof n.redirectTo=="string"&&n.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>m0&&(this.allowRedirects=!1));let R=new Vt(a,f,Object.freeze(S({},this.urlTree.queryParams)),this.urlTree.fragment,wo(n),Ae(n),n.component??n._loadedComponent??null,n,Bo(n)),C=jn(R,l,this.paramsInheritanceStrategy);R.params=Object.freeze(C.params),R.data=Object.freeze(C.data);let w=this.applyRedirects.applyRedirectCommands(d,n.redirectTo,_,R,e);return this.applyRedirects.lineralizeSegments(n,w).pipe(le(D=>this.processSegment(e,t,s,D.concat(g),o,!1,l)))}matchSegmentAgainstRoute(e,s,t,n,a,o){let l=u0(s,t,n,e,this.urlSerializer);return t.path==="**"&&(s.children={}),l.pipe(Re(u=>u.matched?(e=t._injector??e,this.getChildConfig(e,t,n).pipe(Re(({routes:f})=>{let d=t._loadedInjector??e,{parameters:_,consumedSegments:g,remainingSegments:R}=u,C=new Vt(g,_,Object.freeze(S({},this.urlTree.queryParams)),this.urlTree.fragment,wo(t),Ae(t),t.component??t._loadedComponent??null,t,Bo(t)),w=jn(C,o,this.paramsInheritanceStrategy);C.params=Object.freeze(w.params),C.data=Object.freeze(w.data);let{segmentGroup:D,slicedSegments:he}=yo(s,g,R,f);if(he.length===0&&D.hasChildren())return this.processChildren(d,f,D,C).pipe(j(nt=>new ge(C,nt)));if(f.length===0&&he.length===0)return y(new ge(C,[]));let Pe=Ae(t)===a;return this.processSegment(d,f,D,he,Pe?V:a,!0,C).pipe(j(nt=>new ge(C,nt instanceof ge?[nt]:[])))}))):Mt(s)))}getChildConfig(e,s,t){return s.children?y({routes:s.children,injector:e}):s.loadChildren?s._loadedRoutes!==void 0?y({routes:s._loadedRoutes,injector:s._loadedInjector}):s0(e,s,t,this.urlSerializer).pipe(le(n=>n?this.configLoader.loadChildren(e,s).pipe(ee(a=>{s._loadedRoutes=a.routes,s._loadedInjector=a.injector})):o0(s))):y({routes:[],injector:e})}};function x0(i){i.sort((e,s)=>e.value.outlet===V?-1:s.value.outlet===V?1:e.value.outlet.localeCompare(s.value.outlet))}function R0(i){let e=i.value.routeConfig;return e&&e.path===""}function tu(i){let e=[],s=new Set;for(let t of i){if(!R0(t)){e.push(t);continue}let n=e.find(a=>t.value.routeConfig===a.value.routeConfig);n!==void 0?(n.children.push(...t.children),s.add(n)):e.push(t)}for(let t of s){let n=tu(t.children);e.push(new ge(t.value,n))}return e.filter(t=>!s.has(t))}function wo(i){return i.data||{}}function Bo(i){return i.resolve||{}}function C0(i,e,s,t,n,a){return le(o=>g0(i,e,s,t,o.extractedUrl,n,a).pipe(j(({state:l,tree:u})=>k(S({},o),{targetSnapshot:l,urlAfterRedirects:u}))))}function v0(i,e){return le(s=>{let{targetSnapshot:t,guards:{canActivateChecks:n}}=s;if(!n.length)return y(s);let a=new Set(n.map(u=>u.route)),o=new Set;for(let u of a)if(!o.has(u))for(let f of iu(u))o.add(f);let l=0;return re(o).pipe(Rt(u=>a.has(u)?b0(u,t,i,e):(u.data=jn(u,u.parent,i).resolve,y(void 0))),ee(()=>l++),nr(1),le(u=>l===o.size?y(s):ze))})}function iu(i){let e=i.children.map(s=>iu(s)).flat();return[i,...e]}function b0(i,e,s,t){let n=i.routeConfig,a=i._resolve;return n?.title!==void 0&&!qo(n)&&(a[wi]=n.title),S0(a,i,e,t).pipe(j(o=>(i._resolvedData=o,i.data=jn(i,i.parent,s).resolve,null)))}function S0(i,e,s,t){let n=ds(i);if(n.length===0)return y({});let a={};return re(n).pipe(le(o=>T0(i[o],e,s,t).pipe($e(),ee(l=>{if(l instanceof Ai)throw Gn(new Kt,l);a[o]=l}))),nr(1),ra(a),xt(o=>Jo(o)?ze:jt(o)))}function T0(i,e,s,t){let n=Mi(e)??t,a=Ft(i,n),o=a.resolve?a.resolve(e,s):Be(n,()=>a(e,s));return it(o)}function cs(i){return Re(e=>{let s=i(e);return s?re(s).pipe(j(()=>e)):y(e)})}var nu=(()=>{let e=class e{buildTitle(t){let n,a=t.root;for(;a!==void 0;)n=this.getResolvedTitleForRoute(a)??n,a=a.children.find(o=>o.outlet===V);return n}getResolvedTitleForRoute(t){return t.data[wi]}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:()=>M(A0),providedIn:"root"});let i=e;return i})(),A0=(()=>{let e=class e extends nu{constructor(t){super(),this.title=t}updateTitle(t){let n=this.buildTitle(t);n!==void 0&&this.title.setTitle(n)}};e.\u0275fac=function(n){return new(n||e)(B(Na))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Vi=new z("",{providedIn:"root",factory:()=>({})}),L0=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=be({type:e,selectors:[["ng-component"]],standalone:!0,features:[fr],decls:1,vars:0,template:function(n,a){n&1&&L(0,"router-outlet")},dependencies:[Is],encapsulation:2});let i=e;return i})();function Fs(i){let e=i.children&&i.children.map(Fs),s=e?k(S({},i),{children:e}):S({},i);return!s.component&&!s.loadComponent&&(e||s.loadChildren)&&s.outlet&&s.outlet!==V&&(s.component=L0),s}var zn=new z(""),js=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=M(Yi)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return y(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);let n=it(t.loadComponent()).pipe(j(ru),ee(o=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=o}),Ii(()=>{this.componentLoaders.delete(t)})),a=new Qn(n,()=>new W).pipe(Zn());return this.componentLoaders.set(t,a),a}loadChildren(t,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return y({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);let o=y0(n,this.compiler,t,this.onLoadEndListener).pipe(Ii(()=>{this.childrenLoaders.delete(n)})),l=new Qn(o,()=>new W).pipe(Zn());return this.childrenLoaders.set(n,l),l}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function y0(i,e,s,t){return it(i.loadChildren()).pipe(j(ru),le(n=>n instanceof xa||Array.isArray(n)?y(n):re(e.compileModuleAsync(n))),j(n=>{t&&t(i);let a,o,l=!1;return Array.isArray(n)?(o=n,l=!0):(a=n.create(s).injector,o=a.get(zn,[],{optional:!0,self:!0}).flat()),{routes:o.map(Fs),injector:a}}))}function w0(i){return i&&typeof i=="object"&&"default"in i}function ru(i){return w0(i)?i.default:i}var Xs=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:()=>M(B0),providedIn:"root"});let i=e;return i})(),B0=(()=>{let e=class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,n){return t}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),su=new z(""),au=new z("");function M0(i,e,s){let t=i.get(au),n=i.get(fe);return i.get(oe).runOutsideAngular(()=>{if(!n.startViewTransition||t.skipNextTransition)return t.skipNextTransition=!1,new Promise(f=>setTimeout(f));let a,o=new Promise(f=>{a=f}),l=n.startViewTransition(()=>(a(),U0(i))),{onViewTransitionCreated:u}=t;return u&&Be(i,()=>u({transition:l,from:e,to:s})),o})}function U0(i){return new Promise(e=>{Fi({read:()=>setTimeout(e)},{injector:i})})}var O0=new z(""),Gs=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new W,this.transitionAbortSubject=new W,this.configLoader=M(js),this.environmentInjector=M(rt),this.urlSerializer=M(Bi),this.rootContexts=M(Ui),this.location=M(at),this.inputBindingEnabled=M(qn,{optional:!0})!==null,this.titleStrategy=M(nu),this.options=M(Vi,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=M(Xs),this.createViewTransition=M(su,{optional:!0}),this.navigationErrorHandler=M(O0,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>y(void 0),this.rootComponentType=null;let t=a=>this.events.next(new Cs(a)),n=a=>this.events.next(new vs(a));this.configLoader.onLoadEndListener=n,this.configLoader.onLoadStartListener=t}complete(){this.transitions?.complete()}handleNavigationRequest(t){let n=++this.navigationId;this.transitions?.next(k(S(S({},this.transitions.value),t),{id:n}))}setupNavigations(t,n,a){return this.transitions=new xe({id:0,currentUrlTree:n,currentRawUrl:n,extractedUrl:this.urlHandlingStrategy.extract(n),urlAfterRedirects:this.urlHandlingStrategy.extract(n),rawUrl:n,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Ri,restoredState:null,currentSnapshot:a.snapshot,targetSnapshot:null,currentRouterState:a,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(de(o=>o.id!==0),j(o=>k(S({},o),{extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),Re(o=>{let l=!1,u=!1;return y(o).pipe(Re(f=>{if(this.navigationId>o.id)return this.cancelNavigationTransition(o,"",me.SupersededByNewNavigation),ze;this.currentTransition=o,this.currentNavigation={id:f.id,initialUrl:f.rawUrl,extractedUrl:f.extractedUrl,targetBrowserUrl:typeof f.extras.browserUrl=="string"?this.urlSerializer.parse(f.extras.browserUrl):f.extras.browserUrl,trigger:f.source,extras:f.extras,previousNavigation:this.lastSuccessfulNavigation?k(S({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let d=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),_=f.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!d&&_!=="reload"){let g="";return this.events.next(new tt(f.id,this.urlSerializer.serialize(f.rawUrl),g,Kn.IgnoredSameUrlNavigation)),f.resolve(!1),ze}if(this.urlHandlingStrategy.shouldProcessUrl(f.rawUrl))return y(f).pipe(Re(g=>{let R=this.transitions?.getValue();return this.events.next(new Nt(g.id,this.urlSerializer.serialize(g.extractedUrl),g.source,g.restoredState)),R!==this.transitions?.getValue()?ze:Promise.resolve(g)}),C0(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),ee(g=>{o.targetSnapshot=g.targetSnapshot,o.urlAfterRedirects=g.urlAfterRedirects,this.currentNavigation=k(S({},this.currentNavigation),{finalUrl:g.urlAfterRedirects});let R=new Nn(g.id,this.urlSerializer.serialize(g.extractedUrl),this.urlSerializer.serialize(g.urlAfterRedirects),g.targetSnapshot);this.events.next(R)}));if(d&&this.urlHandlingStrategy.shouldProcessUrl(f.currentRawUrl)){let{id:g,extractedUrl:R,source:C,restoredState:w,extras:D}=f,he=new Nt(g,this.urlSerializer.serialize(R),C,w);this.events.next(he);let Pe=$o(this.rootComponentType).snapshot;return this.currentTransition=o=k(S({},f),{targetSnapshot:Pe,urlAfterRedirects:R,extras:k(S({},D),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=R,y(o)}else{let g="";return this.events.next(new tt(f.id,this.urlSerializer.serialize(f.extractedUrl),g,Kn.IgnoredByUrlHandlingStrategy)),f.resolve(!1),ze}}),ee(f=>{let d=new gs(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(d)}),j(f=>(this.currentTransition=o=k(S({},f),{guards:kh(f.targetSnapshot,f.currentSnapshot,this.rootContexts)}),o)),Zh(this.environmentInjector,f=>this.events.next(f)),ee(f=>{if(o.guardsResult=f.guardsResult,f.guardsResult&&typeof f.guardsResult!="boolean")throw Gn(this.urlSerializer,f.guardsResult);let d=new ms(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot,!!f.guardsResult);this.events.next(d)}),de(f=>f.guardsResult?!0:(this.cancelNavigationTransition(f,"",me.GuardRejected),!1)),cs(f=>{if(f.guards.canActivateChecks.length)return y(f).pipe(ee(d=>{let _=new xs(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(_)}),Re(d=>{let _=!1;return y(d).pipe(v0(this.paramsInheritanceStrategy,this.environmentInjector),ee({next:()=>_=!0,complete:()=>{_||this.cancelNavigationTransition(d,"",me.NoDataFromResolver)}}))}),ee(d=>{let _=new Rs(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(_)}))}),cs(f=>{let d=_=>{let g=[];_.routeConfig?.loadComponent&&!_.routeConfig._loadedComponent&&g.push(this.configLoader.loadComponent(_.routeConfig).pipe(ee(R=>{_.component=R}),j(()=>{})));for(let R of _.children)g.push(...d(R));return g};return Ki(d(f.targetSnapshot.root)).pipe(ir(null),Ct(1))}),cs(()=>this.afterPreactivation()),Re(()=>{let{currentSnapshot:f,targetSnapshot:d}=o,_=this.createViewTransition?.(this.environmentInjector,f.root,d.root);return _?re(_).pipe(j(()=>o)):y(o)}),j(f=>{let d=Ph(t.routeReuseStrategy,f.targetSnapshot,f.currentRouterState);return this.currentTransition=o=k(S({},f),{targetRouterState:d}),this.currentNavigation.targetRouterState=d,o}),ee(()=>{this.events.next(new Si)}),Ih(this.rootContexts,t.routeReuseStrategy,f=>this.events.next(f),this.inputBindingEnabled),Ct(1),ee({next:f=>{l=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Le(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects))),this.titleStrategy?.updateTitle(f.targetRouterState.snapshot),f.resolve(!0)},complete:()=>{l=!0}}),Gt(this.transitionAbortSubject.pipe(ee(f=>{throw f}))),Ii(()=>{!l&&!u&&this.cancelNavigationTransition(o,"",me.SupersededByNewNavigation),this.currentTransition?.id===o.id&&(this.currentNavigation=null,this.currentTransition=null)}),xt(f=>{if(u=!0,Qo(f))this.events.next(new Xe(o.id,this.urlSerializer.serialize(o.extractedUrl),f.message,f.cancellationCode)),Nh(f)?this.events.next(new It(f.url,f.navigationBehaviorOptions)):o.resolve(!1);else{let d=new bi(o.id,this.urlSerializer.serialize(o.extractedUrl),f,o.targetSnapshot??void 0);try{let _=Be(this.environmentInjector,()=>this.navigationErrorHandler?.(d));if(_ instanceof Ai){let{message:g,cancellationCode:R}=Gn(this.urlSerializer,_);this.events.next(new Xe(o.id,this.urlSerializer.serialize(o.extractedUrl),g,R)),this.events.next(new It(_.redirectTo,_.navigationBehaviorOptions))}else{this.events.next(d);let g=t.errorHandler(f);o.resolve(!!g)}}catch(_){this.options.resolveNavigationPromiseOnError?o.resolve(!1):o.reject(_)}}return ze}))}))}cancelNavigationTransition(t,n,a){let o=new Xe(t.id,this.urlSerializer.serialize(t.extractedUrl),n,a);this.events.next(o),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let t=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),n=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return t.toString()!==n?.toString()&&!this.currentNavigation?.extras.skipLocationChange}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function V0(i){return i!==Ri}var P0=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:()=>M(D0),providedIn:"root"});let i=e;return i})(),Ks=class{shouldDetach(e){return!1}store(e,s){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,s){return e.routeConfig===s.routeConfig}},D0=(()=>{let e=class e extends Ks{};e.\u0275fac=(()=>{let t;return function(a){return(t||(t=Se(e)))(a||e)}})(),e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),lu=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:()=>M(K0),providedIn:"root"});let i=e;return i})(),K0=(()=>{let e=class e extends lu{constructor(){super(...arguments),this.location=M(at),this.urlSerializer=M(Bi),this.options=M(Vi,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=M(Xs),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Ge,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=$o(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(n=>{n.type==="popstate"&&t(n.url,n.state)})}handleRouterEvent(t,n){if(t instanceof Nt)this.stateMemento=this.createStateMemento();else if(t instanceof tt)this.rawUrlTree=n.initialUrl;else if(t instanceof Nn){if(this.urlUpdateStrategy==="eager"&&!n.extras.skipLocationChange){let a=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl);this.setBrowserUrl(n.targetBrowserUrl??a,n)}}else t instanceof Si?(this.currentUrlTree=n.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl),this.routerState=n.targetRouterState,this.urlUpdateStrategy==="deferred"&&!n.extras.skipLocationChange&&this.setBrowserUrl(n.targetBrowserUrl??this.rawUrlTree,n)):t instanceof Xe&&(t.code===me.GuardRejected||t.code===me.NoDataFromResolver)?this.restoreHistory(n):t instanceof bi?this.restoreHistory(n,!0):t instanceof Le&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,n){let a=t instanceof Ge?this.urlSerializer.serialize(t):t;if(this.location.isCurrentPathEqualTo(a)||n.extras.replaceUrl){let o=this.browserPageId,l=S(S({},n.extras.state),this.generateNgRouterState(n.id,o));this.location.replaceState(a,"",l)}else{let o=S(S({},n.extras.state),this.generateNgRouterState(n.id,this.browserPageId+1));this.location.go(a,"",o)}}restoreHistory(t,n=!1){if(this.canceledNavigationResolution==="computed"){let a=this.browserPageId,o=this.currentPageId-a;o!==0?this.location.historyGo(o):this.currentUrlTree===t.finalUrl&&o===0&&(this.resetState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(n&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,n){return this.canceledNavigationResolution==="computed"?{navigationId:t,\u0275routerPageId:n}:{navigationId:t}}};e.\u0275fac=(()=>{let t;return function(a){return(t||(t=Se(e)))(a||e)}})(),e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),mi=function(i){return i[i.COMPLETE=0]="COMPLETE",i[i.FAILED=1]="FAILED",i[i.REDIRECTING=2]="REDIRECTING",i}(mi||{});function ou(i,e){i.events.pipe(de(s=>s instanceof Le||s instanceof Xe||s instanceof bi||s instanceof tt),j(s=>s instanceof Le||s instanceof tt?mi.COMPLETE:(s instanceof Xe?s.code===me.Redirect||s.code===me.SupersededByNewNavigation:!1)?mi.REDIRECTING:mi.FAILED),de(s=>s!==mi.REDIRECTING),Ct(1)).subscribe(()=>{e()})}function N0(i){throw i}var I0={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},k0={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},He=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=M(Ta),this.stateManager=M(lu),this.options=M(Vi,{optional:!0})||{},this.pendingTasks=M(ha),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=M(Gs),this.urlSerializer=M(Bi),this.location=M(at),this.urlHandlingStrategy=M(Xs),this._events=new W,this.errorHandler=this.options.errorHandler||N0,this.navigated=!1,this.routeReuseStrategy=M(P0),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=M(zn,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!M(qn,{optional:!0}),this.eventsSubscription=new ye,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(n=>{try{let a=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(a!==null&&o!==null){if(this.stateManager.handleRouterEvent(n,o),n instanceof Xe&&n.code!==me.Redirect&&n.code!==me.SupersededByNewNavigation)this.navigated=!0;else if(n instanceof Le)this.navigated=!0;else if(n instanceof It){let l=n.navigationBehaviorOptions,u=this.urlHandlingStrategy.merge(n.url,a.currentRawUrl),f=S({browserUrl:a.extras.browserUrl,info:a.extras.info,skipLocationChange:a.extras.skipLocationChange,replaceUrl:a.extras.replaceUrl||this.urlUpdateStrategy==="eager"||V0(a.source)},l);this.scheduleNavigation(u,Ri,null,f,{resolve:a.resolve,reject:a.reject,promise:a.promise})}}j0(n)&&this._events.next(n)}catch(a){this.navigationTransitions.transitionAbortSubject.next(a)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Ri,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,n)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(t,"popstate",n)},0)})}navigateToSyncWithBrowser(t,n,a){let o={replaceUrl:!0},l=a?.navigationId?a:null;if(a){let f=S({},a);delete f.navigationId,delete f.\u0275routerPageId,Object.keys(f).length!==0&&(o.state=f)}let u=this.parseUrl(t);this.scheduleNavigation(u,n,l,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(Fs),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,n={}){let{relativeTo:a,queryParams:o,fragment:l,queryParamsHandling:u,preserveFragment:f}=n,d=f?this.currentUrlTree.fragment:l,_=null;switch(u){case"merge":_=S(S({},this.currentUrlTree.queryParams),o);break;case"preserve":_=this.currentUrlTree.queryParams;break;default:_=o||null}_!==null&&(_=this.removeEmptyProps(_));let g;try{let R=a?a.snapshot:this.routerState.snapshot.root;g=Xo(R)}catch{(typeof t[0]!="string"||t[0][0]!=="/")&&(t=[]),g=this.currentUrlTree.root}return Go(g,t,_,d??null)}navigateByUrl(t,n={skipLocationChange:!1}){let a=Et(t)?t:this.parseUrl(t),o=this.urlHandlingStrategy.merge(a,this.rawUrlTree);return this.scheduleNavigation(o,Ri,null,n)}navigate(t,n={skipLocationChange:!1}){return F0(t),this.navigateByUrl(this.createUrlTree(t,n),n)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,n){let a;if(n===!0?a=S({},I0):n===!1?a=S({},k0):a=n,Et(t))return bo(this.currentUrlTree,t,a);let o=this.parseUrl(t);return bo(this.currentUrlTree,o,a)}removeEmptyProps(t){return Object.entries(t).reduce((n,[a,o])=>(o!=null&&(n[a]=o),n),{})}scheduleNavigation(t,n,a,o,l){if(this.disposed)return Promise.resolve(!1);let u,f,d;l?(u=l.resolve,f=l.reject,d=l.promise):d=new Promise((g,R)=>{u=g,f=R});let _=this.pendingTasks.add();return ou(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(_))}),this.navigationTransitions.handleNavigationRequest({source:n,restoredState:a,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:o,resolve:u,reject:f,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(g=>Promise.reject(g))}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function F0(i){for(let e=0;e{let e=class e{constructor(t,n,a,o,l,u){this.router=t,this.route=n,this.tabIndexAttribute=a,this.renderer=o,this.el=l,this.locationStrategy=u,this.href=null,this.onChanges=new W,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;let f=l.nativeElement.tagName?.toLowerCase();this.isAnchorElement=f==="a"||f==="area",this.isAnchorElement?this.subscription=t.events.subscribe(d=>{d instanceof Le&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(t){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(t){t==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(Et(t)?this.routerLinkInput=t:this.routerLinkInput=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0"))}onClick(t,n,a,o,l){let u=this.urlTree;if(u===null||this.isAnchorElement&&(t!==0||n||a||o||l||typeof this.target=="string"&&this.target!="_self"))return!0;let f={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(u,f),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let t=this.urlTree;this.href=t!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(t)):null;let n=this.href===null?null:_a(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(t,n){let a=this.renderer,o=this.el.nativeElement;n!==null?a.setAttribute(o,t,n):a.removeAttribute(o,t)}get urlTree(){return this.routerLinkInput===null?null:Et(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(n){return new(n||e)(A(He),A(gt),ki("tabindex"),A(Ye),A(J),A(qt))},e.\u0275dir=I({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(n,a){n&1&&b("click",function(l){return a.onClick(l.button,l.ctrlKey,l.shiftKey,l.altKey,l.metaKey)}),n&2&&Me("target",a.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",G],skipLocationChange:[2,"skipLocationChange","skipLocationChange",G],replaceUrl:[2,"replaceUrl","replaceUrl",G],routerLink:"routerLink"},standalone:!0,features:[st,pe]});let i=e;return i})(),uu=(()=>{let e=class e{get isActive(){return this._isActive}constructor(t,n,a,o,l){this.router=t,this.element=n,this.renderer=a,this.cdr=o,this.link=l,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new K,this.routerEventsSubscription=t.events.subscribe(u=>{u instanceof Le&&this.update()})}ngAfterContentInit(){y(this.links.changes,y(null)).pipe(Xt()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let t=[...this.links.toArray(),this.link].filter(n=>!!n).map(n=>n.onChanges);this.linkInputChangesSubscription=re(t).pipe(Xt()).subscribe(n=>{this._isActive!==this.isLinkActive(this.router)(n)&&this.update()})}set routerLinkActive(t){let n=Array.isArray(t)?t:t.split(" ");this.classes=n.filter(a=>!!a)}ngOnChanges(t){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let t=this.hasActiveLinks();this.classes.forEach(n=>{t?this.renderer.addClass(this.element.nativeElement,n):this.renderer.removeClass(this.element.nativeElement,n)}),t&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==t&&(this._isActive=t,this.cdr.markForCheck(),this.isActiveChange.emit(t))})}isLinkActive(t){let n=X0(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return a=>{let o=a.urlTree;return o?t.isActive(o,n):!1}}hasActiveLinks(){let t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.links.some(t)}};e.\u0275fac=function(n){return new(n||e)(A(He),A(J),A(Ye),A(Ne),A($n,8))},e.\u0275dir=I({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(n,a,o){if(n&1&&Ca(o,$n,5),n&2){let l;Ue(l=Oe())&&(a.links=l)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[pe]});let i=e;return i})();function X0(i){return!!i.paths}var Wn=class{};var G0=(()=>{let e=class e{constructor(t,n,a,o,l){this.router=t,this.injector=a,this.preloadingStrategy=o,this.loader=l}setUpPreloading(){this.subscription=this.router.events.pipe(de(t=>t instanceof Le),Rt(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,n){let a=[];for(let o of n){o.providers&&!o._injector&&(o._injector=lr(o.providers,t,`Route: ${o.path}`));let l=o._injector??t,u=o._loadedInjector??l;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&a.push(this.preloadConfig(l,o)),(o.children||o._loadedRoutes)&&a.push(this.processRoutes(u,o.children??o._loadedRoutes))}return re(a).pipe(Xt())}preloadConfig(t,n){return this.preloadingStrategy.preload(n,()=>{let a;n.loadChildren&&n.canLoad===void 0?a=this.loader.loadChildren(t,n):a=y(null);let o=a.pipe(le(l=>l===null?y(void 0):(n._loadedRoutes=l.routes,n._loadedInjector=l.injector,this.processRoutes(l.injector??t,l.routes))));if(n.loadComponent&&!n._loadedComponent){let l=this.loader.loadComponent(n);return re([o,l]).pipe(Xt())}else return o})}};e.\u0275fac=function(n){return new(n||e)(B(He),B(Yi),B(rt),B(Wn),B(js))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),fu=new z(""),H0=(()=>{let e=class e{constructor(t,n,a,o,l={}){this.urlSerializer=t,this.transitions=n,this.viewportScroller=a,this.zone=o,this.options=l,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},l.scrollPositionRestoration||="disabled",l.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof Nt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Le?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof tt&&t.code===Kn.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof In&&(t.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(t.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,n){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new In(t,this.lastSource==="popstate"?this.store[this.restoredId]:null,n))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(n){ga()},e.\u0275prov=N({token:e,factory:e.\u0275fac});let i=e;return i})();function z0(i){return i.routerState.root}function Pi(i,e){return{\u0275kind:i,\u0275providers:e}}function $0(){let i=M(We);return e=>{let s=i.get(qi);if(e!==s.components[0])return;let t=i.get(He),n=i.get(cu);i.get(Hs)===1&&t.initialNavigation(),i.get(hu,null,sr.Optional)?.setUpPreloading(),i.get(fu,null,sr.Optional)?.init(),t.resetRootComponentType(s.componentTypes[0]),n.closed||(n.next(),n.complete(),n.unsubscribe())}}var cu=new z("",{factory:()=>new W}),Hs=new z("",{providedIn:"root",factory:()=>1});function W0(){return Pi(2,[{provide:Hs,useValue:0},{provide:cr,multi:!0,deps:[We],useFactory:e=>{let s=e.get(ya,Promise.resolve());return()=>s.then(()=>new Promise(t=>{let n=e.get(He),a=e.get(cu);ou(n,()=>{t(!0)}),e.get(Gs).afterPreactivation=()=>(t(!0),a.closed?y(void 0):a),n.initialNavigation()}))}}])}function q0(){return Pi(3,[{provide:cr,multi:!0,useFactory:()=>{let e=M(He);return()=>{e.setUpLocationChangeListener()}}},{provide:Hs,useValue:2}])}var hu=new z("");function Y0(i){return Pi(0,[{provide:hu,useExisting:G0},{provide:Wn,useExisting:i}])}function Z0(){return Pi(8,[Lo,{provide:qn,useExisting:Lo}])}function Q0(i){let e=[{provide:su,useValue:M0},{provide:au,useValue:S({skipNextTransition:!!i?.skipInitialTransition},i)}];return Pi(9,e)}var Mo=new z("ROUTER_FORROOT_GUARD"),J0=[at,{provide:Bi,useClass:Kt},He,Ui,{provide:gt,useFactory:z0,deps:[He]},js,[]],zs=(()=>{let e=class e{constructor(t){}static forRoot(t,n){return{ngModule:e,providers:[J0,[],{provide:zn,multi:!0,useValue:t},{provide:Mo,useFactory:nd,deps:[[He,new fa,new ca]]},{provide:Vi,useValue:n||{}},n?.useHash?td():id(),ed(),n?.preloadingStrategy?Y0(n.preloadingStrategy).\u0275providers:[],n?.initialNavigation?rd(n):[],n?.bindToComponentInputs?Z0().\u0275providers:[],n?.enableViewTransitions?Q0().\u0275providers:[],sd()]}}static forChild(t){return{ngModule:e,providers:[{provide:zn,multi:!0,useValue:t}]}}};e.\u0275fac=function(n){return new(n||e)(B(Mo,8))},e.\u0275mod=$({type:e}),e.\u0275inj=H({});let i=e;return i})();function ed(){return{provide:fu,useFactory:()=>{let i=M(Pa),e=M(oe),s=M(Vi),t=M(Gs),n=M(Bi);return s.scrollOffset&&i.setOffset(s.scrollOffset),new H0(n,t,i,e,s)}}}function td(){return{provide:qt,useClass:Ba}}function id(){return{provide:qt,useClass:wa}}function nd(i){return"guarded"}function rd(i){return[i.initialNavigation==="disabled"?q0().\u0275providers:[],i.initialNavigation==="enabledBlocking"?W0().\u0275providers:[]]}var Uo=new z("");function sd(){return[{provide:Uo,useFactory:$0},{provide:Aa,multi:!0,useExisting:Uo}]}var du=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=be({type:e,selectors:[["app-root"]],decls:11,vars:0,consts:[["href","https://github.com/Harvest-Dev/ng-select2/tree/master/src","target","_blank"],["routerLink","/examples","routerLinkActive","active"],["routerLink","/generator","routerLinkActive","active"]],template:function(n,a){n&1&&(h(0,"a",0),p(1,"the source code of the demo"),c(),h(2,"nav")(3,"ul")(4,"li")(5,"a",1),p(6,"Examples"),c()(),h(7,"li")(8,"a",2),p(9,"Code generator"),c()()()(),L(10,"router-outlet"))},dependencies:[Is,$n,uu],styles:[`.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:#00000052}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{color:#24292e;background:#fff}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#d73a49}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#6f42c1}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-variable,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id{color:#005cc5}.hljs-regexp,.hljs-string,.hljs-meta .hljs-string{color:#032f62}.hljs-built_in,.hljs-symbol{color:#e36209}.hljs-comment,.hljs-code,.hljs-formula{color:#6a737d}.hljs-name,.hljs-quote,.hljs-selector-tag,.hljs-selector-pseudo{color:#22863a}.hljs-subst{color:#24292e}.hljs-section{color:#005cc5;font-weight:700}.hljs-bullet{color:#735c0f}.hljs-emphasis{color:#24292e;font-style:italic}.hljs-strong{color:#24292e;font-weight:700}.hljs-addition{color:#22863a;background-color:#f0fff4}.hljs-deletion{color:#b31d28;background-color:#ffeef0}:root{--select2-single-height: 28px;--select2-multiple-height: 28px;--select2-label-text-color: #000;--select2-required-color: red;--select2-selection-border-radius: 4px;--select2-selection-background: #fff;--select2-selection-disabled-background: #eee;--select2-selection-border-color: #aaa;--select2-selection-focus-border-color: #000;--select2-selection-text-color: #111;--select2-selection-line-height: 28px;--select2-selection-padding: 0 0 0 8px;--select2-selection-multiple-gap: 2px 5px;--select2-selection-multiple-padding: 2px 5px;--select2-selection-choice-background: #e4e4e4;--select2-selection-choice-text-color: #000;--select2-selection-choice-border-color: #aaa;--select2-selection-choice-close-color: #999;--select2-selection-choice-hover-close-color: #333;--select2-placeholder-color: #999;--select2-placeholder-overflow: ellipsis;--select2-no-result-color: #888;--select2-no-result-font-style: italic;--select2-too-much-result-color: #888;--select2-too-much-result-style: italic;--select2-reset-color: #999;--select2-arrow-color: #888;--select2-dropdown-background: #fff;--select2-dropdown-border-color: #aaa;--select2-overlay-backdrop: transparent;--select2-search-border-color: #aaa;--select2-search-background: #fff;--select2-search-border-radius: 0px;--select2-option-text-color: #000;--select2-option-disabled-text-color: #999;--select2-option-disabled-background: transparent;--select2-option-selected-text-color: #000;--select2-option-selected-background: #ddd;--select2-option-highlighted-text-color: #fff;--select2-option-highlighted-background: #5897fb;--select2-option-group-text-color: gray;--select2-option-group-background: transparent;--select2-option-padding: 6px;--select2-hint-text-color: #888;--select2-material-underline: #ddd;--select2-material-underline-active: #5a419e;--select2-material-underline-disabled: linear-gradient( to right, rgba(0, 0, 0, .26) 0, rgba(0, 0, 0, .26) 33%, transparent 0 );--select2-material-underline-invalid: red;--select2-material-placeholder-color: rgba(0, 0, 0, .38);--select2-material-selection-background: #ddd;--select2-material-option-selected-background: rgba(0, 0, 0, .04);--select2-material-option-highlighted-text-color: #000;--select2-material-option-selected-text-color: #ff5722}nav ul{display:block}nav li{display:inline-block;padding:0 15px} -/*! Bundled license information: - -highlight.js/styles/github.css: - (*! - Theme: GitHub - Description: Light theme as seen on github.com - Author: github.com - Maintainer: @Hirse - Updated: 2021-05-15 - - Outdated base version: https://github.com/primer/github-syntax-light - Current colors taken from GitHub's CSS - *) -*/ -`],encapsulation:2});let i=e;return i})();var ld=[{path:"examples",component:as},{path:"generator",component:vo},{path:"**",component:as}],pu=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=$({type:e}),e.\u0275inj=H({imports:[zs.forRoot(ld),zs]});let i=e;return i})();var _u=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=$({type:e,bootstrap:[du]}),e.\u0275inj=H({providers:[{provide:Ia,useValue:{coreLibraryLoader:()=>import("./chunk-F3DQSGUR.js"),lineNumbersLoader:()=>import("./chunk-NRII47LB.js"),languages:{typescript:()=>import("./chunk-IFHAGN7F.js"),javascript:()=>import("./chunk-R3Y2WNBP.js"),css:()=>import("./chunk-EUXCH4QR.js"),xml:()=>import("./chunk-42FKKDAP.js")}}}],imports:[Ka,pu,li,eo,Fa]});let i=e;return i})();var Eu={production:!0};Eu.production&&void 0;Da().bootstrapModule(_u).catch(i=>console.log(i)); diff --git a/dist/ng-select2/browser/main-UNBS5YYR.js b/dist/ng-select2/browser/main-UNBS5YYR.js new file mode 100644 index 0000000..b521f73 --- /dev/null +++ b/dist/ng-select2/browser/main-UNBS5YYR.js @@ -0,0 +1,49 @@ +import{$ as I,$a as Oe,A as ir,Aa as bt,Ab as Ae,B as Ct,Ba as fe,C as ra,Ca as st,Cb as La,D as Ii,Da as xa,Db as hr,E as We,Ea as lr,Eb as ce,F as nr,Fa as k,Fb as ya,G as sa,Ga as Ue,Gb as qt,H as aa,Ha as v,Hb as wa,I as rr,Ia as Ht,Ib as Ba,J as Ce,Ja as Z,Jb as at,K as Gt,Ka as or,Kb as Ma,L as la,La as ji,Lb as Ua,M as te,Ma as q,Mb as Oa,N as oa,Na as Xi,Nb as Va,O as ie,Oa as Gi,Ob as Pa,P as Be,Pa as p,Pb as Da,Q as N,Qa as c,Qb as Ka,R as z,Ra as L,Rb as Na,S as ua,Sa as Ne,Sb as Ia,T as $,Ta as Ee,U as sr,Ua as Ra,V as M,Va as b,Vb as ka,W as U,Wa as T,Wb as Fa,X as fa,Xa as ur,Y as ca,Ya as Hi,Z as Se,Za as Ca,_ as W,_a as Ze,a as we,aa as rt,ab as Ve,b as Qs,ba as Me,bb as G,c as Js,ca as de,cb as _,d as Zn,da as g,db as se,e as Qn,ea as x,eb as y,f as Y,fa as Te,fb as zt,g as Re,ga as ki,gb as $t,h as $e,ha as qe,hb as Wt,i as ae,ia as ee,ib as me,j as w,ja as ha,jb as fr,k as jt,ka as K,kb as va,l as Jn,la as pa,lb as ba,m as ea,ma as da,mb as Sa,n as j,na as ve,nb as zi,o as Ki,oa as _a,ob as $i,p as oe,pa as Ea,pb as Q,q as Xt,qa as E,qb as Ta,r as ta,ra as A,rb as Wi,s as er,sa as ma,sb as cr,t as ia,ta as _e,tb as Aa,u as Ni,ua as ar,ub as qi,v as na,va as Ye,vb as Yi,w as pe,wa as ue,wb as Ie,x as tr,xa as ga,xb as H,y as xt,ya as Fi,yb as Qe,z as Rt,za as vt,zb as St}from"./chunk-JIMBH2NK.js";import{a as S,b as F,c as gt,d as Zs}from"./chunk-LHREKEGM.js";var qr=gt(pt=>{"use strict";Object.defineProperty(pt,"__esModule",{value:!0});pt.EXTENDED_PICTOGRAPHIC=pt.CLUSTER_BREAK=void 0;var Kc;(function(i){i[i.CR=0]="CR",i[i.LF=1]="LF",i[i.CONTROL=2]="CONTROL",i[i.EXTEND=3]="EXTEND",i[i.REGIONAL_INDICATOR=4]="REGIONAL_INDICATOR",i[i.SPACINGMARK=5]="SPACINGMARK",i[i.L=6]="L",i[i.V=7]="V",i[i.T=8]="T",i[i.LV=9]="LV",i[i.LVT=10]="LVT",i[i.OTHER=11]="OTHER",i[i.PREPEND=12]="PREPEND",i[i.E_BASE=13]="E_BASE",i[i.E_MODIFIER=14]="E_MODIFIER",i[i.ZWJ=15]="ZWJ",i[i.GLUE_AFTER_ZWJ=16]="GLUE_AFTER_ZWJ",i[i.E_BASE_GAZ=17]="E_BASE_GAZ"})(Kc=pt.CLUSTER_BREAK||(pt.CLUSTER_BREAK={}));pt.EXTENDED_PICTOGRAPHIC=101});var to=gt(Qr=>{"use strict";Object.defineProperty(Qr,"__esModule",{value:!0});var D=qr(),je=0,Yr=1,Nc=2,Ic=3,kc=4,Zr=class{static isSurrogate(e,s){return 55296<=e.charCodeAt(s)&&e.charCodeAt(s)<=56319&&56320<=e.charCodeAt(s+1)&&e.charCodeAt(s+1)<=57343}static codePointAt(e,s){s===void 0&&(s=0);let t=e.charCodeAt(s);if(55296<=t&&t<=56319&&s=1){let n=e.charCodeAt(s-1),a=t;return 55296<=n&&n<=56319?(n-55296)*1024+(a-56320)+65536:a}return t}static shouldBreak(e,s,t,n,a,l){let o=[e].concat(s).concat([t]),u=[n].concat(a).concat([l]),f=o[o.length-2],d=t,h=l,m=o.lastIndexOf(D.CLUSTER_BREAK.REGIONAL_INDICATOR);if(m>0&&o.slice(1,m).every(function(C){return C===D.CLUSTER_BREAK.REGIONAL_INDICATOR})&&[D.CLUSTER_BREAK.PREPEND,D.CLUSTER_BREAK.REGIONAL_INDICATOR].indexOf(f)===-1)return o.filter(function(C){return C===D.CLUSTER_BREAK.REGIONAL_INDICATOR}).length%2===1?Ic:kc;if(f===D.CLUSTER_BREAK.CR&&d===D.CLUSTER_BREAK.LF)return je;if(f===D.CLUSTER_BREAK.CONTROL||f===D.CLUSTER_BREAK.CR||f===D.CLUSTER_BREAK.LF)return Yr;if(d===D.CLUSTER_BREAK.CONTROL||d===D.CLUSTER_BREAK.CR||d===D.CLUSTER_BREAK.LF)return Yr;if(f===D.CLUSTER_BREAK.L&&(d===D.CLUSTER_BREAK.L||d===D.CLUSTER_BREAK.V||d===D.CLUSTER_BREAK.LV||d===D.CLUSTER_BREAK.LVT))return je;if((f===D.CLUSTER_BREAK.LV||f===D.CLUSTER_BREAK.V)&&(d===D.CLUSTER_BREAK.V||d===D.CLUSTER_BREAK.T))return je;if((f===D.CLUSTER_BREAK.LVT||f===D.CLUSTER_BREAK.T)&&d===D.CLUSTER_BREAK.T)return je;if(d===D.CLUSTER_BREAK.EXTEND||d===D.CLUSTER_BREAK.ZWJ)return je;if(d===D.CLUSTER_BREAK.SPACINGMARK)return je;if(f===D.CLUSTER_BREAK.PREPEND)return je;let R=u.slice(0,-1).lastIndexOf(D.EXTENDED_PICTOGRAPHIC);return R!==-1&&u[R]===D.EXTENDED_PICTOGRAPHIC&&o.slice(R+1,-2).every(function(C){return C===D.CLUSTER_BREAK.EXTEND})&&f===D.CLUSTER_BREAK.ZWJ&&h===D.EXTENDED_PICTOGRAPHIC?je:s.indexOf(D.CLUSTER_BREAK.REGIONAL_INDICATOR)!==-1?Nc:f===D.CLUSTER_BREAK.REGIONAL_INDICATOR&&d===D.CLUSTER_BREAK.REGIONAL_INDICATOR?je:Yr}};Qr.default=Zr});var io=gt(es=>{"use strict";Object.defineProperty(es,"__esModule",{value:!0});var Jr=class{constructor(e,s){this._index=0,this._str=e,this._nextBreak=s}[Symbol.iterator](){return this}next(){let e;if((e=this._nextBreak(this._str,this._index)){"use strict";var no=hi&&hi.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(hi,"__esModule",{value:!0});var r=qr(),An=no(to()),Fc=no(io()),ts=class i{static nextBreak(e,s){if(s===void 0&&(s=0),s<0)return 0;if(s>=e.length-1)return e.length;let t=An.default.codePointAt(e,s),n=i.getGraphemeBreakProperty(t),a=i.getEmojiProperty(t),l=[],o=[];for(let u=s+1;u{"use strict";var jc=pi&&pi.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(pi,"__esModule",{value:!0});var Xc=jc(ro());pi.default=Xc.default});var Ro=gt((_i,ls)=>{(function(i,e){typeof _i=="object"&&typeof ls=="object"?ls.exports=e():typeof define=="function"&&define.amd?define([],e):typeof _i=="object"?_i.bowser=e():i.bowser=e()})(_i,function(){return function(i){var e={};function s(t){if(e[t])return e[t].exports;var n=e[t]={i:t,l:!1,exports:{}};return i[t].call(n.exports,n,n.exports,s),n.l=!0,n.exports}return s.m=i,s.c=e,s.d=function(t,n,a){s.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:a})},s.r=function(t){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},s.t=function(t,n){if(1&n&&(t=s(t)),8&n||4&n&&typeof t=="object"&&t&&t.__esModule)return t;var a=Object.create(null);if(s.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&n&&typeof t!="string")for(var l in t)s.d(a,l,(function(o){return t[o]}).bind(null,l));return a},s.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return s.d(n,"a",n),n},s.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},s.p="",s(s.s=90)}({17:function(i,e,s){"use strict";e.__esModule=!0,e.default=void 0;var t=s(18),n=function(){function a(){}return a.getFirstMatch=function(l,o){var u=o.match(l);return u&&u.length>0&&u[1]||""},a.getSecondMatch=function(l,o){var u=o.match(l);return u&&u.length>1&&u[2]||""},a.matchAndReturnConst=function(l,o,u){if(l.test(o))return u},a.getWindowsVersionName=function(l){switch(l){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},a.getMacOSVersionName=function(l){var o=l.split(".").splice(0,2).map(function(u){return parseInt(u,10)||0});if(o.push(0),o[0]===10)switch(o[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},a.getAndroidVersionName=function(l){var o=l.split(".").splice(0,2).map(function(u){return parseInt(u,10)||0});if(o.push(0),!(o[0]===1&&o[1]<5))return o[0]===1&&o[1]<6?"Cupcake":o[0]===1&&o[1]>=6?"Donut":o[0]===2&&o[1]<2?"Eclair":o[0]===2&&o[1]===2?"Froyo":o[0]===2&&o[1]>2?"Gingerbread":o[0]===3?"Honeycomb":o[0]===4&&o[1]<1?"Ice Cream Sandwich":o[0]===4&&o[1]<4?"Jelly Bean":o[0]===4&&o[1]>=4?"KitKat":o[0]===5?"Lollipop":o[0]===6?"Marshmallow":o[0]===7?"Nougat":o[0]===8?"Oreo":o[0]===9?"Pie":void 0},a.getVersionPrecision=function(l){return l.split(".").length},a.compareVersions=function(l,o,u){u===void 0&&(u=!1);var f=a.getVersionPrecision(l),d=a.getVersionPrecision(o),h=Math.max(f,d),m=0,R=a.map([l,o],function(C){var B=h-a.getVersionPrecision(C),P=C+new Array(B+1).join(".0");return a.map(P.split("."),function(he){return new Array(20-he.length).join("0")+he}).reverse()});for(u&&(m=h-Math.min(f,d)),h-=1;h>=m;){if(R[0][h]>R[1][h])return 1;if(R[0][h]===R[1][h]){if(h===m)return 0;h-=1}else if(R[0][h]1?d-1:0),m=1;m0){var De=Object.keys(C),nt=o.default.find(De,function(Ke){return R.isOS(Ke)});if(nt){var $s=this.satisfies(C[nt]);if($s!==void 0)return $s}var Ws=o.default.find(De,function(Ke){return R.isPlatform(Ke)});if(Ws){var qs=this.satisfies(C[Ws]);if(qs!==void 0)return qs}}if(he>0){var mu=Object.keys(P),Ys=o.default.find(mu,function(Ke){return R.isBrowser(Ke,!0)});if(Ys!==void 0)return this.compareVersion(P[Ys])}},h.isBrowser=function(m,R){R===void 0&&(R=!1);var C=this.getBrowserName().toLowerCase(),B=m.toLowerCase(),P=o.default.getBrowserTypeByAlias(B);return R&&P&&(B=P.toLowerCase()),B===C},h.compareVersion=function(m){var R=[0],C=m,B=!1,P=this.getBrowserVersion();if(typeof P=="string")return m[0]===">"||m[0]==="<"?(C=m.substr(1),m[1]==="="?(B=!0,C=m.substr(2)):R=[],m[0]===">"?R.push(1):R.push(-1)):m[0]==="="?C=m.substr(1):m[0]==="~"&&(B=!0,C=m.substr(1)),R.indexOf(o.default.compareVersions(P,C,B))>-1},h.isOS=function(m){return this.getOSName(!0)===String(m).toLowerCase()},h.isPlatform=function(m){return this.getPlatformType(!0)===String(m).toLowerCase()},h.isEngine=function(m){return this.getEngineName(!0)===String(m).toLowerCase()},h.is=function(m,R){return R===void 0&&(R=!1),this.isBrowser(m,R)||this.isOS(m)||this.isPlatform(m)},h.some=function(m){var R=this;return m===void 0&&(m=[]),m.some(function(C){return R.is(C)})},d}();e.default=f,i.exports=e.default},92:function(i,e,s){"use strict";e.__esModule=!0,e.default=void 0;var t,n=(t=s(17))&&t.__esModule?t:{default:t},a=/version\/(\d+(\.?_?\d+)+)/i,l=[{test:[/googlebot/i],describe:function(o){var u={name:"Googlebot"},f=n.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,o)||n.default.getFirstMatch(a,o);return f&&(u.version=f),u}},{test:[/opera/i],describe:function(o){var u={name:"Opera"},f=n.default.getFirstMatch(a,o)||n.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,o);return f&&(u.version=f),u}},{test:[/opr\/|opios/i],describe:function(o){var u={name:"Opera"},f=n.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,o)||n.default.getFirstMatch(a,o);return f&&(u.version=f),u}},{test:[/SamsungBrowser/i],describe:function(o){var u={name:"Samsung Internet for Android"},f=n.default.getFirstMatch(a,o)||n.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,o);return f&&(u.version=f),u}},{test:[/Whale/i],describe:function(o){var u={name:"NAVER Whale Browser"},f=n.default.getFirstMatch(a,o)||n.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,o);return f&&(u.version=f),u}},{test:[/MZBrowser/i],describe:function(o){var u={name:"MZ Browser"},f=n.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,o)||n.default.getFirstMatch(a,o);return f&&(u.version=f),u}},{test:[/focus/i],describe:function(o){var u={name:"Focus"},f=n.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,o)||n.default.getFirstMatch(a,o);return f&&(u.version=f),u}},{test:[/swing/i],describe:function(o){var u={name:"Swing"},f=n.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,o)||n.default.getFirstMatch(a,o);return f&&(u.version=f),u}},{test:[/coast/i],describe:function(o){var u={name:"Opera Coast"},f=n.default.getFirstMatch(a,o)||n.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,o);return f&&(u.version=f),u}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(o){var u={name:"Opera Touch"},f=n.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,o)||n.default.getFirstMatch(a,o);return f&&(u.version=f),u}},{test:[/yabrowser/i],describe:function(o){var u={name:"Yandex Browser"},f=n.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,o)||n.default.getFirstMatch(a,o);return f&&(u.version=f),u}},{test:[/ucbrowser/i],describe:function(o){var u={name:"UC Browser"},f=n.default.getFirstMatch(a,o)||n.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,o);return f&&(u.version=f),u}},{test:[/Maxthon|mxios/i],describe:function(o){var u={name:"Maxthon"},f=n.default.getFirstMatch(a,o)||n.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,o);return f&&(u.version=f),u}},{test:[/epiphany/i],describe:function(o){var u={name:"Epiphany"},f=n.default.getFirstMatch(a,o)||n.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,o);return f&&(u.version=f),u}},{test:[/puffin/i],describe:function(o){var u={name:"Puffin"},f=n.default.getFirstMatch(a,o)||n.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,o);return f&&(u.version=f),u}},{test:[/sleipnir/i],describe:function(o){var u={name:"Sleipnir"},f=n.default.getFirstMatch(a,o)||n.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,o);return f&&(u.version=f),u}},{test:[/k-meleon/i],describe:function(o){var u={name:"K-Meleon"},f=n.default.getFirstMatch(a,o)||n.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,o);return f&&(u.version=f),u}},{test:[/micromessenger/i],describe:function(o){var u={name:"WeChat"},f=n.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,o)||n.default.getFirstMatch(a,o);return f&&(u.version=f),u}},{test:[/qqbrowser/i],describe:function(o){var u={name:/qqbrowserlite/i.test(o)?"QQ Browser Lite":"QQ Browser"},f=n.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,o)||n.default.getFirstMatch(a,o);return f&&(u.version=f),u}},{test:[/msie|trident/i],describe:function(o){var u={name:"Internet Explorer"},f=n.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,o);return f&&(u.version=f),u}},{test:[/\sedg\//i],describe:function(o){var u={name:"Microsoft Edge"},f=n.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,o);return f&&(u.version=f),u}},{test:[/edg([ea]|ios)/i],describe:function(o){var u={name:"Microsoft Edge"},f=n.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,o);return f&&(u.version=f),u}},{test:[/vivaldi/i],describe:function(o){var u={name:"Vivaldi"},f=n.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,o);return f&&(u.version=f),u}},{test:[/seamonkey/i],describe:function(o){var u={name:"SeaMonkey"},f=n.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,o);return f&&(u.version=f),u}},{test:[/sailfish/i],describe:function(o){var u={name:"Sailfish"},f=n.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,o);return f&&(u.version=f),u}},{test:[/silk/i],describe:function(o){var u={name:"Amazon Silk"},f=n.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,o);return f&&(u.version=f),u}},{test:[/phantom/i],describe:function(o){var u={name:"PhantomJS"},f=n.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,o);return f&&(u.version=f),u}},{test:[/slimerjs/i],describe:function(o){var u={name:"SlimerJS"},f=n.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,o);return f&&(u.version=f),u}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(o){var u={name:"BlackBerry"},f=n.default.getFirstMatch(a,o)||n.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,o);return f&&(u.version=f),u}},{test:[/(web|hpw)[o0]s/i],describe:function(o){var u={name:"WebOS Browser"},f=n.default.getFirstMatch(a,o)||n.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,o);return f&&(u.version=f),u}},{test:[/bada/i],describe:function(o){var u={name:"Bada"},f=n.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,o);return f&&(u.version=f),u}},{test:[/tizen/i],describe:function(o){var u={name:"Tizen"},f=n.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,o)||n.default.getFirstMatch(a,o);return f&&(u.version=f),u}},{test:[/qupzilla/i],describe:function(o){var u={name:"QupZilla"},f=n.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,o)||n.default.getFirstMatch(a,o);return f&&(u.version=f),u}},{test:[/firefox|iceweasel|fxios/i],describe:function(o){var u={name:"Firefox"},f=n.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,o);return f&&(u.version=f),u}},{test:[/electron/i],describe:function(o){var u={name:"Electron"},f=n.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,o);return f&&(u.version=f),u}},{test:[/MiuiBrowser/i],describe:function(o){var u={name:"Miui"},f=n.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,o);return f&&(u.version=f),u}},{test:[/chromium/i],describe:function(o){var u={name:"Chromium"},f=n.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,o)||n.default.getFirstMatch(a,o);return f&&(u.version=f),u}},{test:[/chrome|crios|crmo/i],describe:function(o){var u={name:"Chrome"},f=n.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,o);return f&&(u.version=f),u}},{test:[/GSA/i],describe:function(o){var u={name:"Google Search"},f=n.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,o);return f&&(u.version=f),u}},{test:function(o){var u=!o.test(/like android/i),f=o.test(/android/i);return u&&f},describe:function(o){var u={name:"Android Browser"},f=n.default.getFirstMatch(a,o);return f&&(u.version=f),u}},{test:[/playstation 4/i],describe:function(o){var u={name:"PlayStation 4"},f=n.default.getFirstMatch(a,o);return f&&(u.version=f),u}},{test:[/safari|applewebkit/i],describe:function(o){var u={name:"Safari"},f=n.default.getFirstMatch(a,o);return f&&(u.version=f),u}},{test:[/.*/i],describe:function(o){var u=o.search("\\(")!==-1?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:n.default.getFirstMatch(u,o),version:n.default.getSecondMatch(u,o)}}}];e.default=l,i.exports=e.default},93:function(i,e,s){"use strict";e.__esModule=!0,e.default=void 0;var t,n=(t=s(17))&&t.__esModule?t:{default:t},a=s(18),l=[{test:[/Roku\/DVP/],describe:function(o){var u=n.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,o);return{name:a.OS_MAP.Roku,version:u}}},{test:[/windows phone/i],describe:function(o){var u=n.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,o);return{name:a.OS_MAP.WindowsPhone,version:u}}},{test:[/windows /i],describe:function(o){var u=n.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,o),f=n.default.getWindowsVersionName(u);return{name:a.OS_MAP.Windows,version:u,versionName:f}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(o){var u={name:a.OS_MAP.iOS},f=n.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,o);return f&&(u.version=f),u}},{test:[/macintosh/i],describe:function(o){var u=n.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,o).replace(/[_\s]/g,"."),f=n.default.getMacOSVersionName(u),d={name:a.OS_MAP.MacOS,version:u};return f&&(d.versionName=f),d}},{test:[/(ipod|iphone|ipad)/i],describe:function(o){var u=n.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,o).replace(/[_\s]/g,".");return{name:a.OS_MAP.iOS,version:u}}},{test:function(o){var u=!o.test(/like android/i),f=o.test(/android/i);return u&&f},describe:function(o){var u=n.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,o),f=n.default.getAndroidVersionName(u),d={name:a.OS_MAP.Android,version:u};return f&&(d.versionName=f),d}},{test:[/(web|hpw)[o0]s/i],describe:function(o){var u=n.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,o),f={name:a.OS_MAP.WebOS};return u&&u.length&&(f.version=u),f}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(o){var u=n.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,o)||n.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,o)||n.default.getFirstMatch(/\bbb(\d+)/i,o);return{name:a.OS_MAP.BlackBerry,version:u}}},{test:[/bada/i],describe:function(o){var u=n.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,o);return{name:a.OS_MAP.Bada,version:u}}},{test:[/tizen/i],describe:function(o){var u=n.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,o);return{name:a.OS_MAP.Tizen,version:u}}},{test:[/linux/i],describe:function(){return{name:a.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:a.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(o){var u=n.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,o);return{name:a.OS_MAP.PlayStation4,version:u}}}];e.default=l,i.exports=e.default},94:function(i,e,s){"use strict";e.__esModule=!0,e.default=void 0;var t,n=(t=s(17))&&t.__esModule?t:{default:t},a=s(18),l=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(o){var u=n.default.getFirstMatch(/(can-l01)/i,o)&&"Nova",f={type:a.PLATFORMS_MAP.mobile,vendor:"Huawei"};return u&&(f.model=u),f}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet}}},{test:function(o){var u=o.test(/ipod|iphone/i),f=o.test(/like (ipod|iphone)/i);return u&&!f},describe:function(o){var u=n.default.getFirstMatch(/(ipod|iphone)/i,o);return{type:a.PLATFORMS_MAP.mobile,vendor:"Apple",model:u}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:a.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:a.PLATFORMS_MAP.mobile}}},{test:function(o){return o.getBrowserName(!0)==="blackberry"},describe:function(){return{type:a.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(o){return o.getBrowserName(!0)==="bada"},describe:function(){return{type:a.PLATFORMS_MAP.mobile}}},{test:function(o){return o.getBrowserName()==="windows phone"},describe:function(){return{type:a.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(o){var u=Number(String(o.getOSVersion()).split(".")[0]);return o.getOSName(!0)==="android"&&u>=3},describe:function(){return{type:a.PLATFORMS_MAP.tablet}}},{test:function(o){return o.getOSName(!0)==="android"},describe:function(){return{type:a.PLATFORMS_MAP.mobile}}},{test:function(o){return o.getOSName(!0)==="macos"},describe:function(){return{type:a.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(o){return o.getOSName(!0)==="windows"},describe:function(){return{type:a.PLATFORMS_MAP.desktop}}},{test:function(o){return o.getOSName(!0)==="linux"},describe:function(){return{type:a.PLATFORMS_MAP.desktop}}},{test:function(o){return o.getOSName(!0)==="playstation 4"},describe:function(){return{type:a.PLATFORMS_MAP.tv}}},{test:function(o){return o.getOSName(!0)==="roku"},describe:function(){return{type:a.PLATFORMS_MAP.tv}}}];e.default=l,i.exports=e.default},95:function(i,e,s){"use strict";e.__esModule=!0,e.default=void 0;var t,n=(t=s(17))&&t.__esModule?t:{default:t},a=s(18),l=[{test:function(o){return o.getBrowserName(!0)==="microsoft edge"},describe:function(o){if(/\sedg\//i.test(o))return{name:a.ENGINE_MAP.Blink};var u=n.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,o);return{name:a.ENGINE_MAP.EdgeHTML,version:u}}},{test:[/trident/i],describe:function(o){var u={name:a.ENGINE_MAP.Trident},f=n.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,o);return f&&(u.version=f),u}},{test:function(o){return o.test(/presto/i)},describe:function(o){var u={name:a.ENGINE_MAP.Presto},f=n.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,o);return f&&(u.version=f),u}},{test:function(o){var u=o.test(/gecko/i),f=o.test(/like gecko/i);return u&&!f},describe:function(o){var u={name:a.ENGINE_MAP.Gecko},f=n.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,o);return f&&(u.version=f),u}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:a.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(o){var u={name:a.ENGINE_MAP.WebKit},f=n.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,o);return f&&(u.version=f),u}}];e.default=l,i.exports=e.default}})})});var Za=(()=>{let e=class e{constructor(t,n){this._renderer=t,this._elementRef=n,this.onChange=a=>{},this.onTouched=()=>{}}setProperty(t,n){this._renderer.setProperty(this._elementRef.nativeElement,t,n)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}};e.\u0275fac=function(n){return new(n||e)(A(Ye),A(ee))},e.\u0275dir=I({type:e});let i=e;return i})(),ii=(()=>{let e=class e extends Za{};e.\u0275fac=(()=>{let t;return function(a){return(t||(t=Te(e)))(a||e)}})(),e.\u0275dir=I({type:e,features:[fe]});let i=e;return i})(),ot=new $(""),xu={provide:ot,useExisting:Be(()=>ni),multi:!0},ni=(()=>{let e=class e extends ii{writeValue(t){this.setProperty("checked",t)}};e.\u0275fac=(()=>{let t;return function(a){return(t||(t=Te(e)))(a||e)}})(),e.\u0275dir=I({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(n,a){n&1&&b("change",function(o){return a.onChange(o.target.checked)})("blur",function(){return a.onTouched()})},features:[me([xu]),fe]});let i=e;return i})(),Ru={provide:ot,useExisting:Be(()=>wt),multi:!0};function Cu(){let i=hr()?hr().getUserAgent():"";return/android (\d+)/.test(i.toLowerCase())}var vu=new $(""),wt=(()=>{let e=class e extends Za{constructor(t,n,a){super(t,n),this._compositionMode=a,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!Cu())}writeValue(t){let n=t??"";this.setProperty("value",n)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}};e.\u0275fac=function(n){return new(n||e)(A(Ye),A(ee),A(vu,8))},e.\u0275dir=I({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(n,a){n&1&&b("input",function(o){return a._handleInput(o.target.value)})("blur",function(){return a.onTouched()})("compositionstart",function(){return a._compositionStart()})("compositionend",function(o){return a._compositionEnd(o.target.value)})},features:[me([Ru]),fe]});let i=e;return i})();function Je(i){return i==null||(typeof i=="string"||Array.isArray(i))&&i.length===0}function Qa(i){return i!=null&&typeof i.length=="number"}var an=new $(""),ln=new $(""),bu=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,ti=class{static min(e){return Su(e)}static max(e){return Tu(e)}static required(e){return Au(e)}static requiredTrue(e){return Lu(e)}static email(e){return yu(e)}static minLength(e){return wu(e)}static maxLength(e){return Bu(e)}static pattern(e){return Mu(e)}static nullValidator(e){return Ja(e)}static compose(e){return sl(e)}static composeAsync(e){return al(e)}};function Su(i){return e=>{if(Je(e.value)||Je(i))return null;let s=parseFloat(e.value);return!isNaN(s)&&s{if(Je(e.value)||Je(i))return null;let s=parseFloat(e.value);return!isNaN(s)&&s>i?{max:{max:i,actual:e.value}}:null}}function Au(i){return Je(i.value)?{required:!0}:null}function Lu(i){return i.value===!0?null:{required:!0}}function yu(i){return Je(i.value)||bu.test(i.value)?null:{email:!0}}function wu(i){return e=>Je(e.value)||!Qa(e.value)?null:e.value.lengthQa(e.value)&&e.value.length>i?{maxlength:{requiredLength:i,actualLength:e.value.length}}:null}function Mu(i){if(!i)return Ja;let e,s;return typeof i=="string"?(s="",i.charAt(0)!=="^"&&(s+="^"),s+=i,i.charAt(i.length-1)!=="$"&&(s+="$"),e=new RegExp(s)):(s=i.toString(),e=i),t=>{if(Je(t.value))return null;let n=t.value;return e.test(n)?null:{pattern:{requiredPattern:s,actualValue:n}}}}function Ja(i){return null}function el(i){return i!=null}function tl(i){return Wi(i)?ae(i):i}function il(i){let e={};return i.forEach(s=>{e=s!=null?S(S({},e),s):e}),Object.keys(e).length===0?null:e}function nl(i,e){return e.map(s=>s(i))}function Uu(i){return!i.validate}function rl(i){return i.map(e=>Uu(e)?e:s=>e.validate(s))}function sl(i){if(!i)return null;let e=i.filter(el);return e.length==0?null:function(s){return il(nl(s,e))}}function gr(i){return i!=null?sl(rl(i)):null}function al(i){if(!i)return null;let e=i.filter(el);return e.length==0?null:function(s){let t=nl(s,e).map(tl);return ia(t).pipe(j(il))}}function xr(i){return i!=null?al(rl(i)):null}function ja(i,e){return i===null?[e]:Array.isArray(i)?[...i,e]:[i,e]}function ll(i){return i._rawValidators}function ol(i){return i._rawAsyncValidators}function pr(i){return i?Array.isArray(i)?i:[i]:[]}function Qi(i,e){return Array.isArray(i)?i.includes(e):i===e}function Xa(i,e){let s=pr(e);return pr(i).forEach(n=>{Qi(s,n)||s.push(n)}),s}function Ga(i,e){return pr(e).filter(s=>!Qi(i,s))}var Ji=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=gr(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=xr(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,s){return this.control?this.control.hasError(e,s):!1}getError(e,s){return this.control?this.control.getError(e,s):null}},ke=class extends Ji{get formDirective(){return null}get path(){return null}},Fe=class extends Ji{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},en=class{constructor(e){this._cd=e}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},Ou={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},wp=F(S({},Ou),{"[class.ng-submitted]":"isSubmitted"}),on=(()=>{let e=class e extends en{constructor(t){super(t)}};e.\u0275fac=function(n){return new(n||e)(A(Fe,2))},e.\u0275dir=I({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,a){n&2&&Z("ng-untouched",a.isUntouched)("ng-touched",a.isTouched)("ng-pristine",a.isPristine)("ng-dirty",a.isDirty)("ng-valid",a.isValid)("ng-invalid",a.isInvalid)("ng-pending",a.isPending)},features:[fe]});let i=e;return i})(),un=(()=>{let e=class e extends en{constructor(t){super(t)}};e.\u0275fac=function(n){return new(n||e)(A(ke,10))},e.\u0275dir=I({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,a){n&2&&Z("ng-untouched",a.isUntouched)("ng-touched",a.isTouched)("ng-pristine",a.isPristine)("ng-dirty",a.isDirty)("ng-valid",a.isValid)("ng-invalid",a.isInvalid)("ng-pending",a.isPending)("ng-submitted",a.isSubmitted)},features:[fe]});let i=e;return i})();var Yt="VALID",Zi="INVALID",Tt="PENDING",Zt="DISABLED",et=class{},tn=class extends et{constructor(e,s){super(),this.value=e,this.source=s}},Jt=class extends et{constructor(e,s){super(),this.pristine=e,this.source=s}},ei=class extends et{constructor(e,s){super(),this.touched=e,this.source=s}},At=class extends et{constructor(e,s){super(),this.status=e,this.source=s}},dr=class extends et{constructor(e){super(),this.source=e}},_r=class extends et{constructor(e){super(),this.source=e}};function Rr(i){return(fn(i)?i.validators:i)||null}function Vu(i){return Array.isArray(i)?gr(i):i||null}function Cr(i,e){return(fn(e)?e.asyncValidators:i)||null}function Pu(i){return Array.isArray(i)?xr(i):i||null}function fn(i){return i!=null&&!Array.isArray(i)&&typeof i=="object"}function ul(i,e,s){let t=i.controls;if(!(e?Object.keys(t):t).length)throw new ie(1e3,"");if(!t[s])throw new ie(1001,"")}function fl(i,e,s){i._forEachChild((t,n)=>{if(s[n]===void 0)throw new ie(1002,"")})}var yt=class{constructor(e,s){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=St(()=>this.statusReactive()),this.statusReactive=bt(void 0),this._pristine=St(()=>this.pristineReactive()),this.pristineReactive=bt(!0),this._touched=St(()=>this.touchedReactive()),this.touchedReactive=bt(!1),this._events=new Y,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(s)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get status(){return Ae(this.statusReactive)}set status(e){Ae(()=>this.statusReactive.set(e))}get valid(){return this.status===Yt}get invalid(){return this.status===Zi}get pending(){return this.status==Tt}get disabled(){return this.status===Zt}get enabled(){return this.status!==Zt}get pristine(){return Ae(this.pristineReactive)}set pristine(e){Ae(()=>this.pristineReactive.set(e))}get dirty(){return!this.pristine}get touched(){return Ae(this.touchedReactive)}set touched(e){Ae(()=>this.touchedReactive.set(e))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(Xa(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(Xa(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(Ga(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(Ga(e,this._rawAsyncValidators))}hasValidator(e){return Qi(this._rawValidators,e)}hasAsyncValidator(e){return Qi(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){let s=this.touched===!1;this.touched=!0;let t=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsTouched(F(S({},e),{sourceControl:t})),s&&e.emitEvent!==!1&&this._events.next(new ei(!0,t))}markAllAsTouched(e={}){this.markAsTouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(s=>s.markAllAsTouched(e))}markAsUntouched(e={}){let s=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let t=e.sourceControl??this;this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:t})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,t),s&&e.emitEvent!==!1&&this._events.next(new ei(!1,t))}markAsDirty(e={}){let s=this.pristine===!0;this.pristine=!1;let t=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsDirty(F(S({},e),{sourceControl:t})),s&&e.emitEvent!==!1&&this._events.next(new Jt(!1,t))}markAsPristine(e={}){let s=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let t=e.sourceControl??this;this._forEachChild(n=>{n.markAsPristine({onlySelf:!0,emitEvent:e.emitEvent})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e,t),s&&e.emitEvent!==!1&&this._events.next(new Jt(!0,t))}markAsPending(e={}){this.status=Tt;let s=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new At(this.status,s)),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.markAsPending(F(S({},e),{sourceControl:s}))}disable(e={}){let s=this._parentMarkedDirty(e.onlySelf);this.status=Zt,this.errors=null,this._forEachChild(n=>{n.disable(F(S({},e),{onlySelf:!0}))}),this._updateValue();let t=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new tn(this.value,t)),this._events.next(new At(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(F(S({},e),{skipPristineCheck:s}),this),this._onDisabledChange.forEach(n=>n(!0))}enable(e={}){let s=this._parentMarkedDirty(e.onlySelf);this.status=Yt,this._forEachChild(t=>{t.enable(F(S({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(F(S({},e),{skipPristineCheck:s}),this),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(e,s){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine({},s),this._parent._updateTouched({},s))}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let t=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Yt||this.status===Tt)&&this._runAsyncValidator(t,e.emitEvent)}let s=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new tn(this.value,s)),this._events.next(new At(this.status,s)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(F(S({},e),{sourceControl:s}))}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(s=>s._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Zt:Yt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,s){if(this.asyncValidator){this.status=Tt,this._hasOwnPendingAsyncValidator={emitEvent:s!==!1};let t=tl(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(n=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(n,{emitEvent:s,shouldHaveEmitted:e})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let e=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,e}return!1}setErrors(e,s={}){this.errors=e,this._updateControlsErrors(s.emitEvent!==!1,this,s.shouldHaveEmitted)}get(e){let s=e;return s==null||(Array.isArray(s)||(s=s.split(".")),s.length===0)?null:s.reduce((t,n)=>t&&t._find(n),this)}getError(e,s){let t=s?this.get(s):this;return t&&t.errors?t.errors[e]:null}hasError(e,s){return!!this.getError(e,s)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e,s,t){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),(e||t)&&this._events.next(new At(this.status,s)),this._parent&&this._parent._updateControlsErrors(e,s,t)}_initObservables(){this.valueChanges=new K,this.statusChanges=new K}_calculateStatus(){return this._allControlsDisabled()?Zt:this.errors?Zi:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Tt)?Tt:this._anyControlsHaveStatus(Zi)?Zi:Yt}_anyControlsHaveStatus(e){return this._anyControls(s=>s.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e,s){let t=!this._anyControlsDirty(),n=this.pristine!==t;this.pristine=t,this._parent&&!e.onlySelf&&this._parent._updatePristine(e,s),n&&this._events.next(new Jt(this.pristine,s))}_updateTouched(e={},s){this.touched=this._anyControlsTouched(),this._events.next(new ei(this.touched,s)),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,s)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){fn(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let s=this._parent&&this._parent.dirty;return!e&&!!s&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=Vu(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=Pu(this._rawAsyncValidators)}},lt=class extends yt{constructor(e,s,t){super(Rr(s),Cr(t,s)),this.controls=e,this._initObservables(),this._setUpdateStrategy(s),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,s){return this.controls[e]?this.controls[e]:(this.controls[e]=s,s.setParent(this),s._registerOnCollectionChange(this._onCollectionChange),s)}addControl(e,s,t={}){this.registerControl(e,s),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(e,s={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:s.emitEvent}),this._onCollectionChange()}setControl(e,s,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],s&&this.registerControl(e,s),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,s={}){fl(this,!0,e),Object.keys(e).forEach(t=>{ul(this,!0,t),this.controls[t].setValue(e[t],{onlySelf:!0,emitEvent:s.emitEvent})}),this.updateValueAndValidity(s)}patchValue(e,s={}){e!=null&&(Object.keys(e).forEach(t=>{let n=this.controls[t];n&&n.patchValue(e[t],{onlySelf:!0,emitEvent:s.emitEvent})}),this.updateValueAndValidity(s))}reset(e={},s={}){this._forEachChild((t,n)=>{t.reset(e?e[n]:null,{onlySelf:!0,emitEvent:s.emitEvent})}),this._updatePristine(s,this),this._updateTouched(s,this),this.updateValueAndValidity(s)}getRawValue(){return this._reduceChildren({},(e,s,t)=>(e[t]=s.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(s,t)=>t._syncPendingControls()?!0:s);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(s=>{let t=this.controls[s];t&&e(t,s)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[s,t]of Object.entries(this.controls))if(this.contains(s)&&e(t))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(s,t,n)=>((t.enabled||this.disabled)&&(s[n]=t.value),s))}_reduceChildren(e,s){let t=e;return this._forEachChild((n,a)=>{t=s(t,n,a)}),t}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var cl=lt;var Er=class extends lt{};var ri=new $("CallSetDisabledState",{providedIn:"root",factory:()=>cn}),cn="always";function hl(i,e){return[...e.path,i]}function nn(i,e,s=cn){vr(i,e),e.valueAccessor.writeValue(i.value),(i.disabled||s==="always")&&e.valueAccessor.setDisabledState?.(i.disabled),Ku(i,e),Iu(i,e),Nu(i,e),Du(i,e)}function Ha(i,e,s=!0){let t=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(t),e.valueAccessor.registerOnTouched(t)),sn(i,e),i&&(e._invokeOnDestroyCallbacks(),i._registerOnCollectionChange(()=>{}))}function rn(i,e){i.forEach(s=>{s.registerOnValidatorChange&&s.registerOnValidatorChange(e)})}function Du(i,e){if(e.valueAccessor.setDisabledState){let s=t=>{e.valueAccessor.setDisabledState(t)};i.registerOnDisabledChange(s),e._registerOnDestroy(()=>{i._unregisterOnDisabledChange(s)})}}function vr(i,e){let s=ll(i);e.validator!==null?i.setValidators(ja(s,e.validator)):typeof s=="function"&&i.setValidators([s]);let t=ol(i);e.asyncValidator!==null?i.setAsyncValidators(ja(t,e.asyncValidator)):typeof t=="function"&&i.setAsyncValidators([t]);let n=()=>i.updateValueAndValidity();rn(e._rawValidators,n),rn(e._rawAsyncValidators,n)}function sn(i,e){let s=!1;if(i!==null){if(e.validator!==null){let n=ll(i);if(Array.isArray(n)&&n.length>0){let a=n.filter(l=>l!==e.validator);a.length!==n.length&&(s=!0,i.setValidators(a))}}if(e.asyncValidator!==null){let n=ol(i);if(Array.isArray(n)&&n.length>0){let a=n.filter(l=>l!==e.asyncValidator);a.length!==n.length&&(s=!0,i.setAsyncValidators(a))}}}let t=()=>{};return rn(e._rawValidators,t),rn(e._rawAsyncValidators,t),s}function Ku(i,e){e.valueAccessor.registerOnChange(s=>{i._pendingValue=s,i._pendingChange=!0,i._pendingDirty=!0,i.updateOn==="change"&&pl(i,e)})}function Nu(i,e){e.valueAccessor.registerOnTouched(()=>{i._pendingTouched=!0,i.updateOn==="blur"&&i._pendingChange&&pl(i,e),i.updateOn!=="submit"&&i.markAsTouched()})}function pl(i,e){i._pendingDirty&&i.markAsDirty(),i.setValue(i._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1}function Iu(i,e){let s=(t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)};i.registerOnChange(s),e._registerOnDestroy(()=>{i._unregisterOnChange(s)})}function dl(i,e){i==null,vr(i,e)}function ku(i,e){return sn(i,e)}function _l(i,e){if(!i.hasOwnProperty("model"))return!1;let s=i.model;return s.isFirstChange()?!0:!Object.is(e,s.currentValue)}function Fu(i){return Object.getPrototypeOf(i.constructor)===ii}function El(i,e){i._syncPendingControls(),e.forEach(s=>{let t=s.control;t.updateOn==="submit"&&t._pendingChange&&(s.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function ml(i,e){if(!e)return null;Array.isArray(e);let s,t,n;return e.forEach(a=>{a.constructor===wt?s=a:Fu(a)?t=a:n=a}),n||t||s||null}function ju(i,e){let s=i.indexOf(e);s>-1&&i.splice(s,1)}var Xu={provide:ke,useExisting:Be(()=>br)},Qt=Promise.resolve(),br=(()=>{let e=class e extends ke{get submitted(){return Ae(this.submittedReactive)}constructor(t,n,a){super(),this.callSetDisabledState=a,this._submitted=St(()=>this.submittedReactive()),this.submittedReactive=bt(!1),this._directives=new Set,this.ngSubmit=new K,this.form=new lt({},gr(t),xr(n))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){Qt.then(()=>{let n=this._findContainer(t.path);t.control=n.registerControl(t.name,t.control),nn(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){Qt.then(()=>{let n=this._findContainer(t.path);n&&n.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){Qt.then(()=>{let n=this._findContainer(t.path),a=new lt({});dl(a,t),n.registerControl(t.name,a),a.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){Qt.then(()=>{let n=this._findContainer(t.path);n&&n.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,n){Qt.then(()=>{this.form.get(t.path).setValue(n)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submittedReactive.set(!0),El(this.form,this._directives),this.ngSubmit.emit(t),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}};e.\u0275fac=function(n){return new(n||e)(A(an,10),A(ln,10),A(ri,8))},e.\u0275dir=I({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,a){n&1&&b("submit",function(o){return a.onSubmit(o)})("reset",function(){return a.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[me([Xu]),fe]});let i=e;return i})();function za(i,e){let s=i.indexOf(e);s>-1&&i.splice(s,1)}function $a(i){return typeof i=="object"&&i!==null&&Object.keys(i).length===2&&"value"in i&&"disabled"in i}var Lt=class extends yt{constructor(e=null,s,t){super(Rr(s),Cr(t,s)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(s),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),fn(s)&&(s.nonNullable||s.initialValueIsDefault)&&($a(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,s={}){this.value=this._pendingValue=e,this._onChange.length&&s.emitModelToViewChange!==!1&&this._onChange.forEach(t=>t(this.value,s.emitViewToModelChange!==!1)),this.updateValueAndValidity(s)}patchValue(e,s={}){this.setValue(e,s)}reset(e=this.defaultValue,s={}){this._applyFormState(e),this.markAsPristine(s),this.markAsUntouched(s),this.setValue(this.value,s),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){za(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){za(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){$a(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}},O=Lt,Gu=i=>i instanceof Lt;var Hu={provide:Fe,useExisting:Be(()=>Sr)},Wa=Promise.resolve(),Sr=(()=>{let e=class e extends Fe{constructor(t,n,a,l,o,u){super(),this._changeDetectorRef=o,this.callSetDisabledState=u,this.control=new Lt,this._registered=!1,this.name="",this.update=new K,this._parent=t,this._setValidators(n),this._setAsyncValidators(a),this.valueAccessor=ml(this,l)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){let n=t.name.previousValue;this.formDirective.removeControl({name:n,path:this._getPath(n)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),_l(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){nn(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(t){Wa.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){let n=t.isDisabled.currentValue,a=n!==0&&H(n);Wa.then(()=>{a&&!this.control.disabled?this.control.disable():!a&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?hl(t,this._parent):[t]}};e.\u0275fac=function(n){return new(n||e)(A(ke,9),A(an,10),A(ln,10),A(ot,10),A(Ie,8),A(ri,8))},e.\u0275dir=I({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[me([Hu]),fe,de]});let i=e;return i})(),gl=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=I({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});let i=e;return i})(),zu={provide:ot,useExisting:Be(()=>si),multi:!0},si=(()=>{let e=class e extends ii{writeValue(t){let n=t??"";this.setProperty("value",n)}registerOnChange(t){this.onChange=n=>{t(n==""?null:parseFloat(n))}}};e.\u0275fac=(()=>{let t;return function(a){return(t||(t=Te(e)))(a||e)}})(),e.\u0275dir=I({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(n,a){n&1&&b("input",function(o){return a.onChange(o.target.value)})("blur",function(){return a.onTouched()})},features:[me([zu]),fe]});let i=e;return i})();var xl=new $("");var $u={provide:ke,useExisting:Be(()=>ut)},ut=(()=>{let e=class e extends ke{get submitted(){return Ae(this._submittedReactive)}set submitted(t){this._submittedReactive.set(t)}constructor(t,n,a){super(),this.callSetDisabledState=a,this._submitted=St(()=>this._submittedReactive()),this._submittedReactive=bt(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new K,this._setValidators(t),this._setAsyncValidators(n)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(sn(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){let n=this.form.get(t.path);return nn(n,t,this.callSetDisabledState),n.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),n}getControl(t){return this.form.get(t.path)}removeControl(t){Ha(t.control||null,t,!1),ju(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,n){this.form.get(t.path).setValue(n)}onSubmit(t){return this._submittedReactive.set(!0),El(this.form,this.directives),this.ngSubmit.emit(t),this.form._events.next(new dr(this.control)),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this._submittedReactive.set(!1),this.form._events.next(new _r(this.form))}_updateDomValue(){this.directives.forEach(t=>{let n=t.control,a=this.form.get(t.path);n!==a&&(Ha(n||null,t),Gu(a)&&(nn(a,t,this.callSetDisabledState),t.control=a))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){let n=this.form.get(t.path);dl(n,t),n.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){let n=this.form.get(t.path);n&&ku(n,t)&&n.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){vr(this.form,this),this._oldForm&&sn(this._oldForm,this)}_checkFormPresent(){this.form}};e.\u0275fac=function(n){return new(n||e)(A(an,10),A(ln,10),A(ri,8))},e.\u0275dir=I({type:e,selectors:[["","formGroup",""]],hostBindings:function(n,a){n&1&&b("submit",function(o){return a.onSubmit(o)})("reset",function(){return a.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[me([$u]),fe,de]});let i=e;return i})();var Wu={provide:Fe,useExisting:Be(()=>ai)},ai=(()=>{let e=class e extends Fe{set isDisabled(t){}constructor(t,n,a,l,o){super(),this._ngModelWarningConfig=o,this._added=!1,this.name=null,this.update=new K,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(n),this._setAsyncValidators(a),this.valueAccessor=ml(this,l)}ngOnChanges(t){this._added||this._setUpControl(),_l(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return hl(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}};e._ngModelWarningSentOnce=!1,e.\u0275fac=function(n){return new(n||e)(A(ke,13),A(an,10),A(ln,10),A(ot,10),A(xl,8))},e.\u0275dir=I({type:e,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[me([Wu]),fe,de]});let i=e;return i})(),qu={provide:ot,useExisting:Be(()=>hn),multi:!0};function Rl(i,e){return i==null?`${e}`:(e&&typeof e=="object"&&(e="Object"),`${i}: ${e}`.slice(0,50))}function Yu(i){return i.split(":")[0]}var hn=(()=>{let e=class e extends ii{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;let n=this._getOptionId(t),a=Rl(n,t);this.setProperty("value",a)}registerOnChange(t){this.onChange=n=>{this.value=this._getOptionValue(n),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(let n of this._optionMap.keys())if(this._compareWith(this._optionMap.get(n),t))return n;return null}_getOptionValue(t){let n=Yu(t);return this._optionMap.has(n)?this._optionMap.get(n):t}};e.\u0275fac=(()=>{let t;return function(a){return(t||(t=Te(e)))(a||e)}})(),e.\u0275dir=I({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(n,a){n&1&&b("change",function(o){return a.onChange(o.target.value)})("blur",function(){return a.onTouched()})},inputs:{compareWith:"compareWith"},features:[me([qu]),fe]});let i=e;return i})(),pn=(()=>{let e=class e{constructor(t,n,a){this._element=t,this._renderer=n,this._select=a,this._select&&(this.id=this._select._registerOption())}set ngValue(t){this._select!=null&&(this._select._optionMap.set(this.id,t),this._setElementValue(Rl(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}};e.\u0275fac=function(n){return new(n||e)(A(ee),A(Ye),A(hn,9))},e.\u0275dir=I({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});let i=e;return i})(),Zu={provide:ot,useExisting:Be(()=>Cl),multi:!0};function qa(i,e){return i==null?`${e}`:(typeof e=="string"&&(e=`'${e}'`),e&&typeof e=="object"&&(e="Object"),`${i}: ${e}`.slice(0,50))}function Qu(i){return i.split(":")[0]}var Cl=(()=>{let e=class e extends ii{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;let n;if(Array.isArray(t)){let a=t.map(l=>this._getOptionId(l));n=(l,o)=>{l._setSelected(a.indexOf(o.toString())>-1)}}else n=(a,l)=>{a._setSelected(!1)};this._optionMap.forEach(n)}registerOnChange(t){this.onChange=n=>{let a=[],l=n.selectedOptions;if(l!==void 0){let o=l;for(let u=0;u{let t;return function(a){return(t||(t=Te(e)))(a||e)}})(),e.\u0275dir=I({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(n,a){n&1&&b("change",function(o){return a.onChange(o.target)})("blur",function(){return a.onTouched()})},inputs:{compareWith:"compareWith"},features:[me([Zu]),fe]});let i=e;return i})(),dn=(()=>{let e=class e{constructor(t,n,a){this._element=t,this._renderer=n,this._select=a,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){this._select!=null&&(this._value=t,this._setElementValue(qa(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(qa(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}};e.\u0275fac=function(n){return new(n||e)(A(ee),A(Ye),A(Cl,9))},e.\u0275dir=I({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});let i=e;return i})();var vl=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=W({type:e}),e.\u0275inj=z({});let i=e;return i})(),mr=class extends yt{constructor(e,s,t){super(Rr(s),Cr(t,s)),this.controls=e,this._initObservables(),this._setUpdateStrategy(s),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(e){return this.controls[this._adjustIndex(e)]}push(e,s={}){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:s.emitEvent}),this._onCollectionChange()}insert(e,s,t={}){this.controls.splice(e,0,s),this._registerControl(s),this.updateValueAndValidity({emitEvent:t.emitEvent})}removeAt(e,s={}){let t=this._adjustIndex(e);t<0&&(t=0),this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity({emitEvent:s.emitEvent})}setControl(e,s,t={}){let n=this._adjustIndex(e);n<0&&(n=0),this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),s&&(this.controls.splice(n,0,s),this._registerControl(s)),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,s={}){fl(this,!1,e),e.forEach((t,n)=>{ul(this,!1,n),this.at(n).setValue(t,{onlySelf:!0,emitEvent:s.emitEvent})}),this.updateValueAndValidity(s)}patchValue(e,s={}){e!=null&&(e.forEach((t,n)=>{this.at(n)&&this.at(n).patchValue(t,{onlySelf:!0,emitEvent:s.emitEvent})}),this.updateValueAndValidity(s))}reset(e=[],s={}){this._forEachChild((t,n)=>{t.reset(e[n],{onlySelf:!0,emitEvent:s.emitEvent})}),this._updatePristine(s,this),this._updateTouched(s,this),this.updateValueAndValidity(s)}getRawValue(){return this.controls.map(e=>e.getRawValue())}clear(e={}){this.controls.length<1||(this._forEachChild(s=>s._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}_adjustIndex(e){return e<0?e+this.length:e}_syncPendingControls(){let e=this.controls.reduce((s,t)=>t._syncPendingControls()?!0:s,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){this.controls.forEach((s,t)=>{e(s,t)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(s=>s.enabled&&e(s))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_allControlsDisabled(){for(let e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}_find(e){return this.at(e)??null}};function Ya(i){return!!i&&(i.asyncValidators!==void 0||i.validators!==void 0||i.updateOn!==void 0)}var Ju=(()=>{let e=class e{constructor(){this.useNonNullable=!1}get nonNullable(){let t=new e;return t.useNonNullable=!0,t}group(t,n=null){let a=this._reduceControls(t),l={};return Ya(n)?l=n:n!==null&&(l.validators=n.validator,l.asyncValidators=n.asyncValidator),new lt(a,l)}record(t,n=null){let a=this._reduceControls(t);return new Er(a,n)}control(t,n,a){let l={};return this.useNonNullable?(Ya(n)?l=n:(l.validators=n,l.asyncValidators=a),new Lt(t,F(S({},l),{nonNullable:!0}))):new Lt(t,n,a)}array(t,n,a){let l=t.map(o=>this._createControl(o));return new mr(l,n,a)}_reduceControls(t){let n={};return Object.keys(t).forEach(a=>{n[a]=this._createControl(t[a])}),n}_createControl(t){if(t instanceof Lt)return t;if(t instanceof yt)return t;if(Array.isArray(t)){let n=t[0],a=t.length>1?t[1]:null,l=t.length>2?t[2]:null;return this.control(n,a,l)}else return this.control(t)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var _n=(()=>{let e=class e extends Ju{group(t,n=null){return super.group(t,n)}control(t,n,a){return super.control(t,n,a)}array(t,n,a){return super.array(t,n,a)}};e.\u0275fac=(()=>{let t;return function(a){return(t||(t=Te(e)))(a||e)}})(),e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var li=(()=>{let e=class e{static withConfig(t){return{ngModule:e,providers:[{provide:ri,useValue:t.callSetDisabledState??cn}]}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=W({type:e}),e.\u0275inj=z({imports:[vl]});let i=e;return i})(),Tr=(()=>{let e=class e{static withConfig(t){return{ngModule:e,providers:[{provide:xl,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:ri,useValue:t.callSetDisabledState??cn}]}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=W({type:e}),e.\u0275inj=z({imports:[vl]});let i=e;return i})();var bl=[{l:"a",s:/[ⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ]/gi},{l:"aa",s:/ꜳ/gi},{l:"ae",s:/[æǽǣ]/gi},{l:"ao",s:/ꜵ/gi},{l:"au",s:/ꜷ/gi},{l:"av",s:/[ꜹꜻ]/gi},{l:"ay",s:/ꜽ/gi},{l:"b",s:/[ⓑbḃḅḇƀƃɓ]/gi},{l:"c",s:/[ⓒcćĉċčçḉƈȼꜿↄ]/gi},{l:"d",s:/[ⓓdḋďḍḑḓḏđƌɖɗꝺ]/gi},{l:"dz",s:/[dzdž]/gi},{l:"e",s:/[ⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ]/gi},{l:"f",s:/[ⓕfḟƒꝼ]/gi},{l:"g",s:/[ⓖgǵĝḡğġǧģǥɠꞡᵹꝿ]/gi},{l:"h",s:/[ⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ]/gi},{l:"hv",s:/ƕ/gi},{l:"i",s:/[ⓘiìíîĩīĭİïḯỉǐȉȋịįḭɨı]/gi},{l:"j",s:/[ⓙjĵǰɉ]/gi},{l:"k",s:/[ⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ]/gi},{l:"l",s:/[ⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇꝆ]/gi},{l:"lj",s:/lj/gi},{l:"m",s:/[ⓜmḿṁṃɱɯ]/gi},{l:"n",s:/[ⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ]/gi},{l:"nj",s:/nj/gi},{l:"o",s:/[ⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔƟꝋꝍɵ]/gi},{l:"oi",s:/ƣ/gi},{l:"oe",s:/œ/gi},{l:"oo",s:/ꝏ/gi},{l:"ou",s:/ȣ/gi},{l:"p",s:/[ⓟpṕṗƥᵽꝑꝓꝕ]/gi},{l:"q",s:/[ⓠqɋꝗꝙ]/gi},{l:"r",s:/[ⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ]/gi},{l:"s",s:/[ⓢsßẞśṥŝṡšṧṣṩșşȿꞩꞅẛ]/gi},{l:"t",s:/[ⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ]/gi},{l:"tz",s:/ꜩ/gi},{l:"u",s:/[ⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ]/gi},{l:"v",s:/[ⓥvṽṿʋꝟʌ]/gi},{l:"vy",s:/ꝡ/gi},{l:"w",s:/[ⓦwẁẃŵẇẅẘẉⱳ]/gi},{l:"x",s:/[ⓧxẋẍ]/gi},{l:"y",s:/[ⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ]/gi},{l:"z",s:/[ⓩzźẑżžẓẕƶȥɀⱬꝣ]/gi}],Sl=6,Tl=new RegExp("[\\-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]","g");function Lr(i){return Array.isArray(i)?i:[i]}function J(i){return i==null?"":typeof i=="string"?i:`${i}px`}function Al(i){return i instanceof ee?i.nativeElement:i}var yr;try{yr=typeof Intl<"u"&&Intl.v8BreakIterator}catch{yr=!1}var ct=(()=>{let e=class e{constructor(t){this._platformId=t,this.isBrowser=this._platformId?Va(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||yr)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}};e.\u0275fac=function(n){return new(n||e)(M(pa))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var ft;function Ll(){if(ft==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return ft=!1,ft;if("scrollBehavior"in document.documentElement.style)ft=!0;else{let i=Element.prototype.scrollTo;i?ft=!/\{\s*\[native code\]\s*\}/.test(i.toString()):ft=!1}}return ft}function En(i){return i.composedPath?i.composedPath()[0]:i.target}function wr(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var ef=new $("cdk-dir-doc",{providedIn:"root",factory:tf});function tf(){return U(ce)}var nf=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function rf(i){let e=i?.toLowerCase()||"";return e==="auto"&&typeof navigator<"u"&&navigator?.language?nf.test(navigator.language)?"rtl":"ltr":e==="rtl"?"rtl":"ltr"}var Br=(()=>{let e=class e{constructor(t){if(this.value="ltr",this.change=new K,t){let n=t.body?t.body.dir:null,a=t.documentElement?t.documentElement.dir:null;this.value=rf(n||a||"ltr")}}ngOnDestroy(){this.change.complete()}};e.\u0275fac=function(n){return new(n||e)(M(ef,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var oi=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=W({type:e}),e.\u0275inj=z({});let i=e;return i})();var af=20,Bl=(()=>{let e=class e{constructor(t,n,a){this._ngZone=t,this._platform=n,this._scrolled=new Y,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=a}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){let n=this.scrollContainers.get(t);n&&(n.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=af){return this._platform.isBrowser?new Js(n=>{this._globalSubscription||this._addGlobalListener();let a=t>0?this._scrolled.pipe(tr(t)).subscribe(n):this._scrolled.subscribe(n);return this._scrolledCount++,()=>{a.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):w()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,n)=>this.deregister(n)),this._scrolled.complete()}ancestorScrolled(t,n){let a=this.getAncestorScrollContainers(t);return this.scrolled(n).pipe(pe(l=>!l||a.indexOf(l)>-1))}getAncestorScrollContainers(t){let n=[];return this.scrollContainers.forEach((a,l)=>{this._scrollableContainsElement(l,t)&&n.push(l)}),n}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,n){let a=Al(n),l=t.getElementRef().nativeElement;do if(a==l)return!0;while(a=a.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let t=this._getWindow();return Ni(t.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}};e.\u0275fac=function(n){return new(n||e)(M(ue),M(ct),M(ce,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var lf=20,ui=(()=>{let e=class e{constructor(t,n,a){this._platform=t,this._change=new Y,this._changeListener=l=>{this._change.next(l)},this._document=a,n.runOutsideAngular(()=>{if(t.isBrowser){let l=this._getWindow();l.addEventListener("resize",this._changeListener),l.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){let t=this.getViewportScrollPosition(),{width:n,height:a}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+a,right:t.left+n,height:a,width:n}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let t=this._document,n=this._getWindow(),a=t.documentElement,l=a.getBoundingClientRect(),o=-l.top||t.body.scrollTop||n.scrollY||a.scrollTop||0,u=-l.left||t.body.scrollLeft||n.scrollX||a.scrollLeft||0;return{top:o,left:u}}change(t=lf){return t>0?this._change.pipe(tr(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}};e.\u0275fac=function(n){return new(n||e)(M(ct),M(ue),M(ce,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var wl=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=W({type:e}),e.\u0275inj=z({});let i=e;return i})(),Mr=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=W({type:e}),e.\u0275inj=z({imports:[oi,wl,oi,wl]});let i=e;return i})();var fi=class{attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;e!=null&&(this._attachedHost=null,e.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(e){this._attachedHost=e}},Ur=class extends fi{constructor(e,s,t,n,a){super(),this.component=e,this.viewContainerRef=s,this.injector=t,this.componentFactoryResolver=n,this.projectableNodes=a}},ci=class extends fi{constructor(e,s,t,n){super(),this.templateRef=e,this.viewContainerRef=s,this.context=t,this.injector=n}get origin(){return this.templateRef.elementRef}attach(e,s=this.context){return this.context=s,super.attach(e)}detach(){return this.context=void 0,super.detach()}},Or=class extends fi{constructor(e){super(),this.element=e instanceof ee?e.nativeElement:e}},Vr=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){if(e instanceof Ur)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof ci)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof Or)return this._attachedPortal=e,this.attachDomPortal(e)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var mn=class extends Vr{constructor(e,s,t,n,a){super(),this.outletElement=e,this._componentFactoryResolver=s,this._appRef=t,this._defaultInjector=n,this.attachDomPortal=l=>{this._document;let o=l.element;o.parentNode;let u=this._document.createComment("dom-portal");o.parentNode.insertBefore(u,o),this.outletElement.appendChild(o),this._attachedPortal=l,super.setDisposeFn(()=>{u.parentNode&&u.parentNode.replaceChild(o,u)})},this._document=a}attachComponentPortal(e){let t=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),n;return e.viewContainerRef?(n=e.viewContainerRef.createComponent(t,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector,e.projectableNodes||void 0),this.setDisposeFn(()=>n.destroy())):(n=t.create(e.injector||this._defaultInjector||qe.NULL),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),this._attachedPortal=e,n}attachTemplatePortal(e){let s=e.viewContainerRef,t=s.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return t.rootNodes.forEach(n=>this.outletElement.appendChild(n)),t.detectChanges(),this.setDisposeFn(()=>{let n=s.indexOf(t);n!==-1&&s.remove(n)}),this._attachedPortal=e,t}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(e){return e.hostView.rootNodes[0]}};var Ul=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=W({type:e}),e.\u0275inj=z({});let i=e;return i})();function Ol(i,...e){return e.length?e.some(s=>i[s]):i.altKey||i.shiftKey||i.ctrlKey||i.metaKey}var Vl=Ll(),Pr=class{constructor(e,s){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=s}attach(){}enable(){if(this._canBeEnabled()){let e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=J(-this._previousScrollPosition.left),e.style.top=J(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let e=this._document.documentElement,s=this._document.body,t=e.style,n=s.style,a=t.scrollBehavior||"",l=n.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),Vl&&(t.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Vl&&(t.scrollBehavior=a,n.scrollBehavior=l)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let s=this._document.body,t=this._viewportRuler.getViewportSize();return s.scrollHeight>t.height||s.scrollWidth>t.width}};var Dr=class{constructor(e,s,t,n){this._scrollDispatcher=e,this._ngZone=s,this._viewportRuler=t,this._config=n,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(this._scrollSubscription)return;let e=this._scrollDispatcher.scrolled(0).pipe(pe(s=>!s||!this._overlayRef.overlayElement.contains(s.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{let s=this._viewportRuler.getViewportScrollPosition().top;Math.abs(s-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},gn=class{enable(){}disable(){}attach(){}};function Kr(i,e){return e.some(s=>{let t=i.bottoms.bottom,a=i.rights.right;return t||n||a||l})}function Pl(i,e){return e.some(s=>{let t=i.tops.bottom,a=i.lefts.right;return t||n||a||l})}var Nr=class{constructor(e,s,t,n){this._scrollDispatcher=e,this._viewportRuler=s,this._ngZone=t,this._config=n,this._scrollSubscription=null}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(!this._scrollSubscription){let e=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(e).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let s=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:n}=this._viewportRuler.getViewportSize();Kr(s,[{width:t,height:n,bottom:n,right:t,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},uf=(()=>{let e=class e{constructor(t,n,a,l){this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=a,this.noop=()=>new gn,this.close=o=>new Dr(this._scrollDispatcher,this._ngZone,this._viewportRuler,o),this.block=()=>new Pr(this._viewportRuler,this._document),this.reposition=o=>new Nr(this._scrollDispatcher,this._viewportRuler,this._ngZone,o),this._document=l}};e.\u0275fac=function(n){return new(n||e)(M(Bl),M(ui),M(ue),M(ce))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),xn=class{constructor(e){if(this.scrollStrategy=new gn,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){let s=Object.keys(e);for(let t of s)e[t]!==void 0&&(this[t]=e[t])}}};var Ir=class{constructor(e,s){this.connectionPair=e,this.scrollableViewProperties=s}};var Fl=(()=>{let e=class e{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){let n=this._attachedOverlays.indexOf(t);n>-1&&this._attachedOverlays.splice(n,1),this._attachedOverlays.length===0&&this.detach()}};e.\u0275fac=function(n){return new(n||e)(M(ce))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),ff=(()=>{let e=class e extends Fl{constructor(t,n){super(t),this._ngZone=n,this._keydownListener=a=>{let l=this._attachedOverlays;for(let o=l.length-1;o>-1;o--)if(l[o]._keydownEvents.observers.length>0){let u=l[o]._keydownEvents;this._ngZone?this._ngZone.run(()=>u.next(a)):u.next(a);break}}}add(t){super.add(t),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}};e.\u0275fac=function(n){return new(n||e)(M(ce),M(ue,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),cf=(()=>{let e=class e extends Fl{constructor(t,n,a){super(t),this._platform=n,this._ngZone=a,this._cursorStyleIsSet=!1,this._pointerDownListener=l=>{this._pointerDownEventTarget=En(l)},this._clickListener=l=>{let o=En(l),u=l.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:o;this._pointerDownEventTarget=null;let f=this._attachedOverlays.slice();for(let d=f.length-1;d>-1;d--){let h=f[d];if(h._outsidePointerEvents.observers.length<1||!h.hasAttached())continue;if(Dl(h.overlayElement,o)||Dl(h.overlayElement,u))break;let m=h._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>m.next(l)):m.next(l)}}}add(t){if(super.add(t),!this._isAttached){let n=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(n)):this._addEventListeners(n),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=n.style.cursor,n.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){let t=this._document.body;t.removeEventListener("pointerdown",this._pointerDownListener,!0),t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(t){t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0)}};e.\u0275fac=function(n){return new(n||e)(M(ce),M(ct),M(ue,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function Dl(i,e){let s=typeof ShadowRoot<"u"&&ShadowRoot,t=e;for(;t;){if(t===i)return!0;t=s&&t instanceof ShadowRoot?t.host:t.parentNode}return!1}var jl=(()=>{let e=class e{constructor(t,n){this._platform=n,this._document=t}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let t="cdk-overlay-container";if(this._platform.isBrowser||wr()){let a=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let l=0;lthis._backdropClick.next(m),this._backdropTransitionendHandler=m=>{this._disposeBackdrop(m.target)},this._keydownEvents=new Y,this._outsidePointerEvents=new Y,this._renders=new Y,n.scrollStrategy&&(this._scrollStrategy=n.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=n.positionStrategy,this._afterRenderRef=Ae(()=>ga(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let s=this._portalOutlet.attach(e);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),Fi(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof s?.onDestroy=="function"&&s.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),s}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){let e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,e&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=S(S({},this._config),e),this._updateElementSize()}setDirection(e){this._config=F(S({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){let e=this._config.direction;return e?typeof e=="string"?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let e=this._pane.style;e.width=J(this._config.width),e.height=J(this._config.height),e.minWidth=J(this._config.minWidth),e.minHeight=J(this._config.minHeight),e.maxWidth=J(this._config.maxWidth),e.maxHeight=J(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){let e="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(e)})}):this._backdropElement.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let e=this._backdropElement;if(e){if(this._animationsDisabled){this._disposeBackdrop(e);return}e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",this._backdropTransitionendHandler)}),e.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(e)},500))}}_toggleClasses(e,s,t){let n=Lr(s||[]).filter(a=>!!a);n.length&&(t?e.classList.add(...n):e.classList.remove(...n))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let e=this._renders.pipe(Gt(na(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),e.unsubscribe())})})}_disposeScrollStrategy(){let e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}_disposeBackdrop(e){e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",this._backdropTransitionendHandler),e.remove(),this._backdropElement===e&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},Kl="cdk-overlay-connected-position-bounding-box",hf=/([A-Za-z%]+)$/,Fr=class{get positions(){return this._preferredPositions}constructor(e,s,t,n,a){this._viewportRuler=s,this._document=t,this._platform=n,this._overlayContainer=a,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new Y,this._resizeSubscription=we.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}attach(e){this._overlayRef&&this._overlayRef,this._validatePositions(),e.hostElement.classList.add(Kl),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._originRect,s=this._overlayRect,t=this._viewportRect,n=this._containerRect,a=[],l;for(let o of this._preferredPositions){let u=this._getOriginPoint(e,n,o),f=this._getOverlayPoint(u,s,o),d=this._getOverlayFit(f,s,t,o);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(o,u);return}if(this._canFitWithFlexibleDimensions(d,f,t)){a.push({position:o,origin:u,overlayRect:s,boundingBoxRect:this._calculateBoundingBoxRect(u,o)});continue}(!l||l.overlayFit.visibleAreau&&(u=d,o=f)}this._isPushed=!1,this._applyPosition(o.position,o.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(l.position,l.originPoint);return}this._applyPosition(l.position,l.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&ht(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Kl),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let e=this._lastPosition;if(e){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let s=this._getOriginPoint(this._originRect,this._containerRect,e);this._applyPosition(e,s)}else this.apply()}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,e.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,s,t){let n;if(t.originX=="center")n=e.left+e.width/2;else{let l=this._isRtl()?e.right:e.left,o=this._isRtl()?e.left:e.right;n=t.originX=="start"?l:o}s.left<0&&(n-=s.left);let a;return t.originY=="center"?a=e.top+e.height/2:a=t.originY=="top"?e.top:e.bottom,s.top<0&&(a-=s.top),{x:n,y:a}}_getOverlayPoint(e,s,t){let n;t.overlayX=="center"?n=-s.width/2:t.overlayX==="start"?n=this._isRtl()?-s.width:0:n=this._isRtl()?0:-s.width;let a;return t.overlayY=="center"?a=-s.height/2:a=t.overlayY=="top"?0:-s.height,{x:e.x+n,y:e.y+a}}_getOverlayFit(e,s,t,n){let a=Il(s),{x:l,y:o}=e,u=this._getOffset(n,"x"),f=this._getOffset(n,"y");u&&(l+=u),f&&(o+=f);let d=0-l,h=l+a.width-t.width,m=0-o,R=o+a.height-t.height,C=this._subtractOverflows(a.width,d,h),B=this._subtractOverflows(a.height,m,R),P=C*B;return{visibleArea:P,isCompletelyWithinViewport:a.width*a.height===P,fitsInViewportVertically:B===a.height,fitsInViewportHorizontally:C==a.width}}_canFitWithFlexibleDimensions(e,s,t){if(this._hasFlexibleDimensions){let n=t.bottom-s.y,a=t.right-s.x,l=Nl(this._overlayRef.getConfig().minHeight),o=Nl(this._overlayRef.getConfig().minWidth),u=e.fitsInViewportVertically||l!=null&&l<=n,f=e.fitsInViewportHorizontally||o!=null&&o<=a;return u&&f}return!1}_pushOverlayOnScreen(e,s,t){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};let n=Il(s),a=this._viewportRect,l=Math.max(e.x+n.width-a.width,0),o=Math.max(e.y+n.height-a.height,0),u=Math.max(a.top-t.top-e.y,0),f=Math.max(a.left-t.left-e.x,0),d=0,h=0;return n.width<=a.width?d=f||-l:d=e.xC&&!this._isInitialRender&&!this._growAfterOpen&&(l=e.y-C/2)}let u=s.overlayX==="start"&&!n||s.overlayX==="end"&&n,f=s.overlayX==="end"&&!n||s.overlayX==="start"&&n,d,h,m;if(f)m=t.width-e.x+this._viewportMargin*2,d=e.x-this._viewportMargin;else if(u)h=e.x,d=t.right-e.x;else{let R=Math.min(t.right-e.x+t.left,e.x),C=this._lastBoundingBoxSize.width;d=R*2,h=e.x-R,d>C&&!this._isInitialRender&&!this._growAfterOpen&&(h=e.x-C/2)}return{top:l,left:h,bottom:o,right:m,width:d,height:a}}_setBoundingBoxStyles(e,s){let t=this._calculateBoundingBoxRect(e,s);!this._isInitialRender&&!this._growAfterOpen&&(t.height=Math.min(t.height,this._lastBoundingBoxSize.height),t.width=Math.min(t.width,this._lastBoundingBoxSize.width));let n={};if(this._hasExactPosition())n.top=n.left="0",n.bottom=n.right=n.maxHeight=n.maxWidth="",n.width=n.height="100%";else{let a=this._overlayRef.getConfig().maxHeight,l=this._overlayRef.getConfig().maxWidth;n.height=J(t.height),n.top=J(t.top),n.bottom=J(t.bottom),n.width=J(t.width),n.left=J(t.left),n.right=J(t.right),s.overlayX==="center"?n.alignItems="center":n.alignItems=s.overlayX==="end"?"flex-end":"flex-start",s.overlayY==="center"?n.justifyContent="center":n.justifyContent=s.overlayY==="bottom"?"flex-end":"flex-start",a&&(n.maxHeight=J(a)),l&&(n.maxWidth=J(l))}this._lastBoundingBoxSize=t,ht(this._boundingBox.style,n)}_resetBoundingBoxStyles(){ht(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ht(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,s){let t={},n=this._hasExactPosition(),a=this._hasFlexibleDimensions,l=this._overlayRef.getConfig();if(n){let d=this._viewportRuler.getViewportScrollPosition();ht(t,this._getExactOverlayY(s,e,d)),ht(t,this._getExactOverlayX(s,e,d))}else t.position="static";let o="",u=this._getOffset(s,"x"),f=this._getOffset(s,"y");u&&(o+=`translateX(${u}px) `),f&&(o+=`translateY(${f}px)`),t.transform=o.trim(),l.maxHeight&&(n?t.maxHeight=J(l.maxHeight):a&&(t.maxHeight="")),l.maxWidth&&(n?t.maxWidth=J(l.maxWidth):a&&(t.maxWidth="")),ht(this._pane.style,t)}_getExactOverlayY(e,s,t){let n={top:"",bottom:""},a=this._getOverlayPoint(s,this._overlayRect,e);if(this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,t)),e.overlayY==="bottom"){let l=this._document.documentElement.clientHeight;n.bottom=`${l-(a.y+this._overlayRect.height)}px`}else n.top=J(a.y);return n}_getExactOverlayX(e,s,t){let n={left:"",right:""},a=this._getOverlayPoint(s,this._overlayRect,e);this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,t));let l;if(this._isRtl()?l=e.overlayX==="end"?"left":"right":l=e.overlayX==="end"?"right":"left",l==="right"){let o=this._document.documentElement.clientWidth;n.right=`${o-(a.x+this._overlayRect.width)}px`}else n.left=J(a.x);return n}_getScrollVisibility(){let e=this._getOriginRect(),s=this._pane.getBoundingClientRect(),t=this._scrollables.map(n=>n.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Pl(e,t),isOriginOutsideView:Kr(e,t),isOverlayClipped:Pl(s,t),isOverlayOutsideView:Kr(s,t)}}_subtractOverflows(e,...s){return s.reduce((t,n)=>t-Math.max(n,0),e)}_getNarrowedViewportRect(){let e=this._document.documentElement.clientWidth,s=this._document.documentElement.clientHeight,t=this._viewportRuler.getViewportScrollPosition();return{top:t.top+this._viewportMargin,left:t.left+this._viewportMargin,right:t.left+e-this._viewportMargin,bottom:t.top+s-this._viewportMargin,width:e-2*this._viewportMargin,height:s-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,s){return s==="x"?e.offsetX==null?this._offsetX:e.offsetX:e.offsetY==null?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&Lr(e).forEach(s=>{s!==""&&this._appliedPanelClasses.indexOf(s)===-1&&(this._appliedPanelClasses.push(s),this._pane.classList.add(s))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){let e=this._origin;if(e instanceof ee)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();let s=e.width||0,t=e.height||0;return{top:e.y,bottom:e.y+t,left:e.x,right:e.x+s,height:t,width:s}}};function ht(i,e){for(let s in e)e.hasOwnProperty(s)&&(i[s]=e[s]);return i}function Nl(i){if(typeof i!="number"&&i!=null){let[e,s]=i.split(hf);return!s||s==="px"?parseFloat(e):null}return i||null}function Il(i){return{top:Math.floor(i.top),right:Math.floor(i.right),bottom:Math.floor(i.bottom),left:Math.floor(i.left),width:Math.floor(i.width),height:Math.floor(i.height)}}function pf(i,e){return i===e?!0:i.isOriginClipped===e.isOriginClipped&&i.isOriginOutsideView===e.isOriginOutsideView&&i.isOverlayClipped===e.isOverlayClipped&&i.isOverlayOutsideView===e.isOverlayOutsideView}var kl="cdk-global-overlay-wrapper",jr=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(e){let s=e.getConfig();this._overlayRef=e,this._width&&!s.width&&e.updateSize({width:this._width}),this._height&&!s.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(kl),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._xOffset=e,this._xPosition="left",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._xOffset=e,this._xPosition="right",this}start(e=""){return this._xOffset=e,this._xPosition="start",this}end(e=""){return this._xOffset=e,this._xPosition="end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._xPosition="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let e=this._overlayRef.overlayElement.style,s=this._overlayRef.hostElement.style,t=this._overlayRef.getConfig(),{width:n,height:a,maxWidth:l,maxHeight:o}=t,u=(n==="100%"||n==="100vw")&&(!l||l==="100%"||l==="100vw"),f=(a==="100%"||a==="100vh")&&(!o||o==="100%"||o==="100vh"),d=this._xPosition,h=this._xOffset,m=this._overlayRef.getConfig().direction==="rtl",R="",C="",B="";u?B="flex-start":d==="center"?(B="center",m?C=h:R=h):m?d==="left"||d==="end"?(B="flex-end",R=h):(d==="right"||d==="start")&&(B="flex-start",C=h):d==="left"||d==="start"?(B="flex-start",R=h):(d==="right"||d==="end")&&(B="flex-end",C=h),e.position=this._cssPosition,e.marginLeft=u?"0":R,e.marginTop=f?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=u?"0":C,s.justifyContent=B,s.alignItems=f?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let e=this._overlayRef.overlayElement.style,s=this._overlayRef.hostElement,t=s.style;s.classList.remove(kl),t.justifyContent=t.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},df=(()=>{let e=class e{constructor(t,n,a,l){this._viewportRuler=t,this._document=n,this._platform=a,this._overlayContainer=l}global(){return new jr}flexibleConnectedTo(t){return new Fr(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};e.\u0275fac=function(n){return new(n||e)(M(ui),M(ce),M(ct),M(jl))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),_f=0,Cn=(()=>{let e=class e{constructor(t,n,a,l,o,u,f,d,h,m,R,C){this.scrollStrategies=t,this._overlayContainer=n,this._componentFactoryResolver=a,this._positionBuilder=l,this._keyboardDispatcher=o,this._injector=u,this._ngZone=f,this._document=d,this._directionality=h,this._location=m,this._outsideClickDispatcher=R,this._animationsModuleType=C}create(t){let n=this._createHostElement(),a=this._createPaneElement(n),l=this._createPortalOutlet(a),o=new xn(t);return o.direction=o.direction||this._directionality.value,new kr(l,n,a,o,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(rt))}position(){return this._positionBuilder}_createPaneElement(t){let n=this._document.createElement("div");return n.id=`cdk-overlay-${_f++}`,n.classList.add("cdk-overlay-pane"),t.appendChild(n),n}_createHostElement(){let t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(qi)),new mn(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}};e.\u0275fac=function(n){return new(n||e)(M(uf),M(jl),M(ar),M(df),M(ff),M(qe),M(ue),M(ce),M(Br),M(at),M(cf),M(da,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Ef=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Xl=new $("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let i=U(Cn);return()=>i.scrollStrategies.reposition()}}),Rn=(()=>{let e=class e{constructor(t){this.elementRef=t}};e.\u0275fac=function(n){return new(n||e)(A(ee))},e.\u0275dir=I({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0});let i=e;return i})(),vn=(()=>{let e=class e{get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(t){this._disposeOnNavigation=t}constructor(t,n,a,l,o){this._overlay=t,this._dir=o,this._backdropSubscription=we.EMPTY,this._attachSubscription=we.EMPTY,this._detachSubscription=we.EMPTY,this._positionSubscription=we.EMPTY,this._disposeOnNavigation=!1,this._ngZone=U(ue),this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new K,this.positionChange=new K,this.attach=new K,this.detach=new K,this.overlayKeydown=new K,this.overlayOutsideClick=new K,this._templatePortal=new ci(n,a),this._scrollStrategyFactory=l,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Ef);let t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(n=>{this.overlayKeydown.next(n),n.keyCode===27&&!this.disableClose&&!Ol(n)&&(n.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(n=>{let a=this._getOriginElement(),l=En(n);(!a||a!==l&&!a.contains(l))&&this.overlayOutsideClick.next(n)})}_buildConfig(){let t=this._position=this.positionStrategy||this._createPositionStrategy(),n=new xn({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(n.width=this.width),(this.height||this.height===0)&&(n.height=this.height),(this.minWidth||this.minWidth===0)&&(n.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(n.minHeight=this.minHeight),this.backdropClass&&(n.backdropClass=this.backdropClass),this.panelClass&&(n.panelClass=this.panelClass),n}_updatePositionStrategy(t){let n=this.positions.map(a=>({originX:a.originX,originY:a.originY,overlayX:a.overlayX,overlayY:a.overlayY,offsetX:a.offsetX||this.offsetX,offsetY:a.offsetY||this.offsetY,panelClass:a.panelClass||void 0}));return t.setOrigin(this._getOrigin()).withPositions(n).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let t=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(t),t}_getOrigin(){return this.origin instanceof Rn?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Rn?this.origin.elementRef.nativeElement:this.origin instanceof ee?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(la(()=>this.positionChange.observers.length>0)).subscribe(t=>{this._ngZone.run(()=>this.positionChange.emit(t)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}};e.\u0275fac=function(n){return new(n||e)(A(Cn),A(_e),A(vt),A(Xl),A(Br,8))},e.\u0275dir=I({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",H],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",H],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",H],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",H],push:[2,"cdkConnectedOverlayPush","push",H],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",H]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[st,de]});let i=e;return i})();function mf(i){return()=>i.scrollStrategies.reposition()}var gf={provide:Xl,deps:[Cn],useFactory:mf},Gl=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=W({type:e}),e.\u0275inj=z({providers:[Cn,gf],imports:[oi,Ul,Mr,Mr]});let i=e;return i})();var ne=class i{static getOptionByValue(e,s){if(Array.isArray(e))for(let t of e){let n=t.options;if(n){for(let a of n)if(a.value===s)return a}else if(t.value===s)return t}}static getOptionsByValue(e,s,t){if(t){let n=Array.isArray(s)?s:[],a=[];for(let l of n){let o=i.getOptionByValue(e,l);o&&a.push(o)}return a}return i.getOptionByValue(e,s)}static getFirstAvailableOption(e){if(Array.isArray(e))for(let s of e){let t=s.options;if(t){for(let n of t)if(!n.disabled)return n.value}else{let n=s;if(!n.disabled)return n.value}}return null}static valueIsNotInFilteredData(e,s){if(i.isNullOrUndefined(s))return!0;for(let t of e){let n=t.options;if(n){for(let a of n)if(a.value===s)return!1}else if(t.value===s)return!1}return!0}static getPreviousOption(e,s){let t=i.isNullOrUndefined(s);for(let n=e.length-1;n>=0;n--){let a=e[n],l=a.options;if(l)for(let o=l.length-1;o>=0;o--){let u=l[o];if(t&&!u.disabled&&!u.hide)return u;t||(t=u.value===s)}else{let o=a;if(t&&!o.disabled&&!o.hide)return o;t||(t=o.value===s)}}return null}static getNextOption(e,s){let t=i.isNullOrUndefined(s);for(let n of e){let a=n.options;if(a)for(let l of a)if(t){if(!l.disabled&&!l.hide)return l}else t||(t=l.value===s);else{let l=n;if(t){if(!l.disabled&&!l.hide)return l}else t||(t=l.value===s)}}return null}static getReduceData(e,s=0){if(s>0){let t=0,n=[];for(let a of e){let l=a.options;if(l){let o=F(S({},a),{options:[]});n.push(o);for(let u of l)if(o.options.push(u),t++,t===s)return{result:n,reduce:!0}}else n.push(a),t++;if(t===s)return{result:n,reduce:!0}}return{result:n,reduce:!1}}else return{result:e,reduce:!1}}static getFilteredData(e,s,t){if(s){let n=[];for(let a of e){let l=a.options;if(l){if(l.some(o=>i.containSearchText(o.label,s,t))){let o=l.filter(u=>i.containSearchText(u.label,s,t));n.push(F(S({},a),{options:o}))}}else i.containSearchText(a.label,s,t)&&n.push(a)}return n}else return e}static getFilteredSelectedData(e,s){let t=[];for(let n of e){let a=n.options;if(a){let l=a.filter(o=>i.isSelected(s,o,!0)==="false");l.length&&t.push(F(S({},n),{options:l}))}else i.isSelected(s,n,!0)==="false"&&t.push(n)}return t}static isSearchboxHiddex(e,s){return(s===""||s===void 0||s===null||isNaN(+s))&&(s=Sl),i.getOptionsCount(e)<+s}static isSelected(e,s,t){return t?e&&e.some(n=>n.value===s.value)?"true":"false":e&&s.value===e.value?"true":"false"}static removeSelection(e,s){for(let t=0;tObject.prototype.toString.call(i).includes(s))}function Wr(i,e){return i?e.document.documentElement:null}function Hl(i,e){let s=Mf(e);return e.isWindow?wf(s,i,e):Bf(s,i,e)}function wf(i,e,s){let{axis:t,container:n,isWindow:a}=s,{offsetHeightKey:l,clientHeightKey:o}=zl(t),u=i+Wl(Wr(a,n),t,a),f=$l(e.nativeElement,a,l,o),d=Uf(e.nativeElement,t,a)+f;return{height:i,scrolled:u,totalToScroll:d,isWindow:a}}function Bf(i,e,s){let{axis:t,container:n}=s,a=n[t.scrollTopKey()],l=n[t.scrollHeightKey()];return{height:i,scrolled:a,totalToScroll:l,isWindow:!1}}function zl(i){return{offsetHeightKey:i.offsetHeightKey(),clientHeightKey:i.clientHeightKey()}}function Mf({container:i,isWindow:e,axis:s}){let{offsetHeightKey:t,clientHeightKey:n}=zl(s);return $l(i,e,t,n)}function $l(i,e,s,t){if(isNaN(i[s])){let n=Wr(e,i);return n?n[t]:0}else return i[s]}function Uf(i,e,s){let t=e.topKey();if(i.getBoundingClientRect)return i.getBoundingClientRect()[t]+Wl(i,e,s)}function Wl(i,e,s){let t=e.pageYOffsetKey(),n=e.scrollTopKey(),a=e.offsetTopKey();return isNaN(window.pageYOffset)?Wr(s,i)[n]:i.ownerDocument?i.ownerDocument.defaultView[t]:i[a]}function Of(i,e={down:0,up:0},s){let t,n;if(i.totalToScroll<=0)return!1;let a=i.isWindow?i.scrolled:i.height+i.scrolled;if(s)t=(i.totalToScroll-a)/i.totalToScroll,n=(e?.down?e.down:0)/10;else{let o=i.scrolled+(i.totalToScroll-a);t=i.scrolled/o,n=(e?.up?e.up:0)/10}return t<=n}function Vf(i,e){return iw(Hl(t,a))),j(f=>Nf(l.lastScrollPosition,f,u)),te(({stats:f})=>l.updateScroll(f.scrolled,f.totalToScroll)),pe(({fire:f,scrollDown:d,stats:{totalToScroll:h}})=>Tf(i.alwaysCallback,f,l.isTriggeredScroll(h,d))),te(({scrollDown:f,stats:{totalToScroll:d}})=>{l.updateTriggeredFlag(d,f)}),j(If))}function Kf(i){let e=Ni(i.container,"scroll");return i.throttle&&(e=e.pipe(oa(i.throttle,void 0,{leading:!0,trailing:!0}))),e}function Nf(i,e,s){let{scrollDown:t,fire:n}=Pf(i,e,s);return{scrollDown:t,fire:n,stats:e}}var $r={DOWN:"[NGX_ISE] DOWN",UP:"[NGX_ISE] UP"};function If(i){let{scrollDown:e,stats:{scrolled:s}}=i;return{type:e?$r.DOWN:$r.UP,payload:{currentScrollPosition:s}}}var ql=(()=>{let e=class e{constructor(t,n){this.element=t,this.zone=n,this.scrolled=new K,this.scrolledUp=new K,this.infiniteScrollDistance=2,this.infiniteScrollUpDistance=1.5,this.infiniteScrollThrottle=150,this.infiniteScrollDisabled=!1,this.infiniteScrollContainer=null,this.scrollWindow=!0,this.immediateCheck=!1,this.horizontal=!1,this.alwaysCallback=!1,this.fromRoot=!1}ngAfterViewInit(){this.infiniteScrollDisabled||this.setup()}ngOnChanges({infiniteScrollContainer:t,infiniteScrollDisabled:n,infiniteScrollDistance:a}){let l=Gr(t),o=Gr(n),u=Gr(a),f=!o&&!this.infiniteScrollDisabled||o&&!n.currentValue||u;(l||o||u)&&(this.destroyScroller(),f&&this.setup())}ngOnDestroy(){this.destroyScroller()}setup(){vf()&&this.zone.runOutsideAngular(()=>{this.disposeScroller=Df({fromRoot:this.fromRoot,alwaysCallback:this.alwaysCallback,disable:this.infiniteScrollDisabled,downDistance:this.infiniteScrollDistance,element:this.element,horizontal:this.horizontal,scrollContainer:this.infiniteScrollContainer,scrollWindow:this.scrollWindow,throttle:this.infiniteScrollThrottle,upDistance:this.infiniteScrollUpDistance}).subscribe(t=>this.handleOnScroll(t))})}handleOnScroll({type:t,payload:n}){let a=t===$r.DOWN?this.scrolled:this.scrolledUp;kf(a)&&this.zone.run(()=>a.emit(n))}destroyScroller(){this.disposeScroller&&this.disposeScroller.unsubscribe()}};e.\u0275fac=function(n){return new(n||e)(A(ee),A(ue))},e.\u0275dir=I({type:e,selectors:[["","infiniteScroll",""],["","infinite-scroll",""],["","data-infinite-scroll",""]],inputs:{infiniteScrollDistance:"infiniteScrollDistance",infiniteScrollUpDistance:"infiniteScrollUpDistance",infiniteScrollThrottle:"infiniteScrollThrottle",infiniteScrollDisabled:"infiniteScrollDisabled",infiniteScrollContainer:"infiniteScrollContainer",scrollWindow:"scrollWindow",immediateCheck:"immediateCheck",horizontal:"horizontal",alwaysCallback:"alwaysCallback",fromRoot:"fromRoot"},outputs:{scrolled:"scrolled",scrolledUp:"scrolledUp"},standalone:!0,features:[de]});let i=e;return i})();function kf(i){return i.observed??i.observers.length>0}var Yl=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=W({type:e}),e.\u0275inj=z({});let i=e;return i})();var jf=["selection"],Xf=["results"],Gf=["searchInput"],Hf=["dropdown"],zf=["result"],$f=[[["select2-label"]],[["select2-hint"]]],Wf=["select2-label","select2-hint"],qf=()=>[];function Yf(i,e){i&1&&L(0,"span",8)}function Zf(i,e){i&1&&(p(0,"span"),_(1,"\xA0"),c())}function Qf(i,e){if(i&1&&L(0,"span",19),i&2){let s=T(3);v("innerHTML",s.select2Option.label,ve)}}function Jf(i,e){i&1&&Ne(0)}function ec(i,e){if(i&1&&k(0,Jf,1,0,"ng-container",20),i&2){let s=T(3);v("ngTemplateOutlet",s.getTemplate(s.select2Option,"option",!0))("ngTemplateOutletContext",s.select2Option)}}function tc(i,e){if(i&1&&k(0,Qf,1,1,"span",19)(1,ec,1,2,"ng-container"),i&2){let s=T(2);q(!s.hasTemplate(s.select2Option,"option",!0)||s.noLabelTemplate?0:1)}}function ic(i,e){if(i&1&&(p(0,"span",12),k(1,Zf,2,0,"span")(2,tc,2,1),p(3,"span",18),_(4),c()()),i&2){let s=T();v("title",(s.select2Option==null?null:s.select2Option.label)||""),E(),q(s.select2Option?-1:1),E(),q(s.select2Option?2:-1),E(),Z("select2-selection__placeholder__option",s.option),E(),se(s.placeholder)}}function nc(i,e){if(i&1){let s=Ee();p(0,"span",21),b("click",function(n){g(s);let a=T();return x(a.reset(n))}),_(1,"\xD7"),c()}}function rc(i,e){i&1&&L(0,"span",14)}function sc(i,e){if(i&1&&(p(0,"span",18),_(1),c()),i&2){let s=T(2);Z("select2-selection__placeholder__option",(s.select2Options==null?null:s.select2Options.length)>0),E(),se(s.placeholder)}}function ac(i,e){if(i&1){let s=Ee();p(0,"span",27),b("click",function(n){g(s);let a=T().$implicit,l=T(2);return x(l.removeSelection(n,a))}),_(1,"\xD7"),c()}}function lc(i,e){if(i&1&&L(0,"span",19),i&2){let s=T().$implicit;v("innerHTML",s.label,ve)}}function oc(i,e){i&1&&Ne(0)}function uc(i,e){if(i&1&&k(0,oc,1,0,"ng-container",20),i&2){let s=T().$implicit,t=T(2);v("ngTemplateOutlet",t.getTemplate(s,"option",!0))("ngTemplateOutletContext",s)}}function fc(i,e){if(i&1){let s=Ee();p(0,"li",25),b("keydown.enter",function(n){let a=g(s).$implicit,l=T(2);return x(l.removeSelection(n,a))}),k(1,ac,2,0,"span",26)(2,lc,1,1,"span",19)(3,uc,1,2,"ng-container"),c()}if(i&2){let s=e.$implicit,t=T(2);v("title",s.label),E(),q(t.disabled||t.readonly?-1:1),E(),q(!t.hasTemplate(s,"option",!0)||t.noLabelTemplate?2:3)}}function cc(i,e){if(i&1){let s=Ee();p(0,"li",28),b("focus",function(n){g(s);let a=T(2);return x(a.stopEvent(n))})("blur",function(n){g(s);let a=T(2);return x(a.stopEvent(n))}),p(1,"input",29),b("click",function(n){g(s);let a=T(2);return a.toggleOpenAndClose(!1,!0),x(a.stopEvent(n))})("keydown",function(n){g(s);let a=T(2);return x(a.keyDown(n,!0))})("keyup",function(n){g(s);let a=T(2);return x(a.searchUpdate(n))})("change",function(n){g(s);let a=T(2);return x(a.prevChange(n))}),c()()}if(i&2){let s=T(2);E(),v("id",s.id+"-create-field")}}function hc(i,e){if(i&1&&(p(0,"ul",15),k(1,sc,2,3,"span",22),Xi(2,fc,4,3,"li",23,ji().trackBy,!0),k(4,cc,2,1,"li",24),c()),i&2){let s=T();E(),q(s.autoCreate?-1:1),E(),Gi(s.option||va(2,qf)),E(2),q(s.autoCreate?4:-1)}}function pc(i,e){i&1&&Ne(0)}function dc(i,e){if(i&1&&k(0,pc,1,0,"ng-container",30),i&2){T();let s=G(17);v("ngTemplateOutlet",s)}}function _c(i,e){i&1&&Ne(0)}function Ec(i,e){if(i&1&&k(0,_c,1,0,"ng-container",30),i&2){T();let s=G(17);v("ngTemplateOutlet",s)}}function mc(i,e){if(i&1&&L(0,"strong",19),i&2){let s=T(2).$implicit;v("innerHTML",s.label,ve),Ue("class","select2-results__group"+(s.classes?" "+s.classes:""))}}function gc(i,e){i&1&&Ne(0)}function xc(i,e){if(i&1&&k(0,gc,1,0,"ng-container",20),i&2){let s=T(2).$implicit,t=T(2);v("ngTemplateOutlet",t.getTemplate(s,"group"))("ngTemplateOutletContext",s)}}function Rc(i,e){if(i&1&&L(0,"div",43),i&2){let s=T().$implicit;v("innerHTML",s.label,ve)}}function Cc(i,e){i&1&&Ne(0)}function vc(i,e){if(i&1&&k(0,Cc,1,0,"ng-container",20),i&2){let s=T().$implicit,t=T(4);v("ngTemplateOutlet",t.getTemplate(s,"option"))("ngTemplateOutletContext",s)}}function bc(i,e){if(i&1){let s=Ee();p(0,"li",42,5),b("mouseenter",function(){let n=g(s).$implicit,a=T(4);return x(a.mouseenter(n))})("click",function(){let n=g(s).$implicit,a=T(4);return x(a.click(n))}),k(2,Rc,1,1,"div",43)(3,vc,1,2,"ng-container"),c()}if(i&2){let s=e.$implicit,t=e.$index,n=T(2).$index,a=T(2);or(a.getOptionStyle(s)),v("id",s.id||a.id+"-option-"+n+"-"+t),Ue("aria-selected",a.isSelected(s))("aria-disabled",a.isDisabled(s)),E(2),q(a.hasTemplate(s,"option")?3:2)}}function Sc(i,e){if(i&1&&(p(0,"li",39),k(1,mc,1,2,"strong",19)(2,xc,1,2,"ng-container"),p(3,"ul",41),Xi(4,bc,4,6,"li",40,ji().trackBy,!0),c()()),i&2){let s=T().$implicit,t=T(2);E(),q(t.hasTemplate(s,"group")?2:1),E(3),Gi(s.options)}}function Tc(i,e){if(i&1&&L(0,"div",43),i&2){let s=T(2).$implicit;v("innerHTML",s.label,ve)}}function Ac(i,e){i&1&&Ne(0)}function Lc(i,e){if(i&1&&k(0,Ac,1,0,"ng-container",20),i&2){let s=T(2).$implicit,t=T(2);v("ngTemplateOutlet",t.getTemplate(s,"option"))("ngTemplateOutletContext",s)}}function yc(i,e){i&1&&Ne(0)}function wc(i,e){if(i&1&&k(0,yc,1,0,"ng-container",20),i&2){let s=T(2).$implicit,t=T(2);v("ngTemplateOutlet",t.getTemplate(s,"option"))("ngTemplateOutletContext",s)}}function Bc(i,e){if(i&1){let s=Ee();p(0,"li",42,5),b("mouseenter",function(){g(s);let n=T().$implicit,a=T(2);return x(a.mouseenter(n))})("click",function(){g(s);let n=T().$implicit,a=T(2);return x(a.click(n))}),k(2,Tc,1,1,"div",43)(3,Lc,1,2,"ng-container")(4,wc,1,2,"ng-template",null,6,Q),c()}if(i&2){let s=T(),t=s.$implicit,n=s.$index,a=T(2);or(a.getOptionStyle(t)),v("id",t.id||a.id+"-option-"+n),Ue("aria-selected",a.isSelected(t))("aria-disabled",a.isDisabled(t)),E(2),q(a.hasTemplate(t,"option")?3:2)}}function Mc(i,e){if(i&1&&k(0,Sc,6,1,"li",39)(1,Bc,6,6,"li",40),i&2){let s=e.$implicit;q(s.options!==void 0?0:1)}}function Uc(i,e){if(i&1&&L(0,"li",37),i&2){let s=T(2);v("innerHTML",s.noResultMessage,ve)}}function Oc(i,e){if(i&1&&L(0,"li",38),i&2){let s=T(2);v("innerHTML",s.maxResultsMessage,ve)}}function Vc(i,e){if(i&1){let s=Ee();p(0,"div",31)(1,"div",32,2)(3,"div",33)(4,"input",34,3),b("keydown",function(n){g(s);let a=T();return x(a.keyDown(n,a.autoCreate))})("keyup",function(n){g(s);let a=T();return x(a.searchUpdate(n))})("change",function(n){g(s);let a=T();return x(a.prevChange(n))}),c()(),p(6,"div",35)(7,"ul",36,4),b("scrolled",function(){g(s);let n=T();return x(n.onScroll("down"))})("scrolledUp",function(){g(s);let n=T();return x(n.onScroll("up"))})("keydown",function(n){g(s);let a=T();return x(a.keyDown(n))}),Xi(9,Mc,2,1,null,null,ji().trackBy,!0),k(11,Uc,1,1,"li",37)(12,Oc,1,1,"li",38),c()()()()}if(i&2){let s=G(8),t=T();Z("select2-container--open",t.isOpen)("select2-overlay",t.overlay)("select2-position-auto",t.listPosition==="auto")("select2-style-borderless",t.styleMode==="borderless"),E(),Z("select2-dropdown--below",!t.select2above)("select2-dropdown--above",t.select2above),E(2),Z("select2-search--hide",t.hideSearch()),E(),v("id",t.id+"-search-field")("value",t.searchText),Ue("tabindex",t.isOpen?t.tabIndex:"-1"),E(3),Ht("max-height",t.resultMaxHeight)("--grid-size",t.grid||null),Z("select2-grid",t.grid&&t.isNumber(t.grid))("select2-grid-auto",t.grid&&!t.isNumber(t.grid)),v("infiniteScrollDisabled",!t.infiniteScroll&&!t.isOpen)("infiniteScrollDistance",t.infiniteScrollDistance)("infiniteScrollThrottle",t.infiniteScrollThrottle)("infiniteScrollContainer",s),E(2),Gi(t.filteredData),E(2),q(!(t.filteredData!=null&&t.filteredData.length)&&t.noResultMessage?11:-1),E(),q(t.maxResultsExceeded?12:-1)}}var Pc=0,Dc=["default","hidden","always"],bn=(()=>{let e=class e{set data(t){this._data=t,this.updateFilteredData(!0)}get multiple(){return this._multiple}set multiple(t){this._multiple=t,this.ngOnInit()}get minCountForSearch(){return this._minCountForSearch}set minCountForSearch(t){this._minCountForSearch=t,this.updateSearchBox()}get id(){return this._id}set id(t){this._id=t||this._uid}get disabled(){return this._control?this._control.disabled:this._disabled}set disabled(t){this._disabled=t}get value(){return this._value}set value(t){this.testValueChange(this._value,t)&&setTimeout(()=>{this._value===void 0&&(this._value=t??null),this.writeValue(t??null)},10)}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=t}get select2Options(){return this.multiple?this.option:null}get select2Option(){return this.multiple?null:this.option}get searchText(){return this.innerSearchText}set searchText(t){this.innerSearchText=t}get ariaInvalid(){return this._isErrorState()}get classMaterial(){return this.styleMode==="material"}get classNostyle(){return this.styleMode==="noStyle"}get classBorderless(){return this.styleMode==="borderless"}get select2above(){return this.overlay?this._isAbobeOverlay():this.listPosition==="above"}get _positions(){return this.listPosition==="auto"?void 0:null}get resultsElement(){return this.resultContainer?.nativeElement}constructor(t,n,a,l,o,u){this._viewportRuler=t,this._changeDetectorRef=n,this._parentForm=a,this._parentFormGroup=l,this._control=o,this.minCharForSearch=0,this.limitSelection=0,this.listPosition="below",this.overlay=!1,this.styleMode="default",this.maxResults=0,this.maxResultsMessage="Too many results\u2026",this.infiniteScrollDistance=1.5,this.infiniteScrollThrottle=150,this.infiniteScroll=!1,this.autoCreate=!1,this.noLabelTemplate=!1,this.resultMaxHeight="200px",this.customSearchEnabled=!1,this.required=!1,this.hideSelectedItems=!1,this.readonly=!1,this.resettable=!1,this.grid="",this.update=new K,this.autoCreateItem=new K,this.open=new K,this.close=new K,this.focus=new K,this.blur=new K,this.search=new K,this.scroll=new K,this.removeOption=new K,this.option=null,this.isOpen=!1,this.focused=!1,this.hoveringValue=null,this.innerSearchText="",this._stateChanges=new Y,this._disabled=!1,this._multiple=!1,this._uid=`select2-${Pc++}`,this._value=null,this._onTouched=()=>{},this._onChange=()=>{},this.id=this.id,this._tabIndex=parseInt(u,10)||0,this._control&&(this._control.valueAccessor=this)}clickDetection(t){if(this.isOpen&&focus){let n=t.target;this.ifParentContainsClass(n,"selection")?this.ifParentContainsId(n,this._id)||(this.toggleOpenAndClose(),this.clickExit()):(this.ifParentContainsClass(n,"select2-dropdown")||this.toggleOpenAndClose(),!this.overlay&&!this.ifParentContainsId(n,this._id)&&this.clickExit())}else if(this.focused){let n=t.target;this._focus(this.clickOnSelect2Element(n))}}ngOnInit(){this._viewportRuler.change(100).subscribe(()=>{this.isOpen&&this.triggerRect()});let t=ne.getOptionsByValue(this._data,this._control?this._control.value:this.value,this.multiple);t!==null&&(this.option=t),Array.isArray(t)||(this.hoveringValue=this.value),this.updateSearchBox()}ngAfterViewInit(){this.cdkConnectedOverlay.positionChange.subscribe(t=>{this.listPosition==="auto"&&t.connectionPair?.originY&&this._overlayPosition!==t.connectionPair.originY&&(this.triggerRect(),this._overlayPosition=t.connectionPair.originY,this._changeDetectorRef.detectChanges())}),this.selectionElement=this.selection.nativeElement,this.triggerRect()}ngDoCheck(){this.updateSearchBox(),this._dirtyCheckNativeValue(),this._triggerRect&&(this.overlayWidth!==this._triggerRect.width&&(this.overlayWidth=this._triggerRect.width),this._dropdownRect?.height>0&&this.overlayHeight!==this._dropdownRect.height&&(this.overlayHeight=this.listPosition==="auto"?this._dropdownRect.height:0))}updateSearchBox(){let t=this.customSearchEnabled?!1:ne.isSearchboxHiddex(this._data,this._minCountForSearch);this.isSearchboxHidden!==t&&(this.isSearchboxHidden=t)}hideSearch(){let t=Dc.indexOf(this.displaySearchStatus)>-1?this.displaySearchStatus:"default";return t==="default"&&this.isSearchboxHidden||t==="hidden"}getOptionStyle(t){return"select2-results__option "+(t.hide?"select2-results__option--hide ":"")+(t.value===this.hoveringValue?"select2-results__option--highlighted ":"")+(t.classes||"")}mouseenter(t){t.disabled||(this.hoveringValue=t.value)}click(t){this.testSelection(t)&&this.select(t)}reset(t){this.select(this.resetSelectedValue!==void 0?ne.getOptionByValue(this._data,this.resetSelectedValue)??null:null),t&&this.stopEvent(t)}prevChange(t){t.stopPropagation()}stopEvent(t){t.preventDefault(),t.stopPropagation()}toggleOpenAndClose(t=!0,n,a){if(this.disabled)return;this._focus(t);let l=this.isOpen!==(n??!this.isOpen);this.isOpen=n??!this.isOpen,this.isOpen?(this.isSearchboxHidden||(this.innerSearchText="",this.updateFilteredData(),this._focusSearchboxOrResultsElement(t)),this.isSearchboxHidden&&!l&&a?this.keyDown(a):setTimeout(()=>{if(this.option){let o=Array.isArray(this.option)?this.option[0]:this.option;this.updateScrollFromOption(o)}else this.resultsElement&&(this.resultsElement.scrollTop=0);setTimeout(()=>{this.triggerRect(),this.cdkConnectedOverlay?.overlayRef?.updatePosition()},100)}),l&&this.open.emit(this)):l&&this.close.emit(this),this._changeDetectorRef.markForCheck()}hasTemplate(t,n,a=!1){return(a?this.templates?.[t.templateSelectionId]instanceof _e||this.templates?.[`${n}Selection`]instanceof _e||this.templates?.templateSelection instanceof _e||this.templateSelection instanceof _e:!1)||this.templates?.[t.templateId]instanceof _e||this.templates?.[n]instanceof _e||this.templates?.template instanceof _e||this.templates instanceof _e||!1}getTemplate(t,n,a=!1){return this.hasTemplate(t,n,a)?(a?this.templates?.[t.templateSelectionId]||this.templates?.[`${n}Selection`]||this.templates?.templateSelection||this.templateSelection:void 0)||this.templates?.[t.templateId]||this.templates?.[n]||this.templates?.template||this.templates:void 0}triggerRect(){this._triggerRect=this.selectionElement.getBoundingClientRect(),this._dropdownRect=this.dropdown?.nativeElement?this.dropdown.nativeElement.getBoundingClientRect():void 0}isNumber(t){return!isNaN(t-0)&&t!==null&&t!==""&&t!==!1}testSelection(t){return t.disabled?!1:!this.multiple||!this.limitSelection||Array.isArray(this._value)&&this._value.length-1))return!0;return!1}return!0}updateFilteredData(t=!1){setTimeout(()=>{let n=this._data;if(this.multiple&&this.hideSelectedItems&&(n=ne.getFilteredSelectedData(n,this.option)),!this.customSearchEnabled&&this.searchText&&this.searchText.length>=+this.minCharForSearch&&(n=ne.getFilteredData(n,this.searchText,this.editPattern)),this.maxResults>0){let a=ne.getReduceData(n,+this.maxResults);n=a.result,this.maxResultsExceeded=a.reduce}else this.maxResultsExceeded=!1;ne.valueIsNotInFilteredData(n,this.hoveringValue)&&(this.hoveringValue=ne.getFirstAvailableOption(n)),t&&this._previousNativeValue!==this._value&&this.writeValue(this._control?this._control.value:this._value),this.filteredData=n,this._changeDetectorRef.markForCheck()})}clickExit(){this._focus(!1)}ifParentContainsClass(t,n){return this.getParentElementByClass(t,n)!==null}ifParentContainsId(t,n){return this.getParentElementById(t,n)!==null}getParentElementByClass(t,n){return this.containClasses(t,n.trim().split(/\s+/))?t:t.parentElement?this.getParentElementByClass(t.parentElement,n):null}getParentElementById(t,n){return t.id===n?t:t.parentElement?this.getParentElementById(t.parentElement,n):null}containClasses(t,n){if(!t.classList)return!1;for(let a of n)if(!t.classList.contains(a))return!1;return!0}containAlmostOneClasses(t,n){if(!t.classList)return!1;let a=!1;for(let l of n)t.classList.contains(l)&&(a=!0);return a}clickOnSelect2Element(t){return this.containAlmostOneClasses(t,["select2-overlay-backdrop","select2-label-content","select2-selection__rendered","select2-results__option"])}focusin(){this.disabled||this._focus(!0)}focusout(){this.selectionElement&&!this.selectionElement.classList.contains("select2-focused")&&(this._focus(!1),this._onTouched())}select(t,n=!0){let a;if(t!=null)if(this.multiple){let l=this.option,o=l.findIndex(u=>u.value===t.value);o===-1?l.push(t):l.splice(o,1),a=this.option.map(u=>u.value)}else this.option=t,this.isOpen&&(this.isOpen=!1,this.close.emit(this),this.selectionElement?.focus()),a=this.option.value,!t&&this._value===null&&(this._value=a??null);else(Array.isArray(this.option)?this.option?.length:this.option)&&(a=""),this.option=null;this.multiple&&this.hideSelectedItems&&this.updateFilteredData(),n&&=a!==void 0&&this.testDiffValue(this._value,a),this._control&&this._onChange(a),n&&(this._value=a??null,setTimeout(()=>{this.update.emit({component:this,value:this._value,options:Array.isArray(this.option)?this.option:this.option?[this.option]:null})}))}testDiffValue(t,n){return Array.isArray(t)?t?.length!==n?.length:t!==n}keyDown(t,n=!1){n&&this._testKey(t,["Enter",13])?this.createAndAdd(t):this._testKey(t,["ArrowDown",40])?(this.moveDown(),t.preventDefault()):this._testKey(t,["ArrowUp",38])?(this.moveUp(),t.preventDefault()):this._testKey(t,["Enter",13])?(this.selectByEnter(),t.preventDefault()):this._testKey(t,["Escape","Tab",9,27])&&this.isOpen&&(this.toggleOpenAndClose(),this._focus(!1))}openKey(t,n=!1){n&&this._testKey(t,["Enter",13])?this.createAndAdd(t):this._testKey(t,["ArrowDown","ArrowUp","Enter",40,38,13])?(this.toggleOpenAndClose(!0,!0,t),t.preventDefault()):this._testKey(t,["Escape","Tab",9,27])&&(this.isOpen?(this.toggleOpenAndClose(!1),this._onTouched(),t.preventDefault()):this._focus(!1))}searchUpdate(t){this.searchText=t.target.value,this.customSearchEnabled?this.search.emit({component:this,value:this._value,search:this.searchText,data:this._data,filteredData:n=>{this.filteredData=n,this._changeDetectorRef.markForCheck()}}):this.updateFilteredData()}trackBy(t,n){return n.value}isSelected(t){return ne.isSelected(this.option,t,this.multiple)}isDisabled(t){return t.disabled?"true":"false"}removeSelection(t,n){ne.removeSelection(this.option,n),this.multiple&&this.hideSelectedItems&&this.updateFilteredData();let a=this.option.map(l=>l.value);this._control?this._onChange(a):this._value=a??null,this.update.emit({component:this,value:a,options:Array.isArray(this.option)?this.option:this.option?[this.option]:null}),this.removeOption.emit({component:this,value:a,removedOption:n}),t.preventDefault(),t.stopPropagation(),this.isOpen&&this._focusSearchboxOrResultsElement()}writeValue(t){this._setSelectionByValue(t)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}onScroll(t){this.scroll.emit({component:this,way:t,search:this.innerSearchText,data:this._data})}_isErrorState(){let t=this._control?.invalid,n=this._control?.touched,a=this._parentFormGroup?.submitted||this._parentForm?.submitted;return!!(t&&(n||a))}addItem(t){let n=ne.getOptionByValue(this._data,t);return n||(n={value:t,label:t},this._data.push(n)),n}createAndAdd(t){let n=t.target.value;if(n.trim()){let a=this.addItem(n.trim());this.click(a),t.target.value="",this.autoCreateItem.emit({value:a,component:this,options:Array.isArray(this.option)?this.option:this.option?[this.option]:null})}this.stopEvent(t)}moveUp(){this.updateScrollFromOption(ne.getPreviousOption(this.filteredData,this.hoveringValue))}moveDown(){this.updateScrollFromOption(ne.getNextOption(this.filteredData,this.hoveringValue))}updateScrollFromOption(t){if(t){this.hoveringValue=t.value;let n=this.results.find(a=>a.nativeElement.innerText.trim()===t.label);if(n&&this.resultsElement){this.resultsElement.scrollTop=0;let a=this.resultsElement.getBoundingClientRect(),l=n.nativeElement.getBoundingClientRect();this.resultsElement.scrollTop=l.top-a.top}}}selectByEnter(){if(this.hoveringValue){let t=ne.getOptionByValue(this._data,this.hoveringValue);this.select(t)}}_testKey(t,n=[]){return this._isKey(this._getKey(t),n)}_getKey(t){let n;return t.key!==void 0?n=t.key:t.keyIdentifier!==void 0?n=t.keyIdentifier:t.keyCode!==void 0?n=t.keyCode:t.preventDefault(),n}_isKey(t,n=[]){return n&&n.length>0?n.indexOf(t)!==-1:!1}_setSelectionByValue(t){if(this.option||t!=null){let n=Array.isArray(t);if(this.multiple&&t&&!n)throw new Error("Non array value.");this._data?this.multiple?(this.option=[],n?(ne.getOptionsByValue(this._data,t,this.multiple).map(l=>this.select(l,!1)),this._value??=t,this.testDiffValue(this._value,t)&&(console.error(this.id,this._value,t),this.update.emit({component:this,value:t,options:Array.isArray(this.option)?this.option:this.option?[this.option]:null}))):t===null&&(this.value=[],this.reset(),this.select(null,!1),this.testDiffValue(this._value,t)&&(this._value=[],this.update.emit({component:this,value:this._value,options:Array.isArray(this.option)?this.option:this.option?[this.option]:null})))):(this._value??=t,this.select(ne.getOptionByValue(this._data,t))):this._control&&this._control.viewToModelUpdate(t),this._changeDetectorRef.markForCheck()}}_dirtyCheckNativeValue(){let t=this.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this._stateChanges.next())}_focusSearchboxOrResultsElement(t=!0){this.isSearchboxHidden||(setTimeout(()=>{this.searchInput&&this.searchInput.nativeElement&&t&&this.searchInput.nativeElement.focus()}),this.resultsElement&&t&&this.resultsElement.focus())}_focus(t){!t&&this.focused?(this.focused=t,this.blur.emit(this)):t&&!this.focused&&(this.focused=t,this.focus.emit(this))}_isAbobeOverlay(){return this.overlay&&this._overlayPosition&&this.listPosition==="auto"?this._overlayPosition==="top":this.listPosition==="above"}};e.\u0275fac=function(n){return new(n||e)(A(ui),A(Ie),A(br,8),A(ut,8),A(Fe,10),ki("tabindex"))},e.\u0275cmp=Se({type:e,selectors:[["select2"]],viewQuery:function(n,a){if(n&1&&(Ze(vn,5),Ze(jf,7),Ze(Xf,5),Ze(Gf,5),Ze(Hf,5),Ze(zf,5)),n&2){let l;Oe(l=Ve())&&(a.cdkConnectedOverlay=l.first),Oe(l=Ve())&&(a.selection=l.first),Oe(l=Ve())&&(a.resultContainer=l.first),Oe(l=Ve())&&(a.searchInput=l.first),Oe(l=Ve())&&(a.dropdown=l.first),Oe(l=Ve())&&(a.results=l)}},hostVars:10,hostBindings:function(n,a){n&1&&b("click",function(o){return a.clickDetection(o)},!1,Ea),n&2&&(Ra("id",a.id),Ue("aria-invalid",a.ariaInvalid),Z("material",a.classMaterial)("nostyle",a.classNostyle)("borderless",a.classBorderless)("select2-above",a.select2above))},inputs:{data:"data",minCharForSearch:[2,"minCharForSearch","minCharForSearch",Qe],displaySearchStatus:"displaySearchStatus",placeholder:"placeholder",limitSelection:[2,"limitSelection","limitSelection",Qe],listPosition:"listPosition",multiple:[2,"multiple","multiple",H],overlay:[2,"overlay","overlay",H],styleMode:"styleMode",noResultMessage:"noResultMessage",maxResults:[2,"maxResults","maxResults",Qe],maxResultsMessage:"maxResultsMessage",infiniteScrollDistance:[2,"infiniteScrollDistance","infiniteScrollDistance",Qe],infiniteScrollThrottle:[2,"infiniteScrollThrottle","infiniteScrollThrottle",Qe],infiniteScroll:[2,"infiniteScroll","infiniteScroll",H],autoCreate:[2,"autoCreate","autoCreate",H],noLabelTemplate:[2,"noLabelTemplate","noLabelTemplate",H],editPattern:"editPattern",templates:"templates",templateSelection:"templateSelection",resultMaxHeight:"resultMaxHeight",customSearchEnabled:[2,"customSearchEnabled","customSearchEnabled",H],minCountForSearch:[2,"minCountForSearch","minCountForSearch",Qe],id:"id",required:[2,"required","required",H],disabled:[2,"disabled","disabled",H],hideSelectedItems:[2,"hideSelectedItems","hideSelectedItems",H],readonly:[2,"readonly","readonly",H],value:"value",tabIndex:[2,"tabIndex","tabIndex",Qe],resettable:[2,"resettable","resettable",H],resetSelectedValue:"resetSelectedValue",grid:"grid"},outputs:{update:"update",autoCreateItem:"autoCreateItem",open:"open",close:"close",focus:"focus",blur:"blur",search:"search",scroll:"scroll",removeOption:"removeOption"},features:[st],ngContentSelectors:Wf,decls:18,vars:28,consts:[["selection","","trigger","cdkOverlayOrigin"],["containerTemplate",""],["dropdown",""],["searchInput",""],["results",""],["result",""],["li",""],[1,"select2-label",3,"click"],[1,"select2-required"],[1,"select2","select2-container","select2-container--default"],["cdkOverlayOrigin","",1,"selection",3,"click","focus","blur","keydown","tabindex"],["role","combobox",1,"select2-selection"],[1,"select2-selection__rendered",3,"title"],["role","presentation",1,"select2-selection__reset"],["role","presentation",1,"select2-selection__arrow"],[1,"select2-selection__rendered"],[1,"select2-subscript-wrapper"],["cdkConnectedOverlay","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","select2-overlay-backdrop",3,"backdropClick","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayMinWidth","cdkConnectedOverlayHeight","cdkConnectedOverlayPositions"],[1,"select2-selection__placeholder"],[3,"innerHTML"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["role","presentation",1,"select2-selection__reset",3,"click"],[1,"select2-selection__placeholder",3,"select2-selection__placeholder__option"],["tabindex","0",1,"select2-selection__choice",3,"title"],[1,"select2-selection__auto-create"],["tabindex","0",1,"select2-selection__choice",3,"keydown.enter","title"],["role","presentation",1,"select2-selection__choice__remove"],["role","presentation",1,"select2-selection__choice__remove",3,"click"],[1,"select2-selection__auto-create",3,"focus","blur"],["type","search","role","textbox","autocomplete","off","autocorrect","off","autocapitalize","off","spellcheck","false",1,"select2-create__field",3,"click","keydown","keyup","change","id"],[4,"ngTemplateOutlet"],[1,"select2-container","select2-container--default","select2-container-dropdown"],[1,"select2-dropdown"],[1,"select2-search","select2-search--dropdown"],["type","search","role","textbox","autocomplete","off","autocorrect","off","autocapitalize","off","spellcheck","false",1,"select2-search__field",3,"keydown","keyup","change","id","value"],[1,"select2-results"],["role","tree","tabindex","-1","infiniteScroll","",1,"select2-results__options",3,"scrolled","scrolledUp","keydown","infiniteScrollDisabled","infiniteScrollDistance","infiniteScrollThrottle","infiniteScrollContainer"],[1,"select2-no-result","select2-results__option",3,"innerHTML"],[1,"select2-too-much-result","select2-results__option",3,"innerHTML"],["role","group",1,"select2-results__option"],["role","treeitem",3,"id","class"],[1,"select2-results__options","select2-results__options--nested"],["role","treeitem",3,"mouseenter","click","id"],[1,"select2-label-content",3,"innerHTML"]],template:function(n,a){if(n&1){let l=Ee();ur($f),p(0,"div",7),b("click",function(){return g(l),x(a.toggleOpenAndClose())}),Hi(1),k(2,Yf,1,0,"span",8),c(),p(3,"div",9)(4,"div",10,0),b("click",function(){return g(l),x(a.toggleOpenAndClose())})("focus",function(){return g(l),x(a.focusin())})("blur",function(){return g(l),x(a.focusout())})("keydown",function(u){return g(l),x(a.openKey(u))}),p(7,"div",11),k(8,ic,5,6,"span",12)(9,nc,2,0,"span",13)(10,rc,1,0,"span",14)(11,hc,5,3,"ul",15),c()(),k(12,dc,1,1,"ng-container"),p(13,"div",16),Hi(14,1),c()(),k(15,Ec,1,1,"ng-template",17),b("backdropClick",function(){return g(l),x(a.toggleOpenAndClose())}),k(16,Vc,13,31,"ng-template",null,1,Q)}if(n&2){let l=G(6);E(2),q(a.required?2:-1),E(),Z("select2-container--focus",a.focused)("select2-container--below",!a.select2above)("select2-container--above",a.select2above)("select2-container--open",a.isOpen)("select2-container--disabled",a.disabled),E(),Z("select2-focused",a.focused),v("tabindex",a.isOpen?"-1":a.tabIndex),E(3),Z("select2-selection--multiple",a.multiple)("select2-selection--single",!a.multiple),E(),q(a.multiple?-1:8),E(),q(!a.multiple&&a.resettable&&a.resetSelectedValue!==a.value&&a.select2Option&&!(a.disabled||a.readonly)?9:-1),E(),q(a.multiple?-1:10),E(),q(a.multiple?11:-1),E(),q(a.overlay?-1:12),E(3),v("cdkConnectedOverlayOrigin",l)("cdkConnectedOverlayOpen",a.isOpen&&a.overlay)("cdkConnectedOverlayMinWidth",a.overlayWidth)("cdkConnectedOverlayHeight",a.overlayHeight)("cdkConnectedOverlayPositions",a._positions)}},dependencies:[Ma,vn,Rn,ql],styles:['.select2-label[_ngcontent-%COMP%]{color:var(--select2-label-text-color, #000)}.select2-container[_ngcontent-%COMP%]{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle;width:100%}.select2-container[_ngcontent-%COMP%] .select2-container-dropdown[_ngcontent-%COMP%]{position:absolute;width:0px;opacity:0}.select2-container[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]{box-sizing:border-box;cursor:pointer;display:block;height:var(--select2-single-height, 28px);-webkit-user-select:none;user-select:none}.select2-container[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{display:block;padding:var(--select2-selection-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:var(--select2-multiple-height, 28px);-webkit-user-select:none;user-select:none}.select2-container[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{display:inline-flex;overflow:hidden;padding-left:8px;padding-bottom:2px;text-overflow:ellipsis;white-space:nowrap;flex-wrap:wrap;gap:var(--select2-selection-multiple-gap, 2px 5px)}.select2-container[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] .select2-selection__auto-create[_ngcontent-%COMP%]{flex:1 1 150px;min-width:150px;display:flex}.select2-container[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] .select2-create__field[_ngcontent-%COMP%]{width:100%;border:0}.select2-container[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] .select2-create__field[_ngcontent-%COMP%]:focus{border:0;outline:0}.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:var(--select2-dropdown-background, white);border:1px solid var(--select2-dropdown-border-color, #aaa);border-radius:var(--select2-selection-border-radius, 4px);box-sizing:border-box;display:block;position:absolute;width:100%;z-index:1051;height:0;overflow:hidden}.select2-dropdown[_ngcontent-%COMP%] .select2-label-content[_ngcontent-%COMP%]{display:contents}.select2-results[_ngcontent-%COMP%]{display:block}.select2-results__options[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}.select2-results__option[_ngcontent-%COMP%]{padding:var(--select2-option-padding, 6px);-webkit-user-select:none;user-select:none;color:var(--select2-option-text-color, #000)}.select2-results__option[aria-selected][_ngcontent-%COMP%]{cursor:pointer}.select2-container.select2-container-dropdown.select2-container--open[_ngcontent-%COMP%]{width:100%;opacity:1}.select2-container--open[_ngcontent-%COMP%] .select2-dropdown[_ngcontent-%COMP%]{overflow:auto;height:auto}.select2-container--open[_ngcontent-%COMP%] .select2-dropdown--above[_ngcontent-%COMP%]{border-bottom:var(--select2-dropdown-above-border-bottom, none);border-bottom-left-radius:var(--select2-dropdown-above-border-bottom-left-radius, 0);border-bottom-right-radius:var(--select2-dropdown-above-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:var(--select2-dropdown-below-border-top, none);border-top-left-radius:var(--select2-dropdown-below-border-top-left-radius, 0);border-top-right-radius:var(--select2-dropdown-below-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}.select2-required[_ngcontent-%COMP%]:before{content:"*";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:var(--select2-selection-background, #fff);border:1px solid var(--select2-selection-border-color, #aaa);border-radius:var(--select2-selection-border-radius, 4px);display:flex}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{color:var(--select2-selection-text-color, #111);line-height:var(--select2-selection-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:var(--select2-placeholder-color, #999)}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;white-space:nowrap;text-overflow:var(--select2-placeholder-overflow, ellipsis)}.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__reset[_ngcontent-%COMP%], .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:var(--select2-arrow-color, #888) transparent;border-style:solid;border-width:5px 4px 0;height:0;width:0}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__reset[_ngcontent-%COMP%]{color:var(--select2-reset-color, #999)}.select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]{background:var(--select2-selection-disabled-background, #eee);cursor:default}.select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%]{display:none}.select2-container--default.select2-container--open[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%]:before{border-color:transparent transparent var(--select2-arrow-color, #888);border-width:0 4px 5px}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background:var(--select2-selection-background, #fff);border:1px solid var(--select2-selection-border-color, #aaa);border-radius:var(--select2-selection-border-radius, 4px);cursor:text;display:flex}.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:var(--select2-selection-multiple-padding, 2px 5px);width:100%;min-height:1em;align-items:center}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style:none;line-height:var(--select2-selection-choice-line-height, 20px)}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%]{display:block;width:100%;color:var(--select2-placeholder-color, #999);margin-top:5px;float:left;overflow:hidden;white-space:nowrap;text-overflow:var(--select2-placeholder-overflow, ellipsis)}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__placeholder__option[_ngcontent-%COMP%]{display:none}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%]{cursor:pointer;float:right;font-weight:700;margin-top:5px;margin-right:10px}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice[_ngcontent-%COMP%]{color:var(--select2-selection-choice-text-color, #000);background:var(--select2-selection-choice-background, #e4e4e4);border:1px solid var(--select2-selection-choice-border-color, #aaa);border-radius:var(--select2-selection-border-radius, 4px);cursor:default;padding:0 5px}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice__remove[_ngcontent-%COMP%]{color:var(--select2-selection-choice-close-color, #999);cursor:pointer;display:inline-block;font-weight:700;margin-right:2px}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice__remove[_ngcontent-%COMP%]:hover{color:var(--select2-selection-choice-hover-close-color, #333)}.select2-container--default.select2-container--focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{border:solid var(--select2-selection-focus-border-color, #000) 1px;outline:none}.select2-container--default[_ngcontent-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{border:solid var(--select2-selection-focus-border-color, #000) 1px;outline:none}.select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background:var(--select2-selection-disabled-background, #eee);cursor:default}.select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection__choice__remove[_ngcontent-%COMP%]{display:none}.select2-container--default.select2-container--open.select2-container--above[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .select2-container--default.select2-container--open.select2-container--above[_ngcontent-%COMP%] .select2-selection--multiple[_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--single[_ngcontent-%COMP%], .select2-container--default.select2-container--open.select2-container--below[_ngcontent-%COMP%] .select2-selection--multiple[_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 var(--select2-search-border-color, #aaa);background:1px solid var(--select2-search-background, #fff);border-radius:var(--select2-search-border-radius, 0px)}.select2-container--default[_ngcontent-%COMP%] .select2-search--inline[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]{background:transparent;border:none;outline:none;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;grid-column:col-start/col-end}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[aria-disabled=true][_ngcontent-%COMP%]{color:var(--select2-option-disabled-text-color, #999);background:var(--select2-option-disabled-background, transparent)}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[aria-selected=true][_ngcontent-%COMP%]{color:var(--select2-option-selected-text-color, #000);background:var(--select2-option-selected-background, #ddd)}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{padding-left:1em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__group[_ngcontent-%COMP%]{padding-left:0}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-1em;padding-left:2em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-2em;padding-left:3em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-3em;padding-left:4em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-4em;padding-left:5em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-5em;padding-left:6em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option--highlighted[aria-selected][_ngcontent-%COMP%]{background:var(--select2-option-highlighted-background, #5897fb);color:var(--select2-option-highlighted-text-color, #fff)}.select2-container--default[_ngcontent-%COMP%] .select2-results__option--hide[_ngcontent-%COMP%]{display:none}.select2-container--default[_ngcontent-%COMP%] .select2-results__group[_ngcontent-%COMP%]{cursor:default;display:block;padding:6px;color:var(--select2-option-group-text-color, gray);background:var(--select2-option-group-background, transparent)}.select2-no-result[_ngcontent-%COMP%]{color:var(--select2-no-result-color, #888);font-style:var(--select2-no-result-font-style, italic)}.select2-too-much-result[_ngcontent-%COMP%]{color:var(--select2-too-much-result-color, #888);font-style:var(--select2-too-much-font-style, italic)}.select2-grid[_ngcontent-%COMP%], .select2-grid[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{display:grid;grid-template-columns:[col-start] repeat(var(--grid-size),1fr) [col-end]}.select2-grid-auto[_ngcontent-%COMP%], .select2-grid-auto[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{display:grid;grid-template-columns:[col-start] repeat(auto-fill,minmax(var(--grid-size, 100px),1fr)) [col-end]}.select2-container--default[_ngcontent-%COMP%] .select2-grid[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%] .select2-grid-auto[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding-left:var(--select2-option-padding, 6px)}.select2-container--default[_ngcontent-%COMP%] .select2-grid[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] .select2-results__group[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%] .select2-grid-auto[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] .select2-results__group[_ngcontent-%COMP%]{padding-left:0}.select2-container--default[_ngcontent-%COMP%] .select2-grid[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%] .select2-grid-auto[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%] .select2-grid[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%] .select2-grid-auto[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%] .select2-grid[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%] .select2-grid-auto[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%] .select2-grid[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%] .select2-grid-auto[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%] .select2-grid[_ngcontent-%COMP%] ul[_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-container--default[_ngcontent-%COMP%] .select2-grid-auto[_ngcontent-%COMP%] ul[_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%]{padding-left:var(--select2-option-padding, 6px)}.nostyle[_nghost-%COMP%] .select2-dropdown[_ngcontent-%COMP%]{border-color:transparent}.nostyle[_nghost-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .nostyle[_nghost-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background:transparent;border-color:transparent}.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%] .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%], .nostyle[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background:transparent;border-color:transparent}.borderless[_nghost-%COMP%]{--select2-dropdown-above-border-bottom: 1px solid var(--select2-dropdown-border-color, #aaa);--select2-dropdown-above-border-bottom-left-radius: var(--select2-selection-border-radius, 4px);--select2-dropdown-above-border-bottom-right-radius: var(--select2-selection-border-radius, 4px);--select2-dropdown-below-border-top: 1px solid var(--select2-dropdown-border-color, #aaa);--select2-dropdown-below-border-top-left-radius: var(--select2-selection-border-radius, 4px);--select2-dropdown-below-border-top-right-radius: var(--select2-selection-border-radius, 4px)}.borderless[_nghost-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .borderless[_nghost-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background:transparent;border-color:transparent}.borderless[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .borderless[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%], .borderless[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .borderless[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background: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--single[_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_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--single[_ngcontent-%COMP%]:before, .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:before{content:" ";display:block;position:absolute;bottom:1.65em;background:var(--select2-material-underline, #ddd);height:1px;width:100%}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:after, .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:after{content:" ";display:block;position:absolute;bottom:1.63em;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--single[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{padding-left:1px;line-height:inherit}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%]{display:block;color:var(--select2-material-placeholder-color, rgba(0, 0, 0, .38));transition:transform .3s;position:absolute;transform-origin:0 21px;left:0;top:20px}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-container--open[_ngcontent-%COMP%]{left:0;bottom:1.6em}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection__placeholder__option[_ngcontent-%COMP%]{transform:translateY(-1.5em) scale(.75) perspective(100px) translateZ(.001px);width:133.33333%}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%]{top:20px}.material[_nghost-%COMP%] .select2-container--default.select2-container--open[_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[_ngcontent-%COMP%] .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:after, .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_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 #00000080}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-results__option[aria-selected=true][_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-results__option--highlighted[aria-selected][_ngcontent-%COMP%]{background:var(--select2-material-option-selected-background, rgba(0, 0, 0, .04));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:var(--select2-material-option-selected-text-color, #ff5722)}.material[_nghost-%COMP%] .select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background:transparent}.material[_nghost-%COMP%] .select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:before, .material[_nghost-%COMP%] .select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:before{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--single[_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--multiple[_ngcontent-%COMP%]:before, .material.ng-invalid.ng-touched[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:after{background:var(--select2-material-underline-invalid, red)}.material[_nghost-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .material[_nghost-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{border:0}.material[_nghost-%COMP%] .select2-subscript-wrapper[_ngcontent-%COMP%]{position:absolute;top:calc(100% - 1.72917em);font-size:75%;color:var(--select2-hint-text-color, #888)} .select2-overlay-backdrop{background:var(--select2-overlay-backdrop, transparent)} .cdk-overlay-container .select2-container .select2-dropdown.select2-dropdown--above{bottom:28px} .cdk-overlay-container .select2-container--open.select2-position-auto .select2-dropdown{margin-bottom:28px} .cdk-overlay-container .select2-container--open.select2-position-auto .select2-dropdown.select2-dropdown--above{bottom:0;margin-bottom:0;margin-top:28px} .cdk-overlay-container .select2-style-borderless{--select2-dropdown-above-border-bottom: 1px solid var(--select2-dropdown-border-color, #aaa);--select2-dropdown-above-border-bottom-left-radius: var(--select2-selection-border-radius, 4px);--select2-dropdown-above-border-bottom-right-radius: var(--select2-selection-border-radius, 4px);--select2-dropdown-below-border-top: 1px solid var(--select2-dropdown-border-color, #aaa);--select2-dropdown-below-border-top-left-radius: var(--select2-selection-border-radius, 4px);--select2-dropdown-below-border-top-right-radius: var(--select2-selection-border-radius, 4px)}@supports (-moz-appearance: none){select2.material[_ngcontent-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], select2.material[_ngcontent-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{height:26px}}']});let i=e;return i})();var Sn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=I({type:e,selectors:[["select2-hint"]]});let i=e;return i})();var Tn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=I({type:e,selectors:[["select2-label"]]});let i=e;return i})();var eo=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=W({type:e}),e.\u0275inj=z({imports:[Oa,li,Gl,Tr,Yl,li,Tr]});let i=e;return i})();var ao=Zs(so()),Xe=[{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"}]}],di=[{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"}],Bt=[{value:"foo",label:"foo"},{value:"bar",label:"bar"},{value:"baz",label:"baz"}],lo=[{value:0,label:"0"},{value:1,label:"1"},{value:2,label:"2"},{value:3,label:"3"},{value:4,label:"4"},{value:5,label:"5"},{value:6,label:"6"}],oo=[{value:"foo1",label:"foo1"},{value:"foo2",label:"foo2"},{value:"foo3",label:"foo3"},{value:"foo4",label:"foo4"},{value:"foo5",label:"foo5"},{value:"foo6",label:"foo6"}],uo=[{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"},{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"}],fo=[{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"}]}],Ln=[{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"},{value:"foo9",label:"foo9",hide:!0}],co=[{value:!0,label:"true"},{value:!1,label:"false"}],ho=[{value:"fr",label:`
+
France
+
Europe
+
`},{value:"sp",label:`
+
Spain
+
Europe
+
`},{value:"ch",label:`
+
China
+
Asia
+
`}],po=[{value:"heliotrope",label:"Heliotrope",classes:"white flower",id:"option-heliotrope"},{value:"hibiscus",label:"Hibiscus",classes:"red flower",id:"option-hibiscus"},{value:"lily",label:"Lily",classes:"white flower",id:"option-lily"},{value:"marigold",label:"Marigold",classes:"red flower",id:"option-marigold"},{value:"petunia",label:"Petunia",classes:"white flower",id:"option-petunia"},{value:"sunflower",label:"Sunflower",classes:"yellow flower",id:"option-sunflower"}],is=[{value:"heliotrope",label:"Heliotrope",data:{color:"white",name:"Heliotrope"},templateId:"template1",id:"option-heliotrope"},{value:"hibiscus",label:"Hibiscus",data:{color:"red",name:"Hibiscus"},templateId:"template1",id:"option-hibiscus"},{value:"lily",label:"Lily",data:{color:"white",name:"Lily"},templateId:"template2",id:"option-lily"},{value:"marigold",label:"Marigold",data:{color:"red",name:"Marigold"},templateId:"template2",id:"option-marigold"},{value:"petunia",label:"Petunia",data:{color:"white",name:"Petunia"},templateId:"template3",id:"option-petunia"},{value:"sunflower",label:"Sunflower",data:{color:"yellow",name:"Sunflower"},templateId:"template3",id:"option-sunflower"}],yn=[{label:"Red",data:{name:"(Red)"},options:[{value:"hibiscus",label:"Hibiscus",data:{color:"red",name:"Hibiscus"},templateId:"template1",templateSelectionId:"template1Selection",id:"option-hibiscus"},{value:"marigold",label:"Marigold",data:{color:"red",name:"Marigold"},templateId:"template2",templateSelectionId:"template2Selection",id:"option-marigold"}]},{label:"Yellow",data:{name:"(Yellow)"},options:[{value:"sunflower",label:"Sunflower",data:{color:"yellow",name:"Sunflower"},templateId:"template3",templateSelectionId:"template3Selection",id:"option-sunflower"}]},{label:"White",data:{name:"(White)"},options:[{value:"heliotrope",label:"Heliotrope",data:{color:"white",name:"Heliotrope"},templateId:"template1",templateSelectionId:"template1Selection",id:"option-heliotrope"},{value:"lily",label:"Lily",data:{color:"white",name:"Lily"},templateId:"template2",templateSelectionId:"template2Selection",id:"option-lily"},{value:"petunia",label:"Petunia",data:{color:"white",name:"Petunia"},templateId:"template3",templateSelectionId:"template3Selection",id:"option-petunia"}]}],ns=[];for(let i=1;i<=50;i++)ns.push({value:i,label:">"+i});var rs=[];for(let i=1;i<=200;i++)rs.push({value:i,label:"item n\xB0 "+i});var ss=[{value:"english",label:"English"},{value:"french",label:"French"},{value:"japanese",label:"Japanese"}],_o=[{value:"english",label:"Anglais"},{value:"french",label:"Fran\xE7ais"},{value:"japanese",label:"Japonais"}],Eo=[{value:"english",label:"\u82F1\u8A9E"},{value:"french",label:"\u30D5\u30E9\u30F3\u30B9\u8A9E"},{value:"japanese",label:"\u65E5\u672C\u8A9E"}],mo=new ao.default,go=mo.splitGraphemes("\u{1F600}\u{1F603}\u{1F604}\u{1F601}\u{1F606}\u{1F605}\u{1F923}\u{1F602}\u{1F642}\u{1F643}\u{1FAE0}\u{1F609}\u{1F60A}\u{1F607}\u{1F970}\u{1F60D}\u{1F929}\u{1F618}\u{1F617}\u263A\uFE0F\u{1F61A}\u{1F619}\u{1F972}\u{1F60B}\u{1F61B}\u{1F61C}\u{1F92A}\u{1F61D}\u{1F911}\u{1F917}\u{1F92D}\u{1FAE2}\u{1FAE3}\u{1F92B}\u{1F914}\u{1FAE1}\u{1F910}\u{1F928}\u{1F610}\uFE0F\u{1F611}\u{1F636}\u{1FAE5}\u{1F636}\u200D\u{1F32B}\uFE0F\u{1F60F}\u{1F612}\u{1F644}\u{1F62C}\u{1F62E}\u200D\u{1F4A8}\u{1F925}\u{1FAE8}\u{1F642}\u200D\u2194\uFE0F\u{1F642}\u200D\u2195\uFE0F\u{1F60C}\u{1F614}\u{1F62A}\u{1F924}\u{1F634}\u{1F637}\u{1F912}\u{1F915}\u{1F922}\u{1F92E}\u{1F927}\u{1F975}\u{1F976}\u{1F974}\u{1F635}\u{1F635}\u200D\u{1F4AB}\u{1F92F}\u{1F920}\u{1F973}\u{1F978}\u{1F60E}\u{1F913}\u{1F9D0}\u{1F615}\u{1FAE4}\u{1F61F}\u{1F641}\u2639\uFE0F\u{1F62E}\u{1F62F}\u{1F632}\u{1F633}\u{1F97A}\u{1F979}\u{1F626}\u{1F627}\u{1F628}\u{1F630}\u{1F625}\u{1F622}\u{1F62D}\u{1F631}\u{1F616}\u{1F623}\u{1F61E}\u{1F613}\u{1F629}\u{1F62B}\u{1F971}\u{1F624}\u{1F621}\u{1F620}\u{1F92C}\u{1F608}\u{1F47F}\u{1F480}\u2620\uFE0F\u{1F4A9}\u{1F921}\u{1F479}\u{1F47A}\u{1F47B}\u{1F47D}\uFE0F\u{1F47E}\u{1F916}\u{1F63A}\u{1F638}\u{1F639}\u{1F63B}\u{1F63C}\u{1F63D}\u{1F640}\u{1F63F}\u{1F63E}\u{1F648}\u{1F649}\u{1F64A}\u{1F48C}\u{1F498}\u{1F49D}\u{1F496}\u{1F497}\u{1F493}\u{1F49E}\u{1F495}\u{1F49F}\u2763\uFE0F\u{1F494}\u2764\uFE0F\u200D\u{1F525}\u2764\uFE0F\u200D\u{1FA79}\u2764\uFE0F\u{1FA77}\u{1F9E1}\u{1F49B}\u{1F49A}\u{1F499}\u{1FA75}\u{1F49C}\u{1F90E}\u{1F5A4}\u{1FA76}\u{1F90D}\u{1F48B}\u{1F4AF}\u{1F4A2}\u{1F4A5}\u{1F4AB}\u{1F4A6}\u{1F4A8}\u{1F573}\uFE0F\u{1F4AC}\u{1F441}\uFE0F\u200D\u{1F5E8}\uFE0F\u{1F5E8}\uFE0F\u{1F5EF}\uFE0F\u{1F4AD}\u{1F4A4}").map(i=>({value:i,label:i})),xo=Object.entries({"\u2764\uFE0F\u{1F923}Smileys et \xE9motions":"\u{1F600}\u{1F603}\u{1F604}\u{1F601}\u{1F606}\u{1F605}\u{1F923}\u{1F602}\u{1F642}\u{1F643}\u{1FAE0}\u{1F609}\u{1F60A}\u{1F607}\u{1F970}\u{1F60D}\u{1F929}\u{1F618}\u{1F617}\u263A\uFE0F\u{1F61A}\u{1F619}\u{1F972}\u{1F60B}\u{1F61B}\u{1F61C}\u{1F92A}\u{1F61D}\u{1F911}\u{1F917}\u{1F92D}\u{1FAE2}\u{1FAE3}\u{1F92B}\u{1F914}\u{1FAE1}\u{1F910}\u{1F928}\u{1F610}\uFE0F\u{1F611}\u{1F636}\u{1FAE5}\u{1F636}\u200D\u{1F32B}\uFE0F\u{1F60F}\u{1F612}\u{1F644}\u{1F62C}\u{1F62E}\u200D\u{1F4A8}\u{1F925}\u{1FAE8}\u{1F642}\u200D\u2194\uFE0F\u{1F642}\u200D\u2195\uFE0F\u{1F60C}\u{1F614}\u{1F62A}\u{1F924}\u{1F634}\u{1F637}\u{1F912}\u{1F915}\u{1F922}\u{1F92E}\u{1F927}\u{1F975}\u{1F976}\u{1F974}\u{1F635}\u{1F635}\u200D\u{1F4AB}\u{1F92F}\u{1F920}\u{1F973}\u{1F978}\u{1F60E}\u{1F913}\u{1F9D0}\u{1F615}\u{1FAE4}\u{1F61F}\u{1F641}\u2639\uFE0F\u{1F62E}\u{1F62F}\u{1F632}\u{1F633}\u{1F97A}\u{1F979}\u{1F626}\u{1F627}\u{1F628}\u{1F630}\u{1F625}\u{1F622}\u{1F62D}\u{1F631}\u{1F616}\u{1F623}\u{1F61E}\u{1F613}\u{1F629}\u{1F62B}\u{1F971}\u{1F624}\u{1F621}\u{1F620}\u{1F92C}\u{1F608}\u{1F47F}\u{1F480}\u2620\uFE0F\u{1F4A9}\u{1F921}\u{1F479}\u{1F47A}\u{1F47B}\u{1F47D}\uFE0F\u{1F47E}\u{1F916}\u{1F63A}\u{1F638}\u{1F639}\u{1F63B}\u{1F63C}\u{1F63D}\u{1F640}\u{1F63F}\u{1F63E}\u{1F648}\u{1F649}\u{1F64A}\u{1F48C}\u{1F498}\u{1F49D}\u{1F496}\u{1F497}\u{1F493}\u{1F49E}\u{1F495}\u{1F49F}\u2763\uFE0F\u{1F494}\u2764\uFE0F\u200D\u{1F525}\u2764\uFE0F\u200D\u{1FA79}\u2764\uFE0F\u{1FA77}\u{1F9E1}\u{1F49B}\u{1F49A}\u{1F499}\u{1FA75}\u{1F49C}\u{1F90E}\u{1F5A4}\u{1FA76}\u{1F90D}\u{1F48B}\u{1F4AF}\u{1F4A2}\u{1F4A5}\u{1F4AB}\u{1F4A6}\u{1F4A8}\u{1F573}\uFE0F\u{1F4AC}\u{1F441}\uFE0F\u200D\u{1F5E8}\uFE0F\u{1F5E8}\uFE0F\u{1F5EF}\uFE0F\u{1F4AD}\u{1F4A4}","\u{1F44D}\uFE0F\u{1F64B}\u200D\u2642\uFE0FPersonnes et corps":"\u{1F44B}\u{1F91A}\u{1F590}\uFE0F\u270B\uFE0F\u{1F596}\u{1FAF1}\u{1FAF2}\u{1FAF3}\u{1FAF4}\u{1FAF7}\u{1FAF8}\u{1F44C}\u{1F90C}\u{1F90F}\u270C\uFE0F\u{1F91E}\u{1FAF0}\u{1F91F}\u{1F918}\u{1F919}\u{1F448}\uFE0F\u{1F449}\uFE0F\u{1F446}\uFE0F\u{1F595}\u{1F447}\uFE0F\u261D\uFE0F\u{1FAF5}\u{1F44D}\uFE0F\u{1F44E}\uFE0F\u270A\uFE0F\u{1F44A}\u{1F91B}\u{1F91C}\u{1F44F}\u{1F64C}\u{1FAF6}\u{1F450}\u{1F932}\u{1F91D}\u{1F64F}\u270D\uFE0F\u{1F485}\u{1F933}\u{1F4AA}\u{1F9BE}\u{1F9BF}\u{1F9B5}\u{1F9B6}\u{1F442}\uFE0F\u{1F9BB}\u{1F443}\u{1F9E0}\u{1FAC0}\u{1FAC1}\u{1F9B7}\u{1F9B4}\u{1F440}\u{1F441}\uFE0F\u{1F445}\u{1F444}\u{1FAE6}\u{1F476}\u{1F9D2}\u{1F466}\u{1F467}\u{1F9D1}\u{1F471}\u{1F468}\u{1F9D4}\u{1F9D4}\u200D\u2642\uFE0F\u{1F9D4}\u200D\u2640\uFE0F\u{1F468}\u200D\u{1F9B0}\u{1F468}\u200D\u{1F9B1}\u{1F468}\u200D\u{1F9B3}\u{1F468}\u200D\u{1F9B2}\u{1F469}\u{1F469}\u200D\u{1F9B0}\u{1F9D1}\u200D\u{1F9B0}\u{1F469}\u200D\u{1F9B1}\u{1F9D1}\u200D\u{1F9B1}\u{1F469}\u200D\u{1F9B3}\u{1F9D1}\u200D\u{1F9B3}\u{1F469}\u200D\u{1F9B2}\u{1F9D1}\u200D\u{1F9B2}\u{1F471}\u200D\u2640\uFE0F\u{1F471}\u200D\u2642\uFE0F\u{1F9D3}\u{1F474}\u{1F475}\u{1F64D}\u{1F64D}\u200D\u2642\uFE0F\u{1F64D}\u200D\u2640\uFE0F\u{1F64E}\u{1F64E}\u200D\u2642\uFE0F\u{1F64E}\u200D\u2640\uFE0F\u{1F645}\u{1F645}\u200D\u2642\uFE0F\u{1F645}\u200D\u2640\uFE0F\u{1F646}\u{1F646}\u200D\u2642\uFE0F\u{1F646}\u200D\u2640\uFE0F\u{1F481}\u{1F481}\u200D\u2642\uFE0F\u{1F481}\u200D\u2640\uFE0F\u{1F64B}\u{1F64B}\u200D\u2642\uFE0F\u{1F64B}\u200D\u2640\uFE0F\u{1F9CF}\u{1F9CF}\u200D\u2642\uFE0F\u{1F9CF}\u200D\u2640\uFE0F\u{1F647}\u{1F647}\u200D\u2642\uFE0F\u{1F647}\u200D\u2640\uFE0F\u{1F926}\u{1F926}\u200D\u2642\uFE0F\u{1F926}\u200D\u2640\uFE0F\u{1F937}\u{1F937}\u200D\u2642\uFE0F\u{1F937}\u200D\u2640\uFE0F\u{1F9D1}\u200D\u2695\uFE0F\u{1F468}\u200D\u2695\uFE0F\u{1F469}\u200D\u2695\uFE0F\u{1F9D1}\u200D\u{1F393}\u{1F468}\u200D\u{1F393}\u{1F469}\u200D\u{1F393}\u{1F9D1}\u200D\u{1F3EB}\u{1F468}\u200D\u{1F3EB}\u{1F469}\u200D\u{1F3EB}\u{1F9D1}\u200D\u2696\uFE0F\u{1F468}\u200D\u2696\uFE0F\u{1F469}\u200D\u2696\uFE0F\u{1F9D1}\u200D\u{1F33E}\u{1F468}\u200D\u{1F33E}\u{1F469}\u200D\u{1F33E}\u{1F9D1}\u200D\u{1F373}\u{1F468}\u200D\u{1F373}\u{1F469}\u200D\u{1F373}\u{1F9D1}\u200D\u{1F527}\u{1F468}\u200D\u{1F527}\u{1F469}\u200D\u{1F527}\u{1F9D1}\u200D\u{1F3ED}\u{1F468}\u200D\u{1F3ED}\u{1F469}\u200D\u{1F3ED}\u{1F9D1}\u200D\u{1F4BC}\u{1F468}\u200D\u{1F4BC}\u{1F469}\u200D\u{1F4BC}\u{1F9D1}\u200D\u{1F52C}\u{1F468}\u200D\u{1F52C}\u{1F469}\u200D\u{1F52C}\u{1F9D1}\u200D\u{1F4BB}\u{1F468}\u200D\u{1F4BB}\u{1F469}\u200D\u{1F4BB}\u{1F9D1}\u200D\u{1F3A4}\u{1F468}\u200D\u{1F3A4}\u{1F469}\u200D\u{1F3A4}\u{1F9D1}\u200D\u{1F3A8}\u{1F468}\u200D\u{1F3A8}\u{1F469}\u200D\u{1F3A8}\u{1F9D1}\u200D\u2708\uFE0F\u{1F468}\u200D\u2708\uFE0F\u{1F469}\u200D\u2708\uFE0F\u{1F9D1}\u200D\u{1F680}\u{1F468}\u200D\u{1F680}\u{1F469}\u200D\u{1F680}\u{1F9D1}\u200D\u{1F692}\u{1F468}\u200D\u{1F692}\u{1F469}\u200D\u{1F692}\u{1F46E}\u{1F46E}\u200D\u2642\uFE0F\u{1F46E}\u200D\u2640\uFE0F\u{1F575}\uFE0F\u{1F575}\uFE0F\u200D\u2642\uFE0F\u{1F575}\uFE0F\u200D\u2640\uFE0F\u{1F482}\u{1F482}\u200D\u2642\uFE0F\u{1F482}\u200D\u2640\uFE0F\u{1F977}\u{1F477}\u{1F477}\u200D\u2642\uFE0F\u{1F477}\u200D\u2640\uFE0F\u{1FAC5}\u{1F934}\u{1F478}\u{1F473}\u{1F473}\u200D\u2642\uFE0F\u{1F473}\u200D\u2640\uFE0F\u{1F472}\u{1F9D5}\u{1F935}\u{1F935}\u200D\u2642\uFE0F\u{1F935}\u200D\u2640\uFE0F\u{1F470}\u{1F470}\u200D\u2642\uFE0F\u{1F470}\u200D\u2640\uFE0F\u{1F930}\u{1FAC3}\u{1FAC4}\u{1F931}\u{1F469}\u200D\u{1F37C}\u{1F468}\u200D\u{1F37C}\u{1F9D1}\u200D\u{1F37C}\u{1F47C}\u{1F385}\u{1F936}\u{1F9D1}\u200D\u{1F384}\u{1F9B8}\u{1F9B8}\u200D\u2642\uFE0F\u{1F9B8}\u200D\u2640\uFE0F\u{1F9B9}\u{1F9B9}\u200D\u2642\uFE0F\u{1F9B9}\u200D\u2640\uFE0F\u{1F9D9}\u{1F9D9}\u200D\u2642\uFE0F\u{1F9D9}\u200D\u2640\uFE0F\u{1F9DA}\u{1F9DA}\u200D\u2642\uFE0F\u{1F9DA}\u200D\u2640\uFE0F\u{1F9DB}\u{1F9DB}\u200D\u2642\uFE0F\u{1F9DB}\u200D\u2640\uFE0F\u{1F9DC}\u{1F9DC}\u200D\u2642\uFE0F\u{1F9DC}\u200D\u2640\uFE0F\u{1F9DD}\u{1F9DD}\u200D\u2642\uFE0F\u{1F9DD}\u200D\u2640\uFE0F\u{1F9DE}\u{1F9DE}\u200D\u2642\uFE0F\u{1F9DE}\u200D\u2640\uFE0F\u{1F9DF}\u{1F9DF}\u200D\u2642\uFE0F\u{1F9DF}\u200D\u2640\uFE0F\u{1F9CC}\u{1F486}\u{1F486}\u200D\u2642\uFE0F\u{1F486}\u200D\u2640\uFE0F\u{1F487}\u{1F487}\u200D\u2642\uFE0F\u{1F487}\u200D\u2640\uFE0F\u{1F6B6}\u{1F6B6}\u200D\u2642\uFE0F\u{1F6B6}\u200D\u2640\uFE0F\u{1F6B6}\u200D\u27A1\uFE0F\u{1F6B6}\u200D\u2640\uFE0F\u200D\u{1F6B6}\u200D\u2642\uFE0F\u200D\u{1F9CD}\u{1F9CD}\u200D\u2642\uFE0F\u{1F9CD}\u200D\u2640\uFE0F\u{1F9CE}\u{1F9CE}\u200D\u2642\uFE0F\u{1F9CE}\u200D\u2640\uFE0F\u{1F9CE}\u200D\u27A1\uFE0F\u{1F9CE}\u200D\u2640\uFE0F\u200D\u{1F9CE}\u200D\u2642\uFE0F\u200D\u{1F9D1}\u200D\u{1F9AF}\u{1F9D1}\u200D\u{1F9AF}\u200D\u27A1\u{1F468}\u200D\u{1F9AF}\u{1F468}\u200D\u{1F9AF}\u200D\u27A1\u{1F469}\u200D\u{1F9AF}\u{1F469}\u200D\u{1F9AF}\u200D\u27A1\u{1F9D1}\u200D\u{1F9BC}\u{1F9D1}\u200D\u{1F9BC}\u200D\u27A1\u{1F468}\u200D\u{1F9BC}\u{1F468}\u200D\u{1F9BC}\u200D\u27A1\u{1F469}\u200D\u{1F9BC}\u{1F469}\u200D\u{1F9BC}\u200D\u27A1\u{1F9D1}\u200D\u{1F9BD}\u{1F9D1}\u200D\u{1F9BD}\u200D\u27A1\u{1F468}\u200D\u{1F9BD}\u{1F468}\u200D\u{1F9BD}\u200D\u27A1\u{1F469}\u200D\u{1F9BD}\u{1F469}\u200D\u{1F9BD}\u200D\u27A1\u{1F3C3}\u{1F3C3}\u200D\u2642\uFE0F\u{1F3C3}\u200D\u2640\uFE0F\u{1F3C3}\u200D\u27A1\uFE0F\u{1F3C3}\u200D\u2640\uFE0F\u200D\u{1F3C3}\u200D\u2642\uFE0F\u200D\u{1F483}\u{1F57A}\u{1F574}\uFE0F\u{1F46F}\u{1F46F}\u200D\u2642\uFE0F\u{1F46F}\u200D\u2640\uFE0F\u{1F9D6}\u{1F9D6}\u200D\u2642\uFE0F\u{1F9D6}\u200D\u2640\uFE0F\u{1F9D7}\u{1F9D7}\u200D\u2642\uFE0F\u{1F9D7}\u200D\u2640\uFE0F\u{1F93A}\u{1F3C7}\u26F7\uFE0F\u{1F3C2}\uFE0F\u{1F3CC}\uFE0F\u{1F3CC}\uFE0F\u200D\u2642\uFE0F\u{1F3CC}\uFE0F\u200D\u2640\uFE0F\u{1F3C4}\uFE0F\u{1F3C4}\u200D\u2642\uFE0F\u{1F3C4}\u200D\u2640\uFE0F\u{1F6A3}\u{1F6A3}\u200D\u2642\uFE0F\u{1F6A3}\u200D\u2640\uFE0F\u{1F3CA}\uFE0F\u{1F3CA}\u200D\u2642\uFE0F\u{1F3CA}\u200D\u2640\uFE0F\u26F9\uFE0F\u26F9\uFE0F\u200D\u2642\uFE0F\u26F9\uFE0F\u200D\u2640\uFE0F\u{1F3CB}\uFE0F\u{1F3CB}\uFE0F\u200D\u2642\uFE0F\u{1F3CB}\uFE0F\u200D\u2640\uFE0F\u{1F6B4}\u{1F6B4}\u200D\u2642\uFE0F\u{1F6B4}\u200D\u2640\uFE0F\u{1F6B5}\u{1F6B5}\u200D\u2642\uFE0F\u{1F6B5}\u200D\u2640\uFE0F\u{1F938}\u{1F938}\u200D\u2642\uFE0F\u{1F938}\u200D\u2640\uFE0F\u{1F93C}\u{1F93C}\u200D\u2642\uFE0F\u{1F93C}\u200D\u2640\uFE0F\u{1F93D}\u{1F93D}\u200D\u2642\uFE0F\u{1F93D}\u200D\u2640\uFE0F\u{1F93E}\u{1F93E}\u200D\u2642\uFE0F\u{1F93E}\u200D\u2640\uFE0F\u{1F939}\u{1F939}\u200D\u2642\uFE0F\u{1F939}\u200D\u2640\uFE0F\u{1F9D8}\u{1F9D8}\u200D\u2642\uFE0F\u{1F9D8}\u200D\u2640\uFE0F\u{1F6C0}\u{1F6CC}\u{1F9D1}\u200D\u{1F91D}\u200D\u{1F9D1}\u{1F46D}\u{1F46B}\u{1F46C}\u{1F48F}\u{1F469}\u200D\u2764\uFE0F\u200D\u{1F468}\u200D\u2764\uFE0F\u200D\u{1F469}\u200D\u2764\uFE0F\u200D\u{1F491}\u{1F469}\u200D\u2764\uFE0F\u200D\u{1F468}\u200D\u2764\uFE0F\u200D\u{1F469}\u200D\u2764\uFE0F\u200D\u{1F468}\u200D\u{1F469}\u200D\u{1F466}\u{1F468}\u200D\u{1F469}\u200D\u{1F467}\u{1F468}\u200D\u{1F469}\u200D\u{1F467}\u{1F468}\u200D\u{1F469}\u200D\u{1F466}\u{1F468}\u200D\u{1F469}\u200D\u{1F467}\u{1F468}\u200D\u{1F468}\u200D\u{1F466}\u{1F468}\u200D\u{1F468}\u200D\u{1F467}\u{1F468}\u200D\u{1F468}\u200D\u{1F467}\u{1F468}\u200D\u{1F468}\u200D\u{1F466}\u{1F468}\u200D\u{1F468}\u200D\u{1F467}\u{1F469}\u200D\u{1F469}\u200D\u{1F466}\u{1F469}\u200D\u{1F469}\u200D\u{1F467}\u{1F469}\u200D\u{1F469}\u200D\u{1F467}\u{1F469}\u200D\u{1F469}\u200D\u{1F466}\u{1F469}\u200D\u{1F469}\u200D\u{1F467}\u{1F468}\u200D\u{1F466}\u{1F468}\u200D\u{1F466}\u200D\u{1F466}\u{1F468}\u200D\u{1F467}\u{1F468}\u200D\u{1F467}\u200D\u{1F466}\u{1F468}\u200D\u{1F467}\u200D\u{1F467}\u{1F469}\u200D\u{1F466}\u{1F469}\u200D\u{1F466}\u200D\u{1F466}\u{1F469}\u200D\u{1F467}\u{1F469}\u200D\u{1F467}\u200D\u{1F466}\u{1F469}\u200D\u{1F467}\u200D\u{1F467}\u{1F5E3}\uFE0F\u{1F464}\u{1F465}\u{1FAC2}\u{1F46A}\uFE0F\u{1F9D1}\u200D\u{1F9D1}\u200D\u{1F9D2}\u{1F9D1}\u200D\u{1F9D1}\u200D\u{1F9D2}\u{1F9D1}\u200D\u{1F9D2}\u{1F9D1}\u200D\u{1F9D2}\u200D\u{1F9D2}\u{1F463}","\u{1F334}\u{1F981}Animaux et nature":"\u{1F435}\u{1F412}\u{1F98D}\u{1F9A7}\u{1F436}\u{1F415}\uFE0F\u{1F9AE}\u{1F415}\u200D\u{1F9BA}\u{1F429}\u{1F43A}\u{1F98A}\u{1F99D}\u{1F431}\u{1F408}\uFE0F\u{1F408}\u200D\u2B1B\u{1F981}\u{1F42F}\u{1F405}\u{1F406}\u{1F434}\u{1FACE}\u{1FACF}\u{1F40E}\u{1F984}\u{1F993}\u{1F98C}\u{1F9AC}\u{1F42E}\u{1F402}\u{1F403}\u{1F404}\u{1F437}\u{1F416}\u{1F417}\u{1F43D}\u{1F40F}\u{1F411}\u{1F410}\u{1F42A}\u{1F42B}\u{1F999}\u{1F992}\u{1F418}\u{1F9A3}\u{1F98F}\u{1F99B}\u{1F42D}\u{1F401}\u{1F400}\u{1F439}\u{1F430}\u{1F407}\u{1F43F}\uFE0F\u{1F9AB}\u{1F994}\u{1F987}\u{1F43B}\u{1F43B}\u200D\u2744\uFE0F\u{1F428}\u{1F43C}\u{1F9A5}\u{1F9A6}\u{1F9A8}\u{1F998}\u{1F9A1}\u{1F43E}\u{1F983}\u{1F414}\u{1F413}\u{1F423}\u{1F424}\u{1F425}\u{1F426}\uFE0F\u{1F427}\u{1F54A}\uFE0F\u{1F985}\u{1F986}\u{1F9A2}\u{1F989}\u{1F9A4}\u{1FAB6}\u{1F9A9}\u{1F99A}\u{1F99C}\u{1FABD}\u{1F426}\u200D\u2B1B\u{1FABF}\u{1F426}\u200D\u{1F525}\u{1F438}\u{1F40A}\u{1F422}\u{1F98E}\u{1F40D}\u{1F432}\u{1F409}\u{1F995}\u{1F996}\u{1F433}\u{1F40B}\u{1F42C}\u{1F9AD}\u{1F41F}\uFE0F\u{1F420}\u{1F421}\u{1F988}\u{1F419}\u{1F41A}\u{1FAB8}\u{1FABC}\u{1F40C}\u{1F98B}\u{1F41B}\u{1F41C}\u{1F41D}\u{1FAB2}\u{1F41E}\u{1F997}\u{1FAB3}\u{1F577}\uFE0F\u{1F578}\uFE0F\u{1F982}\u{1F99F}\u{1FAB0}\u{1FAB1}\u{1F9A0}\u{1F490}\u{1F338}\u{1F4AE}\u{1FAB7}\u{1F3F5}\uFE0F\u{1F339}\u{1F940}\u{1F33A}\u{1F33B}\u{1F33C}\u{1F337}\u{1FABB}\u{1F331}\u{1FAB4}\u{1F332}\u{1F333}\u{1F334}\u{1F335}\u{1F33E}\u{1F33F}\u2618\uFE0F\u{1F340}\u{1F341}\u{1F342}\u{1F343}\u{1FAB9}\u{1FABA}\u{1F344}","\u{1F35C}\u{1F378}\uFE0FNourriture et boissons":"\u{1F347}\u{1F348}\u{1F349}\u{1F34A}\u{1F34B}\u{1F34B}\u200D\u{1F7E9}\u{1F34C}\u{1F34D}\u{1F96D}\u{1F34E}\u{1F34F}\u{1F350}\u{1F351}\u{1F352}\u{1F353}\u{1FAD0}\u{1F95D}\u{1F345}\u{1FAD2}\u{1F965}\u{1F951}\u{1F346}\u{1F954}\u{1F955}\u{1F33D}\u{1F336}\uFE0F\u{1FAD1}\u{1F952}\u{1F96C}\u{1F966}\u{1F9C4}\u{1F9C5}\u{1F95C}\u{1FAD8}\u{1F330}\u{1FADA}\u{1FADB}\u{1F344}\u200D\u{1F7EB}\u{1F35E}\u{1F950}\u{1F956}\u{1FAD3}\u{1F968}\u{1F96F}\u{1F95E}\u{1F9C7}\u{1F9C0}\u{1F356}\u{1F357}\u{1F969}\u{1F953}\u{1F354}\u{1F35F}\u{1F355}\u{1F32D}\u{1F96A}\u{1F32E}\u{1F32F}\u{1FAD4}\u{1F959}\u{1F9C6}\u{1F95A}\u{1F373}\u{1F958}\u{1F372}\u{1FAD5}\u{1F963}\u{1F957}\u{1F37F}\u{1F9C8}\u{1F9C2}\u{1F96B}\u{1F371}\u{1F358}\u{1F359}\u{1F35A}\u{1F35B}\u{1F35C}\u{1F35D}\u{1F360}\u{1F362}\u{1F363}\u{1F364}\u{1F365}\u{1F96E}\u{1F361}\u{1F95F}\u{1F960}\u{1F961}\u{1F980}\u{1F99E}\u{1F990}\u{1F991}\u{1F9AA}\u{1F366}\u{1F367}\u{1F368}\u{1F369}\u{1F36A}\u{1F382}\u{1F370}\u{1F9C1}\u{1F967}\u{1F36B}\u{1F36C}\u{1F36D}\u{1F36E}\u{1F36F}\u{1F37C}\u{1F95B}\u2615\uFE0F\u{1FAD6}\u{1F375}\u{1F376}\u{1F37E}\u{1F377}\u{1F378}\uFE0F\u{1F379}\u{1F37A}\u{1F37B}\u{1F942}\u{1F943}\u{1FAD7}\u{1F964}\u{1F9CB}\u{1F9C3}\u{1F9C9}\u{1F9CA}\u{1F962}\u{1F37D}\uFE0F\u{1F374}\u{1F944}\u{1F52A}\u{1FAD9}\u{1F3FA}","\u2708\uFE0F\u26C5\uFE0FVoyages, lieux et m\xE9t\xE9o":"\u{1F30D}\uFE0F\u{1F30E}\uFE0F\u{1F30F}\uFE0F\u{1F310}\u{1F5FA}\uFE0F\u{1F5FE}\u{1F9ED}\u{1F3D4}\uFE0F\u26F0\uFE0F\u{1F30B}\u{1F5FB}\u{1F3D5}\uFE0F\u{1F3D6}\uFE0F\u{1F3DC}\uFE0F\u{1F3DD}\uFE0F\u{1F3DE}\uFE0F\u{1F3DF}\uFE0F\u{1F3DB}\uFE0F\u{1F3D7}\uFE0F\u{1F9F1}\u{1FAA8}\u{1FAB5}\u{1F6D6}\u{1F3D8}\uFE0F\u{1F3DA}\uFE0F\u{1F3E0}\uFE0F\u{1F3E1}\u{1F3E2}\u{1F3E3}\u{1F3E4}\u{1F3E5}\u{1F3E6}\u{1F3E8}\u{1F3E9}\u{1F3EA}\u{1F3EB}\u{1F3EC}\u{1F3ED}\uFE0F\u{1F3EF}\u{1F3F0}\u{1F492}\u{1F5FC}\u{1F5FD}\u26EA\uFE0F\u{1F54C}\u{1F6D5}\u{1F54D}\u26E9\uFE0F\u{1F54B}\u26F2\uFE0F\u26FA\uFE0F\u{1F301}\u{1F303}\u{1F3D9}\uFE0F\u{1F304}\u{1F305}\u{1F306}\u{1F307}\u{1F309}\u2668\uFE0F\u{1F3A0}\u{1F6DD}\u{1F3A1}\u{1F3A2}\u{1F488}\u{1F3AA}\u{1F682}\u{1F683}\u{1F684}\u{1F685}\u{1F686}\u{1F687}\uFE0F\u{1F688}\u{1F689}\u{1F68A}\u{1F69D}\u{1F69E}\u{1F68B}\u{1F68C}\u{1F68D}\uFE0F\u{1F68E}\u{1F690}\u{1F691}\uFE0F\u{1F692}\u{1F693}\u{1F694}\uFE0F\u{1F695}\u{1F696}\u{1F697}\u{1F698}\uFE0F\u{1F699}\u{1F6FB}\u{1F69A}\u{1F69B}\u{1F69C}\u{1F3CE}\uFE0F\u{1F3CD}\uFE0F\u{1F6F5}\u{1F9BD}\u{1F9BC}\u{1F6FA}\u{1F6B2}\uFE0F\u{1F6F4}\u{1F6F9}\u{1F6FC}\u{1F68F}\u{1F6E3}\uFE0F\u{1F6E4}\uFE0F\u{1F6E2}\uFE0F\u26FD\uFE0F\u{1F6DE}\u{1F6A8}\u{1F6A5}\u{1F6A6}\u{1F6D1}\u{1F6A7}\u2693\uFE0F\u{1F6DF}\u26F5\uFE0F\u{1F6F6}\u{1F6A4}\u{1F6F3}\uFE0F\u26F4\uFE0F\u{1F6E5}\uFE0F\u{1F6A2}\u2708\uFE0F\u{1F6E9}\uFE0F\u{1F6EB}\u{1F6EC}\u{1FA82}\u{1F4BA}\u{1F681}\u{1F69F}\u{1F6A0}\u{1F6A1}\u{1F6F0}\uFE0F\u{1F680}\u{1F6F8}\u{1F6CE}\uFE0F\u{1F9F3}\u231B\uFE0F\u23F3\uFE0F\u231A\uFE0F\u23F0\uFE0F\u23F1\uFE0F\u23F2\uFE0F\u{1F570}\uFE0F\u{1F55B}\uFE0F\u{1F567}\uFE0F\u{1F550}\uFE0F\u{1F55C}\uFE0F\u{1F551}\uFE0F\u{1F55D}\uFE0F\u{1F552}\uFE0F\u{1F55E}\uFE0F\u{1F553}\uFE0F\u{1F55F}\uFE0F\u{1F554}\uFE0F\u{1F560}\uFE0F\u{1F555}\uFE0F\u{1F561}\uFE0F\u{1F556}\uFE0F\u{1F562}\uFE0F\u{1F557}\uFE0F\u{1F563}\uFE0F\u{1F558}\uFE0F\u{1F564}\uFE0F\u{1F559}\uFE0F\u{1F565}\uFE0F\u{1F55A}\uFE0F\u{1F566}\uFE0F\u{1F311}\u{1F312}\u{1F313}\u{1F314}\u{1F315}\uFE0F\u{1F316}\u{1F317}\u{1F318}\u{1F319}\u{1F31A}\u{1F31B}\u{1F31C}\uFE0F\u{1F321}\uFE0F\u2600\uFE0F\u{1F31D}\u{1F31E}\u{1FA90}\u2B50\uFE0F\u{1F31F}\u{1F320}\u{1F30C}\u2601\uFE0F\u26C5\uFE0F\u26C8\uFE0F\u{1F324}\uFE0F\u{1F325}\uFE0F\u{1F326}\uFE0F\u{1F327}\uFE0F\u{1F328}\uFE0F\u{1F329}\uFE0F\u{1F32A}\uFE0F\u{1F32B}\uFE0F\u{1F32C}\uFE0F\u{1F300}\u{1F308}\u{1F302}\u2602\uFE0F\u2614\uFE0F\u26F1\uFE0F\u26A1\uFE0F\u2744\uFE0F\u2603\uFE0F\u26C4\uFE0F\u2604\uFE0F\u{1F525}\u{1F4A7}\u{1F30A}","\u26BD\uFE0F\u{1F3AE}\uFE0FActivit\xE9s et \xE9v\xE9nements":"\u{1F383}\u{1F384}\u{1F386}\u{1F387}\u{1F9E8}\u2728\uFE0F\u{1F388}\u{1F389}\u{1F38A}\u{1F38B}\u{1F38D}\u{1F38E}\u{1F38F}\u{1F390}\u{1F391}\u{1F9E7}\u{1F380}\u{1F381}\u{1F397}\uFE0F\u{1F39F}\uFE0F\u{1F3AB}\u{1F396}\uFE0F\u{1F3C6}\uFE0F\u{1F3C5}\u{1F947}\u{1F948}\u{1F949}\u26BD\uFE0F\u26BE\uFE0F\u{1F94E}\u{1F3C0}\u{1F3D0}\u{1F3C8}\u{1F3C9}\u{1F3BE}\u{1F94F}\u{1F3B3}\u{1F3CF}\u{1F3D1}\u{1F3D2}\u{1F94D}\u{1F3D3}\u{1F3F8}\u{1F94A}\u{1F94B}\u{1F945}\u26F3\uFE0F\u26F8\uFE0F\u{1F3A3}\u{1F93F}\u{1F3BD}\u{1F3BF}\u{1F6F7}\u{1F94C}\u{1F3AF}\u{1FA80}\u{1FA81}\u{1F52B}\u{1F3B1}\u{1F52E}\u{1FA84}\u{1F3AE}\uFE0F\u{1F579}\uFE0F\u{1F3B0}\u{1F3B2}\u{1F9E9}\u{1F9F8}\u{1FA85}\u{1FAA9}\u{1FA86}\u2660\uFE0F\u2665\uFE0F\u2666\uFE0F\u2663\uFE0F\u265F\uFE0F\u{1F0CF}\u{1F004}\uFE0F\u{1F3B4}\u{1F3AD}\uFE0F\u{1F5BC}\uFE0F\u{1F3A8}\u{1F9F5}\u{1FAA1}\u{1F9F6}\u{1FAA2}","\u{1F4BB}\uFE0F\u{1FAA5}Objets":"\u{1F453}\uFE0F\u{1F576}\uFE0F\u{1F97D}\u{1F97C}\u{1F9BA}\u{1F454}\u{1F455}\u{1F456}\u{1F9E3}\u{1F9E4}\u{1F9E5}\u{1F9E6}\u{1F457}\u{1F458}\u{1F97B}\u{1FA71}\u{1FA72}\u{1FA73}\u{1F459}\u{1F45A}\u{1FAAD}\u{1F45B}\u{1F45C}\u{1F45D}\u{1F6CD}\uFE0F\u{1F392}\u{1FA74}\u{1F45E}\u{1F45F}\u{1F97E}\u{1F97F}\u{1F460}\u{1F461}\u{1FA70}\u{1F462}\u{1FAAE}\u{1F451}\u{1F452}\u{1F3A9}\u{1F393}\uFE0F\u{1F9E2}\u{1FA96}\u26D1\uFE0F\u{1F4FF}\u{1F484}\u{1F48D}\u{1F48E}\u{1F507}\u{1F508}\uFE0F\u{1F509}\u{1F50A}\u{1F4E2}\u{1F4E3}\u{1F4EF}\u{1F514}\u{1F515}\u{1F3BC}\u{1F3B5}\u{1F3B6}\u{1F399}\uFE0F\u{1F39A}\uFE0F\u{1F39B}\uFE0F\u{1F3A4}\u{1F3A7}\uFE0F\u{1F4FB}\uFE0F\u{1F3B7}\u{1FA97}\u{1F3B8}\u{1F3B9}\u{1F3BA}\u{1F3BB}\u{1FA95}\u{1F941}\u{1FA98}\u{1FA87}\u{1FA88}\u{1F4F1}\u{1F4F2}\u260E\uFE0F\u{1F4DE}\u{1F4DF}\uFE0F\u{1F4E0}\u{1F50B}\u{1FAAB}\u{1F50C}\u{1F4BB}\uFE0F\u{1F5A5}\uFE0F\u{1F5A8}\uFE0F\u2328\uFE0F\u{1F5B1}\uFE0F\u{1F5B2}\uFE0F\u{1F4BD}\u{1F4BE}\u{1F4BF}\uFE0F\u{1F4C0}\u{1F9EE}\u{1F3A5}\u{1F39E}\uFE0F\u{1F4FD}\uFE0F\u{1F3AC}\uFE0F\u{1F4FA}\uFE0F\u{1F4F7}\uFE0F\u{1F4F8}\u{1F4F9}\uFE0F\u{1F4FC}\u{1F50D}\uFE0F\u{1F50E}\u{1F56F}\uFE0F\u{1F4A1}\u{1F526}\u{1F3EE}\u{1FA94}\u{1F4D4}\u{1F4D5}\u{1F4D6}\u{1F4D7}\u{1F4D8}\u{1F4D9}\u{1F4DA}\uFE0F\u{1F4D3}\u{1F4D2}\u{1F4C3}\u{1F4DC}\u{1F4C4}\u{1F4F0}\u{1F5DE}\uFE0F\u{1F4D1}\u{1F516}\u{1F3F7}\uFE0F\u{1F4B0}\uFE0F\u{1FA99}\u{1F4B4}\u{1F4B5}\u{1F4B6}\u{1F4B7}\u{1F4B8}\u{1F4B3}\uFE0F\u{1F9FE}\u{1F4B9}\u2709\uFE0F\u{1F4E7}\u{1F4E8}\u{1F4E9}\u{1F4E4}\uFE0F\u{1F4E5}\uFE0F\u{1F4E6}\uFE0F\u{1F4EB}\uFE0F\u{1F4EA}\uFE0F\u{1F4EC}\uFE0F\u{1F4ED}\uFE0F\u{1F4EE}\u{1F5F3}\uFE0F\u270F\uFE0F\u2712\uFE0F\u{1F58B}\uFE0F\u{1F58A}\uFE0F\u{1F58C}\uFE0F\u{1F58D}\uFE0F\u{1F4DD}\u{1F4BC}\u{1F4C1}\u{1F4C2}\u{1F5C2}\uFE0F\u{1F4C5}\u{1F4C6}\u{1F5D2}\uFE0F\u{1F5D3}\uFE0F\u{1F4C7}\u{1F4C8}\u{1F4C9}\u{1F4CA}\u{1F4CB}\uFE0F\u{1F4CC}\u{1F4CD}\u{1F4CE}\u{1F587}\uFE0F\u{1F4CF}\u{1F4D0}\u2702\uFE0F\u{1F5C3}\uFE0F\u{1F5C4}\uFE0F\u{1F5D1}\uFE0F\u{1F512}\uFE0F\u{1F513}\uFE0F\u{1F50F}\u{1F510}\u{1F511}\u{1F5DD}\uFE0F\u{1F528}\u{1FA93}\u26CF\uFE0F\u2692\uFE0F\u{1F6E0}\uFE0F\u{1F5E1}\uFE0F\u2694\uFE0F\u{1F4A3}\uFE0F\u{1FA83}\u{1F3F9}\u{1F6E1}\uFE0F\u{1FA9A}\u{1F527}\u{1FA9B}\u{1F529}\u2699\uFE0F\u{1F5DC}\uFE0F\u2696\uFE0F\u{1F9AF}\u{1F517}\u26D3\uFE0F\u200D\u{1F4A5}\u26D3\uFE0F\u{1FA9D}\u{1F9F0}\u{1F9F2}\u{1FA9C}\u2697\uFE0F\u{1F9EA}\u{1F9EB}\u{1F9EC}\u{1F52C}\u{1F52D}\u{1F4E1}\u{1F489}\u{1FA78}\u{1F48A}\u{1FA79}\u{1FA7C}\u{1FA7A}\u{1FA7B}\u{1F6AA}\u{1F6D7}\u{1FA9E}\u{1FA9F}\u{1F6CF}\uFE0F\u{1F6CB}\uFE0F\u{1FA91}\u{1F6BD}\u{1FAA0}\u{1F6BF}\u{1F6C1}\u{1FAA4}\u{1FA92}\u{1F9F4}\u{1F9F7}\u{1F9F9}\u{1F9FA}\u{1F9FB}\u{1FAA3}\u{1F9FC}\u{1FAE7}\u{1FAA5}\u{1F9FD}\u{1F9EF}\u{1F6D2}\u{1F6AC}\u26B0\uFE0F\u{1FAA6}\u26B1\uFE0F\u{1F9FF}\u{1FAAC}\u{1F5FF}\u{1FAA7}\u{1FAAA}","\u2705\uFE0F\u26A0\uFE0FSymboles":"\u{1F3E7}\u{1F6AE}\u{1F6B0}\u267F\uFE0F\u{1F6B9}\uFE0F\u{1F6BA}\uFE0F\u{1F6BB}\u{1F6BC}\uFE0F\u{1F6BE}\u{1F6C2}\u{1F6C3}\u{1F6C4}\u{1F6C5}\u26A0\uFE0F\u{1F6B8}\u26D4\uFE0F\u{1F6AB}\u{1F6B3}\u{1F6AD}\uFE0F\u{1F6AF}\u{1F6B1}\u{1F6B7}\u{1F4F5}\u{1F51E}\u2622\uFE0F\u2623\uFE0F\u2B06\uFE0F\u2197\uFE0F\u27A1\uFE0F\u2198\uFE0F\u2B07\uFE0F\u2199\uFE0F\u2B05\uFE0F\u2196\uFE0F\u2195\uFE0F\u2194\uFE0F\u21A9\uFE0F\u21AA\uFE0F\u2934\uFE0F\u2935\uFE0F\u{1F503}\u{1F504}\u{1F519}\u{1F51A}\u{1F51B}\u{1F51C}\u{1F51D}\u{1F6D0}\u269B\uFE0F\u{1F549}\uFE0F\u2721\uFE0F\u2638\uFE0F\u262F\uFE0F\u271D\uFE0F\u2626\uFE0F\u262A\uFE0F\u262E\uFE0F\u{1F54E}\u{1F52F}\u{1FAAF}\u2648\uFE0F\u2649\uFE0F\u264A\uFE0F\u264B\uFE0F\u264C\uFE0F\u264D\uFE0F\u264E\uFE0F\u264F\uFE0F\u2650\uFE0F\u2651\uFE0F\u2652\uFE0F\u2653\uFE0F\u26CE\uFE0F\u{1F500}\u{1F501}\u{1F502}\u25B6\uFE0F\u23E9\uFE0F\u23ED\uFE0F\u23EF\uFE0F\u25C0\uFE0F\u23EA\uFE0F\u23EE\uFE0F\u{1F53C}\u23EB\uFE0F\u{1F53D}\u23EC\uFE0F\u23F8\uFE0F\u23F9\uFE0F\u23FA\uFE0F\u23CF\uFE0F\u{1F3A6}\u{1F505}\u{1F506}\u{1F4F6}\u{1F6DC}\u{1F4F3}\u{1F4F4}\u2640\uFE0F\u2642\uFE0F\u26A7\uFE0F\u2716\uFE0F\u2795\uFE0F\u2796\uFE0F\u2797\uFE0F\u{1F7F0}\u267E\uFE0F\u203C\uFE0F\u2049\uFE0F\u2753\uFE0F\u2754\uFE0F\u2755\uFE0F\u2757\uFE0F\u3030\uFE0F\u{1F4B1}\u{1F4B2}\u2695\uFE0F\u267B\uFE0F\u269C\uFE0F\u{1F531}\u{1F4DB}\u{1F530}\u2B55\uFE0F\u2705\uFE0F\u2611\uFE0F\u2714\uFE0F\u274C\uFE0F\u274E\uFE0F\u27B0\uFE0F\u27BF\uFE0F\u303D\uFE0F\u2733\uFE0F\u2734\uFE0F\u2747\uFE0F\xA9\uFE0F\xAE\uFE0F\u2122\uFE0F#\uFE0F\u20E3*\uFE0F\u20E30\uFE0F\u20E31\uFE0F\u20E32\uFE0F\u20E33\uFE0F\u20E34\uFE0F\u20E35\uFE0F\u20E36\uFE0F\u20E37\uFE0F\u20E38\uFE0F\u20E39\uFE0F\u20E3\u{1F51F}\u{1F520}\u{1F521}\u{1F522}\u{1F523}\u{1F524}\u{1F170}\uFE0F\u{1F18E}\u{1F171}\uFE0F\u{1F191}\u{1F192}\u{1F193}\u2139\uFE0F\u{1F194}\u24C2\uFE0F\u{1F195}\u{1F196}\u{1F17E}\uFE0F\u{1F197}\u{1F17F}\uFE0F\u{1F198}\u{1F199}\u{1F19A}\u{1F201}\u{1F202}\uFE0F\u{1F237}\uFE0F\u{1F236}\u{1F22F}\uFE0F\u{1F250}\u{1F239}\u{1F21A}\uFE0F\u{1F232}\u{1F251}\u{1F238}\u{1F234}\u{1F233}\u3297\uFE0F\u3299\uFE0F\u{1F23A}\u{1F235}\u{1F534}\u{1F7E0}\u{1F7E1}\u{1F7E2}\u{1F535}\u{1F7E3}\u{1F7E4}\u26AB\uFE0F\u26AA\uFE0F\u{1F7E5}\u{1F7E7}\u{1F7E8}\u{1F7E9}\u{1F7E6}\u{1F7EA}\u{1F7EB}\u2B1B\uFE0F\u2B1C\uFE0F\u25FC\uFE0F\u25FB\uFE0F\u25FE\uFE0F\u25FD\uFE0F\u25AA\uFE0F\u25AB\uFE0F\u{1F536}\u{1F537}\u{1F538}\u{1F539}\u{1F53A}\u{1F53B}\u{1F4A0}\u{1F518}\u{1F533}\u{1F532}","\u{1F1E8}\u{1F1F5} \u{1F6A9}Drapeaux":"\u{1F3C1}\u{1F6A9}\u{1F38C}\u{1F3F4}\u{1F3F3}\uFE0F\u{1F3F3}\uFE0F\u200D\u{1F308}\u{1F3F3}\uFE0F\u200D\u26A7\uFE0F\u{1F3F4}\u200D\u2620\uFE0F\u{1F1E6}\u{1F1E8}\u{1F1E6}\u{1F1E9}\u{1F1E6}\u{1F1EA}\u{1F1E6}\u{1F1EB}\u{1F1E6}\u{1F1EC}\u{1F1E6}\u{1F1EE}\u{1F1E6}\u{1F1F1}\u{1F1E6}\u{1F1F2}\u{1F1E6}\u{1F1F4}\u{1F1E6}\u{1F1F6}\u{1F1E6}\u{1F1F7}\u{1F1E6}\u{1F1F8}\u{1F1E6}\u{1F1F9}\u{1F1E6}\u{1F1FA}\u{1F1E6}\u{1F1FC}\u{1F1E6}\u{1F1FD}\u{1F1E6}\u{1F1FF}\u{1F1E7}\u{1F1E6}\u{1F1E7}\u{1F1E7}\u{1F1E7}\u{1F1E9}\u{1F1E7}\u{1F1EA}\u{1F1E7}\u{1F1EB}\u{1F1E7}\u{1F1EC}\u{1F1E7}\u{1F1ED}\u{1F1E7}\u{1F1EE}\u{1F1E7}\u{1F1EF}\u{1F1E7}\u{1F1F1}\u{1F1E7}\u{1F1F2}\u{1F1E7}\u{1F1F3}\u{1F1E7}\u{1F1F4}\u{1F1E7}\u{1F1F6}\u{1F1E7}\u{1F1F7}\u{1F1E7}\u{1F1F8}\u{1F1E7}\u{1F1F9}\u{1F1E7}\u{1F1FB}\u{1F1E7}\u{1F1FC}\u{1F1E7}\u{1F1FE}\u{1F1E7}\u{1F1FF}\u{1F1E8}\u{1F1E6}\u{1F1E8}\u{1F1E8}\u{1F1E8}\u{1F1E9}\u{1F1E8}\u{1F1EB}\u{1F1E8}\u{1F1EC}\u{1F1E8}\u{1F1ED}\u{1F1E8}\u{1F1EE}\u{1F1E8}\u{1F1F0}\u{1F1E8}\u{1F1F1}\u{1F1E8}\u{1F1F2}\u{1F1E8}\u{1F1F3}\u{1F1E8}\u{1F1F4}\u{1F1E8}\u{1F1F5}\u{1F1E8}\u{1F1F7}\u{1F1E8}\u{1F1FA}\u{1F1E8}\u{1F1FB}\u{1F1E8}\u{1F1FC}\u{1F1E8}\u{1F1FD}\u{1F1E8}\u{1F1FE}\u{1F1E8}\u{1F1FF}\u{1F1E9}\u{1F1EA}\u{1F1E9}\u{1F1EC}\u{1F1E9}\u{1F1EF}\u{1F1E9}\u{1F1F0}\u{1F1E9}\u{1F1F2}\u{1F1E9}\u{1F1F4}\u{1F1E9}\u{1F1FF}\u{1F1EA}\u{1F1E6}\u{1F1EA}\u{1F1E8}\u{1F1EA}\u{1F1EA}\u{1F1EA}\u{1F1EC}\u{1F1EA}\u{1F1ED}\u{1F1EA}\u{1F1F7}\u{1F1EA}\u{1F1F8}\u{1F1EA}\u{1F1F9}\u{1F1EA}\u{1F1FA}\u{1F1EB}\u{1F1EE}\u{1F1EB}\u{1F1EF}\u{1F1EB}\u{1F1F0}\u{1F1EB}\u{1F1F2}\u{1F1EB}\u{1F1F4}\u{1F1EB}\u{1F1F7}\u{1F1EC}\u{1F1E6}\u{1F1EC}\u{1F1E7}\u{1F1EC}\u{1F1E9}\u{1F1EC}\u{1F1EA}\u{1F1EC}\u{1F1EB}\u{1F1EC}\u{1F1EC}\u{1F1EC}\u{1F1ED}\u{1F1EC}\u{1F1EE}\u{1F1EC}\u{1F1F1}\u{1F1EC}\u{1F1F2}\u{1F1EC}\u{1F1F3}\u{1F1EC}\u{1F1F5}\u{1F1EC}\u{1F1F6}\u{1F1EC}\u{1F1F7}\u{1F1EC}\u{1F1F8}\u{1F1EC}\u{1F1F9}\u{1F1EC}\u{1F1FA}\u{1F1EC}\u{1F1FC}\u{1F1EC}\u{1F1FE}\u{1F1ED}\u{1F1F0}\u{1F1ED}\u{1F1F2}\u{1F1ED}\u{1F1F3}\u{1F1ED}\u{1F1F7}\u{1F1ED}\u{1F1F9}\u{1F1ED}\u{1F1FA}\u{1F1EE}\u{1F1E8}\u{1F1EE}\u{1F1E9}\u{1F1EE}\u{1F1EA}\u{1F1EE}\u{1F1F1}\u{1F1EE}\u{1F1F2}\u{1F1EE}\u{1F1F3}\u{1F1EE}\u{1F1F4}\u{1F1EE}\u{1F1F6}\u{1F1EE}\u{1F1F7}\u{1F1EE}\u{1F1F8}\u{1F1EE}\u{1F1F9}\u{1F1EF}\u{1F1EA}\u{1F1EF}\u{1F1F2}\u{1F1EF}\u{1F1F4}\u{1F1EF}\u{1F1F5}\u{1F1F0}\u{1F1EA}\u{1F1F0}\u{1F1EC}\u{1F1F0}\u{1F1ED}\u{1F1F0}\u{1F1EE}\u{1F1F0}\u{1F1F2}\u{1F1F0}\u{1F1F3}\u{1F1F0}\u{1F1F5}\u{1F1F0}\u{1F1F7}\u{1F1F0}\u{1F1FC}\u{1F1F0}\u{1F1FE}\u{1F1F0}\u{1F1FF}\u{1F1F1}\u{1F1E6}\u{1F1F1}\u{1F1E7}\u{1F1F1}\u{1F1E8}\u{1F1F1}\u{1F1EE}\u{1F1F1}\u{1F1F0}\u{1F1F1}\u{1F1F7}\u{1F1F1}\u{1F1F8}\u{1F1F1}\u{1F1F9}\u{1F1F1}\u{1F1FA}\u{1F1F1}\u{1F1FB}\u{1F1F1}\u{1F1FE}\u{1F1F2}\u{1F1E6}\u{1F1F2}\u{1F1E8}\u{1F1F2}\u{1F1E9}\u{1F1F2}\u{1F1EA}\u{1F1F2}\u{1F1EB}\u{1F1F2}\u{1F1EC}\u{1F1F2}\u{1F1ED}\u{1F1F2}\u{1F1F0}\u{1F1F2}\u{1F1F1}\u{1F1F2}\u{1F1F2}\u{1F1F2}\u{1F1F3}\u{1F1F2}\u{1F1F4}\u{1F1F2}\u{1F1F5}\u{1F1F2}\u{1F1F6}\u{1F1F2}\u{1F1F7}\u{1F1F2}\u{1F1F8}\u{1F1F2}\u{1F1F9}\u{1F1F2}\u{1F1FA}\u{1F1F2}\u{1F1FB}\u{1F1F2}\u{1F1FC}\u{1F1F2}\u{1F1FD}\u{1F1F2}\u{1F1FE}\u{1F1F2}\u{1F1FF}\u{1F1F3}\u{1F1E6}\u{1F1F3}\u{1F1E8}\u{1F1F3}\u{1F1EA}\u{1F1F3}\u{1F1EB}\u{1F1F3}\u{1F1EC}\u{1F1F3}\u{1F1EE}\u{1F1F3}\u{1F1F1}\u{1F1F3}\u{1F1F4}\u{1F1F3}\u{1F1F5}\u{1F1F3}\u{1F1F7}\u{1F1F3}\u{1F1FA}\u{1F1F3}\u{1F1FF}\u{1F1F4}\u{1F1F2}\u{1F1F5}\u{1F1E6}\u{1F1F5}\u{1F1EA}\u{1F1F5}\u{1F1EB}\u{1F1F5}\u{1F1EC}\u{1F1F5}\u{1F1ED}\u{1F1F5}\u{1F1F0}\u{1F1F5}\u{1F1F1}\u{1F1F5}\u{1F1F2}\u{1F1F5}\u{1F1F3}\u{1F1F5}\u{1F1F7}\u{1F1F5}\u{1F1F8}\u{1F1F5}\u{1F1F9}\u{1F1F5}\u{1F1FC}\u{1F1F5}\u{1F1FE}\u{1F1F6}\u{1F1E6}\u{1F1F7}\u{1F1EA}\u{1F1F7}\u{1F1F4}\u{1F1F7}\u{1F1F8}\u{1F1F7}\u{1F1FA}\u{1F1F7}\u{1F1FC}\u{1F1F8}\u{1F1E6}\u{1F1F8}\u{1F1E7}\u{1F1F8}\u{1F1E8}\u{1F1F8}\u{1F1E9}\u{1F1F8}\u{1F1EA}\u{1F1F8}\u{1F1EC}\u{1F1F8}\u{1F1ED}\u{1F1F8}\u{1F1EE}\u{1F1F8}\u{1F1EF}\u{1F1F8}\u{1F1F0}\u{1F1F8}\u{1F1F1}\u{1F1F8}\u{1F1F2}\u{1F1F8}\u{1F1F3}\u{1F1F8}\u{1F1F4}\u{1F1F8}\u{1F1F7}\u{1F1F8}\u{1F1F8}\u{1F1F8}\u{1F1F9}\u{1F1F8}\u{1F1FB}\u{1F1F8}\u{1F1FD}\u{1F1F8}\u{1F1FE}\u{1F1F8}\u{1F1FF}\u{1F1F9}\u{1F1E6}\u{1F1F9}\u{1F1E8}\u{1F1F9}\u{1F1E9}\u{1F1F9}\u{1F1EB}\u{1F1F9}\u{1F1EC}\u{1F1F9}\u{1F1ED}\u{1F1F9}\u{1F1EF}\u{1F1F9}\u{1F1F0}\u{1F1F9}\u{1F1F1}\u{1F1F9}\u{1F1F2}\u{1F1F9}\u{1F1F3}\u{1F1F9}\u{1F1F4}\u{1F1F9}\u{1F1F7}\u{1F1F9}\u{1F1F9}\u{1F1F9}\u{1F1FB}\u{1F1F9}\u{1F1FC}\u{1F1F9}\u{1F1FF}\u{1F1FA}\u{1F1E6}\u{1F1FA}\u{1F1EC}\u{1F1FA}\u{1F1F2}\u{1F1FA}\u{1F1F3}\u{1F1FA}\u{1F1F8}\u{1F1FA}\u{1F1FE}\u{1F1FA}\u{1F1FF}\u{1F1FB}\u{1F1E6}\u{1F1FB}\u{1F1E8}\u{1F1FB}\u{1F1EA}\u{1F1FB}\u{1F1EC}\u{1F1FB}\u{1F1EE}\u{1F1FB}\u{1F1F3}\u{1F1FB}\u{1F1FA}\u{1F1FC}\u{1F1EB}\u{1F1FC}\u{1F1F8}\u{1F1FD}\u{1F1F0}\u{1F1FE}\u{1F1EA}\u{1F1FE}\u{1F1F9}\u{1F1FF}\u{1F1E6}\u{1F1FF}\u{1F1F2}\u{1F1FF}\u{1F1FC}\u{1F3F4}\u{E0067}\u{E0062}\u{E0065}\u{E006E}\u{1F3F4}\u{E0067}\u{E0062}\u{E0073}\u{E0063}\u{1F3F4}\u{E0067}\u{E0062}\u{E0077}\u{E006C}"}).map(i=>({label:i[0],options:mo.splitGraphemes(i[1]).map(e=>({value:e,label:e}))}));var Gc=(i,e)=>({option:i,group:e}),Hc=(i,e,s)=>({template1:i,template2:e,template3:s});function zc(i,e){if(i&1&&(p(0,"strong"),_(1),c(),_(2)),i&2){let s=e.data;E(),se(s==null?null:s.color),E(),y(": ",s==null?null:s.name,"")}}function $c(i,e){if(i&1&&(p(0,"strong"),_(1),c(),_(2)),i&2){let s=e.data;E(),se(s==null?null:s.color),E(),y(" (",s==null?null:s.name,")")}}function Wc(i,e){if(i&1&&(p(0,"strong"),_(1),c(),_(2)),i&2){let s=e.data;E(),se(s==null?null:s.color),E(),y(": ",s==null?null:s.name,"")}}function qc(i,e){if(i&1&&(p(0,"strong"),_(1),c()),i&2){let s=e.label;E(),y("(",s,")")}}function Yc(i,e){if(i&1&&(p(0,"span"),_(1),c()),i&2){let s=e.data;Ht("background",s==null?null:s.color),E(),se(s==null?null:s.name)}}function Zc(i,e){if(i&1&&(p(0,"strong"),_(1),c(),_(2)),i&2){let s=e.data;E(),se(s==null?null:s.color),E(),y(": ",s==null?null:s.name,"")}}function Qc(i,e){if(i&1&&(_(0),zi(1,"json")),i&2){let s=e.data;se($i(1,1,s))}}var as=(()=>{let e=class e{constructor(t){this.fb=t,this.data1=Xe,this.data2=di,this.data3=Bt,this.data4=JSON.parse(JSON.stringify(Bt)),this.data5=lo,this.data6=oo,this.data7=JSON.parse(JSON.stringify(Bt)),this.data8=[],this.data9=JSON.parse(JSON.stringify(Xe)),this.data10=JSON.parse(JSON.stringify(Xe)),this.data11=JSON.parse(JSON.stringify(Xe)),this.data12=JSON.parse(JSON.stringify(Xe)),this.data13=co,this.data15=di,this.data16=di,this.data17=ho,this.data18=fo,this.data19=Ln,this.data20=JSON.parse(JSON.stringify(Ln)),this.data21=JSON.parse(JSON.stringify(Ln)),this.data22=po,this.data23=is,this.data24=yn,this.data25=JSON.parse(JSON.stringify(is)),this.data26=ns,this.data28=rs,this.data29=JSON.parse(JSON.stringify(Bt)),this.data29b=JSON.parse(JSON.stringify(Xe)),this.data30=JSON.parse(JSON.stringify(Xe)),this.data31=ss,this.data32=JSON.parse(JSON.stringify(Bt)),this.data34=di,this.data34b=Xe,this.data35=go,this.data35b=xo,this.minCountForSearch=1/0,this.value1="CA",this.value2="CA",this.value3="foo",this.value4="bar",this.value5=0,this.value6="foo3",this.value7="",this.value8="",this.value9=[],this.value10=["CA","OR"],this.value11="CA",this.value12="CA",this.value13=!0,this.value15="",this.value16="",this.value17="",this.value18="",this.value19="",this.value20="",this.value21="foo6",this.value22="",this.value23="",this.value24="",this.value25="",this.value26="",this.value28="",this.value29=[],this.value29b=[],this.value30="CA",this.value31="",this.value31b="",this.value32="",this.value33="",this.value34="",this.value34b="",this.value35="",this.value35b="",this.limitSelection=0,this.overlay=!1,this.fg=new cl({state:new O}),this.ctrlForm=this.fb.group({test11:new O(null,ti.required)}),this.ctrlForm2=this.fb.group({test5:new O(0,ti.required)}),this.ctrlForm3=this.fb.group({test33:new O(null)}),this.fg.patchValue(this.formData())}addItem(){let t=this.data6.length+1;this.data6.push({value:"foo"+t,label:"foo"+t})}removeItem(){this.data6.pop()}reset(){this.ctrlForm3.reset()}open(t,n){console.log(t,n)}close(t,n){console.log(t,n)}focus(t,n){console.log(t,n)}blur(t,n){console.log(t,n)}change(t,n){console.log(t,n)}search(t,n){console.log(t,n)}open8(){this.data8=uo}close8(){alert("close")}search8(t){t.filteredData(t.search?t.data.filter(n=>n.label.toLowerCase().includes(t.search.toLowerCase())):t.data)}reset11(){let t=this.ctrlForm.get("test11");t&&t.reset()}change11(){let t=this.ctrlForm.get("test11");t&&t.setValue("UT")}scroll26(t){if(console.log("scroll26",t),t.way==="down"&&!t.search){let n=this.data26.length;for(let a=1+n;a<=50+n;a++)this.data26.push({value:a,label:">"+a})}}update(t,n){console.log("update",n.component.id,n.value),this[t]=n.value}resetForm(){this.fg.reset(this.formData())}print(){console.log("FormControl",this.fg.value)}formData(){return{state:["CA","NV"]}}changeData31(t){switch(t){case"english":this.data31=ss;break;case"french":this.data31=_o;break;case"japanese":this.data31=Eo;break}}};e.\u0275fac=function(n){return new(n||e)(A(_n))},e.\u0275cmp=Se({type:e,selectors:[["app-root"]],decls:202,vars:176,consts:[["limit",""],["status",""],["select20",""],["template",""],["templateSelection",""],["templateOption",""],["templateGroup",""],["template1",""],["template2",""],["template3",""],["select31",""],["for","disabled"],["id","disabled","type","checkbox",3,"ngModelChange","ngModel"],[1,"block"],["id","ex-1"],["resettable","","customSearchEnabled","","id","selec2-1",3,"update","change","blur","focus","open","close","search","overlay","data","value"],["id","ex-2"],["id","selec2-2",3,"update","overlay","data","value"],["id","ex-3"],["id","selec2-3",3,"update","overlay","data","value"],["id","ex-4"],["id","selec2-4",3,"overlay","data","value","disabled"],["id","ex-5"],[3,"formGroup"],["formControlName","test5","id","selec2-5",3,"update","overlay","data","minCountForSearch"],["id","ex-6"],["size","3","value","7"],["selected",""],["type","button",3,"click"],["id","selec2-6",3,"update","overlay","data","value","minCountForSearch","displaySearchStatus"],["id","ex-7"],["placeholder","select an item","resettable","","id","selec2-7",3,"update","overlay","data"],["id","ex-8"],["customSearchEnabled","","listPosition","auto","id","selec2-8",3,"open","close","search","update","overlay","data"],["id","ex-9"],["type","number",3,"ngModelChange","ngModel"],["multiple","true","customSearchEnabled","","id","selec2-9",3,"update","blur","focus","open","close","search","overlay","data","value","limitSelection"],["id","ex-10"],["multiple","true","hideSelectedItems","true","id","selec2-10",3,"update","overlay","data","value"],["id","ex-11"],["formControlName","test11","placeholder","Select a state","styleMode","material","id","selec2-11",3,"ngModelChange","overlay","ngModel","data"],[3,"click"],["id","ex-12"],["styleMode","material","id","selec2-12",3,"update","overlay","data","value"],["id","ex-13"],["id","selec2-13",3,"update","overlay","data","value"],["id","ex-14"],["multiple","true","id","selec2-10","formControlName","state",3,"update","overlay","data"],["id","ex-15"],["id","selec2-15",3,"update","overlay","data","value"],["id","ex-16"],["required","","id","selec2-16",3,"update","overlay","data","value"],["id","ex-17"],["id","select2-17",3,"update","overlay","data","value"],["id","ex-18"],["minCharForSearch","3","id","selec2-18",3,"update","overlay","data","value"],["id","ex-19"],["listPosition","above","id","selec2-19",3,"update","overlay","data","value"],[1,"noStyle"],["id","ex-20"],["listPosition","above","id","selec2-20",3,"update","overlay","data","value","styleMode"],["id","ex-21"],["listPosition","above","id","selec2-21",3,"update","overlay","data","value"],["id","ex-22"],["listPosition","auto","id","selec2-22",1,"flower-list",3,"update","overlay","data","value"],["id","ex-23"],["listPosition","above","id","selec2-23",1,"flower-list",3,"update","overlay","data","value","templates","templateSelection"],["id","ex-24"],["listPosition","above","id","selec2-24",1,"flower-list",3,"update","overlay","data","value","templates"],["id","ex-25"],["listPosition","above","id","selec2-25",1,"flower-list",3,"update","overlay","data","value","templates"],["id","ex-26"],["listPosition","above","infiniteScroll","","infiniteScrollDistance","1.5","infiniteScrollThrottle","150","id","selec2-26",3,"update","scroll","overlay","data","value"],["id","ex-27"],["listPosition","auto","id","selec2-27",3,"update","overlay","data","value"],["id","ex-28"],["listPosition","auto","id","selec2-28","maxResults","50","maxResultsMessage","Too much results in this list.",3,"update","overlay","data","value"],["id","ex-29"],["multiple","","autoCreate","","id","selec2-29",3,"update","overlay","data","value"],["id","ex-29b"],["multiple","","autoCreate","","id","selec2-29b",3,"update","overlay","data","value"],["id","ex-30"],["resettable","","resetSelectedValue","CA","id","selec2-30",3,"update","overlay","data","value"],["id","ex-31"],[3,"change"],["id","selec2-31",3,"update","overlay","data","value"],["id","selec2-31b",3,"ngModelChange","update","overlay","data","ngModel"],["id","ex-32"],["resettable","","autoCreate","","resetSelectedValue","CA","id","selec2-32",3,"autoCreateItem","update","overlay","data","value"],["id","ex-33"],["placeholder","Select Name","formControlName","test33","multiple","true","hideSelectedItems","true","id","selec2-33",3,"update","data"],["id","ex-34"],["id","selec2-34","grid","4",3,"autoCreateItem","update","overlay","data","value"],["id","ex-34b"],["grid","4","id","selec2-34b",3,"autoCreateItem","update","overlay","data","value"],["id","ex-35"],["id","selec2-35","grid","35px",3,"autoCreateItem","update","overlay","data","value"],["id","ex-35b"],["multiple","","id","selec2-35b","grid","35px",3,"autoCreateItem","update","overlay","data","value"]],template:function(n,a){if(n&1){let l=Ee();p(0,"h2"),_(1,"Examples"),c(),p(2,"label",11),_(3,"overlay : "),c(),p(4,"input",12),Wt("ngModelChange",function(u){return g(l),$t(a.overlay,u)||(a.overlay=u),x(u)}),c(),p(5,"div",13)(6,"h3",14),_(7),c(),p(8,"select2",15),b("update",function(u){return g(l),x(a.update("value1",u))})("change",function(u){return g(l),x(a.change("change1",u))})("blur",function(u){return g(l),x(a.blur("blur1",u))})("focus",function(u){return g(l),x(a.focus("focus1",u))})("open",function(u){return g(l),x(a.open("open1",u))})("close",function(u){return g(l),x(a.close("close1",u))})("search",function(u){return g(l),x(a.search("search1",u))}),c(),p(9,"h3",16),_(10),c(),p(11,"select2",17),b("update",function(u){return g(l),x(a.update("value2",u))}),c(),p(12,"h3",18),_(13),c(),p(14,"select2",19),b("update",function(u){return g(l),x(a.update("value3",u))}),c(),p(15,"h3",20),_(16),c(),L(17,"select2",21),p(18,"h3",22),_(19),c(),p(20,"form",23)(21,"select2",24),b("update",function(u){return g(l),x(a.update("value5",u))}),c()(),p(22,"h3",25),_(23," 6. search limit to "),L(24,"input",26,0),_(26," / display status "),p(27,"select",null,1)(29,"option",27),_(30,"default"),c(),p(31,"option"),_(32,"hidden"),c(),p(33,"option"),_(34,"always"),c()(),_(35),c(),p(36,"div")(37,"button",28),b("click",function(){return g(l),x(a.addItem())}),_(38,"Add item"),c(),p(39,"button",28),b("click",function(){return g(l),x(a.removeItem())}),_(40,"Remove item"),c()(),p(41,"select2",29),b("update",function(u){return g(l),x(a.update("value6",u))}),c(),p(42,"h3",30),_(43),c(),p(44,"select2",31),b("update",function(u){return g(l),x(a.update("value7",u))}),c(),p(45,"h3",32),_(46),c(),p(47,"select2",33),b("open",function(){return g(l),x(a.open8())})("close",function(){return g(l),x(a.close8())})("search",function(u){return g(l),x(a.search8(u))})("update",function(u){return g(l),x(a.update("value8",u))}),p(48,"select2-hint"),_(49),c()(),p(50,"h3",34),_(51,"9. multiple + limite "),p(52,"input",35),Wt("ngModelChange",function(u){return g(l),$t(a.limitSelection,u)||(a.limitSelection=u),x(u)}),c(),_(53),zi(54,"json"),c(),p(55,"select2",36),b("update",function(u){return g(l),x(a.update("value9",u))})("blur",function(u){return g(l),x(a.blur("blur9",u))})("focus",function(u){return g(l),x(a.focus("focus9",u))})("open",function(u){return g(l),x(a.open("open9",u))})("close",function(u){return g(l),x(a.close("close9",u))})("search",function(u){return g(l),x(a.search("search9",u))}),c(),p(56,"h3",37),_(57),zi(58,"json"),c(),p(59,"select2",38),b("update",function(u){return g(l),x(a.update("value10",u))}),c(),p(60,"h3",39),_(61),c(),p(62,"form",23)(63,"select2",40),Wt("ngModelChange",function(u){return g(l),$t(a.value11,u)||(a.value11=u),x(u)}),c(),p(64,"button",41),b("click",function(){return g(l),x(a.reset11())}),_(65,"reset"),c(),p(66,"button",41),b("click",function(){return g(l),x(a.change11())}),_(67,"Utah"),c()(),p(68,"h3",42),_(69),c(),p(70,"select2",43),b("update",function(u){return g(l),x(a.update("value12",u))}),c(),p(71,"h3",44),_(72),c(),p(73,"select2",45),b("update",function(u){return g(l),x(a.update("value13",u))}),c(),p(74,"h3",46),_(75),c(),p(76,"form",23)(77,"select2",47),b("update",function(u){return g(l),x(a.update("value14",u))}),c(),p(78,"button",41),b("click",function(){return g(l),x(a.print())}),_(79,"Log Selected"),c(),p(80,"button",41),b("click",function(){return g(l),x(a.resetForm())}),_(81,"Reset Form"),c()(),p(82,"h3",48),_(83),c(),p(84,"select2",49),b("update",function(u){return g(l),x(a.update("value15",u))}),p(85,"select2-label"),_(86,"Select a state"),c()(),p(87,"h3",50),_(88),c(),p(89,"select2",51),b("update",function(u){return g(l),x(a.update("value16",u))}),p(90,"select2-label"),_(91,"Select a state"),c()(),p(92,"h3",52),_(93),c(),p(94,"select2",53),b("update",function(u){return g(l),x(a.update("value17",u))}),c(),p(95,"h3",54),_(96,"18. search starts with 3 chars"),c(),p(97,"select2",55),b("update",function(u){return g(l),x(a.update("value18",u))}),c(),p(98,"h3",56),_(99),c(),p(100,"select2",57),b("update",function(u){return g(l),x(a.update("value19",u))}),c(),p(101,"div",58)(102,"h3",59),_(103),c(),p(104,"select",null,2)(106,"option",27),_(107,"noStyle"),c(),p(108,"option"),_(109,"borderless"),c()(),L(110,"br"),p(111,"select2",60),b("update",function(u){return g(l),x(a.update("value20",u))}),c()(),p(112,"h3",61),_(113),c(),p(114,"select2",62),b("update",function(u){return g(l),x(a.update("value21",u))}),c(),p(115,"button",41),b("click",function(){return g(l),x(a.value21="")}),_(116,"Update value to empty string"),c(),p(117,"button",41),b("click",function(){return g(l),x(a.value21=null)}),_(118,"Update value to null"),c(),p(119,"button",41),b("click",function(){return g(l),x(a.value21=void 0)}),_(120,"Update value to undefined"),c(),p(121,"h3",63),_(122),c(),p(123,"select2",64),b("update",function(u){return g(l),x(a.update("value22",u))}),c(),p(124,"h3",65),_(125),c(),p(126,"select2",66),b("update",function(u){return g(l),x(a.update("value23",u))}),k(127,zc,3,2,"ng-template",null,3,Q)(129,$c,3,2,"ng-template",null,4,Q),c(),p(131,"h3",67),_(132),c(),p(133,"select2",68),b("update",function(u){return g(l),x(a.update("value24",u))}),k(134,Wc,3,2,"ng-template",null,5,Q)(136,qc,2,1,"ng-template",null,6,Q),c(),p(138,"h3",69),_(139),c(),p(140,"select2",70),b("update",function(u){return g(l),x(a.update("value25",u))}),k(141,Yc,2,3,"ng-template",null,7,Q)(143,Zc,3,2,"ng-template",null,8,Q)(145,Qc,2,3,"ng-template",null,9,Q),c(),p(147,"h3",71),_(148),c(),p(149,"select2",72),b("update",function(u){return g(l),x(a.update("value26",u))})("scroll",function(u){return g(l),x(a.scroll26(u))}),c(),p(150,"h3",73),_(151),c(),p(152,"select2",74),b("update",function(u){return g(l),x(a.update("value2",u))}),c(),p(153,"h3",75),_(154),c(),p(155,"select2",76),b("update",function(u){return g(l),x(a.update("value28",u))}),c(),p(156,"h3",77),_(157),c(),p(158,"select2",78),b("update",function(u){return g(l),x(a.update("value29",u))}),c(),p(159,"h3",79),_(160),c(),p(161,"select2",80),b("update",function(u){return g(l),x(a.update("value29b",u))}),c(),p(162,"h3",81),_(163),c(),p(164,"select2",82),b("update",function(u){return g(l),x(a.update("value30",u))}),c(),p(165,"h3",83),_(166),c(),p(167,"select",84,10),b("change",function(){g(l);let u=G(168);return x(a.changeData31(u.value))}),p(169,"option"),_(170,"english"),c(),p(171,"option"),_(172,"french"),c(),p(173,"option"),_(174,"japanese"),c()(),L(175,"br"),_(176," Value : "),p(177,"select2",85),b("update",function(u){return g(l),x(a.update("value31",u))}),c(),L(178,"br"),_(179," NgModel : "),p(180,"select2",86),Wt("ngModelChange",function(u){return g(l),$t(a.value31b,u)||(a.value31b=u),x(u)}),b("update",function(u){return g(l),x(a.update("value31b",u))}),c(),p(181,"h3",87),_(182),c(),p(183,"select2",88),b("autoCreateItem",function(u){return g(l),x(a.update("value32",u))})("update",function(u){return g(l),x(a.update("value32",u))}),c(),p(184,"h3",89),_(185),c(),p(186,"form",23)(187,"select2",90),b("update",function(u){return g(l),x(a.update("value33",u))}),c(),p(188,"button",41),b("click",function(){return g(l),x(a.reset())}),_(189,"Reset"),c()(),p(190,"h3",91),_(191),c(),p(192,"select2",92),b("autoCreateItem",function(u){return g(l),x(a.update("value34",u))})("update",function(u){return g(l),x(a.update("value34",u))}),c(),p(193,"h3",93),_(194),c(),p(195,"select2",94),b("autoCreateItem",function(u){return g(l),x(a.update("value34b",u))})("update",function(u){return g(l),x(a.update("value34b",u))}),c(),p(196,"h3",95),_(197),c(),p(198,"select2",96),b("autoCreateItem",function(u){return g(l),x(a.update("value35",u))})("update",function(u){return g(l),x(a.update("value35",u))}),c(),p(199,"h3",97),_(200),c(),p(201,"select2",98),b("autoCreateItem",function(u){return g(l),x(a.update("value35b",u))})("update",function(u){return g(l),x(a.update("value35b",u))}),c()()}if(n&2){let l,o=G(25),u=G(28),f=G(105),d=G(128),h=G(130),m=G(135),R=G(137),C=G(142),B=G(144),P=G(146);E(4),zt("ngModel",a.overlay),E(3),y("1. options in group (",a.value1,")"),E(),v("overlay",a.overlay)("data",a.data1)("value",a.value1),E(2),y("2. options (",a.value2,")"),E(),v("overlay",a.overlay)("data",a.data2)("value",a.value2),E(2),y("3. less options (",a.value3,")"),E(),v("overlay",a.overlay)("data",a.data3)("value",a.value3),E(2),y("4. disabled (",a.value4,")"),E(),v("overlay",a.overlay)("data",a.data4)("value",a.value4)("disabled",!0),E(2),y("5. hide search box (",a.value5,")"),E(),v("formGroup",a.ctrlForm2),E(),v("overlay",a.overlay)("data",a.data5)("minCountForSearch",a.minCountForSearch),E(14),y(" (",a.value6,") "),E(6),v("overlay",a.overlay)("data",a.data6)("value",a.value6)("minCountForSearch",o.value)("displaySearchStatus",u.value),E(2),y("7. placeholder (",a.value7,")"),E(),v("overlay",a.overlay)("data",a.data7),E(2),y("8. open, close and search event (",a.value8,")"),E(),v("overlay",a.overlay)("data",a.data8),E(2),y("value : ",a.value8,""),E(3),zt("ngModel",a.limitSelection),E(),y(" (",$i(54,165,a.value9),")"),E(2),v("overlay",a.overlay)("data",a.data9)("value",a.value9)("limitSelection",a.limitSelection),E(2),y("10. multiple + hide selected items (",$i(58,167,a.value10),")"),E(2),v("overlay",a.overlay)("data",a.data10)("value",a.value10),E(2),y("11. material style and form binding (",a.value11,")"),E(),v("formGroup",a.ctrlForm),E(),v("overlay",a.overlay),zt("ngModel",a.value11),v("data",a.data11),E(6),y("12. material style (",a.value12,")"),E(),v("overlay",a.overlay)("data",a.data12)("value",a.value12),E(2),y("13. boolean value (",a.value13,")"),E(),v("overlay",a.overlay)("data",a.data13)("value",a.value13),E(2),y("14. FormControl (",a.fg.get("state").value,")"),E(),v("formGroup",a.fg),E(),v("overlay",a.overlay)("data",a.data9),E(6),y("15. with label (",a.value15,")"),E(),v("overlay",a.overlay)("data",a.data15)("value",a.value15),E(4),y("16. required with label (",a.value16,")"),E(),v("overlay",a.overlay)("data",a.data16)("value",a.value16),E(4),y("17. with two option labels (",a.value17,")"),E(),v("overlay",a.overlay)("data",a.data17)("value",a.value17),E(3),v("overlay",a.overlay)("data",a.data18)("value",a.value18),E(2),y("19. dropdown list position above (",a.value19,")"),E(),v("overlay",a.overlay)("data",a.data19)("value",a.value19),E(3),y("20. nostyle (",a.value20,")"),E(8),v("overlay",a.overlay)("data",a.data20)("value",a.value20)("styleMode",(f==null?null:f.value)||"noStyle"),E(2),y("21. update to empty/null/undefined (",a.value21,")"),E(),v("overlay",a.overlay)("data",a.data21)("value",a.value21),E(8),y("22. with item classes and id (",a.value22,")"),E(),v("overlay",a.overlay)("data",a.data22)("value",a.value22),E(2),y("23. with template (",a.value23,")"),E(),v("overlay",a.overlay)("data",a.data23)("value",a.value23)("templates",d)("templateSelection",h),E(6),y("24. with template (option / group) (",a.value24,")"),E(),v("overlay",a.overlay)("data",a.data24)("value",a.value24)("templates",ba(169,Gc,m,R)),E(6),y("25. with templates Ids (",a.value25,")"),E(),v("overlay",a.overlay)("data",a.data25)("value",a.value25)("templates",Sa(172,Hc,C,B,P)),E(8),y("26. infiniteScroll(",a.value26,")"),E(),v("overlay",a.overlay)("data",a.data26)("value",a.value26),E(2),y("27. position (",a.value2,")"),E(),v("overlay",a.overlay)("data",a.data2)("value",a.value2),E(2),y("28. max results 50 (",a.value28,")"),E(),v("overlay",a.overlay)("data",a.data28)("value",a.value28),E(2),y("29. option autocreate (",a.value29,")"),E(),v("overlay",a.overlay)("data",a.data29)("value",a.value29),E(2),y("29b. option autocreate search search (",a.value29b,")"),E(),v("overlay",a.overlay)("data",a.data29b)("value",a.value29b),E(2),y("30. selected option when \xD7 is clicked (",a.value30,")"),E(),v("overlay",a.overlay)("data",a.data30)("value",a.value30),E(2),y("31. change list (",a.value31,")"),E(11),v("overlay",a.overlay)("data",a.data31)("value",a.value31),E(3),v("overlay",a.overlay)("data",a.data31),zt("ngModel",a.value31b),E(2),y("32. auto create when (",a.value32,")"),E(),v("overlay",a.overlay)("data",a.data32)("value",a.value32),E(2),y("33. reset form multiple(",(l=a.ctrlForm3.get("test33"))==null?null:l.value,")"),E(),v("formGroup",a.ctrlForm3),E(),v("data",a.data32),E(4),y("34. grid (",a.value34,")"),E(),v("overlay",a.overlay)("data",a.data34)("value",a.value34),E(2),y("34b. grid sub-group (",a.value34b,")"),E(),v("overlay",a.overlay)("data",a.data34b)("value",a.value34b),E(2),y("35. grid-auto (",a.value35,")"),E(),v("overlay",a.overlay)("data",a.data35)("value",a.value35),E(2),y("35b. grid-auto sub-group + multiple (",a.value35b,")"),E(),v("overlay",a.overlay)("data",a.data35b)("value",a.value35b)}},dependencies:[gl,pn,dn,wt,si,ni,on,un,Sr,ut,ai,Sn,Tn,bn,Ua],styles:['@charset "UTF-8";#select2-17[_ngcontent-%COMP%] .select2-multiple-labels{display:flex;justify-content:space-between}.noStyle[_ngcontent-%COMP%]{background-color:#faebd7}.flower-list[_ngcontent-%COMP%] .flower.white:before{content:"\\1f33c "}.flower-list[_ngcontent-%COMP%] .flower.red:before{content:"\\1f339 "}.flower-list[_ngcontent-%COMP%] .flower.yellow:before{content:"\\1f33b "}.block[_ngcontent-%COMP%]{padding-bottom:300px;max-width:500px}']});let i=e;return i})();var wn=class{constructor(e,s={}){this.json=e,this.options={spaceType:"space",spaceLength:4,spaceBase:0,maxLength:0,attrPosition:"alignFirstAttr",wrapAttrNumber:1,type:"html",formatting:"multiline",indent:!0,xmlDefaultTag:"span",noContentTags:["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],removeOptionalEndTags:!1,optionalEndTags:["colgroup","dd","dt","li","optgroup","option","p","rb","rt","rtc","rp","td","th","thead","tbody","tfoot","tr"]},Object.assign(this.options,s)}toString(){let e="",s=this.options.formatting==="inline";return Array.isArray(this.json)?this.json.forEach((t,n)=>{e+=`${n>0&&!s?` +`:""}${this._getSpacing(0)}${this._generate(0,t,s)}`}):e=`${this._getSpacing(0)}${this._generate(0,this.json,s)}`,e}_generate(e,s,t=!1){let n=!this.options.noContentTags.includes(s.tag.toLowerCase()),a=(!n||s.autoclose)&&this._modeXML()?"/":"",l=`<${s.tag}${this._generateAttrs(e,s,t||s.inline)}${a}>`;if(n&&!s.autoclose){let o=this._generateBody(e,s,t||s.inline);o&&this._hasMultiline()&&!(t||s.inline)&&(o=`${o} +${this._getSpacing(e)}`),l+=o,(!this.options.removeOptionalEndTags||this._modeXML()||this.options.removeOptionalEndTags&&!this.options.optionalEndTags.includes(s.tag.toLowerCase()))&&(l+=``)}return l}_generateAttrs(e,s,t){let n="",a=s.attrs;if(a&&Object.keys(a).length){let l=Object.values(s.attrs).filter(d=>d!==void 0).length,o=(this.options.wrapAttrNumber??1){let R=a[d];if(R!==void 0){let C=`${d}${R!==null||R?`="${String(R).replace(/"/g,""e;")}"`:""}`,B="",P="",[he,De]=o.split(" ");switch(he){case"inline":if(!this.options.maxLength||(u.replace(/\n/g,"")+(f>1?" ":"")+C+(h===m.length-1?">":"")).length{n+=this._generateBodyElement(e,a,!1,t)}):n+=this._generateBodyElement(e,s.body,!0,t)),n}_generateBodyElement(e,s,t,n=!1){let a="";return this._hasMultiline()&&!n&&(a+=` +${this._getSpacing(e+1)}`),!t&&this._modeXML()&&typeof s=="string"&&(s={tag:this.options.xmlDefaultTag,body:s}),a+=typeof s=="string"?this._formatText(e+1,s,n):this._generate(e+1,s,n),a}_formatText(e,s,t=!1){let n="",a=this._getSpacing(e);if(!t&&this.options.maxLength){let l=s.split(` +`);for(let o of l){let u="";if((a+o).length>this.options.maxLength){let f=o.split(" ");for(let d of f)(a+u+(u?" ":"")+d).length{let e=class e{constructor(t){this.fb=t,this.data=yn,this.html="",this.ctrlForm=this.fb.group({json:new O(JSON.stringify(this.data,null,2)),label:new O,hint:new O,disabled:new O,overlay:new O,minCharForSearch:new O,minCountForSearch:new O,displaySearchStatus:new O,placeholder:new O,multiple:new O,autoCreate:new O,resettable:new O,resetSelectedValue:new O,limitSelection:new O,hideSelectedItems:new O,resultMaxHeight:new O,listPosition:new O,infiniteScroll:new O,infiniteScrollDistance:new O,infiniteScrollThrottle:new O,styleMode:new O,noResultMessage:new O,maxResults:new O,maxResultsMessage:new O,grid:new O,template:new O,templateSelection:new O,noLabelTemplate:new O,update:new O,open:new O,close:new O,focus:new O,blur:new O,search:new O,scroll:new O,removeOption:new O}),this.ctrlForm.valueChanges.subscribe(()=>{let n=this.ctrlForm.value;console.log(n)}),this.ctrlForm.valueChanges.subscribe(n=>this.codeGeneration()),this.ctrlForm.get("json").valueChanges.subscribe(n=>this.changeJson(n))}ngAfterContentInit(){this.codeGeneration()}getTemplate(t,n,a,l,o,u,f,d){switch(this.ctrlForm.value.template){case"ref":return this.ctrlForm.value.templateSelection==="option"?{template:t,optionSelection:u}:this.ctrlForm.value.templateSelection==="templateId"?{template:t,template2Selection:f,template3Selection:d}:t;case"option-group":return this.ctrlForm.value.templateSelection==="option"?{option:n,group:a,optionSelection:u}:this.ctrlForm.value.templateSelection==="templateId"?{option:n,group:a,template2Selection:f,template3Selection:d}:{option:n,group:a};case"templateId":return this.ctrlForm.value.templateSelection==="option"?{template1:l,template2:o,optionSelection:u}:this.ctrlForm.value.templateSelection==="templateId"?{template1:l,template2:o,template2Selection:f,template3Selection:d}:{template1:l,template2:o};default:if(this.ctrlForm.value.templateSelection==="option")return{optionSelection:u};if(this.ctrlForm.value.templateSelection==="templateId")return{template2Selection:f,template3Selection:d}}}getTemplateSelection(t){switch(this.ctrlForm.value.templateSelection){case"ref":return t}}_event(t,n){this.ctrlForm.value&&this.ctrlForm.value[t]&&console.log("Event",t,n)}codeGeneration(){let t={tag:"select2",attrs:{"[data]":"data"},body:[]},n=this.ctrlForm.value,a=t.attrs,l=t.body;n.label&&l.push({tag:"select2-label",body:n.label,inline:!0}),n.hint&&l.push({tag:"select2-hint",body:n.hint,inline:!0}),n.disabled&&(a.disabled=this._testBoolean(n.disabled)),n.overlay&&(a.overlay=this._testBoolean(n.overlay)),n.minCharForSearch&&(a.minCharForSearch=n.minCharForSearch),n.minCountForSearch&&(a.minCountForSearch=n.minCountForSearch),n.displaySearchStatus&&(a.displaySearchStatus=n.displaySearchStatus),n.placeholder&&(a.placeholder=n.placeholder),n.search&&(a.customSearchEnabled=this._testBoolean(n.search)),n.multiple?a.multiple=this._testBoolean(n.multiple):(n.resettable&&(a.resettable=this._testBoolean(n.resettable)),n.resetSelectedValue&&(a.resetSelectedValue=n.resetSelectedValue)),n.autoCreate&&(a.autoCreate=this._testBoolean(n.autoCreate)),n.limitSelection&&(a.limitSelection=n.limitSelection),n.hideSelectedItems&&(a.hideSelectedItems=this._testBoolean(n.hideSelectedItems)),n.resultMaxHeight&&(a.resultMaxHeight=n.resultMaxHeight),n.listPosition&&(a.listPosition=n.listPosition),n.infiniteScroll&&(a.infiniteScroll=this._testBoolean(n.infiniteScroll)),n.infiniteScrollDistance&&(a.infiniteScrollDistance=n.infiniteScrollDistance),n.infiniteScrollThrottle&&(a.infiniteScrollThrottle=n.infiniteScrollThrottle),n.grid&&(a.grid=n.grid),n.styleMode&&(a.styleMode=n.styleMode),n.noResultMessage&&(a.noResultMessage=n.noResultMessage),n.maxResultsMessage&&(a.maxResultsMessage=n.maxResultsMessage),n.maxResults&&(a.maxResults=n.maxResults),n.noLabelTemplate&&(a.noLabelTemplate=this._testBoolean(n.noLabelTemplate));let o="",u="";switch(n.template){case"ref":a["[templates]"]="template",l.push({tag:"ng-template",attrs:{"#template":null,"let-data":"data"},body:` + @if (data?.color) { + {{ data?.color }}: + } + {{ data?.name }}`});break;case"option-group":o+="option: option, group: group",l.push({tag:"ng-template",attrs:{"#option":null,"let-data":"data"},body:"Option: {{data?.name}}"},{tag:"ng-template",attrs:{"#group":null,"let-label":"label"},body:"Group: {{label}}"});break;case"templateId":o+="template1 : template1, template2: template2",l.push({tag:"ng-template",attrs:{"#template1":null,"let-data":"data"},body:"{{data?.name}}"},{tag:"ng-template",attrs:{"#template2":null,"let-label":"label","let-data":"data"},body:"{{ label }} ~ {{ data?.color }}"});break}switch(n.templateSelection){case"ref":a["[templateSelection]"]="templateSelection",l.push({tag:"ng-template",attrs:{"#templateSelection":null,"let-label":"label"},body:` + @if (data?.color) { + {{ data?.color }} + } + #{{ data?.name }}`});break;case"option":u+="optionSelection : optionSelection",l.push({tag:"ng-template",attrs:{"#optionSelection":null,"let-data":"data"},body:"[{{ data?.name }}]"});break;case"templateId":u+="template2Selection : template2Selection, template3Selection: template3Selection",l.push({tag:"ng-template",attrs:{"#template2Selection":null,"let-data":"data"},body:"{{ label }} * {{ data?.color }}"},{tag:"ng-template",attrs:{"#template3Selection":null,"let-data":"data"},body:"{{ label }} = {{ data?.color }}"});break}a["[templates]"]&&u?a["[templates]"]=`{template: template, ${u}}`:u&&o?a["[templates]"]=`{${o}, ${u}}`:o?a["[templates]"]=`{${o}}`:u&&(a["[templates]"]=`{${u}}`),n.update&&(a["(update)"]="_update($event)"),n.open&&(a["(open)"]="_open($event)"),n.close&&(a["(close)"]="_close($event)"),n.focus&&(a["(focus)"]="_focus($event)"),n.blur&&(a["(blur)"]="_blur($event)"),n.search&&(a["(search)"]="_search($event)"),this.html=new wn(t).toString()}changeJson(t){this.jsonError="";try{this.data=JSON.parse(t)}catch(n){this.jsonError=this._parseJsonError(t,n)}}_parseJsonError(t,n){let a="",l=n.message.match(/[^\n]+/)[0],o=Co.getParser(window.navigator.userAgent).getResult();if(o.browser.name==="Chrome")if(l.match(/at position/)){let u=parseInt(l.match(/at position (\d+)/)[1],10),f=t.split(/\n/),d=1;for(let h of f)if(h){if(d+h.length>=u){a=l+"
"+h+`
+`+" ".repeat(u-d+1)+"^
";break}d+=h.length+1}}else a=l;else if(o.browser.name==="Firefox")if(l.match(/at line/)){let[,u,f]=l.match(/at line (\d+) column (\d+)/),d=t.split(/\n/);d[+u-1]?a=l+"
"+d[+u-1]+`
+`+" ".repeat(+f-1)+"^
":a=l}else a=l;else a=l;return a}_testBoolean(t){return t?null:void 0}};e.\u0275fac=function(n){return new(n||e)(A(_n))},e.\u0275cmp=Se({type:e,selectors:[["app-root"]],decls:227,vars:16,consts:[["template",""],["templateSelection",""],["option",""],["group",""],["optionSelection",""],["template1",""],["template2",""],["template2Selection",""],["template3Selection",""],[1,"cols"],[3,"formGroup"],["for","json"],["formControlName","json","id","json"],[1,"error",3,"innerHTML"],["for","label"],["type","text","formControlName","label","id","label"],["for","hint"],["type","text","formControlName","hint","id","hint"],["for","disabled"],["type","checkbox","formControlName","disabled","id","disabled"],["for","overlay"],["type","checkbox","formControlName","overlay","id","overlay"],["for","minCharForSearch"],["type","number","formControlName","minCharForSearch","id","minCharForSearch"],["for","minCountForSearch"],["type","number","formControlName","minCountForSearch","id","minCountForSearch"],["for","displaySearchStatus"],["formControlName","displaySearchStatus","id","displaySearchStatus"],["value","default"],["value","hidden"],["value","always"],["for","placeholder"],["type","text","formControlName","placeholder","id","placeholder"],["for","noResultMessage"],["type","text","formControlName","noResultMessage","id","noResultMessage"],["for","multiple"],["type","checkbox","formControlName","multiple","id","multiple"],["for","resettable"],["type","checkbox","formControlName","resettable","id","resettable"],["for","resetSelectedValue"],["formControlName","resetSelectedValue","id","resetSelectedValue"],[3,"value"],["value","hibiscus"],["value","marigold"],["value","sunflower"],["value","heliotrope"],["value","lily"],["value","petunia"],["for","autoCreate"],["type","checkbox","formControlName","autoCreate","id","autoCreate"],["for","limitSelection"],["type","number","formControlName","limitSelection","id","limitSelection"],["for","grid"],["type","string","formControlName","grid","id","grid"],["for","hideSelectedItems"],["type","checkbox","formControlName","hideSelectedItems","id","hideSelectedItems"],["for","resultMaxHeight"],["type","text","formControlName","resultMaxHeight","id","resultMaxHeight"],["for","maxResults"],["type","text","formControlName","maxResults","id","maxResults"],["for","maxResultsMessage"],["type","text","formControlName","maxResultsMessage","id","maxResultsMessage"],["for","listPosition"],["formControlName","listPosition","id","listPosition"],["value","below"],["value","above"],["for","infiniteScroll"],["type","checkbox","formControlName","infiniteScroll","id","infiniteScroll"],["for","infiniteScrollDistance"],["type","number","formControlName","infiniteScrollDistance","id","infiniteScrollDistance"],["for","infiniteScrollThrottle"],["type","number","formControlName","infiniteScrollThrottle","id","infiniteScrollThrottle"],["for","styleMode"],["formControlName","styleMode","id","listPstyleModeosition"],["value",""],["value","material"],["value","noStyle"],["value","borderless"],["for","template"],["formControlName","template","id","template"],["value","none"],["value","ref"],["value","option-group"],["value","templateId"],["for","templateSelection"],["formControlName","templateSelection","id","templateSelection"],["value","option"],["for","noLabelTemplate"],["type","checkbox","formControlName","noLabelTemplate","id","noLabelTemplate"],["for","update"],["type","checkbox","formControlName","update","id","update"],["for","open"],["type","checkbox","formControlName","open","id","open"],["for","close"],["type","checkbox","formControlName","close","id","close"],["for","focus"],["type","checkbox","formControlName","focus","id","focus"],["for","blur"],["type","checkbox","formControlName","blur","id","blur"],["for","search"],["type","checkbox","formControlName","search","id","search"],["for","scroll"],["type","checkbox","formControlName","scroll","id","scroll"],["for","removeOption"],["type","checkbox","formControlName","removeOption","id","removeOption"],[1,"result"],[3,"data","overlay","disabled","minCharForSearch","minCountForSearch","displaySearchStatus","placeholder","customSearchEnabled","multiple","resettable","resetSelectedValue","autoCreate","limitSelection","hideSelectedItems","resultMaxHeight","maxResults","maxResultsMessage","listPosition","infiniteScroll","infiniteScrollDistance","infiniteScrollThrottle","styleMode","noResultMessage","grid","noLabelTemplate","templates","templateSelection"],[1,"code"],["language","html",3,"highlight"],[3,"update","open","close","focus","blur","search","scroll","removeOption","data","overlay","disabled","minCharForSearch","minCountForSearch","displaySearchStatus","placeholder","customSearchEnabled","multiple","resettable","resetSelectedValue","autoCreate","limitSelection","hideSelectedItems","resultMaxHeight","maxResults","maxResultsMessage","listPosition","infiniteScroll","infiniteScrollDistance","infiniteScrollThrottle","styleMode","noResultMessage","grid","noLabelTemplate","templates","templateSelection"],[3,"innerHTML"]],template:function(n,a){n&1&&(p(0,"h2"),_(1,"Generator"),c(),p(2,"div",9)(3,"div",10)(4,"h4"),_(5,"data"),c(),p(6,"div")(7,"label",11),_(8,"json (for "),p(9,"code"),_(10,"[data]"),c(),_(11,") : "),c(),L(12,"textarea",12)(13,"div",13),c(),p(14,"h4"),_(15,"tags"),c(),p(16,"div")(17,"label",14),_(18,"label : "),c(),L(19,"input",15),c(),p(20,"div")(21,"label",16),_(22,"hint : "),c(),L(23,"input",17),c(),p(24,"h4"),_(25,"parameters"),c(),p(26,"div")(27,"label",18),_(28,"disabled : "),c(),L(29,"input",19),c(),p(30,"div")(31,"label",20),_(32,"overlay : "),c(),L(33,"input",21),c(),p(34,"div")(35,"label",22),_(36,"minCharForSearch (0) : "),c(),L(37,"input",23),c(),p(38,"div")(39,"label",24),_(40,"minCountForSearch (6) : "),c(),L(41,"input",25),c(),p(42,"div")(43,"label",26),_(44,"displaySearchStatus :"),c(),p(45,"select",27)(46,"option",28),_(47,"default"),c(),p(48,"option",29),_(49,"hidden"),c(),p(50,"option",30),_(51,"always"),c()()(),p(52,"div")(53,"label",31),_(54,"placeholder : "),c(),L(55,"input",32),c(),p(56,"div")(57,"label",33),_(58,"noResultMessage : "),c(),L(59,"input",34),c(),p(60,"div")(61,"label",35),_(62,"multiple : "),c(),L(63,"input",36),c(),p(64,"div")(65,"label",37),_(66,"resettable : "),c(),L(67,"input",38),c(),p(68,"div")(69,"label",39),_(70,"resetSelectedValue : "),c(),p(71,"select",40)(72,"option",41),_(73,"undefined"),c(),p(74,"option",41),_(75,"null"),c(),p(76,"option",42),_(77,"hibiscus"),c(),p(78,"option",43),_(79,"marigold"),c(),p(80,"option",44),_(81,"sunflower"),c(),p(82,"option",45),_(83,"heliotrope"),c(),p(84,"option",46),_(85,"lily"),c(),p(86,"option",47),_(87,"petunia"),c()()(),p(88,"div")(89,"label",48),_(90,"autoCreate : "),c(),L(91,"input",49),c(),p(92,"div")(93,"label",50),_(94,"limitSelection (0) : "),c(),L(95,"input",51),c(),p(96,"div")(97,"label",52),_(98,"grid (4 or '100px') : "),c(),L(99,"input",53),c(),p(100,"div")(101,"label",54),_(102,"hideSelectedItems : "),c(),L(103,"input",55),c(),p(104,"div")(105,"label",56),_(106,"resultMaxHeight ('200px') : "),c(),L(107,"input",57),c(),p(108,"div")(109,"label",58),_(110,"maxResults (0 = infinity) : "),c(),L(111,"input",59),c(),p(112,"div")(113,"label",60),_(114,"maxResultsMessage ('Too much result...') : "),c(),L(115,"input",61),c(),p(116,"div")(117,"label",62),_(118,"listPosition :"),c(),p(119,"select",63),L(120,"option"),p(121,"option",64),_(122,"below"),c(),p(123,"option",65),_(124,"above"),c()()(),p(125,"div")(126,"label",66),_(127,"infiniteScroll : "),c(),L(128,"input",67),c(),p(129,"div")(130,"label",68),_(131,"infiniteScrollDistance (1.5) : "),c(),L(132,"input",69),c(),p(133,"div")(134,"label",70),_(135,"infiniteScrollThrottle (150) : "),c(),L(136,"input",71),c(),p(137,"div")(138,"label",72),_(139,"styleMode : "),c(),p(140,"select",73)(141,"option",74),_(142,"default"),c(),p(143,"option",75),_(144,"material"),c(),p(145,"option",76),_(146,"noStyle"),c(),p(147,"option",77),_(148,"borderless"),c()()(),p(149,"h4"),_(150,"Templates"),c(),p(151,"div")(152,"label",78),_(153,"template style :"),c(),p(154,"select",79)(155,"option",80),_(156,"None"),c(),p(157,"option",81),_(158,"Unique template"),c(),p(159,"option",82),_(160,"Template group & option"),c(),p(161,"option",83),_(162,"Template by templateId"),c()()(),p(163,"div")(164,"label",84),_(165,"template selection style :"),c(),p(166,"select",85)(167,"option",80),_(168,"None"),c(),p(169,"option",81),_(170,"Unique template"),c(),p(171,"option",86),_(172,"Template option"),c(),p(173,"option",83),_(174,"Template by templateId"),c()()(),p(175,"div")(176,"label",87),_(177,"noLabelTemplate : "),c(),L(178,"input",88),c(),p(179,"h4"),_(180,"Events"),c(),p(181,"div")(182,"label",89),_(183,"update: "),c(),L(184,"input",90),c(),p(185,"div")(186,"label",91),_(187,"open: "),c(),L(188,"input",92),c(),p(189,"div")(190,"label",93),_(191,"close: "),c(),L(192,"input",94),c(),p(193,"div")(194,"label",95),_(195,"focus: "),c(),L(196,"input",96),c(),p(197,"div")(198,"label",97),_(199,"blur: "),c(),L(200,"input",98),c(),p(201,"div")(202,"label",99),_(203,"search: "),c(),L(204,"input",100),_(205," (Required: "),p(206,"code"),_(207,"customSearchEnabled"),c(),_(208,") "),c(),p(209,"div")(210,"label",101),_(211,"scroll: "),c(),L(212,"input",102),c(),p(213,"div")(214,"label",103),_(215,"removeOption: "),c(),L(216,"input",104),c()(),p(217,"div")(218,"div",105)(219,"h4"),_(220,"HTML render"),c(),k(221,fh,21,29,"select2",106),p(222,"h4"),_(223,"HTML Code"),c(),p(224,"div",107)(225,"code"),L(226,"pre",108),c()()()()()),n&2&&(E(3),v("formGroup",a.ctrlForm),E(10),v("innerHTML",a.jsonError,ve),E(51),Z("hide",a.ctrlForm==null||a.ctrlForm.value==null?null:a.ctrlForm.value.multiple),E(4),Z("hide",a.ctrlForm==null||a.ctrlForm.value==null?null:a.ctrlForm.value.multiple),E(4),v("value",void 0),E(2),v("value",null),E(26),Z("hide",!(!(a.ctrlForm==null||a.ctrlForm.value==null)&&a.ctrlForm.value.multiple)),E(29),Z("hide",!(!(a.ctrlForm==null||a.ctrlForm.value==null)&&a.ctrlForm.value.infiniteScrollDistance)),E(4),Z("hide",!(!(a.ctrlForm==null||a.ctrlForm.value==null)&&a.ctrlForm.value.infiniteScroll)),E(88),q(a.ctrlForm.value?221:-1),E(5),v("highlight",a.html))},dependencies:[pn,dn,wt,si,ni,hn,on,un,ut,ai,Sn,Tn,bn,ka],styles:["label[_ngcontent-%COMP%]{display:inline-block;width:250px}.cols[_ngcontent-%COMP%]{display:flex;max-width:100%}.cols[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:1 0 50%;max-width:50%}.code[_ngcontent-%COMP%]{overflow:auto}.error[_ngcontent-%COMP%]{color:red}textarea#json[_ngcontent-%COMP%]{width:calc(100% - 15px);resize:vertical;box-sizing:border-box;height:200px}.hide[_ngcontent-%COMP%]{display:none}.result[_ngcontent-%COMP%]{position:sticky;top:0}"]});let i=e;return i})();var V="primary",wi=Symbol("RouteTitle"),hs=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let s=this.params[e];return Array.isArray(s)?s[0]:s}return null}getAll(e){if(this.has(e)){let s=this.params[e];return Array.isArray(s)?s:[s]}return[]}get keys(){return Object.keys(this.params)}};function Dt(i){return new hs(i)}function hh(i,e,s){let t=s.path.split("/");if(t.length>i.length||s.pathMatch==="full"&&(e.hasChildren()||t.lengtht[a]===n)}else return i===e}function Vo(i){return i.length>0?i[i.length-1]:null}function it(i){return Jn(i)?i:Wi(i)?ae(Promise.resolve(i)):w(i)}var dh={exact:Do,subset:Ko},Po={exact:_h,subset:Eh,ignored:()=>!0};function bo(i,e,s){return dh[s.paths](i.root,e.root,s.matrixParams)&&Po[s.queryParams](i.queryParams,e.queryParams)&&!(s.fragment==="exact"&&i.fragment!==e.fragment)}function _h(i,e){return Pe(i,e)}function Do(i,e,s){if(!_t(i.segments,e.segments)||!Un(i.segments,e.segments,s)||i.numberOfChildren!==e.numberOfChildren)return!1;for(let t in e.children)if(!i.children[t]||!Do(i.children[t],e.children[t],s))return!1;return!0}function Eh(i,e){return Object.keys(e).length<=Object.keys(i).length&&Object.keys(e).every(s=>Oo(i[s],e[s]))}function Ko(i,e,s){return No(i,e,e.segments,s)}function No(i,e,s,t){if(i.segments.length>s.length){let n=i.segments.slice(0,s.length);return!(!_t(n,s)||e.hasChildren()||!Un(n,s,t))}else if(i.segments.length===s.length){if(!_t(i.segments,s)||!Un(i.segments,s,t))return!1;for(let n in e.children)if(!i.children[n]||!Ko(i.children[n],e.children[n],t))return!1;return!0}else{let n=s.slice(0,i.segments.length),a=s.slice(i.segments.length);return!_t(i.segments,n)||!Un(i.segments,n,t)||!i.children[V]?!1:No(i.children[V],e,a,t)}}function Un(i,e,s){return e.every((t,n)=>Po[s](i[n].parameters,t.parameters))}var He=class{constructor(e=new X([],{}),s={},t=null){this.root=e,this.queryParams=s,this.fragment=t}get queryParamMap(){return this._queryParamMap??=Dt(this.queryParams),this._queryParamMap}toString(){return xh.serialize(this)}},X=class{constructor(e,s){this.segments=e,this.children=s,this.parent=null,Object.values(s).forEach(t=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return On(this)}},dt=class{constructor(e,s){this.path=e,this.parameters=s}get parameterMap(){return this._parameterMap??=Dt(this.parameters),this._parameterMap}toString(){return ko(this)}};function mh(i,e){return _t(i,e)&&i.every((s,t)=>Pe(s.parameters,e[t].parameters))}function _t(i,e){return i.length!==e.length?!1:i.every((s,t)=>s.path===e[t].path)}function gh(i,e){let s=[];return Object.entries(i.children).forEach(([t,n])=>{t===V&&(s=s.concat(e(n,t)))}),Object.entries(i.children).forEach(([t,n])=>{t!==V&&(s=s.concat(e(n,t)))}),s}var Bi=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:()=>new Kt,providedIn:"root"});let i=e;return i})(),Kt=class{parse(e){let s=new _s(e);return new He(s.parseRootSegment(),s.parseQueryParams(),s.parseFragment())}serialize(e){let s=`/${Ei(e.root,!0)}`,t=vh(e.queryParams),n=typeof e.fragment=="string"?`#${Rh(e.fragment)}`:"";return`${s}${t}${n}`}},xh=new Kt;function On(i){return i.segments.map(e=>ko(e)).join("/")}function Ei(i,e){if(!i.hasChildren())return On(i);if(e){let s=i.children[V]?Ei(i.children[V],!1):"",t=[];return Object.entries(i.children).forEach(([n,a])=>{n!==V&&t.push(`${n}:${Ei(a,!1)}`)}),t.length>0?`${s}(${t.join("//")})`:s}else{let s=gh(i,(t,n)=>n===V?[Ei(i.children[V],!1)]:[`${n}:${Ei(t,!1)}`]);return Object.keys(i.children).length===1&&i.children[V]!=null?`${On(i)}/${s[0]}`:`${On(i)}/(${s.join("//")})`}}function Io(i){return encodeURIComponent(i).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Bn(i){return Io(i).replace(/%3B/gi,";")}function Rh(i){return encodeURI(i)}function ds(i){return Io(i).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Vn(i){return decodeURIComponent(i)}function So(i){return Vn(i.replace(/\+/g,"%20"))}function ko(i){return`${ds(i.path)}${Ch(i.parameters)}`}function Ch(i){return Object.entries(i).map(([e,s])=>`;${ds(e)}=${ds(s)}`).join("")}function vh(i){let e=Object.entries(i).map(([s,t])=>Array.isArray(t)?t.map(n=>`${Bn(s)}=${Bn(n)}`).join("&"):`${Bn(s)}=${Bn(t)}`).filter(s=>s);return e.length?`?${e.join("&")}`:""}var bh=/^[^\/()?;#]+/;function os(i){let e=i.match(bh);return e?e[0]:""}var Sh=/^[^\/()?;=#]+/;function Th(i){let e=i.match(Sh);return e?e[0]:""}var Ah=/^[^=?&#]+/;function Lh(i){let e=i.match(Ah);return e?e[0]:""}var yh=/^[^&#]+/;function wh(i){let e=i.match(yh);return e?e[0]:""}var _s=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new X([],{}):new X([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let s={};this.peekStartsWith("/(")&&(this.capture("/"),s=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(e.length>0||Object.keys(s).length>0)&&(t[V]=new X(e,s)),t}parseSegment(){let e=os(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new ie(4009,!1);return this.capture(e),new dt(Vn(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let s=Th(this.remaining);if(!s)return;this.capture(s);let t="";if(this.consumeOptional("=")){let n=os(this.remaining);n&&(t=n,this.capture(t))}e[Vn(s)]=Vn(t)}parseQueryParam(e){let s=Lh(this.remaining);if(!s)return;this.capture(s);let t="";if(this.consumeOptional("=")){let l=wh(this.remaining);l&&(t=l,this.capture(t))}let n=So(s),a=So(t);if(e.hasOwnProperty(n)){let l=e[n];Array.isArray(l)||(l=[l],e[n]=l),l.push(a)}else e[n]=a}parseParens(e){let s={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let t=os(this.remaining),n=this.remaining[t.length];if(n!=="/"&&n!==")"&&n!==";")throw new ie(4010,!1);let a;t.indexOf(":")>-1?(a=t.slice(0,t.indexOf(":")),this.capture(a),this.capture(":")):e&&(a=V);let l=this.parseChildren();s[a]=Object.keys(l).length===1?l[V]:new X([],l),this.consumeOptional("//")}return s}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new ie(4011,!1)}};function Fo(i){return i.segments.length>0?new X([],{[V]:i}):i}function jo(i){let e={};for(let[t,n]of Object.entries(i.children)){let a=jo(n);if(t===V&&a.segments.length===0&&a.hasChildren())for(let[l,o]of Object.entries(a.children))e[l]=o;else(a.segments.length>0||a.hasChildren())&&(e[t]=a)}let s=new X(i.segments,e);return Bh(s)}function Bh(i){if(i.numberOfChildren===1&&i.children[V]){let e=i.children[V];return new X(i.segments.concat(e.segments),e.children)}return i}function Et(i){return i instanceof He}function Mh(i,e,s=null,t=null){let n=Xo(i);return Go(n,e,s,t)}function Xo(i){let e;function s(a){let l={};for(let u of a.children){let f=s(u);l[u.outlet]=f}let o=new X(a.url,l);return a===i&&(e=o),o}let t=s(i.root),n=Fo(t);return e??n}function Go(i,e,s,t){let n=i;for(;n.parent;)n=n.parent;if(e.length===0)return us(n,n,n,s,t);let a=Uh(e);if(a.toRoot())return us(n,n,new X([],{}),s,t);let l=Oh(a,n,i),o=l.processChildren?xi(l.segmentGroup,l.index,a.commands):zo(l.segmentGroup,l.index,a.commands);return us(n,l.segmentGroup,o,s,t)}function Pn(i){return typeof i=="object"&&i!=null&&!i.outlets&&!i.segmentPath}function vi(i){return typeof i=="object"&&i!=null&&i.outlets}function us(i,e,s,t,n){let a={};t&&Object.entries(t).forEach(([u,f])=>{a[u]=Array.isArray(f)?f.map(d=>`${d}`):`${f}`});let l;i===e?l=s:l=Ho(i,e,s);let o=Fo(jo(l));return new He(o,a,n)}function Ho(i,e,s){let t={};return Object.entries(i.children).forEach(([n,a])=>{a===e?t[n]=s:t[n]=Ho(a,e,s)}),new X(i.segments,t)}var Dn=class{constructor(e,s,t){if(this.isAbsolute=e,this.numberOfDoubleDots=s,this.commands=t,e&&t.length>0&&Pn(t[0]))throw new ie(4003,!1);let n=t.find(vi);if(n&&n!==Vo(t))throw new ie(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Uh(i){if(typeof i[0]=="string"&&i.length===1&&i[0]==="/")return new Dn(!0,0,i);let e=0,s=!1,t=i.reduce((n,a,l)=>{if(typeof a=="object"&&a!=null){if(a.outlets){let o={};return Object.entries(a.outlets).forEach(([u,f])=>{o[u]=typeof f=="string"?f.split("/"):f}),[...n,{outlets:o}]}if(a.segmentPath)return[...n,a.segmentPath]}return typeof a!="string"?[...n,a]:l===0?(a.split("/").forEach((o,u)=>{u==0&&o==="."||(u==0&&o===""?s=!0:o===".."?e++:o!=""&&n.push(o))}),n):[...n,a]},[]);return new Dn(s,e,t)}var Ot=class{constructor(e,s,t){this.segmentGroup=e,this.processChildren=s,this.index=t}};function Oh(i,e,s){if(i.isAbsolute)return new Ot(e,!0,0);if(!s)return new Ot(e,!1,NaN);if(s.parent===null)return new Ot(s,!0,0);let t=Pn(i.commands[0])?0:1,n=s.segments.length-1+t;return Vh(s,n,i.numberOfDoubleDots)}function Vh(i,e,s){let t=i,n=e,a=s;for(;a>n;){if(a-=n,t=t.parent,!t)throw new ie(4005,!1);n=t.segments.length}return new Ot(t,!1,n-a)}function Ph(i){return vi(i[0])?i[0].outlets:{[V]:i}}function zo(i,e,s){if(i??=new X([],{}),i.segments.length===0&&i.hasChildren())return xi(i,e,s);let t=Dh(i,e,s),n=s.slice(t.commandIndex);if(t.match&&t.pathIndexa!==V)&&i.children[V]&&i.numberOfChildren===1&&i.children[V].segments.length===0){let a=xi(i.children[V],e,s);return new X(i.segments,a.children)}return Object.entries(t).forEach(([a,l])=>{typeof l=="string"&&(l=[l]),l!==null&&(n[a]=zo(i.children[a],e,l))}),Object.entries(i.children).forEach(([a,l])=>{t[a]===void 0&&(n[a]=l)}),new X(i.segments,n)}}function Dh(i,e,s){let t=0,n=e,a={match:!1,pathIndex:0,commandIndex:0};for(;n=s.length)return a;let l=i.segments[n],o=s[t];if(vi(o))break;let u=`${o}`,f=t0&&u===void 0)break;if(u&&f&&typeof f=="object"&&f.outlets===void 0){if(!Ao(u,f,l))return a;t+=2}else{if(!Ao(u,{},l))return a;t++}n++}return{match:!0,pathIndex:n,commandIndex:t}}function Es(i,e,s){let t=i.segments.slice(0,e),n=0;for(;n{typeof t=="string"&&(t=[t]),t!==null&&(e[s]=Es(new X([],{}),0,t))}),e}function To(i){let e={};return Object.entries(i).forEach(([s,t])=>e[s]=`${t}`),e}function Ao(i,e,s){return i==s.path&&Pe(e,s.parameters)}var Ri="imperative",re=function(i){return i[i.NavigationStart=0]="NavigationStart",i[i.NavigationEnd=1]="NavigationEnd",i[i.NavigationCancel=2]="NavigationCancel",i[i.NavigationError=3]="NavigationError",i[i.RoutesRecognized=4]="RoutesRecognized",i[i.ResolveStart=5]="ResolveStart",i[i.ResolveEnd=6]="ResolveEnd",i[i.GuardsCheckStart=7]="GuardsCheckStart",i[i.GuardsCheckEnd=8]="GuardsCheckEnd",i[i.RouteConfigLoadStart=9]="RouteConfigLoadStart",i[i.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",i[i.ChildActivationStart=11]="ChildActivationStart",i[i.ChildActivationEnd=12]="ChildActivationEnd",i[i.ActivationStart=13]="ActivationStart",i[i.ActivationEnd=14]="ActivationEnd",i[i.Scroll=15]="Scroll",i[i.NavigationSkipped=16]="NavigationSkipped",i}(re||{}),be=class{constructor(e,s){this.id=e,this.url=s}},Nt=class extends be{constructor(e,s,t="imperative",n=null){super(e,s),this.type=re.NavigationStart,this.navigationTrigger=t,this.restoredState=n}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},ye=class extends be{constructor(e,s,t){super(e,s),this.urlAfterRedirects=t,this.type=re.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},xe=function(i){return i[i.Redirect=0]="Redirect",i[i.SupersededByNewNavigation=1]="SupersededByNewNavigation",i[i.NoDataFromResolver=2]="NoDataFromResolver",i[i.GuardRejected=3]="GuardRejected",i}(xe||{}),Kn=function(i){return i[i.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",i[i.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",i}(Kn||{}),Ge=class extends be{constructor(e,s,t,n){super(e,s),this.reason=t,this.code=n,this.type=re.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},tt=class extends be{constructor(e,s,t,n){super(e,s),this.reason=t,this.code=n,this.type=re.NavigationSkipped}},bi=class extends be{constructor(e,s,t,n){super(e,s),this.error=t,this.target=n,this.type=re.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Nn=class extends be{constructor(e,s,t,n){super(e,s),this.urlAfterRedirects=t,this.state=n,this.type=re.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ms=class extends be{constructor(e,s,t,n){super(e,s),this.urlAfterRedirects=t,this.state=n,this.type=re.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},gs=class extends be{constructor(e,s,t,n,a){super(e,s),this.urlAfterRedirects=t,this.state=n,this.shouldActivate=a,this.type=re.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},xs=class extends be{constructor(e,s,t,n){super(e,s),this.urlAfterRedirects=t,this.state=n,this.type=re.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Rs=class extends be{constructor(e,s,t,n){super(e,s),this.urlAfterRedirects=t,this.state=n,this.type=re.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Cs=class{constructor(e){this.route=e,this.type=re.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},vs=class{constructor(e){this.route=e,this.type=re.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},bs=class{constructor(e){this.snapshot=e,this.type=re.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ss=class{constructor(e){this.snapshot=e,this.type=re.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ts=class{constructor(e){this.snapshot=e,this.type=re.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},As=class{constructor(e){this.snapshot=e,this.type=re.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},In=class{constructor(e,s,t){this.routerEvent=e,this.position=s,this.anchor=t,this.type=re.Scroll}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},Si=class{},It=class{constructor(e,s){this.url=e,this.navigationBehaviorOptions=s}};function Nh(i,e){return i.providers&&!i._injector&&(i._injector=lr(i.providers,e,`Route: ${i.path}`)),i._injector??e}function Le(i){return i.outlet||V}function Ih(i,e){let s=i.filter(t=>Le(t)===e);return s.push(...i.filter(t=>Le(t)!==e)),s}function Mi(i){if(!i)return null;if(i.routeConfig?._injector)return i.routeConfig._injector;for(let e=i.parent;e;e=e.parent){let s=e.routeConfig;if(s?._loadedInjector)return s._loadedInjector;if(s?._injector)return s._injector}return null}var Ls=class{get injector(){return Mi(this.route?.snapshot)??this.rootInjector}set injector(e){}constructor(e){this.rootInjector=e,this.outlet=null,this.route=null,this.children=new Ui(this.rootInjector),this.attachRef=null}},Ui=(()=>{let e=class e{constructor(t){this.rootInjector=t,this.contexts=new Map}onChildOutletCreated(t,n){let a=this.getOrCreateContext(t);a.outlet=n,this.contexts.set(t,a)}onChildOutletDestroyed(t){let n=this.getContext(t);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){let t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let n=this.getContext(t);return n||(n=new Ls(this.rootInjector),this.contexts.set(t,n)),n}getContext(t){return this.contexts.get(t)||null}};e.\u0275fac=function(n){return new(n||e)(M(rt))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),kn=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let s=this.pathFromRoot(e);return s.length>1?s[s.length-2]:null}children(e){let s=ys(e,this._root);return s?s.children.map(t=>t.value):[]}firstChild(e){let s=ys(e,this._root);return s&&s.children.length>0?s.children[0].value:null}siblings(e){let s=ws(e,this._root);return s.length<2?[]:s[s.length-2].children.map(n=>n.value).filter(n=>n!==e)}pathFromRoot(e){return ws(e,this._root).map(s=>s.value)}};function ys(i,e){if(i===e.value)return e;for(let s of e.children){let t=ys(i,s);if(t)return t}return null}function ws(i,e){if(i===e.value)return[e];for(let s of e.children){let t=ws(i,s);if(t.length)return t.unshift(e),t}return[]}var ge=class{constructor(e,s){this.value=e,this.children=s}toString(){return`TreeNode(${this.value})`}};function Ut(i){let e={};return i&&i.children.forEach(s=>e[s.value.outlet]=s),e}var Fn=class extends kn{constructor(e,s){super(e),this.snapshot=s,Ns(this,e)}toString(){return this.snapshot.toString()}};function $o(i){let e=kh(i),s=new Re([new dt("",{})]),t=new Re({}),n=new Re({}),a=new Re({}),l=new Re(""),o=new mt(s,t,a,l,n,V,i,e.root);return o.snapshot=e.root,new Fn(new ge(o,[]),e)}function kh(i){let e={},s={},t={},n="",a=new Vt([],e,t,n,s,V,i,null,{});return new Xn("",new ge(a,[]))}var mt=class{constructor(e,s,t,n,a,l,o,u){this.urlSubject=e,this.paramsSubject=s,this.queryParamsSubject=t,this.fragmentSubject=n,this.dataSubject=a,this.outlet=l,this.component=o,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(j(f=>f[wi]))??w(void 0),this.url=e,this.params=s,this.queryParams=t,this.fragment=n,this.data=a}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(j(e=>Dt(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(j(e=>Dt(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function jn(i,e,s="emptyOnly"){let t,{routeConfig:n}=i;return e!==null&&(s==="always"||n?.path===""||!e.component&&!e.routeConfig?.loadComponent)?t={params:S(S({},e.params),i.params),data:S(S({},e.data),i.data),resolve:S(S(S(S({},i.data),e.data),n?.data),i._resolvedData)}:t={params:S({},i.params),data:S({},i.data),resolve:S(S({},i.data),i._resolvedData??{})},n&&qo(n)&&(t.resolve[wi]=n.title),t}var Vt=class{get title(){return this.data?.[wi]}constructor(e,s,t,n,a,l,o,u,f){this.url=e,this.params=s,this.queryParams=t,this.fragment=n,this.data=a,this.outlet=l,this.component=o,this.routeConfig=u,this._resolve=f}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Dt(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Dt(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(t=>t.toString()).join("/"),s=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${s}')`}},Xn=class extends kn{constructor(e,s){super(s),this.url=e,Ns(this,s)}toString(){return Wo(this._root)}};function Ns(i,e){e.value._routerState=i,e.children.forEach(s=>Ns(i,s))}function Wo(i){let e=i.children.length>0?` { ${i.children.map(Wo).join(", ")} } `:"";return`${i.value}${e}`}function fs(i){if(i.snapshot){let e=i.snapshot,s=i._futureSnapshot;i.snapshot=s,Pe(e.queryParams,s.queryParams)||i.queryParamsSubject.next(s.queryParams),e.fragment!==s.fragment&&i.fragmentSubject.next(s.fragment),Pe(e.params,s.params)||i.paramsSubject.next(s.params),ph(e.url,s.url)||i.urlSubject.next(s.url),Pe(e.data,s.data)||i.dataSubject.next(s.data)}else i.snapshot=i._futureSnapshot,i.dataSubject.next(i._futureSnapshot.data)}function Bs(i,e){let s=Pe(i.params,e.params)&&mh(i.url,e.url),t=!i.parent!=!e.parent;return s&&!t&&(!i.parent||Bs(i.parent,e.parent))}function qo(i){return typeof i.title=="string"||i.title===null}var Is=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=V,this.activateEvents=new K,this.deactivateEvents=new K,this.attachEvents=new K,this.detachEvents=new K,this.parentContexts=U(Ui),this.location=U(vt),this.changeDetector=U(Ie),this.inputBinder=U(qn,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){let{firstChange:n,previousValue:a}=t.name;if(n)return;this.isTrackedInParentContexts(a)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(a)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new ie(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new ie(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new ie(4012,!1);this.location.detach();let t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,n){this.activated=t,this._activatedRoute=n,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){let t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,n){if(this.isActivated)throw new ie(4013,!1);this._activatedRoute=t;let a=this.location,o=t.snapshot.component,u=this.parentContexts.getOrCreateContext(this.name).children,f=new Ms(t,u,a.injector);this.activated=a.createComponent(o,{index:a.length,injector:f,environmentInjector:n}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=I({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[de]});let i=e;return i})(),Ms=class i{__ngOutletInjector(e){return new i(this.route,this.childContexts,e)}constructor(e,s,t){this.route=e,this.childContexts=s,this.parent=t}get(e,s){return e===mt?this.route:e===Ui?this.childContexts:this.parent.get(e,s)}},qn=new $(""),Lo=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){let{activatedRoute:n}=t,a=Ki([n.queryParams,n.params,n.data]).pipe(Ce(([l,o,u],f)=>(u=S(S(S({},l),o),u),f===0?w(u):Promise.resolve(u)))).subscribe(l=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==n||n.component===null){this.unsubscribeFromRouteData(t);return}let o=La(n.component);if(!o){this.unsubscribeFromRouteData(t);return}for(let{templateName:u}of o.inputs)t.activatedComponentRef.setInput(u,l[u])});this.outletDataSubscriptions.set(t,a)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac});let i=e;return i})();function Fh(i,e,s){let t=Ti(i,e._root,s?s._root:void 0);return new Fn(t,e)}function Ti(i,e,s){if(s&&i.shouldReuseRoute(e.value,s.value.snapshot)){let t=s.value;t._futureSnapshot=e.value;let n=jh(i,e,s);return new ge(t,n)}else{if(i.shouldAttach(e.value)){let a=i.retrieve(e.value);if(a!==null){let l=a.route;return l.value._futureSnapshot=e.value,l.children=e.children.map(o=>Ti(i,o)),l}}let t=Xh(e.value),n=e.children.map(a=>Ti(i,a));return new ge(t,n)}}function jh(i,e,s){return e.children.map(t=>{for(let n of s.children)if(i.shouldReuseRoute(t.value,n.value.snapshot))return Ti(i,t,n);return Ti(i,t)})}function Xh(i){return new mt(new Re(i.url),new Re(i.params),new Re(i.queryParams),new Re(i.fragment),new Re(i.data),i.outlet,i.component,i)}var Ai=class{constructor(e,s){this.redirectTo=e,this.navigationBehaviorOptions=s}},Yo="ngNavigationCancelingError";function Gn(i,e){let{redirectTo:s,navigationBehaviorOptions:t}=Et(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,n=Zo(!1,xe.Redirect);return n.url=s,n.navigationBehaviorOptions=t,n}function Zo(i,e){let s=new Error(`NavigationCancelingError: ${i||""}`);return s[Yo]=!0,s.cancellationCode=e,s}function Gh(i){return Qo(i)&&Et(i.url)}function Qo(i){return!!i&&i[Yo]}var Hh=(i,e,s,t)=>j(n=>(new Us(e,n.targetRouterState,n.currentRouterState,s,t).activate(i),n)),Us=class{constructor(e,s,t,n,a){this.routeReuseStrategy=e,this.futureState=s,this.currState=t,this.forwardEvent=n,this.inputBindingEnabled=a}activate(e){let s=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(s,t,e),fs(this.futureState.root),this.activateChildRoutes(s,t,e)}deactivateChildRoutes(e,s,t){let n=Ut(s);e.children.forEach(a=>{let l=a.value.outlet;this.deactivateRoutes(a,n[l],t),delete n[l]}),Object.values(n).forEach(a=>{this.deactivateRouteAndItsChildren(a,t)})}deactivateRoutes(e,s,t){let n=e.value,a=s?s.value:null;if(n===a)if(n.component){let l=t.getContext(n.outlet);l&&this.deactivateChildRoutes(e,s,l.children)}else this.deactivateChildRoutes(e,s,t);else a&&this.deactivateRouteAndItsChildren(s,t)}deactivateRouteAndItsChildren(e,s){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,s):this.deactivateRouteAndOutlet(e,s)}detachAndStoreRouteSubtree(e,s){let t=s.getContext(e.value.outlet),n=t&&e.value.component?t.children:s,a=Ut(e);for(let l of Object.values(a))this.deactivateRouteAndItsChildren(l,n);if(t&&t.outlet){let l=t.outlet.detach(),o=t.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:l,route:e,contexts:o})}}deactivateRouteAndOutlet(e,s){let t=s.getContext(e.value.outlet),n=t&&e.value.component?t.children:s,a=Ut(e);for(let l of Object.values(a))this.deactivateRouteAndItsChildren(l,n);t&&(t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated()),t.attachRef=null,t.route=null)}activateChildRoutes(e,s,t){let n=Ut(s);e.children.forEach(a=>{this.activateRoutes(a,n[a.value.outlet],t),this.forwardEvent(new As(a.value.snapshot))}),e.children.length&&this.forwardEvent(new Ss(e.value.snapshot))}activateRoutes(e,s,t){let n=e.value,a=s?s.value:null;if(fs(n),n===a)if(n.component){let l=t.getOrCreateContext(n.outlet);this.activateChildRoutes(e,s,l.children)}else this.activateChildRoutes(e,s,t);else if(n.component){let l=t.getOrCreateContext(n.outlet);if(this.routeReuseStrategy.shouldAttach(n.snapshot)){let o=this.routeReuseStrategy.retrieve(n.snapshot);this.routeReuseStrategy.store(n.snapshot,null),l.children.onOutletReAttached(o.contexts),l.attachRef=o.componentRef,l.route=o.route.value,l.outlet&&l.outlet.attach(o.componentRef,o.route.value),fs(o.route.value),this.activateChildRoutes(e,null,l.children)}else l.attachRef=null,l.route=n,l.outlet&&l.outlet.activateWith(n,l.injector),this.activateChildRoutes(e,null,l.children)}else this.activateChildRoutes(e,null,t)}},Hn=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},Pt=class{constructor(e,s){this.component=e,this.route=s}};function zh(i,e,s){let t=i._root,n=e?e._root:null;return mi(t,n,s,[t.value])}function $h(i){let e=i.routeConfig?i.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:i,guards:e}}function Ft(i,e){let s=Symbol(),t=e.get(i,s);return t===s?typeof i=="function"&&!ua(i)?i:e.get(i):t}function mi(i,e,s,t,n={canDeactivateChecks:[],canActivateChecks:[]}){let a=Ut(e);return i.children.forEach(l=>{Wh(l,a[l.value.outlet],s,t.concat([l.value]),n),delete a[l.value.outlet]}),Object.entries(a).forEach(([l,o])=>Ci(o,s.getContext(l),n)),n}function Wh(i,e,s,t,n={canDeactivateChecks:[],canActivateChecks:[]}){let a=i.value,l=e?e.value:null,o=s?s.getContext(i.value.outlet):null;if(l&&a.routeConfig===l.routeConfig){let u=qh(l,a,a.routeConfig.runGuardsAndResolvers);u?n.canActivateChecks.push(new Hn(t)):(a.data=l.data,a._resolvedData=l._resolvedData),a.component?mi(i,e,o?o.children:null,t,n):mi(i,e,s,t,n),u&&o&&o.outlet&&o.outlet.isActivated&&n.canDeactivateChecks.push(new Pt(o.outlet.component,l))}else l&&Ci(e,o,n),n.canActivateChecks.push(new Hn(t)),a.component?mi(i,null,o?o.children:null,t,n):mi(i,null,s,t,n);return n}function qh(i,e,s){if(typeof s=="function")return s(i,e);switch(s){case"pathParamsChange":return!_t(i.url,e.url);case"pathParamsOrQueryParamsChange":return!_t(i.url,e.url)||!Pe(i.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Bs(i,e)||!Pe(i.queryParams,e.queryParams);case"paramsChange":default:return!Bs(i,e)}}function Ci(i,e,s){let t=Ut(i),n=i.value;Object.entries(t).forEach(([a,l])=>{n.component?e?Ci(l,e.children.getContext(a),s):Ci(l,null,s):Ci(l,e,s)}),n.component?e&&e.outlet&&e.outlet.isActivated?s.canDeactivateChecks.push(new Pt(e.outlet.component,n)):s.canDeactivateChecks.push(new Pt(null,n)):s.canDeactivateChecks.push(new Pt(null,n))}function Oi(i){return typeof i=="function"}function Yh(i){return typeof i=="boolean"}function Zh(i){return i&&Oi(i.canLoad)}function Qh(i){return i&&Oi(i.canActivate)}function Jh(i){return i&&Oi(i.canActivateChild)}function e0(i){return i&&Oi(i.canDeactivate)}function t0(i){return i&&Oi(i.canMatch)}function Jo(i){return i instanceof ea||i?.name==="EmptyError"}var Mn=Symbol("INITIAL_VALUE");function kt(){return Ce(i=>Ki(i.map(e=>e.pipe(Ct(1),rr(Mn)))).pipe(j(e=>{for(let s of e)if(s!==!0){if(s===Mn)return Mn;if(s===!1||i0(s))return s}return!0}),pe(e=>e!==Mn),Ct(1)))}function i0(i){return Et(i)||i instanceof Ai}function n0(i,e){return oe(s=>{let{targetSnapshot:t,currentSnapshot:n,guards:{canActivateChecks:a,canDeactivateChecks:l}}=s;return l.length===0&&a.length===0?w(F(S({},s),{guardsResult:!0})):r0(l,t,n,i).pipe(oe(o=>o&&Yh(o)?s0(t,a,i,e):w(o)),j(o=>F(S({},s),{guardsResult:o})))})}function r0(i,e,s,t){return ae(i).pipe(oe(n=>f0(n.component,n.route,s,e,t)),We(n=>n!==!0,!0))}function s0(i,e,s,t){return ae(e).pipe(Rt(n=>ta(l0(n.route.parent,t),a0(n.route,t),u0(i,n.path,s),o0(i,n.route,s))),We(n=>n!==!0,!0))}function a0(i,e){return i!==null&&e&&e(new Ts(i)),w(!0)}function l0(i,e){return i!==null&&e&&e(new bs(i)),w(!0)}function o0(i,e,s){let t=e.routeConfig?e.routeConfig.canActivate:null;if(!t||t.length===0)return w(!0);let n=t.map(a=>er(()=>{let l=Mi(e)??s,o=Ft(a,l),u=Qh(o)?o.canActivate(e,i):Me(l,()=>o(e,i));return it(u).pipe(We())}));return w(n).pipe(kt())}function u0(i,e,s){let t=e[e.length-1],a=e.slice(0,e.length-1).reverse().map(l=>$h(l)).filter(l=>l!==null).map(l=>er(()=>{let o=l.guards.map(u=>{let f=Mi(l.node)??s,d=Ft(u,f),h=Jh(d)?d.canActivateChild(t,i):Me(f,()=>d(t,i));return it(h).pipe(We())});return w(o).pipe(kt())}));return w(a).pipe(kt())}function f0(i,e,s,t,n){let a=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!a||a.length===0)return w(!0);let l=a.map(o=>{let u=Mi(e)??n,f=Ft(o,u),d=e0(f)?f.canDeactivate(i,e,s,t):Me(u,()=>f(i,e,s,t));return it(d).pipe(We())});return w(l).pipe(kt())}function c0(i,e,s,t){let n=e.canLoad;if(n===void 0||n.length===0)return w(!0);let a=n.map(l=>{let o=Ft(l,i),u=Zh(o)?o.canLoad(e,s):Me(i,()=>o(e,s));return it(u)});return w(a).pipe(kt(),eu(t))}function eu(i){return Qs(te(e=>{if(typeof e!="boolean")throw Gn(i,e)}),j(e=>e===!0))}function h0(i,e,s,t){let n=e.canMatch;if(!n||n.length===0)return w(!0);let a=n.map(l=>{let o=Ft(l,i),u=t0(o)?o.canMatch(e,s):Me(i,()=>o(e,s));return it(u)});return w(a).pipe(kt(),eu(t))}var Li=class{constructor(e){this.segmentGroup=e||null}},yi=class extends Error{constructor(e){super(),this.urlTree=e}};function Mt(i){return jt(new Li(i))}function p0(i){return jt(new ie(4e3,!1))}function d0(i){return jt(Zo(!1,xe.GuardRejected))}var Os=class{constructor(e,s){this.urlSerializer=e,this.urlTree=s}lineralizeSegments(e,s){let t=[],n=s.root;for(;;){if(t=t.concat(n.segments),n.numberOfChildren===0)return w(t);if(n.numberOfChildren>1||!n.children[V])return p0(`${e.redirectTo}`);n=n.children[V]}}applyRedirectCommands(e,s,t,n,a){if(typeof s!="string"){let o=s,{queryParams:u,fragment:f,routeConfig:d,url:h,outlet:m,params:R,data:C,title:B}=n,P=Me(a,()=>o({params:R,data:C,queryParams:u,fragment:f,routeConfig:d,url:h,outlet:m,title:B}));if(P instanceof He)throw new yi(P);s=P}let l=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),e,t);if(s[0]==="/")throw new yi(l);return l}applyRedirectCreateUrlTree(e,s,t,n){let a=this.createSegmentGroup(e,s.root,t,n);return new He(a,this.createQueryParams(s.queryParams,this.urlTree.queryParams),s.fragment)}createQueryParams(e,s){let t={};return Object.entries(e).forEach(([n,a])=>{if(typeof a=="string"&&a[0]===":"){let o=a.substring(1);t[n]=s[o]}else t[n]=a}),t}createSegmentGroup(e,s,t,n){let a=this.createSegments(e,s.segments,t,n),l={};return Object.entries(s.children).forEach(([o,u])=>{l[o]=this.createSegmentGroup(e,u,t,n)}),new X(a,l)}createSegments(e,s,t,n){return s.map(a=>a.path[0]===":"?this.findPosParam(e,a,n):this.findOrReturn(a,t))}findPosParam(e,s,t){let n=t[s.path.substring(1)];if(!n)throw new ie(4001,!1);return n}findOrReturn(e,s){let t=0;for(let n of s){if(n.path===e.path)return s.splice(t),n;t++}return e}},Vs={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function _0(i,e,s,t,n){let a=ks(i,e,s);return a.matched?(t=Nh(e,t),h0(t,e,s,n).pipe(j(l=>l===!0?a:S({},Vs)))):w(a)}function ks(i,e,s){if(e.path==="**")return E0(s);if(e.path==="")return e.pathMatch==="full"&&(i.hasChildren()||s.length>0)?S({},Vs):{matched:!0,consumedSegments:[],remainingSegments:s,parameters:{},positionalParamSegments:{}};let n=(e.matcher||hh)(s,i,e);if(!n)return S({},Vs);let a={};Object.entries(n.posParams??{}).forEach(([o,u])=>{a[o]=u.path});let l=n.consumed.length>0?S(S({},a),n.consumed[n.consumed.length-1].parameters):a;return{matched:!0,consumedSegments:n.consumed,remainingSegments:s.slice(n.consumed.length),parameters:l,positionalParamSegments:n.posParams??{}}}function E0(i){return{matched:!0,parameters:i.length>0?Vo(i).parameters:{},consumedSegments:i,remainingSegments:[],positionalParamSegments:{}}}function yo(i,e,s,t){return s.length>0&&x0(i,s,t)?{segmentGroup:new X(e,g0(t,new X(s,i.children))),slicedSegments:[]}:s.length===0&&R0(i,s,t)?{segmentGroup:new X(i.segments,m0(i,s,t,i.children)),slicedSegments:s}:{segmentGroup:new X(i.segments,i.children),slicedSegments:s}}function m0(i,e,s,t){let n={};for(let a of s)if(Yn(i,e,a)&&!t[Le(a)]){let l=new X([],{});n[Le(a)]=l}return S(S({},t),n)}function g0(i,e){let s={};s[V]=e;for(let t of i)if(t.path===""&&Le(t)!==V){let n=new X([],{});s[Le(t)]=n}return s}function x0(i,e,s){return s.some(t=>Yn(i,e,t)&&Le(t)!==V)}function R0(i,e,s){return s.some(t=>Yn(i,e,t))}function Yn(i,e,s){return(i.hasChildren()||e.length>0)&&s.pathMatch==="full"?!1:s.path===""}function C0(i,e,s,t){return Le(i)!==t&&(t===V||!Yn(e,s,i))?!1:ks(e,i,s).matched}function v0(i,e,s){return e.length===0&&!i.children[s]}var Ps=class{};function b0(i,e,s,t,n,a,l="emptyOnly"){return new Ds(i,e,s,t,n,l,a).recognize()}var S0=31,Ds=class{constructor(e,s,t,n,a,l,o){this.injector=e,this.configLoader=s,this.rootComponentType=t,this.config=n,this.urlTree=a,this.paramsInheritanceStrategy=l,this.urlSerializer=o,this.applyRedirects=new Os(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new ie(4002,`'${e.segmentGroup}'`)}recognize(){let e=yo(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(j(({children:s,rootSnapshot:t})=>{let n=new ge(t,s),a=new Xn("",n),l=Mh(t,[],this.urlTree.queryParams,this.urlTree.fragment);return l.queryParams=this.urlTree.queryParams,a.url=this.urlSerializer.serialize(l),{state:a,tree:l}}))}match(e){let s=new Vt([],Object.freeze({}),Object.freeze(S({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),V,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,V,s).pipe(j(t=>({children:t,rootSnapshot:s})),xt(t=>{if(t instanceof yi)return this.urlTree=t.urlTree,this.match(t.urlTree.root);throw t instanceof Li?this.noMatchError(t):t}))}processSegmentGroup(e,s,t,n,a){return t.segments.length===0&&t.hasChildren()?this.processChildren(e,s,t,a):this.processSegment(e,s,t,t.segments,n,!0,a).pipe(j(l=>l instanceof ge?[l]:[]))}processChildren(e,s,t,n){let a=[];for(let l of Object.keys(t.children))l==="primary"?a.unshift(l):a.push(l);return ae(a).pipe(Rt(l=>{let o=t.children[l],u=Ih(s,l);return this.processSegmentGroup(e,u,o,l,n)}),aa((l,o)=>(l.push(...o),l)),ir(null),sa(),oe(l=>{if(l===null)return Mt(t);let o=tu(l);return T0(o),w(o)}))}processSegment(e,s,t,n,a,l,o){return ae(s).pipe(Rt(u=>this.processSegmentAgainstRoute(u._injector??e,s,u,t,n,a,l,o).pipe(xt(f=>{if(f instanceof Li)return w(null);throw f}))),We(u=>!!u),xt(u=>{if(Jo(u))return v0(t,n,a)?w(new Ps):Mt(t);throw u}))}processSegmentAgainstRoute(e,s,t,n,a,l,o,u){return C0(t,n,a,l)?t.redirectTo===void 0?this.matchSegmentAgainstRoute(e,n,t,a,l,u):this.allowRedirects&&o?this.expandSegmentAgainstRouteUsingRedirect(e,n,s,t,a,l,u):Mt(n):Mt(n)}expandSegmentAgainstRouteUsingRedirect(e,s,t,n,a,l,o){let{matched:u,parameters:f,consumedSegments:d,positionalParamSegments:h,remainingSegments:m}=ks(s,n,a);if(!u)return Mt(s);typeof n.redirectTo=="string"&&n.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>S0&&(this.allowRedirects=!1));let R=new Vt(a,f,Object.freeze(S({},this.urlTree.queryParams)),this.urlTree.fragment,wo(n),Le(n),n.component??n._loadedComponent??null,n,Bo(n)),C=jn(R,o,this.paramsInheritanceStrategy);R.params=Object.freeze(C.params),R.data=Object.freeze(C.data);let B=this.applyRedirects.applyRedirectCommands(d,n.redirectTo,h,R,e);return this.applyRedirects.lineralizeSegments(n,B).pipe(oe(P=>this.processSegment(e,t,s,P.concat(m),l,!1,o)))}matchSegmentAgainstRoute(e,s,t,n,a,l){let o=_0(s,t,n,e,this.urlSerializer);return t.path==="**"&&(s.children={}),o.pipe(Ce(u=>u.matched?(e=t._injector??e,this.getChildConfig(e,t,n).pipe(Ce(({routes:f})=>{let d=t._loadedInjector??e,{parameters:h,consumedSegments:m,remainingSegments:R}=u,C=new Vt(m,h,Object.freeze(S({},this.urlTree.queryParams)),this.urlTree.fragment,wo(t),Le(t),t.component??t._loadedComponent??null,t,Bo(t)),B=jn(C,l,this.paramsInheritanceStrategy);C.params=Object.freeze(B.params),C.data=Object.freeze(B.data);let{segmentGroup:P,slicedSegments:he}=yo(s,m,R,f);if(he.length===0&&P.hasChildren())return this.processChildren(d,f,P,C).pipe(j(nt=>new ge(C,nt)));if(f.length===0&&he.length===0)return w(new ge(C,[]));let De=Le(t)===a;return this.processSegment(d,f,P,he,De?V:a,!0,C).pipe(j(nt=>new ge(C,nt instanceof ge?[nt]:[])))}))):Mt(s)))}getChildConfig(e,s,t){return s.children?w({routes:s.children,injector:e}):s.loadChildren?s._loadedRoutes!==void 0?w({routes:s._loadedRoutes,injector:s._loadedInjector}):c0(e,s,t,this.urlSerializer).pipe(oe(n=>n?this.configLoader.loadChildren(e,s).pipe(te(a=>{s._loadedRoutes=a.routes,s._loadedInjector=a.injector})):d0(s))):w({routes:[],injector:e})}};function T0(i){i.sort((e,s)=>e.value.outlet===V?-1:s.value.outlet===V?1:e.value.outlet.localeCompare(s.value.outlet))}function A0(i){let e=i.value.routeConfig;return e&&e.path===""}function tu(i){let e=[],s=new Set;for(let t of i){if(!A0(t)){e.push(t);continue}let n=e.find(a=>t.value.routeConfig===a.value.routeConfig);n!==void 0?(n.children.push(...t.children),s.add(n)):e.push(t)}for(let t of s){let n=tu(t.children);e.push(new ge(t.value,n))}return e.filter(t=>!s.has(t))}function wo(i){return i.data||{}}function Bo(i){return i.resolve||{}}function L0(i,e,s,t,n,a){return oe(l=>b0(i,e,s,t,l.extractedUrl,n,a).pipe(j(({state:o,tree:u})=>F(S({},l),{targetSnapshot:o,urlAfterRedirects:u}))))}function y0(i,e){return oe(s=>{let{targetSnapshot:t,guards:{canActivateChecks:n}}=s;if(!n.length)return w(s);let a=new Set(n.map(u=>u.route)),l=new Set;for(let u of a)if(!l.has(u))for(let f of iu(u))l.add(f);let o=0;return ae(l).pipe(Rt(u=>a.has(u)?w0(u,t,i,e):(u.data=jn(u,u.parent,i).resolve,w(void 0))),te(()=>o++),nr(1),oe(u=>o===l.size?w(s):$e))})}function iu(i){let e=i.children.map(s=>iu(s)).flat();return[i,...e]}function w0(i,e,s,t){let n=i.routeConfig,a=i._resolve;return n?.title!==void 0&&!qo(n)&&(a[wi]=n.title),B0(a,i,e,t).pipe(j(l=>(i._resolvedData=l,i.data=jn(i,i.parent,s).resolve,null)))}function B0(i,e,s,t){let n=ps(i);if(n.length===0)return w({});let a={};return ae(n).pipe(oe(l=>M0(i[l],e,s,t).pipe(We(),te(o=>{if(o instanceof Ai)throw Gn(new Kt,o);a[l]=o}))),nr(1),ra(a),xt(l=>Jo(l)?$e:jt(l)))}function M0(i,e,s,t){let n=Mi(e)??t,a=Ft(i,n),l=a.resolve?a.resolve(e,s):Me(n,()=>a(e,s));return it(l)}function cs(i){return Ce(e=>{let s=i(e);return s?ae(s).pipe(j(()=>e)):w(e)})}var nu=(()=>{let e=class e{buildTitle(t){let n,a=t.root;for(;a!==void 0;)n=this.getResolvedTitleForRoute(a)??n,a=a.children.find(l=>l.outlet===V);return n}getResolvedTitleForRoute(t){return t.data[wi]}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:()=>U(U0),providedIn:"root"});let i=e;return i})(),U0=(()=>{let e=class e extends nu{constructor(t){super(),this.title=t}updateTitle(t){let n=this.buildTitle(t);n!==void 0&&this.title.setTitle(n)}};e.\u0275fac=function(n){return new(n||e)(M(Na))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Vi=new $("",{providedIn:"root",factory:()=>({})}),O0=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Se({type:e,selectors:[["ng-component"]],standalone:!0,features:[fr],decls:1,vars:0,template:function(n,a){n&1&&L(0,"router-outlet")},dependencies:[Is],encapsulation:2});let i=e;return i})();function Fs(i){let e=i.children&&i.children.map(Fs),s=e?F(S({},i),{children:e}):S({},i);return!s.component&&!s.loadComponent&&(e||s.loadChildren)&&s.outlet&&s.outlet!==V&&(s.component=O0),s}var zn=new $(""),js=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=U(Yi)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return w(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);let n=it(t.loadComponent()).pipe(j(ru),te(l=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=l}),Ii(()=>{this.componentLoaders.delete(t)})),a=new Qn(n,()=>new Y).pipe(Zn());return this.componentLoaders.set(t,a),a}loadChildren(t,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return w({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);let l=V0(n,this.compiler,t,this.onLoadEndListener).pipe(Ii(()=>{this.childrenLoaders.delete(n)})),o=new Qn(l,()=>new Y).pipe(Zn());return this.childrenLoaders.set(n,o),o}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function V0(i,e,s,t){return it(i.loadChildren()).pipe(j(ru),oe(n=>n instanceof xa||Array.isArray(n)?w(n):ae(e.compileModuleAsync(n))),j(n=>{t&&t(i);let a,l,o=!1;return Array.isArray(n)?(l=n,o=!0):(a=n.create(s).injector,l=a.get(zn,[],{optional:!0,self:!0}).flat()),{routes:l.map(Fs),injector:a}}))}function P0(i){return i&&typeof i=="object"&&"default"in i}function ru(i){return P0(i)?i.default:i}var Xs=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:()=>U(D0),providedIn:"root"});let i=e;return i})(),D0=(()=>{let e=class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,n){return t}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),su=new $(""),au=new $("");function K0(i,e,s){let t=i.get(au),n=i.get(ce);return i.get(ue).runOutsideAngular(()=>{if(!n.startViewTransition||t.skipNextTransition)return t.skipNextTransition=!1,new Promise(f=>setTimeout(f));let a,l=new Promise(f=>{a=f}),o=n.startViewTransition(()=>(a(),N0(i))),{onViewTransitionCreated:u}=t;return u&&Me(i,()=>u({transition:o,from:e,to:s})),l})}function N0(i){return new Promise(e=>{Fi({read:()=>setTimeout(e)},{injector:i})})}var I0=new $(""),Gs=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Y,this.transitionAbortSubject=new Y,this.configLoader=U(js),this.environmentInjector=U(rt),this.urlSerializer=U(Bi),this.rootContexts=U(Ui),this.location=U(at),this.inputBindingEnabled=U(qn,{optional:!0})!==null,this.titleStrategy=U(nu),this.options=U(Vi,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=U(Xs),this.createViewTransition=U(su,{optional:!0}),this.navigationErrorHandler=U(I0,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>w(void 0),this.rootComponentType=null;let t=a=>this.events.next(new Cs(a)),n=a=>this.events.next(new vs(a));this.configLoader.onLoadEndListener=n,this.configLoader.onLoadStartListener=t}complete(){this.transitions?.complete()}handleNavigationRequest(t){let n=++this.navigationId;this.transitions?.next(F(S(S({},this.transitions.value),t),{id:n}))}setupNavigations(t,n,a){return this.transitions=new Re({id:0,currentUrlTree:n,currentRawUrl:n,extractedUrl:this.urlHandlingStrategy.extract(n),urlAfterRedirects:this.urlHandlingStrategy.extract(n),rawUrl:n,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Ri,restoredState:null,currentSnapshot:a.snapshot,targetSnapshot:null,currentRouterState:a,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(pe(l=>l.id!==0),j(l=>F(S({},l),{extractedUrl:this.urlHandlingStrategy.extract(l.rawUrl)})),Ce(l=>{let o=!1,u=!1;return w(l).pipe(Ce(f=>{if(this.navigationId>l.id)return this.cancelNavigationTransition(l,"",xe.SupersededByNewNavigation),$e;this.currentTransition=l,this.currentNavigation={id:f.id,initialUrl:f.rawUrl,extractedUrl:f.extractedUrl,targetBrowserUrl:typeof f.extras.browserUrl=="string"?this.urlSerializer.parse(f.extras.browserUrl):f.extras.browserUrl,trigger:f.source,extras:f.extras,previousNavigation:this.lastSuccessfulNavigation?F(S({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let d=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),h=f.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!d&&h!=="reload"){let m="";return this.events.next(new tt(f.id,this.urlSerializer.serialize(f.rawUrl),m,Kn.IgnoredSameUrlNavigation)),f.resolve(!1),$e}if(this.urlHandlingStrategy.shouldProcessUrl(f.rawUrl))return w(f).pipe(Ce(m=>{let R=this.transitions?.getValue();return this.events.next(new Nt(m.id,this.urlSerializer.serialize(m.extractedUrl),m.source,m.restoredState)),R!==this.transitions?.getValue()?$e:Promise.resolve(m)}),L0(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),te(m=>{l.targetSnapshot=m.targetSnapshot,l.urlAfterRedirects=m.urlAfterRedirects,this.currentNavigation=F(S({},this.currentNavigation),{finalUrl:m.urlAfterRedirects});let R=new Nn(m.id,this.urlSerializer.serialize(m.extractedUrl),this.urlSerializer.serialize(m.urlAfterRedirects),m.targetSnapshot);this.events.next(R)}));if(d&&this.urlHandlingStrategy.shouldProcessUrl(f.currentRawUrl)){let{id:m,extractedUrl:R,source:C,restoredState:B,extras:P}=f,he=new Nt(m,this.urlSerializer.serialize(R),C,B);this.events.next(he);let De=$o(this.rootComponentType).snapshot;return this.currentTransition=l=F(S({},f),{targetSnapshot:De,urlAfterRedirects:R,extras:F(S({},P),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=R,w(l)}else{let m="";return this.events.next(new tt(f.id,this.urlSerializer.serialize(f.extractedUrl),m,Kn.IgnoredByUrlHandlingStrategy)),f.resolve(!1),$e}}),te(f=>{let d=new ms(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(d)}),j(f=>(this.currentTransition=l=F(S({},f),{guards:zh(f.targetSnapshot,f.currentSnapshot,this.rootContexts)}),l)),n0(this.environmentInjector,f=>this.events.next(f)),te(f=>{if(l.guardsResult=f.guardsResult,f.guardsResult&&typeof f.guardsResult!="boolean")throw Gn(this.urlSerializer,f.guardsResult);let d=new gs(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot,!!f.guardsResult);this.events.next(d)}),pe(f=>f.guardsResult?!0:(this.cancelNavigationTransition(f,"",xe.GuardRejected),!1)),cs(f=>{if(f.guards.canActivateChecks.length)return w(f).pipe(te(d=>{let h=new xs(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(h)}),Ce(d=>{let h=!1;return w(d).pipe(y0(this.paramsInheritanceStrategy,this.environmentInjector),te({next:()=>h=!0,complete:()=>{h||this.cancelNavigationTransition(d,"",xe.NoDataFromResolver)}}))}),te(d=>{let h=new Rs(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(h)}))}),cs(f=>{let d=h=>{let m=[];h.routeConfig?.loadComponent&&!h.routeConfig._loadedComponent&&m.push(this.configLoader.loadComponent(h.routeConfig).pipe(te(R=>{h.component=R}),j(()=>{})));for(let R of h.children)m.push(...d(R));return m};return Ki(d(f.targetSnapshot.root)).pipe(ir(null),Ct(1))}),cs(()=>this.afterPreactivation()),Ce(()=>{let{currentSnapshot:f,targetSnapshot:d}=l,h=this.createViewTransition?.(this.environmentInjector,f.root,d.root);return h?ae(h).pipe(j(()=>l)):w(l)}),j(f=>{let d=Fh(t.routeReuseStrategy,f.targetSnapshot,f.currentRouterState);return this.currentTransition=l=F(S({},f),{targetRouterState:d}),this.currentNavigation.targetRouterState=d,l}),te(()=>{this.events.next(new Si)}),Hh(this.rootContexts,t.routeReuseStrategy,f=>this.events.next(f),this.inputBindingEnabled),Ct(1),te({next:f=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new ye(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects))),this.titleStrategy?.updateTitle(f.targetRouterState.snapshot),f.resolve(!0)},complete:()=>{o=!0}}),Gt(this.transitionAbortSubject.pipe(te(f=>{throw f}))),Ii(()=>{!o&&!u&&this.cancelNavigationTransition(l,"",xe.SupersededByNewNavigation),this.currentTransition?.id===l.id&&(this.currentNavigation=null,this.currentTransition=null)}),xt(f=>{if(u=!0,Qo(f))this.events.next(new Ge(l.id,this.urlSerializer.serialize(l.extractedUrl),f.message,f.cancellationCode)),Gh(f)?this.events.next(new It(f.url,f.navigationBehaviorOptions)):l.resolve(!1);else{let d=new bi(l.id,this.urlSerializer.serialize(l.extractedUrl),f,l.targetSnapshot??void 0);try{let h=Me(this.environmentInjector,()=>this.navigationErrorHandler?.(d));if(h instanceof Ai){let{message:m,cancellationCode:R}=Gn(this.urlSerializer,h);this.events.next(new Ge(l.id,this.urlSerializer.serialize(l.extractedUrl),m,R)),this.events.next(new It(h.redirectTo,h.navigationBehaviorOptions))}else{this.events.next(d);let m=t.errorHandler(f);l.resolve(!!m)}}catch(h){this.options.resolveNavigationPromiseOnError?l.resolve(!1):l.reject(h)}}return $e}))}))}cancelNavigationTransition(t,n,a){let l=new Ge(t.id,this.urlSerializer.serialize(t.extractedUrl),n,a);this.events.next(l),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let t=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),n=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return t.toString()!==n?.toString()&&!this.currentNavigation?.extras.skipLocationChange}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function k0(i){return i!==Ri}var F0=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:()=>U(j0),providedIn:"root"});let i=e;return i})(),Ks=class{shouldDetach(e){return!1}store(e,s){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,s){return e.routeConfig===s.routeConfig}},j0=(()=>{let e=class e extends Ks{};e.\u0275fac=(()=>{let t;return function(a){return(t||(t=Te(e)))(a||e)}})(),e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),lu=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:()=>U(X0),providedIn:"root"});let i=e;return i})(),X0=(()=>{let e=class e extends lu{constructor(){super(...arguments),this.location=U(at),this.urlSerializer=U(Bi),this.options=U(Vi,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=U(Xs),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new He,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=$o(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(n=>{n.type==="popstate"&&t(n.url,n.state)})}handleRouterEvent(t,n){if(t instanceof Nt)this.stateMemento=this.createStateMemento();else if(t instanceof tt)this.rawUrlTree=n.initialUrl;else if(t instanceof Nn){if(this.urlUpdateStrategy==="eager"&&!n.extras.skipLocationChange){let a=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl);this.setBrowserUrl(n.targetBrowserUrl??a,n)}}else t instanceof Si?(this.currentUrlTree=n.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl),this.routerState=n.targetRouterState,this.urlUpdateStrategy==="deferred"&&!n.extras.skipLocationChange&&this.setBrowserUrl(n.targetBrowserUrl??this.rawUrlTree,n)):t instanceof Ge&&(t.code===xe.GuardRejected||t.code===xe.NoDataFromResolver)?this.restoreHistory(n):t instanceof bi?this.restoreHistory(n,!0):t instanceof ye&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,n){let a=t instanceof He?this.urlSerializer.serialize(t):t;if(this.location.isCurrentPathEqualTo(a)||n.extras.replaceUrl){let l=this.browserPageId,o=S(S({},n.extras.state),this.generateNgRouterState(n.id,l));this.location.replaceState(a,"",o)}else{let l=S(S({},n.extras.state),this.generateNgRouterState(n.id,this.browserPageId+1));this.location.go(a,"",l)}}restoreHistory(t,n=!1){if(this.canceledNavigationResolution==="computed"){let a=this.browserPageId,l=this.currentPageId-a;l!==0?this.location.historyGo(l):this.currentUrlTree===t.finalUrl&&l===0&&(this.resetState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(n&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,n){return this.canceledNavigationResolution==="computed"?{navigationId:t,\u0275routerPageId:n}:{navigationId:t}}};e.\u0275fac=(()=>{let t;return function(a){return(t||(t=Te(e)))(a||e)}})(),e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),gi=function(i){return i[i.COMPLETE=0]="COMPLETE",i[i.FAILED=1]="FAILED",i[i.REDIRECTING=2]="REDIRECTING",i}(gi||{});function ou(i,e){i.events.pipe(pe(s=>s instanceof ye||s instanceof Ge||s instanceof bi||s instanceof tt),j(s=>s instanceof ye||s instanceof tt?gi.COMPLETE:(s instanceof Ge?s.code===xe.Redirect||s.code===xe.SupersededByNewNavigation:!1)?gi.REDIRECTING:gi.FAILED),pe(s=>s!==gi.REDIRECTING),Ct(1)).subscribe(()=>{e()})}function G0(i){throw i}var H0={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},z0={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},ze=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=U(Ta),this.stateManager=U(lu),this.options=U(Vi,{optional:!0})||{},this.pendingTasks=U(ha),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=U(Gs),this.urlSerializer=U(Bi),this.location=U(at),this.urlHandlingStrategy=U(Xs),this._events=new Y,this.errorHandler=this.options.errorHandler||G0,this.navigated=!1,this.routeReuseStrategy=U(F0),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=U(zn,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!U(qn,{optional:!0}),this.eventsSubscription=new we,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(n=>{try{let a=this.navigationTransitions.currentTransition,l=this.navigationTransitions.currentNavigation;if(a!==null&&l!==null){if(this.stateManager.handleRouterEvent(n,l),n instanceof Ge&&n.code!==xe.Redirect&&n.code!==xe.SupersededByNewNavigation)this.navigated=!0;else if(n instanceof ye)this.navigated=!0;else if(n instanceof It){let o=n.navigationBehaviorOptions,u=this.urlHandlingStrategy.merge(n.url,a.currentRawUrl),f=S({browserUrl:a.extras.browserUrl,info:a.extras.info,skipLocationChange:a.extras.skipLocationChange,replaceUrl:a.extras.replaceUrl||this.urlUpdateStrategy==="eager"||k0(a.source)},o);this.scheduleNavigation(u,Ri,null,f,{resolve:a.resolve,reject:a.reject,promise:a.promise})}}W0(n)&&this._events.next(n)}catch(a){this.navigationTransitions.transitionAbortSubject.next(a)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Ri,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,n)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(t,"popstate",n)},0)})}navigateToSyncWithBrowser(t,n,a){let l={replaceUrl:!0},o=a?.navigationId?a:null;if(a){let f=S({},a);delete f.navigationId,delete f.\u0275routerPageId,Object.keys(f).length!==0&&(l.state=f)}let u=this.parseUrl(t);this.scheduleNavigation(u,n,o,l)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(Fs),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,n={}){let{relativeTo:a,queryParams:l,fragment:o,queryParamsHandling:u,preserveFragment:f}=n,d=f?this.currentUrlTree.fragment:o,h=null;switch(u){case"merge":h=S(S({},this.currentUrlTree.queryParams),l);break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=l||null}h!==null&&(h=this.removeEmptyProps(h));let m;try{let R=a?a.snapshot:this.routerState.snapshot.root;m=Xo(R)}catch{(typeof t[0]!="string"||t[0][0]!=="/")&&(t=[]),m=this.currentUrlTree.root}return Go(m,t,h,d??null)}navigateByUrl(t,n={skipLocationChange:!1}){let a=Et(t)?t:this.parseUrl(t),l=this.urlHandlingStrategy.merge(a,this.rawUrlTree);return this.scheduleNavigation(l,Ri,null,n)}navigate(t,n={skipLocationChange:!1}){return $0(t),this.navigateByUrl(this.createUrlTree(t,n),n)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,n){let a;if(n===!0?a=S({},H0):n===!1?a=S({},z0):a=n,Et(t))return bo(this.currentUrlTree,t,a);let l=this.parseUrl(t);return bo(this.currentUrlTree,l,a)}removeEmptyProps(t){return Object.entries(t).reduce((n,[a,l])=>(l!=null&&(n[a]=l),n),{})}scheduleNavigation(t,n,a,l,o){if(this.disposed)return Promise.resolve(!1);let u,f,d;o?(u=o.resolve,f=o.reject,d=o.promise):d=new Promise((m,R)=>{u=m,f=R});let h=this.pendingTasks.add();return ou(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(h))}),this.navigationTransitions.handleNavigationRequest({source:n,restoredState:a,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:l,resolve:u,reject:f,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(m=>Promise.reject(m))}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function $0(i){for(let e=0;e{let e=class e{constructor(t,n,a,l,o,u){this.router=t,this.route=n,this.tabIndexAttribute=a,this.renderer=l,this.el=o,this.locationStrategy=u,this.href=null,this.onChanges=new Y,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;let f=o.nativeElement.tagName?.toLowerCase();this.isAnchorElement=f==="a"||f==="area",this.isAnchorElement?this.subscription=t.events.subscribe(d=>{d instanceof ye&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(t){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(t){t==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(Et(t)?this.routerLinkInput=t:this.routerLinkInput=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0"))}onClick(t,n,a,l,o){let u=this.urlTree;if(u===null||this.isAnchorElement&&(t!==0||n||a||l||o||typeof this.target=="string"&&this.target!="_self"))return!0;let f={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(u,f),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let t=this.urlTree;this.href=t!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(t)):null;let n=this.href===null?null:_a(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(t,n){let a=this.renderer,l=this.el.nativeElement;n!==null?a.setAttribute(l,t,n):a.removeAttribute(l,t)}get urlTree(){return this.routerLinkInput===null?null:Et(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(n){return new(n||e)(A(ze),A(mt),ki("tabindex"),A(Ye),A(ee),A(qt))},e.\u0275dir=I({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(n,a){n&1&&b("click",function(o){return a.onClick(o.button,o.ctrlKey,o.shiftKey,o.altKey,o.metaKey)}),n&2&&Ue("target",a.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",H],skipLocationChange:[2,"skipLocationChange","skipLocationChange",H],replaceUrl:[2,"replaceUrl","replaceUrl",H],routerLink:"routerLink"},standalone:!0,features:[st,de]});let i=e;return i})(),uu=(()=>{let e=class e{get isActive(){return this._isActive}constructor(t,n,a,l,o){this.router=t,this.element=n,this.renderer=a,this.cdr=l,this.link=o,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new K,this.routerEventsSubscription=t.events.subscribe(u=>{u instanceof ye&&this.update()})}ngAfterContentInit(){w(this.links.changes,w(null)).pipe(Xt()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let t=[...this.links.toArray(),this.link].filter(n=>!!n).map(n=>n.onChanges);this.linkInputChangesSubscription=ae(t).pipe(Xt()).subscribe(n=>{this._isActive!==this.isLinkActive(this.router)(n)&&this.update()})}set routerLinkActive(t){let n=Array.isArray(t)?t:t.split(" ");this.classes=n.filter(a=>!!a)}ngOnChanges(t){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let t=this.hasActiveLinks();this.classes.forEach(n=>{t?this.renderer.addClass(this.element.nativeElement,n):this.renderer.removeClass(this.element.nativeElement,n)}),t&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==t&&(this._isActive=t,this.cdr.markForCheck(),this.isActiveChange.emit(t))})}isLinkActive(t){let n=q0(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return a=>{let l=a.urlTree;return l?t.isActive(l,n):!1}}hasActiveLinks(){let t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.links.some(t)}};e.\u0275fac=function(n){return new(n||e)(A(ze),A(ee),A(Ye),A(Ie),A($n,8))},e.\u0275dir=I({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(n,a,l){if(n&1&&Ca(l,$n,5),n&2){let o;Oe(o=Ve())&&(a.links=o)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[de]});let i=e;return i})();function q0(i){return!!i.paths}var Wn=class{};var Y0=(()=>{let e=class e{constructor(t,n,a,l,o){this.router=t,this.injector=a,this.preloadingStrategy=l,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(pe(t=>t instanceof ye),Rt(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,n){let a=[];for(let l of n){l.providers&&!l._injector&&(l._injector=lr(l.providers,t,`Route: ${l.path}`));let o=l._injector??t,u=l._loadedInjector??o;(l.loadChildren&&!l._loadedRoutes&&l.canLoad===void 0||l.loadComponent&&!l._loadedComponent)&&a.push(this.preloadConfig(o,l)),(l.children||l._loadedRoutes)&&a.push(this.processRoutes(u,l.children??l._loadedRoutes))}return ae(a).pipe(Xt())}preloadConfig(t,n){return this.preloadingStrategy.preload(n,()=>{let a;n.loadChildren&&n.canLoad===void 0?a=this.loader.loadChildren(t,n):a=w(null);let l=a.pipe(oe(o=>o===null?w(void 0):(n._loadedRoutes=o.routes,n._loadedInjector=o.injector,this.processRoutes(o.injector??t,o.routes))));if(n.loadComponent&&!n._loadedComponent){let o=this.loader.loadComponent(n);return ae([l,o]).pipe(Xt())}else return l})}};e.\u0275fac=function(n){return new(n||e)(M(ze),M(Yi),M(rt),M(Wn),M(js))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),fu=new $(""),Z0=(()=>{let e=class e{constructor(t,n,a,l,o={}){this.urlSerializer=t,this.transitions=n,this.viewportScroller=a,this.zone=l,this.options=o,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},o.scrollPositionRestoration||="disabled",o.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof Nt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof ye?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof tt&&t.code===Kn.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof In&&(t.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(t.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,n){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new In(t,this.lastSource==="popstate"?this.store[this.restoredId]:null,n))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(n){ma()},e.\u0275prov=N({token:e,factory:e.\u0275fac});let i=e;return i})();function Q0(i){return i.routerState.root}function Pi(i,e){return{\u0275kind:i,\u0275providers:e}}function J0(){let i=U(qe);return e=>{let s=i.get(qi);if(e!==s.components[0])return;let t=i.get(ze),n=i.get(cu);i.get(Hs)===1&&t.initialNavigation(),i.get(hu,null,sr.Optional)?.setUpPreloading(),i.get(fu,null,sr.Optional)?.init(),t.resetRootComponentType(s.componentTypes[0]),n.closed||(n.next(),n.complete(),n.unsubscribe())}}var cu=new $("",{factory:()=>new Y}),Hs=new $("",{providedIn:"root",factory:()=>1});function ep(){return Pi(2,[{provide:Hs,useValue:0},{provide:cr,multi:!0,deps:[qe],useFactory:e=>{let s=e.get(ya,Promise.resolve());return()=>s.then(()=>new Promise(t=>{let n=e.get(ze),a=e.get(cu);ou(n,()=>{t(!0)}),e.get(Gs).afterPreactivation=()=>(t(!0),a.closed?w(void 0):a),n.initialNavigation()}))}}])}function tp(){return Pi(3,[{provide:cr,multi:!0,useFactory:()=>{let e=U(ze);return()=>{e.setUpLocationChangeListener()}}},{provide:Hs,useValue:2}])}var hu=new $("");function ip(i){return Pi(0,[{provide:hu,useExisting:Y0},{provide:Wn,useExisting:i}])}function np(){return Pi(8,[Lo,{provide:qn,useExisting:Lo}])}function rp(i){let e=[{provide:su,useValue:K0},{provide:au,useValue:S({skipNextTransition:!!i?.skipInitialTransition},i)}];return Pi(9,e)}var Mo=new $("ROUTER_FORROOT_GUARD"),sp=[at,{provide:Bi,useClass:Kt},ze,Ui,{provide:mt,useFactory:Q0,deps:[ze]},js,[]],zs=(()=>{let e=class e{constructor(t){}static forRoot(t,n){return{ngModule:e,providers:[sp,[],{provide:zn,multi:!0,useValue:t},{provide:Mo,useFactory:up,deps:[[ze,new fa,new ca]]},{provide:Vi,useValue:n||{}},n?.useHash?lp():op(),ap(),n?.preloadingStrategy?ip(n.preloadingStrategy).\u0275providers:[],n?.initialNavigation?fp(n):[],n?.bindToComponentInputs?np().\u0275providers:[],n?.enableViewTransitions?rp().\u0275providers:[],cp()]}}static forChild(t){return{ngModule:e,providers:[{provide:zn,multi:!0,useValue:t}]}}};e.\u0275fac=function(n){return new(n||e)(M(Mo,8))},e.\u0275mod=W({type:e}),e.\u0275inj=z({});let i=e;return i})();function ap(){return{provide:fu,useFactory:()=>{let i=U(Pa),e=U(ue),s=U(Vi),t=U(Gs),n=U(Bi);return s.scrollOffset&&i.setOffset(s.scrollOffset),new Z0(n,t,i,e,s)}}}function lp(){return{provide:qt,useClass:Ba}}function op(){return{provide:qt,useClass:wa}}function up(i){return"guarded"}function fp(i){return[i.initialNavigation==="disabled"?tp().\u0275providers:[],i.initialNavigation==="enabledBlocking"?ep().\u0275providers:[]]}var Uo=new $("");function cp(){return[{provide:Uo,useFactory:J0},{provide:Aa,multi:!0,useExisting:Uo}]}var pu=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Se({type:e,selectors:[["app-root"]],decls:11,vars:0,consts:[["href","https://github.com/Harvest-Dev/ng-select2/tree/master/src","target","_blank"],["routerLink","/examples","routerLinkActive","active"],["routerLink","/generator","routerLinkActive","active"]],template:function(n,a){n&1&&(p(0,"a",0),_(1,"the source code of the demo"),c(),p(2,"nav")(3,"ul")(4,"li")(5,"a",1),_(6,"Examples"),c()(),p(7,"li")(8,"a",2),_(9,"Code generator"),c()()()(),L(10,"router-outlet"))},dependencies:[Is,$n,uu],styles:[`.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:#00000052}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{color:#24292e;background:#fff}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#d73a49}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#6f42c1}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-variable,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id{color:#005cc5}.hljs-regexp,.hljs-string,.hljs-meta .hljs-string{color:#032f62}.hljs-built_in,.hljs-symbol{color:#e36209}.hljs-comment,.hljs-code,.hljs-formula{color:#6a737d}.hljs-name,.hljs-quote,.hljs-selector-tag,.hljs-selector-pseudo{color:#22863a}.hljs-subst{color:#24292e}.hljs-section{color:#005cc5;font-weight:700}.hljs-bullet{color:#735c0f}.hljs-emphasis{color:#24292e;font-style:italic}.hljs-strong{color:#24292e;font-weight:700}.hljs-addition{color:#22863a;background-color:#f0fff4}.hljs-deletion{color:#b31d28;background-color:#ffeef0}:root{--select2-single-height: 28px;--select2-multiple-height: 28px;--select2-label-text-color: #000;--select2-required-color: red;--select2-selection-border-radius: 4px;--select2-selection-background: #fff;--select2-selection-disabled-background: #eee;--select2-selection-border-color: #aaa;--select2-selection-focus-border-color: #000;--select2-selection-text-color: #111;--select2-selection-line-height: 28px;--select2-selection-padding: 0 0 0 8px;--select2-selection-multiple-gap: 2px 5px;--select2-selection-multiple-padding: 2px 5px;--select2-selection-choice-background: #e4e4e4;--select2-selection-choice-text-color: #000;--select2-selection-choice-border-color: #aaa;--select2-selection-choice-close-color: #999;--select2-selection-choice-hover-close-color: #333;--select2-placeholder-color: #999;--select2-placeholder-overflow: ellipsis;--select2-no-result-color: #888;--select2-no-result-font-style: italic;--select2-too-much-result-color: #888;--select2-too-much-result-style: italic;--select2-reset-color: #999;--select2-arrow-color: #888;--select2-dropdown-background: #fff;--select2-dropdown-border-color: #aaa;--select2-overlay-backdrop: transparent;--select2-search-border-color: #aaa;--select2-search-background: #fff;--select2-search-border-radius: 0px;--select2-option-text-color: #000;--select2-option-disabled-text-color: #999;--select2-option-disabled-background: transparent;--select2-option-selected-text-color: #000;--select2-option-selected-background: #ddd;--select2-option-highlighted-text-color: #fff;--select2-option-highlighted-background: #5897fb;--select2-option-group-text-color: gray;--select2-option-group-background: transparent;--select2-option-padding: 6px;--select2-hint-text-color: #888;--select2-material-underline: #ddd;--select2-material-underline-active: #5a419e;--select2-material-underline-disabled: linear-gradient( to right, rgba(0, 0, 0, .26) 0, rgba(0, 0, 0, .26) 33%, transparent 0 );--select2-material-underline-invalid: red;--select2-material-placeholder-color: rgba(0, 0, 0, .38);--select2-material-selection-background: #ddd;--select2-material-option-selected-background: rgba(0, 0, 0, .04);--select2-material-option-highlighted-text-color: #000;--select2-material-option-selected-text-color: #ff5722}nav ul{display:block}nav li{display:inline-block;padding:0 15px} +/*! Bundled license information: + +highlight.js/styles/github.css: + (*! + Theme: GitHub + Description: Light theme as seen on github.com + Author: github.com + Maintainer: @Hirse + Updated: 2021-05-15 + + Outdated base version: https://github.com/primer/github-syntax-light + Current colors taken from GitHub's CSS + *) +*/ +`],encapsulation:2});let i=e;return i})();var pp=[{path:"examples",component:as},{path:"generator",component:vo},{path:"**",component:as}],du=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=W({type:e}),e.\u0275inj=z({imports:[zs.forRoot(pp),zs]});let i=e;return i})();var _u=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=W({type:e,bootstrap:[pu]}),e.\u0275inj=z({providers:[{provide:Ia,useValue:{coreLibraryLoader:()=>import("./chunk-F3DQSGUR.js"),lineNumbersLoader:()=>import("./chunk-NRII47LB.js"),languages:{typescript:()=>import("./chunk-IFHAGN7F.js"),javascript:()=>import("./chunk-R3Y2WNBP.js"),css:()=>import("./chunk-EUXCH4QR.js"),xml:()=>import("./chunk-42FKKDAP.js")}}}],imports:[Ka,du,li,eo,Fa]});let i=e;return i})();var Eu={production:!0};Eu.production&&void 0;Da().bootstrapModule(_u).catch(i=>console.log(i));