PageSourceSearch

https://app.leadgenic.ru/chunk-CNCCU4LT.js

js leadgenic.ru collected 2026-10-04 00:18:53 UTC 61,303 bytes, 2 lines download raw bytes

1import{$ as v,$a as a,A as me,Aa as S,Ab as xe,B as ge,Bb as Oe,Da as C,Dc as Ve,E as _e,Ea as w,Fa as ye,Ja as X,Kb as B,Lb as Le,N as fe,Ob as ke,P as V,Pb as Ne,Q as Ee,Qb as re,Ra as c,Sa as m,Sb as oe,Ta as g,U as Te,Ua as R,V as K,Va as P,W as ve,Wa as M,X as Ce,Xa as ne,Ya as H,Yb as Be,_ as T,_a as N,a as ce,ab as se,bb as le,cb as y,da as be,db as j,eb as _,fa as G,fb as f,gb as A,ha as ie,ia as x,ib as O,j as z,lb as L,m as de,mb as U,nb as Ie,o as he,ra as o,sa as d,tb as Fe,v as pe,va as we,wa as h,wb as Ae,y as W,ya as J,yb as Q,z as Z,za as Se,zb as De}from"./chunk-UPWIJIG3.js";var ze=["content"],We=["scroll"],Ge=["padding"],Re=["*"],q=i=>({searchTerm:i});function $e(i,n){if(i&1&&(m(0,"div",6),ne(1,7),g()),i&2){let e=a();o(),c("ngTemplateOutlet",e.headerTemplate)("ngTemplateOutletContext",Q(2,q,e.filterValue))}}function qe(i,n){if(i&1&&(m(0,"div",8),ne(1,7),g()),i&2){let e=a();o(),c("ngTemplateOutlet",e.footerTemplate)("ngTemplateOutletContext",Q(2,q,e.filterValue))}}var Ye=["searchInput"],Ze=(i,n,e)=>({item:i,clear:n,label:e}),Ke=(i,n)=>({items:i,clear:n}),Je=(i,n,e,t)=>({item:i,item$:n,index:e,searchTerm:t});function Xe(i,n){if(i&1){let e=H();m(0,"span",21),N("click",function(){T(e);let s=a().$implicit,l=a(2);return v(l.unselect(s))}),L(1,"\xD7"),g(),R(2,"span",22)}if(i&2){let e=a().$implicit,t=a(2);o(2),c("ngItemLabel",e.label)("escape",t.escapeHTML)}}function et(i,n){}function tt(i,n){if(i&1&&(m(0,"div",19),C(1,Xe,3,2,"ng-template",null,1,B)(3,et,0,0,"ng-template",20),g()),i&2){let e=n.$implicit,t=A(2),s=a(2);O("ng-value-disabled",e.disabled),o(3),c("ngTemplateOutlet",s.labelTemplate||t)("ngTemplateOutletContext",xe(4,Ze,e.value,s.clearItem,e.label))}}function it(i,n){if(i&1&&(P(0),C(1,tt,4,8,"div",18),M()),i&2){let e=a();o(),c("ngForOf",e.selectedItems)("ngForTrackBy",e.trackByOption)}}function nt(i,n){}function st(i,n){if(i&1&&C(0,nt,0,0,"ng-template",20),i&2){let e=a();c("ngTemplateOutlet",e.multiLabelTemplate)("ngTemplateOutletContext",De(2,Ke,e.selectedValues,e.clearItem))}}function lt(i,n){i&1&&R(0,"div",24)}function rt(i,n){}function ot(i,n){if(i&1&&(P(0),C(1,lt,1,0,"ng-template",null,2,B)(3,rt,0,0,"ng-template",23),M()),i&2){let e=A(2),t=a();o(3),c("ngTemplateOutlet",t.loadingSpinnerTemplate||e)}}function at(i,n){if(i&1&&(m(0,"span",25)(1,"span",26),L(2,"\xD7"),g()()),i&2){let e=a();c("title",Fe(e.clearAllText))}}function ut(i,n){if(i&1&&R(0,"span",31),i&2){let e=a().$implicit,t=a(2);c("ngItemLabel",e.label)("escape",t.escapeHTML)}}function ct(i,n){}function dt(i,n){if(i&1){let e=H();m(0,"div",30),N("click",function(){let s=T(e).$implicit,l=a(2);return v(l.toggleItem(s))})("mouseover",function(){let s=T(e).$implicit,l=a(2);return v(l.onItemHover(s))}),C(1,ut,1,2,"ng-template",null,3,B)(3,ct,0,0,"ng-template",20),g()}if(i&2){let e=n.$implicit,t=A(2),s=a(2);O("ng-option-disabled",e.disabled)("ng-option-selected",e.selected)("ng-optgroup",e.children)("ng-option",!e.children)("ng-option-child",!!e.parent)("ng-option-marked",e===s.itemsList.markedItem),X("role",e.children?"group":"option")("aria-selected",e.selected)("id",e==null?null:e.htmlId),o(3),c("ngTemplateOutlet",e.children?s.optgroupTemplate||t:s.optionTemplate||t)("ngTemplateOutletContext",Oe(17,Je,e.value,e,e.index,s.searchTerm))}}function ht(i,n){if(i&1&&(m(0,"span")(1,"span",33),L(2),g(),L(3),g()),i&2){let e=a(3);o(2),U(e.addTagText),o(),Ie('"',e.searchTerm,'"')}}function pt(i,n){}function mt(i,n){if(i&1){let e=H();m(0,"div",32),N("mouseover",function(){T(e);let s=a(2);return v(s.itemsList.unmarkItem())})("click",function(){T(e);let s=a(2);return v(s.selectTag())}),C(1,ht,4,2,"ng-template",null,4,B)(3,pt,0,0,"ng-template",20),g()}if(i&2){let e=A(2),t=a(2);O("ng-option-marked",!t.itemsList.markedItem),o(3),c("ngTemplateOutlet",t.tagTemplate||e)("ngTemplateOutletContext",Q(4,q,t.searchTerm))}}function gt(i,n){if(i&1&&(m(0,"div",34),L(1),g()),i&2){let e=a(3);o(),U(e.notFoundText)}}function _t(i,n){}function ft(i,n){if(i&1&&(P(0),C(1,gt,2,1,"ng-template",null,5,B)(3,_t,0,0,"ng-template",20),M()),i&2){let e=A(2),t=a(2);o(3),c("ngTemplateOutlet",t.notFoundTemplate||e)("ngTemplateOutletContext",Q(2,q,t.searchTerm))}}
1function Et(i,n){if(i&1&&(m(0,"div",34),L(1),g()),i&2){let e=a(3);o(),U(e.typeToSearchText)}}function Tt(i,n){}function vt(i,n){if(i&1&&(P(0),C(1,Et,2,1,"ng-template",null,6,B)(3,Tt,0,0,"ng-template",23),M()),i&2){let e=A(2),t=a(2);o(3),c("ngTemplateOutlet",t.typeToSearchTemplate||e)}}function Ct(i,n){if(i&1&&(m(0,"div",34),L(1),g()),i&2){let e=a(3);o(),U(e.loadingText)}}function bt(i,n){}function wt(i,n){if(i&1&&(P(0),C(1,Ct,2,1,"ng-template",null,7,B)(3,bt,0,0,"ng-template",20),M()),i&2){let e=A(2),t=a(2);o(3),c("ngTemplateOutlet",t.loadingTextTemplate||e)("ngTemplateOutletContext",Q(2,q,t.searchTerm))}}function St(i,n){if(i&1){let e=H();m(0,"ng-dropdown-panel",27),N("update",function(s){T(e);let l=a();return v(l.viewPortItems=s)})("scroll",function(s){T(e);let l=a();return v(l.scroll.emit(s))})("scrollToEnd",function(s){T(e);let l=a();return v(l.scrollToEnd.emit(s))})("outsideClick",function(){T(e);let s=a();return v(s.close())}),P(1),C(2,dt,4,22,"div",28)(3,mt,4,6,"div",29),M(),C(4,ft,4,4,"ng-container",11)(5,vt,4,1,"ng-container",11)(6,wt,4,4,"ng-container",11),g()}if(i&2){let e=a();O("ng-select-multiple",e.multiple),c("virtualScroll",e.virtualScroll)("bufferAmount",e.bufferAmount)("appendTo",e.appendTo)("position",e.dropdownPosition)("headerTemplate",e.headerTemplate)("footerTemplate",e.footerTemplate)("filterValue",e.searchTerm)("items",e.itemsList.filteredItems)("markedItem",e.itemsList.markedItem)("ngClass",e.appendTo?e.classes:null)("id",e.dropdownId),o(2),c("ngForOf",e.viewPortItems)("ngForTrackBy",e.trackByOption),o(),c("ngIf",e.showAddTag),o(),c("ngIf",e.showNoItemsFound()),o(),c("ngIf",e.showTypeToSearch()),o(),c("ngIf",e.loading&&e.itemsList.filteredItems.length===0)}}var He=/[&<>"']/g,yt=RegExp(He.source),It={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function Ft(i){return i&&yt.test(i)?i.replace(He,n=>It[n]):i}function p(i){return i!=null}function $(i){return typeof i=="object"&&p(i)}function At(i){return i instanceof Promise}function te(i){return i instanceof Function}var Dt=(()=>{class i{constructor(e){this.element=e,this.escape=!0}ngOnChanges(e){this.element.nativeElement.innerHTML=this.escape?Ft(this.ngItemLabel):this.ngItemLabel}}return i.\u0275fac=function(e){return new(e||i)(h(x))},i.\u0275dir=S({type:i,selectors:[["","ngItemLabel",""]],inputs:{ngItemLabel:"ngItemLabel",escape:"escape"},standalone:!1,features:[G]}),i})(),xt=(()=>{class i{constructor(e){this.template=e}}
1return i.\u0275fac=function(e){return new(e||i)(h(d))},i.\u0275dir=S({type:i,selectors:[["","ng-option-tmp",""]],standalone:!1}),i})(),Ot=(()=>{class i{constructor(e){this.template=e}}return i.\u0275fac=function(e){return new(e||i)(h(d))},i.\u0275dir=S({type:i,selectors:[["","ng-optgroup-tmp",""]],standalone:!1}),i})(),Lt=(()=>{class i{constructor(e){this.template=e}}return i.\u0275fac=function(e){return new(e||i)(h(d))},i.\u0275dir=S({type:i,selectors:[["","ng-label-tmp",""]],standalone:!1}),i})(),kt=(()=>{class i{constructor(e){this.template=e}}return i.\u0275fac=function(e){return new(e||i)(h(d))},i.\u0275dir=S({type:i,selectors:[["","ng-multi-label-tmp",""]],standalone:!1}),i})(),Nt=(()=>{class i{constructor(e){this.template=e}}return i.\u0275fac=function(e){return new(e||i)(h(d))},i.\u0275dir=S({type:i,selectors:[["","ng-header-tmp",""]],standalone:!1}),i})(),Bt=(()=>{class i{constructor(e){this.template=e}}return i.\u0275fac=function(e){return new(e||i)(h(d))},i.\u0275dir=S({type:i,selectors:[["","ng-footer-tmp",""]],standalone:!1}),i})(),Vt=(()=>{class i{constructor(e){this.template=e}}
1return i.\u0275fac=function(e){return new(e||i)(h(d))},i.\u0275dir=S({type:i,selectors:[["","ng-notfound-tmp",""]],standalone:!1}),i})(),Pt=(()=>{class i{constructor(e){this.template=e}}return i.\u0275fac=function(e){return new(e||i)(h(d))},i.\u0275dir=S({type:i,selectors:[["","ng-typetosearch-tmp",""]],standalone:!1}),i})(),Mt=(()=>{class i{constructor(e){this.template=e}}return i.\u0275fac=function(e){return new(e||i)(h(d))},i.\u0275dir=S({type:i,selectors:[["","ng-loadingtext-tmp",""]],standalone:!1}),i})(),Rt=(()=>{class i{constructor(e){this.template=e}}return i.\u0275fac=function(e){return new(e||i)(h(d))},i.\u0275dir=S({type:i,selectors:[["","ng-tag-tmp",""]],standalone:!1}),i})(),Ht=(()=>{class i{constructor(e){this.template=e}}return i.\u0275fac=function(e){return new(e||i)(h(d))},i.\u0275dir=S({type:i,selectors:[["","ng-loadingspinner-tmp",""]],standalone:!1}),i})();function je(){return"axxxxxxxxxxx".replace(/[x]/g,()=>(Math.random()*16|0).toString(16))}var jt={"\u24B6":"A",\uFF21:"A",\u00C0:"A",\u00C1:"A",\u00C2:"A",\u1EA6:"A",\u1EA4:"A",\u1EAA:"A",\u1EA8:"A",\u00C3:"A",\u0100:"A",\u0102:"A",\u1EB0:"A",\u1EAE:"A",\u1EB4:"A",\u1EB2:"A",\u0226:"A",\u01E0:"A",\u00C4:"A",\u01DE:"A",\u1EA2:"A",\u00C5:"A",\u01FA:"A",\u01CD:"A",\u0200:"A",\u0202:"A",\u1EA0:"A",\u1EAC:"A",\u1EB6:"A",\u1E00:"A",\u0104:"A","\u023A":"A","\u2C6F":"A","\uA732":"AA",\u00C6:"AE",\u01FC:"AE",\u01E2:"AE","\uA734":"AO","\uA736":"AU","\uA738":"AV","\uA73A":"AV","\uA73C":"AY","\u24B7":"B",\uFF22:"B",\u1E02:"B",\u1E04:"B",\u1E06:"B","\u0243":"B",\u0182:"B",\u0181:"B","\u24B8":"C",\uFF23:"C",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u00C7:"C",\u1E08:"C",\u0187:"C","\u023B":"C","\uA73E":"C","\u24B9":"D",\uFF24:"D",\u1E0A:"D",\u010E:"D",\u1E0C:"D",\u1E10:"D",\u1E12:"D",\u1E0E:"D",\u0110:"D",\u018B:"D",\u018A:"D",\u0189:"D","\uA779":"D",\u01F1:"DZ",\u01C4:"DZ",\u01F2:"Dz",\u01C5:"Dz","\u24BA":"E",\uFF25:"E",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u1EC0:"E",\u1EBE:"E",\u1EC4:"E",\u1EC2:"E",\u1EBC:"E",\u0112:"E",\u1E14:"E",\u1E16:"E",\u0114:"E",\u0116:"E",\u00CB:"E",\u1EBA:"E",\u011A:"E",\u0204:"E",\u0206:"E",\u1EB8:"E",\u1EC6:"E",\u0228:"E",\u1E1C:"E",\u0118:"E",\u1E18:"E",\u1E1A:"E",\u0190:"E",\u018E:"E","\u24BB":"F",\uFF26:"F",\u1E1E:"F",\u0191:"F","\uA77B":"F","\u24BC":"G",\uFF27:"G",\u01F4:"G",\u011C:"G",\u1E20:"G",\u011E:"G",\u0120:"G",\u01E6:"G",\u0122:"G",\u01E4:"G",\u0193:"G","\uA7A0":"G","\uA77D":"G","\uA77E":"G","\u24BD":"H",\uFF28:"H",\u0124:"H",\u1E22:"H",\u1E26:"H",\u021E:"H",\u1E24:"H",\u1E28:"H",\u1E2A:"H",\u0126:"H","\u2C67":"H","\u2C75":"H","\uA78D":"H","\u24BE":"I",\uFF29:"I",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u0128:"I",\u012A:"I",\u012C:"I",\u0130:"I",\u00CF:"I",\u1E2E:"I",\u1EC8:"I",\u01CF:"I",\u0208:"I",\u020A:"I",\u1ECA:"I",\u012E:"I",\u1E2C:"I",\u0197:"I","\u24BF":"J",\uFF2A:"J",\u0134:"J","\u0248":"J","\u24C0":"K",\uFF2B:"K",\u1E30:"K",\u01E8:"K",\u1E32:"K",\u0136:"K",\u1E34:"K",\u0198:"K","\u2C69":"K","\uA740":"K","\uA742":"K","\uA744":"K","\uA7A2":"K","\u24C1":"L",\uFF2C:"L",\u013F:"L",\u0139:"L",\u013D:"L",\u1E36:"L",\u1E38:"L",\u013B:"L",\u1E3C:"L",\u1E3A:"L",\u0141:"L","\u023D":"L","\u2C62":"L","\u2C60":"L","\uA748":"L","\uA746":"L","\uA780":"L",\u01C7:"LJ",\u01C8:"Lj","\u24C2":"M",\uFF2D:"M",\u1E3E:"M",\u1E40:"M",\u1E42:"M","\u2C6E":"M",\u019C:"M","\u24C3":"N",\uFF2E:"N",\u01F8:"N",\u0143:"N",\u00D1:"N",\u1E44:"N",\u0147:"N",\u1E46:"N",\u0145:"N",\u1E4A:"N",\u1E48:"N","\u0220":"N",\u019D:"N","\uA790":"N","\uA7A4":"N",\u01CA:"NJ",\u01CB:"Nj","\u24C4":"O",\uFF2F:"O",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u1ED2:"O",\u1ED0:"O",\u1ED6:"O",\u1ED4:"O",\u00D5:"O",\u1E4C:"O",\u022C:"O",\u1E4E:"O",\u014C:"O",\u1E50:"O",\u1E52:"O",\u014E:"O",\u022E:"O",\u0230:"O",\u00D6:"O",\u022A:"O",\u1ECE:"O",\u0150:"O",\u01D1:"O",\u020C:"O",\u020E:"O",\u01A0:"O",\u1EDC:"O",\u1EDA:"O",\u1EE0:"O",\u1EDE:"O",\u1EE2:"O",\u1ECC:"O",\u1ED8:"O",\u01EA:"O",\u01EC:"O",\u00D8:"O",\u01FE:"O",\u0186:"O",\u019F:"O","\uA74A":"O","\uA74C":"O",\u01A2:"OI","\uA74E":"OO",\u0222:"OU","\u24C5":"P",\uFF30:"P",\u1E54:"P",\u1E56:"P",\u01A4:"P","\u2C63":"P","\uA750":"P","\uA752":"P","\uA754":"P","\u24C6":"Q",\uFF31:"Q","\uA756":"Q","\uA758":"Q","\u024A":"Q","\u24C7":"R",\uFF32:"R",\u0154:"R",\u1E58:"R",\u0158:"R",\u0210:"R",\u0212:"R",\u1E5A:"R",\u1E5C:"R",\u0156:"R",\u1E5E:"R","\u024C":"R","\u2C64":"R","\uA75A":"R","\uA7A6":"R","\uA782":"R","\u24C8":"S",\uFF33:"S","\u1E9E":"S",\u015A:"S",\u1E64:"S",\u015C:"S",\u1E60:"S",\u0160:"S",\u1E66:"S",\u1E62:"S",\u1E68:"S",\u0218:"S",\u015E:"S","\u2C7E":"S","\uA7A8":"S","\uA784":"S","\u24C9":"T",\uFF34:"T",\u1E6A:"T",\u0164:"T",\u1E6C:"T",\u021A:"T",\u0162:"T",\u1E70:"T",\u1E6E:"T",\u0166:"T",\u01AC:"T",\u01AE:"T","\u023E":"T","\uA786":"T","\uA728":"TZ","\u24CA":"U",\uFF35:"U",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u0168:"U",\u1E78:"U",\u016A:"U",\u1E7A:"U",\u016C:"U",\u00DC:"U",\u01DB:"U",\u01D7:"U",\u01D5:"U",\u01D9:"U",\u1EE6:"U",\u016E:"U",\u0170:"U",\u01D3:"U",\u0214:"U",\u0216:"U",\u01AF:"U",\u1EEA:"U",\u1EE8:"U",\u1EEE:"U",\u1EEC:"U",\u1EF0:"U",\u1EE4:"U",\u1E72:"U",\u0172:"U",\u1E76:"U",\u1E74:"U","\u0244":"U","\u24CB":"V",\uFF36:"V",\u1E7C:"V",\u1E7E:"V",\u01B2:"V","\uA75E":"V","\u0245":"V","\uA760":"VY","\u24CC":"W",\uFF37:"W",\u1E80:"W",\u1E82:"W",\u0174:"W",\u1E86:"W",\u1E84:"W",\u1E88:"W","\u2C72":"W","\u24CD":"X",\uFF38:"X",\u1E8A:"X",\u1E8C:"X","\u24CE":"Y",\uFF39:"Y",\u1EF2:"Y",\u00DD:"Y",\u0176:"Y",\u1EF8:"Y",\u0232:"Y",\u1E8E:"Y",\u0178:"Y",\u1EF6:"Y",\u1EF4:"Y",\u01B3:"Y","\u024E":"Y","\u1EFE":"Y","\u24CF":"Z",\uFF3A:"Z",\u0179:"Z",\u1E90:"Z",\u017B:"Z",\u017D:"Z",\u1E92:"Z",\u1E94:"Z",\u01B5:"Z",\u0224:"Z","\u2C7F":"Z","\u2C6B":"Z","\uA762":"Z","\u24D0":"a",\uFF41:"a",\u1E9A:"a",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u1EA7:"a",\u1EA5:"a",\u1EAB:"a",\u1EA9:"a",\u00E3:"a",\u0101:"a",\u0103:"a",\u1EB1:"a",\u1EAF:"a",\u1EB5:"a",\u1EB3:"a",\u0227:"a",\u01E1:"a",\u00E4:"a",\u01DF:"a",\u1EA3:"a",\u00E5:"a",\u01FB:"a",\u01CE:"a",\u0201:"a",\u0203:"a",\u1EA1:"a",\u1EAD:"a",\u1EB7:"a",\u1E01:"a",\u0105:"a","\u2C65":"a",\u0250:"a","\uA733":"aa",\u00E6:"ae",\u01FD:"ae",\u01E3:"ae","\uA735":"ao","\uA737":"au","\uA739":"av","\uA73B":"av","\uA73D":"ay","\u24D1":"b",\uFF42:"b",\u1E03:"b",\u1E05:"b",\u1E07:"b",\u0180:"b",\u0183:"b",\u0253:"b","\u24D2":"c",\uFF43:"c",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u00E7:"c",\u1E09:"c",\u0188:"c","\u023C":"c","\uA73F":"c","\u2184":"c","\u24D3":"d",\uFF44:"d",\u1E0B:"d",\u010F:"d",\u1E0D:"d",\u1E11:"d",\u1E13:"d",\u1E0F:"d",\u0111:"d",\u018C:"d",\u0256:"d",\u0257:"d","\uA77A":"d",\u01F3:"dz",\u01C6:"dz","\u24D4":"e",\uFF45:"e",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u1EC1:"e",\u1EBF:"e",\u1EC5:"e",\u1EC3:"e",\u1EBD:"e",\u0113:"e",\u1E15:"e",\u1E17:"e",\u0115:"e",\u0117:"e",\u00EB:"e",\u1EBB:"e",\u011B:"e",\u0205:"e",\u0207:"e",\u1EB9:"e",\u1EC7:"e",\u0229:"e",\u1E1D:"e",\u0119:"e",\u1E19:"e",\u1E1B:"e","\u0247":"e",\u025B:"e",\u01DD:"e","\u24D5":"f",\uFF46:"f",\u1E1F:"f",\u0192:"f","\uA77C":"f","\u24D6":"g",\uFF47:"g",\u01F5:"g",\u011D:"g",\u1E21:"g",\u011F:"g",\u0121:"g",\u01E7:"g",\u0123:"g",\u01E5:"g",\u0260:"g","\uA7A1":"g","\u1D79":"g","\uA77F":"g","\u24D7":"h",\uFF48:"h",\u0125:"h",\u1E23:"h",\u1E27:"h",\u021F:"h",\u1E25:"h",\u1E29:"h",\u1E2B:"h",\u1E96:"h",\u0127:"h","\u2C68":"h","\u2C76":"h",\u0265:"h",\u0195:"hv","\u24D8":"i",\uFF49:"i",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u0129:"i",\u012B:"i",\u012D:"i",\u00EF:"i",\u1E2F:"i",\u1EC9:"i",\u01D0:"i",\u0209:"i",\u020B:"i",\u1ECB:"i",\u012F:"i",\u1E2D:"i",\u0268:"i",\u0131:"i","\u24D9":"j",\uFF4A:"j",\u0135:"j",\u01F0:"j","\u0249":"j","\u24DA":"k",\uFF4B:"k",\u1E31:"k",\u01E9:"k",\u1E33:"k",\u0137:"k",\u1E35:"k",\u0199:"k","\u2C6A":"k","\uA741":"k","\uA743":"k","\uA745":"k","\uA7A3":"k","\u24DB":"l",\uFF4C:"l",\u0140:"l",\u013A:"l",\u013E:"l",\u1E37:"l",\u1E39:"l",\u013C:"l",\u1E3D:"l",\u1E3B:"l",\u017F:"l",\u0142:"l",\u019A:"l",\u026B:"l","\u2C61":"l","\uA749":"l","\uA781":"l","\uA747":"l",\u01C9:"lj","\u24DC":"m",\uFF4D:"m",\u1E3F:"m",\u1E41:"m",\u1E43:"m",\u0271:"m",\u026F:"m","\u24DD":"n",\uFF4E:"n",\u01F9:"n",\u0144:"n",\u00F1:"n",\u1E45:"n",\u0148:"n",\u1E47:"n",\u0146:"n",\u1E4B:"n",\u1E49:"n",\u019E:"n",\u0272:"n",\u0149:"n","\uA791":"n","\uA7A5":"n",\u01CC:"nj","\u24DE":"o",\uFF4F:"o",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u1ED3:"o",\u1ED1:"o",\u1ED7:"o",\u1ED5:"o",\u00F5:"o",\u1E4D:"o",\u022D:"o",\u1E4F:"o",\u014D:"o",\u1E51:"o",\u1E53:"o",\u014F:"o",\u022F:"o",\u0231:"o",\u00F6:"o",\u022B:"o",\u1ECF:"o",\u0151:"o",\u01D2:"o",\u020D:"o",\u020F:"o",\u01A1:"o",\u1EDD:"o",\u1EDB:"o",\u1EE1:"o",\u1EDF:"o",\u1EE3:"o",\u1ECD:"o",\u1ED9
1:"o",\u01EB:"o",\u01ED:"o",\u00F8:"o",\u01FF:"o",\u0254:"o","\uA74B":"o","\uA74D":"o",\u0275:"o",\u01A3:"oi",\u0223:"ou","\uA74F":"oo","\u24DF":"p",\uFF50:"p",\u1E55:"p",\u1E57:"p",\u01A5:"p","\u1D7D":"p","\uA751":"p","\uA753":"p","\uA755":"p","\u24E0":"q",\uFF51:"q","\u024B":"q","\uA757":"q","\uA759":"q","\u24E1":"r",\uFF52:"r",\u0155:"r",\u1E59:"r",\u0159:"r",\u0211:"r",\u0213:"r",\u1E5B:"r",\u1E5D:"r",\u0157:"r",\u1E5F:"r","\u024D":"r",\u027D:"r","\uA75B":"r","\uA7A7":"r","\uA783":"r","\u24E2":"s",\uFF53:"s",\u00DF:"s",\u015B:"s",\u1E65:"s",\u015D:"s",\u1E61:"s",\u0161:"s",\u1E67:"s",\u1E63:"s",\u1E69:"s",\u0219:"s",\u015F:"s","\u023F":"s","\uA7A9":"s","\uA785":"s",\u1E9B:"s","\u24E3":"t",\uFF54:"t",\u1E6B:"t",\u1E97:"t",\u0165:"t",\u1E6D:"t",\u021B:"t",\u0163:"t",\u1E71:"t",\u1E6F:"t",\u0167:"t",\u01AD:"t",\u0288:"t","\u2C66":"t","\uA787":"t","\uA729":"tz","\u24E4":"u",\uFF55:"u",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u0169:"u",\u1E79:"u",\u016B:"u",\u1E7B:"u",\u016D:"u",\u00FC:"u",\u01DC:"u",\u01D8:"u",\u01D6:"u",\u01DA:"u",\u1EE7:"u",\u016F:"u",\u0171:"u",\u01D4:"u",\u0215:"u",\u0217:"u",\u01B0:"u",\u1EEB:"u",\u1EE9:"u",\u1EEF:"u",\u1EED:"u",\u1EF1:"u",\u1EE5:"u",\u1E73:"u",\u0173:"u",\u1E77:"u",\u1E75:"u",\u0289:"u","\u24E5":"v",\uFF56:"v",\u1E7D:"v",\u1E7F:"v",\u028B:"v","\uA75F":"v",\u028C:"v","\uA761":"vy","\u24E6":"w",\uFF57:"w",\u1E81:"w",\u1E83:"w",\u0175:"w",\u1E87:"w",\u1E85:"w",\u1E98:"w",\u1E89:"w","\u2C73":"w","\u24E7":"x",\uFF58:"x",\u1E8B:"x",\u1E8D:"x","\u24E8":"y",\uFF59:"y",\u1EF3:"y",\u00FD:"y",\u0177:"y",\u1EF9:"y",\u0233:"y",\u1E8F:"y",\u00FF:"y",\u1EF7:"y",\u1E99:"y",\u1EF5:"y",\u01B4:"y","\u024F":"y","\u1EFF":"y","\u24E9":"z",\uFF5A:"z",\u017A:"z",\u1E91:"z",\u017C:"z",\u017E:"z",\u1E93:"z",\u1E95:"z",\u01B6:"z",\u0225:"z","\u0240":"z","\u2C6C":"z","\uA763":"z",\u0386:"\u0391",\u0388:"\u0395",\u0389:"\u0397",\u038A:"\u0399",\u03AA:"\u0399",\u038C:"\u039F",\u038E:"\u03A5",\u03AB:"\u03A5",\u038F:"\u03A9",\u03AC:"\u03B1",\u03AD:"\u03B5",\u03AE:"\u03B7",\u03AF:"\u03B9",\u03CA:"\u03B9",\u0390:"\u03B9",\u03CC:"\u03BF",\u03CD:"\u03C5",\u03CB:"\u03C5",\u03B0:"\u03C5",\u03C9:"\u03C9",\u03C2:"\u03C3"};function ee(i){let n=e=>jt[e]||e;
1return i.replace(/[^\u0000-\u007E]/g,n)}var ae=class{constructor(n,e){this._ngSelect=n,this._selectionModel=e,this._items=[],this._filteredItems=[],this._markedIndex=-1}get items(){return this._items}get filteredItems(){return this._filteredItems}get markedIndex(){return this._markedIndex}get selectedItems(){return this._selectionModel.value}get markedItem(){return this._filteredItems[this._markedIndex]}get noItemsToSelect(){return this._ngSelect.hideSelected&&this._items.length===this.selectedItems.length}get maxItemsSelected(){return this._ngSelect.multiple&&this._ngSelect.maxSelectedItems<=this.selectedItems.length}get lastSelectedItem(){let n=this.selectedItems.length-1;for(;n>=0;n--){let e=this.selectedItems[n];if(!e.disabled)return e}return null}setItems(n){this._items=n.map((e,t)=>this.mapItem(e,t)),this._ngSelect.groupBy?(this._groups=this._groupBy(this._items,this._ngSelect.groupBy),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=[...this._items]}select(n){if(n.selected||this.maxItemsSelected)return;let e=this._ngSelect.multiple;e||this.clearSelected(),this._selectionModel.select(n,e,this._ngSelect.selectableGroupAsModel),this._ngSelect.hideSelected&&this._hideSelected(n)}unselect(n){n.selected&&(this._selectionModel.unselect(n,this._ngSelect.multiple),this._ngSelect.hideSelected&&p(n.index)&&this._ngSelect.multiple&&this._showSelected(n))}findItem(n){let e;return this._ngSelect.compareWith?e=t=>this._ngSelect.compareWith(t.value,n):this._ngSelect.bindValue?e=t=>!t.children&&this.resolveNested(t.value,this._ngSelect.bindValue)===n:e=t=>t.value===n||!t.children&&t.label&&t.label===this.resolveNested(n,this._ngSelect.bindLabel),this._items.find(t=>e(t))}addItem(n){let e=this.mapItem(n,this._items.length);return this._items.push(e),this._filteredItems.push(e),e}clearSelected(n=!1){this._selectionModel.clear(n),this._items.forEach(e=>{e.selected=n&&e.selected&&e.disabled,e.marked=!1}),this._ngSelect.hideSelected&&this.resetFilteredItems()}findByLabel(n){return n=ee(n).toLocaleLowerCase(),this.filteredItems.find(e=>ee(e.label).toLocaleLowerCase().substr(0,n.length)===n)}filter(n){if(!n){this.resetFilteredItems();return}this._filteredItems=[],n=this._ngSelect.searchFn?n:ee(n).toLocaleLowerCase();let e=this._ngSelect.searchFn||this._defaultSearchFn,t=this._ngSelect.hideSelected;for(let s of Array.from(this._groups.keys())){let l=[];for(let r of this._groups.get(s)){if(t&&(r.parent&&r.parent.selected||r.selected))continue;let u=this._ngSelect.searchFn?r.value:r;e(n,u)&&l.push(r)}if(l.length>0){let[r]=l.slice(-1);if(r.parent){let u=this._items.find(b=>b===r.parent);this._filteredItems.push(u)}this._filteredItems.push(...l)}}}resetFilteredItems(){this._filteredItems.length!==this._items.length&&(this._ngSelect.hideSelected&&this.selectedItems.length>0?this._filteredItems=this._items.filter(n=>!n.selected):this._filteredItems=this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(n){this._markedIndex=this._filteredItems.indexOf(n)}markSelectedOrDefault(n){if(this._filteredItems.length===0)return;let e=this._getLastMarkedIndex();e>-1?this._markedIndex=e:this._markedIndex=n?this.filteredItems.findIndex(t=>!t.disabled):-1}resolveNested(n,e){if(!$(n))return n;if(e.indexOf(".")===-1)return n[e];{let t=e.split("."),s=n;for(let l=0,r=t.length;l<r;++l){if(s==null)return null;s=s[t[l]]}return s}}mapItem(n,e){let t=p(n.$ngOptionLabel)?n.$ngOptionLabel:this.resolveNested(n,this._ngSelect.bindLabel),s=p(n.$ngOptionValue)?n.$ngOptionValue:n;return{index:e,label:p(t)?t.toString():"",value:s,disabled:n.disabled,htmlId:`${this._ngSelect.dropdownId}-${e}`}}mapSelectedItems(){let n=this._ngSelect.multiple;for(let e of this.selectedItems){let t=this._ngSelect.bindValue?this.resolveNested(e.value,this._ngSelect.bindValue):e.value,s=p(t)?this.findItem(t):null;this._selectionModel.unselect(e,n),this._selectionModel.select(s||e,n,this._ngSelect.selectableGroupAsModel)}this._ngSelect.hideSelected&&(this._filteredItems=this.filteredItems.filter(e=>this.selectedItems.indexOf(e)===-1))}_showSelected(n){if(this._filteredItems.push(n),n.parent){let e=n.parent;this._filteredItems.find(s=>s===e)||this._filteredItems.push(e)}else if(n.children)for(let e of n.children)e.selected=!1,this._filteredItems.push(e);this._filteredItems=[...this._filteredItems.sort((e,t)=>
1e.index-t.index)]}_hideSelected(n){this._filteredItems=this._filteredItems.filter(e=>e!==n),n.parent?n.parent.children.every(t=>t.selected)&&(this._filteredItems=this._filteredItems.filter(t=>t!==n.parent)):n.children&&(this._filteredItems=this.filteredItems.filter(e=>e.parent!==n))}_defaultSearchFn(n,e){return ee(e.label).toLocaleLowerCase().indexOf(n)>-1}_getNextItemIndex(n){return n>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(n){this._filteredItems.length===0||this._filteredItems.every(e=>e.disabled)||(this._markedIndex=this._getNextItemIndex(n),this.markedItem.disabled&&this._stepToItem(n))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected||this._markedIndex>-1&&this.markedItem===void 0)return-1;let n=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&n<0?-1:Math.max(this.markedIndex,n)}_groupBy(n,e){let t=new Map;if(n.length===0)return t;if(Array.isArray(n[0].value[e])){for(let r of n){let u=(r.value[e]||[]).map((b,E)=>this.mapItem(b,E));t.set(r,u)}return t}let s=te(this._ngSelect.groupBy),l=r=>{let u=s?e(r.value):r.value[e];return p(u)?u:void 0};for(let r of n){let u=l(r),b=t.get(u);b?b.push(r):t.set(u,[r])}return t}_flatten(n){let e=te(this._ngSelect.groupBy),t=[];for(let s of Array.from(n.keys())){let l=t.length;if(s===void 0){let I=n.get(void 0)||[];t.push(...I.map(F=>(F.index=l++,F)));continue}let r=$(s),u={label:r?"":String(s),children:void 0,parent:null,index:l++,disabled:!this._ngSelect.selectableGroup,htmlId:je()},b=e?this._ngSelect.bindLabel:this._ngSelect.groupBy,E=this._ngSelect.groupValue||(()=>r?s.value:{[b]:s}),D=n.get(s).map(I=>(I.parent=u,I.children=void 0,I.index=l++,I));u.children=D,u.value=E(s,D.map(I=>I.value)),t.push(u),t.push(...D)}return t}},k=(function(i){return i[i.Tab=9]="Tab",i[i.Enter=13]="Enter",i[i.Esc=27]="Esc",i[i.Space=32]="Space",i[i.ArrowUp=38]="ArrowUp",i[i.ArrowDown=40]="ArrowDown",i[i.Backspace=8]="Backspace",i})(k||{}),Ue=(()=>{class i{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}get dimensions(){return this._dimensions}calculateItems(e,t,s){let l=this._dimensions,r=l.itemHeight*t,b=Math.max(0,e)/r*t,E=Math.min(t,Math.ceil(b)+(l.itemsPerViewport+1)),I=Math.max(0,E-l.itemsPerViewport),F=Math.min(I,Math.floor(b)),Y=l.itemHeight*Math.ceil(F)-l.itemHeight*Math.min(F,s);return Y=isNaN(Y)?0:Y,F=isNaN(F)?-1:F,E=isNaN(E)?-1:E,F-=s,F=Math.max(0,F),E+=s,E=Math.min(t,E),{topPadding:Y,scrollHeight:r,start:F,end:E}}setDimensions(e,t){let s=Math.max(1,Math.floor(t/e));this._dimensions={itemHeight:e,panelHeight:t,itemsPerViewport:s}}getScrollTo(e,t,s){let{panelHeight:l}=this.dimensions,r=e+t,u=s,b=u+l;return l>=r&&s===e?null:r>b?u+r-b:e<=u?e:null}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=K({token:i,factory:i.\u0275fac}),i})(),Pe=["top","right","bottom","left"],Ut=typeof requestAnimationFrame<"u"?he:de,Me=(()=>{class i{constructor(e,t,s,l,r){this._renderer=e,this._zone=t,this._panelService=s,this._document=r,this.items=[],this.position="auto",this.virtualScroll=!1,this.filterValue=null,this.update=new w,this.scroll=new w,this.scrollToEnd=new w,this.outsideClick=new w,this._destroy$=new z,this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._dropdown=l.nativeElement}get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(e){e!==this._itemsLength&&(this._itemsLength=e,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem){let{itemHeight:e,panelHeight:t}=this._panelService.dimensions,s=this.markedItem.index*e;return t>s?0:s}return 0}ngOnInit(){this._select=this._dropdown.parentElement,this._virtualPadding=this.paddingElementRef.nativeElement,this._scrollablePanel=this.scrollElementRef.nativeElement,this._contentPanel=this.contentElementRef.nativeElement,this._handleScroll(),this._handleOutsideClick(),this._appendDropdown(),this._setupMousedownListener()}ngOnChanges(e){if(e.items){let t=e.items;this._onItemsChange(t.currentValue,t.firstChange)}}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this._destroy$.unsubscribe(),this.appendTo&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)}scrollTo(e,t=!1){if(!e)return;let s=this.items.indexOf(e);if(s<0||s>=this.itemsLength)return;let l;if(this.virtualScroll){let r=this._panelService.dimensions.itemHeight;l=this._panelService.getScrollTo(s*r,r,this._lastScrollPosition)}else{let r=this._dropdown.querySelector(`#${e.htmlId}`),u=t?r.offsetTop:this._lastScrollPosition;l=this._panelService.getScrollTo(r.offsetTop,r.clientHeight,u)}p(l)&&(this._scrollablePanel.scrollTop=l)}scrollToTag(){let e=this._scrollablePanel;e.scrollTop=e.scrollHeight-e.clientHeight}adjustPosition(){this._updateYPosition()}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),Pe.includes(this._currentPosition)?this._updateDropdownClass(this._currentPosition):this._updateDropdownClass("bottom"),this.appendTo&&this._updateYPosition(),this._dropdown.style.opacity="1"}_updateDropdownClass(e){Pe.forEach(s=>{let l=`ng-select-${s}`;this._renderer.removeClass(this._dropdown,l),this._renderer.removeClass(this._select,l)});let t=`ng-select-${e}`;this._renderer.addClass(this._dropdown,t),this._renderer.addClass(this._select,t)}_handleScroll(){this._zone.runOutsideAngular(()=>{W(this.scrollElementRef.nativeElement,"scroll").pipe(V(this._destroy$),ge(0,Ut)).subscribe(e=>{let t=e.path||e.composedPath&&e.composedPath(),s=!t||t.length===0?e.target.scrollTop:t[0].scrollTop;this._onContentScrolled(s)})})}_handleOutsideClick(){this._document&&this._zone.runOutsideAngular(()=>{Z(W(this._document,"touchstart",{capture:!0}),W(this._document,"mousedown",{capture:!0})).pipe(V(this._destroy$)).subscribe(e=>this._checkToClose(e))})}_checkToClose(e){if(this._select.contains(e.target)||this._dropdown.contains(e.target))return;let t=e.path||e.composedPath&&e.composedPath();e.target&&e.target.shadowRoot&&t&&t[0]&&this._select.contains(t[0])||this._zone.run(()=>this.outsideClick.emit())}_onItemsChange(e,t){this.items=e||[],this._scrollToEndFired=!1,this.itemsLength=e.length,this.virtualScroll?this._updateItemsRange(t):(this._setVirtualHeight(),this._updateItems(t))}_updateItems(e){this.update.emit(this.items),e!==!1&&this._zone.runOutsideAngular(()=>{Promise.resolve().then(()=>{let t=this._scrollablePanel.clientHeight;this._panelService.setDimensions(0,t),this._handleDropdownPosition(),this.scrollTo(this.markedItem,e)})})}_updateItemsRange(e){this._zone.runOutsideAngular(()=>{this._measureDimensions().then(()=>{e?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()})})}_onContentScrolled(e){this.virtualScroll&&this._renderItemsRange(e),this._lastScrollPosition=e,this._fireScrollToEnd(e)}_updateVirtualHeight(e){this._updateScrollHeight&&(this._virtualPadding.style.height=`${e}px`,this._updateScrollHeight=!1)}_setVirtualHeight(){this._virtualPadding&&(this._virtualPadding.style.height="0px")}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(e=null){if(e&&this._lastScrollPosition===e)return;e=e||this._scrollablePanel.scrollTop;let t=this._panelService.calculateItems(e,this.itemsLength,this.bufferAmount);this._updateVirtualHeight(t.scrollHeight),this._contentPanel.style.transform=`translateY(${t.topPadding}px)`,this._zone.run(()=>{this.update.emit(this.items.slice(t.start,t.end)),this.scroll.emit({start:t.start,end:t.end})}),p(e)&&this._lastScrollPosition===0&&(this._scrollablePanel.scrollTop=e,this._lastScrollPosition=e)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||this.itemsLength===0)return Promise.resolve(this._panelService.dimensions);let[e]=this.items;return this.update.emit([e]),Promise.resolve().then(()=>{let s=this._dropdown.querySelector(`#${e.htmlId}`).clientHeight;this._virtualPadding.style.height=`${s*this.itemsLength}px`;let l=this._scrollablePanel.clientHeight;return this._panelService.setDimensions(s,l),this._panelService.dimensions})}_fireScrollToEnd(e){if(this._scrollToEndFired||e===0)return;let t=this.virtualScroll?this._virtualPadding:this._contentPanel;e+this._dropdown.clientHeight>=t.clientHeight-1&&(this._zone.run(()=>this.scrollToEnd.emit()),this._scrollToEndFired=!0)}_calculateCurrentPosition(e){if(this.position!=="auto")return this.position;let t=this._select.getBoundingClientRect(),s=document.documentElement.scrollTop||document.body.scrollTop,l=t.top+window.pageYOffset,r=t.height,u=e.getBoundingClientRect().height;return l+r+u>s+document.documentElement.clientHeight?"top":"bottom"}_appendDropdown(){if(this.appendTo){if(this._parent=document.querySelector(this.appendTo),!this._parent)throw new Error(`appendTo selector ${this.appendTo} did not found any parent element`);this._updateXPosition(),this._parent.appendChild(this._dropdown)}}_updateXPosition(){let e=this._select.getBoundingClientRect(),t=this._parent.getBoundingClientRect(),s=e.left-t.left;this._dropdown.style.left=s+"px",this._dropdown.style.width=e.width+"px",this._dropdown.style.minWidth=e.width+"px"}_updateYPosition(){let e=this._select.getBoundingClientRect(),t=this._parent.getBoundingClientRect(),s=e.height;if(this._currentPosition==="top"){let l=t.bottom-e.bottom;this._dropdown.style.bottom=l+s+"px",this._dropdown.style.top="auto"}else if(this._currentPosition==="bottom"){let l=e.top-t.top;this._dropdown.style.top=l+s+"px",this._dropdown.style.bottom="auto"}}_setupMousedownListener(){this._zone.runOutsideAngular(()=>{W(this._dropdown,"mousedown").pipe(V(this._destroy$)).subscribe(e=>{e.target.tagName!=="INPUT"&&e.preventDefault()})})}}return i.\u0275fac=function(e){return new(e||i)(h(we),h(ye),h(Ue),h(x),h(be,8))},i.\u0275cmp=J({type:i,selectors:[["ng-dropdown-panel"]],viewQuery:function(e,t){if(e&1&&(j(ze,7,x),j(We,7,x),j(Ge,7,x)),e&2){let s;_(s=f())&&(t.contentElementRef=s.first),_(s=f())&&(t.scrollElementRef=s.first),_(s=f())&&(t.paddingElementRef=s.first)}},inputs:{items:"items",markedItem:"markedItem",position:"position",appendTo:"appendTo",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",headerTemplate:"headerTemplate",footerTemplate:"footerTemplate",filterValue:"filterValue"},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},standalone:!1,features:[G],ngContentSelectors:Re,decls:9,vars:6,consts:[["scroll",""],["padding",""],["content",""],["class","ng-dropdown-header",4,"ngIf"],[1,"ng-dropdown-panel-items","scroll-host"],["class","ng-dropdown-footer",4,"ngIf"],[1,"ng-dropdown-header"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng-dropdown-footer"]],template:function(e,t){e&1&&(se(),C(0,$e,2,4,"div",3),m(1,"div",4,0),R(3,"div",null,1),m(5,"div",null,2),le(7),g()(),C(8,qe,2,4,"div",5)),e&2&&(c("ngIf",t.headerTemplate),o(3),O("total-padding",t.virtualScroll),o(2),O("scrollable-content",t.virtualScroll&&t.items.length),o(3),c("ngIf",t.footerTemplate))},dependencies:[re,oe],encapsulation:2,changeDetection:0}),i})(),Qt=(()=>{class i{constructor(e){this.elementRef=e,this.stateChange$=new z,this._disabled=!1}get disabled(){return this._disabled}set disabled(e){this._disabled=this._isDisabled(e)}get label(){return(this.elementRef.nativeElement.textContent||"").trim()}ngOnChanges(e){e.disabled&&this.stateChange$.next({value:this.value,disabled:this._disabled})}ngAfterViewChecked(){this.label!==this._previousLabel&&(this._previousLabel=this.label,this.stateChange$.next({value:this.value,disabled:this._disabled,label:this.elementRef.nativeElement.innerHTML}))}ngOnDestroy(){this.stateChange$.complete()}_isDisabled(e){return e!=null&&`${e}`!="false"}}return i.\u0275fac=function(e){return new(e||i)(h(x))},i.\u0275cmp=J({type:i,selectors:[["ng-option"]],inputs:{value:"value",disabled:"disabled"},standalone:!1,features:[G],ngContentSelectors:Re,decls:1,vars:0,template:function(e,t){e&1&&(se(),le(0))},encapsulation:2,changeDetection:0}),i})(),zt=(()=>{class i{constructor(){this.notFoundText="No items found",this.typeToSearchText="Type to search",this.addTagText="Add item",this.loadingText="Loading...",this.clearAllText="Clear all",this.disableVirtualScroll=!0,this.openOnEnter=!0,this.appearance="underline"}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=K({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),Wt=(()=>{class i{warn(e){console.warn(e)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=K({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),Qe=new Ce("ng-select-selection-model"),_i=(()=>{class i{constructor(e,t,s,l,r,u,b){this.classes=e,this.autoFocus=t,this.config=s,this._cd=u,this._console=b,this.markFirst=!0,this.dropdownPosition="auto",this.loading=!1,this.closeOnSelect=!0,this.hideSelected=!1,this.selectOnTab=!1,this.bufferAmount=4,this.selectableGroup=!1,this.selectableGroupAsModel=!0,this.searchFn=null,this.trackByFn=null,this.clearOnBackspace=!0,this.labelForId=null,this.inputAttrs={},this.readonly=!1,this.searchWhileComposing=!0,this.minTermLength=0,this.editableSearchTerm=!1,this.keyDownFn=E=>!0,this.multiple=!1,this.addTag=!1,this.searchable=!0,this.clearable=!0,this.isOpen=!1,this.blurEvent=ne
1w w,this.focusEvent=new w,this.changeEvent=new w,this.openEvent=new w,this.closeEvent=new w,this.searchEvent=new w,this.clearEvent=new w,this.addEvent=new w,this.removeEvent=new w,this.scroll=new w,this.scrollToEnd=new w,this.useDefaultClass=!0,this.viewPortItems=[],this.searchTerm=null,this.dropdownId=je(),this.escapeHTML=!0,this._items=[],this._defaultLabel="label",this._pressedKeys=[],this._isComposing=!1,this._destroy$=new z,this._keyPress$=new z,this._onChange=E=>{},this._onTouched=()=>{},this.clearItem=E=>{let D=this.selectedItems.find(I=>I.value===E);this.unselect(D)},this.trackByOption=(E,D)=>this.trackByFn?this.trackByFn(D.value):D,this._mergeGlobalConfig(s),this.itemsList=new ae(this,l()),this.element=r.nativeElement}get items(){return this._items}set items(e){e===null&&(e=[]),this._itemsAreUsed=!0,this._items=e}get compareWith(){return this._compareWith}set compareWith(e){if(e!=null&&!te(e))throw Error("`compareWith` must be a function.");this._compareWith=e}get clearSearchOnAdd(){return p(this._clearSearchOnAdd)?this._clearSearchOnAdd:p(this.config.clearSearchOnAdd)?this.config.clearSearchOnAdd:this.closeOnSelect}set clearSearchOnAdd(e){this._clearSearchOnAdd=e}get disabled(){return this.readonly||this._disabled}get filtered(){return!!this.searchTerm&&this.searchable||this._isComposing}get single(){return!this.multiple}get _editableSearchTerm(){return this.editableSearchTerm&&!this.multiple}get selectedItems(){return this.itemsList.selectedItems}get selectedValues(){return this.selectedItems.map(e=>e.value)}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel)return this.dropdownPanel.currentPosition}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(e){e.multiple&&this.itemsList.clearSelected(),e.items&&this._setItems(e.items.currentValue||[]),e.isOpen&&(this._manualOpen=p(e.isOpen.currentValue))}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),p(this.autoFocus)&&this.focus()}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}handleKeyDown(e){if(k[e.which]){if(this.keyDownFn(e)===!1)return;this.handleKeyCode(e)}else e.key&&e.key.length===1&&this._keyPress$.next(e.key.toLocaleLowerCase())}handleKeyCode(e){switch(e.which){case k.ArrowDown:this._handleArrowDown(e);break;case k.ArrowUp:this._handleArrowUp(e);break;case k.Space:this._handleSpace(e);break;case k.Enter:this._handleEnter(e);break;case k.Tab:this._handleTab(e);break;case k.Esc:this.close(),e.preventDefault();break;case k.Backspace:this._handleBackspace();break}}handleMousedown(e){let t=e.target;if(t.tagName!=="INPUT"&&e.preventDefault(),t.classList.contains("ng-clear-wrapper")){this.handleClearClick();return}if(t.classList.contains("ng-arrow-wrapper")){this.handleArrowClick();return}t.classList.contains("ng-value-icon")||(this.focused||this.focus(),this.searchable?this.open():this.toggle())}handleArrowClick(){this.isOpen?this.close():this.open()}handleClearClick(){this.hasValue&&(this.itemsList.clearSelected(!0),this._updateNgModel()),this._clearSearch(),this.focus(),this.clearEvent.emit(),this._onSelectionChanged()}clearModel(){this.clearable&&(this.itemsList.clearSelected(),this._updateNgModel())}writeValue(e){this.itemsList.clearSelected(),this._handleWriteValue(e),this._cd.markForCheck()}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._disabled=e,this._cd.markForCheck()}toggle(){this.isOpen?this.close():this.open()}open(){this.disabled||this.isOpen||this._manualOpen||!this._isTypeahead&&!this.addTag&&this.itemsList.noItemsToSelect||(this.isOpen=!0,this.itemsList.markSelectedOrDefault(this.markFirst),this.openEvent.emit(),this.searchTerm||this.focus(),this.detectChanges())}close(){!this.isOpen||this._manualOpen||(this.isOpen=!1,this._isComposing=!1,this._editableSearchTerm?this.itemsList.resetFilteredItems():this._clearSearch(),this.itemsList.unmarkItem(),this._onTouched(),this.closeEvent.emit(),this._cd.markForCheck())}toggleItem(e){!e||e.disabled||this.disabled||(this.multiple&&e.selected?this.unselect(e):this.select(e),this._editableSearchTerm&&this._setSearchTermFromItems(),this._onSelectionChanged())}select(e){e.selected||(this.itemsList.select(e),this.clearSearchOnAdd&&!this._editableSearchTerm&&this._clearSearch(),this._updateNgModel(),this.multiple&&this.addEvent.emit(e.value)),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close()}focus(){this.searchInput.nativeElement.focus()}blur(){this.searchInput.nativeElement.blur()}unselect(e){e&&(this.itemsList.unselect(e),this.focus(),this._updateNgModel(),this.removeEvent.emit(e))}selectTag(){let e;te(this.addTag)?e=this.addTag(this.searchTerm):e=this._primitive?this.searchTerm:{[this.bindLabel]:this.searchTerm};let t=s=>this._isTypeahead||!this.isOpen?this.itemsList.mapItem(s,null):this.itemsList.addItem(s);At(e)?e.then(s=>this.select(t(s))).catch(()=>{}):e&&this.select(t(e))}showClear(){return this.clearable&&(this.hasValue||this.searchTerm)&&!this.disabled}
1get showAddTag(){if(!this._validTerm)return!1;let e=this.searchTerm.toLowerCase().trim();return this.addTag&&!this.itemsList.filteredItems.some(t=>t.label.toLowerCase()===e)&&(!this.hideSelected&&this.isOpen||!this.selectedItems.some(t=>t.label.toLowerCase()===e))&&!this.loading}showNoItemsFound(){let e=this.itemsList.filteredItems.length===0;return(e&&!this._isTypeahead&&!this.loading||e&&this._isTypeahead&&this._validTerm&&!this.loading)&&!this.showAddTag}showTypeToSearch(){return this.itemsList.filteredItems.length===0&&this._isTypeahead&&!this._validTerm&&!this.loading}onCompositionStart(){this._isComposing=!0}onCompositionEnd(e){this._isComposing=!1,!this.searchWhileComposing&&this.filter(e)}filter(e){this._isComposing&&!this.searchWhileComposing||(this.searchTerm=e,this._isTypeahead&&(this._validTerm||this.minTermLength===0)&&this.typeahead.next(e),this._isTypeahead||(this.itemsList.filter(this.searchTerm),this.isOpen&&this.itemsList.markSelectedOrDefault(this.markFirst)),this.searchEvent.emit({term:e,items:this.itemsList.filteredItems.map(t=>t.value)}),this.open())}onInputFocus(e){this.focused||(this._editableSearchTerm&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(e),this.focused=!0)}onInputBlur(e){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(e),!this.isOpen&&!this.disabled&&this._onTouched(),this._editableSearchTerm&&this._setSearchTermFromItems(),this.focused=!1}onItemHover(e){e.disabled||this.itemsList.markItem(e)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){let e=this.selectedItems&&this.selectedItems[0];this.searchTerm=e&&e.label||null}_setItems(e){let t=e[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=p(t)?!$(t):this._primitive||this.bindLabel===this._defaultLabel,this.itemsList.setItems(e),e.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen&&p(this.searchTerm)&&!this._isTypeahead&&this.itemsList.filter(this.searchTerm),(this._isTypeahead||this.isOpen)&&this.itemsList.markSelectedOrDefault(this.markFirst)}_setItemsFromNgOptions(){let e=s=>{this.items=s.map(l=>({$ngOptionValue:l.value,$ngOptionLabel:l.elementRef.nativeElement.innerHTML,disabled:l.disabled})),this.itemsList.setItems(this.items),this.hasValue&&this.itemsList.mapSelectedItems(),this.detectChanges()},t=()=>{let s=Z(this.ngOptions.changes,this._destroy$);Z(...this.ngOptions.map(l=>l.stateChange$)).pipe(V(s)).subscribe(l=>{let r=this.itemsList.findItem(l.value);r.disabled=l.disabled,r.label=l.label||r.label,this._cd.detectChanges()})};this.ngOptions.changes.pipe(fe(this.ngOptions),V(this._destroy$)).subscribe(s=>{this.bindLabel=this._defaultLabel,e(s),t()})}_isValidWriteValue(e){if(!p(e)||this.multiple&&e===""||Array.isArray(e)&&e.length===0)return!1;let t=s=>!p(this.compareWith)&&$(s)&&this.bindValue?(this._console.warn(`Setting object(${JSON.stringify(s)}) as your model with bindValue is not allowed unless [compareWith] is used.`),!1):!0;return this.multiple?Array.isArray(e)?e.every(s=>t(s)):(this._console.warn("Multiple select ngModel should be array."),!1):t(e)}_handleWriteValue(e){if(!this._isValidWriteValue(e))return;let t=s=>{let l=this.itemsList.findItem(s);if(l)this.itemsList.select(l);else{let r=$(s),u=!r&&!this.bindValue;r||u?this.itemsList.select(this.itemsList.mapItem(s,null)):this.bindValue&&(l={[this.bindLabel]:null,[this.bindValue]:s},this.itemsList.select(this.itemsList.mapItem(l,null)))}};this.multiple?e.forEach(s=>t(s)):t(e)}_handleKeyPresses(){this.searchable||this._keyPress$.pipe(V(this._destroy$),Ee(e=>this._pressedKeys.push(e)),_e(200),me(()=>this._pressedKeys.length>0),pe(()=>this._pressedKeys.join(""))).subscribe(e=>{let t=this.itemsList.findByLabel(e);t&&(this.isOpen?(this.itemsList.markItem(t),this._scrollToMarked(),this._cd.markForCheck()):this.select(t)),this._pressedKeys=[]})}_setInputAttributes(){let e=this.searchInput.nativeElement,t=ce({type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:this.labelForId?"off":this.dropdownId},this.inputAttrs);for(let s of Object.keys(t))e.setAttribute(s,t[s])}_updateNgModel(){let e=[];for(let s of this.selectedItems)if(this.bindValue){let l=null;if(s.children){let r=this.groupValue?this.bindValue:this.groupBy;l=s.value[r||this.groupBy]}else l=this.itemsList.resolveNested(s.value,this.bindValue);e.push(l)}else e.push(s.value);let t=this.selectedItems.map(s=>s.value);this.multiple?(this._onChange(e),this.changeEvent.emit(t)):(this._onChange(p(e[0])?e[0]:null),this.changeEvent.emit(t[0])),this._cd.markForCheck()}_clearSearch(){this.searchTerm&&(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(e){this.searchTerm=e,this._isTypeahead&&this.typeahead.next(e)}_scrollToMarked(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollTo(this.itemsList.markedItem)}_scrollToTag(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollToTag()}_onSelectionChanged(){this.isOpen&&this.multiple&&this.appendTo&&(this._cd.detectChanges(),this.dropdownPanel.adjustPosition())}_handleTab(e){this.isOpen===!1&&!this.addTag||(this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),e.preventDefault()):this.showAddTag?(this.selectTag(),e.preventDefault()):this.close():this.close())}_handleEnter(e){if(this.isOpen||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else if(this.openOnEnter)this.open();else return;e.preventDefault()}_handleSpace(e){this.isOpen||this._manualOpen||(this.open(),e.preventDefault())}_handleArrowDown(e){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),e.preventDefault()}_handleArrowUp(e){this.isOpen&&(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),e.preventDefault())}_nextItemIsTag(e){let t=this.itemsList.markedIndex+e;return this.addTag&&this.searchTerm&&this.itemsList.markedItem&&(t<0||t===this.itemsList.filteredItems.length)}_handleBackspace(){this.searchTerm||!this.clearable||!this.clearOnBackspace||!this.hasValue||(this.multiple?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())}get _isTypeahead(){return this.typeahead&&this.typeahead.observers.length>0}get _validTerm(){let e=this.searchTerm&&this.searchTerm.trim();return e&&e.length>=this.minTermLength}_mergeGlobalConfig(e){this.placeholder=this.placeholder||e.placeholder,this.notFoundText=this.notFoundText||e.notFoundText,this.typeToSearchText=this.typeToSearchText||e.typeToSearchText,this.addTagText=this.addTagText||e.addTagText,this.loadingText=this.loadingText||e.loadingText,this.clearAllText=this.clearAllText||e.clearAllText,this.virtualScroll=p(this.virtualScroll)?this.virtualScroll:p(e.disableVirtualScroll)?!e.disableVirtualScroll:!1,this.openOnEnter=p(this.openOnEnter)?this.openOnEnter:e.openOnEnter,this.appendTo=this.appendTo||e.a
1ppendTo,this.bindValue=this.bindValue||e.bindValue,this.bindLabel=this.bindLabel||e.bindLabel,this.appearance=this.appearance||e.appearance}}return i.\u0275fac=function(e){return new(e||i)(ie("class"),ie("autofocus"),h(zt),h(Qe),h(x),h(Le),h(Wt))},i.\u0275cmp=J({type:i,selectors:[["ng-select"]],contentQueries:function(e,t,s){if(e&1&&(y(s,xt,5,d),y(s,Ot,5,d),y(s,Lt,5,d),y(s,kt,5,d),y(s,Nt,5,d),y(s,Bt,5,d),y(s,Vt,5,d),y(s,Pt,5,d),y(s,Mt,5,d),y(s,Rt,5,d),y(s,Ht,5,d),y(s,Qt,5)),e&2){let l;_(l=f())&&(t.optionTemplate=l.first),_(l=f())&&(t.optgroupTemplate=l.first),_(l=f())&&(t.labelTemplate=l.first),_(l=f())&&(t.multiLabelTemplate=l.first),_(l=f())&&(t.headerTemplate=l.first),_(l=f())&&(t.footerTemplate=l.first),_(l=f())&&(t.notFoundTemplate=l.first),_(l=f())&&(t.typeToSearchTemplate=l.first),_(l=f())&&(t.loadingTextTemplate=l.first),_(l=f())&&(t.tagTemplate=l.first),_(l=f())&&(t.loadingSpinnerTemplate=l.first),_(l=f())&&(t.ngOptions=l)}},viewQuery:function(e,t){if(e&1&&(j(Me,5),j(Ye,7)),e&2){let s;_(s=f())&&(t.dropdownPanel=s.first),_(s=f())&&(t.searchInput=s.first)}},hostVars:20,hostBindings:function(e,t){e&1&&N("keydown",function(l){return t.handleKeyDown(l)}),e&2&&O("ng-select-typeahead",t.typeahead)("ng-select-multiple",t.multiple)("ng-select-taggable",t.addTag)("ng-select-searchable",t.searchable)("ng-select-clearable",t.clearable)("ng-select-opened",t.isOpen)("ng-select",t.useDefaultClass)("ng-select-disabled",t.disabled)("ng-select-filtered",t.filtered)("ng-select-single",t.single)},inputs:{bindLabel:"bindLabel",bindValue:"bindValue",markFirst:"markFirst",placeholder:"placeholder",notFoundText:"notFoundText",typeToSearchText:"typeToSearchText",addTagText:"addTagText",loadingText:"loadingText",clearAllText:"clearAllText",appearance:"appearance",dropdownPosition:"dropdownPosition",appendTo:"appendTo",loading:"loading",closeOnSelect:"closeOnSelect",hideSelected:"hideSelected",selectOnTab:"selectOnTab",openOnEnter:"openOnEnter",maxSelectedItems:"maxSelectedItems",groupBy:"groupBy",groupValue:"groupValue",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",selectableGroup:"selectableGroup",selectableGroupAsModel:"selectableGroupAsModel",searchFn:"searchFn",trackByFn:"trackByFn",clearOnBackspace:"clearOnBackspace",labelForId:"labelForId",inputAttrs:"inputAttrs",tabIndex:"tabIndex",readonly:"readonly",searchWhileComposing:"searchWhileComposing",minTermLength:"minTermLength",editableSearchTerm:"editableSearchTerm",keyDownFn:"keyDownFn",typeahead:"typeahead",multiple:"multiple",addTag:"addTag",searchable:"searchable",clearable:"clearable",isOpen:"isOpen",items:"items",compareWith:"compareWith",clearSearchOnAdd:"clearSearchOnAdd"},outputs:{blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},standalone:!1,features:[Ae([{provide:Ve,useExisting:Te(()=>i),multi:!0},Ue]),G],decls:14,vars:19,consts:[["searchInput",""],["defaultLabelTemplate",""],["defaultLoadingSpinnerTemplate",""],["defaultOptionTemplate",""],["defaultTagTemplate",""],["defaultNotFoundTemplate",""],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""],[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[1,"ng-placeholder"],[4,"ngIf"],["role","combobox","aria-haspopup","listbox",1,"ng-input"],["aria-autocomplete","list",3,"input","compositionstart","compositionend","focus","blur","change","readOnly","disabled","value"],["class","ng-clear-wrapper",3,"title",4,"ngIf"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],["class","ng-dropdown-panel","role","listbox","aria-label","Options list",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ng-select-multiple","ngClass","id","update","scroll","scrollToEnd","outsideClick",4,"ngIf"],["class","ng-value",3,"ng-value-disabled",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ng-value"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],[3,"ngTemplateOutlet"],[1,"ng-spinner-loader"],[1,"ng-clear-wrapper",3,"title"],["aria-hidden","true",1,"ng-clear"],["role","listbox","aria-label","Options list",1,"ng-dropdown-panel",3,"update","scroll","scrollToEnd","outsideClick","virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ngClass","id"],["class","ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked","click","mouseover",4,"ngFor","ngForOf","ngForTrackBy"],["class","ng-option","role","option",3,"ng-option-marked","mouseover","click",4,"ngIf"],[1,"ng-option",3,"click","mouseover"],[1,"ng-option-label",3,"ngItemLabel","escape"],["role","option",1,"ng-option",3,"mouseover","click"],[1,"ng-tag-label"],[1,"ng-option","ng-option-disabled"]],template:function(e,t){if(e&1){let s=H();m(0,"div",8),N("mousedown",function(r){return T(s),v(t.handleMousedown(r))}),m(1,"div",9)(2,"div",10),L(3),g(),C(4,it,2,2,"ng-container",11)(5,st,1,5,null,11),m(6,"div",12)(7,"input",13,0),N("input",function(){T(s);let r=A(8);return v(t.filter(r.value))})("compositionstart",function(){return T(s),v(t.onCompositionStart())})("compositionend",function(){T(s);let r=A(8);return v(t.onCompositionEnd(r.value))})("focus",function(r){return T(s),v(t.onInputFocus(r))})("blur",function(r){return T(s),v(t.onInputBlur(r))})("change",function(r){return T(s),v(r.stopPropagation())}),g()()(),C(9,ot,4,1,"ng-container",11)(10,at,3,2,"span",14),m(11,"span",15),R(12,"span",16),g()(),C(13,St,7,19,"ng-dropdown-panel",17)}e&2&&(O("ng-appearance-outline",t.appearance==="outline")("ng-has-value",t.hasValue),o(3),U(t.placeholder),o(),c("ngIf",(!t.multiLabelTemplate||!t.multiple)&&t.selectedItems.length>0),o(),c("ngIf",t.multiple&&t.multiLabelTemplate&&t.selectedValues.length>0),o(),X("aria-expanded",t.isOpen)("aria-owns",t.isOpen?t.dropdownId:null),o(),c("readOnly",!t.searchable||t.itemsList.maxItemsSelected)("disabled",t.disabled)("value",t.searchTerm?t.searchTerm:""),X("id",t.labelForId)("tabindex",t.tabIndex)("aria-activedescendant",t.isOpen?t.itemsList==null||t.itemsList.markedItem==null?null:t.itemsList.markedItem.htmlId:null)("aria-controls",t.isOpen?t.dropdownId:null),o(2),c("ngIf",t.loading),o(),c("ngIf",t.showClear()),o(3),c("ngIf",t.isOpen))},dependencies:[Me,re,Ne,Dt,oe,ke],styles:[`@charset "UTF-8";.ng-select{position:relative;display:block;box-sizing:border-box}.ng-select div,.ng-select input,.ng-select span{box-sizing:border-box}.ng-select [hidden]{display:none}.ng-select.ng-select-searchable .ng-select-container .ng-value-container .ng-input{opacity:1}.ng-select.ng-select-opened .ng-select-container{z-index:1001}.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-placeholder,.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-value{-webkit-user-select:none;user-select:none;cursor:default}.ng-select.ng-select-disabled .ng-arrow-wrapper{cursor:default}.ng-select.ng-select-filtered .ng-placeholder{display:none}.ng-select .ng-select-container{cursor:default;display:flex;outline:none;overflow:hidden;position:relative;width:100%}.ng-select .ng-select-container .ng-value-container{display:flex;flex:1}.ng-select .ng-select-container .ng-value-container .ng-input{opacity:0}
1.ng-select .ng-select-container .ng-value-container .ng-input>input{box-sizing:content-box;background:none transparent;border:0 none;box-shadow:none;outline:none;padding:0;cursor:default;width:100%}.ng-select .ng-select-container .ng-value-container .ng-input>input::-ms-clear{display:none}.ng-select .ng-select-container .ng-value-container .ng-input>input[readonly]{-webkit-user-select:none;user-select:none;width:0;padding:0}.ng-select.ng-select-single.ng-select-filtered .ng-select-container .ng-value-container .ng-value{visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{position:absolute;left:0;width:100%}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{flex-wrap:wrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{position:absolute}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{white-space:nowrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{cursor:pointer}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{flex:1;z-index:2}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{z-index:1}.ng-select .ng-clear-wrapper{cursor:pointer;position:relative;width:17px;-webkit-user-select:none;user-select:none}.ng-select .ng-clear-wrapper .ng-clear{display:inline-block;font-size:18px;line-height:1;pointer-events:none}.ng-select .ng-spinner-loader{border-radius:50%;width:17px;height:17px;margin-right:5px;font-size:10px;position:relative;text-indent:-9999em;border-top:2px solid rgba(66,66,66,.2);border-right:2px solid rgba(66,66,66,.2);border-bottom:2px solid rgba(66,66,66,.2);border-left:2px solid #424242;transform:translateZ(0);animation:load8 .8s infinite linear}.ng-select .ng-spinner-loader:after{border-radius:50%;width:17px;height:17px}@keyframes load8{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.ng-select .ng-arrow-wrapper{cursor:pointer;position:relative;text-align:center;-webkit-user-select:none;user-select:none}.ng-select .ng-arrow-wrapper .ng-arrow{pointer-events:none;display:inline-block;height:0;width:0;position:relative}.ng-dropdown-panel{box-sizing:border-box;position:absolute;opacity:0;width:100%;z-index:1050;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .ng-dropdown-panel-items{display:block;height:auto;box-sizing:border-box;max-height:240px;overflow-y:auto}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{box-sizing:border-box;cursor:pointer;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-option-label:empty:before{content:"\\200b"}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{font-weight:700;text-decoration:underline}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{cursor:default}.ng-dropdown-panel .scroll-host{overflow:hidden;overflow-y:auto;position:relative;display:block;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .scrollable-content{top:0;left:0;width:100%;height:100%;position:absolute}.ng-dropdown-panel .total-padding{width:1px;opacity:0}
2`],encapsulation:2,changeDetection:0}),i})();function Gt(){return new ue}var ue=class{constructor(){this._selected=[]}get value(){return this._selected}select(n,e,t){if(n.selected=!0,(!n.children||!e&&t)&&this._selected.push(n),e)if(n.parent){let s=n.parent.children.length,l=n.parent.children.filter(r=>r.selected).length;n.parent.selected=s===l}else n.children&&(this._setChildrenSelectedState(n.children,!0),this._removeChildren(n),t&&this._activeChildren(n)?this._selected=[...this._selected.filter(s=>s.parent!==n),n]:this._selected=[...this._selected,...n.children.filter(s=>!s.disabled)])}unselect(n,e){if(this._selected=this._selected.filter(t=>t!==n),n.selected=!1,e)if(n.parent&&n.parent.selected){let t=n.parent.children;this._removeParent(n.parent),this._removeChildren(n.parent),this._selected.push(...t.filter(s=>s!==n&&!s.disabled)),n.parent.selected=!1}else n.children&&(this._setChildrenSelectedState(n.children,!1),this._removeChildren(n))}clear(n){this._selected=n?this._selected.filter(e=>e.disabled):[]}_setChildrenSelectedState(n,e){for(let t of n)t.disabled||(t.selected=e)}_removeChildren(n){this._selected=[...this._selected.filter(e=>e.parent!==n),...n.children.filter(e=>e.parent===n&&e.disabled&&e.selected)]}_removeParent(n){this._selected=this._selected.filter(e=>e!==n)}_activeChildren(n){return n.children.every(e=>!e.disabled||e.selected)}},fi=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Se({type:i}),i.\u0275inj=ve({providers:[{provide:Qe,useValue:Gt}],imports:[[Be]]}),i})();export{xt as a,Ot as b,_i as c,fi as d};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.