| 
									
										
										
										
											2023-12-20 02:49:34 +01:00
										 |  |  | <script lang="ts"> | 
					
						
							|  |  |  |   import PrivacyPolicy from "./BigComponents/PrivacyPolicy.svelte" | 
					
						
							|  |  |  |   import Tr from "./Base/Tr.svelte" | 
					
						
							|  |  |  |   import { EyeIcon } from "@rgossiaux/svelte-heroicons/solid" | 
					
						
							|  |  |  |   import Translations from "./i18n/Translations" | 
					
						
							|  |  |  |   import { Utils } from "../Utils" | 
					
						
							|  |  |  |   import Add from "../assets/svg/Add.svelte" | 
					
						
							| 
									
										
										
										
											2024-01-28 02:52:10 +01:00
										 |  |  |   import LanguagePicker from "./InputElement/LanguagePicker.svelte" | 
					
						
							| 
									
										
										
										
											2024-05-10 12:47:15 +02:00
										 |  |  |   import type { SpecialVisualizationState } from "./SpecialVisualization" | 
					
						
							|  |  |  |   import { OsmConnection } from "../Logic/Osm/OsmConnection" | 
					
						
							|  |  |  |   import UserRelatedState from "../Logic/State/UserRelatedState" | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   const osmConnection = new OsmConnection() | 
					
						
							|  |  |  |   let state: SpecialVisualizationState = { | 
					
						
							|  |  |  |     osmConnection, | 
					
						
							| 
									
										
										
										
											2024-06-16 16:06:26 +02:00
										 |  |  |     userRelatedState: new UserRelatedState(osmConnection), | 
					
						
							| 
									
										
										
										
											2024-05-10 12:47:15 +02:00
										 |  |  |   } | 
					
						
							| 
									
										
										
										
											2023-12-20 02:49:34 +01:00
										 |  |  | </script> | 
					
						
							| 
									
										
										
										
											2024-06-16 16:06:26 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-06-15 02:21:18 +02:00
										 |  |  | <main> | 
					
						
							| 
									
										
										
										
											2024-06-16 16:06:26 +02:00
										 |  |  |   <div class="flex h-screen flex-col overflow-hidden px-4"> | 
					
						
							|  |  |  |     <div class="flex justify-between"> | 
					
						
							|  |  |  |       <h2 class="flex items-center"> | 
					
						
							|  |  |  |         <EyeIcon class="w-6 pr-2" /> | 
					
						
							|  |  |  |         <Tr t={Translations.t.privacy.title} /> | 
					
						
							|  |  |  |       </h2> | 
					
						
							|  |  |  |       <LanguagePicker availableLanguages={Translations.t.privacy.intro.SupportedLanguages()} /> | 
					
						
							|  |  |  |     </div> | 
					
						
							|  |  |  |     <div class="h-full overflow-auto border border-gray-500 p-4"> | 
					
						
							|  |  |  |       <PrivacyPolicy {state} /> | 
					
						
							|  |  |  |     </div> | 
					
						
							|  |  |  |     <a class="button flex" href={Utils.HomepageLink()}> | 
					
						
							|  |  |  |       <Add class="h-6 w-6" /> | 
					
						
							|  |  |  |       <Tr t={Translations.t.general.backToIndex} /> | 
					
						
							|  |  |  |     </a> | 
					
						
							| 
									
										
										
										
											2023-12-20 02:49:34 +01:00
										 |  |  |   </div> | 
					
						
							| 
									
										
										
										
											2024-06-15 02:21:18 +02:00
										 |  |  | </main> |