/*
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 { Base, markType } from "igniteui-angular-core";
import { Uri } from "igniteui-angular-core";
/**
 * @hidden
 */
export let UriUtilities = /*@__PURE__*/ (() => {
    class UriUtilities extends Base {
        static b(a) {
            let b = new Uri(1, a, 0);
            return b;
        }
        static a(a, b) {
            if (!((() => { let c = Uri.tryCreate(a, 0, b); b = c.p2; return c.ret; })())) {
                return {
                    ret: false,
                    p1: b
                };
            }
            return {
                ret: true,
                p1: b
            };
        }
    }
    UriUtilities.$t = markType(UriUtilities, 'UriUtilities');
    return UriUtilities;
})();
