h=open('index_main.html',encoding='utf-8').read()
i = h.index('const VERIFIED_DETAILS=new Set([')
print('--- VD start at', i, '---')
print(h[i:i+300])
print('...')
# Find the real end using bracket depth
j = i + len('const VERIFIED_DETAILS=new Set(')
depth = 0
while j < len(h):
    c = h[j]
    if c == '[':
        depth += 1
    elif c == ']':
        depth -= 1
        if depth == 0:
            end = j
            break
    j += 1
print('--- VD end at', end, '---')
print(h[end-400:end+10])
