@swisspost/design-system-components 7.4.9 → 7.4.10

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.
Files changed (119) hide show
  1. package/dist/cjs/index.cjs.js +16 -16
  2. package/dist/cjs/{package-4e243dd8.js → package-e3ef1673.js} +1 -1
  3. package/dist/cjs/{post-accordion-ce83add5.js → post-accordion-99a00c01.js} +1 -1
  4. package/dist/cjs/{post-accordion-item-c75ca1ac.js → post-accordion-item-7bd51084.js} +1 -1
  5. package/dist/cjs/post-accordion-item.cjs.entry.js +2 -2
  6. package/dist/cjs/post-accordion.cjs.entry.js +2 -2
  7. package/dist/cjs/{post-alert-98ebde8f.js → post-alert-e513f465.js} +1 -1
  8. package/dist/cjs/post-alert.cjs.entry.js +2 -2
  9. package/dist/cjs/{post-card-control-d60c6998.js → post-card-control-3fb7a7d3.js} +1 -1
  10. package/dist/cjs/post-card-control.cjs.entry.js +2 -2
  11. package/dist/cjs/{post-collapsible-9b30cc1c.js → post-collapsible-314729b5.js} +1 -1
  12. package/dist/cjs/{post-collapsible-trigger-b6af9fa6.js → post-collapsible-trigger-7dfe15e1.js} +1 -1
  13. package/dist/cjs/post-collapsible-trigger.cjs.entry.js +2 -2
  14. package/dist/cjs/post-collapsible.cjs.entry.js +2 -2
  15. package/dist/cjs/{post-icon-133f5f99.js → post-icon-cb4bf1f6.js} +19 -4
  16. package/dist/cjs/post-icon.cjs.entry.js +2 -2
  17. package/dist/cjs/{post-popover-f8e2a007.js → post-popover-df5487d2.js} +1 -1
  18. package/dist/cjs/post-popover.cjs.entry.js +2 -2
  19. package/dist/cjs/{post-popovercontainer-1d6daa2a.js → post-popovercontainer-e7928cf8.js} +1 -1
  20. package/dist/cjs/post-popovercontainer.cjs.entry.js +2 -2
  21. package/dist/cjs/{post-rating-8505f9df.js → post-rating-6056638e.js} +1 -1
  22. package/dist/cjs/post-rating.cjs.entry.js +2 -2
  23. package/dist/cjs/{post-tab-header-457d8a5d.js → post-tab-header-664b4d8b.js} +1 -1
  24. package/dist/cjs/post-tab-header.cjs.entry.js +2 -2
  25. package/dist/cjs/{post-tab-panel-ab7b10d9.js → post-tab-panel-2348d23a.js} +1 -1
  26. package/dist/cjs/post-tab-panel.cjs.entry.js +2 -2
  27. package/dist/cjs/{post-tabs-e2899740.js → post-tabs-04f20575.js} +1 -1
  28. package/dist/cjs/post-tabs.cjs.entry.js +2 -2
  29. package/dist/cjs/{post-tag-2ae173b8.js → post-tag-0efcd7a2.js} +1 -1
  30. package/dist/cjs/post-tag.cjs.entry.js +2 -2
  31. package/dist/cjs/{post-tooltip-15d85ffa.js → post-tooltip-abc576e9.js} +1 -1
  32. package/dist/cjs/post-tooltip.cjs.entry.js +2 -2
  33. package/dist/collection/components/post-icon/post-icon.js +18 -3
  34. package/dist/components/package.js +1 -1
  35. package/dist/components/post-icon2.js +18 -3
  36. package/dist/docs.json +1 -1
  37. package/dist/esm/index.js +16 -16
  38. package/dist/esm/{package-db4481b4.js → package-79261567.js} +1 -1
  39. package/dist/esm/{post-accordion-b512017b.js → post-accordion-f34d67cf.js} +1 -1
  40. package/dist/esm/{post-accordion-item-d73cbfe0.js → post-accordion-item-28850d05.js} +1 -1
  41. package/dist/esm/post-accordion-item.entry.js +2 -2
  42. package/dist/esm/post-accordion.entry.js +2 -2
  43. package/dist/esm/{post-alert-cbdc31be.js → post-alert-29814559.js} +1 -1
  44. package/dist/esm/post-alert.entry.js +2 -2
  45. package/dist/esm/{post-card-control-f052ae55.js → post-card-control-b22b8114.js} +1 -1
  46. package/dist/esm/post-card-control.entry.js +2 -2
  47. package/dist/esm/{post-collapsible-66a26663.js → post-collapsible-56f08239.js} +1 -1
  48. package/dist/esm/{post-collapsible-trigger-8394bbca.js → post-collapsible-trigger-b7d0ece3.js} +1 -1
  49. package/dist/esm/post-collapsible-trigger.entry.js +2 -2
  50. package/dist/esm/post-collapsible.entry.js +2 -2
  51. package/dist/esm/{post-icon-02a5642f.js → post-icon-5d7a3ba9.js} +19 -4
  52. package/dist/esm/post-icon.entry.js +2 -2
  53. package/dist/esm/{post-popover-f371fc52.js → post-popover-dcffb2b0.js} +1 -1
  54. package/dist/esm/post-popover.entry.js +2 -2
  55. package/dist/esm/{post-popovercontainer-a93f59dc.js → post-popovercontainer-f2230bfc.js} +1 -1
  56. package/dist/esm/post-popovercontainer.entry.js +2 -2
  57. package/dist/esm/{post-rating-00af74f1.js → post-rating-9323ef6a.js} +1 -1
  58. package/dist/esm/post-rating.entry.js +2 -2
  59. package/dist/esm/{post-tab-header-1c89d427.js → post-tab-header-4527a6a0.js} +1 -1
  60. package/dist/esm/post-tab-header.entry.js +2 -2
  61. package/dist/esm/{post-tab-panel-c9487339.js → post-tab-panel-2c3785fc.js} +1 -1
  62. package/dist/esm/post-tab-panel.entry.js +2 -2
  63. package/dist/esm/{post-tabs-aef1b257.js → post-tabs-a77d768a.js} +1 -1
  64. package/dist/esm/post-tabs.entry.js +2 -2
  65. package/dist/esm/{post-tag-803bfa89.js → post-tag-2314a9cd.js} +1 -1
  66. package/dist/esm/post-tag.entry.js +2 -2
  67. package/dist/esm/{post-tooltip-92c953eb.js → post-tooltip-3df5878c.js} +1 -1
  68. package/dist/esm/post-tooltip.entry.js +2 -2
  69. package/dist/post-components/index.esm.js +1 -1
  70. package/dist/post-components/p-00de1557.js +1 -0
  71. package/dist/post-components/{p-5d899150.js → p-1ac427d7.js} +1 -1
  72. package/dist/post-components/p-316ffe46.js +1 -0
  73. package/dist/post-components/p-31b4bf40.entry.js +1 -0
  74. package/dist/post-components/{p-cd3a95bc.js → p-3ca6e3f8.js} +1 -1
  75. package/dist/post-components/p-42ffb478.entry.js +1 -0
  76. package/dist/post-components/{p-d6942830.js → p-43d269f5.js} +1 -1
  77. package/dist/post-components/p-43e2817b.entry.js +1 -0
  78. package/dist/post-components/{p-3837f8d9.js → p-537266ee.js} +1 -1
  79. package/dist/post-components/{p-ccc962e7.js → p-5c383dd5.js} +1 -1
  80. package/dist/post-components/{p-81384711.js → p-60e8abb1.js} +1 -1
  81. package/dist/post-components/p-63365290.entry.js +1 -0
  82. package/dist/post-components/p-70a93f32.entry.js +1 -0
  83. package/dist/post-components/{p-f6c08610.js → p-8518f0e6.js} +1 -1
  84. package/dist/post-components/{p-5bc8ca5c.js → p-96dd256e.js} +1 -1
  85. package/dist/post-components/p-9a74dc73.entry.js +1 -0
  86. package/dist/post-components/p-9ba0d70e.entry.js +1 -0
  87. package/dist/post-components/{p-5549c87d.js → p-9c7ac02c.js} +1 -1
  88. package/dist/post-components/p-a4956698.entry.js +1 -0
  89. package/dist/post-components/p-a8dec74c.entry.js +1 -0
  90. package/dist/post-components/{p-5efa4c05.js → p-a8f9e9ae.js} +1 -1
  91. package/dist/post-components/p-aa4bd00e.entry.js +1 -0
  92. package/dist/post-components/{p-e92bb590.js → p-ad171101.js} +1 -1
  93. package/dist/post-components/{p-bc6aeed0.js → p-b5e3b27e.js} +1 -1
  94. package/dist/post-components/p-c067adcf.entry.js +1 -0
  95. package/dist/post-components/p-c2f67907.entry.js +1 -0
  96. package/dist/post-components/p-c7259dda.entry.js +1 -0
  97. package/dist/post-components/p-ccd7b0aa.entry.js +1 -0
  98. package/dist/post-components/{p-c9b91b12.js → p-d6639fb5.js} +1 -1
  99. package/dist/post-components/p-f438d028.entry.js +1 -0
  100. package/dist/post-components/{p-3a18348a.js → p-f8201b09.js} +1 -1
  101. package/dist/post-components/post-components.esm.js +1 -1
  102. package/package.json +2 -2
  103. package/dist/post-components/p-099a5fa0.entry.js +0 -1
  104. package/dist/post-components/p-1e03ab88.entry.js +0 -1
  105. package/dist/post-components/p-4549e147.entry.js +0 -1
  106. package/dist/post-components/p-51ef1780.entry.js +0 -1
  107. package/dist/post-components/p-555547e4.entry.js +0 -1
  108. package/dist/post-components/p-56bc4f94.js +0 -1
  109. package/dist/post-components/p-58bb8f1d.entry.js +0 -1
  110. package/dist/post-components/p-6199fc20.entry.js +0 -1
  111. package/dist/post-components/p-7e60aeb1.entry.js +0 -1
  112. package/dist/post-components/p-95184ae6.entry.js +0 -1
  113. package/dist/post-components/p-a49c3a0e.entry.js +0 -1
  114. package/dist/post-components/p-abf1e628.entry.js +0 -1
  115. package/dist/post-components/p-c92701fd.entry.js +0 -1
  116. package/dist/post-components/p-cf15fc8e.entry.js +0 -1
  117. package/dist/post-components/p-d183d54d.js +0 -1
  118. package/dist/post-components/p-e41eee57.entry.js +0 -1
  119. package/dist/post-components/p-f134c132.entry.js +0 -1
