// LinkSpin Pages screen: gallery + wizard (scan -> type -> angle -> write) + editor + leads. (function () { const $ = id => document.getElementById(id); const esc = CR.esc, fmt = CR.fmt, api = CR.api, toast = CR.toast, dialog = CR.dialog; let PAGES = [], SEL = null, SCAN = null, TYPE = 'bridge', HOSTS = [], BASE = ''; let STYLES = { palettes: [], designs: [], layouts: [], niches: [] }, PROVIDERS = [], IMAGES = [], IMG_MAX = 50, IMG_BYTES = 2 * 1024 * 1024; // which autoresponder a pasted form posts to (same list the server keeps in formrestyle.js, handed over as `providers`) function providerOf(embed) { const f = /