1import{a as f}from"./chunk-UW3RHOKD.js";import{a as l}from"./chunk-FBGABFFS.js";import"./chunk-HRQ7UTIL.js";import{a as d}from"./chunk-ZWTKN2IZ.js";import"./chunk-UM2GODMW.js";import"./chunk-V77LSHTI.js";import"./chunk-JDGND3JP.js";import"./chunk-GGXVIKE5.js";import"./chunk-QBHS6F3Z.js";import"./chunk-4F3AFLZA.js";import"./chunk-2W3PDS2T.js";import"./chunk-PPMQE2JW.js";import"./chunk-N5T2HWOK.js";import"./chunk-7F36WMMN.js";import"./chunk-UNY2DPAG.js";import"./chunk-ZHIQ2TBV.js";import"./chunk-F5C5UTC4.js";import"./chunk-BFRGQNAG.js";import{Aa as m,Kb as u,Nb as c,ea as i,mb as s,rb as p}from"./chunk-MFXMOPXL.js";import"./chunk-7BXBZ5JU.js";var y=class r extends l{ignore=!0;countryDataService=i(d);countries=[];ngOnInit(){super.ngOnInit();let o=this.translateService.getCurrentLang(),n=new Intl.DisplayNames([o],{type:"region"});this.countryDataService.getCountryCodes().subscribe(e=>this.countries=e.sort((t,a)=>{if(t==="CH")return-1;if(a==="CH")return 1;let g=n.of(t)||"",C=n.of(a)||"";return g.localeCompare(C)}).map(t=>n.of(t)))}static \u0275fac=(()=>{let o;return function(e){return(o||(o=m(r)))(e||r)}})();static \u0275cmp=s({type:r,selectors:[["app-form-country-dropdown"]],features:[p],decls:1,vars:6,consts:[[3,"label","isRequired","formOptions","metadata","name","availableLanguages"]],template:function(n,e){n&1&&c(0,"app-form-dropdown",0),n&2&&u("label",e.label)("isRequired",e.isRequired)("formOptions",e.countries)("metadata",e.metadata)("name",e.name)("availableLanguages",e.availableLanguages)},dependencies:[f],encapsulation:2,changeDetection:0})};export{y as FormCountryDropdownComponent};
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.