var PhotosMimeType_1;
var hasRequiredPhotosMimeType;

function requirePhotosMimeType () {
	if (hasRequiredPhotosMimeType) return PhotosMimeType_1;
	hasRequiredPhotosMimeType = 1;

	/**
	 * Copyright (c) 2013-present, Facebook, Inc.
	 *
	 * This source code is licensed under the MIT license found in the
	 * LICENSE file in the root directory of this source tree.
	 *
	 */
	var PhotosMimeType = {
	  isImage: function isImage(mimeString) {
	    return getParts(mimeString)[0] === 'image';
	  },
	  isJpeg: function isJpeg(mimeString) {
	    var parts = getParts(mimeString);
	    return PhotosMimeType.isImage(mimeString) && ( // see http://fburl.com/10972194
	    parts[1] === 'jpeg' || parts[1] === 'pjpeg');
	  }
	};

	function getParts(mimeString) {
	  return mimeString.split('/');
	}

	PhotosMimeType_1 = PhotosMimeType;
	return PhotosMimeType_1;
}

export { requirePhotosMimeType as __require };
//# sourceMappingURL=PhotosMimeType.js.map
