"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("file-extension"),t=require("image-extensions"),n=require("video-extensions");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=i(e),o=i(t),u=i(n),s=function(e){return r.default((e||"").split("?")[0])},l=["doc","docx","xls","xlsx","ppt","pptx"];exports.getFileExtension=s,exports.getIsImage=function(e){return o.default.includes(s(e))},exports.getIsVideo=function(e){return u.default.includes(s(e))},exports.getWebViewType=function(e){return l.includes(s(e))?"office":"google"};
