console.log('start')
import notebook from "https://api.observablehq.com/@bumbeishvili/rewind-geojson.js";
console.log('imported')
const html = document.querySelector('.full-page-blog-width').innerHTML;
document.querySelector('.full-page-blog-width').innerHTML=(html+notebook.modules[0].variables
.filter(d=>d)
.map((d,i)=>{
if(i<7 || i>10) return '';
return ` <d`+`iv class="observable-wrapper div-number-${i}"
${i>=21?"style='display:none'":''}></`+`div>`
})
.join(''));
console.log('created')
import {Inspector, Runtime} from "https://unpkg.com/@observablehq/runtime@3/dist/runtime.js";
let i=1;
Runtime.load(notebook, (variable) => {
const selector = `.observable-wrapper.div-number-${i++}`
if(document.querySelector(selector)){
return new Inspector(document.querySelector(selector));
}
});
console.log('finished');