PageSourceSearch

https://m-bees.nl/app.js

js m-bees.nl collected 2026-10-02 02:02:40 UTC 4,804 bytes, 60 lines download raw bytes

1// ===== NAV =====
2const nav = document.getElementById('mainNav');
3window.addEventListener('scroll', () => nav.classList.toggle('scrolled', window.scrollY > 20));
4document.getElementById('menuToggle').addEventListener('click', () => document.getElementById('mobileMenu').classList.toggle('open'));
5
6// Close mobile menu on any link click
7document.querySelectorAll('#mobileMenu a').forEach(a => {
8  a.addEventListener('click', () => document.getElementById('mobileMenu').classList.remove('open'));
9});
10
11// Active nav link
12const sections = document.querySelectorAll('section[id]');
13window.addEventListener('scroll', () => {
14  let current = '';
15  sections.forEach(s => { if (window.scrollY >= s.offsetTop - 100) current = s.id; });
16  document.querySelectorAll('.nav-links a').forEach(a => {
17    a.classList.toggle('active', a.getAttribute('href') === '#' + current);
18  });
19});
20
21// ===== PREVIOUS EDITIONS =====
22const editions = [
23  {year:2025,mbees:"17th M-BEES",mbeesK:"Rachel Kranton (Duke), Guillaume Fr\u00e9chette (NYU)",mbeps:"10th M-BEPS",mbepsK:"Marc Gurgand (PSE & J-PAL), Axel Ockenfels (Cologne & MPI)",link:"https://docs.google.com/spreadsheets/d/1fUQWmzXr7E5p17nlgrFTRer4yVQjxy19wFjuKlBjXZ0/edit?gid=0#gid=0"},
24  {year:2024,mbees:"16th M-BEES",mbeesK:"Sigrid Suetens (Tilburg), Roberto Weber (Zurich)",mbeps:"9th M-BEPS",mbepsK:"Mich\u00e8le Belot (Cornell), Nida Broughton (BIT)",link:"https://docs.google.com/spreadsheets/d/1cAEZ4RVrKaSsb8IXl77AybZLwULzcQahBdaJoNraqjg/edit?usp=sharing"},
25  {year:2023,mbees:"15th M-BEES",mbeesK:"Simon G\u00e4chter (Nottingham), Pietro Ortoleva (Princeton)",mbeps:"8th M-BEPS",mbepsK:"Emanuele Ciriolo (EU Commission), Dorothea K\u00fcbler (WZB & TU Berlin)",link:"https://docs.google.com/spreadsheets/d/1ODMU5xb1tpikJlFYbvvz5euTUBwq77G2GyYbUGDiED4/edit#gid=0"},
26  {year:2022,mbees:"14th M-BEES",mbeesK:"Botond K\u0151szegi (CEU), Friederike Mengel (Essex & Lund)",mbeps:"7th M-BEPS",mbepsK:"Martin Kocher (Austrian Fed. Minister), George Loewenstein (CMU)",link:"https://docs.google.com/spreadsheets/d/1bCbWUhe8B0k5gPXjKCEs5aMXE6ATXCoaAL1Gn2oQEg4/edit#gid=0"},
27  {year:2021,mbees:"13th M-BEES",mbeesK:"Daniel Friedman (UCSC), Nagore Iriberri (Basque Country), Camelia Kuhnen (UNC)",mbeps:"6th M-BEPS",mbepsK:"Gerhard Fehr (FehrAdvice), Imran Rasul (UCL)",link:"https://docs.google.com/spreadsheets/d/1LikK4dD6RVStg-DyiuwI-LJRSb_pkikz7gJVz1gVgIY/edit?usp=sharing"},
28  {year:2019,mbees:"12th M-BEES",mbeesK:"David Laibson (Harvard), Elisabet Rutstr\u00f6m (Georgia State)",mbeps:"5th M-BEPS",mbepsK:"Tim Cason (Purdue), Xavier Troussard (EU Policy Lab)",link:"https://drive.google.com/file/d/1YkTT-JYb6MTg9bhbzIMFYPsxOfewCiRW/view?usp=share_link"},
29  {year:2018,mbees:"11th M-BEES",mbeesK:"Ernst Fehr (Zurich), Rebecca Morton (NYU)",mbeps:"4th M-BEPS",mbepsK:"Thomas Dirkmaat (Dutch Ministry), Uri Gneezy (UCSD)",link:"https://drive.google.com/file/d/1_FLszSzyA30PwmPEOB5AzLVViIzZIS0u/view?usp=sharing"},
30  {year:2017,mbees:"10th M-BEES",mbeesK:"Marie Claire Villeval (Lyon), Michael Woodford (Columbia)",mbeps:"3rd M-BEPS",mbepsK:"Oriana Bandiera (LSE), James Andreoni (UCSD), Jonathan Meer (Texas A&M)",link:"https://drive.google.com/file/d/1MZnk2SjeRAvKk4jaDGJch6ScWF8y0vaB/view?usp=sharing"},
31  {year:2016,mbees:"9th M-BEES",mbeesK:"Rachel Croson (UT Arlington), Andrew Caplin (NYU)",mbeps:"2nd M-BEPS"},
32  {year:2015,mbees:"8th M-BEES",mbeesK:"Catherine Eckel (Texas A&M), Andrew Schotter (NYU)",mbeps:"1st M-BEPS"},
33  {year:2014,mbees:"7th M-BEES",mbeesK:"Muriel Niederle (Stanford), Drazen Prelec (MIT)"},
34  {year:2013,mbees:"6th M-BEES",mbeesK:"Antonio Rangel (Caltech), Joel Sobel (UCSD)"},
35  {year:2012,mbees:"5th M-BEES",mbeesK:"Roland Benabou (Princeton), Lise Vesterlund (Pittsburgh)"},
36  {year:2011,mbees:"4th M-BEES",mbeesK:"Matthew Rabin (UC Berkeley), Leeat Yariv (Caltech)"},
37  {year:2010,mbees:"3rd M-BEES",mbeesK:"B. Douglas Bernheim (Stanford), Yan Chen (Michigan)"},
38  {year:2009,mbees:"2nd M-BEES",mbeesK:"Armin Falk (Bonn), Drew Fudenberg (Harvard)"},
39  {year:2008,mbees:"1st M-BEES",mbeesK:"Inaugural edition"}
40];
41const el = document.getElementById('editionsList');
42el.innerHTML = editions.map(e => `<div class="edition-row">
43  <div class="edition-year">${e.year}</div>
44  <div class="edition-details">
45    <h4>${e.mbees}${e.mbeps?' & '+e.mbeps:''}</h4>
46    <p>${e.mbeesK}${e.mbepsK?'<br>'+e.mbepsK:''}</p>
47  </div>
48  ${e.link?'<a class="edition-link" href="'+e.link+'" target="_blank">Program &rarr;</a>':''}
49</div>`).join('');
50
51// ===== EMAIL OBFUSCATION =====
52document.querySelectorAll('.email-protect').forEach(span => {
53  const u = span.dataset.u;
54  const d = span.dataset.d;
55  const addr = u + '@' + d;
56  const a = document.createElement('a');
57  a.href = 'mai' + 'lto:' + addr;
58  a.textContent = addr;
59  span.replaceWith(a);
60});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.