import{__exports as t}from"../../../../_virtual/settings4.mjs";import s from"../../../../_virtual/_node_path.mjs";import{__require as o}from"../../fs.stat/out/index.mjs";import{__require as i}from"./adapters/fs.mjs";var r;function e(){if(r)return t;r=1,Object.defineProperty(t,"__esModule",{value:!0});const e=s,n=o(),a=i();return t.default=class{constructor(t={}){this._options=t,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=a.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,e.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new n.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(t,s){return null!=t?t:s}},t}export{e as __require};