@@ -1,3 +1,3 @@
1
- const version = "7.4.9";
1
+ const version = "7.4.10";
2
2
 
3
3
  export { version as v };
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-9ace3232.js';
2
- import { v as version } from './package-db4481b4.js';
2
+ import { v as version } from './package-79261567.js';
3
3
  import { H as HEADING_LEVELS } from './heading-levels-5b7b4349.js';
4
4
  import { c as checkOneOf } from './check-one-of-6b3ef8eb.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-9ace3232.js';
2
- import { v as version } from './package-db4481b4.js';
2
+ import { v as version } from './package-79261567.js';
3
3
  import { H as HEADING_LEVELS } from './heading-levels-5b7b4349.js';
4
4
  import { c as checkEmptyOrOneOf } from './index-29d17d6d.js';
5
5
 
@@ -1,6 +1,6 @@
1
- export { P as post_accordion_item } from './post-accordion-item-d73cbfe0.js';
1
+ export { P as post_accordion_item } from './post-accordion-item-28850d05.js';
2
2
  import './index-9ace3232.js';
3
- import './package-db4481b4.js';
3
+ import './package-79261567.js';
4
4
  import './heading-levels-5b7b4349.js';
5
5
  import './index-29d17d6d.js';
6
6
  import './constants-8d548297.js';
@@ -1,5 +1,5 @@
1
- export { P as post_accordion } from './post-accordion-b512017b.js';
1
+ export { P as post_accordion } from './post-accordion-f34d67cf.js';
2
2
  import './index-9ace3232.js';
3
- import './package-db4481b4.js';
3
+ import './package-79261567.js';
4
4
  import './heading-levels-5b7b4349.js';
5
5
  import './check-one-of-6b3ef8eb.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-9ace3232.js';
2
- import { v as version } from './package-db4481b4.js';
2
+ import { v as version } from './package-79261567.js';
3
3
  import { f as fadeOut } from './fade-7fd71785.js';
4
4
  import { a as checkEmptyOrPattern, c as checkEmptyOrOneOf } from './index-29d17d6d.js';
5
5
  import { c as checkType } from './check-type-8828dbe4.js';
@@ -1,6 +1,6 @@
1
- export { P as post_alert } from './post-alert-cbdc31be.js';
1
+ export { P as post_alert } from './post-alert-29814559.js';
2
2
  import './index-9ace3232.js';
3
- import './package-db4481b4.js';
3
+ import './package-79261567.js';
4
4
  import './fade-7fd71785.js';
5
5
  import './index-29d17d6d.js';
6
6
  import './constants-8d548297.js';
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-9ace3232.js';
2
2
  import { c as checkOneOf } from './check-one-of-6b3ef8eb.js';
3
3
  import { c as checkNonEmpty } from './check-non-empty-58bd6b17.js';
4
- import { v as version } from './package-db4481b4.js';
4
+ import { v as version } from './package-79261567.js';
5
5
 
