@telesign/boreal-web-components 0.1.0-alpha.1 → 0.1.0-alpha.2
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/components-build/bds-banner.js +1 -1
- package/components-build/bds-button.d.ts +11 -0
- package/components-build/bds-button.js +1 -0
- package/components-build/bds-typography.js +1 -1
- package/components-build/index.js +1 -1
- package/components-build/p-Ba6iHqJA.js +1 -0
- package/components-build/p-DQR-jjOl.js +1 -0
- package/custom-elements.json +352 -2
- package/dist/boreal-web-components/boreal-web-components.esm.js +1 -1
- package/dist/boreal-web-components/boreal-web-components.js +1 -1
- package/dist/boreal-web-components/p-08bd6bed.system.entry.js +1 -0
- package/dist/boreal-web-components/p-1575fe61.system.entry.js +1 -0
- package/dist/boreal-web-components/p-657c12a3.system.entry.js +1 -0
- package/dist/boreal-web-components/p-66bb3c44.entry.js +1 -0
- package/dist/boreal-web-components/p-742f39ef.entry.js +1 -0
- package/dist/boreal-web-components/p-BG1kmb4c.system.js +1 -0
- package/dist/boreal-web-components/p-B_tL_RWF.system.js +2 -0
- package/dist/boreal-web-components/p-Ba6iHqJA.js +1 -0
- package/dist/boreal-web-components/p-DIvR9Mw7.system.js +1 -0
- package/dist/boreal-web-components/p-DKPZ4_C0.system.js +1 -0
- package/dist/boreal-web-components/p-DQR-jjOl.js +1 -0
- package/dist/boreal-web-components/p-DQvmq159.js +2 -0
- package/dist/boreal-web-components/p-e4a075ba.entry.js +1 -0
- package/dist/cjs/{attributes-RPVEtBdj.js → attributes-D0WPida0.js} +0 -9
- package/dist/cjs/bds-banner.cjs.entry.js +4 -3
- package/dist/cjs/bds-button.cjs.entry.js +185 -0
- package/dist/cjs/bds-typography.cjs.entry.js +10 -9
- package/dist/cjs/boreal-web-components.cjs.js +2 -2
- package/dist/cjs/{index-Cdb66Tqj.js → index-C9JKWXwa.js} +41 -4
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/states-C03fKOhs.js +12 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/actions/bds-button/bds-button.css +479 -0
- package/dist/collection/components/actions/bds-button/bds-button.js +459 -0
- package/dist/collection/components/actions/bds-button/types/IButton.js +1 -0
- package/dist/collection/components/actions/bds-button/types/enum.js +15 -0
- package/dist/collection/components/actions/bds-button/types/types.js +1 -0
- package/dist/collection/components/titles-text/bds-typography/bds-typography.js +5 -5
- package/dist/collection/components/titles-text/bds-typography/utils/bds-typography-utils.js +5 -5
- package/dist/collection/types/coreColors.js +6 -0
- package/dist/collection/types/states.js +1 -1
- package/dist/collection/utils/helpers/validateProps.js +16 -0
- package/dist/esm/{attributes-B9wshZ_4.js → attributes-Ba6iHqJA.js} +1 -8
- package/dist/esm/bds-banner.entry.js +3 -2
- package/dist/esm/bds-button.entry.js +183 -0
- package/dist/esm/bds-typography.entry.js +10 -9
- package/dist/esm/boreal-web-components.js +3 -3
- package/dist/esm/{index-DgFiTd6X.js → index-DQvmq159.js} +41 -4
- package/dist/esm/loader.js +3 -3
- package/dist/esm/states-DQR-jjOl.js +9 -0
- package/{components-build/p-B9wshZ_4.js → dist/esm-es5/attributes-Ba6iHqJA.js} +1 -1
- package/dist/esm-es5/bds-banner.entry.js +1 -1
- package/dist/esm-es5/bds-button.entry.js +1 -0
- package/dist/esm-es5/bds-typography.entry.js +1 -1
- package/dist/esm-es5/boreal-web-components.js +1 -1
- package/dist/esm-es5/index-DQvmq159.js +2 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/states-DQR-jjOl.js +1 -0
- package/dist/types/components/actions/bds-button/bds-button.d.ts +90 -0
- package/dist/types/components/actions/bds-button/types/IButton.d.ts +14 -0
- package/dist/types/components/actions/bds-button/types/enum.d.ts +16 -0
- package/dist/types/components/actions/bds-button/types/types.d.ts +5 -0
- package/dist/types/components/titles-text/bds-typography/types/ITypography.d.ts +2 -2
- package/dist/types/components/titles-text/bds-typography/utils/bds-typography-utils.d.ts +2 -2
- package/dist/types/components.d.ts +269 -2
- package/dist/types/types/coreColors.d.ts +8 -0
- package/dist/types/types/states.d.ts +2 -2
- package/dist/types/utils/helpers/validateProps.d.ts +11 -0
- package/package.json +4 -3
- package/dist/boreal-web-components/p-69d89caa.entry.js +0 -1
- package/dist/boreal-web-components/p-B9wshZ_4.js +0 -1
- package/dist/boreal-web-components/p-BQdH0ijK.system.js +0 -2
- package/dist/boreal-web-components/p-CMd-Mv-5.system.js +0 -1
- package/dist/boreal-web-components/p-CaVEtaG3.system.js +0 -1
- package/dist/boreal-web-components/p-DgFiTd6X.js +0 -2
- package/dist/boreal-web-components/p-c3c558d2.system.entry.js +0 -1
- package/dist/boreal-web-components/p-d596406b.entry.js +0 -1
- package/dist/boreal-web-components/p-e37e7dba.system.entry.js +0 -1
- package/dist/esm-es5/attributes-B9wshZ_4.js +0 -1
- package/dist/esm-es5/index-DgFiTd6X.js +0 -2
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var t=(t,n)=>{var e;Object.entries(null!=(e=n.o.t)?e:{}).map((([e,[o]])=>{if(31&o||32&o){const o=t[e],s=function(t,n){for(;t;){const e=Object.getOwnPropertyDescriptor(t,n);if(null==e?void 0:e.get)return e;t=Object.getPrototypeOf(t)}}(Object.getPrototypeOf(t),e)||Object.getOwnPropertyDescriptor(t,e);s&&Object.defineProperty(t,e,{get(){return s.get.call(this)},set(t){s.set.call(this,t)},configurable:!0,enumerable:!0}),t[e]=n.i.has(e)?n.i.get(e):o}}))},n=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},e=(n,e)=>{e&&(n.__stencil__getHostRef=()=>e,e.l=n,512&e.o.u&&t(n,e))},o=(t,n)=>n in t,s=(t,n)=>(0,console.error)(t,n),i=new Map,l=new Map,r="slot-fb{display:contents}slot-fb[hidden]{display:none}",c="http://www.w3.org/1999/xlink",u="undefined"!=typeof window?window:{},f=u.HTMLElement||class{},a={u:0,h:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,n,e,o)=>t.addEventListener(n,e,o),rel:(t,n,e,o)=>t.removeEventListener(n,e,o),ce:(t,n)=>new CustomEvent(t,n)},d=t=>Promise.resolve(t),h=(()=>{try{return!!u.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),p=!!h&&(()=>!!u.document&&Object.getOwnPropertyDescriptor(u.document.adoptedStyleSheets,"length").writable)(),v=!1,b=[],m=[],y=(t,n)=>e=>{t.push(e),v||(v=!0,n&&4&a.u?w($):a.raf($))},g=t=>{for(let n=0;n<t.length;n++)try{t[n](performance.now())}catch(t){s(t)}t.length=0},$=()=>{g(b),g(m),(v=b.length>0)&&a.raf($)},w=t=>d().then(t),j=y(m,!0),O=t=>{const n=G(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&N(n,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!C(t,x(t),!1).length)}));let e=0;for(e=0;e<n.length;e++){const t=n[e];1===t.nodeType&&G(t,"childNodes").length&&O(t)}},S=t=>{const n=[];for(let e=0;e<t.length;e++){const o=t[e]["s-nr"]||void 0;o&&o.isConnected&&n.push(o)}return n};function N(t,n,e){let o,s=0,i=[];for(;s<t.length;s++){if(o=t[s],o["s-sr"]&&(!n||o["s-hn"]===n)&&(void 0===e||x(o)===e)&&(i.push(o),void 0!==e))return i;i=[...i,...N(o.childNodes,n,e)]}return i}var C=(t,n,e=!0)=>{const o=[];(e&&t["s-sr"]||!t["s-sr"])&&o.push(t);let s=t;for(;s=s.nextSibling;)x(s)!==n||!e&&s["s-sr"]||o.push(s);return o},k=(t,n)=>1===t.nodeType?null===t.getAttribute("slot")&&""===n||t.getAttribute("slot")===n:t["s-sn"]===n||""===n,E=(t,n,e)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const o=document.createTextNode("");if(o["s-nr"]=t,!n["s-cr"]||!n["s-cr"].parentNode)return;const s=n["s-cr"].parentNode;G(s,e?"prepend":"appendChild").call(s,o),t["s-ol"]=o,t["s-sh"]=n["s-hn"]},x=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function M(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}function T(t,n){var e;if(!(n=n||(null==(e=t["s-ol"])?void 0:e.parentElement)))return{slotNode:null,slotName:""};const o=t["s-sn"]=x(t)||"";return{slotNode:N(G(n,"childNodes"),n.tagName,o)[0],slotName:o}}var R=t=>{if(t.__cloneNode)return;const n=t.__cloneNode=t.cloneNode;t.cloneNode=function(t){const e=n.call(this,!1);if(t){let t,n,o=0;const s=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si","s-rf","s-scs"],i=this.__childNodes||this.childNodes;for(;o<i.length;o++)t=i[o]["s-nr"],n=s.every((t=>!i[o][t])),t&&(e.__appendChild?e.__appendChild(t.cloneNode(!0)):e.appendChild(t.cloneNode(!0))),n&&e.appendChild(i[o].cloneNode(!0))}return e}},A=t=>{t.__appendChild||(t.__appendChild=t.appendChild,t.appendChild=function(t){const{slotName:n,slotNode:e}=T(t,this);if(e){E(t,e);const o=C(e,n),s=o[o.length-1],i=G(s,"parentNode"),l=G(i,"insertBefore")(t,s.nextSibling);return M(e),O(this),l}return this.__appendChild(t)})},L=t=>{t.__removeChild||(t.__removeChild=t.removeChild,t.removeChild=function(t){return t&&void 0!==t["s-sn"]&&N(this.__childNodes||this.childNodes,this.tagName,t["s-sn"])&&t.isConnected?(t.remove(),void O(this)):this.__removeChild(t)})},_=t=>{t.__prepend||(t.__prepend=t.prepend,t.prepend=function(...n){n.forEach((n=>{"string"==typeof n&&(n=this.ownerDocument.createTextNode(n));const e=(n["s-sn"]=x(n))||"",o=N(G(this,"childNodes"),this.tagName,e)[0];if(o){E(n,o,!0);const t=C(o,e)[0],s=G(t,"parentNode"),i=G(s,"insertBefore")(n,G(t,"nextSibling"));return M(o),i}return 1===n.nodeType&&n.getAttribute("slot")&&(n.hidden=!0),t.__prepend(n)}))})},F=t=>{t.__append||(t.__append=t.append,t.append=function(...t){t.forEach((t=>{"string"==typeof t&&(t=this.ownerDocument.createTextNode(t)),this.appendChild(t)}))})},P=t=>{if(t.__insertAdjacentHTML)return;const n=t.insertAdjacentHTML;t.insertAdjacentHTML=function(t,e){if("afterbegin"!==t&&"beforeend"!==t)return n.call(this,t,e);const o=this.ownerDocument.createElement("_");let s;if(o.innerHTML=e,"afterbegin"===t)for(;s=o.firstChild;)this.prepend(s);else if("beforeend"===t)for(;s=o.firstChild;)this.append(s)}},B=t=>{t.insertAdjacentText=function(t,n){this.insertAdjacentHTML(t,n)}},D=t=>{t.__insertBefore||t.__insertBefore||(t.__insertBefore=t.insertBefore,t.insertBefore=function(t,n){const{slotName:e,slotNode:o}=T(t,this),s=this.__childNodes?this.childNodes:S(this.childNodes);if(o){let i=!1;if(s.forEach((s=>{if(s!==n&&null!==n);else{if(i=!0,null===n||e!==n["s-sn"])return void this.appendChild(t);if(e===n["s-sn"]){E(t,o);const e=G(n,"parentNode");G(e,"insertBefore")(t,n),M(o)}}})),i)return t}const i=null==n?void 0:n.__parentNode;return i&&!this.isSameNode(i)?this.appendChild(t):this.__insertBefore(t,n)})},U=t=>{if(t.__insertAdjacentElement)return;const n=t.insertAdjacentElement;t.insertAdjacentElement=function(t,e){return"afterbegin"!==t&&"beforeend"!==t?n.call(this,t,e):"afterbegin"===t?(this.prepend(e),e):"beforeend"===t?(this.append(e),e):e}},W=t=>{Y("textContent",t),Object.defineProperty(t,"textContent",{get:function(){let t="";return(this.__childNodes?this.childNodes:S(this.childNodes)).forEach((n=>t+=n.textContent||"")),t},set:function(t){(this.__childNodes?this.childNodes:S(this.childNodes)).forEach((t=>{t["s-ol"]&&t["s-ol"].remove(),t.remove()})),this.insertAdjacentHTML("beforeend",t)}})},z=t=>{class n extends Array{item(t){return this[t]}}Y("children",t),Object.defineProperty(t,"children",{get(){return this.childNodes.filter((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get(){return this.children.length}}),Y("firstChild",t),Object.defineProperty(t,"firstChild",{get(){return this.childNodes[0]}}),Y("lastChild",t),Object.defineProperty(t,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]}}),Y("childNodes",t),Object.defineProperty(t,"childNodes",{get(){const t=new n;return t.push(...S(this.__childNodes)),t}})},H=t=>{t&&!t.__parentNode&&(Y("parentNode",t),Object.defineProperty(t,"parentNode",{get:function(){var t;return(null==(t=this["s-ol"])?void 0:t.parentNode)||this.__parentNode},set:function(t){this.__parentNode=t}}))},V=["children","nextElementSibling","previousElementSibling"],q=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function Y(t,n){if(!globalThis.Node||!globalThis.Element)return;let e;V.includes(t)?e=Object.getOwnPropertyDescriptor(Element.prototype,t):q.includes(t)&&(e=Object.getOwnPropertyDescriptor(Node.prototype,t)),e||(e=Object.getOwnPropertyDescriptor(n,t)),e&&Object.defineProperty(n,"__"+t,e)}function G(t,n){if("__"+n in t){const e=t["__"+n];return"function"!=typeof e?e:e.bind(t)}return"function"!=typeof t[n]?t[n]:t[n].bind(t)}function I(t){var n,e,o;return null!=(o=null==(e=null==(n=t.head)?void 0:n.querySelector('meta[name="csp-nonce"]'))?void 0:e.getAttribute("content"))?o:void 0}var Z,J,K=new WeakMap,Q=t=>"sc-"+t.p,X=t=>"object"==(t=typeof t)||"function"===t,tt=(t,n,...e)=>{let o=null,s=null,i=null,l=!1,r=!1;const c=[],u=n=>{for(let e=0;e<n.length;e++)o=n[e],Array.isArray(o)?u(o):null!=o&&"boolean"!=typeof o&&((l="function"!=typeof t&&!X(o))&&(o+=""),l&&r?c[c.length-1].v+=o:c.push(l?nt(null,o):o),r=l)};if(u(e),n){n.key&&(s=n.key),n.name&&(i=n.name);{const t=n.className||n.class;t&&(n.class="object"!=typeof t?t:Object.keys(t).filter((n=>t[n])).join(" "))}}if("function"==typeof t)return t(null===n?{}:n,c,ot);const f=nt(t,null);return f.m=n,c.length>0&&(f.$=c),f.j=s,f.O=i,f},nt=(t,n)=>({u:0,S:t,v:null!=n?n:null,N:null,$:null,m:null,j:null,O:null}),et={},ot={forEach:(t,n)=>t.map(st).forEach(n),map:(t,n)=>t.map(st).map(n).map(it)},st=t=>({vattrs:t.m,vchildren:t.$,vkey:t.j,vname:t.O,vtag:t.S,vtext:t.v}),it=t=>{if("function"==typeof t.vtag){const n={...t.vattrs};return t.vkey&&(n.key=t.vkey),t.vname&&(n.name=t.vname),tt(t.vtag,n,...t.vchildren||[])}const n=nt(t.vtag,t.vtext);return n.m=t.vattrs,n.$=t.vchildren,n.j=t.vkey,n.O=t.vname,n},lt=(t,n)=>null==t||X(t)?t:4&n?"false"!==t&&(""===t||!!t):2&n?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&n?t+"":t,rt=t=>{var e;return null==(e=n(t))?void 0:e.$hostElement$},ct=(t,n)=>{const e=rt(t);return{emit:t=>ut(e,n,{bubbles:!0,composed:!0,cancelable:!0,detail:t})}},ut=(t,n,e)=>{const o=a.ce(n,e);return t.dispatchEvent(o),o},ft=(t,e,s,i,l,r)=>{if(s===i)return;let f=o(t,e),d=e.toLowerCase();if("class"===e){const n=t.classList,e=dt(s);let o=dt(i);n.remove(...e.filter((t=>t&&!o.includes(t)))),n.add(...o.filter((t=>t&&!e.includes(t))))}else if("style"===e){for(const n in s)i&&null!=i[n]||(n.includes("-")?t.style.removeProperty(n):t.style[n]="");for(const n in i)s&&i[n]===s[n]||(n.includes("-")?t.style.setProperty(n,i[n]):t.style[n]=i[n])}else if("key"===e);else if("ref"===e)i&&Lt(i,t);else if(f||"o"!==e[0]||"n"!==e[1]){if("a"===e[0]&&e.startsWith("attr:")){const o=e.slice(5);let s;{const e=n(t);if(e&&e.o&&e.o.t){const t=e.o.t[o];t&&t[1]&&(s=t[1])}}return s||(s=o.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==i||!1===i?!1===i&&""!==t.getAttribute(s)||t.removeAttribute(s):t.setAttribute(s,!0===i?"":i))}if("p"===e[0]&&e.startsWith("prop:")){const n=e.slice(5);try{t[n]=i}catch(t){}return}{const n=X(i);if(f||n&&null!==i)try{if(t.tagName.includes("-"))t[e]!==i&&(t[e]=i);else{const n=null==i?"":i;"list"===e?f=!1:null!=s&&t[e]===n||("function"==typeof t.__lookupSetter__(e)?t[e]=n:t.setAttribute(e,n))}}catch(t){}let o=!1;d!==(d=d.replace(/^xlink\:?/,""))&&(e=d,o=!0),null==i||!1===i?!1===i&&""!==t.getAttribute(e)||(o?t.removeAttributeNS(c,e):t.removeAttribute(e)):(!f||4&r||l)&&!n&&1===t.nodeType&&(i=!0===i?"":i,o?t.setAttributeNS(c,e,i):t.setAttribute(e,i))}}else if(e="-"===e[2]?e.slice(3):o(u,d)?d.slice(2):d[2]+e.slice(3),s||i){const n=e.endsWith(ht);e=e.replace(pt,""),s&&a.rel(t,e,s,n),i&&a.ael(t,e,i,n)}},at=/\s/,dt=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(at):[]),ht="Capture",pt=RegExp(ht+"$"),vt=(t,n,e)=>{const o=11===n.N.nodeType&&n.N.host?n.N.host:n.N,s=t&&t.m||{},i=n.m||{};for(const t of bt(Object.keys(s)))t in i||ft(o,t,s[t],void 0,e,n.u);for(const t of bt(Object.keys(i)))ft(o,t,s[t],i[t],e,n.u)};function bt(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var mt=!1,yt=!1,gt=!1,$t=!1,wt=[],jt=[],Ot=(t,n,e)=>{var o;const s=n.$[e];let i,l,r,c=0;if(mt||(gt=!0,"slot"===s.S&&(s.u|=s.$?2:1)),null!=s.v)i=s.N=u.document.createTextNode(s.v);else if(1&s.u)i=s.N=u.document.createTextNode(""),vt(null,s,$t);else{if(!u.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(i=s.N=u.document.createElement(!mt&&2&s.u?"slot-fb":s.S),vt(null,s,$t),s.$){const n="template"===s.S?i.content:i;for(c=0;c<s.$.length;++c)l=Ot(t,s,c),l&&n.appendChild(l)}}return i["s-hn"]=J,3&s.u&&(i["s-sr"]=!0,i["s-cr"]=Z,i["s-sn"]=s.O||"",i["s-rf"]=null==(o=s.m)?void 0:o.ref,function(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const n=n=>function(t){const e=[],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 s=this["s-cr"].parentElement;return(s.__childNodes?s.childNodes:S(s.childNodes)).forEach((t=>{o===x(t)&&e.push(t)})),n?e.filter((t=>1===t.nodeType)):e}.bind(t);t.assignedElements=n(!0),t.assignedNodes=n(!1)}(i),r=t&&t.$&&t.$[e],r&&r.S===s.S&&t.N&&St(t.N)),i},St=t=>{a.u|=1;const n=t.closest(J.toLowerCase());if(null!=n){const e=Array.from(n.__childNodes||n.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of e?o.reverse():o)null!=t["s-sh"]&&(_t(n,t,null!=e?e:null),t["s-sh"]=void 0,gt=!0)}a.u&=-2},Nt=(t,n)=>{a.u|=1;const e=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let n=t;for(;n=n.nextSibling;)n&&n["s-sn"]===t["s-sn"]&&n["s-sh"]===J&&e.push(n)}for(let t=e.length-1;t>=0;t--){const o=e[t];o["s-hn"]!==J&&o["s-ol"]&&(_t(xt(o).parentNode,o,xt(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,gt=!0),n&&Nt(o,n)}a.u&=-2},Ct=(t,n,e,o,s,i)=>{let l,r=t["s-cr"]&&t["s-cr"].parentNode||t;for("template"===e.S&&(r=r.content);s<=i;++s)o[s]&&(l=Ot(null,e,s),l&&(o[s].N=l,_t(r,l,xt(n))))},kt=(t,n,e)=>{for(let o=n;o<=e;++o){const n=t[o];if(n){const t=n.N;At(n),t&&(yt=!0,t["s-ol"]?t["s-ol"].remove():Nt(t,!0),t.remove())}}},Et=(t,n,e=!1)=>t.S===n.S&&("slot"===t.S?t.O===n.O:e?(e&&!t.j&&n.j&&(t.j=n.j),!0):t.j===n.j),xt=t=>t&&t["s-ol"]||t,Mt=(t,n,e=!1)=>{const o=n.N=t.N,s=t.$,i=n.$,l=n.v;let r;null==l?("slot"!==n.S||mt||t.O!==n.O&&(n.N["s-sn"]=n.O||"",St(n.N.parentElement)),vt(t,n,$t),null!==s&&null!==i?((t,n,e,o,s=!1)=>{let i,l,r=0,c=0,u=0,f=0,a=n.length-1,d=n[0],h=n[a],p=o.length-1,v=o[0],b=o[p];const m="template"===e.S?t.content:t;for(;r<=a&&c<=p;)if(null==d)d=n[++r];else if(null==h)h=n[--a];else if(null==v)v=o[++c];else if(null==b)b=o[--p];else if(Et(d,v,s))Mt(d,v,s),d=n[++r],v=o[++c];else if(Et(h,b,s))Mt(h,b,s),h=n[--a],b=o[--p];else if(Et(d,b,s))"slot"!==d.S&&"slot"!==b.S||Nt(d.N.parentNode,!1),Mt(d,b,s),_t(m,d.N,h.N.nextSibling),d=n[++r],b=o[--p];else if(Et(h,v,s))"slot"!==d.S&&"slot"!==b.S||Nt(h.N.parentNode,!1),Mt(h,v,s),_t(m,h.N,d.N),h=n[--a],v=o[++c];else{for(u=-1,f=r;f<=a;++f)if(n[f]&&null!==n[f].j&&n[f].j===v.j){u=f;break}u>=0?(l=n[u],l.S!==v.S?i=Ot(n&&n[c],e,u):(Mt(l,v,s),n[u]=void 0,i=l.N),v=o[++c]):(i=Ot(n&&n[c],e,c),v=o[++c]),i&&_t(xt(d.N).parentNode,i,xt(d.N))}r>a?Ct(t,null==o[p+1]?null:o[p+1].N,e,o,c,p):c>p&&kt(n,r,a)})(o,s,n,i,e):null!==i?(null!==t.v&&(o.textContent=""),Ct(o,null,n,i,0,i.length-1)):!e&&null!==s&&kt(s,0,s.length-1)):(r=o["s-cr"])?r.parentNode.textContent=l:t.v!==l&&(o.data=l)},Tt=[],Rt=t=>{let n,e,o;const s=t.__childNodes||t.childNodes;for(const t of s){if(t["s-sr"]&&(n=t["s-cr"])&&n.parentNode){e=n.parentNode.__childNodes||n.parentNode.childNodes;const s=t["s-sn"];for(o=e.length-1;o>=0;o--)if(n=e[o],!(n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||n["s-sh"]&&n["s-sh"]===t["s-hn"]))if(k(n,s)){let e=Tt.find((t=>t.C===n));yt=!0,n["s-sn"]=n["s-sn"]||s,e?(e.C["s-sh"]=t["s-hn"],e.k=t):(n["s-sh"]=t["s-hn"],Tt.push({k:t,C:n})),n["s-sr"]&&Tt.map((t=>{k(t.C,n["s-sn"])&&(e=Tt.find((t=>t.C===n)),e&&!t.k&&(t.k=e.k))}))}else Tt.some((t=>t.C===n))||Tt.push({C:n})}1===t.nodeType&&Rt(t)}},At=t=>{t.m&&t.m.ref&&wt.push((()=>t.m.ref(null))),t.$&&t.$.map(At)},Lt=(t,n)=>{jt.push((()=>t(n)))},_t=(t,n,e,o)=>{if("string"==typeof n["s-sn"]){11!==t.getRootNode().nodeType&&H(n),t.insertBefore(n,e);const{slotNode:s}=T(n);return s&&!o&&M(s),n}return t.__insertBefore?t.__insertBefore(n,e):null==t?void 0:t.insertBefore(n,e)},Ft=(t,n)=>{if(n&&!t.M&&n["s-p"]){const e=n["s-p"].push(new Promise((o=>t.M=()=>{n["s-p"].splice(e-1,1),o()})))}},Pt=(t,n)=>{if(t.u|=16,4&t.u)return void(t.u|=512);Ft(t,t.T);const e=()=>Bt(t,n);if(!n)return j(e);queueMicrotask((()=>{e()}))},Bt=(t,n)=>{const e=t.$hostElement$,o=t.l;if(!o)throw Error(`Can't render component <${e.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 s;return n?(t.R&&(t.R=!1,qt(o,"connectedCallback",void 0,e)),t.A.length&&t.A.forEach((t=>t(e))),s=qt(o,"componentWillLoad",void 0,e)):s=qt(o,"componentWillUpdate",void 0,e),s=Dt(s,(()=>qt(o,"componentWillRender",void 0,e))),Dt(s,(()=>Wt(t,o,n)))},Dt=(t,n)=>Ut(t)?t.then(n).catch((t=>{console.error(t),n()})):n(),Ut=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Wt=async(t,n,e)=>{var o;const s=t.$hostElement$,i=s["s-rc"];e&&(t=>{const n=t.o;((t,n)=>{var e,o,s;const i=Q(n),c=l.get(i);if(!u.document)return i;if(t=11===t.nodeType?t:u.document,c)if("string"==typeof c){let s,l=K.get(t=t.head||t);if(l||K.set(t,l=new Set),!l.has(i)){s=u.document.createElement("style"),s.textContent=c;const f=null!=(e=a.L)?e:I(u.document);if(null!=f&&s.setAttribute("nonce",f),!(1&n.u))if("HEAD"===t.nodeName){const n=t.querySelectorAll("link[rel=preconnect]"),e=n.length>0?n[n.length-1].nextSibling:t.querySelector("style");t.insertBefore(s,(null==e?void 0:e.parentNode)===t?e:null)}else if("host"in t)if(h){const n=new(null!=(o=t.defaultView)?o:t.ownerDocument.defaultView).CSSStyleSheet;n.replaceSync(c),p?t.adoptedStyleSheets.unshift(n):t.adoptedStyleSheets=[n,...t.adoptedStyleSheets]}else{const n=t.querySelector("style");n?n.textContent=c+n.textContent:t.prepend(s)}else t.append(s);1&n.u&&t.insertBefore(s,null),4&n.u&&(s.textContent+=r),l&&l.add(i)}}else{let n=K.get(t);if(n||K.set(t,n=new Set),!n.has(i)){const e=null!=(s=t.defaultView)?s:t.ownerDocument.defaultView;let o;if(c.constructor===e.CSSStyleSheet)o=c;else{o=new e.CSSStyleSheet;for(let t=0;t<c.cssRules.length;t++)o.insertRule(c.cssRules[t].cssText,t)}p?t.adoptedStyleSheets.push(o):t.adoptedStyleSheets=[...t.adoptedStyleSheets,o],n.add(i)}}})(t.$hostElement$.getRootNode(),n)})(t);zt(t,n,s,e),i&&(i.map((t=>t())),s["s-rc"]=void 0);{const n=null!=(o=s["s-p"])?o:[],e=()=>Ht(t);0===n.length?e():(Promise.all(n).then(e).catch(e),t.u|=4,n.length=0)}},zt=(t,n,e,o)=>{try{n=n.render(),t.u&=-17,t.u|=2,((t,n,e=!1)=>{var o,s,i,l,r;const c=t.$hostElement$,f=t.o,d=t._||nt(null,null),h=(t=>t&&t.S===et)(n)?n:tt(null,null,n);if(J=c.tagName,f.F&&(h.m=h.m||{},f.F.forEach((([t,n])=>{h.m[n]=c[t]}))),e&&h.m)for(const t of Object.keys(h.m))c.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(h.m[t]=c[t]);if(h.S=null,h.u|=4,t._=h,h.N=d.N=c,mt=!1,Z=c["s-cr"],yt=!1,Mt(d,h,e),a.u|=1,gt){Rt(h.N);for(const t of Tt){const n=t.C;if(!n["s-ol"]&&u.document){const t=u.document.createTextNode("");t["s-nr"]=n,_t(n.parentNode,n["s-ol"]=t,n,e)}}for(const t of Tt){const n=t.C,r=t.k;if(1===n.nodeType&&e&&(n["s-ih"]=null!=(o=n.hidden)&&o),r){const t=r.parentNode;let o=r.nextSibling;if(o&&1===o.nodeType){let e=null==(s=n["s-ol"])?void 0:s.previousSibling;for(;e;){let s=null!=(i=e["s-nr"])?i:null;if(s&&s["s-sn"]===n["s-sn"]&&t===(s.__parentNode||s.parentNode)){for(s=s.nextSibling;s===n||(null==s?void 0:s["s-sr"]);)s=null==s?void 0:s.nextSibling;if(!s||!s["s-nr"]){o=s;break}}e=e.previousSibling}}if((!o&&t!==(n.__parentNode||n.parentNode)||(n.__nextSibling||n.nextSibling)!==o)&&n!==o){if(_t(t,n,o,e),8===n.nodeType&&n.nodeValue.startsWith("s-nt-")){const t=u.document.createTextNode(n.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=n["s-hn"],t["s-sn"]=n["s-sn"],t["s-sh"]=n["s-sh"],t["s-sr"]=n["s-sr"],t["s-ol"]=n["s-ol"],t["s-ol"]["s-nr"]=t,_t(n.parentNode,t,n,e),n.parentNode.removeChild(n)}1===n.nodeType&&"SLOT-FB"!==n.tagName&&(n.hidden=null!=(l=n["s-ih"])&&l)}n&&"function"==typeof r["s-rf"]&&r["s-rf"](r)}else 1===n.nodeType&&(n.hidden=!0)}}if(yt&&O(h.N),a.u&=-2,Tt.length=0,!mt&&!(1&f.u)&&c["s-cr"]){const t=h.N.__childNodes||h.N.childNodes;for(const n of t)if(n["s-hn"]!==J&&!n["s-sh"])if(e&&null==n["s-ih"]&&(n["s-ih"]=null!=(r=n.hidden)&&r),1===n.nodeType)n.hidden=!0;else if(3===n.nodeType&&n.nodeValue.trim()){const t=u.document.createComment("s-nt-"+n.nodeValue);t["s-sn"]=n["s-sn"],_t(n.parentNode,t,n,e),n.parentNode.removeChild(n)}}Z=void 0,wt.forEach((t=>t())),wt.length=0,jt.forEach((t=>t())),jt.length=0})(t,n,o)}catch(n){s(n,t.$hostElement$)}return null},Ht=t=>{const n=t.$hostElement$,e=t.l,o=t.T;qt(e,"componentDidRender",void 0,n),64&t.u?qt(e,"componentDidUpdate",void 0,n):(t.u|=64,Yt(n),qt(e,"componentDidLoad",void 0,n),t.P(n),o||Vt()),t.B(n),t.M&&(t.M(),t.M=void 0),512&t.u&&w((()=>Pt(t,!1))),t.u&=-517},Vt=()=>{w((()=>ut(u,"appload",{detail:{namespace:"boreal-web-components"}})))},qt=(t,n,e,o)=>{if(t&&t[n])try{return t[n](e)}catch(t){s(t,o)}},Yt=t=>t.classList.add("hydrated"),Gt=(t,e,o,i)=>{const l=n(t);if(!l)return;if(!l)throw Error(`Couldn't find host element for "${i.p}" 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 r=l.$hostElement$,c=l.i.get(e),u=l.u,f=l.l;if(o=lt(o,i.t[e][0]),!(8&u&&void 0!==c||o===c||Number.isNaN(c)&&Number.isNaN(o))){if(l.i.set(e,o),i.D){const t=i.D[e];t&&t.map((t=>{try{const[[n,s]]=Object.entries(t);(128&u||1&s)&&(f?f[n](o,c,e):l.A.push((()=>{l.l[n](o,c,e)})))}catch(t){s(t,r)}}))}if(2&u){if(f.componentShouldUpdate&&!1===f.componentShouldUpdate(o,c,e)&&!(16&u))return;16&u||Pt(l,!1)}}},It=(t,e,o)=>{var s,i;const l=t.prototype;{t.watchers&&!e.D&&(e.D=t.watchers),t.deserializers&&!e.U&&(e.U=t.deserializers),t.serializers&&!e.W&&(e.W=t.serializers);const r=Object.entries(null!=(s=e.t)?s:{});if(r.map((([t,[s]])=>{if(31&s||2&o&&32&s){const{get:i,set:r}=Object.getOwnPropertyDescriptor(l,t)||{};i&&(e.t[t][0]|=2048),r&&(e.t[t][0]|=4096),(1&o||!i)&&Object.defineProperty(l,t,{get(){{if(!(2048&e.t[t][0]))return((t,e)=>n(this).i.get(e))(0,t);const o=n(this),s=o?o.l:l;if(!s)return;return s[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(l,t,{set(i){const l=n(this);if(l){if(r)return void 0===(32&s?this[t]:l.$hostElement$[t])&&l.i.get(t)&&(i=l.i.get(t)),r.call(this,lt(i,s)),void Gt(this,t,i=32&s?this[t]:l.$hostElement$[t],e);{if(!(1&o&&4096&e.t[t][0]))return Gt(this,t,i,e),void(1&o&&!l.l&&l.A.push((()=>{4096&e.t[t][0]&&l.l[t]!==l.i.get(t)&&(l.l[t]=i)})));const n=()=>{const n=l.l[t];!l.i.get(t)&&n&&l.i.set(t,n),l.l[t]=lt(i,s),Gt(this,t,l.l[t],e)};l.l?n():l.A.push((()=>{n()}))}}}})}else 1&o&&64&s&&Object.defineProperty(l,t,{value(...e){var o;const s=n(this);return null==(o=null==s?void 0:s.H)?void 0:o.then((()=>{var n;return null==(n=s.l)?void 0:n[t](...e)}))}})})),1&o){const o=new Map;l.attributeChangedCallback=function(t,s,i){a.jmp((()=>{var c;const u=o.get(t),f=n(this);if(this.hasOwnProperty(u)&&(i=this[u],delete this[u]),l.hasOwnProperty(u)&&"number"==typeof this[u]&&this[u]==i)return;if(null==u){const n=null==f?void 0:f.u;if(f&&n&&!(8&n)&&i!==s){const o=f.l,l=null==(c=e.D)?void 0:c[t];null==l||l.forEach((e=>{const[[l,r]]=Object.entries(e);null!=o[l]&&(128&n||1&r)&&o[l].call(o,i,s,t)}))}return}const a=r.find((([t])=>t===u));a&&4&a[1][0]&&(i=null!==i&&"false"!==i);const d=Object.getOwnPropertyDescriptor(l,u);i==this[u]||d.get&&!d.set||(this[u]=i)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(i=e.D)?i:{}),...r.filter((([t,n])=>31&n[0])).map((([t,n])=>{var s;const i=n[1]||t;return o.set(i,t),512&n[0]&&(null==(s=e.F)||s.push([t,i])),i}))]))}}return t},Zt=(t,n)=>{qt(t,"connectedCallback",void 0,n)},Jt=(t,n)=>{qt(t,"disconnectedCallback",void 0,n||t)},Kt=(t,e={})=>{var o;if(!u.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const c=[],f=e.exclude||[],d=u.customElements,p=u.document.head,v=p.querySelector("meta[charset]"),b=u.document.createElement("style"),m=[];let y,g=!0;Object.assign(a,e),a.h=new URL(e.resourcesUrl||"./",u.document.baseURI).href;let $=!1;if(t.map((t=>{t[1].map((e=>{var o,r,p;const v={u:e[0],p:e[1],t:e[2],V:e[3]};4&v.u&&($=!0),v.t=e[2],v.F=[],v.D=null!=(o=e[4])?o:{},v.W=null!=(r=e[5])?r:{},v.U=null!=(p=e[6])?p:{};const b=v.p,w=class extends HTMLElement{"s-p";"s-rc";hasRegisteredEventListeners=!1;constructor(t){super(t),((t,n)=>{const e={u:0,$hostElement$:t,o:n,i:new Map,q:new Map};e.H=new Promise((t=>e.B=t)),e.Y=new Promise((t=>e.P=t)),t["s-p"]=[],t["s-rc"]=[],e.A=[];const o=e;t.__stencil__getHostRef=()=>o})(t=this,v)}connectedCallback(){n(this)&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),y&&(clearTimeout(y),y=null),g?m.push(this):a.jmp((()=>(t=>{if(!(1&a.u)){const e=n(t);if(!e)return;const o=e.o,r=()=>{};if(1&e.u)(null==e?void 0:e.l)?Zt(e.l,t):(null==e?void 0:e.Y)&&e.Y.then((()=>Zt(e.l,t)));else{e.u|=1,12&o.u&&(t=>{if(!u.document)return;const n=t["s-cr"]=u.document.createComment("");n["s-cn"]=!0,_t(t,n,t.firstChild)})(t);{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){Ft(e,e.T=n);break}}o.t&&Object.entries(o.t).map((([n,[e]])=>{if(31&e&&n in t&&t[n]!==Object.prototype[n]){const e=t[n];delete t[n],t[n]=e}})),(async(t,n,e)=>{let o;try{if(!(32&n.u)){if(n.u|=32,e.G){const l=((t,n)=>{const e=t.p.replace(/-/g,"_"),o=t.G;if(!o)return;const l=i.get(o);return l?l[e]:import(`./${o}.entry.js`).then((t=>(i.set(o,t),t[e])),(t=>{s(t,n.$hostElement$)}))
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(e,n);if(l&&"then"in l){const t=()=>{};o=await l,t()}else o=l;if(!o)throw Error(`Constructor for "${e.p}#${n.I}" was not found`);o.isProxied||(e.D=o.watchers,e.W=o.serializers,e.U=o.deserializers,It(o,e,2),o.isProxied=!0);const r=()=>{};n.u|=8;try{new o(n)}catch(n){s(n,t)}n.u&=-9,n.u|=128,r(),4&e.u?n.R=!0:Zt(n.l,t)}else o=t.constructor,customElements.whenDefined(t.localName).then((()=>n.u|=128));if(o&&o.style){let t;"string"==typeof o.style&&(t=o.style);const n=Q(e);if(!l.has(n)){const o=()=>{};((t,n,e)=>{let o=l.get(t);h&&e?(o=o||new CSSStyleSheet,"string"==typeof o?o=n:o.replaceSync(n)):o=n,l.set(t,o)})(n,t,!!(1&e.u)),o()}}}const r=n.T,c=()=>Pt(n,!0);r&&r["s-rc"]?r["s-rc"].push(c):c()}catch(e){s(e,t),n.M&&(n.M(),n.M=void 0),n.P&&n.P(t)}})(t,e,o)}r()}})(this))))}disconnectedCallback(){a.jmp((()=>(async t=>{if(!(1&a.u)){const e=n(t);(null==e?void 0:e.l)?Jt(e.l,t):(null==e?void 0:e.Y)&&e.Y.then((()=>Jt(e.l,t)))}K.has(t)&&K.delete(t),t.shadowRoot&&K.has(t.shadowRoot)&&K.delete(t.shadowRoot)})(this))),a.raf((()=>{var t;const e=n(this);if(!e)return;const o=m.findIndex((t=>t===this));o>-1&&m.splice(o,1),(null==(t=null==e?void 0:e._)?void 0:t.N)instanceof Node&&!e._.N.isConnected&&delete e._.N}))}componentOnReady(){var t;return null==(t=n(this))?void 0:t.Y}};!(1&v.u)&&256&v.u?(t=>{R(t),A(t),F(t),_(t),U(t),P(t),B(t),D(t),W(t),z(t),L(t)})(w.prototype):R(w.prototype),v.G=t[0],f.includes(b)||d.get(b)||(c.push(b),d.define(b,It(w,v,1)))}))})),c.length>0&&($&&(b.textContent+=r),b.textContent+=c.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",b.innerHTML.length)){b.setAttribute("data-styles","");const t=null!=(o=a.L)?o:I(u.document);null!=t&&b.setAttribute("nonce",t),p.insertBefore(b,v?v.nextSibling:p.firstChild)}g=!1,m.length?m.map((t=>t.connectedCallback())):a.jmp((()=>y=setTimeout(Vt,30)))},Qt=t=>a.L=t;export{f as H,et as a,Kt as b,ct as c,rt as g,tt as h,d as p,e as r,Qt as s}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var e,r=1,a=arguments.length;r<a;r++){e=arguments[r];for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i))t[i]=e[i]}return t};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(t,e,r,a){function i(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,o){function n(t){try{h(a.next(t))}catch(t){o(t)}}function l(t){try{h(a["throw"](t))}catch(t){o(t)}}function h(t){t.done?r(t.value):i(t.value).then(n,l)}h((a=a.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},a,i,o,n=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return n.next=l(0),n["throw"]=l(1),n["return"]=l(2),typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function l(t){return function(e){return h([t,e])}}function h(l){if(a)throw new TypeError("Generator is already executing.");while(n&&(n=0,l[0]&&(r=0)),r)try{if(a=1,i&&(o=l[0]&2?i["return"]:l[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,l[1])).done)return o;if(i=0,o)l=[l[0]&2,o.value];switch(l[0]){case 0:case 1:o=l;break;case 4:r.label++;return{value:l[1],done:false};case 5:r.label++;i=l[1];l=[0];continue;case 7:l=r.ops.pop();r.trys.pop();continue;default:if(!(o=r.trys,o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){r.label=l[1];break}if(l[0]===6&&r.label<o[1]){r.label=o[1];o=l;break}if(o&&r.label<o[2]){r.label=o[2];r.ops.push(l);break}if(o[2])r.ops.pop();r.trys.pop();continue}l=e.call(t,r)}catch(t){l=[6,t];i=0}finally{a=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};System.register(["./p-BQdH0ijK.system.js","./p-CaVEtaG3.system.js"],(function(t,e){"use strict";var r,a,i,o,n,l;return{setters:[function(t){r=t.r;a=t.h;i=t.a;o=t.g},function(t){n=t.a;l=t.i}],execute:function(){var h={START:"start"};var s={XS:"xs",S:"sm",M:"md",L:"lg",XL:"xl"};var p={DISPLAY:"display",LINK:"link"};var y={P:"p",A:"a"};var g="download";var b={link:{states:[n.DISABLED],size:[s.S,s.M]},label:{states:[n.DISABLED],isRequired:true,canUseTooltip:true},heading:{canUseTooltip:true},subheading:{canUseTooltip:true},helper:{states:[n.ERROR]},display:{size:[s.XS,s.S,s.M,s.L,s.XL]}};var d=function(t,e){var r={a:{href:t.state!==n.DISABLED?t.sanitizedHref:null,target:t.target,download:t.isDownloadable?t.filename:null,rel:t.target==="_blank"?"noopener noreferrer":undefined},label:{htmlFor:t.htmlFor}};return r[e]||{}};var f=function(){return".bds-typography{-webkit-box-sizing:border-box;box-sizing:border-box;font-family:var(--boreal-typography-font-family-primary);font-weight:var(--boreal-typography-font-weight-regular)}.bds-typography__required-indicator{color:var(--boreal-icon-danger-base);font-weight:var(--boreal-typography-font-weight-regular)}.bds-typography__info-icon{color:var(--boreal-icon-default-light)}.bds-typography--heading,.bds-typography--subheading{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:var(--boreal-spacing-3xs)}.bds-typography--label{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;gap:var(--boreal-spacing-3xs)}.bds-typography--display{display:block}.bds-typography--caption,.bds-typography--helper,.bds-typography--link{display:inline-block}.bds-typography--caption{font-size:var(--boreal-typography-font-size-xs);font-weight:var(--boreal-typography-font-weight-regular);line-height:var(--boreal-typography-line-height-md);color:var(--boreal-text-default-light)}.bds-typography--helper{font-size:var(--boreal-typography-font-size-xs);font-weight:var(--boreal-typography-font-weight-regular);line-height:var(--boreal-typography-line-height-sm);color:var(--boreal-text-default-light)}.bds-typography--link{font-size:var(--boreal-typography-font-size-sm);font-weight:var(--boreal-typography-font-weight-regular);line-height:var(--boreal-typography-line-height-md);color:var(--boreal-text-primary-base);text-decoration:none}.bds-typography--link:hover{text-decoration:underline}.bds-typography--link:visited{color:var(--boreal-text-primary-base)}.bds-typography--link:active{color:var(--boreal-text-primary-dark)}.bds-typography--link.bds-typography--size-sm{font-size:var(--boreal-typography-font-size-xs)}.bds-typography--link.bds-typography--size-md{font-size:var(--boreal-typography-font-size-sm)}.bds-typography--code{font-family:var(--boreal-typography-font-family-secondary);font-size:var(--boreal-typography-font-size-xs);font-weight:var(--boreal-typography-font-weight-regular);color:var(--boreal-text-default);line-height:var(--boreal-typography-line-height-md);overflow-wrap:break-word;background-color:var(--boreal-bg-neutral);padding:var(--boreal-spacing-3xs) var(--boreal-spacing-xs);border-radius:var(--boreal-radius-xs);display:inline;box-decoration-break:clone;-webkit-box-decoration-break:clone}.bds-typography--label{font-size:var(--boreal-typography-font-size-xs);font-weight:var(--boreal-typography-font-weight-semibold);line-height:var(--boreal-typography-line-height-md);color:var(--boreal-text-default-darker)}.bds-typography--display{font-weight:var(--boreal-typography-font-weight-regular);color:var(--boreal-text-default)}.bds-typography--display.bds-typography--size-sm{font-size:var(--boreal-typography-font-size-xl);line-height:var(--boreal-typography-line-height-xl)}.bds-typography--display.bds-typography--size-md{font-size:var(--boreal-typography-font-size-2xl);line-height:var(--boreal-typography-line-height-2xl)}.bds-typography--display.bds-typography--size-lg{font-size:var(--boreal-typography-font-size-3xl);line-height:var(--boreal-typography-line-height-3xl);font-weight:var(--boreal-typography-font-weight-light)}.bds-typography--display.bds-typography--size-xl{font-size:var(--boreal-typography-font-size-4xl);line-height:var(--boreal-typography-line-height-4xl);font-weight:var(--boreal-typography-font-weight-light)}.bds-typography--heading{font-size:var(--boreal-typography-font-size-lg);line-height:var(--boreal-typography-line-height-lg);font-weight:var(--boreal-typography-font-weight-regular);color:var(--boreal-text-default)}.bds-typography h1.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-4xl);line-height:var(--boreal-typography-line-height-4xl)}.bds-typography h2.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-3xl);line-height:var(--boreal-typography-line-height-3xl)}.bds-typography h3.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-2xl);line-height:var(--boreal-typography-line-height-2xl)}.bds-typography h4.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-xl);line-height:var(--boreal-typography-line-height-xl)}.bds-typography h5.bds-typography--heading{font-weight:var(--boreal-typography-font-weight-regular);font-size:var(--boreal-typography-font-size-lg);line-height:var(--boreal-typography-line-height-lg)}.bds-typography h6.bds-typography--heading{font-size:var(--boreal-typography-font-size-md);font-weight:var(--boreal-typography-font-weight-semibold);line-height:var(--boreal-typography-line-height-md)}.bds-typography--subheading{font-size:var(--boreal-typography-font-size-md);line-height:var(--boreal-typography-line-height-md);font-weight:var(--boreal-typography-font-weight-semibold)}.bds-typography--align-start{text-align:start}.bds-typography--align-center{text-align:center}.bds-typography--align-end{text-align:end}.bds-typography--align-inherit{text-align:inherit}.bds-typography--error{color:var(--boreal-text-danger-base)}.bds-typography--disabled{color:var(--boreal-text-disabled);pointer-events:none;cursor:not-allowed}.bds-typography--disabled .bds-typography__required-indicator{color:var(--boreal-text-danger-light)}.bds-typography--ellipsis{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.bds-typography--ellipsis-multiline{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;white-space:normal;width:100%}"};var u=t("bds_typography",function(){function t(t){r(this,t);this.inheritedAttributes={};this.variant=p.DISPLAY;this.size=s.M;this.state=n.DEFAULT;this.customClass="";this.element=y.P;this.align=h.START;this.ellipsis=false;this.maxLines=1;this.tooltipText="";this.isRequired=false;this.htmlFor=undefined;this.href=null;this.target=null;this.isDownloadable=false;this.filename=g;this.sanitizedHref=""}t.prototype.updateSanitizedHref=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(r){switch(r.label){case 0:if(!(this.getTagName==="a"&&this.href!==null))return[3,2];return[4,e.import("./p-B-PpI2Xv.system.js").then((function(t){return t.i}))];case 1:t=r.sent().sanitizeUrl;this.sanitizedHref=t(this.href);return[3,3];case 2:this.sanitizedHref="";r.label=3;case 3:return[2]}}))}))};t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:if(!(this.getTagName===y.A&&this.href!==null))return[3,2];return[4,this.updateSanitizedHref()];case 1:t.sent();t.label=2;case 2:this.inheritedAttributes=__assign({},l(this.el));return[2]}}))}))};Object.defineProperty(t.prototype,"getTagName",{get:function(){if(this.variant===p.LINK)return y.A;return this.element.toLowerCase()},enumerable:false,configurable:true});t.prototype.getVariantConfig=function(){var t;return(t=b[this.variant])!==null&&t!==void 0?t:{}};t.prototype.getAccessibilityTags=function(){var t=this.getVariantConfig().isRequired,e=t===void 0?null:t;var r=["a","label"].includes(this.getTagName);return{"aria-required":this.isRequired&&e,"aria-disabled":this.state===n.DISABLED&&r}};t.prototype.getVariantStateStyles=function(){var t;var e=this.getVariantConfig();return t={},t["bds-typography--".concat(this.variant)]=true,t["bds-typography--align-".concat(this.align)]=true,t["bds-typography--".concat(this.state)]=!!((e===null||e===void 0?void 0:e.states)&&(e===null||e===void 0?void 0:e.states.includes(this.state))),t["bds-typography--size-".concat(this.size)]=!!((e===null||e===void 0?void 0:e.size)&&(e===null||e===void 0?void 0:e.size.includes(this.size))),t["bds-typography--required"]=!!((e===null||e===void 0?void 0:e.isRequired)&&this.isRequired),t["bds-typography--ellipsis"]=this.ellipsis&&this.maxLines<=1,t["bds-typography--ellipsis-multiline"]=this.ellipsis&&this.maxLines>1,t[this.customClass]=this.customClass!=="",t};t.prototype.render=function(){var t=this.getTagName;var e=__assign(__assign(__assign({},d(this,t)),this.inheritedAttributes),this.getAccessibilityTags());var r=this.getVariantStateStyles();var o=this.getVariantConfig(),n=o.canUseTooltip,l=n===void 0?null:n,h=o.isRequired,s=h===void 0?null:h;return a(i,{key:"e816237127a0bec2f223c3c11c405830b3bc530f",class:"bds-typography"},a(t,__assign({key:"5428ad8d55990feae5190e19c6372445f76d504b",class:r,style:{webkitLineClamp:this.maxLines}},e),a("slot",{key:"5f5b95afd7799c988607174d45dfdffe018438a8"}),this.isRequired&&s&&a("em",{key:"5d57fc3a0aed14887df9fb03f2b279204e99861c",class:"bds-typography__required-indicator","aria-hidden":"true"},"*"),this.tooltipText&&l&&a("em",{key:"9b89f3e48de66ebcd27755d9ec19ef261b73250e",class:"bds-typography__info-icon bds-icon-info-circle"})))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{href:[{updateSanitizedHref:0}]}},enumerable:false,configurable:true});return t}());u.style=f()}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r,c as a,h as e,a as s,g as n}from"./p-DgFiTd6X.js";import{S as o,i}from"./p-B9wshZ_4.js";const t=class{constructor(e){r(this,e),this.close=a(this,"close"),this.inheritedAttributes={},this.isClosing=!1,this.isOpen=!0,this.idComponent="",this.variant=o.INFO,this.enableClose=!1,this.handleAnimationEnd=()=>{this.isClosing&&requestAnimationFrame((()=>{this.isClosing=!1,this.isOpen=!1}))}}componentWillLoad(){var r;this.inheritedAttributes={...i(this.el),...(r=this,function(r){r.idComponent||(r.idComponent=`bds-${Math.random().toString(36).substr(2,9)}`)}(r),{id:r.idComponent})}}async closeBanner(){this.handleCloseBanner()}handleCloseBanner(r){void 0!==r&&r.preventDefault(),this.isClosing=!0,this.close.emit()}handleEscapeKeyClose(r){this.enableClose&&"Escape"===r.key&&this.handleCloseBanner()}getIconName(){const r={info:"bds-icon-info-circle-fill",success:"bds-icon-check-circle-fill",warning:"bds-icon-info-major-triangle-up-fill",danger:"bds-icon-alert-circle-fill"};return void 0===r[this.variant]?r.info:r[this.variant]}getAttributes(){return{...this.inheritedAttributes,role:"alert","aria-describedby":this.isOpen?"bds-banner__content":null,"aria-live":"polite","aria-hidden":`${!this.isOpen}`,tabIndex:this.isOpen?0:-1}}getStyles(){return{"bds-banner":!0,[`bds-banner--${this.variant}`]:!0,"bds-banner--closing":this.isClosing}}renderCloseIcon(){return e("button",{role:"close-button",class:"bds-banner__close-icon","aria-label":"Alert close button",onClick:r=>this.handleCloseBanner(r)},e("em",{class:"bds-icon-close"}))}render(){if(!this.isOpen)return;const r=this.renderCloseIcon(),a=this.getStyles(),n=this.getIconName();return e(s,{class:a,...this.getAttributes(),onTransitionEnd:this.handleAnimationEnd,onKeyDown:r=>this.handleEscapeKeyClose(r)},e("div",{class:"bds-banner__vertical-line"}),e("div",{class:"bds-banner__container"},e("div",{class:"bds-banner__status-icon",role:"status","aria-live":"polite","aria-label":`status ${this.variant}`},e("em",{"aria-hidden":"true",class:n})),e("div",{class:"bds-banner__content"},e("div",{class:"bds-banner__title"},e("slot",{name:"title"})),e("div",{class:"bds-banner__body"},e("slot",null)),e("div",{class:"bds-banner__actions"},e("slot",{name:"actions"}))),this.enableClose&&r))}get el(){return n(this)}};t.style=".bds-banner{position:relative;display:-ms-flexbox;display:flex;border:var(--boreal-spacing-4xs) solid var(--boreal-stroke-info-base);border-radius:var(--boreal-radius-xs);border-left:0;font-family:var(--boreal-typography-font-family-primary);height:100%;-webkit-transition:all 0.3s ease-out;transition:all 0.3s ease-out}.bds-banner__vertical-line{width:var(--boreal-spacing-2xs);border-top-left-radius:var(--boreal-radius-xs);border-bottom-left-radius:var(--boreal-radius-xs);background-color:var(--boreal-stroke-info-base)}.bds-banner__container{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;width:100%;gap:var(--boreal-spacing-xs);padding:var(--boreal-spacing-s)}.bds-banner__content{width:100%}.bds-banner__title{font-weight:var(--boreal-typography-font-weight-semibold);font-size:var(--boreal-typography-font-size-md);line-height:var(--boreal-typography-line-height-md)}.bds-banner__body{padding-top:var(--boreal-spacing-2xs);font-size:var(--boreal-typography-font-size-sm);line-height:var(--boreal-typography-line-height-sm)}.bds-banner__actions{padding-top:var(--boreal-spacing-s);min-height:0px}.bds-banner__actions:empty{display:none}.bds-banner__status-icon{font-size:var(--boreal-typography-font-size-md);line-height:var(--boreal-typography-line-height-md);margin-top:var(--boreal-spacing-3xs)}.bds-banner__close-icon{background:none;border:none;-ms-flex-item-align:start;align-self:start;font-size:var(--boreal-typography-font-size-md);line-height:var(--boreal-typography-line-height-md);color:var(--boreal-neutral-base);cursor:pointer}.bds-banner--info{border-color:var(--boreal-stroke-info-base);background-color:var(--boreal-ui-info-lighter)}.bds-banner--info .bds-banner__vertical-line{background-color:var(--boreal-stroke-info-base)}.bds-banner--info .bds-banner__status-icon{color:var(--boreal-stroke-info-base)}.bds-banner--success{border-color:var(--boreal-stroke-success-base);background-color:var(--boreal-ui-success-lighter)}.bds-banner--success .bds-banner__vertical-line{background-color:var(--boreal-stroke-success-base)}.bds-banner--success .bds-banner__status-icon{color:var(--boreal-stroke-success-base)}.bds-banner--warning{border-color:var(--boreal-stroke-warning);background-color:var(--boreal-ui-warning-lighter)}.bds-banner--warning .bds-banner__vertical-line{background-color:var(--boreal-stroke-warning)}.bds-banner--warning .bds-banner__status-icon{color:var(--boreal-stroke-warning)}.bds-banner--danger{border-color:var(--boreal-stroke-danger-base);background-color:var(--boreal-ui-danger-lighter)}.bds-banner--danger .bds-banner__vertical-line{background-color:var(--boreal-stroke-danger-base)}.bds-banner--danger .bds-banner__status-icon{color:var(--boreal-stroke-danger-base)}.bds-banner--closing{opacity:0;height:0}";export{t as bds_banner}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(n){for(var r,e=1,a=arguments.length;e<a;e++){r=arguments[e];for(var t in r)if(Object.prototype.hasOwnProperty.call(r,t))n[t]=r[t]}return n};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(n,r,e,a){function t(n){return n instanceof e?n:new e((function(r){r(n)}))}return new(e||(e=Promise))((function(e,i){function s(n){try{b(a.next(n))}catch(n){i(n)}}function o(n){try{b(a["throw"](n))}catch(n){i(n)}}function b(n){n.done?e(n.value):t(n.value).then(s,o)}b((a=a.apply(n,r||[])).next())}))};var __generator=this&&this.__generator||function(n,r){var e={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,t,i,s=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return s.next=o(0),s["throw"]=o(1),s["return"]=o(2),typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(n){return function(r){return b([n,r])}}function b(o){if(a)throw new TypeError("Generator is already executing.");while(s&&(s=0,o[0]&&(e=0)),e)try{if(a=1,t&&(i=o[0]&2?t["return"]:o[0]?t["throw"]||((i=t["return"])&&i.call(t),0):t.next)&&!(i=i.call(t,o[1])).done)return i;if(t=0,i)o=[o[0]&2,i.value];switch(o[0]){case 0:case 1:i=o;break;case 4:e.label++;return{value:o[1],done:false};case 5:e.label++;t=o[1];o=[0];continue;case 7:o=e.ops.pop();e.trys.pop();continue;default:if(!(i=e.trys,i=i.length>0&&i[i.length-1])&&(o[0]===6||o[0]===2)){e=0;continue}if(o[0]===3&&(!i||o[1]>i[0]&&o[1]<i[3])){e.label=o[1];break}if(o[0]===6&&e.label<i[1]){e.label=i[1];i=o;break}if(i&&e.label<i[2]){e.label=i[2];e.ops.push(o);break}if(i[2])e.ops.pop();e.trys.pop();continue}o=r.call(n,e)}catch(n){o=[6,n];t=0}finally{a=i=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-BQdH0ijK.system.js","./p-CaVEtaG3.system.js"],(function(n){"use strict";var r,e,a,t,i,s,o;return{setters:[function(n){r=n.r;e=n.c;a=n.h;t=n.a;i=n.g},function(n){s=n.S;o=n.i}],execute:function(){function b(n){if(!n.idComponent)n.idComponent="bds-".concat(Math.random().toString(36).substr(2,9))}function l(n){b(n);return{id:n.idComponent}}var c=function(){return".bds-banner{position:relative;display:-ms-flexbox;display:flex;border:var(--boreal-spacing-4xs) solid var(--boreal-stroke-info-base);border-radius:var(--boreal-radius-xs);border-left:0;font-family:var(--boreal-typography-font-family-primary);height:100%;-webkit-transition:all 0.3s ease-out;transition:all 0.3s ease-out}.bds-banner__vertical-line{width:var(--boreal-spacing-2xs);border-top-left-radius:var(--boreal-radius-xs);border-bottom-left-radius:var(--boreal-radius-xs);background-color:var(--boreal-stroke-info-base)}.bds-banner__container{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;width:100%;gap:var(--boreal-spacing-xs);padding:var(--boreal-spacing-s)}.bds-banner__content{width:100%}.bds-banner__title{font-weight:var(--boreal-typography-font-weight-semibold);font-size:var(--boreal-typography-font-size-md);line-height:var(--boreal-typography-line-height-md)}.bds-banner__body{padding-top:var(--boreal-spacing-2xs);font-size:var(--boreal-typography-font-size-sm);line-height:var(--boreal-typography-line-height-sm)}.bds-banner__actions{padding-top:var(--boreal-spacing-s);min-height:0px}.bds-banner__actions:empty{display:none}.bds-banner__status-icon{font-size:var(--boreal-typography-font-size-md);line-height:var(--boreal-typography-line-height-md);margin-top:var(--boreal-spacing-3xs)}.bds-banner__close-icon{background:none;border:none;-ms-flex-item-align:start;align-self:start;font-size:var(--boreal-typography-font-size-md);line-height:var(--boreal-typography-line-height-md);color:var(--boreal-neutral-base);cursor:pointer}.bds-banner--info{border-color:var(--boreal-stroke-info-base);background-color:var(--boreal-ui-info-lighter)}.bds-banner--info .bds-banner__vertical-line{background-color:var(--boreal-stroke-info-base)}.bds-banner--info .bds-banner__status-icon{color:var(--boreal-stroke-info-base)}.bds-banner--success{border-color:var(--boreal-stroke-success-base);background-color:var(--boreal-ui-success-lighter)}.bds-banner--success .bds-banner__vertical-line{background-color:var(--boreal-stroke-success-base)}.bds-banner--success .bds-banner__status-icon{color:var(--boreal-stroke-success-base)}.bds-banner--warning{border-color:var(--boreal-stroke-warning);background-color:var(--boreal-ui-warning-lighter)}.bds-banner--warning .bds-banner__vertical-line{background-color:var(--boreal-stroke-warning)}.bds-banner--warning .bds-banner__status-icon{color:var(--boreal-stroke-warning)}.bds-banner--danger{border-color:var(--boreal-stroke-danger-base);background-color:var(--boreal-ui-danger-lighter)}.bds-banner--danger .bds-banner__vertical-line{background-color:var(--boreal-stroke-danger-base)}.bds-banner--danger .bds-banner__status-icon{color:var(--boreal-stroke-danger-base)}.bds-banner--closing{opacity:0;height:0}"};var u=n("bds_banner",function(){function n(n){var a=this;r(this,n);this.close=e(this,"close");this.inheritedAttributes={};this.isClosing=false;this.isOpen=true;this.idComponent="";this.variant=s.INFO;this.enableClose=false;this.handleAnimationEnd=function(){if(a.isClosing)requestAnimationFrame((function(){a.isClosing=false;a.isOpen=false}))}}n.prototype.componentWillLoad=function(){this.inheritedAttributes=__assign(__assign({},o(this.el)),l(this))};n.prototype.closeBanner=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){this.handleCloseBanner();return[2]}))}))};n.prototype.handleCloseBanner=function(n){if(n!==undefined)n.preventDefault();this.isClosing=true;this.close.emit()};n.prototype.handleEscapeKeyClose=function(n){if(!this.enableClose)return;if(n.key==="Escape")this.handleCloseBanner()};n.prototype.getIconName=function(){var n={info:"bds-icon-info-circle-fill",success:"bds-icon-check-circle-fill",warning:"bds-icon-info-major-triangle-up-fill",danger:"bds-icon-alert-circle-fill"};if(n[this.variant]===undefined)return n["info"];return n[this.variant]};n.prototype.getAttributes=function(){return __assign(__assign({},this.inheritedAttributes),{role:"alert","aria-describedby":this.isOpen?"bds-banner__content":null,"aria-live":"polite","aria-hidden":"".concat(!this.isOpen),tabIndex:this.isOpen?0:-1})};n.prototype.getStyles=function(){var n;return n={"bds-banner":true},n["bds-banner--".concat(this.variant)]=true,n["bds-banner--closing"]=this.isClosing,n};n.prototype.renderCloseIcon=function(){var n=this;return a("button",{role:"close-button",class:"bds-banner__close-icon","aria-label":"Alert close button",onClick:function(r){return n.handleCloseBanner(r)}},a("em",{class:"bds-icon-close"}))};n.prototype.render=function(){var n=this;if(!this.isOpen)return;var r=this.renderCloseIcon();var e=this.getStyles();var i=this.getIconName();return a(t,__assign(__assign({class:e},this.getAttributes()),{onTransitionEnd:this.handleAnimationEnd,onKeyDown:function(r){return n.handleEscapeKeyClose(r)}}),a("div",{class:"bds-banner__vertical-line"}),a("div",{class:"bds-banner__container"},a("div",{class:"bds-banner__status-icon",role:"status","aria-live":"polite","aria-label":"status ".concat(this.variant)},a("em",{"aria-hidden":"true",class:i})),a("div",{class:"bds-banner__content"},a("div",{class:"bds-banner__title"},a("slot",{name:"title"})),a("div",{class:"bds-banner__body"},a("slot",null)),a("div",{class:"bds-banner__actions"},a("slot",{name:"actions"}))),this.enableClose&&r))};Object.defineProperty(n.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return n}());u.style=c()}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var STATES={DEFAULT:"default",ERROR:"error",DISABLED:"disabled"};var STATUS_VARIANT={INFO:"info"};var inheritAttributes=function(a,i){if(i===void 0){i=[]}var r={};i.forEach((function(i){if(a.hasAttribute(i)){var e=a.getAttribute(i);if(e!==null){r[i]=e}a.removeAttribute(i)}}));return r};var ariaAttributes=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"];var inheritAriaAttributes=function(a,i){var r=ariaAttributes;return inheritAttributes(a,r)};export{STATUS_VARIANT as S,STATES as a,inheritAriaAttributes as i};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var __extends=this&&this.__extends||function(){var e=function(t,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]};return e(t,r)};return function(t,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i))e[i]=t[i]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,t,r,n){function i(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,a){function o(e){try{f(n.next(e))}catch(e){a(e)}}function l(e){try{f(n["throw"](e))}catch(e){a(e)}}function f(e){e.done?r(e.value):i(e.value).then(o,l)}f((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,o=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return o.next=l(0),o["throw"]=l(1),o["return"]=l(2),typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function l(e){return function(t){return f([e,t])}}function f(l){if(n)throw new TypeError("Generator is already executing.");while(o&&(o=0,l[0]&&(r=0)),r)try{if(n=1,i&&(a=l[0]&2?i["return"]:l[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,l[1])).done)return a;if(i=0,a)l=[l[0]&2,a.value];switch(l[0]){case 0:case 1:a=l;break;case 4:r.label++;return{value:l[1],done:false};case 5:r.label++;i=l[1];l=[0];continue;case 7:l=r.ops.pop();r.trys.pop();continue;default:if(!(a=r.trys,a=a.length>0&&a[a.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]<a[3])){r.label=l[1];break}if(l[0]===6&&r.label<a[1]){r.label=a[1];a=l;break}if(a&&r.label<a[2]){r.label=a[2];r.ops.push(l);break}if(a[2])r.ops.pop();r.trys.pop();continue}l=t.call(e,r)}catch(e){l=[6,e];i=0}finally{n=a=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,a;n<i;n++){if(a||!(n in t)){if(!a)a=Array.prototype.slice.call(t,0,n);a[n]=t[n]}}return e.concat(a||Array.prototype.slice.call(t))};var NAMESPACE="boreal-web-components";var BUILD={hotModuleReplacement:false,hydratedSelectorName:"hydrated",lazyLoad:true,propChangeCallback:true,shadowDom:false,slotRelocation:true,state:true,updatable:true};var reWireGetterSetter=function(e,t){var r;var n=t.t;var i=Object.entries((r=n.i)!=null?r:{});i.map((function(r){var n=r[0],i=r[1][0];if(i&31||i&32){var a=e[n];var o=getPropertyDescriptor(Object.getPrototypeOf(e),n)||Object.getOwnPropertyDescriptor(e,n);if(o){Object.defineProperty(e,n,{get:function(){return o.get.call(this)},set:function(e){o.set.call(this,e)},configurable:true,enumerable:true})}e[n]=t.o.has(n)?t.o.get(n):a}}))};function getPropertyDescriptor(e,t){while(e){var r=Object.getOwnPropertyDescriptor(e,t);if(r==null?void 0:r.get)return r;e=Object.getPrototypeOf(e)}return void 0}var getHostRef=function(e){if(e.__stencil__getHostRef){return e.__stencil__getHostRef()}return void 0};var registerInstance=function(e,t){if(!t)return;e.__stencil__getHostRef=function(){return t};t.l=e;if(t.t.u&512&&BUILD.state){reWireGetterSetter(e,t)}};var registerHost=function(e,t){var r={u:0,$hostElement$:e,t:t,o:new Map,v:new Map};{r.p=new Promise((function(e){return r.h=e}))}{r.m=new Promise((function(e){return r.S=e}));e["s-p"]=[];e["s-rc"]=[]}{r.C=[]}var n=r;e.__stencil__getHostRef=function(){return n};return n};var isMemberInElement=function(e,t){return t in e};var consoleError=function(e,t){return(0,console.error)(e,t)};var cmpModules=new Map;var loadModule=function(e,t,r){var n=e.N.replace(/-/g,"_");var i=e.T;if(!i){return void 0}var a=cmpModules.get(i);if(a){return a[n]}
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import("./".concat(i,".entry.js").concat("")).then((function(e){{cmpModules.set(i,e)}return e[n]}),(function(e){consoleError(e,t.$hostElement$)}))};var styles=new Map;var HYDRATED_CSS="{visibility:hidden}.hydrated{visibility:inherit}";var SLOT_FB_CSS="slot-fb{display:contents}slot-fb[hidden]{display:none}";var XLINK_NS="http://www.w3.org/1999/xlink";var win=typeof window!=="undefined"?window:{};var H=win.HTMLElement||function(){function e(){}return e}();var plt={u:0,_:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,r,n){return e.addEventListener(t,r,n)},rel:function(e,t,r,n){return e.removeEventListener(t,r,n)},ce:function(e,t){return new CustomEvent(e,t)}};var supportsShadow=BUILD.shadowDom;var promiseResolve=function(e){return Promise.resolve(e)};var supportsConstructableStylesheets=function(){try{if(!win.document.adoptedStyleSheets){return false}new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}();var supportsMutableAdoptedStyleSheets=supportsConstructableStylesheets?function(){return!!win.document&&Object.getOwnPropertyDescriptor(win.document.adoptedStyleSheets,"length").writable}():false;var queuePending=false;var queueDomReads=[];var queueDomWrites=[];var queueTask=function(e,t){return function(r){e.push(r);if(!queuePending){queuePending=true;if(t&&plt.u&4){nextTick(flush)}else{plt.raf(flush)}}}};var consume=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){consoleError(e)}}e.length=0};var flush=function(){consume(queueDomReads);{consume(queueDomWrites);if(queuePending=queueDomReads.length>0){plt.raf(flush)}}};var nextTick=function(e){return promiseResolve().then(e)};var writeTask=queueTask(queueDomWrites,true);var updateFallbackSlotVisibility=function(e){var t=internalCall(e,"childNodes");if(e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"){getHostSlotNodes(t,e.tagName).forEach((function(e){if(e.nodeType===1&&e.tagName==="SLOT-FB"){if(getSlotChildSiblings(e,getSlotName(e),false).length){e.hidden=true}else{e.hidden=false}}}))}var r=0;for(r=0;r<t.length;r++){var n=t[r];if(n.nodeType===1&&internalCall(n,"childNodes").length){updateFallbackSlotVisibility(n)}}};var getSlottedChildNodes=function(e){var t=[];for(var r=0;r<e.length;r++){var n=e[r]["s-nr"]||void 0;if(n&&n.isConnected){t.push(n)}}return t};function getHostSlotNodes(e,t,r){var n=0;var i=[];var a;for(;n<e.length;n++){a=e[n];if(a["s-sr"]&&(!t||a["s-hn"]===t)&&(r===void 0||getSlotName(a)===r)){i.push(a);if(typeof r!=="undefined")return i}i=__spreadArray(__spreadArray([],i,true),getHostSlotNodes(a.childNodes,t,r),true)}return i}var getSlotChildSiblings=function(e,t,r){if(r===void 0){r=true}var n=[];if(r&&e["s-sr"]||!e["s-sr"])n.push(e);var i=e;while(i=i.nextSibling){if(getSlotName(i)===t&&(r||!i["s-sr"]))n.push(i)}return n};var isNodeLocatedInSlot=function(e,t){if(e.nodeType===1){if(e.getAttribute("slot")===null&&t===""){return true}if(e.getAttribute("slot")===t){return true}return false}if(e["s-sn"]===t){return true}return t===""};var addSlotRelocateNode=function(e,t,r,n){if(e["s-ol"]&&e["s-ol"].isConnected){return}var i=document.createTextNode("");i["s-nr"]=e;if(!t["s-cr"]||!t["s-cr"].parentNode)return;var a=t["s-cr"].parentNode;var o=r?internalCall(a,"prepend"):internalCall(a,"appendChild");{o.call(a,i)}e["s-ol"]=i;e["s-sh"]=t["s-hn"]};var getSlotName=function(e){return typeof e["s-sn"]==="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0};function patchSlotNode(e){if(e.assignedElements||e.assignedNodes||!e["s-sr"])return;var t=function(t){return function(e){var r=[];var n=this["s-sn"];if(e==null?void 0:e.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 ")}var i=this["s-cr"].parentElement;var a=i.__childNodes?i.childNodes:getSlottedChildNodes(i.childNodes);a.forEach((function(e){if(n===getSlotName(e)){r.push(e)}}));if(t){return r.filter((function(e){return e.nodeType===1}))}return r}.bind(e)};e.assignedElements=t(true);e.assignedNodes=t(false)}function dispatchSlotChangeEvent(e){e.dispatchEvent(new CustomEvent("slotchange",{bubbles:false,cancelable:false,composed:false}))}function findSlotFromSlottedNode(e,t){var r;t=t||((r=e["s-ol"])==null?void 0:r.parentElement);if(!t)return{slotNode:null,slotName:""};var n=e["s-sn"]=getSlotName(e)||"";var i=internalCall(t,"childNodes");var a=getHostSlotNodes(i,t.tagName,n)[0];return{slotNode:a,slotName:n}}var patchPseudoShadowDom=function(e){patchCloneNode(e);patchSlotAppendChild(e);patchSlotAppend(e);patchSlotPrepend(e);patchSlotInsertAdjacentElement(e);patchSlotInsertAdjacentHTML(e);patchSlotInsertAdjacentText(e);patchInsertBefore(e);patchTextContent(e);patchChildSlotNodes(e);patchSlotRemoveChild(e)};var patchCloneNode=function(e){if(e.__cloneNode)return;var t=e.__cloneNode=e.cloneNode;e.cloneNode=function(e){var r=this;var n=t.call(r,false);if(e){var i=0;var a=void 0,o=void 0;var l=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si","s-rf","s-scs"];var f=this.__childNodes||this.childNodes;for(;i<f.length;i++){a=f[i]["s-nr"];o=l.every((function(e){return!f[i][e]}));if(a){if(n.__appendChild){n.__appendChild(a.cloneNode(true))}else{n.appendChild(a.cloneNode(true))}}if(o){n.appendChild(f[i].cloneNode(true))}}}return n}};var patchSlotAppendChild=function(e){if(e.__appendChild)return;e.__appendChild=e.appendChild;e.appendChild=function(e){var t=findSlotFromSlottedNode(e,this),r=t.slotName,n=t.slotNode;if(n){addSlotRelocateNode(e,n);var i=getSlotChildSiblings(n,r);var a=i[i.length-1];var o=internalCall(a,"parentNode");var l=internalCall(o,"insertBefore")(e,a.nextSibling);dispatchSlotChangeEvent(n);updateFallbackSlotVisibility(this);return l}return this.__appendChild(e)}};var patchSlotRemoveChild=function(e){if(e.__removeChild)return;e.__removeChild=e.removeChild;e.removeChild=function(e){if(e&&typeof e["s-sn"]!=="undefined"){var t=this.__childNodes||this.childNodes;var r=getHostSlotNodes(t,this.tagName,e["s-sn"]);if(r&&e.isConnected){e.remove();updateFallbackSlotVisibility(this);return}}return this.__removeChild(e)}};var patchSlotPrepend=function(e){if(e.__prepend)return;e.__prepend=e.prepend;e.prepend=function(){var t=this;var r=[];for(var n=0;n<arguments.length;n++){r[n]=arguments[n]}r.forEach((function(r){if(typeof r==="string"){r=t.ownerDocument.createTextNode(r)}var n=(r["s-sn"]=getSlotName(r))||"";var i=internalCall(t,"childNodes");var a=getHostSlotNodes(i,t.tagName,n)[0];if(a){addSlotRelocateNode(r,a,true);var o=getSlotChildSiblings(a,n);var l=o[0];var f=internalCall(l,"parentNode");var u=internalCall(f,"insertBefore")(r,internalCall(l,"nextSibling"));dispatchSlotChangeEvent(a);return u}if(r.nodeType===1&&!!r.getAttribute("slot")){r.hidden=true}return e.__prepend(r)}))}};var patchSlotAppend=function(e){if(e.__append)return;e.__append=e.append;e.append=function(){var e=this;var t=[];for(var r=0;r<arguments.length;r++){t[r]=arguments[r]}t.forEach((function(t){if(typeof t==="string"){t=e.ownerDocument.createTextNode(t)}e.appendChild(t)}))}};var patchSlotInsertAdjacentHTML=function(e){if(e.__insertAdjacentHTML)return;var t=e.insertAdjacentHTML;e.insertAdjacentHTML=function(e,r){if(e!=="afterbegin"&&e!=="beforeend"){return t.call(this,e,r)}var n=this.ownerDocument.createElement("_");var i;n.innerHTML=r;if(e==="afterbegin"){while(i=n.firstChild){this.prepend(i)}}else if(e==="beforeend"){while(i=n.firstChild){this.append(i)}}}};var patchSlotInsertAdjacentText=function(e){e.insertAdjacentText=function(e,t){this.insertAdjacentHTML(e,t)}};var patchInsertBefore=function(e){if(e.__insertBefore)return;var t=e;if(t.__insertBefore)return;t.__insertBefore=e.insertBefore;e.insertBefore=function(e,t){var r=this;var n=findSlotFromSlottedNode(e,this),i=n.slotName,a=n.slotNode;var o=this.__childNodes?this.childNodes:getSlottedChildNodes(this.childNodes);if(a){var l=false;o.forEach((function(n){if(n===t||t===null){l=true;if(t===null||i!==t["s-sn"]){r.appendChild(e);return}if(i===t["s-sn"]){addSlotRelocateNode(e,a);var o=internalCall(t,"parentNode");internalCall(o,"insertBefore")(e,t);dispatchSlotChangeEvent(a)}return}}));if(l)return e}var f=t==null?void 0:t.__parentNode;if(f&&!this.isSameNode(f)){return this.appendChild(e)}return this.__insertBefore(e,t)}};var patchSlotInsertAdjacentElement=function(e){if(e.__insertAdjacentElement)return;var t=e.insertAdjacentElement;e.insertAdjacentElement=function(e,r){if(e!=="afterbegin"&&e!=="beforeend"){return t.call(this,e,r)}if(e==="afterbegin"){this.prepend(r);return r}else if(e==="beforeend"){this.append(r);return r}return r}};var patchTextContent=function(e){patchHostOriginalAccessor("textContent",e);Object.defineProperty(e,"textContent",{get:function(){var e="";var t=this.__childNodes?this.childNodes:getSlottedChildNodes(this.childNodes);t.forEach((function(t){return e+=t.textContent||""}));return e},set:function(e){var t=this.__childNodes?this.childNodes:getSlottedChildNodes(this.childNodes);t.forEach((function(e){if(e["s-ol"])e["s-ol"].remove();e.remove()}));this.insertAdjacentHTML("beforeend",e)}})};var patchChildSlotNodes=function(e){var t=function(e){__extends(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}t.prototype.item=function(e){return this[e]};return t}(Array);patchHostOriginalAccessor("children",e);Object.defineProperty(e,"children",{get:function(){return this.childNodes.filter((function(e){return e.nodeType===1}))}});Object.defineProperty(e,"childElementCount",{get:function(){return this.children.length}});patchHostOriginalAccessor("firstChild",e);Object.defineProperty(e,"firstChild",{get:function(){return this.childNodes[0]}});patchHostOriginalAccessor("lastChild",e);Object.defineProperty(e,"lastChild",{get:function(){return this.childNodes[this.childNodes.length-1]}});patchHostOriginalAccessor("childNodes",e);Object.defineProperty(e,"childNodes",{get:function(){var e=new t;e.push.apply(e,getSlottedChildNodes(this.__childNodes));return e}})};var patchParentNode=function(e){if(!e||e.__parentNode)return;patchHostOriginalAccessor("parentNode",e);Object.defineProperty(e,"parentNode",{get:function(){var e;return((e=this["s-ol"])==null?void 0:e.parentNode)||this.__parentNode},set:function(e){this.__parentNode=e}})};var validElementPatches=["children","nextElementSibling","previousElementSibling"];var validNodesPatches=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function patchHostOriginalAccessor(e,t){if(!globalThis.Node||!globalThis.Element){return}var r;if(validElementPatches.includes(e)){r=Object.getOwnPropertyDescriptor(Element.prototype,e)}else if(validNodesPatches.includes(e)){r=Object.getOwnPropertyDescriptor(Node.prototype,e)}if(!r){r=Object.getOwnPropertyDescriptor(t,e)}if(r)Object.defineProperty(t,"__"+e,r)}function internalCall(e,t){if("__"+t in e){var r=e["__"+t];if(typeof r!=="function")return r;return r.bind(e)}else{if(typeof e[t]!=="function")return e[t];return e[t].bind(e)}}var createTime=function(e,t){if(t===void 0){t=""}{return function(){return}}};var uniqueTime=function(e,t){{return function(){return}}};function queryNonceMetaTagContent(e){var t,r,n;return(n=(r=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:r.getAttribute("content"))!=null?n:void 0}var rootAppliedStyles=new WeakMap;var registerStyle=function(e,t,r){var n=styles.get(e);if(supportsConstructableStylesheets&&r){n=n||new CSSStyleSheet;if(typeof n==="string"){n=t}else{n.replaceSync(t)}}else{n=t}styles.set(e,n)};var addStyle=function(e,t,r){var n,i,a;var o=getScopeId(t);var l=styles.get(o);if(!win.document){return o}e=e.nodeType===11?e:win.document;if(l){if(typeof l==="string"){e=e.head||e;var f=rootAppliedStyles.get(e);var u=void 0;if(!f){rootAppliedStyles.set(e,f=new Set)}if(!f.has(o)){u=win.document.createElement("style");u.textContent=l;var s=(n=plt.k)!=null?n:queryNonceMetaTagContent(win.document);if(s!=null){u.setAttribute("nonce",s)}if(!(t.u&1)){if(e.nodeName==="HEAD"){var c=e.querySelectorAll("link[rel=preconnect]");var v=c.length>0?c[c.length-1].nextSibling:e.querySelector("style");e.insertBefore(u,(v==null?void 0:v.parentNode)===e?v:null)}else if("host"in e){if(supportsConstructableStylesheets){var d=(i=e.defaultView)!=null?i:e.ownerDocument.defaultView;var p=new d.CSSStyleSheet;p.replaceSync(l);if(supportsMutableAdoptedStyleSheets){e.adoptedStyleSheets.unshift(p)}else{e.adoptedStyleSheets=__spreadArray([p],e.adoptedStyleSheets,true)}}else{var h=e.querySelector("style");if(h){h.textContent=l+h.textContent}else{e.prepend(u)}}}else{e.append(u)}}if(t.u&1){e.insertBefore(u,null)}if(t.u&4){u.textContent+=SLOT_FB_CSS}if(f){f.add(o)}}}else{var f=rootAppliedStyles.get(e);if(!f){rootAppliedStyles.set(e,f=new Set)}if(!f.has(o)){var d=(a=e.defaultView)!=null?a:e.ownerDocument.defaultView;var p=void 0;if(l.constructor===d.CSSStyleSheet){p=l}else{p=new d.CSSStyleSheet;for(var m=0;m<l.cssRules.length;m++){p.insertRule(l.cssRules[m].cssText,m)}}if(supportsMutableAdoptedStyleSheets){e.adoptedStyleSheets.push(p)}else{e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[p],false)}f.add(o)}}}return o};var attachStyles=function(e){var t=e.t;var r=e.$hostElement$;var n=createTime("attachStyles",t.N);addStyle(r.getRootNode(),t);n()};var getScopeId=function(e,t){return"sc-"+e.N};var isComplexType=function(e){e=typeof e;return e==="object"||e==="function"};var h=function(e,t){var r=[];for(var n=2;n<arguments.length;n++){r[n-2]=arguments[n]}if(typeof e==="string"){e=transformTag(e)}var i=null;var a=null;var o=null;var l=false;var f=false;var u=[];var s=function(t){for(var r=0;r<t.length;r++){i=t[r];if(Array.isArray(i)){s(i)}else if(i!=null&&typeof i!=="boolean"){if(l=typeof e!=="function"&&!isComplexType(i)){i=String(i)}if(l&&f){u[u.length-1].A+=i}else{u.push(l?newVNode(null,i):i)}f=l}}};s(r);if(t){if(t.key){a=t.key}if(t.name){o=t.name}{var c=t.className||t.class;if(c){t.class=typeof c!=="object"?c:Object.keys(c).filter((function(e){return c[e]})).join(" ")}}}if(typeof e==="function"){return e(t===null?{}:t,u,vdomFnUtils)}var v=newVNode(e,null);v.R=t;if(u.length>0){v.O=u}{v.j=a}{v.H=o}return v};var newVNode=function(e,t){var r={u:0,V:e,A:t!=null?t:null,I:null,O:null};{r.R=null}{r.j=null}{r.H=null}return r};var Host={};var isHost=function(e){return e&&e.V===Host};var vdomFnUtils={forEach:function(e,t){return e.map(convertToPublic).forEach(t)},map:function(e,t){return e.map(convertToPublic).map(t).map(convertToPrivate)}};var convertToPublic=function(e){return{vattrs:e.R,vchildren:e.O,vkey:e.j,vname:e.H,vtag:e.V,vtext:e.A}};var convertToPrivate=function(e){if(typeof e.vtag==="function"){var t=__assign({},e.vattrs);if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return h.apply(void 0,__spreadArray([e.vtag,t],e.vchildren||[],false))}var r=newVNode(e.vtag,e.vtext);r.R=e.vattrs;r.O=e.vchildren;r.j=e.vkey;r.H=e.vname;return r};var parsePropertyValue=function(e,t,r){if(e!=null&&!isComplexType(e)){if(t&4){{return e==="false"?false:e===""||!!e}}if(t&2){return typeof e==="string"?parseFloat(e):typeof e==="number"?e:NaN}if(t&1){return String(e)}return e}return e};var getElement=function(e){var t;return(t=getHostRef(e))==null?void 0:t.$hostElement$};var createEvent=function(e,t,r){var n=getElement(e);return{emit:function(e){return emitEvent(n,t,{bubbles:true,composed:true,cancelable:true,detail:e})}}};var emitEvent=function(e,t,r){var n=plt.ce(t,r);e.dispatchEvent(n);return n};var setAccessor=function(e,t,r,n,i,a,o){if(r===n){return}var l=isMemberInElement(e,t);var f=t.toLowerCase();if(t==="class"){var u=e.classList;var s=parseClassList(r);var c=parseClassList(n);{u.remove.apply(u,s.filter((function(e){return e&&!c.includes(e)})));u.add.apply(u,c.filter((function(e){return e&&!s.includes(e)})))}}else if(t==="style"){{for(var v in r){if(!n||n[v]==null){if(v.includes("-")){e.style.removeProperty(v)}else{e.style[v]=""}}}}for(var v in n){if(!r||n[v]!==r[v]){if(v.includes("-")){e.style.setProperty(v,n[v])}else{e.style[v]=n[v]}}}}else if(t==="key");else if(t==="ref"){if(n){queueRefAttachment(n,e)}}else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(isMemberInElement(win,f)){t=f.slice(2)}else{t=f[2]+t.slice(3)}if(r||n){var d=t.endsWith(CAPTURE_EVENT_SUFFIX);t=t.replace(CAPTURE_EVENT_REGEX,"");if(r){plt.rel(e,t,r,d)}if(n){plt.ael(e,t,n,d)}}}else if(t[0]==="a"&&t.startsWith("attr:")){var p=t.slice(5);var h=void 0;{var m=getHostRef(e);if(m&&m.t&&m.t.i){var S=m.t.i[p];if(S&&S[1]){h=S[1]}}}if(!h){h=p.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}if(n==null||n===false){if(n!==false||e.getAttribute(h)===""){e.removeAttribute(h)}}else{e.setAttribute(h,n===true?"":n)}return}else if(t[0]==="p"&&t.startsWith("prop:")){var p=t.slice(5);try{e[p]=n}catch(e){}return}else{var g=isComplexType(n);if((l||g&&n!==null)&&true){try{if(!e.tagName.includes("-")){var b=n==null?"":n;if(t==="list"){l=false}else if(r==null||e[t]!==b){if(typeof e.__lookupSetter__(t)==="function"){e[t]=b}else{e.setAttribute(t,b)}}}else if(e[t]!==n){e[t]=n}}catch(e){}}var y=false;{if(f!==(f=f.replace(/^xlink\:?/,""))){t=f;y=true}}if(n==null||n===false){if(n!==false||e.getAttribute(t)===""){if(y){e.removeAttributeNS(XLINK_NS,t)}else{e.removeAttribute(t)}}}else if((!l||a&4||i)&&!g&&e.nodeType===1){n=n===true?"":n;if(y){e.setAttributeNS(XLINK_NS,t,n)}else{e.setAttribute(t,n)}}}};var parseClassListRegex=/\s/;var parseClassList=function(e){if(typeof e==="object"&&e&&"baseVal"in e){e=e.baseVal}if(!e||typeof e!=="string"){return[]}return e.split(parseClassListRegex)};var CAPTURE_EVENT_SUFFIX="Capture";var CAPTURE_EVENT_REGEX=new RegExp(CAPTURE_EVENT_SUFFIX+"$");var updateElement=function(e,t,r,n){var i=t.I.nodeType===11&&t.I.host?t.I.host:t.I;var a=e&&e.R||{};var o=t.R||{};{for(var l=0,f=sortedAttrNames(Object.keys(a));l<f.length;l++){var u=f[l];if(!(u in o)){setAccessor(i,u,a[u],void 0,r,t.u)}}}for(var s=0,c=sortedAttrNames(Object.keys(o));s<c.length;s++){var u=c[s];setAccessor(i,u,a[u],o[u],r,t.u)}};function sortedAttrNames(e){return e.includes("ref")?__spreadArray(__spreadArray([],e.filter((function(e){return e!=="ref"})),true),["ref"],false):e}var contentRef;var hostTagName;var useNativeShadowDom=false;var checkSlotFallbackVisibility=false;var checkSlotRelocate=false;var isSvgMode=false;var refCallbacksToRemove=[];var refCallbacksToAttach=[];var createElm=function(e,t,r){var n;var i=t.O[r];var a=0;var o;var l;var f;if(!useNativeShadowDom){checkSlotRelocate=true;if(i.V==="slot"){i.u|=i.O?2:1}}if(i.A!=null){o=i.I=win.document.createTextNode(i.A)}else if(i.u&1){o=i.I=win.document.createTextNode("");{updateElement(null,i,isSvgMode)}}else{if(!win.document){throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.")}o=i.I=win.document.createElement(!useNativeShadowDom&&BUILD.slotRelocation&&i.u&2?"slot-fb":i.V);{updateElement(null,i,isSvgMode)}if(i.O){var u=i.V==="template"?o.content:o;for(a=0;a<i.O.length;++a){l=createElm(e,i,a);if(l){u.appendChild(l)}}}}o["s-hn"]=hostTagName;{if(i.u&(2|1)){o["s-sr"]=true;o["s-cr"]=contentRef;o["s-sn"]=i.H||"";o["s-rf"]=(n=i.R)==null?void 0:n.ref;patchSlotNode(o);f=e&&e.O&&e.O[r];if(f&&f.V===i.V&&e.I){relocateToHostRoot(e.I)}}}return o};var relocateToHostRoot=function(e){plt.u|=1;var t=e.closest(hostTagName.toLowerCase());if(t!=null){var r=Array.from(t.__childNodes||t.childNodes).find((function(e){return e["s-cr"]}));var n=Array.from(e.__childNodes||e.childNodes);for(var i=0,a=r?n.reverse():n;i<a.length;i++){var o=a[i];if(o["s-sh"]!=null){insertBefore(t,o,r!=null?r:null);o["s-sh"]=void 0;checkSlotRelocate=true}}}plt.u&=-2};var putBackInOriginalLocation=function(e,t){plt.u|=1;var r=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){var n=e;while(n=n.nextSibling){if(n&&n["s-sn"]===e["s-sn"]&&n["s-sh"]===hostTagName){r.push(n)}}}for(var i=r.length-1;i>=0;i--){var a=r[i];if(a["s-hn"]!==hostTagName&&a["s-ol"]){insertBefore(referenceNode(a).parentNode,a,referenceNode(a));a["s-ol"].remove();a["s-ol"]=void 0;a["s-sh"]=void 0;checkSlotRelocate=true}if(t){putBackInOriginalLocation(a,t)}}plt.u&=-2};var addVnodes=function(e,t,r,n,i,a){var o=e["s-cr"]&&e["s-cr"].parentNode||e;var l;if(r.V==="template"){o=o.content}for(;i<=a;++i){if(n[i]){l=createElm(null,r,i);if(l){n[i].I=l;insertBefore(o,l,referenceNode(t))}}}};var removeVnodes=function(e,t,r){for(var n=t;n<=r;++n){var i=e[n];if(i){var a=i.I;nullifyVNodeRefs(i);if(a){{checkSlotFallbackVisibility=true;if(a["s-ol"]){a["s-ol"].remove()}else{putBackInOriginalLocation(a,true)}}a.remove()}}}};var updateChildren=function(e,t,r,n,i){if(i===void 0){i=false}var a=0;var o=0;var l=0;var f=0;var u=t.length-1;var s=t[0];var c=t[u];var v=n.length-1;var d=n[0];var p=n[v];var h;var m;var S=r.V==="template"?e.content:e;while(a<=u&&o<=v){if(s==null){s=t[++a]}else if(c==null){c=t[--u]}else if(d==null){d=n[++o]}else if(p==null){p=n[--v]}else if(isSameVnode(s,d,i)){patch(s,d,i);s=t[++a];d=n[++o]}else if(isSameVnode(c,p,i)){patch(c,p,i);c=t[--u];p=n[--v]}else if(isSameVnode(s,p,i)){if(s.V==="slot"||p.V==="slot"){putBackInOriginalLocation(s.I.parentNode,false)}patch(s,p,i);insertBefore(S,s.I,c.I.nextSibling);s=t[++a];p=n[--v]}else if(isSameVnode(c,d,i)){if(s.V==="slot"||p.V==="slot"){putBackInOriginalLocation(c.I.parentNode,false)}patch(c,d,i);insertBefore(S,c.I,s.I);c=t[--u];d=n[++o]}else{l=-1;{for(f=a;f<=u;++f){if(t[f]&&t[f].j!==null&&t[f].j===d.j){l=f;break}}}if(l>=0){m=t[l];if(m.V!==d.V){h=createElm(t&&t[o],r,l)}else{patch(m,d,i);t[l]=void 0;h=m.I}d=n[++o]}else{h=createElm(t&&t[o],r,o);d=n[++o]}if(h){{insertBefore(referenceNode(s.I).parentNode,h,referenceNode(s.I))}}}}if(a>u){addVnodes(e,n[v+1]==null?null:n[v+1].I,r,n,o,v)}else if(o>v){removeVnodes(t,a,u)}};var isSameVnode=function(e,t,r){if(r===void 0){r=false}if(e.V===t.V){if(e.V==="slot"){return e.H===t.H}if(!r){return e.j===t.j}if(r&&!e.j&&t.j){e.j=t.j}return true}return false};var referenceNode=function(e){return e&&e["s-ol"]||e};var patch=function(e,t,r){if(r===void 0){r=false}var n=t.I=e.I;var i=e.O;var a=t.O;var o=t.V;var l=t.A;var f;if(l==null){{if(o==="slot"&&!useNativeShadowDom){if(e.H!==t.H){t.I["s-sn"]=t.H||"";relocateToHostRoot(t.I.parentElement)}}updateElement(e,t,isSvgMode)}if(i!==null&&a!==null){updateChildren(n,i,t,a,r)}else if(a!==null){if(e.A!==null){n.textContent=""}addVnodes(n,null,t,a,0,a.length-1)}else if(!r&&BUILD.updatable&&i!==null){removeVnodes(i,0,i.length-1)}else;}else if(f=n["s-cr"]){f.parentNode.textContent=l}else if(e.A!==l){n.data=l}};var relocateNodes=[];var markSlotContentForRelocation=function(e){var t;var r;var n;var i=e.__childNodes||e.childNodes;for(var a=0,o=i;a<o.length;a++){var l=o[a];if(l["s-sr"]&&(t=l["s-cr"])&&t.parentNode){r=t.parentNode.__childNodes||t.parentNode.childNodes;var f=l["s-sn"];var u=function(){t=r[n];if(!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==l["s-hn"]&&(!t["s-sh"]||t["s-sh"]!==l["s-hn"])){if(isNodeLocatedInSlot(t,f)){var e=relocateNodes.find((function(e){return e.L===t}));checkSlotFallbackVisibility=true;t["s-sn"]=t["s-sn"]||f;if(e){e.L["s-sh"]=l["s-hn"];e.P=l}else{t["s-sh"]=l["s-hn"];relocateNodes.push({P:l,L:t})}if(t["s-sr"]){relocateNodes.map((function(r){if(isNodeLocatedInSlot(r.L,t["s-sn"])){e=relocateNodes.find((function(e){return e.L===t}));if(e&&!r.P){r.P=e.P}}}))}}else if(!relocateNodes.some((function(e){return e.L===t}))){relocateNodes.push({L:t})}}};for(n=r.length-1;n>=0;n--){u()}}if(l.nodeType===1){markSlotContentForRelocation(l)}}};var nullifyVNodeRefs=function(e){{if(e.R&&e.R.ref){refCallbacksToRemove.push((function(){return e.R.ref(null)}))}e.O&&e.O.map(nullifyVNodeRefs)}};var queueRefAttachment=function(e,t){{refCallbacksToAttach.push((function(){return e(t)}))}};var flushQueuedRefCallbacks=function(){{refCallbacksToRemove.forEach((function(e){return e()}));refCallbacksToRemove.length=0;refCallbacksToAttach.forEach((function(e){return e()}));refCallbacksToAttach.length=0}};var insertBefore=function(e,t,r,n){{if(typeof t["s-sn"]==="string"){if(e.getRootNode().nodeType!==11){patchParentNode(t)}e.insertBefore(t,r);var i=findSlotFromSlottedNode(t).slotNode;if(i&&!n)dispatchSlotChangeEvent(i);return t}}if(e.__insertBefore){return e.__insertBefore(t,r)}else{return e==null?void 0:e.insertBefore(t,r)}};var renderVdom=function(e,t,r){if(r===void 0){r=false}var n,i,a,o,l;var f=e.$hostElement$;var u=e.t;var s=e.$||newVNode(null,null);var c=isHost(t);var v=c?t:h(null,null,t);hostTagName=f.tagName;if(u.D){v.R=v.R||{};u.D.forEach((function(e){var t=e[0],r=e[1];{v.R[r]=f[t]}}))}if(r&&v.R){for(var d=0,p=Object.keys(v.R);d<p.length;d++){var m=p[d];if(f.hasAttribute(m)&&!["key","ref","style","class"].includes(m)){v.R[m]=f[m]}}}v.V=null;v.u|=4;e.$=v;v.I=s.I=f;useNativeShadowDom=supportsShadow;{contentRef=f["s-cr"];checkSlotFallbackVisibility=false}patch(s,v,r);{plt.u|=1;if(checkSlotRelocate){markSlotContentForRelocation(v.I);for(var S=0,g=relocateNodes;S<g.length;S++){var b=g[S];var y=b.L;if(!y["s-ol"]&&win.document){var C=win.document.createTextNode("");C["s-nr"]=y;insertBefore(y.parentNode,y["s-ol"]=C,y,r)}}for(var N=0,w=relocateNodes;N<w.length;N++){var b=w[N];var y=b.L;var T=b.P;if(y.nodeType===1&&r){y["s-ih"]=(n=y.hidden)!=null?n:false}if(T){var _=T.parentNode;var k=T.nextSibling;if(k&&k.nodeType===1){var C=(i=y["s-ol"])==null?void 0:i.previousSibling;while(C){var E=(a=C["s-nr"])!=null?a:null;if(E&&E["s-sn"]===y["s-sn"]&&_===(E.__parentNode||E.parentNode)){E=E.nextSibling;while(E===y||(E==null?void 0:E["s-sr"])){E=E==null?void 0:E.nextSibling}if(!E||!E["s-nr"]){k=E;break}}C=C.previousSibling}}var A=y.__parentNode||y.parentNode;var R=y.__nextSibling||y.nextSibling;if(!k&&_!==A||R!==k){if(y!==k){insertBefore(_,y,k,r);if(y.nodeType===8&&y.nodeValue.startsWith("s-nt-")){var O=win.document.createTextNode(y.nodeValue.replace(/^s-nt-/,""));O["s-hn"]=y["s-hn"];O["s-sn"]=y["s-sn"];O["s-sh"]=y["s-sh"];O["s-sr"]=y["s-sr"];O["s-ol"]=y["s-ol"];O["s-ol"]["s-nr"]=O;insertBefore(y.parentNode,O,y,r);y.parentNode.removeChild(y)}if(y.nodeType===1&&y.tagName!=="SLOT-FB"){y.hidden=(o=y["s-ih"])!=null?o:false}}}y&&typeof T["s-rf"]==="function"&&T["s-rf"](T)}else if(y.nodeType===1){y.hidden=true}}}if(checkSlotFallbackVisibility){updateFallbackSlotVisibility(v.I)}plt.u&=-2;relocateNodes.length=0}if(!useNativeShadowDom&&!(u.u&1)&&f["s-cr"]){var j=v.I.__childNodes||v.I.childNodes;for(var H=0,V=j;H<V.length;H++){var I=V[H];if(I["s-hn"]!==hostTagName&&!I["s-sh"]){if(r&&I["s-ih"]==null){I["s-ih"]=(l=I.hidden)!=null?l:false}if(I.nodeType===1){I.hidden=true}else if(I.nodeType===3&&!!I.nodeValue.trim()){var L=win.document.createComment("s-nt-"+I.nodeValue);L["s-sn"]=I["s-sn"];insertBefore(I.parentNode,L,I,r);I.parentNode.removeChild(I)}}}}contentRef=void 0;flushQueuedRefCallbacks()};var attachToAncestor=function(e,t){if(t&&!e.B&&t["s-p"]){var r=t["s-p"].push(new Promise((function(n){return e.B=function(){t["s-p"].splice(r-1,1);n()}})))}};var scheduleUpdate=function(e,t){{e.u|=16}if(e.u&4){e.u|=512;return}attachToAncestor(e,e.F);var r=function(){return dispatchHooks(e,t)};if(t){queueMicrotask((function(){r()}));return}return writeTask(r)};var dispatchHooks=function(e,t){var r=e.$hostElement$;var n=createTime("scheduleUpdate",e.t.N);var i=e.l;if(!i){throw new Error("Can't render component <".concat(r.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"))}var a;if(t){{if(e.M){e.M=false;safeCall(i,"connectedCallback",void 0,r)}if(e.C.length){e.C.forEach((function(e){return e(r)}))}}a=safeCall(i,"componentWillLoad",void 0,r)}else{a=safeCall(i,"componentWillUpdate",void 0,r)}a=enqueue(a,(function(){return safeCall(i,"componentWillRender",void 0,r)}));n();return enqueue(a,(function(){return updateComponent(e,i,t)}))};var enqueue=function(e,t){return isPromisey(e)?e.then(t).catch((function(e){console.error(e);t()})):t()};var isPromisey=function(e){return e instanceof Promise||e&&e.then&&typeof e.then==="function"};var updateComponent=function(e,t,r){return __awaiter(void 0,void 0,void 0,(function(){var n,i,a,o,l,f,u;return __generator(this,(function(s){i=e.$hostElement$;a=createTime("update",e.t.N);o=i["s-rc"];if(r){attachStyles(e)}l=createTime("render",e.t.N);{callRender(e,t,i,r)}if(o){o.map((function(e){return e()}));i["s-rc"]=void 0}l();a();{f=(n=i["s-p"])!=null?n:[];u=function(){return postUpdateComponent(e)};if(f.length===0){u()}else{Promise.all(f).then(u).catch(u);e.u|=4;f.length=0}}return[2]}))}))};var callRender=function(e,t,r,n){try{t=t.render();{e.u&=-17}{e.u|=2}{{{renderVdom(e,t,n)}}}}catch(t){consoleError(t,e.$hostElement$)}return null};var postUpdateComponent=function(e){var t=e.t.N;var r=e.$hostElement$;var n=createTime("postUpdate",t);var i=e.l;var a=e.F;safeCall(i,"componentDidRender",void 0,r);if(!(e.u&64)){e.u|=64;{addHydratedFlag(r)}safeCall(i,"componentDidLoad",void 0,r);n();{e.S(r);if(!a){appDidLoad()}}}else{safeCall(i,"componentDidUpdate",void 0,r);n()}{e.h(r)}{if(e.B){e.B();e.B=void 0}if(e.u&512){nextTick((function(){return scheduleUpdate(e,false)}))}e.u&=-517}};var appDidLoad=function(e){nextTick((function(){return emitEvent(win,"appload",{detail:{namespace:NAMESPACE}})}))};var safeCall=function(e,t,r,n){if(e&&e[t]){try{return e[t](r)}catch(e){consoleError(e,n)}}return void 0};var addHydratedFlag=function(e){var t;return e.classList.add((t=BUILD.hydratedSelectorName)!=null?t:"hydrated")};var getValue=function(e,t){return getHostRef(e).o.get(t)};var setValue=function(e,t,r,n){var i=getHostRef(e);if(!i){return}if(!i){throw new Error("Couldn't find host element for \"".concat(n.N,'" 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).'))}var a=i.$hostElement$;var o=i.o.get(t);var l=i.u;var f=i.l;r=parsePropertyValue(r,n.i[t][0]);var u=Number.isNaN(o)&&Number.isNaN(r);var s=r!==o&&!u;if((!(l&8)||o===void 0)&&s){i.o.set(t,r);if(n.U){var c=n.U[t];if(c){c.map((function(e){try{var n=Object.entries(e)[0],u=n[0],s=n[1];if(l&128||s&1){if(!f){i.C.push((function(){i.l[u](r,o,t)}))}else{f[u](r,o,t)}}}catch(e){consoleError(e,a)}}))}}if(l&2){if(f.componentShouldUpdate){var v=f.componentShouldUpdate(r,o,t);if(v===false&&!(l&16)){return}}if(!(l&16)){scheduleUpdate(i,false)}}}};var proxyComponent=function(e,t,r){var n,i;var a=e.prototype;if(t.i||BUILD.propChangeCallback){{if(e.watchers&&!t.U){t.U=e.watchers}if(e.deserializers&&!t.q){t.q=e.deserializers}if(e.serializers&&!t.W){t.W=e.serializers}}var o=Object.entries((n=t.i)!=null?n:{});o.map((function(e){var n=e[0],i=e[1][0];if(i&31||r&2&&i&32){var o=Object.getOwnPropertyDescriptor(a,n)||{},l=o.get,f=o.set;if(l)t.i[n][0]|=2048;if(f)t.i[n][0]|=4096;if(r&1||!l){Object.defineProperty(a,n,{get:function(){{if((t.i[n][0]&2048)===0){return getValue(this,n)}var e=getHostRef(this);var r=e?e.l:a;if(!r)return;return r[n]}},configurable:true,enumerable:true})}Object.defineProperty(a,n,{set:function(e){var a=this;var o=getHostRef(this);if(!o){return}if(f){var l=i&32?this[n]:o.$hostElement$[n];if(typeof l==="undefined"&&o.o.get(n)){e=o.o.get(n)}f.apply(this,[parsePropertyValue(e,i)]);e=i&32?this[n]:o.$hostElement$[n];setValue(this,n,e,t);return}{if((r&1)===0||(t.i[n][0]&4096)===0){setValue(this,n,e,t);if(r&1&&!o.l){o.C.push((function(){if(t.i[n][0]&4096&&o.l[n]!==o.o.get(n)){o.l[n]=e}}))}return}var u=function(){var r=o.l[n];if(!o.o.get(n)&&r){o.o.set(n,r)}o.l[n]=parsePropertyValue(e,i);setValue(a,n,o.l[n],t)};if(o.l){u()}else{o.C.push((function(){u()}))}}}})}else if(r&1&&i&64){Object.defineProperty(a,n,{value:function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var r;var i=getHostRef(this);return(r=i==null?void 0:i.p)==null?void 0:r.then((function(){var t;return(t=i.l)==null?void 0:t[n].apply(t,e)}))}})}}));if(r&1){var l=new Map;a.attributeChangedCallback=function(e,r,n){var i=this;plt.jmp((function(){var f;var u=l.get(e);var s=getHostRef(i);if(i.hasOwnProperty(u)&&BUILD.lazyLoad){n=i[u];delete i[u]}if(a.hasOwnProperty(u)&&typeof i[u]==="number"&&i[u]==n){return}else if(u==null){var c=s==null?void 0:s.u;if(s&&c&&!(c&8)&&n!==r){var v=s.l;var d=(f=t.U)==null?void 0:f[e];d==null?void 0:d.forEach((function(t){var i=Object.entries(t)[0],a=i[0],o=i[1];if(v[a]!=null&&(c&128||o&1)){v[a].call(v,n,r,e)}}))}return}var p=o.find((function(e){var t=e[0];return t===u}));if(p&&p[1][0]&4){n=n===null||n==="false"?false:true}var h=Object.getOwnPropertyDescriptor(a,u);if(n!=i[u]&&(!h.get||!!h.set)){i[u]=n}}))};e.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((i=t.U)!=null?i:{}),true),o.filter((function(e){var t=e[0],r=e[1];return r[0]&31})).map((function(e){var r=e[0],n=e[1];var i;var a=n[1]||r;l.set(a,r);if(n[0]&512){(i=t.D)==null?void 0:i.push([r,a])}return a})),true)))}}return e};var initializeComponent=function(e,t,r,n){return __awaiter(void 0,void 0,void 0,(function(){var n,i,a,o,l,f,u,s,c,v,d,p,h;return __generator(this,(function(m){switch(m.label){case 0:m.trys.push([0,7,,8]);if(!((t.u&32)===0))return[3,6];t.u|=32;i=r.T;if(!i)return[3,4];a=loadModule(r,t);if(!(a&&"then"in a))return[3,2];o=uniqueTime();return[4,a];case 1:n=m.sent();o();return[3,3];case 2:n=a;m.label=3;case 3:if(!n){throw new Error('Constructor for "'.concat(r.N,"#").concat(t.X,'" was not found'))}if(!n.isProxied){{r.U=n.watchers;r.W=n.serializers;r.q=n.deserializers}proxyComponent(n,r,2);n.isProxied=true}l=createTime("createInstance",r.N);{t.u|=8}try{new n(t)}catch(t){consoleError(t,e)}{t.u&=-9}{t.u|=128}l();f=r.u&4;if(!f){fireConnectedCallback(t.l,e)}else{t.M=true}return[3,5];case 4:n=e.constructor;u=e.localName;customElements.whenDefined(u).then((function(){return t.u|=128}));m.label=5;case 5:if(n&&n.style){s=void 0;if(typeof n.style==="string"){s=n.style}c=getScopeId(r);if(!styles.has(c)||BUILD.hotModuleReplacement){v=createTime("registerStyles",r.N);registerStyle(c,s,!!(r.u&1));v()}}m.label=6;case 6:d=t.F;p=function(){return scheduleUpdate(t,true)};if(d&&d["s-rc"]){d["s-rc"].push(p)}else{p()}return[3,8];case 7:h=m.sent();consoleError(h,e);if(t.B){t.B();t.B=void 0}if(t.S){t.S(e)}return[3,8];case 8:return[2]}}))}))};var fireConnectedCallback=function(e,t){{safeCall(e,"connectedCallback",void 0,t)}};var connectedCallback=function(e){if((plt.u&1)===0){var t=getHostRef(e);if(!t){return}var r=t.t;var n=createTime("connectedCallback",r.N);if(!(t.u&1)){t.u|=1;{if(r.u&(4|8)){setContentReference(e)}}{var i=e;while(i=i.parentNode||i.host){if(i["s-p"]){attachToAncestor(t,t.F=i);break}}}if(r.i){Object.entries(r.i).map((function(t){var r=t[0],n=t[1][0];if(n&31&&r in e&&e[r]!==Object.prototype[r]){var i=e[r];delete e[r];e[r]=i}}))}{initializeComponent(e,t,r)}}else{if(t==null?void 0:t.l){fireConnectedCallback(t.l,e)}else if(t==null?void 0:t.m){t.m.then((function(){return fireConnectedCallback(t.l,e)}))}}n()}};var setContentReference=function(e){if(!win.document){return}var t=e["s-cr"]=win.document.createComment("");t["s-cn"]=true;insertBefore(e,t,e.firstChild)};var disconnectInstance=function(e,t){{safeCall(e,"disconnectedCallback",void 0,t||e)}};var disconnectedCallback=function(e){return __awaiter(void 0,void 0,void 0,(function(){var t;return __generator(this,(function(r){if((plt.u&1)===0){t=getHostRef(e);if(t==null?void 0:t.l){disconnectInstance(t.l,e)}else if(t==null?void 0:t.m){t.m.then((function(){return disconnectInstance(t.l,e)}))}}if(rootAppliedStyles.has(e)){rootAppliedStyles.delete(e)}if(e.shadowRoot&&rootAppliedStyles.has(e.shadowRoot)){rootAppliedStyles.delete(e.shadowRoot)}return[2]}))}))};var bootstrapLazy=function(e,t){if(t===void 0){t={}}var r;if(!win.document){console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");return}var n=createTime();var i=[];var a=t.exclude||[];var o=win.customElements;var l=win.document.head;var f=l.querySelector("meta[charset]");var u=win.document.createElement("style");var s=[];var c;var v=true;Object.assign(plt,t);plt._=new URL(t.resourcesUrl||"./",win.document.baseURI).href;var d=false;e.map((function(e){e[1].map((function(t){var r,n,l;var f={u:t[0],N:t[1],i:t[2],G:t[3]};if(f.u&4){d=true}{f.i=t[2]}{f.D=[]}{f.U=(r=t[4])!=null?r:{};f.W=(n=t[5])!=null?n:{};f.q=(l=t[6])!=null?l:{}}var u=transformTag(f.N);var p=function(e){__extends(t,e);function t(t){var r=e.call(this,t)||this;r.hasRegisteredEventListeners=false;t=r;registerHost(t,f);return r}t.prototype.connectedCallback=function(){var e=this;var t=getHostRef(this);if(!t){return}if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true}if(c){clearTimeout(c);c=null}if(v){s.push(this)}else{plt.jmp((function(){return connectedCallback(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}));plt.raf((function(){var t;var r=getHostRef(e);if(!r){return}var n=s.findIndex((function(t){return t===e}));if(n>-1){s.splice(n,1)}if(((t=r==null?void 0:r.$)==null?void 0:t.I)instanceof Node&&!r.$.I.isConnected){delete r.$.I}}))};t.prototype.componentOnReady=function(){var e;return(e=getHostRef(this))==null?void 0:e.m};return t}(HTMLElement);if(!(f.u&1)&&f.u&256){{patchPseudoShadowDom(p.prototype)}}else{patchCloneNode(p.prototype)}f.T=e[0];if(!a.includes(u)&&!o.get(u)){i.push(u);o.define(u,proxyComponent(p,f,1))}}))}));if(i.length>0){if(d){u.textContent+=SLOT_FB_CSS}{u.textContent+=i.sort()+HYDRATED_CSS}if(u.innerHTML.length){u.setAttribute("data-styles","");var p=(r=plt.k)!=null?r:queryNonceMetaTagContent(win.document);if(p!=null){u.setAttribute("nonce",p)}l.insertBefore(u,f?f.nextSibling:l.firstChild)}}v=false;if(s.length){s.map((function(e){return e.connectedCallback()}))}else{{plt.jmp((function(){return c=setTimeout(appDidLoad,30)}))}}n()};var setNonce=function(e){return plt.k=e};function transformTag(e){return e}export{H,Host as a,bootstrapLazy as b,createEvent as c,getElement as g,h,promiseResolve as p,registerInstance as r,setNonce as s};
|