-
Notifications
You must be signed in to change notification settings - Fork 0
/
404.html
520 lines (414 loc) Β· 21.2 KB
/
404.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
<!DOCTYPE html><html lang="en-gb"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Error 404 - UUoocl πͺ΅</title><meta name="robots" content="noindex, follow"><meta name="generator" content="Publii Open-Source CMS for Static Site"><script type="text/javascript" async src="https://www.googletagmanager.com/gtag/js?id="></script><script type="text/javascript">window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', '' );</script><link rel="alternate" type="application/atom+xml" href="https://UUoocl.github.io/feed.xml"><link rel="alternate" type="application/json" href="https://UUoocl.github.io/feed.json"><meta property="og:title" content="UUoocl πͺ΅"><meta property="og:site_name" content="UUoocl πͺ΅"><meta property="og:description" content=""><meta property="og:url" content="https://UUoocl.github.io/"><meta property="og:type" content="website"><link rel="stylesheet" href="https://UUoocl.github.io/assets/css/style.css?v=b9a8c1aef219bfea88376c3a9d73f38c"><script type="application/ld+json">{"@context":"http://schema.org","@type":"Organization","name":"UUoocl πͺ΅","url":"https://UUoocl.github.io/"}</script></head><body><div class="site-container"><header class="top" id="js-header"><a class="logo" href="https://UUoocl.github.io/">UUoocl πͺ΅</a></header><main class="page page--error"><article class="post"><div class="hero"><header class="hero__content"><div class="wrapper"><h1>404</h1><p>Page not found</p></div></header></div><div class="wrapper post__entry"><p>The page you were looking for appears to have been moved, deleted or does not exist. You could go back to where you were or head straight to our home page.</p><p><svg width="1.041em" height="0.416em" aria-hidden="true"><use xlink:href="https://UUoocl.github.io/assets/svg/svg-map.svg#arrow-prev"/></svg> <a href="https://UUoocl.github.io/" class="readmore">Go home</a></p></div></article></main><footer class="footer"><div class="footer__copyright"><p>Powered by Publii</p></div><button onclick="backToTopFunction()" id="backToTop" class="footer__bttop" aria-label="Back to top" title="Back to top"><svg><use xlink:href="https://UUoocl.github.io/assets/svg/svg-map.svg#toparrow"/></svg></button></footer></div><script defer="defer" src="https://UUoocl.github.io/assets/js/scripts.min.js?v=f47c11534595205f20935f0db2a62a85"></script><script>window.publiiThemeMenuConfig={mobileMenuMode:'sidebar',animationSpeed:300,submenuWidth: 'auto',doubleClickTime:500,mobileMenuExpandableSubmenus:true,relatedContainerForOverlayMenuSelector:'.top'};</script><script>var images = document.querySelectorAll('img[loading]');
for (var i = 0; i < images.length; i++) {
if (images[i].complete) {
images[i].classList.add('is-loaded');
} else {
images[i].addEventListener('load', function () {
this.classList.add('is-loaded');
}, false);
}
}</script><div class="pcb" data-behaviour="link" data-behaviour-link="#cookie-settings" data-revision="1" data-config-ttl="90" data-debug-mode="false"><div role="dialog" aria-modal="true" aria-hidden="true" aria-labelledby="pcb-title" aria-describedby="pcb-txt" class="pcb__banner"><div class="pcb__inner"><div id="pcb-title" role="heading" class="pcb__title">This website uses cookies</div><div id="pcb-txt" class="pcb__txt">Select which cookies to opt-in to via the checkboxes below; our website uses cookies to examine site traffic and user activity while on our site, for marketing, and to provide social media functionality.</div><div class="pcb__buttons"><button type="button" class="pcb__btn pcb__btn--link pcb__btn--configure" aria-haspopup="dialog">Manage preferences</button> <button type="button" class="pcb__btn pcb__btn--solid pcb__btn--accept">Accept all</button></div></div></div><div class="pcb__popup" role="dialog" aria-modal="true" aria-hidden="true" aria-labelledby="pcb-popup-title"><div class="pcb__popup__wrapper"><div class="pcb__inner pcb__popup__inner"><div class="pcb__popup__heading"><div id="pcb-popup-title" role="heading" class="pcb__title">Cookie settings</div><button class="pcb__popup__close" aria-label="Close"></button></div><div class="pcb__popup__content"><div class="pcb__txt pcb__popup__txt">We use cookies to enhance your browsing experience, serve personalized ads or content, and analyze our traffic. By clicking "Accept All", you consent to our use of cookies.</div><ul class="pcb__groups"><li class="pcb__group"><details><summary class="pcb__group__title no-desc">Required</summary></details><div class="pcb__popup__switch"><input type="checkbox" data-group-name="-1" id="-1-cookies"> <label for="-1-cookies">Required</label></div></li></ul></div><div class="pcb__buttons pcb__popup__buttons"><button type="button" class="pcb__btn pcb__btn--solid pcb__btn--accept">Accept all</button> <button type="button" class="pcb__btn pcb__btn--reject">Reject all</button> <button type="button" class="pcb__btn pcb__btn--save">Save settings</button></div></div></div></div><div class="pcb__overlay" aria-hidden="true"></div></div><script>(function(win) {
if (!document.querySelector('.pcb')) {
return;
}
var cbConfig = {
behaviour: document.querySelector('.pcb').getAttribute('data-behaviour'),
behaviourLink: document.querySelector('.pcb').getAttribute('data-behaviour-link'),
revision: document.querySelector('.pcb').getAttribute('data-revision'),
configTTL: parseInt(document.querySelector('.pcb').getAttribute('data-config-ttl'), 10),
debugMode: document.querySelector('.pcb').getAttribute('data-debug-mode') === 'true',
initialState: null,
previouslyAccepted: []
};
var cbUI = {
wrapper: document.querySelector('.pcb'),
banner: {
element: null,
btnAccept: null,
btnReject: null,
btnConfigure: null
},
popup: {
element: null,
btnClose: null,
btnSave: null,
btnAccept: null,
btnReject: null,
checkboxes: null,
},
overlay: null,
badge: null,
blockedScripts: document.querySelectorAll('script[type^="gdpr-blocker/"]'),
triggerLinks: cbConfig.behaviourLink ? document.querySelectorAll('a[href*="' + cbConfig.behaviourLink + '"]') : null
};
function initUI () {
// setup banner elements
cbUI.banner.element = cbUI.wrapper.querySelector('.pcb__banner');
cbUI.banner.btnAccept = cbUI.banner.element.querySelector('.pcb__btn--accept');
cbUI.banner.btnReject = cbUI.banner.element.querySelector('.pcb__btn--reject');
cbUI.banner.btnConfigure = cbUI.banner.element.querySelector('.pcb__btn--configure');
// setup popup elements
if (cbUI.wrapper.querySelector('.pcb__popup')) {
cbUI.popup.element = cbUI.wrapper.querySelector('.pcb__popup');
cbUI.popup.btnClose = cbUI.wrapper.querySelector('.pcb__popup__close');
cbUI.popup.btnSave = cbUI.popup.element.querySelector('.pcb__btn--save');
cbUI.popup.btnAccept = cbUI.popup.element.querySelector('.pcb__btn--accept');
cbUI.popup.btnReject = cbUI.popup.element.querySelector('.pcb__btn--reject');
cbUI.popup.checkboxes = cbUI.popup.element.querySelector('input[type="checkbox"]');
// setup overlay
cbUI.overlay = cbUI.wrapper.querySelector('.pcb__overlay');
}
cbUI.badge = cbUI.wrapper.querySelector('.pcb__badge');
if (cbConfig.behaviour.indexOf('link') > -1) {
for (var i = 0; i < cbUI.triggerLinks.length; i++) {
cbUI.triggerLinks[i].addEventListener('click', function(e) {
e.preventDefault();
showBannerOrPopup();
});
}
}
}
function initState () {
var lsKeyName = getConfigName();
var currentConfig = localStorage.getItem(lsKeyName);
var configIsFresh = checkIfConfigIsFresh();
if (!configIsFresh || currentConfig === null) {
if (cbConfig.debugMode) {
console.log('πͺ Config not found, or configuration expired');
}
showBanner();
} else if (typeof currentConfig === 'string') {
if (cbConfig.debugMode) {
console.log('πͺ Config founded');
}
showBadge();
if (cbUI.popup.element) {
var allowedGroups = currentConfig.split(',');
var checkedCheckboxes = cbUI.popup.element.querySelectorAll('input[type="checkbox"]:checked');
for (var j = 0; j < checkedCheckboxes.length; j++) {
var name = checkedCheckboxes[j].getAttribute('data-group-name');
if (name && name !== '-' && allowedGroups.indexOf(name) === -1) {
checkedCheckboxes[j].checked = false;
}
}
for (var i = 0; i < allowedGroups.length; i++) {
var checkbox = cbUI.popup.element.querySelector('input[type="checkbox"][data-group-name="' + allowedGroups[i] + '"]');
if (checkbox) {
checkbox.checked = true;
}
allowCookieGroup(allowedGroups[i]);
}
}
}
setTimeout(function () {
cbConfig.initialState = getInitialStateOfConsents();
}, 0);
}
function checkIfConfigIsFresh () {
var lastConfigSave = localStorage.getItem('publii-gdpr-cookies-config-save-date');
if (lastConfigSave === null) {
return false;
}
lastConfigSave = parseInt(lastConfigSave, 10);
if (lastConfigSave === 0) {
return true;
}
if (+new Date() - lastConfigSave < cbConfig.configTTL * 24 * 60 * 60 * 1000) {
return true;
}
return false;
}
function initBannerEvents () {
cbUI.banner.btnAccept.addEventListener('click', function (e) {
e.preventDefault();
acceptAllCookies('banner');
showBadge();
}, false);
if (cbUI.banner.btnReject) {
cbUI.banner.btnReject.addEventListener('click', function (e) {
e.preventDefault();
rejectAllCookies();
showBadge();
}, false);
}
if (cbUI.banner.btnConfigure) {
cbUI.banner.btnConfigure.addEventListener('click', function (e) {
e.preventDefault();
hideBanner();
showAdvancedPopup();
showBadge();
}, false);
}
}
function initPopupEvents () {
if (!cbUI.popup.element) {
return;
}
cbUI.overlay.addEventListener('click', function (e) {
hideAdvancedPopup();
}, false);
cbUI.popup.element.addEventListener('click', function (e) {
e.stopPropagation();
}, false);
cbUI.popup.btnAccept.addEventListener('click', function (e) {
e.preventDefault();
acceptAllCookies('popup');
}, false);
cbUI.popup.btnReject.addEventListener('click', function (e) {
e.preventDefault();
rejectAllCookies();
}, false);
cbUI.popup.btnSave.addEventListener('click', function (e) {
e.preventDefault();
saveConfiguration();
}, false);
cbUI.popup.btnClose.addEventListener('click', function (e) {
e.preventDefault();
hideAdvancedPopup();
}, false);
}
function initBadgeEvents () {
if (!cbUI.badge) {
return;
}
cbUI.badge.addEventListener('click', function (e) {
showBannerOrPopup();
}, false);
}
initUI();
initState();
initBannerEvents();
initPopupEvents();
initBadgeEvents();
/**
* API
*/
function addScript (src, inline) {
var newScript = document.createElement('script');
if (src) {
newScript.setAttribute('src', src);
}
if (inline) {
newScript.text = inline;
}
document.body.appendChild(newScript);
}
function allowCookieGroup (allowedGroup) {
var scripts = document.querySelectorAll('script[type="gdpr-blocker/' + allowedGroup + '"]');
cbConfig.previouslyAccepted.push(allowedGroup);
for (var j = 0; j < scripts.length; j++) {
addScript(scripts[j].src, scripts[j].text);
}
var groupEvent = new Event('publii-cookie-banner-unblock-' + allowedGroup);
document.body.dispatchEvent(groupEvent);
unlockEmbeds(allowedGroup);
if (cbConfig.debugMode) {
console.log('πͺ Allowed group: ' + allowedGroup);
}
}
function showBannerOrPopup () {
if (cbUI.popup.element) {
showAdvancedPopup();
} else {
showBanner();
}
}
function showAdvancedPopup () {
cbUI.popup.element.classList.add('is-visible');
cbUI.overlay.classList.add('is-visible');
cbUI.popup.element.setAttribute('aria-hidden', 'false');
cbUI.overlay.setAttribute('aria-hidden', 'false');
}
function hideAdvancedPopup () {
cbUI.popup.element.classList.remove('is-visible');
cbUI.overlay.classList.remove('is-visible');
cbUI.popup.element.setAttribute('aria-hidden', 'true');
cbUI.overlay.setAttribute('aria-hidden', 'true');
}
function showBanner () {
cbUI.banner.element.classList.add('is-visible');
cbUI.banner.element.setAttribute('aria-hidden', 'false');
}
function hideBanner () {
cbUI.banner.element.classList.remove('is-visible');
cbUI.banner.element.setAttribute('aria-hidden', 'true');
}
function showBadge () {
if (!cbUI.badge) {
return;
}
cbUI.badge.classList.add('is-visible');
cbUI.badge.setAttribute('aria-hidden', 'false');
}
function getConfigName () {
var lsKeyName = 'publii-gdpr-allowed-cookies';
if (cbConfig.revision) {
lsKeyName = lsKeyName + '-v' + parseInt(cbConfig.revision, 10);
}
return lsKeyName;
}
function storeConfiguration (allowedGroups) {
var lsKeyName = getConfigName();
var dataToStore = allowedGroups.join(',');
localStorage.setItem(lsKeyName, dataToStore);
if (cbConfig.configTTL === 0) {
localStorage.setItem('publii-gdpr-cookies-config-save-date', 0);
if (cbConfig.debugMode) {
console.log('πͺ Store never expiring configuration');
}
} else {
localStorage.setItem('publii-gdpr-cookies-config-save-date', +new Date());
}
}
function getInitialStateOfConsents () {
if (!cbUI.popup.element) {
return [];
}
var checkedGroups = cbUI.popup.element.querySelectorAll('input[type="checkbox"]:checked');
var groups = [];
for (var i = 0; i < checkedGroups.length; i++) {
var allowedGroup = checkedGroups[i].getAttribute('data-group-name');
if (allowedGroup !== '') {
groups.push(allowedGroup);
}
}
if (cbConfig.debugMode) {
console.log('πͺ Initial state: ' + groups.join(', '));
}
return groups;
}
function getCurrentStateOfConsents () {
if (!cbUI.popup.element) {
return [];
}
var checkedGroups = cbUI.popup.element.querySelectorAll('input[type="checkbox"]:checked');
var groups = [];
for (var i = 0; i < checkedGroups.length; i++) {
var allowedGroup = checkedGroups[i].getAttribute('data-group-name');
if (allowedGroup !== '') {
groups.push(allowedGroup);
}
}
if (cbConfig.debugMode) {
console.log('πͺ State to save: ' + groups.join(', '));
}
return groups;
}
function getAllGroups () {
if (!cbUI.popup.element) {
return [];
}
var checkedGroups = cbUI.popup.element.querySelectorAll('input[type="checkbox"]');
var groups = [];
for (var i = 0; i < checkedGroups.length; i++) {
var allowedGroup = checkedGroups[i].getAttribute('data-group-name');
if (allowedGroup !== '') {
groups.push(allowedGroup);
}
}
return groups;
}
function acceptAllCookies (source) {
var groupsToAccept = getAllGroups();
storeConfiguration(groupsToAccept);
for (var i = 0; i < groupsToAccept.length; i++) {
var group = groupsToAccept[i];
if (cbConfig.initialState.indexOf(group) > -1 || cbConfig.previouslyAccepted.indexOf(group) > -1) {
if (cbConfig.debugMode) {
console.log('πͺ Skip previously activated group: ' + group);
}
continue;
}
allowCookieGroup(group);
}
if (cbUI.popup.element) {
var checkboxesToCheck = cbUI.popup.element.querySelectorAll('input[type="checkbox"]');
for (var j = 0; j < checkboxesToCheck.length; j++) {
checkboxesToCheck[j].checked = true;
}
}
if (cbConfig.debugMode) {
console.log('πͺ Accept all cookies: ', groupsToAccept.join(', '));
}
if (source === 'popup') {
hideAdvancedPopup();
} else if (source === 'banner') {
hideBanner();
}
}
function rejectAllCookies () {
if (cbConfig.debugMode) {
console.log('πͺ Reject all cookies');
}
storeConfiguration([]);
setTimeout(function () {
window.location.reload();
}, 100);
}
function saveConfiguration () {
var groupsToAccept = getCurrentStateOfConsents();
storeConfiguration(groupsToAccept);
if (cbConfig.debugMode) {
console.log('πͺ Save new config: ', groupsToAccept.join(', '));
}
if (reloadIsNeeded(groupsToAccept)) {
setTimeout(function () {
window.location.reload();
}, 100);
return;
}
for (var i = 0; i < groupsToAccept.length; i++) {
var group = groupsToAccept[i];
if (cbConfig.initialState.indexOf(group) > -1 || cbConfig.previouslyAccepted.indexOf(group) > -1) {
if (cbConfig.debugMode) {
console.log('πͺ Skip previously activated group: ' + group);
}
continue;
}
allowCookieGroup(group);
}
hideAdvancedPopup();
}
function reloadIsNeeded (groupsToAccept) {
// check if user rejected consent for initial groups
var initialGroups = cbConfig.initialState;
var previouslyAcceptedGroups = cbConfig.previouslyAccepted;
var groupsToCheck = initialGroups.concat(previouslyAcceptedGroups);
for (var i = 0; i < groupsToCheck.length; i++) {
var groupToCheck = groupsToCheck[i];
if (groupsToAccept.indexOf(groupToCheck) === -1) {
if (cbConfig.debugMode) {
console.log('πͺ Reload is needed due lack of: ', groupToCheck);
}
return true;
}
}
return false;
}
function unlockEmbeds (cookieGroup) {
var iframesToUnlock = document.querySelectorAll('.pec-wrapper[data-consent-group-id="' + cookieGroup + '"]');
for (var i = 0; i < iframesToUnlock.length; i++) {
var iframeWrapper = iframesToUnlock[i];
iframeWrapper.querySelector('.pec-overlay').classList.remove('is-active');
iframeWrapper.querySelector('.pec-overlay').setAttribute('aria-hidden', 'true');
var iframe = iframeWrapper.querySelector('iframe');
iframe.setAttribute('src', iframe.getAttribute('data-consent-src'));
}
}
win.publiiEmbedConsentGiven = function (cookieGroup) {
// it will unlock embeds
allowCookieGroup(cookieGroup);
var checkbox = cbUI.popup.element.querySelector('input[type="checkbox"][data-group-name="' + cookieGroup + '"]');
if (checkbox) {
checkbox.checked = true;
}
var groupsToAccept = getCurrentStateOfConsents();
storeConfiguration(groupsToAccept);
if (cbConfig.debugMode) {
console.log('πͺ Save new config: ', groupsToAccept.join(', '));
}
}
})(window);</script></body></html>