@swisspost/internet-header 1.9.1 → 1.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{language.service-9334ca5d.js → language.service-0864d021.js} +7 -2
- package/dist/cjs/language.service-0864d021.js.map +1 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/post-klp-login-widget.cjs.entry.js +1 -1
- package/dist/cjs/post-klp-login-widget.cjs.entry.js.map +1 -1
- package/dist/cjs/post-language-switch.cjs.entry.js +2 -2
- package/dist/cjs/post-language-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/post-logo.cjs.entry.js +1 -1
- package/dist/cjs/post-logo.cjs.entry.js.map +1 -1
- package/dist/cjs/post-main-navigation.cjs.entry.js +2 -2
- package/dist/cjs/post-main-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/post-meta-navigation.cjs.entry.js +1 -1
- package/dist/cjs/post-meta-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/post-search.cjs.entry.js +25 -2
- package/dist/cjs/post-search.cjs.entry.js.map +1 -1
- package/dist/cjs/post-skiplinks.cjs.entry.js +2 -2
- package/dist/cjs/post-skiplinks.cjs.entry.js.map +1 -1
- package/dist/cjs/swisspost-internet-breadcrumbs.cjs.entry.js +1329 -8
- package/dist/cjs/swisspost-internet-breadcrumbs.cjs.entry.js.map +1 -1
- package/dist/cjs/swisspost-internet-footer.cjs.entry.js +2 -2
- package/dist/cjs/swisspost-internet-footer.cjs.entry.js.map +1 -1
- package/dist/cjs/swisspost-internet-header.cjs.entry.js +67 -37
- package/dist/cjs/swisspost-internet-header.cjs.entry.js.map +1 -1
- package/dist/cjs/swisspost-internet-header.cjs.js +1 -1
- package/dist/collection/assets/i18n/translations.js +5 -0
- package/dist/collection/assets/i18n/translations.js.map +1 -1
- package/dist/collection/components/post-internet-breadcrumbs/post-internet-breadcrumbs.css +2 -2480
- package/dist/collection/components/post-internet-breadcrumbs/post-internet-breadcrumbs.js +77 -7
- package/dist/collection/components/post-internet-breadcrumbs/post-internet-breadcrumbs.js.map +1 -1
- package/dist/collection/components/post-internet-footer/post-internet-footer.css +1 -2300
- package/dist/collection/components/post-internet-header/logo-animation/logo-animation.js +6 -3
- package/dist/collection/components/post-internet-header/logo-animation/logo-animation.js.map +1 -1
- package/dist/collection/components/post-internet-header/post-internet-header.css +1 -403
- package/dist/collection/components/post-internet-header/post-internet-header.js +33 -26
- package/dist/collection/components/post-internet-header/post-internet-header.js.map +1 -1
- package/dist/collection/components/post-klp-login-widget/post-klp-login-widget.css +2 -1447
- package/dist/collection/components/post-klp-login-widget/post-klp-login-widget.js +1 -1
- package/dist/collection/components/post-klp-login-widget/post-klp-login-widget.js.map +1 -1
- package/dist/collection/components/post-language-switch/post-language-switch.css +1 -370
- package/dist/collection/components/post-language-switch/post-language-switch.js +2 -2
- package/dist/collection/components/post-language-switch/post-language-switch.js.map +1 -1
- package/dist/collection/components/post-logo/post-logo.css +1 -265
- package/dist/collection/components/post-main-navigation/post-main-navigation.css +1 -637
- package/dist/collection/components/post-main-navigation/post-main-navigation.js +1 -1
- package/dist/collection/components/post-main-navigation/post-main-navigation.js.map +1 -1
- package/dist/collection/components/post-meta-navigation/post-meta-navigation.css +1 -345
- package/dist/collection/components/post-search/post-search.css +4 -2927
- package/dist/collection/components/post-search/post-search.js +28 -5
- package/dist/collection/components/post-search/post-search.js.map +1 -1
- package/dist/collection/components/post-skiplinks/post-skiplinks.css +1 -21
- package/dist/collection/components/post-skiplinks/post-skiplinks.js +1 -1
- package/dist/collection/components/post-skiplinks/post-skiplinks.js.map +1 -1
- package/dist/collection/services/language.service.js +1 -1
- package/dist/collection/services/language.service.js.map +1 -1
- package/dist/collection/utils/scrollparent.js +21 -0
- package/dist/collection/utils/scrollparent.js.map +1 -0
- package/dist/components/language.service.js +6 -1
- package/dist/components/language.service.js.map +1 -1
- package/dist/components/post-klp-login-widget2.js +1 -1
- package/dist/components/post-klp-login-widget2.js.map +1 -1
- package/dist/components/post-language-switch2.js +1 -1
- package/dist/components/post-language-switch2.js.map +1 -1
- package/dist/components/post-logo2.js +1 -1
- package/dist/components/post-logo2.js.map +1 -1
- package/dist/components/post-main-navigation2.js +1 -1
- package/dist/components/post-main-navigation2.js.map +1 -1
- package/dist/components/post-meta-navigation2.js +1 -1
- package/dist/components/post-meta-navigation2.js.map +1 -1
- package/dist/components/post-search2.js +25 -2
- package/dist/components/post-search2.js.map +1 -1
- package/dist/components/post-skiplinks2.js +1 -1
- package/dist/components/post-skiplinks2.js.map +1 -1
- package/dist/components/swisspost-internet-breadcrumbs.js +1331 -8
- package/dist/components/swisspost-internet-breadcrumbs.js.map +1 -1
- package/dist/components/swisspost-internet-footer.js +1 -1
- package/dist/components/swisspost-internet-footer.js.map +1 -1
- package/dist/components/swisspost-internet-header.js +68 -38
- package/dist/components/swisspost-internet-header.js.map +1 -1
- package/dist/docs.json +51 -4
- package/dist/esm/{language.service-bd0f3b6f.js → language.service-109c485e.js} +7 -2
- package/dist/esm/language.service-109c485e.js.map +1 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/post-klp-login-widget.entry.js +1 -1
- package/dist/esm/post-klp-login-widget.entry.js.map +1 -1
- package/dist/esm/post-language-switch.entry.js +2 -2
- package/dist/esm/post-language-switch.entry.js.map +1 -1
- package/dist/esm/post-logo.entry.js +1 -1
- package/dist/esm/post-logo.entry.js.map +1 -1
- package/dist/esm/post-main-navigation.entry.js +2 -2
- package/dist/esm/post-main-navigation.entry.js.map +1 -1
- package/dist/esm/post-meta-navigation.entry.js +1 -1
- package/dist/esm/post-meta-navigation.entry.js.map +1 -1
- package/dist/esm/post-search.entry.js +25 -2
- package/dist/esm/post-search.entry.js.map +1 -1
- package/dist/esm/post-skiplinks.entry.js +2 -2
- package/dist/esm/post-skiplinks.entry.js.map +1 -1
- package/dist/esm/swisspost-internet-breadcrumbs.entry.js +1329 -8
- package/dist/esm/swisspost-internet-breadcrumbs.entry.js.map +1 -1
- package/dist/esm/swisspost-internet-footer.entry.js +2 -2
- package/dist/esm/swisspost-internet-footer.entry.js.map +1 -1
- package/dist/esm/swisspost-internet-header.entry.js +67 -37
- package/dist/esm/swisspost-internet-header.entry.js.map +1 -1
- package/dist/esm/swisspost-internet-header.js +1 -1
- package/dist/esm-es5/language.service-109c485e.js +2 -0
- package/dist/esm-es5/language.service-109c485e.js.map +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/loader.js.map +1 -1
- package/dist/esm-es5/post-klp-login-widget.entry.js +1 -1
- package/dist/esm-es5/post-klp-login-widget.entry.js.map +1 -1
- package/dist/esm-es5/post-language-switch.entry.js +1 -1
- package/dist/esm-es5/post-language-switch.entry.js.map +1 -1
- package/dist/esm-es5/post-logo.entry.js +1 -1
- package/dist/esm-es5/post-logo.entry.js.map +1 -1
- package/dist/esm-es5/post-main-navigation.entry.js +1 -1
- package/dist/esm-es5/post-main-navigation.entry.js.map +1 -1
- package/dist/esm-es5/post-meta-navigation.entry.js +1 -1
- package/dist/esm-es5/post-meta-navigation.entry.js.map +1 -1
- package/dist/esm-es5/post-search.entry.js +1 -1
- package/dist/esm-es5/post-search.entry.js.map +1 -1
- package/dist/esm-es5/post-skiplinks.entry.js +1 -1
- package/dist/esm-es5/post-skiplinks.entry.js.map +1 -1
- package/dist/esm-es5/swisspost-internet-breadcrumbs.entry.js +2 -2
- package/dist/esm-es5/swisspost-internet-breadcrumbs.entry.js.map +1 -1
- package/dist/esm-es5/swisspost-internet-footer.entry.js +1 -1
- package/dist/esm-es5/swisspost-internet-footer.entry.js.map +1 -1
- package/dist/esm-es5/swisspost-internet-header.entry.js +1 -1
- package/dist/esm-es5/swisspost-internet-header.entry.js.map +1 -1
- package/dist/esm-es5/swisspost-internet-header.js +1 -1
- package/dist/esm-es5/swisspost-internet-header.js.map +1 -1
- package/dist/swisspost-internet-header/p-0216631b.system.entry.js +2 -0
- package/dist/swisspost-internet-header/{p-e2df6e93.system.entry.js.map → p-0216631b.system.entry.js.map} +1 -1
- package/dist/swisspost-internet-header/p-0352b702.system.entry.js +7 -0
- package/dist/swisspost-internet-header/p-0352b702.system.entry.js.map +1 -0
- package/dist/swisspost-internet-header/p-0e4299a3.entry.js +2 -0
- package/dist/swisspost-internet-header/{p-6bb07a80.entry.js.map → p-0e4299a3.entry.js.map} +1 -1
- package/dist/swisspost-internet-header/p-10bfe973.system.entry.js +2 -0
- package/dist/swisspost-internet-header/p-10bfe973.system.entry.js.map +1 -0
- package/dist/swisspost-internet-header/p-142627fa.entry.js +2 -0
- package/dist/swisspost-internet-header/{p-9ab24fb3.entry.js.map → p-142627fa.entry.js.map} +1 -1
- package/dist/swisspost-internet-header/p-194475b8.system.js +2 -0
- package/dist/swisspost-internet-header/p-194475b8.system.js.map +1 -0
- package/dist/swisspost-internet-header/p-1a526dc3.system.entry.js +2 -0
- package/dist/swisspost-internet-header/p-1a526dc3.system.entry.js.map +1 -0
- package/dist/swisspost-internet-header/p-28bcc0a1.entry.js +2 -0
- package/dist/swisspost-internet-header/p-28bcc0a1.entry.js.map +1 -0
- package/dist/swisspost-internet-header/p-312fcf55.system.entry.js +2 -0
- package/dist/swisspost-internet-header/{p-fed8d74d.system.entry.js.map → p-312fcf55.system.entry.js.map} +1 -1
- package/dist/swisspost-internet-header/p-334412b2.entry.js +2 -0
- package/dist/swisspost-internet-header/p-334412b2.entry.js.map +1 -0
- package/dist/swisspost-internet-header/p-334616bc.system.entry.js +2 -0
- package/dist/swisspost-internet-header/{p-0bfadd54.system.entry.js.map → p-334616bc.system.entry.js.map} +1 -1
- package/dist/swisspost-internet-header/p-37872478.entry.js +7 -0
- package/dist/swisspost-internet-header/p-37872478.entry.js.map +1 -0
- package/dist/swisspost-internet-header/p-4da084d9.entry.js +2 -0
- package/dist/swisspost-internet-header/{p-273fd39b.entry.js.map → p-4da084d9.entry.js.map} +1 -1
- package/dist/swisspost-internet-header/p-5d893017.system.js +1 -1
- package/dist/swisspost-internet-header/p-5d893017.system.js.map +1 -1
- package/dist/swisspost-internet-header/p-77426673.entry.js +2 -0
- package/dist/swisspost-internet-header/{p-0dd2de97.entry.js.map → p-77426673.entry.js.map} +1 -1
- package/dist/swisspost-internet-header/p-7ddfd160.entry.js +2 -0
- package/dist/swisspost-internet-header/p-7ddfd160.entry.js.map +1 -0
- package/dist/swisspost-internet-header/p-8120031d.system.entry.js +2 -0
- package/dist/swisspost-internet-header/{p-3c8504b4.system.entry.js.map → p-8120031d.system.entry.js.map} +1 -1
- package/dist/swisspost-internet-header/p-935c70e1.js +2 -0
- package/dist/swisspost-internet-header/p-935c70e1.js.map +1 -0
- package/dist/swisspost-internet-header/p-95a1384f.system.entry.js +2 -0
- package/dist/swisspost-internet-header/p-95a1384f.system.entry.js.map +1 -0
- package/dist/swisspost-internet-header/p-b5937320.entry.js +2 -0
- package/dist/swisspost-internet-header/p-b5937320.entry.js.map +1 -0
- package/dist/swisspost-internet-header/p-c291d766.system.entry.js +2 -0
- package/dist/swisspost-internet-header/{p-131078ce.system.entry.js.map → p-c291d766.system.entry.js.map} +1 -1
- package/dist/swisspost-internet-header/p-cfc4dbfd.entry.js +2 -0
- package/dist/swisspost-internet-header/{p-51c15273.entry.js.map → p-cfc4dbfd.entry.js.map} +1 -1
- package/dist/swisspost-internet-header/p-d4106bf6.system.entry.js +2 -0
- package/dist/swisspost-internet-header/{p-a366648c.system.entry.js.map → p-d4106bf6.system.entry.js.map} +1 -1
- package/dist/swisspost-internet-header/swisspost-internet-header.css +2 -4
- package/dist/swisspost-internet-header/swisspost-internet-header.esm.js +1 -1
- package/dist/swisspost-internet-header/swisspost-internet-header.esm.js.map +1 -1
- package/dist/types/assets/i18n/translations.d.ts +5 -0
- package/dist/types/components/post-internet-breadcrumbs/post-internet-breadcrumbs.d.ts +13 -4
- package/dist/types/components/post-internet-header/post-internet-header.d.ts +4 -3
- package/dist/types/components/post-klp-login-widget/post-klp-login-widget.d.ts +1 -1
- package/dist/types/components/post-search/post-search.d.ts +6 -0
- package/dist/types/components/post-skiplinks/post-skiplinks.d.ts +1 -1
- package/dist/types/components.d.ts +19 -6
- package/dist/types/services/language.service.d.ts +7 -5
- package/dist/types/utils/scrollparent.d.ts +1 -0
- package/package.json +13 -12
- package/dist/cjs/language.service-9334ca5d.js.map +0 -1
- package/dist/esm/language.service-bd0f3b6f.js.map +0 -1
- package/dist/esm-es5/language.service-bd0f3b6f.js +0 -2
- package/dist/esm-es5/language.service-bd0f3b6f.js.map +0 -1
- package/dist/swisspost-internet-header/p-06d32a28.entry.js +0 -7
- package/dist/swisspost-internet-header/p-06d32a28.entry.js.map +0 -1
- package/dist/swisspost-internet-header/p-0bfadd54.system.entry.js +0 -2
- package/dist/swisspost-internet-header/p-0dd2de97.entry.js +0 -2
- package/dist/swisspost-internet-header/p-1078e964.system.entry.js +0 -2
- package/dist/swisspost-internet-header/p-1078e964.system.entry.js.map +0 -1
- package/dist/swisspost-internet-header/p-131078ce.system.entry.js +0 -2
- package/dist/swisspost-internet-header/p-262611f7.entry.js +0 -2
- package/dist/swisspost-internet-header/p-262611f7.entry.js.map +0 -1
- package/dist/swisspost-internet-header/p-273fd39b.entry.js +0 -2
- package/dist/swisspost-internet-header/p-3c8504b4.system.entry.js +0 -2
- package/dist/swisspost-internet-header/p-4099b274.system.js +0 -2
- package/dist/swisspost-internet-header/p-4099b274.system.js.map +0 -1
- package/dist/swisspost-internet-header/p-51c15273.entry.js +0 -2
- package/dist/swisspost-internet-header/p-5baac371.system.entry.js +0 -2
- package/dist/swisspost-internet-header/p-5baac371.system.entry.js.map +0 -1
- package/dist/swisspost-internet-header/p-64e1182b.entry.js +0 -2
- package/dist/swisspost-internet-header/p-64e1182b.entry.js.map +0 -1
- package/dist/swisspost-internet-header/p-6bb07a80.entry.js +0 -2
- package/dist/swisspost-internet-header/p-6f69aff4.system.entry.js +0 -2
- package/dist/swisspost-internet-header/p-6f69aff4.system.entry.js.map +0 -1
- package/dist/swisspost-internet-header/p-7bed0797.js +0 -2
- package/dist/swisspost-internet-header/p-7bed0797.js.map +0 -1
- package/dist/swisspost-internet-header/p-97c90e22.system.entry.js +0 -7
- package/dist/swisspost-internet-header/p-97c90e22.system.entry.js.map +0 -1
- package/dist/swisspost-internet-header/p-9ab24fb3.entry.js +0 -2
- package/dist/swisspost-internet-header/p-9ec1f474.entry.js +0 -2
- package/dist/swisspost-internet-header/p-9ec1f474.entry.js.map +0 -1
- package/dist/swisspost-internet-header/p-a366648c.system.entry.js +0 -2
- package/dist/swisspost-internet-header/p-e2df6e93.system.entry.js +0 -2
- package/dist/swisspost-internet-header/p-f531c1ea.entry.js +0 -2
- package/dist/swisspost-internet-header/p-f531c1ea.entry.js.map +0 -1
- package/dist/swisspost-internet-header/p-fed8d74d.system.entry.js +0 -2
|
@@ -600,7 +600,7 @@ const OverlayComponent = (props) => (h("div", { class: "overlay", onClick: () =>
|
|
|
600
600
|
h("div", { class: "loader-wrapper" },
|
|
601
601
|
h("div", { class: "loader" })))));
|
|
602
602
|
|
|
603
|
-
var iframeResizer = createCommonjsModule(function (module) {
|
|
603
|
+
var iframeResizer$1 = createCommonjsModule(function (module) {
|
|
604
604
|
(function (undefined$1) {
|
|
605
605
|
if (typeof window === 'undefined') return // don't run for server side render
|
|
606
606
|
|
|
@@ -2057,6 +2057,1308 @@ var iframeResizer = createCommonjsModule(function (module) {
|
|
|
2057
2057
|
})();
|
|
2058
2058
|
});
|
|
2059
2059
|
|
|
2060
|
+
var iframeResizer_contentWindow = createCommonjsModule(function (module) {
|
|
2061
|
+
(function (undefined$1) {
|
|
2062
|
+
if (typeof window === 'undefined') return // don't run for server side render
|
|
2063
|
+
|
|
2064
|
+
var autoResize = true,
|
|
2065
|
+
base = 10,
|
|
2066
|
+
bodyBackground = '',
|
|
2067
|
+
bodyMargin = 0,
|
|
2068
|
+
bodyMarginStr = '',
|
|
2069
|
+
bodyObserver = null,
|
|
2070
|
+
bodyPadding = '',
|
|
2071
|
+
calculateWidth = false,
|
|
2072
|
+
doubleEventList = { resize: 1, click: 1 },
|
|
2073
|
+
eventCancelTimer = 128,
|
|
2074
|
+
firstRun = true,
|
|
2075
|
+
height = 1,
|
|
2076
|
+
heightCalcModeDefault = 'bodyOffset',
|
|
2077
|
+
heightCalcMode = heightCalcModeDefault,
|
|
2078
|
+
initLock = true,
|
|
2079
|
+
initMsg = '',
|
|
2080
|
+
inPageLinks = {},
|
|
2081
|
+
interval = 32,
|
|
2082
|
+
intervalTimer = null,
|
|
2083
|
+
logging = false,
|
|
2084
|
+
mouseEvents = false,
|
|
2085
|
+
msgID = '[iFrameSizer]', // Must match host page msg ID
|
|
2086
|
+
msgIdLen = msgID.length,
|
|
2087
|
+
myID = '',
|
|
2088
|
+
resetRequiredMethods = {
|
|
2089
|
+
max: 1,
|
|
2090
|
+
min: 1,
|
|
2091
|
+
bodyScroll: 1,
|
|
2092
|
+
documentElementScroll: 1
|
|
2093
|
+
},
|
|
2094
|
+
resizeFrom = 'child',
|
|
2095
|
+
target = window.parent,
|
|
2096
|
+
targetOriginDefault = '*',
|
|
2097
|
+
tolerance = 0,
|
|
2098
|
+
triggerLocked = false,
|
|
2099
|
+
triggerLockedTimer = null,
|
|
2100
|
+
throttledTimer = 16,
|
|
2101
|
+
width = 1,
|
|
2102
|
+
widthCalcModeDefault = 'scroll',
|
|
2103
|
+
widthCalcMode = widthCalcModeDefault,
|
|
2104
|
+
win = window,
|
|
2105
|
+
onMessage = function () {
|
|
2106
|
+
warn('onMessage function not defined');
|
|
2107
|
+
},
|
|
2108
|
+
onReady = function () {},
|
|
2109
|
+
onPageInfo = function () {},
|
|
2110
|
+
customCalcMethods = {
|
|
2111
|
+
height: function () {
|
|
2112
|
+
warn('Custom height calculation function not defined');
|
|
2113
|
+
return document.documentElement.offsetHeight
|
|
2114
|
+
},
|
|
2115
|
+
width: function () {
|
|
2116
|
+
warn('Custom width calculation function not defined');
|
|
2117
|
+
return document.body.scrollWidth
|
|
2118
|
+
}
|
|
2119
|
+
},
|
|
2120
|
+
eventHandlersByName = {},
|
|
2121
|
+
passiveSupported = false;
|
|
2122
|
+
|
|
2123
|
+
function noop() {}
|
|
2124
|
+
|
|
2125
|
+
try {
|
|
2126
|
+
var options = Object.create(
|
|
2127
|
+
{},
|
|
2128
|
+
{
|
|
2129
|
+
passive: {
|
|
2130
|
+
// eslint-disable-next-line getter-return
|
|
2131
|
+
get: function () {
|
|
2132
|
+
passiveSupported = true;
|
|
2133
|
+
}
|
|
2134
|
+
}
|
|
2135
|
+
}
|
|
2136
|
+
);
|
|
2137
|
+
window.addEventListener('test', noop, options);
|
|
2138
|
+
window.removeEventListener('test', noop, options);
|
|
2139
|
+
} catch (error) {
|
|
2140
|
+
/* */
|
|
2141
|
+
}
|
|
2142
|
+
|
|
2143
|
+
function addEventListener(el, evt, func, options) {
|
|
2144
|
+
el.addEventListener(evt, func, passiveSupported ? options || {} : false);
|
|
2145
|
+
}
|
|
2146
|
+
|
|
2147
|
+
function removeEventListener(el, evt, func) {
|
|
2148
|
+
el.removeEventListener(evt, func, false);
|
|
2149
|
+
}
|
|
2150
|
+
|
|
2151
|
+
function capitalizeFirstLetter(string) {
|
|
2152
|
+
return string.charAt(0).toUpperCase() + string.slice(1)
|
|
2153
|
+
}
|
|
2154
|
+
|
|
2155
|
+
// Based on underscore.js
|
|
2156
|
+
function throttle(func) {
|
|
2157
|
+
var context,
|
|
2158
|
+
args,
|
|
2159
|
+
result,
|
|
2160
|
+
timeout = null,
|
|
2161
|
+
previous = 0,
|
|
2162
|
+
later = function () {
|
|
2163
|
+
previous = Date.now();
|
|
2164
|
+
timeout = null;
|
|
2165
|
+
result = func.apply(context, args);
|
|
2166
|
+
if (!timeout) {
|
|
2167
|
+
// eslint-disable-next-line no-multi-assign
|
|
2168
|
+
context = args = null;
|
|
2169
|
+
}
|
|
2170
|
+
};
|
|
2171
|
+
|
|
2172
|
+
return function () {
|
|
2173
|
+
var now = Date.now();
|
|
2174
|
+
|
|
2175
|
+
if (!previous) {
|
|
2176
|
+
previous = now;
|
|
2177
|
+
}
|
|
2178
|
+
|
|
2179
|
+
var remaining = throttledTimer - (now - previous);
|
|
2180
|
+
|
|
2181
|
+
context = this;
|
|
2182
|
+
args = arguments;
|
|
2183
|
+
|
|
2184
|
+
if (remaining <= 0 || remaining > throttledTimer) {
|
|
2185
|
+
if (timeout) {
|
|
2186
|
+
clearTimeout(timeout);
|
|
2187
|
+
timeout = null;
|
|
2188
|
+
}
|
|
2189
|
+
|
|
2190
|
+
previous = now;
|
|
2191
|
+
result = func.apply(context, args);
|
|
2192
|
+
|
|
2193
|
+
if (!timeout) {
|
|
2194
|
+
// eslint-disable-next-line no-multi-assign
|
|
2195
|
+
context = args = null;
|
|
2196
|
+
}
|
|
2197
|
+
} else if (!timeout) {
|
|
2198
|
+
timeout = setTimeout(later, remaining);
|
|
2199
|
+
}
|
|
2200
|
+
|
|
2201
|
+
return result
|
|
2202
|
+
}
|
|
2203
|
+
}
|
|
2204
|
+
|
|
2205
|
+
function formatLogMsg(msg) {
|
|
2206
|
+
return msgID + '[' + myID + '] ' + msg
|
|
2207
|
+
}
|
|
2208
|
+
|
|
2209
|
+
function log(msg) {
|
|
2210
|
+
if (logging && 'object' === typeof window.console) {
|
|
2211
|
+
// eslint-disable-next-line no-console
|
|
2212
|
+
console.log(formatLogMsg(msg));
|
|
2213
|
+
}
|
|
2214
|
+
}
|
|
2215
|
+
|
|
2216
|
+
function warn(msg) {
|
|
2217
|
+
if ('object' === typeof window.console) {
|
|
2218
|
+
// eslint-disable-next-line no-console
|
|
2219
|
+
console.warn(formatLogMsg(msg));
|
|
2220
|
+
}
|
|
2221
|
+
}
|
|
2222
|
+
|
|
2223
|
+
function init() {
|
|
2224
|
+
readDataFromParent();
|
|
2225
|
+
log('Initialising iFrame (' + window.location.href + ')');
|
|
2226
|
+
readDataFromPage();
|
|
2227
|
+
setMargin();
|
|
2228
|
+
setBodyStyle('background', bodyBackground);
|
|
2229
|
+
setBodyStyle('padding', bodyPadding);
|
|
2230
|
+
injectClearFixIntoBodyElement();
|
|
2231
|
+
checkHeightMode();
|
|
2232
|
+
checkWidthMode();
|
|
2233
|
+
stopInfiniteResizingOfIFrame();
|
|
2234
|
+
setupPublicMethods();
|
|
2235
|
+
setupMouseEvents();
|
|
2236
|
+
startEventListeners();
|
|
2237
|
+
inPageLinks = setupInPageLinks();
|
|
2238
|
+
sendSize('init', 'Init message from host page');
|
|
2239
|
+
onReady();
|
|
2240
|
+
}
|
|
2241
|
+
|
|
2242
|
+
function readDataFromParent() {
|
|
2243
|
+
function strBool(str) {
|
|
2244
|
+
return 'true' === str
|
|
2245
|
+
}
|
|
2246
|
+
|
|
2247
|
+
var data = initMsg.slice(msgIdLen).split(':');
|
|
2248
|
+
|
|
2249
|
+
myID = data[0];
|
|
2250
|
+
bodyMargin = undefined$1 === data[1] ? bodyMargin : Number(data[1]); // For V1 compatibility
|
|
2251
|
+
calculateWidth = undefined$1 === data[2] ? calculateWidth : strBool(data[2]);
|
|
2252
|
+
logging = undefined$1 === data[3] ? logging : strBool(data[3]);
|
|
2253
|
+
interval = undefined$1 === data[4] ? interval : Number(data[4]);
|
|
2254
|
+
autoResize = undefined$1 === data[6] ? autoResize : strBool(data[6]);
|
|
2255
|
+
bodyMarginStr = data[7];
|
|
2256
|
+
heightCalcMode = undefined$1 === data[8] ? heightCalcMode : data[8];
|
|
2257
|
+
bodyBackground = data[9];
|
|
2258
|
+
bodyPadding = data[10];
|
|
2259
|
+
tolerance = undefined$1 === data[11] ? tolerance : Number(data[11]);
|
|
2260
|
+
inPageLinks.enable = undefined$1 === data[12] ? false : strBool(data[12]);
|
|
2261
|
+
resizeFrom = undefined$1 === data[13] ? resizeFrom : data[13];
|
|
2262
|
+
widthCalcMode = undefined$1 === data[14] ? widthCalcMode : data[14];
|
|
2263
|
+
mouseEvents = undefined$1 === data[15] ? mouseEvents : strBool(data[15]);
|
|
2264
|
+
}
|
|
2265
|
+
|
|
2266
|
+
function depricate(key) {
|
|
2267
|
+
var splitName = key.split('Callback');
|
|
2268
|
+
|
|
2269
|
+
if (splitName.length === 2) {
|
|
2270
|
+
var name =
|
|
2271
|
+
'on' + splitName[0].charAt(0).toUpperCase() + splitName[0].slice(1);
|
|
2272
|
+
this[name] = this[key];
|
|
2273
|
+
delete this[key];
|
|
2274
|
+
warn(
|
|
2275
|
+
"Deprecated: '" +
|
|
2276
|
+
key +
|
|
2277
|
+
"' has been renamed '" +
|
|
2278
|
+
name +
|
|
2279
|
+
"'. The old method will be removed in the next major version."
|
|
2280
|
+
);
|
|
2281
|
+
}
|
|
2282
|
+
}
|
|
2283
|
+
|
|
2284
|
+
function readDataFromPage() {
|
|
2285
|
+
function readData() {
|
|
2286
|
+
var data = window.iFrameResizer;
|
|
2287
|
+
|
|
2288
|
+
log('Reading data from page: ' + JSON.stringify(data));
|
|
2289
|
+
Object.keys(data).forEach(depricate, data);
|
|
2290
|
+
|
|
2291
|
+
onMessage = 'onMessage' in data ? data.onMessage : onMessage;
|
|
2292
|
+
onReady = 'onReady' in data ? data.onReady : onReady;
|
|
2293
|
+
targetOriginDefault =
|
|
2294
|
+
'targetOrigin' in data ? data.targetOrigin : targetOriginDefault;
|
|
2295
|
+
heightCalcMode =
|
|
2296
|
+
'heightCalculationMethod' in data
|
|
2297
|
+
? data.heightCalculationMethod
|
|
2298
|
+
: heightCalcMode;
|
|
2299
|
+
widthCalcMode =
|
|
2300
|
+
'widthCalculationMethod' in data
|
|
2301
|
+
? data.widthCalculationMethod
|
|
2302
|
+
: widthCalcMode;
|
|
2303
|
+
}
|
|
2304
|
+
|
|
2305
|
+
function setupCustomCalcMethods(calcMode, calcFunc) {
|
|
2306
|
+
if ('function' === typeof calcMode) {
|
|
2307
|
+
log('Setup custom ' + calcFunc + 'CalcMethod');
|
|
2308
|
+
customCalcMethods[calcFunc] = calcMode;
|
|
2309
|
+
calcMode = 'custom';
|
|
2310
|
+
}
|
|
2311
|
+
|
|
2312
|
+
return calcMode
|
|
2313
|
+
}
|
|
2314
|
+
|
|
2315
|
+
if (
|
|
2316
|
+
'iFrameResizer' in window &&
|
|
2317
|
+
Object === window.iFrameResizer.constructor
|
|
2318
|
+
) {
|
|
2319
|
+
readData();
|
|
2320
|
+
heightCalcMode = setupCustomCalcMethods(heightCalcMode, 'height');
|
|
2321
|
+
widthCalcMode = setupCustomCalcMethods(widthCalcMode, 'width');
|
|
2322
|
+
}
|
|
2323
|
+
|
|
2324
|
+
log('TargetOrigin for parent set to: ' + targetOriginDefault);
|
|
2325
|
+
}
|
|
2326
|
+
|
|
2327
|
+
function chkCSS(attr, value) {
|
|
2328
|
+
if (-1 !== value.indexOf('-')) {
|
|
2329
|
+
warn('Negative CSS value ignored for ' + attr);
|
|
2330
|
+
value = '';
|
|
2331
|
+
}
|
|
2332
|
+
return value
|
|
2333
|
+
}
|
|
2334
|
+
|
|
2335
|
+
function setBodyStyle(attr, value) {
|
|
2336
|
+
if (undefined$1 !== value && '' !== value && 'null' !== value) {
|
|
2337
|
+
document.body.style[attr] = value;
|
|
2338
|
+
log('Body ' + attr + ' set to "' + value + '"');
|
|
2339
|
+
}
|
|
2340
|
+
}
|
|
2341
|
+
|
|
2342
|
+
function setMargin() {
|
|
2343
|
+
// If called via V1 script, convert bodyMargin from int to str
|
|
2344
|
+
if (undefined$1 === bodyMarginStr) {
|
|
2345
|
+
bodyMarginStr = bodyMargin + 'px';
|
|
2346
|
+
}
|
|
2347
|
+
|
|
2348
|
+
setBodyStyle('margin', chkCSS('margin', bodyMarginStr));
|
|
2349
|
+
}
|
|
2350
|
+
|
|
2351
|
+
function stopInfiniteResizingOfIFrame() {
|
|
2352
|
+
document.documentElement.style.height = '';
|
|
2353
|
+
document.body.style.height = '';
|
|
2354
|
+
log('HTML & body height set to "auto"');
|
|
2355
|
+
}
|
|
2356
|
+
|
|
2357
|
+
function manageTriggerEvent(options) {
|
|
2358
|
+
var listener = {
|
|
2359
|
+
add: function (eventName) {
|
|
2360
|
+
function handleEvent() {
|
|
2361
|
+
sendSize(options.eventName, options.eventType);
|
|
2362
|
+
}
|
|
2363
|
+
|
|
2364
|
+
eventHandlersByName[eventName] = handleEvent;
|
|
2365
|
+
|
|
2366
|
+
addEventListener(window, eventName, handleEvent, { passive: true });
|
|
2367
|
+
},
|
|
2368
|
+
remove: function (eventName) {
|
|
2369
|
+
var handleEvent = eventHandlersByName[eventName];
|
|
2370
|
+
delete eventHandlersByName[eventName];
|
|
2371
|
+
|
|
2372
|
+
removeEventListener(window, eventName, handleEvent);
|
|
2373
|
+
}
|
|
2374
|
+
};
|
|
2375
|
+
|
|
2376
|
+
if (options.eventNames && Array.prototype.map) {
|
|
2377
|
+
options.eventName = options.eventNames[0];
|
|
2378
|
+
options.eventNames.map(listener[options.method]);
|
|
2379
|
+
} else {
|
|
2380
|
+
listener[options.method](options.eventName);
|
|
2381
|
+
}
|
|
2382
|
+
|
|
2383
|
+
log(
|
|
2384
|
+
capitalizeFirstLetter(options.method) +
|
|
2385
|
+
' event listener: ' +
|
|
2386
|
+
options.eventType
|
|
2387
|
+
);
|
|
2388
|
+
}
|
|
2389
|
+
|
|
2390
|
+
function manageEventListeners(method) {
|
|
2391
|
+
manageTriggerEvent({
|
|
2392
|
+
method: method,
|
|
2393
|
+
eventType: 'Animation Start',
|
|
2394
|
+
eventNames: ['animationstart', 'webkitAnimationStart']
|
|
2395
|
+
});
|
|
2396
|
+
manageTriggerEvent({
|
|
2397
|
+
method: method,
|
|
2398
|
+
eventType: 'Animation Iteration',
|
|
2399
|
+
eventNames: ['animationiteration', 'webkitAnimationIteration']
|
|
2400
|
+
});
|
|
2401
|
+
manageTriggerEvent({
|
|
2402
|
+
method: method,
|
|
2403
|
+
eventType: 'Animation End',
|
|
2404
|
+
eventNames: ['animationend', 'webkitAnimationEnd']
|
|
2405
|
+
});
|
|
2406
|
+
manageTriggerEvent({
|
|
2407
|
+
method: method,
|
|
2408
|
+
eventType: 'Input',
|
|
2409
|
+
eventName: 'input'
|
|
2410
|
+
});
|
|
2411
|
+
manageTriggerEvent({
|
|
2412
|
+
method: method,
|
|
2413
|
+
eventType: 'Mouse Up',
|
|
2414
|
+
eventName: 'mouseup'
|
|
2415
|
+
});
|
|
2416
|
+
manageTriggerEvent({
|
|
2417
|
+
method: method,
|
|
2418
|
+
eventType: 'Mouse Down',
|
|
2419
|
+
eventName: 'mousedown'
|
|
2420
|
+
});
|
|
2421
|
+
manageTriggerEvent({
|
|
2422
|
+
method: method,
|
|
2423
|
+
eventType: 'Orientation Change',
|
|
2424
|
+
eventName: 'orientationchange'
|
|
2425
|
+
});
|
|
2426
|
+
manageTriggerEvent({
|
|
2427
|
+
method: method,
|
|
2428
|
+
eventType: 'Print',
|
|
2429
|
+
eventNames: ['afterprint', 'beforeprint']
|
|
2430
|
+
});
|
|
2431
|
+
manageTriggerEvent({
|
|
2432
|
+
method: method,
|
|
2433
|
+
eventType: 'Ready State Change',
|
|
2434
|
+
eventName: 'readystatechange'
|
|
2435
|
+
});
|
|
2436
|
+
manageTriggerEvent({
|
|
2437
|
+
method: method,
|
|
2438
|
+
eventType: 'Touch Start',
|
|
2439
|
+
eventName: 'touchstart'
|
|
2440
|
+
});
|
|
2441
|
+
manageTriggerEvent({
|
|
2442
|
+
method: method,
|
|
2443
|
+
eventType: 'Touch End',
|
|
2444
|
+
eventName: 'touchend'
|
|
2445
|
+
});
|
|
2446
|
+
manageTriggerEvent({
|
|
2447
|
+
method: method,
|
|
2448
|
+
eventType: 'Touch Cancel',
|
|
2449
|
+
eventName: 'touchcancel'
|
|
2450
|
+
});
|
|
2451
|
+
manageTriggerEvent({
|
|
2452
|
+
method: method,
|
|
2453
|
+
eventType: 'Transition Start',
|
|
2454
|
+
eventNames: [
|
|
2455
|
+
'transitionstart',
|
|
2456
|
+
'webkitTransitionStart',
|
|
2457
|
+
'MSTransitionStart',
|
|
2458
|
+
'oTransitionStart',
|
|
2459
|
+
'otransitionstart'
|
|
2460
|
+
]
|
|
2461
|
+
});
|
|
2462
|
+
manageTriggerEvent({
|
|
2463
|
+
method: method,
|
|
2464
|
+
eventType: 'Transition Iteration',
|
|
2465
|
+
eventNames: [
|
|
2466
|
+
'transitioniteration',
|
|
2467
|
+
'webkitTransitionIteration',
|
|
2468
|
+
'MSTransitionIteration',
|
|
2469
|
+
'oTransitionIteration',
|
|
2470
|
+
'otransitioniteration'
|
|
2471
|
+
]
|
|
2472
|
+
});
|
|
2473
|
+
manageTriggerEvent({
|
|
2474
|
+
method: method,
|
|
2475
|
+
eventType: 'Transition End',
|
|
2476
|
+
eventNames: [
|
|
2477
|
+
'transitionend',
|
|
2478
|
+
'webkitTransitionEnd',
|
|
2479
|
+
'MSTransitionEnd',
|
|
2480
|
+
'oTransitionEnd',
|
|
2481
|
+
'otransitionend'
|
|
2482
|
+
]
|
|
2483
|
+
});
|
|
2484
|
+
if ('child' === resizeFrom) {
|
|
2485
|
+
manageTriggerEvent({
|
|
2486
|
+
method: method,
|
|
2487
|
+
eventType: 'IFrame Resized',
|
|
2488
|
+
eventName: 'resize'
|
|
2489
|
+
});
|
|
2490
|
+
}
|
|
2491
|
+
}
|
|
2492
|
+
|
|
2493
|
+
function checkCalcMode(calcMode, calcModeDefault, modes, type) {
|
|
2494
|
+
if (calcModeDefault !== calcMode) {
|
|
2495
|
+
if (!(calcMode in modes)) {
|
|
2496
|
+
warn(
|
|
2497
|
+
calcMode + ' is not a valid option for ' + type + 'CalculationMethod.'
|
|
2498
|
+
);
|
|
2499
|
+
calcMode = calcModeDefault;
|
|
2500
|
+
}
|
|
2501
|
+
log(type + ' calculation method set to "' + calcMode + '"');
|
|
2502
|
+
}
|
|
2503
|
+
|
|
2504
|
+
return calcMode
|
|
2505
|
+
}
|
|
2506
|
+
|
|
2507
|
+
function checkHeightMode() {
|
|
2508
|
+
heightCalcMode = checkCalcMode(
|
|
2509
|
+
heightCalcMode,
|
|
2510
|
+
heightCalcModeDefault,
|
|
2511
|
+
getHeight,
|
|
2512
|
+
'height'
|
|
2513
|
+
);
|
|
2514
|
+
}
|
|
2515
|
+
|
|
2516
|
+
function checkWidthMode() {
|
|
2517
|
+
widthCalcMode = checkCalcMode(
|
|
2518
|
+
widthCalcMode,
|
|
2519
|
+
widthCalcModeDefault,
|
|
2520
|
+
getWidth,
|
|
2521
|
+
'width'
|
|
2522
|
+
);
|
|
2523
|
+
}
|
|
2524
|
+
|
|
2525
|
+
function startEventListeners() {
|
|
2526
|
+
if (true === autoResize) {
|
|
2527
|
+
manageEventListeners('add');
|
|
2528
|
+
setupMutationObserver();
|
|
2529
|
+
} else {
|
|
2530
|
+
log('Auto Resize disabled');
|
|
2531
|
+
}
|
|
2532
|
+
}
|
|
2533
|
+
|
|
2534
|
+
// function stopMsgsToParent() {
|
|
2535
|
+
// log('Disable outgoing messages')
|
|
2536
|
+
// sendPermit = false
|
|
2537
|
+
// }
|
|
2538
|
+
|
|
2539
|
+
// function removeMsgListener() {
|
|
2540
|
+
// log('Remove event listener: Message')
|
|
2541
|
+
// removeEventListener(window, 'message', receiver)
|
|
2542
|
+
// }
|
|
2543
|
+
|
|
2544
|
+
function disconnectMutationObserver() {
|
|
2545
|
+
if (null !== bodyObserver) {
|
|
2546
|
+
/* istanbul ignore next */ // Not testable in PhantonJS
|
|
2547
|
+
bodyObserver.disconnect();
|
|
2548
|
+
}
|
|
2549
|
+
}
|
|
2550
|
+
|
|
2551
|
+
function stopEventListeners() {
|
|
2552
|
+
manageEventListeners('remove');
|
|
2553
|
+
disconnectMutationObserver();
|
|
2554
|
+
clearInterval(intervalTimer);
|
|
2555
|
+
}
|
|
2556
|
+
|
|
2557
|
+
// function teardown() {
|
|
2558
|
+
// stopMsgsToParent()
|
|
2559
|
+
// removeMsgListener()
|
|
2560
|
+
// if (true === autoResize) stopEventListeners()
|
|
2561
|
+
// }
|
|
2562
|
+
|
|
2563
|
+
function injectClearFixIntoBodyElement() {
|
|
2564
|
+
var clearFix = document.createElement('div');
|
|
2565
|
+
clearFix.style.clear = 'both';
|
|
2566
|
+
// Guard against the following having been globally redefined in CSS.
|
|
2567
|
+
clearFix.style.display = 'block';
|
|
2568
|
+
clearFix.style.height = '0';
|
|
2569
|
+
document.body.appendChild(clearFix);
|
|
2570
|
+
}
|
|
2571
|
+
|
|
2572
|
+
function setupInPageLinks() {
|
|
2573
|
+
function getPagePosition() {
|
|
2574
|
+
return {
|
|
2575
|
+
x:
|
|
2576
|
+
window.pageXOffset === undefined$1
|
|
2577
|
+
? document.documentElement.scrollLeft
|
|
2578
|
+
: window.pageXOffset,
|
|
2579
|
+
y:
|
|
2580
|
+
window.pageYOffset === undefined$1
|
|
2581
|
+
? document.documentElement.scrollTop
|
|
2582
|
+
: window.pageYOffset
|
|
2583
|
+
}
|
|
2584
|
+
}
|
|
2585
|
+
|
|
2586
|
+
function getElementPosition(el) {
|
|
2587
|
+
var elPosition = el.getBoundingClientRect(),
|
|
2588
|
+
pagePosition = getPagePosition();
|
|
2589
|
+
|
|
2590
|
+
return {
|
|
2591
|
+
x: parseInt(elPosition.left, 10) + parseInt(pagePosition.x, 10),
|
|
2592
|
+
y: parseInt(elPosition.top, 10) + parseInt(pagePosition.y, 10)
|
|
2593
|
+
}
|
|
2594
|
+
}
|
|
2595
|
+
|
|
2596
|
+
function findTarget(location) {
|
|
2597
|
+
function jumpToTarget(target) {
|
|
2598
|
+
var jumpPosition = getElementPosition(target);
|
|
2599
|
+
|
|
2600
|
+
log(
|
|
2601
|
+
'Moving to in page link (#' +
|
|
2602
|
+
hash +
|
|
2603
|
+
') at x: ' +
|
|
2604
|
+
jumpPosition.x +
|
|
2605
|
+
' y: ' +
|
|
2606
|
+
jumpPosition.y
|
|
2607
|
+
);
|
|
2608
|
+
sendMsg(jumpPosition.y, jumpPosition.x, 'scrollToOffset'); // X&Y reversed at sendMsg uses height/width
|
|
2609
|
+
}
|
|
2610
|
+
|
|
2611
|
+
var hash = location.split('#')[1] || location, // Remove # if present
|
|
2612
|
+
hashData = decodeURIComponent(hash),
|
|
2613
|
+
target =
|
|
2614
|
+
document.getElementById(hashData) ||
|
|
2615
|
+
document.getElementsByName(hashData)[0];
|
|
2616
|
+
|
|
2617
|
+
if (undefined$1 === target) {
|
|
2618
|
+
log(
|
|
2619
|
+
'In page link (#' +
|
|
2620
|
+
hash +
|
|
2621
|
+
') not found in iFrame, so sending to parent'
|
|
2622
|
+
);
|
|
2623
|
+
sendMsg(0, 0, 'inPageLink', '#' + hash);
|
|
2624
|
+
} else {
|
|
2625
|
+
jumpToTarget(target);
|
|
2626
|
+
}
|
|
2627
|
+
}
|
|
2628
|
+
|
|
2629
|
+
function checkLocationHash() {
|
|
2630
|
+
var hash = window.location.hash;
|
|
2631
|
+
var href = window.location.href;
|
|
2632
|
+
|
|
2633
|
+
if ('' !== hash && '#' !== hash) {
|
|
2634
|
+
findTarget(href);
|
|
2635
|
+
}
|
|
2636
|
+
}
|
|
2637
|
+
|
|
2638
|
+
function bindAnchors() {
|
|
2639
|
+
function setupLink(el) {
|
|
2640
|
+
function linkClicked(e) {
|
|
2641
|
+
e.preventDefault();
|
|
2642
|
+
|
|
2643
|
+
/* jshint validthis:true */
|
|
2644
|
+
findTarget(this.getAttribute('href'));
|
|
2645
|
+
}
|
|
2646
|
+
|
|
2647
|
+
if ('#' !== el.getAttribute('href')) {
|
|
2648
|
+
addEventListener(el, 'click', linkClicked);
|
|
2649
|
+
}
|
|
2650
|
+
}
|
|
2651
|
+
|
|
2652
|
+
Array.prototype.forEach.call(
|
|
2653
|
+
document.querySelectorAll('a[href^="#"]'),
|
|
2654
|
+
setupLink
|
|
2655
|
+
);
|
|
2656
|
+
}
|
|
2657
|
+
|
|
2658
|
+
function bindLocationHash() {
|
|
2659
|
+
addEventListener(window, 'hashchange', checkLocationHash);
|
|
2660
|
+
}
|
|
2661
|
+
|
|
2662
|
+
function initCheck() {
|
|
2663
|
+
// Check if page loaded with location hash after init resize
|
|
2664
|
+
setTimeout(checkLocationHash, eventCancelTimer);
|
|
2665
|
+
}
|
|
2666
|
+
|
|
2667
|
+
function enableInPageLinks() {
|
|
2668
|
+
/* istanbul ignore else */ // Not testable in phantonJS
|
|
2669
|
+
if (Array.prototype.forEach && document.querySelectorAll) {
|
|
2670
|
+
log('Setting up location.hash handlers');
|
|
2671
|
+
bindAnchors();
|
|
2672
|
+
bindLocationHash();
|
|
2673
|
+
initCheck();
|
|
2674
|
+
} else {
|
|
2675
|
+
warn(
|
|
2676
|
+
'In page linking not fully supported in this browser! (See README.md for IE8 workaround)'
|
|
2677
|
+
);
|
|
2678
|
+
}
|
|
2679
|
+
}
|
|
2680
|
+
|
|
2681
|
+
if (inPageLinks.enable) {
|
|
2682
|
+
enableInPageLinks();
|
|
2683
|
+
} else {
|
|
2684
|
+
log('In page linking not enabled');
|
|
2685
|
+
}
|
|
2686
|
+
|
|
2687
|
+
return {
|
|
2688
|
+
findTarget: findTarget
|
|
2689
|
+
}
|
|
2690
|
+
}
|
|
2691
|
+
|
|
2692
|
+
function setupMouseEvents() {
|
|
2693
|
+
if (mouseEvents !== true) return
|
|
2694
|
+
|
|
2695
|
+
function sendMouse(e) {
|
|
2696
|
+
sendMsg(0, 0, e.type, e.screenY + ':' + e.screenX);
|
|
2697
|
+
}
|
|
2698
|
+
|
|
2699
|
+
function addMouseListener(evt, name) {
|
|
2700
|
+
log('Add event listener: ' + name);
|
|
2701
|
+
addEventListener(window.document, evt, sendMouse);
|
|
2702
|
+
}
|
|
2703
|
+
|
|
2704
|
+
addMouseListener('mouseenter', 'Mouse Enter');
|
|
2705
|
+
addMouseListener('mouseleave', 'Mouse Leave');
|
|
2706
|
+
}
|
|
2707
|
+
|
|
2708
|
+
function setupPublicMethods() {
|
|
2709
|
+
log('Enable public methods');
|
|
2710
|
+
|
|
2711
|
+
win.parentIFrame = {
|
|
2712
|
+
autoResize: function autoResizeF(resize) {
|
|
2713
|
+
if (true === resize && false === autoResize) {
|
|
2714
|
+
autoResize = true;
|
|
2715
|
+
startEventListeners();
|
|
2716
|
+
} else if (false === resize && true === autoResize) {
|
|
2717
|
+
autoResize = false;
|
|
2718
|
+
stopEventListeners();
|
|
2719
|
+
}
|
|
2720
|
+
sendMsg(0, 0, 'autoResize', JSON.stringify(autoResize));
|
|
2721
|
+
return autoResize
|
|
2722
|
+
},
|
|
2723
|
+
|
|
2724
|
+
close: function closeF() {
|
|
2725
|
+
sendMsg(0, 0, 'close');
|
|
2726
|
+
// teardown()
|
|
2727
|
+
},
|
|
2728
|
+
|
|
2729
|
+
getId: function getIdF() {
|
|
2730
|
+
return myID
|
|
2731
|
+
},
|
|
2732
|
+
|
|
2733
|
+
getPageInfo: function getPageInfoF(callback) {
|
|
2734
|
+
if ('function' === typeof callback) {
|
|
2735
|
+
onPageInfo = callback;
|
|
2736
|
+
sendMsg(0, 0, 'pageInfo');
|
|
2737
|
+
} else {
|
|
2738
|
+
onPageInfo = function () {};
|
|
2739
|
+
sendMsg(0, 0, 'pageInfoStop');
|
|
2740
|
+
}
|
|
2741
|
+
},
|
|
2742
|
+
|
|
2743
|
+
moveToAnchor: function moveToAnchorF(hash) {
|
|
2744
|
+
inPageLinks.findTarget(hash);
|
|
2745
|
+
},
|
|
2746
|
+
|
|
2747
|
+
reset: function resetF() {
|
|
2748
|
+
resetIFrame('parentIFrame.reset');
|
|
2749
|
+
},
|
|
2750
|
+
|
|
2751
|
+
scrollTo: function scrollToF(x, y) {
|
|
2752
|
+
sendMsg(y, x, 'scrollTo'); // X&Y reversed at sendMsg uses height/width
|
|
2753
|
+
},
|
|
2754
|
+
|
|
2755
|
+
scrollToOffset: function scrollToF(x, y) {
|
|
2756
|
+
sendMsg(y, x, 'scrollToOffset'); // X&Y reversed at sendMsg uses height/width
|
|
2757
|
+
},
|
|
2758
|
+
|
|
2759
|
+
sendMessage: function sendMessageF(msg, targetOrigin) {
|
|
2760
|
+
sendMsg(0, 0, 'message', JSON.stringify(msg), targetOrigin);
|
|
2761
|
+
},
|
|
2762
|
+
|
|
2763
|
+
setHeightCalculationMethod: function setHeightCalculationMethodF(
|
|
2764
|
+
heightCalculationMethod
|
|
2765
|
+
) {
|
|
2766
|
+
heightCalcMode = heightCalculationMethod;
|
|
2767
|
+
checkHeightMode();
|
|
2768
|
+
},
|
|
2769
|
+
|
|
2770
|
+
setWidthCalculationMethod: function setWidthCalculationMethodF(
|
|
2771
|
+
widthCalculationMethod
|
|
2772
|
+
) {
|
|
2773
|
+
widthCalcMode = widthCalculationMethod;
|
|
2774
|
+
checkWidthMode();
|
|
2775
|
+
},
|
|
2776
|
+
|
|
2777
|
+
setTargetOrigin: function setTargetOriginF(targetOrigin) {
|
|
2778
|
+
log('Set targetOrigin: ' + targetOrigin);
|
|
2779
|
+
targetOriginDefault = targetOrigin;
|
|
2780
|
+
},
|
|
2781
|
+
|
|
2782
|
+
size: function sizeF(customHeight, customWidth) {
|
|
2783
|
+
var valString =
|
|
2784
|
+
'' + (customHeight || '') + (customWidth ? ',' + customWidth : '');
|
|
2785
|
+
sendSize(
|
|
2786
|
+
'size',
|
|
2787
|
+
'parentIFrame.size(' + valString + ')',
|
|
2788
|
+
customHeight,
|
|
2789
|
+
customWidth
|
|
2790
|
+
);
|
|
2791
|
+
}
|
|
2792
|
+
};
|
|
2793
|
+
}
|
|
2794
|
+
|
|
2795
|
+
function initInterval() {
|
|
2796
|
+
if (0 !== interval) {
|
|
2797
|
+
log('setInterval: ' + interval + 'ms');
|
|
2798
|
+
intervalTimer = setInterval(function () {
|
|
2799
|
+
sendSize('interval', 'setInterval: ' + interval);
|
|
2800
|
+
}, Math.abs(interval));
|
|
2801
|
+
}
|
|
2802
|
+
}
|
|
2803
|
+
|
|
2804
|
+
// Not testable in PhantomJS
|
|
2805
|
+
/* istanbul ignore next */
|
|
2806
|
+
function setupBodyMutationObserver() {
|
|
2807
|
+
function addImageLoadListners(mutation) {
|
|
2808
|
+
function addImageLoadListener(element) {
|
|
2809
|
+
if (false === element.complete) {
|
|
2810
|
+
log('Attach listeners to ' + element.src);
|
|
2811
|
+
element.addEventListener('load', imageLoaded, false);
|
|
2812
|
+
element.addEventListener('error', imageError, false);
|
|
2813
|
+
elements.push(element);
|
|
2814
|
+
}
|
|
2815
|
+
}
|
|
2816
|
+
|
|
2817
|
+
if (mutation.type === 'attributes' && mutation.attributeName === 'src') {
|
|
2818
|
+
addImageLoadListener(mutation.target);
|
|
2819
|
+
} else if (mutation.type === 'childList') {
|
|
2820
|
+
Array.prototype.forEach.call(
|
|
2821
|
+
mutation.target.querySelectorAll('img'),
|
|
2822
|
+
addImageLoadListener
|
|
2823
|
+
);
|
|
2824
|
+
}
|
|
2825
|
+
}
|
|
2826
|
+
|
|
2827
|
+
function removeFromArray(element) {
|
|
2828
|
+
elements.splice(elements.indexOf(element), 1);
|
|
2829
|
+
}
|
|
2830
|
+
|
|
2831
|
+
function removeImageLoadListener(element) {
|
|
2832
|
+
log('Remove listeners from ' + element.src);
|
|
2833
|
+
element.removeEventListener('load', imageLoaded, false);
|
|
2834
|
+
element.removeEventListener('error', imageError, false);
|
|
2835
|
+
removeFromArray(element);
|
|
2836
|
+
}
|
|
2837
|
+
|
|
2838
|
+
function imageEventTriggered(event, type, typeDesc) {
|
|
2839
|
+
removeImageLoadListener(event.target);
|
|
2840
|
+
sendSize(type, typeDesc + ': ' + event.target.src);
|
|
2841
|
+
}
|
|
2842
|
+
|
|
2843
|
+
function imageLoaded(event) {
|
|
2844
|
+
imageEventTriggered(event, 'imageLoad', 'Image loaded');
|
|
2845
|
+
}
|
|
2846
|
+
|
|
2847
|
+
function imageError(event) {
|
|
2848
|
+
imageEventTriggered(event, 'imageLoadFailed', 'Image load failed');
|
|
2849
|
+
}
|
|
2850
|
+
|
|
2851
|
+
function mutationObserved(mutations) {
|
|
2852
|
+
sendSize(
|
|
2853
|
+
'mutationObserver',
|
|
2854
|
+
'mutationObserver: ' + mutations[0].target + ' ' + mutations[0].type
|
|
2855
|
+
);
|
|
2856
|
+
|
|
2857
|
+
// Deal with WebKit / Blink asyncing image loading when tags are injected into the page
|
|
2858
|
+
mutations.forEach(addImageLoadListners);
|
|
2859
|
+
}
|
|
2860
|
+
|
|
2861
|
+
function createMutationObserver() {
|
|
2862
|
+
var target = document.querySelector('body'),
|
|
2863
|
+
config = {
|
|
2864
|
+
attributes: true,
|
|
2865
|
+
attributeOldValue: false,
|
|
2866
|
+
characterData: true,
|
|
2867
|
+
characterDataOldValue: false,
|
|
2868
|
+
childList: true,
|
|
2869
|
+
subtree: true
|
|
2870
|
+
};
|
|
2871
|
+
|
|
2872
|
+
observer = new MutationObserver(mutationObserved);
|
|
2873
|
+
|
|
2874
|
+
log('Create body MutationObserver');
|
|
2875
|
+
observer.observe(target, config);
|
|
2876
|
+
|
|
2877
|
+
return observer
|
|
2878
|
+
}
|
|
2879
|
+
|
|
2880
|
+
var elements = [],
|
|
2881
|
+
MutationObserver =
|
|
2882
|
+
window.MutationObserver || window.WebKitMutationObserver,
|
|
2883
|
+
observer = createMutationObserver();
|
|
2884
|
+
|
|
2885
|
+
return {
|
|
2886
|
+
disconnect: function () {
|
|
2887
|
+
if ('disconnect' in observer) {
|
|
2888
|
+
log('Disconnect body MutationObserver');
|
|
2889
|
+
observer.disconnect();
|
|
2890
|
+
elements.forEach(removeImageLoadListener);
|
|
2891
|
+
}
|
|
2892
|
+
}
|
|
2893
|
+
}
|
|
2894
|
+
}
|
|
2895
|
+
|
|
2896
|
+
function setupMutationObserver() {
|
|
2897
|
+
var forceIntervalTimer = 0 > interval;
|
|
2898
|
+
|
|
2899
|
+
// Not testable in PhantomJS
|
|
2900
|
+
/* istanbul ignore if */ if (
|
|
2901
|
+
window.MutationObserver ||
|
|
2902
|
+
window.WebKitMutationObserver
|
|
2903
|
+
) {
|
|
2904
|
+
if (forceIntervalTimer) {
|
|
2905
|
+
initInterval();
|
|
2906
|
+
} else {
|
|
2907
|
+
bodyObserver = setupBodyMutationObserver();
|
|
2908
|
+
}
|
|
2909
|
+
} else {
|
|
2910
|
+
log('MutationObserver not supported in this browser!');
|
|
2911
|
+
initInterval();
|
|
2912
|
+
}
|
|
2913
|
+
}
|
|
2914
|
+
|
|
2915
|
+
// document.documentElement.offsetHeight is not reliable, so
|
|
2916
|
+
// we have to jump through hoops to get a better value.
|
|
2917
|
+
function getComputedStyle(prop, el) {
|
|
2918
|
+
var retVal = 0;
|
|
2919
|
+
el = el || document.body; // Not testable in phantonJS
|
|
2920
|
+
|
|
2921
|
+
retVal = document.defaultView.getComputedStyle(el, null);
|
|
2922
|
+
retVal = null === retVal ? 0 : retVal[prop];
|
|
2923
|
+
|
|
2924
|
+
return parseInt(retVal, base)
|
|
2925
|
+
}
|
|
2926
|
+
|
|
2927
|
+
function chkEventThottle(timer) {
|
|
2928
|
+
if (timer > throttledTimer / 2) {
|
|
2929
|
+
throttledTimer = 2 * timer;
|
|
2930
|
+
log('Event throttle increased to ' + throttledTimer + 'ms');
|
|
2931
|
+
}
|
|
2932
|
+
}
|
|
2933
|
+
|
|
2934
|
+
// Idea from https://github.com/guardian/iframe-messenger
|
|
2935
|
+
function getMaxElement(side, elements) {
|
|
2936
|
+
var elementsLength = elements.length,
|
|
2937
|
+
elVal = 0,
|
|
2938
|
+
maxVal = 0,
|
|
2939
|
+
Side = capitalizeFirstLetter(side),
|
|
2940
|
+
timer = Date.now();
|
|
2941
|
+
|
|
2942
|
+
for (var i = 0; i < elementsLength; i++) {
|
|
2943
|
+
elVal =
|
|
2944
|
+
elements[i].getBoundingClientRect()[side] +
|
|
2945
|
+
getComputedStyle('margin' + Side, elements[i]);
|
|
2946
|
+
if (elVal > maxVal) {
|
|
2947
|
+
maxVal = elVal;
|
|
2948
|
+
}
|
|
2949
|
+
}
|
|
2950
|
+
|
|
2951
|
+
timer = Date.now() - timer;
|
|
2952
|
+
|
|
2953
|
+
log('Parsed ' + elementsLength + ' HTML elements');
|
|
2954
|
+
log('Element position calculated in ' + timer + 'ms');
|
|
2955
|
+
|
|
2956
|
+
chkEventThottle(timer);
|
|
2957
|
+
|
|
2958
|
+
return maxVal
|
|
2959
|
+
}
|
|
2960
|
+
|
|
2961
|
+
function getAllMeasurements(dimensions) {
|
|
2962
|
+
return [
|
|
2963
|
+
dimensions.bodyOffset(),
|
|
2964
|
+
dimensions.bodyScroll(),
|
|
2965
|
+
dimensions.documentElementOffset(),
|
|
2966
|
+
dimensions.documentElementScroll()
|
|
2967
|
+
]
|
|
2968
|
+
}
|
|
2969
|
+
|
|
2970
|
+
function getTaggedElements(side, tag) {
|
|
2971
|
+
function noTaggedElementsFound() {
|
|
2972
|
+
warn('No tagged elements (' + tag + ') found on page');
|
|
2973
|
+
return document.querySelectorAll('body *')
|
|
2974
|
+
}
|
|
2975
|
+
|
|
2976
|
+
var elements = document.querySelectorAll('[' + tag + ']');
|
|
2977
|
+
|
|
2978
|
+
if (elements.length === 0) noTaggedElementsFound();
|
|
2979
|
+
|
|
2980
|
+
return getMaxElement(side, elements)
|
|
2981
|
+
}
|
|
2982
|
+
|
|
2983
|
+
function getAllElements() {
|
|
2984
|
+
return document.querySelectorAll('body *')
|
|
2985
|
+
}
|
|
2986
|
+
|
|
2987
|
+
var getHeight = {
|
|
2988
|
+
bodyOffset: function getBodyOffsetHeight() {
|
|
2989
|
+
return (
|
|
2990
|
+
document.body.offsetHeight +
|
|
2991
|
+
getComputedStyle('marginTop') +
|
|
2992
|
+
getComputedStyle('marginBottom')
|
|
2993
|
+
)
|
|
2994
|
+
},
|
|
2995
|
+
|
|
2996
|
+
offset: function () {
|
|
2997
|
+
return getHeight.bodyOffset() // Backwards compatibility
|
|
2998
|
+
},
|
|
2999
|
+
|
|
3000
|
+
bodyScroll: function getBodyScrollHeight() {
|
|
3001
|
+
return document.body.scrollHeight
|
|
3002
|
+
},
|
|
3003
|
+
|
|
3004
|
+
custom: function getCustomWidth() {
|
|
3005
|
+
return customCalcMethods.height()
|
|
3006
|
+
},
|
|
3007
|
+
|
|
3008
|
+
documentElementOffset: function getDEOffsetHeight() {
|
|
3009
|
+
return document.documentElement.offsetHeight
|
|
3010
|
+
},
|
|
3011
|
+
|
|
3012
|
+
documentElementScroll: function getDEScrollHeight() {
|
|
3013
|
+
return document.documentElement.scrollHeight
|
|
3014
|
+
},
|
|
3015
|
+
|
|
3016
|
+
max: function getMaxHeight() {
|
|
3017
|
+
return Math.max.apply(null, getAllMeasurements(getHeight))
|
|
3018
|
+
},
|
|
3019
|
+
|
|
3020
|
+
min: function getMinHeight() {
|
|
3021
|
+
return Math.min.apply(null, getAllMeasurements(getHeight))
|
|
3022
|
+
},
|
|
3023
|
+
|
|
3024
|
+
grow: function growHeight() {
|
|
3025
|
+
return getHeight.max() // Run max without the forced downsizing
|
|
3026
|
+
},
|
|
3027
|
+
|
|
3028
|
+
lowestElement: function getBestHeight() {
|
|
3029
|
+
return Math.max(
|
|
3030
|
+
getHeight.bodyOffset() || getHeight.documentElementOffset(),
|
|
3031
|
+
getMaxElement('bottom', getAllElements())
|
|
3032
|
+
)
|
|
3033
|
+
},
|
|
3034
|
+
|
|
3035
|
+
taggedElement: function getTaggedElementsHeight() {
|
|
3036
|
+
return getTaggedElements('bottom', 'data-iframe-height')
|
|
3037
|
+
}
|
|
3038
|
+
},
|
|
3039
|
+
getWidth = {
|
|
3040
|
+
bodyScroll: function getBodyScrollWidth() {
|
|
3041
|
+
return document.body.scrollWidth
|
|
3042
|
+
},
|
|
3043
|
+
|
|
3044
|
+
bodyOffset: function getBodyOffsetWidth() {
|
|
3045
|
+
return document.body.offsetWidth
|
|
3046
|
+
},
|
|
3047
|
+
|
|
3048
|
+
custom: function getCustomWidth() {
|
|
3049
|
+
return customCalcMethods.width()
|
|
3050
|
+
},
|
|
3051
|
+
|
|
3052
|
+
documentElementScroll: function getDEScrollWidth() {
|
|
3053
|
+
return document.documentElement.scrollWidth
|
|
3054
|
+
},
|
|
3055
|
+
|
|
3056
|
+
documentElementOffset: function getDEOffsetWidth() {
|
|
3057
|
+
return document.documentElement.offsetWidth
|
|
3058
|
+
},
|
|
3059
|
+
|
|
3060
|
+
scroll: function getMaxWidth() {
|
|
3061
|
+
return Math.max(getWidth.bodyScroll(), getWidth.documentElementScroll())
|
|
3062
|
+
},
|
|
3063
|
+
|
|
3064
|
+
max: function getMaxWidth() {
|
|
3065
|
+
return Math.max.apply(null, getAllMeasurements(getWidth))
|
|
3066
|
+
},
|
|
3067
|
+
|
|
3068
|
+
min: function getMinWidth() {
|
|
3069
|
+
return Math.min.apply(null, getAllMeasurements(getWidth))
|
|
3070
|
+
},
|
|
3071
|
+
|
|
3072
|
+
rightMostElement: function rightMostElement() {
|
|
3073
|
+
return getMaxElement('right', getAllElements())
|
|
3074
|
+
},
|
|
3075
|
+
|
|
3076
|
+
taggedElement: function getTaggedElementsWidth() {
|
|
3077
|
+
return getTaggedElements('right', 'data-iframe-width')
|
|
3078
|
+
}
|
|
3079
|
+
};
|
|
3080
|
+
|
|
3081
|
+
function sizeIFrame(
|
|
3082
|
+
triggerEvent,
|
|
3083
|
+
triggerEventDesc,
|
|
3084
|
+
customHeight,
|
|
3085
|
+
customWidth
|
|
3086
|
+
) {
|
|
3087
|
+
function resizeIFrame() {
|
|
3088
|
+
height = currentHeight;
|
|
3089
|
+
width = currentWidth;
|
|
3090
|
+
|
|
3091
|
+
sendMsg(height, width, triggerEvent);
|
|
3092
|
+
}
|
|
3093
|
+
|
|
3094
|
+
function isSizeChangeDetected() {
|
|
3095
|
+
function checkTolarance(a, b) {
|
|
3096
|
+
var retVal = Math.abs(a - b) <= tolerance;
|
|
3097
|
+
return !retVal
|
|
3098
|
+
}
|
|
3099
|
+
|
|
3100
|
+
currentHeight =
|
|
3101
|
+
undefined$1 === customHeight ? getHeight[heightCalcMode]() : customHeight;
|
|
3102
|
+
currentWidth =
|
|
3103
|
+
undefined$1 === customWidth ? getWidth[widthCalcMode]() : customWidth;
|
|
3104
|
+
|
|
3105
|
+
return (
|
|
3106
|
+
checkTolarance(height, currentHeight) ||
|
|
3107
|
+
(calculateWidth && checkTolarance(width, currentWidth))
|
|
3108
|
+
)
|
|
3109
|
+
}
|
|
3110
|
+
|
|
3111
|
+
function isForceResizableEvent() {
|
|
3112
|
+
return !(triggerEvent in { init: 1, interval: 1, size: 1 })
|
|
3113
|
+
}
|
|
3114
|
+
|
|
3115
|
+
function isForceResizableCalcMode() {
|
|
3116
|
+
return (
|
|
3117
|
+
heightCalcMode in resetRequiredMethods ||
|
|
3118
|
+
(calculateWidth && widthCalcMode in resetRequiredMethods)
|
|
3119
|
+
)
|
|
3120
|
+
}
|
|
3121
|
+
|
|
3122
|
+
function logIgnored() {
|
|
3123
|
+
log('No change in size detected');
|
|
3124
|
+
}
|
|
3125
|
+
|
|
3126
|
+
function checkDownSizing() {
|
|
3127
|
+
if (isForceResizableEvent() && isForceResizableCalcMode()) {
|
|
3128
|
+
resetIFrame(triggerEventDesc);
|
|
3129
|
+
} else if (!(triggerEvent in { interval: 1 })) {
|
|
3130
|
+
logIgnored();
|
|
3131
|
+
}
|
|
3132
|
+
}
|
|
3133
|
+
|
|
3134
|
+
var currentHeight, currentWidth;
|
|
3135
|
+
|
|
3136
|
+
if (isSizeChangeDetected() || 'init' === triggerEvent) {
|
|
3137
|
+
lockTrigger();
|
|
3138
|
+
resizeIFrame();
|
|
3139
|
+
} else {
|
|
3140
|
+
checkDownSizing();
|
|
3141
|
+
}
|
|
3142
|
+
}
|
|
3143
|
+
|
|
3144
|
+
var sizeIFrameThrottled = throttle(sizeIFrame);
|
|
3145
|
+
|
|
3146
|
+
function sendSize(triggerEvent, triggerEventDesc, customHeight, customWidth) {
|
|
3147
|
+
function recordTrigger() {
|
|
3148
|
+
if (!(triggerEvent in { reset: 1, resetPage: 1, init: 1 })) {
|
|
3149
|
+
log('Trigger event: ' + triggerEventDesc);
|
|
3150
|
+
}
|
|
3151
|
+
}
|
|
3152
|
+
|
|
3153
|
+
function isDoubleFiredEvent() {
|
|
3154
|
+
return triggerLocked && triggerEvent in doubleEventList
|
|
3155
|
+
}
|
|
3156
|
+
|
|
3157
|
+
if (isDoubleFiredEvent()) {
|
|
3158
|
+
log('Trigger event cancelled: ' + triggerEvent);
|
|
3159
|
+
} else {
|
|
3160
|
+
recordTrigger();
|
|
3161
|
+
if (triggerEvent === 'init') {
|
|
3162
|
+
sizeIFrame(triggerEvent, triggerEventDesc, customHeight, customWidth);
|
|
3163
|
+
} else {
|
|
3164
|
+
sizeIFrameThrottled(
|
|
3165
|
+
triggerEvent,
|
|
3166
|
+
triggerEventDesc,
|
|
3167
|
+
customHeight,
|
|
3168
|
+
customWidth
|
|
3169
|
+
);
|
|
3170
|
+
}
|
|
3171
|
+
}
|
|
3172
|
+
}
|
|
3173
|
+
|
|
3174
|
+
function lockTrigger() {
|
|
3175
|
+
if (!triggerLocked) {
|
|
3176
|
+
triggerLocked = true;
|
|
3177
|
+
log('Trigger event lock on');
|
|
3178
|
+
}
|
|
3179
|
+
clearTimeout(triggerLockedTimer);
|
|
3180
|
+
triggerLockedTimer = setTimeout(function () {
|
|
3181
|
+
triggerLocked = false;
|
|
3182
|
+
log('Trigger event lock off');
|
|
3183
|
+
log('--');
|
|
3184
|
+
}, eventCancelTimer);
|
|
3185
|
+
}
|
|
3186
|
+
|
|
3187
|
+
function triggerReset(triggerEvent) {
|
|
3188
|
+
height = getHeight[heightCalcMode]();
|
|
3189
|
+
width = getWidth[widthCalcMode]();
|
|
3190
|
+
|
|
3191
|
+
sendMsg(height, width, triggerEvent);
|
|
3192
|
+
}
|
|
3193
|
+
|
|
3194
|
+
function resetIFrame(triggerEventDesc) {
|
|
3195
|
+
var hcm = heightCalcMode;
|
|
3196
|
+
heightCalcMode = heightCalcModeDefault;
|
|
3197
|
+
|
|
3198
|
+
log('Reset trigger event: ' + triggerEventDesc);
|
|
3199
|
+
lockTrigger();
|
|
3200
|
+
triggerReset('reset');
|
|
3201
|
+
|
|
3202
|
+
heightCalcMode = hcm;
|
|
3203
|
+
}
|
|
3204
|
+
|
|
3205
|
+
function sendMsg(height, width, triggerEvent, msg, targetOrigin) {
|
|
3206
|
+
function setTargetOrigin() {
|
|
3207
|
+
if (undefined$1 === targetOrigin) {
|
|
3208
|
+
targetOrigin = targetOriginDefault;
|
|
3209
|
+
} else {
|
|
3210
|
+
log('Message targetOrigin: ' + targetOrigin);
|
|
3211
|
+
}
|
|
3212
|
+
}
|
|
3213
|
+
|
|
3214
|
+
function sendToParent() {
|
|
3215
|
+
var size = height + ':' + width,
|
|
3216
|
+
message =
|
|
3217
|
+
myID +
|
|
3218
|
+
':' +
|
|
3219
|
+
size +
|
|
3220
|
+
':' +
|
|
3221
|
+
triggerEvent +
|
|
3222
|
+
(undefined$1 === msg ? '' : ':' + msg);
|
|
3223
|
+
|
|
3224
|
+
log('Sending message to host page (' + message + ')');
|
|
3225
|
+
target.postMessage(msgID + message, targetOrigin);
|
|
3226
|
+
}
|
|
3227
|
+
|
|
3228
|
+
{
|
|
3229
|
+
setTargetOrigin();
|
|
3230
|
+
sendToParent();
|
|
3231
|
+
}
|
|
3232
|
+
}
|
|
3233
|
+
|
|
3234
|
+
function receiver(event) {
|
|
3235
|
+
var processRequestFromParent = {
|
|
3236
|
+
init: function initFromParent() {
|
|
3237
|
+
initMsg = event.data;
|
|
3238
|
+
target = event.source;
|
|
3239
|
+
|
|
3240
|
+
init();
|
|
3241
|
+
firstRun = false;
|
|
3242
|
+
setTimeout(function () {
|
|
3243
|
+
initLock = false;
|
|
3244
|
+
}, eventCancelTimer);
|
|
3245
|
+
},
|
|
3246
|
+
|
|
3247
|
+
reset: function resetFromParent() {
|
|
3248
|
+
if (initLock) {
|
|
3249
|
+
log('Page reset ignored by init');
|
|
3250
|
+
} else {
|
|
3251
|
+
log('Page size reset by host page');
|
|
3252
|
+
triggerReset('resetPage');
|
|
3253
|
+
}
|
|
3254
|
+
},
|
|
3255
|
+
|
|
3256
|
+
resize: function resizeFromParent() {
|
|
3257
|
+
sendSize('resizeParent', 'Parent window requested size check');
|
|
3258
|
+
},
|
|
3259
|
+
|
|
3260
|
+
moveToAnchor: function moveToAnchorF() {
|
|
3261
|
+
inPageLinks.findTarget(getData());
|
|
3262
|
+
},
|
|
3263
|
+
inPageLink: function inPageLinkF() {
|
|
3264
|
+
this.moveToAnchor();
|
|
3265
|
+
}, // Backward compatibility
|
|
3266
|
+
|
|
3267
|
+
pageInfo: function pageInfoFromParent() {
|
|
3268
|
+
var msgBody = getData();
|
|
3269
|
+
log('PageInfoFromParent called from parent: ' + msgBody);
|
|
3270
|
+
onPageInfo(JSON.parse(msgBody));
|
|
3271
|
+
log(' --');
|
|
3272
|
+
},
|
|
3273
|
+
|
|
3274
|
+
message: function messageFromParent() {
|
|
3275
|
+
var msgBody = getData();
|
|
3276
|
+
|
|
3277
|
+
log('onMessage called from parent: ' + msgBody);
|
|
3278
|
+
// eslint-disable-next-line sonarjs/no-extra-arguments
|
|
3279
|
+
onMessage(JSON.parse(msgBody));
|
|
3280
|
+
log(' --');
|
|
3281
|
+
}
|
|
3282
|
+
};
|
|
3283
|
+
|
|
3284
|
+
function isMessageForUs() {
|
|
3285
|
+
return msgID === ('' + event.data).slice(0, msgIdLen) // ''+ Protects against non-string messages
|
|
3286
|
+
}
|
|
3287
|
+
|
|
3288
|
+
function getMessageType() {
|
|
3289
|
+
return event.data.split(']')[1].split(':')[0]
|
|
3290
|
+
}
|
|
3291
|
+
|
|
3292
|
+
function getData() {
|
|
3293
|
+
return event.data.slice(event.data.indexOf(':') + 1)
|
|
3294
|
+
}
|
|
3295
|
+
|
|
3296
|
+
function isMiddleTier() {
|
|
3297
|
+
return (
|
|
3298
|
+
(!(module.exports) &&
|
|
3299
|
+
'iFrameResize' in window) ||
|
|
3300
|
+
(window.jQuery !== undefined$1 &&
|
|
3301
|
+
'iFrameResize' in window.jQuery.prototype)
|
|
3302
|
+
)
|
|
3303
|
+
}
|
|
3304
|
+
|
|
3305
|
+
function isInitMsg() {
|
|
3306
|
+
// Test if this message is from a child below us. This is an ugly test, however, updating
|
|
3307
|
+
// the message format would break backwards compatibility.
|
|
3308
|
+
return event.data.split(':')[2] in { true: 1, false: 1 }
|
|
3309
|
+
}
|
|
3310
|
+
|
|
3311
|
+
function callFromParent() {
|
|
3312
|
+
var messageType = getMessageType();
|
|
3313
|
+
|
|
3314
|
+
if (messageType in processRequestFromParent) {
|
|
3315
|
+
processRequestFromParent[messageType]();
|
|
3316
|
+
} else if (!isMiddleTier() && !isInitMsg()) {
|
|
3317
|
+
warn('Unexpected message (' + event.data + ')');
|
|
3318
|
+
}
|
|
3319
|
+
}
|
|
3320
|
+
|
|
3321
|
+
function processMessage() {
|
|
3322
|
+
if (false === firstRun) {
|
|
3323
|
+
callFromParent();
|
|
3324
|
+
} else if (isInitMsg()) {
|
|
3325
|
+
processRequestFromParent.init();
|
|
3326
|
+
} else {
|
|
3327
|
+
log(
|
|
3328
|
+
'Ignored message of type "' +
|
|
3329
|
+
getMessageType() +
|
|
3330
|
+
'". Received before initialization.'
|
|
3331
|
+
);
|
|
3332
|
+
}
|
|
3333
|
+
}
|
|
3334
|
+
|
|
3335
|
+
if (isMessageForUs()) {
|
|
3336
|
+
processMessage();
|
|
3337
|
+
}
|
|
3338
|
+
}
|
|
3339
|
+
|
|
3340
|
+
// Normally the parent kicks things off when it detects the iFrame has loaded.
|
|
3341
|
+
// If this script is async-loaded, then tell parent page to retry init.
|
|
3342
|
+
function chkLateLoaded() {
|
|
3343
|
+
if ('loading' !== document.readyState) {
|
|
3344
|
+
window.parent.postMessage('[iFrameResizerChild]Ready', '*');
|
|
3345
|
+
}
|
|
3346
|
+
}
|
|
3347
|
+
|
|
3348
|
+
addEventListener(window, 'message', receiver);
|
|
3349
|
+
addEventListener(window, 'readystatechange', chkLateLoaded);
|
|
3350
|
+
chkLateLoaded();
|
|
3351
|
+
|
|
3352
|
+
|
|
3353
|
+
})();
|
|
3354
|
+
});
|
|
3355
|
+
|
|
3356
|
+
var iframeResizer = {
|
|
3357
|
+
iframeResize: iframeResizer$1,
|
|
3358
|
+
iframeResizer: iframeResizer$1, // Backwards compatibility
|
|
3359
|
+
contentWindow: iframeResizer_contentWindow
|
|
3360
|
+
};
|
|
3361
|
+
|
|
2060
3362
|
const MiddleLinks = (props) => {
|
|
2061
3363
|
return props.items.slice(1, -1).map(item => (h("li", { key: item.url },
|
|
2062
3364
|
h("a", { href: item.url, class: "nav-link", tabindex: props.focusable === false ? '-1' : undefined },
|
|
@@ -2091,7 +3393,7 @@ const BreadcrumbList = (props) => {
|
|
|
2091
3393
|
h("a", { class: "last-link nav-link", href: lastItem.url, tabindex: props.focusable === false ? '-1' : undefined, ref: el => (props.lastItemRef !== undefined ? props.lastItemRef(el) : null) }, lastItem.text))));
|
|
2092
3394
|
};
|
|
2093
3395
|
|
|
2094
|
-
const postInternetBreadcrumbsCss = "/*!\n * Copyright 2021 by Swiss Post, Information Technology\n */.btn-default,.btn-secondary{border:2px solid var(--post-gray-60)}.btn-default:focus,.btn-secondary:focus,.btn-default:not(:disabled):hover,.btn-secondary:not(:disabled):hover,.pretend-hover.btn-default,.pretend-hover.btn-secondary{border-color:var(--post-contrast-color)}:is(.bg-dark,.bg-primary,.bg-black,.bg-danger,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright) .btn-default,:is(.bg-dark,.bg-primary,.bg-black,.bg-danger,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright) .btn-secondary{border-color:var(--post-contrast-color)}:is(.bg-dark,.bg-primary,.bg-black,.bg-danger,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright) .btn-default:focus,:is(.bg-dark,.bg-primary,.bg-black,.bg-danger,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright) .btn-secondary:focus,:is(.bg-dark,.bg-primary,.bg-black,.bg-danger,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright) .btn-default:not(:disabled):hover,:is(.bg-dark,.bg-primary,.bg-black,.bg-danger,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright) .btn-secondary:not(:disabled):hover,:is(.bg-dark,.bg-primary,.bg-black,.bg-danger,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright) .pretend-hover.btn-default,:is(.bg-dark,.bg-primary,.bg-black,.bg-danger,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright) .pretend-hover.btn-secondary{border-color:var(--post-gray-40)}.btn-default:disabled,.btn-secondary:disabled{border-color:var(--post-gray-40);color:var(--post-gray-60)}.btn-default:focus,.btn-secondary:focus,.btn-link:focus,.btn-tertiary:focus,.btn-default:not(:disabled):hover,.btn-secondary:not(:disabled):hover,.btn-link:not(:disabled):hover,.btn-tertiary:not(:disabled):hover,.pretend-hover.btn-default,.pretend-hover.btn-secondary,.pretend-hover.btn-link,.pretend-hover.btn-tertiary{color:var(--post-contrast-color)}:is(.bg-dark,.bg-primary,.bg-black,.bg-danger,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright) .btn-default .pi,:is(.bg-dark,.bg-primary,.bg-black,.bg-danger,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright) .btn-secondary .pi,:is(.bg-dark,.bg-primary,.bg-black,.bg-danger,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright) .btn-link .pi,:is(.bg-dark,.bg-primary,.bg-black,.bg-danger,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright) .btn-tertiary .pi{-webkit-filter:invert(1);filter:invert(1)}.btn{min-height:3rem;font-size:1rem;gap:0.625rem;outline:none;outline-offset:2px;display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;max-width:100%;overflow:hidden;-webkit-transition:opacity 250ms, border-color 250ms, background-color 250ms, color 250ms;transition:opacity 250ms, border-color 250ms, background-color 250ms, color 250ms;border-width:2px;border-style:solid;border-radius:4px;background-color:transparent;-webkit-box-shadow:none;box-shadow:none;color:var(--post-gray-80);font-family:inherit;font-weight:400;text-decoration:none !important;white-space:nowrap}.btn:where(:not(.btn-link,.btn-tertiary)){padding:0 1rem}.btn>.pi{width:1.25rem;height:1.25rem}.btn:is(:focus-visible,:focus-within,.pretend-focus){outline:2px solid var(--post-contrast-color)}.btn-primary{border-color:transparent;background-color:var(--post-gray-80);color:var(--post-contrast-color-inverted)}.btn-primary:focus,.btn-primary:not(:disabled):hover,.btn-primary.pretend-hover{background-color:var(--post-contrast-color);color:var(--post-contrast-color-inverted)}:is(.bg-dark,.bg-primary,.bg-black,.bg-danger,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright) .btn-primary{background-color:var(--post-contrast-color);color:var(--post-gray-10)}:is(.bg-dark,.bg-primary,.bg-black,.bg-danger,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright) .btn-primary:focus,:is(.bg-dark,.bg-primary,.bg-black,.bg-danger,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright) .btn-primary:not(:disabled):hover,:is(.bg-dark,.bg-primary,.bg-black,.bg-danger,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright) .btn-primary.pretend-hover{background-color:var(--post-gray-80)}:is(.bg-dark,.bg-primary,.bg-black,.bg-danger,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright) .btn-primary:disabled{color:var(--post-gray-80)}:is(.bg-dark,.bg-primary,.bg-black,.bg-danger,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright) .btn-primary .pi{-webkit-filter:invert(0);filter:invert(0)}@media (forced-colors: active), (-ms-high-contrast: active), (-ms-high-contrast: white-on-black){.btn-primary{border-color:var(--post-contrast-color);background-color:ButtonFace}.btn-primary:not(:disabled,.disabled):hover,.btn-primary:not(:disabled,.disabled):focus-visible{border-color:highlight}.btn-primary .pi{-webkit-filter:invert(1) !important;filter:invert(1) !important}}.btn-primary:disabled{background-color:var(--post-gray-40)}.btn-primary .pi{-webkit-filter:invert(1);filter:invert(1);forced-color-adjust:none}.btn-link,.btn-tertiary{border:0;padding-inline:0.25rem}.btn-link:disabled,.btn-tertiary:disabled{color:var(--post-gray-60)}@media (forced-colors: active), (-ms-high-contrast: active), (-ms-high-contrast: white-on-black){.btn-link,.btn-tertiary{color:linktext;text-decoration:underline !important}}.btn-icon{min-width:3rem;padding-right:0.75rem;padding-left:0.75rem}.btn-icon.btn-sm{min-width:2rem;padding-right:0.375rem;padding-left:0.375rem}.btn-icon.btn-rg{min-width:2.5rem;padding-right:0.5625rem;padding-left:0.5625rem}.btn-icon.btn-lg{min-width:3.5rem;padding-right:0.9375rem;padding-left:0.9375rem}.btn-animated:not(.btn-link,.btn-tertiary)::after{content:\"\";position:absolute;right:0.5rem;width:0.625em;height:0.625em;-webkit-transform:rotateZ(315deg) translate(-2px, -2px);transform:rotateZ(315deg) translate(-2px, -2px);-webkit-transform-origin:center center;transform-origin:center center;-webkit-transition:opacity 250ms, -webkit-transform 250ms;transition:opacity 250ms, -webkit-transform 250ms;transition:opacity 250ms, transform 250ms;transition:opacity 250ms, transform 250ms, -webkit-transform 250ms;border-right:2px solid currentColor;border-bottom:2px solid currentColor;opacity:0}.btn-animated:not(.btn-link,.btn-tertiary).btn-sm::after{right:0.25rem}.btn-animated:not(.btn-link,.btn-tertiary).btn-rg::after{right:0.375rem}.btn-animated:not(.btn-link,.btn-tertiary).btn-lg::after{right:0.625rem}.btn-animated:not(.btn-link,.btn-tertiary)>span{-webkit-transition:-webkit-transform 250ms;transition:-webkit-transform 250ms;transition:transform 250ms;transition:transform 250ms, -webkit-transform 250ms}@media (prefers-reduced-motion: no-preference){.btn-animated:not(.btn-link,.btn-tertiary):focus>span,.btn-animated:not(.btn-link,.btn-tertiary):not(:disabled):hover>span,.btn-animated:not(.btn-link,.btn-tertiary).pretend-hover>span{-webkit-transform:translateX(-0.5rem);transform:translateX(-0.5rem)}.btn-animated:not(.btn-link,.btn-tertiary):focus.btn-sm>span,.btn-animated:not(.btn-link,.btn-tertiary):not(:disabled):hover.btn-sm>span,.btn-animated:not(.btn-link,.btn-tertiary).pretend-hover.btn-sm>span{-webkit-transform:translateX(-0.5rem);transform:translateX(-0.5rem)}.btn-animated:not(.btn-link,.btn-tertiary):focus.btn-rg>span,.btn-animated:not(.btn-link,.btn-tertiary):not(:disabled):hover.btn-rg>span,.btn-animated:not(.btn-link,.btn-tertiary).pretend-hover.btn-rg>span{-webkit-transform:translateX(-0.5rem);transform:translateX(-0.5rem)}.btn-animated:not(.btn-link,.btn-tertiary):focus.btn-lg>span,.btn-animated:not(.btn-link,.btn-tertiary):not(:disabled):hover.btn-lg>span,.btn-animated:not(.btn-link,.btn-tertiary).pretend-hover.btn-lg>span{-webkit-transform:translateX(-0.5rem);transform:translateX(-0.5rem)}.btn-animated:not(.btn-link,.btn-tertiary):focus::after,.btn-animated:not(.btn-link,.btn-tertiary):not(:disabled):hover::after,.btn-animated:not(.btn-link,.btn-tertiary).pretend-hover::after{-webkit-transform:rotateZ(315deg) translate(0, 0);transform:rotateZ(315deg) translate(0, 0);opacity:1}.btn-animated:not(.btn-link,.btn-tertiary)>span{-webkit-transform:translateX(0);transform:translateX(0)}}.btn-sm{min-height:2rem;font-size:0.75rem;gap:0.375rem}.btn-sm:where(:not(.btn-link,.btn-tertiary)){padding:0 0.75rem}.btn-sm>.pi{width:1rem;height:1rem}.btn-rg{min-height:2.5rem;font-size:0.875rem;gap:0.5rem}.btn-rg:where(:not(.btn-link,.btn-tertiary)){padding:0 0.875rem}.btn-rg>.pi{width:1.125rem;height:1.125rem}.btn-lg{min-height:3.5rem;font-size:1.125rem;gap:0.75rem}.btn-lg:where(:not(.btn-link,.btn-tertiary)){padding:0 1.125rem}.btn-lg>.pi{width:1.375rem;height:1.375rem}.btn-nightblue{border-color:transparent;background-color:#004976;color:#fff}.btn-nightblue:focus,.btn-nightblue:not(:disabled):hover,.btn-nightblue.pretend-hover{background-color:#002943;color:#fff}.btn-nightblue-bright{border-color:transparent;background-color:#0076a8;color:#fff}.btn-nightblue-bright:focus,.btn-nightblue-bright:not(:disabled):hover,.btn-nightblue-bright.pretend-hover{background-color:#005275;color:#fff}.btn-petrol{border-color:transparent;background-color:#006d68;color:#fff}.btn-petrol:focus,.btn-petrol:not(:disabled):hover,.btn-petrol.pretend-hover{background-color:#003a37;color:#fff}.btn-petrol-bright{border-color:transparent;background-color:#00968f;color:#000}.btn-petrol-bright:focus,.btn-petrol-bright:not(:disabled):hover,.btn-petrol-bright.pretend-hover{background-color:#00635e;color:#fff}.btn-coral{border-color:transparent;background-color:#9e2a2f;color:#fff}.btn-coral:focus,.btn-coral:not(:disabled):hover,.btn-coral.pretend-hover{background-color:#761f23;color:#fff}.btn-coral-bright{border-color:transparent;background-color:#e03c31;color:#000}.btn-coral-bright:focus,.btn-coral-bright:not(:disabled):hover,.btn-coral-bright.pretend-hover{background-color:#c1271d;color:#fff}.btn-olive{border-color:transparent;background-color:#716135;color:#fff}.btn-olive:focus,.btn-olive:not(:disabled):hover,.btn-olive.pretend-hover{background-color:#4e4325;color:#fff}.btn-olive-bright{border-color:transparent;background-color:#aa9d2e;color:#000}.btn-olive-bright:focus,.btn-olive-bright:not(:disabled):hover,.btn-olive-bright.pretend-hover{background-color:#827823;color:#000}.btn-purple{border-color:transparent;background-color:#80276c;color:#fff}.btn-purple:focus,.btn-purple:not(:disabled):hover,.btn-purple.pretend-hover{background-color:#591b4b;color:#fff}.btn-purple-bright{border-color:transparent;background-color:#c5299b;color:#fff}.btn-purple-bright:focus,.btn-purple-bright:not(:disabled):hover,.btn-purple-bright.pretend-hover{background-color:#9b207a;color:#fff}.btn-aubergine{border-color:transparent;background-color:#523178;color:#fff}.btn-aubergine:focus,.btn-aubergine:not(:disabled):hover,.btn-aubergine.pretend-hover{background-color:#392254;color:#fff}.btn-aubergine-bright{border-color:transparent;background-color:#7566a0;color:#fff}.btn-aubergine-bright:focus,.btn-aubergine-bright:not(:disabled):hover,.btn-aubergine-bright.pretend-hover{background-color:#5e5182;color:#fff}.btn-success{border-color:transparent;background-color:#2c911c;color:#000}.btn-success:focus,.btn-success:not(:disabled):hover,.btn-success.pretend-hover{background-color:#1f6614;color:#fff}.btn-info{border-color:transparent;background-color:#cce4ee;color:#000}.btn-info:focus,.btn-info:not(:disabled):hover,.btn-info.pretend-hover{background-color:#a6d0e1;color:#000}.btn-warning{border-color:transparent;background-color:#f49e00;color:#000}.btn-warning:focus,.btn-warning:not(:disabled):hover,.btn-warning.pretend-hover{background-color:#c17d00;color:#000}.btn-danger{border-color:transparent;background-color:#a51728;color:#fff}.btn-danger:focus,.btn-danger:not(:disabled):hover,.btn-danger.pretend-hover{background-color:#78111d;color:#fff}/*!\n * Bootstrap Utilities v5.1.3 (https://getbootstrap.com/)\n * Copyright 2011-2021 The Bootstrap Authors\n * Copyright 2011-2021 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n\n * The MIT License (MIT)\n\n * Copyright (c) 2011-2020 Twitter, Inc.\n * Copyright (c) 2011-2020 The Bootstrap Authors\n\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */:root{--bs-breakpoint-xs:0;--bs-breakpoint-sm:400px;--bs-breakpoint-rg:600px;--bs-breakpoint-md:780px;--bs-breakpoint-lg:1024px;--bs-breakpoint-xl:1280px;--bs-breakpoint-xxl:1441px}.row{--bs-gutter-x:30px;--bs-gutter-y:0;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-right:calc(-0.5 * var(--bs-gutter-x));margin-left:calc(-0.5 * var(--bs-gutter-x))}.row>*{-ms-flex-negative:0;flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) * 0.5);padding-left:calc(var(--bs-gutter-x) * 0.5);margin-top:var(--bs-gutter-y)}.col{-ms-flex:1 0 0%;flex:1 0 0%}.row-cols-auto>*{-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.row-cols-1>*{-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.row-cols-2>*{-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.row-cols-3>*{-ms-flex:0 0 auto;flex:0 0 auto;width:33.3333333333%}.row-cols-4>*{-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.row-cols-5>*{-ms-flex:0 0 auto;flex:0 0 auto;width:20%}.row-cols-6>*{-ms-flex:0 0 auto;flex:0 0 auto;width:16.6666666667%}.col-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.col-1{-ms-flex:0 0 auto;flex:0 0 auto;width:8.33333333%}.col-2{-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-3{-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.col-4{-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.col-5{-ms-flex:0 0 auto;flex:0 0 auto;width:41.66666667%}.col-6{-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.col-7{-ms-flex:0 0 auto;flex:0 0 auto;width:58.33333333%}.col-8{-ms-flex:0 0 auto;flex:0 0 auto;width:66.66666667%}.col-9{-ms-flex:0 0 auto;flex:0 0 auto;width:75%}.col-10{-ms-flex:0 0 auto;flex:0 0 auto;width:83.33333333%}.col-11{-ms-flex:0 0 auto;flex:0 0 auto;width:91.66666667%}.col-12{-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}.g-0,.gx-0{--bs-gutter-x:0}.g-0,.gy-0{--bs-gutter-y:0}.g-1,.gx-1{--bs-gutter-x:0.25rem}.g-1,.gy-1{--bs-gutter-y:0.25rem}.g-2,.gx-2{--bs-gutter-x:0.5rem}.g-2,.gy-2{--bs-gutter-y:0.5rem}.g-3,.gx-3{--bs-gutter-x:1rem}.g-3,.gy-3{--bs-gutter-y:1rem}.g-4,.gx-4{--bs-gutter-x:1.5rem}.g-4,.gy-4{--bs-gutter-y:1.5rem}.g-5,.gx-5{--bs-gutter-x:3rem}.g-5,.gy-5{--bs-gutter-y:3rem}@media (min-width: 400px){.col-sm{-ms-flex:1 0 0%;flex:1 0 0%}.row-cols-sm-auto>*{-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.row-cols-sm-1>*{-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.row-cols-sm-2>*{-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.row-cols-sm-3>*{-ms-flex:0 0 auto;flex:0 0 auto;width:33.3333333333%}.row-cols-sm-4>*{-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.row-cols-sm-5>*{-ms-flex:0 0 auto;flex:0 0 auto;width:20%}.row-cols-sm-6>*{-ms-flex:0 0 auto;flex:0 0 auto;width:16.6666666667%}.col-sm-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.col-sm-1{-ms-flex:0 0 auto;flex:0 0 auto;width:8.33333333%}.col-sm-2{-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-sm-3{-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.col-sm-4{-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.col-sm-5{-ms-flex:0 0 auto;flex:0 0 auto;width:41.66666667%}.col-sm-6{-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.col-sm-7{-ms-flex:0 0 auto;flex:0 0 auto;width:58.33333333%}.col-sm-8{-ms-flex:0 0 auto;flex:0 0 auto;width:66.66666667%}.col-sm-9{-ms-flex:0 0 auto;flex:0 0 auto;width:75%}.col-sm-10{-ms-flex:0 0 auto;flex:0 0 auto;width:83.33333333%}.col-sm-11{-ms-flex:0 0 auto;flex:0 0 auto;width:91.66666667%}.col-sm-12{-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}.g-sm-0,.gx-sm-0{--bs-gutter-x:0}.g-sm-0,.gy-sm-0{--bs-gutter-y:0}.g-sm-1,.gx-sm-1{--bs-gutter-x:0.25rem}.g-sm-1,.gy-sm-1{--bs-gutter-y:0.25rem}.g-sm-2,.gx-sm-2{--bs-gutter-x:0.5rem}.g-sm-2,.gy-sm-2{--bs-gutter-y:0.5rem}.g-sm-3,.gx-sm-3{--bs-gutter-x:1rem}.g-sm-3,.gy-sm-3{--bs-gutter-y:1rem}.g-sm-4,.gx-sm-4{--bs-gutter-x:1.5rem}.g-sm-4,.gy-sm-4{--bs-gutter-y:1.5rem}.g-sm-5,.gx-sm-5{--bs-gutter-x:3rem}.g-sm-5,.gy-sm-5{--bs-gutter-y:3rem}}@media (min-width: 600px){.col-rg{-ms-flex:1 0 0%;flex:1 0 0%}.row-cols-rg-auto>*{-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.row-cols-rg-1>*{-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.row-cols-rg-2>*{-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.row-cols-rg-3>*{-ms-flex:0 0 auto;flex:0 0 auto;width:33.3333333333%}.row-cols-rg-4>*{-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.row-cols-rg-5>*{-ms-flex:0 0 auto;flex:0 0 auto;width:20%}.row-cols-rg-6>*{-ms-flex:0 0 auto;flex:0 0 auto;width:16.6666666667%}.col-rg-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.col-rg-1{-ms-flex:0 0 auto;flex:0 0 auto;width:8.33333333%}.col-rg-2{-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-rg-3{-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.col-rg-4{-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.col-rg-5{-ms-flex:0 0 auto;flex:0 0 auto;width:41.66666667%}.col-rg-6{-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.col-rg-7{-ms-flex:0 0 auto;flex:0 0 auto;width:58.33333333%}.col-rg-8{-ms-flex:0 0 auto;flex:0 0 auto;width:66.66666667%}.col-rg-9{-ms-flex:0 0 auto;flex:0 0 auto;width:75%}.col-rg-10{-ms-flex:0 0 auto;flex:0 0 auto;width:83.33333333%}.col-rg-11{-ms-flex:0 0 auto;flex:0 0 auto;width:91.66666667%}.col-rg-12{-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.offset-rg-0{margin-left:0}.offset-rg-1{margin-left:8.33333333%}.offset-rg-2{margin-left:16.66666667%}.offset-rg-3{margin-left:25%}.offset-rg-4{margin-left:33.33333333%}.offset-rg-5{margin-left:41.66666667%}.offset-rg-6{margin-left:50%}.offset-rg-7{margin-left:58.33333333%}.offset-rg-8{margin-left:66.66666667%}.offset-rg-9{margin-left:75%}.offset-rg-10{margin-left:83.33333333%}.offset-rg-11{margin-left:91.66666667%}.g-rg-0,.gx-rg-0{--bs-gutter-x:0}.g-rg-0,.gy-rg-0{--bs-gutter-y:0}.g-rg-1,.gx-rg-1{--bs-gutter-x:0.25rem}.g-rg-1,.gy-rg-1{--bs-gutter-y:0.25rem}.g-rg-2,.gx-rg-2{--bs-gutter-x:0.5rem}.g-rg-2,.gy-rg-2{--bs-gutter-y:0.5rem}.g-rg-3,.gx-rg-3{--bs-gutter-x:1rem}.g-rg-3,.gy-rg-3{--bs-gutter-y:1rem}.g-rg-4,.gx-rg-4{--bs-gutter-x:1.5rem}.g-rg-4,.gy-rg-4{--bs-gutter-y:1.5rem}.g-rg-5,.gx-rg-5{--bs-gutter-x:3rem}.g-rg-5,.gy-rg-5{--bs-gutter-y:3rem}}@media (min-width: 780px){.col-md{-ms-flex:1 0 0%;flex:1 0 0%}.row-cols-md-auto>*{-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.row-cols-md-1>*{-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.row-cols-md-2>*{-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.row-cols-md-3>*{-ms-flex:0 0 auto;flex:0 0 auto;width:33.3333333333%}.row-cols-md-4>*{-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.row-cols-md-5>*{-ms-flex:0 0 auto;flex:0 0 auto;width:20%}.row-cols-md-6>*{-ms-flex:0 0 auto;flex:0 0 auto;width:16.6666666667%}.col-md-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.col-md-1{-ms-flex:0 0 auto;flex:0 0 auto;width:8.33333333%}.col-md-2{-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-md-3{-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.col-md-4{-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.col-md-5{-ms-flex:0 0 auto;flex:0 0 auto;width:41.66666667%}.col-md-6{-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.col-md-7{-ms-flex:0 0 auto;flex:0 0 auto;width:58.33333333%}.col-md-8{-ms-flex:0 0 auto;flex:0 0 auto;width:66.66666667%}.col-md-9{-ms-flex:0 0 auto;flex:0 0 auto;width:75%}.col-md-10{-ms-flex:0 0 auto;flex:0 0 auto;width:83.33333333%}.col-md-11{-ms-flex:0 0 auto;flex:0 0 auto;width:91.66666667%}.col-md-12{-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}.g-md-0,.gx-md-0{--bs-gutter-x:0}.g-md-0,.gy-md-0{--bs-gutter-y:0}.g-md-1,.gx-md-1{--bs-gutter-x:0.25rem}.g-md-1,.gy-md-1{--bs-gutter-y:0.25rem}.g-md-2,.gx-md-2{--bs-gutter-x:0.5rem}.g-md-2,.gy-md-2{--bs-gutter-y:0.5rem}.g-md-3,.gx-md-3{--bs-gutter-x:1rem}.g-md-3,.gy-md-3{--bs-gutter-y:1rem}.g-md-4,.gx-md-4{--bs-gutter-x:1.5rem}.g-md-4,.gy-md-4{--bs-gutter-y:1.5rem}.g-md-5,.gx-md-5{--bs-gutter-x:3rem}.g-md-5,.gy-md-5{--bs-gutter-y:3rem}}@media (min-width: 1024px){.col-lg{-ms-flex:1 0 0%;flex:1 0 0%}.row-cols-lg-auto>*{-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.row-cols-lg-1>*{-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.row-cols-lg-2>*{-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.row-cols-lg-3>*{-ms-flex:0 0 auto;flex:0 0 auto;width:33.3333333333%}.row-cols-lg-4>*{-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.row-cols-lg-5>*{-ms-flex:0 0 auto;flex:0 0 auto;width:20%}.row-cols-lg-6>*{-ms-flex:0 0 auto;flex:0 0 auto;width:16.6666666667%}.col-lg-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.col-lg-1{-ms-flex:0 0 auto;flex:0 0 auto;width:8.33333333%}.col-lg-2{-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-lg-3{-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.col-lg-4{-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.col-lg-5{-ms-flex:0 0 auto;flex:0 0 auto;width:41.66666667%}.col-lg-6{-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.col-lg-7{-ms-flex:0 0 auto;flex:0 0 auto;width:58.33333333%}.col-lg-8{-ms-flex:0 0 auto;flex:0 0 auto;width:66.66666667%}.col-lg-9{-ms-flex:0 0 auto;flex:0 0 auto;width:75%}.col-lg-10{-ms-flex:0 0 auto;flex:0 0 auto;width:83.33333333%}.col-lg-11{-ms-flex:0 0 auto;flex:0 0 auto;width:91.66666667%}.col-lg-12{-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}.g-lg-0,.gx-lg-0{--bs-gutter-x:0}.g-lg-0,.gy-lg-0{--bs-gutter-y:0}.g-lg-1,.gx-lg-1{--bs-gutter-x:0.25rem}.g-lg-1,.gy-lg-1{--bs-gutter-y:0.25rem}.g-lg-2,.gx-lg-2{--bs-gutter-x:0.5rem}.g-lg-2,.gy-lg-2{--bs-gutter-y:0.5rem}.g-lg-3,.gx-lg-3{--bs-gutter-x:1rem}.g-lg-3,.gy-lg-3{--bs-gutter-y:1rem}.g-lg-4,.gx-lg-4{--bs-gutter-x:1.5rem}.g-lg-4,.gy-lg-4{--bs-gutter-y:1.5rem}.g-lg-5,.gx-lg-5{--bs-gutter-x:3rem}.g-lg-5,.gy-lg-5{--bs-gutter-y:3rem}}@media (min-width: 1280px){.col-xl{-ms-flex:1 0 0%;flex:1 0 0%}.row-cols-xl-auto>*{-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.row-cols-xl-1>*{-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.row-cols-xl-2>*{-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.row-cols-xl-3>*{-ms-flex:0 0 auto;flex:0 0 auto;width:33.3333333333%}.row-cols-xl-4>*{-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.row-cols-xl-5>*{-ms-flex:0 0 auto;flex:0 0 auto;width:20%}.row-cols-xl-6>*{-ms-flex:0 0 auto;flex:0 0 auto;width:16.6666666667%}.col-xl-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.col-xl-1{-ms-flex:0 0 auto;flex:0 0 auto;width:8.33333333%}.col-xl-2{-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-xl-3{-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.col-xl-4{-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.col-xl-5{-ms-flex:0 0 auto;flex:0 0 auto;width:41.66666667%}.col-xl-6{-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.col-xl-7{-ms-flex:0 0 auto;flex:0 0 auto;width:58.33333333%}.col-xl-8{-ms-flex:0 0 auto;flex:0 0 auto;width:66.66666667%}.col-xl-9{-ms-flex:0 0 auto;flex:0 0 auto;width:75%}.col-xl-10{-ms-flex:0 0 auto;flex:0 0 auto;width:83.33333333%}.col-xl-11{-ms-flex:0 0 auto;flex:0 0 auto;width:91.66666667%}.col-xl-12{-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}.g-xl-0,.gx-xl-0{--bs-gutter-x:0}.g-xl-0,.gy-xl-0{--bs-gutter-y:0}.g-xl-1,.gx-xl-1{--bs-gutter-x:0.25rem}.g-xl-1,.gy-xl-1{--bs-gutter-y:0.25rem}.g-xl-2,.gx-xl-2{--bs-gutter-x:0.5rem}.g-xl-2,.gy-xl-2{--bs-gutter-y:0.5rem}.g-xl-3,.gx-xl-3{--bs-gutter-x:1rem}.g-xl-3,.gy-xl-3{--bs-gutter-y:1rem}.g-xl-4,.gx-xl-4{--bs-gutter-x:1.5rem}.g-xl-4,.gy-xl-4{--bs-gutter-y:1.5rem}.g-xl-5,.gx-xl-5{--bs-gutter-x:3rem}.g-xl-5,.gy-xl-5{--bs-gutter-y:3rem}}@media (min-width: 1441px){.col-xxl{-ms-flex:1 0 0%;flex:1 0 0%}.row-cols-xxl-auto>*{-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.row-cols-xxl-1>*{-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.row-cols-xxl-2>*{-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.row-cols-xxl-3>*{-ms-flex:0 0 auto;flex:0 0 auto;width:33.3333333333%}.row-cols-xxl-4>*{-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.row-cols-xxl-5>*{-ms-flex:0 0 auto;flex:0 0 auto;width:20%}.row-cols-xxl-6>*{-ms-flex:0 0 auto;flex:0 0 auto;width:16.6666666667%}.col-xxl-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.col-xxl-1{-ms-flex:0 0 auto;flex:0 0 auto;width:8.33333333%}.col-xxl-2{-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-xxl-3{-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.col-xxl-4{-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.col-xxl-5{-ms-flex:0 0 auto;flex:0 0 auto;width:41.66666667%}.col-xxl-6{-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.col-xxl-7{-ms-flex:0 0 auto;flex:0 0 auto;width:58.33333333%}.col-xxl-8{-ms-flex:0 0 auto;flex:0 0 auto;width:66.66666667%}.col-xxl-9{-ms-flex:0 0 auto;flex:0 0 auto;width:75%}.col-xxl-10{-ms-flex:0 0 auto;flex:0 0 auto;width:83.33333333%}.col-xxl-11{-ms-flex:0 0 auto;flex:0 0 auto;width:91.66666667%}.col-xxl-12{-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.offset-xxl-0{margin-left:0}.offset-xxl-1{margin-left:8.33333333%}.offset-xxl-2{margin-left:16.66666667%}.offset-xxl-3{margin-left:25%}.offset-xxl-4{margin-left:33.33333333%}.offset-xxl-5{margin-left:41.66666667%}.offset-xxl-6{margin-left:50%}.offset-xxl-7{margin-left:58.33333333%}.offset-xxl-8{margin-left:66.66666667%}.offset-xxl-9{margin-left:75%}.offset-xxl-10{margin-left:83.33333333%}.offset-xxl-11{margin-left:91.66666667%}.g-xxl-0,.gx-xxl-0{--bs-gutter-x:0}.g-xxl-0,.gy-xxl-0{--bs-gutter-y:0}.g-xxl-1,.gx-xxl-1{--bs-gutter-x:0.25rem}.g-xxl-1,.gy-xxl-1{--bs-gutter-y:0.25rem}.g-xxl-2,.gx-xxl-2{--bs-gutter-x:0.5rem}.g-xxl-2,.gy-xxl-2{--bs-gutter-y:0.5rem}.g-xxl-3,.gx-xxl-3{--bs-gutter-x:1rem}.g-xxl-3,.gy-xxl-3{--bs-gutter-y:1rem}.g-xxl-4,.gx-xxl-4{--bs-gutter-x:1.5rem}.g-xxl-4,.gy-xxl-4{--bs-gutter-y:1.5rem}.g-xxl-5,.gx-xxl-5{--bs-gutter-x:3rem}.g-xxl-5,.gy-xxl-5{--bs-gutter-y:3rem}}.container,.container-fluid,.container-xs{--bs-gutter-x:30px;--bs-gutter-y:0;width:100%;padding-right:calc(var(--bs-gutter-x) * 0.5);padding-left:calc(var(--bs-gutter-x) * 0.5);margin-right:auto;margin-left:auto}.container{max-width:1440px}.vertical-gutters{margin-bottom:-30px}.vertical-gutters>.col,.vertical-gutters>[class*=col-]{padding-bottom:30px}.row.border-gutters{margin-right:-1px;margin-bottom:-1px;margin-left:0}.row.border-gutters>.col,.row.border-gutters>[class*=col-]{padding-right:1px;padding-bottom:1px;padding-left:0}.container{padding-right:12px;padding-left:12px}.container-reset{margin-right:-12px;margin-left:-12px}.container-reset-left{margin-left:-12px}.container-reset-right{margin-right:-12px}@media (max-width: 399.98px){.container-fluid-xs{padding-right:1rem;padding-left:1rem}}@media (min-width: 400px){.container{padding-right:16px;padding-left:16px}}@media (min-width: 400px){.container-reset{margin-right:-16px;margin-left:-16px}}@media (min-width: 400px){.container-reset-left{margin-left:-16px}}@media (min-width: 400px){.container-reset-right{margin-right:-16px}}@media (min-width: 400px) and (max-width: 599.98px){.container-fluid-sm{padding-right:1rem;padding-left:1rem}}@media (min-width: 600px){.container{padding-right:32px;padding-left:32px}}@media (min-width: 600px){.container-reset{margin-right:-32px;margin-left:-32px}}@media (min-width: 600px){.container-reset-left{margin-left:-32px}}@media (min-width: 600px){.container-reset-right{margin-right:-32px}}@media (min-width: 600px) and (max-width: 779.98px){.container-fluid-rg{padding-right:1rem;padding-left:1rem}}@media (min-width: 780px) and (max-width: 1023.98px){.container-fluid-md{padding-right:1rem;padding-left:1rem}}@media (min-width: 1024px){.container{padding-right:40px;padding-left:40px}}@media (min-width: 1024px){.container-reset{margin-right:-40px;margin-left:-40px}}@media (min-width: 1024px){.container-reset-left{margin-left:-40px}}@media (min-width: 1024px){.container-reset-right{margin-right:-40px}}@media (min-width: 1024px) and (max-width: 1279.98px){.container-fluid-lg{padding-right:1rem;padding-left:1rem}}@media (min-width: 1280px){.container{padding-right:128px;padding-left:128px}}@media (min-width: 1280px){.container-reset{margin-right:-128px;margin-left:-128px}}@media (min-width: 1280px){.container-reset-left{margin-left:-128px}}@media (min-width: 1280px){.container-reset-right{margin-right:-128px}}@media (min-width: 1280px) and (max-width: 1440.98px){.container-fluid-xl{padding-right:1rem;padding-left:1rem}}@media (min-width: 1441px){.container-fluid-xxl{padding-right:1rem;padding-left:1rem}}@-webkit-keyframes progress-bar-stripes{0%{background-position-x:1rem}}@keyframes progress-bar-stripes{0%{background-position-x:1rem}}.progress,.progress-stacked{--bs-progress-height:1rem;--bs-progress-font-size:0.75rem;--bs-progress-bg:hsl(0, 0%, 80%);--bs-progress-border-radius:4px;--bs-progress-box-shadow:inset 0 0.1rem 0.1rem rgba(0, 0, 0, 0.1);--bs-progress-bar-color:#fff;--bs-progress-bar-bg:hsl(0, 0%, 20%);--bs-progress-bar-transition:width 0.6s ease;display:-ms-flexbox;display:flex;height:var(--bs-progress-height);overflow:hidden;font-size:var(--bs-progress-font-size);background-color:var(--bs-progress-bg);border-radius:var(--bs-progress-border-radius)}.progress-bar{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;overflow:hidden;color:var(--bs-progress-bar-color);text-align:center;white-space:nowrap;background-color:var(--bs-progress-bar-bg);-webkit-transition:var(--bs-progress-bar-transition);transition:var(--bs-progress-bar-transition)}@media (prefers-reduced-motion: reduce){.progress-bar{-webkit-transition:none;transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-size:var(--bs-progress-height) var(--bs-progress-height)}.progress-stacked>.progress{overflow:visible}.progress-stacked>.progress>.progress-bar{width:100%}.progress-bar-animated{-webkit-animation:1s linear infinite progress-bar-stripes;animation:1s linear infinite progress-bar-stripes}@media (prefers-reduced-motion: reduce){.progress-bar-animated{-webkit-animation:none;animation:none}}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.spinner-bg{position:absolute;z-index:990;top:0;left:0;width:100%;height:100%}.loading-modal{display:-ms-inline-flexbox;display:inline-flex;position:absolute;z-index:990;top:0;right:0;bottom:0;left:0}.loader{width:3.5rem;height:3.5rem;-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite;border:6px solid #fc0;border-radius:50%;border-right-color:transparent;border-bottom-color:hsl(0, 0%, 90%)}.loader.loader-sm{width:2rem;height:2rem;border-width:0.25rem}.loader.loader-xs{width:0.75rem;height:0.75rem;border-width:2px}@media (forced-colors: active), (-ms-high-contrast: active), (-ms-high-contrast: white-on-black){.loader{border-color:Highlight;border-bottom-color:CanvasText;border-right-color:Canvas}@supports (forced-color-adjust: none){.loader{forced-color-adjust:none;border-right-color:transparent}}}@font-face{font-display:swap;font-family:\"Frutiger Neue For Post\";font-weight:700;src:url(\"https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Bold.woff2\") format(\"woff2\"), url(\"https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Bold.woff\") format(\"woff\")}@font-face{font-display:swap;font-family:\"Frutiger Neue For Post\";font-weight:700;font-style:italic;src:url(\"https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-BdIt.woff2\") format(\"woff2\"), url(\"https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-BdIt.woff\") format(\"woff\")}@font-face{font-display:swap;font-family:\"Frutiger Neue For Post\";font-weight:400;src:url(\"https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Rg.woff2\") format(\"woff2\"), url(\"https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Rg.woff\") format(\"woff\")}@font-face{font-display:swap;font-family:\"Frutiger Neue For Post\";font-weight:400;font-style:italic;src:url(\"https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-It.woff2\") format(\"woff2\"), url(\"https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-It.woff\") format(\"woff\")}@font-face{font-display:swap;font-family:\"Frutiger Neue For Post\";font-weight:300;src:url(\"https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Lt.woff2\") format(\"woff2\"), url(\"https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Lt.woff\") format(\"woff\")}@font-face{font-display:swap;font-family:\"Frutiger Neue For Post\";font-weight:300;font-style:italic;src:url(\"https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-LtIt.woff2\") format(\"woff2\"), url(\"https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-LtIt.woff\") format(\"woff\")}.visually-hidden{position:absolute;width:1px;height:1px;border:0;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0)}.btn-blank{background-color:transparent;border:none;border-radius:0;padding:0}.nav-link{outline:none;outline-offset:2px;text-decoration:none;color:rgba(0, 0, 0, 0.8);-webkit-transition:color 200ms;transition:color 200ms;background-color:transparent;-webkit-box-shadow:none;box-shadow:none;border:0;margin:0;cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:0.5rem}.nav-link:is(:focus-visible,:focus-within,.pretend-focus){outline:2px solid var(--post-contrast-color)}.nav-link:hover,.nav-link:focus{color:black}.nav-link:focus-visible{z-index:1;position:relative}.nav-link>svg{width:1.4em;height:1.4em;-ms-flex-negative:0;flex-shrink:0}.nav-link>span{-ms-flex-negative:1;flex-shrink:1}.no-list{list-style:none;padding-left:0;margin-top:0;margin-bottom:0}*,:host,*::before,*::after{-webkit-box-sizing:border-box;box-sizing:border-box}:host{font-family:\"Frutiger Neue For Post\", system-ui, sans-serif}button{font:inherit;padding:0}a,button{border-radius:4px;outline:none;outline-offset:2px;}a:is(:focus-visible,:focus-within,.pretend-focus),button:is(:focus-visible,:focus-within,.pretend-focus){outline:2px solid var(--post-contrast-color);border-radius:4px}img,svg{max-width:100%;max-height:100%}@media (forced-colors: active){svg{color:white}}.box>*:first-child{margin-top:0}.box>*:last-child{margin-bottom:0}.mirrored{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.rotate-270{-webkit-transform:rotate(270deg);transform:rotate(270deg)}.bold{font-weight:700}.light{font-weight:300}.d-flex{display:-ms-flexbox;display:flex}.d-inline-flex{display:-ms-inline-flexbox;display:inline-flex}.align-items-center{-ms-flex-align:center;align-items:center}@media (min-width: 1441px){.wide-container{margin:0 auto;max-width:1440px}}@media (max-width: 599.98px){.container{padding-right:16px;padding-left:16px}}@media (min-width: 600px) and (max-width: 1023.98px){.container{padding-right:32px;padding-left:32px}}@media (min-width: 1024px){.container{padding-right:40px;padding-left:40px}}@media (max-width: -0.02px){.hidden-xs{display:none}}@media (max-width: 399.98px){.hidden-sm{display:none}}@media (max-width: 599.98px){.hidden-rg{display:none}}@media (max-width: 779.98px){.hidden-md{display:none}}@media (max-width: 1023.98px){.hidden-lg{display:none}}@media (max-width: 1279.98px){.hidden-xl{display:none}}@media (max-width: 1440.98px){.hidden-xxl{display:none}}:host{display:block;position:relative}.breadcrumbs{font-size:1rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;gap:1rem}@media (max-width: 599.98px){.breadcrumbs{font-size:0.875rem}}.breadcrumbs-nav{white-space:nowrap;-ms-flex-positive:1;flex-grow:1;-ms-flex-negative:1;flex-shrink:1;min-width:0}.breadcrumbs-list,.nav-link{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.breadcrumbs-list li{display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0}.breadcrumbs-list li:last-child{-ms-flex-negative:2;flex-shrink:2;min-width:0;overflow:hidden;text-overflow:ellipsis;padding:4px}.breadcrumbs-list svg{margin-left:0 !important;width:1.5em;height:1.5em;color:rgba(0, 0, 0, 0.6)}.breadcrumb-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;gap:1rem;-ms-flex-negative:0;flex-shrink:0}.breadcrumb-buttons .btn{cursor:pointer;gap:0.5rem;font-size:inherit}.breadcrumb-buttons .btn.btn-secondary>svg{width:1.5rem;height:1.5rem;margin:0}@media (min-width: 1024px){.breadcrumb-buttons .btn span{position:static;width:auto;height:auto;margin:auto;overflow:visible;clip:auto;visibility:visible}}.nav-link{gap:0;color:rgba(0, 0, 0, 0.6);font-weight:400}.middle-dropdown-container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.middle-dropdown{position:absolute;top:100%;left:0;background:white;border:1px solid hsl(0, 0%, 90%);padding:0.5rem 0;z-index:1}.middle-dropdown .nav-link{padding:0.5rem 1rem;-webkit-transition:color 200ms;transition:color 200ms}.middle-dropdown .nav-link:hover{background-color:hsl(0, 0%, 90%)}.middle-dropdown-button{cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:0.25rem;width:1.5em;height:1.5em;min-height:0;font-size:inherit;color:inherit}.middle-dropdown-button span{margin:0}.middle-dropdown-button svg{margin:0;-ms-flex-negative:0;flex-shrink:0;width:1.4em;height:1.4em}.overlay{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0, 0, 0, 0.6);z-index:calc(var(--header-z-index, 10) + 1);opacity:0;visibility:hidden;-webkit-transition:opacity 500ms, visibility 0s 500ms;transition:opacity 500ms, visibility 0s 500ms}.overlay.open{visibility:visible;opacity:1;-webkit-transition:opacity 500ms, visibility 0s 0s;transition:opacity 500ms, visibility 0s 0s}.overlay-container{position:relative;background:white;-webkit-box-shadow:0 0 40px rgba(0, 0, 0, 0.6);box-shadow:0 0 40px rgba(0, 0, 0, 0.6);visibility:hidden;-webkit-transform:translateY(3rem);transform:translateY(3rem);opacity:0;-webkit-transition:opacity 500ms, -webkit-transform 500ms;transition:opacity 500ms, -webkit-transform 500ms;transition:transform 500ms, opacity 500ms;transition:transform 500ms, opacity 500ms, -webkit-transform 500ms}iframe{display:block;width:1px;min-width:100%;overflow:auto;max-height:80vh}.overlay-close{position:absolute;top:1rem;right:1rem;cursor:pointer;padding:0.5rem;color:rgba(0, 0, 0, 0.8)}.overlay-close:hover,.overlay-close:focus{color:black}.overlay-close.phone{color:white}.overlay-close.phone:hover,.overlay-close.phone:focus{color:rgba(255, 255, 255, 0.8)}@media (min-width: 600px){.overlay-close span{position:static;width:auto;height:auto;margin:auto;overflow:visible;clip:auto;visibility:visible}}.loader-wrapper{position:absolute;display:grid;place-items:center;width:100%;height:100%;top:0;left:0}.loaded~.loader-wrapper{display:none}.hidden-control-breadcrumbs{position:absolute;top:100%;width:0;overflow:hidden;display:-ms-flexbox;display:flex;pointer-events:none}.hidden-control-breadcrumbs .breadcrumbs-nav{-ms-flex-negative:0;flex-shrink:0}.hidden-control-breadcrumbs .breadcrumbs-list li{-ms-flex-negative:0;flex-shrink:0}";
|
|
3396
|
+
const postInternetBreadcrumbsCss = ".btn-default,.btn-secondary{border:2px solid var(--post-gray-60)}.btn-default:focus,.btn-secondary:focus,.btn-default:not(:disabled):hover,.btn-secondary:not(:disabled):hover,.pretend-hover.btn-default,.pretend-hover.btn-secondary{border-color:var(--post-contrast-color)}:is(.bg-dark,.bg-primary,.bg-black,.bg-danger,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright) .btn-default,:is(.bg-dark,.bg-primary,.bg-black,.bg-danger,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright) .btn-secondary{border-color:var(--post-contrast-color)}:is(.bg-dark,.bg-primary,.bg-black,.bg-danger,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright) .btn-default:focus,:is(.bg-dark,.bg-primary,.bg-black,.bg-danger,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright) .btn-secondary:focus,:is(.bg-dark,.bg-primary,.bg-black,.bg-danger,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright) .btn-default:not(:disabled):hover,:is(.bg-dark,.bg-primary,.bg-black,.bg-danger,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright) .btn-secondary:not(:disabled):hover,:is(.bg-dark,.bg-primary,.bg-black,.bg-danger,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright) .pretend-hover.btn-default,:is(.bg-dark,.bg-primary,.bg-black,.bg-danger,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright) .pretend-hover.btn-secondary{border-color:var(--post-gray-40)}.btn-default:disabled,.btn-secondary:disabled{border-color:var(--post-gray-40);color:var(--post-gray-60)}.btn-default:focus,.btn-secondary:focus,.btn-link:focus,.btn-tertiary:focus,.btn-default:not(:disabled):hover,.btn-secondary:not(:disabled):hover,.btn-link:not(:disabled):hover,.btn-tertiary:not(:disabled):hover,.pretend-hover.btn-default,.pretend-hover.btn-secondary,.pretend-hover.btn-link,.pretend-hover.btn-tertiary{color:var(--post-contrast-color)}:is(.bg-dark,.bg-primary,.bg-black,.bg-danger,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright) .btn-default .pi,:is(.bg-dark,.bg-primary,.bg-black,.bg-danger,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright) .btn-secondary .pi,:is(.bg-dark,.bg-primary,.bg-black,.bg-danger,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright) .btn-link .pi,:is(.bg-dark,.bg-primary,.bg-black,.bg-danger,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright) .btn-tertiary .pi{-webkit-filter:invert(1);filter:invert(1)}.btn{min-height:3rem;font-size:1rem;gap:.625rem;outline:none;outline-offset:2px;display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;max-width:100%;overflow:hidden;-webkit-transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;border-width:2px;border-style:solid;border-radius:4px;background-color:rgba(0,0,0,0);-webkit-box-shadow:none;box-shadow:none;color:var(--post-gray-80);font-family:inherit;font-weight:400;text-decoration:none !important;white-space:nowrap}.btn:where(:not(.btn-link,.btn-tertiary)){padding:0 1rem}.btn>.pi,.btn>post-icon{width:1.25rem;height:1.25rem}.btn:is(:focus-visible,:focus-within,.pretend-focus){outline:2px solid var(--post-contrast-color)}.btn-primary{border-color:rgba(0,0,0,0);background-color:var(--post-gray-80);color:var(--post-contrast-color-inverted)}.btn-primary:focus,.btn-primary:not(:disabled):hover,.btn-primary.pretend-hover{background-color:var(--post-contrast-color);color:var(--post-contrast-color-inverted)}:is(.bg-dark,.bg-primary,.bg-black,.bg-danger,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright) .btn-primary{background-color:var(--post-contrast-color);color:var(--post-gray-10)}:is(.bg-dark,.bg-primary,.bg-black,.bg-danger,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright) .btn-primary:focus,:is(.bg-dark,.bg-primary,.bg-black,.bg-danger,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright) .btn-primary:not(:disabled):hover,:is(.bg-dark,.bg-primary,.bg-black,.bg-danger,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright) .btn-primary.pretend-hover{background-color:var(--post-gray-80)}:is(.bg-dark,.bg-primary,.bg-black,.bg-danger,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright) .btn-primary:disabled{color:var(--post-gray-80)}:is(.bg-dark,.bg-primary,.bg-black,.bg-danger,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright) .btn-primary .pi{-webkit-filter:invert(0);filter:invert(0)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn-primary{border-color:var(--post-contrast-color);background-color:ButtonFace}.btn-primary:not(:disabled,.disabled):hover,.btn-primary:not(:disabled,.disabled):focus-visible{border-color:highlight}.btn-primary .pi{-webkit-filter:invert(1) !important;filter:invert(1) !important}}.btn-primary:disabled{background-color:var(--post-gray-40)}.btn-primary .pi{-webkit-filter:invert(1);filter:invert(1);forced-color-adjust:none}.btn-link,.btn-tertiary{border:0;padding-inline:.25rem}.btn-link:disabled,.btn-tertiary:disabled{color:var(--post-gray-60)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn-link,.btn-tertiary{color:linktext;text-decoration:underline !important}}.btn-icon{min-width:3rem;padding-right:.75rem;padding-left:.75rem}.btn-icon.btn-sm{min-width:2rem;padding-right:.375rem;padding-left:.375rem}.btn-icon.btn-rg{min-width:2.5rem;padding-right:.5625rem;padding-left:.5625rem}.btn-icon.btn-lg{min-width:3.5rem;padding-right:.9375rem;padding-left:.9375rem}.btn-animated:not(.btn-link,.btn-tertiary)::after{content:\"\";position:absolute;right:.5rem;width:.625em;height:.625em;-webkit-transform:rotateZ(315deg) translate(-2px, -2px);transform:rotateZ(315deg) translate(-2px, -2px);-webkit-transform-origin:center center;transform-origin:center center;-webkit-transition:opacity 250ms,-webkit-transform 250ms;transition:opacity 250ms,-webkit-transform 250ms;transition:opacity 250ms,transform 250ms;transition:opacity 250ms,transform 250ms,-webkit-transform 250ms;border-right:2px solid currentColor;border-bottom:2px solid currentColor;opacity:0}.btn-animated:not(.btn-link,.btn-tertiary).btn-sm::after{right:.25rem}.btn-animated:not(.btn-link,.btn-tertiary).btn-rg::after{right:.375rem}.btn-animated:not(.btn-link,.btn-tertiary).btn-lg::after{right:.625rem}.btn-animated:not(.btn-link,.btn-tertiary)>span{-webkit-transition:-webkit-transform 250ms;transition:-webkit-transform 250ms;transition:transform 250ms;transition:transform 250ms, -webkit-transform 250ms}@media (prefers-reduced-motion: no-preference){.btn-animated:not(.btn-link,.btn-tertiary):focus>span,.btn-animated:not(.btn-link,.btn-tertiary):not(:disabled):hover>span,.btn-animated:not(.btn-link,.btn-tertiary).pretend-hover>span{-webkit-transform:translateX(-0.5rem);transform:translateX(-0.5rem)}.btn-animated:not(.btn-link,.btn-tertiary):focus.btn-sm>span,.btn-animated:not(.btn-link,.btn-tertiary):not(:disabled):hover.btn-sm>span,.btn-animated:not(.btn-link,.btn-tertiary).pretend-hover.btn-sm>span{-webkit-transform:translateX(-0.5rem);transform:translateX(-0.5rem)}.btn-animated:not(.btn-link,.btn-tertiary):focus.btn-rg>span,.btn-animated:not(.btn-link,.btn-tertiary):not(:disabled):hover.btn-rg>span,.btn-animated:not(.btn-link,.btn-tertiary).pretend-hover.btn-rg>span{-webkit-transform:translateX(-0.5rem);transform:translateX(-0.5rem)}.btn-animated:not(.btn-link,.btn-tertiary):focus.btn-lg>span,.btn-animated:not(.btn-link,.btn-tertiary):not(:disabled):hover.btn-lg>span,.btn-animated:not(.btn-link,.btn-tertiary).pretend-hover.btn-lg>span{-webkit-transform:translateX(-0.5rem);transform:translateX(-0.5rem)}.btn-animated:not(.btn-link,.btn-tertiary):focus::after,.btn-animated:not(.btn-link,.btn-tertiary):not(:disabled):hover::after,.btn-animated:not(.btn-link,.btn-tertiary).pretend-hover::after{-webkit-transform:rotateZ(315deg) translate(0, 0);transform:rotateZ(315deg) translate(0, 0);opacity:1}.btn-animated:not(.btn-link,.btn-tertiary)>span{-webkit-transform:translateX(0);transform:translateX(0)}}.btn-sm{min-height:2rem;font-size:.75rem;gap:.375rem}.btn-sm:where(:not(.btn-link,.btn-tertiary)){padding:0 .75rem}.btn-sm>.pi,.btn-sm>post-icon{width:1rem;height:1rem}.btn-rg{min-height:2.5rem;font-size:.875rem;gap:.5rem}.btn-rg:where(:not(.btn-link,.btn-tertiary)){padding:0 .875rem}.btn-rg>.pi,.btn-rg>post-icon{width:1.125rem;height:1.125rem}.btn-lg{min-height:3.5rem;font-size:1.125rem;gap:.75rem}.btn-lg:where(:not(.btn-link,.btn-tertiary)){padding:0 1.125rem}.btn-lg>.pi,.btn-lg>post-icon{width:1.375rem;height:1.375rem}.btn-nightblue{border-color:rgba(0,0,0,0);background-color:#004976;color:#fff}.btn-nightblue:focus,.btn-nightblue:not(:disabled):hover,.btn-nightblue.pretend-hover{background-color:#002943;color:#fff}.btn-nightblue-bright{border-color:rgba(0,0,0,0);background-color:#0076a8;color:#fff}.btn-nightblue-bright:focus,.btn-nightblue-bright:not(:disabled):hover,.btn-nightblue-bright.pretend-hover{background-color:#005275;color:#fff}.btn-petrol{border-color:rgba(0,0,0,0);background-color:#006d68;color:#fff}.btn-petrol:focus,.btn-petrol:not(:disabled):hover,.btn-petrol.pretend-hover{background-color:#003a37;color:#fff}.btn-petrol-bright{border-color:rgba(0,0,0,0);background-color:#00968f;color:#000}.btn-petrol-bright:focus,.btn-petrol-bright:not(:disabled):hover,.btn-petrol-bright.pretend-hover{background-color:#00635e;color:#fff}.btn-coral{border-color:rgba(0,0,0,0);background-color:#9e2a2f;color:#fff}.btn-coral:focus,.btn-coral:not(:disabled):hover,.btn-coral.pretend-hover{background-color:#761f23;color:#fff}.btn-coral-bright{border-color:rgba(0,0,0,0);background-color:#e03c31;color:#000}.btn-coral-bright:focus,.btn-coral-bright:not(:disabled):hover,.btn-coral-bright.pretend-hover{background-color:#c1271d;color:#fff}.btn-olive{border-color:rgba(0,0,0,0);background-color:#716135;color:#fff}.btn-olive:focus,.btn-olive:not(:disabled):hover,.btn-olive.pretend-hover{background-color:#4e4325;color:#fff}.btn-olive-bright{border-color:rgba(0,0,0,0);background-color:#aa9d2e;color:#000}.btn-olive-bright:focus,.btn-olive-bright:not(:disabled):hover,.btn-olive-bright.pretend-hover{background-color:#827823;color:#000}.btn-purple{border-color:rgba(0,0,0,0);background-color:#80276c;color:#fff}.btn-purple:focus,.btn-purple:not(:disabled):hover,.btn-purple.pretend-hover{background-color:#591b4b;color:#fff}.btn-purple-bright{border-color:rgba(0,0,0,0);background-color:#c5299b;color:#fff}.btn-purple-bright:focus,.btn-purple-bright:not(:disabled):hover,.btn-purple-bright.pretend-hover{background-color:#9b207a;color:#fff}.btn-aubergine{border-color:rgba(0,0,0,0);background-color:#523178;color:#fff}.btn-aubergine:focus,.btn-aubergine:not(:disabled):hover,.btn-aubergine.pretend-hover{background-color:#392254;color:#fff}.btn-aubergine-bright{border-color:rgba(0,0,0,0);background-color:#7566a0;color:#fff}.btn-aubergine-bright:focus,.btn-aubergine-bright:not(:disabled):hover,.btn-aubergine-bright.pretend-hover{background-color:#5e5182;color:#fff}.btn-success{border-color:rgba(0,0,0,0);background-color:#2c911c;color:#000}.btn-success:focus,.btn-success:not(:disabled):hover,.btn-success.pretend-hover{background-color:#1f6614;color:#fff}.btn-info{border-color:rgba(0,0,0,0);background-color:#cce4ee;color:#000}.btn-info:focus,.btn-info:not(:disabled):hover,.btn-info.pretend-hover{background-color:#a6d0e1;color:#000}.btn-warning{border-color:rgba(0,0,0,0);background-color:#f49e00;color:#000}.btn-warning:focus,.btn-warning:not(:disabled):hover,.btn-warning.pretend-hover{background-color:#c17d00;color:#000}.btn-danger{border-color:rgba(0,0,0,0);background-color:#a51728;color:#fff}.btn-danger:focus,.btn-danger:not(:disabled):hover,.btn-danger.pretend-hover{background-color:#78111d;color:#fff}/*!\n * Bootstrap Utilities v5.1.3 (https://getbootstrap.com/)\n * Copyright 2011-2021 The Bootstrap Authors\n * Copyright 2011-2021 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n\n * The MIT License (MIT)\n\n * Copyright (c) 2011-2020 Twitter, Inc.\n * Copyright (c) 2011-2020 The Bootstrap Authors\n\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */:root{--bs-breakpoint-xs:0;--bs-breakpoint-sm:400px;--bs-breakpoint-rg:600px;--bs-breakpoint-md:780px;--bs-breakpoint-lg:1024px;--bs-breakpoint-xl:1280px;--bs-breakpoint-xxl:1441px}.row{--bs-gutter-x:30px;--bs-gutter-y:0;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-top:calc(-1*var(--bs-gutter-y));margin-right:calc(-0.5*var(--bs-gutter-x));margin-left:calc(-0.5*var(--bs-gutter-x))}.row>*{-ms-flex-negative:0;flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x)*.5);padding-left:calc(var(--bs-gutter-x)*.5);margin-top:var(--bs-gutter-y)}.col{-ms-flex:1 0 0%;flex:1 0 0%}.row-cols-auto>*{-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.row-cols-1>*{-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.row-cols-2>*{-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.row-cols-3>*{-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.row-cols-4>*{-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.row-cols-5>*{-ms-flex:0 0 auto;flex:0 0 auto;width:20%}.row-cols-6>*{-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.col-1{-ms-flex:0 0 auto;flex:0 0 auto;width:8.33333333%}.col-2{-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-3{-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.col-4{-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.col-5{-ms-flex:0 0 auto;flex:0 0 auto;width:41.66666667%}.col-6{-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.col-7{-ms-flex:0 0 auto;flex:0 0 auto;width:58.33333333%}.col-8{-ms-flex:0 0 auto;flex:0 0 auto;width:66.66666667%}.col-9{-ms-flex:0 0 auto;flex:0 0 auto;width:75%}.col-10{-ms-flex:0 0 auto;flex:0 0 auto;width:83.33333333%}.col-11{-ms-flex:0 0 auto;flex:0 0 auto;width:91.66666667%}.col-12{-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}.g-0,.gx-0{--bs-gutter-x:0}.g-0,.gy-0{--bs-gutter-y:0}.g-1,.gx-1{--bs-gutter-x:0.25rem}.g-1,.gy-1{--bs-gutter-y:0.25rem}.g-2,.gx-2{--bs-gutter-x:0.5rem}.g-2,.gy-2{--bs-gutter-y:0.5rem}.g-3,.gx-3{--bs-gutter-x:1rem}.g-3,.gy-3{--bs-gutter-y:1rem}.g-4,.gx-4{--bs-gutter-x:1.5rem}.g-4,.gy-4{--bs-gutter-y:1.5rem}.g-5,.gx-5{--bs-gutter-x:3rem}.g-5,.gy-5{--bs-gutter-y:3rem}@media (min-width: 400px){.col-sm{-ms-flex:1 0 0%;flex:1 0 0%}.row-cols-sm-auto>*{-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.row-cols-sm-1>*{-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.row-cols-sm-2>*{-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.row-cols-sm-3>*{-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.row-cols-sm-4>*{-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.row-cols-sm-5>*{-ms-flex:0 0 auto;flex:0 0 auto;width:20%}.row-cols-sm-6>*{-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-sm-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.col-sm-1{-ms-flex:0 0 auto;flex:0 0 auto;width:8.33333333%}.col-sm-2{-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-sm-3{-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.col-sm-4{-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.col-sm-5{-ms-flex:0 0 auto;flex:0 0 auto;width:41.66666667%}.col-sm-6{-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.col-sm-7{-ms-flex:0 0 auto;flex:0 0 auto;width:58.33333333%}.col-sm-8{-ms-flex:0 0 auto;flex:0 0 auto;width:66.66666667%}.col-sm-9{-ms-flex:0 0 auto;flex:0 0 auto;width:75%}.col-sm-10{-ms-flex:0 0 auto;flex:0 0 auto;width:83.33333333%}.col-sm-11{-ms-flex:0 0 auto;flex:0 0 auto;width:91.66666667%}.col-sm-12{-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}.g-sm-0,.gx-sm-0{--bs-gutter-x:0}.g-sm-0,.gy-sm-0{--bs-gutter-y:0}.g-sm-1,.gx-sm-1{--bs-gutter-x:0.25rem}.g-sm-1,.gy-sm-1{--bs-gutter-y:0.25rem}.g-sm-2,.gx-sm-2{--bs-gutter-x:0.5rem}.g-sm-2,.gy-sm-2{--bs-gutter-y:0.5rem}.g-sm-3,.gx-sm-3{--bs-gutter-x:1rem}.g-sm-3,.gy-sm-3{--bs-gutter-y:1rem}.g-sm-4,.gx-sm-4{--bs-gutter-x:1.5rem}.g-sm-4,.gy-sm-4{--bs-gutter-y:1.5rem}.g-sm-5,.gx-sm-5{--bs-gutter-x:3rem}.g-sm-5,.gy-sm-5{--bs-gutter-y:3rem}}@media (min-width: 600px){.col-rg{-ms-flex:1 0 0%;flex:1 0 0%}.row-cols-rg-auto>*{-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.row-cols-rg-1>*{-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.row-cols-rg-2>*{-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.row-cols-rg-3>*{-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.row-cols-rg-4>*{-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.row-cols-rg-5>*{-ms-flex:0 0 auto;flex:0 0 auto;width:20%}.row-cols-rg-6>*{-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-rg-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.col-rg-1{-ms-flex:0 0 auto;flex:0 0 auto;width:8.33333333%}.col-rg-2{-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-rg-3{-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.col-rg-4{-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.col-rg-5{-ms-flex:0 0 auto;flex:0 0 auto;width:41.66666667%}.col-rg-6{-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.col-rg-7{-ms-flex:0 0 auto;flex:0 0 auto;width:58.33333333%}.col-rg-8{-ms-flex:0 0 auto;flex:0 0 auto;width:66.66666667%}.col-rg-9{-ms-flex:0 0 auto;flex:0 0 auto;width:75%}.col-rg-10{-ms-flex:0 0 auto;flex:0 0 auto;width:83.33333333%}.col-rg-11{-ms-flex:0 0 auto;flex:0 0 auto;width:91.66666667%}.col-rg-12{-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.offset-rg-0{margin-left:0}.offset-rg-1{margin-left:8.33333333%}.offset-rg-2{margin-left:16.66666667%}.offset-rg-3{margin-left:25%}.offset-rg-4{margin-left:33.33333333%}.offset-rg-5{margin-left:41.66666667%}.offset-rg-6{margin-left:50%}.offset-rg-7{margin-left:58.33333333%}.offset-rg-8{margin-left:66.66666667%}.offset-rg-9{margin-left:75%}.offset-rg-10{margin-left:83.33333333%}.offset-rg-11{margin-left:91.66666667%}.g-rg-0,.gx-rg-0{--bs-gutter-x:0}.g-rg-0,.gy-rg-0{--bs-gutter-y:0}.g-rg-1,.gx-rg-1{--bs-gutter-x:0.25rem}.g-rg-1,.gy-rg-1{--bs-gutter-y:0.25rem}.g-rg-2,.gx-rg-2{--bs-gutter-x:0.5rem}.g-rg-2,.gy-rg-2{--bs-gutter-y:0.5rem}.g-rg-3,.gx-rg-3{--bs-gutter-x:1rem}.g-rg-3,.gy-rg-3{--bs-gutter-y:1rem}.g-rg-4,.gx-rg-4{--bs-gutter-x:1.5rem}.g-rg-4,.gy-rg-4{--bs-gutter-y:1.5rem}.g-rg-5,.gx-rg-5{--bs-gutter-x:3rem}.g-rg-5,.gy-rg-5{--bs-gutter-y:3rem}}@media (min-width: 780px){.col-md{-ms-flex:1 0 0%;flex:1 0 0%}.row-cols-md-auto>*{-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.row-cols-md-1>*{-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.row-cols-md-2>*{-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.row-cols-md-3>*{-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.row-cols-md-4>*{-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.row-cols-md-5>*{-ms-flex:0 0 auto;flex:0 0 auto;width:20%}.row-cols-md-6>*{-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-md-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.col-md-1{-ms-flex:0 0 auto;flex:0 0 auto;width:8.33333333%}.col-md-2{-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-md-3{-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.col-md-4{-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.col-md-5{-ms-flex:0 0 auto;flex:0 0 auto;width:41.66666667%}.col-md-6{-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.col-md-7{-ms-flex:0 0 auto;flex:0 0 auto;width:58.33333333%}.col-md-8{-ms-flex:0 0 auto;flex:0 0 auto;width:66.66666667%}.col-md-9{-ms-flex:0 0 auto;flex:0 0 auto;width:75%}.col-md-10{-ms-flex:0 0 auto;flex:0 0 auto;width:83.33333333%}.col-md-11{-ms-flex:0 0 auto;flex:0 0 auto;width:91.66666667%}.col-md-12{-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}.g-md-0,.gx-md-0{--bs-gutter-x:0}.g-md-0,.gy-md-0{--bs-gutter-y:0}.g-md-1,.gx-md-1{--bs-gutter-x:0.25rem}.g-md-1,.gy-md-1{--bs-gutter-y:0.25rem}.g-md-2,.gx-md-2{--bs-gutter-x:0.5rem}.g-md-2,.gy-md-2{--bs-gutter-y:0.5rem}.g-md-3,.gx-md-3{--bs-gutter-x:1rem}.g-md-3,.gy-md-3{--bs-gutter-y:1rem}.g-md-4,.gx-md-4{--bs-gutter-x:1.5rem}.g-md-4,.gy-md-4{--bs-gutter-y:1.5rem}.g-md-5,.gx-md-5{--bs-gutter-x:3rem}.g-md-5,.gy-md-5{--bs-gutter-y:3rem}}@media (min-width: 1024px){.col-lg{-ms-flex:1 0 0%;flex:1 0 0%}.row-cols-lg-auto>*{-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.row-cols-lg-1>*{-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.row-cols-lg-2>*{-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.row-cols-lg-3>*{-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.row-cols-lg-4>*{-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.row-cols-lg-5>*{-ms-flex:0 0 auto;flex:0 0 auto;width:20%}.row-cols-lg-6>*{-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-lg-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.col-lg-1{-ms-flex:0 0 auto;flex:0 0 auto;width:8.33333333%}.col-lg-2{-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-lg-3{-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.col-lg-4{-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.col-lg-5{-ms-flex:0 0 auto;flex:0 0 auto;width:41.66666667%}.col-lg-6{-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.col-lg-7{-ms-flex:0 0 auto;flex:0 0 auto;width:58.33333333%}.col-lg-8{-ms-flex:0 0 auto;flex:0 0 auto;width:66.66666667%}.col-lg-9{-ms-flex:0 0 auto;flex:0 0 auto;width:75%}.col-lg-10{-ms-flex:0 0 auto;flex:0 0 auto;width:83.33333333%}.col-lg-11{-ms-flex:0 0 auto;flex:0 0 auto;width:91.66666667%}.col-lg-12{-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}.g-lg-0,.gx-lg-0{--bs-gutter-x:0}.g-lg-0,.gy-lg-0{--bs-gutter-y:0}.g-lg-1,.gx-lg-1{--bs-gutter-x:0.25rem}.g-lg-1,.gy-lg-1{--bs-gutter-y:0.25rem}.g-lg-2,.gx-lg-2{--bs-gutter-x:0.5rem}.g-lg-2,.gy-lg-2{--bs-gutter-y:0.5rem}.g-lg-3,.gx-lg-3{--bs-gutter-x:1rem}.g-lg-3,.gy-lg-3{--bs-gutter-y:1rem}.g-lg-4,.gx-lg-4{--bs-gutter-x:1.5rem}.g-lg-4,.gy-lg-4{--bs-gutter-y:1.5rem}.g-lg-5,.gx-lg-5{--bs-gutter-x:3rem}.g-lg-5,.gy-lg-5{--bs-gutter-y:3rem}}@media (min-width: 1280px){.col-xl{-ms-flex:1 0 0%;flex:1 0 0%}.row-cols-xl-auto>*{-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.row-cols-xl-1>*{-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.row-cols-xl-2>*{-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.row-cols-xl-3>*{-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.row-cols-xl-4>*{-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.row-cols-xl-5>*{-ms-flex:0 0 auto;flex:0 0 auto;width:20%}.row-cols-xl-6>*{-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-xl-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.col-xl-1{-ms-flex:0 0 auto;flex:0 0 auto;width:8.33333333%}.col-xl-2{-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-xl-3{-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.col-xl-4{-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.col-xl-5{-ms-flex:0 0 auto;flex:0 0 auto;width:41.66666667%}.col-xl-6{-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.col-xl-7{-ms-flex:0 0 auto;flex:0 0 auto;width:58.33333333%}.col-xl-8{-ms-flex:0 0 auto;flex:0 0 auto;width:66.66666667%}.col-xl-9{-ms-flex:0 0 auto;flex:0 0 auto;width:75%}.col-xl-10{-ms-flex:0 0 auto;flex:0 0 auto;width:83.33333333%}.col-xl-11{-ms-flex:0 0 auto;flex:0 0 auto;width:91.66666667%}.col-xl-12{-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}.g-xl-0,.gx-xl-0{--bs-gutter-x:0}.g-xl-0,.gy-xl-0{--bs-gutter-y:0}.g-xl-1,.gx-xl-1{--bs-gutter-x:0.25rem}.g-xl-1,.gy-xl-1{--bs-gutter-y:0.25rem}.g-xl-2,.gx-xl-2{--bs-gutter-x:0.5rem}.g-xl-2,.gy-xl-2{--bs-gutter-y:0.5rem}.g-xl-3,.gx-xl-3{--bs-gutter-x:1rem}.g-xl-3,.gy-xl-3{--bs-gutter-y:1rem}.g-xl-4,.gx-xl-4{--bs-gutter-x:1.5rem}.g-xl-4,.gy-xl-4{--bs-gutter-y:1.5rem}.g-xl-5,.gx-xl-5{--bs-gutter-x:3rem}.g-xl-5,.gy-xl-5{--bs-gutter-y:3rem}}@media (min-width: 1441px){.col-xxl{-ms-flex:1 0 0%;flex:1 0 0%}.row-cols-xxl-auto>*{-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.row-cols-xxl-1>*{-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.row-cols-xxl-2>*{-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.row-cols-xxl-3>*{-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.row-cols-xxl-4>*{-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.row-cols-xxl-5>*{-ms-flex:0 0 auto;flex:0 0 auto;width:20%}.row-cols-xxl-6>*{-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-xxl-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto}.col-xxl-1{-ms-flex:0 0 auto;flex:0 0 auto;width:8.33333333%}.col-xxl-2{-ms-flex:0 0 auto;flex:0 0 auto;width:16.66666667%}.col-xxl-3{-ms-flex:0 0 auto;flex:0 0 auto;width:25%}.col-xxl-4{-ms-flex:0 0 auto;flex:0 0 auto;width:33.33333333%}.col-xxl-5{-ms-flex:0 0 auto;flex:0 0 auto;width:41.66666667%}.col-xxl-6{-ms-flex:0 0 auto;flex:0 0 auto;width:50%}.col-xxl-7{-ms-flex:0 0 auto;flex:0 0 auto;width:58.33333333%}.col-xxl-8{-ms-flex:0 0 auto;flex:0 0 auto;width:66.66666667%}.col-xxl-9{-ms-flex:0 0 auto;flex:0 0 auto;width:75%}.col-xxl-10{-ms-flex:0 0 auto;flex:0 0 auto;width:83.33333333%}.col-xxl-11{-ms-flex:0 0 auto;flex:0 0 auto;width:91.66666667%}.col-xxl-12{-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.offset-xxl-0{margin-left:0}.offset-xxl-1{margin-left:8.33333333%}.offset-xxl-2{margin-left:16.66666667%}.offset-xxl-3{margin-left:25%}.offset-xxl-4{margin-left:33.33333333%}.offset-xxl-5{margin-left:41.66666667%}.offset-xxl-6{margin-left:50%}.offset-xxl-7{margin-left:58.33333333%}.offset-xxl-8{margin-left:66.66666667%}.offset-xxl-9{margin-left:75%}.offset-xxl-10{margin-left:83.33333333%}.offset-xxl-11{margin-left:91.66666667%}.g-xxl-0,.gx-xxl-0{--bs-gutter-x:0}.g-xxl-0,.gy-xxl-0{--bs-gutter-y:0}.g-xxl-1,.gx-xxl-1{--bs-gutter-x:0.25rem}.g-xxl-1,.gy-xxl-1{--bs-gutter-y:0.25rem}.g-xxl-2,.gx-xxl-2{--bs-gutter-x:0.5rem}.g-xxl-2,.gy-xxl-2{--bs-gutter-y:0.5rem}.g-xxl-3,.gx-xxl-3{--bs-gutter-x:1rem}.g-xxl-3,.gy-xxl-3{--bs-gutter-y:1rem}.g-xxl-4,.gx-xxl-4{--bs-gutter-x:1.5rem}.g-xxl-4,.gy-xxl-4{--bs-gutter-y:1.5rem}.g-xxl-5,.gx-xxl-5{--bs-gutter-x:3rem}.g-xxl-5,.gy-xxl-5{--bs-gutter-y:3rem}}.container,.container-fluid,.container-xxl,.container-xl{--bs-gutter-x:30px;--bs-gutter-y:0;width:100%;padding-right:calc(var(--bs-gutter-x)*.5);padding-left:calc(var(--bs-gutter-x)*.5);margin-right:auto;margin-left:auto}@media (min-width: 1280px){.container-xl,.container-lg,.container-md,.container-rg,.container-sm,.container{max-width:1280px}}@media (min-width: 1441px){.container-xxl,.container-xl,.container-lg,.container-md,.container-rg,.container-sm,.container{max-width:1440px}}.container{padding-inline:var(--post-container-padding-x)}.container-fluid{padding-inline:var(--post-container-fluid-padding-x)}.container{--post-container-padding-x:12px}.container-fluid{--post-container-fluid-padding-x:12px}.row{--bs-gutter-x:12px}@media (min-width: 400px){.container{--post-container-padding-x:16px}}@media (min-width: 400px){.container-fluid{--post-container-fluid-padding-x:16px}}@media (min-width: 400px){.row{--bs-gutter-x:16px}}@media (min-width: 780px){.container{--post-container-padding-x:32px}}@media (min-width: 780px){.container-fluid{--post-container-fluid-padding-x:32px}}@media (min-width: 1280px){.container{--post-container-padding-x:40px}}@media (min-width: 1441px){.container{--post-container-padding-x:120px}}.g-0,.gx-0{--bs-gutter-x:0}.g-1,.gx-1{--bs-gutter-x:0.25rem}.g-2,.gx-2{--bs-gutter-x:0.5rem}.g-3,.gx-3{--bs-gutter-x:1rem}.g-4,.gx-4{--bs-gutter-x:1.5rem}.g-5,.gx-5{--bs-gutter-x:3rem}@media (min-width: 400px){.g-sm-0,.gx-sm-0{--bs-gutter-x:0}}@media (min-width: 400px){.g-sm-1,.gx-sm-1{--bs-gutter-x:0.25rem}}@media (min-width: 400px){.g-sm-2,.gx-sm-2{--bs-gutter-x:0.5rem}}@media (min-width: 400px){.g-sm-3,.gx-sm-3{--bs-gutter-x:1rem}}@media (min-width: 400px){.g-sm-4,.gx-sm-4{--bs-gutter-x:1.5rem}}@media (min-width: 400px){.g-sm-5,.gx-sm-5{--bs-gutter-x:3rem}}@media (min-width: 600px){.g-rg-0,.gx-rg-0{--bs-gutter-x:0}}@media (min-width: 600px){.g-rg-1,.gx-rg-1{--bs-gutter-x:0.25rem}}@media (min-width: 600px){.g-rg-2,.gx-rg-2{--bs-gutter-x:0.5rem}}@media (min-width: 600px){.g-rg-3,.gx-rg-3{--bs-gutter-x:1rem}}@media (min-width: 600px){.g-rg-4,.gx-rg-4{--bs-gutter-x:1.5rem}}@media (min-width: 600px){.g-rg-5,.gx-rg-5{--bs-gutter-x:3rem}}@media (min-width: 780px){.g-md-0,.gx-md-0{--bs-gutter-x:0}}@media (min-width: 780px){.g-md-1,.gx-md-1{--bs-gutter-x:0.25rem}}@media (min-width: 780px){.g-md-2,.gx-md-2{--bs-gutter-x:0.5rem}}@media (min-width: 780px){.g-md-3,.gx-md-3{--bs-gutter-x:1rem}}@media (min-width: 780px){.g-md-4,.gx-md-4{--bs-gutter-x:1.5rem}}@media (min-width: 780px){.g-md-5,.gx-md-5{--bs-gutter-x:3rem}}@media (min-width: 1024px){.g-lg-0,.gx-lg-0{--bs-gutter-x:0}}@media (min-width: 1024px){.g-lg-1,.gx-lg-1{--bs-gutter-x:0.25rem}}@media (min-width: 1024px){.g-lg-2,.gx-lg-2{--bs-gutter-x:0.5rem}}@media (min-width: 1024px){.g-lg-3,.gx-lg-3{--bs-gutter-x:1rem}}@media (min-width: 1024px){.g-lg-4,.gx-lg-4{--bs-gutter-x:1.5rem}}@media (min-width: 1024px){.g-lg-5,.gx-lg-5{--bs-gutter-x:3rem}}@media (min-width: 1280px){.g-xl-0,.gx-xl-0{--bs-gutter-x:0}}@media (min-width: 1280px){.g-xl-1,.gx-xl-1{--bs-gutter-x:0.25rem}}@media (min-width: 1280px){.g-xl-2,.gx-xl-2{--bs-gutter-x:0.5rem}}@media (min-width: 1280px){.g-xl-3,.gx-xl-3{--bs-gutter-x:1rem}}@media (min-width: 1280px){.g-xl-4,.gx-xl-4{--bs-gutter-x:1.5rem}}@media (min-width: 1280px){.g-xl-5,.gx-xl-5{--bs-gutter-x:3rem}}@media (min-width: 1441px){.g-xxl-0,.gx-xxl-0{--bs-gutter-x:0}}@media (min-width: 1441px){.g-xxl-1,.gx-xxl-1{--bs-gutter-x:0.25rem}}@media (min-width: 1441px){.g-xxl-2,.gx-xxl-2{--bs-gutter-x:0.5rem}}@media (min-width: 1441px){.g-xxl-3,.gx-xxl-3{--bs-gutter-x:1rem}}@media (min-width: 1441px){.g-xxl-4,.gx-xxl-4{--bs-gutter-x:1.5rem}}@media (min-width: 1441px){.g-xxl-5,.gx-xxl-5{--bs-gutter-x:3rem}}.vertical-gutters{margin-bottom:-30px}.vertical-gutters>.col,.vertical-gutters>[class*=col-]{padding-bottom:30px}.row.border-gutters{margin-right:-1px;margin-bottom:-1px;margin-left:0}.row.border-gutters>.col,.row.border-gutters>[class*=col-]{padding-right:1px;padding-bottom:1px;padding-left:0}.container-reset{margin-right:-12px;margin-left:-12px}.container-reset-left{margin-left:-12px}.container-reset-right{margin-right:-12px}@media (max-width: 399.98px){.container-fluid-xs{padding-right:1rem;padding-left:1rem}}@media (min-width: 400px){.container-reset{margin-right:-16px;margin-left:-16px}}@media (min-width: 400px){.container-reset-left{margin-left:-16px}}@media (min-width: 400px){.container-reset-right{margin-right:-16px}}@media (min-width: 400px)and (max-width: 599.98px){.container-fluid-sm{padding-right:1rem;padding-left:1rem}}@media (min-width: 600px)and (max-width: 779.98px){.container-fluid-rg{padding-right:1rem;padding-left:1rem}}@media (min-width: 780px){.container-reset{margin-right:-32px;margin-left:-32px}}@media (min-width: 780px){.container-reset-left{margin-left:-32px}}@media (min-width: 780px){.container-reset-right{margin-right:-32px}}@media (min-width: 780px)and (max-width: 1023.98px){.container-fluid-md{padding-right:1rem;padding-left:1rem}}@media (min-width: 1024px)and (max-width: 1279.98px){.container-fluid-lg{padding-right:1rem;padding-left:1rem}}@media (min-width: 1280px){.container-reset{margin-right:-40px;margin-left:-40px}}@media (min-width: 1280px){.container-reset-left{margin-left:-40px}}@media (min-width: 1280px){.container-reset-right{margin-right:-40px}}@media (min-width: 1280px)and (max-width: 1440.98px){.container-fluid-xl{padding-right:1rem;padding-left:1rem}}@media (min-width: 1441px){.container-reset{margin-right:-120px;margin-left:-120px}}@media (min-width: 1441px){.container-reset-left{margin-left:-120px}}@media (min-width: 1441px){.container-reset-right{margin-right:-120px}}@media (min-width: 1441px){.container-fluid-xxl{padding-right:1rem;padding-left:1rem}}@-webkit-keyframes progress-bar-stripes{0%{background-position-x:1rem}}@keyframes progress-bar-stripes{0%{background-position-x:1rem}}.progress,.progress-stacked{--bs-progress-height:1rem;--bs-progress-font-size:0.75rem;--bs-progress-bg:hsl(0, 0%, 80%);--bs-progress-border-radius:4px;--bs-progress-box-shadow:inset 0 0.1rem 0.1rem rgba(0, 0, 0, 0.1);--bs-progress-bar-color:#fff;--bs-progress-bar-bg:hsl(0, 0%, 20%);--bs-progress-bar-transition:width 0.6s ease;display:-ms-flexbox;display:flex;height:var(--bs-progress-height);overflow:hidden;font-size:var(--bs-progress-font-size);background-color:var(--bs-progress-bg);border-radius:var(--bs-progress-border-radius)}.progress-bar{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;overflow:hidden;color:var(--bs-progress-bar-color);text-align:center;white-space:nowrap;background-color:var(--bs-progress-bar-bg);-webkit-transition:var(--bs-progress-bar-transition);transition:var(--bs-progress-bar-transition)}@media (prefers-reduced-motion: reduce){.progress-bar{-webkit-transition:none;transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-size:var(--bs-progress-height) var(--bs-progress-height)}.progress-stacked>.progress{overflow:visible}.progress-stacked>.progress>.progress-bar{width:100%}.progress-bar-animated{-webkit-animation:1s linear infinite progress-bar-stripes;animation:1s linear infinite progress-bar-stripes}@media (prefers-reduced-motion: reduce){.progress-bar-animated{-webkit-animation:none;animation:none}}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.spinner-bg{position:absolute;z-index:990;top:0;left:0;width:100%;height:100%}.loading-modal{display:-ms-inline-flexbox;display:inline-flex;position:absolute;z-index:990;top:0;right:0;bottom:0;left:0}.loader{width:3.5rem;height:3.5rem;-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite;border:6px solid #fc0;border-radius:50%;border-right-color:rgba(0,0,0,0);border-bottom-color:#e6e6e6}.loader.loader-sm{width:2rem;height:2rem;border-width:.25rem}.loader.loader-xs{width:.75rem;height:.75rem;border-width:2px}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.loader{border-color:Highlight;border-bottom-color:CanvasText;border-right-color:Canvas}@supports (forced-color-adjust: none){.loader{forced-color-adjust:none;border-right-color:rgba(0,0,0,0)}}}@font-face{font-display:swap;font-family:\"Frutiger Neue For Post\";font-weight:700;src:url(\"https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Bold.woff2\") format(\"woff2\"),url(\"https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Bold.woff\") format(\"woff\")}@font-face{font-display:swap;font-family:\"Frutiger Neue For Post\";font-weight:700;font-style:italic;src:url(\"https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-BdIt.woff2\") format(\"woff2\"),url(\"https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-BdIt.woff\") format(\"woff\")}@font-face{font-display:swap;font-family:\"Frutiger Neue For Post\";font-weight:400;src:url(\"https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Rg.woff2\") format(\"woff2\"),url(\"https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Rg.woff\") format(\"woff\")}@font-face{font-display:swap;font-family:\"Frutiger Neue For Post\";font-weight:400;font-style:italic;src:url(\"https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-It.woff2\") format(\"woff2\"),url(\"https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-It.woff\") format(\"woff\")}@font-face{font-display:swap;font-family:\"Frutiger Neue For Post\";font-weight:300;src:url(\"https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Lt.woff2\") format(\"woff2\"),url(\"https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-Lt.woff\") format(\"woff\")}@font-face{font-display:swap;font-family:\"Frutiger Neue For Post\";font-weight:300;font-style:italic;src:url(\"https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-LtIt.woff2\") format(\"woff2\"),url(\"https://fonts.post.ch/frutigerneueforpost/v2/FrutigerNeueforPostW05-LtIt.woff\") format(\"woff\")}.visually-hidden{position:absolute;width:1px;height:1px;border:0;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0)}.btn-blank{background-color:rgba(0,0,0,0);border:none;border-radius:0;padding:0}.nav-link{outline:none;outline-offset:2px;text-decoration:none;color:rgba(0,0,0,.8);-webkit-transition:color 200ms;transition:color 200ms;background-color:rgba(0,0,0,0);-webkit-box-shadow:none;box-shadow:none;border:0;margin:0;cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:.5rem}.nav-link:is(:focus-visible,:focus-within,.pretend-focus){outline:2px solid var(--post-contrast-color)}.nav-link:hover,.nav-link:focus{color:#000}.nav-link:is(:focus-visible,:focus-within,.pretend-focus){z-index:1;position:relative}.nav-link>svg{width:1.4em;height:1.4em;-ms-flex-negative:0;flex-shrink:0}.nav-link>span{-ms-flex-negative:1;flex-shrink:1}.no-list{list-style:none;padding-left:0;margin-top:0;margin-bottom:0}*,:host,*::before,*::after{-webkit-box-sizing:border-box;box-sizing:border-box}:host{font-family:\"Frutiger Neue For Post\",system-ui,sans-serif}button{font:inherit;padding:0}a,button{border-radius:4px;outline:none;outline-offset:2px}a:is(:focus-visible,:focus-within,.pretend-focus),button:is(:focus-visible,:focus-within,.pretend-focus){outline:2px solid var(--post-contrast-color);border-radius:4px}img,svg{max-width:100%;max-height:100%}@media (forced-colors: active){svg{color:#fff}}.box>*:first-child{margin-top:0}.box>*:last-child{margin-bottom:0}.mirrored{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.rotate-270{-webkit-transform:rotate(270deg);transform:rotate(270deg)}.bold{font-weight:700}.light{font-weight:300}.d-flex{display:-ms-flexbox;display:flex}.d-inline-flex{display:-ms-inline-flexbox;display:inline-flex}.align-items-center{-ms-flex-align:center;align-items:center}@media (min-width: 1441px){.wide-container{margin:0 auto;max-width:1440px}}@media (max-width: 599.98px){.container{padding-right:16px;padding-left:16px}}@media (min-width: 600px)and (max-width: 1023.98px){.container{padding-right:32px;padding-left:32px}}@media (min-width: 1024px){.container{padding-right:40px;padding-left:40px}}@media (max-width: -0.02px){.hidden-xs{display:none}}@media (max-width: 399.98px){.hidden-sm{display:none}}@media (max-width: 599.98px){.hidden-rg{display:none}}@media (max-width: 779.98px){.hidden-md{display:none}}@media (max-width: 1023.98px){.hidden-lg{display:none}}@media (max-width: 1279.98px){.hidden-xl{display:none}}@media (max-width: 1440.98px){.hidden-xxl{display:none}}:host{display:block;position:relative}.breadcrumbs{font-size:1rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;gap:1rem;min-height:3rem}@media (max-width: 599.98px){.breadcrumbs{font-size:.875rem}}.breadcrumbs-nav{white-space:nowrap;-ms-flex-positive:1;flex-grow:1;-ms-flex-negative:1;flex-shrink:1;min-width:0}.breadcrumbs-list,.nav-link{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.breadcrumbs-list li{display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0}.breadcrumbs-list li:last-child{-ms-flex-negative:2;flex-shrink:2;min-width:0;overflow:hidden;text-overflow:ellipsis;padding:4px}.breadcrumbs-list svg{margin-left:0 !important;width:1.5em;height:1.5em;color:rgba(0,0,0,.6)}.breadcrumb-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;gap:1rem;-ms-flex-negative:0;flex-shrink:0}.breadcrumb-buttons .btn{cursor:pointer;gap:.5rem;font-size:inherit}.breadcrumb-buttons .btn.btn-secondary>svg{width:1.5rem;height:1.5rem;margin:0}@media (min-width: 1024px){.breadcrumb-buttons .btn span{position:static;width:auto;height:auto;margin:auto;overflow:visible;clip:auto;visibility:visible}}.nav-link{gap:0;color:rgba(0,0,0,.6);font-weight:400}.middle-dropdown-container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.middle-dropdown{position:absolute;top:100%;left:0;background:#fff;border:1px solid #e6e6e6;padding:.5rem 0;z-index:1}.middle-dropdown .nav-link{padding:.5rem 1rem;-webkit-transition:color 200ms;transition:color 200ms}.middle-dropdown .nav-link:hover{background-color:#e6e6e6}.middle-dropdown-button{cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:.25rem;width:1.5em;height:1.5em;min-height:0;font-size:inherit;color:inherit}.middle-dropdown-button span{margin:0}.middle-dropdown-button svg{margin:0;-ms-flex-negative:0;flex-shrink:0;width:1.4em;height:1.4em}.overlay{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.6);z-index:calc(var(--header-z-index, 10) + 1);opacity:0;visibility:hidden;-webkit-transition:opacity 500ms,visibility 0s 500ms;transition:opacity 500ms,visibility 0s 500ms}.overlay.open{visibility:visible;opacity:1;-webkit-transition:opacity 500ms,visibility 0s 0s;transition:opacity 500ms,visibility 0s 0s}.overlay-container{position:relative;background:#fff;-webkit-box-shadow:0 0 40px rgba(0,0,0,.6);box-shadow:0 0 40px rgba(0,0,0,.6);visibility:hidden;-webkit-transform:translateY(3rem);transform:translateY(3rem);opacity:0;-webkit-transition:opacity 500ms,-webkit-transform 500ms;transition:opacity 500ms,-webkit-transform 500ms;transition:transform 500ms,opacity 500ms;transition:transform 500ms,opacity 500ms,-webkit-transform 500ms}iframe{display:block;width:1px;min-width:100%;overflow:auto;max-height:80vh}.overlay-close{position:absolute;top:1rem;right:1rem;cursor:pointer;padding:.5rem;color:rgba(0,0,0,.8)}.overlay-close:hover,.overlay-close:focus{color:#000}.overlay-close.phone{color:#fff}.overlay-close.phone:hover,.overlay-close.phone:focus{color:rgba(255,255,255,.8)}@media (min-width: 600px){.overlay-close span{position:static;width:auto;height:auto;margin:auto;overflow:visible;clip:auto;visibility:visible}}.loader-wrapper{position:absolute;display:grid;place-items:center;width:100%;height:100%;top:0;left:0}.loaded~.loader-wrapper{display:none}.hidden-control-breadcrumbs{position:absolute;top:100%;width:0;overflow:hidden;display:-ms-flexbox;display:flex;pointer-events:none}.hidden-control-breadcrumbs .breadcrumbs-nav{-ms-flex-negative:0;flex-shrink:0}.hidden-control-breadcrumbs .breadcrumbs-list li{-ms-flex-negative:0;flex-shrink:0}";
|
|
2095
3397
|
|
|
2096
3398
|
const PostInternetBreadcrumbs = /*@__PURE__*/ proxyCustomElement(class PostInternetBreadcrumbs extends HTMLElement {
|
|
2097
3399
|
constructor() {
|
|
@@ -2099,12 +3401,27 @@ const PostInternetBreadcrumbs = /*@__PURE__*/ proxyCustomElement(class PostInter
|
|
|
2099
3401
|
this.__registerHost();
|
|
2100
3402
|
this.__attachShadow();
|
|
2101
3403
|
this.customItems = undefined;
|
|
3404
|
+
this.hideButtons = false;
|
|
2102
3405
|
this.customBreadcrumbItems = undefined;
|
|
2103
3406
|
this.overlayVisible = undefined;
|
|
2104
3407
|
this.isConcatenated = undefined;
|
|
2105
3408
|
this.dropdownOpen = false;
|
|
2106
3409
|
this.refsReady = false;
|
|
2107
3410
|
}
|
|
3411
|
+
/**
|
|
3412
|
+
* Toggle an overlay associated with a button.
|
|
3413
|
+
* @param {IBreadcrumbOverlay['id']} overlayId
|
|
3414
|
+
*/
|
|
3415
|
+
async toggleOverlayById(overlayId) {
|
|
3416
|
+
var _a, _b;
|
|
3417
|
+
const buttons = (_a = state.localizedConfig) === null || _a === void 0 ? void 0 : _a.breadcrumb.buttons;
|
|
3418
|
+
const overlay = (_b = buttons === null || buttons === void 0 ? void 0 : buttons.find(button => button.overlay.id === overlayId)) === null || _b === void 0 ? void 0 : _b.overlay;
|
|
3419
|
+
if (!overlay) {
|
|
3420
|
+
console.warn(`Internet Header: Failed to toggle overlay with id #${overlayId} as it was not found in the breadcrumb buttons config.`);
|
|
3421
|
+
return;
|
|
3422
|
+
}
|
|
3423
|
+
this.toggleOverlay(overlay);
|
|
3424
|
+
}
|
|
2108
3425
|
connectedCallback() {
|
|
2109
3426
|
this.debouncedResize = debounce(200, this.handleResize.bind(this));
|
|
2110
3427
|
window.addEventListener('resize', this.debouncedResize, { passive: true });
|
|
@@ -2130,7 +3447,7 @@ const PostInternetBreadcrumbs = /*@__PURE__*/ proxyCustomElement(class PostInter
|
|
|
2130
3447
|
this.handleResize();
|
|
2131
3448
|
});
|
|
2132
3449
|
}
|
|
2133
|
-
|
|
3450
|
+
handleCustomConfigChange(newValue) {
|
|
2134
3451
|
try {
|
|
2135
3452
|
this.customBreadcrumbItems = typeof newValue === 'string' ? JSON.parse(newValue) : newValue;
|
|
2136
3453
|
}
|
|
@@ -2161,7 +3478,7 @@ const PostInternetBreadcrumbs = /*@__PURE__*/ proxyCustomElement(class PostInter
|
|
|
2161
3478
|
var _a;
|
|
2162
3479
|
const newVisibility = force !== null && force !== void 0 ? force : !this.overlayVisible;
|
|
2163
3480
|
if (newVisibility) {
|
|
2164
|
-
// Will trigger overlayRef() once the
|
|
3481
|
+
// Will trigger overlayRef() once the HTML is rendered
|
|
2165
3482
|
this.overlayVisible = newVisibility;
|
|
2166
3483
|
this.currentOverlay = overlay;
|
|
2167
3484
|
this.setBodyScroll(overlay);
|
|
@@ -2187,9 +3504,11 @@ const PostInternetBreadcrumbs = /*@__PURE__*/ proxyCustomElement(class PostInter
|
|
|
2187
3504
|
*/
|
|
2188
3505
|
setBodyScroll(overlay) {
|
|
2189
3506
|
if (this.overlayVisible) {
|
|
3507
|
+
// @ts-ignore
|
|
2190
3508
|
disableBodyScroll(overlay, { reserveScrollBarGap: true });
|
|
2191
3509
|
}
|
|
2192
3510
|
else {
|
|
3511
|
+
// @ts-ignore
|
|
2193
3512
|
enableBodyScroll(overlay);
|
|
2194
3513
|
}
|
|
2195
3514
|
}
|
|
@@ -2210,7 +3529,7 @@ const PostInternetBreadcrumbs = /*@__PURE__*/ proxyCustomElement(class PostInter
|
|
|
2210
3529
|
}
|
|
2211
3530
|
iFrame.addEventListener('load', () => {
|
|
2212
3531
|
var _a, _b, _c;
|
|
2213
|
-
iframeResizer({
|
|
3532
|
+
iframeResizer.iframeResizer({
|
|
2214
3533
|
heightCalculationMethod: 'taggedElement',
|
|
2215
3534
|
scrolling: true,
|
|
2216
3535
|
checkOrigin: false,
|
|
@@ -2261,6 +3580,7 @@ const PostInternetBreadcrumbs = /*@__PURE__*/ proxyCustomElement(class PostInter
|
|
|
2261
3580
|
}
|
|
2262
3581
|
render() {
|
|
2263
3582
|
// There is something wrong entirely
|
|
3583
|
+
// eslint-disable-next-line @stencil-community/strict-boolean-conditions
|
|
2264
3584
|
if (!state) {
|
|
2265
3585
|
console.warn(`Internet Breadcrumbs: Could not load config. Please make sure that you included the <swisspost-internet-header></swisspost-internet-header> component.`);
|
|
2266
3586
|
return null;
|
|
@@ -2270,6 +3590,7 @@ const PostInternetBreadcrumbs = /*@__PURE__*/ proxyCustomElement(class PostInter
|
|
|
2270
3590
|
return null;
|
|
2271
3591
|
}
|
|
2272
3592
|
// Config has loaded but there is no breadcrumbs config
|
|
3593
|
+
// eslint-disable-next-line @stencil-community/strict-boolean-conditions
|
|
2273
3594
|
if (!state.localizedConfig.breadcrumb) {
|
|
2274
3595
|
console.warn(`Internet Header: Current project "${state.projectId}" does not include a breadcrumb config. The breadcrumbs will not be rendered. Remove `, document.querySelector('swisspost-internet-breadcrumbs'), `from your markup or configure the breadcrumbs in your portal config to stop seeing this warning.`);
|
|
2275
3596
|
return null;
|
|
@@ -2281,20 +3602,22 @@ const PostInternetBreadcrumbs = /*@__PURE__*/ proxyCustomElement(class PostInter
|
|
|
2281
3602
|
return (h(Host, null, h(SvgSprite, null), h("div", { class: "breadcrumbs" }, h("div", { class: "hidden-control-breadcrumbs", "aria-hidden": "true", tabindex: "-1" }, h("nav", { class: "breadcrumbs-nav", ref: e => e !== undefined && this.handleControlNavRef(e) }, h(BreadcrumbList, { items: items, focusable: false, clickHandler: () => { } }))), h("nav", { "aria-label": breadcrumbConfig.a11yLabel, ref: e => e !== undefined && this.handleVisibleNavRef(e), class: {
|
|
2282
3603
|
'breadcrumbs-nav': true,
|
|
2283
3604
|
'visually-hidden': !this.refsReady,
|
|
2284
|
-
} }, h(BreadcrumbList, { items: items, dropdownOpen: this.dropdownOpen, isConcatenated: this.isConcatenated, clickHandler: () => this.handleToggleDropdown() })), h("div", { class: "breadcrumb-buttons" }, breadcrumbConfig.buttons.map(button => (h("button", { class: "btn btn-secondary btn-icon", key: button.text, "aria-expanded": `${
|
|
3605
|
+
} }, h(BreadcrumbList, { items: items, dropdownOpen: this.dropdownOpen, isConcatenated: this.isConcatenated, clickHandler: () => this.handleToggleDropdown() })), !this.hideButtons && (h("div", { class: "breadcrumb-buttons" }, breadcrumbConfig.buttons.map(button => (h("button", { class: "btn btn-secondary btn-icon", key: button.text, "aria-expanded": `${Boolean(this.overlayVisible && this.currentOverlay === button.overlay)}`, onClick: () => this.toggleOverlay(button.overlay, true) }, h(SvgIcon, { name: button.svgIcon.name }), h("span", { class: "visually-hidden" }, button.text)))))), this.overlayVisible && (h(OverlayComponent, { overlayRef: e => e !== undefined && this.overlayRef(e), iFrameRef: e => e !== undefined && this.registerIFrameResizer(e), overlay: this.currentOverlay, onClick: () => this.handleToggleOverlay(), onKeyDown: (e) => this.handleKeyDown(e), closeButtonText: state.localizedConfig.header.translations.closeButtonText }))), h("slot", null)));
|
|
2285
3606
|
}
|
|
2286
3607
|
get host() { return this; }
|
|
2287
3608
|
static get watchers() { return {
|
|
2288
|
-
"customItems": ["
|
|
3609
|
+
"customItems": ["handleCustomConfigChange"]
|
|
2289
3610
|
}; }
|
|
2290
3611
|
static get style() { return postInternetBreadcrumbsCss; }
|
|
2291
3612
|
}, [1, "swisspost-internet-breadcrumbs", {
|
|
2292
3613
|
"customItems": [1, "custom-items"],
|
|
3614
|
+
"hideButtons": [4, "hide-buttons"],
|
|
2293
3615
|
"customBreadcrumbItems": [32],
|
|
2294
3616
|
"overlayVisible": [32],
|
|
2295
3617
|
"isConcatenated": [32],
|
|
2296
3618
|
"dropdownOpen": [32],
|
|
2297
|
-
"refsReady": [32]
|
|
3619
|
+
"refsReady": [32],
|
|
3620
|
+
"toggleOverlayById": [64]
|
|
2298
3621
|
}]);
|
|
2299
3622
|
function defineCustomElement$1() {
|
|
2300
3623
|
if (typeof customElements === "undefined") {
|