@social-mail/social-mail-client 1.2.441 → 1.2.442

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -52295,17 +52295,15 @@ System.register(["tslib", "@web-atoms/core/dist/core/BindableProperty", "./HtmlP
52295
52295
  let isVideo = false;
52296
52296
  let isPdf = false;
52297
52297
  let inject = false;
52298
- switch (tagName) {
52299
- case "VIDEO":
52300
- accept = "video/*";
52301
- multiple = false;
52302
- isVideo = true;
52303
- break;
52304
- case "INJECT":
52305
- accept = "text/html";
52306
- multiple = false;
52307
- inject = true;
52308
- break;
52298
+ if (/^video/i.test(tagName)) {
52299
+ accept = "video/*";
52300
+ multiple = false;
52301
+ isVideo = true;
52302
+ }
52303
+ if (/^inject$/i.test(tagName)) {
52304
+ accept = "text/html";
52305
+ multiple = false;
52306
+ inject = true;
52309
52307
  }
52310
52308
  if (/pdf/i.test(tagName)) {
52311
52309
  accept = "application/pdf";