import { TextDecoder } from 'text-encoding-utf-8'; self.TextDecoder = TextDecoder;