Wiki source code of Service Navigator

Version 25.1 by Veronika Kocher on Friday, 09 Oct 2026 11:58

Hide last authors
Veronika Kocher 18.1 1 {{html}}
2 <div style="max-width:1400px;margin:0 auto;">
Veronika Kocher 15.1 3
Veronika Kocher 18.1 4 <p style="margin:0 0 8px 0;">
5 Artistic and administrative services at the University support many different needs — from research projects and teaching to employment, IT, rooms, procurement, legal questions, international mobility and library services.
6 </p>
Veronika Kocher 15.1 7
Veronika Kocher 18.1 8 <p style="margin:0 0 22px 0;">
9 The <strong>Service Navigator</strong> is organised around what you need to do, not around the university's organisational chart.
10 </p>
Veronika Kocher 15.1 11
Veronika Kocher 21.1 12 <section style="margin:0 0 28px 0;padding:16px 18px;border:1px solid #e3ded6;border-radius:10px;background:#fcfbf8;box-shadow:0 1px 2px rgba(0,0,0,.035);">
13 <h2 style="font-size:20px;margin:0 0 6px 0;color:#35312d;">Find a service</h2>
14 <p style="margin:0 0 12px 0;color:#6a655e;">
Veronika Kocher 18.1 15 Search by task, topic or question — for example <em>room, invoice, disability, DOI, event, employment, data protection</em> or <em>library</em>.
16 </p>
Veronika Kocher 15.1 17
Veronika Kocher 18.1 18 <form action="https://xwiki.uni-ak.ac.at/bin/view/Main/SolrSearch" method="get" role="search" style="margin:0;">
19 <div style="display:flex;gap:10px;align-items:center;flex-wrap:wrap;">
20 <label for="service-navigator-search" style="position:absolute;left:-10000px;">Search services</label>
21 <input
22 id="service-navigator-search"
23 name="text"
24 type="search"
25 placeholder="What do you need help with?"
26 autocomplete="off"
Veronika Kocher 21.1 27 style="flex:1 1 520px;min-width:260px;padding:11px 13px;border:1px solid #cfc8bd;border-radius:6px;background:#fffdf9;font-size:16px;"
Veronika Kocher 18.1 28 />
29 <button type="submit" class="btn btn-primary" style="padding:11px 22px;">Search</button>
30 </div>
31 </form>
32 </section>
Veronika Kocher 15.1 33
Veronika Kocher 21.1 34 <h2 style="font-size:24px;margin:0 0 16px 0;color:#35312d;">Find services by what you need to do</h2>
Veronika Kocher 15.1 35
Veronika Kocher 18.1 36 <div style="
37 display:grid;
38 grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
39 gap:18px;
40 align-items:stretch;
Veronika Kocher 17.1 41 ">
Veronika Kocher 15.1 42
Veronika Kocher 19.1 43 <!-- 1. PEOPLE, EQUALITY, HEALTH & WORK -->
Veronika Kocher 21.1 44 <section style="display:flex;flex-direction:column;min-height:320px;border:1px solid #e3ded6;border-left:6px solid #f0aa00;border-radius:12px;background:#fcfbf8;box-shadow:0 1px 2px rgba(0,0,0,.035);overflow:hidden;">
Veronika Kocher 23.1 45 <!-- SN_DRAFT_BANNER_START -->
46 <div
47 data-sn-draft-banner="1"
48 style="
49 width:100%;
50 box-sizing:border-box;
51 padding:9px 18px 8px;
52 margin:0;
53 background:#e94b13;
54 color:#ffffff;
55 border-bottom:1px solid #cf3f0d;
56 font-size:13px;
57 font-weight:800;
58 line-height:1.2;
59 letter-spacing:.10em;
60 text-transform:uppercase;
61 text-align:left;
62 "
63 >Draft!</div>
64 <!-- SN_DRAFT_BANNER_END -->
65
Veronika Kocher 18.1 66 <div style="padding:18px 18px 14px 18px;flex:1;">
Veronika Kocher 21.1 67 <div style="display:inline-block;font-size:12px;font-weight:700;letter-spacing:.065em;color:#4f4a44;margin-bottom:8px;padding:4px 7px;background:#f3efe8;border-radius:4px;">PEOPLE &amp; WORK</div>
68 <h3 style="font-size:21px;line-height:1.25;margin:0 0 8px 0;color:#252321;">People, Equality, Health &amp; Work</h3>
69 <p style="color:#6a655e;margin:0 0 14px 0;">Employment, equality, diversity, disability, accessibility and health.</p>
Veronika Kocher 15.1 70
Veronika Kocher 18.1 71 <div style="font-weight:700;margin-bottom:6px;">I need to…</div>
72 <ul style="margin:0 0 14px 18px;padding:0;">
Veronika Kocher 19.1 73 <li>ask about employment, working conditions or labour law</li>
74 <li>get support concerning discrimination, equality or diversity</li>
75 <li>address disability, accessibility or health at work</li>
Veronika Kocher 18.1 76 </ul>
77
Veronika Kocher 21.1 78 <div style="font-size:12px;color:#6a655e;line-height:1.45;">
Veronika Kocher 19.1 79 HR · staff development · equal treatment · diversity · disability · accessibility · health · labour law
Veronika Kocher 18.1 80 </div>
Veronika Kocher 17.1 81 </div>
Veronika Kocher 18.1 82 <div style="padding:0 18px 18px 18px;">
Veronika Kocher 21.1 83 <span class="btn btn-default btn-block disabled" style="background:#f4f0e9;border-color:#d8d1c7;color:#6b655d;" aria-disabled="true">Explore People &amp; Work</span>
Veronika Kocher 18.1 84 </div>
85 </section>
Veronika Kocher 15.1 86
Veronika Kocher 19.1 87 <!-- 2. IT & DIGITAL SERVICES -->
Veronika Kocher 21.1 88 <section style="display:flex;flex-direction:column;min-height:320px;border:1px solid #e3ded6;border-left:6px solid #38b76a;border-radius:12px;background:#fcfbf8;box-shadow:0 1px 2px rgba(0,0,0,.035);overflow:hidden;">
Veronika Kocher 23.1 89 <!-- SN_DRAFT_BANNER_START -->
90 <div
91 data-sn-draft-banner="1"
92 style="
93 width:100%;
94 box-sizing:border-box;
95 padding:9px 18px 8px;
96 margin:0;
97 background:#e94b13;
98 color:#ffffff;
99 border-bottom:1px solid #cf3f0d;
100 font-size:13px;
101 font-weight:800;
102 line-height:1.2;
103 letter-spacing:.10em;
104 text-transform:uppercase;
105 text-align:left;
106 "
107 >Draft!</div>
108 <!-- SN_DRAFT_BANNER_END -->
109
Veronika Kocher 18.1 110 <div style="padding:18px 18px 14px 18px;flex:1;">
Veronika Kocher 21.1 111 <div style="display:inline-block;font-size:12px;font-weight:700;letter-spacing:.065em;color:#4f4a44;margin-bottom:8px;padding:4px 7px;background:#f3efe8;border-radius:4px;">IT &amp; DIGITAL</div>
112 <h3 style="font-size:21px;line-height:1.25;margin:0 0 8px 0;color:#252321;">IT &amp; Digital Services</h3>
113 <p style="color:#6a655e;margin:0 0 14px 0;">Accounts, systems, software, digital infrastructure and IT support.</p>
Veronika Kocher 15.1 114
Veronika Kocher 18.1 115 <div style="font-weight:700;margin-bottom:6px;">I need to…</div>
116 <ul style="margin:0 0 14px 18px;padding:0;">
Veronika Kocher 19.1 117 <li>access an account, system or digital service</li>
118 <li>solve an IT problem</li>
119 <li>plan or coordinate a digital or IT project</li>
Veronika Kocher 18.1 120 </ul>
Veronika Kocher 15.1 121
Veronika Kocher 21.1 122 <div style="font-size:12px;color:#6a655e;line-height:1.45;">
Veronika Kocher 19.1 123 Accounts · IT support · software · digital tools · infrastructure · IT project coordination
Veronika Kocher 18.1 124 </div>
Veronika Kocher 17.1 125 </div>
Veronika Kocher 18.1 126 <div style="padding:0 18px 18px 18px;">
Veronika Kocher 21.1 127 <span class="btn btn-default btn-block disabled" style="background:#f4f0e9;border-color:#d8d1c7;color:#6b655d;" aria-disabled="true">Explore IT &amp; Digital Services</span>
Veronika Kocher 18.1 128 </div>
129 </section>
Veronika Kocher 15.1 130
Veronika Kocher 19.1 131 <!-- 3. ROOMS, BUILDINGS & CAMPUS -->
Veronika Kocher 21.1 132 <section style="display:flex;flex-direction:column;min-height:320px;border:1px solid #e3ded6;border-left:6px solid #38b76a;border-radius:12px;background:#fcfbf8;box-shadow:0 1px 2px rgba(0,0,0,.035);overflow:hidden;">
Veronika Kocher 23.1 133 <!-- SN_DRAFT_BANNER_START -->
134 <div
135 data-sn-draft-banner="1"
136 style="
137 width:100%;
138 box-sizing:border-box;
139 padding:9px 18px 8px;
140 margin:0;
141 background:#e94b13;
142 color:#ffffff;
143 border-bottom:1px solid #cf3f0d;
144 font-size:13px;
145 font-weight:800;
146 line-height:1.2;
147 letter-spacing:.10em;
148 text-transform:uppercase;
149 text-align:left;
150 "
151 >Draft!</div>
152 <!-- SN_DRAFT_BANNER_END -->
153
Veronika Kocher 18.1 154 <div style="padding:18px 18px 14px 18px;flex:1;">
Veronika Kocher 21.1 155 <div style="display:inline-block;font-size:12px;font-weight:700;letter-spacing:.065em;color:#4f4a44;margin-bottom:8px;padding:4px 7px;background:#f3efe8;border-radius:4px;">CAMPUS</div>
156 <h3 style="font-size:21px;line-height:1.25;margin:0 0 8px 0;color:#252321;">Rooms, Buildings &amp; Campus</h3>
157 <p style="color:#6a655e;margin:0 0 14px 0;">Rooms, buildings, facilities, campus use and operational support.</p>
Veronika Kocher 15.1 158
Veronika Kocher 18.1 159 <div style="font-weight:700;margin-bottom:6px;">I need to…</div>
160 <ul style="margin:0 0 14px 18px;padding:0;">
Veronika Kocher 19.1 161 <li>book or use a room</li>
162 <li>report a building, equipment or safety issue</li>
163 <li>find information about campus facilities or house rules</li>
Veronika Kocher 18.1 164 </ul>
Veronika Kocher 15.1 165
Veronika Kocher 21.1 166 <div style="font-size:12px;color:#6a655e;line-height:1.45;">
Veronika Kocher 19.1 167 Facility management · estates · room coordination · building services · safety · house rules · campus operations
Veronika Kocher 18.1 168 </div>
Veronika Kocher 17.1 169 </div>
Veronika Kocher 18.1 170 <div style="padding:0 18px 18px 18px;">
Veronika Kocher 21.1 171 <span class="btn btn-default btn-block disabled" style="background:#f4f0e9;border-color:#d8d1c7;color:#6b655d;" aria-disabled="true">Explore Rooms &amp; Campus</span>
Veronika Kocher 18.1 172 </div>
173 </section>
Veronika Kocher 15.1 174
Veronika Kocher 19.1 175 <!-- 4. ART & RESEARCH SERVICES -->
Veronika Kocher 21.1 176 <section style="display:flex;flex-direction:column;min-height:320px;border:1px solid #e3ded6;border-left:6px solid #21b6d7;border-radius:12px;background:#fcfbf8;box-shadow:0 1px 2px rgba(0,0,0,.035);overflow:hidden;">
Veronika Kocher 23.1 177 <!-- SN_DRAFT_BANNER_START -->
178 <div
179 data-sn-draft-banner="1"
180 style="
181 width:100%;
182 box-sizing:border-box;
183 padding:9px 18px 8px;
184 margin:0;
185 background:#e94b13;
186 color:#ffffff;
187 border-bottom:1px solid #cf3f0d;
188 font-size:13px;
189 font-weight:800;
190 line-height:1.2;
191 letter-spacing:.10em;
192 text-transform:uppercase;
193 text-align:left;
194 "
195 >Draft!</div>
196 <!-- SN_DRAFT_BANNER_END -->
197
Veronika Kocher 18.1 198 <div style="padding:18px 18px 14px 18px;flex:1;">
Veronika Kocher 21.1 199 <div style="display:inline-block;font-size:12px;font-weight:700;letter-spacing:.065em;color:#4f4a44;margin-bottom:8px;padding:4px 7px;background:#f3efe8;border-radius:4px;">ART &amp; RESEARCH</div>
200 <h3 style="font-size:21px;line-height:1.25;margin:0 0 8px 0;color:#252321;">Art &amp; Research Services</h3>
Veronika Kocher 22.12 201 <p style="color:#6a655e;margin:0 0 8px 0;">Cross-unit guidance for planning, managing, publishing, sharing and preserving artistic and research projects.</p>
202 <!-- ARSN_ROOT_SCOPE_ROUTING_V1 -->
203 <div style="font-size:12px;color:#506168;line-height:1.45;margin:0 0 14px 0;padding:7px 9px;background:#eef7f9;border-radius:5px;"><strong>Central project &amp; funding hub:</strong> Support Kunst und Forschung · specialist responsibilities remain with the relevant service units.</div>
Veronika Kocher 15.1 204
Veronika Kocher 18.1 205 <div style="font-weight:700;margin-bottom:6px;">I need to…</div>
206 <ul style="margin:0 0 14px 18px;padding:0;">
Veronika Kocher 19.1 207 <li>develop or plan an artistic or research project</li>
208 <li>manage research data, documentation or collaboration</li>
209 <li>publish, cite, share or preserve outputs</li>
Veronika Kocher 18.1 210 </ul>
Veronika Kocher 15.1 211
Veronika Kocher 21.1 212 <div style="font-size:12px;color:#6a655e;line-height:1.45;">
Veronika Kocher 19.1 213 Research projects · research data management · rights &amp; ethics · repositories · publication · preservation
Veronika Kocher 18.1 214 </div>
Veronika Kocher 17.1 215 </div>
Veronika Kocher 18.1 216 <div style="padding:0 18px 18px 18px;">
Veronika Kocher 19.1 217 <a href="https://xwiki.uni-ak.ac.at/bin/view/Service%20Navigator/Art%20%26%20Research%20Services%20Navigator/" class="btn btn-primary btn-block">Explore Art &amp; Research Services</a>
Veronika Kocher 18.1 218 </div>
219 </section>
Veronika Kocher 15.1 220
Veronika Kocher 19.1 221 <!-- 5. STUDY, TEACHING & CURRICULUM -->
Veronika Kocher 21.1 222 <section style="display:flex;flex-direction:column;min-height:320px;border:1px solid #e3ded6;border-left:6px solid #21b6d7;border-radius:12px;background:#fcfbf8;box-shadow:0 1px 2px rgba(0,0,0,.035);overflow:hidden;">
Veronika Kocher 23.1 223 <!-- SN_DRAFT_BANNER_START -->
224 <div
225 data-sn-draft-banner="1"
226 style="
227 width:100%;
228 box-sizing:border-box;
229 padding:9px 18px 8px;
230 margin:0;
231 background:#e94b13;
232 color:#ffffff;
233 border-bottom:1px solid #cf3f0d;
234 font-size:13px;
235 font-weight:800;
236 line-height:1.2;
237 letter-spacing:.10em;
238 text-transform:uppercase;
239 text-align:left;
240 "
241 >Draft!</div>
242 <!-- SN_DRAFT_BANNER_END -->
243
Veronika Kocher 18.1 244 <div style="padding:18px 18px 14px 18px;flex:1;">
Veronika Kocher 21.1 245 <div style="display:inline-block;font-size:12px;font-weight:700;letter-spacing:.065em;color:#4f4a44;margin-bottom:8px;padding:4px 7px;background:#f3efe8;border-radius:4px;">STUDY &amp; TEACHING</div>
246 <h3 style="font-size:21px;line-height:1.25;margin:0 0 8px 0;color:#252321;">Study, Teaching &amp; Curriculum</h3>
247 <p style="color:#6a655e;margin:0 0 14px 0;">Support for studying, teaching, curricula and the learning environment.</p>
Veronika Kocher 15.1 248
Veronika Kocher 18.1 249 <div style="font-weight:700;margin-bottom:6px;">I need to…</div>
250 <ul style="margin:0 0 14px 18px;padding:0;">
Veronika Kocher 19.1 251 <li>clarify a study-related question</li>
252 <li>develop or change teaching or curricula</li>
253 <li>find support for final projects or accessibility in study</li>
Veronika Kocher 18.1 254 </ul>
Veronika Kocher 15.1 255
Veronika Kocher 21.1 256 <div style="font-size:12px;color:#6a655e;line-height:1.45;">
Veronika Kocher 19.1 257 Student affairs · teaching quality · curriculum development · final projects · student workspace
Veronika Kocher 18.1 258 </div>
Veronika Kocher 17.1 259 </div>
Veronika Kocher 18.1 260 <div style="padding:0 18px 18px 18px;">
Veronika Kocher 21.1 261 <span class="btn btn-default btn-block disabled" style="background:#f4f0e9;border-color:#d8d1c7;color:#6b655d;" aria-disabled="true">Explore Study &amp; Teaching</span>
Veronika Kocher 18.1 262 </div>
263 </section>
Veronika Kocher 15.1 264
Veronika Kocher 20.1 265 <!-- 6. RESEARCH & DISCOVERY RESOURCES -->
Veronika Kocher 21.1 266 <section style="display:flex;flex-direction:column;min-height:340px;border:1px solid #e3ded6;border-left:6px solid #21b6d7;border-radius:12px;background:#fcfbf8;box-shadow:0 1px 2px rgba(0,0,0,.035);overflow:hidden;">
Veronika Kocher 23.1 267 <!-- SN_DRAFT_BANNER_START -->
268 <div
269 data-sn-draft-banner="1"
270 style="
271 width:100%;
272 box-sizing:border-box;
273 padding:9px 18px 8px;
274 margin:0;
275 background:#e94b13;
276 color:#ffffff;
277 border-bottom:1px solid #cf3f0d;
278 font-size:13px;
279 font-weight:800;
280 line-height:1.2;
281 letter-spacing:.10em;
282 text-transform:uppercase;
283 text-align:left;
284 "
285 >Draft!</div>
286 <!-- SN_DRAFT_BANNER_END -->
287
Veronika Kocher 20.1 288 <div style="padding:18px 18px 14px 18px;flex:1;">
Veronika Kocher 21.1 289 <div style="display:inline-block;font-size:12px;font-weight:700;letter-spacing:.065em;color:#4f4a44;margin-bottom:8px;padding:4px 7px;background:#f3efe8;border-radius:4px;">FIND · SEARCH · DISCOVER</div>
290 <h3 style="font-size:21px;line-height:1.25;margin:0 0 8px 0;color:#252321;">Research &amp; Discovery Resources</h3>
291 <p style="color:#6a655e;margin:0 0 14px 0;">Find literature, databases, archives, collections, repositories and specialist research resources across the University.</p>
Veronika Kocher 20.1 292
293 <div style="font-weight:700;margin-bottom:6px;">I need to…</div>
294 <ul style="margin:0 0 14px 18px;padding:0;">
295 <li>find literature, media, databases or digital resources</li>
296 <li>research archival, artistic or institutional collections</li>
297 <li>discover repositories, specialist archives and research databases</li>
298 </ul>
299
Veronika Kocher 21.1 300 <div style="font-size:12px;color:#6a655e;line-height:1.5;">
Veronika Kocher 20.1 301 University Library &amp; supA · licensed databases · University Archive &amp; Art Collection · online collection databases · Oskar Kokoschka Centre · Viktor J. Papanek Foundation · Venedig Biennale Archiv Austria · Weibel Institute &amp; Peter Weibel Archive · Ursula Blickle Video Archive · Angewandte Repository
302 </div>
303 </div>
304 <div style="padding:0 18px 18px 18px;">
Veronika Kocher 21.1 305 <span class="btn btn-default btn-block disabled" style="background:#f4f0e9;border-color:#d8d1c7;color:#6b655d;" aria-disabled="true">Explore Research &amp; Discovery</span>
Veronika Kocher 20.1 306 </div>
307 </section>
308
309 <!-- 7. PURCHASING, FINANCE & LOGISTICS -->
Veronika Kocher 21.1 310 <section style="display:flex;flex-direction:column;min-height:320px;border:1px solid #e3ded6;border-left:6px solid #38b76a;border-radius:12px;background:#fcfbf8;box-shadow:0 1px 2px rgba(0,0,0,.035);overflow:hidden;">
Veronika Kocher 23.1 311 <!-- SN_DRAFT_BANNER_START -->
312 <div
313 data-sn-draft-banner="1"
314 style="
315 width:100%;
316 box-sizing:border-box;
317 padding:9px 18px 8px;
318 margin:0;
319 background:#e94b13;
320 color:#ffffff;
321 border-bottom:1px solid #cf3f0d;
322 font-size:13px;
323 font-weight:800;
324 line-height:1.2;
325 letter-spacing:.10em;
326 text-transform:uppercase;
327 text-align:left;
328 "
329 >Draft!</div>
330 <!-- SN_DRAFT_BANNER_END -->
331
Veronika Kocher 18.1 332 <div style="padding:18px 18px 14px 18px;flex:1;">
Veronika Kocher 21.1 333 <div style="display:inline-block;font-size:12px;font-weight:700;letter-spacing:.065em;color:#4f4a44;margin-bottom:8px;padding:4px 7px;background:#f3efe8;border-radius:4px;">PURCHASE &amp; MOVE</div>
334 <h3 style="font-size:21px;line-height:1.25;margin:0 0 8px 0;color:#252321;">Purchasing, Finance &amp; Logistics</h3>
335 <p style="color:#6a655e;margin:0 0 14px 0;">Buy, pay, budget, send, transport and move things.</p>
Veronika Kocher 15.1 336
Veronika Kocher 18.1 337 <div style="font-weight:700;margin-bottom:6px;">I need to…</div>
338 <ul style="margin:0 0 14px 18px;padding:0;">
339 <li>purchase materials or services</li>
340 <li>clarify an invoice, budget or financial process</li>
341 <li>send, transport or move items</li>
342 </ul>
Veronika Kocher 15.1 343
Veronika Kocher 21.1 344 <div style="font-size:12px;color:#6a655e;line-height:1.45;">
Veronika Kocher 18.1 345 Procurement · controlling · accounting · resource planning · mail &amp; logistics · transport · relocations
346 </div>
Veronika Kocher 17.1 347 </div>
Veronika Kocher 18.1 348 <div style="padding:0 18px 18px 18px;">
Veronika Kocher 21.1 349 <span class="btn btn-default btn-block disabled" style="background:#f4f0e9;border-color:#d8d1c7;color:#6b655d;" aria-disabled="true">Explore Finance &amp; Logistics</span>
Veronika Kocher 18.1 350 </div>
351 </section>
Veronika Kocher 15.1 352
Veronika Kocher 20.1 353 <!-- 8. LEGAL, DATA PROTECTION & GOVERNANCE -->
Veronika Kocher 21.1 354 <section style="display:flex;flex-direction:column;min-height:320px;border:1px solid #e3ded6;border-left:6px solid #f0aa00;border-radius:12px;background:#fcfbf8;box-shadow:0 1px 2px rgba(0,0,0,.035);overflow:hidden;">
Veronika Kocher 23.1 355 <!-- SN_DRAFT_BANNER_START -->
356 <div
357 data-sn-draft-banner="1"
358 style="
359 width:100%;
360 box-sizing:border-box;
361 padding:9px 18px 8px;
362 margin:0;
363 background:#e94b13;
364 color:#ffffff;
365 border-bottom:1px solid #cf3f0d;
366 font-size:13px;
367 font-weight:800;
368 line-height:1.2;
369 letter-spacing:.10em;
370 text-transform:uppercase;
371 text-align:left;
372 "
373 >Draft!</div>
374 <!-- SN_DRAFT_BANNER_END -->
375
Veronika Kocher 18.1 376 <div style="padding:18px 18px 14px 18px;flex:1;">
Veronika Kocher 21.1 377 <div style="display:inline-block;font-size:12px;font-weight:700;letter-spacing:.065em;color:#4f4a44;margin-bottom:8px;padding:4px 7px;background:#f3efe8;border-radius:4px;">RIGHTS &amp; RULES</div>
378 <h3 style="font-size:21px;line-height:1.25;margin:0 0 8px 0;color:#252321;">Legal, Data Protection &amp; Governance</h3>
379 <p style="color:#6a655e;margin:0 0 14px 0;">Legal questions, privacy, information rights and institutional rules.</p>
Veronika Kocher 15.1 380
Veronika Kocher 18.1 381 <div style="font-weight:700;margin-bottom:6px;">I need to…</div>
382 <ul style="margin:0 0 14px 18px;padding:0;">
Veronika Kocher 19.1 383 <li>clarify a legal or contractual question</li>
384 <li>deal with personal data or privacy</li>
385 <li>understand an institutional rule or information-access requirement</li>
Veronika Kocher 18.1 386 </ul>
Veronika Kocher 15.1 387
Veronika Kocher 21.1 388 <div style="font-size:12px;color:#6a655e;line-height:1.45;">
Veronika Kocher 19.1 389 Legal affairs · data protection · freedom of information · governance · institutional rules
Veronika Kocher 18.1 390 </div>
Veronika Kocher 17.1 391 </div>
Veronika Kocher 18.1 392 <div style="padding:0 18px 18px 18px;">
Veronika Kocher 21.1 393 <span class="btn btn-default btn-block disabled" style="background:#f4f0e9;border-color:#d8d1c7;color:#6b655d;" aria-disabled="true">Explore Legal &amp; Governance</span>
Veronika Kocher 18.1 394 </div>
395 </section>
Veronika Kocher 15.1 396
Veronika Kocher 20.1 397 <!-- 9. COMMUNICATION, MEDIA & EVENTS -->
Veronika Kocher 21.1 398 <section style="display:flex;flex-direction:column;min-height:320px;border:1px solid #e3ded6;border-left:6px solid #e94b13;border-radius:12px;background:#fcfbf8;box-shadow:0 1px 2px rgba(0,0,0,.035);overflow:hidden;">
Veronika Kocher 23.1 399 <!-- SN_DRAFT_BANNER_START -->
400 <div
401 data-sn-draft-banner="1"
402 style="
403 width:100%;
404 box-sizing:border-box;
405 padding:9px 18px 8px;
406 margin:0;
407 background:#e94b13;
408 color:#ffffff;
409 border-bottom:1px solid #cf3f0d;
410 font-size:13px;
411 font-weight:800;
412 line-height:1.2;
413 letter-spacing:.10em;
414 text-transform:uppercase;
415 text-align:left;
416 "
417 >Draft!</div>
418 <!-- SN_DRAFT_BANNER_END -->
419
Veronika Kocher 18.1 420 <div style="padding:18px 18px 14px 18px;flex:1;">
Veronika Kocher 21.1 421 <div style="display:inline-block;font-size:12px;font-weight:700;letter-spacing:.065em;color:#4f4a44;margin-bottom:8px;padding:4px 7px;background:#f3efe8;border-radius:4px;">COMMUNICATE &amp; ORGANISE</div>
422 <h3 style="font-size:21px;line-height:1.25;margin:0 0 8px 0;color:#252321;">Communication, Media &amp; Events</h3>
423 <p style="color:#6a655e;margin:0 0 14px 0;">Communicate, publish, print, promote and organise events.</p>
Veronika Kocher 15.1 424
Veronika Kocher 18.1 425 <div style="font-weight:700;margin-bottom:6px;">I need to…</div>
426 <ul style="margin:0 0 14px 18px;padding:0;">
Veronika Kocher 19.1 427 <li>communicate or publicise something</li>
428 <li>produce a publication, flyer or printed material</li>
429 <li>organise or support an event</li>
Veronika Kocher 18.1 430 </ul>
Veronika Kocher 15.1 431
Veronika Kocher 21.1 432 <div style="font-size:12px;color:#6a655e;line-height:1.45;">
Veronika Kocher 19.1 433 Press &amp; communications · publications · print materials · event management · Open House · festival
Veronika Kocher 18.1 434 </div>
435 </div>
436 <div style="padding:0 18px 18px 18px;">
Veronika Kocher 21.1 437 <span class="btn btn-default btn-block disabled" style="background:#f4f0e9;border-color:#d8d1c7;color:#6b655d;" aria-disabled="true">Explore Communication &amp; Events</span>
Veronika Kocher 18.1 438 </div>
439 </section>
Veronika Kocher 15.1 440
Veronika Kocher 19.1 441 <!-- 10. INTERNATIONAL OFFICE -->
Veronika Kocher 21.1 442 <section style="display:flex;flex-direction:column;min-height:300px;border:1px solid #e3ded6;border-left:6px solid #21b6d7;border-radius:12px;background:#fcfbf8;box-shadow:0 1px 2px rgba(0,0,0,.035);overflow:hidden;">
Veronika Kocher 23.1 443 <!-- SN_DRAFT_BANNER_START -->
444 <div
445 data-sn-draft-banner="1"
446 style="
447 width:100%;
448 box-sizing:border-box;
449 padding:9px 18px 8px;
450 margin:0;
451 background:#e94b13;
452 color:#ffffff;
453 border-bottom:1px solid #cf3f0d;
454 font-size:13px;
455 font-weight:800;
456 line-height:1.2;
457 letter-spacing:.10em;
458 text-transform:uppercase;
459 text-align:left;
460 "
461 >Draft!</div>
462 <!-- SN_DRAFT_BANNER_END -->
463
Veronika Kocher 19.1 464 <div style="padding:18px 18px 14px 18px;flex:1;">
Veronika Kocher 21.1 465 <div style="display:inline-block;font-size:12px;font-weight:700;letter-spacing:.065em;color:#4f4a44;margin-bottom:8px;padding:4px 7px;background:#f3efe8;border-radius:4px;">GO INTERNATIONAL</div>
466 <h3 style="font-size:21px;line-height:1.25;margin:0 0 8px 0;color:#252321;">International Office</h3>
467 <p style="color:#6a655e;margin:0 0 14px 0;">International mobility, exchange and international support.</p>
Veronika Kocher 19.1 468
469 <div style="font-weight:700;margin-bottom:6px;">I need to…</div>
470 <ul style="margin:0 0 14px 18px;padding:0;">
471 <li>plan an international stay or exchange</li>
472 <li>ask about mobility opportunities</li>
473 <li>find support for an international context</li>
474 </ul>
475
Veronika Kocher 21.1 476 <div style="font-size:12px;color:#6a655e;line-height:1.45;">
Veronika Kocher 19.1 477 Mobility · exchange · international cooperation · international support
478 </div>
479 </div>
480 <div style="padding:0 18px 18px 18px;">
Veronika Kocher 21.1 481 <span class="btn btn-default btn-block disabled" style="background:#f4f0e9;border-color:#d8d1c7;color:#6b655d;" aria-disabled="true">Explore International Office</span>
Veronika Kocher 19.1 482 </div>
483 </section>
484
485
Veronika Kocher 18.1 486 </div>
487
Veronika Kocher 22.1 488 <aside style="margin-top:26px;padding:14px 16px;border:1px solid #cfe8ef;border-left:4px solid #21b6d7;background:#eaf6f9;border-radius:6px;">
Veronika Kocher 18.1 489 <strong>Not sure where to start?</strong>
490 <div style="margin-top:4px;">
491 Use the search at the top of the page or choose the card that best matches what you are trying to do. A service may deliberately appear in more than one area when this makes it easier to find.
Veronika Kocher 17.1 492 </div>
Veronika Kocher 18.1 493 </aside>
Veronika Kocher 15.1 494
Veronika Kocher 17.1 495 </div>
Veronika Kocher 15.1 496 {{/html}}
Veronika Kocher 22.13 497
Veronika Kocher 22.16 498 {{html clean="false"}}
499 <!-- SN_SERVICE_NAVIGATOR_MASTER_STYLE_START -->
Veronika Kocher 22.15 500
Veronika Kocher 22.16 501 <style data-sn-service-navigator-master="1">
502 /* =========================================================
503 MASTER TYPOGRAPHY
504 ========================================================= */
Veronika Kocher 22.15 505 #xwikicontent h1,
506 #xwikicontent h2,
507 #xwikicontent h3,
508 #xwikicontent h4,
509 #xwikicontent h5,
510 #xwikicontent h6,
511 #xwikicontent .box-title,
512 #xwikicontent [role="heading"],
513 #xwikicontent h1 a,
514 #xwikicontent h2 a,
515 #xwikicontent h3 a,
516 #xwikicontent h4 a,
517 #xwikicontent h5 a,
518 #xwikicontent h6 a,
519 #xwikicontent .box-title a,
520 #xwikicontent [role="heading"] a{
521 text-align:left!important;
522 text-justify:auto!important;
523 word-spacing:normal!important;
524 }
525
Veronika Kocher 22.16 526 /* =========================================================
527 COMING SOON / IN VORBEREITUNG
528 ========================================================= */
529 .sn-coming-soon-badge{
530 display:inline-block;
531 vertical-align:middle;
532 margin-left:10px;
533 padding:4px 8px;
534 border-radius:14px;
535 border:1px solid #efd9cc;
536 background:#fff4ee;
537 color:#8a4d36;
538 font-size:11px;
539 font-weight:700;
540 letter-spacing:.055em;
541 line-height:1.2;
542 white-space:nowrap;
543 }
544
545 /* =========================================================
546 NATIVE / DETAIL CALLOUT GEOMETRY
547 Preserve existing backgrounds.
548 ========================================================= */
549 #xwikicontent .arsn-info,
550 #xwikicontent .dmp-info,
551 #xwikicontent .ido-info,
552 #xwikicontent .pp-info,
553 #xwikicontent .infomessage{
Veronika Kocher 22.15 554 box-sizing:border-box!important;
Veronika Kocher 22.16 555 border-left:4px solid #21b6d7!important;
556 border-radius:8px;
Veronika Kocher 22.15 557 text-align:left!important;
558 word-spacing:normal!important;
559 }
560
Veronika Kocher 22.16 561 #xwikicontent .arsn-warn,
562 #xwikicontent .dmp-warn,
563 #xwikicontent .ido-warn,
564 #xwikicontent .pp-warn,
565 #xwikicontent .warn,
566 #xwikicontent .warning,
567 #xwikicontent .warningmessage,
Veronika Kocher 22.15 568 #xwikicontent .errormessage{
Veronika Kocher 22.16 569 box-sizing:border-box!important;
570 border-left:4px solid #e94b13!important;
571 border-radius:8px;
572 text-align:left!important;
573 word-spacing:normal!important;
Veronika Kocher 22.15 574 }
575
Veronika Kocher 22.16 576 [data-sn-master-equal-height],
577 [data-sn-master-first-row]{
Veronika Kocher 22.14 578 box-sizing:border-box;
Veronika Kocher 22.13 579 }
Veronika Kocher 22.17 580
581 /* =========================================================
582 FULL-WIDTH THREE-LINE NUMBER / TITLE / SUBTITLE BLOCKS
583 ========================================================= */
584 #xwikicontent .arsn-area-label[data-sn-three-line="1"]{
585 display:grid!important;
586 grid-template-columns:minmax(0,1fr)!important;
587 grid-auto-rows:auto!important;
588 width:100%!important;
589 max-width:none!important;
590 box-sizing:border-box!important;
591 justify-items:start!important;
592 align-items:start!important;
593 gap:2px!important;
594 text-align:left!important;
595 text-align-last:left!important;
596 text-justify:auto!important;
597 word-spacing:normal!important;
598 white-space:normal!important;
599 }
600 #xwikicontent .arsn-area-label[data-sn-three-line="1"] > .arsn-area-number,
601 #xwikicontent .arsn-area-label[data-sn-three-line="1"] > .sn-area-label-title,
602 #xwikicontent .arsn-area-label[data-sn-three-line="1"] > .arsn-area-action{
603 display:block!important;
604 width:100%!important;
605 margin:0!important;
606 text-align:left!important;
607 text-align-last:left!important;
608 text-justify:auto!important;
609 word-spacing:normal!important;
610 white-space:normal!important;
611 }
Veronika Kocher 22.13 612 </style>
Veronika Kocher 22.15 613
Veronika Kocher 22.16 614 <script data-sn-service-navigator-master="1">
Veronika Kocher 22.13 615 (function(){
616 "use strict";
617
Veronika Kocher 22.16 618 var PAGE_KIND="overview";
619 var PLACEHOLDER=false;
620 var PLACEHOLDER_LABEL="COMING SOON";
621
Veronika Kocher 22.13 622 var MOBILE_MAX=767;
Veronika Kocher 22.14 623 var ROW_TOLERANCE=6;
Veronika Kocher 22.15 624 var RESIZE_DEBOUNCE=220;
Veronika Kocher 22.13 625
626 var root=
627 document.getElementById("xwikicontent")||
628 document.querySelector(".xwiki-rendering-content")||
629 document.querySelector("main")||
630 document.body;
631
632 if(!root)return;
633
Veronika Kocher 22.16 634 var managedHeight=new Set();
635 var managedMargin=new Set();
636 var originalHeight=new WeakMap();
637 var originalMargin=new WeakMap();
Veronika Kocher 22.15 638
639 var resizeTimer=0;
Veronika Kocher 22.16 640 var running=false;
Veronika Kocher 22.15 641
Veronika Kocher 22.16 642 var THEMES=[
643 {
644 name:"BLUE",
645 accent:"#21b6d7",
646 bg:"#eaf7fb",
647 text:"#315d68",
648 labels:[
649 "HIER STARTEN",
650 "ENTSCHEIDEN",
651 "ÜBERPRÜFEN & ANPASSEN",
652 "START HERE",
653 "DECIDE",
654 "REVIEW & ADAPT"
655 ]
656 },
657 {
658 name:"RED",
659 accent:"#e94b13",
660 bg:"#fff1ec",
661 text:"#8a4d36",
662 labels:[
663 "PLANEN & ORGANISIEREN",
664 "ORGANISIEREN & DOKUMENTIEREN",
665 "PUBLIZIEREN & PRÄSENTIEREN",
666 "PLAN & ORGANISE",
667 "PLAN & ORGANIZE",
668 "ORGANISE & DOCUMENT",
669 "ORGANIZE & DOCUMENT",
670 "PUBLISH & PRESENT"
671 ]
672 },
673 {
674 name:"YELLOW",
675 accent:"#f0aa00",
676 bg:"#fff8e7",
677 text:"#785b17",
678 labels:[
679 "SCHÜTZEN & KLÄREN",
680 "STANDARDISIEREN & IDENTIFIZIEREN",
681 "ÖFFNEN, NACHNUTZEN & AUFFINDBAR MACHEN",
682 "PROTECT & CLARIFY",
683 "STANDARDISE & IDENTIFY",
684 "STANDARDIZE & IDENTIFY",
685 "OPEN, REUSE & MAKE FINDABLE"
686 ]
687 },
688 {
689 name:"GREEN",
690 accent:"#38b76a",
691 bg:"#edf9f1",
692 text:"#3f7451",
693 labels:[
694 "INFRASTRUKTUR EINRICHTEN",
695 "INFRASTRUKTUR & ZUSAMMENARBEIT EINRICHTEN",
696 "SPEICHERN & ZUGRIFF STEUERN",
697 "REPOSITORIUM, ERHALTEN & ÜBERGEBEN",
698 "SET UP INFRASTRUCTURE",
699 "SET UP INFRASTRUCTURE & COLLABORATION",
700 "STORE & CONTROL ACCESS",
701 "REPOSITORY, PRESERVE & HAND OVER"
702 ]
Veronika Kocher 22.14 703 }
Veronika Kocher 22.16 704 ];
Veronika Kocher 22.14 705
Veronika Kocher 22.16 706 function num(value){
707 var n=parseFloat(value);
708 return Number.isFinite(n)?n:0;
Veronika Kocher 22.13 709 }
710
Veronika Kocher 22.16 711 function norm(value){
712 return String(value||"")
Veronika Kocher 22.15 713 .replace(/\s+/g," ")
714 .trim()
715 .toUpperCase();
716 }
717
Veronika Kocher 22.16 718 function visible(el){
719 if(!el||el.nodeType!==1)return false;
Veronika Kocher 22.13 720
Veronika Kocher 22.16 721 var style=getComputedStyle(el);
722 var rect=el.getBoundingClientRect();
Veronika Kocher 22.15 723
724 return (
Veronika Kocher 22.16 725 style.display!=="none"&&
726 style.visibility!=="hidden"&&
727 rect.width>20&&
728 rect.height>4
Veronika Kocher 22.15 729 );
Veronika Kocher 22.13 730 }
731
Veronika Kocher 22.16 732 function saveStyle(el,map,property){
Veronika Kocher 22.14 733 if(map.has(el))return;
734
735 map.set(el,{
Veronika Kocher 22.16 736 value:el.style.getPropertyValue(property),
737 priority:el.style.getPropertyPriority(property)
Veronika Kocher 22.14 738 });
739 }
740
Veronika Kocher 22.16 741 function restoreStyle(el,map,property){
Veronika Kocher 22.14 742 var original=map.get(el);
743
744 if(original&&original.value){
745 el.style.setProperty(
746 property,
747 original.value,
748 original.priority||""
749 );
750 }else{
Veronika Kocher 22.16 751 el.style.removeProperty(property);
Veronika Kocher 22.14 752 }
753 }
754
Veronika Kocher 22.15 755 function resetRuntime(){
Veronika Kocher 22.16 756 managedHeight.forEach(function(el){
757 restoreStyle(
Veronika Kocher 22.14 758 el,
Veronika Kocher 22.16 759 originalHeight,
Veronika Kocher 22.14 760 "min-height"
761 );
762 el.removeAttribute(
Veronika Kocher 22.16 763 "data-sn-master-equal-height"
Veronika Kocher 22.14 764 );
765 });
766
Veronika Kocher 22.16 767 managedMargin.forEach(function(el){
768 restoreStyle(
Veronika Kocher 22.14 769 el,
Veronika Kocher 22.16 770 originalMargin,
Veronika Kocher 22.14 771 "margin-top"
772 );
773 el.removeAttribute(
Veronika Kocher 22.16 774 "data-sn-master-first-row"
Veronika Kocher 22.14 775 );
776 });
777
Veronika Kocher 22.16 778 managedHeight.clear();
779 managedMargin.clear();
780 }
Veronika Kocher 22.15 781
Veronika Kocher 22.16 782 function themeFor(text){
783 var value=norm(text);
Veronika Kocher 22.15 784
Veronika Kocher 22.16 785 for(var i=0;i<THEMES.length;i++){
786 for(var j=0;j<THEMES[i].labels.length;j++){
787 var label=THEMES[i].labels[j];
788
789 if(
790 value===label||
791 value.indexOf(label+" ")===0||
792 value.indexOf(label+" -")===0||
793 value.indexOf(label+" ·")===0
794 ){
795 return THEMES[i];
796 }
797 }
798 }
799
800 return null;
Veronika Kocher 22.14 801 }
802
Veronika Kocher 22.16 803 /* =======================================================
Veronika Kocher 22.17 804 BORDERLESS FILLED RED/ORANGE CTA BUTTONS
805 ======================================================= */
806
807 function colourDistance(a,b){
808 return Math.sqrt(
809 Math.pow(a[0]-b[0],2)+
810 Math.pow(a[1]-b[1],2)+
811 Math.pow(a[2]-b[2],2)
812 );
813 }
814
815 function makeFilledRedOrangeCTAsBorderless(){
816 var RED_ORANGE=[233,75,19];
817
818 Array.from(
819 root.querySelectorAll(
820 'a,button,[role="button"],input[type="submit"],input[type="button"]'
821 )
822 ).forEach(function(el){
823 if(!visible(el))return;
824
825 var style=getComputedStyle(el);
826 var rgb=parseRGB(style.backgroundColor);
827
828 if(!rgb)return;
829
830 if(
831 colourDistance(
832 rgb,
833 RED_ORANGE
834 )>55
835 ){
836 return;
837 }
838
839 var rect=el.getBoundingClientRect();
840
841 if(
842 rect.width<80||
843 rect.height<24
844 ){
845 return;
846 }
847
848 el.style.setProperty(
849 "border",
850 "none",
851 "important"
852 );
853
854 el.style.setProperty(
855 "border-left",
856 "none",
857 "important"
858 );
859
860 el.style.setProperty(
861 "border-top",
862 "none",
863 "important"
864 );
865
866 el.style.setProperty(
867 "border-right",
868 "none",
869 "important"
870 );
871
872 el.style.setProperty(
873 "border-bottom",
874 "none",
875 "important"
876 );
877
878 el.style.setProperty(
879 "box-shadow",
880 "none",
881 "important"
882 );
883 });
884 }
885
886 /* =======================================================
887 FULL-WIDTH THREE-LINE AREA LABELS
888 ======================================================= */
889
890 function compactText(value){
891 return String(value||"")
892 .replace(/\s+/g," ")
893 .trim();
894 }
895
896 function makeThreeLineAreaLabels(){
897 Array.from(
898 root.querySelectorAll(
899 ".arsn-area-label"
900 )
901 ).forEach(function(label){
902 if(
903 label.getAttribute(
904 "data-sn-three-line"
905 )==="1"
906 ){
907 return;
908 }
909
910 var number=
911 label.querySelector(
912 ":scope > .arsn-area-number"
913 );
914
915 var action=
916 label.querySelector(
917 ":scope > .arsn-area-action"
918 );
919
920 if(
921 !number||
922 !action
923 ){
924 return;
925 }
926
927 var clone=
928 label.cloneNode(true);
929
930 var cloneNumber=
931 clone.querySelector(
932 ":scope > .arsn-area-number"
933 );
934
935 var cloneAction=
936 clone.querySelector(
937 ":scope > .arsn-area-action"
938 );
939
940 if(cloneNumber){
941 cloneNumber.remove();
942 }
943
944 if(cloneAction){
945 cloneAction.remove();
946 }
947
948 var titleText=
949 compactText(
950 clone.textContent
951 );
952
953 if(!titleText){
954 return;
955 }
956
957 var numberNode=
958 number.cloneNode(true);
959
960 var actionNode=
961 action.cloneNode(true);
962
963 var titleNode=
964 document.createElement(
965 "span"
966 );
967
968 titleNode.className=
969 "sn-area-label-title";
970
971 titleNode.textContent=
972 titleText;
973
974 while(label.firstChild){
975 label.removeChild(
976 label.firstChild
977 );
978 }
979
980 label.appendChild(
981 numberNode
982 );
983
984 label.appendChild(
985 titleNode
986 );
987
988 label.appendChild(
989 actionNode
990 );
991
992 label.setAttribute(
993 "data-sn-three-line",
994 "1"
995 );
996
997 var head=
998 label.closest(
999 ".arsn-area-head"
1000 );
1001
1002 if(head){
1003 head.style.setProperty(
1004 "width",
1005 "100%",
1006 "important"
1007 );
1008
1009 head.style.setProperty(
1010 "max-width",
1011 "100%",
1012 "important"
1013 );
1014
1015 head.style.setProperty(
1016 "box-sizing",
1017 "border-box",
1018 "important"
1019 );
1020 }
1021 });
1022 }
1023
1024 /* =======================================================
Veronika Kocher 22.16 1025 PLACEHOLDER BADGE
1026 ======================================================= */
Veronika Kocher 22.15 1027
Veronika Kocher 22.16 1028 function applyPlaceholderBadge(){
1029 if(!PLACEHOLDER)return;
Veronika Kocher 22.15 1030
1031 if(
Veronika Kocher 22.16 1032 document.querySelector(
1033 ".sn-coming-soon-badge"
1034 )
Veronika Kocher 22.15 1035 ){
Veronika Kocher 22.16 1036 return;
Veronika Kocher 22.15 1037 }
1038
Veronika Kocher 22.16 1039 var title=
1040 document.querySelector(
1041 "#document-title"
1042 )||
1043 document.querySelector(
1044 "h1"
1045 );
Veronika Kocher 22.15 1046
Veronika Kocher 22.16 1047 if(!title)return;
Veronika Kocher 22.15 1048
Veronika Kocher 22.16 1049 var badge=
1050 document.createElement(
1051 "span"
1052 );
1053
1054 badge.className=
1055 "sn-coming-soon-badge";
1056
1057 badge.textContent=
1058 PLACEHOLDER_LABEL;
1059
1060 badge.setAttribute(
1061 "aria-label",
1062 PLACEHOLDER_LABEL
Veronika Kocher 22.15 1063 );
1064
Veronika Kocher 22.16 1065 title.appendChild(
1066 badge
1067 );
1068 }
Veronika Kocher 22.15 1069
Veronika Kocher 22.16 1070 /* =======================================================
1071 DETAIL PAGE OWN-ACCENT PROPAGATION
1072 ======================================================= */
Veronika Kocher 22.15 1073
Veronika Kocher 22.16 1074 function parseRGB(value){
1075 var match=String(value||"").match(
1076 /rgba?\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)/i
Veronika Kocher 22.15 1077 );
Veronika Kocher 22.16 1078
1079 if(!match)return null;
1080
1081 return [
1082 Number(match[1]),
1083 Number(match[2]),
1084 Number(match[3])
1085 ];
Veronika Kocher 22.15 1086 }
1087
Veronika Kocher 22.16 1088 function distance(a,b){
1089 return Math.sqrt(
1090 Math.pow(a[0]-b[0],2)+
1091 Math.pow(a[1]-b[1],2)+
1092 Math.pow(a[2]-b[2],2)
1093 );
1094 }
Veronika Kocher 22.13 1095
Veronika Kocher 22.16 1096 function paletteMatch(cssColor){
1097 var rgb=parseRGB(cssColor);
Veronika Kocher 22.14 1098
Veronika Kocher 22.16 1099 if(!rgb)return null;
Veronika Kocher 22.14 1100
Veronika Kocher 22.16 1101 var palette=[
1102 {hex:"#21b6d7",rgb:[33,182,215]},
1103 {hex:"#e94b13",rgb:[233,75,19]},
1104 {hex:"#f0aa00",rgb:[240,170,0]},
1105 {hex:"#38b76a",rgb:[56,183,106]}
1106 ];
Veronika Kocher 22.13 1107
Veronika Kocher 22.14 1108 var best=null;
Veronika Kocher 22.16 1109 var bestDistance=Infinity;
Veronika Kocher 22.13 1110
Veronika Kocher 22.16 1111 palette.forEach(function(item){
1112 var d=distance(rgb,item.rgb);
Veronika Kocher 22.13 1113
Veronika Kocher 22.16 1114 if(d<bestDistance){
1115 best=item;
1116 bestDistance=d;
1117 }
1118 });
Veronika Kocher 22.14 1119
Veronika Kocher 22.16 1120 return bestDistance<=30
1121 ?best
1122 :null;
1123 }
Veronika Kocher 22.13 1124
Veronika Kocher 22.16 1125 function propagateDetailAccents(){
1126 if(PAGE_KIND!=="detail")return;
1127
1128 Array.from(
1129 root.querySelectorAll(
1130 ".arsn-call,.dmp-call,.ido-call,.pp-call,"+
1131 ".arsn-source,.dmp-source,.ido-source,.pp-source"
1132 )
1133 ).forEach(function(el){
1134 if(!visible(el))return;
1135
1136 var style=getComputedStyle(el);
1137
Veronika Kocher 22.14 1138 if(
Veronika Kocher 22.16 1139 num(style.borderTopWidth)>=2
Veronika Kocher 22.14 1140 ){
Veronika Kocher 22.16 1141 var match=
1142 paletteMatch(
1143 style.borderTopColor
Veronika Kocher 22.14 1144 );
1145
Veronika Kocher 22.16 1146 if(match){
1147 el.style.setProperty(
1148 "border-left",
1149 "4px solid "+match.hex,
1150 "important"
Veronika Kocher 22.14 1151 );
Veronika Kocher 22.13 1152 }
1153 }
Veronika Kocher 22.16 1154 });
Veronika Kocher 22.13 1155
Veronika Kocher 22.16 1156 // Warning families: explicit safety override.
1157 Array.from(
1158 root.querySelectorAll(
1159 ".arsn-warn,.dmp-warn,.ido-warn,.pp-warn,"+
1160 ".warn,.warning,.warningmessage,.errormessage"
1161 )
1162 ).forEach(function(el){
1163 if(!visible(el))return;
Veronika Kocher 22.13 1164
Veronika Kocher 22.16 1165 el.style.setProperty(
1166 "border-left",
1167 "4px solid #e94b13",
1168 "important"
1169 );
1170 });
Veronika Kocher 22.13 1171
Veronika Kocher 22.16 1172 // Info families: explicit orientation override.
1173 Array.from(
1174 root.querySelectorAll(
1175 ".arsn-info,.dmp-info,.ido-info,.pp-info,.infomessage"
1176 )
1177 ).forEach(function(el){
1178 if(!visible(el))return;
Veronika Kocher 22.14 1179
Veronika Kocher 22.16 1180 el.style.setProperty(
1181 "border-left",
1182 "4px solid #21b6d7",
1183 "important"
1184 );
1185 });
1186 }
Veronika Kocher 22.14 1187
Veronika Kocher 22.16 1188 /* =======================================================
1189 OVERVIEW SEMANTIC THEME PALETTE
1190 ======================================================= */
Veronika Kocher 22.14 1191
Veronika Kocher 22.16 1192 function smallestThemeHeaders(){
1193 return Array.from(
1194 root.querySelectorAll(
1195 "div,span,p,strong,h3,h4,h5,h6"
1196 )
1197 ).filter(function(el){
1198 if(!visible(el))return false;
1199 if(!themeFor(el.textContent))return false;
Veronika Kocher 22.14 1200
Veronika Kocher 22.16 1201 return !Array.from(
1202 el.children||[]
1203 ).some(function(child){
1204 return !!themeFor(
1205 child.textContent
1206 );
Veronika Kocher 22.14 1207 });
Veronika Kocher 22.16 1208 });
Veronika Kocher 22.13 1209 }
1210
Veronika Kocher 22.16 1211 function findOverviewCard(header){
1212 var node=header.parentElement;
1213 var candidates=[];
Veronika Kocher 22.14 1214
Veronika Kocher 22.16 1215 while(node&&node!==root){
1216 var rect=node.getBoundingClientRect();
1217 var style=getComputedStyle(node);
Veronika Kocher 22.14 1218
Veronika Kocher 22.16 1219 var border=
1220 num(style.borderTopWidth)+
1221 num(style.borderRightWidth)+
1222 num(style.borderBottomWidth)+
1223 num(style.borderLeftWidth);
Veronika Kocher 22.14 1224
Veronika Kocher 22.16 1225 if(
1226 rect.width>=220&&
1227 rect.width<=800&&
1228 rect.height>=120&&
1229 border>=1
1230 ){
1231 candidates.push(node);
1232 }
Veronika Kocher 22.14 1233
Veronika Kocher 22.16 1234 node=node.parentElement;
1235 }
Veronika Kocher 22.14 1236
Veronika Kocher 22.16 1237 if(!candidates.length)return null;
Veronika Kocher 22.14 1238
Veronika Kocher 22.16 1239 candidates.sort(function(a,b){
1240 return (
1241 b.getBoundingClientRect().height-
1242 a.getBoundingClientRect().height
Veronika Kocher 22.15 1243 );
Veronika Kocher 22.16 1244 });
Veronika Kocher 22.14 1245
Veronika Kocher 22.16 1246 return candidates[0];
Veronika Kocher 22.14 1247 }
1248
Veronika Kocher 22.16 1249 function rowCandidates(link,card){
1250 var result=[];
Veronika Kocher 22.15 1251 var cardRect=
1252 card.getBoundingClientRect();
Veronika Kocher 22.14 1253
Veronika Kocher 22.16 1254 var node=link;
Veronika Kocher 22.14 1255
Veronika Kocher 22.16 1256 while(node&&node!==card){
1257 if(visible(node)){
1258 var rect=
1259 node.getBoundingClientRect();
Veronika Kocher 22.14 1260
Veronika Kocher 22.16 1261 if(
1262 rect.height<=105&&
1263 rect.width>=
1264 cardRect.width*.50&&
1265 rect.width<=
1266 cardRect.width*1.03
1267 ){
1268 result.push(node);
1269 }
1270 }
Veronika Kocher 22.14 1271
Veronika Kocher 22.16 1272 node=node.parentElement;
1273 }
1274
1275 return result;
1276 }
1277
1278 function chooseOuterRow(
1279 candidates,
1280 link
1281 ){
1282 if(!candidates.length){
1283 return link;
1284 }
1285
1286 var bordered=
1287 candidates.filter(function(el){
Veronika Kocher 22.15 1288 return (
Veronika Kocher 22.16 1289 num(
1290 getComputedStyle(el)
1291 .borderLeftWidth
1292 )>=1
Veronika Kocher 22.15 1293 );
1294 });
Veronika Kocher 22.14 1295
Veronika Kocher 22.16 1296 var pool=
1297 bordered.length
1298 ?bordered
1299 :candidates;
Veronika Kocher 22.14 1300
Veronika Kocher 22.16 1301 pool.sort(function(a,b){
1302 var ar=
1303 a.getBoundingClientRect();
Veronika Kocher 22.14 1304
Veronika Kocher 22.16 1305 var br=
1306 b.getBoundingClientRect();
Veronika Kocher 22.14 1307
Veronika Kocher 22.16 1308 return (
1309 ar.left-br.left||
1310 br.width-ar.width
1311 );
1312 });
Veronika Kocher 22.14 1313
Veronika Kocher 22.16 1314 return pool[0]||link;
1315 }
Veronika Kocher 22.14 1316
Veronika Kocher 22.16 1317 function applyOverviewPalette(){
1318 if(PAGE_KIND!=="overview"){
1319 return [];
Veronika Kocher 22.15 1320 }
Veronika Kocher 22.14 1321
Veronika Kocher 22.16 1322 var headers=
1323 smallestThemeHeaders()
1324 .map(function(el){
1325 return {
1326 el:el,
1327 theme:
1328 themeFor(
1329 el.textContent
1330 ),
1331 card:
1332 findOverviewCard(
1333 el
1334 )
1335 };
Veronika Kocher 22.15 1336 })
Veronika Kocher 22.16 1337 .filter(function(row){
1338 return !!row.card;
1339 });
Veronika Kocher 22.14 1340
Veronika Kocher 22.16 1341 var unique=[];
1342 var seenHeaders=new Set();
Veronika Kocher 22.14 1343
Veronika Kocher 22.16 1344 headers.forEach(function(row){
1345 var key=
1346 row.theme.name+
1347 "|"+
1348 Math.round(
1349 row.card
1350 .getBoundingClientRect()
1351 .left
1352 )+
1353 "|"+
1354 Math.round(
1355 row.el
1356 .getBoundingClientRect()
1357 .top
1358 );
Veronika Kocher 22.14 1359
Veronika Kocher 22.16 1360 if(!seenHeaders.has(key)){
1361 seenHeaders.add(key);
1362 unique.push(row);
1363 }
1364 });
Veronika Kocher 22.14 1365
Veronika Kocher 22.16 1366 unique.forEach(function(row){
1367 var headerRect=
1368 row.el
1369 .getBoundingClientRect();
Veronika Kocher 22.14 1370
Veronika Kocher 22.16 1371 row.el.style.setProperty(
1372 "background",
1373 row.theme.bg,
1374 "important"
Veronika Kocher 22.15 1375 );
1376
Veronika Kocher 22.16 1377 row.el.style.setProperty(
1378 "color",
1379 row.theme.text,
1380 "important"
Veronika Kocher 22.15 1381 );
1382
Veronika Kocher 22.16 1383 row.el.style.setProperty(
1384 "text-align",
1385 "left",
1386 "important"
Veronika Kocher 22.15 1387 );
Veronika Kocher 22.14 1388
Veronika Kocher 22.16 1389 row.el.style.setProperty(
1390 "word-spacing",
1391 "normal",
1392 "important"
1393 );
Veronika Kocher 22.15 1394
Veronika Kocher 22.16 1395 var later=
1396 unique
1397 .filter(function(other){
1398 return (
1399 other.card===row.card&&
1400 other.el
1401 .getBoundingClientRect()
1402 .top>
1403 headerRect.top+2
1404 );
1405 })
1406 .sort(function(a,b){
1407 return (
1408 a.el
1409 .getBoundingClientRect()
1410 .top-
1411 b.el
1412 .getBoundingClientRect()
1413 .top
1414 );
1415 });
Veronika Kocher 22.15 1416
Veronika Kocher 22.16 1417 var stopTop=
1418 later.length
1419 ?later[0].el
1420 .getBoundingClientRect()
1421 .top
1422 :Infinity;
Veronika Kocher 22.15 1423
1424 Array.from(
Veronika Kocher 22.16 1425 row.card.querySelectorAll("a")
1426 ).forEach(function(link){
1427 if(!visible(link))return;
Veronika Kocher 22.15 1428
Veronika Kocher 22.16 1429 var rect=
1430 link.getBoundingClientRect();
Veronika Kocher 22.15 1431
Veronika Kocher 22.16 1432 if(
1433 rect.top<=
1434 headerRect.bottom-2||
1435 rect.top>=
1436 stopTop-2
1437 ){
1438 return;
1439 }
Veronika Kocher 22.15 1440
Veronika Kocher 22.16 1441 var candidates=
1442 rowCandidates(
1443 link,
1444 row.card
1445 );
1446
1447 var target=
1448 chooseOuterRow(
1449 candidates,
1450 link
1451 );
1452
1453 candidates.forEach(function(el){
1454 el.style.setProperty(
1455 "border-left",
1456 "0 solid transparent",
1457 "important"
1458 );
1459 });
1460
1461 target.style.setProperty(
1462 "border-left",
1463 "3px solid "+
1464 row.theme.accent,
1465 "important"
Veronika Kocher 22.15 1466 );
Veronika Kocher 22.16 1467
1468 target.style.setProperty(
1469 "box-sizing",
1470 "border-box",
1471 "important"
Veronika Kocher 22.15 1472 );
Veronika Kocher 22.14 1473 });
Veronika Kocher 22.16 1474 });
Veronika Kocher 22.14 1475
Veronika Kocher 22.16 1476 return unique;
Veronika Kocher 22.15 1477 }
Veronika Kocher 22.14 1478
Veronika Kocher 22.16 1479 /* =======================================================
1480 OVERVIEW CARD HEIGHT + FIRST THEMATIC ROW
1481 ======================================================= */
Veronika Kocher 22.15 1482
Veronika Kocher 22.16 1483 function alignOverviewCards(headers){
1484 if(
1485 PAGE_KIND!=="overview"||
1486 window.innerWidth<=MOBILE_MAX
1487 ){
1488 return;
1489 }
Veronika Kocher 22.15 1490
Veronika Kocher 22.16 1491 var cards=[];
1492 var seen=new Set();
Veronika Kocher 22.15 1493
Veronika Kocher 22.16 1494 headers.forEach(function(row){
1495 if(!seen.has(row.card)){
1496 seen.add(row.card);
1497 cards.push(row.card);
1498 }
1499 });
Veronika Kocher 22.15 1500
Veronika Kocher 22.16 1501 if(cards.length<2){
1502 return;
1503 }
Veronika Kocher 22.15 1504
Veronika Kocher 22.16 1505 // Group cards by actual top position.
1506 var groups=[];
Veronika Kocher 22.15 1507
Veronika Kocher 22.16 1508 cards.forEach(function(card){
1509 var top=
1510 card.getBoundingClientRect().top;
Veronika Kocher 22.15 1511
Veronika Kocher 22.16 1512 var group=null;
Veronika Kocher 22.15 1513
Veronika Kocher 22.16 1514 for(var i=0;i<groups.length;i++){
Veronika Kocher 22.15 1515 if(
Veronika Kocher 22.16 1516 Math.abs(
1517 groups[i].top-top
1518 )<=ROW_TOLERANCE
Veronika Kocher 22.15 1519 ){
Veronika Kocher 22.16 1520 group=groups[i];
1521 break;
Veronika Kocher 22.15 1522 }
Veronika Kocher 22.16 1523 }
Veronika Kocher 22.15 1524
Veronika Kocher 22.16 1525 if(!group){
1526 group={
1527 top:top,
1528 cards:[]
1529 };
1530 groups.push(group);
1531 }
Veronika Kocher 22.15 1532
Veronika Kocher 22.16 1533 group.cards.push(card);
1534 });
Veronika Kocher 22.15 1535
Veronika Kocher 22.16 1536 groups.forEach(function(group){
1537 if(group.cards.length<2){
1538 return;
1539 }
Veronika Kocher 22.15 1540
Veronika Kocher 22.16 1541 var firstHeaders=
1542 group.cards.map(function(card){
1543 var candidates=
1544 headers
1545 .filter(function(row){
1546 return row.card===card;
1547 })
1548 .sort(function(a,b){
1549 return (
1550 a.el
1551 .getBoundingClientRect()
1552 .top-
1553 b.el
1554 .getBoundingClientRect()
1555 .top
1556 );
1557 });
Veronika Kocher 22.15 1558
Veronika Kocher 22.16 1559 return candidates.length
1560 ?candidates[0]
1561 :null;
1562 });
Veronika Kocher 22.15 1563
Veronika Kocher 22.16 1564 if(
1565 !firstHeaders.some(function(row){
1566 return !row;
1567 })
1568 ){
1569 var targetTop=
1570 Math.max.apply(
1571 Math,
1572 firstHeaders.map(function(row){
1573 return (
1574 row.el
1575 .getBoundingClientRect()
1576 .top-
1577 row.card
1578 .getBoundingClientRect()
1579 .top
1580 );
1581 })
1582 );
Veronika Kocher 22.13 1583
Veronika Kocher 22.16 1584 firstHeaders.forEach(function(row){
1585 var relativeTop=
1586 row.el
1587 .getBoundingClientRect()
1588 .top-
1589 row.card
1590 .getBoundingClientRect()
1591 .top;
Veronika Kocher 22.14 1592
Veronika Kocher 22.16 1593 var delta=
1594 targetTop-relativeTop;
Veronika Kocher 22.14 1595
Veronika Kocher 22.16 1596 if(delta>1){
1597 saveStyle(
1598 row.el,
1599 originalMargin,
1600 "margin-top"
1601 );
Veronika Kocher 22.15 1602
Veronika Kocher 22.16 1603 var current=
1604 num(
1605 getComputedStyle(
1606 row.el
1607 ).marginTop
1608 );
Veronika Kocher 22.14 1609
Veronika Kocher 22.16 1610 row.el.style.setProperty(
1611 "margin-top",
1612 (
1613 current+delta
1614 )+"px"
1615 );
Veronika Kocher 22.14 1616
Veronika Kocher 22.16 1617 row.el.setAttribute(
1618 "data-sn-master-first-row",
1619 "1"
1620 );
Veronika Kocher 22.14 1621
Veronika Kocher 22.16 1622 managedMargin.add(
1623 row.el
1624 );
1625 }
1626 });
1627 }
Veronika Kocher 22.14 1628
Veronika Kocher 22.16 1629 var maxHeight=0;
Veronika Kocher 22.14 1630
Veronika Kocher 22.16 1631 group.cards.forEach(function(card){
1632 maxHeight=
1633 Math.max(
1634 maxHeight,
1635 card
1636 .getBoundingClientRect()
1637 .height
1638 );
1639 });
Veronika Kocher 22.14 1640
Veronika Kocher 22.16 1641 maxHeight=
1642 Math.ceil(maxHeight);
Veronika Kocher 22.14 1643
Veronika Kocher 22.16 1644 group.cards.forEach(function(card){
1645 saveStyle(
1646 card,
1647 originalHeight,
1648 "min-height"
1649 );
Veronika Kocher 22.14 1650
Veronika Kocher 22.16 1651 card.style.setProperty(
1652 "min-height",
1653 maxHeight+"px"
Veronika Kocher 22.14 1654 );
1655
Veronika Kocher 22.16 1656 card.setAttribute(
1657 "data-sn-master-equal-height",
1658 "1"
1659 );
Veronika Kocher 22.14 1660
Veronika Kocher 22.16 1661 managedHeight.add(
1662 card
1663 );
1664 });
Veronika Kocher 22.14 1665 });
1666 }
1667
Veronika Kocher 22.16 1668 /* =======================================================
1669 DETAIL GRID EQUAL HEIGHT, DESKTOP ONLY
1670 ======================================================= */
Veronika Kocher 22.14 1671
Veronika Kocher 22.16 1672 function equaliseDetailGrids(){
Veronika Kocher 22.15 1673 if(
Veronika Kocher 22.16 1674 PAGE_KIND!=="detail"||
1675 window.innerWidth<=MOBILE_MAX
Veronika Kocher 22.15 1676 ){
Veronika Kocher 22.16 1677 return;
Veronika Kocher 22.15 1678 }
Veronika Kocher 22.14 1679
Veronika Kocher 22.16 1680 var selectors=[
1681 ".arsn-grid",
1682 ".arsn-grid-2",
1683 ".arsn-grid-3",
1684 ".dmp-grid",
1685 ".ido-grid",
1686 ".pp-grid"
1687 ];
Veronika Kocher 22.14 1688
Veronika Kocher 22.16 1689 selectors.forEach(function(selector){
1690 Array.from(
1691 root.querySelectorAll(selector)
1692 ).forEach(function(grid){
1693 var children=
1694 Array.from(
1695 grid.children||[]
1696 ).filter(visible);
Veronika Kocher 22.14 1697
Veronika Kocher 22.16 1698 if(children.length<2){
1699 return;
1700 }
Veronika Kocher 22.14 1701
Veronika Kocher 22.16 1702 var groups=[];
Veronika Kocher 22.14 1703
Veronika Kocher 22.16 1704 children.forEach(function(child){
1705 var top=
1706 child
1707 .getBoundingClientRect()
1708 .top;
Veronika Kocher 22.14 1709
Veronika Kocher 22.16 1710 var group=null;
Veronika Kocher 22.14 1711
Veronika Kocher 22.16 1712 for(var i=0;i<groups.length;i++){
1713 if(
1714 Math.abs(
1715 groups[i].top-top
1716 )<=ROW_TOLERANCE
1717 ){
1718 group=groups[i];
1719 break;
1720 }
1721 }
Veronika Kocher 22.14 1722
Veronika Kocher 22.16 1723 if(!group){
1724 group={
1725 top:top,
1726 items:[]
1727 };
1728 groups.push(group);
1729 }
Veronika Kocher 22.14 1730
Veronika Kocher 22.16 1731 group.items.push(child);
1732 });
Veronika Kocher 22.14 1733
Veronika Kocher 22.16 1734 groups.forEach(function(group){
1735 if(group.items.length<2){
1736 return;
1737 }
Veronika Kocher 22.13 1738
Veronika Kocher 22.16 1739 var maxHeight=0;
Veronika Kocher 22.15 1740
Veronika Kocher 22.16 1741 group.items.forEach(function(item){
1742 maxHeight=
1743 Math.max(
1744 maxHeight,
1745 item
1746 .getBoundingClientRect()
1747 .height
1748 );
1749 });
Veronika Kocher 22.15 1750
Veronika Kocher 22.16 1751 maxHeight=
1752 Math.ceil(maxHeight);
Veronika Kocher 22.13 1753
Veronika Kocher 22.16 1754 group.items.forEach(function(item){
1755 saveStyle(
1756 item,
1757 originalHeight,
1758 "min-height"
1759 );
Veronika Kocher 22.13 1760
Veronika Kocher 22.16 1761 item.style.setProperty(
1762 "min-height",
1763 maxHeight+"px"
1764 );
Veronika Kocher 22.14 1765
Veronika Kocher 22.16 1766 item.setAttribute(
1767 "data-sn-master-equal-height",
1768 "1"
1769 );
Veronika Kocher 22.13 1770
Veronika Kocher 22.16 1771 managedHeight.add(item);
1772 });
Veronika Kocher 22.13 1773 });
Veronika Kocher 22.16 1774 });
1775 });
1776 }
Veronika Kocher 22.13 1777
Veronika Kocher 22.16 1778 /* =======================================================
1779 RUN / RESPONSIVE SCHEDULING
1780 ======================================================= */
Veronika Kocher 22.13 1781
Veronika Kocher 22.16 1782 function run(){
1783 if(running)return;
Veronika Kocher 22.13 1784
Veronika Kocher 22.16 1785 running=true;
Veronika Kocher 22.15 1786
Veronika Kocher 22.16 1787 try{
1788 resetRuntime();
1789 applyPlaceholderBadge();
1790 propagateDetailAccents();
Veronika Kocher 22.15 1791
Veronika Kocher 22.16 1792 var headers=
1793 applyOverviewPalette();
Veronika Kocher 22.15 1794
Veronika Kocher 22.17 1795 makeThreeLineAreaLabels();
1796 makeFilledRedOrangeCTAsBorderless();
1797
Veronika Kocher 22.16 1798 if(
1799 window.innerWidth>
1800 MOBILE_MAX
1801 ){
1802 alignOverviewCards(
1803 headers
1804 );
Veronika Kocher 22.13 1805
Veronika Kocher 22.16 1806 equaliseDetailGrids();
1807 }
Veronika Kocher 22.15 1808 }finally{
Veronika Kocher 22.16 1809 running=false;
Veronika Kocher 22.15 1810 }
Veronika Kocher 22.13 1811 }
1812
Veronika Kocher 22.16 1813 function onResize(){
Veronika Kocher 22.15 1814 if(resizeTimer){
1815 clearTimeout(
1816 resizeTimer
1817 );
1818 }
Veronika Kocher 22.14 1819
Veronika Kocher 22.15 1820 resizeTimer=
1821 setTimeout(
1822 function(){
1823 resizeTimer=0;
Veronika Kocher 22.16 1824 run();
Veronika Kocher 22.15 1825 },
1826 RESIZE_DEBOUNCE
1827 );
Veronika Kocher 22.13 1828 }
1829
Veronika Kocher 22.16 1830 async function waitForReady(){
1831 if(
1832 document.readyState!=="complete"
1833 ){
1834 await new Promise(function(resolve){
1835 window.addEventListener(
1836 "load",
1837 resolve,
1838 {once:true}
1839 );
1840 });
1841 }
1842
1843 if(
1844 document.fonts&&
1845 document.fonts.ready
1846 ){
1847 try{
1848 await document.fonts.ready;
1849 }catch(error){}
1850 }
1851
Veronika Kocher 22.15 1852 var images=
1853 Array.from(
1854 root.querySelectorAll("img")
1855 );
Veronika Kocher 22.13 1856
Veronika Kocher 22.16 1857 await Promise.all(
Veronika Kocher 22.15 1858 images.map(function(img){
1859 if(img.complete){
1860 return Promise.resolve();
1861 }
Veronika Kocher 22.13 1862
Veronika Kocher 22.15 1863 return new Promise(function(resolve){
1864 var done=function(){
1865 resolve();
1866 };
1867
1868 img.addEventListener(
1869 "load",
1870 done,
1871 {once:true}
1872 );
1873
1874 img.addEventListener(
1875 "error",
1876 done,
1877 {once:true}
1878 );
1879 });
1880 })
1881 );
1882
Veronika Kocher 22.16 1883 run();
Veronika Kocher 22.13 1884 }
1885
Veronika Kocher 22.16 1886 window.addEventListener(
Veronika Kocher 22.15 1887 "resize",
Veronika Kocher 22.16 1888 onResize,
Veronika Kocher 22.15 1889 {passive:true}
1890 );
1891
Veronika Kocher 22.16 1892 waitForReady();
Veronika Kocher 22.13 1893 })();
1894 </script>
Veronika Kocher 22.15 1895
Veronika Kocher 22.16 1896 <!-- SN_SERVICE_NAVIGATOR_MASTER_STYLE_END -->
1897 {{/html}}
1898