1import{a as z,b as A}from"./chunk-ILIT25JL.js";import{a as U,b as D,c as j}from"./chunk-XBFEN6JS.js";import{ba as N}from"./chunk-YAGVIJWB.js";import{ra as k}from"./chunk-VM45I3DA.js";import{d as C}from"./chunk-RQYWSFFE.js";import{ua as B}from"./chunk-YICG52CC.js";import{d as I,e as F}from"./chunk-GS7ETSNY.js";import{Ab as p,Ha as v,Ka as i,Kb as O,Mc as P,Ob as t,Qb as b,Ua as M,_a as y,eb as w,fa as x,fb as s,gb as d,hc as u,ia as h,ib as L,ic as _,ja as f,jb as T,kb as E,lb as o,mb as c,nb as l,ob as g,vb as S,yb as H}from"./chunk-47EDIEWK.js";function G(e,m){if(e&1&&(t(0,` 2 `),c(1,"button",5),u(2,"translate"),t(3,` 3 `),g(4,"cx-icon",6),t(5,` 4 `),l(),t(6,` 5 `)),e&2){let n=p(),a=O(11);i(),o("ngClass",n.isBranded?"tw-text-primary":"cxg-text-primary-contrast")("cxMenuTriggerFor",a),w("aria-label",_(2,4,"language")),i(3),o("ariaHidden",!0)}}function $(e,m){e&1&&(t(0,` 6 `),g(1,"cx-icon",8),t(2,` 7 `)),e&2&&(i(),o("ariaHidden",!0))}function R(e,m){e&1&&(t(0,` 8 `),g(1,"span",9),t(2,` 9 `))}function W(e,m){if(e&1){let n=S();t(0,` 10 `),c(1,"button",7),H("click",function(){let r=h(n).$implicit,V=p(2);return f(V.selectLanguage(r.code))}),t(2,` 11 `),s(3,$,3,1),t(4),s(5,R,3,0),l(),t(6,` 12 `)}if(e&2){let n=m.$implicit,a=p(2);i(),o("lang",n.code),i(2),d(n.code===a.currentLanguageCode?3:-1),i(),b(` 13 `,n.name,` 14 `),i(),d(n.code===a.currentLanguageCode?5:-1)}}function X(e,m){if(e&1&&(t(0,` 15 `),T(1,W,7,4,null,null,L)),e&2){let n=p();i(),E(n.supportedLanguages)}}var ot=(()=>{class e{constructor(){this._languageService=x(k),this._themingService=x(C)}ngOnInit(){this.isBranded=this._themingService.isBranded,this.logoImageUrl=this.isBranded?this._themingService.companyLogoImageUrl:C.DEFAULT_COMPANY_LOGO_WHITE_IMAGE_URL,this.companyName=this._themingService.companyName,this._languageService.getSupportedLanguages().then(n=>{this.supportedLanguages=n,this.currentLanguageCode=this._languageService.getCurrentLanguageCode()})}selectLanguage(n){this.currentLanguageCode=n,this._languageService.useLanguage(n)}static{this.\u0275fac=function(a){return new(a||e)}}static{this.\u0275cmp=M({type:e,selectors:[["cx-external-header"]],decls:17,vars:6,consts:[["languagesMenu","matMenu"],[1,"cx-wrapper","tw-relative","mat-elevation-z1","tw-flex","tw-justify-start","tw-items-center",3,"ngClass"],[1,"cx-company-logo-container","tw-flex-1","tw-flex","tw-justify-start","tw-items-center"],[1,"cx-company-logo",3,"src","alt"],["matMenuContent",""],["mat-button","","type","button",1,"cx-languages-dropdown-button",3,"ngClass","cxMenuTriggerFor"],["iconName","cxi-earth","additionalClasses","cx-language-icon cxi-24px",3,"ariaHidden"],["mat-menu-item","","type","button",3,"click","lang"],["iconName","cxi-check","additionalClasses","tw-pr-4",3,"ariaHidden"],["translate","selected",1,"cdk-visually-hidden"]],template:function(a,r){a&1&&(t(0,` 16`),c(1,"header",1),t(2,` 17 `),c(3,"div",2),t(4,` 18 `),g(5,"img",3),u(6,"translate"),t(7,` 19 `),l(),t(8,` 20 21 `),s(9,G,7,6),c(10,"mat-menu",null,0),t(12,` 22 `),y(13,X,3,0,"ng-template",4),t(14,` 23 `),l(),t(15,` 24`),l(),t(16,` 25`)),a&2&&(i(),o("ngClass",r.isBranded?"tw-bg-white":"tw-bg-primary"),i(4),o("src",r.logoImageUrl,v)("alt",r.isBranded?r.companyName:_(6,4,"common.claimXperienceLogo")),i(4),d(r.supp
25ortedLanguages?9:-1))},dependencies:[N,B,j,D,U,A,z,P,I,F],styles:["[_nghost-%COMP%]{z-index:6}[_nghost-%COMP%] .cx-wrapper[_ngcontent-%COMP%]{padding:2px 8px}[_nghost-%COMP%] .cx-company-logo-container[_ngcontent-%COMP%]{height:60px}[_nghost-%COMP%] .cx-company-logo[_ngcontent-%COMP%]{max-height:100%;max-width:242px}[_nghost-%COMP%] .mat-mdc-button[_ngcontent-%COMP%]{text-transform:none;min-width:24px;height:36px;margin:2px;padding:0 8px;line-height:normal}"]})}}return e})();export{ot as a};
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.