'use strict'; const {assert,functionSource,app,css,html,read,buildMeta}=require('./helpers/app-source'); const packageVersion=JSON.parse(read('package.json')).version; assert(packageVersion===buildMeta.PACKAGE_VERSION&&buildMeta.APP_VERSION==='48.0','v47.84 canonical version marker is missing'); const sound=functionSource('playSound'); assert(app.includes('SOUND_GAIN_MULTIPLIER=5.2')&&functionSource('soundTone').includes('Math.min(.42')&&functionSource('soundNoise').includes('Math.min(.24'),'Requested sound level increase is missing'); for(const kind of['grab','stretch','gate','clear','buy','reset','remove','shop','warp','key','error'])assert(sound.includes(`kind==='${kind}'`),`Missing distinct ${kind} sound`); assert(functionSource('finalizeAtGate').includes("playSound('gate')")&&functionSource('removeDetachedPathAtOwnEndpoint').includes("playSound('remove')")&&functionSource('beginMinimapPointer').includes("playSound('shop')"),'New sound variants are not wired to gameplay events'); const makeBoard=functionSource('makeBoard'); assert(!makeBoard.includes('active-board-boundary')&&!css.includes('active-board-boundary')&&!css.includes('@keyframes activeBoardOrbit'),'Retired active-board orbit boundary remains'); assert(html.includes('