xv-webcomponents 1.24.14-qa.0 → 1.24.18
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-DpLAFt0R.js → index-CsKqwBc1.js} +644 -7
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/xv-accordion-v2_50.cjs.entry.js +55 -36
- package/dist/cjs/xv-footer-next.cjs.entry.js +122 -0
- package/dist/cjs/xv-header-next.cjs.entry.js +2 -2
- package/dist/cjs/xv-mega-menu-next.cjs.entry.js +7 -7
- package/dist/cjs/xv-webcomponents.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/xv-data-table/xv-data-table-cell/xv-data-table-cell.css +2 -1
- package/dist/collection/components/xv-footer-next/xv-footer-next.css +486 -0
- package/dist/collection/components/xv-footer-next/xv-footer-next.js +167 -0
- package/dist/collection/components/xv-footer-next/xv-footer-next.model.js +17 -0
- package/dist/collection/components/xv-geo-map/xv-geo-map.js +41 -1
- package/dist/collection/components/xv-header/xv-header.js +1 -1
- package/dist/collection/components/xv-header-next/xv-header-next.js +1 -1
- package/dist/collection/components/xv-image-viewer/xv-image-viewer.js +1 -1
- package/dist/collection/components/xv-link/xv-link.js +1 -1
- package/dist/collection/components/xv-mega-menu/xv-mega-menu.js +2 -2
- package/dist/collection/components/xv-mega-menu-next/xv-mega-menu-next.css +42 -2
- package/dist/collection/components/xv-mega-menu-next/xv-mega-menu-next.js +20 -6
- package/dist/collection/components/xv-modal/xv-modal.js +1 -1
- package/dist/collection/components/xv-notification/xv-notification.js +1 -1
- package/dist/collection/components/xv-number-input/xv-number-input.js +2 -2
- package/dist/collection/components/xv-pagination/xv-pagination.js +1 -1
- package/dist/collection/components/xv-progress-indicator/xv-progress-indicator-item/xv-progress-indicator-item.js +1 -1
- package/dist/collection/components/xv-progress-indicator/xv-progress-indicator.js +1 -1
- package/dist/collection/components/xv-radio/xv-radio.js +2 -2
- package/dist/collection/components/xv-slider/xv-slider.js +1 -1
- package/dist/collection/components/xv-table/xv-table-cell/xv-table-cell.js +1 -1
- package/dist/collection/components/xv-table/xv-table-expand/xv-table-expand.js +1 -1
- package/dist/collection/components/xv-table/xv-table-row/xv-table-row.js +1 -1
- package/dist/collection/components/xv-table/xv-table.js +1 -1
- package/dist/collection/components/xv-tabs/xv-tab/xv-tab.js +1 -1
- package/dist/collection/components/xv-tag/xv-tag.js +1 -1
- package/dist/collection/components/xv-tag-combobox/xv-tag-combobox.js +2 -2
- package/dist/collection/components/xv-text-input/xv-text-input.js +2 -2
- package/dist/collection/components/xv-textarea/xv-textarea.js +2 -2
- package/dist/collection/components/xv-tile/xv-tile.js +2 -2
- package/dist/collection/components/xv-toggle/xv-toggle.js +1 -1
- package/dist/collection/components/xv-toggle-tip/xv-toggle-tip.js +1 -1
- package/dist/collection/components/xv-tooltip/xv-tooltip.js +2 -2
- package/dist/esm/{index-CQm2sRKT.js → index-D0yFoU2h.js} +1 -1
- package/dist/esm/{index-DmxA2ysB.js → index-Owr_mJOX.js} +644 -7
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/xv-accordion-v2_50.entry.js +56 -37
- package/dist/esm/xv-footer-next.entry.js +120 -0
- package/dist/esm/xv-header-next.entry.js +3 -3
- package/dist/esm/xv-mega-menu-next.entry.js +8 -8
- package/dist/esm/xv-webcomponents.js +3 -3
- package/dist/types/components/xv-footer-next/xv-footer-next.d.ts +42 -0
- package/dist/types/components/xv-footer-next/xv-footer-next.model.d.ts +43 -0
- package/dist/types/components/xv-geo-map/xv-geo-map.d.ts +7 -0
- package/dist/types/components/xv-mega-menu-next/xv-mega-menu-next.d.ts +14 -0
- package/dist/types/components.d.ts +131 -0
- package/dist/xv-webcomponents/index.esm.js +1 -1
- package/dist/xv-webcomponents/p-3dd10203.entry.js +1 -0
- package/dist/xv-webcomponents/p-76cf729b.entry.js +8 -0
- package/dist/xv-webcomponents/{p-CQm2sRKT.js → p-D0yFoU2h.js} +1 -1
- package/dist/xv-webcomponents/p-Owr_mJOX.js +2 -0
- package/dist/xv-webcomponents/p-ec19bcc7.entry.js +1 -0
- package/dist/xv-webcomponents/{p-f46bb687.entry.js → p-fbd8ca68.entry.js} +1 -1
- package/dist/xv-webcomponents/xv-webcomponents.esm.js +1 -1
- package/hydrate/index.d.ts +287 -0
- package/hydrate/index.js +113808 -0
- package/hydrate/index.mjs +113798 -0
- package/hydrate/package.json +12 -0
- package/package.json +8 -2
- package/dist/xv-webcomponents/p-88185dc3.entry.js +0 -8
- package/dist/xv-webcomponents/p-DmxA2ysB.js +0 -2
- package/dist/xv-webcomponents/p-fe9b38f8.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function t(t,e,o){return(t||"")+(e?` ${e}`:"")+(o?` ${o}`:"")}const e=t=>{const{error:e,warning:o,helper:r}=t;return"string"==typeof e&&e?{level:"error",text:e}:"string"==typeof o&&o?{level:"warning",text:o}:"string"==typeof r&&r?{level:"helper",text:r}:null};function o(){return"10000000-1000-4000-8000-100000000000".replace(/[018]/g,(t=>(+t^crypto.getRandomValues(new Uint8Array(1))[0]&15>>+t/4).toString(16)))}const r=(t,e,o)=>Array.prototype.forEach.call(t,e,o),n=(t,e=500)=>{let o;return function(...r){clearTimeout(o),o=setTimeout((()=>{t.apply(this,r)}),e)}},i=(t,e,o)=>"string"==typeof o?(!t.hasAttribute(e)&&t.setAttribute(e,o),t):(o?!t.hasAttribute(e)&&t.setAttribute(e,""):t.hasAttribute(e)&&t.removeAttribute(e),t),s=()=>{try{const t=localStorage.getItem("metaNav");return t?JSON.parse(t):{}}catch(t){return console.warn("Could not parse metaNav from localStorage:",t),{}}},c=()=>{var t;return window.__xvWhitelabelOverride||(()=>{var t;if("undefined"==typeof document)return;const e="ApplicationContext=";return null===(t=document.cookie.split(";").map((t=>t.trim())).find((t=>t.startsWith(e))))||void 0===t?void 0:t.slice(19)})()||(null===(t=s())||void 0===t?void 0:t.WhitelabelName)||void 0},a=(t="")=>{var e;return`${null!==(e={"sitefinity-qa.crossvertise.com":"https://qa.crossvertise.com","www.crossvertise.com":"https://market.crossvertise.com","sitefinity-staging.crossvertise.com":"https://staging.crossvertise.com",localhost:"https://qa.crossvertise.com"}[window.location.hostname])&&void 0!==e?e:window.location.origin}${t}`},l=async(t,e)=>{const o=e||{},{awaitWl:r,raw:n}=o,i=function(t,e){var o={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(o[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(r=Object.getOwnPropertySymbols(t);n<r.length;n++)e.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(t,r[n])&&(o[r[n]]=t[r[n]])}return o}(o,["awaitWl","raw"]),s=r?await((t=2e3,e=100)=>{const o=c();return o?Promise.resolve(o):new Promise((o=>{const r=Date.now(),n=()=>{const i=c();return i?o(i):Date.now()-r>=t?o("Xv"):void setTimeout(n,e)};n()}))})():c()||"Xv",l=/^https?:\/\//i.test(t)?t:`${a()}/${t.replace(/^\//,"")}`,u=Object.assign(Object.assign({},n?{}:{"Content-Type":"application/json","Application-Context":s}),null==i?void 0:i.headers);return fetch(l,Object.assign(Object.assign({},i),{headers:u})).then((t=>{var e;if(!t.ok)throw new Error(`${t.status} ${t.statusText}`);return(null!==(e=t.headers.get("Content-Type"))&&void 0!==e?e:"").includes("application/json")?t.json():t.text()}))},u={get:(t,e)=>l(t,Object.assign(Object.assign({},e),{method:"GET"})),post:(t,e,o)=>l(t,Object.assign(Object.assign({},o),{method:"POST",body:void 0!==e?JSON.stringify(e):void 0})),put:(t,e,o)=>l(t,Object.assign(Object.assign({},o),{method:"PUT",body:void 0!==e?JSON.stringify(e):void 0})),patch:(t,e,o)=>l(t,Object.assign(Object.assign({},o),{method:"PATCH",body:void 0!==e?JSON.stringify(e):void 0})),delete:(t,e)=>l(t,Object.assign(Object.assign({},e),{method:"DELETE"}))};export{u as a,a as b,c,n as d,t as e,r as f,s as g,
|
|
1
|
+
function t(t,e,o){return(t||"")+(e?` ${e}`:"")+(o?` ${o}`:"")}const e=t=>{const{error:e,warning:o,helper:r}=t;return"string"==typeof e&&e?{level:"error",text:e}:"string"==typeof o&&o?{level:"warning",text:o}:"string"==typeof r&&r?{level:"helper",text:r}:null};function o(){return"10000000-1000-4000-8000-100000000000".replace(/[018]/g,(t=>(+t^crypto.getRandomValues(new Uint8Array(1))[0]&15>>+t/4).toString(16)))}const r=(t,e,o)=>Array.prototype.forEach.call(t,e,o),n=(t,e=500)=>{let o;return function(...r){clearTimeout(o),o=setTimeout((()=>{t.apply(this,r)}),e)}},i=(t,e,o)=>"string"==typeof o?(!t.hasAttribute(e)&&t.setAttribute(e,o),t):(o?!t.hasAttribute(e)&&t.setAttribute(e,""):t.hasAttribute(e)&&t.removeAttribute(e),t),s=()=>{try{const t=localStorage.getItem("metaNav");return t?JSON.parse(t):{}}catch(t){return console.warn("Could not parse metaNav from localStorage:",t),{}}},c=()=>{var t;return window.__xvWhitelabelOverride||(()=>{var t;if("undefined"==typeof document)return;const e="ApplicationContext=";return null===(t=document.cookie.split(";").map((t=>t.trim())).find((t=>t.startsWith(e))))||void 0===t?void 0:t.slice(19)})()||(null===(t=s())||void 0===t?void 0:t.WhitelabelName)||void 0},a=(t="")=>{var e;return`${null!==(e={"sitefinity-qa.crossvertise.com":"https://qa.crossvertise.com","www.crossvertise.com":"https://market.crossvertise.com","sitefinity-staging.crossvertise.com":"https://staging.crossvertise.com",localhost:"https://qa.crossvertise.com"}[window.location.hostname])&&void 0!==e?e:window.location.origin}${t}`},l=async(t,e)=>{const o=e||{},{awaitWl:r,raw:n}=o,i=function(t,e){var o={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(o[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(r=Object.getOwnPropertySymbols(t);n<r.length;n++)e.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(t,r[n])&&(o[r[n]]=t[r[n]])}return o}(o,["awaitWl","raw"]),s=r?await((t=2e3,e=100)=>{const o=c();return o?Promise.resolve(o):new Promise((o=>{const r=Date.now(),n=()=>{const i=c();return i?o(i):Date.now()-r>=t?o("Xv"):void setTimeout(n,e)};n()}))})():c()||"Xv",l=/^https?:\/\//i.test(t)?t:`${a()}/${t.replace(/^\//,"")}`,u=Object.assign(Object.assign({},n?{}:{"Content-Type":"application/json","Application-Context":s}),null==i?void 0:i.headers);return fetch(l,Object.assign(Object.assign({},i),{headers:u})).then((t=>{var e;if(!t.ok)throw new Error(`${t.status} ${t.statusText}`);return(null!==(e=t.headers.get("Content-Type"))&&void 0!==e?e:"").includes("application/json")?t.json():t.text()}))},u={get:(t,e)=>l(t,Object.assign(Object.assign({},e),{method:"GET"})),post:(t,e,o)=>l(t,Object.assign(Object.assign({},o),{method:"POST",body:void 0!==e?JSON.stringify(e):void 0})),put:(t,e,o)=>l(t,Object.assign(Object.assign({},o),{method:"PUT",body:void 0!==e?JSON.stringify(e):void 0})),patch:(t,e,o)=>l(t,Object.assign(Object.assign({},o),{method:"PATCH",body:void 0!==e?JSON.stringify(e):void 0})),delete:(t,e)=>l(t,Object.assign(Object.assign({},e),{method:"DELETE"}))};export{u as a,a as b,e as c,n as d,t as e,r as f,s as g,c as r,i as s,o as u}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const t=()=>{},e='.xv-container{width:100%;max-width:1170px;margin-inline:auto}@media (min-width: 576px){.xv-container{max-width:540px}}@media (min-width: 768px){.xv-container{max-width:720px}}@media (min-width: 992px){.xv-container{max-width:960px;padding-inline:var(--bs-gutter-x, 0.75rem)}}@media (min-width: 1200px){.xv-container{max-width:1140px}}@media (min-width: 1400px){.xv-container{max-width:1320px}}.xv-tooltip[role=tooltip]{position:absolute;background-color:var(--background-inverse, #333333);color:var(--text-on-color);padding:var(--spacing-03) var(--spacing-04);border-radius:3px;font-size:var(--fz-sm);z-index:999;min-width:min(150px, 90vw);max-width:min(400px, 90vw)}.xv-tooltip[role=tooltip]::after{content:"";position:absolute;width:0;height:0;border-style:solid}.xv-tooltip[role=tooltip][data-popper-placement=top]::after{bottom:-5px;left:50%;transform:translateX(-50%);border-width:5px 5px 0 5px;border-color:var(--background-inverse, black) transparent transparent transparent}.xv-tooltip[role=tooltip][data-popper-placement=top-start]::after{bottom:-5px;left:12px;border-width:5px 5px 0 5px;border-color:var(--background-inverse, black) transparent transparent transparent}.xv-tooltip[role=tooltip][data-popper-placement=top-end]::after{bottom:-5px;right:12px;border-width:5px 5px 0 5px;border-color:var(--background-inverse, black) transparent transparent transparent}.xv-tooltip[role=tooltip][data-popper-placement=bottom]::after{top:-5px;left:50%;transform:translateX(-50%);border-width:0 5px 5px 5px;border-color:transparent transparent var(--background-inverse, black) transparent}.xv-tooltip[role=tooltip][data-popper-placement=bottom-start]::after{top:-5px;left:12px;border-width:0 5px 5px 5px;border-color:transparent transparent var(--background-inverse, black) transparent}.xv-tooltip[role=tooltip][data-popper-placement=bottom-end]::after{top:-5px;right:12px;border-width:0 5px 5px 5px;border-color:transparent transparent var(--background-inverse, black) transparent}.xv-tooltip[role=tooltip][data-popper-placement=left]::after{top:50%;right:-5px;transform:translateY(-50%);border-width:5px 0 5px 5px;border-color:transparent transparent transparent var(--background-inverse, black)}.xv-tooltip[role=tooltip][data-popper-placement=left-start]::after{top:12px;right:-5px;border-width:5px 0 5px 5px;border-color:transparent transparent transparent var(--background-inverse, black)}.xv-tooltip[role=tooltip][data-popper-placement=left-end]::after{bottom:12px;right:-5px;border-width:5px 0 5px 5px;border-color:transparent transparent transparent var(--background-inverse, black)}.xv-tooltip[role=tooltip][data-popper-placement=right]::after{top:50%;left:-5px;transform:translateY(-50%);border-width:5px 5px 5px 0;border-color:transparent var(--background-inverse, black) transparent transparent}.xv-tooltip[role=tooltip][data-popper-placement=right-start]::after{top:12px;left:-5px;border-width:5px 5px 5px 0;border-color:transparent var(--background-inverse, black) transparent transparent}.xv-tooltip[role=tooltip][data-popper-placement=right-end]::after{bottom:12px;left:-5px;border-width:5px 5px 5px 0;border-color:transparent var(--background-inverse, black) transparent transparent}.fa,.fas,.far,.fal,.fad,.fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1}.fa-lg{font-size:1.3333333333em;line-height:0.75em;vertical-align:-0.0667em}.fa-xs{font-size:0.75em}.fa-sm{font-size:0.875em}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul>li{position:relative}.fa-li{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border{border:solid 0.08em #eee;border-radius:0.1em;padding:0.2em 0.25em 0.15em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left,.fas.fa-pull-left,.far.fa-pull-left,.fal.fa-pull-left,.fab.fa-pull-left{margin-right:0.3em}.fa.fa-pull-right,.fas.fa-pull-right,.far.fa-pull-right,.fal.fa-pull-right,.fab.fa-pull-right{margin-left:0.3em}.fa-spin{animation:fa-spin 2s infinite linear}.fa-pulse{animation:fa-spin 1s infinite steps(8)}@keyframes fa-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";transform:scale(-1, 1)}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";transform:scale(1, -1)}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";transform:scale(-1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-flip-both{filter:none}.fa-stack{display:inline-block;height:2em;line-height:2em;position:relative;vertical-align:middle;width:2.5em}.fa-stack-1x,.fa-stack-2x{left:0;position:absolute;text-align:center;width:100%}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.sr-only{border:0;clip:rect(0, 0, 0, 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable:active,.sr-only-focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}/*!\n * Font Awesome Pro 5.15.4 by @fontawesome - https://fontawesome.com\n * License - https://fontawesome.com/license (Commercial License)\n */@font-face{font-family:"Font Awesome 5 Pro";font-style:normal;font-weight:900;font-display:block;src:url("https://crossvertise.blob.core.windows.net/assets/fonts/fa-solid-900.eot");src:url("https://crossvertise.blob.core.windows.net/assets/fonts/fa-solid-900.eot?#iefix") format("embedded-opentype"), url("https://crossvertise.blob.core.windows.net/assets/fonts/fa-solid-900.woff2") format("woff2"), url("https://crossvertise.blob.core.windows.net/assets/fonts/fa-solid-900.woff") format("woff"), url("https://crossvertise.blob.core.windows.net/assets/fonts/fa-solid-900.ttf") format("truetype"), url("https://crossvertise.blob.core.windows.net/assets/fonts/fa-solid-900.svg#fontawesome") format("svg")}.fa,.fas{font-family:"Font Awesome 5 Pro";font-weight:900}/*!\n * Font Awesome Pro 5.15.4 by @fontawesome - https://fontawesome.com\n * License - https://fontawesome.com/license (Commercial License)\n */@font-face{font-family:"Font Awesome 5 Pro";font-style:normal;font-weight:400;font-display:block;src:url("https://crossvertise.blob.core.windows.net/assets/fonts/fa-regular-400.eot");src:url("https://crossvertise.blob.core.windows.net/assets/fonts/fa-regular-400.eot?#iefix") format("embedded-opentype"), url("https://crossvertise.blob.core.windows.net/assets/fonts/fa-regular-400.woff2") format("woff2"), url("https://crossvertise.blob.core.windows.net/assets/fonts/fa-regular-400.woff") format("woff"), url("https://crossvertise.blob.core.windows.net/assets/fonts/fa-regular-400.ttf") format("truetype"), url("https://crossvertise.blob.core.windows.net/assets/fonts/fa-regular-400.svg#fontawesome") format("svg")}.far{font-family:"Font Awesome 5 Pro";font-weight:400}.fa-bars:before{content:"\\f0c9"}.fa-bell:before{content:"\\f0f3"}.fa-check:before{content:"\\f00c"}.fa-circle:before{content:"\\f111"}.fa-clock:before{content:"\\f017"}.fa-envelope:before{content:"\\f0e0"}.fa-question-circle:before{content:"\\f059"}.fa-search:before{content:"\\f002"}.fa-shopping-cart:before{content:"\\f07a"}.fa-square:before{content:"\\f0c8"}.fa-times:before{content:"\\f00d"}.fa-times-circle:before{content:"\\f057"}.fa-triangle:before{content:"\\f2ec"}.fa-user:before{content:"\\f007"}';var n,o,r,s,i,l,a,f,c,u,h,p,d,m,v,b,g,w=Object.create,x=Object.defineProperty,$=Object.getOwnPropertyDescriptor,y=Object.getOwnPropertyNames,k=Object.getPrototypeOf,S=Object.prototype.hasOwnProperty,O=t=>{throw TypeError(t)},j=(t,e)=>function(){return e||(0,t[y(t)[0]])((e={exports:{}}).exports,e),e.exports},M=(t,e,n)=>e.has(t)||O("Cannot "+n),E=(t,e,n)=>(M(t,e,"read from private field"),n?n.call(t):e.get(t)),z=(t,e,n)=>e.has(t)?O("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n),N=(t,e,n)=>(M(t,e,"write to private field"),e.set(t,n),n),P=(t,e,n)=>(M(t,e,"access private method"),n),I=j({"node_modules/balanced-match/index.js"(t,e){function n(t,e,n){t instanceof RegExp&&(t=o(t,n)),e instanceof RegExp&&(e=o(e,n));var s=r(t,e,n);return s&&{start:s[0],end:s[1],pre:n.slice(0,s[0]),body:n.slice(s[0]+t.length,s[1]),post:n.slice(s[1]+e.length)}}function o(t,e){var n=e.match(t);return n?n[0]:null}function r(t,e,n){var o,r,s,i,l,a=n.indexOf(t),f=n.indexOf(e,a+1),c=a;if(a>=0&&f>0){if(t===e)return[a,f];for(o=[],s=n.length;c>=0&&!l;)c==a?(o.push(c),a=n.indexOf(t,c+1)):1==o.length?l=[o.pop(),f]:((r=o.pop())<s&&(s=r,i=f),f=n.indexOf(e,c+1)),c=a<f&&a>=0?a:f;o.length&&(l=[s,i])}return l}e.exports=n,n.range=r}}),C=j({"node_modules/brace-expansion/index.js"(t,e){var n=I();e.exports=function(t){return t?("{}"===t.substr(0,2)&&(t="\\{\\}"+t.substr(2)),m(function(t){return t.split("\\\\").join(o).split("\\{").join(r).split("\\}").join(s).split("\\,").join(i).split("\\.").join(l)}(t),!0).map(f)):[]};var o="\0SLASH"+Math.random()+"\0",r="\0OPEN"+Math.random()+"\0",s="\0CLOSE"+Math.random()+"\0",i="\0COMMA"+Math.random()+"\0",l="\0PERIOD"+Math.random()+"\0";function a(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}function f(t){return t.split(o).join("\\").split(r).join("{").split(s).join("}").split(i).join(",").split(l).join(".")}function c(t){if(!t)return[""];var e=[],o=n("{","}",t);if(!o)return t.split(",");var r=o.body,s=o.post,i=o.pre.split(",");i[i.length-1]+="{"+r+"}";var l=c(s);return s.length&&(i[i.length-1]+=l.shift(),i.push.apply(i,l)),e.push.apply(e,i),e}function u(t){return"{"+t+"}"}function h(t){return/^-?0\d/.test(t)}function p(t,e){return t<=e}function d(t,e){return t>=e}function m(t,e){var o=[],r=n("{","}",t);if(!r)return[t];var i=r.pre,l=r.post.length?m(r.post,!1):[""];if(/\$$/.test(r.pre))for(var f=0;f<l.length;f++)o.push(C=i+"{"+r.body+"}"+l[f]);else{var v,b,g=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(r.body),w=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(r.body),x=g||w,$=r.body.indexOf(",")>=0;if(!x&&!$)return r.post.match(/,(?!,).*\}/)?m(t=r.pre+"{"+r.body+s+r.post):[t];if(x)v=r.body.split(/\.\./);else if(1===(v=c(r.body)).length&&1===(v=m(v[0],!1).map(u)).length)return l.map((function(t){return r.pre+v[0]+t}));if(x){var y=a(v[0]),k=a(v[1]),S=Math.max(v[0].length,v[1].length),O=3==v.length?Math.abs(a(v[2])):1,j=p;k<y&&(O*=-1,j=d);var M=v.some(h);b=[];for(var E=y;j(E,k);E+=O){var z;if(w)"\\"===(z=String.fromCharCode(E))&&(z="");else if(z=E+"",M){var N=S-z.length;if(N>0){var P=Array(N+1).join("0");z=E<0?"-"+P+z.slice(1):P+z}}b.push(z)}}else{b=[];for(var I=0;I<v.length;I++)b.push.apply(b,m(v[I],!1))}for(I=0;I<b.length;I++)for(f=0;f<l.length;f++){var C=i+b[I]+l[f];(!e||x||C)&&o.push(C)}}return o}}}),A=(t=>(t.Undefined="undefined",t.Null="null",t.String="string",t.Number="number",t.SpecialNumber="number",t.Boolean="boolean",t.BigInt="bigint",t))(A||{}),R=(t=>(t.Array="array",t.Date="date",t.Map="map",t.Object="object",t.RegularExpression="regexp",t.Set="set",t.Channel="channel",t.Symbol="symbol",t))(R||{}),L="type",T="value",W="serialized:",F=(t,e)=>{var n;Object.entries(null!=(n=e.o.t)?n:{}).map((([n,[o]])=>{if(31&o||32&o){const o=t[n],r=function(t,e){for(;t;){const n=Object.getOwnPropertyDescriptor(t,e);if(null==n?void 0:n.get)return n;t=Object.getPrototypeOf(t)}}(Object.getPrototypeOf(t),n)||Object.getOwnPropertyDescriptor(t,n);r&&Object.defineProperty(t,n,{get(){return r.get.call(this)},set(t){r.set.call(this,t)},configurable:!0,enumerable:!0}),t[n]=e.i.has(n)?e.i.get(n):o}}))},D=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},B=(t,e)=>{e&&(t.__stencil__getHostRef=()=>e,e.l=t,512&e.o.u&&F(t,e))},_=(t,e)=>e in t,X=(t,e)=>(0,console.error)(t,e),U=new Map,G=new Map,V="s-id",H="sty-id",Z="c-id",q="slot-fb{display:contents}slot-fb[hidden]{display:none}",Y=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],J="undefined"!=typeof window?window:{},K={u:0,h:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},Q=t=>Promise.resolve(t),tt=(()=>{try{return!!J.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),et=!!tt&&(()=>!!J.document&&Object.getOwnPropertyDescriptor(J.document.adoptedStyleSheets,"length").writable)(),nt=!1,ot=[],rt=[],st=(t,e)=>n=>{t.push(n),nt||(nt=!0,e&&4&K.u?at(lt):K.raf(lt))},it=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){X(t)}t.length=0},lt=()=>{it(ot),it(rt),(nt=ot.length>0)&&K.raf(lt)},at=t=>Q().then(t),ft=st(rt,!0),ct=t=>"object"==(t=typeof t)||"function"===t,ut=((t,e,n)=>(n=null!=t?w(k(t)):{},((t,e,n,o)=>{if(e&&"object"==typeof e||"function"==typeof e)for(let n of y(e))S.call(t,n)||undefined===n||x(t,n,{get:()=>e[n],enumerable:!(o=$(e,n))||o.enumerable});return t})(x(n,"default",{value:t,enumerable:!0}),t)))(C()),ht=t=>{if("string"!=typeof t)throw new TypeError("invalid pattern");if(t.length>65536)throw new TypeError("pattern is too long")},pt={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},dt=t=>t.replace(/[[\]\\-]/g,"\\$&"),mt=t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),vt=t=>t.join(""),bt=(t,e)=>{const n=e;if("["!==t.charAt(n))throw Error("not in a brace expression");const o=[],r=[];let s=n+1,i=!1,l=!1,a=!1,f=!1,c=n,u="";t:for(;s<t.length;){const e=t.charAt(s);if("!"!==e&&"^"!==e||s!==n+1){if("]"===e&&i&&!a){c=s+1;break}if(i=!0,"\\"!==e||a){if("["===e&&!a)for(const[e,[i,a,f]]of Object.entries(pt))if(t.startsWith(e,s)){if(u)return["$.",!1,t.length-n,!0];s+=e.length,f?r.push(i):o.push(i),l=l||a;continue t}a=!1,u?(e>u?o.push(dt(u)+"-"+dt(e)):e===u&&o.push(dt(e)),u="",s++):t.startsWith("-]",s+1)?(o.push(dt(e+"-")),s+=2):t.startsWith("-",s+1)?(u=e,s+=2):(o.push(dt(e)),s++)}else a=!0,s++}else f=!0,s++}if(c<s)return["",!1,0,!1];if(!o.length&&!r.length)return["$.",!1,t.length-n,!0];if(0===r.length&&1===o.length&&/^\\?.$/.test(o[0])&&!f){const t=2===o[0].length?o[0].slice(-1):o[0];return[mt(t),!1,c-n,!1]}const h="["+(f?"^":"")+vt(o)+"]",p="["+(f?"":"^")+vt(r)+"]";return[o.length&&r.length?"("+h+"|"+p+")":o.length?h:p,l,c-n,!0]},gt=(t,{windowsPathsNoEscape:e=!1}={})=>e?t.replace(/\[([^\/\\])\]/g,"$1"):t.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1"),wt=new Set(["!","?","+","*","@"]),xt=t=>wt.has(t),$t="(?!\\.)",yt=new Set(["[","."]),kt=new Set(["..","."]),St=new Set("().*{}+?[]^$\\!"),Ot=t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),jt="[^/]",Mt=jt+"*?",Et=jt+"+?",zt=class t{constructor(t,e,d={}){z(this,p),((t,e,n)=>{((t,e,n)=>{e in t?x(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n})(t,e+"",n)})(this,"type"),z(this,n),z(this,o),z(this,r,!1),z(this,s,[]),z(this,i),z(this,l),z(this,a),z(this,f,!1),z(this,c),z(this,u),z(this,h,!1),this.type=t,t&&N(this,o,!0),N(this,i,e),N(this,n,E(this,i)?E(E(this,i),n):this),N(this,c,E(this,n)===this?d:E(E(this,n),c)),N(this,a,E(this,n)===this?[]:E(E(this,n),a)),"!"!==t||E(E(this,n),f)||E(this,a).push(this),N(this,l,E(this,i)?E(E(this,i),s).length:0)}get hasMagic(){if(void 0!==E(this,o))return E(this,o);for(const t of E(this,s))if("string"!=typeof t&&(t.type||t.hasMagic))return N(this,o,!0);return E(this,o)}toString(){return void 0!==E(this,u)?E(this,u):N(this,u,this.type?this.type+"("+E(this,s).map((t=>t+"")).join("|")+")":E(this,s).map((t=>t+"")).join(""))}push(...e){for(const n of e)if(""!==n){if("string"!=typeof n&&!(n instanceof t&&E(n,i)===this))throw Error("invalid part: "+n);E(this,s).push(n)}}toJSON(){var t;const e=null===this.type?E(this,s).slice().map((t=>"string"==typeof t?t:t.toJSON())):[this.type,...E(this,s).map((t=>t.toJSON()))];return this.isStart()&&!this.type&&e.unshift([]),this.isEnd()&&(this===E(this,n)||E(E(this,n),f)&&"!"===(null==(t=E(this,i))?void 0:t.type))&&e.push({}),e}isStart(){var e;if(E(this,n)===this)return!0;if(!(null==(e=E(this,i))?void 0:e.isStart()))return!1;if(0===E(this,l))return!0;const o=E(this,i);for(let e=0;e<E(this,l);e++){const n=E(o,s)[e];if(!(n instanceof t&&"!"===n.type))return!1}return!0}isEnd(){var t,e,o;if(E(this,n)===this)return!0;if("!"===(null==(t=E(this,i))?void 0:t.type))return!0;if(!(null==(e=E(this,i))?void 0:e.isEnd()))return!1;if(!this.type)return null==(o=E(this,i))?void 0:o.isEnd();const r=E(this,i)?E(E(this,i),s).length:0;return E(this,l)===r-1}copyIn(t){this.push("string"==typeof t?t:t.clone(this))}clone(e){const n=new t(this.type,e);for(const t of E(this,s))n.copyIn(t);return n}static fromGlob(e,n={}){var o;const r=new t(null,void 0,n);return P(o=t,m,v).call(o,e,r,0,n),r}toMMPattern(){if(this!==E(this,n))return E(this,n).toMMPattern();const t=""+this,[e,r,s,i]=this.toRegExpSource();if(!(s||E(this,o)||E(this,c).nocase&&!E(this,c).nocaseMagicOnly&&t.toUpperCase()!==t.toLowerCase()))return r;const l=(E(this,c).nocase?"i":"")+(i?"u":"");return Object.assign(RegExp(`^${e}$`,l),{_src:e,_glob:t})}get options(){return E(this,c)}toRegExpSource(e){var l;const a=null!=e?e:!!E(this,c).dot;if(E(this,n)===this&&P(this,p,d).call(this),!this.type){const c=this.isStart()&&this.isEnd(),u=E(this,s).map((n=>{var s;const[i,l,a,f]="string"==typeof n?P(s=t,m,g).call(s,n,E(this,o),c):n.toRegExpSource(e);return N(this,o,E(this,o)||a),N(this,r,E(this,r)||f),i})).join("");let h="";if(this.isStart()&&"string"==typeof E(this,s)[0]&&(1!==E(this,s).length||!kt.has(E(this,s)[0]))){const t=yt,n=a&&t.has(u.charAt(0))||u.startsWith("\\.")&&t.has(u.charAt(2))||u.startsWith("\\.\\.")&&t.has(u.charAt(4)),o=!a&&!e&&t.has(u.charAt(0));h=n?"(?!(?:^|/)\\.\\.?(?:$|/))":o?$t:""}let p="";return this.isEnd()&&E(E(this,n),f)&&"!"===(null==(l=E(this,i))?void 0:l.type)&&(p="(?:$|\\/)"),[h+u+p,gt(u),N(this,o,!!E(this,o)),E(this,r)]}const u="*"===this.type||"+"===this.type,v="!"===this.type?"(?:(?!(?:":"(?:";let w=P(this,p,b).call(this,a);if(this.isStart()&&this.isEnd()&&!w&&"!"!==this.type){const t=""+this;return N(this,s,[t]),this.type=null,N(this,o,void 0),[t,gt(""+this),!1,!1]}let x=!u||e||a?"":P(this,p,b).call(this,!0);x===w&&(x=""),x&&(w=`(?:${w})(?:${x})*?`);let $="";return $="!"===this.type&&E(this,h)?(this.isStart()&&!a?$t:"")+Et:v+w+("!"===this.type?"))"+(!this.isStart()||a||e?"":$t)+Mt+")":"@"===this.type?")":"?"===this.type?")?":"+"===this.type&&x?")":"*"===this.type&&x?")?":")"+this.type),[$,gt(w),N(this,o,!!E(this,o)),E(this,r)]}};n=new WeakMap,o=new WeakMap,r=new WeakMap,s=new WeakMap,i=new WeakMap,l=new WeakMap,a=new WeakMap,f=new WeakMap,c=new WeakMap,u=new WeakMap,h=new WeakMap,p=new WeakSet,d=function(){if(this!==E(this,n))throw Error("should only call on root");if(E(this,f))return this;let t;for(N(this,f,!0);t=E(this,a).pop();){if("!"!==t.type)continue;let e=t,n=E(e,i);for(;n;){for(let o=E(e,l)+1;!n.type&&o<E(n,s).length;o++)for(const e of E(t,s)){if("string"==typeof e)throw Error("string part in extglob AST??");e.copyIn(E(n,s)[o])}e=n,n=E(e,i)}}return this},m=new WeakSet,v=function(t,e,n,r){var i,l;let a=!1,f=!1,c=-1,u=!1;if(null===e.type){let o=n,s="";for(;o<t.length;){const n=t.charAt(o++);if(a||"\\"===n)a=!a,s+=n;else if(f)o===c+1?"^"!==n&&"!"!==n||(u=!0):"]"!==n||o===c+2&&u||(f=!1),s+=n;else if("["!==n)if(r.noext||!xt(n)||"("!==t.charAt(o))s+=n;else{e.push(s),s="";const l=new zt(n,e);o=P(i=zt,m,v).call(i,t,l,o,r),e.push(l)}else f=!0,c=o,u=!1,s+=n}return e.push(s),o}let p=n+1,d=new zt(null,e);const b=[];let g="";for(;p<t.length;){const n=t.charAt(p++);if(a||"\\"===n)a=!a,g+=n;else if(f)p===c+1?"^"!==n&&"!"!==n||(u=!0):"]"!==n||p===c+2&&u||(f=!1),g+=n;else if("["!==n)if(xt(n)&&"("===t.charAt(p)){d.push(g),g="";const e=new zt(n,d);d.push(e),p=P(l=zt,m,v).call(l,t,e,p,r)}else if("|"!==n){if(")"===n)return""===g&&0===E(e,s).length&&N(e,h,!0),d.push(g),g="",e.push(...b,d),p;g+=n}else d.push(g),g="",b.push(d),d=new zt(null,e);else f=!0,c=p,u=!1,g+=n}return e.type=null,N(e,o,void 0),N(e,s,[t.substring(n-1)]),p},b=function(t){return E(this,s).map((e=>{if("string"==typeof e)throw Error("string type in extglob ast??");const[n,o,s,i]=e.toRegExpSource(t);return N(this,r,E(this,r)||i),n})).filter((t=>!(this.isStart()&&this.isEnd()&&!t))).join("|")},g=function(t,e,n=!1){let o=!1,r="",s=!1;for(let i=0;i<t.length;i++){const l=t.charAt(i);if(o)o=!1,r+=(St.has(l)?"\\":"")+l;else if("\\"!==l){if("["===l){const[n,o,l,a]=bt(t,i);if(l){r+=n,s=s||o,i+=l-1,e=e||a;continue}}"*"!==l?"?"!==l?r+=Ot(l):(r+=jt,e=!0):(r+=n&&"*"===t?Et:Mt,e=!0)}else i===t.length-1?r+="\\\\":o=!0}return[r,gt(t),!!e,s]},z(zt,m);var Nt=zt,Pt=(t,e,n={})=>(ht(e),!(!n.nocomment&&"#"===e.charAt(0))&&new oe(e,n).match(t)),It=/^\*+([^+@!?\*\[\(]*)$/,Ct=t=>e=>!e.startsWith(".")&&e.endsWith(t),At=t=>e=>e.endsWith(t),Rt=t=>(t=t.toLowerCase(),e=>!e.startsWith(".")&&e.toLowerCase().endsWith(t)),Lt=t=>(t=t.toLowerCase(),e=>e.toLowerCase().endsWith(t)),Tt=/^\*+\.\*+$/,Wt=t=>!t.startsWith(".")&&t.includes("."),Ft=t=>"."!==t&&".."!==t&&t.includes("."),Dt=/^\.\*+$/,Bt=t=>"."!==t&&".."!==t&&t.startsWith("."),_t=/^\*+$/,Xt=t=>0!==t.length&&!t.startsWith("."),Ut=t=>0!==t.length&&"."!==t&&".."!==t,Gt=/^\?+([^+@!?\*\[\(]*)?$/,Vt=([t,e=""])=>{const n=Yt([t]);return e?(e=e.toLowerCase(),t=>n(t)&&t.toLowerCase().endsWith(e)):n},Ht=([t,e=""])=>{const n=Jt([t]);return e?(e=e.toLowerCase(),t=>n(t)&&t.toLowerCase().endsWith(e)):n},Zt=([t,e=""])=>{const n=Jt([t]);return e?t=>n(t)&&t.endsWith(e):n},qt=([t,e=""])=>{const n=Yt([t]);return e?t=>n(t)&&t.endsWith(e):n},Yt=([t])=>{const e=t.length;return t=>t.length===e&&!t.startsWith(".")},Jt=([t])=>{const e=t.length;return t=>t.length===e&&"."!==t&&".."!==t},Kt="object"==typeof process&&process?"object"==typeof process.env&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix";Pt.sep="win32"===Kt?"\\":"/";var Qt=Symbol("globstar **");Pt.GLOBSTAR=Qt,Pt.filter=(t,e={})=>n=>Pt(n,t,e);var te=(t,e={})=>Object.assign({},t,e);Pt.defaults=t=>{if(!t||"object"!=typeof t||!Object.keys(t).length)return Pt;const e=Pt;return Object.assign(((n,o,r={})=>e(n,o,te(t,r))),{Minimatch:class extends e.Minimatch{constructor(e,n={}){super(e,te(t,n))}static defaults(n){return e.defaults(te(t,n)).Minimatch}},AST:class extends e.AST{constructor(e,n,o={}){super(e,n,te(t,o))}static fromGlob(n,o={}){return e.AST.fromGlob(n,te(t,o))}},unescape:(n,o={})=>e.unescape(n,te(t,o)),escape:(n,o={})=>e.escape(n,te(t,o)),filter:(n,o={})=>e.filter(n,te(t,o)),defaults:n=>e.defaults(te(t,n)),makeRe:(n,o={})=>e.makeRe(n,te(t,o)),braceExpand:(n,o={})=>e.braceExpand(n,te(t,o)),match:(n,o,r={})=>e.match(n,o,te(t,r)),sep:e.sep,GLOBSTAR:Qt})};var ee=(t,e={})=>(ht(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:(0,ut.default)(t));Pt.braceExpand=ee,Pt.makeRe=(t,e={})=>new oe(t,e).makeRe(),Pt.match=(t,e,n={})=>{const o=new oe(e,n);return t=t.filter((t=>o.match(t))),o.options.nonull&&!t.length&&t.push(e),t};var ne=/[?*]|[+@!]\(.*?\)|\[|\]/,oe=class{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(t,e={}){ht(t),this.options=e=e||{},this.pattern=t,this.platform=e.platform||Kt,this.isWindows="win32"===this.platform,this.windowsPathsNoEscape=!!e.windowsPathsNoEscape||!1===e.allowWindowsEscape,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!e.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!e.nonegate,this.comment=!1,this.empty=!1,this.partial=!!e.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=void 0!==e.windowsNoMagicRoot?e.windowsNoMagicRoot:!(!this.isWindows||!this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(const t of this.set)for(const e of t)if("string"!=typeof e)return!0;return!1}debug(...t){}make(){const t=this.pattern,e=this.options;if(!e.nocomment&&"#"===t.charAt(0))return void(this.comment=!0);if(!t)return void(this.empty=!0);this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],e.debug&&(this.debug=(...t)=>console.error(...t)),this.debug(this.pattern,this.globSet);const n=this.globSet.map((t=>this.slashSplit(t)));this.globParts=this.preprocess(n),this.debug(this.pattern,this.globParts);let o=this.globParts.map((t=>{if(this.isWindows&&this.windowsNoMagicRoot){const e=!(""!==t[0]||""!==t[1]||"?"!==t[2]&&ne.test(t[2])||ne.test(t[3])),n=/^[a-z]:/i.test(t[0]);if(e)return[...t.slice(0,4),...t.slice(4).map((t=>this.parse(t)))];if(n)return[t[0],...t.slice(1).map((t=>this.parse(t)))]}return t.map((t=>this.parse(t)))}));if(this.debug(this.pattern,o),this.set=o.filter((t=>-1===t.indexOf(!1))),this.isWindows)for(let t=0;t<this.set.length;t++){const e=this.set[t];""===e[0]&&""===e[1]&&"?"===this.globParts[t][2]&&"string"==typeof e[3]&&/^[a-z]:$/i.test(e[3])&&(e[2]="?")}this.debug(this.pattern,this.set)}preprocess(t){if(this.options.noglobstar)for(let e=0;e<t.length;e++)for(let n=0;n<t[e].length;n++)"**"===t[e][n]&&(t[e][n]="*");const{optimizationLevel:e=1}=this.options;return e>=2?(t=this.firstPhasePreProcess(t),t=this.secondPhasePreProcess(t)):t=e>=1?this.levelOneOptimize(t):this.adjascentGlobstarOptimize(t),t}adjascentGlobstarOptimize(t){return t.map((t=>{let e=-1;for(;-1!==(e=t.indexOf("**",e+1));){let n=e;for(;"**"===t[n+1];)n++;n!==e&&t.splice(e,n-e)}return t}))}levelOneOptimize(t){return t.map((t=>0===(t=t.reduce(((t,e)=>{const n=t[t.length-1];return"**"===e&&"**"===n?t:".."===e&&n&&".."!==n&&"."!==n&&"**"!==n?(t.pop(),t):(t.push(e),t)}),[])).length?[""]:t))}levelTwoFileOptimize(t){Array.isArray(t)||(t=this.slashSplit(t));let e=!1;do{if(e=!1,!this.preserveMultipleSlashes){for(let n=1;n<t.length-1;n++){const o=t[n];1===n&&""===o&&""===t[0]||"."!==o&&""!==o||(e=!0,t.splice(n,1),n--)}"."!==t[0]||2!==t.length||"."!==t[1]&&""!==t[1]||(e=!0,t.pop())}let n=0;for(;-1!==(n=t.indexOf("..",n+1));){const o=t[n-1];o&&"."!==o&&".."!==o&&"**"!==o&&(e=!0,t.splice(n-1,2),n-=2)}}while(e);return 0===t.length?[""]:t}firstPhasePreProcess(t){let e=!1;do{e=!1;for(let n of t){let o=-1;for(;-1!==(o=n.indexOf("**",o+1));){let r=o;for(;"**"===n[r+1];)r++;r>o&&n.splice(o+1,r-o);const s=n[o+2],i=n[o+3];if(".."!==n[o+1])continue;if(!s||"."===s||".."===s||!i||"."===i||".."===i)continue;e=!0,n.splice(o,1);const l=n.slice(0);l[o]="**",t.push(l),o--}if(!this.preserveMultipleSlashes){for(let t=1;t<n.length-1;t++){const o=n[t];1===t&&""===o&&""===n[0]||"."!==o&&""!==o||(e=!0,n.splice(t,1),t--)}"."!==n[0]||2!==n.length||"."!==n[1]&&""!==n[1]||(e=!0,n.pop())}let r=0;for(;-1!==(r=n.indexOf("..",r+1));){const t=n[r-1];t&&"."!==t&&".."!==t&&"**"!==t&&(e=!0,n.splice(r-1,2,...1===r&&"**"===n[r+1]?["."]:[]),0===n.length&&n.push(""),r-=2)}}}while(e);return t}secondPhasePreProcess(t){for(let e=0;e<t.length-1;e++)for(let n=e+1;n<t.length;n++){const o=this.partsMatch(t[e],t[n],!this.preserveMultipleSlashes);o&&(t[e]=o,t[n]=[])}return t.filter((t=>t.length))}partsMatch(t,e,n=!1){let o=0,r=0,s=[],i="";for(;o<t.length&&r<e.length;)if(t[o]===e[r])s.push("b"===i?e[r]:t[o]),o++,r++;else if(n&&"**"===t[o]&&e[r]===t[o+1])s.push(t[o]),o++;else if(n&&"**"===e[r]&&t[o]===e[r+1])s.push(e[r]),r++;else if("*"!==t[o]||!e[r]||!this.options.dot&&e[r].startsWith(".")||"**"===e[r]){if("*"!==e[r]||!t[o]||!this.options.dot&&t[o].startsWith(".")||"**"===t[o])return!1;if("a"===i)return!1;i="b",s.push(e[r]),o++,r++}else{if("b"===i)return!1;i="a",s.push(t[o]),o++,r++}return t.length===e.length&&s}parseNegate(){if(this.nonegate)return;const t=this.pattern;let e=!1,n=0;for(let o=0;o<t.length&&"!"===t.charAt(o);o++)e=!e,n++;n&&(this.pattern=t.slice(n)),this.negate=e}matchOne(t,e,n=!1){const o=this.options;if(this.isWindows){const n="string"==typeof t[0]&&/^[a-z]:$/i.test(t[0]),o=!n&&""===t[0]&&""===t[1]&&"?"===t[2]&&/^[a-z]:$/i.test(t[3]),r="string"==typeof e[0]&&/^[a-z]:$/i.test(e[0]),s=o?3:n?0:void 0,i=!r&&""===e[0]&&""===e[1]&&"?"===e[2]&&"string"==typeof e[3]&&/^[a-z]:$/i.test(e[3])?3:r?0:void 0;if("number"==typeof s&&"number"==typeof i){const[n,o]=[t[s],e[i]];n.toLowerCase()===o.toLowerCase()&&(e[i]=n,i>s?e=e.slice(i):s>i&&(t=t.slice(s)))}}const{optimizationLevel:r=1}=this.options;r>=2&&(t=this.levelTwoFileOptimize(t)),this.debug("matchOne",this,{file:t,pattern:e}),this.debug("matchOne",t.length,e.length);for(var s=0,i=0,l=t.length,a=e.length;s<l&&i<a;s++,i++){this.debug("matchOne loop");var f=e[i],c=t[s];if(this.debug(e,f,c),!1===f)return!1;if(f===Qt){this.debug("GLOBSTAR",[e,f,c]);var u=s,h=i+1;if(h===a){for(this.debug("** at the end");s<l;s++)if("."===t[s]||".."===t[s]||!o.dot&&"."===t[s].charAt(0))return!1;return!0}for(;u<l;){var p=t[u];if(this.debug("\nglobstar while",t,u,e,h,p),this.matchOne(t.slice(u),e.slice(h),n))return this.debug("globstar found match!",u,l,p),!0;if("."===p||".."===p||!o.dot&&"."===p.charAt(0)){this.debug("dot detected!",t,u,e,h);break}this.debug("globstar swallow a segment, and continue"),u++}return!(!n||(this.debug("\n>>> no match, partial?",t,u,e,h),u!==l))}let r;if("string"==typeof f?(r=c===f,this.debug("string match",f,c,r)):(r=f.test(c),this.debug("pattern match",f,c,r)),!r)return!1}if(s===l&&i===a)return!0;if(s===l)return n;if(i===a)return s===l-1&&""===t[s];throw Error("wtf?")}braceExpand(){return ee(this.pattern,this.options)}parse(t){ht(t);const e=this.options;if("**"===t)return Qt;if(""===t)return"";let n,o=null;(n=t.match(_t))?o=e.dot?Ut:Xt:(n=t.match(It))?o=(e.nocase?e.dot?Lt:Rt:e.dot?At:Ct)(n[1]):(n=t.match(Gt))?o=(e.nocase?e.dot?Ht:Vt:e.dot?Zt:qt)(n):(n=t.match(Tt))?o=e.dot?Ft:Wt:(n=t.match(Dt))&&(o=Bt);const r=Nt.fromGlob(t,this.options).toMMPattern();return o&&"object"==typeof r&&Reflect.defineProperty(r,"test",{value:o}),r}makeRe(){if(this.regexp||!1===this.regexp)return this.regexp;const t=this.set;if(!t.length)return this.regexp=!1,this.regexp;const e=this.options,n=e.noglobstar?"[^/]*?":e.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",o=new Set(e.nocase?["i"]:[]);let r=t.map((t=>{const e=t.map((t=>{if(t instanceof RegExp)for(const e of t.flags.split(""))o.add(e);return"string"==typeof t?(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"))(t):t===Qt?Qt:t._src}));return e.forEach(((t,o)=>{const r=e[o+1],s=e[o-1];t===Qt&&s!==Qt&&(void 0===s?void 0!==r&&r!==Qt?e[o+1]="(?:\\/|"+n+"\\/)?"+r:e[o]=n:void 0===r?e[o-1]=s+"(?:\\/|"+n+")?":r!==Qt&&(e[o-1]=s+"(?:\\/|\\/"+n+"\\/)"+r,e[o+1]=Qt))})),e.filter((t=>t!==Qt)).join("/")})).join("|");const[s,i]=t.length>1?["(?:",")"]:["",""];r="^"+s+r+i+"$",this.negate&&(r="^(?!"+r+").+$");try{this.regexp=RegExp(r,[...o].join(""))}catch(t){this.regexp=!1}return this.regexp}slashSplit(t){return this.preserveMultipleSlashes?t.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(t)?["",...t.split(/\/+/)]:t.split(/\/+/)}match(t,e=this.partial){if(this.debug("match",t,this.pattern),this.comment)return!1;if(this.empty)return""===t;if("/"===t&&e)return!0;const n=this.options;this.isWindows&&(t=t.split("\\").join("/"));const o=this.slashSplit(t);this.debug(this.pattern,"split",o);const r=this.set;this.debug(this.pattern,"set",r);let s=o[o.length-1];if(!s)for(let t=o.length-2;!s&&t>=0;t--)s=o[t];for(let t=0;t<r.length;t++){const i=r[t];let l=o;if(n.matchBase&&1===i.length&&(l=[s]),this.matchOne(l,i,e))return!!n.flipNegate||!this.negate}return!n.flipNegate&&this.negate}static defaults(t){return Pt.defaults(t).Minimatch}};function re(t){var e,n,o;return null!=(o=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}Pt.AST=Nt,Pt.Minimatch=oe,Pt.escape=(t,{windowsPathsNoEscape:e=!1}={})=>e?t.replace(/[?*()[\]]/g,"[$&]"):t.replace(/[?*()[\]\\]/g,"\\$&"),Pt.unescape=gt;var se=class t{static fromLocalValue(e){const n=e[L],o=T in e?e[T]:void 0;switch(n){case"string":case"boolean":return o;case"bigint":return BigInt(o);case"undefined":return;case"null":return null;case"number":return"NaN"===o?NaN:"-0"===o?-0:"Infinity"===o?1/0:"-Infinity"===o?-1/0:o;case"array":return o.map((e=>t.fromLocalValue(e)));case"date":return new Date(o);case"map":const e=new Map;for(const[n,r]of o){const o="object"==typeof n&&null!==n?t.fromLocalValue(n):n,s=t.fromLocalValue(r);e.set(o,s)}return e;case"object":const r={};for(const[e,n]of o)r[e]=t.fromLocalValue(n);return r;case"regexp":const{pattern:s,flags:i}=o;return RegExp(s,i);case"set":const l=new Set;for(const e of o)l.add(t.fromLocalValue(e));return l;case"symbol":return Symbol(o);default:throw Error("Unsupported type: "+n)}}static fromLocalValueArray(e){return e.map((e=>t.fromLocalValue(e)))}static isLocalValueObject(t){if("object"!=typeof t||null===t)return!1;if(!t.hasOwnProperty(L))return!1;const e=t[L];return!!Object.values({...A,...R}).includes(e)&&("null"===e||"undefined"===e||t.hasOwnProperty(T))}};((t,e)=>{for(var n in e)x(t,n,{get:e[n],enumerable:!0})})({},{err:()=>le,map:()=>ae,ok:()=>ie,unwrap:()=>ce,unwrapErr:()=>ue});var ie=t=>({isOk:!0,isErr:!1,value:t}),le=t=>({isOk:!1,isErr:!0,value:t});function ae(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>ie(t))):ie(n)}if(t.isErr)return le(t.value);throw"should never get here"}var fe,ce=t=>{if(t.isOk)return t.value;throw t.value},ue=t=>{if(t.isErr)return t.value;throw t.value};function he(){var t;const n=this.attachShadow({mode:"open"});if(void 0===fe&&(fe=null!=(t=function(t){if(!tt)return;const e=new CSSStyleSheet;return e.replaceSync(t),e}(e))?t:null),fe)et?n.adoptedStyleSheets.push(fe):n.adoptedStyleSheets=[...n.adoptedStyleSheets,fe];else if(!tt){const t=document.createElement("style");t.innerHTML=e,n.prepend(t)}}var pe=t=>{const e=xe(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&de(e,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!me(t,ge(t),!1).length)}));let n=0;for(n=0;n<e.length;n++){const t=e[n];1===t.nodeType&&xe(t,"childNodes").length&&pe(t)}};function de(t,e,n){let o,r=0,s=[];for(;r<t.length;r++)o=t[r],!o["s-sr"]||e&&o["s-hn"]!==e||void 0!==n||s.push(o),s=[...s,...de(o.childNodes,e,n)];return s}var me=(t,e,n=!0)=>{const o=[];(n&&t["s-sr"]||!t["s-sr"])&&o.push(t);let r=t;for(;r=r.nextSibling;)ge(r)!==e||!n&&r["s-sr"]||o.push(r);return o},ve=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,be=(t,e,n,o)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const r=document.createTextNode("");if(r["s-nr"]=t,!e["s-cr"]||!e["s-cr"].parentNode)return;const s=e["s-cr"].parentNode,i=xe(s,"appendChild");if(void 0!==o){r["s-oo"]=o;const t=xe(s,"childNodes"),e=[r];t.forEach((t=>{t["s-nr"]&&e.push(t)})),e.sort(((t,e)=>!t["s-oo"]||t["s-oo"]<(e["s-oo"]||0)?-1:!e["s-oo"]||e["s-oo"]<t["s-oo"]?1:0)),e.forEach((t=>i.call(s,t)))}else i.call(s,r);t["s-ol"]=r,t["s-sh"]=e["s-hn"]},ge=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function we(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const e=e=>function(t){const n=[],o=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const r=this["s-cr"].parentElement;return(r.__childNodes?r.childNodes:(t=>{const e=[];for(let n=0;n<t.length;n++){const o=t[n]["s-nr"]||void 0;o&&o.isConnected&&e.push(o)}return e})(r.childNodes)).forEach((t=>{o===ge(t)&&n.push(t)})),e?n.filter((t=>1===t.nodeType)):n}.bind(t);t.assignedElements=e(!0),t.assignedNodes=e(!1)}function xe(t,e){if("__"+e in t){const n=t["__"+e];return"function"!=typeof n?n:n.bind(t)}return"function"!=typeof t[e]?t[e]:t[e].bind(t)}var $e=new WeakMap,ye=(t,e,n)=>{let o=G.get(t);tt&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,G.set(t,o)},ke=(t,e)=>{var n,o,r;const s=Se(e),i=G.get(s);if(!J.document)return s;if(t=11===t.nodeType?t:J.document,i)if("string"==typeof i){let r,l=$e.get(t=t.head||t);l||$e.set(t,l=new Set);const a=t.querySelector(`[${H}="${s}"]`);if(a)a.innerHTML=i;else if(!l.has(s)){r=J.document.createElement("style"),r.innerHTML=i;const a=null!=(n=K.p)?n:re(J.document);if(null!=a&&r.setAttribute("nonce",a),!(1&e.u))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(r,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(tt){const e=new(null!=(o=t.defaultView)?o:t.ownerDocument.defaultView).CSSStyleSheet;e.replaceSync(i),et?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.innerHTML=i+e.innerHTML:t.prepend(r)}else t.append(r);1&e.u&&t.insertBefore(r,null),4&e.u&&(r.innerHTML+=q),l&&l.add(s)}}else{let e=$e.get(t);if(e||$e.set(t,e=new Set),!e.has(s)){const n=null!=(r=t.defaultView)?r:t.ownerDocument.defaultView;let o;if(i.constructor===n.CSSStyleSheet)o=i;else{o=new n.CSSStyleSheet;for(let t=0;t<i.cssRules.length;t++)o.insertRule(i.cssRules[t].cssText,t)}et?t.adoptedStyleSheets.push(o):t.adoptedStyleSheets=[...t.adoptedStyleSheets,o],e.add(s)}}return s},Se=t=>"sc-"+t.m,Oe=t=>t.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),je=(t,e,...n)=>{let o=null,r=null,s=null,i=!1,l=!1;const a=[],f=e=>{for(let n=0;n<e.length;n++)o=e[n],Array.isArray(o)?f(o):null!=o&&"boolean"!=typeof o&&((i="function"!=typeof t&&!ct(o))&&(o+=""),i&&l?a[a.length-1].v+=o:a.push(i?Me(null,o):o),l=i)};if(f(n),e){e.key&&(r=e.key),e.name&&(s=e.name);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}if("function"==typeof t)return t(null===e?{}:e,a,ze);const c=Me(t,null);return c.$=e,a.length>0&&(c.k=a),c.S=r,c.O=s,c},Me=(t,e)=>({u:0,j:t,v:e,M:null,k:null,$:null,S:null,O:null}),Ee={},ze={forEach:(t,e)=>t.map(Ne).forEach(e),map:(t,e)=>t.map(Ne).map(e).map(Pe)},Ne=t=>({vattrs:t.$,vchildren:t.k,vkey:t.S,vname:t.O,vtag:t.j,vtext:t.v}),Pe=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),je(t.vtag,e,...t.vchildren||[])}const e=Me(t.vtag,t.vtext);return e.$=t.vattrs,e.k=t.vchildren,e.S=t.vkey,e.O=t.vname,e},Ie=(t,e,n,o,r,s,i,l=[])=>{let a,f,c,u;const h=r["s-sc"];if(1===s.nodeType){if(a=s.getAttribute(Z),a&&(f=a.split("."),f[0]===i||"0"===f[0])){c=Ae({u:0,N:f[0],P:f[1],I:f[2],C:f[3],j:s.tagName.toLowerCase(),M:s,$:{class:s.className||""}}),e.push(c),s.removeAttribute(Z),t.k||(t.k=[]),h&&f[0]===i&&(s["s-si"]=h,c.$.class+=" "+h);const r=c.M.getAttribute("s-sn");"string"==typeof r&&("slot-fb"===c.j&&(Re(r,f[2],c,s,t,e,n,o,l),h&&s.classList.add(h)),c.M["s-sn"]=r,c.M.removeAttribute("s-sn")),void 0!==c.C&&(t.k[c.C]=c),t=c,o&&"0"===c.I&&(o[c.C]=c.M)}if(s.shadowRoot)for(u=s.shadowRoot.childNodes.length-1;u>=0;u--)Ie(t,e,n,o,r,s.shadowRoot.childNodes[u],i,l);const p=s.__childNodes||s.childNodes;for(u=p.length-1;u>=0;u--)Ie(t,e,n,o,r,p[u],i,l)}else if(8===s.nodeType)f=s.nodeValue.split("."),(f[1]===i||"0"===f[1])&&(a=f[0],c=Ae({N:f[1],P:f[2],I:f[3],C:f[4]||"0",M:s,$:null,k:null,S:null,O:null,j:null,v:null}),"t"===a?(c.M=Te(s,3),c.M&&3===c.M.nodeType&&(c.v=c.M.textContent,e.push(c),s.remove(),i===c.N&&(t.k||(t.k=[]),t.k[c.C]=c),o&&"0"===c.I&&(o[c.C]=c.M))):"c"===a?(c.M=Te(s,8),c.M&&8===c.M.nodeType&&(e.push(c),s.remove())):c.N===i&&("s"===a?Re(s["s-sn"]=f[5]||"",f[2],c,s,t,e,n,o,l):"r"===a&&(o?s.remove():(r["s-cr"]=s,s["s-cn"]=!0))));else if(t&&"style"===t.j){const e=Me(null,s.textContent);e.M=s,e.C="0",t.k=[e]}return t},Ce=(t,e)=>{if(1===t.nodeType){const n=t[V]||t.getAttribute(V);n&&e.set(n,t);let o=0;if(t.shadowRoot)for(;o<t.shadowRoot.childNodes.length;o++)Ce(t.shadowRoot.childNodes[o],e);const r=t.__childNodes||t.childNodes;for(o=0;o<r.length;o++)Ce(r[o],e)}else if(8===t.nodeType){const n=t.nodeValue.split(".");"o"===n[0]&&(e.set(n[1]+"."+n[2],t),t.nodeValue="",t["s-en"]=n[3])}},Ae=t=>({u:0,N:null,P:null,I:null,C:"0",M:null,$:null,k:null,S:null,O:null,j:null,v:null,...t});function Re(t,e,n,o,r,s,i,l,a){o["s-sr"]=!0,n.O=t||null,n.j="slot";const f=(null==r?void 0:r.M)?r.M["s-id"]||r.M.getAttribute("s-id"):"";if(l&&J.document){const s=n.M=J.document.createElement(n.j);n.O&&n.M.setAttribute("name",t),r.M.shadowRoot&&f&&f!==n.N?xe(r.M,"insertBefore")(s,xe(r.M,"children")[0]):xe(xe(o,"parentNode"),"insertBefore")(s,o),Le(a,e,t,o,n.N),o.remove(),"0"===n.I&&(l[n.C]=n.M)}else{const s=n.M,i=f&&f!==n.N&&r.M.shadowRoot;Le(a,e,t,o,i?f:n.N),we(o),i&&r.M.insertBefore(s,r.M.children[0])}s.push(n),i.push(n),r.k||(r.k=[]),r.k[n.C]=n}var Le=(t,e,n,o,r)=>{var s,i;let l=o.nextSibling;if(t[e]=t[e]||[],l&&!(null==(s=l.nodeValue)?void 0:s.startsWith("s.")))do{!l||(l.getAttribute&&l.getAttribute("slot")||l["s-sn"])!==n&&(""!==n||l["s-sn"]||l.getAttribute&&l.getAttribute("slot")||8!==l.nodeType&&3!==l.nodeType)||(l["s-sn"]=n,t[e].push({slot:o,node:l,hostId:r})),l=null==l?void 0:l.nextSibling}while(l&&!(null==(i=l.nodeValue)?void 0:i.startsWith("s.")))},Te=(t,e)=>{let n=t;do{n=n.nextSibling}while(n&&(n.nodeType!==e||!n.nodeValue));return n},We=t=>{const e=(t=>t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"))(t);return RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${e}))(${e}\\b)`,"g")};We("::slotted"),We(":host"),We(":host-context");var Fe,De,Be,_e=(t,e,n)=>"string"==typeof t&&t.startsWith(W)?t=function(t){return"string"==typeof t&&t.startsWith(W)?se.fromLocalValue(JSON.parse(atob(t.slice(11)))):t}(t):null==t||ct(t)?t:4&e?(n&&"string"==typeof t||"false"!==t)&&(""===t||!!t):2&e?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&e?t+"":t,Xe=t=>{var e;return null==(e=D(t))?void 0:e.$hostElement$},Ue=(t,e,n)=>{const o=Xe(t);return{emit:t=>Ge(o,e,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:t})}},Ge=(t,e,n)=>{const o=K.ce(e,n);return t.dispatchEvent(o),o},Ve=(t,e,n,o,r,s,i)=>{if(n===o)return;let l=_(t,e),a=e.toLowerCase();if("class"===e){const e=t.classList,r=Ze(n);let s=Ze(o);if((t["s-si"]||t["s-sc"])&&i){const n=t["s-sc"]||t["s-si"];s.push(n),r.forEach((t=>{t.startsWith(n)&&s.push(t)})),s=[...new Set(s)].filter((t=>t)),e.add(...s)}else e.remove(...r.filter((t=>t&&!s.includes(t)))),e.add(...s.filter((t=>t&&!r.includes(t))))}else if("style"===e){for(const e in n)o&&null!=o[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in o)n&&o[e]===n[e]||(e.includes("-")?t.style.setProperty(e,o[e]):t.style[e]=o[e])}else if("key"===e);else if("ref"===e)o&&o(t);else if(l||"o"!==e[0]||"n"!==e[1]){const i=ct(o);if((l||i&&null!==o)&&!r)try{if(t.tagName.includes("-"))t[e]!==o&&(t[e]=o);else{const r=null==o?"":o;"list"===e?l=!1:null!=n&&t[e]==r||("function"==typeof t.__lookupSetter__(e)?t[e]=r:t.setAttribute(e,r))}}catch(t){}null==o||!1===o?!1===o&&""!==t.getAttribute(e)||t.removeAttribute(e):(!l||4&s||r)&&!i&&1===t.nodeType&&t.setAttribute(e,o=!0===o?"":o)}else if(e="-"===e[2]?e.slice(3):_(J,a)?a.slice(2):a[2]+e.slice(3),n||o){const r=e.endsWith(qe);e=e.replace(Ye,""),n&&K.rel(t,e,n,r),o&&K.ael(t,e,o,r)}},He=/\s/,Ze=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(He):[]),qe="Capture",Ye=RegExp(qe+"$"),Je=(t,e,n,o)=>{const r=11===e.M.nodeType&&e.M.host?e.M.host:e.M,s=t&&t.$||{},i=e.$||{};for(const t of Ke(Object.keys(s)))t in i||Ve(r,t,s[t],void 0,n,e.u,o);for(const t of Ke(Object.keys(i)))Ve(r,t,s[t],i[t],n,e.u,o)};function Ke(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var Qe=!1,tn=!1,en=!1,nn=!1,on=(t,e,n)=>{var o;const r=e.k[n];let s,i,l,a=0;if(Qe||(en=!0,"slot"===r.j&&(r.u|=r.k?2:1)),null!==r.v)s=r.M=J.document.createTextNode(r.v);else if(1&r.u)s=r.M=J.document.createTextNode(""),Je(null,r,nn);else{if(nn||(nn="svg"===r.j),!J.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(s=r.M=J.document.createElementNS(nn?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!Qe&&2&r.u?"slot-fb":r.j),nn&&"foreignObject"===r.j&&(nn=!1),Je(null,r,nn),null!=Fe&&void 0!==Fe&&s["s-si"]!==Fe&&s.classList.add(s["s-si"]=Fe),r.k){const e="template"===r.j?s.content:s;for(a=0;a<r.k.length;++a)i=on(t,r,a),i&&e.appendChild(i)}"svg"===r.j?nn=!1:"foreignObject"===s.tagName&&(nn=!0)}return s["s-hn"]=Be,3&r.u&&(s["s-sr"]=!0,s["s-cr"]=De,s["s-sn"]=r.O||"",s["s-rf"]=null==(o=r.$)?void 0:o.ref,we(s),l=t&&t.k&&t.k[n],l&&l.j===r.j&&t.M&&rn(t.M,!1),mn(De,s,e.M,null==t?void 0:t.M)),s},rn=(t,e)=>{K.u|=1;const n=Array.from(t.__childNodes||t.childNodes);for(let t=n.length-1;t>=0;t--){const o=n[t];o["s-hn"]!==Be&&o["s-ol"]&&(dn(fn(o).parentNode,o,fn(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,en=!0),e&&rn(o,e)}K.u&=-2},sn=(t,e,n,o,r,s)=>{let i,l=t["s-cr"]&&t["s-cr"].parentNode||t;for(l.shadowRoot&&l.tagName===Be&&(l=l.shadowRoot),"template"===n.j&&(l=l.content);r<=s;++r)o[r]&&(i=on(null,n,r),i&&(o[r].M=i,dn(l,i,fn(e))))},ln=(t,e,n)=>{for(let o=e;o<=n;++o){const e=t[o];if(e){const t=e.M;pn(e),t&&(tn=!0,t["s-ol"]?t["s-ol"].remove():rn(t,!0),t.remove())}}},an=(t,e,n=!1)=>t.j===e.j&&("slot"===t.j?t.O===e.O:n?(n&&!t.S&&e.S&&(t.S=e.S),!0):t.S===e.S),fn=t=>t&&t["s-ol"]||t,cn=(t,e,n=!1)=>{const o=e.M=t.M,r=t.k,s=e.k,i=e.j,l=e.v;let a;null===l?(Je(t,e,nn="svg"===i||"foreignObject"!==i&&nn,n),null!==r&&null!==s?((t,e,n,o,r=!1)=>{let s,i,l=0,a=0,f=0,c=0,u=e.length-1,h=e[0],p=e[u],d=o.length-1,m=o[0],v=o[d];const b="template"===n.j?t.content:t;for(;l<=u&&a<=d;)if(null==h)h=e[++l];else if(null==p)p=e[--u];else if(null==m)m=o[++a];else if(null==v)v=o[--d];else if(an(h,m,r))cn(h,m,r),h=e[++l],m=o[++a];else if(an(p,v,r))cn(p,v,r),p=e[--u],v=o[--d];else if(an(h,v,r))"slot"!==h.j&&"slot"!==v.j||rn(h.M.parentNode,!1),cn(h,v,r),dn(b,h.M,p.M.nextSibling),h=e[++l],v=o[--d];else if(an(p,m,r))"slot"!==h.j&&"slot"!==v.j||rn(p.M.parentNode,!1),cn(p,m,r),dn(b,p.M,h.M),p=e[--u],m=o[++a];else{for(f=-1,c=l;c<=u;++c)if(e[c]&&null!==e[c].S&&e[c].S===m.S){f=c;break}f>=0?(i=e[f],i.j!==m.j?s=on(e&&e[a],n,f):(cn(i,m,r),e[f]=void 0,s=i.M),m=o[++a]):(s=on(e&&e[a],n,a),m=o[++a]),s&&dn(fn(h.M).parentNode,s,fn(h.M))}l>u?sn(t,null==o[d+1]?null:o[d+1].M,n,o,a,d):a>d&&ln(e,l,u)})(o,r,e,s,n):null!==s?(null!==t.v&&(o.textContent=""),sn(o,null,e,s,0,s.length-1)):n||null===r?n&&null!==r&&null===s&&(e.k=r):ln(r,0,r.length-1),nn&&"svg"===i&&(nn=!1)):(a=o["s-cr"])?a.parentNode.textContent=l:t.v!==l&&(o.data=l)},un=[],hn=t=>{let e,n,o;const r=t.__childNodes||t.childNodes;for(const t of r){if(t["s-sr"]&&(e=t["s-cr"])&&e.parentNode){n=e.parentNode.__childNodes||e.parentNode.childNodes;const r=t["s-sn"];for(o=n.length-1;o>=0;o--)if(e=n[o],!e["s-cn"]&&!e["s-nr"]&&e["s-hn"]!==t["s-hn"])if(ve(e,r)){let n=un.find((t=>t.A===e));tn=!0,e["s-sn"]=e["s-sn"]||r,n?(n.A["s-sh"]=t["s-hn"],n.R=t):(e["s-sh"]=t["s-hn"],un.push({R:t,A:e})),e["s-sr"]&&un.map((t=>{ve(t.A,e["s-sn"])&&(n=un.find((t=>t.A===e)),n&&!t.R&&(t.R=n.R))}))}else un.some((t=>t.A===e))||un.push({A:e})}1===t.nodeType&&hn(t)}},pn=t=>{t.$&&t.$.ref&&t.$.ref(null),t.k&&t.k.map(pn)},dn=(t,e,n)=>("string"==typeof e["s-sn"]&&e["s-sr"]&&e["s-cr"]&&mn(e["s-cr"],e,t,e.parentElement),null==t?void 0:t.insertBefore(e,n));function mn(t,e,n,o){var r,s;let i;if(t&&"string"==typeof e["s-sn"]&&e["s-sr"]&&t.parentNode&&t.parentNode["s-sc"]&&(i=e["s-si"]||t.parentNode["s-sc"])){const t=e["s-sn"],l=e["s-hn"];if(null==(r=n.classList)||r.add(i+"-s"),o&&(null==(s=o.classList)?void 0:s.contains(i+"-s"))){let e=(o.__childNodes||o.childNodes)[0],n=!1;for(;e;){if(e["s-sn"]!==t&&e["s-hn"]===l&&e["s-sr"]){n=!0;break}e=e.nextSibling}n||o.classList.remove(i+"-s")}}}var vn=(t,e)=>{if(e&&!t.L&&e["s-p"]){const n=e["s-p"].push(new Promise((o=>t.L=()=>{e["s-p"].splice(n-1,1),o()})))}},bn=(t,e)=>{if(t.u|=16,4&t.u)return void(t.u|=512);vn(t,t.T);const n=()=>gn(t,e);if(!e)return ft(n);queueMicrotask((()=>{n()}))},gn=(t,e)=>{const n=t.$hostElement$,o=t.l;if(!o)throw Error(`Can't render component <${n.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 r;return e?(t.u|=256,t.W&&(t.W.map((([t,e])=>On(o,t,e,n))),t.W=void 0),t.F.length&&t.F.forEach((t=>t(n))),r=On(o,"componentWillLoad",void 0,n)):r=On(o,"componentWillUpdate",void 0,n),r=wn(r,(()=>On(o,"componentWillRender",void 0,n))),wn(r,(()=>$n(t,o,e)))},wn=(t,e)=>xn(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),xn=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,$n=async(t,e,n)=>{var o;const r=t.$hostElement$,s=r["s-rc"];n&&(t=>{const e=t.o,n=t.$hostElement$,o=e.u,r=ke(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);10&o&&(n["s-sc"]=r,n.classList.add(r+"-h"))})(t);yn(t,e,r,n),s&&(s.map((t=>t())),r["s-rc"]=void 0);{const e=null!=(o=r["s-p"])?o:[],n=()=>kn(t);0===e.length?n():(Promise.all(e).then(n),t.u|=4,e.length=0)}},yn=(t,e,n,o)=>{try{e=e.render(),t.u&=-17,t.u|=2,((t,e,n=!1)=>{var o,r,s,i;const l=t.$hostElement$,a=t.o,f=t.D||Me(null,null),c=(t=>t&&t.j===Ee)(e)?e:je(null,null,e);if(Be=l.tagName,a.B&&(c.$=c.$||{},a.B.forEach((([t,e])=>{c.$[e]=l[t]}))),n&&c.$)for(const t of Object.keys(c.$))l.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(c.$[t]=l[t]);if(c.j=null,c.u|=4,t.D=c,c.M=f.M=l.shadowRoot||l,Fe=l["s-sc"],Qe=!(!(1&a.u)||128&a.u),De=l["s-cr"],tn=!1,cn(f,c,n),K.u|=1,en){hn(c.M);for(const t of un){const e=t.A;if(!e["s-ol"]&&J.document){const t=J.document.createTextNode("");t["s-nr"]=e,dn(e.parentNode,e["s-ol"]=t,e)}}for(const t of un){const e=t.A,l=t.R;if(1===e.nodeType&&n&&(e["s-ih"]=null!=(o=e.hidden)&&o),l){const t=l.parentNode;let n=l.nextSibling;{let o=null==(r=e["s-ol"])?void 0:r.previousSibling;for(;o;){let r=null!=(s=o["s-nr"])?s:null;if(r&&r["s-sn"]===e["s-sn"]&&t===(r.__parentNode||r.parentNode)){for(r=r.nextSibling;r===e||(null==r?void 0:r["s-sr"]);)r=null==r?void 0:r.nextSibling;if(!r||!r["s-nr"]){n=r;break}}o=o.previousSibling}}(!n&&t!==(e.__parentNode||e.parentNode)||(e.__nextSibling||e.nextSibling)!==n)&&e!==n&&(!e["s-hn"]&&e["s-ol"]&&(e["s-hn"]=e["s-ol"].parentNode.nodeName),dn(t,e,n),1===e.nodeType&&"SLOT-FB"!==e.tagName&&(e.hidden=null!=(i=e["s-ih"])&&i)),e&&"function"==typeof l["s-rf"]&&l["s-rf"](l)}else 1===e.nodeType&&(e.hidden=!0)}}tn&&pe(c.M),K.u&=-2,un.length=0,De=void 0})(t,e,o)}catch(e){X(e,t.$hostElement$)}return null},kn=t=>{const e=t.$hostElement$,n=t.l,o=t.T;On(n,"componentDidRender",void 0,e),64&t.u?On(n,"componentDidUpdate",void 0,e):(t.u|=64,jn(e),On(n,"componentDidLoad",void 0,e),t._(e),o||Sn()),t.X(e),t.L&&(t.L(),t.L=void 0),512&t.u&&at((()=>bn(t,!1))),t.u&=-517},Sn=()=>{var t;at((()=>Ge(J,"appload",{detail:{namespace:"xv-webcomponents"}}))),(null==(t=K.U)?void 0:t.size)&&K.U.clear()},On=(t,e,n,o)=>{if(t&&t[e])try{return t[e](n)}catch(t){X(t,o)}},jn=t=>t.classList.add("hydrated"),Mn=(t,e,n,o)=>{const r=D(t);if(!r)return;if(!r)throw Error(`Couldn't find host element for "${o.m}" 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/stenciljs/core/issues/5457).`);const s=r.$hostElement$,i=r.i.get(e),l=r.u,a=r.l;if(n=_e(n,o.t[e][0],!!(64&o.u)),!(8&l&&void 0!==i||n===i||Number.isNaN(i)&&Number.isNaN(n))){if(r.i.set(e,n),o.G){const t=o.G[e];t&&t.map((t=>{try{const[[o,s]]=Object.entries(t);(128&l||1&s)&&(a?a[o](n,i,e):r.F.push((()=>{r.l[o](n,i,e)})))}catch(t){X(t,s)}}))}if(2==(18&l)){if(a.componentShouldUpdate&&!1===a.componentShouldUpdate(n,i,e))return;bn(r,!1)}}},En=(t,e,n)=>{var o,r;const s=t.prototype;64&e.u&&1&n&&Y.forEach((t=>{Object.defineProperty(s,t,{value(...e){var n;const o=D(this),r=null==o?void 0:o.l;if(r){const n=r[t];"function"==typeof n&&n.call(r,...e)}else null==(n=null==o?void 0:o.V)||n.then((n=>{const o=n[t];"function"==typeof o&&o.call(n,...e)}))}})}));{t.watchers&&!e.G&&(e.G=t.watchers),t.deserializers&&!e.H&&(e.H=t.deserializers),t.serializers&&!e.Z&&(e.Z=t.serializers);const i=Object.entries(null!=(o=e.t)?o:{});if(i.map((([t,[o]])=>{if(31&o||2&n&&32&o){const{get:r,set:i}=Object.getOwnPropertyDescriptor(s,t)||{};r&&(e.t[t][0]|=2048),i&&(e.t[t][0]|=4096),(1&n||!r)&&Object.defineProperty(s,t,{get(){{if(!(2048&e.t[t][0]))return((t,e)=>D(this).i.get(e))(0,t);const n=D(this),o=n?n.l:s;if(!o)return;return o[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(s,t,{set(r){const s=D(this);if(s){if(i)return void 0===(32&o?this[t]:s.$hostElement$[t])&&s.i.get(t)&&(r=s.i.get(t)),i.call(this,_e(r,o,!!(64&e.u))),void Mn(this,t,r=32&o?this[t]:s.$hostElement$[t],e);{if(!(1&n&&4096&e.t[t][0]))return Mn(this,t,r,e),void(1&n&&!s.l&&s.F.push((()=>{4096&e.t[t][0]&&s.l[t]!==s.i.get(t)&&(s.l[t]=r)})));const i=()=>{const n=s.l[t];!s.i.get(t)&&n&&s.i.set(t,n),s.l[t]=_e(r,o,!!(64&e.u)),Mn(this,t,s.l[t],e)};s.l?i():s.F.push((()=>{i()}))}}}})}else 1&n&&64&o&&Object.defineProperty(s,t,{value(...e){var n;const o=D(this);return null==(n=null==o?void 0:o.q)?void 0:n.then((()=>{var n;return null==(n=o.l)?void 0:n[t](...e)}))}})})),1&n){const n=new Map;s.attributeChangedCallback=function(t,o,r){K.jmp((()=>{var l;const a=n.get(t),f=D(this);if(this.hasOwnProperty(a)&&(r=this[a],delete this[a]),s.hasOwnProperty(a)&&"number"==typeof this[a]&&this[a]==r)return;if(null==a){const n=null==f?void 0:f.u;if(f&&n&&!(8&n)&&r!==o){const s=f.l,i=null==(l=e.G)?void 0:l[t];null==i||i.forEach((e=>{const[[i,l]]=Object.entries(e);null!=s[i]&&(128&n||1&l)&&s[i].call(s,r,o,t)}))}return}const c=i.find((([t])=>t===a));c&&4&c[1][0]&&(r=null!==r&&"false"!==r);const u=Object.getOwnPropertyDescriptor(s,a);r==this[a]||u.get&&!u.set||(this[a]=r)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(r=e.G)?r:{}),...i.filter((([t,e])=>31&e[0])).map((([t,o])=>{var r;const s=o[1]||t;return n.set(s,t),512&o[0]&&(null==(r=e.B)||r.push([t,s])),s}))]))}}return t},zn=(t,e)=>{On(t,"connectedCallback",void 0,e)},Nn=t=>{if(!(1&K.u)){const e=D(t);if(!e)return;const n=e.o,o=()=>{};if(1&e.u)Rn(t,e,n.Y),(null==e?void 0:e.l)?zn(e.l,t):(null==e?void 0:e.V)&&e.V.then((()=>zn(e.l,t)));else{let o;if(e.u|=1,o=t.getAttribute(V),o){if(1&n.u){const e=ke(t.shadowRoot,n);t.classList.remove(e+"-h",e+"-s")}else if(2&n.u){const e=Se(n);t["s-sc"]=e}((t,e,n,o)=>{var r,s,i,l;const a=t.shadowRoot,f=[],c=[],u=[],h=a?[]:null,p=Me(e,null);let d;p.M=t;{const e=o.o;e&&10&e.u&&t["s-sc"]?(d=t["s-sc"],t.classList.add(d+"-h")):t["s-sc"]&&delete t["s-sc"]}!J.document||K.U&&K.U.size||Ce(J.document.body,K.U=new Map),t[V]=n,t.removeAttribute(V),o.D=Ie(p,f,c,h,t,t,n,u);let m=0;const v=f.length;let b;for(;m<v;m++){b=f[m];const n=b.N+"."+b.P,o=K.U.get(n),s=b.M;if(a){if((null==(r=b.j)?void 0:(""+r).includes("-"))&&"slot-fb"!==b.j&&!b.M.shadowRoot){const e=D(b.M);if(e){const n=Se(e.o),o=J.document.querySelector(`style[sty-id="${n}"]`);o&&t.shadowRoot.append(o.cloneNode(!0))}}}else s["s-hn"]=e.toUpperCase(),"slot"===b.j&&(s["s-cr"]=t["s-cr"]);"slot"===b.j&&(b.O=b.M["s-sn"]||b.M.name||null,b.k?(b.u|=2,b.M.childNodes.length||b.k.forEach((t=>{b.M.appendChild(t.M)}))):b.u|=1),o&&o.isConnected&&(o.parentElement.shadowRoot&&""===o["s-en"]&&o.parentNode.insertBefore(s,o.nextSibling),o.parentNode.removeChild(o),a||(s["s-oo"]=parseInt(b.P))),o&&!o["s-id"]&&K.U.delete(n)}const g=[],w=u.length;let x,$,y,k,S=0,O=0;for(;S<w;S++)if(x=u[S],x&&x.length)for(y=x.length,$=0;$<y;$++){if(k=x[$],g[k.hostId]||(g[k.hostId]=K.U.get(k.hostId)),!g[k.hostId])continue;const t=g[k.hostId];t.shadowRoot&&k.node.parentElement!==t&&t.insertBefore(k.node,null==(i=null==(s=x[$-1])?void 0:s.node)?void 0:i.nextSibling),t.shadowRoot&&a||(k.slot["s-cr"]||(k.slot["s-cr"]=t["s-cr"],k.slot["s-cr"]=!k.slot["s-cr"]&&t.shadowRoot?t:(t.__childNodes||t.childNodes)[0]),be(k.node,k.slot,0,k.node["s-oo"]||O),(null==(l=k.node.parentElement)?void 0:l.shadowRoot)&&k.node.getAttribute&&k.node.getAttribute("slot")&&k.node.removeAttribute("slot")),O=(k.node["s-oo"]||O)+1}if(d&&c.length&&c.forEach((t=>{t.M.parentElement.classList.add(d+"-s")})),a){let e=0;const n=h.length;if(n){for(;e<n;e++){const t=h[e];t&&a.appendChild(t)}Array.from(t.childNodes).forEach((t=>{"string"!=typeof t["s-en"]&&"string"!=typeof t["s-sn"]&&(1===t.nodeType&&t.slot&&t.hidden?t.removeAttribute("hidden"):8!==t.nodeType||t.nodeValue||t.parentNode.removeChild(t))}))}}o.$hostElement$=t})(t,n.m,o,e)}o||12&n.u&&Pn(t);{let n=t;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){vn(e,e.T=n);break}}n.t&&Object.entries(n.t).map((([e,[n]])=>{if(31&n&&e in t&&t[e]!==Object.prototype[e]){const n=t[e];delete t[e],t[e]=n}})),(async(t,e,n)=>{let o;if(!(32&e.u)){if(e.u|=32,n.J){const r=((t,e)=>{const n=t.m.replace(/-/g,"_"),o=t.J;if(!o)return;const r=U.get(o);return r?r[n]:import(`./${o}.entry.js`).then((t=>(U.set(o,t),t[n])),(t=>{X(t,e.$hostElement$)}))
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,e);if(r&&"then"in r){const t=()=>{};o=await r,t()}else o=r;if(!o)throw Error(`Constructor for "${n.m}#${e.K}" was not found`);o.isProxied||(n.G=o.watchers,n.Z=o.serializers,n.H=o.deserializers,En(o,n,2),o.isProxied=!0);const s=()=>{};e.u|=8;try{new o(e)}catch(e){X(e,t)}e.u&=-9,e.u|=128,s(),zn(e.l,t)}else o=t.constructor,customElements.whenDefined(t.localName).then((()=>e.u|=128));if(o&&o.style){let t;"string"==typeof o.style&&(t=o.style);const e=Se(n);if(!G.has(e)){const o=()=>{};ye(e,t,!!(1&n.u)),o()}}}const r=e.T,s=()=>bn(e,!0);r&&r["s-rc"]?r["s-rc"].push(s):s()})(t,e,n)}o()}},Pn=t=>{if(!J.document)return;const e=t["s-cr"]=J.document.createComment("");e["s-cn"]=!0,dn(t,e,t.firstChild)},In=(t,e)=>{On(t,"disconnectedCallback",void 0,e||t)},Cn=(t,e={})=>{var n;if(!J.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const o=[],r=e.exclude||[],s=J.customElements,i=J.document.head,l=i.querySelector("meta[charset]"),a=J.document.createElement("style"),f=[];let c,u=!0;Object.assign(K,e),K.h=new URL(e.resourcesUrl||"./",J.document.baseURI).href,K.u|=2,(()=>{if(!J.document)return;const t=J.document.querySelectorAll(`[${H}]`);let e=0;for(;e<t.length;e++)ye(t[e].getAttribute(H),Oe(t[e].innerHTML),!0)})();let h=!1;if(t.map((t=>{t[1].map((e=>{var n,i,l;const a={u:e[0],m:e[1],t:e[2],Y:e[3]};4&a.u&&(h=!0),a.t=e[2],a.Y=e[3],a.B=[],a.G=null!=(n=e[4])?n:{},a.Z=null!=(i=e[5])?i:{},a.H=null!=(l=e[6])?l:{};const p=a.m,d=class extends HTMLElement{constructor(t){if(super(t),this.hasRegisteredEventListeners=!1,((t,e)=>{const n={u:0,$hostElement$:t,o:e,i:new Map,tt:new Map};n.q=new Promise((t=>n.X=t)),n.V=new Promise((t=>n._=t)),t["s-p"]=[],t["s-rc"]=[],n.F=[];const o=n;t.__stencil__getHostRef=()=>o})(t=this,a),1&a.u)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${a.m}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else he.call(t,a)}connectedCallback(){const t=D(this);t&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Rn(this,t,a.Y)),c&&(clearTimeout(c),c=null),u?f.push(this):K.jmp((()=>Nn(this))))}disconnectedCallback(){K.jmp((()=>(async t=>{if(!(1&K.u)){const e=D(t);(null==e?void 0:e.et)&&(e.et.map((t=>t())),e.et=void 0),(null==e?void 0:e.l)?In(e.l,t):(null==e?void 0:e.V)&&e.V.then((()=>In(e.l,t)))}$e.has(t)&&$e.delete(t),t.shadowRoot&&$e.has(t.shadowRoot)&&$e.delete(t.shadowRoot)})(this))),K.raf((()=>{var t;const e=D(this);if(!e)return;const n=f.findIndex((t=>t===this));n>-1&&f.splice(n,1),(null==(t=null==e?void 0:e.D)?void 0:t.M)instanceof Node&&!e.D.M.isConnected&&delete e.D.M}))}componentOnReady(){var t;return null==(t=D(this))?void 0:t.V}};64&a.u&&(d.formAssociated=!0),a.J=t[0],r.includes(p)||s.get(p)||(o.push(p),s.define(p,En(d,a,1)))}))})),o.length>0&&(h&&(a.textContent+=q),a.textContent+=o.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",a.innerHTML.length)){a.setAttribute("data-styles","");const t=null!=(n=K.p)?n:re(J.document);null!=t&&a.setAttribute("nonce",t),i.insertBefore(a,l?l.nextSibling:i.firstChild)}u=!1,f.length?f.map((t=>t.connectedCallback())):K.jmp((()=>c=setTimeout(Sn,30)))},An=(t,e)=>e,Rn=(t,e,n)=>{n&&J.document&&n.map((([n,o,r])=>{const s=Tn(J.document,t,n),i=Ln(e,r),l=Wn(n);K.ael(s,o,i,l),(e.et=e.et||[]).push((()=>K.rel(s,o,i,l)))}))},Ln=(t,e)=>n=>{var o;try{256&t.u?null==(o=t.l)||o[e](n):(t.W=t.W||[]).push([e,n])}catch(e){X(e,t.$hostElement$)}},Tn=(t,e,n)=>4&n?t:8&n?J:16&n?t.body:e,Wn=t=>({passive:!!(1&t),capture:!!(2&t)}),Fn=t=>K.p=t;export{An as F,Ee as H,Xe as a,Cn as b,Ue as c,t as g,je as h,Q as p,B as r,Fn as s}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,c as n,h as t,F as a,H as m,a as x}from"./p-Owr_mJOX.js";import{a as i}from"./p-D0yFoU2h.js";const s=class{constructor(t){e(this,t),this.openChange=n(this,"openChange",7),this.mobileSize=991,this.open=!1,this.menuItems=[],this.applicationContext="Xv",this.menuLoading=!1}handleClickOutside(e){this.open&&!this.el.contains(e.target)&&this.handleClose()}handleClose(){this.open=!1,this.activeItem=this.activeGroup=void 0,this.openChange.emit(this.open)}get isMobile(){return window.outerWidth<=this.mobileSize}setActiveItem(e){var n,t,a,m,x;this.activeItem=(null===(n=this.activeItem)||void 0===n?void 0:n.id)===(null==e?void 0:e.id)?void 0:e,this.isMobile&&1!==((null===(a=null===(t=this.activeItem)||void 0===t?void 0:t.groups)||void 0===a?void 0:a.length)||0)||this.setActiveGroup(null===(x=null===(m=this.activeItem)||void 0===m?void 0:m.groups)||void 0===x?void 0:x[0]),this.isMobile||(this.open=!!this.activeItem,!this.open&&this.handleClose())}setActiveGroup(e){var n;this.activeGroup=this.isMobile&&(null===(n=this.activeGroup)||void 0===n?void 0:n.id)===(null==e?void 0:e.id)?void 0:e}navActionClick(e){window.location.href=e.url}parseMenuData(e){if(!e)return null;if(Array.isArray(e))return e;try{const n=JSON.parse(e);return Array.isArray(n)?n:null}catch(e){return console.warn("xv-mega-menu-next: invalid menu-data JSON",e),null}}async fetchMenuData(){try{this.menuItems=await i.get("/api-fd/v1/home/menu",{awaitWl:!0,credentials:"include"}).then((({data:e,meta:n})=>(this.applicationContext=n.applicationContext,e||[])))}catch(e){console.error("fetchMenuData error",e),this.menuItems=[]}}onMenuDataChange(e){const n=this.parseMenuData(e);n&&(this.menuItems=n)}componentWillLoad(){const e=this.parseMenuData(this.menuData);e?this.menuItems=e:this.fetchMenuData()}render(){return t(m,{key:"2aedf5fcd9dfb34d64b7febf92585088548a68e9"},t("nav",{key:"e3e0a1e52a24094470100f1da66a03f02a8b46b7",class:{"xv-menu":!0,open:this.open}},this.menuLoading&&t("div",{key:"5ae91639ffd7d2ec8f1ec88ac5730b40dca0fcb0",class:{"xv-menu-loader":!0,open:this.open}},t("xv-loader-v2",{key:"dc99655021a279ea4fdc09f0989e61404e3c7af3"})),t("ul",{key:"c246f2b56c05e4115a3b0d5865468d883823c27a",class:{menu:!0,open:this.open}},this.menuItems.map((e=>{var n,m;return t("li",{class:{"menu-item":!0,active:e.id===(null===(n=this.activeItem)||void 0===n?void 0:n.id)}},e.route?t("a",{class:"menu-item-label",href:e.route.route},null===(m=e.route)||void 0===m?void 0:m.label):t(a,null,t("p",{class:"menu-item-label",onClick:()=>this.setActiveItem(e)},null==e?void 0:e.label),t("ul",{class:"menu-item-groups"},e.groups.map((n=>{var a;return t("li",{class:{group:!0,active:(null===(a=this.activeGroup)||void 0===a?void 0:a.id)===n.id}},n.label&&e.groups.length>1&&t("div",{class:"group-label",onClick:()=>this.setActiveGroup(n)},t("span",{class:"group-label-text"},n.label),t("span",{class:"group-label-icon"})),t("div",{class:"group-container"},t("div",{class:{"group-container-absolute":!0,noLabel:!(n.label&&e.groups.length>1)}},t("div",{class:"group-menus"},t("ul",{class:{"group-menus-categories":!0,inline:"inline"===n.layout}},n.categories.map((e=>t("li",{class:"category"},t("p",{class:"category-label"},e.label),t("ul",{class:"category-routes"},e.routes.map((e=>t("li",{class:"route"},t("a",{class:"route-link",href:e.route||"#"},e.label),e.tag&&t("xv-tag-v2",{class:"route-tag",size:"sm",color:"#161616",bg:"#E0E0E0"},e.tag))))))))),t("ul",{class:"group-menus-actions"},n.actions.map((e=>t("li",{class:"action"},"link"===e.type&&t("a",{class:"action-link",href:null==e?void 0:e.url},e.label,t("span",{class:"link-chevron"},"→")),"button"===e.type&&t("xv-button-v2",{onClick:()=>this.navActionClick(e),block:!0,variant:"tertiary"},e.label)))))),(null==n?void 0:n.card)&&t("div",{class:"group-card"},t("xv-card-v2",{media:"Komsa"!==this.applicationContext?n.card.image:void 0,variant:this.isMobile?"horizontal":"vertical"},t("h5",{slot:"header",class:"group-card-title"},n.card.title),t("p",{slot:"body",class:"group-card-desc"},n.card.description),n.card.linkLabel&&t("a",{slot:"footer",class:"action-link",href:n.card.linkUrl||"#"},n.card.linkLabel,t("span",{class:"link-chevron"},"→")))))))})))))})),t("li",{key:"fc1f177ba14892c4568d445344f69297975e6fa4",class:"menu--right"},t("slot",{key:"7873fc7f12c0837c3a78a46b6fd63f7123ef2775",name:"menu-right"})),this.open&&t("li",{key:"dc8ebef4ebd45ca734e5377904846e5cdbd1975f",class:"menu--backdrop",onClick:()=>this.handleClose()}))))}get el(){return x(this)}static get watchers(){return{menuData:[{onMenuDataChange:0}]}}};s.style=".sc-xv-mega-menu-next-h{--menu-group-width:244px;--menu-group-height:454px;--link-visited:var(--link-primary)}.xv-menu.sc-xv-mega-menu-next{background:inherit;position:relative;font-family:var(--ff-work-sans), sans-serif}@media (min-width: 992px){.xv-menu.sc-xv-mega-menu-next{min-height:55px}}.xv-menu-loader.sc-xv-mega-menu-next{position:absolute;top:0;left:0;width:100%;height:100%;z-index:4;background-color:rgba(255, 255, 255, 0.7);display:flex;align-items:center;justify-content:center}@media (max-width: 991px){.xv-menu-loader.sc-xv-mega-menu-next:not(.open){display:none}}@media (max-width: 991px){.xv-menu.open.sc-xv-mega-menu-next{padding-bottom:env(safe-area-inset-bottom);max-height:calc(100vh - 120px);overflow:auto;overscroll-behavior:contain}}.xv-menu_mobile.sc-xv-mega-menu-next{position:relative;display:none}@media (max-width: 991px){.xv-menu_mobile.sc-xv-mega-menu-next{display:inline-flex}}.xv-menu.sc-xv-mega-menu-next ul.sc-xv-mega-menu-next{margin:0;padding:0;list-style:none}.xv-menu.sc-xv-mega-menu-next .link-chevron.sc-xv-mega-menu-next{display:inline-block;margin-inline-start:var(--spacing-01)}.xv-menu.sc-xv-mega-menu-next .action-link.sc-xv-mega-menu-next{display:block;color:var(--link-primary);text-decoration:none;transition:color 200ms ease-in-out}.xv-menu.sc-xv-mega-menu-next .action-link.sc-xv-mega-menu-next:visited{color:var(--link-primary)}.xv-menu.sc-xv-mega-menu-next .action-link.sc-xv-mega-menu-next:hover,.xv-menu.sc-xv-mega-menu-next .action-link.sc-xv-mega-menu-next:focus,.xv-menu.sc-xv-mega-menu-next .action-link.sc-xv-mega-menu-next:active{text-decoration-line:underline;text-decoration-style:solid;text-decoration-skip-ink:none;text-decoration-thickness:auto;text-underline-offset:auto;text-underline-position:from-font;text-decoration-color:var(--link-primary)}.xv-menu.sc-xv-mega-menu-next .action-link.sc-xv-mega-menu-next:hover{color:var(--link-primary-hover);cursor:pointer}.xv-menu.sc-xv-mega-menu-next .action-link.sc-xv-mega-menu-next:focus{outline:1px solid var(--focus);outline-offset:1px}.xv-menu.sc-xv-mega-menu-next .menu.sc-xv-mega-menu-next{overflow-x:auto;display:flex;justify-content:flex-start;column-gap:var(--spacing-08)}@media (max-width: 991px){.xv-menu.sc-xv-mega-menu-next .menu.sc-xv-mega-menu-next{flex-direction:column;display:none}}.xv-menu.sc-xv-mega-menu-next .menu--right.sc-xv-mega-menu-next{margin-left:auto;display:flex;align-items:center;align-self:center}@media (max-width: 991px){.xv-menu.sc-xv-mega-menu-next .menu--right.sc-xv-mega-menu-next{margin-left:unset;padding-block:var(--spacing-05)}}.xv-menu.sc-xv-mega-menu-next .menu--backdrop.sc-xv-mega-menu-next{z-index:-1;background-color:rgba(0, 0, 0, 0.3);position:fixed;top:0;left:0;width:100%;height:100%}@media (max-width: 991px){.xv-menu.sc-xv-mega-menu-next .menu.open.sc-xv-mega-menu-next{display:flex}}.xv-menu.sc-xv-mega-menu-next .menu-item.sc-xv-mega-menu-next:hover .menu-item-label.sc-xv-mega-menu-next{border-bottom-color:var(--interactive-02)}.xv-menu.sc-xv-mega-menu-next .menu-item.active.sc-xv-mega-menu-next .menu-item-groups.sc-xv-mega-menu-next{z-index:990;display:flex}.xv-menu.sc-xv-mega-menu-next .menu-item.active.sc-xv-mega-menu-next .menu-item-label.sc-xv-mega-menu-next{border-bottom-color:var(--interactive-02)}@media (max-width: 991px){.xv-menu.sc-xv-mega-menu-next .menu-item.active.sc-xv-mega-menu-next{border-bottom:1px solid #E1E4ED}}.xv-menu.sc-xv-mega-menu-next .menu-item-label.sc-xv-mega-menu-next{display:block;margin:0;padding-block:var(--spacing-05, 16px);color:inherit;text-decoration:none;font-size:16px;line-height:24px;font-family:var(--ff-body), sans-serif;font-weight:600;cursor:pointer;border-bottom:2px solid transparent;transition:250ms ease-in-out border-bottom-color;user-select:none;white-space:nowrap}@media (max-width: 991px){.xv-menu.sc-xv-mega-menu-next .menu-item-label.sc-xv-mega-menu-next{border-bottom:1px solid #E1E4ED}}.xv-menu.sc-xv-mega-menu-next .menu-item-groups.sc-xv-mega-menu-next{z-index:-1;position:absolute;left:0;top:100%;width:100%;background-color:var(--background, #fff);display:none;flex-direction:column;border:1px solid var(--border-subtle-01);row-gap:var(--spacing-05);padding-block:var(--spacing-08) var(--spacing-06);min-height:var(--menu-group-height);border-radius:0 0 8px 8px;overflow:hidden;color:var(--interactive-01, #273435)}@media (max-width: 991px){.xv-menu.sc-xv-mega-menu-next .menu-item-groups.sc-xv-mega-menu-next{min-height:unset;padding-block:unset;position:relative;row-gap:unset;border:none}}.xv-menu.sc-xv-mega-menu-next .menu.sc-xv-mega-menu-next .group.sc-xv-mega-menu-next{display:flex;align-items:flex-start}@media (max-width: 991px){.xv-menu.sc-xv-mega-menu-next .menu.sc-xv-mega-menu-next .group.sc-xv-mega-menu-next{flex-direction:column;align-items:stretch}}.xv-menu.sc-xv-mega-menu-next .menu.sc-xv-mega-menu-next .group-label.sc-xv-mega-menu-next{user-select:none;min-width:var(--menu-group-width);max-width:var(--menu-group-width);color:var(--text-primary, #333);font-size:16px;font-style:normal;font-weight:400;line-height:137.5%;display:flex;column-gap:var(--spacing-04);text-align:right;justify-content:flex-end;cursor:pointer}.xv-menu.sc-xv-mega-menu-next .menu.sc-xv-mega-menu-next .group-label-text.sc-xv-mega-menu-next{text-overflow:ellipsis;overflow:hidden}.xv-menu.sc-xv-mega-menu-next .menu.sc-xv-mega-menu-next .group-label-icon.sc-xv-mega-menu-next{width:8px;height:8px;border-bottom:2px solid currentColor;border-right:2px solid currentColor;transform:rotate(-45deg);transform-origin:bottom;align-self:center}@media (max-width: 991px){.xv-menu.sc-xv-mega-menu-next .menu.sc-xv-mega-menu-next .group-label.sc-xv-mega-menu-next{max-width:unset;min-width:unset;align-items:stretch;justify-content:flex-start;padding-block:var(--spacing-05)}}.xv-menu.sc-xv-mega-menu-next .menu.sc-xv-mega-menu-next .group-container.sc-xv-mega-menu-next{flex:1;display:none}.xv-menu.sc-xv-mega-menu-next .menu.sc-xv-mega-menu-next .group-container-absolute.sc-xv-mega-menu-next{position:absolute;top:0;right:0;width:calc(100% - (var(--menu-group-width) + var(--spacing-06) + var(--spacing-09) + var(--spacing-05)));min-height:calc(100% - (var(--spacing-08) + var(--spacing-06)));padding:var(--spacing-08) var(--spacing-06) var(--spacing-06) var(--spacing-09);display:flex;background-color:var(--layer-01, #F7F7F7)}@media (max-width: 991px){.xv-menu.sc-xv-mega-menu-next .menu.sc-xv-mega-menu-next .group-container-absolute.sc-xv-mega-menu-next{position:unset;flex-direction:column;width:100%;flex:1;padding:var(--spacing-06) 0;background-color:var(--background)}}.xv-menu.sc-xv-mega-menu-next .menu.sc-xv-mega-menu-next .group-container-absolute.noLabel.sc-xv-mega-menu-next{left:0;width:calc(100% - (var(--spacing-06) + var(--spacing-09)))}.xv-menu.sc-xv-mega-menu-next .menu.sc-xv-mega-menu-next .group.active.sc-xv-mega-menu-next .group-label.sc-xv-mega-menu-next{font-weight:600}@media (max-width: 991px){.xv-menu.sc-xv-mega-menu-next .menu.sc-xv-mega-menu-next .group.active.sc-xv-mega-menu-next .group-label-icon.sc-xv-mega-menu-next{transform-origin:center;transform:rotate(45deg)}}.xv-menu.sc-xv-mega-menu-next .menu.sc-xv-mega-menu-next .group.active.sc-xv-mega-menu-next .group-container.sc-xv-mega-menu-next{display:flex}.xv-menu.sc-xv-mega-menu-next .menu.sc-xv-mega-menu-next .group-menus.sc-xv-mega-menu-next{flex:1;display:flex;flex-direction:column;row-gap:var(--spacing-06)}.xv-menu.sc-xv-mega-menu-next .menu.sc-xv-mega-menu-next .group-menus-categories.sc-xv-mega-menu-next{display:flex;row-gap:var(--spacing-07);column-gap:var(--spacing-05);flex:1}@media (max-width: 991px){.xv-menu.sc-xv-mega-menu-next .menu.sc-xv-mega-menu-next .group-menus-categories.sc-xv-mega-menu-next{flex-direction:column;gap:var(--spacing-07)}}.xv-menu.sc-xv-mega-menu-next .menu.sc-xv-mega-menu-next .group-menus-categories.inline.sc-xv-mega-menu-next{flex-direction:column;flex-wrap:wrap;max-height:365px}@media (max-width: 991px){.xv-menu.sc-xv-mega-menu-next .menu.sc-xv-mega-menu-next .group-menus-categories.inline.sc-xv-mega-menu-next{max-height:unset}}.xv-menu.sc-xv-mega-menu-next .menu.sc-xv-mega-menu-next .group-menus-categories.inline.sc-xv-mega-menu-next .category.sc-xv-mega-menu-next{flex:none}.xv-menu.sc-xv-mega-menu-next .menu.sc-xv-mega-menu-next .group-menus-actions.sc-xv-mega-menu-next{display:flex;align-items:center;justify-content:flex-start;gap:var(--spacing-05)}@media (max-width: 991px){.xv-menu.sc-xv-mega-menu-next .menu.sc-xv-mega-menu-next .group-menus-actions.sc-xv-mega-menu-next{flex-direction:column;justify-content:stretch;align-items:stretch;text-align:center}}.xv-menu.sc-xv-mega-menu-next .menu.sc-xv-mega-menu-next .group-card.sc-xv-mega-menu-next{box-sizing:content-box;max-width:228px;min-width:200px;padding-left:var(--spacing-06);border-left:1px solid var(--border-subtle-01)}@media (min-width: 992px) and (max-width: 1199px){.xv-menu.sc-xv-mega-menu-next .menu.sc-xv-mega-menu-next .group-card.sc-xv-mega-menu-next{display:none}}@media (max-width: 991px){.xv-menu.sc-xv-mega-menu-next .menu.sc-xv-mega-menu-next .group-card.sc-xv-mega-menu-next{margin-block-start:var(--spacing-06);border-left:none;padding-left:0;max-width:unset;min-width:unset}}.xv-menu.sc-xv-mega-menu-next .menu.sc-xv-mega-menu-next .group-card.sc-xv-mega-menu-next .xv-card.sc-xv-mega-menu-next{box-shadow:none;background-color:var(--background, #fff)}@media (max-width: 991px){.xv-menu.sc-xv-mega-menu-next .menu.sc-xv-mega-menu-next .group-card.sc-xv-mega-menu-next .xv-card.sc-xv-mega-menu-next{width:unset}}.xv-menu.sc-xv-mega-menu-next .menu.sc-xv-mega-menu-next .group-card-title.sc-xv-mega-menu-next,.xv-menu.sc-xv-mega-menu-next .menu.sc-xv-mega-menu-next .group-card-desc.sc-xv-mega-menu-next{font-size:var(--fz-md, 14px);font-style:normal;line-height:18px;letter-spacing:0.16px}.xv-menu.sc-xv-mega-menu-next .menu.sc-xv-mega-menu-next .group-card.sc-xv-mega-menu-next .xv-link_standalone.sc-xv-mega-menu-next,.xv-menu.sc-xv-mega-menu-next .menu.sc-xv-mega-menu-next .group-card-title.sc-xv-mega-menu-next,.xv-menu.sc-xv-mega-menu-next .menu.sc-xv-mega-menu-next .group-card-desc.sc-xv-mega-menu-next{font-family:var(--ff-work-sans), sans-serif}.xv-menu.sc-xv-mega-menu-next .menu.sc-xv-mega-menu-next .group-card-title.sc-xv-mega-menu-next{color:var(--text-primary, #333);font-weight:600}.xv-menu.sc-xv-mega-menu-next .menu.sc-xv-mega-menu-next .group-card-desc.sc-xv-mega-menu-next{color:var(--text-secondary, #515151);font-weight:400;padding-top:var(--spacing-03);display:-webkit-box;-webkit-line-clamp:11;-webkit-box-orient:vertical;overflow:hidden}.xv-menu.sc-xv-mega-menu-next .menu.sc-xv-mega-menu-next .category.sc-xv-mega-menu-next{flex:1;display:flex;flex-direction:column;row-gap:var(--spacing-05)}@media (max-width: 991px){.xv-menu.sc-xv-mega-menu-next .menu.sc-xv-mega-menu-next .category.sc-xv-mega-menu-next{flex:0}.xv-menu.sc-xv-mega-menu-next .menu.sc-xv-mega-menu-next .category.sc-xv-mega-menu-next:not(:last-child){border-bottom:1px solid var(--border-subtle-01);padding-bottom:var(--spacing-04)}}.xv-menu.sc-xv-mega-menu-next .menu.sc-xv-mega-menu-next .category-label.sc-xv-mega-menu-next{margin:0;font-size:var(--fz-md, 14px);color:var(--text-secondary)}.xv-menu.sc-xv-mega-menu-next .menu.sc-xv-mega-menu-next .category-routes.sc-xv-mega-menu-next{display:flex;flex-direction:column;row-gap:var(--spacing-05)}.xv-menu.sc-xv-mega-menu-next .menu.sc-xv-mega-menu-next .route.sc-xv-mega-menu-next{display:inline-flex;align-items:center;column-gap:var(--spacing-03);position:relative;font-size:var(--fz-lg, 16px)}.xv-menu.sc-xv-mega-menu-next .menu.sc-xv-mega-menu-next .route.sc-xv-mega-menu-next .route-link.sc-xv-mega-menu-next{color:inherit;text-decoration:none;font-family:var(--ff-work-sans), sans-serif;line-height:133.333%;transition:color 200ms ease-in-out}.xv-menu.sc-xv-mega-menu-next .menu.sc-xv-mega-menu-next .route.sc-xv-mega-menu-next .route-link.sc-xv-mega-menu-next:visited{color:inherit}.xv-menu.sc-xv-mega-menu-next .menu.sc-xv-mega-menu-next .route.sc-xv-mega-menu-next .route-link.sc-xv-mega-menu-next:hover{color:var(--link-primary);cursor:pointer}.xv-menu.sc-xv-mega-menu-next .menu.sc-xv-mega-menu-next .route.sc-xv-mega-menu-next .route-link.sc-xv-mega-menu-next:focus{outline:1px solid var(--focus);outline-offset:1px}@media (max-width: 991px){.xv-menu.sc-xv-mega-menu-next .menu.sc-xv-mega-menu-next .route.sc-xv-mega-menu-next{white-space:nowrap}}.xv-menu.sc-xv-mega-menu-next .menu.sc-xv-mega-menu-next .route.sc-xv-mega-menu-next .route-tag.sc-xv-mega-menu-next{font-size:9px}";export{s as xv_mega_menu_next}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,c as a,h as i,F as t,a as r}from"./p-DmxA2ysB.js";import{S as s,H as o,a as n,b as d,c as l,O as h,I as c,d as p,e as g,i as v}from"./p-BkYBzv3h.js";import{a as u,g as f,b as m,d as b}from"./p-CQm2sRKT.js";const x=class{constructor(i){e(this,i),this.xvMetaNavUpdate=a(this,"xvMetaNavUpdate",7),this.orgUnit="",this.baseUrl="",this.loading=!1,this.mobMenuOpen=!1,this.toggleMobMenu=()=>{this.mobMenuOpen=!this.mobMenuOpen},this.closeMobMenu=({detail:e})=>{this.mobMenuOpen=!!e},this.logoFallback=e=>{const a=e.currentTarget,i=a.previousElementSibling,t="https://www.crossvertise.com/ResourcePackages/Bootstrap/assets/dist/images/logo-small.svg";t!==a.src&&(a.onerror=null,a.src=t,(null==i?void 0:i.srcset)&&(i.srcset="https://www.crossvertise.com/ResourcePackages/Bootstrap/assets/dist/images/logo.svg"))},this.suggestions=[],this.suggestionsLoading=!1,this.handleSearch=async e=>{try{this.suggestionsLoading=!0;const a=e.target.value.trim();if(!a)return void(this.suggestions=[]);const i=new URLSearchParams({fuzzy:"true",suggesterName:"xv-shared-index-live-suggester","api-version":"2020-06-30",search:a,$top:"10",$select:"title_de,page_link,source",$orderby:"source desc"}).toString();this.suggestions=await u.get(`https://xv-search.search.windows.net/indexes/xv-shared-index-live/docs/suggest?${i}`,{headers:{"api-key":"7315DEF1FA0C8B12109B12BA28E517E7"}}).then((({value:e})=>Array.isArray(e)?e:[]))}catch(e){console.log("error",e)}finally{this.suggestionsLoading=!1}},this.handleSearchOpen=e=>{const a=e.currentTarget.closest("form");if(!a)return;const i=a.querySelector('input[type="search"]');i&&i.focus()},this.handleSearchKeydown=e=>{var a;"Escape"===e.key&&(null===(a=e.currentTarget)||void 0===a||a.blur(),this.suggestions=[])},this.handlePreventEvent=e=>e.preventDefault(),this.notifications=[],this.showLoginModal=!1}handleOrgUnitChange({detail:e}){this.orgUnit=e||""}metaNavUpdate(){var e,a;const i=f();i&&(this.metaNav=i,this.orgUnit=(null===(a=null===(e=this.metaNav)||void 0===e?void 0:e.User)||void 0===a?void 0:a.SelectedOrgUnitName)||"",this.getNotifications(),this.connectNotificationsHub()),console.info("MetaNav was updated",this.metaNav)}disconnectedCallback(){var e;null===(e=this.notificationsHub)||void 0===e||e.stop(),this.notificationsHub=void 0}componentWillLoad(){this.baseUrl=m(),this.initHeader()}async initHeader(){try{this.loading=!0;const e=await u.post("/de-de/home/getpersonalareajson",void 0,{credentials:"include"});this.xvMetaNavUpdate.emit(e),localStorage.setItem("metaNav",JSON.stringify(e))}catch(e){console.error("Failed to fetch initial Header data:",null==e?void 0:e.message,e)}finally{this.metaNavUpdate(),this.loading=!1}}_renderLocaleSwitcher(){if(!this.currentLocale||!this.locales)return null;let e;try{const a=JSON.parse(this.locales);if(!Array.isArray(a))return null;e=a}catch(e){return null}return 0===e.length?null:i("li",{class:"locale-switcher","aria-label":"Language"},e.map(((e,a)=>{const r=e.code===this.currentLocale;return i(t,null,a>0&&i("span",{class:"locale-switcher__sep","aria-hidden":"true"},"|"),r?i("span",{class:"locale-switcher__current xv-body-02","aria-current":"true"},e.code.toUpperCase()):i("xv-link-v2",{class:"locale-switcher__link",variant:"standalone",href:e.href},i("span",{class:"xv-body-02"},e.code.toUpperCase())))})))}_renderSearch(){var e;return!0!==(null===(e=this.metaNav)||void 0===e?void 0:e.EnableMegaMenuSearch)?null:i("li",{class:"search-form"},i("form",{action:`${this.baseUrl}/de-de/media/search`,method:"get",role:"search"},i("input",{onKeyDown:this.handleSearchKeydown,onInput:b(this.handleSearch,700),type:"search",name:"Q",placeholder:"Suchen",title:"Drücken Sie die 'Enter' zum 'Suchen' oder Escape zum Zurücksetzen",autoComplete:"off"}),i("xv-button-v2",{onClick:this.handleSearchOpen,onMouseDown:this.handlePreventEvent,type:"button",variant:"ghost",size:s.MD},i("i",{class:"header-icon far fa-search"})),i("xv-button-v2",{type:"submit",variant:"ghost",size:s.MD},i("i",{class:"header-icon far fa-search"}))),i("ul",{class:{"search-form-suggestions":!0,loading:this.suggestionsLoading}},this.suggestions.map((e=>i("li",null,i("xv-link-v2",{variant:"standalone",href:`${"marketplace"===e.source?"https://marketplace.crossvertise.com":"https://www.crossvertise.com"}${e.page_link}`},e.title_de)))),!this.suggestions.length&&i("li",{class:"text-center xv-helper-text-02"},"Keine Daten gefunden")))}_renderImpersonationInfo(){var e,a,t,r,o;return(null===(e=this.metaNav)||void 0===e?void 0:e.ImpersonationInfo)?i("li",{class:"impersonationInfo"},i("xv-toggle-tip",{position:"bottom-end",autoSize:!0},i("xv-button-v2",{variant:"ghost",slot:"trigger",size:s.MD},i("img",{slot:"icon-left",width:16,height:16,src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NDAgNjQwIj48IS0tIUZvbnQgQXdlc29tZSBQcm8gNy4xLjAgYnkgQGZvbnRhd2Vzb21lIC0gaHR0cHM6Ly9mb250YXdlc29tZS5jb20gTGljZW5zZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tL2xpY2Vuc2UgKENvbW1lcmNpYWwgTGljZW5zZSkgQ29weXJpZ2h0IDIwMjUgRm9udGljb25zLCBJbmMuLS0+PHBhdGggZD0iTTE3Ni41IDE5MkMxNzYuNSAxNDcuOCAyMTIuMyAxMTIgMjU2LjUgMTEyQzMwMC43IDExMiAzMzYuNSAxNDcuOCAzMzYuNSAxOTJDMzM2LjUgMjM2LjIgMzAwLjcgMjcyIDI1Ni41IDI3MkMyMTIuMyAyNzIgMTc2LjUgMjM2LjIgMTc2LjUgMTkyek0zODQuNSAxOTJDMzg0LjUgMTIxLjMgMzI3LjIgNjQgMjU2LjUgNjRDMTg1LjggNjQgMTI4LjUgMTIxLjMgMTI4LjUgMTkyQzEyOC41IDI2Mi43IDE4NS44IDMyMCAyNTYuNSAzMjBDMzI3LjIgMzIwIDM4NC41IDI2Mi43IDM4NC41IDE5MnpNODAuNSA1NDRDODAuNSA0NzMuMyAxMzcuOCA0MTYgMjA4LjUgNDE2TDI4OC43IDQxNkMyODkuNSAzOTkuMiAyOTIuNyAzODMuMSAyOTguMSAzNjhMMjA4LjUgMzY4QzExMS4zIDM2OCAzMi41IDQ0Ni44IDMyLjUgNTQ0TDMyLjUgNTUyQzMyLjUgNTY1LjMgNDMuMiA1NzYgNTYuNSA1NzZDNjkuOCA1NzYgODAuNSA1NjUuMyA4MC41IDU1Mkw4MC41IDU0NHpNNDU2LjUgMzUyQzQ5Ni4zIDM1MiA1MjguNSAzODQuMiA1MjguNSA0MjRDNTI4LjUgNDYzLjggNDk2LjMgNDk2IDQ1Ni41IDQ5NkM0MTYuNyA0OTYgMzg0LjUgNDYzLjggMzg0LjUgNDI0QzM4NC41IDM4NC4yIDQxNi43IDM1MiA0NTYuNSAzNTJ6TTQ1Ni41IDU0NEM0ODAuOSA1NDQgNTAzLjYgNTM2LjcgNTIyLjYgNTI0LjJMNTgzLjUgNTg1LjFDNTkyLjkgNTk0LjUgNjA4LjEgNTk0LjUgNjE3LjQgNTg1LjFDNjI2LjcgNTc1LjcgNjI2LjggNTYwLjUgNjE3LjQgNTUxLjJMNTU2LjUgNDkwLjNDNTY5LjEgNDcxLjMgNTc2LjQgNDQ4LjUgNTc2LjQgNDI0QzU3Ni40IDM1Ny43IDUyMi43IDMwNCA0NTYuNCAzMDRDMzkwLjEgMzA0IDMzNi40IDM1Ny43IDMzNi40IDQyNEMzMzYuNCA0OTAuMyAzOTAuMSA1NDQgNDU2LjQgNTQ0eiIvPjwvc3ZnPg==",alt:"ic"})),i("ul",{slot:"body",class:"xv-helper-text-02"},i("li",null,"Kundenperspektive aktiviert für:"),i("li",null,null===(a=this.metaNav.ImpersonationInfo)||void 0===a?void 0:a.NameAndTitle),i("li",null,null===(t=this.metaNav.ImpersonationInfo)||void 0===t?void 0:t.CompanyName),i("li",null,null===(r=this.metaNav.ImpersonationInfo)||void 0===r?void 0:r.Email),i("li",null,null===(o=this.metaNav.ImpersonationInfo)||void 0===o?void 0:o.PhoneOffice)),i("xv-link-v2",{slot:"footer",href:`${this.baseUrl}/de-de/mycrossvertise/account/clearimpersonation`,variant:"ghost"},i("xv-button-v2",{block:!0,variant:"accent"},"Kundenperspektive verlassen")))):null}async getNotifications(){var e;if(null===(e=this.metaNav)||void 0===e?void 0:e.IsManager)try{this.notifications=await u.get(`${this.baseUrl}/de-de/api/notifications/list`,{credentials:"include"}).then((e=>Array.isArray(e)?e:[]))}catch(e){this.notifications=[]}}async connectNotificationsHub(){var e,a,i;if(!(null===(e=this.metaNav)||void 0===e?void 0:e.IsManager)||this.notificationsHub)return;const t=null===(i=null===(a=this.metaNav)||void 0===a?void 0:a.User)||void 0===i?void 0:i.Id;if(t)try{const e=await this.getNotificationsHubUrl();if(!e)return;const a=(new o).withUrl(e).withAutomaticReconnect().build();a.on(n,(()=>{this.getNotifications()})),a.onreconnected((()=>{a.invoke(d,String(t))})),await a.start(),await a.invoke(d,String(t)),this.notificationsHub=a}catch(e){console.error("Failed to connect to the notifications hub:",null==e?void 0:e.message,e)}}async getNotificationsHubUrl(){var e,a;const i=null===(a=null===(e=window.xv)||void 0===e?void 0:e.clientApplicationSettings)||void 0===a?void 0:a[l];if(i)return i;const t=(await fetch(`${this.baseUrl}/de-de/assets/clientapplicationsettings`,{credentials:"include"}).then((e=>e.text()))).match(new RegExp(`"${l.replace(/\./g,"\\.")}"\\s*:\\s*"([^"]+)"`));return null==t?void 0:t[1]}async dismissNotification(e,a){e.preventDefault(),e.stopPropagation();try{await u.delete(`${this.baseUrl}/de-de/api/notifications/${a}`,{credentials:"include"})}catch(e){console.error("Failed to dismiss the notification:",null==e?void 0:e.message,e)}await this.getNotifications()}_renderNotifications(){var e;return(null===(e=this.metaNav)||void 0===e?void 0:e.IsManager)?i("li",{class:"notifications"},i("xv-overflow-menu-v2",{position:"right",size:s.MD},i("span",{slot:"trigger",class:"fa-stack"},i("i",{class:"notifications-icon far fa-bell fa-stack-1x"}),this.notifications.length>0&&i("xv-tag-v2",{class:"counter-badge counter-badge--absolute",bg:"var(--icon-interactive, #97BF0D)",color:"var(--text-inverse, #FFF)"},this.notifications.length)),this.notifications.map((e=>{const a=v(e.status);return i("xv-overflow-menu-v2-item",{value:e.id,variant:h.GHOST,disabled:e.isRead,clickable:!1},i("div",{class:"notifications-item"},i("i",{class:{far:!0,[c[a]]:!0}}),i("div",{class:"notifications-item-body"},i("span",null,"Rechnungsentwurf für Auftrag ",e.orderId," ist ",p[a]),a===g.COMPLETED&&e.pdfSrc?i("xv-link-v2",{variant:e.isRead?"ghost":"standalone",href:e.pdfSrc,target:"_blank"},"Rechnung ansehen"):i("xv-link-v2",{variant:e.isRead?"ghost":"standalone",href:`/de-de/manager/ordersales/details/${e.orderId}`},"Auftrag anschauen")),i("xv-button-v2",{variant:"ghost",size:s.SM,title:"Geprüft","aria-label":`Benachrichtigung für Auftrag ${e.orderId} als geprüft markieren`,onClick:a=>{this.dismissNotification(a,e.orderId)}},i("i",{class:"far fa-times"}))))})))):null}_renderAccount(){var e,a,r,o,n,d,l,h,c,p,g,v;return(null===(e=this.metaNav)||void 0===e?void 0:e.IsAuthenticated)?i("li",{class:{myArea:!0,onHover:!0,isOpen:!1}},i("xv-button-v2",{class:"myArea-btn",variant:"ghost",size:s.MD},i("i",{class:"far fa-user"}),i("div",{class:"header-label xv-body-02"},(null===(a=this.metaNav)||void 0===a?void 0:a.IsManager)&&i("small",{class:"xv-label-01"},"Manager"),i("span",null,(null===(r=this.metaNav)||void 0===r?void 0:r.UserMenuText)||"Mein Konto")),i("i",{class:"caret"})),i("ul",{class:"myArea-list"},(null===(n=null===(o=this.metaNav)||void 0===o?void 0:o.ManagerCockpitMenu)||void 0===n?void 0:n.length)&&i(t,null,i("li",{class:"myArea-list--category"},"Cockpitfunktionen"),this.metaNav.ManagerCockpitMenu.map((e=>i("li",null,i("xv-link-v2",{variant:"standalone",href:e.Url,target:e.Target},e.Text,e.BadgeText&&i("xv-tag-v2",{class:"category-badge",color:"var(--text-inverse, #FFF)",bg:"var(--icon-interactive, #97BF0D)"},e.BadgeText))))),i("li",{class:"myArea-list--divider"})),(null===(l=null===(d=this.metaNav)||void 0===d?void 0:d.ManagerEntitiesMenu)||void 0===l?void 0:l.length)&&i(t,null,i("li",{class:"myArea-list--category"},"Entitäten"),this.metaNav.ManagerEntitiesMenu.map((e=>i("li",null,i("xv-link-v2",{variant:"standalone",href:e.Url,target:e.Target},e.Text,e.BadgeText&&i("xv-tag-v2",{class:"category-badge",color:"var(--text-inverse, #FFF)",bg:"var(--icon-interactive, #97BF0D)"},e.BadgeText))))),i("li",{class:"myArea-list--divider"})),(null===(c=null===(h=this.metaNav)||void 0===h?void 0:h.ManagerMenu)||void 0===c?void 0:c.length)&&i(t,null,this.metaNav.ManagerMenu.map((e=>i("li",null,i("xv-link-v2",{variant:"standalone",href:e.Url,target:e.Target},e.Text,e.BadgeText&&i("xv-tag-v2",{class:"category-badge",color:"var(--text-inverse, #FFF)",bg:"var(--icon-interactive, #97BF0D)"},e.BadgeText))))),i("li",{class:"myArea-list--divider"})),!(null===(p=this.metaNav)||void 0===p?void 0:p.IsManager)&&(null===(v=null===(g=this.metaNav)||void 0===g?void 0:g.UserMenu)||void 0===v?void 0:v.length)&&i(t,null,this.metaNav.UserMenu.map((e=>i("li",null,i("xv-link-v2",{variant:"standalone",href:e.Url,target:e.Target},e.Text,e.BadgeText&&i("xv-tag-v2",{class:"category-badge",color:"var(--text-inverse, #FFF)",bg:"var(--icon-interactive, #97BF0D)"},e.BadgeText))))),i("li",{class:"myArea-list--divider"})),i("li",null,i("xv-link-v2",{href:`${this.baseUrl}/de-de/mycrossvertise/account/logoff?returnUrl=${window.location.hostname}`,variant:"standalone"},"Abmelden")))):i("li",null,i("xv-button-v2",{variant:"ghost",size:s.MD,onClick:()=>this.showLoginModal=!0},i("i",{class:"header-icon far fa-user"}),i("span",{class:"header-label xv-body-02"},"Mein Konto")))}_renderShoppingCart(){var e,a;return i("li",null,i("xv-link-v2",{href:`${this.baseUrl}/de-de/mycrossvertise/shoppingcart/activecart`,variant:"ghost"},i("xv-button-v2",{variant:"ghost",size:s.MD},i("i",{class:"header-icon far fa-shopping-cart"}),i("span",{class:"header-label xv-body-02"},"Warenkorb"),i("xv-tag-v2",{id:"shopping-cart-items-badge",class:"counter-badge",bg:"var(--icon-interactive, #97BF0D)",color:"var(--text-inverse, #FFF)"},(null===(a=null===(e=this.metaNav)||void 0===e?void 0:e.Cart)||void 0===a?void 0:a.NumberOfItems)||0))))}render(){var e,a,t,r,o;const n="Xv"===((null===(e=this.metaNav)||void 0===e?void 0:e.WhitelabelName)||"Xv");return i("header",{key:"9c04fce6bf5c86c2f7ce9eec4f2c0ebbb5941e1a",class:"header"},i("div",{key:"fee93197d318b26dbca661595916d9e8cbe94375",class:"header-wrapper"},i("div",{key:"e5ba7c77f93cfd10ac648125e3785572b1b2b352",class:"xv-container"},i("div",{key:"784da35e8aa09bab4268377d22d7ae40aa7fcc5a",class:"header-top"},i("div",{key:"93bffa009121bd0ef93d1c690bed6b90dbb9de4b",class:"header-top--left"},i("xv-button-v2",{key:"f60f995957e9b929516d30e8c79e6e69354fa4a3",class:"menu-btn",variant:"ghost",onClick:this.toggleMobMenu},i("i",{key:"d0f2b955f98752b4825b921f57858bba1bdac2cd",slot:"icon-left",class:{fa:!0,"fa-times":this.mobMenuOpen,"fa-bars":!this.mobMenuOpen}})),this.metaNav&&i("a",{key:"d393b761eb12268735da317e85cbb7845c9ee15f",href:`${window.location.origin}/`},i("picture",{key:"ebc31771f501886f73c033cd8df3ed3f6097dbea"},i("source",{key:"1852235f967ab2fa08d14837d8e2f19607b2da05",srcSet:(null===(a=this.metaNav)||void 0===a?void 0:a.LogoUrl)||"https://www.crossvertise.com/ResourcePackages/Bootstrap/assets/dist/images/logo.svg",media:"(min-width: 990px)"}),i("img",{key:"5d36ae93c924554a4af9e266e090d9ab5cace2d6",src:(null===(t=this.metaNav)||void 0===t?void 0:t.LogoSmallUrl)||"https://www.crossvertise.com/ResourcePackages/Bootstrap/assets/dist/images/logo-small.svg",onError:this.logoFallback,loading:"lazy",alt:"Crossvertise"}))),this.orgUnit&&i("xv-link-v2",{key:"2a674365dbb3d87541fa8ee21e681d30803845f5",class:"header-top--orgUnit",variant:"standalone",href:"/de-de/mycrossvertise"},this.orgUnit)),i("ul",{key:"c04cc5a6124c47f63aa4a31c6105707fde987f80",class:"header-top--right"},this._renderLocaleSwitcher(),this._renderSearch(),this._renderImpersonationInfo(),!(null===(r=this.metaNav)||void 0===r?void 0:r.IsManager)&&n&&i("li",{key:"f98924908679cb70e040342e3d2037ca0c328cfb"},i("xv-link-v2",{key:"df6c95995411827fb9e7d2d772672d71ca94e8b4",variant:"ghost",href:"https://www.crossvertise.com/ueber-uns/kontakt"},i("xv-button-v2",{key:"26fb5b25c5c9d8763ae8162bd027814a511aaeea",variant:"ghost",size:s.MD},i("i",{key:"125dcdb6c7732ef43b32cd5600e26b046aa14c62",class:"header-icon far fa-envelope"}),i("span",{key:"2a0b974fb77e7aa9eeafec92789bb73f2201c865",class:"header-label xv-body-02"},"Kontakt")))),this._renderNotifications(),this._renderAccount(),!(null===(o=this.metaNav)||void 0===o?void 0:o.IsManager)&&n&&i("li",{key:"f0ed40566ca8c76960940a602d8829adc0ede357"},i("xv-link-v2",{key:"5ee23ea00cfba00c759bde207af7385d84e9db6a",variant:"ghost",href:"https://help.crossvertise.com"},i("xv-button-v2",{key:"97129651b7d2726eaf76db5ed4cbc838eaa7e047",variant:"ghost",size:s.MD},i("i",{key:"be2de402a7e605cf600aec63051291d62e497865",class:"header-icon far fa-question-circle"}),i("span",{key:"5fe9768447d0d8a8a57fa5a95b98326121eca94b",class:"header-label xv-body-02"},"Hilfe")))),this._renderShoppingCart()))),i("div",{key:"1e57385c58e31de469d67829e829781065799ca2",class:"header-wrapper--bg"},i("div",{key:"40eaa28197cf1b27b7bd7a6b559440b805764fc6",class:"xv-container"},i("xv-mega-menu-next",{key:"387772fe79f32eef0286fab9f8dd38a2fbb9d6ee",open:this.mobMenuOpen,onOpenChange:this.closeMobMenu,menuData:this.menuData})))),i("xv-login-modal",{key:"182eab0fb5f02c082be39f681fc2632881da9e39",visible:this.showLoginModal,onClose:()=>this.showLoginModal=!1}))}get el(){return r(this)}};x.style='.xv-container{width:100%;max-width:1170px;margin-inline:auto}@media (min-width: 576px){.xv-container{max-width:540px}}@media (min-width: 768px){.xv-container{max-width:720px}}@media (min-width: 992px){.xv-container{max-width:960px;padding-inline:var(--bs-gutter-x, 0.75rem)}}@media (min-width: 1200px){.xv-container{max-width:1140px}}@media (min-width: 1400px){.xv-container{max-width:1320px}}header.header{position:sticky;z-index:1000;top:0}header.header .header-wrapper{width:100vw;padding-top:var(--spacing-04);background-color:var(--background, #fff);box-shadow:1px 1px 0 0 rgba(39, 52, 53, 0.15), 0 3px 2px 0 rgba(39, 52, 53, 0.3)}@media (max-width: 991px){header.header .header-wrapper{padding-bottom:var(--spacing-04)}}header.header .header-wrapper--bg{background:var(--menu-background, transparent);color:var(--menu-color, var(--text-primary, #131313))}header.header .header-top{display:flex;align-items:center;gap:var(--spacing-05)}header.header .header-top--left{width:100%;max-width:350px;display:flex;align-items:center;column-gap:var(--spacing-04)}header.header .header-top--left img{width:100%;height:26px;object-fit:contain}header.header .header-top--left .menu-btn{display:none}@media (max-width: 991px){header.header .header-top--left .menu-btn{display:inline-block}}header.header .header-top--right{flex:1;display:flex;justify-content:flex-end;gap:var(--spacing-03);margin:0;padding:0;list-style:none}@media (max-width: 1199px){header.header .header-top--right{gap:var(--spacing-01)}}header.header .header-top--right .header-label{display:flex;flex-direction:column;color:var(--text-primary, #131313)}header.header .header-top--right .header-label>small{line-height:1}@media (min-width: 992px){header.header .header-top--right .header-label{margin-inline:var(--spacing-02)}}@media (max-width: 1199px){header.header .header-top--right .header-label{display:none}}header.header .header-top--right .header-icon{color:var(--icon-primary, #131313)}header.header .header-top--right .caret{display:inline-block;margin-left:5px;width:6px;height:6px;border:none;border-bottom:1px solid currentColor;border-right:1px solid currentColor;transform:rotate(45deg);box-sizing:border-box;background:transparent;transform-origin:center;transition:0.25s ease-in-out transform}header.header .header-top--right .counter-badge--absolute{position:absolute;top:0;right:0}header.header .header-top--right .counter-badge::part(details-content){padding:1px;line-height:1;min-width:16px;height:16px;font-size:10px;text-align:center;display:inline-flex;align-items:center;justify-content:center}header.header .header-top--orgUnit{--link-visited:var(--link-primary)}header.header .header-top .fa-question-circle{color:var(--icon-primary, #131313)}header.header .header-top .search-form{flex:1;position:relative}@media (max-width: 768px){header.header .header-top .search-form{display:none}}header.header .header-top .search-form form{padding-inline:2px;flex:1;display:flex;align-items:stretch;flex-direction:row;justify-content:flex-end}header.header .header-top .search-form form input[type=search]{flex:0;text-align:right;display:inline-flex;border:none;min-width:0;transition:flex 0.3s ease-in-out, outline 0.3s ease;overflow:hidden;border-radius:3px}header.header .header-top .search-form form input[type=search]::placeholder{color:var(--text-placeholder, #ACACAC)}header.header .header-top .search-form form input[type=search]:focus{outline:2px solid var(--focus)}header.header .header-top .search-form form>[type=button]{display:inline-flex}header.header .header-top .search-form form>[type=submit]{display:none}header.header .header-top .search-form form:focus-within>[type=button],header.header .header-top .search-form form:has(input[type=search]:not(:placeholder-shown))>[type=button]{display:none}header.header .header-top .search-form form:focus-within>[type=submit],header.header .header-top .search-form form:has(input[type=search]:not(:placeholder-shown))>[type=submit]{display:inline-flex}header.header .header-top .search-form form:focus-within input[type=search],header.header .header-top .search-form form:has(input[type=search]:not(:placeholder-shown)) input[type=search]{flex:1;outline:1px solid var(--focus)}header.header .header-top .search-form form:focus-within+.search-form-suggestions,header.header .header-top .search-form form:has(input[type=search]:not(:placeholder-shown))+.search-form-suggestions{display:flex}header.header .header-top .search-form-suggestions{position:absolute;top:calc(100% + 5px);background-color:var(--background, #fff);box-shadow:0 0 10px rgba(0, 0, 0, 0.1);border-radius:3px;z-index:2;padding:var(--spacing-04);margin:0;list-style:none;display:none;flex-direction:column;row-gap:var(--spacing-02);min-width:calc(100% - 32px)}header.header .header-top .search-form-suggestions.loading:after{display:flex;align-items:center;justify-content:center;content:"";background:rgba(255, 255, 255, 0.8);position:absolute;top:0;left:0;z-index:3;width:100%;height:100%}header.header .header-top .impersonationInfo ul[slot=body]{margin:0;padding:0;list-style:none;min-width:256px}header.header .header-top .notifications-icon{font-size:14px}header.header .header-top .notifications-item{display:flex;align-items:center;column-gap:var(--spacing-04)}header.header .header-top .notifications-item-body{display:flex;flex-direction:column}header.header .header-top .myArea{position:relative}header.header .header-top .myArea-list{padding:0;margin:0;list-style:none;max-height:0;overflow-y:scroll;transition:max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);position:absolute;right:0;top:calc(100% + var(--spacing-02, 5px));min-width:100%;background-color:var(--background);z-index:999;border-radius:3px;box-shadow:0 5px 6px rgba(0, 0, 0, 0.15);display:flex;flex-direction:column;white-space:nowrap}@supports (scrollbar-width: thin){header.header .header-top .myArea-list{scrollbar-width:thin;scrollbar-color:var(--layer-01) transparent}}header.header .header-top .myArea-list::-webkit-scrollbar{width:4px;height:4px}header.header .header-top .myArea-list::-webkit-scrollbar-thumb{background:var(--layer-01, #F7F7F7);border-radius:4px}header.header .header-top .myArea-list::-webkit-scrollbar-track{background:transparent}header.header .header-top .myArea-list--divider{height:2px;min-height:2px;width:100%;background-color:var(--layer-01, #F7F7F7);padding-block:0 !important}header.header .header-top .myArea-list--category{padding:var(--spacing-03) var(--spacing-05);margin-inline:var(--spacing-02);color:var(--text-primary);font-weight:bold}header.header .header-top .myArea-list>li:first-child{margin-top:var(--spacing-02)}header.header .header-top .myArea-list>li:last-child{margin-bottom:var(--spacing-02)}header.header .header-top .myArea-list>li>*{--link-primary:var(--text-secondary, #515151);--link-visited:var(--text-secondary, #515151);display:block;cursor:pointer;padding-inline:var(--spacing-05);padding-block:var(--spacing-02);margin-inline:var(--spacing-02)}header.header .header-top .myArea-list .category-badge{margin-left:var(--spacing-02)}header.header .header-top .myArea-list .category-badge::part(details-content){line-height:1;font-size:11px;padding:var(--spacing-01) var(--spacing-02)}header.header .header-top .myArea.isOpen .caret,header.header .header-top .myArea.onHover:hover .caret{transform:rotate(-135deg)}header.header .header-top .myArea.isOpen .myArea-list,header.header .header-top .myArea.onHover:hover .myArea-list{max-height:85vh}header.header .header-top .locale-switcher{display:inline-flex;align-items:center;gap:var(--spacing-03, 6px);padding:0 var(--spacing-03, 6px)}header.header .header-top .locale-switcher__sep{color:var(--border-subtle-01, #c6c6c6)}header.header .header-top .locale-switcher__link{text-transform:uppercase;letter-spacing:0.04em}header.header .header-top .locale-switcher__current{text-transform:uppercase;letter-spacing:0.04em;font-weight:700;color:var(--text-primary, #131313)}';export{x as xv_header_next}
|
|
1
|
+
import{r as e,c as a,h as i,F as t,a as r}from"./p-Owr_mJOX.js";import{S as s,H as o,a as n,b as d,c as l,O as h,I as c,d as p,e as g,i as v}from"./p-BkYBzv3h.js";import{a as u,g as f,b as m,d as b}from"./p-D0yFoU2h.js";const x=class{constructor(i){e(this,i),this.xvMetaNavUpdate=a(this,"xvMetaNavUpdate",7),this.orgUnit="",this.baseUrl="",this.loading=!1,this.mobMenuOpen=!1,this.toggleMobMenu=()=>{this.mobMenuOpen=!this.mobMenuOpen},this.closeMobMenu=({detail:e})=>{this.mobMenuOpen=!!e},this.logoFallback=e=>{const a=e.currentTarget,i=a.previousElementSibling,t="https://www.crossvertise.com/ResourcePackages/Bootstrap/assets/dist/images/logo-small.svg";t!==a.src&&(a.onerror=null,a.src=t,(null==i?void 0:i.srcset)&&(i.srcset="https://www.crossvertise.com/ResourcePackages/Bootstrap/assets/dist/images/logo.svg"))},this.suggestions=[],this.suggestionsLoading=!1,this.handleSearch=async e=>{try{this.suggestionsLoading=!0;const a=e.target.value.trim();if(!a)return void(this.suggestions=[]);const i=new URLSearchParams({fuzzy:"true",suggesterName:"xv-shared-index-live-suggester","api-version":"2020-06-30",search:a,$top:"10",$select:"title_de,page_link,source",$orderby:"source desc"}).toString();this.suggestions=await u.get(`https://xv-search.search.windows.net/indexes/xv-shared-index-live/docs/suggest?${i}`,{headers:{"api-key":"7315DEF1FA0C8B12109B12BA28E517E7"}}).then((({value:e})=>Array.isArray(e)?e:[]))}catch(e){console.log("error",e)}finally{this.suggestionsLoading=!1}},this.handleSearchOpen=e=>{const a=e.currentTarget.closest("form");if(!a)return;const i=a.querySelector('input[type="search"]');i&&i.focus()},this.handleSearchKeydown=e=>{var a;"Escape"===e.key&&(null===(a=e.currentTarget)||void 0===a||a.blur(),this.suggestions=[])},this.handlePreventEvent=e=>e.preventDefault(),this.notifications=[],this.showLoginModal=!1}handleOrgUnitChange({detail:e}){this.orgUnit=e||""}metaNavUpdate(){var e,a;const i=f();i&&(this.metaNav=i,this.orgUnit=(null===(a=null===(e=this.metaNav)||void 0===e?void 0:e.User)||void 0===a?void 0:a.SelectedOrgUnitName)||"",this.getNotifications(),this.connectNotificationsHub()),console.info("MetaNav was updated",this.metaNav)}disconnectedCallback(){var e;null===(e=this.notificationsHub)||void 0===e||e.stop(),this.notificationsHub=void 0}componentWillLoad(){this.baseUrl=m(),this.initHeader()}async initHeader(){try{this.loading=!0;const e=await u.post("/de-de/home/getpersonalareajson",void 0,{credentials:"include"});this.xvMetaNavUpdate.emit(e),localStorage.setItem("metaNav",JSON.stringify(e))}catch(e){console.error("Failed to fetch initial Header data:",null==e?void 0:e.message,e)}finally{this.metaNavUpdate(),this.loading=!1}}_renderLocaleSwitcher(){if(!this.currentLocale||!this.locales)return null;let e;try{const a=JSON.parse(this.locales);if(!Array.isArray(a))return null;e=a}catch(e){return null}return 0===e.length?null:i("li",{class:"locale-switcher","aria-label":"Language"},e.map(((e,a)=>{const r=e.code===this.currentLocale;return i(t,null,a>0&&i("span",{class:"locale-switcher__sep","aria-hidden":"true"},"|"),r?i("span",{class:"locale-switcher__current xv-body-02","aria-current":"true"},e.code.toUpperCase()):i("xv-link-v2",{class:"locale-switcher__link",variant:"standalone",href:e.href},i("span",{class:"xv-body-02"},e.code.toUpperCase())))})))}_renderSearch(){var e;return!0!==(null===(e=this.metaNav)||void 0===e?void 0:e.EnableMegaMenuSearch)?null:i("li",{class:"search-form"},i("form",{action:`${this.baseUrl}/de-de/media/search`,method:"get",role:"search"},i("input",{onKeyDown:this.handleSearchKeydown,onInput:b(this.handleSearch,700),type:"search",name:"Q",placeholder:"Suchen",title:"Drücken Sie die 'Enter' zum 'Suchen' oder Escape zum Zurücksetzen",autoComplete:"off"}),i("xv-button-v2",{onClick:this.handleSearchOpen,onMouseDown:this.handlePreventEvent,type:"button",variant:"ghost",size:s.MD},i("i",{class:"header-icon far fa-search"})),i("xv-button-v2",{type:"submit",variant:"ghost",size:s.MD},i("i",{class:"header-icon far fa-search"}))),i("ul",{class:{"search-form-suggestions":!0,loading:this.suggestionsLoading}},this.suggestions.map((e=>i("li",null,i("xv-link-v2",{variant:"standalone",href:`${"marketplace"===e.source?"https://marketplace.crossvertise.com":"https://www.crossvertise.com"}${e.page_link}`},e.title_de)))),!this.suggestions.length&&i("li",{class:"text-center xv-helper-text-02"},"Keine Daten gefunden")))}_renderImpersonationInfo(){var e,a,t,r,o;return(null===(e=this.metaNav)||void 0===e?void 0:e.ImpersonationInfo)?i("li",{class:"impersonationInfo"},i("xv-toggle-tip",{position:"bottom-end",autoSize:!0},i("xv-button-v2",{variant:"ghost",slot:"trigger",size:s.MD},i("img",{slot:"icon-left",width:16,height:16,src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NDAgNjQwIj48IS0tIUZvbnQgQXdlc29tZSBQcm8gNy4xLjAgYnkgQGZvbnRhd2Vzb21lIC0gaHR0cHM6Ly9mb250YXdlc29tZS5jb20gTGljZW5zZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tL2xpY2Vuc2UgKENvbW1lcmNpYWwgTGljZW5zZSkgQ29weXJpZ2h0IDIwMjUgRm9udGljb25zLCBJbmMuLS0+PHBhdGggZD0iTTE3Ni41IDE5MkMxNzYuNSAxNDcuOCAyMTIuMyAxMTIgMjU2LjUgMTEyQzMwMC43IDExMiAzMzYuNSAxNDcuOCAzMzYuNSAxOTJDMzM2LjUgMjM2LjIgMzAwLjcgMjcyIDI1Ni41IDI3MkMyMTIuMyAyNzIgMTc2LjUgMjM2LjIgMTc2LjUgMTkyek0zODQuNSAxOTJDMzg0LjUgMTIxLjMgMzI3LjIgNjQgMjU2LjUgNjRDMTg1LjggNjQgMTI4LjUgMTIxLjMgMTI4LjUgMTkyQzEyOC41IDI2Mi43IDE4NS44IDMyMCAyNTYuNSAzMjBDMzI3LjIgMzIwIDM4NC41IDI2Mi43IDM4NC41IDE5MnpNODAuNSA1NDRDODAuNSA0NzMuMyAxMzcuOCA0MTYgMjA4LjUgNDE2TDI4OC43IDQxNkMyODkuNSAzOTkuMiAyOTIuNyAzODMuMSAyOTguMSAzNjhMMjA4LjUgMzY4QzExMS4zIDM2OCAzMi41IDQ0Ni44IDMyLjUgNTQ0TDMyLjUgNTUyQzMyLjUgNTY1LjMgNDMuMiA1NzYgNTYuNSA1NzZDNjkuOCA1NzYgODAuNSA1NjUuMyA4MC41IDU1Mkw4MC41IDU0NHpNNDU2LjUgMzUyQzQ5Ni4zIDM1MiA1MjguNSAzODQuMiA1MjguNSA0MjRDNTI4LjUgNDYzLjggNDk2LjMgNDk2IDQ1Ni41IDQ5NkM0MTYuNyA0OTYgMzg0LjUgNDYzLjggMzg0LjUgNDI0QzM4NC41IDM4NC4yIDQxNi43IDM1MiA0NTYuNSAzNTJ6TTQ1Ni41IDU0NEM0ODAuOSA1NDQgNTAzLjYgNTM2LjcgNTIyLjYgNTI0LjJMNTgzLjUgNTg1LjFDNTkyLjkgNTk0LjUgNjA4LjEgNTk0LjUgNjE3LjQgNTg1LjFDNjI2LjcgNTc1LjcgNjI2LjggNTYwLjUgNjE3LjQgNTUxLjJMNTU2LjUgNDkwLjNDNTY5LjEgNDcxLjMgNTc2LjQgNDQ4LjUgNTc2LjQgNDI0QzU3Ni40IDM1Ny43IDUyMi43IDMwNCA0NTYuNCAzMDRDMzkwLjEgMzA0IDMzNi40IDM1Ny43IDMzNi40IDQyNEMzMzYuNCA0OTAuMyAzOTAuMSA1NDQgNDU2LjQgNTQ0eiIvPjwvc3ZnPg==",alt:"ic"})),i("ul",{slot:"body",class:"xv-helper-text-02"},i("li",null,"Kundenperspektive aktiviert für:"),i("li",null,null===(a=this.metaNav.ImpersonationInfo)||void 0===a?void 0:a.NameAndTitle),i("li",null,null===(t=this.metaNav.ImpersonationInfo)||void 0===t?void 0:t.CompanyName),i("li",null,null===(r=this.metaNav.ImpersonationInfo)||void 0===r?void 0:r.Email),i("li",null,null===(o=this.metaNav.ImpersonationInfo)||void 0===o?void 0:o.PhoneOffice)),i("xv-link-v2",{slot:"footer",href:`${this.baseUrl}/de-de/mycrossvertise/account/clearimpersonation`,variant:"ghost"},i("xv-button-v2",{block:!0,variant:"accent"},"Kundenperspektive verlassen")))):null}async getNotifications(){var e;if(null===(e=this.metaNav)||void 0===e?void 0:e.IsManager)try{this.notifications=await u.get(`${this.baseUrl}/de-de/api/notifications/list`,{credentials:"include"}).then((e=>Array.isArray(e)?e:[]))}catch(e){this.notifications=[]}}async connectNotificationsHub(){var e,a,i;if(!(null===(e=this.metaNav)||void 0===e?void 0:e.IsManager)||this.notificationsHub)return;const t=null===(i=null===(a=this.metaNav)||void 0===a?void 0:a.User)||void 0===i?void 0:i.Id;if(t)try{const e=await this.getNotificationsHubUrl();if(!e)return;const a=(new o).withUrl(e).withAutomaticReconnect().build();a.on(n,(()=>{this.getNotifications()})),a.onreconnected((()=>{a.invoke(d,String(t))})),await a.start(),await a.invoke(d,String(t)),this.notificationsHub=a}catch(e){console.error("Failed to connect to the notifications hub:",null==e?void 0:e.message,e)}}async getNotificationsHubUrl(){var e,a;const i=null===(a=null===(e=window.xv)||void 0===e?void 0:e.clientApplicationSettings)||void 0===a?void 0:a[l];if(i)return i;const t=(await fetch(`${this.baseUrl}/de-de/assets/clientapplicationsettings`,{credentials:"include"}).then((e=>e.text()))).match(new RegExp(`"${l.replace(/\./g,"\\.")}"\\s*:\\s*"([^"]+)"`));return null==t?void 0:t[1]}async dismissNotification(e,a){e.preventDefault(),e.stopPropagation();try{await u.delete(`${this.baseUrl}/de-de/api/notifications/${a}`,{credentials:"include"})}catch(e){console.error("Failed to dismiss the notification:",null==e?void 0:e.message,e)}await this.getNotifications()}_renderNotifications(){var e;return(null===(e=this.metaNav)||void 0===e?void 0:e.IsManager)?i("li",{class:"notifications"},i("xv-overflow-menu-v2",{position:"right",size:s.MD},i("span",{slot:"trigger",class:"fa-stack"},i("i",{class:"notifications-icon far fa-bell fa-stack-1x"}),this.notifications.length>0&&i("xv-tag-v2",{class:"counter-badge counter-badge--absolute",bg:"var(--icon-interactive, #97BF0D)",color:"var(--text-inverse, #FFF)"},this.notifications.length)),this.notifications.map((e=>{const a=v(e.status);return i("xv-overflow-menu-v2-item",{value:e.id,variant:h.GHOST,disabled:e.isRead,clickable:!1},i("div",{class:"notifications-item"},i("i",{class:{far:!0,[c[a]]:!0}}),i("div",{class:"notifications-item-body"},i("span",null,"Rechnungsentwurf für Auftrag ",e.orderId," ist ",p[a]),a===g.COMPLETED&&e.pdfSrc?i("xv-link-v2",{variant:e.isRead?"ghost":"standalone",href:e.pdfSrc,target:"_blank"},"Rechnung ansehen"):i("xv-link-v2",{variant:e.isRead?"ghost":"standalone",href:`/de-de/manager/ordersales/details/${e.orderId}`},"Auftrag anschauen")),i("xv-button-v2",{variant:"ghost",size:s.SM,title:"Geprüft","aria-label":`Benachrichtigung für Auftrag ${e.orderId} als geprüft markieren`,onClick:a=>{this.dismissNotification(a,e.orderId)}},i("i",{class:"far fa-times"}))))})))):null}_renderAccount(){var e,a,r,o,n,d,l,h,c,p,g,v;return(null===(e=this.metaNav)||void 0===e?void 0:e.IsAuthenticated)?i("li",{class:{myArea:!0,onHover:!0,isOpen:!1}},i("xv-button-v2",{class:"myArea-btn",variant:"ghost",size:s.MD},i("i",{class:"far fa-user"}),i("div",{class:"header-label xv-body-02"},(null===(a=this.metaNav)||void 0===a?void 0:a.IsManager)&&i("small",{class:"xv-label-01"},"Manager"),i("span",null,(null===(r=this.metaNav)||void 0===r?void 0:r.UserMenuText)||"Mein Konto")),i("i",{class:"caret"})),i("ul",{class:"myArea-list"},(null===(n=null===(o=this.metaNav)||void 0===o?void 0:o.ManagerCockpitMenu)||void 0===n?void 0:n.length)&&i(t,null,i("li",{class:"myArea-list--category"},"Cockpitfunktionen"),this.metaNav.ManagerCockpitMenu.map((e=>i("li",null,i("xv-link-v2",{variant:"standalone",href:e.Url,target:e.Target},e.Text,e.BadgeText&&i("xv-tag-v2",{class:"category-badge",color:"var(--text-inverse, #FFF)",bg:"var(--icon-interactive, #97BF0D)"},e.BadgeText))))),i("li",{class:"myArea-list--divider"})),(null===(l=null===(d=this.metaNav)||void 0===d?void 0:d.ManagerEntitiesMenu)||void 0===l?void 0:l.length)&&i(t,null,i("li",{class:"myArea-list--category"},"Entitäten"),this.metaNav.ManagerEntitiesMenu.map((e=>i("li",null,i("xv-link-v2",{variant:"standalone",href:e.Url,target:e.Target},e.Text,e.BadgeText&&i("xv-tag-v2",{class:"category-badge",color:"var(--text-inverse, #FFF)",bg:"var(--icon-interactive, #97BF0D)"},e.BadgeText))))),i("li",{class:"myArea-list--divider"})),(null===(c=null===(h=this.metaNav)||void 0===h?void 0:h.ManagerMenu)||void 0===c?void 0:c.length)&&i(t,null,this.metaNav.ManagerMenu.map((e=>i("li",null,i("xv-link-v2",{variant:"standalone",href:e.Url,target:e.Target},e.Text,e.BadgeText&&i("xv-tag-v2",{class:"category-badge",color:"var(--text-inverse, #FFF)",bg:"var(--icon-interactive, #97BF0D)"},e.BadgeText))))),i("li",{class:"myArea-list--divider"})),!(null===(p=this.metaNav)||void 0===p?void 0:p.IsManager)&&(null===(v=null===(g=this.metaNav)||void 0===g?void 0:g.UserMenu)||void 0===v?void 0:v.length)&&i(t,null,this.metaNav.UserMenu.map((e=>i("li",null,i("xv-link-v2",{variant:"standalone",href:e.Url,target:e.Target},e.Text,e.BadgeText&&i("xv-tag-v2",{class:"category-badge",color:"var(--text-inverse, #FFF)",bg:"var(--icon-interactive, #97BF0D)"},e.BadgeText))))),i("li",{class:"myArea-list--divider"})),i("li",null,i("xv-link-v2",{href:`${this.baseUrl}/de-de/mycrossvertise/account/logoff?returnUrl=${window.location.hostname}`,variant:"standalone"},"Abmelden")))):i("li",null,i("xv-button-v2",{variant:"ghost",size:s.MD,onClick:()=>this.showLoginModal=!0},i("i",{class:"header-icon far fa-user"}),i("span",{class:"header-label xv-body-02"},"Mein Konto")))}_renderShoppingCart(){var e,a;return i("li",null,i("xv-link-v2",{href:`${this.baseUrl}/de-de/mycrossvertise/shoppingcart/activecart`,variant:"ghost"},i("xv-button-v2",{variant:"ghost",size:s.MD},i("i",{class:"header-icon far fa-shopping-cart"}),i("span",{class:"header-label xv-body-02"},"Warenkorb"),i("xv-tag-v2",{id:"shopping-cart-items-badge",class:"counter-badge",bg:"var(--icon-interactive, #97BF0D)",color:"var(--text-inverse, #FFF)"},(null===(a=null===(e=this.metaNav)||void 0===e?void 0:e.Cart)||void 0===a?void 0:a.NumberOfItems)||0))))}render(){var e,a,t,r,o;const n="Xv"===((null===(e=this.metaNav)||void 0===e?void 0:e.WhitelabelName)||"Xv");return i("header",{key:"13d7fbc791bf106fca9e8d0d643f85fe4b26d7ac",class:"header"},i("div",{key:"e76238af3ddee6774a343078b5eab8c0a0ddcde2",class:"header-wrapper"},i("div",{key:"7ff35cfe21304425f452aa43f8c260b7e79dfc60",class:"xv-container"},i("div",{key:"892194c85c214ffd3dcdaaf056b579ec958936bb",class:"header-top"},i("div",{key:"b27cc8229663d54af4b51a3d9765a66f1b514a40",class:"header-top--left"},i("xv-button-v2",{key:"b0ee35bc693cede15c79addb20ccd92a94c3c12c",class:"menu-btn",variant:"ghost",onClick:this.toggleMobMenu},i("i",{key:"d329862c59068cd047f0316f043c425c7f85a5f3",slot:"icon-left",class:{fa:!0,"fa-times":this.mobMenuOpen,"fa-bars":!this.mobMenuOpen}})),this.metaNav&&i("a",{key:"f72e3e73790f3398ad38c5d65b76f325b5d1d926",href:`${window.location.origin}/`},i("picture",{key:"f8571b4003da1388d01fa58bc938d9f86f412bb3"},i("source",{key:"1cbe0a12af818d50f9da3b08ae4b47d406395273",srcSet:(null===(a=this.metaNav)||void 0===a?void 0:a.LogoUrl)||"https://www.crossvertise.com/ResourcePackages/Bootstrap/assets/dist/images/logo.svg",media:"(min-width: 990px)"}),i("img",{key:"c5a26040bd7cd78649b40be427a6deeaf624b0ed",src:(null===(t=this.metaNav)||void 0===t?void 0:t.LogoSmallUrl)||"https://www.crossvertise.com/ResourcePackages/Bootstrap/assets/dist/images/logo-small.svg",onError:this.logoFallback,loading:"lazy",alt:"Crossvertise"}))),this.orgUnit&&i("xv-link-v2",{key:"a14ab7c17ec9a3f4fbe8732374f376a62614f47b",class:"header-top--orgUnit",variant:"standalone",href:"/de-de/mycrossvertise"},this.orgUnit)),i("ul",{key:"eb44f0b25df5ea47b7d79ea68f07da630dfb23d9",class:"header-top--right"},this._renderLocaleSwitcher(),this._renderSearch(),this._renderImpersonationInfo(),!(null===(r=this.metaNav)||void 0===r?void 0:r.IsManager)&&n&&i("li",{key:"7bd22a2f234b53952a078e36aede6e19699d3873"},i("xv-link-v2",{key:"3091655d737ab578250a324cd7e5a0d9e84d5656",variant:"ghost",href:"https://www.crossvertise.com/ueber-uns/kontakt"},i("xv-button-v2",{key:"5644e7f350987527a536aa9e8c6867dca72fdb79",variant:"ghost",size:s.MD},i("i",{key:"18fefacd05272975ce019408acfaca4ecdf0501f",class:"header-icon far fa-envelope"}),i("span",{key:"a887336de6e7445dda46d48ff2cb84f452ada512",class:"header-label xv-body-02"},"Kontakt")))),this._renderNotifications(),this._renderAccount(),!(null===(o=this.metaNav)||void 0===o?void 0:o.IsManager)&&n&&i("li",{key:"3693bd474c58015528779799a182bede85b16bf3"},i("xv-link-v2",{key:"a31878f3b5a6562fe38bd919b1552a86be7e709a",variant:"ghost",href:"https://help.crossvertise.com"},i("xv-button-v2",{key:"d3a0fb1b8a21abfaf3a15a5aac3c1bd37d2e1484",variant:"ghost",size:s.MD},i("i",{key:"64b6055f1d6e21520bbb1e91e206ce42878d0710",class:"header-icon far fa-question-circle"}),i("span",{key:"1dc21ab66517122f8058a6a8f70d0f4e03fb8308",class:"header-label xv-body-02"},"Hilfe")))),this._renderShoppingCart()))),i("div",{key:"9c90c4062c9991bc74ead1273f55053c9853f0d9",class:"header-wrapper--bg"},i("div",{key:"dc3ac18bae6910ff92053538e0a0a78552a5b967",class:"xv-container"},i("xv-mega-menu-next",{key:"212201d8520d0e89cae9a260cfb29c983cbd17a8",open:this.mobMenuOpen,onOpenChange:this.closeMobMenu,menuData:this.menuData})))),i("xv-login-modal",{key:"764fd4fac90c31092db8b8a2a6900a2f6e9cac03",visible:this.showLoginModal,onClose:()=>this.showLoginModal=!1}))}get el(){return r(this)}};x.style='.xv-container{width:100%;max-width:1170px;margin-inline:auto}@media (min-width: 576px){.xv-container{max-width:540px}}@media (min-width: 768px){.xv-container{max-width:720px}}@media (min-width: 992px){.xv-container{max-width:960px;padding-inline:var(--bs-gutter-x, 0.75rem)}}@media (min-width: 1200px){.xv-container{max-width:1140px}}@media (min-width: 1400px){.xv-container{max-width:1320px}}header.header{position:sticky;z-index:1000;top:0}header.header .header-wrapper{width:100vw;padding-top:var(--spacing-04);background-color:var(--background, #fff);box-shadow:1px 1px 0 0 rgba(39, 52, 53, 0.15), 0 3px 2px 0 rgba(39, 52, 53, 0.3)}@media (max-width: 991px){header.header .header-wrapper{padding-bottom:var(--spacing-04)}}header.header .header-wrapper--bg{background:var(--menu-background, transparent);color:var(--menu-color, var(--text-primary, #131313))}header.header .header-top{display:flex;align-items:center;gap:var(--spacing-05)}header.header .header-top--left{width:100%;max-width:350px;display:flex;align-items:center;column-gap:var(--spacing-04)}header.header .header-top--left img{width:100%;height:26px;object-fit:contain}header.header .header-top--left .menu-btn{display:none}@media (max-width: 991px){header.header .header-top--left .menu-btn{display:inline-block}}header.header .header-top--right{flex:1;display:flex;justify-content:flex-end;gap:var(--spacing-03);margin:0;padding:0;list-style:none}@media (max-width: 1199px){header.header .header-top--right{gap:var(--spacing-01)}}header.header .header-top--right .header-label{display:flex;flex-direction:column;color:var(--text-primary, #131313)}header.header .header-top--right .header-label>small{line-height:1}@media (min-width: 992px){header.header .header-top--right .header-label{margin-inline:var(--spacing-02)}}@media (max-width: 1199px){header.header .header-top--right .header-label{display:none}}header.header .header-top--right .header-icon{color:var(--icon-primary, #131313)}header.header .header-top--right .caret{display:inline-block;margin-left:5px;width:6px;height:6px;border:none;border-bottom:1px solid currentColor;border-right:1px solid currentColor;transform:rotate(45deg);box-sizing:border-box;background:transparent;transform-origin:center;transition:0.25s ease-in-out transform}header.header .header-top--right .counter-badge--absolute{position:absolute;top:0;right:0}header.header .header-top--right .counter-badge::part(details-content){padding:1px;line-height:1;min-width:16px;height:16px;font-size:10px;text-align:center;display:inline-flex;align-items:center;justify-content:center}header.header .header-top--orgUnit{--link-visited:var(--link-primary)}header.header .header-top .fa-question-circle{color:var(--icon-primary, #131313)}header.header .header-top .search-form{flex:1;position:relative}@media (max-width: 768px){header.header .header-top .search-form{display:none}}header.header .header-top .search-form form{padding-inline:2px;flex:1;display:flex;align-items:stretch;flex-direction:row;justify-content:flex-end}header.header .header-top .search-form form input[type=search]{flex:0;text-align:right;display:inline-flex;border:none;min-width:0;transition:flex 0.3s ease-in-out, outline 0.3s ease;overflow:hidden;border-radius:3px}header.header .header-top .search-form form input[type=search]::placeholder{color:var(--text-placeholder, #ACACAC)}header.header .header-top .search-form form input[type=search]:focus{outline:2px solid var(--focus)}header.header .header-top .search-form form>[type=button]{display:inline-flex}header.header .header-top .search-form form>[type=submit]{display:none}header.header .header-top .search-form form:focus-within>[type=button],header.header .header-top .search-form form:has(input[type=search]:not(:placeholder-shown))>[type=button]{display:none}header.header .header-top .search-form form:focus-within>[type=submit],header.header .header-top .search-form form:has(input[type=search]:not(:placeholder-shown))>[type=submit]{display:inline-flex}header.header .header-top .search-form form:focus-within input[type=search],header.header .header-top .search-form form:has(input[type=search]:not(:placeholder-shown)) input[type=search]{flex:1;outline:1px solid var(--focus)}header.header .header-top .search-form form:focus-within+.search-form-suggestions,header.header .header-top .search-form form:has(input[type=search]:not(:placeholder-shown))+.search-form-suggestions{display:flex}header.header .header-top .search-form-suggestions{position:absolute;top:calc(100% + 5px);background-color:var(--background, #fff);box-shadow:0 0 10px rgba(0, 0, 0, 0.1);border-radius:3px;z-index:2;padding:var(--spacing-04);margin:0;list-style:none;display:none;flex-direction:column;row-gap:var(--spacing-02);min-width:calc(100% - 32px)}header.header .header-top .search-form-suggestions.loading:after{display:flex;align-items:center;justify-content:center;content:"";background:rgba(255, 255, 255, 0.8);position:absolute;top:0;left:0;z-index:3;width:100%;height:100%}header.header .header-top .impersonationInfo ul[slot=body]{margin:0;padding:0;list-style:none;min-width:256px}header.header .header-top .notifications-icon{font-size:14px}header.header .header-top .notifications-item{display:flex;align-items:center;column-gap:var(--spacing-04)}header.header .header-top .notifications-item-body{display:flex;flex-direction:column}header.header .header-top .myArea{position:relative}header.header .header-top .myArea-list{padding:0;margin:0;list-style:none;max-height:0;overflow-y:scroll;transition:max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);position:absolute;right:0;top:calc(100% + var(--spacing-02, 5px));min-width:100%;background-color:var(--background);z-index:999;border-radius:3px;box-shadow:0 5px 6px rgba(0, 0, 0, 0.15);display:flex;flex-direction:column;white-space:nowrap}@supports (scrollbar-width: thin){header.header .header-top .myArea-list{scrollbar-width:thin;scrollbar-color:var(--layer-01) transparent}}header.header .header-top .myArea-list::-webkit-scrollbar{width:4px;height:4px}header.header .header-top .myArea-list::-webkit-scrollbar-thumb{background:var(--layer-01, #F7F7F7);border-radius:4px}header.header .header-top .myArea-list::-webkit-scrollbar-track{background:transparent}header.header .header-top .myArea-list--divider{height:2px;min-height:2px;width:100%;background-color:var(--layer-01, #F7F7F7);padding-block:0 !important}header.header .header-top .myArea-list--category{padding:var(--spacing-03) var(--spacing-05);margin-inline:var(--spacing-02);color:var(--text-primary);font-weight:bold}header.header .header-top .myArea-list>li:first-child{margin-top:var(--spacing-02)}header.header .header-top .myArea-list>li:last-child{margin-bottom:var(--spacing-02)}header.header .header-top .myArea-list>li>*{--link-primary:var(--text-secondary, #515151);--link-visited:var(--text-secondary, #515151);display:block;cursor:pointer;padding-inline:var(--spacing-05);padding-block:var(--spacing-02);margin-inline:var(--spacing-02)}header.header .header-top .myArea-list .category-badge{margin-left:var(--spacing-02)}header.header .header-top .myArea-list .category-badge::part(details-content){line-height:1;font-size:11px;padding:var(--spacing-01) var(--spacing-02)}header.header .header-top .myArea.isOpen .caret,header.header .header-top .myArea.onHover:hover .caret{transform:rotate(-135deg)}header.header .header-top .myArea.isOpen .myArea-list,header.header .header-top .myArea.onHover:hover .myArea-list{max-height:85vh}header.header .header-top .locale-switcher{display:inline-flex;align-items:center;gap:var(--spacing-03, 6px);padding:0 var(--spacing-03, 6px)}header.header .header-top .locale-switcher__sep{color:var(--border-subtle-01, #c6c6c6)}header.header .header-top .locale-switcher__link{text-transform:uppercase;letter-spacing:0.04em}header.header .header-top .locale-switcher__current{text-transform:uppercase;letter-spacing:0.04em;font-weight:700;color:var(--text-primary, #131313)}';export{x as xv_header_next}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,g as a,b as l}from"./p-DmxA2ysB.js";export{s as setNonce}from"./p-DmxA2ysB.js";(()=>{const a=import.meta.url,l={};return""!==a&&(l.resourcesUrl=new URL(".",a).href),e(l)})().then((async e=>(await a(),l(JSON.parse('[["p-88185dc3",[[0,"xv-header",{"metaNav":[32],"orgUnit":[32],"baseUrl":[32],"loading":[32],"mobMenuOpen":[32],"suggestions":[32],"suggestionsLoading":[32],"notifications":[32],"showLoginModal":[32]},[[8,"xv:orgUnitChange","handleOrgUnitChange"],[8,"xv:metaNav-update","metaNavUpdate"]]],[257,"xv-dropdown-v2",{"search":[516],"disabled":[516],"multiple":[516],"required":[516],"loading":[516],"readonly":[516],"open":[1540],"error":[520],"label":[513],"helper":[513],"warning":[513],"placeholder":[513],"info":[1],"searchPlaceholder":[1,"search-placeholder"],"size":[1],"defaultValue":[8,"default-value"],"value":[1032],"variant":[1],"position":[1],"selected":[32],"selectedMap":[32],"resolvedPosition":[32]},[[0,"itemSelected","handleItemSelected"],[0,"keydown","handleKeyDown"]],{"open":[{"openChangeHandle":0}],"multiple":[{"multipleChangeHandle":0}],"value":[{"valueChange":1}]}],[257,"xv-data-table-row",{"variant":[1],"name":[1025],"collapse":[1],"collapsable":[516],"checked":[1028],"partial":[1028],"hover":[1028],"group":[4],"header":[4],"footer":[4],"disabled":[4],"readonly":[4],"required":[4],"value":[8],"collapsed":[32],"reorderable":[32],"reorderHandleMode":[32],"close":[64]}],[321,"xv-date-picker",{"value":[1040],"selection":[1],"precision":[1],"withTime":[4,"with-time"],"minuteStep":[2,"minute-step"],"min":[1],"max":[1],"disabledDates":[16],"disabledWeekdays":[16],"weekStartsOn":[2,"week-starts-on"],"showWeekNumbers":[4,"show-week-numbers"],"locale":[1],"label":[1],"labelStart":[1,"label-start"],"labelEnd":[1,"label-end"],"placeholder":[1],"helper":[1],"error":[8],"warning":[8],"required":[4],"readonly":[4],"disabled":[4],"loading":[4],"clearable":[4],"size":[513],"block":[516],"placement":[1],"offset":[2],"dates":[32],"open":[32],"view":[32],"anchor":[32],"active":[32],"dayRows":[32],"unitCells":[32],"weekdays":[32],"focusedDate":[32]},null,{"value":[{"syncValue":0}],"locale":[{"rebuildWeekdays":0}],"weekStartsOn":[{"rebuildWeekdays":0},{"rebuild":0}],"precision":[{"resetView":0}],"anchor":[{"rebuild":0}],"view":[{"rebuild":0}],"min":[{"rebuild":0}],"max":[{"rebuild":0}],"disabledDates":[{"rebuild":0}],"disabledWeekdays":[{"rebuild":0}],"open":[{"openWatcher":0}]}],[65,"xv-datepicker",{"value":[1040],"variant":[1],"label":[1],"helper":[1],"error":[8],"warning":[8],"readonly":[4],"disabled":[4],"loading":[4],"block":[4],"size":[513],"min":[1],"max":[1],"disabledDates":[16],"month":[32],"days":[32],"open":[32],"localError":[32]},[[4,"click","handleClickOutside"]],{"open":[{"openChange":0}],"month":[{"getCalendarGrid":0}],"min":[{"getCalendarGrid":0}],"max":[{"getCalendarGrid":0}],"disabledDates":[{"getCalendarGrid":0}],"value":[{"handleValueChange":0}]}],[1,"xv-file-uploader",{"label":[1],"description":[1],"addText":[1,"add-text"],"variant":[1],"size":[1],"accept":[16],"buttonVariant":[1,"button-variant"],"maxFileSizeMB":[2,"max-file-size-mb"],"maxFiles":[2,"max-files"],"multiple":[4],"disabled":[516],"files":[1040],"loadingStates":[1040],"error":[1537],"warning":[8],"helper":[1],"errors":[1040],"dragActive":[32],"errorMessages":[32],"internalError":[32],"clearFiles":[64]}],[65,"xv-number-input-v2",{"label":[1],"placeholder":[513],"name":[513],"value":[1538],"helper":[1],"error":[8],"warning":[8],"step":[2],"max":[2],"min":[2],"readonly":[4],"disabled":[4],"loading":[4],"block":[516],"size":[513]}],[1,"xv-pagination",{"itemsPerPage":[1026,"items-per-page"],"itemsPerPageOptions":[1,"items-per-page-options"],"total":[2],"page":[1026],"size":[1],"block":[4],"variant":[1],"responsiveVariant":[16],"totalItems":[2,"total-items"],"currentVariant":[32]}],[257,"xv-table-v2-row",{"checked":[1540],"partial":[1540],"name":[1537],"value":[520],"hover":[1540],"readonly":[516],"required":[516],"disabled":[516],"header":[516],"variant":[1537]},null,{"checked":[{"checkedChangeHandle":0}]}],[1,"xv-tag-combobox",{"options":[16],"label":[1],"size":[1],"placeholder":[1],"allowCreate":[4,"allow-create"],"maxSuggestions":[2,"max-suggestions"],"disabled":[4],"loading":[4],"readonly":[4],"error":[8],"warning":[8],"helper":[1],"value":[16],"normalizedOptions":[32],"selected":[32],"inputValue":[32],"open":[32],"filtered":[32],"highlighted":[32],"focusInput":[64],"clear":[64]},null,{"options":[{"watchOptions":0}],"value":[{"watchValue":0}]}],[65,"xv-textarea",{"value":[1025],"name":[1],"label":[1],"placeholder":[1],"helper":[1],"info":[1],"error":[8],"warning":[8],"disabled":[4],"readonly":[4],"block":[4],"counterHide":[4,"counter-hide"],"noResize":[4,"no-resize"],"loading":[4],"max":[2],"rows":[2],"size":[513]}],[257,"xv-data-table",{"size":[1],"block":[520],"loading":[4],"columnWidths":[16],"multiple":[516],"hover":[4],"reorderable":[516],"reorderHandle":[513,"reorder-handle"]},null,{"reorderable":[{"reorderableChanged":0}],"reorderHandle":[{"reorderHandleChanged":0}]}],[257,"xv-dropdown-v2-item",{"disabled":[4],"value":[1544],"selected":[1540],"multiple":[516],"size":[513]},[[0,"click","handleClick"]]],[1,"xv-geo-map-v2",{"apiBase":[1,"api-base"],"indicator":[1],"indicatorLabel":[1,"indicator-label"],"level":[1],"resolution":[1],"styleUrl":[1,"style-url"],"language":[1],"tiles":[1],"attribution":[1],"centerLng":[2,"center-lng"],"centerLat":[2,"center-lat"],"zoom":[2],"selectZoom":[2,"select-zoom"],"workerUrl":[1,"worker-url"],"lazy":[4],"showSearch":[4,"show-search"],"ready":[32],"loadError":[32],"zoomGated":[32],"searchResults":[32],"searchQuery":[32],"selectByRadius":[64],"selectPostalCodes":[64],"clearSelection":[64],"previewByRadius":[64],"clearPreview":[64]},null,{"level":[{"levelChanged":0}],"selectZoom":[{"selectZoomChanged":0}],"showSearch":[{"showSearchChanged":0}]}],[257,"xv-image-viewer",{"src":[1],"fullscreenSrc":[1,"fullscreen-src"],"alt":[1],"placeholder":[1],"lazy":[4],"isFullscreen":[32],"loaded":[32],"fullscreenLoaded":[32],"errored":[32]}],[257,"xv-tab-v2",{"label":[513],"disabled":[516],"loading":[516],"name":[8]}],[257,"xv-table-v2",{"size":[513],"hover":[516],"loading":[516],"colsSize":[16],"selected":[32],"selectedCount":[32]},[[0,"checkedChange","handleCheckedChange"]],{"colsSize":[{"setColsSizeTemplate":0}]}],[257,"xv-tabs-v2",{"active":[1544],"loading":[516],"variant":[1],"emptyMessage":[1,"empty-message"],"hideSingleTab":[4,"hide-single-tab"],"tabElements":[32],"showArrows":[32]},[[9,"resize","updateArrowVisibility"]]],[257,"xv-accordion-v2",{"multiple":[4],"xvId":[1,"xv-id"],"value":[1025],"opened":[32],"toggleItem":[64]},null,{"value":[{"onValueChange":0}]}],[257,"xv-accordion-v2-item",{"disabled":[4],"label":[1],"value":[1],"isOpen":[32]},[[16,"accordionChange","handleAccordionChange"]]],[260,"xv-breadcrumbs-v2"],[257,"xv-button-group-v2",{"variant":[513],"multiple":[516],"value":[1025]},[[0,"click","handleClick"]],{"value":[{"onSelectionInputChange":0}],"multiple":[{"onSelectionInputChange":0}]}],[257,"xv-content-switcher-item-v2",{"value":[520],"label":[513],"icon":[513],"disabled":[516]}],[257,"xv-content-switcher-v2",{"selected":[1544],"size":[513],"iconOnly":[516,"icon-only"],"disabled":[516],"block":[516],"controlled":[516],"items":[32]}],[257,"xv-data-table-collapse",{"collapsed":[1540],"setCollapsed":[64]}],[0,"xv-footer",{"data":[32]},[[8,"xv:metaNav-update","handleLoadData"]]],[257,"xv-progress-indicator-v2",{"progress":[514],"variant":[1],"size":[1]},null,{"progress":[{"updateChildItems":0}]}],[257,"xv-progress-indicator-v2-item",{"status":[1]}],[324,"xv-radio-v2",{"name":[1],"value":[1],"label":[1],"checked":[1028],"indeterminate":[4],"block":[4],"disabled":[4],"required":[4],"reverse":[4],"readonly":[4],"error":[8],"warning":[520],"helper":[1],"size":[1]},null,{"checked":[{"onCheckedChange":0}]}],[65,"xv-slider-v2",{"label":[1],"name":[1],"min":[2],"max":[2],"value":[1026],"step":[2],"disabled":[4],"readonly":[4],"notEditable":[4,"not-editable"]}],[257,"xv-table-v2-expand",{"open":[1540],"disabled":[516]}],[260,"xv-tile",{"variant":[513],"label":[1],"error":[4],"multiple":[4],"disabled":[4],"block":[4],"name":[1],"message":[513],"value":[1025],"checked":[1028],"readonly":[1028]},[[4,"tileChange","tileChangeHandle"],[0,"click","handleClick"]]],[321,"xv-toggle",{"label":[1],"value":[1],"name":[1],"checked":[1540],"disabled":[4],"readonly":[4],"size":[513],"block":[4]}],[262,"xv-mega-menu",{"open":[1540],"activeItem":[32],"activeGroup":[32],"menuItems":[32],"applicationContext":[32],"menuLoading":[32]},[[4,"click","handleClickOutside"]]],[257,"xv-data-table-cell",{"name":[1025],"sort":[1537],"multiline":[520],"width":[1],"align":[1],"tooltip":[1]},[[0,"click","handleSort"]]],[257,"xv-table-v2-cell",{"multiline":[516],"name":[1537],"align":[513],"sort":[1537]},[[0,"click","handleSort"]]],[2,"xv-login-modal",{"visible":[4],"urls":[32],"loading":[32],"errorMessage":[32]}],[257,"xv-overflow-menu-v2",{"open":[1540],"disabled":[516],"position":[1],"alignment":[1],"size":[1],"tooltip":[1],"anchor":[1],"activeId":[32],"openMenu":[64],"closeMenu":[64],"toggleMenu":[64]},[[0,"keydown","handleKeyDown"]],{"open":[{"openChangeHandle":0}],"anchor":[{"anchorChangeHandle":0}]}],[257,"xv-overflow-menu-v2-item",{"disabled":[516],"value":[520],"variant":[513],"clickable":[4],"href":[1],"target":[1],"divider":[516],"hasIcon":[32],"hasIconEnd":[32]},[[0,"click","handleClick"]]],[257,"xv-toggle-tip",{"open":[1540],"autoSize":[516,"auto-size"],"block":[4],"position":[1],"setPopover":[64]},[[4,"click","handleClickOutside"],[0,"keydown","handleKeyDown"]],{"open":[{"openChangeHandle":0}]}],[257,"xv-modal-v2",{"open":[1540],"permanent":[516],"size":[513],"overflow":[516],"loading":[4],"openModal":[64],"closeModal":[64]}],[257,"xv-notification-v2",{"variant":[513],"dismissible":[516]}],[65,"xv-text-input-v2",{"type":[1],"label":[1],"placeholder":[513],"name":[513],"value":[1025],"autocomplete":[1],"helper":[1],"error":[8],"warning":[8],"readonly":[4],"disabled":[4],"loading":[4],"block":[516],"clearable":[516],"size":[513],"isPasswordVisible":[32]}],[257,"xv-card-v2",{"variant":[1],"media":[1],"header":[1],"body":[1],"footer":[1]}],[257,"xv-link-v2",{"href":[1],"target":[1],"disabled":[4],"size":[1],"variant":[1]}],[321,"xv-checkbox-v2",{"checked":[1540],"indeterminate":[516],"disabled":[516],"name":[513],"value":[513],"readonly":[516],"required":[516],"partial":[516],"label":[1],"size":[513],"error":[520],"align":[513],"hasFocus":[32]},null,{"checked":[{"onCheckedChange":0}]}],[257,"xv-tag-v2",{"size":[1],"color":[1],"bg":[1],"disabled":[4],"closeable":[4]}],[260,"xv-tooltip-v2",{"message":[1],"position":[1],"block":[4],"dashed":[4]},[[1,"mouseenter","onMouseEnter"],[1,"mouseleave","onMouseLeave"]]],[321,"xv-button-v2",{"value":[513],"name":[1],"label":[513],"variant":[513],"size":[513],"disabled":[516],"loading":[516],"block":[516],"type":[513],"active":[516],"hasLeftIcon":[32],"hasRightIcon":[32],"hasContent":[32]}],[257,"xv-loader-v2",{"show":[4],"variant":[1],"size":[1]}]]],["p-fe9b38f8",[[257,"xv-mega-menu-next",{"open":[1540],"menuData":[1,"menu-data"],"activeItem":[32],"activeGroup":[32],"menuItems":[32],"applicationContext":[32],"menuLoading":[32]},[[4,"click","handleClickOutside"]],{"menuData":[{"onMenuDataChange":0}]}]]],["p-f46bb687",[[0,"xv-header-next",{"menuData":[1,"menu-data"],"currentLocale":[1,"current-locale"],"locales":[1],"metaNav":[32],"orgUnit":[32],"baseUrl":[32],"loading":[32],"mobMenuOpen":[32],"suggestions":[32],"suggestionsLoading":[32],"notifications":[32],"showLoginModal":[32]},[[8,"xv:orgUnitChange","handleOrgUnitChange"],[8,"xv:metaNav-update","metaNavUpdate"]]]]]]'),e))));
|
|
1
|
+
import{p as e,g as a,b as l}from"./p-Owr_mJOX.js";export{s as setNonce}from"./p-Owr_mJOX.js";(()=>{const a=import.meta.url,l={};return""!==a&&(l.resourcesUrl=new URL(".",a).href),e(l)})().then((async e=>(await a(),l(JSON.parse('[["p-76cf729b",[[0,"xv-header",{"metaNav":[32],"orgUnit":[32],"baseUrl":[32],"loading":[32],"mobMenuOpen":[32],"suggestions":[32],"suggestionsLoading":[32],"notifications":[32],"showLoginModal":[32]},[[8,"xv:orgUnitChange","handleOrgUnitChange"],[8,"xv:metaNav-update","metaNavUpdate"]]],[257,"xv-dropdown-v2",{"search":[516],"disabled":[516],"multiple":[516],"required":[516],"loading":[516],"readonly":[516],"open":[1540],"error":[520],"label":[513],"helper":[513],"warning":[513],"placeholder":[513],"info":[1],"searchPlaceholder":[1,"search-placeholder"],"size":[1],"defaultValue":[8,"default-value"],"value":[1032],"variant":[1],"position":[1],"selected":[32],"selectedMap":[32],"resolvedPosition":[32]},[[0,"itemSelected","handleItemSelected"],[0,"keydown","handleKeyDown"]],{"open":[{"openChangeHandle":0}],"multiple":[{"multipleChangeHandle":0}],"value":[{"valueChange":1}]}],[257,"xv-data-table-row",{"variant":[1],"name":[1025],"collapse":[1],"collapsable":[516],"checked":[1028],"partial":[1028],"hover":[1028],"group":[4],"header":[4],"footer":[4],"disabled":[4],"readonly":[4],"required":[4],"value":[8],"collapsed":[32],"reorderable":[32],"reorderHandleMode":[32],"close":[64]}],[321,"xv-date-picker",{"value":[1040],"selection":[1],"precision":[1],"withTime":[4,"with-time"],"minuteStep":[2,"minute-step"],"min":[1],"max":[1],"disabledDates":[16],"disabledWeekdays":[16],"weekStartsOn":[2,"week-starts-on"],"showWeekNumbers":[4,"show-week-numbers"],"locale":[1],"label":[1],"labelStart":[1,"label-start"],"labelEnd":[1,"label-end"],"placeholder":[1],"helper":[1],"error":[8],"warning":[8],"required":[4],"readonly":[4],"disabled":[4],"loading":[4],"clearable":[4],"size":[513],"block":[516],"placement":[1],"offset":[2],"dates":[32],"open":[32],"view":[32],"anchor":[32],"active":[32],"dayRows":[32],"unitCells":[32],"weekdays":[32],"focusedDate":[32]},null,{"value":[{"syncValue":0}],"locale":[{"rebuildWeekdays":0}],"weekStartsOn":[{"rebuildWeekdays":0},{"rebuild":0}],"precision":[{"resetView":0}],"anchor":[{"rebuild":0}],"view":[{"rebuild":0}],"min":[{"rebuild":0}],"max":[{"rebuild":0}],"disabledDates":[{"rebuild":0}],"disabledWeekdays":[{"rebuild":0}],"open":[{"openWatcher":0}]}],[65,"xv-datepicker",{"value":[1040],"variant":[1],"label":[1],"helper":[1],"error":[8],"warning":[8],"readonly":[4],"disabled":[4],"loading":[4],"block":[4],"size":[513],"min":[1],"max":[1],"disabledDates":[16],"month":[32],"days":[32],"open":[32],"localError":[32]},[[4,"click","handleClickOutside"]],{"open":[{"openChange":0}],"month":[{"getCalendarGrid":0}],"min":[{"getCalendarGrid":0}],"max":[{"getCalendarGrid":0}],"disabledDates":[{"getCalendarGrid":0}],"value":[{"handleValueChange":0}]}],[1,"xv-file-uploader",{"label":[1],"description":[1],"addText":[1,"add-text"],"variant":[1],"size":[1],"accept":[16],"buttonVariant":[1,"button-variant"],"maxFileSizeMB":[2,"max-file-size-mb"],"maxFiles":[2,"max-files"],"multiple":[4],"disabled":[516],"files":[1040],"loadingStates":[1040],"error":[1537],"warning":[8],"helper":[1],"errors":[1040],"dragActive":[32],"errorMessages":[32],"internalError":[32],"clearFiles":[64]}],[65,"xv-number-input-v2",{"label":[1],"placeholder":[513],"name":[513],"value":[1538],"helper":[1],"error":[8],"warning":[8],"step":[2],"max":[2],"min":[2],"readonly":[4],"disabled":[4],"loading":[4],"block":[516],"size":[513]}],[1,"xv-pagination",{"itemsPerPage":[1026,"items-per-page"],"itemsPerPageOptions":[1,"items-per-page-options"],"total":[2],"page":[1026],"size":[1],"block":[4],"variant":[1],"responsiveVariant":[16],"totalItems":[2,"total-items"],"currentVariant":[32]}],[257,"xv-table-v2-row",{"checked":[1540],"partial":[1540],"name":[1537],"value":[520],"hover":[1540],"readonly":[516],"required":[516],"disabled":[516],"header":[516],"variant":[1537]},null,{"checked":[{"checkedChangeHandle":0}]}],[1,"xv-tag-combobox",{"options":[16],"label":[1],"size":[1],"placeholder":[1],"allowCreate":[4,"allow-create"],"maxSuggestions":[2,"max-suggestions"],"disabled":[4],"loading":[4],"readonly":[4],"error":[8],"warning":[8],"helper":[1],"value":[16],"normalizedOptions":[32],"selected":[32],"inputValue":[32],"open":[32],"filtered":[32],"highlighted":[32],"focusInput":[64],"clear":[64]},null,{"options":[{"watchOptions":0}],"value":[{"watchValue":0}]}],[65,"xv-textarea",{"value":[1025],"name":[1],"label":[1],"placeholder":[1],"helper":[1],"info":[1],"error":[8],"warning":[8],"disabled":[4],"readonly":[4],"block":[4],"counterHide":[4,"counter-hide"],"noResize":[4,"no-resize"],"loading":[4],"max":[2],"rows":[2],"size":[513]}],[257,"xv-data-table",{"size":[1],"block":[520],"loading":[4],"columnWidths":[16],"multiple":[516],"hover":[4],"reorderable":[516],"reorderHandle":[513,"reorder-handle"]},null,{"reorderable":[{"reorderableChanged":0}],"reorderHandle":[{"reorderHandleChanged":0}]}],[257,"xv-dropdown-v2-item",{"disabled":[4],"value":[1544],"selected":[1540],"multiple":[516],"size":[513]},[[0,"click","handleClick"]]],[1,"xv-geo-map-v2",{"apiBase":[1,"api-base"],"indicator":[1],"indicatorLabel":[1,"indicator-label"],"level":[1],"resolution":[1],"styleUrl":[1,"style-url"],"language":[1],"tiles":[1],"attribution":[1],"centerLng":[2,"center-lng"],"centerLat":[2,"center-lat"],"zoom":[2],"selectZoom":[2,"select-zoom"],"workerUrl":[1,"worker-url"],"lazy":[4],"showSearch":[4,"show-search"],"ready":[32],"loadError":[32],"zoomGated":[32],"searchResults":[32],"searchQuery":[32],"selectByRadius":[64],"selectPostalCodes":[64],"clearSelection":[64],"previewByRadius":[64],"previewPostalCodes":[64],"clearPreview":[64]},null,{"level":[{"levelChanged":0}],"selectZoom":[{"selectZoomChanged":0}],"showSearch":[{"showSearchChanged":0}]}],[257,"xv-image-viewer",{"src":[1],"fullscreenSrc":[1,"fullscreen-src"],"alt":[1],"placeholder":[1],"lazy":[4],"isFullscreen":[32],"loaded":[32],"fullscreenLoaded":[32],"errored":[32]}],[257,"xv-tab-v2",{"label":[513],"disabled":[516],"loading":[516],"name":[8]}],[257,"xv-table-v2",{"size":[513],"hover":[516],"loading":[516],"colsSize":[16],"selected":[32],"selectedCount":[32]},[[0,"checkedChange","handleCheckedChange"]],{"colsSize":[{"setColsSizeTemplate":0}]}],[257,"xv-tabs-v2",{"active":[1544],"loading":[516],"variant":[1],"emptyMessage":[1,"empty-message"],"hideSingleTab":[4,"hide-single-tab"],"tabElements":[32],"showArrows":[32]},[[9,"resize","updateArrowVisibility"]]],[257,"xv-accordion-v2",{"multiple":[4],"xvId":[1,"xv-id"],"value":[1025],"opened":[32],"toggleItem":[64]},null,{"value":[{"onValueChange":0}]}],[257,"xv-accordion-v2-item",{"disabled":[4],"label":[1],"value":[1],"isOpen":[32]},[[16,"accordionChange","handleAccordionChange"]]],[260,"xv-breadcrumbs-v2"],[257,"xv-button-group-v2",{"variant":[513],"multiple":[516],"value":[1025]},[[0,"click","handleClick"]],{"value":[{"onSelectionInputChange":0}],"multiple":[{"onSelectionInputChange":0}]}],[257,"xv-content-switcher-item-v2",{"value":[520],"label":[513],"icon":[513],"disabled":[516]}],[257,"xv-content-switcher-v2",{"selected":[1544],"size":[513],"iconOnly":[516,"icon-only"],"disabled":[516],"block":[516],"controlled":[516],"items":[32]}],[257,"xv-data-table-collapse",{"collapsed":[1540],"setCollapsed":[64]}],[0,"xv-footer",{"data":[32]},[[8,"xv:metaNav-update","handleLoadData"]]],[257,"xv-progress-indicator-v2",{"progress":[514],"variant":[1],"size":[1]},null,{"progress":[{"updateChildItems":0}]}],[257,"xv-progress-indicator-v2-item",{"status":[1]}],[324,"xv-radio-v2",{"name":[1],"value":[1],"label":[1],"checked":[1028],"indeterminate":[4],"block":[4],"disabled":[4],"required":[4],"reverse":[4],"readonly":[4],"error":[8],"warning":[520],"helper":[1],"size":[1]},null,{"checked":[{"onCheckedChange":0}]}],[65,"xv-slider-v2",{"label":[1],"name":[1],"min":[2],"max":[2],"value":[1026],"step":[2],"disabled":[4],"readonly":[4],"notEditable":[4,"not-editable"]}],[257,"xv-table-v2-expand",{"open":[1540],"disabled":[516]}],[260,"xv-tile",{"variant":[513],"label":[1],"error":[4],"multiple":[4],"disabled":[4],"block":[4],"name":[1],"message":[513],"value":[1025],"checked":[1028],"readonly":[1028]},[[4,"tileChange","tileChangeHandle"],[0,"click","handleClick"]]],[321,"xv-toggle",{"label":[1],"value":[1],"name":[1],"checked":[1540],"disabled":[4],"readonly":[4],"size":[513],"block":[4]}],[262,"xv-mega-menu",{"open":[1540],"activeItem":[32],"activeGroup":[32],"menuItems":[32],"applicationContext":[32],"menuLoading":[32]},[[4,"click","handleClickOutside"]]],[257,"xv-data-table-cell",{"name":[1025],"sort":[1537],"multiline":[520],"width":[1],"align":[1],"tooltip":[1]},[[0,"click","handleSort"]]],[257,"xv-table-v2-cell",{"multiline":[516],"name":[1537],"align":[513],"sort":[1537]},[[0,"click","handleSort"]]],[2,"xv-login-modal",{"visible":[4],"urls":[32],"loading":[32],"errorMessage":[32]}],[257,"xv-overflow-menu-v2",{"open":[1540],"disabled":[516],"position":[1],"alignment":[1],"size":[1],"tooltip":[1],"anchor":[1],"activeId":[32],"openMenu":[64],"closeMenu":[64],"toggleMenu":[64]},[[0,"keydown","handleKeyDown"]],{"open":[{"openChangeHandle":0}],"anchor":[{"anchorChangeHandle":0}]}],[257,"xv-overflow-menu-v2-item",{"disabled":[516],"value":[520],"variant":[513],"clickable":[4],"href":[1],"target":[1],"divider":[516],"hasIcon":[32],"hasIconEnd":[32]},[[0,"click","handleClick"]]],[257,"xv-toggle-tip",{"open":[1540],"autoSize":[516,"auto-size"],"block":[4],"position":[1],"setPopover":[64]},[[4,"click","handleClickOutside"],[0,"keydown","handleKeyDown"]],{"open":[{"openChangeHandle":0}]}],[257,"xv-modal-v2",{"open":[1540],"permanent":[516],"size":[513],"overflow":[516],"loading":[4],"openModal":[64],"closeModal":[64]}],[257,"xv-link-v2",{"href":[1],"target":[1],"disabled":[4],"size":[1],"variant":[1]}],[257,"xv-notification-v2",{"variant":[513],"dismissible":[516]}],[65,"xv-text-input-v2",{"type":[1],"label":[1],"placeholder":[513],"name":[513],"value":[1025],"autocomplete":[1],"helper":[1],"error":[8],"warning":[8],"readonly":[4],"disabled":[4],"loading":[4],"block":[516],"clearable":[516],"size":[513],"isPasswordVisible":[32]}],[257,"xv-card-v2",{"variant":[1],"media":[1],"header":[1],"body":[1],"footer":[1]}],[321,"xv-checkbox-v2",{"checked":[1540],"indeterminate":[516],"disabled":[516],"name":[513],"value":[513],"readonly":[516],"required":[516],"partial":[516],"label":[1],"size":[513],"error":[520],"align":[513],"hasFocus":[32]},null,{"checked":[{"onCheckedChange":0}]}],[257,"xv-tag-v2",{"size":[1],"color":[1],"bg":[1],"disabled":[4],"closeable":[4]}],[260,"xv-tooltip-v2",{"message":[1],"position":[1],"block":[4],"dashed":[4]},[[1,"mouseenter","onMouseEnter"],[1,"mouseleave","onMouseLeave"]]],[321,"xv-button-v2",{"value":[513],"name":[1],"label":[513],"variant":[513],"size":[513],"disabled":[516],"loading":[516],"block":[516],"type":[513],"active":[516],"hasLeftIcon":[32],"hasRightIcon":[32],"hasContent":[32]}],[257,"xv-loader-v2",{"show":[4],"variant":[1],"size":[1]}]]],["p-fbd8ca68",[[0,"xv-header-next",{"menuData":[1,"menu-data"],"currentLocale":[1,"current-locale"],"locales":[1],"metaNav":[32],"orgUnit":[32],"baseUrl":[32],"loading":[32],"mobMenuOpen":[32],"suggestions":[32],"suggestionsLoading":[32],"notifications":[32],"showLoginModal":[32]},[[8,"xv:orgUnitChange","handleOrgUnitChange"],[8,"xv:metaNav-update","metaNavUpdate"]]]]],["p-3dd10203",[[0,"xv-footer-next",{"footerData":[1,"footer-data"],"data":[32]},[[8,"xv:metaNav-update","handleLoadData"]],{"footerData":[{"onFooterDataChange":0}]}]]],["p-ec19bcc7",[[262,"xv-mega-menu-next",{"open":[1540],"menuData":[1,"menu-data"],"activeItem":[32],"activeGroup":[32],"menuItems":[32],"applicationContext":[32],"menuLoading":[32]},[[4,"click","handleClickOutside"]],{"menuData":[{"onMenuDataChange":0}]}]]]]'),e))));
|