/
var
/
www
/
html
/
wordpress
/
wp-content
/
plugins
/
presto-player
/
dist
/
components
/
web-components
/
Upload File
HOME
const e="web-components",t={hydratedSelectorName:"hydrated",lazyLoad:!0,slotRelocation:!0,updatable:!0},n=()=>{},r=":host{box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:inherit}";var i=Object.defineProperty,o=(e,t)=>{for(var n in t)i(e,n,{get:t[n],enumerable:!0})},s="http://www.w3.org/2000/svg",l="http://www.w3.org/1999/xhtml",f=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},a=(e,t)=>{e.__stencil__getHostRef=()=>t,t.t=e},c=(e,t)=>{const n={i:0,$hostElement$:e,o:t,l:new Map};n.u=new Promise(e=>n.v=e),n.h=new Promise(e=>n.p=e),e["s-p"]=[],e["s-rc"]=[];const o=n;return e.__stencil__getHostRef=()=>o,o},u=(e,t)=>t in e,v=(e,t)=>(0,console.error)(e,t),d=new Map,h=(e,t,n)=>{const o=e.m.replace(/-/g,"_"),s=e.$;if(!s)return;const l=d.get(s);return l?l[o]:import(`./${s}.entry.js`).then(e=>(d.set(s,e),e[o]),e=>{v(e,t.$hostElement$)})},p=new Map,m="{visibility:hidden}.hydrated{visibility:inherit}",y="slot-fb{display:contents}slot-fb[hidden]{display:none}",w="http://www.w3.org/1999/xlink",b="undefined"!=typeof window?window:{},g={i:0,S:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,o)=>e.addEventListener(t,n,o),rel:(e,t,n,o)=>e.removeEventListener(t,n,o),ce:(e,t)=>new CustomEvent(e,t)},$=(()=>{var e;let t=!1;try{null==(e=b.document)||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch(e){}return t})(),S=e=>Promise.resolve(e),j=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),O=!!j&&!!b.document&&Object.getOwnPropertyDescriptor(b.document.adoptedStyleSheets,"length").writable,k=!1,x=[],E=[],C=(e,t)=>n=>{e.push(n),k||(k=!0,t&&4&g.i?R(N):g.raf(N))},M=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){v(e)}e.length=0},N=()=>{M(x),M(E),(k=x.length>0)&&g.raf(N)},R=e=>S().then(e),P=C(E,!0),T=e=>"object"==(e=typeof e)||"function"===e;function L(e){var t,n,o;return null!=(o=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}var U=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),F={};o(F,{err:()=>D,map:()=>W,ok:()=>A,unwrap:()=>z,unwrapErr:()=>_});var A=e=>({isOk:!0,isErr:!1,value:e}),D=e=>({isOk:!1,isErr:!0,value:e});function W(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then(e=>A(e)):A(n)}if(e.isErr){const t=e.value;return D(t)}throw"should never get here"}var B,z=e=>{if(e.isOk)return e.value;throw e.value},_=e=>{if(e.isErr)return e.value;throw e.value};function H(e){if(!j)return;const t=new CSSStyleSheet;return t.replaceSync(e),t}function I(e){var t;const n=this.attachShadow({mode:"open"});void 0===B&&(B=null!=(t=H(r))?t:null),B&&(O?n.adoptedStyleSheets.push(B):n.adoptedStyleSheets=[...n.adoptedStyleSheets,B])}var q=e=>{const t=X(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&"SLOT-FB"!==e.tagName&&Y(t,e.tagName).forEach(e=>{1===e.nodeType&&"SLOT-FB"===e.tagName&&(G(e,K(e),!1).length?e.hidden=!0:e.hidden=!1)});let n=0;for(n=0;n<t.length;n++){const e=t[n];1===e.nodeType&&X(e,"childNodes").length&&q(e)}},V=e=>{const t=[];for(let n=0;n<e.length;n++){const o=e[n]["s-nr"]||void 0;o&&o.isConnected&&t.push(o)}return t};function Y(e,t,n){let o,s=0,l=[];for(;s<e.length;s++)o=e[s],!o["s-sr"]||t&&o["s-hn"]!==t||void 0!==n||l.push(o),l=[...l,...Y(o.childNodes,t,n)];return l}var G=(e,t,n=!0)=>{const o=[];(n&&e["s-sr"]||!e["s-sr"])&&o.push(e);let s=e;for(;s=s.nextSibling;)K(s)!==t||!n&&s["s-sr"]||o.push(s);return o},J=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,K=e=>"string"==typeof e["s-sn"]?e["s-sn"]:1===e.nodeType&&e.getAttribute("slot")||void 0;function Q(e){if(e.assignedElements||e.assignedNodes||!e["s-sr"])return;const t=t=>function(e){const n=[],o=this["s-sn"];(null==e?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 ");const s=this["s-cr"].parentElement;return(s.__childNodes?s.childNodes:V(s.childNodes)).forEach(e=>{o===K(e)&&n.push(e)}),t?n.filter(e=>1===e.nodeType):n}.bind(e);e.assignedElements=t(!0),e.assignedNodes=t(!1)}function X(e,t){if("__"+t in e){const n=e["__"+t];return"function"!=typeof n?n:n.bind(e)}return"function"!=typeof e[t]?e[t]:e[t].bind(e)}var Z=(e,t="")=>()=>{},ee=(e,t)=>()=>{},te=new WeakMap,ne=(e,t,n)=>{let o=p.get(e);j&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=t:o.replaceSync(t)):o=t,p.set(e,o)},re=(e,t,n)=>{var o;const s=oe(t),l=p.get(s);if(!b.document)return s;if(e=11===e.nodeType?e:b.document,l)if("string"==typeof l){e=e.head||e;let n,r=te.get(e);if(r||te.set(e,r=new Set),!r.has(s)){{n=b.document.createElement("style"),n.innerHTML=l;const s=null!=(o=g.j)?o:L(b.document);if(null!=s&&n.setAttribute("nonce",s),!(1&t.i))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),o=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(n,(null==o?void 0:o.parentNode)===e?o:null)}else if("host"in e)if(j){const t=new CSSStyleSheet;t.replaceSync(l),O?e.adoptedStyleSheets.unshift(t):e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");t?t.innerHTML=l+t.innerHTML:e.prepend(n)}else e.append(n);1&t.i&&e.insertBefore(n,null)}4&t.i&&(n.innerHTML+=y),r&&r.add(s)}}else e.adoptedStyleSheets.includes(l)||(O?e.adoptedStyleSheets.push(l):e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return s},ie=e=>{const t=e.o,n=e.$hostElement$,o=t.i,s=Z("attachStyles",t.m),l=re(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&o&&(n["s-sc"]=l,n.classList.add(l+"-h")),s()},oe=(e,t)=>"sc-"+e.m,se=(e,t,...n)=>{let o=null,s=null,l=null,r=!1,i=!1;const c=[],a=t=>{for(let n=0;n<t.length;n++)o=t[n],Array.isArray(o)?a(o):null!=o&&"boolean"!=typeof o&&((r="function"!=typeof e&&!T(o))&&(o=String(o)),r&&i?c[c.length-1].O+=o:c.push(r?le(null,o):o),i=r)};if(a(n),t){t.key&&(s=t.key),t.name&&(l=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter(t=>e[t]).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,c,ce);const d=le(e,null);return d.k=t,c.length>0&&(d.C=c),d.M=s,d.N=l,d},le=(e,t)=>({i:0,R:e,O:t,P:null,C:null,k:null,M:null,N:null}),fe={},ae=e=>e&&e.R===fe,ce={forEach:(e,t)=>e.map(ue).forEach(t),map:(e,t)=>e.map(ue).map(t).map(ve)},ue=e=>({vattrs:e.k,vchildren:e.C,vkey:e.M,vname:e.N,vtag:e.R,vtext:e.O}),ve=e=>{if("function"==typeof e.vtag){const t={...e.vattrs};return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),se(e.vtag,t,...e.vchildren||[])}const t=le(e.vtag,e.vtext);return t.k=e.vattrs,t.C=e.vchildren,t.M=e.vkey,t.N=e.vname,t},de=e=>{const t=U(e);return new RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${t}))(${t}\\b)`,"g")};de("::slotted"),de(":host"),de(":host-context");var ke,xe,he=(e,t,n)=>null==e||T(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?"string"==typeof e?parseFloat(e):"number"==typeof e?e:NaN:1&t?String(e):e,pe=e=>{var t;return null==(t=f(e))?void 0:t.$hostElement$},me=(e,t,n)=>{const o=pe(e);return{emit:e=>ye(o,t,{bubbles:!0,composed:!0,cancelable:!0,detail:e})}},ye=(e,t,n)=>{const o=g.ce(t,n);return e.dispatchEvent(o),o},we=(e,t,n,o,s,l,r)=>{if(n===o)return;let i=u(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,s=ge(n);let l=ge(o);t.remove(...s.filter(e=>e&&!l.includes(e))),t.add(...l.filter(e=>e&&!s.includes(e)))}else if("style"===t){for(const t in n)o&&null!=o[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in o)n&&o[t]===n[t]||(t.includes("-")?e.style.setProperty(t,o[t]):e.style[t]=o[t])}else if("key"===t);else if("ref"===t)o&&o(e);else if(i||"o"!==t[0]||"n"!==t[1]){const r=T(o);if((i||r&&null!==o)&&!s)try{if(e.tagName.includes("-"))e[t]!==o&&(e[t]=o);else{const s=null==o?"":o;"list"===t?i=!1:null!=n&&e[t]==s||("function"==typeof e.__lookupSetter__(t)?e[t]=s:e.setAttribute(t,s))}}catch(e){}let a=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,a=!0),null==o||!1===o?!1===o&&""!==e.getAttribute(t)||(a?e.removeAttributeNS(w,t):e.removeAttribute(t)):(!i||4&l||s)&&!r&&1===e.nodeType&&(o=!0===o?"":o,a?e.setAttributeNS(w,t,o):e.setAttribute(t,o))}else if(t="-"===t[2]?t.slice(3):u(b,c)?c.slice(2):c[2]+t.slice(3),n||o){const s=t.endsWith($e);t=t.replace(Se,""),n&&g.rel(e,t,n,s),o&&g.ael(e,t,o,s)}},be=/\s/,ge=e=>("object"==typeof e&&e&&"baseVal"in e&&(e=e.baseVal),e&&"string"==typeof e?e.split(be):[]),$e="Capture",Se=new RegExp($e+"$"),je=(e,t,n,o)=>{const s=11===t.P.nodeType&&t.P.host?t.P.host:t.P,l=e&&e.k||{},r=t.k||{};for(const e of Oe(Object.keys(l)))e in r||we(s,e,l[e],void 0,n,t.i);for(const e of Oe(Object.keys(r)))we(s,e,l[e],r[e],n,t.i)};function Oe(e){return e.includes("ref")?[...e.filter(e=>"ref"!==e),"ref"]:e}var Ee=!1,Ce=!1,Me=!1,Ne=!1,Re=(e,n,o)=>{var r;const i=n.C[o];let c,a,d,u=0;if(Ee||(Me=!0,"slot"===i.R&&(i.i|=i.C?2:1)),null!==i.O)c=i.P=b.document.createTextNode(i.O);else if(1&i.i)c=i.P=b.document.createTextNode(""),je(null,i,Ne);else{if(Ne||(Ne="svg"===i.R),!b.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(c=i.P=b.document.createElementNS(Ne?s:l,!Ee&&t.slotRelocation&&2&i.i?"slot-fb":i.R),Ne&&"foreignObject"===i.R&&(Ne=!1),je(null,i,Ne),i.C)for(u=0;u<i.C.length;++u)a=Re(e,i,u),a&&c.appendChild(a);"svg"===i.R?Ne=!1:"foreignObject"===c.tagName&&(Ne=!0)}return c["s-hn"]=xe,3&i.i&&(c["s-sr"]=!0,c["s-cr"]=ke,c["s-sn"]=i.N||"",c["s-rf"]=null==(r=i.k)?void 0:r.ref,Q(c),d=e&&e.C&&e.C[o],d&&d.R===i.R&&e.P&&Pe(e.P,!1)),c},Pe=(e,t)=>{g.i|=1;const n=Array.from(e.__childNodes||e.childNodes);for(let e=n.length-1;e>=0;e--){const o=n[e];o["s-hn"]!==xe&&o["s-ol"]&&(He(Ae(o).parentNode,o,Ae(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,Me=!0),t&&Pe(o,t)}g.i&=-2},Te=(e,t,n,o,s,l)=>{let r,i=e["s-cr"]&&e["s-cr"].parentNode||e;for(i.shadowRoot&&i.tagName===xe&&(i=i.shadowRoot);s<=l;++s)o[s]&&(r=Re(null,n,s),r&&(o[s].P=r,He(i,r,Ae(t))))},Le=(e,t,n)=>{for(let o=t;o<=n;++o){const t=e[o];if(t){const e=t.P;_e(t),e&&(Ce=!0,e["s-ol"]?e["s-ol"].remove():Pe(e,!0),e.remove())}}},Ue=(e,t,n,o,s=!1)=>{let l,r,i=0,c=0,a=0,d=0,u=t.length-1,h=t[0],f=t[u],p=o.length-1,m=o[0],g=o[p];for(;i<=u&&c<=p;)if(null==h)h=t[++i];else if(null==f)f=t[--u];else if(null==m)m=o[++c];else if(null==g)g=o[--p];else if(Fe(h,m,s))De(h,m,s),h=t[++i],m=o[++c];else if(Fe(f,g,s))De(f,g,s),f=t[--u],g=o[--p];else if(Fe(h,g,s))"slot"!==h.R&&"slot"!==g.R||Pe(h.P.parentNode,!1),De(h,g,s),He(e,h.P,f.P.nextSibling),h=t[++i],g=o[--p];else if(Fe(f,m,s))"slot"!==h.R&&"slot"!==g.R||Pe(f.P.parentNode,!1),De(f,m,s),He(e,f.P,h.P),f=t[--u],m=o[++c];else{for(a=-1,d=i;d<=u;++d)if(t[d]&&null!==t[d].M&&t[d].M===m.M){a=d;break}a>=0?(r=t[a],r.R!==m.R?l=Re(t&&t[c],n,a):(De(r,m,s),t[a]=void 0,l=r.P),m=o[++c]):(l=Re(t&&t[c],n,c),m=o[++c]),l&&He(Ae(h.P).parentNode,l,Ae(h.P))}i>u?Te(e,null==o[p+1]?null:o[p+1].P,n,o,c,p):c>p&&Le(t,i,u)},Fe=(e,t,n=!1)=>e.R===t.R&&("slot"===e.R?e.N===t.N:n?(n&&!e.M&&t.M&&(e.M=t.M),!0):e.M===t.M),Ae=e=>e&&e["s-ol"]||e,De=(e,n,o=!1)=>{const s=n.P=e.P,l=e.C,r=n.C,i=n.R,c=n.O;let a;null===c?(je(e,n,Ne="svg"===i||"foreignObject"!==i&&Ne),null!==l&&null!==r?Ue(s,l,n,r,o):null!==r?(null!==e.O&&(s.textContent=""),Te(s,null,n,r,0,r.length-1)):!o&&t.updatable&&null!==l&&Le(l,0,l.length-1),Ne&&"svg"===i&&(Ne=!1)):(a=s["s-cr"])?a.parentNode.textContent=c:e.O!==c&&(s.data=c)},We=[],ze=e=>{let t,n,o;const s=e.__childNodes||e.childNodes;for(const e of s){if(e["s-sr"]&&(t=e["s-cr"])&&t.parentNode){n=t.parentNode.__childNodes||t.parentNode.childNodes;const s=e["s-sn"];for(o=n.length-1;o>=0;o--)if(t=n[o],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==e["s-hn"])if(J(t,s)){let n=We.find(e=>e.T===t);Ce=!0,t["s-sn"]=t["s-sn"]||s,n?(n.T["s-sh"]=e["s-hn"],n.L=e):(t["s-sh"]=e["s-hn"],We.push({L:e,T:t})),t["s-sr"]&&We.map(e=>{J(e.T,t["s-sn"])&&(n=We.find(e=>e.T===t),n&&!e.L&&(e.L=n.L))})}else We.some(e=>e.T===t)||We.push({T:t})}1===e.nodeType&&ze(e)}},_e=e=>{e.k&&e.k.ref&&e.k.ref(null),e.C&&e.C.map(_e)},He=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),Be=(e,t,n=!1)=>{var o,s,l,r;const i=e.$hostElement$,c=e.o,a=e.U||le(null,null),d=ae(t)?t:se(null,null,t);if(xe=i.tagName,c.F&&(d.k=d.k||{},c.F.map(([e,t])=>d.k[t]=i[e])),n&&d.k)for(const e of Object.keys(d.k))i.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(d.k[e]=i[e]);if(d.R=null,d.i|=4,e.U=d,d.P=a.P=i.shadowRoot||i,Ee=!(!(1&c.i)||128&c.i),ke=i["s-cr"],Ce=!1,De(a,d,n),g.i|=1,Me){ze(d.P);for(const e of We){const t=e.T;if(!t["s-ol"]&&b.document){const e=b.document.createTextNode("");e["s-nr"]=t,He(t.parentNode,t["s-ol"]=e,t)}}for(const e of We){const t=e.T,i=e.L;if(i){const e=i.parentNode;let n=i.nextSibling;{let l=null==(o=t["s-ol"])?void 0:o.previousSibling;for(;l;){let o=null!=(s=l["s-nr"])?s:null;if(o&&o["s-sn"]===t["s-sn"]&&e===(o.__parentNode||o.parentNode)){for(o=o.nextSibling;o===t||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){n=o;break}}l=l.previousSibling}}const r=t.__parentNode||t.parentNode,c=t.__nextSibling||t.nextSibling;(!n&&e!==r||c!==n)&&t!==n&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),He(e,t,n),1===t.nodeType&&"SLOT-FB"!==t.tagName&&(t.hidden=null!=(l=t["s-ih"])&&l)),t&&"function"==typeof i["s-rf"]&&i["s-rf"](i)}else 1===t.nodeType&&(n&&(t["s-ih"]=null!=(r=t.hidden)&&r),t.hidden=!0)}}Ce&&q(d.P),g.i&=-2,We.length=0,ke=void 0},Ie=(e,t)=>{if(t&&!e.A&&t["s-p"]){const n=t["s-p"].push(new Promise(o=>e.A=()=>{t["s-p"].splice(n-1,1),o()}))}},qe=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Ie(e,e.D);const n=()=>Ve(e,t);if(!t)return P(n);queueMicrotask(()=>{n()})},Ve=(e,t)=>{const n=e.$hostElement$,o=Z("scheduleUpdate",e.o.m),s=e.t;if(!s)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return t?(e.i|=256,e.W&&(e.W.map(([e,t])=>Ze(s,e,t,n)),e.W=void 0),l=Ze(s,"componentWillLoad",void 0,n)):l=Ze(s,"componentWillUpdate",void 0,n),l=Ye(l,()=>Ze(s,"componentWillRender",void 0,n)),o(),Ye(l,()=>Je(e,s,t))},Ye=(e,t)=>Ge(e)?e.then(t).catch(e=>{console.error(e),t()}):t(),Ge=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,Je=async(e,t,n)=>{var o;const s=e.$hostElement$,l=Z("update",e.o.m),r=s["s-rc"];n&&ie(e);const i=Z("render",e.o.m);Ke(e,t,s,n),r&&(r.map(e=>e()),s["s-rc"]=void 0),i(),l();{const t=null!=(o=s["s-p"])?o:[],n=()=>Qe(e);0===t.length?n():(Promise.all(t).then(n),e.i|=4,t.length=0)}},Ke=(e,t,n,o)=>{try{t=t.render(),e.i&=-17,e.i|=2,Be(e,t,o)}catch(t){v(t,e.$hostElement$)}return null},Qe=e=>{const t=e.o.m,n=e.$hostElement$,o=Z("postUpdate",t),s=e.t,l=e.D;Ze(s,"componentDidRender",void 0,n),64&e.i?(Ze(s,"componentDidUpdate",void 0,n),o()):(e.i|=64,et(n),Ze(s,"componentDidLoad",void 0,n),o(),e.p(n),l||Xe()),e.v(n),e.A&&(e.A(),e.A=void 0),512&e.i&&R(()=>qe(e,!1)),e.i&=-517},Xe=t=>{R(()=>ye(b,"appload",{detail:{namespace:e}}))},Ze=(e,t,n,o)=>{if(e&&e[t])try{return e[t](n)}catch(e){v(e,o)}},et=e=>{var n;return e.classList.add(null!=(n=t.hydratedSelectorName)?n:"hydrated")},tt=(e,t)=>f(e).l.get(t),nt=(e,t,n,o)=>{const s=f(e);if(!s)return;if(!s)throw new Error(`Couldn't find host element for "${o.m}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const l=s.$hostElement$,r=s.l.get(t),i=s.i,c=s.t;n=he(n,o._[t][0]);const a=Number.isNaN(r)&&Number.isNaN(n);if((!(8&i)||void 0===r)&&n!==r&&!a&&(s.l.set(t,n),c)){if(o.H&&128&i){const e=o.H[t];e&&e.map(e=>{try{c[e](n,r,t)}catch(e){v(e,l)}})}if(2==(18&i)){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(n,r,t))return;qe(s,!1)}}},rt=(e,n,o)=>{var s,l;const r=e.prototype;if(n._||n.H||e.watchers){e.watchers&&!n.H&&(n.H=e.watchers);const i=Object.entries(null!=(s=n._)?s:{});if(i.map(([e,[t]])=>{if(31&t||2&o&&32&t){const{get:s,set:l}=Object.getOwnPropertyDescriptor(r,e)||{};s&&(n._[e][0]|=2048),l&&(n._[e][0]|=4096),(1&o||!s)&&Object.defineProperty(r,e,{get(){{if(!(2048&n._[e][0]))return tt(this,e);const t=f(this),o=t?t.t:r;if(!o)return;return o[e]}},configurable:!0,enumerable:!0}),Object.defineProperty(r,e,{set(s){const r=f(this);if(r){if(l){const o=32&t?this[e]:r.$hostElement$[e];return void 0===o&&r.l.get(e)?s=r.l.get(e):!r.l.get(e)&&o&&r.l.set(e,o),l.apply(this,[he(s,t)]),s=32&t?this[e]:r.$hostElement$[e],void nt(this,e,s,n)}{if(!(1&o&&4096&n._[e][0]))return nt(this,e,s,n),void(1&o&&!r.t&&r.h.then(()=>{4096&n._[e][0]&&r.t[e]!==r.l.get(e)&&(r.t[e]=s)}));const l=()=>{const o=r.t[e];!r.l.get(e)&&o&&r.l.set(e,o),r.t[e]=he(s,t),nt(this,e,r.t[e],n)};r.t?l():r.h.then(()=>l())}}}})}else 1&o&&64&t&&Object.defineProperty(r,e,{value(...t){var n;const o=f(this);return null==(n=null==o?void 0:o.u)?void 0:n.then(()=>{var n;return null==(n=o.t)?void 0:n[e](...t)})}})}),1&o){const o=new Map;r.attributeChangedCallback=function(e,s,l){g.jmp(()=>{var i;const c=o.get(e);if(this.hasOwnProperty(c)&&t.lazyLoad)l=this[c],delete this[c];else{if(r.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==l)return;if(null==c){const t=f(this),o=null==t?void 0:t.i;if(t&&o&&!(8&o)&&128&o&&l!==s){const o=t.t,r=null==(i=n.H)?void 0:i[e];null==r||r.forEach(t=>{null!=o[t]&&o[t].call(o,l,s,e)})}return}}const a=Object.getOwnPropertyDescriptor(r,c);(l=(null!==l||"boolean"!=typeof this[c])&&l)===this[c]||a.get&&!a.set||(this[c]=l)})},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(l=n.H)?l:{}),...i.filter(([e,t])=>15&t[0]).map(([e,t])=>{var s;const l=t[1]||e;return o.set(l,e),512&t[0]&&(null==(s=n.F)||s.push([e,l])),l})]))}}return e},it=async(e,t,n,o)=>{let s;if(!(32&t.i)){if(t.i|=32,n.$){const o=h(n,t);if(o&&"then"in o){const e=ee();s=await o,e()}else s=o;if(!s)throw new Error(`Constructor for "${n.m}#${t.B}" was not found`);s.isProxied||(n.H=s.watchers,rt(s,n,2),s.isProxied=!0);const l=Z("createInstance",n.m);t.i|=8;try{new s(t)}catch(t){v(t,e)}t.i&=-9,t.i|=128,l(),ot(t.t,e)}else{s=e.constructor;const n=e.localName;customElements.whenDefined(n).then(()=>t.i|=128)}if(s&&s.style){let e;"string"==typeof s.style&&(e=s.style);const t=oe(n);if(!p.has(t)){const o=Z("registerStyles",n.m);ne(t,e,!!(1&n.i)),o()}}}const l=t.D,r=()=>qe(t,!0);l&&l["s-rc"]?l["s-rc"].push(r):r()},ot=(e,t)=>{Ze(e,"connectedCallback",void 0,t)},st=e=>{if(!(1&g.i)){const t=f(e);if(!t)return;const n=t.o,o=Z("connectedCallback",n.m);if(1&t.i)ut(e,t,n.I),(null==t?void 0:t.t)?ot(t.t,e):(null==t?void 0:t.h)&&t.h.then(()=>ot(t.t,e));else{t.i|=1,12&n.i&<(e);{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){Ie(t,t.D=n);break}}n._&&Object.entries(n._).map(([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}}),it(e,t,n)}o()}},lt=e=>{if(!b.document)return;const t=e["s-cr"]=b.document.createComment("");t["s-cn"]=!0,He(e,t,e.firstChild)},ft=(e,t)=>{Ze(e,"disconnectedCallback",void 0,t||e)},at=async e=>{if(!(1&g.i)){const t=f(e);(null==t?void 0:t.q)&&(t.q.map(e=>e()),t.q=void 0),(null==t?void 0:t.t)?ft(t.t,e):(null==t?void 0:t.h)&&t.h.then(()=>ft(t.t,e))}te.has(e)&&te.delete(e),e.shadowRoot&&te.has(e.shadowRoot)&&te.delete(e.shadowRoot)},ct=(e,t={})=>{var n;if(!b.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const o=Z(),s=[],l=t.exclude||[],r=b.customElements,i=b.document.head,a=i.querySelector("meta[charset]"),d=b.document.createElement("style"),u=[];let h,p=!0;Object.assign(g,t),g.S=new URL(t.resourcesUrl||"./",b.document.baseURI).href;let v=!1;if(e.map(e=>{e[1].map(t=>{var n;const o={i:t[0],m:t[1],_:t[2],I:t[3]};4&o.i&&(v=!0),o._=t[2],o.I=t[3],o.F=[],o.H=null!=(n=t[4])?n:{};const i=o.m,a=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,c(e=this,o),1&o.i)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw new Error(`Unable to re-use existing shadow root for ${o.m}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else I.call(e,o)}connectedCallback(){const e=f(this);e&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,ut(this,e,o.I)),h&&(clearTimeout(h),h=null),p?u.push(this):g.jmp(()=>st(this)))}disconnectedCallback(){g.jmp(()=>at(this)),g.raf(()=>{var e;const t=f(this);if(!t)return;const n=u.findIndex(e=>e===this);n>-1&&u.splice(n,1),(null==(e=null==t?void 0:t.U)?void 0:e.P)instanceof Node&&!t.U.P.isConnected&&delete t.U.P})}componentOnReady(){var e;return null==(e=f(this))?void 0:e.h}};o.$=e[0],l.includes(i)||r.get(i)||(s.push(i),r.define(i,rt(a,o,1)))})}),s.length>0&&(v&&(d.textContent+=y),d.textContent+=s.sort()+m,d.innerHTML.length)){d.setAttribute("data-styles","");const e=null!=(n=g.j)?n:L(b.document);null!=e&&d.setAttribute("nonce",e),i.insertBefore(d,a?a.nextSibling:i.firstChild)}p=!1,u.length?u.map(e=>e.connectedCallback()):g.jmp(()=>h=setTimeout(Xe,30)),o()},ut=(e,t,n,o)=>{n&&b.document&&n.map(([n,o,s])=>{const l=dt(b.document,e,n),r=vt(t,s),i=ht(n);g.ael(l,o,r,i),(t.q=t.q||[]).push(()=>g.rel(l,o,r,i))})},vt=(e,t)=>n=>{var o;try{256&e.i?null==(o=e.t)||o[t](n):(e.W=e.W||[]).push([t,n])}catch(t){v(t,e.$hostElement$)}},dt=(e,t,n)=>8&n?b:t,ht=e=>$?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e),pt=e=>g.j=e;export{fe as H,pe as a,ct as b,me as c,n as g,se as h,S as p,a as r,pt as s};