import fs from "fs"; import {createHash} from "crypto"; import {load} from "cheerio"; import path from "path"; /** * Find and extract all inline scripts injected into index file by the SvelteKit builder. This needs to be done due to * ManifestV3 restrictions on inline/loaded scripts usage. The only way to run scripts in popup is by specifying * `