import{Ta as u,Y as a,Z as s,_ as d,aa as o,pa as c,yc as l}from"./chunk-EWB56PWF.js";import{i as r}from"./chunk-2T7OYDCL.js";var p=new d("cdk-dir-doc",{providedIn:"root",factory:v});function v(){return o(l)}var m=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function h(e){let t=e?.toLowerCase()||"";return t==="auto"&&typeof navigator<"u"&&navigator?.language?m.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var I=(()=>{let t=class t{value="ltr";change=new c;constructor(){let i=o(p,{optional:!0});if(i){let n=i.body?i.body.dir:null,f=i.documentElement?i.documentElement.dir:null;this.value=h(n||f||"ltr")}}ngOnDestroy(){this.change.complete()}};r(t,"\u0275fac",function(n){return new(n||t)}),r(t,"\u0275prov",a({token:t,factory:t.\u0275fac,providedIn:"root"}));let e=t;return e})();var b=(()=>{let t=class t{};r(t,"\u0275fac",function(n){return new(n||t)}),r(t,"\u0275mod",u({type:t})),r(t,"\u0275inj",s({}));let e=t;return e})();export{I as a,b};
/**i18n:85d030b7fdd36d163c6d41dcef9178681a6baa573eb199e8b12fe27dbb057a98*/
//# sourceMappingURL=chunk-NCFXZ2TF.js.map
