@swisspost/design-system-components 8.0.0 → 8.2.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.
Files changed (223) hide show
  1. package/dist/cjs/{index-a1440961.js → index-01f30442.js} +13 -0
  2. package/dist/cjs/{index-baad16da.js → index-c15bd800.js} +43 -5
  3. package/dist/cjs/index.cjs.js +19 -17
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/cjs/{package-28cba29c.js → package-f9a656fd.js} +1 -1
  6. package/dist/cjs/{post-accordion-fc746a6f.js → post-accordion-30216884.js} +2 -2
  7. package/dist/cjs/{post-accordion-item-c0492b73.js → post-accordion-item-4eba14e6.js} +3 -3
  8. package/dist/cjs/post-accordion-item.cjs.entry.js +4 -4
  9. package/dist/cjs/post-accordion.cjs.entry.js +3 -3
  10. package/dist/cjs/{post-alert-0612ad51.js → post-alert-e305480e.js} +4 -4
  11. package/dist/cjs/post-alert.cjs.entry.js +4 -4
  12. package/dist/cjs/post-card-control-e63582f3.js +272 -0
  13. package/dist/cjs/post-card-control.cjs.entry.js +3 -3
  14. package/dist/cjs/{post-collapsible-trigger-8d39196e.js → post-collapsible-trigger-5d8b9047.js} +3 -3
  15. package/dist/cjs/post-collapsible_2.cjs.entry.js +4 -4
  16. package/dist/cjs/post-components.cjs.js +2 -2
  17. package/dist/cjs/{post-icon-bd260560.js → post-icon-8ab009d4.js} +3 -3
  18. package/dist/cjs/post-icon.cjs.entry.js +4 -4
  19. package/dist/cjs/post-logo-9f4c551c.js +39 -0
  20. package/dist/cjs/post-logo.cjs.entry.js +14 -0
  21. package/dist/cjs/{post-popover-303e76ef.js → post-popover-3f14dab4.js} +3 -3
  22. package/dist/cjs/post-popover.cjs.entry.js +3 -3
  23. package/dist/cjs/{post-popovercontainer-c64bde39.js → post-popovercontainer-5f1717be.js} +4 -4
  24. package/dist/cjs/post-popovercontainer.cjs.entry.js +3 -3
  25. package/dist/cjs/{post-rating-dc7bd246.js → post-rating-b6ebb2d7.js} +3 -3
  26. package/dist/cjs/post-rating.cjs.entry.js +3 -3
  27. package/dist/cjs/{post-tab-header-06c40218.js → post-tab-header-ebd691dd.js} +3 -3
  28. package/dist/cjs/post-tab-header.cjs.entry.js +3 -3
  29. package/dist/cjs/{post-tab-panel-54fbdb66.js → post-tab-panel-a15af8bb.js} +3 -3
  30. package/dist/cjs/post-tab-panel.cjs.entry.js +3 -3
  31. package/dist/cjs/{post-tabs-52b9d638.js → post-tabs-d3233bc8.js} +28 -7
  32. package/dist/cjs/post-tabs.cjs.entry.js +3 -3
  33. package/dist/cjs/{post-tag-4aba2155.js → post-tag-534251e7.js} +4 -4
  34. package/dist/cjs/post-tag.cjs.entry.js +3 -3
  35. package/dist/cjs/{post-tooltip-3c695f60.js → post-tooltip-a8399659.js} +4 -4
  36. package/dist/cjs/post-tooltip.cjs.entry.js +4 -4
  37. package/dist/collection/collection-manifest.json +1 -0
  38. package/dist/collection/components/post-alert/post-alert.css +1 -1
  39. package/dist/collection/components/post-card-control/post-card-control.css +1 -1
  40. package/dist/collection/components/post-card-control/post-card-control.js +23 -25
  41. package/dist/collection/components/post-logo/post-logo.css +1 -0
  42. package/dist/collection/components/post-logo/post-logo.js +73 -0
  43. package/dist/collection/components/post-popover/post-popover.js +1 -1
  44. package/dist/collection/components/post-popovercontainer/post-popovercontainer.js +2 -2
  45. package/dist/collection/components/post-rating/post-rating.js +1 -1
  46. package/dist/collection/components/post-tab-header/post-tab-header.js +1 -1
  47. package/dist/collection/components/post-tab-panel/post-tab-panel.js +1 -1
  48. package/dist/collection/components/post-tabs/post-tabs.js +6 -5
  49. package/dist/collection/components/post-tag/post-tag.css +1 -1
  50. package/dist/collection/components/post-tag/post-tag.js +1 -1
  51. package/dist/collection/components/post-tooltip/post-tooltip.js +1 -1
  52. package/dist/collection/index.js +1 -0
  53. package/dist/collection/utils/component-on-ready.js +20 -0
  54. package/dist/collection/utils/index.js +1 -0
  55. package/dist/collection/utils/property-checkers/check-url.js +10 -0
  56. package/dist/collection/utils/property-checkers/index.js +3 -0
  57. package/dist/components/index.js +1 -0
  58. package/dist/components/index2.js +13 -1
  59. package/dist/components/package.js +1 -1
  60. package/dist/components/post-alert2.js +1 -1
  61. package/dist/components/post-card-control2.js +21 -64
  62. package/dist/components/post-logo.d.ts +11 -0
  63. package/dist/components/post-logo.js +6 -0
  64. package/dist/components/post-logo2.js +56 -0
  65. package/dist/components/post-popover2.js +1 -1
  66. package/dist/components/post-popovercontainer2.js +2 -2
  67. package/dist/components/post-rating2.js +1 -1
  68. package/dist/components/post-tab-header2.js +1 -1
  69. package/dist/components/post-tab-panel2.js +1 -1
  70. package/dist/components/post-tabs2.js +26 -5
  71. package/dist/components/post-tag2.js +2 -2
  72. package/dist/components/post-tooltip2.js +1 -1
  73. package/dist/docs.json +64 -5
  74. package/dist/esm/{index-189d3985.js → index-0b56fc28.js} +43 -5
  75. package/dist/esm/{index-d1eba94c.js → index-f41b763f.js} +13 -1
  76. package/dist/esm/index.js +18 -17
  77. package/dist/esm/loader.js +3 -3
  78. package/dist/esm/{package-3e4546f5.js → package-f02beabb.js} +1 -1
  79. package/dist/esm/{post-accordion-1cbd089a.js → post-accordion-f850422a.js} +2 -2
  80. package/dist/esm/{post-accordion-item-316ee985.js → post-accordion-item-c2eaeaa7.js} +3 -3
  81. package/dist/esm/post-accordion-item.entry.js +4 -4
  82. package/dist/esm/post-accordion.entry.js +3 -3
  83. package/dist/esm/{post-alert-6fa442b9.js → post-alert-f17886df.js} +4 -4
  84. package/dist/esm/post-alert.entry.js +4 -4
  85. package/dist/esm/post-card-control-25bbcb80.js +270 -0
  86. package/dist/esm/post-card-control.entry.js +3 -3
  87. package/dist/esm/{post-collapsible-trigger-6f4ba350.js → post-collapsible-trigger-49da97d7.js} +3 -3
  88. package/dist/esm/post-collapsible_2.entry.js +4 -4
  89. package/dist/esm/post-components.js +3 -3
  90. package/dist/esm/{post-icon-fe467f6a.js → post-icon-168d95b5.js} +3 -3
  91. package/dist/esm/post-icon.entry.js +4 -4
  92. package/dist/esm/post-logo-47744c24.js +37 -0
  93. package/dist/esm/post-logo.entry.js +6 -0
  94. package/dist/esm/{post-popover-c9998136.js → post-popover-594e9965.js} +3 -3
  95. package/dist/esm/post-popover.entry.js +3 -3
  96. package/dist/esm/{post-popovercontainer-62ced3d7.js → post-popovercontainer-89cee0fe.js} +4 -4
  97. package/dist/esm/post-popovercontainer.entry.js +3 -3
  98. package/dist/esm/{post-rating-49ace0e9.js → post-rating-b87dfbdc.js} +3 -3
  99. package/dist/esm/post-rating.entry.js +3 -3
  100. package/dist/esm/{post-tab-header-696a7aae.js → post-tab-header-2c59fd6e.js} +3 -3
  101. package/dist/esm/post-tab-header.entry.js +3 -3
  102. package/dist/esm/{post-tab-panel-c00910fb.js → post-tab-panel-40bf9d2d.js} +3 -3
  103. package/dist/esm/post-tab-panel.entry.js +3 -3
  104. package/dist/esm/{post-tabs-a7990c9e.js → post-tabs-264e5871.js} +28 -7
  105. package/dist/esm/post-tabs.entry.js +3 -3
  106. package/dist/esm/{post-tag-d9650103.js → post-tag-a7c63782.js} +4 -4
  107. package/dist/esm/post-tag.entry.js +3 -3
  108. package/dist/esm/{post-tooltip-cf07e816.js → post-tooltip-5d2d9e1f.js} +4 -4
  109. package/dist/esm/post-tooltip.entry.js +4 -4
  110. package/dist/post-components/index.esm.js +1 -1
  111. package/dist/post-components/p-04cb82f1.entry.js +1 -0
  112. package/dist/post-components/{p-69145fd2.js → p-057d7d3a.js} +1 -1
  113. package/dist/post-components/{p-5c4773cb.js → p-0cca56a8.js} +2 -2
  114. package/dist/post-components/p-12f3ce0c.entry.js +1 -0
  115. package/dist/post-components/p-176b59a8.entry.js +1 -0
  116. package/dist/post-components/p-1800787b.js +1 -0
  117. package/dist/post-components/{p-f732d73c.js → p-300eb394.js} +1 -1
  118. package/dist/post-components/{p-6c701d9f.js → p-517f2648.js} +1 -1
  119. package/dist/post-components/p-53eb6ca5.entry.js +1 -0
  120. package/dist/post-components/p-5607b941.js +1 -0
  121. package/dist/post-components/p-5b918e0f.entry.js +1 -0
  122. package/dist/post-components/p-6069d96e.entry.js +1 -0
  123. package/dist/post-components/p-6b8378bf.js +1 -0
  124. package/dist/post-components/p-71b8ba91.entry.js +1 -0
  125. package/dist/post-components/p-78806458.entry.js +1 -0
  126. package/dist/post-components/p-851ef572.entry.js +1 -0
  127. package/dist/post-components/{p-783e67bc.js → p-8b28c907.js} +1 -1
  128. package/dist/post-components/{p-660ecc23.js → p-90eec417.js} +1 -1
  129. package/dist/post-components/p-9f2fc85c.js +1 -0
  130. package/dist/post-components/{p-ab26873d.js → p-ac5a88be.js} +1 -1
  131. package/dist/post-components/{p-266adbdd.js → p-aca6ea02.js} +1 -1
  132. package/dist/post-components/p-b08e169f.entry.js +1 -0
  133. package/dist/post-components/p-b6b61f13.js +1 -0
  134. package/dist/post-components/{p-a4794190.js → p-b8c5020d.js} +1 -1
  135. package/dist/post-components/p-be553212.entry.js +1 -0
  136. package/dist/post-components/p-bf357eb3.entry.js +1 -0
  137. package/dist/post-components/{p-7095990e.js → p-c76880ff.js} +1 -1
  138. package/dist/post-components/p-d2f9de94.js +2 -0
  139. package/dist/post-components/p-d4163064.js +1 -0
  140. package/dist/post-components/p-ddab4c09.entry.js +1 -0
  141. package/dist/post-components/p-deb4131c.js +1 -0
  142. package/dist/post-components/p-e597a879.entry.js +1 -0
  143. package/dist/post-components/p-eafc65f6.entry.js +1 -0
  144. package/dist/post-components/post-components.esm.js +1 -1
  145. package/dist/types/components/post-card-control/post-card-control.d.ts +5 -7
  146. package/dist/types/components/post-logo/post-logo.d.ts +14 -0
  147. package/dist/types/components.d.ts +29 -8
  148. package/dist/types/index.d.ts +1 -0
  149. package/dist/types/utils/component-on-ready.d.ts +6 -0
  150. package/dist/types/utils/index.d.ts +1 -0
  151. package/dist/types/utils/property-checkers/check-url.d.ts +1 -0
  152. package/dist/types/utils/property-checkers/index.d.ts +2 -0
  153. package/loaders/attribute-observer.js +25 -0
  154. package/loaders/check-non-empty.js +9 -0
  155. package/loaders/check-one-of.js +6 -0
  156. package/loaders/check-type.js +14 -0
  157. package/loaders/constants.js +3 -0
  158. package/loaders/fade.js +7 -0
  159. package/loaders/heading-levels.js +3 -0
  160. package/loaders/index.d.ts +68 -0
  161. package/loaders/index.js +18 -0
  162. package/loaders/index2.js +34 -0
  163. package/loaders/package.js +3 -0
  164. package/loaders/post-accordion-item.d.ts +11 -0
  165. package/loaders/post-accordion-item.js +86 -0
  166. package/loaders/post-accordion.d.ts +11 -0
  167. package/loaders/post-accordion.js +128 -0
  168. package/loaders/post-alert.d.ts +11 -0
  169. package/loaders/post-alert.js +139 -0
  170. package/loaders/post-card-control.d.ts +11 -0
  171. package/loaders/post-card-control.js +306 -0
  172. package/loaders/post-collapsible-trigger.d.ts +11 -0
  173. package/loaders/post-collapsible-trigger.js +6 -0
  174. package/loaders/post-collapsible-trigger2.js +144 -0
  175. package/loaders/post-collapsible.d.ts +11 -0
  176. package/loaders/post-collapsible.js +6 -0
  177. package/loaders/post-collapsible2.js +103 -0
  178. package/loaders/post-icon.d.ts +11 -0
  179. package/loaders/post-icon.js +6 -0
  180. package/loaders/post-icon2.js +136 -0
  181. package/loaders/post-logo.d.ts +11 -0
  182. package/loaders/post-logo.js +59 -0
  183. package/loaders/post-popover.d.ts +11 -0
  184. package/loaders/post-popover.js +133 -0
  185. package/loaders/post-popovercontainer.d.ts +11 -0
  186. package/loaders/post-popovercontainer.js +6 -0
  187. package/loaders/post-popovercontainer2.js +2204 -0
  188. package/loaders/post-rating.d.ts +11 -0
  189. package/loaders/post-rating.js +116 -0
  190. package/loaders/post-tab-header.d.ts +11 -0
  191. package/loaders/post-tab-header.js +53 -0
  192. package/loaders/post-tab-panel.d.ts +11 -0
  193. package/loaders/post-tab-panel.js +45 -0
  194. package/loaders/post-tabs.d.ts +11 -0
  195. package/loaders/post-tabs.js +192 -0
  196. package/loaders/post-tag.d.ts +11 -0
  197. package/loaders/post-tag.js +77 -0
  198. package/loaders/post-tooltip.d.ts +11 -0
  199. package/loaders/post-tooltip.js +5000 -0
  200. package/package.json +13 -12
  201. package/dist/cjs/post-card-control-2fd18624.js +0 -315
  202. package/dist/esm/post-card-control-41356aa4.js +0 -313
  203. package/dist/post-components/p-0aee269b.entry.js +0 -1
  204. package/dist/post-components/p-2240981f.entry.js +0 -1
  205. package/dist/post-components/p-27cb2e60.entry.js +0 -1
  206. package/dist/post-components/p-2c9277b1.entry.js +0 -1
  207. package/dist/post-components/p-3764a23a.entry.js +0 -1
  208. package/dist/post-components/p-382f85c4.js +0 -1
  209. package/dist/post-components/p-48ed21f0.entry.js +0 -1
  210. package/dist/post-components/p-496cee95.entry.js +0 -1
  211. package/dist/post-components/p-4ce46830.entry.js +0 -1
  212. package/dist/post-components/p-5135c965.entry.js +0 -1
  213. package/dist/post-components/p-6af42a67.entry.js +0 -1
  214. package/dist/post-components/p-7481e37a.entry.js +0 -1
  215. package/dist/post-components/p-8f0ee57c.entry.js +0 -1
  216. package/dist/post-components/p-90479234.js +0 -1
  217. package/dist/post-components/p-a4e13e9c.js +0 -1
  218. package/dist/post-components/p-b08aca79.entry.js +0 -1
  219. package/dist/post-components/p-beb27e06.js +0 -1
  220. package/dist/post-components/p-c0f265c8.js +0 -2
  221. package/dist/post-components/p-e024aa18.js +0 -1
  222. package/dist/post-components/p-ea063aae.entry.js +0 -1
  223. package/dist/post-components/p-f91c0e1b.js +0 -1
