/*
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE  AGREEMENT ("AGREEMENT") LOCATED HERE:
https://www.infragistics.com/legal/license/igultimate-la
https://www.infragistics.com/legal/license/igultimate-eula
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE:  you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
*/
import * as tslib_1 from "tslib";
import { Base, markType } from "igniteui-angular-core";
import { stringStartsWith } from "igniteui-angular-core";
/**
 * @hidden
 */
var DocCoreExtensions = /** @class */ (function (_super) {
    tslib_1.__extends(DocCoreExtensions, _super);
    function DocCoreExtensions() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    DocCoreExtensions.fixDirectoryPath = function (a) {
        if (stringStartsWith(a, "\\")) {
            return a.substr(1);
        }
        if (stringStartsWith(a, "/")) {
            return a.substr(1);
        }
        return a;
    };
    DocCoreExtensions.$t = markType(DocCoreExtensions, 'DocCoreExtensions');
    return DocCoreExtensions;
}(Base));
export { DocCoreExtensions };
//# sourceMappingURL=DocCoreExtensions.js.map