mirror of
https://github.com/casjaysdevdocker/bind
synced 2025-09-17 21:57:46 -04:00
🦈🏠🐜❗ Initial Commit ❗🐜🦈🏠
This commit is contained in:
71
rootfs/usr/share/httpd/default/404.html
Normal file
71
rootfs/usr/share/httpd/default/404.html
Normal file
@@ -0,0 +1,71 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="generator" content="CasjaysDev" />
|
||||
<meta name="robots" content="index, follow" />
|
||||
<meta name="description" content="" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1.0, maximum-scale=1.0"
|
||||
/>
|
||||
|
||||
<meta property="og:title" content="" />
|
||||
<meta property="og:type" content="" />
|
||||
<meta property="og:url" content="" />
|
||||
<meta property="og:image" content="" />
|
||||
|
||||
<meta name="theme-color" content="#fafafa" />
|
||||
<link rel="manifest" href="./site.webmanifest" />
|
||||
|
||||
<link rel="icon" type="image/icon png" href="./images/favicon.png" />
|
||||
<link rel="apple-touch-icon" href="./images/icon.png" />
|
||||
|
||||
<link rel="stylesheet" href="./css/errorpages.css" />
|
||||
<link rel="stylesheet" href="./css/bootstrap.css" />
|
||||
<link rel="stylesheet" href="./css/index.css" />
|
||||
|
||||
<script src="./js/errorpages/isup.js" defer></script>
|
||||
<script src="./js/errorpages/homepage.js" defer></script>
|
||||
<script src="./js/errorpages/loaddomain.js" defer></script>
|
||||
<script src="./js/jquery/default.js"></script>
|
||||
<script src="./js/passprotect.min.js" defer></script>
|
||||
<script src="./js/bootstrap.min.js" defer></script>
|
||||
<script src="./js/app.js" defer></script>
|
||||
|
||||
<title>404 Not Found</title>
|
||||
</head>
|
||||
|
||||
<body onload="javascript:loadDomain();">
|
||||
<!-- Error Page Content -->
|
||||
<div class="container vh-100 h1">
|
||||
<div class="jumbotron">
|
||||
<i class="fa fa-frown-o"></i>
|
||||
<a
|
||||
href="https://www.google.com/search?q=server+error+404"
|
||||
target="_blank"
|
||||
>404 Not Found</a
|
||||
>
|
||||
<p class="lead fs-3">
|
||||
We apologize but we can't seem to be able to find what you're looking
|
||||
for!
|
||||
</p>
|
||||
|
||||
<img
|
||||
alt="error"
|
||||
src="./images/404.gif"
|
||||
height="800"
|
||||
width="800"
|
||||
/><br />
|
||||
</div>
|
||||
|
||||
<a
|
||||
onclick="javascript:homepage();"
|
||||
class="btn btn-secondary btn-outline-danger btn-lg btn-block"
|
||||
><span id="display-domain"></span
|
||||
></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
10522
rootfs/usr/share/httpd/default/css/bootstrap.css
vendored
Normal file
10522
rootfs/usr/share/httpd/default/css/bootstrap.css
vendored
Normal file
File diff suppressed because it is too large
Load Diff
275
rootfs/usr/share/httpd/default/css/cookieconsent.css
Normal file
275
rootfs/usr/share/httpd/default/css/cookieconsent.css
Normal file
@@ -0,0 +1,275 @@
|
||||
.cc-window {
|
||||
opacity: 1;
|
||||
transition: opacity 1s ease;
|
||||
}
|
||||
.cc-window.cc-invisible {
|
||||
opacity: 0;
|
||||
}
|
||||
.cc-animate.cc-revoke {
|
||||
transition: transform 1s ease;
|
||||
}
|
||||
.cc-animate.cc-revoke.cc-top {
|
||||
transform: translateY(-2em);
|
||||
}
|
||||
.cc-animate.cc-revoke.cc-bottom {
|
||||
transform: translateY(2em);
|
||||
}
|
||||
.cc-animate.cc-revoke.cc-active.cc-bottom,
|
||||
.cc-animate.cc-revoke.cc-active.cc-top,
|
||||
.cc-revoke:hover {
|
||||
transform: translateY(0);
|
||||
}
|
||||
.cc-grower {
|
||||
max-height: 0;
|
||||
overflow: hidden;
|
||||
transition: max-height 1s;
|
||||
}
|
||||
.cc-link,
|
||||
.cc-revoke:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
.cc-revoke,
|
||||
.cc-window {
|
||||
position: fixed;
|
||||
overflow: hidden;
|
||||
box-sizing: border-box;
|
||||
font-family: Helvetica, Calibri, Arial, sans-serif;
|
||||
font-size: 16px;
|
||||
line-height: 1.5em;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-ms-flex-wrap: nowrap;
|
||||
flex-wrap: nowrap;
|
||||
z-index: 9999;
|
||||
}
|
||||
.cc-window.cc-static {
|
||||
position: static;
|
||||
}
|
||||
.cc-window.cc-floating {
|
||||
padding: 2em;
|
||||
max-width: 24em;
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
}
|
||||
.cc-window.cc-banner {
|
||||
padding: 1em 1.8em;
|
||||
width: 100%;
|
||||
-ms-flex-direction: row;
|
||||
flex-direction: row;
|
||||
}
|
||||
.cc-revoke {
|
||||
padding: 0.5em;
|
||||
}
|
||||
.cc-header {
|
||||
font-size: 18px;
|
||||
font-weight: 700;
|
||||
}
|
||||
.cc-btn,
|
||||
.cc-close,
|
||||
.cc-link,
|
||||
.cc-revoke {
|
||||
cursor: pointer;
|
||||
}
|
||||
.cc-link {
|
||||
opacity: 0.8;
|
||||
display: inline-block;
|
||||
padding: 0.2em;
|
||||
}
|
||||
.cc-link:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
.cc-link:active,
|
||||
.cc-link:visited {
|
||||
color: initial;
|
||||
}
|
||||
.cc-btn {
|
||||
display: block;
|
||||
padding: 0.4em 0.8em;
|
||||
font-size: 0.9em;
|
||||
font-weight: 700;
|
||||
border-width: 2px;
|
||||
border-style: solid;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.cc-banner .cc-btn:last-child {
|
||||
min-width: 140px;
|
||||
}
|
||||
.cc-highlight .cc-btn:first-child {
|
||||
background-color: transparent;
|
||||
border-color: transparent;
|
||||
}
|
||||
.cc-highlight .cc-btn:first-child:focus,
|
||||
.cc-highlight .cc-btn:first-child:hover {
|
||||
background-color: transparent;
|
||||
text-decoration: underline;
|
||||
}
|
||||
.cc-close {
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0.5em;
|
||||
right: 0.5em;
|
||||
font-size: 1.6em;
|
||||
opacity: 0.9;
|
||||
line-height: 0.75;
|
||||
}
|
||||
.cc-close:focus,
|
||||
.cc-close:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
.cc-revoke.cc-top {
|
||||
top: 0;
|
||||
left: 3em;
|
||||
border-bottom-left-radius: 0.5em;
|
||||
border-bottom-right-radius: 0.5em;
|
||||
}
|
||||
.cc-revoke.cc-bottom {
|
||||
bottom: 0;
|
||||
left: 3em;
|
||||
border-top-left-radius: 0.5em;
|
||||
border-top-right-radius: 0.5em;
|
||||
}
|
||||
.cc-revoke.cc-left {
|
||||
left: 3em;
|
||||
right: unset;
|
||||
}
|
||||
.cc-revoke.cc-right {
|
||||
right: 3em;
|
||||
left: unset;
|
||||
}
|
||||
.cc-top {
|
||||
top: 1em;
|
||||
}
|
||||
.cc-left {
|
||||
left: 1em;
|
||||
}
|
||||
.cc-right {
|
||||
right: 1em;
|
||||
}
|
||||
.cc-bottom {
|
||||
bottom: 1em;
|
||||
}
|
||||
.cc-floating > .cc-link {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
.cc-floating .cc-message {
|
||||
display: block;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
.cc-window.cc-floating .cc-compliance {
|
||||
-ms-flex: 1;
|
||||
flex: 1;
|
||||
}
|
||||
.cc-window.cc-banner {
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
}
|
||||
.cc-banner.cc-top {
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 0;
|
||||
}
|
||||
.cc-banner.cc-bottom {
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
.cc-banner .cc-message {
|
||||
-ms-flex: 1;
|
||||
flex: 1;
|
||||
}
|
||||
.cc-compliance {
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
-ms-flex-line-pack: justify;
|
||||
align-content: space-between;
|
||||
}
|
||||
.cc-compliance > .cc-btn {
|
||||
-ms-flex: 1;
|
||||
flex: 1;
|
||||
}
|
||||
.cc-btn + .cc-btn {
|
||||
margin-left: 0.5em;
|
||||
}
|
||||
@media print {
|
||||
.cc-revoke,
|
||||
.cc-window {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 900px) {
|
||||
.cc-btn {
|
||||
white-space: normal;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 414px) and (orientation: portrait),
|
||||
screen and (max-width: 736px) and (orientation: landscape) {
|
||||
.cc-window.cc-top {
|
||||
top: 0;
|
||||
}
|
||||
.cc-window.cc-bottom {
|
||||
bottom: 0;
|
||||
}
|
||||
.cc-window.cc-banner,
|
||||
.cc-window.cc-left,
|
||||
.cc-window.cc-right {
|
||||
left: 0;
|
||||
right: 0;
|
||||
}
|
||||
.cc-window.cc-banner {
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
}
|
||||
.cc-window.cc-banner .cc-compliance {
|
||||
-ms-flex: 1;
|
||||
flex: 1;
|
||||
}
|
||||
.cc-window.cc-floating {
|
||||
max-width: none;
|
||||
}
|
||||
.cc-window .cc-message {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
.cc-window.cc-banner {
|
||||
-ms-flex-align: unset;
|
||||
align-items: unset;
|
||||
}
|
||||
}
|
||||
.cc-floating.cc-theme-classic {
|
||||
padding: 1.2em;
|
||||
border-radius: 5px;
|
||||
}
|
||||
.cc-floating.cc-type-info.cc-theme-classic .cc-compliance {
|
||||
text-align: center;
|
||||
display: inline;
|
||||
-ms-flex: none;
|
||||
flex: none;
|
||||
}
|
||||
.cc-theme-classic .cc-btn {
|
||||
border-radius: 5px;
|
||||
}
|
||||
.cc-theme-classic .cc-btn:last-child {
|
||||
min-width: 140px;
|
||||
}
|
||||
.cc-floating.cc-type-info.cc-theme-classic .cc-btn {
|
||||
display: inline-block;
|
||||
}
|
||||
.cc-theme-edgeless.cc-window {
|
||||
padding: 0;
|
||||
}
|
||||
.cc-floating.cc-theme-edgeless .cc-message {
|
||||
margin: 2em 2em 1.5em;
|
||||
}
|
||||
.cc-banner.cc-theme-edgeless .cc-btn {
|
||||
margin: 0;
|
||||
padding: 0.8em 1.8em;
|
||||
height: 100%;
|
||||
}
|
||||
.cc-banner.cc-theme-edgeless .cc-message {
|
||||
margin-left: 1em;
|
||||
}
|
||||
.cc-floating.cc-theme-edgeless .cc-btn + .cc-btn {
|
||||
margin-left: 0;
|
||||
}
|
337
rootfs/usr/share/httpd/default/css/errorpages.css
Normal file
337
rootfs/usr/share/httpd/default/css/errorpages.css
Normal file
@@ -0,0 +1,337 @@
|
||||
@import url('https://fonts.googleapis.com/css?family=Fira+Sans&display=swap');
|
||||
|
||||
body {
|
||||
padding: 50px;
|
||||
font: 14px/1.5 Lato, 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
color: #777;
|
||||
font-weight: 300;
|
||||
padding: 1.5em 0;
|
||||
}
|
||||
|
||||
/* Layout */
|
||||
.jumbotron {
|
||||
line-height: 2.1428571435;
|
||||
color: inherit;
|
||||
padding: 10px 0px;
|
||||
}
|
||||
|
||||
/* Main marketing message and sign up button */
|
||||
.jumbotron {
|
||||
text-align: center;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.jumbotron .btn {
|
||||
font-size: 21px;
|
||||
padding: 1.5em 2em;
|
||||
}
|
||||
|
||||
/* Everything but the jumbotron gets side spacing for mobile-first views */
|
||||
.masthead,
|
||||
.body-content {
|
||||
padding: 0 15px;
|
||||
}
|
||||
|
||||
/* Colors */
|
||||
.green {
|
||||
color: green;
|
||||
}
|
||||
|
||||
.orange {
|
||||
color: orange;
|
||||
}
|
||||
|
||||
.red {
|
||||
color: red;
|
||||
}
|
||||
|
||||
.blue {
|
||||
color: blue;
|
||||
}
|
||||
|
||||
.yellow {
|
||||
color: yellow;
|
||||
}
|
||||
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
color: #222;
|
||||
margin: 0 0 40px;
|
||||
}
|
||||
|
||||
p,
|
||||
ul,
|
||||
ol,
|
||||
table,
|
||||
pre,
|
||||
dl {
|
||||
margin: 0 0 20px;
|
||||
}
|
||||
|
||||
h2,
|
||||
h3 {
|
||||
line-height: 1.1;
|
||||
}
|
||||
|
||||
h1 {
|
||||
line-height: 1.1;
|
||||
text-align: center;
|
||||
font: Lato;
|
||||
font-size: 80px;
|
||||
color: #222;
|
||||
margin: 0 0 40px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
color: #393939;
|
||||
}
|
||||
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
color: #494949;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #39c;
|
||||
font-weight: 400;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a small {
|
||||
font-size: 11px;
|
||||
color: #777;
|
||||
margin-top: -0.6em;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.wrapper {
|
||||
width: 860px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
border-left: 1px solid #e5e5e5;
|
||||
margin: 0;
|
||||
padding: 0 0 0 20px;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.btn-block {
|
||||
width: 40%;
|
||||
text-align: center;
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
code,
|
||||
pre {
|
||||
font-family: Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal;
|
||||
color: #333;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
pre {
|
||||
padding: 8px 15px;
|
||||
background: #f8f8f8;
|
||||
border-radius: 5px;
|
||||
border: 1px solid #e5e5e5;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
th,
|
||||
td {
|
||||
text-align: left;
|
||||
padding: 5px 10px;
|
||||
border-bottom: 1px solid #e5e5e5;
|
||||
}
|
||||
|
||||
dt {
|
||||
color: #444;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
th {
|
||||
color: #444;
|
||||
}
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
header {
|
||||
width: 270px;
|
||||
float: left;
|
||||
position: fixed;
|
||||
}
|
||||
|
||||
header ul {
|
||||
list-style: none;
|
||||
height: 40px;
|
||||
|
||||
padding: 0;
|
||||
|
||||
background: #eee;
|
||||
background: -moz-linear-gradient(top, #f8f8f8 0%, #dddddd 100%);
|
||||
background: -webkit-gradient(
|
||||
linear,
|
||||
left top,
|
||||
left bottom,
|
||||
color-stop(0%, #f8f8f8),
|
||||
color-stop(100%, #dddddd)
|
||||
);
|
||||
background: -webkit-linear-gradient(top, #f8f8f8 0%, #dddddd 100%);
|
||||
background: -o-linear-gradient(top, #f8f8f8 0%, #dddddd 100%);
|
||||
background: -ms-linear-gradient(top, #f8f8f8 0%, #dddddd 100%);
|
||||
background: linear-gradient(top, #f8f8f8 0%, #dddddd 100%);
|
||||
|
||||
border-radius: 5px;
|
||||
border: 1px solid #d2d2d2;
|
||||
box-shadow: inset #fff 0 1px 0, inset rgba(0, 0, 0, 0.03) 0 -1px 0;
|
||||
width: 270px;
|
||||
}
|
||||
|
||||
header li {
|
||||
width: 89px;
|
||||
float: left;
|
||||
border-right: 1px solid #d2d2d2;
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
header ul a {
|
||||
line-height: 1;
|
||||
font-size: 11px;
|
||||
color: #999;
|
||||
display: block;
|
||||
text-align: center;
|
||||
padding-top: 6px;
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
strong {
|
||||
color: #222;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
header ul li + li {
|
||||
width: 88px;
|
||||
border-left: 1px solid #fff;
|
||||
}
|
||||
|
||||
header ul li + li + li {
|
||||
border-right: none;
|
||||
width: 89px;
|
||||
}
|
||||
|
||||
header ul a strong {
|
||||
font-size: 14px;
|
||||
display: block;
|
||||
color: #222;
|
||||
}
|
||||
|
||||
section {
|
||||
width: 500px;
|
||||
float: right;
|
||||
padding-bottom: 50px;
|
||||
}
|
||||
|
||||
small {
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
hr {
|
||||
border: 0;
|
||||
background: #e5e5e5;
|
||||
height: 1px;
|
||||
margin: 0 0 20px;
|
||||
}
|
||||
|
||||
footer {
|
||||
width: 270px;
|
||||
float: left;
|
||||
position: fixed;
|
||||
bottom: 50px;
|
||||
}
|
||||
|
||||
@media print, screen and (max-width: 960px) {
|
||||
div.wrapper {
|
||||
width: auto;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
header,
|
||||
section,
|
||||
footer {
|
||||
float: none;
|
||||
position: static;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
header {
|
||||
padding-right: 320px;
|
||||
}
|
||||
|
||||
section {
|
||||
border: 1px solid #e5e5e5;
|
||||
border-width: 1px 0;
|
||||
padding: 20px 0;
|
||||
margin: 0 0 20px;
|
||||
}
|
||||
|
||||
header a small {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
header ul {
|
||||
position: absolute;
|
||||
right: 50px;
|
||||
top: 52px;
|
||||
}
|
||||
}
|
||||
|
||||
@media print, screen and (max-width: 720px) {
|
||||
body {
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
header {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
header ul,
|
||||
header p.view {
|
||||
position: static;
|
||||
}
|
||||
|
||||
pre,
|
||||
code {
|
||||
word-wrap: normal;
|
||||
}
|
||||
}
|
||||
|
||||
@media print, screen and (max-width: 480px) {
|
||||
body {
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
header ul {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media print {
|
||||
body {
|
||||
padding: 0.4in;
|
||||
font-size: 12pt;
|
||||
color: #444;
|
||||
}
|
||||
}
|
123
rootfs/usr/share/httpd/default/css/index.css
Normal file
123
rootfs/usr/share/httpd/default/css/index.css
Normal file
@@ -0,0 +1,123 @@
|
||||
@import url('https://fonts.googleapis.com/css?family=Fira+Sans&display=swap');
|
||||
|
||||
td,
|
||||
th,
|
||||
body {
|
||||
font-family: 'Fira Sans', Verdana, Helvetica, sans-serif;
|
||||
font-size: 14px;
|
||||
font-weight: normal;
|
||||
font-variant: normal;
|
||||
text-transform: none;
|
||||
text-decoration: none;
|
||||
text-align: center;
|
||||
align-items: center;
|
||||
background-color: #333;
|
||||
color: #fff;
|
||||
background-image: url('/images/bg.png');
|
||||
}
|
||||
|
||||
th {
|
||||
background-color: #333;
|
||||
color: #ffffff;
|
||||
border-top: 1px solid #678ca0;
|
||||
vertical-align: middle;
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
td {
|
||||
background-color: 333;
|
||||
border-top: 1px solid #678ca0;
|
||||
}
|
||||
|
||||
.box {
|
||||
border: 1px solid #678ca0;
|
||||
padding: 0px;
|
||||
width: 100%;
|
||||
background-color: #333;
|
||||
margin-bottom: 10px;
|
||||
width: 600px;
|
||||
}
|
||||
|
||||
h5,
|
||||
h3 {
|
||||
padding: 3px;
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
background-color: #333;
|
||||
color: white;
|
||||
font-family: Verdana, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
p {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
div {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: 10px;
|
||||
text-align: right;
|
||||
background-color: #333;
|
||||
color: #678ca0;
|
||||
}
|
||||
|
||||
.spacer {
|
||||
margin: 0px;
|
||||
width: 100%;
|
||||
background-color: #333;
|
||||
}
|
||||
|
||||
.leftspacer {
|
||||
margin: 0px;
|
||||
padding: 5px;
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
background-color: #333;
|
||||
}
|
||||
|
||||
.serviceup {
|
||||
color: green;
|
||||
}
|
||||
|
||||
.servicedown {
|
||||
color: red;
|
||||
}
|
||||
|
||||
p.main {
|
||||
margin-top: 5px;
|
||||
margin-bottom: 5px;
|
||||
text-align: center;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: #5d83a9;
|
||||
}
|
||||
|
||||
a:visited {
|
||||
color: rgb(238, 130, 202);
|
||||
}
|
||||
|
||||
a:hover {
|
||||
font-style: italic;
|
||||
color: #a296db !important;
|
||||
}
|
||||
|
||||
a:active {
|
||||
color: #c0f;
|
||||
}
|
||||
|
||||
tr:hover {
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
}
|
1
rootfs/usr/share/httpd/default/favicon.ico
Symbolic link
1
rootfs/usr/share/httpd/default/favicon.ico
Symbolic link
@@ -0,0 +1 @@
|
||||
./images/favicon.ico
|
BIN
rootfs/usr/share/httpd/default/images/403.png
Normal file
BIN
rootfs/usr/share/httpd/default/images/403.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 35 KiB |
BIN
rootfs/usr/share/httpd/default/images/404.gif
Normal file
BIN
rootfs/usr/share/httpd/default/images/404.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 93 KiB |
BIN
rootfs/usr/share/httpd/default/images/bg.png
Normal file
BIN
rootfs/usr/share/httpd/default/images/bg.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
BIN
rootfs/usr/share/httpd/default/images/favicon.ico
Normal file
BIN
rootfs/usr/share/httpd/default/images/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 766 B |
BIN
rootfs/usr/share/httpd/default/images/icon.png
Normal file
BIN
rootfs/usr/share/httpd/default/images/icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.9 KiB |
1
rootfs/usr/share/httpd/default/images/icon.svg
Normal file
1
rootfs/usr/share/httpd/default/images/icon.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 192 192"><path fill="#e08524" d="M75.3 73.4H18.4l45.3 34.3L48.3 163l46.1-32.3 48.2 34.6-16.9-58.3 44.9-33.6H115l-20.5-55-19.2 55z"/><path d="m96.7 18.8 18.2 8.2 16.5 44.3h-15.1L96.7 18.8zm-47 146 18.7 9.9 42.6-29.9-16.5-11.4-44.8 31.4zm79.1-56.8 17.4 9.4 18.6 60.1-19.7-11.3-16.3-58.2z"/><path d="m173.1 74.3 17.8 9.2-44.7 34-17.4-9.4 44.3-33.8z"/></svg>
|
After Width: | Height: | Size: 429 B |
108
rootfs/usr/share/httpd/default/index.php
Normal file
108
rootfs/usr/share/httpd/default/index.php
Normal file
@@ -0,0 +1,108 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<!--
|
||||
##@Version : 202303091846-git
|
||||
# @@Author : Jason Hempstead
|
||||
# @@Contact : git-admin@casjaysdev.pro
|
||||
# @@License : WTFPL
|
||||
# @@ReadME :
|
||||
# @@Copyright : Copyright: (c) 2023 Jason Hempstead, Casjays Developments
|
||||
# @@Created : Thursday, Mar 09, 2023 18:46 EST
|
||||
# @@File : index.php
|
||||
# @@Description : php document
|
||||
# @@Changelog : Updated header
|
||||
# @@TODO :
|
||||
# @@Other :
|
||||
# @@Resource :
|
||||
# @@Terminal App : no
|
||||
# @@sudo/root : no
|
||||
# @@Template : html
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
-->
|
||||
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
|
||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="robots" content="index, follow" />
|
||||
<meta name="generator" content="CasjaysDev" />
|
||||
|
||||
<meta name="description" content="REPLACE_SERVER_SOFTWARE container" />
|
||||
<meta property="og:title" content="REPLACE_SERVER_SOFTWARE container" />
|
||||
<meta property="og:locale" content="en_US" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:image" content="./images/favicon.ico" />
|
||||
<meta property="og:url" content="" />
|
||||
|
||||
<meta name="theme-color" content="#000000" />
|
||||
<link rel="manifest" href="./site.webmanifest" />
|
||||
|
||||
<link rel="icon" type="image/icon png" href="./images/icon.png" />
|
||||
<link rel="apple-touch-icon" href="./images/icon.png" />
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css" />
|
||||
<link rel="stylesheet" type="text/css" href="./css/cookieconsent.css" />
|
||||
<link rel="stylesheet" href="./css/bootstrap.css" />
|
||||
<link rel="stylesheet" href="./css/index.css" />
|
||||
<script src="./js/errorpages/isup.js"></script>
|
||||
<script src="./js/errorpages/homepage.js"></script>
|
||||
<script src="./js/errorpages/loaddomain.js"></script>
|
||||
<script src="./js/jquery/default.js"></script>
|
||||
<script src="./js/passprotect.min.js" defer></script>
|
||||
<script src="./js/bootstrap.min.js" defer></script>
|
||||
<script src="./js/app.js" defer></script>
|
||||
</head>
|
||||
|
||||
<body class="container text-center" style="align-items: center; justify-content: center">
|
||||
<h1 class="m-5">Congratulations</h1>
|
||||
<h2>
|
||||
Your REPLACE_SERVER_SOFTWARE container has been setup.<br />
|
||||
This file is located in:
|
||||
<?php echo $_SERVER['DOCUMENT_ROOT']; ?><br />
|
||||
<br />
|
||||
SERVER:
|
||||
<?php echo $_SERVER['SERVER_SOFTWARE']; ?> <br />
|
||||
SERVER Address:
|
||||
<?php echo $_SERVER['SERVER_ADDR']; ?> <br />
|
||||
</h2>
|
||||
<br /><br />
|
||||
<br /><br />
|
||||
<br /><br />
|
||||
<!-- Begin EU compliant -->
|
||||
<div class="footer-custom" align="center">
|
||||
<div class="text-center align-items-center fs-3">
|
||||
<link rel="stylesheet" type="text/css" href="/css/cookieconsent.css" />
|
||||
<script src="/js/cookieconsent.js"></script>
|
||||
<script>
|
||||
window.addEventListener("load", function() {
|
||||
window.cookieconsent.initialise({
|
||||
"palette": {
|
||||
"popup": {
|
||||
"background": "#64386b",
|
||||
"text": "#ffcdfd"
|
||||
},
|
||||
"button": {
|
||||
"background": "transparent",
|
||||
"text": "#f8a8ff",
|
||||
"border": "#f8a8ff"
|
||||
}
|
||||
},
|
||||
"content": {
|
||||
"message": "In accordance with the EU GDPR law this message is being displayed. - ",
|
||||
"dismiss": "I Agree",
|
||||
"link": "CasjaysDev Policy",
|
||||
"href": "https://casjaysdev.pro/policy/"
|
||||
},
|
||||
"type": "opt-out"
|
||||
})
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<!-- End EU compliant -->
|
||||
</body>
|
||||
|
||||
</html>
|
63
rootfs/usr/share/httpd/default/info.php
Normal file
63
rootfs/usr/share/httpd/default/info.php
Normal file
@@ -0,0 +1,63 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<!--
|
||||
##@Version : 202303091846-git
|
||||
# @@Author : Jason Hempstead
|
||||
# @@Contact : git-admin@casjaysdev.pro
|
||||
# @@License : WTFPL
|
||||
# @@ReadME :
|
||||
# @@Copyright : Copyright: (c) 2023 Jason Hempstead, Casjays Developments
|
||||
# @@Created : Thursday, Mar 09, 2023 18:46 EST
|
||||
# @@File : info.php
|
||||
# @@Description : html document
|
||||
# @@Changelog : Updated header
|
||||
# @@TODO :
|
||||
# @@Other :
|
||||
# @@Resource :
|
||||
# @@Terminal App : no
|
||||
# @@sudo/root : no
|
||||
# @@Template : html
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
-->
|
||||
|
||||
<meta charset="utf-8" />
|
||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
|
||||
<meta name="robots" content="index, follow" />
|
||||
<meta name="generator" content="CasjaysDev" />
|
||||
|
||||
<meta name="description" content="REPLACE_SERVER_SOFTWARE container" />
|
||||
<meta property="og:title" content="REPLACE_SERVER_SOFTWARE container" />
|
||||
<meta property="og:locale" content="en_US" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:image" content="./images/favicon.ico" />
|
||||
<meta property="og:url" content="" />
|
||||
|
||||
<meta name="theme-color" content="#000000" />
|
||||
<link rel="manifest" href="./site.webmanifest" />
|
||||
|
||||
<link rel="icon" type="image/icon png" href="./images/icon.png" />
|
||||
<link rel="apple-touch-icon" href="./images/icon.png" />
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css" />
|
||||
<script src="./js/errorpages/isup.js"></script>
|
||||
<script src="./js/errorpages/homepage.js"></script>
|
||||
<script src="./js/errorpages/loaddomain.js"></script>
|
||||
<script src="./js/jquery/default.js"></script>
|
||||
<script src="./js/passprotect.min.js" defer></script>
|
||||
<script src="./js/app.js" defer></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container" style="text-align: center; align-items: center">
|
||||
<br /><br />
|
||||
<h1 class="m-5">Congratulations PHP has been successfully configured</h1>
|
||||
<br /><br />
|
||||
<?php phpinfo(); ?>
|
||||
<br /><br />
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
0
rootfs/usr/share/httpd/default/js/app.js
Normal file
0
rootfs/usr/share/httpd/default/js/app.js
Normal file
4075
rootfs/usr/share/httpd/default/js/bootstrap.min.js
vendored
Normal file
4075
rootfs/usr/share/httpd/default/js/bootstrap.min.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
964
rootfs/usr/share/httpd/default/js/cookieconsent.js
Normal file
964
rootfs/usr/share/httpd/default/js/cookieconsent.js
Normal file
@@ -0,0 +1,964 @@
|
||||
!(function (e) {
|
||||
if (!e.hasInitialised) {
|
||||
var t = {
|
||||
escapeRegExp: function (e) {
|
||||
return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, '\\$&');
|
||||
},
|
||||
hasClass: function (e, t) {
|
||||
var i = ' ';
|
||||
return (
|
||||
1 === e.nodeType &&
|
||||
(i + e.className + i).replace(/[\n\t]/g, i).indexOf(i + t + i) >= 0
|
||||
);
|
||||
},
|
||||
addClass: function (e, t) {
|
||||
e.className += ' ' + t;
|
||||
},
|
||||
removeClass: function (e, t) {
|
||||
var i = new RegExp('\\b' + this.escapeRegExp(t) + '\\b');
|
||||
e.className = e.className.replace(i, '');
|
||||
},
|
||||
interpolateString: function (e, t) {
|
||||
var i = /{{([a-z][a-z0-9\-_]*)}}/gi;
|
||||
return e.replace(i, function (e) {
|
||||
return t(arguments[1]) || '';
|
||||
});
|
||||
},
|
||||
getCookie: function (e) {
|
||||
var t = '; ' + document.cookie,
|
||||
i = t.split('; ' + e + '=');
|
||||
return 2 != i.length ? void 0 : i.pop().split(';').shift();
|
||||
},
|
||||
setCookie: function (e, t, i, n, o) {
|
||||
var s = new Date();
|
||||
s.setDate(s.getDate() + (i || 365));
|
||||
var r = [
|
||||
e + '=' + t,
|
||||
'expires=' + s.toUTCString(),
|
||||
'path=' + (o || '/'),
|
||||
];
|
||||
n && r.push('domain=' + n), (document.cookie = r.join(';'));
|
||||
},
|
||||
deepExtend: function (e, t) {
|
||||
for (var i in t)
|
||||
t.hasOwnProperty(i) &&
|
||||
(i in e && this.isPlainObject(e[i]) && this.isPlainObject(t[i])
|
||||
? this.deepExtend(e[i], t[i])
|
||||
: (e[i] = t[i]));
|
||||
return e;
|
||||
},
|
||||
throttle: function (e, t) {
|
||||
var i = !1;
|
||||
return function () {
|
||||
i ||
|
||||
(e.apply(this, arguments),
|
||||
(i = !0),
|
||||
setTimeout(function () {
|
||||
i = !1;
|
||||
}, t));
|
||||
};
|
||||
},
|
||||
hash: function (e) {
|
||||
var t,
|
||||
i,
|
||||
n,
|
||||
o = 0;
|
||||
if (0 === e.length) return o;
|
||||
for (t = 0, n = e.length; t < n; ++t)
|
||||
(i = e.charCodeAt(t)), (o = (o << 5) - o + i), (o |= 0);
|
||||
return o;
|
||||
},
|
||||
normaliseHex: function (e) {
|
||||
return (
|
||||
'#' == e[0] && (e = e.substr(1)),
|
||||
3 == e.length && (e = e[0] + e[0] + e[1] + e[1] + e[2] + e[2]),
|
||||
e
|
||||
);
|
||||
},
|
||||
getContrast: function (e) {
|
||||
e = this.normaliseHex(e);
|
||||
var t = parseInt(e.substr(0, 2), 16),
|
||||
i = parseInt(e.substr(2, 2), 16),
|
||||
n = parseInt(e.substr(4, 2), 16),
|
||||
o = (299 * t + 587 * i + 114 * n) / 1e3;
|
||||
return o >= 128 ? '#000' : '#fff';
|
||||
},
|
||||
getLuminance: function (e) {
|
||||
var t = parseInt(this.normaliseHex(e), 16),
|
||||
i = 38,
|
||||
n = (t >> 16) + i,
|
||||
o = ((t >> 8) & 255) + i,
|
||||
s = (255 & t) + i,
|
||||
r = (
|
||||
16777216 +
|
||||
65536 * (n < 255 ? (n < 1 ? 0 : n) : 255) +
|
||||
256 * (o < 255 ? (o < 1 ? 0 : o) : 255) +
|
||||
(s < 255 ? (s < 1 ? 0 : s) : 255)
|
||||
)
|
||||
.toString(16)
|
||||
.slice(1);
|
||||
return '#' + r;
|
||||
},
|
||||
isMobile: function () {
|
||||
return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(
|
||||
navigator.userAgent
|
||||
);
|
||||
},
|
||||
isPlainObject: function (e) {
|
||||
return 'object' == typeof e && null !== e && e.constructor == Object;
|
||||
},
|
||||
};
|
||||
(e.status = { deny: 'deny', allow: 'allow', dismiss: 'dismiss' }),
|
||||
(e.transitionEnd = (function () {
|
||||
var e = document.createElement('div'),
|
||||
t = {
|
||||
t: 'transitionend',
|
||||
OT: 'oTransitionEnd',
|
||||
msT: 'MSTransitionEnd',
|
||||
MozT: 'transitionend',
|
||||
WebkitT: 'webkitTransitionEnd',
|
||||
};
|
||||
for (var i in t)
|
||||
if (
|
||||
t.hasOwnProperty(i) &&
|
||||
'undefined' != typeof e.style[i + 'ransition']
|
||||
)
|
||||
return t[i];
|
||||
return '';
|
||||
})()),
|
||||
(e.hasTransition = !!e.transitionEnd);
|
||||
var i = Object.keys(e.status).map(t.escapeRegExp);
|
||||
(e.customStyles = {}),
|
||||
(e.Popup = (function () {
|
||||
function n() {
|
||||
this.initialise.apply(this, arguments);
|
||||
}
|
||||
function o(e) {
|
||||
(this.openingTimeout = null), t.removeClass(e, 'cc-invisible');
|
||||
}
|
||||
function s(t) {
|
||||
(t.style.display = 'none'),
|
||||
t.removeEventListener(e.transitionEnd, this.afterTransition),
|
||||
(this.afterTransition = null);
|
||||
}
|
||||
function r() {
|
||||
var t = this.options.onInitialise.bind(this);
|
||||
if (!window.navigator.cookieEnabled) return t(e.status.deny), !0;
|
||||
if (window.CookiesOK || window.navigator.CookiesOK)
|
||||
return t(e.status.allow), !0;
|
||||
var i = Object.keys(e.status),
|
||||
n = this.getStatus(),
|
||||
o = i.indexOf(n) >= 0;
|
||||
return o && t(n), o;
|
||||
}
|
||||
function a() {
|
||||
var e = this.options.position.split('-'),
|
||||
t = [];
|
||||
return (
|
||||
e.forEach(function (e) {
|
||||
t.push('cc-' + e);
|
||||
}),
|
||||
t
|
||||
);
|
||||
}
|
||||
function c() {
|
||||
var e = this.options,
|
||||
i =
|
||||
'top' == e.position || 'bottom' == e.position
|
||||
? 'banner'
|
||||
: 'floating';
|
||||
t.isMobile() && (i = 'floating');
|
||||
var n = ['cc-' + i, 'cc-type-' + e.type, 'cc-theme-' + e.theme];
|
||||
e['static'] && n.push('cc-static'), n.push.apply(n, a.call(this));
|
||||
p.call(this, this.options.palette);
|
||||
return (
|
||||
this.customStyleSelector && n.push(this.customStyleSelector), n
|
||||
);
|
||||
}
|
||||
function l() {
|
||||
var e = {},
|
||||
i = this.options;
|
||||
i.showLink ||
|
||||
((i.elements.link = ''),
|
||||
(i.elements.messagelink = i.elements.message)),
|
||||
Object.keys(i.elements).forEach(function (n) {
|
||||
e[n] = t.interpolateString(i.elements[n], function (e) {
|
||||
var t = i.content[e];
|
||||
return e && 'string' == typeof t && t.length ? t : '';
|
||||
});
|
||||
});
|
||||
var n = i.compliance[i.type];
|
||||
n || (n = i.compliance.info),
|
||||
(e.compliance = t.interpolateString(n, function (t) {
|
||||
return e[t];
|
||||
}));
|
||||
var o = i.layouts[i.layout];
|
||||
return (
|
||||
o || (o = i.layouts.basic),
|
||||
t.interpolateString(o, function (t) {
|
||||
return e[t];
|
||||
})
|
||||
);
|
||||
}
|
||||
function u(i) {
|
||||
var n = this.options,
|
||||
o = document.createElement('div'),
|
||||
s =
|
||||
n.container && 1 === n.container.nodeType
|
||||
? n.container
|
||||
: document.body;
|
||||
o.innerHTML = i;
|
||||
var r = o.children[0];
|
||||
return (
|
||||
(r.style.display = 'none'),
|
||||
t.hasClass(r, 'cc-window') &&
|
||||
e.hasTransition &&
|
||||
t.addClass(r, 'cc-invisible'),
|
||||
(this.onButtonClick = h.bind(this)),
|
||||
r.addEventListener('click', this.onButtonClick),
|
||||
n.autoAttach &&
|
||||
(s.firstChild
|
||||
? s.insertBefore(r, s.firstChild)
|
||||
: s.appendChild(r)),
|
||||
r
|
||||
);
|
||||
}
|
||||
function h(n) {
|
||||
var o = n.target;
|
||||
if (t.hasClass(o, 'cc-btn')) {
|
||||
var s = o.className.match(
|
||||
new RegExp('\\bcc-(' + i.join('|') + ')\\b')
|
||||
),
|
||||
r = (s && s[1]) || !1;
|
||||
r && (this.setStatus(r), this.close(!0));
|
||||
}
|
||||
t.hasClass(o, 'cc-close') &&
|
||||
(this.setStatus(e.status.dismiss), this.close(!0)),
|
||||
t.hasClass(o, 'cc-revoke') && this.revokeChoice();
|
||||
}
|
||||
function p(e) {
|
||||
var i = t.hash(JSON.stringify(e)),
|
||||
n = 'cc-color-override-' + i,
|
||||
o = t.isPlainObject(e);
|
||||
return (
|
||||
(this.customStyleSelector = o ? n : null), o && d(i, e, '.' + n), o
|
||||
);
|
||||
}
|
||||
function d(i, n, o) {
|
||||
if (e.customStyles[i]) return void ++e.customStyles[i].references;
|
||||
var s = {},
|
||||
r = n.popup,
|
||||
a = n.button,
|
||||
c = n.highlight;
|
||||
r &&
|
||||
((r.text = r.text ? r.text : t.getContrast(r.background)),
|
||||
(r.link = r.link ? r.link : r.text),
|
||||
(s[o + '.cc-window'] = [
|
||||
'color: ' + r.text,
|
||||
'background-color: ' + r.background,
|
||||
]),
|
||||
(s[o + '.cc-revoke'] = [
|
||||
'color: ' + r.text,
|
||||
'background-color: ' + r.background,
|
||||
]),
|
||||
(s[
|
||||
o +
|
||||
' .cc-link,' +
|
||||
o +
|
||||
' .cc-link:active,' +
|
||||
o +
|
||||
' .cc-link:visited'
|
||||
] = ['color: ' + r.link]),
|
||||
a &&
|
||||
((a.text = a.text ? a.text : t.getContrast(a.background)),
|
||||
(a.border = a.border ? a.border : 'transparent'),
|
||||
(s[o + ' .cc-btn'] = [
|
||||
'color: ' + a.text,
|
||||
'border-color: ' + a.border,
|
||||
'background-color: ' + a.background,
|
||||
]),
|
||||
'transparent' != a.background &&
|
||||
(s[o + ' .cc-btn:hover, ' + o + ' .cc-btn:focus'] = [
|
||||
'background-color: ' + v(a.background),
|
||||
]),
|
||||
c
|
||||
? ((c.text = c.text ? c.text : t.getContrast(c.background)),
|
||||
(c.border = c.border ? c.border : 'transparent'),
|
||||
(s[o + ' .cc-highlight .cc-btn:first-child'] = [
|
||||
'color: ' + c.text,
|
||||
'border-color: ' + c.border,
|
||||
'background-color: ' + c.background,
|
||||
]))
|
||||
: (s[o + ' .cc-highlight .cc-btn:first-child'] = [
|
||||
'color: ' + r.text,
|
||||
])));
|
||||
var l = document.createElement('style');
|
||||
document.head.appendChild(l),
|
||||
(e.customStyles[i] = { references: 1, element: l.sheet });
|
||||
var u = -1;
|
||||
for (var h in s)
|
||||
s.hasOwnProperty(h) &&
|
||||
l.sheet.insertRule(h + '{' + s[h].join(';') + '}', ++u);
|
||||
}
|
||||
function v(e) {
|
||||
return (
|
||||
(e = t.normaliseHex(e)), '000000' == e ? '#222' : t.getLuminance(e)
|
||||
);
|
||||
}
|
||||
function f(i) {
|
||||
if (t.isPlainObject(i)) {
|
||||
var n = t.hash(JSON.stringify(i)),
|
||||
o = e.customStyles[n];
|
||||
if (o && !--o.references) {
|
||||
var s = o.element.ownerNode;
|
||||
s && s.parentNode && s.parentNode.removeChild(s),
|
||||
(e.customStyles[n] = null);
|
||||
}
|
||||
}
|
||||
}
|
||||
function m(e, t) {
|
||||
for (var i = 0, n = e.length; i < n; ++i) {
|
||||
var o = e[i];
|
||||
if (
|
||||
(o instanceof RegExp && o.test(t)) ||
|
||||
('string' == typeof o && o.length && o === t)
|
||||
)
|
||||
return !0;
|
||||
}
|
||||
return !1;
|
||||
}
|
||||
function b() {
|
||||
var t = this.setStatus.bind(this),
|
||||
i = this.options.dismissOnTimeout;
|
||||
'number' == typeof i &&
|
||||
i >= 0 &&
|
||||
(this.dismissTimeout = window.setTimeout(function () {
|
||||
t(e.status.dismiss);
|
||||
}, Math.floor(i)));
|
||||
var n = this.options.dismissOnScroll;
|
||||
if ('number' == typeof n && n >= 0) {
|
||||
var o = function (i) {
|
||||
window.pageYOffset > Math.floor(n) &&
|
||||
(t(e.status.dismiss),
|
||||
window.removeEventListener('scroll', o),
|
||||
(this.onWindowScroll = null));
|
||||
};
|
||||
(this.onWindowScroll = o), window.addEventListener('scroll', o);
|
||||
}
|
||||
}
|
||||
function y() {
|
||||
if (
|
||||
('info' != this.options.type && (this.options.revokable = !0),
|
||||
t.isMobile() && (this.options.animateRevokable = !1),
|
||||
this.options.revokable)
|
||||
) {
|
||||
var e = a.call(this);
|
||||
this.options.animateRevokable && e.push('cc-animate'),
|
||||
this.customStyleSelector && e.push(this.customStyleSelector);
|
||||
var i = this.options.revokeBtn.replace('{{classes}}', e.join(' '));
|
||||
this.revokeBtn = u.call(this, i);
|
||||
var n = this.revokeBtn;
|
||||
if (this.options.animateRevokable) {
|
||||
var o = t.throttle(function (e) {
|
||||
var i = !1,
|
||||
o = 20,
|
||||
s = window.innerHeight - 20;
|
||||
t.hasClass(n, 'cc-top') && e.clientY < o && (i = !0),
|
||||
t.hasClass(n, 'cc-bottom') && e.clientY > s && (i = !0),
|
||||
i
|
||||
? t.hasClass(n, 'cc-active') || t.addClass(n, 'cc-active')
|
||||
: t.hasClass(n, 'cc-active') &&
|
||||
t.removeClass(n, 'cc-active');
|
||||
}, 200);
|
||||
(this.onMouseMove = o), window.addEventListener('mousemove', o);
|
||||
}
|
||||
}
|
||||
}
|
||||
var g = {
|
||||
enabled: !0,
|
||||
container: null,
|
||||
cookie: {
|
||||
name: 'cookieconsent_status',
|
||||
path: '/',
|
||||
domain: '',
|
||||
expiryDays: 365,
|
||||
},
|
||||
onPopupOpen: function () {},
|
||||
onPopupClose: function () {},
|
||||
onInitialise: function (e) {},
|
||||
onStatusChange: function (e, t) {},
|
||||
onRevokeChoice: function () {},
|
||||
content: {
|
||||
header: 'Cookies used on the website!',
|
||||
message:
|
||||
'This website uses cookies to ensure you get the best experience on our website.',
|
||||
dismiss: 'Got it!',
|
||||
allow: 'Allow cookies',
|
||||
deny: 'Decline',
|
||||
link: 'Learn more',
|
||||
href: 'http://cookiesandyou.com',
|
||||
close: '❌',
|
||||
},
|
||||
elements: {
|
||||
header: '<span class="cc-header">{{header}}</span> ',
|
||||
message:
|
||||
'<span id="cookieconsent:desc" class="cc-message">{{message}}</span>',
|
||||
messagelink:
|
||||
'<span id="cookieconsent:desc" class="cc-message">{{message}} <a aria-label="learn more about cookies" role=button tabindex="0" class="cc-link" href="{{href}}" target="_blank">{{link}}</a></span>',
|
||||
dismiss:
|
||||
'<a aria-label="dismiss cookie message" role=button tabindex="0" class="cc-btn cc-dismiss">{{dismiss}}</a>',
|
||||
allow:
|
||||
'<a aria-label="allow cookies" role=button tabindex="0" class="cc-btn cc-allow">{{allow}}</a>',
|
||||
deny: '<a aria-label="deny cookies" role=button tabindex="0" class="cc-btn cc-deny">{{deny}}</a>',
|
||||
link: '<a aria-label="learn more about cookies" role=button tabindex="0" class="cc-link" href="{{href}}" target="_blank">{{link}}</a>',
|
||||
close:
|
||||
'<span aria-label="dismiss cookie message" role=button tabindex="0" class="cc-close">{{close}}</span>',
|
||||
},
|
||||
window:
|
||||
'<div role="dialog" aria-live="polite" aria-label="cookieconsent" aria-describedby="cookieconsent:desc" class="cc-window {{classes}}"><!--googleoff: all-->{{children}}<!--googleon: all--></div>',
|
||||
revokeBtn: '<div class="cc-revoke {{classes}}">Cookie Policy</div>',
|
||||
compliance: {
|
||||
info: '<div class="cc-compliance">{{dismiss}}</div>',
|
||||
'opt-in':
|
||||
'<div class="cc-compliance cc-highlight">{{dismiss}}{{allow}}</div>',
|
||||
'opt-out':
|
||||
'<div class="cc-compliance cc-highlight">{{deny}}{{dismiss}}</div>',
|
||||
},
|
||||
type: 'info',
|
||||
layouts: {
|
||||
basic: '{{messagelink}}{{compliance}}',
|
||||
'basic-close': '{{messagelink}}{{compliance}}{{close}}',
|
||||
'basic-header': '{{header}}{{message}}{{link}}{{compliance}}',
|
||||
},
|
||||
layout: 'basic',
|
||||
position: 'bottom',
|
||||
theme: 'block',
|
||||
static: !1,
|
||||
palette: null,
|
||||
revokable: !1,
|
||||
animateRevokable: !0,
|
||||
showLink: !0,
|
||||
dismissOnScroll: !1,
|
||||
dismissOnTimeout: !1,
|
||||
autoOpen: !0,
|
||||
autoAttach: !0,
|
||||
whitelistPage: [],
|
||||
blacklistPage: [],
|
||||
overrideHTML: null,
|
||||
};
|
||||
return (
|
||||
(n.prototype.initialise = function (e) {
|
||||
this.options && this.destroy(),
|
||||
t.deepExtend((this.options = {}), g),
|
||||
t.isPlainObject(e) && t.deepExtend(this.options, e),
|
||||
r.call(this) && (this.options.enabled = !1),
|
||||
m(this.options.blacklistPage, location.pathname) &&
|
||||
(this.options.enabled = !1),
|
||||
m(this.options.whitelistPage, location.pathname) &&
|
||||
(this.options.enabled = !0);
|
||||
var i = this.options.window
|
||||
.replace('{{classes}}', c.call(this).join(' '))
|
||||
.replace('{{children}}', l.call(this)),
|
||||
n = this.options.overrideHTML;
|
||||
if (
|
||||
('string' == typeof n && n.length && (i = n),
|
||||
this.options['static'])
|
||||
) {
|
||||
var o = u.call(this, '<div class="cc-grower">' + i + '</div>');
|
||||
(o.style.display = ''),
|
||||
(this.element = o.firstChild),
|
||||
(this.element.style.display = 'none'),
|
||||
t.addClass(this.element, 'cc-invisible');
|
||||
} else this.element = u.call(this, i);
|
||||
b.call(this),
|
||||
y.call(this),
|
||||
this.options.autoOpen && this.autoOpen();
|
||||
}),
|
||||
(n.prototype.destroy = function () {
|
||||
this.onButtonClick &&
|
||||
this.element &&
|
||||
(this.element.removeEventListener('click', this.onButtonClick),
|
||||
(this.onButtonClick = null)),
|
||||
this.dismissTimeout &&
|
||||
(clearTimeout(this.dismissTimeout),
|
||||
(this.dismissTimeout = null)),
|
||||
this.onWindowScroll &&
|
||||
(window.removeEventListener('scroll', this.onWindowScroll),
|
||||
(this.onWindowScroll = null)),
|
||||
this.onMouseMove &&
|
||||
(window.removeEventListener('mousemove', this.onMouseMove),
|
||||
(this.onMouseMove = null)),
|
||||
this.element &&
|
||||
this.element.parentNode &&
|
||||
this.element.parentNode.removeChild(this.element),
|
||||
(this.element = null),
|
||||
this.revokeBtn &&
|
||||
this.revokeBtn.parentNode &&
|
||||
this.revokeBtn.parentNode.removeChild(this.revokeBtn),
|
||||
(this.revokeBtn = null),
|
||||
f(this.options.palette),
|
||||
(this.options = null);
|
||||
}),
|
||||
(n.prototype.open = function (t) {
|
||||
if (this.element)
|
||||
return (
|
||||
this.isOpen() ||
|
||||
(e.hasTransition
|
||||
? this.fadeIn()
|
||||
: (this.element.style.display = ''),
|
||||
this.options.revokable && this.toggleRevokeButton(),
|
||||
this.options.onPopupOpen.call(this)),
|
||||
this
|
||||
);
|
||||
}),
|
||||
(n.prototype.close = function (t) {
|
||||
if (this.element)
|
||||
return (
|
||||
this.isOpen() &&
|
||||
(e.hasTransition
|
||||
? this.fadeOut()
|
||||
: (this.element.style.display = 'none'),
|
||||
t && this.options.revokable && this.toggleRevokeButton(!0),
|
||||
this.options.onPopupClose.call(this)),
|
||||
this
|
||||
);
|
||||
}),
|
||||
(n.prototype.fadeIn = function () {
|
||||
var i = this.element;
|
||||
if (
|
||||
e.hasTransition &&
|
||||
i &&
|
||||
(this.afterTransition && s.call(this, i),
|
||||
t.hasClass(i, 'cc-invisible'))
|
||||
) {
|
||||
if (((i.style.display = ''), this.options['static'])) {
|
||||
var n = this.element.clientHeight;
|
||||
this.element.parentNode.style.maxHeight = n + 'px';
|
||||
}
|
||||
var r = 20;
|
||||
this.openingTimeout = setTimeout(o.bind(this, i), r);
|
||||
}
|
||||
}),
|
||||
(n.prototype.fadeOut = function () {
|
||||
var i = this.element;
|
||||
e.hasTransition &&
|
||||
i &&
|
||||
(this.openingTimeout &&
|
||||
(clearTimeout(this.openingTimeout), o.bind(this, i)),
|
||||
t.hasClass(i, 'cc-invisible') ||
|
||||
(this.options['static'] &&
|
||||
(this.element.parentNode.style.maxHeight = ''),
|
||||
(this.afterTransition = s.bind(this, i)),
|
||||
i.addEventListener(e.transitionEnd, this.afterTransition),
|
||||
t.addClass(i, 'cc-invisible')));
|
||||
}),
|
||||
(n.prototype.isOpen = function () {
|
||||
return (
|
||||
this.element &&
|
||||
'' == this.element.style.display &&
|
||||
(!e.hasTransition || !t.hasClass(this.element, 'cc-invisible'))
|
||||
);
|
||||
}),
|
||||
(n.prototype.toggleRevokeButton = function (e) {
|
||||
this.revokeBtn && (this.revokeBtn.style.display = e ? '' : 'none');
|
||||
}),
|
||||
(n.prototype.revokeChoice = function (e) {
|
||||
(this.options.enabled = !0),
|
||||
this.clearStatus(),
|
||||
this.options.onRevokeChoice.call(this),
|
||||
e || this.autoOpen();
|
||||
}),
|
||||
(n.prototype.hasAnswered = function (t) {
|
||||
return Object.keys(e.status).indexOf(this.getStatus()) >= 0;
|
||||
}),
|
||||
(n.prototype.hasConsented = function (t) {
|
||||
var i = this.getStatus();
|
||||
return i == e.status.allow || i == e.status.dismiss;
|
||||
}),
|
||||
(n.prototype.autoOpen = function (e) {
|
||||
!this.hasAnswered() && this.options.enabled && this.open();
|
||||
}),
|
||||
(n.prototype.setStatus = function (i) {
|
||||
var n = this.options.cookie,
|
||||
o = t.getCookie(n.name),
|
||||
s = Object.keys(e.status).indexOf(o) >= 0;
|
||||
Object.keys(e.status).indexOf(i) >= 0
|
||||
? (t.setCookie(n.name, i, n.expiryDays, n.domain, n.path),
|
||||
this.options.onStatusChange.call(this, i, s))
|
||||
: this.clearStatus();
|
||||
}),
|
||||
(n.prototype.getStatus = function () {
|
||||
return t.getCookie(this.options.cookie.name);
|
||||
}),
|
||||
(n.prototype.clearStatus = function () {
|
||||
var e = this.options.cookie;
|
||||
t.setCookie(e.name, '', -1, e.domain, e.path);
|
||||
}),
|
||||
n
|
||||
);
|
||||
})()),
|
||||
(e.Location = (function () {
|
||||
function e(e) {
|
||||
t.deepExtend((this.options = {}), s),
|
||||
t.isPlainObject(e) && t.deepExtend(this.options, e),
|
||||
(this.currentServiceIndex = -1);
|
||||
}
|
||||
function i(e, t, i) {
|
||||
var n,
|
||||
o = document.createElement('script');
|
||||
(o.type = 'text/' + (e.type || 'javascript')),
|
||||
(o.src = e.src || e),
|
||||
(o.async = !1),
|
||||
(o.onreadystatechange = o.onload =
|
||||
function () {
|
||||
var e = o.readyState;
|
||||
clearTimeout(n),
|
||||
t.done ||
|
||||
(e && !/loaded|complete/.test(e)) ||
|
||||
((t.done = !0),
|
||||
t(),
|
||||
(o.onreadystatechange = o.onload = null));
|
||||
}),
|
||||
document.body.appendChild(o),
|
||||
(n = setTimeout(function () {
|
||||
(t.done = !0), t(), (o.onreadystatechange = o.onload = null);
|
||||
}, i));
|
||||
}
|
||||
function n(e, t, i, n, o) {
|
||||
var s = new (window.XMLHttpRequest || window.ActiveXObject)(
|
||||
'MSXML2.XMLHTTP.3.0'
|
||||
);
|
||||
if (
|
||||
(s.open(n ? 'POST' : 'GET', e, 1),
|
||||
s.setRequestHeader('X-Requested-With', 'XMLHttpRequest'),
|
||||
s.setRequestHeader(
|
||||
'Content-type',
|
||||
'application/x-www-form-urlencoded'
|
||||
),
|
||||
Array.isArray(o))
|
||||
)
|
||||
for (var r = 0, a = o.length; r < a; ++r) {
|
||||
var c = o[r].split(':', 2);
|
||||
s.setRequestHeader(
|
||||
c[0].replace(/^\s+|\s+$/g, ''),
|
||||
c[1].replace(/^\s+|\s+$/g, '')
|
||||
);
|
||||
}
|
||||
'function' == typeof t &&
|
||||
(s.onreadystatechange = function () {
|
||||
s.readyState > 3 && t(s);
|
||||
}),
|
||||
s.send(n);
|
||||
}
|
||||
function o(e) {
|
||||
return new Error('Error [' + (e.code || 'UNKNOWN') + ']: ' + e.error);
|
||||
}
|
||||
var s = {
|
||||
timeout: 5e3,
|
||||
services: ['freegeoip', 'ipinfo', 'maxmind'],
|
||||
serviceDefinitions: {
|
||||
freegeoip: function () {
|
||||
return {
|
||||
url: '//freegeoip.net/json/?callback={callback}',
|
||||
isScript: !0,
|
||||
callback: function (e, t) {
|
||||
try {
|
||||
var i = JSON.parse(t);
|
||||
return i.error ? o(i) : { code: i.country_code };
|
||||
} catch (n) {
|
||||
return o({ error: 'Invalid response (' + n + ')' });
|
||||
}
|
||||
},
|
||||
};
|
||||
},
|
||||
ipinfo: function () {
|
||||
return {
|
||||
url: '//ipinfo.io',
|
||||
headers: ['Accept: application/json'],
|
||||
callback: function (e, t) {
|
||||
try {
|
||||
var i = JSON.parse(t);
|
||||
return i.error ? o(i) : { code: i.country };
|
||||
} catch (n) {
|
||||
return o({ error: 'Invalid response (' + n + ')' });
|
||||
}
|
||||
},
|
||||
};
|
||||
},
|
||||
ipinfodb: function (e) {
|
||||
return {
|
||||
url: '//api.ipinfodb.com/v3/ip-country/?key={api_key}&format=json&callback={callback}',
|
||||
isScript: !0,
|
||||
callback: function (e, t) {
|
||||
try {
|
||||
var i = JSON.parse(t);
|
||||
return 'ERROR' == i.statusCode
|
||||
? o({ error: i.statusMessage })
|
||||
: { code: i.countryCode };
|
||||
} catch (n) {
|
||||
return o({ error: 'Invalid response (' + n + ')' });
|
||||
}
|
||||
},
|
||||
};
|
||||
},
|
||||
maxmind: function () {
|
||||
return {
|
||||
url: '//js.maxmind.com/js/apis/geoip2/v2.1/geoip2.js',
|
||||
isScript: !0,
|
||||
callback: function (e) {
|
||||
return window.geoip2
|
||||
? void geoip2.country(
|
||||
function (t) {
|
||||
try {
|
||||
e({ code: t.country.iso_code });
|
||||
} catch (i) {
|
||||
e(o(i));
|
||||
}
|
||||
},
|
||||
function (t) {
|
||||
e(o(t));
|
||||
}
|
||||
)
|
||||
: void e(
|
||||
new Error(
|
||||
'Unexpected response format. The downloaded script should have exported `geoip2` to the global scope'
|
||||
)
|
||||
);
|
||||
},
|
||||
};
|
||||
},
|
||||
},
|
||||
};
|
||||
return (
|
||||
(e.prototype.getNextService = function () {
|
||||
var e;
|
||||
do e = this.getServiceByIdx(++this.currentServiceIndex);
|
||||
while (
|
||||
this.currentServiceIndex < this.options.services.length &&
|
||||
!e
|
||||
);
|
||||
return e;
|
||||
}),
|
||||
(e.prototype.getServiceByIdx = function (e) {
|
||||
var i = this.options.services[e];
|
||||
if ('function' == typeof i) {
|
||||
var n = i();
|
||||
return (
|
||||
n.name &&
|
||||
t.deepExtend(n, this.options.serviceDefinitions[n.name](n)),
|
||||
n
|
||||
);
|
||||
}
|
||||
return 'string' == typeof i
|
||||
? this.options.serviceDefinitions[i]()
|
||||
: t.isPlainObject(i)
|
||||
? this.options.serviceDefinitions[i.name](i)
|
||||
: null;
|
||||
}),
|
||||
(e.prototype.locate = function (e, t) {
|
||||
var i = this.getNextService();
|
||||
return i
|
||||
? ((this.callbackComplete = e),
|
||||
(this.callbackError = t),
|
||||
void this.runService(i, this.runNextServiceOnError.bind(this)))
|
||||
: void t(new Error('No services to run'));
|
||||
}),
|
||||
(e.prototype.setupUrl = function (e) {
|
||||
var t = this.getCurrentServiceOpts();
|
||||
return e.url.replace(/\{(.*?)\}/g, function (i, n) {
|
||||
if ('callback' === n) {
|
||||
var o = 'callback' + Date.now();
|
||||
return (
|
||||
(window[o] = function (t) {
|
||||
e.__JSONP_DATA = JSON.stringify(t);
|
||||
}),
|
||||
o
|
||||
);
|
||||
}
|
||||
if (n in t.interpolateUrl) return t.interpolateUrl[n];
|
||||
});
|
||||
}),
|
||||
(e.prototype.runService = function (e, t) {
|
||||
var o = this;
|
||||
if (e && e.url && e.callback) {
|
||||
var s = e.isScript ? i : n,
|
||||
r = this.setupUrl(e);
|
||||
s(
|
||||
r,
|
||||
function (i) {
|
||||
var n = i ? i.responseText : '';
|
||||
e.__JSONP_DATA &&
|
||||
((n = e.__JSONP_DATA), delete e.__JSONP_DATA),
|
||||
o.runServiceCallback.call(o, t, e, n);
|
||||
},
|
||||
this.options.timeout,
|
||||
e.data,
|
||||
e.headers
|
||||
);
|
||||
}
|
||||
}),
|
||||
(e.prototype.runServiceCallback = function (e, t, i) {
|
||||
var n = this,
|
||||
o = function (t) {
|
||||
s || n.onServiceResult.call(n, e, t);
|
||||
},
|
||||
s = t.callback(o, i);
|
||||
s && this.onServiceResult.call(this, e, s);
|
||||
}),
|
||||
(e.prototype.onServiceResult = function (e, t) {
|
||||
t instanceof Error || (t && t.error)
|
||||
? e.call(this, t, null)
|
||||
: e.call(this, null, t);
|
||||
}),
|
||||
(e.prototype.runNextServiceOnError = function (e, t) {
|
||||
if (e) {
|
||||
this.logError(e);
|
||||
var i = this.getNextService();
|
||||
i
|
||||
? this.runService(i, this.runNextServiceOnError.bind(this))
|
||||
: this.completeService.call(
|
||||
this,
|
||||
this.callbackError,
|
||||
new Error('All services failed')
|
||||
);
|
||||
} else this.completeService.call(this, this.callbackComplete, t);
|
||||
}),
|
||||
(e.prototype.getCurrentServiceOpts = function () {
|
||||
var e = this.options.services[this.currentServiceIndex];
|
||||
return 'string' == typeof e
|
||||
? { name: e }
|
||||
: 'function' == typeof e
|
||||
? e()
|
||||
: t.isPlainObject(e)
|
||||
? e
|
||||
: {};
|
||||
}),
|
||||
(e.prototype.completeService = function (e, t) {
|
||||
(this.currentServiceIndex = -1), e && e(t);
|
||||
}),
|
||||
(e.prototype.logError = function (e) {
|
||||
var t = this.currentServiceIndex,
|
||||
i = this.getServiceByIdx(t);
|
||||
console.error(
|
||||
'The service[' +
|
||||
t +
|
||||
'] (' +
|
||||
i.url +
|
||||
') responded with the following error',
|
||||
e
|
||||
);
|
||||
}),
|
||||
e
|
||||
);
|
||||
})()),
|
||||
(e.Law = (function () {
|
||||
function e(e) {
|
||||
this.initialise.apply(this, arguments);
|
||||
}
|
||||
var i = {
|
||||
regionalLaw: !0,
|
||||
hasLaw: [
|
||||
'AT',
|
||||
'BE',
|
||||
'BG',
|
||||
'HR',
|
||||
'CZ',
|
||||
'CY',
|
||||
'DK',
|
||||
'EE',
|
||||
'FI',
|
||||
'FR',
|
||||
'DE',
|
||||
'EL',
|
||||
'HU',
|
||||
'IE',
|
||||
'IT',
|
||||
'LV',
|
||||
'LT',
|
||||
'LU',
|
||||
'MT',
|
||||
'NL',
|
||||
'PL',
|
||||
'PT',
|
||||
'SK',
|
||||
'SI',
|
||||
'ES',
|
||||
'SE',
|
||||
'GB',
|
||||
'UK',
|
||||
],
|
||||
revokable: [
|
||||
'HR',
|
||||
'CY',
|
||||
'DK',
|
||||
'EE',
|
||||
'FR',
|
||||
'DE',
|
||||
'LV',
|
||||
'LT',
|
||||
'NL',
|
||||
'PT',
|
||||
'ES',
|
||||
],
|
||||
explicitAction: ['HR', 'IT', 'ES'],
|
||||
};
|
||||
return (
|
||||
(e.prototype.initialise = function (e) {
|
||||
t.deepExtend((this.options = {}), i),
|
||||
t.isPlainObject(e) && t.deepExtend(this.options, e);
|
||||
}),
|
||||
(e.prototype.get = function (e) {
|
||||
var t = this.options;
|
||||
return {
|
||||
hasLaw: t.hasLaw.indexOf(e) >= 0,
|
||||
revokable: t.revokable.indexOf(e) >= 0,
|
||||
explicitAction: t.explicitAction.indexOf(e) >= 0,
|
||||
};
|
||||
}),
|
||||
(e.prototype.applyLaw = function (e, t) {
|
||||
var i = this.get(t);
|
||||
return (
|
||||
i.hasLaw || (e.enabled = !1),
|
||||
this.options.regionalLaw &&
|
||||
(i.revokable && (e.revokable = !0),
|
||||
i.explicitAction &&
|
||||
((e.dismissOnScroll = !1), (e.dismissOnTimeout = !1))),
|
||||
e
|
||||
);
|
||||
}),
|
||||
e
|
||||
);
|
||||
})()),
|
||||
(e.initialise = function (t, i, n) {
|
||||
var o = new e.Law(t.law);
|
||||
i || (i = function () {}),
|
||||
n || (n = function () {}),
|
||||
e.getCountryCode(
|
||||
t,
|
||||
function (n) {
|
||||
delete t.law,
|
||||
delete t.location,
|
||||
n.code && (t = o.applyLaw(t, n.code)),
|
||||
i(new e.Popup(t));
|
||||
},
|
||||
function (i) {
|
||||
delete t.law, delete t.location, n(i, new e.Popup(t));
|
||||
}
|
||||
);
|
||||
}),
|
||||
(e.getCountryCode = function (t, i, n) {
|
||||
if (t.law && t.law.countryCode)
|
||||
return void i({ code: t.law.countryCode });
|
||||
if (t.location) {
|
||||
var o = new e.Location(t.location);
|
||||
return void o.locate(function (e) {
|
||||
i(e || {});
|
||||
}, n);
|
||||
}
|
||||
i({});
|
||||
}),
|
||||
(e.utils = t),
|
||||
(e.hasInitialised = !0),
|
||||
(window.cookieconsent = e);
|
||||
}
|
||||
})(window.cookieconsent || {});
|
6
rootfs/usr/share/httpd/default/js/errorpages/homepage.js
Normal file
6
rootfs/usr/share/httpd/default/js/errorpages/homepage.js
Normal file
@@ -0,0 +1,6 @@
|
||||
function homepage() {
|
||||
let proto = location.protocol;
|
||||
let port = location.port;
|
||||
let currentSite = window.location.hostname;
|
||||
window.location = proto + '//' + currentSite + ':' + port;
|
||||
}
|
7
rootfs/usr/share/httpd/default/js/errorpages/isup.js
Normal file
7
rootfs/usr/share/httpd/default/js/errorpages/isup.js
Normal file
@@ -0,0 +1,7 @@
|
||||
function isupme() {
|
||||
let proto = location.protocol;
|
||||
let port = location.port;
|
||||
let currentSite = window.location.hostname;
|
||||
fullurllocation = proto + '//' + currentSite + ':' + port;
|
||||
window.location = 'http://isup.me/' + fullurllocation;
|
||||
}
|
26
rootfs/usr/share/httpd/default/js/errorpages/loaddomain.js
Normal file
26
rootfs/usr/share/httpd/default/js/errorpages/loaddomain.js
Normal file
@@ -0,0 +1,26 @@
|
||||
function loadDomain(getURI, getID, getMessage) {
|
||||
let id = getID;
|
||||
let baseURI = getURI;
|
||||
let message = getMessage;
|
||||
let port = location.port;
|
||||
let url = location.hostname;
|
||||
let proto = location.protocol;
|
||||
let baseURL = baseURI || location.pathname;
|
||||
let base = baseURL.slice(0, baseURL.lastIndexOf('/'));
|
||||
if (!id) id = 'display-domain';
|
||||
if (!base) base = '/';
|
||||
if (!port)
|
||||
if (proto == 'https:') {
|
||||
port = 443;
|
||||
} else {
|
||||
port = 80;
|
||||
}
|
||||
console.log('Base: ' + base);
|
||||
full_url = proto + '//' + url + ':' + port + base;
|
||||
display = document.getElementById(id);
|
||||
display.href = full_url;
|
||||
display.title = full_url;
|
||||
message = message || '<div style="font-size:1.3rem;">' + full_url + '</div>';
|
||||
display.innerHTML = message;
|
||||
return full_url;
|
||||
}
|
26
rootfs/usr/share/httpd/default/js/errorpages/loadlocation.js
Normal file
26
rootfs/usr/share/httpd/default/js/errorpages/loadlocation.js
Normal file
@@ -0,0 +1,26 @@
|
||||
function loadLocation(getURI, getID, getMessage) {
|
||||
let id = getID;
|
||||
let baseURI = getURI;
|
||||
let message = getMessage;
|
||||
let port = location.port;
|
||||
let url = location.hostname;
|
||||
let proto = location.protocol;
|
||||
let baseURL = baseURI || location.pathname;
|
||||
let base = baseURL.slice(0, baseURL.lastIndexOf('/'));
|
||||
if (!id) id = 'display-location';
|
||||
if (!base) base = '/';
|
||||
if (!port)
|
||||
if (proto == 'https:') {
|
||||
port = 443;
|
||||
} else {
|
||||
port = 80;
|
||||
}
|
||||
console.log('Base: ' + base);
|
||||
full_url = proto + '//' + url + ':' + port + base;
|
||||
display = document.getElementById(id);
|
||||
display.href = full_url;
|
||||
display.title = full_url;
|
||||
message = message || '<div style="font-size:1.3rem;">Return to homepage</div>';
|
||||
display.innerHTML = message;
|
||||
return full_url;
|
||||
}
|
20
rootfs/usr/share/httpd/default/js/errorpages/scale.fix.js
Normal file
20
rootfs/usr/share/httpd/default/js/errorpages/scale.fix.js
Normal file
@@ -0,0 +1,20 @@
|
||||
var metas = document.getElementsByTagName('meta');
|
||||
var i;
|
||||
if (navigator.userAgent.match(/iPhone/i)) {
|
||||
for (i = 0; i < metas.length; i++) {
|
||||
if (metas[i].name == 'viewport') {
|
||||
metas[i].content =
|
||||
'width=device-width, minimum-scale=1.0, maximum-scale=1.0';
|
||||
}
|
||||
}
|
||||
document.addEventListener('gesturestart', gestureStart, false);
|
||||
}
|
||||
|
||||
function gestureStart() {
|
||||
for (i = 0; i < metas.length; i++) {
|
||||
if (metas[i].name == 'viewport') {
|
||||
metas[i].content =
|
||||
'width=device-width, minimum-scale=0.25, maximum-scale=1.6';
|
||||
}
|
||||
}
|
||||
}
|
5540
rootfs/usr/share/httpd/default/js/jquery/default.js
vendored
Normal file
5540
rootfs/usr/share/httpd/default/js/jquery/default.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
2294
rootfs/usr/share/httpd/default/js/passprotect.min.js
vendored
Normal file
2294
rootfs/usr/share/httpd/default/js/passprotect.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
14
rootfs/usr/share/httpd/default/site.webmanifest
Normal file
14
rootfs/usr/share/httpd/default/site.webmanifest
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"short_name": "",
|
||||
"name": "",
|
||||
"icons": [
|
||||
{
|
||||
"src": "./images/icon.png",
|
||||
"type": "image/png",
|
||||
"sizes": "192x192"
|
||||
}
|
||||
],
|
||||
"start_url": "/",
|
||||
"background_color": "#000000",
|
||||
"theme_color": "#ffffff"
|
||||
}
|
Reference in New Issue
Block a user