|  |  | @ -52,18 +52,17 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  | 			await proxy.fetchImports($bundle.imports, $bundle.import_map); |  |  |  | 			await proxy.fetchImports($bundle.imports, $bundle.import_map); | 
			
		
	
		
		
			
				
					
					|  |  |  | 			if (token !== current_token) return; |  |  |  | 			if (token !== current_token) return; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 			await proxy.eval(` |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 				const styles = document.querySelectorAll('style.svelte'); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 				let i = styles.length; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 				while (i--) styles[i].parentNode.removeChild(styles[i]); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 			`); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 			await proxy.eval(` |  |  |  | 			await proxy.eval(` | 
			
		
	
		
		
			
				
					
					|  |  |  | 				// needed for context API tutorial |  |  |  | 				// needed for context API tutorial | 
			
		
	
		
		
			
				
					
					|  |  |  | 				window.MAPBOX_ACCESS_TOKEN = process.env.MAPBOX_ACCESS_TOKEN; |  |  |  | 				window.MAPBOX_ACCESS_TOKEN = process.env.MAPBOX_ACCESS_TOKEN; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 				const styles = document.querySelectorAll('style[id^=svelte-]'); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 				${$bundle.dom.code} |  |  |  | 				${$bundle.dom.code} | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 				let i = styles.length; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 				while (i--) styles[i].parentNode.removeChild(styles[i]); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 				if (window.component) { |  |  |  | 				if (window.component) { | 
			
		
	
		
		
			
				
					
					|  |  |  | 					try { |  |  |  | 					try { | 
			
		
	
		
		
			
				
					
					|  |  |  | 						window.component.$destroy(); |  |  |  | 						window.component.$destroy(); | 
			
		
	
	
		
		
			
				
					|  |  | 
 |