import{$ as s,Z as a,ba as o,mc as c,qa as d}from"./chunk-4JM6MIZ5.js";import{i as r}from"./chunk-QJQRWPYR.js";var l=new s("cdk-dir-doc",{providedIn:"root",factory:f});function f(){return o(c)}var g=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function h(i){let t=i?.toLowerCase()||"";return t==="auto"&&typeof navigator<"u"&&navigator?.language?g.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var O=(()=>{let t=class t{value="ltr";change=new d;constructor(){let e=o(l,{optional:!0});if(e){let n=e.body?e.body.dir:null,u=e.documentElement?e.documentElement.dir:null;this.value=h(n||u||"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 i=t;return i})();export{O as a};
/**i18n:68865f44f2a527c44cf5136a17c76a0ff8308c2bae5c7c8d50070a5fb9847c44*/
//# sourceMappingURL=chunk-ODNKH6CW.js.map