@@ -0,0 +1 @@
1
+ import{r as t,c as r,h as o,H as e,g as a}from"./p-d2f9de94.js";import{c}from"./p-611b3c41.js";import{c as i}from"./p-b095519d.js";import{v as n}from"./p-6b8378bf.js";let l=0;const s=class{async reset(){this.validity=null,this.controlSetChecked(this.initialChecked)}async groupReset(){this.disabled&&(this.control.checked=this.checked=!1),this.controlSetChecked(!1)}validateControlLabel(t=this.label){i(t,'The "post-card-control" element requires its "label" property to be set.')}validateControlType(t=this.type){c(t,["checkbox","radio"],'The "post-card-control" element requires its "type" prop to be one of either "checkbox" or "radio".')}updateControlChecked(t=this.checked){this.controlSetChecked(t)}updateControlDisabled(){this.controlSetChecked(this.checked)}constructor(o){t(this,o),this.postInput=r(this,"postInput",7),this.postChange=r(this,"postChange",7),o.$hostElement$["s-ei"]?this.internals=o.$hostElement$["s-ei"]:(this.internals=o.$hostElement$.attachInternals(),o.$hostElement$["s-ei"]=this.internals),this.EVENT_MAP={input:"postInput",change:"postChange"},this.KEYCODES={SPACE:"Space",LEFT:"ArrowLeft",UP:"ArrowUp",RIGHT:"ArrowRight",DOWN:"ArrowDown"},this.group={hosts:[],members:[],first:null,last:null,checked:null,focused:null},this.controlId="PostCardControl_"+l++,this.focused=!1,this.label=void 0,this.description=null,this.type=void 0,this.name=null,this.value=null,this.checked=!1,this.disabled=!1,this.validity=null,this.icon=null,this.cardClickHandler=this.cardClickHandler.bind(this),this.controlClickHandler=this.controlClickHandler.bind(this),this.controlChangeHandler=this.controlChangeHandler.bind(this),this.controlFocusHandler=this.controlFocusHandler.bind(this),this.controlKeyDownHandler=this.controlKeyDownHandler.bind(this)}cardClickHandler(t){t.stopPropagation(),t.target!==this.control&&this.control.click()}controlClickHandler(t){t.stopPropagation(),this.disabled&&t.preventDefault()}controlChangeHandler(t){t.stopPropagation(),this.groupCollectMembers(),this.controlSetChecked(this.control.checked,t),this.groupSetChecked(this.control,t)}controlFocusHandler(){this.focused=this.host===document.activeElement}controlKeyDownHandler(t){if("radio"===this.type)switch(t.stopPropagation(),Object.values(this.KEYCODES).includes(t.code)&&t.preventDefault(),this.groupCollectMembers(),t.code){case this.KEYCODES.UP:case this.KEYCODES.LEFT:this.groupSetChecked(this.groupGetPrev(),t);break;case this.KEYCODES.DOWN:case this.KEYCODES.RIGHT:this.groupSetChecked(this.groupGetNext(),t);break;case this.KEYCODES.SPACE:this.groupSetChecked(this.control,t)}}controlSetChecked(t,r){this.control&&(this.disabled?this.internals.setFormValue(null):(this.control.checked=this.checked=t,this.internals.setFormValue(this.checked?this.control.value:null),r&&("checkbox"===this.type||"radio"===this.type&&this.checked)&&this[this.EVENT_MAP[r.type]].emit({state:this.checked,value:this.value})))}groupCollectMembers(){var t,r;if("radio"===this.type&&this.name&&(this.group.hosts=Array.from(document.querySelectorAll(`post-card-control[type="radio"][name="${this.name}"]`)),this.group.members=this.group.hosts.map((t=>t.shadowRoot.querySelector('input[type="radio"]'))).filter((t=>null!==t)),this.group.members.length>1)){this.group.first=this.group.members[0],this.group.last=this.group.members[this.group.members.length-1],this.group.checked=null!==(t=this.group.members.find((t=>t.checked)))&&void 0!==t?t:null,this.group.focused=null!==(r=this.group.members.find((t=>t.getRootNode().host===document.activeElement)))&&void 0!==r?r:this.group.first;const o=this.group.checked||this.group.focused||this.group.first;this.group.members.forEach((t=>{t.tabIndex=t===o?0:-1}))}}groupGetPrev(){var t;const r=this.group.members.findIndex((t=>t.id===this.group.focused.id));return null!==(t=this.group.members.find(((t,o)=>o===r-1)))&&void 0!==t?t:this.group.last}groupGetNext(){var t;const r=this.group.members.findIndex((t=>t.id===this.group.focused.id));return null!==(t=this.group.members.find(((t,o)=>o===r+1)))&&void 0!==t?t:this.group.first}groupSetChecked(t,r){if(this.group.members.length>1){const o="keydown"===r.type,e=t.hasAttribute("aria-disabled"),a=this.group.members.findIndex((r=>r===t));o&&t.focus(),e||(this.group.hosts.filter(((t,r)=>r!==a)).forEach((t=>{t.groupReset()})),o&&t.click())}}setHostContext(){let t;const r=window.getComputedStyle(this.host).getPropertyValue("--post-card-control-bg-context").split(", ");let o;const e=["fieldset"];let a=this.host;for(;a&&(!t||!o);)t=null!=t?t:r.find((t=>a.matches(t))),o=null!=o?o:e.find((t=>a.matches(t))),a=a.parentElement;const c=[t,o].filter((t=>!!t)).join(" ");this.host.setAttribute("data-context",c)}connectedCallback(){this.initialChecked=this.checked}componentWillRender(){this.hasIcon=Boolean(this.host.querySelector('[slot="icon"]')||this.icon)}render(){return o(e,{key:"9ae199f3c25ae7af1019f3c76baf43248b301f84","data-version":n,onClick:this.cardClickHandler},o("div",{key:"a2060187ccede9b8944e19f49ba292bab0c72635",class:{"card-control":!0,"is-checked":this.checked,"is-disabled":this.disabled,"is-focused":this.focused,"is-valid":null!==this.validity&&"false"!==this.validity,"is-invalid":"false"===this.validity}},o("input",{key:"2c819e61fff5d88f3a8b986c3e53c7248306d3ae",ref:t=>this.control=t,id:this.controlId,class:"card-control--input form-check-input",type:this.type,name:this.name,value:this.value,checked:this.checked,"aria-describedby":`${this.controlId}_label ${this.controlId}_content`,"aria-disabled":this.disabled,"aria-invalid":"false"===this.validity,onClick:this.controlClickHandler,onInput:this.controlChangeHandler,onChange:this.controlChangeHandler,onFocus:this.controlFocusHandler,onBlur:this.controlFocusHandler,onKeyDown:this.controlKeyDownHandler}),o("label",{key:"721ebf89ff367795fbf754b8018a2d5d2b53c9ba",id:`${this.controlId}_label`,htmlFor:this.controlId,class:"card-control--label form-check-label"},this.label,this.description?o("div",{class:"card-control--description"},this.description):null),this.hasIcon?o("div",{class:"card-control--icon"},o("slot",{name:"icon"},this.icon?o("post-icon",{name:this.icon}):null)):null,o("div",{key:"5759571f6f0da53e4800c1e9dc79737624700782",id:`${this.controlId}_content`,class:"card-control--content"},o("slot",{key:"f360a1a503e9a2b7cae0e0da05ee3b4bd8a22f69"}))))}componentDidRender(){this.setHostContext(),this.groupCollectMembers()}componentDidLoad(){this.validateControlLabel(),this.validateControlType()}formAssociatedCallback(){this.controlSetChecked(this.checked)}formDisabledCallback(t){this.disabled=t}formStateRestoreCallback(t){this.controlSetChecked(t)}formResetCallback(){this.reset()}static get formAssociated(){return!0}get host(){return a(this)}static get watchers(){return{label:["validateControlLabel"],type:["validateControlType"],checked:["updateControlChecked"],disabled:["updateControlDisabled"]}}};s.style='/*!\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 */.form-check{display:flex;flex-wrap:wrap;row-gap:.75rem;margin-bottom:1rem}.form-check{outline-style:none !important;outline-offset:2px !important;outline-width:2px !important;outline-color:var(--post-focus-color) !important}.form-check: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){.form-check:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.form-check: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){.form-check:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}.form-check-inline{display:inline-flex}.form-check-inline:not(:last-of-type){margin-right:1.5rem}.form-check-input,.form-check-label{color:rgba(var(--post-contrast-color-rgb), 0.8);transition:color 250ms cubic-bezier(0.4, 0, 0.2, 1)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input,.form-check-label{transition:none}}.form-check-input:hover:not([disabled]),.form-check-input:hover:not([disabled])~.form-check-input-label,.form-check-label:hover:not([disabled]),.form-check-input:hover:not([disabled])~.form-check-label-label,.form-check-label:hover:not([disabled])~.form-check-input-label,.form-check-label:hover:not([disabled])~.form-check-label-label{color:var(--post-contrast-color)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input:hover:not([disabled]),.form-check-input:hover:not([disabled])~.form-check-input-label,.form-check-label:hover:not([disabled]),.form-check-input:hover:not([disabled])~.form-check-label-label,.form-check-label:hover:not([disabled])~.form-check-input-label,.form-check-label:hover:not([disabled])~.form-check-label-label{border-color:Highlight}}.form-check-input{outline:none;display:inline-flex;flex:0 auto;appearance:none;background:rgba(0,0,0,0);height:1.375rem;width:1.375rem;border:2px solid currentColor;margin-top:1px}.form-check-input:not([disabled]),.form-check-input:not([disabled])~.form-check-label{cursor:pointer}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input{border-color:FieldText}}.form-check-input::after{content:"";display:block;flex:1}.form-check-input[type=checkbox]:checked::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=\'m12.667 23.6-7.2-7.067 1.067-1.067 6.133 6.267L25.467 8.8l1.067 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=\'m12.667 23.6-7.2-7.067 1.067-1.067 6.133 6.267L25.467 8.8l1.067 1.067z\'/%3E%3C/svg%3E");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color}.form-check-input[type=checkbox]:indeterminate::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=\'m5.333 16.01 20-.021.001 1.333-20 .021z\'/%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=\'m5.333 16.01 20-.021.001 1.333-20 .021z\'/%3E%3C/svg%3E");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input[type=checkbox]:checked,.form-check-input[type=checkbox]:indeterminate{background-color:SelectedItem !important;color:SelectedItemText !important}}.form-check-input[type=radio]{border-radius:50%}.form-check-input[type=radio]:checked::after{border:.25rem solid rgba(0,0,0,0);background-color:currentColor;border-radius:inherit;background-clip:padding-box}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input[type=radio]:checked::after{background-color:SelectedItem;border-color:Canvas}}.form-check-input[type=radio][disabled]{padding:2px;background-image:url("data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\'%3e%3crect width=\'100%\' height=\'100%\' rx=\'100\' ry=\'100\' fill=\'none\' stroke=\'hsl(0, 0%, 40%)\' stroke-width=\'4px \' stroke-dasharray=\'4 2\' /%3e%3c/svg%3e")}: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]) .form-check-input[type=radio][disabled]{background-image:url("data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\'%3e%3crect width=\'100%\' height=\'100%\' rx=\'100\' ry=\'100\' fill=\'none\' stroke=\'rgba(255, 255, 255, 0.8)\' stroke-width=\'4px \' stroke-dasharray=\'4 2\' /%3e%3c/svg%3e")}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input[type=radio][disabled]{background-image:url("data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\'%3e%3crect width=\'100%\' height=\'100%\' rx=\'100\' ry=\'100\' fill=\'none\' stroke=\'GrayText\' stroke-width=\'4px \' stroke-dasharray=\'4 2\' /%3e%3c/svg%3e") !important}}.form-check-input[disabled]{border:0;background-image:url("data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\'%3e%3crect width=\'100%\' height=\'100%\' fill=\'none\' stroke=\'hsl(0, 0%, 40%)\' stroke-width=\'4px \' stroke-dasharray=\'2 1.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4\' pathLength=\'88\' /%3e%3c/svg%3e")}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input[disabled][type=checkbox],.form-check-input[disabled][type=radio]{border-color:GrayText !important}}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input[disabled][type=checkbox]:checked,.form-check-input[disabled][type=checkbox]:indeterminate{background-color:Field !important;color:GrayText !important}}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input[disabled][type=radio]:checked::after{background-color:GrayText}}: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]) .form-check-input[disabled]{background-image:url("data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\'%3e%3crect width=\'100%\' height=\'100%\' fill=\'none\' stroke=\'rgba(255, 255, 255, 0.8)\' stroke-width=\'4px \' stroke-dasharray=\'2 1.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4\' pathLength=\'88\' /%3e%3c/svg%3e")}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-input[disabled]{background-image:url("data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\'%3e%3crect width=\'100%\' height=\'100%\' fill=\'none\' stroke=\'GrayText\' stroke-width=\'4px \' stroke-dasharray=\'2 1.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4\' pathLength=\'88\' /%3e%3c/svg%3e") !important}}.form-check-sm .form-check-input[disabled][type=checkbox]{background-image:url("data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\'%3e%3crect width=\'100%\' height=\'100%\' fill=\'none\' stroke=\'hsl(0, 0%, 40%)\' stroke-width=\'4px \' stroke-dasharray=\'2 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4\' pathLength=\'66\' /%3e%3c/svg%3e")}: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]) .form-check-sm .form-check-input[disabled][type=checkbox]{background-image:url("data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\'%3e%3crect width=\'100%\' height=\'100%\' fill=\'none\' stroke=\'rgba(255, 255, 255, 0.8)\' stroke-width=\'4px \' stroke-dasharray=\'2 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4\' pathLength=\'66\' /%3e%3c/svg%3e")}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-check-sm .form-check-input[disabled][type=checkbox]{background-image:url("data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\'%3e%3crect width=\'100%\' height=\'100%\' fill=\'none\' stroke=\'GrayText\' stroke-width=\'4px \' stroke-dasharray=\'2 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4\' pathLength=\'66\' /%3e%3c/svg%3e") !important}}.form-check-input[disabled],.form-check-input[disabled]~.form-check-label{text-decoration:line-through;color:rgba(0,0,0,.6)}: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]) .form-check-input[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]) .form-check-input[disabled]~.form-check-label{color:rgba(255,255,255,.8)}.form-check-sm .form-check-input{height:1rem;width:1rem}.form-check-sm .form-check-input[type=radio]:checked::after{border-width:2px}.form-check-label{flex:1}:not(.form-switch,.radio-button-card,.checkbox-button-card)>.form-check-label{padding-inline-start:.5rem}.form-check-sm .form-check-label{font-size:.75rem}.form-switch .form-check-input{height:2rem;width:4rem;border:0;border-radius:4rem;background-image:linear-gradient(to right, rgba(var(--post-contrast-color-rgb), 0.3) 50%, var(--post-success) 50%);background-size:8rem;background-position-x:0;transition:background-color 250ms cubic-bezier(0.4, 0, 0.2, 1),background-position 250ms cubic-bezier(0.4, 0, 0.2, 1)}.form-switch .form-check-input::after{max-width:2rem;background-color:#fff;border:2px solid #666;border-radius:50%;transition:transform 250ms cubic-bezier(0.4, 0, 0.2, 1)}.form-switch .form-check-input:checked{background-position-x:4rem}.form-switch .form-check-input:checked::after{-webkit-mask-image:none;mask-image:none;background-color:#fff;border-color:#000;transform:translateX(2rem)}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-switch .form-check-input{transition:none;border:2px solid CanvasText}.form-switch .form-check-input:checked{background-color:SelectedItem !important}.form-switch .form-check-input::after,.form-switch .form-check-input:checked::after{max-width:calc(2rem - 4px);border-color:Canvas;background-color:CanvasText}}.form-switch .form-check-input[disabled]{background:#ccc}.form-switch .form-check-input[disabled]::after{border-color:#999}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-switch .form-check-input[disabled]::after{border-color:Field}.form-switch .form-check-input[disabled]:checked{background-color:GrayText !important}}.form-switch:hover>.form-check-input:not([disabled]){background-color:rgba(var(--post-contrast-color-rgb), 0.1)}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.form-switch:hover>.form-check-input:not([disabled]){border-color:Highlight}}.form-switch .form-check-label{padding-top:.25rem}.form-switch .form-check-label.order-first{flex:0 auto;padding-inline-end:1rem}.form-switch .form-check-label:not(.order-first){padding-inline-start:1rem}:host{--post-card-control-bg-context: .bg-yellow, .bg-white, .bg-light, .bg-gray, .bg-warning, .bg-info, .bg-success-background, .bg-warning-background, .bg-error-background, .bg-petrol-bright, .bg-coral-bright, .bg-olive-bright, .alert-warning, post-alert[type=warning], .alert-info, post-alert[type=info], .alert-gray, post-alert[type=gray], .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];display:flex;width:100%}:host-context(fieldset):host(:not(:last-child)) .card-control{margin-bottom:1rem}.card-control{--post-card-control-border-color: hsl(0, 0%, 40%);--post-card-control-bg: #fff;--post-card-control-color: hsl(0, 0%, 20%);--post-card-control-input-border-color: hsl(0, 0%, 20%);--post-card-control-input-bg: #fff;flex-basis:100%;display:grid;grid-template:"input label icon" "input content content"/min-content auto min-content;gap:0 .5rem;margin:0;padding:1rem;background-color:var(--post-card-control-bg);border:2px solid var(--post-card-control-border-color);border-radius:4px;color:var(--post-card-control-color) !important;cursor:pointer}.card-control .card-control--input{grid-area:input;margin:.25rem 0;background-color:var(--post-card-control-input-bg) !important;border-color:var(--post-card-control-input-border-color) !important;color:var(--post-card-control-input-border-color) !important;cursor:inherit;transition:none}.card-control .card-control--input:focus,.card-control .card-control--input:focus-visible{box-shadow:none}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.card-control .card-control--input::after{forced-color-adjust:none;border-color:rgba(0,0,0,0)}}.card-control .card-control--label{grid-area:label;margin:.25rem 0;padding:0;color:inherit !important;pointer-events:none;transition:none}.card-control .card-control--label:not(:has(+.card-control--icon)){grid-area:1/label/1/icon}.card-control .card-control--description{grid-area:label;font-size:.75rem}.card-control .card-control--content{grid-area:content}.card-control .card-control--icon{grid-area:icon;width:2rem;height:2rem;pointer-events:none}.card-control .card-control--icon>slot>*{width:100%;height:100%}.card-control:not(.is-disabled).is-checked{--post-card-control-border-color: #000;--post-card-control-bg: #fc0}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.card-control:not(.is-disabled).is-checked{--post-card-control-border-color: FieldText;--post-card-control-bg: SelectedItem;--post-card-control-color: SelectedItemText;--post-card-control-input-border-color: SelectedItemText;--post-card-control-input-bg: SelectedItem}.card-control:not(.is-disabled).is-checked .card-control--input::after{background-color:var(--post-card-control-color) !important}}.card-control:not(.is-disabled).is-invalid{--post-card-control-border-color: #a51728;--post-card-control-color: #a51728;--post-card-control-input-border-color: #a51728}.card-control:not(.is-disabled):hover{--post-card-control-border-color: hsl(0, 0%, 20%);--post-card-control-bg: hsl(0, 0%, 40%);--post-card-control-color: #fff;--post-card-control-input-border-color: #000}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.card-control:not(.is-disabled):hover{--post-card-control-border-color: Highlight;--post-card-control-bg: Field;--post-card-control-color: FieldText;--post-card-control-input-border-color: Highlight;--post-card-control-input-bg: Field}.card-control:not(.is-disabled):hover .card-control--input::after{color:FieldText}}.card-control.is-focused:where(:has(.card-control--input:focus-visible)){outline-offset:2px;outline:2px solid #1976c8}.card-control.is-disabled{--post-card-control-border-color: hsl(0, 0%, 40%);--post-card-control-bg: transparent;--post-card-control-color: hsl(0, 0%, 40%);--post-card-control-input-border-color: hsl(0, 0%, 40%);--post-card-control-input-bg: transparent;border-style:dashed;text-decoration:line-through;cursor:default}.card-control.is-disabled .card-control--input{border:0 none;padding:2px;background-image:url("data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\'%3e%3crect width=\'100%\' height=\'100%\' fill=\'none\' stroke=\'hsl(0, 0%, 40%)\' stroke-width=\'4px \' stroke-dasharray=\'2 1.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4\' pathLength=\'88\' /%3e%3c/svg%3e")}.card-control.is-disabled .card-control--input[type=radio]{background-image:url("data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\'%3e%3crect width=\'100%\' height=\'100%\' rx=\'100\' ry=\'100\' fill=\'none\' stroke=\'hsl(0, 0%, 40%)\' stroke-width=\'4px \' stroke-dasharray=\'4 2\' /%3e%3c/svg%3e")}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.card-control{--post-card-control-border-color: FieldText;--post-card-control-bg: Field;--post-card-control-color: FieldText;--post-card-control-input-border-color: FieldText;--post-card-control-input-bg: Field;outline:2px solid Field;outline-offset:-4px}.card-control .card-control--input{outline:2px solid Field}.card-control .card-control--input[type]{background-color:Field !important}.card-control .card-control--input::after{border-color:Field !important}.card-control .card-control--label,.card-control .card-control--content{background-color:var(--post-card-control-bg) !important}.card-control:not(.is-disabled).is-checked{--post-card-control-border-color: FieldText;--post-card-control-bg: SelectedItem;--post-card-control-color: SelectedItemText;--post-card-control-input-border-color: FieldText}.card-control:not(.is-disabled).is-checked .card-control--input::after{background-color:FieldText !important}.card-control:not(.is-disabled):hover{--post-card-control-border-color: Highlight;--post-card-control-bg: Field;--post-card-control-color: FieldText;--post-card-control-input-border-color: Highlight}.card-control.is-disabled{--post-card-control-border-color: GrayText;--post-card-control-bg: Field;--post-card-control-color: FieldText;--post-card-control-input-border-color: GrayText;--post-card-control-input-bg: Field}.card-control.is-disabled .card-control--input{background-image:url("data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\'%3e%3crect width=\'100%\' height=\'100%\' fill=\'none\' stroke=\'GrayText\' stroke-width=\'4px \' stroke-dasharray=\'2 1.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4 1.5 2 3.5 4 1.5 4 1.5 4\' pathLength=\'88\' /%3e%3c/svg%3e")}.card-control.is-disabled .card-control--input[type=radio]{background-image:url("data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\'%3e%3crect width=\'100%\' height=\'100%\' rx=\'100\' ry=\'100\' fill=\'none\' stroke=\'GrayText\' stroke-width=\'4px \' stroke-dasharray=\'4 2\' /%3e%3c/svg%3e")}.card-control.is-disabled.is-checked{--post-card-control-bg: SelectedItem;--post-card-control-color: SelectedItemText;position:relative;background-color:Field}.card-control.is-disabled.is-checked::before{display:block;content:"";position:absolute;inset:2px;background-color:SelectedItem;z-index:1}.card-control.is-disabled.is-checked>*{position:relative;z-index:2}.card-control.is-disabled.is-checked .card-control--input::after{background-color:FieldText !important}}@media(forced-colors: active)and (forced-colors: active),(forced-colors: active)and (-ms-high-contrast: active),(forced-colors: active)and (-ms-high-contrast: white-on-black),(-ms-high-contrast: active)and (forced-colors: active),(-ms-high-contrast: active)and (-ms-high-contrast: active),(-ms-high-contrast: active)and (-ms-high-contrast: white-on-black),(-ms-high-contrast: white-on-black)and (forced-colors: active),(-ms-high-contrast: white-on-black)and (-ms-high-contrast: active),(-ms-high-contrast: white-on-black)and (-ms-high-contrast: white-on-black){.card-control{--post-card-control-border-color: GrayText;--post-card-control-color: GrayText;--post-card-control-input-border-color: GrayText}.card-control.is-checked{--post-card-control-input-bg: field;position:relative}.card-control.is-checked::before{display:block;content:"";position:absolute;inset:2px;border-radius:1px;background-color:SelectedItem}.card-control.is-checked>*{position:relative}.card-control.is-checked .card-control--input{outline:2px solid Field}}:host-context(:is(.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])) .card-control{--post-card-control-border-color: #fff;--post-card-control-bg: transparent;--post-card-control-color: #fff;--post-card-control-input-border-color: #fff;--post-card-control-input-bg: transparent}:host-context(:is(.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])) .card-control:not(.is-disabled).is-checked{--post-card-control-border-color: #fc0;--post-card-control-bg: #fc0;--post-card-control-color: hsl(0, 0%, 20%);--post-card-control-input-border-color: hsl(0, 0%, 20%);--post-card-control-input-bg: #fff}:host-context(:is(.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])) .card-control:not(.is-disabled).is-invalid{--post-card-control-border-color: #a51728;--post-card-control-bg: #ffdade;--post-card-control-color: #a51728;--post-card-control-input-border-color: #a51728;--post-card-control-input-bg: #fff}:host-context(:is(.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])) .card-control:not(.is-disabled).is-invalid:where(.is-checked){--post-card-control-bg: #fc0}:host-context(:is(.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])) .card-control:not(.is-disabled):hover{--post-card-control-border-color: #000;--post-card-control-bg: hsl(0, 0%, 80%);--post-card-control-color: #000;--post-card-control-input-border-color: #000;--post-card-control-input-bg: #fff}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host-context(:is(.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])) .card-control:not(.is-disabled):hover{--post-card-control-border-color: Highlight;--post-card-control-bg: Field;--post-card-control-color: FieldText;--post-card-control-input-border-color: Highlight;--post-card-control-input-bg: Field}}:host-context(:is(.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])) .card-control.is-focused:where(:has(.card-control--input:focus-visible)){outline-color:#fff}:host-context(:is(.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])) .card-control.is-disabled{--post-card-control-border-color: post.$white-alpha-80;--post-card-control-bg: transparent;--post-card-control-color: post.$white-alpha-80;--post-card-control-input-border-color: post.$white-alpha-80;--post-card-control-input-bg: transparent}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host-context(:is(.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])) .card-control.is-disabled{--post-card-control-border-color: GrayText;--post-card-control-color: GrayText;--post-card-control-input-border-color: GrayText}:host-context(:is(.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])) .card-control.is-disabled.is-checked{--post-card-control-input-bg: Field}}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host-context(:is(.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])) .card-control{--post-card-control-border-color: FieldText;--post-card-control-bg: Field;--post-card-control-color: FieldText;--post-card-control-input-border-color: FieldText;--post-card-control-input-bg: Field}:host-context(:is(.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])) .card-control:not(.is-disabled).is-checked{--post-card-control-border-color: FieldText;--post-card-control-bg: SelectedItem;--post-card-control-color: SelectedItemText;--post-card-control-input-border-color: FieldText}:host-context(:is(.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])) .card-control:not(.is-disabled):hover{--post-card-control-border-color: Highlight;--post-card-control-bg: Field;--post-card-control-color: FieldText;--post-card-control-input-border-color: Highlight}:host-context(:is(.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])) .card-control.is-disabled{--post-card-control-border-color: GrayText;--post-card-control-bg: Field;--post-card-control-color: FieldText;--post-card-control-input-border-color: GrayText;--post-card-control-input-bg: Field}:host-context(:is(.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])) .card-control.is-disabled.is-checked{--post-card-control-bg: SelectedItem;--post-card-control-color: SelectedItemText}}:host(:not([data-context])){display:none}:host([data-context*=fieldset]:not(:last-child)) .card-control{margin-bottom:1rem}:host(:is([data-context*=".bg-dark"],[data-context*=".bg-black"],[data-context*=".bg-primary"],[data-context*=".bg-secondary"],[data-context*=".bg-success"],[data-context*=".bg-error"],[data-context*=".bg-nightblue"],[data-context*=".bg-nightblue-bright"],[data-context*=".bg-petrol"],[data-context*=".bg-coral"],[data-context*=".bg-olive"],[data-context*=".bg-purple"],[data-context*=".bg-purple-bright"],[data-context*=".bg-aubergine"],[data-context*=".bg-aubergine-bright"],[data-context*=".alert-primary"],[data-context*="post-alert[type=primary]"],[data-context*=".alert-success"],[data-context*="post-alert[type=success]"],[data-context*=".alert-danger"],[data-context*="post-alert[type=danger]"],[data-context*=".alert-notification"],[data-context*="post-alert[type=notification]"],[data-context*=".alert-error"],[data-context*="post-alert[type=error]"])) .card-control{--post-card-control-border-color: #fff;--post-card-control-bg: transparent;--post-card-control-color: #fff;--post-card-control-input-border-color: #fff;--post-card-control-input-bg: transparent}:host(:is([data-context*=".bg-dark"],[data-context*=".bg-black"],[data-context*=".bg-primary"],[data-context*=".bg-secondary"],[data-context*=".bg-success"],[data-context*=".bg-error"],[data-context*=".bg-nightblue"],[data-context*=".bg-nightblue-bright"],[data-context*=".bg-petrol"],[data-context*=".bg-coral"],[data-context*=".bg-olive"],[data-context*=".bg-purple"],[data-context*=".bg-purple-bright"],[data-context*=".bg-aubergine"],[data-context*=".bg-aubergine-bright"],[data-context*=".alert-primary"],[data-context*="post-alert[type=primary]"],[data-context*=".alert-success"],[data-context*="post-alert[type=success]"],[data-context*=".alert-danger"],[data-context*="post-alert[type=danger]"],[data-context*=".alert-notification"],[data-context*="post-alert[type=notification]"],[data-context*=".alert-error"],[data-context*="post-alert[type=error]"])) .card-control:not(.is-disabled).is-checked{--post-card-control-border-color: #fc0;--post-card-control-bg: #fc0;--post-card-control-color: hsl(0, 0%, 20%);--post-card-control-input-border-color: hsl(0, 0%, 20%);--post-card-control-input-bg: #fff}:host(:is([data-context*=".bg-dark"],[data-context*=".bg-black"],[data-context*=".bg-primary"],[data-context*=".bg-secondary"],[data-context*=".bg-success"],[data-context*=".bg-error"],[data-context*=".bg-nightblue"],[data-context*=".bg-nightblue-bright"],[data-context*=".bg-petrol"],[data-context*=".bg-coral"],[data-context*=".bg-olive"],[data-context*=".bg-purple"],[data-context*=".bg-purple-bright"],[data-context*=".bg-aubergine"],[data-context*=".bg-aubergine-bright"],[data-context*=".alert-primary"],[data-context*="post-alert[type=primary]"],[data-context*=".alert-success"],[data-context*="post-alert[type=success]"],[data-context*=".alert-danger"],[data-context*="post-alert[type=danger]"],[data-context*=".alert-notification"],[data-context*="post-alert[type=notification]"],[data-context*=".alert-error"],[data-context*="post-alert[type=error]"])) .card-control:not(.is-disabled).is-invalid{--post-card-control-border-color: #a51728;--post-card-control-bg: #ffdade;--post-card-control-color: #a51728;--post-card-control-input-border-color: #a51728;--post-card-control-input-bg: #fff}:host(:is([data-context*=".bg-dark"],[data-context*=".bg-black"],[data-context*=".bg-primary"],[data-context*=".bg-secondary"],[data-context*=".bg-success"],[data-context*=".bg-error"],[data-context*=".bg-nightblue"],[data-context*=".bg-nightblue-bright"],[data-context*=".bg-petrol"],[data-context*=".bg-coral"],[data-context*=".bg-olive"],[data-context*=".bg-purple"],[data-context*=".bg-purple-bright"],[data-context*=".bg-aubergine"],[data-context*=".bg-aubergine-bright"],[data-context*=".alert-primary"],[data-context*="post-alert[type=primary]"],[data-context*=".alert-success"],[data-context*="post-alert[type=success]"],[data-context*=".alert-danger"],[data-context*="post-alert[type=danger]"],[data-context*=".alert-notification"],[data-context*="post-alert[type=notification]"],[data-context*=".alert-error"],[data-context*="post-alert[type=error]"])) .card-control:not(.is-disabled).is-invalid:where(.is-checked){--post-card-control-bg: #fc0}:host(:is([data-context*=".bg-dark"],[data-context*=".bg-black"],[data-context*=".bg-primary"],[data-context*=".bg-secondary"],[data-context*=".bg-success"],[data-context*=".bg-error"],[data-context*=".bg-nightblue"],[data-context*=".bg-nightblue-bright"],[data-context*=".bg-petrol"],[data-context*=".bg-coral"],[data-context*=".bg-olive"],[data-context*=".bg-purple"],[data-context*=".bg-purple-bright"],[data-context*=".bg-aubergine"],[data-context*=".bg-aubergine-bright"],[data-context*=".alert-primary"],[data-context*="post-alert[type=primary]"],[data-context*=".alert-success"],[data-context*="post-alert[type=success]"],[data-context*=".alert-danger"],[data-context*="post-alert[type=danger]"],[data-context*=".alert-notification"],[data-context*="post-alert[type=notification]"],[data-context*=".alert-error"],[data-context*="post-alert[type=error]"])) .card-control:not(.is-disabled):hover{--post-card-control-border-color: #000;--post-card-control-bg: hsl(0, 0%, 80%);--post-card-control-color: #000;--post-card-control-input-border-color: #000;--post-card-control-input-bg: #fff}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(:is([data-context*=".bg-dark"],[data-context*=".bg-black"],[data-context*=".bg-primary"],[data-context*=".bg-secondary"],[data-context*=".bg-success"],[data-context*=".bg-error"],[data-context*=".bg-nightblue"],[data-context*=".bg-nightblue-bright"],[data-context*=".bg-petrol"],[data-context*=".bg-coral"],[data-context*=".bg-olive"],[data-context*=".bg-purple"],[data-context*=".bg-purple-bright"],[data-context*=".bg-aubergine"],[data-context*=".bg-aubergine-bright"],[data-context*=".alert-primary"],[data-context*="post-alert[type=primary]"],[data-context*=".alert-success"],[data-context*="post-alert[type=success]"],[data-context*=".alert-danger"],[data-context*="post-alert[type=danger]"],[data-context*=".alert-notification"],[data-context*="post-alert[type=notification]"],[data-context*=".alert-error"],[data-context*="post-alert[type=error]"])) .card-control:not(.is-disabled):hover{--post-card-control-border-color: Highlight;--post-card-control-bg: Field;--post-card-control-color: FieldText;--post-card-control-input-border-color: Highlight;--post-card-control-input-bg: Field}}:host(:is([data-context*=".bg-dark"],[data-context*=".bg-black"],[data-context*=".bg-primary"],[data-context*=".bg-secondary"],[data-context*=".bg-success"],[data-context*=".bg-error"],[data-context*=".bg-nightblue"],[data-context*=".bg-nightblue-bright"],[data-context*=".bg-petrol"],[data-context*=".bg-coral"],[data-context*=".bg-olive"],[data-context*=".bg-purple"],[data-context*=".bg-purple-bright"],[data-context*=".bg-aubergine"],[data-context*=".bg-aubergine-bright"],[data-context*=".alert-primary"],[data-context*="post-alert[type=primary]"],[data-context*=".alert-success"],[data-context*="post-alert[type=success]"],[data-context*=".alert-danger"],[data-context*="post-alert[type=danger]"],[data-context*=".alert-notification"],[data-context*="post-alert[type=notification]"],[data-context*=".alert-error"],[data-context*="post-alert[type=error]"])) .card-control.is-focused:where(:has(.card-control--input:focus-visible)){outline-color:#fff}:host(:is([data-context*=".bg-dark"],[data-context*=".bg-black"],[data-context*=".bg-primary"],[data-context*=".bg-secondary"],[data-context*=".bg-success"],[data-context*=".bg-error"],[data-context*=".bg-nightblue"],[data-context*=".bg-nightblue-bright"],[data-context*=".bg-petrol"],[data-context*=".bg-coral"],[data-context*=".bg-olive"],[data-context*=".bg-purple"],[data-context*=".bg-purple-bright"],[data-context*=".bg-aubergine"],[data-context*=".bg-aubergine-bright"],[data-context*=".alert-primary"],[data-context*="post-alert[type=primary]"],[data-context*=".alert-success"],[data-context*="post-alert[type=success]"],[data-context*=".alert-danger"],[data-context*="post-alert[type=danger]"],[data-context*=".alert-notification"],[data-context*="post-alert[type=notification]"],[data-context*=".alert-error"],[data-context*="post-alert[type=error]"])) .card-control.is-disabled{--post-card-control-border-color: post.$white-alpha-80;--post-card-control-bg: transparent;--post-card-control-color: post.$white-alpha-80;--post-card-control-input-border-color: post.$white-alpha-80;--post-card-control-input-bg: transparent}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(:is([data-context*=".bg-dark"],[data-context*=".bg-black"],[data-context*=".bg-primary"],[data-context*=".bg-secondary"],[data-context*=".bg-success"],[data-context*=".bg-error"],[data-context*=".bg-nightblue"],[data-context*=".bg-nightblue-bright"],[data-context*=".bg-petrol"],[data-context*=".bg-coral"],[data-context*=".bg-olive"],[data-context*=".bg-purple"],[data-context*=".bg-purple-bright"],[data-context*=".bg-aubergine"],[data-context*=".bg-aubergine-bright"],[data-context*=".alert-primary"],[data-context*="post-alert[type=primary]"],[data-context*=".alert-success"],[data-context*="post-alert[type=success]"],[data-context*=".alert-danger"],[data-context*="post-alert[type=danger]"],[data-context*=".alert-notification"],[data-context*="post-alert[type=notification]"],[data-context*=".alert-error"],[data-context*="post-alert[type=error]"])) .card-control.is-disabled{--post-card-control-border-color: GrayText;--post-card-control-color: GrayText;--post-card-control-input-border-color: GrayText}:host(:is([data-context*=".bg-dark"],[data-context*=".bg-black"],[data-context*=".bg-primary"],[data-context*=".bg-secondary"],[data-context*=".bg-success"],[data-context*=".bg-error"],[data-context*=".bg-nightblue"],[data-context*=".bg-nightblue-bright"],[data-context*=".bg-petrol"],[data-context*=".bg-coral"],[data-context*=".bg-olive"],[data-context*=".bg-purple"],[data-context*=".bg-purple-bright"],[data-context*=".bg-aubergine"],[data-context*=".bg-aubergine-bright"],[data-context*=".alert-primary"],[data-context*="post-alert[type=primary]"],[data-context*=".alert-success"],[data-context*="post-alert[type=success]"],[data-context*=".alert-danger"],[data-context*="post-alert[type=danger]"],[data-context*=".alert-notification"],[data-context*="post-alert[type=notification]"],[data-context*=".alert-error"],[data-context*="post-alert[type=error]"])) .card-control.is-disabled.is-checked{--post-card-control-input-bg: Field}}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(:is([data-context*=".bg-dark"],[data-context*=".bg-black"],[data-context*=".bg-primary"],[data-context*=".bg-secondary"],[data-context*=".bg-success"],[data-context*=".bg-error"],[data-context*=".bg-nightblue"],[data-context*=".bg-nightblue-bright"],[data-context*=".bg-petrol"],[data-context*=".bg-coral"],[data-context*=".bg-olive"],[data-context*=".bg-purple"],[data-context*=".bg-purple-bright"],[data-context*=".bg-aubergine"],[data-context*=".bg-aubergine-bright"],[data-context*=".alert-primary"],[data-context*="post-alert[type=primary]"],[data-context*=".alert-success"],[data-context*="post-alert[type=success]"],[data-context*=".alert-danger"],[data-context*="post-alert[type=danger]"],[data-context*=".alert-notification"],[data-context*="post-alert[type=notification]"],[data-context*=".alert-error"],[data-context*="post-alert[type=error]"])) .card-control{--post-card-control-border-color: FieldText;--post-card-control-bg: Field;--post-card-control-color: FieldText;--post-card-control-input-border-color: FieldText;--post-card-control-input-bg: Field}:host(:is([data-context*=".bg-dark"],[data-context*=".bg-black"],[data-context*=".bg-primary"],[data-context*=".bg-secondary"],[data-context*=".bg-success"],[data-context*=".bg-error"],[data-context*=".bg-nightblue"],[data-context*=".bg-nightblue-bright"],[data-context*=".bg-petrol"],[data-context*=".bg-coral"],[data-context*=".bg-olive"],[data-context*=".bg-purple"],[data-context*=".bg-purple-bright"],[data-context*=".bg-aubergine"],[data-context*=".bg-aubergine-bright"],[data-context*=".alert-primary"],[data-context*="post-alert[type=primary]"],[data-context*=".alert-success"],[data-context*="post-alert[type=success]"],[data-context*=".alert-danger"],[data-context*="post-alert[type=danger]"],[data-context*=".alert-notification"],[data-context*="post-alert[type=notification]"],[data-context*=".alert-error"],[data-context*="post-alert[type=error]"])) .card-control:not(.is-disabled).is-checked{--post-card-control-border-color: FieldText;--post-card-control-bg: SelectedItem;--post-card-control-color: SelectedItemText;--post-card-control-input-border-color: FieldText}:host(:is([data-context*=".bg-dark"],[data-context*=".bg-black"],[data-context*=".bg-primary"],[data-context*=".bg-secondary"],[data-context*=".bg-success"],[data-context*=".bg-error"],[data-context*=".bg-nightblue"],[data-context*=".bg-nightblue-bright"],[data-context*=".bg-petrol"],[data-context*=".bg-coral"],[data-context*=".bg-olive"],[data-context*=".bg-purple"],[data-context*=".bg-purple-bright"],[data-context*=".bg-aubergine"],[data-context*=".bg-aubergine-bright"],[data-context*=".alert-primary"],[data-context*="post-alert[type=primary]"],[data-context*=".alert-success"],[data-context*="post-alert[type=success]"],[data-context*=".alert-danger"],[data-context*="post-alert[type=danger]"],[data-context*=".alert-notification"],[data-context*="post-alert[type=notification]"],[data-context*=".alert-error"],[data-context*="post-alert[type=error]"])) .card-control:not(.is-disabled):hover{--post-card-control-border-color: Highlight;--post-card-control-bg: Field;--post-card-control-color: FieldText;--post-card-control-input-border-color: Highlight}:host(:is([data-context*=".bg-dark"],[data-context*=".bg-black"],[data-context*=".bg-primary"],[data-context*=".bg-secondary"],[data-context*=".bg-success"],[data-context*=".bg-error"],[data-context*=".bg-nightblue"],[data-context*=".bg-nightblue-bright"],[data-context*=".bg-petrol"],[data-context*=".bg-coral"],[data-context*=".bg-olive"],[data-context*=".bg-purple"],[data-context*=".bg-purple-bright"],[data-context*=".bg-aubergine"],[data-context*=".bg-aubergine-bright"],[data-context*=".alert-primary"],[data-context*="post-alert[type=primary]"],[data-context*=".alert-success"],[data-context*="post-alert[type=success]"],[data-context*=".alert-danger"],[data-context*="post-alert[type=danger]"],[data-context*=".alert-notification"],[data-context*="post-alert[type=notification]"],[data-context*=".alert-error"],[data-context*="post-alert[type=error]"])) .card-control.is-disabled{--post-card-control-border-color: GrayText;--post-card-control-bg: Field;--post-card-control-color: FieldText;--post-card-control-input-border-color: GrayText;--post-card-control-input-bg: Field}:host(:is([data-context*=".bg-dark"],[data-context*=".bg-black"],[data-context*=".bg-primary"],[data-context*=".bg-secondary"],[data-context*=".bg-success"],[data-context*=".bg-error"],[data-context*=".bg-nightblue"],[data-context*=".bg-nightblue-bright"],[data-context*=".bg-petrol"],[data-context*=".bg-coral"],[data-context*=".bg-olive"],[data-context*=".bg-purple"],[data-context*=".bg-purple-bright"],[data-context*=".bg-aubergine"],[data-context*=".bg-aubergine-bright"],[data-context*=".alert-primary"],[data-context*="post-alert[type=primary]"],[data-context*=".alert-success"],[data-context*="post-alert[type=success]"],[data-context*=".alert-danger"],[data-context*="post-alert[type=danger]"],[data-context*=".alert-notification"],[data-context*="post-alert[type=notification]"],[data-context*=".alert-error"],[data-context*="post-alert[type=error]"])) .card-control.is-disabled.is-checked{--post-card-control-bg: SelectedItem;--post-card-control-color:SelectedItemText}';export{s as P}
@@ -0,0 +1 @@
1
+ export{P as post_rating}from"./p-517f2648.js";import"./p-d2f9de94.js";import"./p-6b8378bf.js";
@@ -0,0 +1 @@
1
+ import{E as r}from"./p-440193f4.js";import{c as o}from"./p-611b3c41.js";function t(o){return(...t)=>{const n=t[0];r.some((r=>r===n))||o(...t)}}function n(r,o,t){const n="array"===o,f=Array.isArray(r);if(n||f){if(f!==n)throw new Error(t)}else if(typeof r!==o)throw new Error(t)}const f=t(o),s=t((function(r,o,t){if("string"!=typeof r||!o.test(r))throw new Error(t)})),e=t(n),i=t((function(r,o){if("string"!=typeof r&&!(r instanceof URL))throw new Error(o);try{new URL(r)}catch(r){throw new Error(o)}}));export{n as a,s as b,f as c,e as d,i as e}
@@ -0,0 +1 @@
1
+ export{P as post_card_control}from"./p-d4163064.js";import"./p-d2f9de94.js";import"./p-611b3c41.js";import"./p-b095519d.js";import"./p-440193f4.js";import"./p-6b8378bf.js";
@@ -0,0 +1 @@
1
+ export{P as post_popovercontainer}from"./p-b8c5020d.js";import"./p-d2f9de94.js";import"./p-6b8378bf.js";
@@ -1 +1 @@
1
- import{p as e,b as a}from"./p-c0f265c8.js";export{s as setNonce}from"./p-c0f265c8.js";import{g as l}from"./p-e1255160.js";(()=>{const a=import.meta.url,l={};return""!==a&&(l.resourcesUrl=new URL(".",a).href),e(l)})().then((async e=>(await l(),a([["p-4ce46830",[[1,"post-accordion-item",{collapsed:[1028],headingLevel:[2,"heading-level"],id:[32],toggle:[64]},[[2,"postToggle","onCollapseToggle"]],{headingLevel:["validateHeadingLevel"]}]]],["p-2c9277b1",[[1,"post-alert",{dismissible:[4],dismissLabel:[1,"dismiss-label"],fixed:[4],icon:[1],type:[1],alertId:[32],classes:[32],hasActions:[32],hasHeading:[32],onDismissButtonClick:[32],dismiss:[64]},null,{dismissible:["validateDismissible"],dismissLabel:["validateDismissLabel"],fixed:["validateFixed"],icon:["validateIcon"],type:["validateType"]}]]],["p-5135c965",[[65,"post-card-control",{label:[1],description:[1],type:[1],name:[1],value:[1],checked:[1028],disabled:[1028],validity:[1025],icon:[1],focused:[32],reset:[64],groupReset:[64]},null,{label:["validateControlLabel"],type:["validateControlType"],checked:["updateControlChecked"],disabled:["updateControlDisbled"]}]]],["p-48ed21f0",[[4,"post-popovercontainer",{placement:[1],arrow:[4],show:[64],hide:[64],toggle:[64]}]]],["p-2240981f",[[1,"post-popover",{placement:[1],closeButtonCaption:[1,"close-button-caption"],arrow:[4],show:[64],hide:[64],toggle:[64]}]]],["p-27cb2e60",[[1,"post-icon",{animation:[1],base:[1],flipH:[4,"flip-h"],flipV:[4,"flip-v"],name:[1],rotate:[2],scale:[2],svgStyles:[32],svgOutput:[32]},null,{animation:["validateAnimation"],base:["validateBase"],flipH:["validateFlipH"],flipV:["validateFlipV"],name:["validateName"],rotate:["validateRotate"],scale:["validateScale"]}]]],["p-6af42a67",[[1,"post-rating",{label:[1],stars:[2],currentRating:[1026,"current-rating"],readonly:[4],hoveredIndex:[32]}]]],["p-3764a23a",[[1,"post-tag",{variant:[1],size:[1],icon:[1],classes:[32]},null,{variant:["variantChanged"],size:["sizeChanged"]}]]],["p-b08aca79",[[1,"post-tooltip",{placement:[1],arrow:[4],delayed:[4],show:[64],hide:[64],toggle:[64]},null,{delayed:["validateDelayed"]}]]],["p-7481e37a",[[1,"post-accordion",{headingLevel:[2,"heading-level"],multiple:[4],toggle:[64],expandAll:[64],collapseAll:[64]},[[0,"postToggle","collapseToggleHandler"]],{headingLevel:["validateHeadingLevel"]}]]],["p-ea063aae",[[1,"post-tab-header",{panel:[1],tabId:[32]},null,{panel:["validateFor"]}]]],["p-0aee269b",[[1,"post-tab-panel",{name:[1],panelId:[32]}]]],["p-8f0ee57c",[[1,"post-tabs",{activePanel:[1,"active-panel"],show:[64]}]]],["p-496cee95",[[1,"post-collapsible",{collapsed:[1028],toggle:[64]},null,{collapsed:["collapsedChange"]}],[0,"post-collapsible-trigger",{for:[1],update:[64]},null,{for:["setAriaAttributes"]}]]]],e))));
1
+ import{p as e,b as a}from"./p-d2f9de94.js";export{s as setNonce}from"./p-d2f9de94.js";import{g as l}from"./p-e1255160.js";(()=>{const a=import.meta.url,l={};return""!==a&&(l.resourcesUrl=new URL(".",a).href),e(l)})().then((async e=>(await l(),a([["p-04cb82f1",[[1,"post-accordion-item",{collapsed:[1028],headingLevel:[2,"heading-level"],id:[32],toggle:[64]},[[2,"postToggle","onCollapseToggle"]],{headingLevel:["validateHeadingLevel"]}]]],["p-78806458",[[1,"post-alert",{dismissible:[4],dismissLabel:[1,"dismiss-label"],fixed:[4],icon:[1],type:[1],alertId:[32],classes:[32],hasActions:[32],hasHeading:[32],onDismissButtonClick:[32],dismiss:[64]},null,{dismissible:["validateDismissible"],dismissLabel:["validateDismissLabel"],fixed:["validateFixed"],icon:["validateIcon"],type:["validateType"]}]]],["p-e597a879",[[65,"post-card-control",{label:[1],description:[1],type:[1],name:[1],value:[1],checked:[1028],disabled:[1028],validity:[1025],icon:[1],focused:[32],reset:[64],groupReset:[64]},null,{label:["validateControlLabel"],type:["validateControlType"],checked:["updateControlChecked"],disabled:["updateControlDisabled"]}]]],["p-eafc65f6",[[4,"post-popovercontainer",{placement:[1],arrow:[4],show:[64],hide:[64],toggle:[64]}]]],["p-be553212",[[1,"post-popover",{placement:[1],closeButtonCaption:[1,"close-button-caption"],arrow:[4],show:[64],hide:[64],toggle:[64]}]]],["p-ddab4c09",[[1,"post-rating",{label:[1],stars:[2],currentRating:[1026,"current-rating"],readonly:[4],hoveredIndex:[32]}]]],["p-71b8ba91",[[1,"post-tag",{variant:[1],size:[1],icon:[1],classes:[32]},null,{variant:["variantChanged"],size:["sizeChanged"]}]]],["p-5b918e0f",[[1,"post-tooltip",{placement:[1],arrow:[4],delayed:[4],show:[64],hide:[64],toggle:[64]},null,{delayed:["validateDelayed"]}]]],["p-6069d96e",[[1,"post-accordion",{headingLevel:[2,"heading-level"],multiple:[4],toggle:[64],expandAll:[64],collapseAll:[64]},[[0,"postToggle","collapseToggleHandler"]],{headingLevel:["validateHeadingLevel"]}]]],["p-53eb6ca5",[[1,"post-logo",{url:[1]},null,{url:["validateUrl"]}]]],["p-176b59a8",[[1,"post-tab-header",{panel:[1],tabId:[32]},null,{panel:["validateFor"]}]]],["p-b08e169f",[[1,"post-tab-panel",{name:[1],panelId:[32]}]]],["p-bf357eb3",[[1,"post-tabs",{activePanel:[1,"active-panel"],show:[64]}]]],["p-12f3ce0c",[[1,"post-collapsible",{collapsed:[1028],toggle:[64]},null,{collapsed:["collapsedChange"]}],[0,"post-collapsible-trigger",{for:[1],update:[64]},null,{for:["setAriaAttributes"]}]]],["p-851ef572",[[1,"post-icon",{animation:[1],base:[1],flipH:[4,"flip-h"],flipV:[4,"flip-v"],name:[1],rotate:[2],scale:[2],svgStyles:[32],svgOutput:[32]},null,{animation:["validateAnimation"],base:["validateBase"],flipH:["validateFlipH"],flipV:["validateFlipV"],name:["validateName"],rotate:["validateRotate"],scale:["validateScale"]}]]]],e))));
@@ -39,20 +39,20 @@ export declare class PostCardControl {
39
39
  */
40
40
  readonly value: string;
41
41
  /**
42
- * Defines the `checked` attribute of the control. If `true`, the control is selected at its value will be included in the forms data.
42
+ * Defines the `checked` attribute of the control. If `true`, the control is selected at its value will be included in the forms' data.
43
43
  */
44
44
  checked: boolean;
45
45
  /**
46
- * Defines the `disabled` attribute of the control. If `true`, the user can not interact with the control and the controls value will not be included in the forms data.
46
+ * Defines the `disabled` attribute of the control. If `true`, the user can not interact with the control and the controls value will not be included in the forms' data.
47
47
  */
48
48
  disabled: boolean;
49
49
  /**
50
50
  * Defines the validation `validity` of the control.
51
- * To reset validity to an undefiend state, simply remove the attribute from the control.
51
+ * To reset validity to an undefined state, simply remove the attribute from the control.
52
52
  */
53
53
  validity: null | 'true' | 'false';
54
54
  /**
55
- * Defines the icon `name` inside of the card.
55
+ * Defines the icon `name` inside the card.
56
56
  * <span className="alert alert-sm alert-info">If not set the icon will not show up.</span>
57
57
  */
58
58
  readonly icon: string;
@@ -85,7 +85,7 @@ export declare class PostCardControl {
85
85
  validateControlLabel(label?: string): void;
86
86
  validateControlType(type?: "checkbox" | "radio"): void;
87
87
  updateControlChecked(checked?: boolean): void;
88
- updateControlDisbled(): void;
88
+ updateControlDisabled(): void;
89
89
  constructor();
90
90
  private cardClickHandler;
91
91
  private controlClickHandler;
@@ -97,8 +97,6 @@ export declare class PostCardControl {
97
97
  private groupGetPrev;
98
98
  private groupGetNext;
99
99
  private groupSetChecked;
100
- private readonly HOST_CONTEXT_FILTERS;
101
- private hostContext;
102
100
  private setHostContext;
103
101
  connectedCallback(): void;
104
102
  componentWillRender(): void;
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @slot default - Slot for placing hidden descriptive text. If `url` is set, this text will serve as the accessible name of the link; otherwise, it will be used as the title of the SVG.
3
+ */
4
+ export declare class PostLogo {
5
+ host: HTMLPostLogoElement;
6
+ /**
7
+ * The URL to which the user is redirected upon clicking the logo.
8
+ */
9
+ url: string | URL;
10
+ validateUrl(): void;
11
+ connectedCallback(): void;
12
+ private checkDescription;
13
+ render(): any;
14
+ }
@@ -80,7 +80,7 @@ export namespace Components {
80
80
  */
81
81
  interface PostCardControl {
82
82
  /**
83
- * Defines the `checked` attribute of the control. If `true`, the control is selected at its value will be included in the forms data.
83
+ * Defines the `checked` attribute of the control. If `true`, the control is selected at its value will be included in the forms' data.
84
84
  */
85
85
  "checked": boolean;
86
86
  /**
@@ -88,7 +88,7 @@ export namespace Components {
88
88
  */
89
89
  "description": string;
90
90
  /**
91
- * Defines the `disabled` attribute of the control. If `true`, the user can not interact with the control and the controls value will not be included in the forms data.
91
+ * Defines the `disabled` attribute of the control. If `true`, the user can not interact with the control and the controls value will not be included in the forms' data.
92
92
  */
93
93
  "disabled": boolean;
94
94
  /**
@@ -96,7 +96,7 @@ export namespace Components {
96
96
  */
97
97
  "groupReset": () => Promise<void>;
98
98
  /**
99
- * Defines the icon `name` inside of the card. <span className="alert alert-sm alert-info">If not set the icon will not show up.</span>
99
+ * Defines the icon `name` inside the card. <span className="alert alert-sm alert-info">If not set the icon will not show up.</span>
100
100
  */
101
101
  "icon": string;
102
102
  /**
@@ -116,7 +116,7 @@ export namespace Components {
116
116
  */
117
117
  "type": 'checkbox' | 'radio';
118
118
  /**
119
- * Defines the validation `validity` of the control. To reset validity to an undefiend state, simply remove the attribute from the control.
119
+ * Defines the validation `validity` of the control. To reset validity to an undefined state, simply remove the attribute from the control.
120
120
  */
121
121
  "validity": null | 'true' | 'false';
122
122
  /**
@@ -177,6 +177,12 @@ export namespace Components {
177
177
  */
178
178
  "scale"?: number | null;
179
179
  }
180
+ interface PostLogo {
181
+ /**
182
+ * The URL to which the user is redirected upon clicking the logo.
183
+ */
184
+ "url": string | URL;
185
+ }
180
186
  interface PostPopover {
181
187
  /**
182
188
  * Show a little indicator arrow
@@ -422,6 +428,12 @@ declare global {
422
428
  prototype: HTMLPostIconElement;
423
429
  new (): HTMLPostIconElement;
424
430
  };
431
+ interface HTMLPostLogoElement extends Components.PostLogo, HTMLStencilElement {
432
+ }
433
+ var HTMLPostLogoElement: {
434
+ prototype: HTMLPostLogoElement;
435
+ new (): HTMLPostLogoElement;
436
+ };
425
437
  interface HTMLPostPopoverElement extends Components.PostPopover, HTMLStencilElement {
426
438
  }
427
439
  var HTMLPostPopoverElement: {
@@ -512,6 +524,7 @@ declare global {
512
524
  "post-collapsible": HTMLPostCollapsibleElement;
513
525
  "post-collapsible-trigger": HTMLPostCollapsibleTriggerElement;
514
526
  "post-icon": HTMLPostIconElement;
527
+ "post-logo": HTMLPostLogoElement;
515
528
  "post-popover": HTMLPostPopoverElement;
516
529
  "post-popovercontainer": HTMLPostPopovercontainerElement;
517
530
  "post-rating": HTMLPostRatingElement;
@@ -575,7 +588,7 @@ declare namespace LocalJSX {
575
588
  */
576
589
  interface PostCardControl {
577
590
  /**
578
- * Defines the `checked` attribute of the control. If `true`, the control is selected at its value will be included in the forms data.
591
+ * Defines the `checked` attribute of the control. If `true`, the control is selected at its value will be included in the forms' data.
579
592
  */
580
593
  "checked"?: boolean;
581
594
  /**
@@ -583,11 +596,11 @@ declare namespace LocalJSX {
583
596
  */
584
597
  "description"?: string;
585
598
  /**
586
- * Defines the `disabled` attribute of the control. If `true`, the user can not interact with the control and the controls value will not be included in the forms data.
599
+ * Defines the `disabled` attribute of the control. If `true`, the user can not interact with the control and the controls value will not be included in the forms' data.
587
600
  */
588
601
  "disabled"?: boolean;
589
602
  /**
590
- * Defines the icon `name` inside of the card. <span className="alert alert-sm alert-info">If not set the icon will not show up.</span>
603
+ * Defines the icon `name` inside the card. <span className="alert alert-sm alert-info">If not set the icon will not show up.</span>
591
604
  */
592
605
  "icon"?: string;
593
606
  /**
@@ -611,7 +624,7 @@ declare namespace LocalJSX {
611
624
  */
612
625
  "type": 'checkbox' | 'radio';
613
626
  /**
614
- * Defines the validation `validity` of the control. To reset validity to an undefiend state, simply remove the attribute from the control.
627
+ * Defines the validation `validity` of the control. To reset validity to an undefined state, simply remove the attribute from the control.
615
628
  */
616
629
  "validity"?: null | 'true' | 'false';
617
630
  /**
@@ -668,6 +681,12 @@ declare namespace LocalJSX {
668
681
  */
669
682
  "scale"?: number | null;
670
683
  }
684
+ interface PostLogo {
685
+ /**
686
+ * The URL to which the user is redirected upon clicking the logo.
687
+ */
688
+ "url"?: string | URL;
689
+ }
671
690
  interface PostPopover {
672
691
  /**
673
692
  * Show a little indicator arrow
@@ -780,6 +799,7 @@ declare namespace LocalJSX {
780
799
  "post-collapsible": PostCollapsible;
781
800
  "post-collapsible-trigger": PostCollapsibleTrigger;
782
801
  "post-icon": PostIcon;
802
+ "post-logo": PostLogo;
783
803
  "post-popover": PostPopover;
784
804
  "post-popovercontainer": PostPopovercontainer;
785
805
  "post-rating": PostRating;
@@ -807,6 +827,7 @@ declare module "@stencil/core" {
807
827
  * @class PostIcon - representing a stencil component
808
828
  */
809
829
  "post-icon": LocalJSX.PostIcon & JSXBase.HTMLAttributes<HTMLPostIconElement>;
830
+ "post-logo": LocalJSX.PostLogo & JSXBase.HTMLAttributes<HTMLPostLogoElement>;
810
831
  "post-popover": LocalJSX.PostPopover & JSXBase.HTMLAttributes<HTMLPostPopoverElement>;
811
832
  "post-popovercontainer": LocalJSX.PostPopovercontainer & JSXBase.HTMLAttributes<HTMLPostPopovercontainerElement>;
812
833
  "post-rating": LocalJSX.PostRating & JSXBase.HTMLAttributes<HTMLPostRatingElement>;
@@ -6,6 +6,7 @@ export { PostCardControl } from './components/post-card-control/post-card-contro
6
6
  export { PostCollapsible } from './components/post-collapsible/post-collapsible';
7
7
  export { PostCollapsibleTrigger } from './components/post-collapsible-trigger/post-collapsible-trigger';
8
8
  export { PostIcon } from './components/post-icon/post-icon';
9
+ export { PostLogo } from './components/post-logo/post-logo';
9
10
  export { PostPopover } from './components/post-popover/post-popover';
10
11
  export { PostPopovercontainer } from './components/post-popovercontainer/post-popovercontainer';
11
12
  export { PostRating } from './components/post-rating/post-rating';
@@ -0,0 +1,6 @@
1
+ import { HostElement } from '../stencil-public-runtime';
2
+ /**
3
+ * Invoke the `componentOnReady` method if it is available, simulate it otherwise
4
+ * @see https://stenciljs.com/docs/api#componentonready
5
+ */
6
+ export declare const componentOnReady: <T extends HostElement>(el: T) => Promise<T>;
@@ -1,3 +1,4 @@
1
+ export * from './component-on-ready';
1
2
  export * from './property-checkers';
2
3
  export * from './debounce';
3
4
  export * from './get-root';
@@ -0,0 +1 @@
1
+ export declare function checkUrl(value: unknown, error: string): void;
@@ -1,7 +1,9 @@
1
1
  export declare const checkEmptyOrOneOf: <T>(value: T, possibleValues: readonly T[], error: string) => void;
2
2
  export declare const checkEmptyOrPattern: (value: unknown, pattern: RegExp, errorMessage: string) => void;
3
3
  export declare const checkEmptyOrType: (value: unknown, type: import("./check-type").PropertyType, error: string) => void;
4
+ export declare const checkEmptyOrUrl: (value: unknown, error: string) => void;
4
5
  export * from './check-non-empty';
5
6
  export * from './check-one-of';
6
7
  export * from './check-pattern';
7
8
  export * from './check-type';
9
+ export * from './check-url';
@@ -0,0 +1,25 @@
1
+ const getAttributeObserver = (attribute, handler) => {
2
+ /**
3
+ * Handle attribute changes and childList changes from the observer
4
+ * @param {MutationRecord[]} mutationList
5
+ */
6
+ const observerHandler = (mutationList) => {
7
+ mutationList.forEach(mutation => {
8
+ if (mutation.type === 'attributes' && mutation.attributeName === attribute) {
9
+ handler(mutation.target);
10
+ }
11
+ if (mutation.type === 'childList') {
12
+ mutation.addedNodes.forEach(node => {
13
+ if (node.nodeType === Node.ELEMENT_NODE &&
14
+ node.hasAttribute(attribute)) {
15
+ handler(node);
16
+ }
17
+ });
18
+ }
19
+ });
20
+ };
21
+ // Initialize a mutation observer for patching accessibility features
22
+ return new MutationObserver(observerHandler);
23
+ };
24
+
25
+ export { getAttributeObserver as g };
@@ -0,0 +1,9 @@
1
+ import { E as EMPTY_VALUES } from './constants.js';
2
+
3
+ function checkNonEmpty(value, error) {
4
+ if (EMPTY_VALUES.some(v => v === value)) {
5
+ throw new Error(error);
6
+ }
7
+ }
8
+
9
+ export { checkNonEmpty as c };
@@ -0,0 +1,6 @@
1
+ function checkOneOf(value, possibleValues, error) {
2
+ if (!possibleValues.includes(value))
3
+ throw new Error(error);
4
+ }
5
+
6
+ export { checkOneOf as c };
@@ -0,0 +1,14 @@
1
+ function checkType(value, type, error) {
2
+ const typeIsArray = type === 'array';
3
+ const valueIsArray = Array.isArray(value);
4
+ if (typeIsArray || valueIsArray) {
5
+ if (valueIsArray !== typeIsArray)
6
+ throw new Error(error);
7
+ }
8
+ else {
9
+ if (typeof value !== type)
10
+ throw new Error(error);
11
+ }
12
+ }
13
+
14
+ export { checkType as c };
@@ -0,0 +1,3 @@
1
+ const EMPTY_VALUES = [undefined, null, ''];
2
+
3
+ export { EMPTY_VALUES as E };
@@ -0,0 +1,7 @@
1
+ const fadeDuration = 200;
2
+ const fadedOutKeyframe = { opacity: '0' };
3
+ const fadedInKeyframe = { opacity: '1' };
4
+ const fadeIn = (el) => el.animate([fadedOutKeyframe, fadedInKeyframe], { duration: fadeDuration });
5
+ const fadeOut = (el) => el.animate([fadedInKeyframe, fadedOutKeyframe], { duration: fadeDuration });
6
+
7
+ export { fadeIn as a, fadeOut as f };
@@ -0,0 +1,3 @@
1
+ const HEADING_LEVELS = [1, 2, 3, 4, 5, 6];
2
+
3
+ export { HEADING_LEVELS as H };
@@ -0,0 +1,68 @@
1
+ /* PostComponents custom elements */
2
+ export { PostAccordion as PostAccordion } from '../dist/types/components/post-accordion/post-accordion';
3
+ export { defineCustomElement as defineCustomElementPostAccordion } from './post-accordion';
4
+ export { PostAccordionItem as PostAccordionItem } from '../dist/types/components/post-accordion-item/post-accordion-item';
5
+ export { defineCustomElement as defineCustomElementPostAccordionItem } from './post-accordion-item';
6
+ export { PostAlert as PostAlert } from '../dist/types/components/post-alert/post-alert';
7
+ export { defineCustomElement as defineCustomElementPostAlert } from './post-alert';
8
+ export { PostCardControl as PostCardControl } from '../dist/types/components/post-card-control/post-card-control';
9
+ export { defineCustomElement as defineCustomElementPostCardControl } from './post-card-control';
10
+ export { PostCollapsible as PostCollapsible } from '../dist/types/components/post-collapsible/post-collapsible';
11
+ export { defineCustomElement as defineCustomElementPostCollapsible } from './post-collapsible';
12
+ export { PostCollapsibleTrigger as PostCollapsibleTrigger } from '../dist/types/components/post-collapsible-trigger/post-collapsible-trigger';
13
+ export { defineCustomElement as defineCustomElementPostCollapsibleTrigger } from './post-collapsible-trigger';
14
+ export { PostIcon as PostIcon } from '../dist/types/components/post-icon/post-icon';
15
+ export { defineCustomElement as defineCustomElementPostIcon } from './post-icon';
16
+ export { PostLogo as PostLogo } from '../dist/types/components/post-logo/post-logo';
17
+ export { defineCustomElement as defineCustomElementPostLogo } from './post-logo';
18
+ export { PostPopover as PostPopover } from '../dist/types/components/post-popover/post-popover';
19
+ export { defineCustomElement as defineCustomElementPostPopover } from './post-popover';
20
+ export { PostPopovercontainer as PostPopovercontainer } from '../dist/types/components/post-popovercontainer/post-popovercontainer';
21
+ export { defineCustomElement as defineCustomElementPostPopovercontainer } from './post-popovercontainer';
22
+ export { PostRating as PostRating } from '../dist/types/components/post-rating/post-rating';
23
+ export { defineCustomElement as defineCustomElementPostRating } from './post-rating';
24
+ export { PostTabHeader as PostTabHeader } from '../dist/types/components/post-tab-header/post-tab-header';
25
+ export { defineCustomElement as defineCustomElementPostTabHeader } from './post-tab-header';
26
+ export { PostTabPanel as PostTabPanel } from '../dist/types/components/post-tab-panel/post-tab-panel';
27
+ export { defineCustomElement as defineCustomElementPostTabPanel } from './post-tab-panel';
28
+ export { PostTabs as PostTabs } from '../dist/types/components/post-tabs/post-tabs';
29
+ export { defineCustomElement as defineCustomElementPostTabs } from './post-tabs';
30
+ export { PostTag as PostTag } from '../dist/types/components/post-tag/post-tag';
31
+ export { defineCustomElement as defineCustomElementPostTag } from './post-tag';
32
+ export { PostTooltip as PostTooltip } from '../dist/types/components/post-tooltip/post-tooltip';
33
+ export { defineCustomElement as defineCustomElementPostTooltip } from './post-tooltip';
34
+
35
+ /**
36
+ * Get the base path to where the assets can be found. Use "setAssetPath(path)"
37
+ * if the path needs to be customized.
38
+ */
39
+ export declare const getAssetPath: (path: string) => string;
40
+
41
+ /**
42
+ * Used to manually set the base path where assets can be found.
43
+ * If the script is used as "module", it's recommended to use "import.meta.url",
44
+ * such as "setAssetPath(import.meta.url)". Other options include
45
+ * "setAssetPath(document.currentScript.src)", or using a bundler's replace plugin to
46
+ * dynamically set the path at build time, such as "setAssetPath(process.env.ASSET_PATH)".
47
+ * But do note that this configuration depends on how your script is bundled, or lack of
48
+ * bundling, and where your assets can be loaded from. Additionally custom bundling
49
+ * will have to ensure the static assets are copied to its build directory.
50
+ */
51
+ export declare const setAssetPath: (path: string) => void;
52
+
53
+ /**
54
+ * Used to specify a nonce value that corresponds with an application's CSP.
55
+ * When set, the nonce will be added to all dynamically created script and style tags at runtime.
56
+ * Alternatively, the nonce value can be set on a meta tag in the DOM head
57
+ * (<meta name="csp-nonce" content="{ nonce value here }" />) which
58
+ * will result in the same behavior.
59
+ */
60
+ export declare const setNonce: (nonce: string) => void
61
+
62
+ export interface SetPlatformOptions {
63
+ raf?: (c: FrameRequestCallback) => number;
64
+ ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
65
+ rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
66
+ }
67
+ export declare const setPlatformOptions: (opts: SetPlatformOptions) => void;
68
+ export * from '../dist/types';
@@ -0,0 +1,18 @@
1
+ export { getAssetPath, setAssetPath, setNonce, setPlatformOptions } from '@stencil/core/internal/client';
2
+ export { PostPopover, defineCustomElement as defineCustomElementPostPopover } from './post-popover.js';
3
+ import './post-popovercontainer2.js';
4
+ export { PostTooltip, defineCustomElement as defineCustomElementPostTooltip } from './post-tooltip.js';
5
+ export { PostAccordion, defineCustomElement as defineCustomElementPostAccordion } from './post-accordion.js';
6
+ export { PostAccordionItem, defineCustomElement as defineCustomElementPostAccordionItem } from './post-accordion-item.js';
7
+ export { PostAlert, defineCustomElement as defineCustomElementPostAlert } from './post-alert.js';
8
+ export { PostCardControl, defineCustomElement as defineCustomElementPostCardControl } from './post-card-control.js';
9
+ export { PostCollapsible, defineCustomElement as defineCustomElementPostCollapsible } from './post-collapsible.js';
10
+ export { PostCollapsibleTrigger, defineCustomElement as defineCustomElementPostCollapsibleTrigger } from './post-collapsible-trigger.js';
11
+ export { PostIcon, defineCustomElement as defineCustomElementPostIcon } from './post-icon.js';
12
+ export { PostLogo, defineCustomElement as defineCustomElementPostLogo } from './post-logo.js';
13
+ export { PostPopovercontainer, defineCustomElement as defineCustomElementPostPopovercontainer } from './post-popovercontainer.js';
14
+ export { PostRating, defineCustomElement as defineCustomElementPostRating } from './post-rating.js';
15
+ export { PostTabHeader, defineCustomElement as defineCustomElementPostTabHeader } from './post-tab-header.js';
16
+ export { PostTabPanel, defineCustomElement as defineCustomElementPostTabPanel } from './post-tab-panel.js';
17
+ export { PostTabs, defineCustomElement as defineCustomElementPostTabs } from './post-tabs.js';
18
+ export { PostTag, defineCustomElement as defineCustomElementPostTag } from './post-tag.js';
@@ -0,0 +1,34 @@
1
+ import { E as EMPTY_VALUES } from './constants.js';
2
+ import { c as checkOneOf } from './check-one-of.js';
3
+ import { c as checkType } from './check-type.js';
4
+
5
+ function emptyOr(check) {
6
+ return (...args) => {
7
+ const value = args[0];
8
+ if (!EMPTY_VALUES.some(v => v === value))
9
+ check(...args);
10
+ };
11
+ }
12
+
13
+ function checkPattern(value, pattern, errorMessage) {
14
+ if (typeof value !== 'string' || !pattern.test(value))
15
+ throw new Error(errorMessage);
16
+ }
17
+
18
+ function checkUrl(value, error) {
19
+ if (typeof value !== 'string' && !(value instanceof URL))
20
+ throw new Error(error);
21
+ try {
22
+ new URL(value);
23
+ }
24
+ catch (e) {
25
+ throw new Error(error);
26
+ }
27
+ }
28
+
29
+ const checkEmptyOrOneOf = emptyOr(checkOneOf);
30
+ const checkEmptyOrPattern = emptyOr(checkPattern);
31
+ const checkEmptyOrType = emptyOr(checkType);
32
+ const checkEmptyOrUrl = emptyOr(checkUrl);
33
+
34
+ export { checkEmptyOrOneOf as a, checkEmptyOrPattern as b, checkEmptyOrType as c, checkEmptyOrUrl as d };
@@ -0,0 +1,3 @@
1
+ const version = "8.2.0";
2
+
3
+ export { version as v };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../dist/types/components";
2
+
3
+ interface PostAccordionItem extends Components.PostAccordionItem, HTMLElement {}
4
+ export const PostAccordionItem: {
5
+ prototype: PostAccordionItem;
6
+ new (): PostAccordionItem;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;