It seems to me that widget.js file (
https://lcwstorageaccountdev.blob.core.windows.net/charlwan/...) contains everything from localizations to React stuff to their Fluent UI framework to crypto stuff in one massive bundle, and it's not fully minimized or served compressed. I'm not sure why they would serve it like that, but it does seem a little crazy.
However, they do offer the ability to build your own omnichannel UI using their React components (https://github.com/microsoft/omnichannel-chat-widget), and from their storybook (https://microsoft.github.io/omnichannel-chat-widget/docs/sto...) those file sizes look smaller, even with the Storybook code included. Or you can build your own from their SDK (https://github.com/microsoft/omnichannel-chat-sdk).
Maybe with some good tree-shaking, dynamic lazy-loading of imports, and good serverside compression with gzip/brotli, it miiiiiiight get small enough to be serviceable? It's still a lot of bloat... but if you need all those features and don't mind slowing everything down for your customers...
I'd probably just put my own little popup chat icon in the lower right and use that to dynamically load the rest of the script, only for those who really want to start a chat. That way, at least you don't force the entire bundle on every website visitor.