migration to TS: gestures.ts, authoring.ts, regimesIE.ts, vccontent.ts, viewport.ts