6
6
  function parse(scss) {
7
7
  return Object.entries(scss).reduce((object, [path, value]) => {
@@ -1,6 +1,6 @@
1
- export { P as post_card_control } from './post-card-control-f052ae55.js';
1
+ export { P as post_card_control } from './post-card-control-b22b8114.js';
2
2
  import './index-9ace3232.js';
3
3
  import './check-one-of-6b3ef8eb.js';
4
4
  import './check-non-empty-58bd6b17.js';
5
5
  import './constants-8d548297.js';
6
- import './package-db4481b4.js';
6
+ import './package-79261567.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-9ace3232.js';
2
- import { v as version } from './package-db4481b4.js';
2
+ import { v as version } from './package-79261567.js';
3
3
  import { b as checkEmptyOrType } from './index-29d17d6d.js';
4
4
 
5
5
  function isMotionReduced() {
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, g as getElement } from './index-9ace3232.js';
2
- import { v as version } from './package-db4481b4.js';
2
+ import { v as version } from './package-79261567.js';
3
3
  import { c as checkType } from './check-type-8828dbe4.js';
4
4
  import { c as checkNonEmpty } from './check-non-empty-58bd6b17.js';
5
5
 
@@ -1,6 +1,6 @@
1
- export { P as post_collapsible_trigger } from './post-collapsible-trigger-8394bbca.js';
1
+ export { P as post_collapsible_trigger } from './post-collapsible-trigger-b7d0ece3.js';
2
2
  import './index-9ace3232.js';
3
- import './package-db4481b4.js';
3
+ import './package-79261567.js';
4
4
  import './check-type-8828dbe4.js';
5
5
  import './check-non-empty-58bd6b17.js';
6
6
  import './constants-8d548297.js';
@@ -1,6 +1,6 @@
1
- export { P as post_collapsible } from './post-collapsible-66a26663.js';
1
+ export { P as post_collapsible } from './post-collapsible-56f08239.js';
2
2
  import './index-9ace3232.js';
3
- import './package-db4481b4.js';
3
+ import './package-79261567.js';
4
4
  import './index-29d17d6d.js';
5
5
  import './constants-8d548297.js';
6
6
  import './check-one-of-6b3ef8eb.js';
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-9ace3232.js';
2
2
  import { c as checkEmptyOrOneOf, b as checkEmptyOrType } from './index-29d17d6d.js';
3
- import { v as version } from './package-db4481b4.js';
3
+ import { v as version } from './package-79261567.js';
4
4
  import { c as checkNonEmpty } from './check-non-empty-58bd6b17.js';
5
5
  import { c as checkType } from './check-type-8828dbe4.js';
6
6
 
@@ -66,11 +66,26 @@ const PostIcon = class {
66
66
  this.setPath();
67
67
  }
68
68
  setPath() {
69
- var _a, _b, _c, _d;
69
+ var _a, _b, _c, _d, _e;
70
70
  // Construct icon path from different possible sources
71
71
  const metaBase = (_b = (_a = document.head
72
72
  .querySelector('meta[name="design-system-settings"][data-post-icon-base]')) === null || _a === void 0 ? void 0 : _a.getAttribute('data-post-icon-base')) !== null && _b !== void 0 ? _b : null;
73
- const fileBase = `${(_d = (_c = this.base) !== null && _c !== void 0 ? _c : metaBase) !== null && _d !== void 0 ? _d : CDN_URL}/`.replace(/\/\/$/, '/');
73
+ const baseHref = (_c = document.getElementsByTagName('base')[0]) === null || _c === void 0 ? void 0 : _c.href;
74
+ let calculatedBase;
75
+ // If this.base or metaBase are relative, prefix them with the baseHref if it exists
76
+ const absolutePathReg = /^(?:[a-z+]+:)?\/\//i;
77
+ if (baseHref) {
78
+ if (this.base && !absolutePathReg.test(this.base)) {
79
+ calculatedBase = baseHref + this.base;
80
+ }
81
+ else if (metaBase && !absolutePathReg.test(metaBase)) {
82
+ calculatedBase = baseHref + metaBase;
83
+ }
84
+ }
85
+ else {
86
+ calculatedBase = (_d = this.base) !== null && _d !== void 0 ? _d : metaBase;
87
+ }
88
+ const fileBase = `${(_e = calculatedBase !== null && calculatedBase !== void 0 ? calculatedBase : baseHref) !== null && _e !== void 0 ? _e : CDN_URL}/`.replace(/\/\/$/, '/');
74
89
  const fileName = `${this.name}.svg`;
75
90
  const filePath = `${fileBase}${fileName}`;
76
91
  this.path = new URL(filePath, window.location.origin).toString();
@@ -85,7 +100,7 @@ const PostIcon = class {
85
100
  })
86
101
  .filter(([_key, value]) => value !== null)
87
102
  .reduce((styles, [key, value]) => Object.assign(styles, { [key]: value }), {});
88
- return (h(Host, { key: 'c4744bef990eef90a7de44312fd349583b295f4c', "data-version": version }, h("span", { key: '0655e0d6ada2b822bf4b3c399dcf63000e26bf46', style: svgStyles })));
103
+ return (h(Host, { key: 'bad9e5bf0bf6250cd6597a2e6e67cf1f334d0e2d', "data-version": version }, h("span", { key: '1b07a201ac1bc45cbea6ce6ad3285917cf76e46e', style: svgStyles })));
89
104
  }
90
105
  get host() { return getElement(this); }
91
106
  static get watchers() { return {
@@ -1,8 +1,8 @@
1
- export { P as post_icon } from './post-icon-02a5642f.js';
1
+ export { P as post_icon } from './post-icon-5d7a3ba9.js';
2
2
  import './index-9ace3232.js';
3
3
  import './index-29d17d6d.js';
4
4
  import './constants-8d548297.js';
5
5
  import './check-one-of-6b3ef8eb.js';
6
6
  import './check-type-8828dbe4.js';
7
- import './package-db4481b4.js';
7
+ import './package-79261567.js';
8
8
  import './check-non-empty-58bd6b17.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-9ace3232.js';
2
- import { v as version } from './package-db4481b4.js';
2
+ import { v as version } from './package-79261567.js';
3
3
  import { g as getAttributeObserver } from './attribute-observer-37fa950a.js';
4
4
 
5
5
  const postPopoverCss = "/*!\n * Bootstrap Utilities v5.1.3 (https://getbootstrap.com/)\n * Copyright 2011-2021 The Bootstrap Authors\n * Copyright 2011-2021 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n\n * The MIT License (MIT)\n\n * Copyright (c) 2011-2020 Twitter, Inc.\n * Copyright (c) 2011-2020 The Bootstrap Authors\n\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *//*!\n * Copyright 2021 by Swiss Post, Information Technology\n */.btn-close{padding:0;overflow:visible;border:0;background:none;color:inherit;font:inherit;-webkit-user-select:none;user-select:none;appearance:button;border-radius:4px;color:var(--post-gray-80);transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;cursor:pointer}.btn-close{outline-style:none !important;outline-offset:2px !important;outline-width:2px !important;outline-color:var(--post-focus-color) !important}.btn-close:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:solid !important;border-radius:4px}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn-close:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.btn-close:is(:focus-visible,:focus-within,.pretend-focus){outline-style:solid !important;border-radius:4px}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn-close:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}.btn-close::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m16.267 16.667 6.667-6.533-.933-1.067-6.667 6.667-6.667-6.667-.933 1.067 6.667 6.533-6.667 6.667 1.067.933 6.533-6.667 6.667 6.667.933-1.067z'/%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='m16.267 16.667 6.667-6.533-.933-1.067-6.667 6.667-6.667-6.667-.933 1.067 6.667 6.533-6.667 6.667 1.067.933 6.533-6.667 6.667 6.667.933-1.067z'/%3E%3C/svg%3E\");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color;content:\"\";display:block;height:1.5rem;width:1.5rem}: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-close{color:var(--post-contrast-color)}.btn-close:focus,.btn-close:not(:disabled):hover,.pretend-hover.btn-close{color:var(--post-contrast-color)}.btn-close:disabled{color:var(--post-gray-40)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn-close{color:CanvasText;forced-color-adjust:none}.btn-close:focus,.btn-close:not(:disabled):hover,.pretend-hover.btn-close{color:Highlight}}.btn-close-white{color:#e6e6e6}.btn-close-white:focus,.btn-close-white:not(:disabled):hover,.btn-close-white.pretend-hover{color:#fff}.btn-close-white:disabled{color:#999}*{box-sizing:border-box}:host{--post-contrast-color:#fff;--post-bg-rgb:51, 51, 51;display:block}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}.popover-container{display:flex;align-items:self-start;padding:.5em;min-width:160px;max-width:280px}@media (max-width: 599.98px){.popover-container{max-width:100%}}.popover-content{padding:.5em;flex-grow:1}.btn-close{color:inherit}";
@@ -1,4 +1,4 @@
1
- export { P as post_popover } from './post-popover-f371fc52.js';
1
+ export { P as post_popover } from './post-popover-dcffb2b0.js';
2
2
  import './index-9ace3232.js';
3
- import './package-db4481b4.js';
3
+ import './package-79261567.js';
4
4
  import './attribute-observer-37fa950a.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-9ace3232.js';
2
- import { v as version } from './package-db4481b4.js';
2
+ import { v as version } from './package-79261567.js';
3
3
 
4
4
  /**
5
5
  * Custom positioning reference element.
@@ -1,3 +1,3 @@
1
- export { P as post_popovercontainer } from './post-popovercontainer-a93f59dc.js';
1
+ export { P as post_popovercontainer } from './post-popovercontainer-f2230bfc.js';
2
2
  import './index-9ace3232.js';
3
- import './package-db4481b4.js';
3
+ import './package-79261567.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-9ace3232.js';
2
- import { v as version } from './package-db4481b4.js';
2
+ import { v as version } from './package-79261567.js';
3
3
 
4
4
  const postRatingCss = "/*!\n * Bootstrap Utilities v5.1.3 (https://getbootstrap.com/)\n * Copyright 2011-2021 The Bootstrap Authors\n * Copyright 2011-2021 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n\n * The MIT License (MIT)\n\n * Copyright (c) 2011-2020 Twitter, Inc.\n * Copyright (c) 2011-2020 The Bootstrap Authors\n\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *//*!\n * Copyright 2021 by Swiss Post, Information Technology\n */:host{display:inline-block}.rating{display:flex;flex-wrap:wrap;overflow:hidden;margin:0 -0.25rem;border-radius:4px}.rating .star{--post-rating-star-stroke:hsl(0, 0%, 40%);--post-rating-star-fill:#fff;position:relative;width:2rem;height:2rem;cursor:pointer}.rating .star .stroke,.rating .star .fill{display:block;width:100%;height:100%;transition:all ease 100ms}.rating .star .stroke{position:absolute;inset:auto;z-index:1;color:var(--post-rating-star-stroke)}.rating .star .fill{margin:1px;width:calc(100% - 2px);height:calc(100% - 2px);color:var(--post-rating-star-fill)}.rating .star.before-hover{--post-rating-star-stroke:hsl(0, 0%, 40%);--post-rating-star-fill:#fc0}.rating .star.active{--post-rating-star-stroke:hsl(0, 0%, 20%);--post-rating-star-fill:#fc0}.rating .star.hover{--post-rating-star-stroke:hsl(0, 0%, 40%);--post-rating-star-fill:#fc0}.rating .star.after-active{--post-rating-star-stroke:hsl(0, 0%, 40%);--post-rating-star-fill:hsl(0, 0%, 80%)}.rating :focus{outline:none}.rating:focus-visible{outline-offset:2px;outline:2px solid #1976c8}.rating[aria-readonly=true] .star,.rating[aria-disabled=true] .star{cursor:default}.rating[aria-disabled=true] .star{--post-rating-star-stroke:hsl(0, 0%, 60%);--post-rating-star-fill:#fff}.rating[aria-disabled=true] .star.active{cursor:default;--post-rating-star-stroke:hsl(0, 0%, 60%);--post-rating-star-fill:hsl(0, 0%, 90%)}";
5
5
  const PostRatingStyle0 = postRatingCss;
@@ -1,3 +1,3 @@
1
- export { P as post_rating } from './post-rating-00af74f1.js';
1
+ export { P as post_rating } from './post-rating-9323ef6a.js';
2
2
  import './index-9ace3232.js';
3
- import './package-db4481b4.js';
3
+ import './package-79261567.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-9ace3232.js';
2
- import { v as version } from './package-db4481b4.js';
2
+ import { v as version } from './package-79261567.js';
3
3
  import { c as checkNonEmpty } from './check-non-empty-58bd6b17.js';
4
4
 
5
5
  const postTabHeaderCss = ".tab-title[role=tab]{display:inline-block;cursor:pointer;position:relative;box-sizing:border-box;padding:1rem;transition:background-color 100ms;border-right:1px solid rgba(0,0,0,0);border-left:1px solid rgba(0,0,0,0);outline-color:currentColor;opacity:.7;color:var(--post-contrast-color);text-decoration:none;background-color:rgba(0,0,0,0)}.tab-title[role=tab]:focus{background-color:unset;color:var(--post-contrast-color)}.tab-title[role=tab]:hover{opacity:1;background-color:rgba(var(--post-contrast-color-rgb), 0.6);color:var(--post-contrast-color-inverted)}.tab-title[role=tab]:focus-visible{outline:rgba(0,0,0,0);opacity:1;background-color:rgba(var(--post-contrast-color-rgb), 0.6);color:var(--post-contrast-color-inverted);box-shadow:none}.tab-title[role=tab]:focus-visible::after{content:\"\";display:block;position:absolute;top:2px;right:1px;bottom:0;left:1px;box-shadow:0 0 0 1px #fff,0 0 0 2px #333}.tab-title[role=tab].active{z-index:1;border-right-color:#ccc;border-left-color:#ccc;opacity:1;background-color:var(--post-contrast-color-inverted);color:var(--post-contrast-color);font-weight:700}.tab-title[role=tab].active::before{content:\"\";display:block;position:absolute;top:0;right:-1px;left:-1px;height:.25rem;background-color:#fc0}: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]) .tab-title[role=tab]:hover{background-color:rgba(255,255,255,.2)}: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]) .tab-title[role=tab]:focus-visible{background-color:rgba(255,255,255,.2)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.tab-title[role=tab]{opacity:1;border-left-color:Canvas;border-right-color:Canvas;color:LinkText}.tab-title[role=tab]:hover,.tab-title[role=tab]:focus,.tab-title[role=tab]:focus-within,.tab-title[role=tab]:focus-visible{outline:2px solid Highlight;outline-offset:-0.25rem}.tab-title[role=tab].active{border-left-color:ButtonText;border-right-color:ButtonText;color:Highlight}.tab-title[role=tab].active::before{background-color:Highlight}}.bg-yellow .tab-title{background-color:#fc0}.bg-yellow .tab-title.active{background-color:#fc0}.bg-yellow .nav-item{background-color:#fc0}.bg-white .tab-title{background-color:#fff}.bg-white .tab-title.active{background-color:#fff}.bg-white .nav-item{background-color:#fff}.bg-light .tab-title{background-color:#faf9f8}.bg-light .tab-title.active{background-color:#faf9f8}.bg-light .nav-item{background-color:#faf9f8}.bg-gray .tab-title{background-color:#f4f3f1}.bg-gray .tab-title.active{background-color:#f4f3f1}.bg-gray .nav-item{background-color:#f4f3f1}.bg-dark .tab-title{background-color:#333}.bg-dark .tab-title.active{background-color:#333}.bg-dark .nav-item{background-color:#333}.bg-black .tab-title{background-color:#000}.bg-black .tab-title.active{background-color:#000}.bg-black .nav-item{background-color:#000}.bg-primary .tab-title{background-color:#333}.bg-primary .tab-title.active{background-color:#333}.bg-primary .nav-item{background-color:#333}.bg-secondary .tab-title{background-color:#666}.bg-secondary .tab-title.active{background-color:#666}.bg-secondary .nav-item{background-color:#666}.bg-success .tab-title{background-color:#2c871d}.bg-success .tab-title.active{background-color:#2c871d}.bg-success .nav-item{background-color:#2c871d}.bg-warning .tab-title{background-color:#f49e00}.bg-warning .tab-title.active{background-color:#f49e00}.bg-warning .nav-item{background-color:#f49e00}.bg-error .tab-title{background-color:#a51728}.bg-error .tab-title.active{background-color:#a51728}.bg-error .nav-item{background-color:#a51728}.bg-info .tab-title{background-color:#cce4ee}.bg-info .tab-title.active{background-color:#cce4ee}.bg-info .nav-item{background-color:#cce4ee}.bg-success-background .tab-title{background-color:#c0debb}.bg-success-background .tab-title.active{background-color:#c0debb}.bg-success-background .nav-item{background-color:#c0debb}.bg-warning-background .tab-title{background-color:#fce2b2}.bg-warning-background .tab-title.active{background-color:#fce2b2}.bg-warning-background .nav-item{background-color:#fce2b2}.bg-error-background .tab-title{background-color:#ffdade}.bg-error-background .tab-title.active{background-color:#ffdade}.bg-error-background .nav-item{background-color:#ffdade}.bg-nightblue .tab-title{background-color:#004976}.bg-nightblue .tab-title.active{background-color:#004976}.bg-nightblue .nav-item{background-color:#004976}.bg-nightblue-bright .tab-title{background-color:#0076a8}.bg-nightblue-bright .tab-title.active{background-color:#0076a8}.bg-nightblue-bright .nav-item{background-color:#0076a8}.bg-petrol .tab-title{background-color:#006d68}.bg-petrol .tab-title.active{background-color:#006d68}.bg-petrol .nav-item{background-color:#006d68}.bg-petrol-bright .tab-title{background-color:#00968f}.bg-petrol-bright .tab-title.active{background-color:#00968f}.bg-petrol-bright .nav-item{background-color:#00968f}.bg-coral .tab-title{background-color:#9e2a2f}.bg-coral .tab-title.active{background-color:#9e2a2f}.bg-coral .nav-item{background-color:#9e2a2f}.bg-coral-bright .tab-title{background-color:#e03c31}.bg-coral-bright .tab-title.active{background-color:#e03c31}.bg-coral-bright .nav-item{background-color:#e03c31}.bg-olive .tab-title{background-color:#716135}.bg-olive .tab-title.active{background-color:#716135}.bg-olive .nav-item{background-color:#716135}.bg-olive-bright .tab-title{background-color:#aa9d2e}.bg-olive-bright .tab-title.active{background-color:#aa9d2e}.bg-olive-bright .nav-item{background-color:#aa9d2e}.bg-purple .tab-title{background-color:#80276c}.bg-purple .tab-title.active{background-color:#80276c}.bg-purple .nav-item{background-color:#80276c}.bg-purple-bright .tab-title{background-color:#c5299b}.bg-purple-bright .tab-title.active{background-color:#c5299b}.bg-purple-bright .nav-item{background-color:#c5299b}.bg-aubergine .tab-title{background-color:#523178}.bg-aubergine .tab-title.active{background-color:#523178}.bg-aubergine .nav-item{background-color:#523178}.bg-aubergine-bright .tab-title{background-color:#7566a0}.bg-aubergine-bright .tab-title.active{background-color:#7566a0}.bg-aubergine-bright .nav-item{background-color:#7566a0}[class*=bg-] .tab-title.active:focus::after{background-color:rgba(255,255,255,.2)}@supports selector(*:focus-visible){[class*=bg-] .tab-title.active:focus::after{background-color:unset}[class*=bg-] .tab-title.active:focus-visible::after{background-color:rgba(255,255,255,.2)}}/*!\n * Bootstrap Utilities v5.1.3 (https://getbootstrap.com/)\n * Copyright 2011-2021 The Bootstrap Authors\n * Copyright 2011-2021 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n\n * The MIT License (MIT)\n\n * Copyright (c) 2011-2020 Twitter, Inc.\n * Copyright (c) 2011-2020 The Bootstrap Authors\n\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *//*!\n * Copyright 2021 by Swiss Post, Information Technology\n */:host{display:block}.tab-title{padding:0;overflow:visible;border:0;background:none;color:inherit;font:inherit;-webkit-user-select:none;user-select:none;appearance:button}";
@@ -1,5 +1,5 @@
1
- export { P as post_tab_header } from './post-tab-header-1c89d427.js';
1
+ export { P as post_tab_header } from './post-tab-header-4527a6a0.js';
2
2
  import './index-9ace3232.js';
3
- import './package-db4481b4.js';
3
+ import './package-79261567.js';
4
4
  import './check-non-empty-58bd6b17.js';
5
5
  import './constants-8d548297.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-9ace3232.js';
2
- import { v as version } from './package-db4481b4.js';
2
+ import { v as version } from './package-79261567.js';
3
3
 
4
4
  const postTabPanelCss = ":host{display:none}";
5
5
  const PostTabPanelStyle0 = postTabPanelCss;
@@ -1,3 +1,3 @@
1
- export { P as post_tab_panel } from './post-tab-panel-c9487339.js';
1
+ export { P as post_tab_panel } from './post-tab-panel-2c3785fc.js';
2
2
  import './index-9ace3232.js';
3
- import './package-db4481b4.js';
3
+ import './package-79261567.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-9ace3232.js';
2
- import { v as version } from './package-db4481b4.js';
2
+ import { v as version } from './package-79261567.js';
3
3
  import { f as fadeOut, a as fadeIn } from './fade-7fd71785.js';
4
4
 
5
5
  const postTabsCss = ".tabs-wrapper{position:relative;padding-top:1rem;border:0;background-color:rgba(var(--post-contrast-color-rgb), 0.02)}.tabs-wrapper::after{content:\"\";position:absolute;bottom:0;width:100%;height:1px;background-color:#ccc}.tabs-wrapper .tabs{background-color:rgba(0,0,0,0) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.tabs-wrapper::after{background-color:ButtonBorder}}.tabs{margin:0;padding:0;list-style:none;display:flex;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;white-space:nowrap}.tabs::after{content:\"\";display:block;flex:1 0 auto;width:1rem}.tab-content{padding-top:1rem}.bg-yellow .tabs-wrapper{background-color:#fc0}.bg-white .tabs-wrapper{background-color:#fff}.bg-light .tabs-wrapper{background-color:#faf9f8}.bg-gray .tabs-wrapper{background-color:#f4f3f1}.bg-dark .tabs-wrapper{background-color:#333}.bg-black .tabs-wrapper{background-color:#000}.bg-primary .tabs-wrapper{background-color:#333}.bg-secondary .tabs-wrapper{background-color:#666}.bg-success .tabs-wrapper{background-color:#2c871d}.bg-warning .tabs-wrapper{background-color:#f49e00}.bg-error .tabs-wrapper{background-color:#a51728}.bg-info .tabs-wrapper{background-color:#cce4ee}.bg-success-background .tabs-wrapper{background-color:#c0debb}.bg-warning-background .tabs-wrapper{background-color:#fce2b2}.bg-error-background .tabs-wrapper{background-color:#ffdade}.bg-nightblue .tabs-wrapper{background-color:#004976}.bg-nightblue-bright .tabs-wrapper{background-color:#0076a8}.bg-petrol .tabs-wrapper{background-color:#006d68}.bg-petrol-bright .tabs-wrapper{background-color:#00968f}.bg-coral .tabs-wrapper{background-color:#9e2a2f}.bg-coral-bright .tabs-wrapper{background-color:#e03c31}.bg-olive .tabs-wrapper{background-color:#716135}.bg-olive-bright .tabs-wrapper{background-color:#aa9d2e}.bg-purple .tabs-wrapper{background-color:#80276c}.bg-purple-bright .tabs-wrapper{background-color:#c5299b}.bg-aubergine .tabs-wrapper{background-color:#523178}.bg-aubergine-bright .tabs-wrapper{background-color:#7566a0}:host{display:block}";
@@ -1,4 +1,4 @@
1
- export { P as post_tabs } from './post-tabs-aef1b257.js';
1
+ export { P as post_tabs } from './post-tabs-a77d768a.js';
2
2
  import './index-9ace3232.js';
3
- import './package-db4481b4.js';
3
+ import './package-79261567.js';
4
4
  import './fade-7fd71785.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-9ace3232.js';
2
- import { v as version } from './package-db4481b4.js';
2
+ import { v as version } from './package-79261567.js';
3
3
 
4
4
  const postTagCss = "/*!\n * Bootstrap Utilities v5.1.3 (https://getbootstrap.com/)\n * Copyright 2011-2021 The Bootstrap Authors\n * Copyright 2011-2021 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n\n * The MIT License (MIT)\n\n * Copyright (c) 2011-2020 Twitter, Inc.\n * Copyright (c) 2011-2020 The Bootstrap Authors\n\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *//*!\n * Copyright 2021 by Swiss Post, Information Technology\n */.tag,.tag:where(:has(:not(pre))){--post-tag-bg:hsl(0, 0%, 90%);--post-tag-fg:#000;display:inline-flex;align-items:center;gap:.25rem;padding:0 .5rem;max-width:100%;background-color:var(--post-tag-bg);border:1px solid rgba(0,0,0,0);border-radius:.25rem;font-size:1rem;line-height:1.875rem;white-space:nowrap;color:var(--post-tag-fg)}.tag post-icon,.tag:where(:has(:not(pre))) post-icon{flex:0 0 auto;width:1.25rem;height:1.25rem}.tag .tag-text,.tag:where(:has(:not(pre))) .tag-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tag .tag-text svg,.tag .tag-text img,.tag:where(:has(:not(pre))) .tag-text svg,.tag:where(:has(:not(pre))) .tag-text img{display:inline-block;height:1.25rem !important;vertical-align:text-top}.tag.tag-sm,.tag:where(:has(:not(pre))).tag-sm{line-height:1.5rem}.tag.tag-sm .tag-icon,.tag:where(:has(:not(pre))).tag-sm .tag-icon{width:1rem;height:1rem}.tag.tag-white,.tag:where(:has(:not(pre))).tag-white{--post-tag-bg:#fff;--post-tag-fg:#000}.tag.tag-yellow,.tag:where(:has(:not(pre))).tag-yellow{--post-tag-bg:#fc0;--post-tag-fg:#000}.tag.tag-success,.tag:where(:has(:not(pre))).tag-success{--post-tag-bg:#2c871d;--post-tag-fg:#fff}.tag.tag-warning,.tag:where(:has(:not(pre))).tag-warning{--post-tag-bg:#f49e00;--post-tag-fg:#000}.tag.tag-danger,.tag:where(:has(:not(pre))).tag-danger{--post-tag-bg:#a51728;--post-tag-fg:#fff}.tag.tag-info,.tag:where(:has(:not(pre))).tag-info{--post-tag-bg:#cce4ee;--post-tag-fg:#000}.tag.tag-white,.tag:where(:has(:not(pre))).tag-white{border-color:var(--post-contrast-color)}pre .tag,pre .tag:where(:has(:not(pre))){display:inline;padding:initial;max-width:initial;background:initial;border:initial;border-radius:initial;font-size:inherit;line-height:inherit;white-space:unset}*,*:before,*:after{box-sizing:border-box}.tag-text ::slotted(svg),.tag-text ::slotted(img){display:inline-block !important;height:1.25rem !important;vertical-align:text-top !important}";
5
5
  const PostTagStyle0 = postTagCss;
@@ -1,3 +1,3 @@
1
- export { P as post_tag } from './post-tag-803bfa89.js';
1
+ export { P as post_tag } from './post-tag-2314a9cd.js';
2
2
  import './index-9ace3232.js';
3
- import './package-db4481b4.js';
3
+ import './package-79261567.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-9ace3232.js';
2
- import { v as version$1 } from './package-db4481b4.js';
2
+ import { v as version$1 } from './package-79261567.js';
3
3
  import { g as getAttributeObserver } from './attribute-observer-37fa950a.js';
4
4
  import { b as checkEmptyOrType } from './index-29d17d6d.js';
5
5
 
@@ -1,6 +1,6 @@
1
- export { P as post_tooltip } from './post-tooltip-92c953eb.js';
1
+ export { P as post_tooltip } from './post-tooltip-3df5878c.js';
2
2
  import './index-9ace3232.js';
3
- import './package-db4481b4.js';
3
+ import './package-79261567.js';
4
4
  import './attribute-observer-37fa950a.js';
5
5
  import './index-29d17d6d.js';
6
6
  import './constants-8d548297.js';
@@ -1 +1 @@
1
- export{P as PostAccordion}from"./p-5d899150.js";export{P as PostAccordionItem}from"./p-ccc962e7.js";export{P as PostAlert}from"./p-bc6aeed0.js";export{P as PostCardControl}from"./p-3837f8d9.js";export{P as PostCollapsible}from"./p-cd3a95bc.js";export{P as PostCollapsibleTrigger}from"./p-c9b91b12.js";export{P as PostIcon}from"./p-d183d54d.js";export{P as PostPopover}from"./p-f6c08610.js";export{P as PostPopovercontainer}from"./p-5549c87d.js";export{P as PostRating}from"./p-3a18348a.js";export{P as PostTabs}from"./p-5bc8ca5c.js";export{P as PostTabHeader}from"./p-81384711.js";export{P as PostTabPanel}from"./p-d6942830.js";export{P as PostTooltip}from"./p-e92bb590.js";export{P as PostTag}from"./p-5efa4c05.js";import"./p-8c7f0075.js";import"./p-56bc4f94.js";import"./p-247a1668.js";import"./p-611b3c41.js";import"./p-ac500761.js";import"./p-440193f4.js";import"./p-4a3f67ab.js";import"./p-2737eaf5.js";import"./p-b095519d.js";import"./p-6adeaa6c.js";
1
+ export{P as PostAccordion}from"./p-1ac427d7.js";export{P as PostAccordionItem}from"./p-5c383dd5.js";export{P as PostAlert}from"./p-b5e3b27e.js";export{P as PostCardControl}from"./p-537266ee.js";export{P as PostCollapsible}from"./p-3ca6e3f8.js";export{P as PostCollapsibleTrigger}from"./p-d6639fb5.js";export{P as PostIcon}from"./p-316ffe46.js";export{P as PostPopover}from"./p-8518f0e6.js";export{P as PostPopovercontainer}from"./p-9c7ac02c.js";export{P as PostRating}from"./p-f8201b09.js";export{P as PostTabs}from"./p-96dd256e.js";export{P as PostTabHeader}from"./p-60e8abb1.js";export{P as PostTabPanel}from"./p-43d269f5.js";export{P as PostTooltip}from"./p-ad171101.js";export{P as PostTag}from"./p-a8f9e9ae.js";import"./p-8c7f0075.js";import"./p-00de1557.js";import"./p-247a1668.js";import"./p-611b3c41.js";import"./p-ac500761.js";import"./p-440193f4.js";import"./p-4a3f67ab.js";import"./p-2737eaf5.js";import"./p-b095519d.js";import"./p-6adeaa6c.js";
@@ -0,0 +1 @@
1
+ const o="7.4.10";export{o as v}
@@ -1 +1 @@
1
- import{r as t,h as s,H as i,g as e}from"./p-8c7f0075.js";import{v as a}from"./p-56bc4f94.js";import{H as o}from"./p-247a1668.js";import{c as r}from"./p-611b3c41.js";const c=class{constructor(s){t(this,s),this.expandedItems=new Set,this.headingLevel=void 0,this.multiple=!1}validateHeadingLevel(t=this.headingLevel){t&&(r(t,o,"The `heading-level` property of the `post-accordion` must be a number between 1 and 6."),this.accordionItems.forEach((s=>{s.setAttribute("heading-level",String(t))})))}componentWillLoad(){this.registerAccordionItems(),this.validateHeadingLevel()}collapseToggleHandler(t){if("post-accordion-item"===t.target.localName){t.stopPropagation();const s=t.target,i=this.expandedItems.has(s);if(i?this.expandedItems.delete(s):this.expandedItems.add(s),this.multiple||i)return;Array.from(this.expandedItems.values()).filter((t=>t!==s)).forEach((t=>{t.toggle(!1)}))}}async toggle(t){const s=this.accordionItems.find((s=>s.id===t));if(!s)throw new Error(`No post-accordion-item found with id #${t}.`);await s.toggle()}async expandAll(){this.multiple?await Promise.all(this.accordionItems.map((t=>t.toggle(!0)))):this.expandedItems.size||await this.accordionItems[0].toggle(!0)}async collapseAll(){await Promise.all(this.accordionItems.map((t=>t.toggle(!1))))}registerAccordionItems(){this.accordionItems=Array.from(this.host.querySelectorAll("post-accordion-item")),this.accordionItems.filter((t=>!t.collapsed||this.expandedItems.has(t))).forEach(((t,s)=>{this.multiple||0===s?this.expandedItems.add(t):t.setAttribute("collapsed","")}))}render(){return s(i,{key:"db4caaa1a64791d3a1dc622cf865a162b3cfd733","data-version":a},s("div",{key:"62ebf7e00b534b9b68137ac4ab57b92bd290bc21",class:"accordion"},s("slot",{key:"61c69386c1ba9e7f53dd3465dd7eb06ac646e35b",onSlotchange:()=>this.registerAccordionItems()})))}get host(){return e(this)}static get watchers(){return{headingLevel:["validateHeadingLevel"]}}};c.style=":host{display:block}";export{c as P}
1
+ import{r as t,h as s,H as i,g as e}from"./p-8c7f0075.js";import{v as a}from"./p-00de1557.js";import{H as o}from"./p-247a1668.js";import{c as r}from"./p-611b3c41.js";const c=class{constructor(s){t(this,s),this.expandedItems=new Set,this.headingLevel=void 0,this.multiple=!1}validateHeadingLevel(t=this.headingLevel){t&&(r(t,o,"The `heading-level` property of the `post-accordion` must be a number between 1 and 6."),this.accordionItems.forEach((s=>{s.setAttribute("heading-level",String(t))})))}componentWillLoad(){this.registerAccordionItems(),this.validateHeadingLevel()}collapseToggleHandler(t){if("post-accordion-item"===t.target.localName){t.stopPropagation();const s=t.target,i=this.expandedItems.has(s);if(i?this.expandedItems.delete(s):this.expandedItems.add(s),this.multiple||i)return;Array.from(this.expandedItems.values()).filter((t=>t!==s)).forEach((t=>{t.toggle(!1)}))}}async toggle(t){const s=this.accordionItems.find((s=>s.id===t));if(!s)throw new Error(`No post-accordion-item found with id #${t}.`);await s.toggle()}async expandAll(){this.multiple?await Promise.all(this.accordionItems.map((t=>t.toggle(!0)))):this.expandedItems.size||await this.accordionItems[0].toggle(!0)}async collapseAll(){await Promise.all(this.accordionItems.map((t=>t.toggle(!1))))}registerAccordionItems(){this.accordionItems=Array.from(this.host.querySelectorAll("post-accordion-item")),this.accordionItems.filter((t=>!t.collapsed||this.expandedItems.has(t))).forEach(((t,s)=>{this.multiple||0===s?this.expandedItems.add(t):t.setAttribute("collapsed","")}))}render(){return s(i,{key:"db4caaa1a64791d3a1dc622cf865a162b3cfd733","data-version":a},s("div",{key:"62ebf7e00b534b9b68137ac4ab57b92bd290bc21",class:"accordion"},s("slot",{key:"61c69386c1ba9e7f53dd3465dd7eb06ac646e35b",onSlotchange:()=>this.registerAccordionItems()})))}get host(){return e(this)}static get watchers(){return{headingLevel:["validateHeadingLevel"]}}};c.style=":host{display:block}";export{c as P}
@@ -0,0 +1 @@
1
+ import{r as i,h as t,H as a,g as e}from"./p-8c7f0075.js";import{c as o,b as n}from"./p-ac500761.js";import{v as s}from"./p-00de1557.js";import{c as r}from"./p-b095519d.js";import{c as l}from"./p-4a3f67ab.js";const c=["cylon","cylon-vertical","spin","spin-reverse","fade","throb"],m=class{constructor(t){i(this,t),this.svgStyles=void 0,this.svgOutput=void 0,this.animation=null,this.base=null,this.flipH=!1,this.flipV=!1,this.name=void 0,this.rotate=null,this.scale=null}validateAnimation(i=this.animation){void 0!==i&&o(i,c,`The post-icon "animation" prop requires one of the following values: ${c.join(", ")}.`)}validateBase(i=this.base){n(i,"string",'The post-icon "base" prop should be a string.')}validateFlipH(i=this.flipH){n(i,"boolean",'The post-icon "flipH" prop should be a boolean.')}validateFlipV(i=this.flipV){n(i,"boolean",'The post-icon "flipV" prop should be a boolean.')}validateName(i=this.name){r(i,'The post-icon "name" prop is required!.'),l(i,"string",'The post-icon "name" prop should be a string.')}validateRotate(i=this.rotate){n(i,"number",'The post-icon "rotate" prop should be a number.')}validateScale(i=this.scale){n(i,"number",'The post-icon "scale" prop should be a number.')}componentDidLoad(){this.validateBase(),this.validateName(),this.validateFlipH(),this.validateFlipV(),this.validateScale(),this.validateRotate(),this.validateAnimation()}componentWillRender(){this.setPath()}setPath(){var i,t,a,e,o;const n=null!==(t=null===(i=document.head.querySelector('meta[name="design-system-settings"][data-post-icon-base]'))||void 0===i?void 0:i.getAttribute("data-post-icon-base"))&&void 0!==t?t:null,s=null===(a=document.getElementsByTagName("base")[0])||void 0===a?void 0:a.href;let r;const l=/^(?:[a-z+]+:)?\/\//i;s?this.base&&!l.test(this.base)?r=s+this.base:n&&!l.test(n)&&(r=s+n):r=null!==(e=this.base)&&void 0!==e?e:n;const c=`${null!==(o=null!=r?r:s)&&void 0!==o?o:"https://unpkg.com/@swisspost/design-system-icons/public/post-icons"}/`.replace(/\/\/$/,"/");this.path=new URL(`${c}${this.name}.svg`,window.location.origin).toString()}render(){const i=Object.entries({"-webkit-mask-image":`url('${this.path}')`,"mask-image":`url('${this.path}')`,transform:(this.scale&&!isNaN(Number(this.scale))?"scale("+this.scale+")":"")+(this.rotate&&!isNaN(Number(this.rotate))?" rotate("+this.rotate+"deg)":"")}).filter((([i,t])=>null!==t)).reduce(((i,[t,a])=>Object.assign(i,{[t]:a})),{});return t(a,{key:"bad9e5bf0bf6250cd6597a2e6e67cf1f334d0e2d","data-version":s},t("span",{key:"1b07a201ac1bc45cbea6ce6ad3285917cf76e46e",style:i}))}get host(){return e(this)}static get watchers(){return{animation:["validateAnimation"],base:["validateBase"],flipH:["validateFlipH"],flipV:["validateFlipV"],name:["validateName"],rotate:["validateRotate"],scale:["validateScale"]}}};m.style=":host{display:inline-block;width:1em;height:1em;vertical-align:-0.15em}span{display:block;width:100%;height:100%;fill:currentColor;forced-color-adjust:preserve-parent-color;background-color:currentColor;-webkit-mask-position:center center;mask-position:center center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100%;mask-size:100%}:host([flip-h]:not([flip-h=false])){scale:-1 1}:host([flip-v]:not([flip-v=false])){scale:1 -1}:host([flip-h][flip-v]:not([flip-h=false],[flip-v=false])){scale:-1}:host([animation]){transform-origin:center}:host([animation=cylon]){animation:icon-animation-cylon .75s ease-in-out infinite alternate}:host([animation=cylon-vertical]){animation:icon-animation-cylon-vertical .75s ease-in-out infinite alternate}:host([animation=spin]){animation:icon-animation-spin 2s linear infinite normal}:host([animation=spin-reverse]){animation:icon-animation-spin 2s linear infinite reverse}:host([animation=fade]){animation:icon-animation-fade .75s ease-in-out infinite alternate}:host([animation=throb]){animation:icon-animation-throb .75s ease-in-out infinite alternate}@keyframes icon-animation-cylon{from{transform:translateX(-25%)}to{transform:translateX(25%)}}@keyframes icon-animation-cylon-vertical{from{transform:translateY(25%)}to{transform:translateY(-25%)}}@keyframes icon-animation-fade{from{opacity:.1}to{opacity:1}}@keyframes icon-animation-spin{from{transform:rotate(0deg)}to{transform:rotate(359deg)}}@keyframes icon-animation-throb{from{opacity:.5;transform:scale(0.5)}to{opacity:1;transform:scale(1)}}";export{m as P}
@@ -0,0 +1 @@
1
+ export{P as post_popover}from"./p-8518f0e6.js";import"./p-8c7f0075.js";import"./p-00de1557.js";import"./p-6adeaa6c.js";
@@ -1 +1 @@
1
- import{r as t,c as s,h as e,H as o,g as i}from"./p-8c7f0075.js";import{v as r}from"./p-56bc4f94.js";import{b as a}from"./p-ac500761.js";const h={height:"0",overflow:"hidden"},d={duration:350,easing:"ease",fill:"forwards"},c=class{constructor(e){t(this,e),this.postToggle=s(this,"postToggle",7),this.isLoaded=!1,this.isOpen=!0,this.collapsed=!1}collapsedChange(){a(this.collapsed,"boolean","The `collapsed` property of the `post-collapsible` must be a boolean."),this.toggle(!this.collapsed)}componentDidLoad(){this.collapsedChange(),this.isLoaded=!0,this.updateTriggers()}async toggle(t=!this.isOpen){if(t===this.isOpen)return t;this.isOpen=t,this.collapsed=!t,this.isLoaded&&this.postToggle.emit(t);const s=t?(e=this.host).animate([h,{height:`${e.scrollHeight}px`,offset:1},{height:"auto"}],d):(t=>{const s={height:window.getComputedStyle(t).height};return t.animate([s,h],d)})(this.host);var e;return this.isLoaded&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches||s.finish(),await s.finished,s.commitStyles(),t}updateTriggers(){document.querySelectorAll(`post-collapsible-trigger[for="${this.host.id}"]`).forEach((t=>t.update()))}render(){return e(o,{key:"17ddf586d9b997dba2fa5d19df2561cf0fc8d58f","data-version":r},e("slot",{key:"40abf5ef74c096083dcf91a1d8cf3cb99da6a926"}))}get host(){return i(this)}static get watchers(){return{collapsed:["collapsedChange"]}}};c.style=":host{display:block;overflow:hidden}";export{c as P}
1
+ import{r as t,c as s,h as e,H as o,g as i}from"./p-8c7f0075.js";import{v as r}from"./p-00de1557.js";import{b as a}from"./p-ac500761.js";const h={height:"0",overflow:"hidden"},d={duration:350,easing:"ease",fill:"forwards"},c=class{constructor(e){t(this,e),this.postToggle=s(this,"postToggle",7),this.isLoaded=!1,this.isOpen=!0,this.collapsed=!1}collapsedChange(){a(this.collapsed,"boolean","The `collapsed` property of the `post-collapsible` must be a boolean."),this.toggle(!this.collapsed)}componentDidLoad(){this.collapsedChange(),this.isLoaded=!0,this.updateTriggers()}async toggle(t=!this.isOpen){if(t===this.isOpen)return t;this.isOpen=t,this.collapsed=!t,this.isLoaded&&this.postToggle.emit(t);const s=t?(e=this.host).animate([h,{height:`${e.scrollHeight}px`,offset:1},{height:"auto"}],d):(t=>{const s={height:window.getComputedStyle(t).height};return t.animate([s,h],d)})(this.host);var e;return this.isLoaded&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches||s.finish(),await s.finished,s.commitStyles(),t}updateTriggers(){document.querySelectorAll(`post-collapsible-trigger[for="${this.host.id}"]`).forEach((t=>t.update()))}render(){return e(o,{key:"17ddf586d9b997dba2fa5d19df2561cf0fc8d58f","data-version":r},e("slot",{key:"40abf5ef74c096083dcf91a1d8cf3cb99da6a926"}))}get host(){return i(this)}static get watchers(){return{collapsed:["collapsedChange"]}}};c.style=":host{display:block;overflow:hidden}";export{c as P}
@@ -0,0 +1 @@
1
+ export{P as post_tab_header}from"./p-60e8abb1.js";import"./p-8c7f0075.js";import"./p-00de1557.js";import"./p-b095519d.js";import"./p-440193f4.js";
@@ -1 +1 @@
1
- import{r as s,h as t,H as o,g as e}from"./p-8c7f0075.js";import{v as r}from"./p-56bc4f94.js";const a=class{constructor(t){s(this,t),this.panelId=void 0,this.name=void 0}componentWillLoad(){this.panelId=`panel-${this.host.id||crypto.randomUUID()}`}render(){return t(o,{key:"2b7e8f1853df072796345126b60ed2b6315362a2","data-version":r,id:this.panelId,role:"tabpanel"},t("slot",{key:"77c2b1c1f7d141fd3f9b71c504cdd9a5ce61260b"}))}get host(){return e(this)}};a.style=":host{display:none}";export{a as P}
1
+ import{r as s,h as t,H as o,g as e}from"./p-8c7f0075.js";import{v as r}from"./p-00de1557.js";const a=class{constructor(t){s(this,t),this.panelId=void 0,this.name=void 0}componentWillLoad(){this.panelId=`panel-${this.host.id||crypto.randomUUID()}`}render(){return t(o,{key:"2b7e8f1853df072796345126b60ed2b6315362a2","data-version":r,id:this.panelId,role:"tabpanel"},t("slot",{key:"77c2b1c1f7d141fd3f9b71c504cdd9a5ce61260b"}))}get host(){return e(this)}};a.style=":host{display:none}";export{a as P}
@@ -0,0 +1 @@
1
+ export{P as post_alert}from"./p-b5e3b27e.js";import"./p-8c7f0075.js";import"./p-00de1557.js";import"./p-2737eaf5.js";import"./p-ac500761.js";import"./p-440193f4.js";import"./p-611b3c41.js";import"./p-4a3f67ab.js";import"./p-b095519d.js";