import{Sa as u,Y as a,Z as s,_ as d,aa as o,oa as c,tc as l}from"./chunk-IDYB4NXF.js";import{i as r}from"./chunk-AI7IVZV2.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:1cf7c077143c4c267fdafbe5508f191afcef21bad6aba22a3a8dc180e1003753*/
//# sourceMappingURL=chunk-E33H3QUP.js.map
