{
  "version": 3,
  "sources": ["reveal.js"],
  "sourcesContent": ["/** Marketing reveals: marks each [data-reveal] and [data-reveal-stagger] once, the first time it is seen. */\n(() => {\n  const root = document.documentElement;\n  const targets = document.querySelectorAll(\"[data-reveal], [data-reveal-stagger]\");\n\n  // Other scripts start their own sequence from this event, and check for the class in\n  // case the element was marked before they were listening.\n  const mark = (el) => {\n    el.classList.add(\"is-seen\");\n    el.dispatchEvent(new CustomEvent(\"reveal:seen\"));\n  };\n\n  if (!(\"IntersectionObserver\" in window)) {\n    targets.forEach(mark);\n    return;\n  }\n\n  // Waiting to be seen. The observer reports an element crossing into the screen, but a\n  // jump (a link to an anchor, Find in page, a hard flick) can carry one from below the\n  // screen to above it between two frames, and it was never shown. So each scroll also\n  // marks anything now above the line, and stops listening once nothing is left.\n  const waiting = new Set();\n  const show = (el) => {\n    waiting.delete(el);\n    observer.unobserve(el);\n    mark(el);\n  };\n  let queued = false;\n  const sweep = () => {\n    queued = false;\n    const line = window.innerHeight * 0.9;\n    waiting.forEach((el) => {\n      if (el.getBoundingClientRect().top < line) {\n        show(el);\n      }\n    });\n    if (!waiting.size) {\n      document.removeEventListener(\"scroll\", onScroll, true);\n    }\n  };\n  // The app's pages scroll .app-content, not the window, so listen in the capture phase.\n  const onScroll = () => {\n    if (!queued) {\n      queued = true;\n      window.requestAnimationFrame(sweep);\n    }\n  };\n\n  const observer = new IntersectionObserver(\n    (entries) => {\n      entries.forEach((entry) => {\n        if (entry.isIntersecting) {\n          show(entry.target);\n        }\n      });\n    },\n    // A line into the screen rather than a share of the element: a share of a long\n    // list on a phone may never be on screen at once.\n    { rootMargin: \"0px 0px -10% 0px\", threshold: 0 },\n  );\n\n  // Anything already on screen, or scrolled past before this ran, is shown as it is:\n  // nothing above the fold moves. Read before the class goes on, so it is one layout.\n  const fold = window.innerHeight;\n  targets.forEach((el) => {\n    if (el.getBoundingClientRect().top < fold) {\n      mark(el);\n    } else {\n      waiting.add(el);\n      observer.observe(el);\n    }\n  });\n  if (waiting.size) {\n    document.addEventListener(\"scroll\", onScroll, { capture: true, passive: true });\n  }\n  root.classList.add(\"js-motion\");\n})();\n"],
  "mappings": "CACC,IAAM,CACL,MAAMA,EAAO,SAAS,gBAChBC,EAAU,SAAS,iBAAiB,sCAAsC,EAI1EC,EAAQC,GAAO,CACnBA,EAAG,UAAU,IAAI,SAAS,EAC1BA,EAAG,cAAc,IAAI,YAAY,aAAa,CAAC,CACjD,EAEA,GAAI,EAAE,yBAA0B,QAAS,CACvCF,EAAQ,QAAQC,CAAI,EACpB,MACF,CAMA,MAAME,EAAU,IAAI,IACdC,EAAQF,GAAO,CACnBC,EAAQ,OAAOD,CAAE,EACjBG,EAAS,UAAUH,CAAE,EACrBD,EAAKC,CAAE,CACT,EACA,IAAII,EAAS,GACb,MAAMC,EAAQ,IAAM,CAClBD,EAAS,GACT,MAAME,EAAO,OAAO,YAAc,GAClCL,EAAQ,QAASD,GAAO,CAClBA,EAAG,sBAAsB,EAAE,IAAMM,GACnCJ,EAAKF,CAAE,CAEX,CAAC,EACIC,EAAQ,MACX,SAAS,oBAAoB,SAAUM,EAAU,EAAI,CAEzD,EAEMA,EAAW,IAAM,CAChBH,IACHA,EAAS,GACT,OAAO,sBAAsBC,CAAK,EAEtC,EAEMF,EAAW,IAAI,qBAClBK,GAAY,CACXA,EAAQ,QAASC,GAAU,CACrBA,EAAM,gBACRP,EAAKO,EAAM,MAAM,CAErB,CAAC,CACH,EAGA,CAAE,WAAY,mBAAoB,UAAW,CAAE,CACjD,EAIMC,EAAO,OAAO,YACpBZ,EAAQ,QAASE,GAAO,CAClBA,EAAG,sBAAsB,EAAE,IAAMU,EACnCX,EAAKC,CAAE,GAEPC,EAAQ,IAAID,CAAE,EACdG,EAAS,QAAQH,CAAE,EAEvB,CAAC,EACGC,EAAQ,MACV,SAAS,iBAAiB,SAAUM,EAAU,CAAE,QAAS,GAAM,QAAS,EAAK,CAAC,EAEhFV,EAAK,UAAU,IAAI,WAAW,CAChC,GAAG",
  "names": ["root", "targets", "mark", "el", "waiting", "show", "observer", "queued", "sweep", "line", "onScroll", "entries", "entry", "fold"]
}
