CINXE.COM
Venues
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <meta name="generator" content="quarto-1.3.450"> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes"> <title>Venues</title> <link rel="canonical" href="https://sehm2023.com/venues_new" /> <style> code{white-space: pre-wrap;} span.smallcaps{font-variant: small-caps;} div.columns{display: flex; gap: min(4vw, 1.5em);} div.column{flex: auto; overflow-x: auto;} div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;} ul.task-list{list-style: none;} ul.task-list li input[type="checkbox"] { width: 0.8em; margin: 0 0.8em 0.2em -1em; /* quarto-specific, see https://github.com/quarto-dev/quarto-cli/issues/4556 */ vertical-align: middle; } </style> <script src="site_libs/quarto-nav/quarto-nav.js"></script> <script src="site_libs/quarto-nav/headroom.min.js"></script> <script src="site_libs/clipboard/clipboard.min.js"></script> <script src="site_libs/quarto-search/autocomplete.umd.js"></script> <script src="site_libs/quarto-search/fuse.min.js"></script> <script src="site_libs/quarto-search/quarto-search.js"></script> <meta name="quarto:offset" content="./"> <link href="assets/favicon.ico" rel="icon"> <script src="site_libs/quarto-html/quarto.js"></script> <script src="site_libs/quarto-html/popper.min.js"></script> <script src="site_libs/quarto-html/tippy.umd.min.js"></script> <script src="site_libs/quarto-html/anchor.min.js"></script> <link href="site_libs/quarto-html/tippy.css" rel="stylesheet"> <link href="site_libs/quarto-html/quarto-syntax-highlighting.css" rel="stylesheet" id="quarto-text-highlighting-styles"> <script src="site_libs/bootstrap/bootstrap.min.js"></script> <link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet"> <link href="site_libs/bootstrap/bootstrap.min.css" rel="stylesheet" id="quarto-bootstrap" data-mode="light"> <link href="site_libs/quarto-contrib/fontawesome6-0.1.0/all.css" rel="stylesheet"> <link href="site_libs/quarto-contrib/fontawesome6-0.1.0/latex-fontsize.css" rel="stylesheet"> <script id="quarto-search-options" type="application/json">{ "location": "navbar", "copy-button": false, "collapse-after": 3, "panel-placement": "end", "type": "overlay", "limit": 20, "language": { "search-no-results-text": "No results", "search-matching-documents-text": "matching documents", "search-copy-link-title": "Copy link to search", "search-hide-matches-text": "Hide additional matches", "search-more-match-text": "more match in this document", "search-more-matches-text": "more matches in this document", "search-clear-button-title": "Clear", "search-detached-cancel-button-title": "Cancel", "search-submit-button-title": "Submit", "search-label": "Search" } }</script> <script src="ajax/libs/require_js/2.3.6/require.min.js" ></script> <script src="ajax/libs/jquery/3.5.1/jquery.min.js" ></script> <script type="application/javascript">define('jquery', [],function() {return window.jQuery;})</script> <link rel="stylesheet" href="styles.css"> </head> <body class="nav-fixed"> <div id="quarto-search-results"></div> <header id="quarto-header" class="headroom fixed-top"> <nav class="navbar navbar-expand-lg navbar-dark "> <div class="navbar-container container-fluid"> <div id="quarto-search" class="" title="Search"></div> <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation" onclick="if (window.quartoToggleHeadroom) { window.quartoToggleHeadroom(); }"> <span class="navbar-toggler-icon"></span> </button> <div class="collapse navbar-collapse" id="navbarCollapse"> <ul class="navbar-nav navbar-nav-scroll me-auto"> <li class="nav-item"> <a class="nav-link" href="/" rel target><i class="bi bi-house" role="img"> </i> <span class="menu-text">Home</span></a> </li> <li class="nav-item"> <a class="nav-link" href="programme" rel target> <span class="menu-text"><i class="fa-solid fa-calendar-plus" aria-label="calendar-plus"></i> Programme</span></a> </li> <li class="nav-item"> <a aria-current="page" class="nav-link active" href="venues_new" rel target> <span class="menu-text"><i class="fa-solid fa-landmark" aria-label="landmark"></i> Venues</span></a> </li> <li class="nav-item"> <a class="nav-link" href="abstracts" rel target> <span class="menu-text"><i class="fa-solid fa-newspaper" aria-label="newspaper"></i> Abstracts</span></a> </li> <li class="nav-item"> <a class="nav-link" href="/" rel target> <span class="menu-text"><i class="fa-solid fa-paperclip" aria-label="paperclip"></i> Papers</span></a> </li> </ul> <ul class="navbar-nav navbar-nav-scroll ms-auto"> <li class="nav-item"> <a class="nav-link" href="registration_fees" rel target> <span class="menu-text"><i class="fa-solid fa-money-bills" aria-label="money-bills"></i> Registration Fee</span></a> </li> <li class="nav-item dropdown "> <a class="nav-link dropdown-toggle" href="#" id="nav-menu-more" role="button" data-bs-toggle="dropdown" aria-expanded="false" rel="" target=""> <i class="bi bi-flower1" role="img"> </i> <span class="menu-text">More</span> </a> <ul class="dropdown-menu dropdown-menu-end" aria-labelledby="nav-menu-more"> <li> <a class="dropdown-item" href="info" rel target> <span class="dropdown-text">News</span></a> </li> <li> <a class="dropdown-item" href="info" rel target> <span class="dropdown-text">Information</span></a> </li> <li> <a class="dropdown-item" href="info" rel target> <span class="dropdown-text">FAQs</span></a> </li> <li> <a class="dropdown-item" href="keynotes" rel target> <span class="dropdown-text">Keynote speakers</span></a> </li> <li> <a class="dropdown-item" href="logistics/travel" rel target> <span class="dropdown-text"><i class="fa-solid fa-train" aria-label="train"></i> Travel</span></a> </li> <li> <a class="dropdown-item" href="logistics/accomodation" rel target> <span class="dropdown-text"><i class="fa-solid fa-hotel" aria-label="hotel"></i> Accomodation</span></a> </li> </ul> </li> </ul> <div class="quarto-navbar-tools"> </div> </div> <!-- /navcollapse --> </div> <!-- /container-fluid --> </nav> </header> <!-- content --> <div id="quarto-content" class="quarto-container page-columns page-rows-contents page-layout-article page-navbar"> <!-- sidebar --> <!-- margin-sidebar --> <div id="quarto-margin-sidebar" class="sidebar margin-sidebar"> <nav id="TOC" role="doc-toc" class="toc-active"> <h2 id="toc-title">On this page</h2> <ul> <li><a href="#map-of-lund" id="toc-map-of-lund" class="nav-link active" data-scroll-target="#map-of-lund">Map of Lund</a></li> <li><a href="#maps-of-af-borgen" id="toc-maps-of-af-borgen" class="nav-link" data-scroll-target="#maps-of-af-borgen">Maps of AF Borgen</a> <ul class="collapse"> <li><a href="#the-källarsalen-floor" id="toc-the-källarsalen-floor" class="nav-link" data-scroll-target="#the-källarsalen-floor">The Källarsalen floor</a></li> <li><a href="#stora-salen-and-main-venues-floor" id="toc-stora-salen-and-main-venues-floor" class="nav-link" data-scroll-target="#stora-salen-and-main-venues-floor">Stora salen and main venues floor</a></li> <li><a href="#kerstins-rum-floor" id="toc-kerstins-rum-floor" class="nav-link" data-scroll-target="#kerstins-rum-floor">Kerstins rum floor</a></li> </ul></li> <li><a href="#walk-to-torgets" id="toc-walk-to-torgets" class="nav-link" data-scroll-target="#walk-to-torgets">Walk to Torgets</a></li> </ul> </nav> </div> <!-- main --> <main class="content" id="quarto-document-content"> <header id="title-block-header" class="quarto-title-block default"> <div class="quarto-title"> <h1 class="title">Venues</h1> </div> <div class="quarto-title-meta"> </div> </header> <p>The main venue for the conference is AF Borgen.</p> <p>The session venues are mainly on the second and third floor, as well as one room in the basement.</p> <section id="map-of-lund" class="level2"> <h2 class="anchored" data-anchor-id="map-of-lund">Map of Lund</h2> <p>The map below shows the location of AF Borgen in relation to the Economic History Department, where the administrative meetings will take place, and EC1 of Holger Crafoords Ekonomicentrum, where the panel debate will take place.</p> <div class="cell" data-execution_count="1"> <div class="cell-output cell-output-display"> <div style="width:100%;"><div style="position:relative;width:100%;height:0;padding-bottom:60%;"><span style="color:#565656">Make this Notebook Trusted to load map: File -> Trust Notebook</span><iframe srcdoc="<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <script> L_NO_TOUCH = false; L_DISABLE_3D = false; </script> <style>html, body {width: 100%;height: 100%;margin: 0;padding: 0;}</style> <style>#map {position:absolute;top:0;bottom:0;right:0;left:0;}</style> <script src="https://cdn.jsdelivr.net/npm/leaflet@1.9.3/dist/leaflet.js"></script> <script src="https://code.jquery.com/jquery-1.12.4.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.bundle.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.js"></script> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/leaflet@1.9.3/dist/leaflet.css"/> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css"/> <link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css"/> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.2.0/css/all.min.css"/> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.css"/> <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/python-visualization/folium/folium/templates/leaflet.awesome.rotate.min.css"/> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> <style> #map_efca9dde40c849f2b71c12ccab4da19f { position: relative; width: 100.0%; height: 100.0%; left: 0.0%; top: 0.0%; } .leaflet-container { font-size: 1rem; } </style> </head> <body> <div class="folium-map" id="map_efca9dde40c849f2b71c12ccab4da19f" ></div> </body> <script> var map_efca9dde40c849f2b71c12ccab4da19f = L.map( "map_efca9dde40c849f2b71c12ccab4da19f", { center: [55.71022565714283, 13.206609670966342], crs: L.CRS.EPSG3857, zoom: 14, zoomControl: true, preferCanvas: false, } ); var tile_layer_7eff78fae834fb272b9dc6057d50d1d0 = L.tileLayer( "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", {"attribution": "Data by \u0026copy; \u003ca target=\"_blank\" href=\"http://openstreetmap.org\"\u003eOpenStreetMap\u003c/a\u003e, under \u003ca target=\"_blank\" href=\"http://www.openstreetmap.org/copyright\"\u003eODbL\u003c/a\u003e.", "detectRetina": false, "maxNativeZoom": 18, "maxZoom": 18, "minZoom": 0, "noWrap": false, "opacity": 1, "subdomains": "abc", "tms": false} ).addTo(map_efca9dde40c849f2b71c12ccab4da19f); var feature_group_ea4a2c5a25b0bf792e86f940d37e16df = L.featureGroup( {} ).addTo(map_efca9dde40c849f2b71c12ccab4da19f); var marker_ccecf32e93a3bdfdd42977d168c0aed5 = L.marker( [55.7052755, 13.1957800968683], {} ).addTo(feature_group_ea4a2c5a25b0bf792e86f940d37e16df); var icon_178acf74f4f6e5314491e78818a9164d = L.AwesomeMarkers.icon( {"extraClasses": "fa-rotate-0", "icon": "chess-rook", "iconColor": "white", "markerColor": "red", "prefix": "fa"} ); marker_ccecf32e93a3bdfdd42977d168c0aed5.setIcon(icon_178acf74f4f6e5314491e78818a9164d); var popup_7571b6e3029bad032de6b6fff9165b43 = L.popup({"maxWidth": 300}); var html_a8e2a3526aa3425daef603457ddea025 = $(`<div id="html_a8e2a3526aa3425daef603457ddea025" style="width: 100.0%; height: 100.0%;"><b>AF Borgen</b><br><a href='https://goo.gl/maps/pfpqXrZS4dPnucwJA' target='_blank'>Google Maps</a></div>`)[0]; popup_7571b6e3029bad032de6b6fff9165b43.setContent(html_a8e2a3526aa3425daef603457ddea025); marker_ccecf32e93a3bdfdd42977d168c0aed5.bindPopup(popup_7571b6e3029bad032de6b6fff9165b43) ; var marker_ccbc2bdfd934bfd224be4ab473ddecec = L.marker( [55.7143234499999, 13.2150758148005], {} ).addTo(feature_group_ea4a2c5a25b0bf792e86f940d37e16df); var icon_c511557e65aaa379d836ee11733c8ffb = L.AwesomeMarkers.icon( {"extraClasses": "fa-rotate-0", "icon": "briefcase", "iconColor": "white", "markerColor": "blue", "prefix": "fa"} ); marker_ccbc2bdfd934bfd224be4ab473ddecec.setIcon(icon_c511557e65aaa379d836ee11733c8ffb); var popup_4a7330acdd7005d119829fe66ad68249 = L.popup({"maxWidth": 300}); var html_8f6b4d8410ef1e608c8b298114012cc9 = $(`<div id="html_8f6b4d8410ef1e608c8b298114012cc9" style="width: 100.0%; height: 100.0%;"><b>Economic History Department</b><br><a href='https://goo.gl/maps/wSH7brgkB5PLVb6b8' target='_blank'>Google Maps</a></div>`)[0]; popup_4a7330acdd7005d119829fe66ad68249.setContent(html_8f6b4d8410ef1e608c8b298114012cc9); marker_ccbc2bdfd934bfd224be4ab473ddecec.bindPopup(popup_4a7330acdd7005d119829fe66ad68249) ; var marker_84160049f25f17d8c30473dfe95fe9b6 = L.marker( [55.7095654, 13.2136532], {} ).addTo(feature_group_ea4a2c5a25b0bf792e86f940d37e16df); var icon_b0c74f50e91d2e2db21acf8ebabf67ee = L.AwesomeMarkers.icon( {"extraClasses": "fa-rotate-0", "icon": "people-group", "iconColor": "white", "markerColor": "#800020", "prefix": "fa"} ); marker_84160049f25f17d8c30473dfe95fe9b6.setIcon(icon_b0c74f50e91d2e2db21acf8ebabf67ee); var popup_7581a238050a3d6aacf9c90716f779d6 = L.popup({"maxWidth": 300}); var html_594f524440162893e2202048a5716298 = $(`<div id="html_594f524440162893e2202048a5716298" style="width: 100.0%; height: 100.0%;"><b>EC1 Holger Crafoords Ekonomicentrum</b><br><a href='https://goo.gl/maps/KwbM9ks1jd26faRBA' target='_blank'>Google Maps</a></div>`)[0]; popup_7581a238050a3d6aacf9c90716f779d6.setContent(html_594f524440162893e2202048a5716298); marker_84160049f25f17d8c30473dfe95fe9b6.bindPopup(popup_7581a238050a3d6aacf9c90716f779d6) ; var feature_group_0885188154ae29878ee55bcb31f3c326 = L.featureGroup( {} ).addTo(map_efca9dde40c849f2b71c12ccab4da19f); var marker_391b762c9de522970c44415493977306 = L.marker( [55.7019406999999, 13.1896854391062], {} ).addTo(feature_group_0885188154ae29878ee55bcb31f3c326); var icon_3c9dacf8bf21a58e44d1b712af39688d = L.AwesomeMarkers.icon( {"extraClasses": "fa-rotate-0", "icon": "info-sign", "iconColor": "white", "markerColor": "black", "prefix": "glyphicon"} ); marker_391b762c9de522970c44415493977306.setIcon(icon_3c9dacf8bf21a58e44d1b712af39688d); var popup_4759f8a556bb7cca4e33f20b7643155b = L.popup({"maxWidth": 300}); var html_0dafdb0c1a5ffe951606688f765795e7 = $(`<div id="html_0dafdb0c1a5ffe951606688f765795e7" style="width: 100.0%; height: 100.0%;"><b>Hotel Concordia</b><br><a href='https://goo.gl/maps/q8XXEsdBD2zy4pzL8' target='_blank'>Google Maps</a></div>`)[0]; popup_4759f8a556bb7cca4e33f20b7643155b.setContent(html_0dafdb0c1a5ffe951606688f765795e7); marker_391b762c9de522970c44415493977306.bindPopup(popup_4759f8a556bb7cca4e33f20b7643155b) ; var marker_adb5a3f1cdce61e4e6ecad939b379c18 = L.marker( [55.71757535, 13.2138429459894], {} ).addTo(feature_group_0885188154ae29878ee55bcb31f3c326); var icon_7928b008d09f0d8832999f822d887eb9 = L.AwesomeMarkers.icon( {"extraClasses": "fa-rotate-0", "icon": "info-sign", "iconColor": "white", "markerColor": "black", "prefix": "glyphicon"} ); marker_adb5a3f1cdce61e4e6ecad939b379c18.setIcon(icon_7928b008d09f0d8832999f822d887eb9); var popup_c3c0dc4022c6644dd1245630322790ff = L.popup({"maxWidth": 300}); var html_ddc0a6260ab07a16e0b775282cc07fc0 = $(`<div id="html_ddc0a6260ab07a16e0b775282cc07fc0" style="width: 100.0%; height: 100.0%;"><b>Elite Hotel Ideon</b><br><a href='https://goo.gl/maps/mKiubeDf3iZCNM21A' target='_blank'>Google Maps</a></div>`)[0]; popup_c3c0dc4022c6644dd1245630322790ff.setContent(html_ddc0a6260ab07a16e0b775282cc07fc0); marker_adb5a3f1cdce61e4e6ecad939b379c18.bindPopup(popup_c3c0dc4022c6644dd1245630322790ff) ; var marker_4c677b2c2a032153691cbe26da426067 = L.marker( [55.7053237, 13.1887012], {} ).addTo(feature_group_0885188154ae29878ee55bcb31f3c326); var icon_7dee8023b4f2992bba1e9a44899cd3f8 = L.AwesomeMarkers.icon( {"extraClasses": "fa-rotate-0", "icon": "info-sign", "iconColor": "white", "markerColor": "black", "prefix": "glyphicon"} ); marker_4c677b2c2a032153691cbe26da426067.setIcon(icon_7dee8023b4f2992bba1e9a44899cd3f8); var popup_dfbafe51734e29f2c137ed5425736d0f = L.popup({"maxWidth": 300}); var html_37fb36f1acce8f140ddf1efe10c50427 = $(`<div id="html_37fb36f1acce8f140ddf1efe10c50427" style="width: 100.0%; height: 100.0%;"><b>Hotel Lundia</b><br><a href='https://goo.gl/maps/pLuWptMYHLiKPnccA' target='_blank'>Google Maps</a></div>`)[0]; popup_dfbafe51734e29f2c137ed5425736d0f.setContent(html_37fb36f1acce8f140ddf1efe10c50427); marker_4c677b2c2a032153691cbe26da426067.bindPopup(popup_dfbafe51734e29f2c137ed5425736d0f) ; var marker_e9a934cc759d4a794873af9c5eea657e = L.marker( [55.7175755, 13.229529], {} ).addTo(feature_group_0885188154ae29878ee55bcb31f3c326); var icon_49c298b9e94d27471582987910408a7e = L.AwesomeMarkers.icon( {"extraClasses": "fa-rotate-0", "icon": "info-sign", "iconColor": "white", "markerColor": "black", "prefix": "glyphicon"} ); marker_e9a934cc759d4a794873af9c5eea657e.setIcon(icon_49c298b9e94d27471582987910408a7e); var popup_034a2ffb0a546b2be5c0bb22db84acdc = L.popup({"maxWidth": 300}); var html_e3b83db154e1049f02a0d659038bf6bf = $(`<div id="html_e3b83db154e1049f02a0d659038bf6bf" style="width: 100.0%; height: 100.0%;"><b>Motel L</b><br><a href='https://goo.gl/maps/KQTppoHfsXZCXMFm6' target='_blank'>Google Maps</a></div>`)[0]; popup_034a2ffb0a546b2be5c0bb22db84acdc.setContent(html_e3b83db154e1049f02a0d659038bf6bf); marker_e9a934cc759d4a794873af9c5eea657e.bindPopup(popup_034a2ffb0a546b2be5c0bb22db84acdc) ; var layer_control_754042c28d5abe3ece39600589b1b6b2 = { base_layers : { "openstreetmap" : tile_layer_7eff78fae834fb272b9dc6057d50d1d0, }, overlays : { "Venues" : feature_group_ea4a2c5a25b0bf792e86f940d37e16df, "Hotels" : feature_group_0885188154ae29878ee55bcb31f3c326, }, }; L.control.layers( layer_control_754042c28d5abe3ece39600589b1b6b2.base_layers, layer_control_754042c28d5abe3ece39600589b1b6b2.overlays, {"autoZIndex": true, "collapsed": true, "position": "topright"} ).addTo(map_efca9dde40c849f2b71c12ccab4da19f); feature_group_0885188154ae29878ee55bcb31f3c326.remove(); </script> </html>" style="position:absolute;width:100%;height:100%;left:0;top:0;border:none !important;" allowfullscreen="" webkitallowfullscreen="" mozallowfullscreen=""></iframe></div></div> </div> </div> </section> <section id="maps-of-af-borgen" class="level2"> <h2 class="anchored" data-anchor-id="maps-of-af-borgen">Maps of AF Borgen</h2> <p>Källarsalen is on the cellar floor, below the level of the main entrance.</p> <p>Gustafscenen is on the level of the main entrance.</p> <p>Lilla salen, Nya Fest, Sångsalen, and Lilla Sparbanksfoajén are on Floor 2, one level up from the level of the main entrance.</p> <p>Kerstins Rum is one level up from there.</p> <section id="the-källarsalen-floor" class="level3"> <h3 class="anchored" data-anchor-id="the-källarsalen-floor">The Källarsalen floor</h3> <p> ### Gustafscenen floor</p> <p></p> </section> <section id="stora-salen-and-main-venues-floor" class="level3"> <h3 class="anchored" data-anchor-id="stora-salen-and-main-venues-floor">Stora salen and main venues floor</h3> <!-- --> <p></p> </section> <section id="kerstins-rum-floor" class="level3"> <h3 class="anchored" data-anchor-id="kerstins-rum-floor">Kerstins rum floor</h3> <p></p> </section> </section> <section id="walk-to-torgets" class="level2"> <h2 class="anchored" data-anchor-id="walk-to-torgets">Walk to Torgets</h2> <p></p> </section> </main> <!-- /main --> <script id="quarto-html-after-body" type="application/javascript"> window.document.addEventListener("DOMContentLoaded", function (event) { const toggleBodyColorMode = (bsSheetEl) => { const mode = bsSheetEl.getAttribute("data-mode"); const bodyEl = window.document.querySelector("body"); if (mode === "dark") { bodyEl.classList.add("quarto-dark"); bodyEl.classList.remove("quarto-light"); } else { bodyEl.classList.add("quarto-light"); bodyEl.classList.remove("quarto-dark"); } } const toggleBodyColorPrimary = () => { const bsSheetEl = window.document.querySelector("link#quarto-bootstrap"); if (bsSheetEl) { toggleBodyColorMode(bsSheetEl); } } toggleBodyColorPrimary(); const icon = ""; const anchorJS = new window.AnchorJS(); anchorJS.options = { placement: 'right', icon: icon }; anchorJS.add('.anchored'); const isCodeAnnotation = (el) => { for (const clz of el.classList) { if (clz.startsWith('code-annotation-')) { return true; } } return false; } const clipboard = new window.ClipboardJS('.code-copy-button', { text: function(trigger) { const codeEl = trigger.previousElementSibling.cloneNode(true); for (const childEl of codeEl.children) { if (isCodeAnnotation(childEl)) { childEl.remove(); } } return codeEl.innerText; } }); clipboard.on('success', function(e) { // button target const button = e.trigger; // don't keep focus button.blur(); // flash "checked" button.classList.add('code-copy-button-checked'); var currentTitle = button.getAttribute("title"); button.setAttribute("title", "Copied!"); let tooltip; if (window.bootstrap) { button.setAttribute("data-bs-toggle", "tooltip"); button.setAttribute("data-bs-placement", "left"); button.setAttribute("data-bs-title", "Copied!"); tooltip = new bootstrap.Tooltip(button, { trigger: "manual", customClass: "code-copy-button-tooltip", offset: [0, -8]}); tooltip.show(); } setTimeout(function() { if (tooltip) { tooltip.hide(); button.removeAttribute("data-bs-title"); button.removeAttribute("data-bs-toggle"); button.removeAttribute("data-bs-placement"); } button.setAttribute("title", currentTitle); button.classList.remove('code-copy-button-checked'); }, 1000); // clear code selection e.clearSelection(); }); function tippyHover(el, contentFn) { const config = { allowHTML: true, content: contentFn, maxWidth: 500, delay: 100, arrow: false, appendTo: function(el) { return el.parentElement; }, interactive: true, interactiveBorder: 10, theme: 'quarto', placement: 'bottom-start' }; window.tippy(el, config); } const noterefs = window.document.querySelectorAll('a[role="doc-noteref"]'); for (var i=0; i<noterefs.length; i++) { const ref = noterefs[i]; tippyHover(ref, function() { // use id or data attribute instead here let href = ref.getAttribute('data-footnote-href') || ref.getAttribute('href'); try { href = new URL(href).hash; } catch {} const id = href.replace(/^#\/?/, ""); const note = window.document.getElementById(id); return note.innerHTML; }); } let selectedAnnoteEl; const selectorForAnnotation = ( cell, annotation) => { let cellAttr = 'data-code-cell="' + cell + '"'; let lineAttr = 'data-code-annotation="' + annotation + '"'; const selector = 'span[' + cellAttr + '][' + lineAttr + ']'; return selector; } const selectCodeLines = (annoteEl) => { const doc = window.document; const targetCell = annoteEl.getAttribute("data-target-cell"); const targetAnnotation = annoteEl.getAttribute("data-target-annotation"); const annoteSpan = window.document.querySelector(selectorForAnnotation(targetCell, targetAnnotation)); const lines = annoteSpan.getAttribute("data-code-lines").split(","); const lineIds = lines.map((line) => { return targetCell + "-" + line; }) let top = null; let height = null; let parent = null; if (lineIds.length > 0) { //compute the position of the single el (top and bottom and make a div) const el = window.document.getElementById(lineIds[0]); top = el.offsetTop; height = el.offsetHeight; parent = el.parentElement.parentElement; if (lineIds.length > 1) { const lastEl = window.document.getElementById(lineIds[lineIds.length - 1]); const bottom = lastEl.offsetTop + lastEl.offsetHeight; height = bottom - top; } if (top !== null && height !== null && parent !== null) { // cook up a div (if necessary) and position it let div = window.document.getElementById("code-annotation-line-highlight"); if (div === null) { div = window.document.createElement("div"); div.setAttribute("id", "code-annotation-line-highlight"); div.style.position = 'absolute'; parent.appendChild(div); } div.style.top = top - 2 + "px"; div.style.height = height + 4 + "px"; let gutterDiv = window.document.getElementById("code-annotation-line-highlight-gutter"); if (gutterDiv === null) { gutterDiv = window.document.createElement("div"); gutterDiv.setAttribute("id", "code-annotation-line-highlight-gutter"); gutterDiv.style.position = 'absolute'; const codeCell = window.document.getElementById(targetCell); const gutter = codeCell.querySelector('.code-annotation-gutter'); gutter.appendChild(gutterDiv); } gutterDiv.style.top = top - 2 + "px"; gutterDiv.style.height = height + 4 + "px"; } selectedAnnoteEl = annoteEl; } }; const unselectCodeLines = () => { const elementsIds = ["code-annotation-line-highlight", "code-annotation-line-highlight-gutter"]; elementsIds.forEach((elId) => { const div = window.document.getElementById(elId); if (div) { div.remove(); } }); selectedAnnoteEl = undefined; }; // Attach click handler to the DT const annoteDls = window.document.querySelectorAll('dt[data-target-cell]'); for (const annoteDlNode of annoteDls) { annoteDlNode.addEventListener('click', (event) => { const clickedEl = event.target; if (clickedEl !== selectedAnnoteEl) { unselectCodeLines(); const activeEl = window.document.querySelector('dt[data-target-cell].code-annotation-active'); if (activeEl) { activeEl.classList.remove('code-annotation-active'); } selectCodeLines(clickedEl); clickedEl.classList.add('code-annotation-active'); } else { // Unselect the line unselectCodeLines(); clickedEl.classList.remove('code-annotation-active'); } }); } const findCites = (el) => { const parentEl = el.parentElement; if (parentEl) { const cites = parentEl.dataset.cites; if (cites) { return { el, cites: cites.split(' ') }; } else { return findCites(el.parentElement) } } else { return undefined; } }; var bibliorefs = window.document.querySelectorAll('a[role="doc-biblioref"]'); for (var i=0; i<bibliorefs.length; i++) { const ref = bibliorefs[i]; const citeInfo = findCites(ref); if (citeInfo) { tippyHover(citeInfo.el, function() { var popup = window.document.createElement('div'); citeInfo.cites.forEach(function(cite) { var citeDiv = window.document.createElement('div'); citeDiv.classList.add('hanging-indent'); citeDiv.classList.add('csl-entry'); var biblioDiv = window.document.getElementById('ref-' + cite); if (biblioDiv) { citeDiv.innerHTML = biblioDiv.innerHTML; } popup.appendChild(citeDiv); }); return popup.innerHTML; }); } } }); </script> </div> <!-- /content --> </body></html>