/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.24/esri/copyright.txt for details.
*/
define(["exports","../../../assets"],(function(e,i){"use strict";function s(e){const i=e.toLowerCase();return"image/bmp"===i||"image/emf"===i||"image/exif"===i||"image/gif"===i||"image/x-icon"===i||"image/jpeg"===i||"image/png"===i||"image/tiff"===i||"image/x-wmf"===i}function p(e){const s=i.getAssetUrl("esri/themes/base/images/files/");return e?"text/plain"===e?`${s}text-32.svg`:"application/pdf"===e?`${s}pdf-32.svg`:"text/csv"===e?`${s}csv-32.svg`:"application/gpx+xml"===e?`${s}gpx-32.svg`:"application/x-dwf"===e?`${s}cad-32.svg`:"application/postscript"===e||"application/json"===e||"text/xml"===e||"model/vrml"===e?`${s}code-32.svg`:"application/x-zip-compressed"===e||"application/x-7z-compressed"===e||"application/x-gzip"===e||"application/x-tar"===e||"application/x-gtar"===e||"application/x-bzip2"===e||"application/gzip"===e||"application/x-compress"===e||"application/x-apple-diskimage"===e||"application/x-rar-compressed"===e||"application/zip"===e?`${s}zip-32.svg`:e.includes("image/")?`${s}image-32.svg`:e.includes("audio/")?`${s}sound-32.svg`:e.includes("video/")?`${s}video-32.svg`:e.includes("msexcel")||e.includes("ms-excel")||e.includes("spreadsheetml")?`${s}excel-32.svg`:e.includes("msword")||e.includes("ms-word")||e.includes("wordprocessingml")?`${s}word-32.svg`:e.includes("powerpoint")||e.includes("presentationml")?`${s}report-32.svg`:`${s}generic-32.svg`:`${s}generic-32.svg`}e.getIconPath=p,e.isSupportedImage=s,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
