Merged in feat/scripts (pull request #8)

feat: add scripts locally

Approved-by: Christel Westerberg
This commit is contained in:
Simon.Emanuelsson
2024-01-23 08:36:35 +00:00
committed by Christel Westerberg
8 changed files with 68776 additions and 6 deletions

View File

@@ -33,28 +33,32 @@ export default function RootLayout({
src="https://consent.cookiebot.com/uc.js"
/>
<Script
src="https://www.scandichotels.com/Static/dist/js/head.js?85c84c9e24ae8da3e7af"
data-cookieconsent="ignore"
src="/Static/dist/js/head.js?85c84c9e24ae8da3e7af"
/>
<Script
src="https://www.scandichotels.com/Static/dist/js/inline.js?00133e5a37de35c51a5d"
data-cookieconsent="ignore"
src="/Static/dist/js/inline.js?00133e5a37de35c51a5d"
/>
<Script
src="https://www.scandichotels.com/Static/dist/js/ng/polyfills.js?1701356813379"
data-cookieconsent="ignore"
src="/Static/dist/js/main.js?89d0030e1a04b3b46d0b"
/>
<Script
src="https://www.scandichotels.com/Static/dist/js/ng/runtime.js?1701356813379"
data-cookieconsent="ignore"
src="/Static/dist/js/ng/polyfills.js?1705409330990"
/>
<Script
src="https://www.scandichotels.com/Static/dist/js/ng/main.js?1701356813379"
data-cookieconsent="ignore"
src="/Static/dist/js/ng/runtime.js?1705409330990"
/>
<Script
src="https://www.scandichotels.com/Static/dist/js/main-ng.js?2b211af0a0699f1ffcec"
data-cookieconsent="ignore"
src="/Static/dist/js/ng/main.js?1705409330990"
/>
<Script
data-cookieconsent="ignore"
src="/Static/dist/js/main-ng.js?336b801d6b38eff10884"
strategy="lazyOnload"
/>
</head>

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,112 @@
/*! For license information please see inline.js.LICENSE.txt */
!function() {
var t = {
33222: function(t, e, n) {
!function(t) {
"use strict";
t.loadCSS || (t.loadCSS = function() {}
);
var n = loadCSS.relpreload = {};
if (n.support = function() {
var e;
try {
e = t.document.createElement("link").relList.supports("preload")
} catch (t) {
e = !1
}
return function() {
return e
}
}(),
n.bindMediaToggle = function(t) {
var e = t.media || "all";
function n() {
t.media = e
}
t.addEventListener ? t.addEventListener("load", n) : t.attachEvent && t.attachEvent("onload", n),
setTimeout((function() {
t.rel = "stylesheet",
t.media = "only x"
}
)),
setTimeout(n, 3e3)
}
,
n.poly = function() {
if (!n.support())
for (var e = t.document.getElementsByTagName("link"), o = 0; o < e.length; o++) {
var r = e[o];
"preload" !== r.rel || "style" !== r.getAttribute("as") || r.getAttribute("data-loadcss") || (r.setAttribute("data-loadcss", !0),
n.bindMediaToggle(r))
}
}
,
!n.support()) {
n.poly();
var o = t.setInterval(n.poly, 500);
t.addEventListener ? t.addEventListener("load", (function() {
n.poly(),
t.clearInterval(o)
}
)) : t.attachEvent && t.attachEvent("onload", (function() {
n.poly(),
t.clearInterval(o)
}
))
}
e.loadCSS = loadCSS
}(void 0 !== n.g ? n.g : this)
}
}
, e = {};
function n(o) {
var r = e[o];
if (void 0 !== r)
return r.exports;
var a = e[o] = {
exports: {}
};
return t[o].call(a.exports, a, a.exports, n),
a.exports
}
n.n = function(t) {
var e = t && t.__esModule ? function() {
return t.default
}
: function() {
return t
}
;
return n.d(e, {
a: e
}),
e
}
,
n.d = function(t, e) {
for (var o in e)
n.o(e, o) && !n.o(t, o) && Object.defineProperty(t, o, {
enumerable: !0,
get: e[o]
})
}
,
n.g = function() {
if ("object" == typeof globalThis)
return globalThis;
try {
return this || new Function("return this")()
} catch (t) {
if ("object" == typeof window)
return window
}
}(),
n.o = function(t, e) {
return Object.prototype.hasOwnProperty.call(t, e)
}
,
function() {
"use strict";
n(33222)
}()
}();

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,96 @@
!function() {
"use strict";
var n, v = {}, _ = {};
function u(n) {
var e = _[n];
if (void 0 !== e)
return e.exports;
var r = _[n] = {
exports: {}
};
return v[n].call(r.exports, r, r.exports, u),
r.exports
}
u.m = v,
n = [],
u.O = function(e, r, c, f) {
if (!r) {
var o = 1 / 0;
for (t = 0; t < n.length; t++) {
r = n[t][0],
c = n[t][1],
f = n[t][2];
for (var l = !0, a = 0; a < r.length; a++)
(!1 & f || o >= f) && Object.keys(u.O).every(function(h) {
return u.O[h](r[a])
}) ? r.splice(a--, 1) : (l = !1,
f < o && (o = f));
if (l) {
n.splice(t--, 1);
var i = c();
void 0 !== i && (e = i)
}
}
return e
}
f = f || 0;
for (var t = n.length; t > 0 && n[t - 1][2] > f; t--)
n[t] = n[t - 1];
n[t] = [r, c, f]
}
,
u.n = function(n) {
var e = n && n.__esModule ? function() {
return n.default
}
: function() {
return n
}
;
return u.d(e, {
a: e
}),
e
}
,
u.d = function(n, e) {
for (var r in e)
u.o(e, r) && !u.o(n, r) && Object.defineProperty(n, r, {
enumerable: !0,
get: e[r]
})
}
,
u.o = function(n, e) {
return Object.prototype.hasOwnProperty.call(n, e)
}
,
function() {
var n = {
666: 0
};
u.O.j = function(c) {
return 0 === n[c]
}
;
var e = function(c, f) {
var a, i, t = f[0], o = f[1], l = f[2], s = 0;
if (t.some(function(b) {
return 0 !== n[b]
})) {
for (a in o)
u.o(o, a) && (u.m[a] = o[a]);
if (l)
var p = l(u)
}
for (c && c(f); s < t.length; s++)
u.o(n, i = t[s]) && n[i] && n[i][0](),
n[t[s]] = 0;
return u.O(p)
}
, r = self.webpackChunkxena_static = self.webpackChunkxena_static || [];
r.forEach(e.bind(null, 0)),
r.push = e.bind(null, r.push.bind(r))
}()
}();
//# sourceMappingURL=runtime.js.map