"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; /* eslint no-useless-escape:0 import/prefer-default-export:0 */ var reg = /(((^https?:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+(?::\d+)?|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)$/; var isUrl = function isUrl(path) { return reg.test(path); }; var _default = isUrl; exports.default = _default;