@swisspost/design-system-components 7.2.0 → 7.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{index-0fc0bf5f.js → index-49177437.js} +232 -214
- package/dist/cjs/index.cjs.js +16 -16
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-b133ab48.js → package-198f981b.js} +1 -1
- package/dist/cjs/{post-accordion-a079c21b.js → post-accordion-f81a31b2.js} +2 -2
- package/dist/cjs/{post-accordion-item-30c6ec06.js → post-accordion-item-994583fc.js} +2 -2
- package/dist/cjs/post-accordion-item.cjs.entry.js +3 -3
- package/dist/cjs/post-accordion.cjs.entry.js +3 -3
- package/dist/cjs/{post-alert-b5cfc4c6.js → post-alert-b160762a.js} +3 -3
- package/dist/cjs/post-alert.cjs.entry.js +3 -3
- package/dist/cjs/{post-card-control-80ff0fbb.js → post-card-control-5f309278.js} +2 -2
- package/dist/cjs/post-card-control.cjs.entry.js +3 -3
- package/dist/cjs/{post-collapsible-9bcaf6f1.js → post-collapsible-bf63b152.js} +2 -2
- package/dist/cjs/post-collapsible.cjs.entry.js +3 -3
- package/dist/cjs/post-components.cjs.js +2 -2
- package/dist/cjs/{post-icon-87e7972e.js → post-icon-e5af0dff.js} +2 -2
- package/dist/cjs/post-icon.cjs.entry.js +3 -3
- package/dist/cjs/{post-popover-0a73553e.js → post-popover-bb1cf2dc.js} +2 -2
- package/dist/cjs/post-popover.cjs.entry.js +3 -3
- package/dist/cjs/{post-popovercontainer-a1df1705.js → post-popovercontainer-814f2053.js} +31 -22
- package/dist/cjs/post-popovercontainer.cjs.entry.js +3 -3
- package/dist/cjs/{post-rating-2337c023.js → post-rating-7e29df2c.js} +2 -2
- package/dist/cjs/post-rating.cjs.entry.js +3 -3
- package/dist/cjs/{post-tab-header-ac4137cb.js → post-tab-header-1d896a9b.js} +2 -2
- package/dist/cjs/post-tab-header.cjs.entry.js +3 -3
- package/dist/cjs/{post-tab-panel-307eacef.js → post-tab-panel-47481b1e.js} +2 -2
- package/dist/cjs/post-tab-panel.cjs.entry.js +3 -3
- package/dist/cjs/{post-tabs-92435b40.js → post-tabs-35d27649.js} +3 -3
- package/dist/cjs/post-tabs.cjs.entry.js +3 -3
- package/dist/cjs/{post-tag-0237216a.js → post-tag-27049429.js} +2 -2
- package/dist/cjs/post-tag.cjs.entry.js +3 -3
- package/dist/cjs/{post-tooltip-7fcd3f15.js → post-tooltip-95c1e078.js} +2 -2
- package/dist/cjs/post-tooltip.cjs.entry.js +3 -3
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/post-alert/post-alert.js +1 -1
- package/dist/collection/components/post-popover/post-popover.js +1 -1
- package/dist/collection/components/post-popovercontainer/post-popovercontainer.js +1 -1
- package/dist/collection/components/post-tabs/post-tabs.js +3 -1
- package/dist/collection/components/post-tooltip/post-tooltip.js +1 -1
- package/dist/components/package.js +1 -1
- package/dist/components/post-alert2.js +1 -1
- package/dist/components/post-popovercontainer2.js +29 -20
- package/dist/components/post-tabs2.js +1 -1
- package/dist/docs.json +25 -8
- package/dist/esm/{index-d9331ff3.js → index-b40b8259.js} +232 -214
- package/dist/esm/index.js +16 -16
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{package-37b02bc3.js → package-baed1bbc.js} +1 -1
- package/dist/esm/{post-accordion-7eaa090e.js → post-accordion-63757789.js} +2 -2
- package/dist/esm/{post-accordion-item-d5466ca0.js → post-accordion-item-ff713ffa.js} +2 -2
- package/dist/esm/post-accordion-item.entry.js +3 -3
- package/dist/esm/post-accordion.entry.js +3 -3
- package/dist/esm/{post-alert-5bc0d11c.js → post-alert-90030a07.js} +3 -3
- package/dist/esm/post-alert.entry.js +3 -3
- package/dist/esm/{post-card-control-d64be740.js → post-card-control-a77d7957.js} +2 -2
- package/dist/esm/post-card-control.entry.js +3 -3
- package/dist/esm/{post-collapsible-0bb7ca9a.js → post-collapsible-2fd13f4e.js} +2 -2
- package/dist/esm/post-collapsible.entry.js +3 -3
- package/dist/esm/post-components.js +3 -3
- package/dist/esm/{post-icon-8d59faf7.js → post-icon-725a0fba.js} +2 -2
- package/dist/esm/post-icon.entry.js +3 -3
- package/dist/esm/{post-popover-0ebc24f5.js → post-popover-23ed2cdf.js} +2 -2
- package/dist/esm/post-popover.entry.js +3 -3
- package/dist/esm/{post-popovercontainer-5c0ba050.js → post-popovercontainer-f5625d65.js} +31 -22
- package/dist/esm/post-popovercontainer.entry.js +3 -3
- package/dist/esm/{post-rating-40195437.js → post-rating-0bfc12ec.js} +2 -2
- package/dist/esm/post-rating.entry.js +3 -3
- package/dist/esm/{post-tab-header-ff165ebb.js → post-tab-header-5be0820b.js} +2 -2
- package/dist/esm/post-tab-header.entry.js +3 -3
- package/dist/esm/{post-tab-panel-d40b9704.js → post-tab-panel-a2a06c2d.js} +2 -2
- package/dist/esm/post-tab-panel.entry.js +3 -3
- package/dist/esm/{post-tabs-6ee5542b.js → post-tabs-c1cf60cd.js} +3 -3
- package/dist/esm/post-tabs.entry.js +3 -3
- package/dist/esm/{post-tag-e76f88e5.js → post-tag-1158169f.js} +2 -2
- package/dist/esm/post-tag.entry.js +3 -3
- package/dist/esm/{post-tooltip-990b8b2b.js → post-tooltip-966fde7a.js} +2 -2
- package/dist/esm/post-tooltip.entry.js +3 -3
- package/dist/post-components/index.esm.js +1 -1
- package/dist/post-components/p-09c9ec65.entry.js +1 -0
- package/dist/post-components/p-105f8fe5.entry.js +1 -0
- package/dist/post-components/{p-287f66b9.js → p-11e13d7d.js} +1 -1
- package/dist/post-components/p-1d351eda.js +2 -0
- package/dist/post-components/p-408e8d5c.entry.js +1 -0
- package/dist/post-components/{p-ee12644d.js → p-40cbd3a9.js} +1 -1
- package/dist/post-components/p-418e4351.entry.js +1 -0
- package/dist/post-components/{p-aef9ee8b.js → p-41bd4480.js} +1 -1
- package/dist/post-components/{p-3ce051c9.js → p-4f16eac0.js} +1 -1
- package/dist/post-components/{p-deb19ca0.js → p-6fa5a17d.js} +1 -1
- package/dist/post-components/p-803678de.entry.js +1 -0
- package/dist/post-components/p-8ba9721a.entry.js +1 -0
- package/dist/post-components/p-92636363.js +1 -0
- package/dist/post-components/p-9ac48e84.entry.js +1 -0
- package/dist/post-components/p-9c5b9e7c.entry.js +1 -0
- package/dist/post-components/{p-f86b2ea1.js → p-9c842093.js} +1 -1
- package/dist/post-components/{p-3f2c54ad.js → p-b3a7e242.js} +1 -1
- package/dist/post-components/p-b5f6a7b5.entry.js +1 -0
- package/dist/post-components/p-b675a470.entry.js +1 -0
- package/dist/post-components/p-ba275788.entry.js +1 -0
- package/dist/post-components/p-c2906b17.js +1 -0
- package/dist/post-components/{p-0637689e.js → p-c3e6894d.js} +1 -1
- package/dist/post-components/{p-d6e0e495.js → p-cbca927d.js} +1 -1
- package/dist/post-components/p-ce4fff0a.js +1 -0
- package/dist/post-components/p-daf27e9c.entry.js +1 -0
- package/dist/post-components/{p-69bd634e.js → p-f11cb5ab.js} +1 -1
- package/dist/post-components/p-f4b64493.entry.js +1 -0
- package/dist/post-components/p-f665b245.entry.js +1 -0
- package/dist/post-components/p-f80d0c5f.js +1 -0
- package/dist/post-components/p-fa1125d9.js +1 -0
- package/dist/post-components/post-components.esm.js +1 -1
- package/dist/types/components/post-tabs/post-tabs.d.ts +2 -0
- package/dist/types/stencil-public-runtime.d.ts +0 -2
- package/loader/index.d.ts +3 -0
- package/package.json +9 -9
- package/dist/collection/index.spec.js +0 -27
- package/dist/post-components/p-0ba99d76.entry.js +0 -1
- package/dist/post-components/p-0e97fb19.entry.js +0 -1
- package/dist/post-components/p-19ee1efc.entry.js +0 -1
- package/dist/post-components/p-23e7f6e3.entry.js +0 -1
- package/dist/post-components/p-305ab60c.js +0 -1
- package/dist/post-components/p-62229794.entry.js +0 -1
- package/dist/post-components/p-7dc73c43.entry.js +0 -1
- package/dist/post-components/p-7e59cbd2.js +0 -1
- package/dist/post-components/p-8559d3c0.entry.js +0 -1
- package/dist/post-components/p-941e5ef0.js +0 -1
- package/dist/post-components/p-95003bde.entry.js +0 -1
- package/dist/post-components/p-a1da0539.js +0 -1
- package/dist/post-components/p-a5d9115f.entry.js +0 -1
- package/dist/post-components/p-a9aa57f0.entry.js +0 -1
- package/dist/post-components/p-c21da8cb.js +0 -1
- package/dist/post-components/p-c655db7c.entry.js +0 -1
- package/dist/post-components/p-ca2ff4bb.entry.js +0 -1
- package/dist/post-components/p-d2eafe06.entry.js +0 -1
- package/dist/post-components/p-d9eab6d9.js +0 -2
- package/dist/post-components/p-ff0b0a9a.entry.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const o="7.2.1";export{o as v}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{P as post_accordion}from"./p-9c842093.js";import"./p-1d351eda.js";import"./p-ce4fff0a.js";import"./p-247a1668.js";import"./p-611b3c41.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as o,H as t,g as i}from"./p-
|
|
1
|
+
import{r as e,h as o,H as t,g as i}from"./p-1d351eda.js";import{v as s}from"./p-ce4fff0a.js";import{g as r}from"./p-6adeaa6c.js";let n=0;const a="data-popover-target",c=e=>{const o=e.target;if(!o||!("getAttribute"in o))return;const t=o.getAttribute(a);if(!t||"key"in e&&"Enter"!==e.key)return;const i=document.getElementById(t);null==i||i.toggle(o)},l=r(a,(e=>{const o=e.hasAttribute(a);e.setAttribute("aria-expanded",o?"false":null)})),d=class{constructor(o){e(this,o),this.placement="top",this.closeButtonCaption=void 0,this.arrow=!0,this.localBeforeToggleHandler=this.beforeToggleHandler.bind(this)}connectedCallback(){0===n&&(window.addEventListener("pointerup",c),window.addEventListener("keydown",c),l.observe(document.body,{subtree:!0,childList:!0,attributeFilter:[a]})),n++,this.triggers.forEach((e=>e.setAttribute("aria-expanded","false")))}componentDidLoad(){this.popoverRef.addEventListener("beforetoggle",this.localBeforeToggleHandler)}disconnectedCallback(){n--,0===n&&(window.removeEventListener("click",c),window.removeEventListener("keydown",c),l.disconnect()),this.popoverRef.removeEventListener("beforetoggle",this.localBeforeToggleHandler),this.triggers.forEach((e=>e.removeAttribute("aria-expanded")))}async show(e){this.popoverRef.show(e),e.setAttribute("aria-expanded","true")}async hide(){this.popoverRef.hide(),this.triggers.forEach((e=>e.setAttribute("aria-expanded","false")))}async toggle(e,o){const t=await this.popoverRef.toggle(e,o);this.triggers.forEach((e=>e.setAttribute("aria-expanded","false"))),e.setAttribute("aria-expanded",`${t}`)}get triggers(){return document.querySelectorAll(`[${a}="${this.host.id}"]`)}beforeToggleHandler(){this.triggers.forEach((e=>e.setAttribute("aria-expanded","false")))}render(){return o(t,{key:"97db4a92db81f3a84ca272af8f79981cf181024d","data-version":s},o("post-popovercontainer",{key:"291247845dc11572a5722aa949c1dfa74e521edd",arrow:this.arrow,placement:this.placement,ref:e=>this.popoverRef=e},o("div",{key:"92137bf8c92633c8578c89c7b0c8252b0b59e2fa",class:"popover-container"},o("div",{key:"06f79f59e90ca439b552380af0e151084adadf03",class:"popover-content"},o("slot",{key:"c37c742ac7cf24f9440ac3b862761fcd937f7658"})),o("button",{key:"0e6f316574720e0f901af56e0dbb99f86e36c5b4",class:"btn-close",onClick:()=>this.hide()},o("span",{key:"77c41e8e8df74649ce9ca21740c77e78336905e6",class:"visually-hidden"},this.closeButtonCaption)))))}get host(){return i(this)}};d.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 */.btn-close{padding:0;overflow:visible;border:0;background:none;color:inherit;font:inherit;-webkit-user-select:none;user-select:none;appearance:button;border-radius:4px;color:var(--post-gray-80);transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;cursor:pointer}.btn-close{outline-style:none !important;outline-offset:2px !important;outline-width:2px !important;outline-color:var(--post-focus-color) !important}.btn-close:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:solid !important;border-radius:4px}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn-close:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.btn-close:is(:focus-visible,:focus-within,.pretend-focus){outline-style:solid !important;border-radius:4px}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn-close:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}.btn-close::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m16.267 16.667 6.667-6.533-.933-1.067-6.667 6.667-6.667-6.667-.933 1.067 6.667 6.533-6.667 6.667 1.067.933 6.533-6.667 6.667 6.667.933-1.067z'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m16.267 16.667 6.667-6.533-.933-1.067-6.667 6.667-6.667-6.667-.933 1.067 6.667 6.533-6.667 6.667 1.067.933 6.533-6.667 6.667 6.667.933-1.067z'/%3E%3C/svg%3E\");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color;content:\"\";display:block;height:1.5rem;width:1.5rem}: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]) .btn-close{color:var(--post-contrast-color)}.btn-close:focus,.btn-close:not(:disabled):hover,.pretend-hover.btn-close{color:var(--post-contrast-color)}.btn-close:disabled{color:var(--post-gray-40)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn-close{color:CanvasText;forced-color-adjust:none}.btn-close:focus,.btn-close:not(:disabled):hover,.pretend-hover.btn-close{color:Highlight}}.btn-close-white{color:#e6e6e6}.btn-close-white:focus,.btn-close-white:not(:disabled):hover,.btn-close-white.pretend-hover{color:#fff}.btn-close-white:disabled{color:#999}*{box-sizing:border-box}:host{--post-contrast-color:#fff;--post-bg-rgb:51, 51, 51;display:block}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}.popover-container{display:flex;align-items:self-start;padding:.5em;min-width:160px;max-width:280px}@media (max-width: 599.98px){.popover-container{max-width:100%}}.popover-content{padding:.5em;flex-grow:1}";export{d as P}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{P as post_popover}from"./p-f11cb5ab.js";import"./p-1d351eda.js";import"./p-ce4fff0a.js";import"./p-6adeaa6c.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{P as post_rating}from"./p-c3e6894d.js";import"./p-1d351eda.js";import"./p-ce4fff0a.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,h as t,H as e,g as a}from"./p-1d351eda.js";import{v as o}from"./p-ce4fff0a.js";const r=class{constructor(t){s(this,t),this.panelId=void 0,this.name=void 0}componentWillLoad(){this.panelId=`panel-${this.host.id||crypto.randomUUID()}`}render(){return t(e,{key:"cd74acf8889af916b9b32b57b483bbd74d5a6e20","data-version":o,id:this.panelId,role:"tabpanel"},t("slot",{key:"9d2c3f42b1dd9214aeeee35efc1179372851af13"}))}get host(){return a(this)}};r.style=":host{display:none}";export{r as P}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as a,c as r,h as t,H as o,g as s}from"./p-1d351eda.js";import{v as e}from"./p-ce4fff0a.js";import{f as b,a as c}from"./p-2737eaf5.js";const i=class{constructor(t){a(this,t),this.postChange=r(this,"postChange",7),this.isLoaded=!1,this.activePanel=void 0}get tabs(){return this.host.querySelectorAll("post-tab-header")}componentDidLoad(){this.moveMisplacedTabs(),this.enableTabs();const a=this.activePanel||this.tabs.item(0).panel;this.show(a),this.isLoaded=!0}async show(a){var r;if(a===(null===(r=this.activeTab)||void 0===r?void 0:r.panel))return;const t=this.activeTab,o=this.host.querySelector(`post-tab-header[panel=${a}]`);this.activateTab(o),this.showing&&(this.showing.effect.target.style.display="none",this.showing.finish()),!t||this.showing||this.hiding||this.hidePanel(t.panel),this.hiding&&await this.hiding.finished,this.showSelectedPanel(),this.showing&&await this.showing.finished,this.postChange.emit(this.activeTab.panel)}moveMisplacedTabs(){this.tabs&&this.tabs.forEach((a=>{"tabs"!==a.getAttribute("slot")&&a.setAttribute("slot","tabs")}))}enableTabs(){this.tabs&&(this.tabs.forEach((async a=>{if(await a.componentOnReady(),a.getAttribute("aria-controls"))return;const r=this.getPanel(a.panel);a.setAttribute("aria-controls",r.id),r.setAttribute("aria-labelledby",a.id),a.addEventListener("click",(()=>{this.show(a.panel)})),a.addEventListener("keydown",(r=>{"Enter"!==r.key&&" "!==r.key||(r.preventDefault(),this.show(a.panel))})),a.addEventListener("keydown",(({key:r})=>{"ArrowRight"!==r&&"ArrowLeft"!==r||this.navigateTabs(a,r)}))})),this.activeTab&&!this.activeTab.isConnected&&this.show(this.tabs.item(0).panel))}activateTab(a){this.activeTab&&(this.activeTab.setAttribute("aria-selected","false"),this.activeTab.setAttribute("tabindex","-1"),this.activeTab.classList.remove("active")),a.setAttribute("aria-selected","true"),a.setAttribute("tabindex","0"),a.classList.add("active"),this.activeTab=a}hidePanel(a){const r=this.getPanel(a);r&&(this.hiding=b(r),this.hiding.onfinish=()=>{r.style.display="none",this.hiding=null})}showSelectedPanel(){const a=this.getPanel(this.activeTab.panel);a.style.display="block",this.isLoaded&&(this.showing=c(a),this.showing.onfinish=()=>{this.showing=null})}getPanel(a){return this.host.querySelector(`post-tab-panel[name=${a}]`)}navigateTabs(a,r){const t=Array.from(this.tabs).indexOf(a);let o;o="ArrowRight"===r?this.tabs[t+1]||this.tabs[0]:this.tabs[t-1]||this.tabs[this.tabs.length-1],o&&o.focus()}render(){return t(o,{key:"f7aabebf0645b5d9db9028a0b1807e49d6f4e994","data-version":e},t("div",{key:"b62f738a4df453f9acf94825f2d1626dc40c4eb1",class:"tabs-wrapper",part:"tabs"},t("div",{key:"a9bd32fc939cfdff73d2c48982551cceedb5bd2a",class:"tabs",role:"tablist"},t("slot",{key:"4a8c2bc4815debd4d6951acbce224d3f1fd6b169",name:"tabs",onSlotchange:()=>this.enableTabs()}))),t("div",{key:"c7b2543a1decdc2bfe7a683b7bd193586485d012",class:"tab-content",part:"content"},t("slot",{key:"af19b3e89f8ca0cecf59f4426e4b5d3ac4efbc75",onSlotchange:()=>this.moveMisplacedTabs()})))}get host(){return s(this)}};i.style='.tabs-wrapper{position:relative;padding-top:1rem;border:0;background-color:rgba(var(--post-contrast-color-rgb), 0.02)}.tabs-wrapper::after{content:"";position:absolute;bottom:0;width:100%;height:1px;background-color:#ccc}.tabs-wrapper .tabs{background-color:rgba(0,0,0,0) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.tabs-wrapper::after{background-color:ButtonBorder}}.tabs{margin:0;padding:0;list-style:none;display:flex;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;white-space:nowrap}.tabs::after{content:"";display:block;flex:1 0 auto;width:1rem}.tab-content{padding-top:1rem}.bg-yellow .tabs-wrapper{background-color:#fc0}.bg-white .tabs-wrapper{background-color:#fff}.bg-light .tabs-wrapper{background-color:#faf9f8}.bg-gray .tabs-wrapper{background-color:#f4f3f1}.bg-dark .tabs-wrapper{background-color:#333}.bg-black .tabs-wrapper{background-color:#000}.bg-primary .tabs-wrapper{background-color:#333}.bg-secondary .tabs-wrapper{background-color:#666}.bg-success .tabs-wrapper{background-color:#2c871d}.bg-warning .tabs-wrapper{background-color:#f49e00}.bg-error .tabs-wrapper{background-color:#a51728}.bg-info .tabs-wrapper{background-color:#cce4ee}.bg-success-background .tabs-wrapper{background-color:#c0debb}.bg-warning-background .tabs-wrapper{background-color:#fce2b2}.bg-error-background .tabs-wrapper{background-color:#ffdade}.bg-nightblue .tabs-wrapper{background-color:#004976}.bg-nightblue-bright .tabs-wrapper{background-color:#0076a8}.bg-petrol .tabs-wrapper{background-color:#006d68}.bg-petrol-bright .tabs-wrapper{background-color:#00968f}.bg-coral .tabs-wrapper{background-color:#9e2a2f}.bg-coral-bright .tabs-wrapper{background-color:#e03c31}.bg-olive .tabs-wrapper{background-color:#716135}.bg-olive-bright .tabs-wrapper{background-color:#aa9d2e}.bg-purple .tabs-wrapper{background-color:#80276c}.bg-purple-bright .tabs-wrapper{background-color:#c5299b}.bg-aubergine .tabs-wrapper{background-color:#523178}.bg-aubergine-bright .tabs-wrapper{background-color:#7566a0}:host{display:block}';export{i as P}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as a}from"./p-
|
|
1
|
+
import{p as e,b as a}from"./p-1d351eda.js";export{s as setNonce}from"./p-1d351eda.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-ba275788",[[1,"post-accordion-item",{collapsed:[4],headingLevel:[2,"heading-level"],id:[32],isOpen:[32],toggle:[64]},[[0,"postToggle","onCollapseToggle"]],{headingLevel:["validateHeadingLevel"]}]]],["p-b5f6a7b5",[[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-418e4351",[[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-b675a470",[[1,"post-popovercontainer",{placement:[1],arrow:[4],show:[64],hide:[64],toggle:[64]}]]],["p-f4b64493",[[1,"post-popover",{placement:[1],closeButtonCaption:[1,"close-button-caption"],arrow:[4],show:[64],hide:[64],toggle:[64]}]]],["p-9ac48e84",[[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-f665b245",[[1,"post-rating",{label:[1],stars:[2],currentRating:[1026,"current-rating"],readonly:[4],hoveredIndex:[32]}]]],["p-803678de",[[1,"post-tag",{variant:[1],size:[1],icon:[1],classes:[32]},null,{variant:["variantChanged"],size:["sizeChanged"]}]]],["p-105f8fe5",[[1,"post-tooltip",{placement:[1],arrow:[4],show:[64],hide:[64],toggle:[64]}]]],["p-daf27e9c",[[1,"post-accordion",{headingLevel:[2,"heading-level"],multiple:[4],toggle:[64],expandAll:[64],collapseAll:[64]},[[0,"postToggle","collapseToggleHandler"]],{headingLevel:["validateHeadingLevel"]}]]],["p-09c9ec65",[[1,"post-tab-header",{panel:[1],tabId:[32]},null,{panel:["validateFor"]}]]],["p-408e8d5c",[[1,"post-tab-panel",{name:[1],panelId:[32]}]]],["p-8ba9721a",[[1,"post-tabs",{activePanel:[1,"active-panel"],show:[64]}]]],["p-9c5b9e7c",[[1,"post-collapsible",{collapsed:[4],id:[32],toggle:[64]},null,{collapsed:["validateCollapsed"]}]]]],e))));
|
|
@@ -2,6 +2,8 @@ import { EventEmitter } from '../../stencil-public-runtime';
|
|
|
2
2
|
/**
|
|
3
3
|
* @slot tabs - Slot for placing tab headers. Each tab header should be a <post-tab-header> element.
|
|
4
4
|
* @slot default - Slot for placing tab panels. Each tab panel should be a <post-tab-panel> element.
|
|
5
|
+
* @part tabs - Add custom styles for the tab header container.
|
|
6
|
+
* @part content - Add custom styles for the tab panel container.
|
|
5
7
|
*/
|
|
6
8
|
export declare class PostTabs {
|
|
7
9
|
private activeTab;
|
|
@@ -989,7 +989,6 @@ export declare namespace JSXBase {
|
|
|
989
989
|
interface LabelHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
990
990
|
form?: string;
|
|
991
991
|
htmlFor?: string;
|
|
992
|
-
htmlfor?: string;
|
|
993
992
|
}
|
|
994
993
|
interface LiHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
995
994
|
value?: string | string[] | number;
|
|
@@ -1100,7 +1099,6 @@ export declare namespace JSXBase {
|
|
|
1100
1099
|
interface OutputHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1101
1100
|
form?: string;
|
|
1102
1101
|
htmlFor?: string;
|
|
1103
|
-
htmlfor?: string;
|
|
1104
1102
|
name?: string;
|
|
1105
1103
|
}
|
|
1106
1104
|
interface ParamHTMLAttributes<T> extends HTMLAttributes<T> {
|
package/loader/index.d.ts
CHANGED
|
@@ -9,6 +9,9 @@ export interface CustomElementsDefineOptions {
|
|
|
9
9
|
rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
|
10
10
|
}
|
|
11
11
|
export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions): void;
|
|
12
|
+
/**
|
|
13
|
+
* @deprecated
|
|
14
|
+
*/
|
|
12
15
|
export declare function applyPolyfills(): Promise<void>;
|
|
13
16
|
|
|
14
17
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swisspost/design-system-components",
|
|
3
|
-
"version": "7.2.
|
|
3
|
+
"version": "7.2.1",
|
|
4
4
|
"description": "A collection of web components built with Stencil JS for the Swiss Post Design System.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "dist/index.cjs.js",
|
|
@@ -23,33 +23,33 @@
|
|
|
23
23
|
"linkDirectory": true
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@floating-ui/dom": "1.6.
|
|
26
|
+
"@floating-ui/dom": "1.6.7",
|
|
27
27
|
"@oddbird/popover-polyfill": "0.3.7",
|
|
28
|
-
"@swisspost/design-system-styles": "7.2.
|
|
28
|
+
"@swisspost/design-system-styles": "7.2.1",
|
|
29
29
|
"ally.js": "1.4.1",
|
|
30
30
|
"long-press-event": "2.5.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@percy/cli": "1.28.
|
|
33
|
+
"@percy/cli": "1.28.8",
|
|
34
34
|
"@percy/cypress": "3.1.2",
|
|
35
35
|
"@stencil-community/eslint-plugin": "0.7.2",
|
|
36
36
|
"@stencil/angular-output-target": "0.8.4",
|
|
37
|
-
"@stencil/core": "4.
|
|
37
|
+
"@stencil/core": "4.19.1",
|
|
38
38
|
"@stencil/react-output-target": "0.5.3",
|
|
39
39
|
"@stencil/sass": "3.0.12",
|
|
40
40
|
"@types/jest": "29.5.12",
|
|
41
|
-
"@types/node": "20.14.
|
|
41
|
+
"@types/node": "20.14.9",
|
|
42
42
|
"@typescript-eslint/eslint-plugin": "5.62.0",
|
|
43
43
|
"@typescript-eslint/parser": "5.62.0",
|
|
44
44
|
"bootstrap": "5.3.3",
|
|
45
|
-
"cypress": "13.
|
|
45
|
+
"cypress": "13.13.0",
|
|
46
46
|
"cypress-axe": "1.5.0",
|
|
47
47
|
"cypress-storybook": "1.0.0",
|
|
48
48
|
"eslint": "8.57.0",
|
|
49
|
-
"eslint-plugin-react": "7.34.
|
|
49
|
+
"eslint-plugin-react": "7.34.3",
|
|
50
50
|
"rimraf": "5.0.7",
|
|
51
51
|
"rollup-plugin-postcss": "4.0.2",
|
|
52
|
-
"sass": "1.77.
|
|
52
|
+
"sass": "1.77.6",
|
|
53
53
|
"ts-jest": "29.1.5",
|
|
54
54
|
"typescript": "5.3.3"
|
|
55
55
|
},
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import * as fs from "fs";
|
|
2
|
-
import * as path from "path";
|
|
3
|
-
const file = fs.readFileSync('./src/index.ts').toString();
|
|
4
|
-
const componentExports = Array.from(file.matchAll(/\/(post-[a-z-]+)';$/gm)).map(m => m[1]);
|
|
5
|
-
const componentDefinitions = getComponentDefinitions('./src/components');
|
|
6
|
-
function getComponentDefinitions(dir, files = []) {
|
|
7
|
-
const fileList = fs.readdirSync(dir);
|
|
8
|
-
for (const file of fileList) {
|
|
9
|
-
const filePath = `${dir}/${file}`;
|
|
10
|
-
const parsed = path.parse(filePath);
|
|
11
|
-
if (fs.statSync(filePath).isDirectory()) {
|
|
12
|
-
getComponentDefinitions(filePath, files);
|
|
13
|
-
}
|
|
14
|
-
else if (parsed.ext === '.tsx') {
|
|
15
|
-
files.push(parsed.name);
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
return files;
|
|
19
|
-
}
|
|
20
|
-
describe('Index.js', () => {
|
|
21
|
-
componentDefinitions.forEach(def => {
|
|
22
|
-
const component = componentExports.find(exp => exp === def);
|
|
23
|
-
it(`should export component "${def}"`, () => {
|
|
24
|
-
expect(component).toBeDefined();
|
|
25
|
-
});
|
|
26
|
-
});
|
|
27
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{P as post_tabs}from"./p-a1da0539.js";import"./p-d9eab6d9.js";import"./p-941e5ef0.js";import"./p-2737eaf5.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{P as post_card_control}from"./p-d6e0e495.js";import"./p-d9eab6d9.js";import"./p-611b3c41.js";import"./p-b095519d.js";import"./p-440193f4.js";import"./p-941e5ef0.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{P as post_collapsible}from"./p-deb19ca0.js";import"./p-d9eab6d9.js";import"./p-941e5ef0.js";import"./p-f91c0e1b.js";import"./p-440193f4.js";import"./p-611b3c41.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{P as post_popovercontainer}from"./p-7e59cbd2.js";import"./p-d9eab6d9.js";import"./p-941e5ef0.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as s,H as t,g as o}from"./p-d9eab6d9.js";import{v as a}from"./p-941e5ef0.js";const r=class{constructor(s){e(this,s),this.panelId=void 0,this.name=void 0}componentWillLoad(){this.panelId=`panel-${this.host.id||crypto.randomUUID()}`}render(){return s(t,{key:"cd74acf8889af916b9b32b57b483bbd74d5a6e20","data-version":a,id:this.panelId,role:"tabpanel"},s("slot",{key:"9d2c3f42b1dd9214aeeee35efc1179372851af13"}))}get host(){return o(this)}};r.style=":host{display:none}";export{r as P}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{P as post_tab_panel}from"./p-305ab60c.js";import"./p-d9eab6d9.js";import"./p-941e5ef0.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{P as post_popover}from"./p-69bd634e.js";import"./p-d9eab6d9.js";import"./p-941e5ef0.js";import"./p-6adeaa6c.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as e,h as n,H as o,g as r}from"./p-d9eab6d9.js";import{v as i}from"./p-941e5ef0.js";const l=Math.min,a=Math.max,s=Math.round,c=Math.floor,u=t=>({x:t,y:t}),f={left:"right",right:"left",bottom:"top",top:"bottom"},p={start:"end",end:"start"};function d(t,e,n){return a(t,l(e,n))}function h(t,e){return"function"==typeof t?t(e):t}function m(t){return t.split("-")[0]}function g(t){return t.split("-")[1]}function b(t){return"x"===t?"y":"x"}function w(t){return"y"===t?"height":"width"}function v(t){return["top","bottom"].includes(m(t))?"y":"x"}function y(t){return b(v(t))}function x(t){return t.replace(/start|end/g,(t=>p[t]))}function S(t){return t.replace(/left|right|bottom|top/g,(t=>f[t]))}function T(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function E(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function A(t,e,n){let{reference:o,floating:r}=t;const i=v(e),l=y(e),a=w(l),s=m(e),c="y"===i,u=o.x+o.width/2-r.width/2,f=o.y+o.height/2-r.height/2,p=o[a]/2-r[a]/2;let d;switch(s){case"top":d={x:u,y:o.y-r.height};break;case"bottom":d={x:u,y:o.y+o.height};break;case"right":d={x:o.x+o.width,y:f};break;case"left":d={x:o.x-r.width,y:f};break;default:d={x:o.x,y:o.y}}switch(g(e)){case"start":d[l]-=p*(n&&c?-1:1);break;case"end":d[l]+=p*(n&&c?-1:1)}return d}async function M(t,e){var n;void 0===e&&(e={});const{x:o,y:r,platform:i,rects:l,elements:a,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:p=!1,padding:d=0}=h(e,t),m=T(d),g=a[p?"floating"===f?"reference":"floating":f],b=E(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(g)))||n?g:g.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:s})),w="floating"===f?{...l.floating,x:o,y:r}:l.reference,v=await(null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),y=await(null==i.isElement?void 0:i.isElement(v))&&await(null==i.getScale?void 0:i.getScale(v))||{x:1,y:1},x=E(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:w,offsetParent:v,strategy:s}):w);return{top:(b.top-x.top+m.top)/y.y,bottom:(x.bottom-b.bottom+m.bottom)/y.y,left:(b.left-x.left+m.left)/y.x,right:(x.right-b.right+m.right)/y.x}}function k(t){const e=l(...t.map((t=>t.left))),n=l(...t.map((t=>t.top)));return{x:e,y:n,width:a(...t.map((t=>t.right)))-e,height:a(...t.map((t=>t.bottom)))-n}}function L(t){return O(t)?(t.nodeName||"").toLowerCase():"#document"}function H(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function D(t){var e;return null==(e=(O(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function O(t){return t instanceof Node||t instanceof H(t).Node}function F(t){return t instanceof Element||t instanceof H(t).Element}function R(t){return t instanceof HTMLElement||t instanceof H(t).HTMLElement}function z(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof H(t).ShadowRoot)}function P(t){const{overflow:e,overflowX:n,overflowY:o,display:r}=B(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!["inline","contents"].includes(r)}function W(t){return["table","td","th"].includes(L(t))}function j(t){const e=C(),n=B(t);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!e&&!!n.backdropFilter&&"none"!==n.backdropFilter||!e&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((t=>(n.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(n.contain||"").includes(t)))}function C(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function q(t){return["html","body","#document"].includes(L(t))}function B(t){return H(t).getComputedStyle(t)}function I(t){return F(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function $(t){if("html"===L(t))return t;const e=t.assignedSlot||t.parentNode||z(t)&&t.host||D(t);return z(e)?e.host:e}function N(t){const e=$(t);return q(e)?t.ownerDocument?t.ownerDocument.body:t.body:R(e)&&P(e)?e:N(e)}function G(t,e,n){var o;void 0===e&&(e=[]),void 0===n&&(n=!0);const r=N(t),i=r===(null==(o=t.ownerDocument)?void 0:o.body),l=H(r);return i?e.concat(l,l.visualViewport||[],P(r)?r:[],l.frameElement&&n?G(l.frameElement):[]):e.concat(r,G(r,[],n))}function V(t){const e=B(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const r=R(t),i=r?t.offsetWidth:n,l=r?t.offsetHeight:o,a=s(n)!==i||s(o)!==l;return a&&(n=i,o=l),{width:n,height:o,$:a}}function X(t){return F(t)?t:t.contextElement}function Y(t){const e=X(t);if(!R(e))return u(1);const n=e.getBoundingClientRect(),{width:o,height:r,$:i}=V(e);let l=(i?s(n.width):n.width)/o,a=(i?s(n.height):n.height)/r;return l&&Number.isFinite(l)||(l=1),a&&Number.isFinite(a)||(a=1),{x:l,y:a}}const _=u(0);function J(t){const e=H(t);return C()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:_}function K(t,e,n,o){void 0===e&&(e=!1),void 0===n&&(n=!1);const r=t.getBoundingClientRect(),i=X(t);let l=u(1);e&&(o?F(o)&&(l=Y(o)):l=Y(t));const a=function(t,e,n){return void 0===e&&(e=!1),!(!n||e&&n!==H(t))&&e}(i,n,o)?J(i):u(0);let s=(r.left+a.x)/l.x,c=(r.top+a.y)/l.y,f=r.width/l.x,p=r.height/l.y;if(i){const t=H(i),e=o&&F(o)?H(o):o;let n=t,r=n.frameElement;for(;r&&o&&e!==n;){const t=Y(r),e=r.getBoundingClientRect(),o=B(r),i=e.left+(r.clientLeft+parseFloat(o.paddingLeft))*t.x,l=e.top+(r.clientTop+parseFloat(o.paddingTop))*t.y;s*=t.x,c*=t.y,f*=t.x,p*=t.y,s+=i,c+=l,n=H(r),r=n.frameElement}}return E({width:f,height:p,x:s,y:c})}const Q=[":popover-open",":modal"];function U(t){return Q.some((e=>{try{return t.matches(e)}catch(t){return!1}}))}function Z(t){return K(D(t)).left+I(t).scrollLeft}function tt(t,e,n){let o;if("viewport"===e)o=function(t,e){const n=H(t),o=D(t),r=n.visualViewport;let i=o.clientWidth,l=o.clientHeight,a=0,s=0;if(r){i=r.width,l=r.height;const t=C();(!t||t&&"fixed"===e)&&(a=r.offsetLeft,s=r.offsetTop)}return{width:i,height:l,x:a,y:s}}(t,n);else if("document"===e)o=function(t){const e=D(t),n=I(t),o=t.ownerDocument.body,r=a(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),i=a(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let l=-n.scrollLeft+Z(t);const s=-n.scrollTop;return"rtl"===B(o).direction&&(l+=a(e.clientWidth,o.clientWidth)-r),{width:r,height:i,x:l,y:s}}(D(t));else if(F(e))o=function(t,e){const n=K(t,!0,"fixed"===e),o=n.top+t.clientTop,r=n.left+t.clientLeft,i=R(t)?Y(t):u(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:r*i.x,y:o*i.y}}(e,n);else{const n=J(t);o={...e,x:e.x-n.x,y:e.y-n.y}}return E(o)}function et(t,e){const n=$(t);return!(n===e||!F(n)||q(n))&&("fixed"===B(n).position||et(n,e))}function nt(t,e,n){const o=R(e),r=D(e),i="fixed"===n,l=K(t,!0,i,e);let a={scrollLeft:0,scrollTop:0};const s=u(0);if(o||!o&&!i)if(("body"!==L(e)||P(r))&&(a=I(e)),o){const t=K(e,!0,i,e);s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}else r&&(s.x=Z(r));return{x:l.left+a.scrollLeft-s.x,y:l.top+a.scrollTop-s.y,width:l.width,height:l.height}}function ot(t){return"static"===B(t).position}function rt(t,e){return R(t)&&"fixed"!==B(t).position?e?e(t):t.offsetParent:null}function it(t,e){const n=H(t);if(U(t))return n;if(!R(t)){let e=$(t);for(;e&&!q(e);){if(F(e)&&!ot(e))return e;e=$(e)}return n}let o=rt(t,e);for(;o&&W(o)&&ot(o);)o=rt(o,e);return o&&q(o)&&ot(o)&&!j(o)?n:o||function(t){let e=$(t);for(;R(e)&&!q(e);){if(j(e))return e;e=$(e)}return null}(t)||n}const lt={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:o,strategy:r}=t;const i="fixed"===r,l=D(o),a=!!e&&U(e.floating);if(o===l||a&&i)return n;let s={scrollLeft:0,scrollTop:0},c=u(1);const f=u(0),p=R(o);if((p||!p&&!i)&&(("body"!==L(o)||P(l))&&(s=I(o)),R(o))){const t=K(o);c=Y(o),f.x=t.x+o.clientLeft,f.y=t.y+o.clientTop}return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-s.scrollLeft*c.x+f.x,y:n.y*c.y-s.scrollTop*c.y+f.y}},getDocumentElement:D,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:o,strategy:r}=t;const i=[..."clippingAncestors"===n?U(e)?[]:function(t,e){const n=e.get(t);if(n)return n;let o=G(t,[],!1).filter((t=>F(t)&&"body"!==L(t))),r=null;const i="fixed"===B(t).position;let l=i?$(t):t;for(;F(l)&&!q(l);){const e=B(l),n=j(l);n||"fixed"!==e.position||(r=null),(i?!n&&!r:!n&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||P(l)&&!n&&et(t,l))?o=o.filter((t=>t!==l)):r=e,l=$(l)}return e.set(t,o),o}(e,this._c):[].concat(n),o],s=i.reduce(((t,n)=>{const o=tt(e,n,r);return t.top=a(o.top,t.top),t.right=l(o.right,t.right),t.bottom=l(o.bottom,t.bottom),t.left=a(o.left,t.left),t}),tt(e,i[0],r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:it,getElementRects:async function(t){const e=this.getOffsetParent||it,n=this.getDimensions,o=await n(t.floating);return{reference:nt(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:e,height:n}=V(t);return{width:e,height:n}},getScale:Y,isElement:F,isRTL:function(t){return"rtl"===B(t).direction}};const at=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:r,y:i,placement:l,middlewareData:a}=e,s=await async function(t,e){const{placement:n,platform:o,elements:r}=t,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),l=m(n),a=g(n),s="y"===v(n),c=["left","top"].includes(l)?-1:1,u=i&&s?-1:1,f=h(e,t);let{mainAxis:p,crossAxis:d,alignmentAxis:b}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return a&&"number"==typeof b&&(d="end"===a?-1*b:b),s?{x:d*u,y:p*c}:{x:p*c,y:d*u}}(e,t);return l===(null==(n=a.offset)?void 0:n.placement)&&null!=(o=a.arrow)&&o.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:l}}}}},st=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:r}=e,{mainAxis:i=!0,crossAxis:l=!1,limiter:a={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...s}=h(t,e),c={x:n,y:o},u=await M(e,s),f=v(m(r)),p=b(f);let g=c[p],w=c[f];i&&(g=d(g+u["y"===p?"top":"left"],g,g-u["y"===p?"bottom":"right"])),l&&(w=d(w+u["y"===f?"top":"left"],w,w-u["y"===f?"bottom":"right"]));const y=a.fn({...e,[p]:g,[f]:w});return{...y,data:{x:y.x-n,y:y.y-o}}}}},ct=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:r,middlewareData:i,rects:l,initialPlacement:a,platform:s,elements:c}=e,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:p,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:v=!0,...T}=h(t,e);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const E=m(r),A=m(a)===a,k=await(null==s.isRTL?void 0:s.isRTL(c.floating)),L=p||(A||!v?[S(a)]:function(t){const e=S(t);return[x(t),e,x(e)]}(a));p||"none"===b||L.push(...function(t,e,n,o){const r=g(t);let i=function(t,e,n){const o=["left","right"],r=["right","left"],i=["top","bottom"],l=["bottom","top"];switch(t){case"top":case"bottom":return n?e?r:o:e?o:r;case"left":case"right":return e?i:l;default:return[]}}(m(t),"start"===n,o);return r&&(i=i.map((t=>t+"-"+r)),e&&(i=i.concat(i.map(x)))),i}(a,v,b,k));const H=[a,...L],D=await M(e,T),O=[];let F=(null==(o=i.flip)?void 0:o.overflows)||[];if(u&&O.push(D[E]),f){const t=function(t,e,n){void 0===n&&(n=!1);const o=g(t),r=y(t),i=w(r);let l="x"===r?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return e.reference[i]>e.floating[i]&&(l=S(l)),[l,S(l)]}(r,l,k);O.push(D[t[0]],D[t[1]])}if(F=[...F,{placement:r,overflows:O}],!O.every((t=>t<=0))){var R,z;const t=((null==(R=i.flip)?void 0:R.index)||0)+1,e=H[t];if(e)return{data:{index:t,overflows:F},reset:{placement:e}};let n=null==(z=F.filter((t=>t.overflows[0]<=0)).sort(((t,e)=>t.overflows[1]-e.overflows[1]))[0])?void 0:z.placement;if(!n)switch(d){case"bestFit":{var P;const t=null==(P=F.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,e)=>t+e),0)])).sort(((t,e)=>t[1]-e[1]))[0])?void 0:P[0];t&&(n=t);break}case"initialPlacement":n=a}if(r!==n)return{reset:{placement:n}}}return{}}}},ut=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){const{placement:n,rects:o,platform:r,elements:i}=e,{apply:s=(()=>{}),...c}=h(t,e),u=await M(e,c),f=m(n),p=g(n),d="y"===v(n),{width:b,height:w}=o.floating;let y,x;"top"===f||"bottom"===f?(y=f,x=p===(await(null==r.isRTL?void 0:r.isRTL(i.floating))?"start":"end")?"left":"right"):(x=f,y="end"===p?"top":"bottom");const S=w-u[y],T=b-u[x],E=!e.middlewareData.shift;let A=S,k=T;if(d){const t=b-u.left-u.right;k=p||E?l(T,t):t}else{const t=w-u.top-u.bottom;A=p||E?l(S,t):t}if(E&&!p){const t=a(u.left,0),e=a(u.right,0),n=a(u.top,0),o=a(u.bottom,0);d?k=b-2*(0!==t||0!==e?t+e:a(u.left,u.right)):A=w-2*(0!==n||0!==o?n+o:a(u.top,u.bottom))}await s({...e,availableWidth:k,availableHeight:A});const L=await r.getDimensions(i.floating);return b!==L.width||w!==L.height?{reset:{rects:!0}}:{}}}},ft=function(t){return void 0===t&&(t={}),{options:t,fn(e){const{x:n,y:o,placement:r,rects:i,middlewareData:l}=e,{offset:a=0,mainAxis:s=!0,crossAxis:c=!0}=h(t,e),u={x:n,y:o},f=v(r),p=b(f);let d=u[p],g=u[f];const w=h(a,e),y="number"==typeof w?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(s){const t="y"===p?"height":"width",e=i.reference[p]-i.floating[t]+y.mainAxis,n=i.reference[p]+i.reference[t]-y.mainAxis;d<e?d=e:d>n&&(d=n)}if(c){var x,S;const t="y"===p?"width":"height",e=["top","left"].includes(m(r)),n=i.reference[f]-i.floating[t]+(e&&(null==(x=l.offset)?void 0:x[f])||0)+(e?0:y.crossAxis),o=i.reference[f]+i.reference[t]+(e?0:(null==(S=l.offset)?void 0:S[f])||0)-(e?y.crossAxis:0);g<n?g=n:g>o&&(g=o)}return{[p]:d,[f]:g}}}};(()=>{var t=class extends Event{oldState;newState;constructor(t,{oldState:e="",newState:n="",...o}={}){super(t,o),this.oldState=String(e||""),this.newState=String(n||"")}},e=new WeakMap;function n(n,o,r){e.set(n,setTimeout((()=>{e.has(n)&&n.dispatchEvent(new t("toggle",{cancelable:!1,oldState:o,newState:r}))}),0))}var o=globalThis.ShadowRoot||function(){},r=globalThis.HTMLDialogElement||function(){},i=new WeakMap,l=new WeakMap,a=new WeakMap;function s(t){return a.get(t)||"hidden"}var c=new WeakMap;function u(t,e){return!("auto"!==t.popover&&"manual"!==t.popover||!t.isConnected||e&&"showing"!==s(t)||!e&&"hidden"!==s(t)||t instanceof r&&t.hasAttribute("open")||document.fullscreenElement===t)}function f(t){return t?Array.from(l.get(t.ownerDocument)||[]).indexOf(t)+1:0}function p(t){let e=l.get(t);for(let t of e||[]){if(t.isConnected)return t;e.delete(t)}return null}function d(t){return"function"==typeof t.getRootNode?t.getRootNode():t.parentNode?d(t.parentNode):t}function h(t){for(;t;){if(t instanceof HTMLElement&&"auto"===t.popover&&"showing"===a.get(t))return t;if((t=t.parentElement||d(t))instanceof o&&(t=t.host),t instanceof Document)return}}function m(t){return!(t.hidden||t instanceof o||(t instanceof HTMLButtonElement||t instanceof HTMLInputElement||t instanceof HTMLSelectElement||t instanceof HTMLTextAreaElement||t instanceof HTMLOptGroupElement||t instanceof HTMLOptionElement||t instanceof HTMLFieldSetElement)&&t.disabled||t instanceof HTMLInputElement&&"hidden"===t.type||t instanceof HTMLAnchorElement&&""===t.href)&&"number"==typeof t.tabIndex&&-1!==t.tabIndex}var g=new WeakMap;function b(e){if(!u(e,!1))return;let o=e.ownerDocument;if(!e.dispatchEvent(new t("beforetoggle",{cancelable:!0,oldState:"closed",newState:"open"}))||!u(e,!1))return;let r=!1;if("auto"===e.popover){let t=e.getAttribute("popover"),n=function(t){let e=new Map,n=0,o=t.ownerDocument;for(let t of l.get(o)||[])e.set(t,n),n+=1;e.set(t,n),n+=1;let r=null;return function(t){let n=h(t);if(null===n)return null;let o=e.get(n);(null===r||e.get(r)<o)&&(r=n)}(t?.parentElement),r}(e)||o;if(y(n,!1,!0),t!==e.getAttribute("popover")||!u(e,!1))return}p(o)||(r=!0),g.delete(e);let s=o.activeElement;e.classList.add(":popover-open"),a.set(e,"showing"),i.has(o)||i.set(o,new Set),i.get(o).add(e),function(t){(function(t){if(t.shadowRoot&&!0!==t.shadowRoot.delegatesFocus)return null;let e=t;e.shadowRoot&&(e=e.shadowRoot);let n=e.querySelector("[autofocus]");if(n)return n;{let t=e.querySelectorAll("slot");for(let e of t){let t=e.assignedElements({flatten:!0});for(let e of t){if(e.hasAttribute("autofocus"))return e;if(n=e.querySelector("[autofocus]"),n)return n}}}let o=t.ownerDocument.createTreeWalker(e,NodeFilter.SHOW_ELEMENT),r=o.currentNode;for(;r;){if(m(r))return r;r=o.nextNode()}})(t)?.focus()}(e),"auto"===e.popover&&(l.has(o)||l.set(o,new Set),l.get(o).add(e),E(c.get(e),!0)),r&&s&&"auto"===e.popover&&g.set(e,s),n(e,"closed","open")}function w(e,o=!1,r=!1){if(!u(e,!0))return;let s=e.ownerDocument;if("auto"===e.popover&&(y(e,o,r),!u(e,!0))||(E(c.get(e),!1),c.delete(e),r&&(e.dispatchEvent(new t("beforetoggle",{oldState:"open",newState:"closed"})),!u(e,!0))))return;i.get(s)?.delete(e),l.get(s)?.delete(e),e.classList.remove(":popover-open"),a.set(e,"hidden"),r&&n(e,"open","closed");let f=g.get(e);f&&(g.delete(e),o&&f.focus())}function v(t,e=!1,n=!1){let o=p(t);for(;o;)w(o,e,n),o=p(t)}function y(t,e,n){let o=t.ownerDocument||t;if(t instanceof Document)return v(o,e,n);let r=null,i=!1;for(let e of l.get(o)||[])if(e===t)i=!0;else if(i){r=e;break}if(!i)return v(o,e,n);for(;r&&"showing"===s(r)&&l.get(o)?.size;)w(r,e,n)}var x=new WeakMap;function S(t){if(!t.isTrusted)return;let e=t.composedPath()[0];if(!e)return;let n=e.ownerDocument;if(!p(n))return;let r=function(t){let e=h(t),n=function(t){for(;t;){let e=t.popoverTargetElement;if(e instanceof HTMLElement)return e;if((t=t.parentElement||d(t))instanceof o&&(t=t.host),t instanceof Document)return}}(t);return f(e)>f(n)?e:n}(e);if(r&&"pointerdown"===t.type)x.set(n,r);else if("pointerup"===t.type){let t=x.get(n)===r;x.delete(n),t&&y(r||n,!1,!0)}}var T=new WeakMap;function E(t,e=!1){if(!t)return;T.has(t)||T.set(t,t.getAttribute("aria-expanded"));let n=t.popoverTargetElement;if(n instanceof HTMLElement&&"auto"===n.popover)t.setAttribute("aria-expanded",String(e));else{let e=T.get(t);e?t.setAttribute("aria-expanded",e):t.removeAttribute("aria-expanded")}}var A=globalThis.ShadowRoot||function(){};function M(t,e,n){let o=t[e];Object.defineProperty(t,e,{value(t){return o.call(this,n(t))}})}var k=/(^|[^\\]):popover-open\b/g,L="\n :where([popover]) {\n position: fixed;\n z-index: 2147483647;\n inset: 0;\n padding: 0.25em;\n width: fit-content;\n height: fit-content;\n border-width: initial;\n border-color: initial;\n border-image: initial;\n border-style: solid;\n background-color: canvas;\n color: canvastext;\n overflow: auto;\n margin: auto;\n }\n\n :where(dialog[popover][open]) {\n display: revert;\n }\n\n :where([anchor].\\:popover-open) {\n inset: auto;\n }\n\n :where([anchor]:popover-open) {\n inset: auto;\n }\n\n @supports not (background-color: canvas) {\n :where([popover]) {\n background-color: white;\n color: black;\n }\n }\n\n @supports (width: -moz-fit-content) {\n :where([popover]) {\n width: -moz-fit-content;\n height: -moz-fit-content;\n }\n }\n\n @supports not (inset: 0) {\n :where([popover]) {\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n }\n }\n\n :where([popover]:not(.\\:popover-open)) {\n display: none;\n }\n",H=null;function D(t){if(null===H)try{(H=new CSSStyleSheet).replaceSync(L)}catch{H=!1}if(!1===H){let e=document.createElement("style");e.textContent=L,t instanceof Document?t.head.prepend(e):t.prepend(e)}else t.adoptedStyleSheets=[H,...t.adoptedStyleSheets]}typeof HTMLElement<"u"&&"object"==typeof HTMLElement.prototype&&"popover"in HTMLElement.prototype||function(){function e(t){return t?.includes(":popover-open")&&(t=t.replace(k,"$1.\\:popover-open")),t}window.ToggleEvent=window.ToggleEvent||t,M(Document.prototype,"querySelector",e),M(Document.prototype,"querySelectorAll",e),M(Element.prototype,"querySelector",e),M(Element.prototype,"querySelectorAll",e),M(Element.prototype,"matches",e),M(Element.prototype,"closest",e),M(DocumentFragment.prototype,"querySelectorAll",e),M(DocumentFragment.prototype,"querySelectorAll",e),Object.defineProperties(HTMLElement.prototype,{popover:{enumerable:!0,configurable:!0,get(){if(!this.hasAttribute("popover"))return null;let t=(this.getAttribute("popover")||"").toLowerCase();return""===t||"auto"==t?"auto":"manual"},set(t){this.setAttribute("popover",t)}},showPopover:{enumerable:!0,configurable:!0,value(){b(this)}},hidePopover:{enumerable:!0,configurable:!0,value(){w(this,!0,!0)}},togglePopover:{enumerable:!0,configurable:!0,value(t){"showing"===a.get(this)&&void 0===t||!1===t?w(this,!0,!0):(void 0===t||!0===t)&&b(this)}}});let n=Element.prototype.attachShadow;n&&Object.defineProperties(Element.prototype,{attachShadow:{enumerable:!0,configurable:!0,writable:!0,value(t){let e=n.call(this,t);return D(e),e}}});let o=HTMLElement.prototype.attachInternals;o&&Object.defineProperties(HTMLElement.prototype,{attachInternals:{enumerable:!0,configurable:!0,writable:!0,value(){let t=o.call(this);return t.shadowRoot&&D(t.shadowRoot),t}}});let r=new WeakMap;function i(t){Object.defineProperties(t.prototype,{popoverTargetElement:{enumerable:!0,configurable:!0,set(t){if(null===t)this.removeAttribute("popovertarget"),r.delete(this);else{if(!(t instanceof Element))throw new TypeError("popoverTargetElement must be an element or null");this.setAttribute("popovertarget",""),r.set(this,t)}},get(){if("button"!==this.localName&&"input"!==this.localName||"input"===this.localName&&"reset"!==this.type&&"image"!==this.type&&"button"!==this.type||this.disabled||this.form&&"submit"===this.type)return null;let t=r.get(this);if(t&&t.isConnected)return t;if(t&&!t.isConnected)return r.delete(this),null;let e=d(this),n=this.getAttribute("popovertarget");return(e instanceof Document||e instanceof A)&&n&&e.getElementById(n)||null}},popoverTargetAction:{enumerable:!0,configurable:!0,get(){let t=(this.getAttribute("popovertargetaction")||"").toLowerCase();return"show"===t||"hide"===t?t:"toggle"},set(t){this.setAttribute("popovertargetaction",t)}}})}i(HTMLButtonElement),i(HTMLInputElement);var l;(l=document).addEventListener("click",(t=>{if(!t.isTrusted)return;let e=t.composedPath()[0];if(!(e instanceof Element)||e?.shadowRoot)return;let n=d(e);if(!(n instanceof A||n instanceof Document))return;let o=e.closest("[popovertargetaction],[popovertarget]");return o?(function(t){let e=t.popoverTargetElement;if(!(e instanceof HTMLElement))return;let n=s(e);"show"===t.popoverTargetAction&&"showing"===n||"hide"===t.popoverTargetAction&&"hidden"===n||("showing"===n?w(e,!0,!0):u(e,!1)&&(c.set(e,t),b(e)))}(o),void t.preventDefault()):void 0})),l.addEventListener("keydown",(t=>{let e=t.key,n=t.target;!t.defaultPrevented&&n&&("Escape"===e||"Esc"===e)&&y(n.ownerDocument,!0,!0)})),l.addEventListener("pointerdown",S),l.addEventListener("pointerup",S),D(document)}()})();const pt={top:"bottom",right:"left",bottom:"top",left:"right"},dt=class{constructor(n){t(this,n),this.postToggle=e(this,"postToggle",7),this.placement="top",this.arrow=!1}componentDidLoad(){this.popoverRef.setAttribute("popover",""),this.popoverRef.addEventListener("beforetoggle",this.handleToggle.bind(this))}disconnectedCallback(){this.popoverRef&&this.popoverRef.removeEventListener("beforetoggle",(t=>this.toggle(t.target))),"function"==typeof this.clearAutoUpdate&&this.clearAutoUpdate()}async show(t){this.toggleTimeoutId||(this.eventTarget=t,this.calculatePosition(),this.popoverRef.showPopover())}async hide(){this.toggleTimeoutId||(this.eventTarget=null,this.popoverRef.hidePopover())}async toggle(t,e){return this.toggleTimeoutId||(this.eventTarget=t,this.calculatePosition(),this.popoverRef.togglePopover(e),this.toggleTimeoutId=null),this.popoverRef.matches(":popover-open")}handleToggle(t){this.toggleTimeoutId=window.setTimeout((()=>this.toggleTimeoutId=null),10);const e="open"===t.newState;e?this.startAutoupdates():"function"==typeof this.clearAutoUpdate&&this.clearAutoUpdate(),this.postToggle.emit(e)}startAutoupdates(){this.clearAutoUpdate=function(t,e,n,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:f=!1}=o,p=X(t),d=r||i?[...p?G(p):[],...G(e)]:[];d.forEach((t=>{r&&t.addEventListener("scroll",n,{passive:!0}),i&&t.addEventListener("resize",n)}));const h=p&&u?function(t,e){let n,o=null;const r=D(t);function i(){var t;clearTimeout(n),null==(t=o)||t.disconnect(),o=null}return function s(u,f){void 0===u&&(u=!1),void 0===f&&(f=1),i();const{left:p,top:d,width:h,height:m}=t.getBoundingClientRect();if(u||e(),!h||!m)return;const g={rootMargin:-c(d)+"px "+-c(r.clientWidth-(p+h))+"px "+-c(r.clientHeight-(d+m))+"px "+-c(p)+"px",threshold:a(0,l(1,f))||1};let b=!0;function w(t){const e=t[0].intersectionRatio;if(e!==f){if(!b)return s();e?s(!1,e):n=setTimeout((()=>{s(!1,1e-7)}),1e3)}b=!1}try{o=new IntersectionObserver(w,{...g,root:r.ownerDocument})}catch(t){o=new IntersectionObserver(w,g)}o.observe(t)}(!0),i}(p,n):null;let m,g=-1,b=null;s&&(b=new ResizeObserver((t=>{let[o]=t;o&&o.target===p&&b&&(b.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame((()=>{var t;null==(t=b)||t.observe(e)}))),n()})),p&&!f&&b.observe(p),b.observe(e));let w=f?K(t):null;return f&&function e(){const o=K(t);!w||o.x===w.x&&o.y===w.y&&o.width===w.width&&o.height===w.height||n(),w=o,m=requestAnimationFrame(e)}(),n(),()=>{var t;d.forEach((t=>{r&&t.removeEventListener("scroll",n),i&&t.removeEventListener("resize",n)})),null==h||h(),null==(t=b)||t.disconnect(),b=null,f&&cancelAnimationFrame(m)}}(this.eventTarget,this.popoverRef,this.calculatePosition.bind(this))}async calculatePosition(){const t=[ct(),(void 0===e&&(e={}),{name:"inline",options:e,async fn(t){const{placement:n,elements:o,rects:r,platform:i,strategy:s}=t,{padding:c=2,x:u,y:f}=h(e,t),p=Array.from(await(null==i.getClientRects?void 0:i.getClientRects(o.reference))||[]),d=function(t){const e=t.slice().sort(((t,e)=>t.y-e.y)),n=[];let o=null;for(let t=0;t<e.length;t++){const r=e[t];!o||r.y-o.y>o.height/2?n.push([r]):n[n.length-1].push(r),o=r}return n.map((t=>E(k(t))))}(p),g=E(k(p)),b=T(c),w=await i.getElementRects({reference:{getBoundingClientRect:function(){if(2===d.length&&d[0].left>d[1].right&&null!=u&&null!=f)return d.find((t=>u>t.left-b.left&&u<t.right+b.right&&f>t.top-b.top&&f<t.bottom+b.bottom))||g;if(d.length>=2){if("y"===v(n)){const t=d[0],e=d[d.length-1],o="top"===m(n),r=t.top,i=e.bottom,l=o?t.left:e.left,a=o?t.right:e.right;return{top:r,bottom:i,left:l,right:a,width:a-l,height:i-r,x:l,y:r}}const t="left"===m(n),e=a(...d.map((t=>t.right))),o=l(...d.map((t=>t.left))),r=d.filter((n=>t?n.left===o:n.right===e)),i=r[0].top,s=r[r.length-1].bottom;return{top:i,bottom:s,left:o,right:e,width:e-o,height:s-i,x:o,y:i}}return g}},floating:o.floating,strategy:s});return r.reference.x!==w.reference.x||r.reference.y!==w.reference.y||r.reference.width!==w.reference.width||r.reference.height!==w.reference.height?{reset:{rects:w}}:{}}}),st({padding:8,limiter:ft({offset:32})}),ut({apply({availableWidth:t,elements:e}){Object.assign(e.floating.style,{maxWidth:t-16+"px"})}}),at(this.arrow?12:8)];var e;this.arrow&&t.push((t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:r,rects:i,platform:a,elements:s,middlewareData:c}=e,{element:u,padding:f=0}=h(t,e)||{};if(null==u)return{};const p=T(f),m={x:n,y:o},b=y(r),v=w(b),x=await a.getDimensions(u),S="y"===b,E=S?"top":"left",A=S?"bottom":"right",M=S?"clientHeight":"clientWidth",k=i.reference[v]+i.reference[b]-m[b]-i.floating[v],L=m[b]-i.reference[b],H=await(null==a.getOffsetParent?void 0:a.getOffsetParent(u));let D=H?H[M]:0;D&&await(null==a.isElement?void 0:a.isElement(H))||(D=s.floating[M]||i.floating[v]);const O=k/2-L/2,F=D/2-x[v]/2-1,R=l(p[E],F),z=l(p[A],F),P=R,W=D-x[v]-z,j=D/2-x[v]/2+O,C=d(P,j,W),q=!c.arrow&&null!=g(r)&&j!==C&&i.reference[v]/2-(j<P?R:z)-x[v]/2<0,B=q?j<P?j-P:j-W:0;return{[b]:m[b]+B,data:{[b]:C,centerOffset:j-C-B,...q&&{alignmentOffset:B}},reset:q}}}))({element:this.arrowRef,padding:8}));const{x:n,y:o,middlewareData:r,placement:i}=await((t,e,n)=>{const o=new Map,r={platform:lt,...n},i={...r.platform,_c:o};return(async(t,e,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:l}=n,a=i.filter(Boolean),s=await(null==l.isRTL?void 0:l.isRTL(e));let c=await l.getElementRects({reference:t,floating:e,strategy:r}),{x:u,y:f}=A(c,o,s),p=o,d={},h=0;for(let n=0;n<a.length;n++){const{name:i,fn:m}=a[n],{x:g,y:b,data:w,reset:v}=await m({x:u,y:f,initialPlacement:o,placement:p,strategy:r,middlewareData:d,rects:c,platform:l,elements:{reference:t,floating:e}});u=null!=g?g:u,f=null!=b?b:f,d={...d,[i]:{...d[i],...w}},v&&h<=50&&(h++,"object"==typeof v&&(v.placement&&(p=v.placement),v.rects&&(c=!0===v.rects?await l.getElementRects({reference:t,floating:e,strategy:r}):v.rects),({x:u,y:f}=A(c,p,s))),n=-1)}return{x:u,y:f,placement:p,strategy:r,middlewareData:d}})(t,e,{...r,platform:i})})(this.eventTarget,this.popoverRef,{placement:this.placement||"top",strategy:"fixed",middleware:t});if(this.popoverRef.style.left=`${n}px`,this.popoverRef.style.top=`${o}px`,this.arrow){const t=i.split("-")[0],{x:e,y:n}=r.arrow,o=pt[t],l=2;Object.assign(this.arrowRef.style,{top:n?`${n}px`:"",left:e?`${e}px`:"",[o]:-this.arrowRef.offsetWidth/2-l+"px"}),this.arrowRef.classList.remove(...Object.values(pt)),this.arrowRef.classList.add(o)}}render(){return n(o,{key:"1707db71258eef7c95c13d738561d9d55df540fc","data-version":i},n("div",{key:"d1d89bfc31529c803b04f2395509fe96b38d7d7a",class:"popover",part:"popover",ref:t=>this.popoverRef=t},this.arrow&&n("span",{key:"d85fc5f68be0ff8060b3be823e22744873395775",class:"arrow",ref:t=>{this.arrowRef=t}}),n("slot",{key:"7bd455d61d270b9d6cdc132ffb7a00f0259164e7"})))}get host(){return r(this)}};dt.style="@layer polyfill{@supports not selector(:popover-open){[popover]:not(.\\:popover-open){display:none}}}.popover{box-shadow:.5px 3px 4px rgba(0,0,0,.1),2px 4px 10px 4px rgba(0,0,0,.12);position:fixed;z-index:1060;width:max-content;margin:0;padding:0;box-sizing:border-box;color:var(--post-contrast-color);background-color:rgb(var(--post-bg-rgb));border:2px solid rgba(0,0,0,0);border-radius:4px;overflow:visible}.arrow{position:absolute;width:.5825rem;height:.5825rem;background-color:inherit;rotate:45deg;pointer-events:none;z-index:-1}.arrow.top{border-left:2px solid rgba(0,0,0,0);border-top:2px solid rgba(0,0,0,0)}.arrow.right{border-right:2px solid rgba(0,0,0,0);border-top:2px solid rgba(0,0,0,0)}.arrow.left{border-left:2px solid rgba(0,0,0,0);border-bottom:2px solid rgba(0,0,0,0)}.arrow.bottom{border-right:2px solid rgba(0,0,0,0);border-bottom:2px solid rgba(0,0,0,0)}";export{dt as P}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{P as post_accordion_item}from"./p-3f2c54ad.js";import"./p-d9eab6d9.js";import"./p-941e5ef0.js";import"./p-247a1668.js";import"./p-f91c0e1b.js";import"./p-440193f4.js";import"./p-611b3c41.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const o="7.2.0";export{o as v}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{P as post_rating}from"./p-0637689e.js";import"./p-d9eab6d9.js";import"./p-941e5ef0.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as a,c as r,h as t,H as o,g as s}from"./p-d9eab6d9.js";import{v as e}from"./p-941e5ef0.js";import{f as b,a as c}from"./p-2737eaf5.js";const i=class{constructor(t){a(this,t),this.postChange=r(this,"postChange",7),this.isLoaded=!1,this.activePanel=void 0}get tabs(){return this.host.querySelectorAll("post-tab-header")}componentDidLoad(){this.moveMisplacedTabs(),this.enableTabs();const a=this.activePanel||this.tabs.item(0).panel;this.show(a),this.isLoaded=!0}async show(a){var r;if(a===(null===(r=this.activeTab)||void 0===r?void 0:r.panel))return;const t=this.activeTab,o=this.host.querySelector(`post-tab-header[panel=${a}]`);this.activateTab(o),this.showing&&(this.showing.effect.target.style.display="none",this.showing.finish()),!t||this.showing||this.hiding||this.hidePanel(t.panel),this.hiding&&await this.hiding.finished,this.showSelectedPanel(),this.showing&&await this.showing.finished,this.postChange.emit(this.activeTab.panel)}moveMisplacedTabs(){this.tabs&&this.tabs.forEach((a=>{"tabs"!==a.getAttribute("slot")&&a.setAttribute("slot","tabs")}))}enableTabs(){this.tabs&&(this.tabs.forEach((async a=>{if(await a.componentOnReady(),a.getAttribute("aria-controls"))return;const r=this.getPanel(a.panel);a.setAttribute("aria-controls",r.id),r.setAttribute("aria-labelledby",a.id),a.addEventListener("click",(()=>{this.show(a.panel)})),a.addEventListener("keydown",(r=>{"Enter"!==r.key&&" "!==r.key||(r.preventDefault(),this.show(a.panel))})),a.addEventListener("keydown",(({key:r})=>{"ArrowRight"!==r&&"ArrowLeft"!==r||this.navigateTabs(a,r)}))})),this.activeTab&&!this.activeTab.isConnected&&this.show(this.tabs.item(0).panel))}activateTab(a){this.activeTab&&(this.activeTab.setAttribute("aria-selected","false"),this.activeTab.setAttribute("tabindex","-1"),this.activeTab.classList.remove("active")),a.setAttribute("aria-selected","true"),a.setAttribute("tabindex","0"),a.classList.add("active"),this.activeTab=a}hidePanel(a){const r=this.getPanel(a);r&&(this.hiding=b(r),this.hiding.onfinish=()=>{r.style.display="none",this.hiding=null})}showSelectedPanel(){const a=this.getPanel(this.activeTab.panel);a.style.display="block",this.isLoaded&&(this.showing=c(a),this.showing.onfinish=()=>{this.showing=null})}getPanel(a){return this.host.querySelector(`post-tab-panel[name=${a}]`)}navigateTabs(a,r){const t=Array.from(this.tabs).indexOf(a);let o;o="ArrowRight"===r?this.tabs[t+1]||this.tabs[0]:this.tabs[t-1]||this.tabs[this.tabs.length-1],o&&o.focus()}render(){return t(o,{key:"38a0e3f686dab8cc1ea9dc23cc6e275fe0e6b45d","data-version":e},t("div",{key:"c67273069e5d3ba858bd6c5da8684bbd2f8c398b",class:"tabs-wrapper"},t("div",{key:"fc3e725607107f3b5d3c969e4107c229ca8f8c66",class:"tabs",role:"tablist"},t("slot",{key:"caf8d1a6901327d0b8faebb36ce239d7368e2a22",name:"tabs",onSlotchange:()=>this.enableTabs()}))),t("div",{key:"f8cf7c8c8cbb3fd308cebc34513b16926f8e5c81",class:"tab-content"},t("slot",{key:"7f7ff954545f85e6caab71d7265017607e25262b",onSlotchange:()=>this.moveMisplacedTabs()})))}get host(){return s(this)}};i.style='.tabs-wrapper{position:relative;padding-top:1rem;border:0;background-color:rgba(var(--post-contrast-color-rgb), 0.02)}.tabs-wrapper::after{content:"";position:absolute;bottom:0;width:100%;height:1px;background-color:#ccc}.tabs-wrapper .tabs{background-color:rgba(0,0,0,0) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.tabs-wrapper::after{background-color:ButtonBorder}}.tabs{margin:0;padding:0;list-style:none;display:flex;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;white-space:nowrap}.tabs::after{content:"";display:block;flex:1 0 auto;width:1rem}.tab-content{padding-top:1rem}.bg-yellow .tabs-wrapper{background-color:#fc0}.bg-white .tabs-wrapper{background-color:#fff}.bg-light .tabs-wrapper{background-color:#faf9f8}.bg-gray .tabs-wrapper{background-color:#f4f3f1}.bg-dark .tabs-wrapper{background-color:#333}.bg-black .tabs-wrapper{background-color:#000}.bg-primary .tabs-wrapper{background-color:#333}.bg-secondary .tabs-wrapper{background-color:#666}.bg-success .tabs-wrapper{background-color:#2c871d}.bg-warning .tabs-wrapper{background-color:#f49e00}.bg-error .tabs-wrapper{background-color:#a51728}.bg-info .tabs-wrapper{background-color:#cce4ee}.bg-success-background .tabs-wrapper{background-color:#c0debb}.bg-warning-background .tabs-wrapper{background-color:#fce2b2}.bg-error-background .tabs-wrapper{background-color:#ffdade}.bg-nightblue .tabs-wrapper{background-color:#004976}.bg-nightblue-bright .tabs-wrapper{background-color:#0076a8}.bg-petrol .tabs-wrapper{background-color:#006d68}.bg-petrol-bright .tabs-wrapper{background-color:#00968f}.bg-coral .tabs-wrapper{background-color:#9e2a2f}.bg-coral-bright .tabs-wrapper{background-color:#e03c31}.bg-olive .tabs-wrapper{background-color:#716135}.bg-olive-bright .tabs-wrapper{background-color:#aa9d2e}.bg-purple .tabs-wrapper{background-color:#80276c}.bg-purple-bright .tabs-wrapper{background-color:#c5299b}.bg-aubergine .tabs-wrapper{background-color:#523178}.bg-aubergine-bright .tabs-wrapper{background-color:#7566a0}:host{display:block}';export{i as P}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{P as post_tag}from"./p-aef9ee8b.js";import"./p-d9eab6d9.js";import"./p-941e5ef0.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{P as post_icon}from"./p-3ce051c9.js";import"./p-d9eab6d9.js";import"./p-f91c0e1b.js";import"./p-440193f4.js";import"./p-611b3c41.js";import"./p-941e5ef0.js";import"./p-b095519d.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as o,h as e,H as r,g as a}from"./p-d9eab6d9.js";import{v as s}from"./p-941e5ef0.js";import{f as i}from"./p-2737eaf5.js";import{a as n,b as l,c}from"./p-f91c0e1b.js";import{c as p}from"./p-b095519d.js";const g=["primary","success","warning","danger","info","gray"],h=class{constructor(e){t(this,e),this.postDismissed=o(this,"postDismissed",7),this.alertId=crypto.randomUUID(),this.classes=void 0,this.hasActions=void 0,this.hasHeading=void 0,this.onDismissButtonClick=()=>this.dismiss(),this.dismissible=!1,this.dismissLabel=void 0,this.fixed=!1,this.icon=void 0,this.type="primary"}validateDismissible(t=this.dismissible){n(t,"boolean",'The post-alert "dismissible" prop should be a boolean.'),setTimeout((()=>this.validateDismissLabel()))}validateDismissLabel(t=this.dismissLabel){this.dismissible&&p(t,'Dismissible post-alert\'s require a "dismiss-label" prop.')}validateFixed(t=this.fixed){n(t,"boolean",'The post-alert "fixed" prop should be a boolean.')}validateIcon(t=this.icon){l(t,/\d{4}|none/,'The post-alert "icon" prop should be a 4-digits string.')}validateType(t=this.type){c(t,g,`The post-alert requires a type form: ${g.join(", ")}`)}connectedCallback(){this.validateDismissible(),this.validateFixed(),this.validateIcon(),this.validateType()}componentWillRender(){var t;this.hasHeading=this.host.querySelectorAll("[slot=heading]").length>0,this.hasActions=this.host.querySelectorAll("[slot=actions]").length>0,this.classes=`alert alert-${null!==(t=this.type)&&void 0!==t?t:"primary"}`,this.dismissible&&(this.classes+=" alert-dismissible"),this.hasActions&&(this.classes+=" alert-action"),this.fixed&&(this.classes+=" alert-fixed-bottom"),"none"===this.icon&&(this.classes+=" no-icon")}async dismiss(){const t=i(this.host);await t.finished,this.host.remove(),this.postDismissed.emit()}render(){const t=[this.hasHeading&&e("div",{key:`${this.alertId}-heading`,class:"alert-heading"},e("slot",{key:"21d19b64b4bce19fd4b07696dc246750dbb165ce",name:"heading"})),e("slot",{key:`${this.alertId}-message`})],o=[e("div",{key:`${this.alertId}-content`,class:"alert-content"},t),e("div",{key:`${this.alertId}-buttons`,class:"alert-buttons"},e("slot",{key:"ab1785ac06297249f1af9b4eb1afaab0551ba5e1",name:"actions"}))];return e(r,{key:"5f0d259c805770fc4a5693c0dc0ad6ef5b7a1336","data-version":s},e("div",{key:"7e83a8c3d0e189e58e86f3a0060545ac216b350c",role:"alert",class:this.classes},this.dismissible&&e("button",{key:"65285210d6a88cf31c9c0aa1d0d7242ea7c2c5d1",class:"btn-close",onClick:this.onDismissButtonClick},e("span",{key:"eef7bf9b17ff3c13c76022d81deab393dd32e732",class:"visually-hidden"},this.dismissLabel)),this.icon&&"none"!==this.icon&&e("post-icon",{key:`${this.alertId}-icon`,name:this.icon}),this.hasActions?o:t))}get host(){return a(this)}static get watchers(){return{dismissible:["validateDismissible"],dismissLabel:["validateDismissLabel"],fixed:["validateFixed"],icon:["validateIcon"],type:["validateType"]}}};h.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 */.alert-primary,.alert-success,.alert-warning,.alert-danger,.alert-info,.alert-gray,.alert-notification,.alert-error{background-color:rgb(var(--post-bg-rgb)) !important;color:var(--post-contrast-color) !important}.alert-warning,.alert-info,.alert-gray{--post-contrast-color:#000;--post-focus-color:#1976c8;--post-contrast-color-inverted:#fff;--post-gray-10:hsl(0, 0%, 90%);--post-gray-20:hsl(0, 0%, 80%);--post-gray-40:hsl(0, 0%, 60%);--post-gray-60:hsl(0, 0%, 40%);--post-gray-80:hsl(0, 0%, 20%);--post-yellow:#fc0;--post-white:#fff;--post-light:#faf9f8;--post-gray:#f4f3f1;--post-dark:hsl(0, 0%, 20%);--post-black:#000;--post-primary:hsl(0, 0%, 20%);--post-secondary:hsl(0, 0%, 40%);--post-success:#2c871d;--post-warning:#f49e00;--post-error:#a51728;--post-info:#cce4ee;--post-success-background:#c0debb;--post-warning-background:#fce2b2;--post-error-background:#ffdade;--post-nightblue:#004976;--post-nightblue-bright:#0076a8;--post-petrol:#006d68;--post-petrol-bright:#00968f;--post-coral:#9e2a2f;--post-coral-bright:#e03c31;--post-olive:#716135;--post-olive-bright:#aa9d2e;--post-purple:#80276c;--post-purple-bright:#c5299b;--post-aubergine:#523178;--post-aubergine-bright:#7566a0;--post-contrast-color-rgb:0, 0, 0;--post-contrast-color-inverted-rgb:255, 255, 255;--post-gray-10-rgb:230, 230, 230;--post-gray-20-rgb:204, 204, 204;--post-gray-40-rgb:153, 153, 153;--post-gray-60-rgb:102, 102, 102;--post-gray-80-rgb:51, 51, 51;--post-black-alpha-10-rgba:rgba(0, 0, 0, 0.1);--post-black-alpha-20-rgba:rgba(0, 0, 0, 0.2);--post-black-alpha-40-rgba:rgba(0, 0, 0, 0.4);--post-black-alpha-60-rgba:rgba(0, 0, 0, 0.6);--post-black-alpha-80-rgba:rgba(0, 0, 0, 0.8);--post-white-alpha-10-rgba:rgba(255, 255, 255, 0.1);--post-white-alpha-20-rgba:rgba(255, 255, 255, 0.2);--post-white-alpha-40-rgba:rgba(255, 255, 255, 0.4);--post-white-alpha-60-rgba:rgba(255, 255, 255, 0.6);--post-white-alpha-80-rgba:rgba(255, 255, 255, 0.8);--post-yellow-rgb:255, 204, 0;--post-white-rgb:255, 255, 255;--post-light-rgb:250, 249, 248;--post-gray-rgb:244, 243, 241;--post-dark-rgb:51, 51, 51;--post-black-rgb:0, 0, 0;--post-primary-rgb:51, 51, 51;--post-secondary-rgb:102, 102, 102;--post-success-rgb:44, 135, 29;--post-warning-rgb:244, 158, 0;--post-error-rgb:165, 23, 40;--post-info-rgb:204, 228, 238;--post-success-background-rgb:192, 222, 187;--post-warning-background-rgb:252, 226, 178;--post-error-background-rgb:255, 218, 222;--post-nightblue-rgb:0, 73, 118;--post-nightblue-bright-rgb:0, 118, 168;--post-petrol-rgb:0, 109, 104;--post-petrol-bright-rgb:0, 150, 143;--post-coral-rgb:158, 42, 47;--post-coral-bright-rgb:224, 60, 49;--post-olive-rgb:113, 97, 53;--post-olive-bright-rgb:170, 157, 46;--post-purple-rgb:128, 39, 108;--post-purple-bright-rgb:197, 41, 155;--post-aubergine-rgb:82, 49, 120;--post-aubergine-bright-rgb:117, 102, 160}.alert-primary,.alert-success,.alert-danger,.alert-notification,.alert-error{--post-contrast-color:#fff;--post-focus-color:#fff;--post-contrast-color-inverted:#000;--post-dark:#faf9f8;--post-light:hsl(0, 0%, 20%);--post-gray-80:hsl(0, 0%, 90%);--post-gray-60:hsl(0, 0%, 80%);--post-gray-40:hsl(0, 0%, 60%);--post-gray-20:hsl(0, 0%, 40%);--post-gray-10:hsl(0, 0%, 20%);--post-contrast-color-rgb:255, 255, 255;--post-contrast-color-inverted-rgb:0, 0, 0;--post-dark-rgb:250, 249, 248;--post-light-rgb:51, 51, 51;--post-gray-80-rgb:230, 230, 230;--post-gray-60-rgb:204, 204, 204;--post-gray-40-rgb:153, 153, 153;--post-gray-20-rgb:102, 102, 102;--post-gray-10-rgb:51, 51, 51}.alert{position:relative;box-sizing:border-box;min-height:5rem;box-shadow:0 2px 4px 0 rgba(0,0,0,.2);border-radius:4px;padding:1rem 1.25rem;padding-inline-start:5.5rem;margin-block-end:1rem;font-size:1rem;font-weight:300}.alert.no-icon{min-height:3.5rem;padding-inline-start:1.25rem}.alert[class^=pi-],.alert[class*=\" pi-\"]{background-size:3rem;background-position:1.25rem 1rem;background-repeat:no-repeat}.alert[class^=pi-].no-icon,.alert[class*=\" pi-\"].no-icon{background-image:none}.alert::before{content:\"\";display:block}.alert::before,.alert>post-icon{position:absolute;height:3rem;width:3rem;left:1.25rem;top:1rem}.alert.no-icon::before,.alert[class^=pi-]::before,.alert[class*=\" pi-\"]::before{content:unset}.alert.no-icon>post-icon,.alert[class^=pi-]>post-icon,.alert[class*=\" pi-\"]>post-icon{display:none}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.alert{filter:none !important;border:2px solid CanvasText}}.alert:not(.alert-action){display:flex;flex-direction:column;justify-content:center;gap:.25rem}.alert:not(.alert-action) a{font-weight:400}.alert:not(.alert-action) hr{margin-block:.5rem .75rem !important}.alert:not(.alert-action)>:only-child,.alert:not(.alert-action)>post-icon:first-child+:last-child{font-size:1.0625rem;font-weight:700}.alert:not(.alert-action)>*{margin:0}.alert-heading{font-size:1.0625rem;font-weight:700}.alert-dismissible{pointer-events:auto;position:relative;padding-inline-end:4rem}.alert-dismissible>.btn-close{position:absolute;inset-block-start:1rem;inset-inline-end:1.25rem}.alert-dismissible>.btn-close:first-child+:last-child{font-size:1.0625rem;font-weight:700}.alert-action{display:flex;flex-direction:row;align-items:center;gap:1.25rem}.alert-action>.alert-content{flex:1 1 auto;display:flex;flex-direction:column;justify-content:center;gap:.25rem}.alert-action>.alert-content a{font-weight:400}.alert-action>.alert-content hr{margin-block:.5rem .75rem !important}.alert-action>.alert-content>:only-child,.alert-action>.alert-content>post-icon:first-child+:last-child{font-size:1.0625rem;font-weight:700}.alert-action>.alert-content>*{margin:0}.alert-action>.alert-buttons{flex:0 0 auto;display:flex;align-items:center;gap:.5rem}@media (min-width: 780px){.alert-action.alert-dismissible>.btn-close{inset-block-start:calc(50% - 0.75rem)}}@media (max-width: 779.98px){.alert-action{flex-direction:column;align-items:stretch;padding-inline:1.25rem}.alert-action>.alert-content{padding-inline-start:4.25rem;padding-inline-end:2.75rem}.alert-action.no-icon>.alert-content{padding-inline-start:0}.alert-action>.alert-buttons{display:flex}.alert-action>.alert-buttons>.btn,.alert-action>.alert-buttons>::slotted(.btn){flex:1 0 0;width:100%}.alert-action>.alert-buttons>.btn:first-child,.alert-action>.alert-buttons>::slotted(.btn):first-child{margin-inline-start:0}}.alert-fixed-bottom{position:fixed;inset-block-end:0;inset-inline-start:0;inset-inline-end:0;margin-bottom:0;border-radius:0;z-index:1030}@media (min-width: 1440px){.alert-fixed-bottom{padding-inline-end:calc((100% - 1439px) / 2 + 120px + 1.25rem);padding-inline-start:calc(\n (100% - 1439px) / 2 + 120px + 1.25rem + 3rem + 1.25rem\n );background-position-x:calc((100% - 1439px) / 2 + 120px + 1.25rem + 1.5rem)}.alert-fixed-bottom::before{left:calc((100% - 1439px) / 2 + 120px + 1.25rem)}.alert-fixed-bottom.no-icon{padding-inline-start:calc((100% - 1439px) / 2 + 120px + 1.25rem)}.alert-fixed-bottom.alert-dismissible{padding-inline-end:calc(\n (100% - 1439px) / 2 + 120px + 1.25rem + 1.25rem + 1.5rem\n )}.alert-fixed-bottom.alert-dismissible>.btn-close{inset-inline-end:calc((100% - 1439px) / 2 + 120px + 1.25rem)}}.alert-primary{--post-bg-rgb:51, 51, 51}.alert-primary:not(.no-icon,[class^=pi-],[class*=\" pi-\"])::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30.533 26.933c-3.333-4.8-5.867-12.667-5.867-18.267 0-4.8-3.867-8.667-8.667-8.667S7.332 3.866 7.332 8.666c0 5.6-2.533 13.467-5.867 18.267L1.998 28h11.333v4h5.333v-4h11.333l.533-1.067zm-13.2 3.734h-2.667V28h2.667zm-14.133-4c3.2-5.067 5.467-12.533 5.467-18 0-4 3.333-7.333 7.333-7.333s7.333 3.333 7.333 7.333c0 5.467 2.267 12.933 5.467 18z'/%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='M30.533 26.933c-3.333-4.8-5.867-12.667-5.867-18.267 0-4.8-3.867-8.667-8.667-8.667S7.332 3.866 7.332 8.666c0 5.6-2.533 13.467-5.867 18.267L1.998 28h11.333v4h5.333v-4h11.333l.533-1.067zm-13.2 3.734h-2.667V28h2.667zm-14.133-4c3.2-5.067 5.467-12.533 5.467-18 0-4 3.333-7.333 7.333-7.333s7.333 3.333 7.333 7.333c0 5.467 2.267 12.933 5.467 18z'/%3E%3C/svg%3E\");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color}.alert-primary:has(>post-icon)::before{content:none}.alert-primary>post-icon{background-color:#333}.alert-success{--post-bg-rgb:44, 135, 29}.alert-success:not(.no-icon,[class^=pi-],[class*=\" pi-\"])::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m12.667 24.533-7.6-7.6 1.867-1.867 5.733 5.733 12.4-12.4 1.867 1.867z'/%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 24.533-7.6-7.6 1.867-1.867 5.733 5.733 12.4-12.4 1.867 1.867z'/%3E%3C/svg%3E\");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color}.alert-success:has(>post-icon)::before{content:none}.alert-success>post-icon{background-color:#2c871d}.alert-warning{--post-bg-rgb:244, 158, 0}.alert-warning:not(.no-icon,[class^=pi-],[class*=\" pi-\"])::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.67 4h2.67v18.67h-2.67zm0 21.33h2.67V28h-2.67z'/%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='M14.67 4h2.67v18.67h-2.67zm0 21.33h2.67V28h-2.67z'/%3E%3C/svg%3E\");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color}.alert-warning:has(>post-icon)::before{content:none}.alert-warning>post-icon{background-color:#f49e00}.alert-danger{--post-bg-rgb:165, 23, 40}.alert-danger:not(.no-icon,[class^=pi-],[class*=\" pi-\"])::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.67 4h2.67v18.67h-2.67zm0 21.33h2.67V28h-2.67z'/%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='M14.67 4h2.67v18.67h-2.67zm0 21.33h2.67V28h-2.67z'/%3E%3C/svg%3E\");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color}.alert-danger:has(>post-icon)::before{content:none}.alert-danger>post-icon{background-color:#a51728}.alert-info{--post-bg-rgb:204, 228, 238}.alert-info:not(.no-icon,[class^=pi-],[class*=\" pi-\"])::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.33 25.33v-16h-4.67V12h2v13.33h-2V28h6.67v-2.67zM14.67 4h2.67v2.67h-2.67z'/%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='M17.33 25.33v-16h-4.67V12h2v13.33h-2V28h6.67v-2.67zM14.67 4h2.67v2.67h-2.67z'/%3E%3C/svg%3E\");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color}.alert-info:has(>post-icon)::before{content:none}.alert-info>post-icon{background-color:#cce4ee}.alert-gray{--post-bg-rgb:244, 243, 241}.alert-gray:not(.no-icon,[class^=pi-],[class*=\" pi-\"])::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M31.986 15.73c-.503.16-1.03.27-1.586.27a5.24 5.24 0 0 1-4.43-2.448c-.73.382-1.547.62-2.427.62a5.257 5.257 0 0 1-5.257-5.258c0-.88.237-1.698.62-2.427a5.24 5.24 0 0 1-2.449-4.43c0-.714.145-1.393.403-2.014C16.574.028 16.29 0 16 0 7.163 0 0 7.163 0 16s7.163 16 16 16 16-7.163 16-16c0-.091-.012-.18-.014-.27M16 30.667c-8.087 0-14.667-6.58-14.667-14.667 0-7.806 6.13-14.207 13.828-14.643a6.54 6.54 0 0 0 2.116 5.56 6.3 6.3 0 0 0-.325 1.997 6.6 6.6 0 0 0 6.59 6.59c.677 0 1.346-.108 1.998-.324a6.54 6.54 0 0 0 5.067 2.15C29.933 24.796 23.639 30.667 16 30.667M11.352 14.17a2.667 2.667 0 1 0-5.333 0 2.667 2.667 0 0 0 5.333 0m-4 0a1.335 1.335 0 1 1 1.334 1.334 1.336 1.336 0 0 1-1.334-1.334m13.981 8.496a2.667 2.667 0 1 0-5.333 0 2.667 2.667 0 0 0 5.333 0m-4 0a1.335 1.335 0 0 1 2.667 0c0 .735-.598 1.333-1.333 1.333a1.335 1.335 0 0 1-1.334-1.333m-7.276-1.829a2 2 0 1 0 0 4 2 2 0 0 0 0-4m0 2.667a.667.667 0 1 1 .002-1.335.667.667 0 0 1-.002 1.335m7.772-6a2 2 0 1 0-4 0 2 2 0 0 0 4 0m-2 .666a.667.667 0 1 1 .001-1.334.667.667 0 0 1-.001 1.334M11.505 5.505a2 2 0 1 0 0 4 2 2 0 0 0 0-4m0 2.666a.667.667 0 1 1 .001-1.334.667.667 0 0 1-.001 1.334M28.93 18.548a13.2 13.2 0 0 1-4.335 7.357.663.663 0 0 1-.94-.073.666.666 0 0 1 .073-.94 11.84 11.84 0 0 0 3.894-6.61.668.668 0 0 1 1.307.266m-6.668 8.212a.667.667 0 0 1-.295.896c-.837.423-1.722.757-2.63.99a.665.665 0 1 1-.33-1.292 11.7 11.7 0 0 0 2.359-.888.67.67 0 0 1 .896.294M4 15.921a.666.666 0 1 1-1.333 0 13.13 13.13 0 0 1 4.597-9.984.666.666 0 1 1 .867 1.013A11.8 11.8 0 0 0 4 15.92'/%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='M31.986 15.73c-.503.16-1.03.27-1.586.27a5.24 5.24 0 0 1-4.43-2.448c-.73.382-1.547.62-2.427.62a5.257 5.257 0 0 1-5.257-5.258c0-.88.237-1.698.62-2.427a5.24 5.24 0 0 1-2.449-4.43c0-.714.145-1.393.403-2.014C16.574.028 16.29 0 16 0 7.163 0 0 7.163 0 16s7.163 16 16 16 16-7.163 16-16c0-.091-.012-.18-.014-.27M16 30.667c-8.087 0-14.667-6.58-14.667-14.667 0-7.806 6.13-14.207 13.828-14.643a6.54 6.54 0 0 0 2.116 5.56 6.3 6.3 0 0 0-.325 1.997 6.6 6.6 0 0 0 6.59 6.59c.677 0 1.346-.108 1.998-.324a6.54 6.54 0 0 0 5.067 2.15C29.933 24.796 23.639 30.667 16 30.667M11.352 14.17a2.667 2.667 0 1 0-5.333 0 2.667 2.667 0 0 0 5.333 0m-4 0a1.335 1.335 0 1 1 1.334 1.334 1.336 1.336 0 0 1-1.334-1.334m13.981 8.496a2.667 2.667 0 1 0-5.333 0 2.667 2.667 0 0 0 5.333 0m-4 0a1.335 1.335 0 0 1 2.667 0c0 .735-.598 1.333-1.333 1.333a1.335 1.335 0 0 1-1.334-1.333m-7.276-1.829a2 2 0 1 0 0 4 2 2 0 0 0 0-4m0 2.667a.667.667 0 1 1 .002-1.335.667.667 0 0 1-.002 1.335m7.772-6a2 2 0 1 0-4 0 2 2 0 0 0 4 0m-2 .666a.667.667 0 1 1 .001-1.334.667.667 0 0 1-.001 1.334M11.505 5.505a2 2 0 1 0 0 4 2 2 0 0 0 0-4m0 2.666a.667.667 0 1 1 .001-1.334.667.667 0 0 1-.001 1.334M28.93 18.548a13.2 13.2 0 0 1-4.335 7.357.663.663 0 0 1-.94-.073.666.666 0 0 1 .073-.94 11.84 11.84 0 0 0 3.894-6.61.668.668 0 0 1 1.307.266m-6.668 8.212a.667.667 0 0 1-.295.896c-.837.423-1.722.757-2.63.99a.665.665 0 1 1-.33-1.292 11.7 11.7 0 0 0 2.359-.888.67.67 0 0 1 .896.294M4 15.921a.666.666 0 1 1-1.333 0 13.13 13.13 0 0 1 4.597-9.984.666.666 0 1 1 .867 1.013A11.8 11.8 0 0 0 4 15.92'/%3E%3C/svg%3E\");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color}.alert-gray:has(>post-icon)::before{content:none}.alert-gray>post-icon{background-color:#f4f3f1}.alert-notification{--post-bg-rgb:51, 51, 51}.alert-notification:not(.no-icon,[class^=pi-],[class*=\" pi-\"])::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30.533 26.933c-3.333-4.8-5.867-12.667-5.867-18.267 0-4.8-3.867-8.667-8.667-8.667S7.332 3.866 7.332 8.666c0 5.6-2.533 13.467-5.867 18.267L1.998 28h11.333v4h5.333v-4h11.333l.533-1.067zm-13.2 3.734h-2.667V28h2.667zm-14.133-4c3.2-5.067 5.467-12.533 5.467-18 0-4 3.333-7.333 7.333-7.333s7.333 3.333 7.333 7.333c0 5.467 2.267 12.933 5.467 18z'/%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='M30.533 26.933c-3.333-4.8-5.867-12.667-5.867-18.267 0-4.8-3.867-8.667-8.667-8.667S7.332 3.866 7.332 8.666c0 5.6-2.533 13.467-5.867 18.267L1.998 28h11.333v4h5.333v-4h11.333l.533-1.067zm-13.2 3.734h-2.667V28h2.667zm-14.133-4c3.2-5.067 5.467-12.533 5.467-18 0-4 3.333-7.333 7.333-7.333s7.333 3.333 7.333 7.333c0 5.467 2.267 12.933 5.467 18z'/%3E%3C/svg%3E\");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color}.alert-notification:has(>post-icon)::before{content:none}.alert-notification>post-icon{background-color:#333}.alert-error{--post-bg-rgb:165, 23, 40}.alert-error:not(.no-icon,[class^=pi-],[class*=\" pi-\"])::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.67 4h2.67v18.67h-2.67zm0 21.33h2.67V28h-2.67z'/%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='M14.67 4h2.67v18.67h-2.67zm0 21.33h2.67V28h-2.67z'/%3E%3C/svg%3E\");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color}.alert-error:has(>post-icon)::before{content:none}.alert-error>post-icon{background-color:#a51728}.btn-close{padding:0;overflow:visible;border:0;background:none;color:inherit;font:inherit;-webkit-user-select:none;user-select:none;appearance:button;border-radius:4px;color:var(--post-gray-80);transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;cursor:pointer}.btn-close{outline-style:none !important;outline-offset:2px !important;outline-width:2px !important;outline-color:var(--post-focus-color) !important}.btn-close:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:solid !important;border-radius:4px}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn-close:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.btn-close:is(:focus-visible,:focus-within,.pretend-focus){outline-style:solid !important;border-radius:4px}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn-close:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}.btn-close::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m16.267 16.667 6.667-6.533-.933-1.067-6.667 6.667-6.667-6.667-.933 1.067 6.667 6.533-6.667 6.667 1.067.933 6.533-6.667 6.667 6.667.933-1.067z'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m16.267 16.667 6.667-6.533-.933-1.067-6.667 6.667-6.667-6.667-.933 1.067 6.667 6.533-6.667 6.667 1.067.933 6.533-6.667 6.667 6.667.933-1.067z'/%3E%3C/svg%3E\");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color;content:\"\";display:block;height:1.5rem;width:1.5rem}: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]) .btn-close{color:var(--post-contrast-color)}.btn-close:focus,.btn-close:not(:disabled):hover,.pretend-hover.btn-close{color:var(--post-contrast-color)}.btn-close:disabled{color:var(--post-gray-40)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn-close{color:CanvasText;forced-color-adjust:none}.btn-close:focus,.btn-close:not(:disabled):hover,.pretend-hover.btn-close{color:Highlight}}.btn-close-white{color:#e6e6e6}.btn-close-white:focus,.btn-close-white:not(:disabled):hover,.btn-close-white.pretend-hover{color:#fff}.btn-close-white:disabled{color:#999}/*!\n * Copyright 2021 by Swiss Post, Information Technology\n */:host{display:block}:host ::slotted(*){margin:0 !important}.visually-hidden{width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important;border:0 !important}.visually-hidden:not(caption){position:absolute !important}.alert-heading>::slotted(h1){font-size:inherit !important;font-weight:inherit !important}.alert-heading>::slotted(h2){font-size:inherit !important;font-weight:inherit !important}.alert-heading>::slotted(h3){font-size:inherit !important;font-weight:inherit !important}.alert-heading>::slotted(h4){font-size:inherit !important;font-weight:inherit !important}.alert-heading>::slotted(h5){font-size:inherit !important;font-weight:inherit !important}.alert-heading>::slotted(h6){font-size:inherit !important;font-weight:inherit !important}";export{h as P}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{P as post_tooltip}from"./p-ee12644d.js";import"./p-d9eab6d9.js";import"./p-941e5ef0.js";import"./p-6adeaa6c.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{P as post_alert}from"./p-c21da8cb.js";import"./p-d9eab6d9.js";import"./p-941e5ef0.js";import"./p-2737eaf5.js";import"./p-f91c0e1b.js";import"./p-440193f4.js";import"./p-611b3c41.js";import"./p-b095519d.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{P as post_accordion}from"./p-f86b2ea1.js";import"./p-d9eab6d9.js";import"./p-941e5ef0.js";import"./p-247a1668.js";import"./p-611b3c41.js";
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var e=Object.defineProperty,t={},n=e=>"object"==(e=typeof e)||"function"===e;function l(e){var t,n,l;return null!=(l=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?l:void 0}((t,n)=>{for(var l in n)e(t,l,{get:n[l],enumerable:!0})})({},{err:()=>s,map:()=>r,ok:()=>o,unwrap:()=>a,unwrapErr:()=>u});var o=e=>({isOk:!0,isErr:!1,value:e}),s=e=>({isOk:!1,isErr:!0,value:e});function r(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>o(e))):o(n)}if(e.isErr)return s(e.value);throw"should never get here"}var i,c,a=e=>{if(e.isOk)return e.value;throw e.value},u=e=>{if(e.isErr)return e.value;throw e.value},f="slot-fb{display:contents}slot-fb[hidden]{display:none}",d=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],m=(e,t,...l)=>{let o=null,s=null,r=!1,i=!1;const c=[],a=t=>{for(let l=0;l<t.length;l++)o=t[l],Array.isArray(o)?a(o):null!=o&&"boolean"!=typeof o&&((r="function"!=typeof e&&!n(o))&&(o+=""),r&&i?c[c.length-1].t+=o:c.push(r?h(null,o):o),i=r)};if(a(l),t){t.key&&(s=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,c,v);const u=h(e,null);return u.l=t,c.length>0&&(u.o=c),u.i=s,u},h=(e,t)=>({u:0,m:e,t,h:null,o:null,l:null,i:null}),p={},v={forEach:(e,t)=>e.map(y).forEach(t),map:(e,t)=>e.map(y).map(t).map(b)},y=e=>({vattrs:e.l,vchildren:e.o,vkey:e.i,vname:e.p,vtag:e.m,vtext:e.t}),b=e=>{if("function"==typeof e.vtag){const t={...e.vattrs};return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),m(e.vtag,t,...e.vchildren||[])}const t=h(e.vtag,e.vtext);return t.l=e.vattrs,t.o=e.vchildren,t.i=e.vkey,t.p=e.vname,t},$=e=>re(e).$hostElement$,w=(e,t,n)=>{const l=$(e);return{emit:e=>k(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},k=(e,t,n)=>{const l=ve.ce(t,n);return e.dispatchEvent(l),l},S=new WeakMap,g=e=>"sc-"+e.v,j=(e,t,l,o,s,r)=>{if(l!==o){let i=ae(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,n=O(l),s=O(o);t.remove(...n.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!n.includes(e))))}else if("style"===t){for(const t in l)o&&null!=o[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in o)l&&o[t]===l[t]||(t.includes("-")?e.style.setProperty(t,o[t]):e.style[t]=o[t])}else if("key"===t);else if("ref"===t)o&&o(e);else if(i||"o"!==t[0]||"n"!==t[1]){const c=n(o);if((i||c&&null!==o)&&!s)try{if(e.tagName.includes("-"))e[t]=o;else{const n=null==o?"":o;"list"===t?i=!1:null!=l&&e[t]==n||(e[t]=n)}}catch(e){}null==o||!1===o?!1===o&&""!==e.getAttribute(t)||e.removeAttribute(t):(!i||4&r||s)&&!c&&e.setAttribute(t,o=!0===o?"":o)}else if(t="-"===t[2]?t.slice(3):ae(he,c)?c.slice(2):c[2]+t.slice(3),l||o){const n=t.endsWith(E);t=t.replace(M,""),l&&ve.rel(e,t,l,n),o&&ve.ael(e,t,o,n)}}},C=/\s/,O=e=>e?e.split(C):[],E="Capture",M=RegExp(E+"$"),P=(e,n,l)=>{const o=11===n.h.nodeType&&n.h.host?n.h.host:n.h,s=e&&e.l||t,r=n.l||t;for(const e of R(Object.keys(s)))e in r||j(o,e,s[e],void 0,l,n.u);for(const e of R(Object.keys(r)))j(o,e,s[e],r[e],l,n.u)};function R(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var x=!1,A=!1,D=(e,t,n)=>{const l=t.o[n];let o,s,r=0;if(null!==l.t)o=l.h=pe.createTextNode(l.t);else if(o=l.h=pe.createElement(l.m),P(null,l,A),null!=i&&o["s-si"]!==i&&o.classList.add(o["s-si"]=i),l.o)for(r=0;r<l.o.length;++r)s=D(e,l,r),s&&o.appendChild(s);return o["s-hn"]=c,o},L=(e,t,n,l,o,s)=>{let r,i=e;for(i.shadowRoot&&i.tagName===c&&(i=i.shadowRoot);o<=s;++o)l[o]&&(r=D(null,n,o),r&&(l[o].h=r,N(i,r,t)))},T=(e,t,n)=>{for(let l=t;l<=n;++l){const t=e[l];if(t){const e=t.h;H(t),e&&e.remove()}}},W=(e,t,n=!1)=>e.m===t.m&&(!!n||e.i===t.i),F=(e,t,n=!1)=>{const l=t.h=e.h,o=e.o,s=t.o,r=t.t;null===r?(("slot"!==t.m||x)&&P(e,t,A),null!==o&&null!==s?((e,t,n,l,o=!1)=>{let s,r,i=0,c=0,a=0,u=0,f=t.length-1,d=t[0],m=t[f],h=l.length-1,p=l[0],v=l[h];for(;i<=f&&c<=h;)if(null==d)d=t[++i];else if(null==m)m=t[--f];else if(null==p)p=l[++c];else if(null==v)v=l[--h];else if(W(d,p,o))F(d,p,o),d=t[++i],p=l[++c];else if(W(m,v,o))F(m,v,o),m=t[--f],v=l[--h];else if(W(d,v,o))F(d,v,o),N(e,d.h,m.h.nextSibling),d=t[++i],v=l[--h];else if(W(m,p,o))F(m,p,o),N(e,m.h,d.h),m=t[--f],p=l[++c];else{for(a=-1,u=i;u<=f;++u)if(t[u]&&null!==t[u].i&&t[u].i===p.i){a=u;break}a>=0?(r=t[a],r.m!==p.m?s=D(t&&t[c],n,a):(F(r,p,o),t[a]=void 0,s=r.h),p=l[++c]):(s=D(t&&t[c],n,c),p=l[++c]),s&&N(d.h.parentNode,s,d.h)}i>f?L(e,null==l[h+1]?null:l[h+1].h,n,l,c,h):c>h&&T(t,i,f)})(l,o,t,s,n):null!==s?(null!==e.t&&(l.textContent=""),L(l,null,t,s,0,s.length-1)):null!==o&&T(o,0,o.length-1)):e.t!==r&&(l.data=r)},H=e=>{e.l&&e.l.ref&&e.l.ref(null),e.o&&e.o.map(H)},N=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),U=(e,t)=>{t&&!e.$&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.$=t)))},q=(e,t)=>{if(e.u|=16,!(4&e.u))return U(e,e.k),Oe((()=>G(e,t)));e.u|=512},G=(e,t)=>{const n=e.S;if(!n)throw Error(`Can't render component <${e.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return t&&(e.u|=256,e.j&&(e.j.map((([e,t])=>K(n,e,t))),e.j=void 0),l=K(n,"componentWillLoad")),l=V(l,(()=>K(n,"componentWillRender"))),V(l,(()=>z(e,n,t)))},V=(e,t)=>_(e)?e.then(t):t(),_=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,z=async(e,t,n)=>{var o;const s=e.$hostElement$,r=s["s-rc"];n&&(e=>{const t=e.C,n=e.$hostElement$,o=t.u,s=((e,t)=>{var n;const o=g(t),s=me.get(o);if(e=11===e.nodeType?e:pe,s)if("string"==typeof s){let r,i=S.get(e=e.head||e);if(i||S.set(e,i=new Set),!i.has(o)){{r=pe.createElement("style"),r.innerHTML=s;const t=null!=(n=ve.O)?n:l(pe);null!=t&&r.setAttribute("nonce",t),e.insertBefore(r,e.querySelector("link"))}4&t.u&&(r.innerHTML+=f),i&&i.add(o)}}else e.adoptedStyleSheets.includes(s)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,s]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&o&&(n["s-sc"]=s,n.classList.add(s+"-h"))})(e);B(e,t,s,n),r&&(r.map((e=>e())),s["s-rc"]=void 0);{const t=null!=(o=s["s-p"])?o:[],n=()=>I(e);0===t.length?n():(Promise.all(t).then(n),e.u|=4,t.length=0)}},B=(e,t,n,l)=>{try{t=t.render(),e.u&=-17,e.u|=2,((e,t,n=!1)=>{const l=e.$hostElement$,o=e.C,s=e.M||h(null,null),r=(e=>e&&e.m===p)(t)?t:m(null,null,t);if(c=l.tagName,n&&r.l)for(const e of Object.keys(r.l))l.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(r.l[e]=l[e]);r.m=null,r.u|=4,e.M=r,r.h=s.h=l.shadowRoot||l,i=l["s-sc"],x=!!(1&o.u),F(s,r,n)})(e,t,l)}catch(t){ue(t,e.$hostElement$)}return null},I=e=>{const t=e.$hostElement$,n=e.S,l=e.k;K(n,"componentDidRender"),64&e.u||(e.u|=64,Q(t),K(n,"componentDidLoad"),e.P(t),l||J()),e.R(t),e.$&&(e.$(),e.$=void 0),512&e.u&&Ce((()=>q(e,!1))),e.u&=-517},J=()=>{Q(pe.documentElement),Ce((()=>k(he,"appload",{detail:{namespace:"post-components"}})))},K=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){ue(e)}},Q=e=>e.classList.add(("hydrated","hydrated")),X=(e,t,l)=>{var o;const s=e.prototype;if(64&t.u&&1&l&&d.forEach((e=>Object.defineProperty(s,e,{value(...t){const n=re(this),l=n.S;if(l){const n=l[e];"function"==typeof n&&n.call(l,...t)}else n.A.then((n=>{const l=n[e];"function"==typeof l&&l.call(n,...t)}))}}))),t.D){e.watchers&&(t.L=e.watchers);const r=Object.entries(t.D);if(r.map((([e,[o]])=>{31&o||2&l&&32&o?Object.defineProperty(s,e,{get(){return((e,t)=>re(this).T.get(t))(0,e)},set(l){((e,t,l,o)=>{const s=re(e);if(!s)throw Error(`Couldn't find host element for "${o.v}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const r=s.$hostElement$,i=s.T.get(t),c=s.u,a=s.S;if(l=((e,t)=>null==e||n(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(l,o.D[t][0]),(!(8&c)||void 0===i)&&l!==i&&(!Number.isNaN(i)||!Number.isNaN(l))&&(s.T.set(t,l),a)){if(o.L&&128&c){const e=o.L[t];e&&e.map((e=>{try{a[e](l,i,t)}catch(e){ue(e,r)}}))}2==(18&c)&&q(s,!1)}})(this,e,l,t)},configurable:!0,enumerable:!0}):1&l&&64&o&&Object.defineProperty(s,e,{value(...t){var n;const l=re(this);return null==(n=null==l?void 0:l.W)?void 0:n.then((()=>{var n;return null==(n=l.S)?void 0:n[e](...t)}))}})})),1&l){const n=new Map;s.attributeChangedCallback=function(e,l,o){ve.jmp((()=>{var r;const i=n.get(e);if(this.hasOwnProperty(i))o=this[i],delete this[i];else{if(s.hasOwnProperty(i)&&"number"==typeof this[i]&&this[i]==o)return;if(null==i){const n=re(this),s=null==n?void 0:n.u;if(s&&!(8&s)&&128&s&&o!==l){const s=n.S,i=null==(r=t.L)?void 0:r[e];null==i||i.forEach((t=>{null!=s[t]&&s[t].call(s,o,l,e)}))}return}}this[i]=(null!==o||"boolean"!=typeof this[i])&&o}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(o=t.L)?o:{}),...r.filter((([e,t])=>15&t[0])).map((([e,t])=>{const l=t[1]||e;return n.set(l,e),l}))]))}}return e},Y=e=>{K(e,"connectedCallback")},Z=e=>{K(e,"disconnectedCallback")},ee=(e,t={})=>{var n;const o=[],s=t.exclude||[],r=he.customElements,i=pe.head,c=i.querySelector("meta[charset]"),a=pe.createElement("style"),u=[];let d,m=!0;Object.assign(ve,t),ve.F=new URL(t.resourcesUrl||"./",pe.baseURI).href;let h=!1;if(e.map((e=>{e[1].map((t=>{var n;const l={u:t[0],v:t[1],D:t[2],H:t[3]};4&l.u&&(h=!0),l.D=t[2],l.H=t[3],l.L=null!=(n=t[4])?n:{};const i=l.v,c=class extends HTMLElement{constructor(e){super(e),ce(e=this,l),1&l.u&&e.attachShadow({mode:"open"})}connectedCallback(){d&&(clearTimeout(d),d=null),m?u.push(this):ve.jmp((()=>(e=>{if(!(1&ve.u)){const t=re(e),n=t.C,l=()=>{};if(1&t.u)te(e,t,n.H),(null==t?void 0:t.S)?Y(t.S):(null==t?void 0:t.A)&&t.A.then((()=>Y(t.S)));else{t.u|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){U(t,t.k=n);break}}n.D&&Object.entries(n.D).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let l;if(!(32&t.u)){if(t.u|=32,n.N){const e=de(n);if(e&&"then"in e){const t=()=>{};l=await e,t()}else l=e;if(!l)throw Error(`Constructor for "${n.v}#${t.U}" was not found`);l.isProxied||(n.L=l.watchers,X(l,n,2),l.isProxied=!0);const o=()=>{};t.u|=8;try{new l(t)}catch(e){ue(e)}t.u&=-9,t.u|=128,o(),Y(t.S)}else l=e.constructor,customElements.whenDefined(e.localName).then((()=>t.u|=128));if(l&&l.style){let e=l.style;const t=g(n);if(!me.has(t)){const l=()=>{};((e,t,n)=>{let l=me.get(e);be&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,me.set(e,l)})(t,e,!!(1&n.u)),l()}}}const o=t.k,s=()=>q(t,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(e,t,n)}l()}})(this)))}disconnectedCallback(){ve.jmp((()=>(async()=>{if(!(1&ve.u)){const e=re(this);e.q&&(e.q.map((e=>e())),e.q=void 0),(null==e?void 0:e.S)?Z(e.S):(null==e?void 0:e.A)&&e.A.then((()=>Z(e.S)))}})()))}componentOnReady(){return re(this).A}};64&l.u&&(c.formAssociated=!0),l.N=e[0],s.includes(i)||r.get(i)||(o.push(i),r.define(i,X(c,l,1)))}))})),o.length>0&&(h&&(a.textContent+=f),a.textContent+=o+"{visibility:hidden}.hydrated{visibility:inherit}",a.innerHTML.length)){a.setAttribute("data-styles","");const e=null!=(n=ve.O)?n:l(pe);null!=e&&a.setAttribute("nonce",e),i.insertBefore(a,c?c.nextSibling:i.firstChild)}m=!1,u.length?u.map((e=>e.connectedCallback())):ve.jmp((()=>d=setTimeout(J,30)))},te=(e,t,n)=>{n&&n.map((([n,l,o])=>{const s=e,r=ne(t,o),i=le(n);ve.ael(s,l,r,i),(t.q=t.q||[]).push((()=>ve.rel(s,l,r,i)))}))},ne=(e,t)=>n=>{var l;try{256&e.u?null==(l=e.S)||l[t](n):(e.j=e.j||[]).push([t,n])}catch(e){ue(e)}},le=e=>({passive:!!(1&e),capture:!!(2&e)}),oe=e=>ve.O=e,se=new WeakMap,re=e=>se.get(e),ie=(e,t)=>se.set(t.S=e,t),ce=(e,t)=>{const n={u:0,$hostElement$:e,C:t,T:new Map};return n.W=new Promise((e=>n.R=e)),n.A=new Promise((e=>n.P=e)),e["s-p"]=[],e["s-rc"]=[],te(e,n,t.H),se.set(e,n)},ae=(e,t)=>t in e,ue=(e,t)=>(0,console.error)(e,t),fe=new Map,de=e=>{const t=e.v.replace(/-/g,"_"),n=e.N;if(!n)return;const l=fe.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(fe.set(n,e),e[t])),ue)
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},me=new Map,he="undefined"!=typeof window?window:{},pe=he.document||{head:{}},ve={u:0,F:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},ye=e=>Promise.resolve(e),be=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),$e=!1,we=[],ke=[],Se=(e,t)=>n=>{e.push(n),$e||($e=!0,t&&4&ve.u?Ce(je):ve.raf(je))},ge=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){ue(e)}e.length=0},je=()=>{ge(we),ge(ke),($e=we.length>0)&&ve.raf(je)},Ce=e=>ye().then(e),Oe=Se(ke,!0);export{p as H,ee as b,w as c,$ as g,m as h,ye as p,ie as r,oe as s}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{P as post_tab_header}from"./p-287f66b9.js";import"./p-d9eab6d9.js";import"./p-941e5ef0.js";import"./p-b095519d.js";import"./p-440193f4.js";
|