importCheckfrom"./Check.js";vardataUriRegex=/^data:/i;/** * Determines if the specified uri is a data uri. * * @function isDataUri * * @param {String} uri The uri to test. * @returns {Boolean} true when the uri is a data uri; otherwise, false. * * @private */functionisDataUri(uri){//>>includeStart('debug', pragmas.debug);Check.typeOf.string("uri",uri);//>>includeEnd('debug');returndataUriRegex.test(uri);}exportdefaultisDataUri;