@swisspost/internet-header 1.15.23 → 1.16.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/focus-trap.cjs.entry.js +50 -32
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{klp-widget.controller-d8938377.js → klp-widget.controller-7a8a5ddc.js} +26 -2
- package/dist/cjs/{post-internet-header-fdca5ee4.js → post-internet-header-72edf928.js} +4 -3
- package/dist/cjs/{post-klp-login-widget-0237ef6a.js → post-klp-login-widget-75dfc12f.js} +31 -1
- package/dist/cjs/post-klp-login-widget.cjs.entry.js +1 -1
- package/dist/cjs/swisspost-internet-header.cjs.entry.js +1 -1
- package/dist/collection/assets/js/klp-login-widget.js +26 -2
- package/dist/collection/components/post-internet-breadcrumbs/post-internet-breadcrumbs.js +9 -3
- package/dist/collection/components/post-internet-header/post-internet-header.js +61 -15
- package/dist/collection/components/post-klp-login-widget/post-klp-login-widget.js +30 -0
- package/dist/components/focus-trap2.js +50 -32
- package/dist/components/klp-widget.controller.js +26 -2
- package/dist/components/post-klp-login-widget2.js +30 -0
- package/dist/components/swisspost-internet-header.js +4 -3
- package/dist/docs.json +120 -20
- package/dist/esm/focus-trap.entry.js +50 -32
- package/dist/esm/index.js +2 -2
- package/dist/esm/{klp-widget.controller-e635b42e.js → klp-widget.controller-6f5a7586.js} +26 -2
- package/dist/esm/{post-internet-header-9a1d8637.js → post-internet-header-25cbaecc.js} +4 -3
- package/dist/esm/{post-klp-login-widget-0eadcd31.js → post-klp-login-widget-6aeb2fd2.js} +31 -1
- package/dist/esm/post-klp-login-widget.entry.js +1 -1
- package/dist/esm/swisspost-internet-header.entry.js +1 -1
- package/dist/esm-es5/focus-trap.entry.js +3 -3
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{klp-widget.controller-e635b42e.js → klp-widget.controller-6f5a7586.js} +2 -2
- package/dist/esm-es5/post-internet-header-25cbaecc.js +1 -0
- package/dist/esm-es5/{post-klp-login-widget-0eadcd31.js → post-klp-login-widget-6aeb2fd2.js} +1 -1
- package/dist/esm-es5/post-klp-login-widget.entry.js +1 -1
- package/dist/esm-es5/swisspost-internet-header.entry.js +1 -1
- package/dist/swisspost-internet-header/index.esm.js +1 -1
- package/dist/swisspost-internet-header/p-085d38af.entry.js +11 -0
- package/dist/swisspost-internet-header/{p-6e7f7a32.system.js → p-1d65df23.system.js} +1 -1
- package/dist/swisspost-internet-header/p-2aced2a4.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-832e95d4.system.js → p-2ca95ddf.system.js} +1 -1
- package/dist/swisspost-internet-header/{p-ce733ad3.js → p-572ff7a8.js} +1 -1
- package/dist/swisspost-internet-header/p-5a806d1a.system.js +1 -0
- package/dist/swisspost-internet-header/p-695fe962.system.js +1 -1
- package/dist/swisspost-internet-header/{p-4287b928.entry.js → p-935c52e3.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-45fcb989.system.js → p-9ba6f8b6.system.js} +1 -1
- package/dist/swisspost-internet-header/{p-dd01f7fe.js → p-9f6b64df.js} +1 -1
- package/dist/swisspost-internet-header/{p-4d5bddc5.system.entry.js → p-c45a080c.system.entry.js} +3 -3
- package/dist/swisspost-internet-header/p-cf4d8f82.js +1 -0
- package/dist/swisspost-internet-header/{p-6db01950.system.entry.js → p-df70d07e.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-095131e8.system.entry.js → p-eefdd3f5.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/swisspost-internet-header.esm.js +1 -1
- package/dist/types/components/post-internet-breadcrumbs/post-internet-breadcrumbs.d.ts +3 -1
- package/dist/types/components/post-internet-header/post-internet-header.d.ts +16 -1
- package/dist/types/components/post-klp-login-widget/post-klp-login-widget.d.ts +3 -0
- package/dist/types/components.d.ts +37 -4
- package/package.json +3 -3
- package/dist/esm-es5/post-internet-header-9a1d8637.js +0 -1
- package/dist/swisspost-internet-header/p-1be3e7c9.js +0 -1
- package/dist/swisspost-internet-header/p-5ac351f6.system.js +0 -1
- package/dist/swisspost-internet-header/p-944e8412.entry.js +0 -11
- package/dist/swisspost-internet-header/p-b44980bc.entry.js +0 -1
package/dist/swisspost-internet-header/{p-4d5bddc5.system.entry.js → p-c45a080c.system.entry.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
System.register(["./p-5600adca.system.js"],(function(r){"use strict";var e,n,t,i;return{setters:[function(r){e=r.r;n=r.h;t=r.H;i=r.g}],execute:function(){
|
|
2
2
|
/*!
|
|
3
|
-
* tabbable 6.
|
|
3
|
+
* tabbable 6.4.0
|
|
4
4
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
5
5
|
*/
|
|
6
|
-
var u=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"];var a=u.join(",");var o=typeof Element==="undefined";var f=o?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector;var v=!o&&Element.prototype.getRootNode?function(r){var e;return r===null||r===void 0?void 0:(e=r.getRootNode)===null||e===void 0?void 0:e.call(r)}:function(r){return r===null||r===void 0?void 0:r.ownerDocument};var l=function r(e,n){var t;if(n===void 0){n=true}var i=e===null||e===void 0?void 0:(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"inert");var u=i===""||i==="true";var a=u||n&&e&&
|
|
6
|
+
var u=["input:not([inert]):not([inert] *)","select:not([inert]):not([inert] *)","textarea:not([inert]):not([inert] *)","a[href]:not([inert]):not([inert] *)","button:not([inert]):not([inert] *)","[tabindex]:not(slot):not([inert]):not([inert] *)","audio[controls]:not([inert]):not([inert] *)","video[controls]:not([inert]):not([inert] *)",'[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)',"details>summary:first-of-type:not([inert]):not([inert] *)","details:not([inert]):not([inert] *)"];var a=u.join(",");var o=typeof Element==="undefined";var f=o?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector;var v=!o&&Element.prototype.getRootNode?function(r){var e;return r===null||r===void 0?void 0:(e=r.getRootNode)===null||e===void 0?void 0:e.call(r)}:function(r){return r===null||r===void 0?void 0:r.ownerDocument};var l=function r(e,n){var t;if(n===void 0){n=true}var i=e===null||e===void 0?void 0:(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"inert");var u=i===""||i==="true";var a=u||n&&e&&(typeof e.closest==="function"?e.closest("[inert]"):l(e.parentNode));return a};var c=function r(e){var n;var t=e===null||e===void 0?void 0:(n=e.getAttribute)===null||n===void 0?void 0:n.call(e,"contenteditable");return t===""||t==="true"};var s=function r(e,n,t){if(l(e)){return[]}var i=Array.prototype.slice.apply(e.querySelectorAll(a));if(n&&f.call(e,a)){i.unshift(e)}i=i.filter(t);return i};var d=function r(e,n,t){var i=[];var u=Array.from(e);while(u.length){var o=u.shift();if(l(o,false)){continue}if(o.tagName==="SLOT"){var v=o.assignedElements();var c=v.length?v:o.children;var s=d(c,true,t);if(t.flatten){i.push.apply(i,s)}else{i.push({scopeParent:o,candidates:s})}}else{var b=f.call(o,a);if(b&&t.filter(o)&&(n||!e.includes(o))){i.push(o)}var p=o.shadowRoot||typeof t.getShadowRoot==="function"&&t.getShadowRoot(o);var h=!l(p,false)&&(!t.shadowRootFilter||t.shadowRootFilter(o));if(p&&h){var y=d(p===true?o.children:p.children,true,t);if(t.flatten){i.push.apply(i,y)}else{i.push({scopeParent:o,candidates:y})}}else{u.unshift.apply(u,o.children)}}}return i};var b=function r(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))};var p=function r(e){if(!e){throw new Error("No node provided")}if(e.tabIndex<0){if((/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||c(e))&&!b(e)){return 0}}return e.tabIndex};var h=function r(e,n){var t=p(e);if(t<0&&n&&!b(e)){return 0}return t};var y=function r(e,n){return e.tabIndex===n.tabIndex?e.documentOrder-n.documentOrder:e.tabIndex-n.tabIndex};var w=function r(e){return e.tagName==="INPUT"};var m=function r(e){return w(e)&&e.type==="hidden"};var E=function r(e){var n=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some((function(r){return r.tagName==="SUMMARY"}));return n};var O=function r(e,n){for(var t=0;t<e.length;t++){if(e[t].checked&&e[t].form===n){return e[t]}}};var T=function r(e){if(!e.name){return true}var n=e.form||v(e);var t=function r(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};var i;if(typeof window!=="undefined"&&typeof window.CSS!=="undefined"&&typeof window.CSS.escape==="function"){i=t(window.CSS.escape(e.name))}else{try{i=t(e.name)}catch(r){console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",r.message);return false}}var u=O(i,e.form);return!u||u===e};var g=function r(e){return w(e)&&e.type==="radio"};var k=function r(e){return g(e)&&!T(e)};var N=function r(e){var n;var t=e&&v(e);var i=(n=t)===null||n===void 0?void 0:n.host;var u=false;if(t&&t!==e){var a,o,f;u=!!((a=i)!==null&&a!==void 0&&(o=a.ownerDocument)!==null&&o!==void 0&&o.contains(i)||e!==null&&e!==void 0&&(f=e.ownerDocument)!==null&&f!==void 0&&f.contains(e));while(!u&&i){var l,c,s;t=v(i);i=(l=t)===null||l===void 0?void 0:l.host;u=!!((c=i)!==null&&c!==void 0&&(s=c.ownerDocument)!==null&&s!==void 0&&s.contains(i))}}return u};var S=function r(e){var n=e.getBoundingClientRect(),t=n.width,i=n.height;return t===0&&i===0};var F=function r(e,n){var t=n.displayCheck,i=n.getShadowRoot;if(t==="full-native"){if("checkVisibility"in e){var u=e.checkVisibility({checkOpacity:false,opacityProperty:false,contentVisibilityAuto:true,visibilityProperty:true,checkVisibilityCSS:true});return!u}}if(getComputedStyle(e).visibility==="hidden"){return true}var a=f.call(e,"details>summary:first-of-type");var o=a?e.parentElement:e;if(f.call(o,"details:not([open]) *")){return true}if(!t||t==="full"||t==="full-native"||t==="legacy-full"){if(typeof i==="function"){var l=e;while(e){var c=e.parentElement;var s=v(e);if(c&&!c.shadowRoot&&i(c)===true){return S(e)}else if(e.assignedSlot){e=e.assignedSlot}else if(!c&&s!==e.ownerDocument){e=s.host}else{e=c}}e=l}if(N(e)){return!e.getClientRects().length}if(t!=="legacy-full"){return true}}else if(t==="non-zero-area"){return S(e)}return false};var A=function r(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName)){var n=e.parentElement;while(n){if(n.tagName==="FIELDSET"&&n.disabled){for(var t=0;t<n.children.length;t++){var i=n.children.item(t);if(i.tagName==="LEGEND"){return f.call(n,"fieldset[disabled] *")?true:!i.contains(e)}}return true}n=n.parentElement}}return false};var j=function r(e,n){if(n.disabled||m(n)||F(n,e)||E(n)||A(n)){return false}return true};var D=function r(e,n){if(k(n)||p(n)<0||!j(e,n)){return false}return true};var P=function r(e){var n=parseInt(e.getAttribute("tabindex"),10);if(isNaN(n)||n>=0){return true}return false};var I=function r(e){var n=[];var t=[];e.forEach((function(r,e){var i=!!r.scopeParent;var u=i?r.scopeParent:r;var a=h(u,i);var o=i?I(r.candidates):u;if(a===0){i?n.push.apply(n,o):n.push(u)}else{t.push({documentOrder:e,tabIndex:a,item:r,isScope:i,content:o})}}));return t.sort(y).reduce((function(r,e){e.isScope?r.push.apply(r,e.content):r.push(e.content);return r}),[]).concat(n)};var C=function r(e,n){n=n||{};var t;if(n.getShadowRoot){t=d([e],n.includeContainer,{filter:D.bind(null,n),flatten:false,getShadowRoot:n.getShadowRoot,shadowRootFilter:P})}else{t=s(e,n.includeContainer,D.bind(null,n))}return I(t)};var x=function r(e,n){n=n||{};var t;if(n.getShadowRoot){t=d([e],n.includeContainer,{filter:j.bind(null,n),flatten:true,getShadowRoot:n.getShadowRoot})}else{t=s(e,n.includeContainer,j.bind(null,n))}return t};var R=function r(e,n){n=n||{};if(!e){throw new Error("No node provided")}if(f.call(e,a)===false){return false}return D(n,e)};var L=u.concat("iframe:not([inert]):not([inert] *)").join(",");var U=function r(e,n){n=n||{};if(!e){throw new Error("No node provided")}if(f.call(e,L)===false){return false}return j(n,e)};
|
|
7
7
|
/*!
|
|
8
8
|
* focus-trap 7.5.4
|
|
9
9
|
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
10
|
-
*/function B(r,e){var n=Object.keys(r);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(r);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.push.apply(n,t)}return n}function M(r){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?B(Object(n),!0).forEach((function(e){G(r,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):B(Object(n)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(n,e))}))}return r}function G(r,e,n){e=K(e);if(e in r){Object.defineProperty(r,e,{value:n,enumerable:true,configurable:true,writable:true})}else{r[e]=n}return r}function Y(r,e){if(typeof r!=="object"||r===null)return r;var n=r[Symbol.toPrimitive];if(n!==undefined){var t=n.call(r,e||"default");if(typeof t!=="object")return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function K(r){var e=Y(r,"string");return typeof e==="symbol"?e:String(e)}var $={activateTrap:function r(e,n){if(e.length>0){var t=e[e.length-1];if(t!==n){t.pause()}}var i=e.indexOf(n);if(i===-1){e.push(n)}else{e.splice(i,1);e.push(n)}},deactivateTrap:function r(e,n){var t=e.indexOf(n);if(t!==-1){e.splice(t,1)}if(e.length>0){e[e.length-1].unpause()}}};var z=function r(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select==="function"};var V=function r(e){return(e===null||e===void 0?void 0:e.key)==="Escape"||(e===null||e===void 0?void 0:e.key)==="Esc"||(e===null||e===void 0?void 0:e.keyCode)===27};var X=function r(e){return(e===null||e===void 0?void 0:e.key)==="Tab"||(e===null||e===void 0?void 0:e.keyCode)===9};var _=function r(e){return X(e)&&!e.shiftKey};var q=function r(e){return X(e)&&e.shiftKey};var H=function r(e){return setTimeout(e,0)};var J=function r(e,n){var t=-1;e.every((function(r,e){if(n(r)){t=e;return false}return true}));return t};var Q=function r(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),i=1;i<n;i++){t[i-1]=arguments[i]}return typeof e==="function"?e.apply(void 0,t):e};var W=function r(e){return e.target.shadowRoot&&typeof e.composedPath==="function"?e.composedPath()[0]:e.target};var Z=[];var rr=function r(e,n){var t=(n===null||n===void 0?void 0:n.document)||document;var i=(n===null||n===void 0?void 0:n.trapStack)||Z;var u=M({returnFocusOnDeactivate:true,escapeDeactivates:true,delayInitialFocus:true,isKeyForward:_,isKeyBackward:q},n);var a={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:false,paused:false,delayInitialFocusTimer:undefined,recentNavEvent:undefined};var o;var f=function r(e,n,t){return e&&e[n]!==undefined?e[n]:u[t||n]};var v=function r(e,n){var t=typeof(n===null||n===void 0?void 0:n.composedPath)==="function"?n.composedPath():undefined;return a.containerGroups.findIndex((function(r){var n=r.container,i=r.tabbableNodes;return n.contains(e)||(t===null||t===void 0?void 0:t.includes(n))||i.find((function(r){return r===e}))}))};var l=function r(e){var n=u[e];if(typeof n==="function"){for(var i=arguments.length,a=new Array(i>1?i-1:0),o=1;o<i;o++){a[o-1]=arguments[o]}n=n.apply(void 0,a)}if(n===true){n=undefined}if(!n){if(n===undefined||n===false){return n}throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var f=n;if(typeof n==="string"){f=t.querySelector(n);if(!f){throw new Error("`".concat(e,"` as selector refers to no known node"))}}return f};var c=function r(){var e=l("initialFocus");if(e===false){return false}if(e===undefined||!U(e,u.tabbableOptions)){if(v(t.activeElement)>=0){e=t.activeElement}else{var n=a.tabbableGroups[0];var i=n&&n.firstTabbableNode;e=i||l("fallbackFocus")}}if(!e){throw new Error("Your focus-trap needs to have at least one focusable element")}return e};var s=function r(){a.containerGroups=a.containers.map((function(r){var e=x(r,u.tabbableOptions);var n=C(r,u.tabbableOptions);var t=e.length>0?e[0]:undefined;var i=e.length>0?e[e.length-1]:undefined;var a=n.find((function(r){return R(r)}));var o=n.slice().reverse().find((function(r){return R(r)}));var f=!!e.find((function(r){return p(r)>0}));return{container:r,tabbableNodes:e,focusableNodes:n,posTabIndexesFound:f,firstTabbableNode:t,lastTabbableNode:i,firstDomTabbableNode:a,lastDomTabbableNode:o,nextTabbableNode:function r(t){var i=arguments.length>1&&arguments[1]!==undefined?arguments[1]:true;var u=e.indexOf(t);if(u<0){if(i){return n.slice(n.indexOf(t)+1).find((function(r){return R(r)}))}return n.slice(0,n.indexOf(t)).reverse().find((function(r){return R(r)}))}return e[u+(i?1:-1)]}}}));a.tabbableGroups=a.containerGroups.filter((function(r){return r.tabbableNodes.length>0}));if(a.tabbableGroups.length<=0&&!l("fallbackFocus")){throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")}if(a.containerGroups.find((function(r){return r.posTabIndexesFound}))&&a.containerGroups.length>1){throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")}};var d=function r(e){var n=e.activeElement;if(!n){return}if(n.shadowRoot&&n.shadowRoot.activeElement!==null){return r(n.shadowRoot)}return n};var b=function r(e){if(e===false){return}if(e===d(document)){return}if(!e||!e.focus){r(c());return}e.focus({preventScroll:!!u.preventScroll});a.mostRecentlyFocusedNode=e;if(z(e)){e.select()}};var h=function r(e){var n=l("setReturnFocus",e);return n?n:n===false?false:e};var w=function r(e){var n=e.target,t=e.event,i=e.isBackward,o=i===void 0?false:i;n=n||W(t);s();var f=null;if(a.tabbableGroups.length>0){var c=v(n,t);var d=c>=0?a.containerGroups[c]:undefined;if(c<0){if(o){f=a.tabbableGroups[a.tabbableGroups.length-1].lastTabbableNode}else{f=a.tabbableGroups[0].firstTabbableNode}}else if(o){var b=J(a.tabbableGroups,(function(r){var e=r.firstTabbableNode;return n===e}));if(b<0&&(d.container===n||U(n,u.tabbableOptions)&&!R(n,u.tabbableOptions)&&!d.nextTabbableNode(n,false))){b=c}if(b>=0){var h=b===0?a.tabbableGroups.length-1:b-1;var w=a.tabbableGroups[h];f=p(n)>=0?w.lastTabbableNode:w.lastDomTabbableNode}else if(!X(t)){f=d.nextTabbableNode(n,false)}}else{var y=J(a.tabbableGroups,(function(r){var e=r.lastTabbableNode;return n===e}));if(y<0&&(d.container===n||U(n,u.tabbableOptions)&&!R(n,u.tabbableOptions)&&!d.nextTabbableNode(n))){y=c}if(y>=0){var m=y===a.tabbableGroups.length-1?0:y+1;var E=a.tabbableGroups[m];f=p(n)>=0?E.firstTabbableNode:E.firstDomTabbableNode}else if(!X(t)){f=d.nextTabbableNode(n)}}}else{f=l("fallbackFocus")}return f};var y=function r(e){var n=W(e);if(v(n,e)>=0){return}if(Q(u.clickOutsideDeactivates,e)){o.deactivate({returnFocus:u.returnFocusOnDeactivate});return}if(Q(u.allowOutsideClick,e)){return}e.preventDefault()};var m=function r(e){var n=W(e);var t=v(n,e)>=0;if(t||n instanceof Document){if(t){a.mostRecentlyFocusedNode=n}}else{e.stopImmediatePropagation();var i;var o=true;if(a.mostRecentlyFocusedNode){if(p(a.mostRecentlyFocusedNode)>0){var f=v(a.mostRecentlyFocusedNode);var l=a.containerGroups[f].tabbableNodes;if(l.length>0){var s=l.findIndex((function(r){return r===a.mostRecentlyFocusedNode}));if(s>=0){if(u.isKeyForward(a.recentNavEvent)){if(s+1<l.length){i=l[s+1];o=false}}else{if(s-1>=0){i=l[s-1];o=false}}}}}else{if(!a.containerGroups.some((function(r){return r.tabbableNodes.some((function(r){return p(r)>0}))}))){o=false}}}else{o=false}if(o){i=w({target:a.mostRecentlyFocusedNode,isBackward:u.isKeyBackward(a.recentNavEvent)})}if(i){b(i)}else{b(a.mostRecentlyFocusedNode||c())}}a.recentNavEvent=undefined};var E=function r(e){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:false;a.recentNavEvent=e;var t=w({event:e,isBackward:n});if(t){if(X(e)){e.preventDefault()}b(t)}};var T=function r(e){if(V(e)&&Q(u.escapeDeactivates,e)!==false){e.preventDefault();o.deactivate();return}if(u.isKeyForward(e)||u.isKeyBackward(e)){E(e,u.isKeyBackward(e))}};var O=function r(e){var n=W(e);if(v(n,e)>=0){return}if(Q(u.clickOutsideDeactivates,e)){return}if(Q(u.allowOutsideClick,e)){return}e.preventDefault();e.stopImmediatePropagation()};var g=function r(){if(!a.active){return}$.activateTrap(i,o);a.delayInitialFocusTimer=u.delayInitialFocus?H((function(){b(c())})):b(c());t.addEventListener("focusin",m,true);t.addEventListener("mousedown",y,{capture:true,passive:false});t.addEventListener("touchstart",y,{capture:true,passive:false});t.addEventListener("click",O,{capture:true,passive:false});t.addEventListener("keydown",T,{capture:true,passive:false});return o};var N=function r(){if(!a.active){return}t.removeEventListener("focusin",m,true);t.removeEventListener("mousedown",y,true);t.removeEventListener("touchstart",y,true);t.removeEventListener("click",O,true);t.removeEventListener("keydown",T,true);return o};var F=function r(e){var n=e.some((function(r){var e=Array.from(r.removedNodes);return e.some((function(r){return r===a.mostRecentlyFocusedNode}))}));if(n){b(c())}};var k=typeof window!=="undefined"&&"MutationObserver"in window?new MutationObserver(F):undefined;var S=function r(){if(!k){return}k.disconnect();if(a.active&&!a.paused){a.containers.map((function(r){k.observe(r,{subtree:true,childList:true})}))}};o={get active(){return a.active},get paused(){return a.paused},activate:function r(e){if(a.active){return this}var n=f(e,"onActivate");var i=f(e,"onPostActivate");var u=f(e,"checkCanFocusTrap");if(!u){s()}a.active=true;a.paused=false;a.nodeFocusedBeforeActivation=t.activeElement;n===null||n===void 0||n();var o=function r(){if(u){s()}g();S();i===null||i===void 0||i()};if(u){u(a.containers.concat()).then(o,o);return this}o();return this},deactivate:function r(e){if(!a.active){return this}var n=M({onDeactivate:u.onDeactivate,onPostDeactivate:u.onPostDeactivate,checkCanReturnFocus:u.checkCanReturnFocus},e);clearTimeout(a.delayInitialFocusTimer);a.delayInitialFocusTimer=undefined;N();a.active=false;a.paused=false;S();$.deactivateTrap(i,o);var t=f(n,"onDeactivate");var v=f(n,"onPostDeactivate");var l=f(n,"checkCanReturnFocus");var c=f(n,"returnFocus","returnFocusOnDeactivate");t===null||t===void 0||t();var s=function r(){H((function(){if(c){b(h(a.nodeFocusedBeforeActivation))}v===null||v===void 0||v()}))};if(c&&l){l(h(a.nodeFocusedBeforeActivation)).then(s,s);return this}s();return this},pause:function r(e){if(a.paused||!a.active){return this}var n=f(e,"onPause");var t=f(e,"onPostPause");a.paused=true;n===null||n===void 0||n();N();S();t===null||t===void 0||t();return this},unpause:function r(e){if(!a.paused||!a.active){return this}var n=f(e,"onUnpause");var t=f(e,"onPostUnpause");a.paused=false;n===null||n===void 0||n();s();g();S();t===null||t===void 0||t();return this},updateContainerElements:function r(e){var n=[].concat(e).filter(Boolean);a.containers=n.map((function(r){return typeof r==="string"?t.querySelector(r):r}));if(a.active){s()}S();return this}};o.updateContainerElements(e);return o};var er=r("focus_trap",function(){function r(r){e(this,r);this.active=false;this.trap=undefined}r.prototype.handleActiveChange=function(r){this.toggleTrap(r)};r.prototype.connectedCallback=function(){var r;if(!this.trap){this.trap=rr((r=this.host)===null||r===void 0?void 0:r.firstElementChild,{allowOutsideClick:true})}};r.prototype.componentDidLoad=function(){this.toggleTrap(this.active)};r.prototype.disconnectedCallback=function(){var r;(r=this.trap)===null||r===void 0?void 0:r.deactivate()};r.prototype.toggleTrap=function(r){var e,n;if(r){(e=this.trap)===null||e===void 0?void 0:e.activate()}else{(n=this.trap)===null||n===void 0?void 0:n.deactivate()}};r.prototype.render=function(){return n(t,{key:"40e6912cae0ae3e92b46cf4d251e1b1a47320d0f"},n("slot",{key:"39fe2c6ad0e0b419090ac8270840a83e49c286cf"}))};Object.defineProperty(r.prototype,"host",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(r,"watchers",{get:function(){return{active:["handleActiveChange"]}},enumerable:false,configurable:true});return r}())}}}));
|
|
10
|
+
*/function B(r,e){var n=Object.keys(r);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(r);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.push.apply(n,t)}return n}function M(r){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?B(Object(n),!0).forEach((function(e){V(r,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):B(Object(n)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(n,e))}))}return r}function V(r,e,n){e=Y(e);if(e in r){Object.defineProperty(r,e,{value:n,enumerable:true,configurable:true,writable:true})}else{r[e]=n}return r}function G(r,e){if(typeof r!=="object"||r===null)return r;var n=r[Symbol.toPrimitive];if(n!==undefined){var t=n.call(r,e||"default");if(typeof t!=="object")return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function Y(r){var e=G(r,"string");return typeof e==="symbol"?e:String(e)}var K={activateTrap:function r(e,n){if(e.length>0){var t=e[e.length-1];if(t!==n){t.pause()}}var i=e.indexOf(n);if(i===-1){e.push(n)}else{e.splice(i,1);e.push(n)}},deactivateTrap:function r(e,n){var t=e.indexOf(n);if(t!==-1){e.splice(t,1)}if(e.length>0){e[e.length-1].unpause()}}};var $=function r(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select==="function"};var z=function r(e){return(e===null||e===void 0?void 0:e.key)==="Escape"||(e===null||e===void 0?void 0:e.key)==="Esc"||(e===null||e===void 0?void 0:e.keyCode)===27};var X=function r(e){return(e===null||e===void 0?void 0:e.key)==="Tab"||(e===null||e===void 0?void 0:e.keyCode)===9};var _=function r(e){return X(e)&&!e.shiftKey};var q=function r(e){return X(e)&&e.shiftKey};var H=function r(e){return setTimeout(e,0)};var J=function r(e,n){var t=-1;e.every((function(r,e){if(n(r)){t=e;return false}return true}));return t};var Q=function r(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),i=1;i<n;i++){t[i-1]=arguments[i]}return typeof e==="function"?e.apply(void 0,t):e};var W=function r(e){return e.target.shadowRoot&&typeof e.composedPath==="function"?e.composedPath()[0]:e.target};var Z=[];var rr=function r(e,n){var t=(n===null||n===void 0?void 0:n.document)||document;var i=(n===null||n===void 0?void 0:n.trapStack)||Z;var u=M({returnFocusOnDeactivate:true,escapeDeactivates:true,delayInitialFocus:true,isKeyForward:_,isKeyBackward:q},n);var a={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:false,paused:false,delayInitialFocusTimer:undefined,recentNavEvent:undefined};var o;var f=function r(e,n,t){return e&&e[n]!==undefined?e[n]:u[t||n]};var v=function r(e,n){var t=typeof(n===null||n===void 0?void 0:n.composedPath)==="function"?n.composedPath():undefined;return a.containerGroups.findIndex((function(r){var n=r.container,i=r.tabbableNodes;return n.contains(e)||(t===null||t===void 0?void 0:t.includes(n))||i.find((function(r){return r===e}))}))};var l=function r(e){var n=u[e];if(typeof n==="function"){for(var i=arguments.length,a=new Array(i>1?i-1:0),o=1;o<i;o++){a[o-1]=arguments[o]}n=n.apply(void 0,a)}if(n===true){n=undefined}if(!n){if(n===undefined||n===false){return n}throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var f=n;if(typeof n==="string"){f=t.querySelector(n);if(!f){throw new Error("`".concat(e,"` as selector refers to no known node"))}}return f};var c=function r(){var e=l("initialFocus");if(e===false){return false}if(e===undefined||!U(e,u.tabbableOptions)){if(v(t.activeElement)>=0){e=t.activeElement}else{var n=a.tabbableGroups[0];var i=n&&n.firstTabbableNode;e=i||l("fallbackFocus")}}if(!e){throw new Error("Your focus-trap needs to have at least one focusable element")}return e};var s=function r(){a.containerGroups=a.containers.map((function(r){var e=C(r,u.tabbableOptions);var n=x(r,u.tabbableOptions);var t=e.length>0?e[0]:undefined;var i=e.length>0?e[e.length-1]:undefined;var a=n.find((function(r){return R(r)}));var o=n.slice().reverse().find((function(r){return R(r)}));var f=!!e.find((function(r){return p(r)>0}));return{container:r,tabbableNodes:e,focusableNodes:n,posTabIndexesFound:f,firstTabbableNode:t,lastTabbableNode:i,firstDomTabbableNode:a,lastDomTabbableNode:o,nextTabbableNode:function r(t){var i=arguments.length>1&&arguments[1]!==undefined?arguments[1]:true;var u=e.indexOf(t);if(u<0){if(i){return n.slice(n.indexOf(t)+1).find((function(r){return R(r)}))}return n.slice(0,n.indexOf(t)).reverse().find((function(r){return R(r)}))}return e[u+(i?1:-1)]}}}));a.tabbableGroups=a.containerGroups.filter((function(r){return r.tabbableNodes.length>0}));if(a.tabbableGroups.length<=0&&!l("fallbackFocus")){throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")}if(a.containerGroups.find((function(r){return r.posTabIndexesFound}))&&a.containerGroups.length>1){throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")}};var d=function r(e){var n=e.activeElement;if(!n){return}if(n.shadowRoot&&n.shadowRoot.activeElement!==null){return r(n.shadowRoot)}return n};var b=function r(e){if(e===false){return}if(e===d(document)){return}if(!e||!e.focus){r(c());return}e.focus({preventScroll:!!u.preventScroll});a.mostRecentlyFocusedNode=e;if($(e)){e.select()}};var h=function r(e){var n=l("setReturnFocus",e);return n?n:n===false?false:e};var y=function r(e){var n=e.target,t=e.event,i=e.isBackward,o=i===void 0?false:i;n=n||W(t);s();var f=null;if(a.tabbableGroups.length>0){var c=v(n,t);var d=c>=0?a.containerGroups[c]:undefined;if(c<0){if(o){f=a.tabbableGroups[a.tabbableGroups.length-1].lastTabbableNode}else{f=a.tabbableGroups[0].firstTabbableNode}}else if(o){var b=J(a.tabbableGroups,(function(r){var e=r.firstTabbableNode;return n===e}));if(b<0&&(d.container===n||U(n,u.tabbableOptions)&&!R(n,u.tabbableOptions)&&!d.nextTabbableNode(n,false))){b=c}if(b>=0){var h=b===0?a.tabbableGroups.length-1:b-1;var y=a.tabbableGroups[h];f=p(n)>=0?y.lastTabbableNode:y.lastDomTabbableNode}else if(!X(t)){f=d.nextTabbableNode(n,false)}}else{var w=J(a.tabbableGroups,(function(r){var e=r.lastTabbableNode;return n===e}));if(w<0&&(d.container===n||U(n,u.tabbableOptions)&&!R(n,u.tabbableOptions)&&!d.nextTabbableNode(n))){w=c}if(w>=0){var m=w===a.tabbableGroups.length-1?0:w+1;var E=a.tabbableGroups[m];f=p(n)>=0?E.firstTabbableNode:E.firstDomTabbableNode}else if(!X(t)){f=d.nextTabbableNode(n)}}}else{f=l("fallbackFocus")}return f};var w=function r(e){var n=W(e);if(v(n,e)>=0){return}if(Q(u.clickOutsideDeactivates,e)){o.deactivate({returnFocus:u.returnFocusOnDeactivate});return}if(Q(u.allowOutsideClick,e)){return}e.preventDefault()};var m=function r(e){var n=W(e);var t=v(n,e)>=0;if(t||n instanceof Document){if(t){a.mostRecentlyFocusedNode=n}}else{e.stopImmediatePropagation();var i;var o=true;if(a.mostRecentlyFocusedNode){if(p(a.mostRecentlyFocusedNode)>0){var f=v(a.mostRecentlyFocusedNode);var l=a.containerGroups[f].tabbableNodes;if(l.length>0){var s=l.findIndex((function(r){return r===a.mostRecentlyFocusedNode}));if(s>=0){if(u.isKeyForward(a.recentNavEvent)){if(s+1<l.length){i=l[s+1];o=false}}else{if(s-1>=0){i=l[s-1];o=false}}}}}else{if(!a.containerGroups.some((function(r){return r.tabbableNodes.some((function(r){return p(r)>0}))}))){o=false}}}else{o=false}if(o){i=y({target:a.mostRecentlyFocusedNode,isBackward:u.isKeyBackward(a.recentNavEvent)})}if(i){b(i)}else{b(a.mostRecentlyFocusedNode||c())}}a.recentNavEvent=undefined};var E=function r(e){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:false;a.recentNavEvent=e;var t=y({event:e,isBackward:n});if(t){if(X(e)){e.preventDefault()}b(t)}};var O=function r(e){if(z(e)&&Q(u.escapeDeactivates,e)!==false){e.preventDefault();o.deactivate();return}if(u.isKeyForward(e)||u.isKeyBackward(e)){E(e,u.isKeyBackward(e))}};var T=function r(e){var n=W(e);if(v(n,e)>=0){return}if(Q(u.clickOutsideDeactivates,e)){return}if(Q(u.allowOutsideClick,e)){return}e.preventDefault();e.stopImmediatePropagation()};var g=function r(){if(!a.active){return}K.activateTrap(i,o);a.delayInitialFocusTimer=u.delayInitialFocus?H((function(){b(c())})):b(c());t.addEventListener("focusin",m,true);t.addEventListener("mousedown",w,{capture:true,passive:false});t.addEventListener("touchstart",w,{capture:true,passive:false});t.addEventListener("click",T,{capture:true,passive:false});t.addEventListener("keydown",O,{capture:true,passive:false});return o};var k=function r(){if(!a.active){return}t.removeEventListener("focusin",m,true);t.removeEventListener("mousedown",w,true);t.removeEventListener("touchstart",w,true);t.removeEventListener("click",T,true);t.removeEventListener("keydown",O,true);return o};var N=function r(e){var n=e.some((function(r){var e=Array.from(r.removedNodes);return e.some((function(r){return r===a.mostRecentlyFocusedNode}))}));if(n){b(c())}};var S=typeof window!=="undefined"&&"MutationObserver"in window?new MutationObserver(N):undefined;var F=function r(){if(!S){return}S.disconnect();if(a.active&&!a.paused){a.containers.map((function(r){S.observe(r,{subtree:true,childList:true})}))}};o={get active(){return a.active},get paused(){return a.paused},activate:function r(e){if(a.active){return this}var n=f(e,"onActivate");var i=f(e,"onPostActivate");var u=f(e,"checkCanFocusTrap");if(!u){s()}a.active=true;a.paused=false;a.nodeFocusedBeforeActivation=t.activeElement;n===null||n===void 0||n();var o=function r(){if(u){s()}g();F();i===null||i===void 0||i()};if(u){u(a.containers.concat()).then(o,o);return this}o();return this},deactivate:function r(e){if(!a.active){return this}var n=M({onDeactivate:u.onDeactivate,onPostDeactivate:u.onPostDeactivate,checkCanReturnFocus:u.checkCanReturnFocus},e);clearTimeout(a.delayInitialFocusTimer);a.delayInitialFocusTimer=undefined;k();a.active=false;a.paused=false;F();K.deactivateTrap(i,o);var t=f(n,"onDeactivate");var v=f(n,"onPostDeactivate");var l=f(n,"checkCanReturnFocus");var c=f(n,"returnFocus","returnFocusOnDeactivate");t===null||t===void 0||t();var s=function r(){H((function(){if(c){b(h(a.nodeFocusedBeforeActivation))}v===null||v===void 0||v()}))};if(c&&l){l(h(a.nodeFocusedBeforeActivation)).then(s,s);return this}s();return this},pause:function r(e){if(a.paused||!a.active){return this}var n=f(e,"onPause");var t=f(e,"onPostPause");a.paused=true;n===null||n===void 0||n();k();F();t===null||t===void 0||t();return this},unpause:function r(e){if(!a.paused||!a.active){return this}var n=f(e,"onUnpause");var t=f(e,"onPostUnpause");a.paused=false;n===null||n===void 0||n();s();g();F();t===null||t===void 0||t();return this},updateContainerElements:function r(e){var n=[].concat(e).filter(Boolean);a.containers=n.map((function(r){return typeof r==="string"?t.querySelector(r):r}));if(a.active){s()}F();return this}};o.updateContainerElements(e);return o};var er=r("focus_trap",function(){function r(r){e(this,r);this.active=false;this.trap=undefined}r.prototype.handleActiveChange=function(r){this.toggleTrap(r)};r.prototype.connectedCallback=function(){var r;if(!this.trap){this.trap=rr((r=this.host)===null||r===void 0?void 0:r.firstElementChild,{allowOutsideClick:true})}};r.prototype.componentDidLoad=function(){this.toggleTrap(this.active)};r.prototype.disconnectedCallback=function(){var r;(r=this.trap)===null||r===void 0?void 0:r.deactivate()};r.prototype.toggleTrap=function(r){var e,n;if(r){(e=this.trap)===null||e===void 0?void 0:e.activate()}else{(n=this.trap)===null||n===void 0?void 0:n.deactivate()}};r.prototype.render=function(){return n(t,{key:"40e6912cae0ae3e92b46cf4d251e1b1a47320d0f"},n("slot",{key:"39fe2c6ad0e0b419090ac8270840a83e49c286cf"}))};Object.defineProperty(r.prototype,"host",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(r,"watchers",{get:function(){return{active:["handleActiveChange"]}},enumerable:false,configurable:true});return r}())}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as e,H as r,g as i}from"./p-67f6b5a8.js";import{s as o}from"./p-78d28548.js";import{S as n}from"./p-fa4599e6.js";import{S as a}from"./p-a0313d87.js";const g=class{constructor(e){t(this,e),this.logoutUrl=void 0,this.selfAdminOrigin=void 0}async componentDidLoad(){var t,e,r,i;if((null===(e=null===(t=o.localizedConfig)||void 0===t?void 0:t.header)||void 0===e?void 0:e.showJobsLoginWidget)||!(null===(i=null===(r=o.localizedConfig)||void 0===r?void 0:r.header)||void 0===i?void 0:i.loginWidgetOptions))return;const{initializeKLPLoginWidget:n}=await import("./p-9f6b64df.js");let a=o.localizedConfig.header.loginWidgetOptions,{platform:g}=a,l=function(t,e){var r={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(r[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(t);o<i.length;o++)e.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(t,i[o])&&(r[i[o]]=t[i[o]])}return r}(a,["platform"]);void 0!==this.logoutUrl&&(g=Object.assign(Object.assign({},g),{logoutURL:this.logoutUrl})),void 0!==this.selfAdminOrigin&&(g=Object.assign(Object.assign({},g),{selfAdminOrigin:this.selfAdminOrigin})),n("post-klp-login-widget",Object.assign(Object.assign(Object.assign({},l),{environment:o.environment}),{platform:g})),this.setupTracking()}setupTracking(){var t;"undefined"!=typeof window&&(window.dataLayer=window.dataLayer||[],null===(t=this.host.shadowRoot)||void 0===t||t.addEventListener("click",this.handleClick))}handleClick(t){var e,r;const i=t.composedPath().find((t=>t instanceof HTMLAnchorElement&&t.matches('#authenticated-menu a[href*="/settings"]')));if(!i)return;const o=null===(r=null===(e=i.querySelector(".klp-widget-notification-link-text"))||void 0===e?void 0:e.textContent)||void 0===r?void 0:r.trim();window.dataLayer.push({event:"select_menu",type:"authenticated_menu",label:"settings",text:o,link_url:i.href,additional_info:""})}disconnectedCallback(){var t;null===(t=this.host.shadowRoot)||void 0===t||t.removeEventListener("click",this.handleClick)}async setFocus(){var t;const e=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelectorAll(".klp-widget-anonymous__wrapper a, .klp-widget-authenticated-session a");e&&e.length>0&&e[0].focus()}render(){var t,i,g,l,s,b,p;return(null===(i=null===(t=null==o?void 0:o.localizedConfig)||void 0===t?void 0:t.header)||void 0===i?void 0:i.loginWidgetOptions)||(null===(l=null===(g=null==o?void 0:o.localizedConfig)||void 0===g?void 0:g.header)||void 0===l?void 0:l.showJobsLoginWidget)?e(r,null,e(n,null),e("div",{class:"widget-wrapper","data-hj-suppress":!0},(null===(b=null===(s=null==o?void 0:o.localizedConfig)||void 0===s?void 0:s.header)||void 0===b?void 0:b.showJobsLoginWidget)?e("a",{id:"post-klp-login-widget",class:"login-button",href:null===(p=o.localizedConfig.header.loginWidgetOptions)||void 0===p?void 0:p.appLoginUrl},e("span",{class:"visually-hidden"},o.localizedConfig.header.translations.loginWidgetText),e(a,{name:"pi-login"})):e("div",{id:"post-klp-login-widget"}))):(console.warn(`Internet Header: the login widget is not configured in your portal config. Use <swisspost-internet-header project="${o.projectId}" login="false"></swisspost-internet-header> to turn off the login widget or configure it via the portal config.`),null)}get host(){return i(this)}};g.style='.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)}:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .btn-default,:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .btn-secondary,:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .btn-link,:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .btn-tertiary{color:var(--post-contrast-color)}:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .btn-default .pi,:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .btn-secondary .pi,:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .btn-link .pi,:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .btn-tertiary .pi{-webkit-filter:invert(1);filter:invert(1)}.btn{min-height:3rem;font-size:1rem;gap:.625rem;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:disabled{pointer-events:none;color:var(--post-gray-60);border-color:var(--post-gray-40);border-style:dashed;background-clip:padding-box}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn:disabled{color:GrayText;border-color:GrayText}}.btn:not(:disabled):hover,.btn.pretend-hover{color:var(--post-contrast-color-inverted);background-color:#666}.btn{outline-style:none !important;outline-offset:2px !important;outline-width:2px !important;outline-color:var(--post-focus-color) !important}.btn:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:solid !important;border-radius:4px;color:var(--post-contrast-color-inverted);background-color:#666}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}.btn:is(:focus-visible,:has(:focus-visible),.pretend-focus):where(.btn-primary){background-color:var(--post-contrast-color)}@supports not selector(:has(:focus-visible)){.btn:is(:focus-visible,:focus-within,.pretend-focus){outline-style:solid !important;border-radius:4px;color:var(--post-contrast-color-inverted);background-color:#666}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}.btn:is(:focus-visible,:focus-within,.pretend-focus):where(.btn-primary){background-color:var(--post-contrast-color)}}:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .btn:disabled{color:rgba(255,255,255,.8)}:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .btn:not(:disabled):hover,:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .btn.pretend-hover{background-color:#fc0;border-color:rgba(0,0,0,0)}:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .btn{outline-style:none !important;outline-offset:2px !important;outline-width:2px !important;outline-color:var(--post-focus-color) !important}:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .btn:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:solid !important;background-color:#fc0;border-color:rgba(0,0,0,0)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .btn:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .btn:is(:focus-visible,:focus-within,.pretend-focus){outline-style:solid !important;background-color:#fc0;border-color:rgba(0,0,0,0)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .btn:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn{border-color:ButtonBorder;background-color:ButtonFace}.btn:not(:disabled,.disabled):hover{border-color:highlight}.btn:disabled{border-color:GrayText !important}.btn .pi{-webkit-filter:invert(1) !important;filter:invert(1) !important}}.btn-primary{border-color:rgba(0,0,0,0);background-color:var(--post-gray-80);color:var(--post-contrast-color-inverted)}.btn-primary:disabled{background-color:#e6e6e6;border-color:#666}.btn-primary .pi{-webkit-filter:invert(1);filter:invert(1);forced-color-adjust:none}:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .btn-primary{background-color:var(--post-contrast-color);color:var(--post-gray-10)}:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .btn-primary:disabled{color:var(--post-contrast-color);background-color:rgba(255,255,255,.2);border-color:var(--post-contrast-color)}:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .btn-primary .pi{-webkit-filter:invert(0);filter:invert(0)}.btn-default,.btn-secondary{border-color:#666}:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .btn-default,:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .btn-secondary{border-color:var(--post-contrast-color);color:var(--post-contrast-color)}:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .btn-default:disabled,:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .btn-secondary:disabled{color:rgba(255,255,255,.6);border-color:rgba(255,255,255,.6)}.btn-link,.btn-tertiary{border:0;padding-inline:.25rem}@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,.btn-animated-start:not(.btn-link,.btn-tertiary)::after{-webkit-mask-image:url("data:image/svg+xml,%3Csvg viewBox=\'0 0 32 32\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cpath d=\'m13.1 23.6-.9-.9 6.6-6.6-6.6-6.6.9-.9 7.6 7.5z\'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg viewBox=\'0 0 32 32\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cpath d=\'m13.1 23.6-.9-.9 6.6-6.6-6.6-6.6.9-.9 7.6 7.5z\'/%3E%3C/svg%3E");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color;content:"";display:block;height:2em;width:2em;position:absolute;-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;opacity:0}.btn-animated:not(.btn-link,.btn-tertiary)>span,.btn-animated-start: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::after,.btn-animated:not(.btn-link,.btn-tertiary):not(:disabled):hover::after,.btn-animated:not(.btn-link,.btn-tertiary).pretend-hover::after,.btn-animated-start:not(.btn-link,.btn-tertiary):focus::after,.btn-animated-start:not(.btn-link,.btn-tertiary):not(:disabled):hover::after,.btn-animated-start:not(.btn-link,.btn-tertiary).pretend-hover::after{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}.btn-animated:not(.btn-link,.btn-tertiary)>span,.btn-animated-start:not(.btn-link,.btn-tertiary)>span{-webkit-transform:translateX(0);transform:translateX(0)}}.btn-animated:not(.btn-link,.btn-tertiary)::after{right:-.1666666667rem;-webkit-transform:translateX(-2px);transform:translateX(-2px)}.btn-animated:not(.btn-link,.btn-tertiary).btn-sm::after{right:-0.25rem}.btn-animated:not(.btn-link,.btn-tertiary).btn-rg::after{right:-.2083333333rem}.btn-animated:not(.btn-link,.btn-tertiary).btn-lg::after{right:-0.125rem}@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-start:not(.btn-link,.btn-tertiary)::after{-webkit-mask-image:url("data:image/svg+xml,%3Csvg viewBox=\'0 0 32 32\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect/%3E%3Cpath d=\'M18.9 23.5 11.3 16l7.6-7.6.9.9-6.6 6.7 6.6 6.6z\'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg viewBox=\'0 0 32 32\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Crect/%3E%3Cpath d=\'M18.9 23.5 11.3 16l7.6-7.6.9.9-6.6 6.7 6.6 6.6z\'/%3E%3C/svg%3E");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color;left:-.1666666667rem;-webkit-transform:translateX(2px);transform:translateX(2px)}.btn-animated-start:not(.btn-link,.btn-tertiary).btn-sm::after{left:-0.25rem}.btn-animated-start:not(.btn-link,.btn-tertiary).btn-rg::after{left:-.2083333333rem}.btn-animated-start:not(.btn-link,.btn-tertiary).btn-lg::after{left:-0.125rem}@media (prefers-reduced-motion: no-preference){.btn-animated-start:not(.btn-link,.btn-tertiary):focus>span,.btn-animated-start:not(.btn-link,.btn-tertiary):not(:disabled):hover>span,.btn-animated-start:not(.btn-link,.btn-tertiary).pretend-hover>span{-webkit-transform:translateX(0.5rem);transform:translateX(0.5rem)}.btn-animated-start:not(.btn-link,.btn-tertiary):focus.btn-sm>span,.btn-animated-start:not(.btn-link,.btn-tertiary):not(:disabled):hover.btn-sm>span,.btn-animated-start:not(.btn-link,.btn-tertiary).pretend-hover.btn-sm>span{-webkit-transform:translateX(0.5rem);transform:translateX(0.5rem)}.btn-animated-start:not(.btn-link,.btn-tertiary):focus.btn-rg>span,.btn-animated-start:not(.btn-link,.btn-tertiary):not(:disabled):hover.btn-rg>span,.btn-animated-start:not(.btn-link,.btn-tertiary).pretend-hover.btn-rg>span{-webkit-transform:translateX(0.5rem);transform:translateX(0.5rem)}.btn-animated-start:not(.btn-link,.btn-tertiary):focus.btn-lg>span,.btn-animated-start:not(.btn-link,.btn-tertiary):not(:disabled):hover.btn-lg>span,.btn-animated-start:not(.btn-link,.btn-tertiary).pretend-hover.btn-lg>span{-webkit-transform:translateX(0.5rem);transform:translateX(0.5rem)}}.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:#2c871d;color:#fff}.btn-success:focus,.btn-success:not(:disabled):hover,.btn-success.pretend-hover{background-color:#1e5d14;color:#fff}.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-error{border-color:rgba(0,0,0,0);background-color:#a51728;color:#fff}.btn-error:focus,.btn-error:not(:disabled):hover,.btn-error.pretend-hover{background-color:#78111d;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}@font-face{font-display:swap;font-family:"Swiss Post Sans";font-weight:700;src:url("https://fonts.post.ch/swiss-post-sans/v1/SwissPostSans-Bold.woff2") format("woff2"),url("https://fonts.post.ch/swiss-post-sans/v1/SwissPostSans-Bold.woff") format("woff")}@font-face{font-display:swap;font-family:"Swiss Post Sans";font-weight:400;src:url("https://fonts.post.ch/swiss-post-sans/v1/SwissPostSans-Regular.woff2") format("woff2"),url("https://fonts.post.ch/swiss-post-sans/v1/SwissPostSans-Regular.woff") format("woff")}@font-face{font-display:swap;font-family:"Swiss Post Sans";font-weight:300;src:url("https://fonts.post.ch/swiss-post-sans/v1/SwissPostSans-Light.woff2") format("woff2"),url("https://fonts.post.ch/swiss-post-sans/v1/SwissPostSans-Light.woff") format("woff")}.visually-hidden,.klp-widget-anonymous__text{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,.login-button{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),.login-button:is(:focus-visible,:focus-within,.pretend-focus){outline:2px solid var(--post-contrast-color)}.nav-link:hover,.login-button:hover,.nav-link:focus,.login-button:focus{color:#000}.nav-link:is(:focus-visible,:focus-within,.pretend-focus),.login-button:is(:focus-visible,:focus-within,.pretend-focus){z-index:1;position:relative}.nav-link>svg,.login-button>svg{width:1.4em;height:1.4em;-ms-flex-negative:0;flex-shrink:0}.nav-link>span,.login-button>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:"Swiss Post Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,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),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){svg{color:currentColor;forced-color-adjust:preserve-parent-color}}.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-none{display:none !important}.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: 1439.98px){.hidden-xxl{display:none}}/*!\n * ------------------------------------------------------------------------------------------------\n * Copyright 2014 by Swiss Post, Information Technology Services\n * ------------------------------------------------------------------------------------------------\n * $Id$\n * ------------------------------------------------------------------------------------------------\n */.klp-widget-support{background-color:#f49e00 !important}.klp-widget-authenticated-session-link{display:block;padding:12px 10px;text-decoration:none;outline:none}@media (min-width: 600px)and (max-width: 1279px){.klp-widget-authenticated-session-link{padding:12px 12px}}@media (min-width: 1280px){.klp-widget-authenticated-session-link{padding:16px 16px}}.klp-widget-authenticated-menu li{position:relative;display:-ms-inline-flexbox;display:inline-flex;width:296px;min-height:40px;margin:0;padding:0;list-style-type:none;background-color:#fff;border-top:none}.notification-link:active{background-color:#fc0 !important}.notification-link:hover,.notification-link:focus{background-color:#f4f3f1}.klp-widget-authenticated-menu li:hover>a{color:#000}.klp-widget-authenticated-session-name{position:relative;display:table-cell;width:117px;height:55px;overflow:hidden;color:#000;font-weight:normal;font-size:15px;font-style:normal;font-stretch:normal;line-height:1;letter-spacing:normal;white-space:nowrap;text-indent:1em;text-overflow:ellipsis;vertical-align:middle}.klp-widget-authenticated-menu a{color:rgba(0,0,0,.6);font-weight:normal;font-size:17px;font-style:normal;font-stretch:normal;line-height:17px;letter-spacing:normal}.klp-widget-authenticated-menu ul{padding-bottom:8px;padding-left:0;background-color:#fff;-webkit-box-shadow:0 0 3px 0 rgba(0,0,0,.4);box-shadow:0 0 3px 0 rgba(0,0,0,.4)}.klp-widget-authenticated-menu li:nth-child(2){margin:9px 0 0 0}.klp-widget-authenticated-menu li.name-and-surname:active{background-color:#fff}.klp-widget-authenticated-menu li.name-and-surname:hover{background-color:#fff}.klp-widget-anonymous{height:100%;color:rgba(0,0,0,.6)}.klp-widget-anonymous__wrapper{height:100%}.klp-widget-anonymous a{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;padding:0 16px;color:rgba(0,0,0,.6);font-weight:300;font-size:1rem;text-decoration:none;background-color:#fff}.klp-widget-anonymous a:hover{color:#000}.notification-number-detail{position:relative;width:25px;height:20px;margin-left:23px;padding:2px 6px;color:#fff;font-size:13px;text-align:center;background-color:#a51728;border-radius:10px}li.name-and-surname{display:-ms-flexbox;display:flex;min-width:296px;min-height:78px;padding-top:0;vertical-align:middle;border-bottom:1px solid rgba(0,0,0,.2);height:auto !important}.initials-circle{position:relative;display:table;width:40px;height:40px;margin:19px 16px;overflow:hidden;color:#fff;background-color:#004976;border-radius:40px}.initials-container{display:table-cell;font-weight:300;font-size:17px;line-height:1.65;letter-spacing:normal;text-align:center;vertical-align:middle}.initials-mobile{display:none;visibility:hidden}.notification-link{display:-ms-flexbox;display:flex;-ms-flex:0 0 100%;flex:0 0 100%;text-decoration:none}.klp-widget-notification-link-text{overflow:hidden;font-weight:normal;font-size:17px;white-space:nowrap;text-overflow:ellipsis}li.name-and-surname span.name{position:relative;display:block;width:12em;overflow:hidden;color:#000;font-weight:bold;font-size:17px;line-height:24px}li.name-and-surname span.nameCentered{position:relative;display:block;-ms-flex-item-align:center;align-self:center;width:12em;padding:0;overflow:hidden;color:#000;font-weight:bold;font-size:17px;line-height:24px}li.name-and-surname span.info{position:relative;display:block;width:12em;overflow:hidden;color:#000;font-weight:normal;font-size:15px;line-height:22px}li.name-and-surname span.infoHidden{position:relative;display:none;width:12em;overflow:hidden;color:#000;font-weight:normal;font-size:15px;line-height:22px}.nameAndInfoWrapper{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:224px;min-height:78px;padding:16px 0;line-height:46px;height:auto !important}.widget_icon_profile{display:inline-block;width:24px;height:24px;margin:8px 12px;color:#000;font-weight:normal;font-style:normal;font-variant:normal;text-transform:none;text-decoration:inherit;background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iNDgiIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgMCA0OCA0OCI+CiAgICA8ZGVmcz4KICAgICAgICA8cGF0aCBpZD0iYSIgZD0iTTI0IDQwLjQ0NGE1LjM0IDUuMzQgMCAwIDAgNS4zMzMtNS4zMzNBNS4zNCA1LjM0IDAgMCAwIDI0IDI5Ljc3OGE1LjM0IDUuMzQgMCAwIDAtNS4zMzMgNS4zMzNBNS4zNCA1LjM0IDAgMCAwIDI0IDQwLjQ0NHpNMjQgMjhhNy4xMTggNy4xMTggMCAwIDEgNy4xMTEgNy4xMTFBNy4xMTggNy4xMTggMCAwIDEgMjQgNDIuMjIyYy0zLjkyIDAtNy4xMTEtMy4xOS03LjExMS03LjExQzE2Ljg4OSAzMS4xOSAyMC4wNzkgMjggMjQgMjh6bTgtMi42NjdIMTZjLTQuNDEyIDAtOC0zLjU4OS04LThWNGgxLjc3OHYxMy4zMzNBNi4yMyA2LjIzIDAgMCAwIDE2IDIzLjU1NmgxNmE2LjIzIDYuMjMgMCAwIDAgNi4yMjItNi4yMjNWNEg0MHYxMy4zMzNjMCA0LjQxMS0zLjU4OSA4LTggOHpNMTUuMTExIDRoMS43Nzh2MTIuNDQ0SDE1LjExVjR6bTE2IDBoMS43Nzh2MTIuNDQ0SDMxLjExVjR6Ii8+CiAgICA8L2RlZnM+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwYXRoIGZpbGw9Im5vbmUiIGQ9Ik0tNzgxLTQ3OUg2NTl2MTY4MkgtNzgxeiIvPgogICAgICAgIDxtYXNrIGlkPSJiIiBmaWxsPSIjZmZmIj4KICAgICAgICAgICAgPHVzZSB4bGluazpocmVmPSIjYSIvPgogICAgICAgIDwvbWFzaz4KICAgICAgICA8ZyBmaWxsPSIjNjY2IiBtYXNrPSJ1cmwoI2IpIj4KICAgICAgICAgICAgPHBhdGggZD0iTTAgMGg0OHY0OEgweiIvPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+Cg==");background-repeat:no-repeat;background-size:contain;-webkit-transform:rotate(180deg);transform:rotate(180deg);content:" "}.widget_icon_settings{display:inline-block;width:24px;height:24px;margin:8px 12px;color:#000;font-weight:normal;font-style:normal;font-variant:normal;text-transform:none;text-decoration:inherit;background-image:url("data:image/svg+xml,%3Csvg version=\'1.1\' xmlns=\'http://www.w3.org/2000/svg\' width=\'32\' height=\'32\' viewBox=\'0 0 32 32\'%3E%3Cpath opacity=\'1\' fill=\'%23000000\' d=\'M26.4 20h4.267v-6.667h-4.267c-0.4-0.267-0.667-0.533-0.8-0.933-0.267-0.4-0.133-0.8-0.133-1.2l3.067-3.067-4.667-4.667-3.067 3.067c-0.4 0.133-0.8 0-1.2-0.133s-0.667-0.4-0.933-0.8v-4.267h-6.667v4.267c-0.267 0.4-0.533 0.667-0.933 0.8-0.267 0.133-0.667 0.267-1.2 0.133l-3.067-3.067-4.667 4.667 3.067 3.067c0.133 0.4 0 0.8-0.133 1.2s-0.4 0.667-0.8 0.933h-4.267v6.667h4.267c0.4 0.267 0.667 0.533 0.8 0.933s0.133 0.8 0.133 1.2l-3.067 3.067 4.667 4.667 3.067-3.067c0.4-0.133 0.8 0 1.2 0.133s0.667 0.4 0.933 0.8v4.267h6.667v-4.267c0.267-0.4 0.533-0.667 0.933-0.8s0.8-0.133 1.2-0.133l3.067 3.067 4.667-4.667-3.067-3.067c-0.133-0.4 0-0.8 0.133-1.2s0.4-0.667 0.8-0.933zM24.267 22.667v0.133l2.4 2.4-2.8 2.8-2.4-2.4h-0.133c-0.8-0.267-1.6-0.133-2.267 0.133s-1.2 0.8-1.6 1.467l-0.133 0.133v3.333h-4v-3.333l-0.133-0.133c-0.4-0.667-0.933-1.2-1.6-1.467v0c-0.667-0.4-1.467-0.4-2.267-0.133h-0.133l-2.4 2.4-2.8-2.8 2.4-2.4v-0.133c0.267-0.8 0.267-1.6-0.133-2.267-0.267-0.667-0.8-1.2-1.467-1.6l-0.133-0.133h-3.333v-4h3.333l0.133-0.133c0.667-0.4 1.2-0.933 1.467-1.6 0.4-0.667 0.4-1.467 0.133-2.267v-0.133l-2.4-2.4 2.8-2.8 2.4 2.4h0.133c0.8 0.267 1.6 0.267 2.267-0.133 0.667-0.267 1.2-0.8 1.6-1.467l0.133-0.133v-3.333h4v3.333l0.133 0.133c0.4 0.667 0.933 1.2 1.6 1.467 0.667 0.4 1.467 0.4 2.267 0.133h0.133l2.4-2.4 2.8 2.8-2.4 2.4v0.133c-0.267 0.8-0.267 1.6 0.133 2.267 0.267 0.667 0.8 1.2 1.467 1.6l0.133 0.133h3.333v4h-3.333l-0.133 0.133c-0.667 0.4-1.2 0.933-1.467 1.6-0.4 0.667-0.4 1.467-0.133 2.267z\'%3E%3C/path%3E %3Cpath opacity=\'1\' fill=\'%23000000\' d=\'M15.333 10.667c-3.333 0-6 2.667-6 6s2.667 6 6 6c3.333 0 6-2.667 6-6s-2.667-6-6-6zM15.333 21.333c-2.533 0-4.667-2.133-4.667-4.667s2.133-4.667 4.667-4.667c2.533 0 4.667 2.133 4.667 4.667s-2.133 4.667-4.667 4.667z\'%3E%3C/path%3E%3C/svg%3E");background-repeat:no-repeat;background-size:contain;content:" "}.widget_icon_changecompany{display:inline-block;width:24px;height:24px;margin:8px 12px;color:#000;font-weight:normal;font-style:normal;font-variant:normal;text-transform:none;text-decoration:inherit;background-image:url("data:image/svg+xml;base64,IDxzdmcgdmVyc2lvbj0iMS4wIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI3MDAuMDAwMDAwcHQiIGhlaWdodD0iODYzLjAwMDAwMHB0IiB2aWV3Qm94PSIwIDAgNzAwLjAwMDAwMCA4NjMuMDAwMDAwIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWlkWU1pZCBtZWV0Ij4KPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMC4wMDAwMDAsODYzLjAwMDAwMCkgc2NhbGUoMC4xMDAwMDAsLTAuMTAwMDAwKSIgZmlsbD0iIzY2NiIgc3Ryb2tlPSJub25lIj4KPHBhdGggZD0iTTY3ODIgODMzOCBjLTE4IC0xOCAtMzk0MCAtMjUgLTQwNTUgLTggLTk4IDE2IC0xMDkgOSAtOTUgLTU2IDkgLTM5CjcgLTE2MiAtNCAtMjQ0IC0yIC0yMCAyIC0yNiAyMSAtMjggMTMgLTIgMzUgMiA0OCA5IDE4IDEwIDM0IDEwIDYyIDMgMjIgLTYKNDggLTcgNjEgLTIgMTIgNCA4NDMgNyAxODQ3IDYgbDE4MjUgLTMgMTkgLTI0IGMxNiAtMTkgMTkgLTQwIDE5IC0xMTYgMCAtNTIKLTUgLTEwNiAtMTAgLTEyMSAtOCAtMTkgLTggLTMwIDAgLTM4IDE1IC0xNSAxNCAtNTk5OCAtMSAtNjAxMyAtNyAtNyAtOSAtMjMKLTUgLTM3IGw2IC0yNSAxMjAgNiBjOTIgNSAxMjcgMyAxNDYgLTcgMzUgLTE5IDYwIC0zIDU1IDM2IC04IDYyIC04IDY0MDQgMAo2NDk5IDEyIDEzNSAxMiAxNDYgMiAxNTUgLTE3IDE2IC00OSAyMCAtNjEgOHoiPjwvcGF0aD4KPHBhdGggZD0iTTUwNCA3MjY1IGMtNCAtMTAgLTIgLTMyIDQgLTQ5IDE3IC00NiAxNyAtNjU3NyAxIC02NTkzIC05IC05IC05Ci0xOSAtMSAtNDAgMTAgLTI1IDkgLTE3NyAtMSAtMzA2IC01IC01NiA2IC02MCAxMjEgLTQ3IDcyIDkgMTA5IDkgMTQwIDEgMjYKLTggNTUgLTggODEgLTIgMjUgNSA1OCA1IDg2IC0xIDMyIC03IDY3IC02IDExMyAyIDg0IDE0IDEyNzggMTMgMTQzMCAtMiAxMTcKLTExIDEzNyAtNSAxMjUgNDEgLTQgMTQgLTYgNTggLTYgOTYgMCAzOSAwIDEwNCAtMSAxNDUgMCA0MSAtMSAzMDYgLTEgNTg4IGwwCjUxNCAyMyAxOCBjMjEgMTcgNTQgMTggNTI3IDIwIGw1MDUgMSAyNSAtMjUgMjUgLTI1IDAgLTY1MCBjLTEgLTM5OCAtNSAtNjUzCi0xMSAtNjU2IC0xNCAtOSAtMTEgLTUxIDYgLTY1IDExIC05IDMzIC0xMCA5MiAtMiA2NSA4IDE3NjkgOCAxOTUyIC0xIDQxIC0yCjQ1IDAgNTMgMjggNSAxOCA0IDQwIC0zIDU3IC0xNSAzNyAtMTYgMTk1IC0xIDIxMCA4IDggOCAxNiAtMSAzMiAtOSAxNiAtMTIKNzM1IC0xMiAzMTc2IDAgMTczNSAyIDMyNDAgNCAzMzQ0IDQgMTc5IDMgMTkwIC0xNSAxOTYgLTEwIDQgLTMwIDMgLTQ0IC0yCi0zMSAtMTAgLTUxMjAgLTQgLTUxNzIgNiAtMzEgNyAtMzkgNSAtNDQgLTl6IG00OTQzIC0zMjggYzE3IC0xNyAxOCAtMTU5IDIwCi0zMTgxIDMgLTMwOTUgMiAtMzE2NSAtMTYgLTMxODggLTE4IC0yMiAtMjYgLTIzIC0xNTYgLTI2IC04NyAtMiAtMTQxIDAgLTE0OQo3IC05IDggLTIyIDggLTQzIDAgLTIwIC03IC0yMDEgLTkgLTU0MSAtNyAtNDg1IDMgLTUxMSA0IC01MzEgMjIgLTIxIDE5IC0yMQoyMSAtMjEgNjczIDAgNDM1IDMgNjYxIDEwIDY3NCA2IDExIDcgMjYgMiAzNCAtNyAxNCAtMTEwIDE2IC04NzcgMTYgbC04NzAgMAotNiAtMjQgYy00IC0xNCAtMyAtMzEgMiAtMzggMTEgLTE4IDExIC0xMzAgMCAtMTQ4IC01IC04IC0zIC0yNCA0IC00MCA5IC0yMAoxMiAtMTU5IDExIC01NzggLTEgLTUxNiAtMiAtNTUzIC0xOSAtNTcwIC0xNyAtMTcgLTYwIC0xOCAtNjg1IC0yMSAtNjc4IC0zCi03MzMgLTEgLTc0NiAzNCAtMyA4IC02IDE0MzcgLTYgMzE3NiAtMSAyOTE3IDEgMzE2MiAxNiAzMTc5IDkgMTAgMzQgMjAgNTgKMjIgMjIgMiAxMDUwIDMgMjI4MyAzIDIxMzkgLTEgMjI0MyAtMiAyMjYwIC0xOXoiPjwvcGF0aD4KPHBhdGggZD0iTTIwNzUgNjIwOSBjLTUgLTcgLTg1IC0xMCAtMjUxIC04IGwtMjQ1IDMgMCAtNjg3IC0xIC02ODcgNjg2IC0xCjY4NyAwIDAgNjkzIDAgNjkzIC0yMSAzIGMtMTIgMiAtMjYgLTEgLTMzIC02IC0xNiAtMTMgLTc4NSAtMTQgLTc5MyAtMSAtNyAxMgotMjEgMTEgLTI5IC0yeiBtNTQ2IC0zMzYgYzExIC0xMyAxNCAtODIgMTQgLTM1MyAwIC0zMTkgLTEgLTMzOSAtMTkgLTM1OSAtMTkKLTIxIC0yNSAtMjEgLTM1NCAtMjAgLTMxNSAxIC0zMzUgMiAtMzUzIDIwIC0xOCAxOCAtMTkgMzggLTE5IDM1NiAwIDI5OSAyCjMzOCAxNyAzNTUgMTUgMTcgMzkgMTggMzU4IDE4IDMwNiAwIDM0NCAtMiAzNTYgLTE3eiI+PC9wYXRoPgo8cGF0aCBkPSJNMzM0MSA2MjExIGMtMTEgLTcgLTEyIC0xOSAtNiAtNTIgOSAtNDYgMTMgLTExOTggNSAtMTI4MiBsLTUgLTQ4CjY4OSAwIGMzNzkgMSA2OTMgNCA2OTYgOCA0IDUgNCA0NCAtMSA4NyAtNiA2NyAtNCAxMTQ0IDQgMTI0NSBsMiAzMyAtNTcwIDIKYy0zMTMgMiAtNTc3IDMgLTU4NSA0IC04IDEgLTUxIDEgLTk1IDAgLTQ0IC0xIC04OSAxIC0xMDAgNSAtMTEgNCAtMjYgMyAtMzQKLTJ6IG0xMDI2IC0zMjYgYzQwIC05IDQ1IC01NiA0MSAtMzkyIC0zIC0yODQgLTUgLTMxNCAtMjEgLTMzMCAtMTYgLTE2IC00NwotMTggLTM1MSAtMjEgLTMxNyAtMyAtMzM0IC0yIC0zNTcgMTcgbC0yNCAxOSAwIDMzNSBjMCAzMTIgMSAzMzYgMTkgMzU1IDEwCjEyIDMyIDIyIDUwIDI0IDUyIDUgNjE5IC0xIDY0MyAtN3oiPjwvcGF0aD4KPHBhdGggZD0iTTI4ODMgNDA4OSBjLTcgLTcgLTIxNSAtOSAtNjYyIC03IC02MjMgMyAtNjUxIDIgLTY1NyAtMTUgLTMgLTEwIC0xCi0zMSA2IC00NiA4IC0yMCAxMCAtMjA2IDggLTY3MiBsLTMgLTY0NCA2ODggMiA2ODggMiAwIDY4OCBjMCA2NTMgLTEgNjg4IC0xOAo2OTQgLTI2IDExIC0zOCAxMCAtNTAgLTJ6IG0tMjYzIC0zNDYgYzIxIC0yOCAyMiAtMzIgMTggLTM1NiBsLTMgLTMyOSAtMjQKLTE5IGMtMjIgLTE4IC00MyAtMTkgLTM1MiAtMTkgLTMxMiAwIC0zMzAgMSAtMzQ4IDE5IC0xOSAxOSAtMjAgMzcgLTIxIDM1NSAwCjMyNCAwIDMzNiAyMCAzNTYgMTkgMTkgMzIgMjAgMzU0IDIwIGwzMzUgMCAyMSAtMjd6Ij48L3BhdGg+CjxwYXRoIGQ9Ik00Njc1IDQwODkgYy0xNiAtNSAtMzI1IC04IC02ODUgLTggbC02NTUgMiA0IC0zNCBjMTAgLTkyIDExIC0xMjQ3CjEgLTEyODcgLTE0IC01NyAtMiAtNzQgNDMgLTYxIDE5IDYgMzAyIDkgNjg3IDggbDY1NSAtMSAtMyAzNCBjLTEgMTggLTUgMzAxCi04IDYyOCAtNSA0NjQgLTMgNjA3IDcgNjQ4IDE1IDY1IDMgODUgLTQ2IDcxeiBtLTI5MCAtMzM5IGMxNiAtMTggMTkgLTQyIDIxCi0xNzcgMiAtMTE4IC0xIC0xNjMgLTExIC0xODMgLTExIC0yMSAtMTEgLTMwIC0yIC0zOSA4IC05IDExIC01NCAxMCAtMTU0IC0zCi0xMzEgLTUgLTE0MyAtMjQgLTE1OSAtMTkgLTE2IC01MiAtMTggLTM0OSAtMTggLTM5OSAwIC0zNzAgLTExIC0zNzEgMTM1IDAKNTUgLTEgMTM0IC0yIDE3NSAtMSA0MSAtMSAxNDggLTEgMjM4IDEgMTQxIDMgMTY1IDE5IDE4MiAxNyAxOSAzMSAyMCAzNTUgMjAKMzI2IDAgMzM3IC0xIDM1NSAtMjB6Ij48L3BhdGg+CjwvZz4KPC9zdmc+");background-repeat:no-repeat;background-size:contain;content:" "}.widget_icon_logout{display:inline-block;width:24px;height:24px;margin:8px 12px;color:#000;font-weight:normal;font-style:normal;font-variant:normal;text-transform:none;text-decoration:inherit;background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iNDgiIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgMCA0OCA0OCI+CiAgICA8ZGVmcz4KICAgICAgICA8cGF0aCBpZD0iYSIgZD0iTTAgMGgyOHYySDJ2NDRoMjZ2MkgwVjB6bTMzLjU4NiAxNGgyLjgyOGwxMSAxMS0xMSAxMWgtMi44MjhsMTAtMTBIMTh2LTJoMjUuNTg2bC0xMC0xMHoiLz4KICAgIDwvZGVmcz4KICAgIDxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPHBhdGggZmlsbD0ibm9uZSIgZD0iTS00MTAtMzIwaDE0NDB2MTY4MkgtNDEweiIvPgogICAgICAgIDxtYXNrIGlkPSJiIiBmaWxsPSIjZmZmIj4KICAgICAgICAgICAgPHVzZSB4bGluazpocmVmPSIjYSIvPgogICAgICAgIDwvbWFzaz4KICAgICAgICA8ZyBmaWxsPSIjNjY2IiBtYXNrPSJ1cmwoI2IpIj4KICAgICAgICAgICAgPHBhdGggZD0iTTAgMGg0OHY0OEgweiIvPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+Cg==");background-repeat:no-repeat;background-size:contain;content:" "}.widget_icon_notification{display:inline-block;width:24px;height:24px;margin:8px 12px;color:#000;font-weight:normal;font-size:1em;font-style:normal;font-variant:normal;text-transform:none;text-decoration:inherit;background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iNDgiIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgMCA0OCA0OCI+CiAgICA8ZGVmcz4KICAgICAgICA8cGF0aCBpZD0iYSIgZD0iTTIgNDBoNDRWOEgydjMyem0yMy40NDYtMTEuOTYzYy0uNzYyLjc5Ny0yLjEzLjc5OC0yLjg5Mi0uMDAyTDUuMzM3IDEwaDM3LjMyN0wyNS40NDYgMjguMDM3ek0xNS45MzUgMjRMNCAzNi41MDRWMTEuNDk2TDE1LjkzNSAyNHptMS4zODQgMS40NDhsMy43ODcgMy45NjdBMy45NjYgMy45NjYgMCAwIDAgMjQgMzAuNjU2YTMuOTcgMy45NyAwIDAgMCAyLjg5My0xLjIzOGwzLjc4OC0zLjk3TDQyLjY2MiAzOEg1LjMzOGwxMS45ODEtMTIuNTUyek0zMi4wNjQgMjRMNDQgMTEuNDk1djI1LjAwOUwzMi4wNjQgMjR6Ii8+CiAgICA8L2RlZnM+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwYXRoIGZpbGw9Im5vbmUiIGQ9Ik0tMTE0OS0zMThIMjkxdjE2ODJoLTE0NDB6Ii8+CiAgICAgICAgPG1hc2sgaWQ9ImIiIGZpbGw9IiNmZmYiPgogICAgICAgICAgICA8dXNlIHhsaW5rOmhyZWY9IiNhIi8+CiAgICAgICAgPC9tYXNrPgogICAgICAgIDxnIGZpbGw9IiM2NjYiIG1hc2s9InVybCgjYikiPgogICAgICAgICAgICA8cGF0aCBkPSJNMCAwaDQ4djQ4SDB6Ii8+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4K");background-repeat:no-repeat;background-size:contain;content:" "}#post-klp-login-widget.bubble:before{position:absolute;top:calc(100% + 2px);right:50%;z-index:9999;width:0;height:0;margin-right:-7px;border-color:rgba(0,0,0,0) rgba(0,0,0,0) #fff rgba(0,0,0,0);border-style:solid;border-width:0 7px 7px 7px;content:""}#post-klp-login-widget.bubble:after{position:absolute;top:100%;right:50%;z-index:9998;width:0;height:0;margin-right:-8px;border-color:rgba(0,0,0,0) rgba(0,0,0,0) rgba(0,0,0,.07) rgba(0,0,0,0);border-style:solid;border-width:0 8px 8px 8px;content:""}.klp-widget-anonymous .klp-widget-anonymous__text{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;border:0;clip:rect(0 0 0 0)}@media (min-width: 600px)and (max-width: 1023px){.klp-widget-anonymous .klp-widget-anonymous__text{position:static;width:auto;height:auto;margin:0;padding-right:10px;overflow:visible;clip:auto}}@media (min-width: 1024px)and (max-width: 1279px){.klp-widget-anonymous .klp-widget-anonymous__text{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;border:0;clip:rect(0 0 0 0)}}@media (min-width: 1280px){.klp-widget-anonymous .klp-widget-anonymous__text{position:static;width:auto;height:auto;margin:0;padding-right:8px;overflow:visible;font-size:17px;clip:auto}}.klp-widget-anonymous a{padding:0 1rem}@media (min-width: 600px)and (max-width: 1023px){.klp-widget-anonymous a{padding:0 16px}}@media (min-width: 1024px){.klp-widget-anonymous a{padding:0 20px}}.initials-mobile{display:block;width:32px;height:32px;color:#fff;font-weight:normal;font-size:13px;line-height:32px;letter-spacing:1px;text-align:center;background-color:#004976;border-radius:32px;visibility:visible}@media (min-width: 1024px){.initials-mobile{width:40px;height:40px;font-size:15px;line-height:40px;border-radius:40px}}.notification-number{position:absolute;top:6px;right:5px;display:block;width:15px;height:15px;color:#fff;font-size:12px;line-height:20px;text-align:center;background-color:#a51728;background-clip:padding-box;border:2px solid #fff;border-radius:10px}@media (min-width: 600px)and (max-width: 1023px){.notification-number{right:8px}}@media (min-width: 1024px)and (max-width: 1279px){.notification-number{right:8px;width:17px;height:17px}}@media (min-width: 1280px){.notification-number{top:10px;right:12px;width:17px;height:17px}}.klp-widget-authenticated-session-name{display:none}.linkContainer{-ms-flex-item-align:center;align-self:center;height:16px;margin:10px 0}.klp-widget-authenticated-menu{position:fixed;top:64px;z-index:3;width:296px}@media (max-width: 399px){.klp-widget-authenticated-menu{right:0;left:0;margin:0 auto}}@media (min-width: 400px)and (max-width: 1023px){.klp-widget-authenticated-menu{position:absolute;top:64px;right:8px}}@media (min-width: 1024px)and (max-width: 1279px){.klp-widget-authenticated-menu{position:absolute;top:72px;right:8px}}@media (min-width: 1280px){.klp-widget-authenticated-menu{position:absolute;top:80px;right:8px}}.klp-widget-authenticated-menu>ul{margin:0}.klp-widget-authenticated{min-width:52px;max-height:55px;background-color:#fff}@media (min-width: 1024px)and (max-width: 1279px){.klp-widget-authenticated{max-height:64px}}@media (min-width: 1280px){.klp-widget-authenticated{max-height:72px}}.item-centered{-ms-flex-align:center;align-items:center;-ms-flex-item-align:center;align-self:center;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}.item-left{-ms-flex-align:start;align-items:flex-start;-ms-flex-item-align:start;align-self:flex-start}.item-right{-ms-flex-align:end;align-items:flex-end;-ms-flex-item-align:end;align-self:flex-end}.changeAccountModal{display:table}.modal{position:fixed;top:0;left:0;z-index:9999;display:none;width:100vw;height:100vh;padding-top:100px;overflow:auto;background-color:#000;background-color:rgba(0,0,0,.4)}.modal-content{-ms-flex-align:center;align-items:center;width:80%;min-height:20em;margin:auto;background-color:#fff;border:1px solid #888}@media (min-width: 1024px){.modal-content{max-width:584px;margin:1.75rem auto}}.close{position:absolute;top:0;right:15px;color:#000;font-weight:lighter;font-size:40px}.close:hover,.close:focus{text-decoration:none;cursor:pointer}.btn-modal-container{position:absolute;bottom:1em;width:100%}.pi{display:inline-block;width:1.5rem;height:1.5rem;vertical-align:middle;background-repeat:no-repeat;background-position:center center;background-size:contain;border:none}.pi-2086{width:4.5rem;height:4.5rem;margin-bottom:2em;background-image:url("data:image/svg+xml,%3Csvg version=\'1.1\' xmlns=\'http://www.w3.org/2000/svg\' width=\'32\' height=\'32\' viewBox=\'0 0 32 32\'%3E%3Cpath fill=\'%23000\' d=\'M17.333 25.333v-16h-4.667v2.667h2v13.333h-2v2.667h6.667v-2.667z\'%3E%3C/path%3E %3Cpath fill=\'%23000\' d=\'M14.667 4h2.667v2.667h-2.667v-2.667z\'%3E%3C/path%3E%3C/svg%3E");border-color:#000}.modal-text-container{-ms-flex-line-pack:center;align-content:center;width:100%;min-height:17em;background:#fc0}.modal-button-container{-ms-flex-line-pack:center;align-content:center;width:100%;height:6em;margin-right:0;margin-left:0;background:#fff}.text-align-center{text-align:center}.modal-text{color:#000;font-weight:bold}a:is(:focus-visible,:focus-within,.pretend-focus){z-index:2}:host{display:block}.widget-wrapper{position:relative}.widget-wrapper,#post-klp-login-widget,.klp-widget-anonymous,.klp-widget-anonymous__wrapper,.klp-widget-anonymous__wrapper a{height:100%}.klp-widget-anonymous__wrapper a{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;color:#333;text-decoration:none;padding:0 1rem;-webkit-transition:color 200ms;transition:color 200ms}.klp-widget-anonymous__wrapper a:hover,.klp-widget-anonymous__wrapper a:focus{color:#000}@media (min-width: 1024px){.klp-widget-anonymous__wrapper a{padding:0 1.125rem}}.klp-widget-anonymous__wrapper a span{margin-right:.5rem}.klp-widget-anonymous__wrapper a svg{width:1.5rem;height:1.5rem}@media (min-width: 600px)and (max-width: 1023.98px){.klp-widget-anonymous__text{position:static;width:auto;height:auto;margin:auto;overflow:visible;clip:auto;visibility:visible}}@media (min-width: 1280px){.klp-widget-anonymous__text{position:static;width:auto;height:auto;margin:auto;overflow:visible;clip:auto;visibility:visible}}#post-klp-login-widget .nameAndInfoWrapper{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;width:224px;min-height:78px;padding:16px 0px;line-height:46px;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center}.modal-content{position:relative}.modal-text-container{padding-top:3rem}#post-klp-login-widget .modal-button-container{height:auto;padding:2rem}#post-klp-login-widget .modal-button-container>.item-centered{-ms-flex-pack:center;justify-content:center}.login-button{height:100%;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;cursor:pointer;padding-right:calc(1rem - 1px);padding-left:calc(1rem - 1px)}@media (min-width: 1024px){.login-button{padding:0 calc(1.125rem - 1px)}}@media (min-width: 1280px){.login-button{padding:0 calc(1.5rem - 1px)}}.login-button svg{width:1.5rem;height:1.5rem}@media (min-width: 600px){.login-button .visually-hidden{position:static;width:auto;height:auto;margin:auto;overflow:visible;clip:auto;visibility:visible;font-weight:300;margin-right:.5rem;cursor:pointer}}';export{g as P}
|
package/dist/swisspost-internet-header/{p-6db01950.system.entry.js → p-df70d07e.system.entry.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-5a806d1a.system.js","./p-5600adca.system.js","./p-abf306bd.system.js","./p-363c44ec.system.js","./p-693ba981.system.js","./p-d7e221af.system.js","./p-f0a9cc89.system.js","./p-812782e0.system.js","./p-1fd8561a.system.js"],(function(s){"use strict";return{setters:[function(t){s("swisspost_internet_header",t.P)},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){}}}));
|
package/dist/swisspost-internet-header/{p-095131e8.system.entry.js → p-eefdd3f5.system.entry.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-9ba6f8b6.system.js","./p-5600adca.system.js","./p-693ba981.system.js","./p-f0a9cc89.system.js","./p-812782e0.system.js"],(function(s){"use strict";return{setters:[function(t){s("post_klp_login_widget",t.P)},function(){},function(){},function(){},function(){}],execute:function(){}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as
|
|
1
|
+
import{p as e,b as a}from"./p-67f6b5a8.js";export{s as setNonce}from"./p-67f6b5a8.js";import{g as o}from"./p-e1255160.js";(()=>{const a=import.meta.url,o={};return""!==a&&(o.resourcesUrl=new URL(".",a).href),e(o)})().then((async e=>(await o(),a([["p-935c52e3",[[1,"swisspost-internet-header",{project:[1],stickyness:[1],language:[1],meta:[4],login:[4],search:[4],skiplinks:[4],configProxy:[1,"config-proxy"],environment:[1],languageSwitchOverrides:[1,"language-switch-overrides"],customConfig:[1,"custom-config"],languageCookieKey:[1,"language-cookie-key"],languageLocalStorageKey:[1,"language-local-storage-key"],logoutUrl:[1,"logout-url"],selfAdminOrigin:[1,"self-admin-origin"],activeRoute:[8,"active-route"],osFlyoutOverrides:[1,"os-flyout-overrides"],fullWidth:[4,"full-width"],activeFlyout:[32],activeDropdownElement:[32],isMainSlotEmpty:[32],getCurrentLanguage:[64]},[[0,"languageChanged","handleLanguageChangeEvent"]],{language:["handleLanguageChange"],languageSwitchOverrides:["handleAvailableLanguagesChange"],osFlyoutOverrides:["handleOsFlyoutOverrides"],activeRoute:["handleActiveRouteChange"],customConfig:["handleCustomConfigChange"],search:["handleSearchChange"],login:["handleLoginChange"],meta:["handleMetaChange"],stickyness:["handleStickynessChange"]}]]],["p-5692afb1",[[1,"swisspost-internet-breadcrumbs",{customItems:[1,"custom-items"],hideButtons:[4,"hide-buttons"],customBreadcrumbItems:[32],overlayVisible:[32],isConcatenated:[32],dropdownOpen:[32],refsReady:[32],toggleOverlayById:[64]},null,{customItems:["handleCustomConfigChange"]}]]],["p-29d246c8",[[1,"swisspost-internet-footer",{liveSupportEnabled:[32],cookieSettingsEnabled:[32]}]]],["p-6c5a684e",[[1,"post-search",{searchDropdownOpen:[32],coveoSuggestions:[32],placeSuggestions:[32],parcelSuggestion:[32],toggleDropdown:[64],setFocus:[64]}]]],["p-1baf0e1e",[[1,"post-header-logo"]]],["p-2aced2a4",[[1,"post-klp-login-widget",{logoutUrl:[1,"logout-url"],selfAdminOrigin:[1,"self-admin-origin"],setFocus:[64]}]]],["p-e673cc0a",[[1,"post-language-switch",{mode:[1],langSwitchOpen:[32],toggleDropdown:[64]}]]],["p-9d5dbac8",[[1,"post-main-navigation",{activeFlyout:[32],mobileMenuOpen:[32],toggleDropdown:[64],setFocus:[64],setActiveFlyout:[64]}]]],["p-cce8bd3f",[[1,"post-meta-navigation",{orientation:[1],fullWidth:[4,"full-width"]}]]],["p-0fd62e04",[[0,"post-skiplinks"]]],["p-085d38af",[[4,"focus-trap",{active:[4],trap:[32]},null,{active:["handleActiveChange"]}]]]],e))));
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { IBreadcrumbItem, IBreadcrumbOverlay } from '../../models/breadcrumbs.model';
|
|
2
2
|
export declare class PostInternetBreadcrumbs {
|
|
3
3
|
/**
|
|
4
|
-
* Add custom breadcrumb items to the end of the pre-configured list. Handy if your online service has
|
|
4
|
+
* Add custom breadcrumb items to the end of the pre-configured list. Handy if your online service has its own navigation structure.
|
|
5
|
+
* @deprecated overlays will no longer be provided in the next major release, therefore this method will no longer be needed.
|
|
5
6
|
*/
|
|
6
7
|
customItems?: string | IBreadcrumbItem[];
|
|
7
8
|
/**
|
|
8
9
|
* Hide all buttons.
|
|
10
|
+
* @deprecated Help and Contact buttons will no longer be provided in the next major release, therefore this prop will no longer be needed.
|
|
9
11
|
*/
|
|
10
12
|
hideButtons: boolean;
|
|
11
13
|
customBreadcrumbItems?: IBreadcrumbItem[];
|
|
@@ -10,6 +10,7 @@ export declare class PostInternetHeader {
|
|
|
10
10
|
project: string;
|
|
11
11
|
/**
|
|
12
12
|
* Sticky behaviour of the header.
|
|
13
|
+
* @deprecated this option will no longer be configurable with the new header in the next major release.
|
|
13
14
|
*/
|
|
14
15
|
stickyness: StickynessOptions;
|
|
15
16
|
/**
|
|
@@ -18,22 +19,27 @@ export declare class PostInternetHeader {
|
|
|
18
19
|
language?: 'de' | 'fr' | 'it' | 'en';
|
|
19
20
|
/**
|
|
20
21
|
* Toggle the meta navigation.
|
|
22
|
+
* @deprecated use the new configuration API to show or hide the meta navigation links. This option will be removed in the next major release.
|
|
21
23
|
*/
|
|
22
24
|
meta: boolean;
|
|
23
25
|
/**
|
|
24
26
|
* Toggle the login link (when logged out) or the user widget (when logged in).
|
|
27
|
+
* @deprecated use the new configuration API to show or hide the login. This option will be removed in the next major release.
|
|
25
28
|
*/
|
|
26
29
|
login: boolean;
|
|
27
30
|
/**
|
|
28
31
|
* Toggle the search button.
|
|
32
|
+
* @deprecated use the new configuration API to show or hide the search. This option will be removed in the next major release.
|
|
29
33
|
*/
|
|
30
34
|
search: boolean;
|
|
31
35
|
/**
|
|
32
36
|
* Toggle skiplinks. They help keyboard users to quickly jump to important sections of the page.
|
|
37
|
+
* @deprecated please implement the skiplinks component. This option will be removed in the next major release.
|
|
33
38
|
*/
|
|
34
39
|
skiplinks: boolean;
|
|
35
40
|
/**
|
|
36
|
-
*
|
|
41
|
+
* Define a proxy URL for the config fetch request.
|
|
42
|
+
* @deprecated this functionality will no longer be provided in the next major release and was deprecated previously.
|
|
37
43
|
*/
|
|
38
44
|
configProxy?: string;
|
|
39
45
|
/**
|
|
@@ -43,36 +49,44 @@ export declare class PostInternetHeader {
|
|
|
43
49
|
/**
|
|
44
50
|
* Override the language switch links with custom URLs. Helpful when your application contains sub-pages, and you
|
|
45
51
|
* would like to stay on subpages when the user changes language.
|
|
52
|
+
* @deprecated use the language menu slot to override the language switch and specify custom URLs. This option will be removed in the next major release.
|
|
46
53
|
*/
|
|
47
54
|
languageSwitchOverrides?: string | IAvailableLanguage[];
|
|
48
55
|
/**
|
|
49
56
|
* Customize the header config loaded from the post portal.
|
|
57
|
+
* @deprecated use the main navigation slot to add custom menu entries. This option will be removed in the next major release.
|
|
50
58
|
*/
|
|
51
59
|
customConfig?: string | ICustomConfig;
|
|
52
60
|
/**
|
|
53
61
|
* The header uses this cookie to set the language. Disables automatic language detection.
|
|
62
|
+
* @deprecated this will no longer be supported in the next major release due to low usage, in favor of a project-specific solution.
|
|
54
63
|
*/
|
|
55
64
|
languageCookieKey?: string;
|
|
56
65
|
/**
|
|
57
66
|
* The header uses this local storage key to set the language. Disables automatic language selection.
|
|
67
|
+
* @deprecated this will no longer be supported in the next major release due to low usage, in favor of a project-specific solution.
|
|
58
68
|
*/
|
|
59
69
|
languageLocalStorageKey?: string;
|
|
60
70
|
/**
|
|
61
71
|
* Overrides the logout-url provided by the portal config.
|
|
72
|
+
* @deprecated use the new configuration API to specify the logout URL. This option will be removed in the next major release.
|
|
62
73
|
*/
|
|
63
74
|
logoutUrl?: string;
|
|
64
75
|
/**
|
|
65
76
|
* Overrides the selfadmin url in case it needs to differ from the logoutUrl, which is the url that is used by default.
|
|
66
77
|
* The selfadmin url is used in the KLP login widget to set the user menu links.
|
|
78
|
+
* @deprecated use the new configuration API to specify these URLs. This option will be removed in the next major release.
|
|
67
79
|
*/
|
|
68
80
|
selfAdminOrigin?: string;
|
|
69
81
|
/**
|
|
70
82
|
* Set the currently activated route. If there is a link matching this URL in the header, it will be highlighted.
|
|
71
83
|
* Will also highlight partly matching URLs. When set to auto, will use current location.href for comparison.
|
|
84
|
+
* @deprecated boolean values will no longer be accepted in the next major release. Use "none" for false and "auto" for true. All other values remain unchanged.
|
|
72
85
|
*/
|
|
73
86
|
activeRoute?: 'auto' | false | string;
|
|
74
87
|
/**
|
|
75
88
|
* Online Services only: Add custom links to the special online service navigation entry
|
|
89
|
+
* @deprecatedthe new header will no longer include this flyout in the next major release. Use the main navigation slot to add application-specific menu items.
|
|
76
90
|
*/
|
|
77
91
|
osFlyoutOverrides?: string | NavMainEntity;
|
|
78
92
|
/**
|
|
@@ -90,6 +104,7 @@ export declare class PostInternetHeader {
|
|
|
90
104
|
/**
|
|
91
105
|
* Get the currently set language as a two letter string ("de", "fr" "it" or "en")
|
|
92
106
|
* @returns string
|
|
107
|
+
* @deprecated use `document.documentElement.lang` instead
|
|
93
108
|
*/
|
|
94
109
|
getCurrentLanguage(): Promise<'de' | 'fr' | 'it' | 'en' | string>;
|
|
95
110
|
private mainNav?;
|
|
@@ -10,6 +10,9 @@ export declare class PostKlpLoginWidget implements IsFocusable {
|
|
|
10
10
|
*/
|
|
11
11
|
selfAdminOrigin?: string;
|
|
12
12
|
componentDidLoad(): Promise<void>;
|
|
13
|
+
private setupTracking;
|
|
14
|
+
private handleClick;
|
|
15
|
+
disconnectedCallback(): void;
|
|
13
16
|
/**
|
|
14
17
|
* Sets the focus on the login button
|
|
15
18
|
*/
|
|
@@ -96,11 +96,13 @@ export namespace Components {
|
|
|
96
96
|
}
|
|
97
97
|
interface SwisspostInternetBreadcrumbs {
|
|
98
98
|
/**
|
|
99
|
-
* Add custom breadcrumb items to the end of the pre-configured list. Handy if your online service has
|
|
99
|
+
* Add custom breadcrumb items to the end of the pre-configured list. Handy if your online service has its own navigation structure.
|
|
100
|
+
* @deprecated overlays will no longer be provided in the next major release, therefore this method will no longer be needed.
|
|
100
101
|
*/
|
|
101
102
|
"customItems"?: string | IBreadcrumbItem[];
|
|
102
103
|
/**
|
|
103
104
|
* Hide all buttons.
|
|
105
|
+
* @deprecated Help and Contact buttons will no longer be provided in the next major release, therefore this prop will no longer be needed.
|
|
104
106
|
*/
|
|
105
107
|
"hideButtons": boolean;
|
|
106
108
|
/**
|
|
@@ -114,14 +116,17 @@ export namespace Components {
|
|
|
114
116
|
interface SwisspostInternetHeader {
|
|
115
117
|
/**
|
|
116
118
|
* Set the currently activated route. If there is a link matching this URL in the header, it will be highlighted. Will also highlight partly matching URLs. When set to auto, will use current location.href for comparison.
|
|
119
|
+
* @deprecated boolean values will no longer be accepted in the next major release. Use "none" for false and "auto" for true. All other values remain unchanged.
|
|
117
120
|
*/
|
|
118
121
|
"activeRoute"?: 'auto' | false | string;
|
|
119
122
|
/**
|
|
120
|
-
*
|
|
123
|
+
* Define a proxy URL for the config fetch request.
|
|
124
|
+
* @deprecated this functionality will no longer be provided in the next major release and was deprecated previously.
|
|
121
125
|
*/
|
|
122
126
|
"configProxy"?: string;
|
|
123
127
|
/**
|
|
124
128
|
* Customize the header config loaded from the post portal.
|
|
129
|
+
* @deprecated use the main navigation slot to add custom menu entries. This option will be removed in the next major release.
|
|
125
130
|
*/
|
|
126
131
|
"customConfig"?: string | ICustomConfig;
|
|
127
132
|
/**
|
|
@@ -135,6 +140,7 @@ export namespace Components {
|
|
|
135
140
|
/**
|
|
136
141
|
* Get the currently set language as a two letter string ("de", "fr" "it" or "en")
|
|
137
142
|
* @returns string
|
|
143
|
+
* @deprecated use `document.documentElement.lang` instead
|
|
138
144
|
*/
|
|
139
145
|
"getCurrentLanguage": () => Promise<'de' | 'fr' | 'it' | 'en' | string>;
|
|
140
146
|
/**
|
|
@@ -143,30 +149,37 @@ export namespace Components {
|
|
|
143
149
|
"language"?: 'de' | 'fr' | 'it' | 'en';
|
|
144
150
|
/**
|
|
145
151
|
* The header uses this cookie to set the language. Disables automatic language detection.
|
|
152
|
+
* @deprecated this will no longer be supported in the next major release due to low usage, in favor of a project-specific solution.
|
|
146
153
|
*/
|
|
147
154
|
"languageCookieKey"?: string;
|
|
148
155
|
/**
|
|
149
156
|
* The header uses this local storage key to set the language. Disables automatic language selection.
|
|
157
|
+
* @deprecated this will no longer be supported in the next major release due to low usage, in favor of a project-specific solution.
|
|
150
158
|
*/
|
|
151
159
|
"languageLocalStorageKey"?: string;
|
|
152
160
|
/**
|
|
153
161
|
* Override the language switch links with custom URLs. Helpful when your application contains sub-pages, and you would like to stay on subpages when the user changes language.
|
|
162
|
+
* @deprecated use the language menu slot to override the language switch and specify custom URLs. This option will be removed in the next major release.
|
|
154
163
|
*/
|
|
155
164
|
"languageSwitchOverrides"?: string | IAvailableLanguage[];
|
|
156
165
|
/**
|
|
157
166
|
* Toggle the login link (when logged out) or the user widget (when logged in).
|
|
167
|
+
* @deprecated use the new configuration API to show or hide the login. This option will be removed in the next major release.
|
|
158
168
|
*/
|
|
159
169
|
"login": boolean;
|
|
160
170
|
/**
|
|
161
171
|
* Overrides the logout-url provided by the portal config.
|
|
172
|
+
* @deprecated use the new configuration API to specify the logout URL. This option will be removed in the next major release.
|
|
162
173
|
*/
|
|
163
174
|
"logoutUrl"?: string;
|
|
164
175
|
/**
|
|
165
176
|
* Toggle the meta navigation.
|
|
177
|
+
* @deprecated use the new configuration API to show or hide the meta navigation links. This option will be removed in the next major release.
|
|
166
178
|
*/
|
|
167
179
|
"meta": boolean;
|
|
168
180
|
/**
|
|
169
181
|
* Online Services only: Add custom links to the special online service navigation entry
|
|
182
|
+
* @deprecatedthe new header will no longer include this flyout in the next major release. Use the main navigation slot to add application-specific menu items.
|
|
170
183
|
*/
|
|
171
184
|
"osFlyoutOverrides"?: string | NavMainEntity;
|
|
172
185
|
/**
|
|
@@ -175,18 +188,22 @@ export namespace Components {
|
|
|
175
188
|
"project": string;
|
|
176
189
|
/**
|
|
177
190
|
* Toggle the search button.
|
|
191
|
+
* @deprecated use the new configuration API to show or hide the search. This option will be removed in the next major release.
|
|
178
192
|
*/
|
|
179
193
|
"search": boolean;
|
|
180
194
|
/**
|
|
181
195
|
* Overrides the selfadmin url in case it needs to differ from the logoutUrl, which is the url that is used by default. The selfadmin url is used in the KLP login widget to set the user menu links.
|
|
196
|
+
* @deprecated use the new configuration API to specify these URLs. This option will be removed in the next major release.
|
|
182
197
|
*/
|
|
183
198
|
"selfAdminOrigin"?: string;
|
|
184
199
|
/**
|
|
185
200
|
* Toggle skiplinks. They help keyboard users to quickly jump to important sections of the page.
|
|
201
|
+
* @deprecated please implement the skiplinks component. This option will be removed in the next major release.
|
|
186
202
|
*/
|
|
187
203
|
"skiplinks": boolean;
|
|
188
204
|
/**
|
|
189
205
|
* Sticky behaviour of the header.
|
|
206
|
+
* @deprecated this option will no longer be configurable with the new header in the next major release.
|
|
190
207
|
*/
|
|
191
208
|
"stickyness": StickynessOptions;
|
|
192
209
|
}
|
|
@@ -402,11 +419,13 @@ declare namespace LocalJSX {
|
|
|
402
419
|
}
|
|
403
420
|
interface SwisspostInternetBreadcrumbs {
|
|
404
421
|
/**
|
|
405
|
-
* Add custom breadcrumb items to the end of the pre-configured list. Handy if your online service has
|
|
422
|
+
* Add custom breadcrumb items to the end of the pre-configured list. Handy if your online service has its own navigation structure.
|
|
423
|
+
* @deprecated overlays will no longer be provided in the next major release, therefore this method will no longer be needed.
|
|
406
424
|
*/
|
|
407
425
|
"customItems"?: string | IBreadcrumbItem[];
|
|
408
426
|
/**
|
|
409
427
|
* Hide all buttons.
|
|
428
|
+
* @deprecated Help and Contact buttons will no longer be provided in the next major release, therefore this prop will no longer be needed.
|
|
410
429
|
*/
|
|
411
430
|
"hideButtons"?: boolean;
|
|
412
431
|
}
|
|
@@ -415,14 +434,17 @@ declare namespace LocalJSX {
|
|
|
415
434
|
interface SwisspostInternetHeader {
|
|
416
435
|
/**
|
|
417
436
|
* Set the currently activated route. If there is a link matching this URL in the header, it will be highlighted. Will also highlight partly matching URLs. When set to auto, will use current location.href for comparison.
|
|
437
|
+
* @deprecated boolean values will no longer be accepted in the next major release. Use "none" for false and "auto" for true. All other values remain unchanged.
|
|
418
438
|
*/
|
|
419
439
|
"activeRoute"?: 'auto' | false | string;
|
|
420
440
|
/**
|
|
421
|
-
*
|
|
441
|
+
* Define a proxy URL for the config fetch request.
|
|
442
|
+
* @deprecated this functionality will no longer be provided in the next major release and was deprecated previously.
|
|
422
443
|
*/
|
|
423
444
|
"configProxy"?: string;
|
|
424
445
|
/**
|
|
425
446
|
* Customize the header config loaded from the post portal.
|
|
447
|
+
* @deprecated use the main navigation slot to add custom menu entries. This option will be removed in the next major release.
|
|
426
448
|
*/
|
|
427
449
|
"customConfig"?: string | ICustomConfig;
|
|
428
450
|
/**
|
|
@@ -439,26 +461,32 @@ declare namespace LocalJSX {
|
|
|
439
461
|
"language"?: 'de' | 'fr' | 'it' | 'en';
|
|
440
462
|
/**
|
|
441
463
|
* The header uses this cookie to set the language. Disables automatic language detection.
|
|
464
|
+
* @deprecated this will no longer be supported in the next major release due to low usage, in favor of a project-specific solution.
|
|
442
465
|
*/
|
|
443
466
|
"languageCookieKey"?: string;
|
|
444
467
|
/**
|
|
445
468
|
* The header uses this local storage key to set the language. Disables automatic language selection.
|
|
469
|
+
* @deprecated this will no longer be supported in the next major release due to low usage, in favor of a project-specific solution.
|
|
446
470
|
*/
|
|
447
471
|
"languageLocalStorageKey"?: string;
|
|
448
472
|
/**
|
|
449
473
|
* Override the language switch links with custom URLs. Helpful when your application contains sub-pages, and you would like to stay on subpages when the user changes language.
|
|
474
|
+
* @deprecated use the language menu slot to override the language switch and specify custom URLs. This option will be removed in the next major release.
|
|
450
475
|
*/
|
|
451
476
|
"languageSwitchOverrides"?: string | IAvailableLanguage[];
|
|
452
477
|
/**
|
|
453
478
|
* Toggle the login link (when logged out) or the user widget (when logged in).
|
|
479
|
+
* @deprecated use the new configuration API to show or hide the login. This option will be removed in the next major release.
|
|
454
480
|
*/
|
|
455
481
|
"login"?: boolean;
|
|
456
482
|
/**
|
|
457
483
|
* Overrides the logout-url provided by the portal config.
|
|
484
|
+
* @deprecated use the new configuration API to specify the logout URL. This option will be removed in the next major release.
|
|
458
485
|
*/
|
|
459
486
|
"logoutUrl"?: string;
|
|
460
487
|
/**
|
|
461
488
|
* Toggle the meta navigation.
|
|
489
|
+
* @deprecated use the new configuration API to show or hide the meta navigation links. This option will be removed in the next major release.
|
|
462
490
|
*/
|
|
463
491
|
"meta"?: boolean;
|
|
464
492
|
/**
|
|
@@ -467,6 +495,7 @@ declare namespace LocalJSX {
|
|
|
467
495
|
"onHeaderLoaded"?: (event: SwisspostInternetHeaderCustomEvent<void>) => void;
|
|
468
496
|
/**
|
|
469
497
|
* Online Services only: Add custom links to the special online service navigation entry
|
|
498
|
+
* @deprecatedthe new header will no longer include this flyout in the next major release. Use the main navigation slot to add application-specific menu items.
|
|
470
499
|
*/
|
|
471
500
|
"osFlyoutOverrides"?: string | NavMainEntity;
|
|
472
501
|
/**
|
|
@@ -475,18 +504,22 @@ declare namespace LocalJSX {
|
|
|
475
504
|
"project"?: string;
|
|
476
505
|
/**
|
|
477
506
|
* Toggle the search button.
|
|
507
|
+
* @deprecated use the new configuration API to show or hide the search. This option will be removed in the next major release.
|
|
478
508
|
*/
|
|
479
509
|
"search"?: boolean;
|
|
480
510
|
/**
|
|
481
511
|
* Overrides the selfadmin url in case it needs to differ from the logoutUrl, which is the url that is used by default. The selfadmin url is used in the KLP login widget to set the user menu links.
|
|
512
|
+
* @deprecated use the new configuration API to specify these URLs. This option will be removed in the next major release.
|
|
482
513
|
*/
|
|
483
514
|
"selfAdminOrigin"?: string;
|
|
484
515
|
/**
|
|
485
516
|
* Toggle skiplinks. They help keyboard users to quickly jump to important sections of the page.
|
|
517
|
+
* @deprecated please implement the skiplinks component. This option will be removed in the next major release.
|
|
486
518
|
*/
|
|
487
519
|
"skiplinks"?: boolean;
|
|
488
520
|
/**
|
|
489
521
|
* Sticky behaviour of the header.
|
|
522
|
+
* @deprecated this option will no longer be configurable with the new header in the next major release.
|
|
490
523
|
*/
|
|
491
524
|
"stickyness"?: StickynessOptions;
|
|
492
525
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swisspost/internet-header",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.16.0",
|
|
4
4
|
"description": "The header for client facing applications.",
|
|
5
5
|
"author": "Swiss Post <design-system@post.ch>",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"loader/"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@swisspost/design-system-styles": "9.
|
|
30
|
+
"@swisspost/design-system-styles": "9.7.0",
|
|
31
31
|
"body-scroll-lock": "4.0.0-beta.0",
|
|
32
32
|
"iframe-resizer": "4.4.5",
|
|
33
33
|
"jquery": "3.7.1",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"sass": "1.77.8",
|
|
67
67
|
"start-server-and-test": "2.0.5",
|
|
68
68
|
"ts-jest": "29.2.4",
|
|
69
|
-
"typescript": "5.
|
|
69
|
+
"typescript": "5.9.3"
|
|
70
70
|
},
|
|
71
71
|
"keywords": [
|
|
72
72
|
"components",
|