Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@bruit/component

Package Overview
Dependencies
Maintainers
1
Versions
162
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bruit/component - npm Package Compare versions

Comparing version 0.4.7 to 0.4.8

dist/bruit/bruit.0unnk6fi.js

4

dist/bruit.js
/*!
* Built with http://stenciljs.com
* 2018-11-20T15:11:42
* 2018-11-20T15:22:39
*/
!function(e,t,r,n,i,s,o,u,c,a,l,d,p,h){for(l=e.bruit=e.bruit||{},(d=t.createElement("style")).innerHTML="bruit-io{visibility:hidden}.hydrated{visibility:inherit}",d.setAttribute("data-styles",""),p=t.head.querySelector("meta[charset]"),t.head.insertBefore(d,p?p.nextSibling:t.head.firstChild),function(e,t,r){(e["s-apps"]=e["s-apps"]||[]).push("bruit"),r.componentOnReady||(r.componentOnReady=function(){var t=this;function r(r){if(t.nodeName.indexOf("-")>0){for(var n=e["s-apps"],i=0,s=0;s<n.length;s++)if(e[n[s]].componentOnReady){if(e[n[s]].componentOnReady(t,r))return;i++}if(i<n.length)return void(e["s-cr"]=e["s-cr"]||[]).push([t,r])}r(null)}return e.Promise?new e.Promise(r):{then:r}})}(e,0,a),i=i||l.resourcesUrl,d=(p=t.querySelectorAll("script")).length-1;d>=0&&!(h=p[d]).src&&!h.hasAttribute("data-resources-url");d--);p=h.getAttribute("data-resources-url"),!i&&p&&(i=p),!i&&h.src&&(i=(p=h.src.split("/").slice(0,-1)).join("/")+(p.length?"/":"")+"bruit/"),d=t.createElement("script"),function(e,t,r,n){return!(t.search.indexOf("core=esm")>0)&&(!(!(t.search.indexOf("core=es5")>0||"file:"===t.protocol)&&e.customElements&&e.customElements.define&&e.fetch&&e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")&&"noModule"in r)||function(e){try{return new Function('import("")'),!1}catch(e){}return!0}())}(e,e.location,d)?d.src=i+"bruit.75t5ayq0.js":(d.src=i+"bruit.hbptbvby.js",d.setAttribute("type","module"),d.setAttribute("crossorigin",!0)),d.setAttribute("data-resources-url",i),d.setAttribute("data-namespace","bruit"),t.head.appendChild(d)}(window,document,0,0,0,0,0,0,0,HTMLElement.prototype);
!function(e,t,r,n,i,s,o,u,c,a,l,d,p,h){for(l=e.bruit=e.bruit||{},(d=t.createElement("style")).innerHTML="bruit-io{visibility:hidden}.hydrated{visibility:inherit}",d.setAttribute("data-styles",""),p=t.head.querySelector("meta[charset]"),t.head.insertBefore(d,p?p.nextSibling:t.head.firstChild),function(e,t,r){(e["s-apps"]=e["s-apps"]||[]).push("bruit"),r.componentOnReady||(r.componentOnReady=function(){var t=this;function r(r){if(t.nodeName.indexOf("-")>0){for(var n=e["s-apps"],i=0,s=0;s<n.length;s++)if(e[n[s]].componentOnReady){if(e[n[s]].componentOnReady(t,r))return;i++}if(i<n.length)return void(e["s-cr"]=e["s-cr"]||[]).push([t,r])}r(null)}return e.Promise?new e.Promise(r):{then:r}})}(e,0,a),i=i||l.resourcesUrl,d=(p=t.querySelectorAll("script")).length-1;d>=0&&!(h=p[d]).src&&!h.hasAttribute("data-resources-url");d--);p=h.getAttribute("data-resources-url"),!i&&p&&(i=p),!i&&h.src&&(i=(p=h.src.split("/").slice(0,-1)).join("/")+(p.length?"/":"")+"bruit/"),d=t.createElement("script"),function(e,t,r,n){return!(t.search.indexOf("core=esm")>0)&&(!(!(t.search.indexOf("core=es5")>0||"file:"===t.protocol)&&e.customElements&&e.customElements.define&&e.fetch&&e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")&&"noModule"in r)||function(e){try{return new Function('import("")'),!1}catch(e){}return!0}())}(e,e.location,d)?d.src=i+"bruit.ebv6gkbr.js":(d.src=i+"bruit.0unnk6fi.js",d.setAttribute("type","module"),d.setAttribute("crossorigin",!0)),d.setAttribute("data-resources-url",i),d.setAttribute("data-namespace","bruit"),t.head.appendChild(d)}(window,document,0,0,0,0,0,0,0,HTMLElement.prototype);

@@ -49,8 +49,3 @@ {

"name": "bruitElement"
},
"events": [
{
"event": "onError"
}
]
}
}

@@ -57,0 +52,0 @@ ],

@@ -38,3 +38,2 @@ import { BrtFieldType } from '@bruit/types/dist/enums/brt-field-type';

else {
this.onError.emit(configError);
console.error(configError);

@@ -94,3 +93,2 @@ }

else {
this.onError.emit(err);
if (err && err.text) {

@@ -268,3 +266,2 @@ this.modalError = err;

console.error('BRUIT.IO error : ', err);
this.onError.emit(err);
return h("span", { class: "error" }, "error");

@@ -384,10 +381,3 @@ }

}; }
static get events() { return [{
"name": "onError",
"method": "onError",
"bubbles": true,
"cancelable": true,
"composed": true
}]; }
static get style() { return "/**style-placeholder:bruit-io:**/"; }
}
// bruit: Host Data, ES Module/es2017 Target
export const BruitIo = ["bruit-io","054easvn",1,[["_config",16],["bruitElement",64],["config",1,0,1,2],["data",1],["dataFn",1],["modalBrtField",16],["modalError",16],["modalOpened",16]]];
export const BruitIo = ["bruit-io","xketernj",1,[["_config",16],["bruitElement",64],["config",1,0,1,2],["data",1],["dataFn",1],["modalBrtField",16],["modalError",16],["modalOpened",16]]];

@@ -5,5 +5,5 @@ /*!

*/
function n(n,t){return"sc-"+n.n+(t&&t!==C?"-"+t:"")}function t(n,t){return n+(t?"-h":"-s")}function e(t,e,r,i){var o=r.n+i.mode,u=r[o];if((2===r.t||1===r.t&&!t.r.e)&&(i["s-sc"]=u?n(r,i.mode):n(r)),u||(u=r[o=r.n+C]),u){var f=e.i.head,c=t.o.get(f);if(c||t.o.set(f,c={}),!c[o]){var a=void 0;if((a=e.u("style")).innerHTML=u,c[o]=!0,a){var s=f.querySelectorAll("[data-styles]");e.f(f,a,s.length&&s[s.length-1].nextSibling||f.firstChild)}}}}function r(n,t,e,r,u,f,c){if("class"!==e||f)if("style"===e){for(var a in r)u&&null!=u[a]||(/-/.test(a)?t.style.removeProperty(a):t.style[a]="");for(var a in u)r&&u[a]===r[a]||(/-/.test(a)?t.style.setProperty(a,u[a]):t.style[a]=u[a])}else if("o"!==e[0]||"n"!==e[1]||!/[A-Z]/.test(e[2])||e in t)if("list"!==e&&"type"!==e&&!f&&(e in t||-1!==["object","function"].indexOf(typeof u)&&null!==u)){var s=n.c(t);s&&s.a&&s.a[e]?o(t,e,u):"ref"!==e&&(o(t,e,null==u?"":u),null!=u&&!1!==u||n.r.s(t,e))}else null!=u&&"key"!==e?function l(n,t,e,r){void 0===r&&(r="boolean"==typeof e);var i=t!==(t=t.replace(/^xlink\:?/,""));null==e||r&&(!e||"false"===e)?i?n.removeAttributeNS(W,_(t)):n.removeAttribute(t):"function"!=typeof e&&(e=r?"":e.toString(),i?n.setAttributeNS(W,_(t),e):n.setAttribute(t,e))}(t,e,u):(f||n.r.l(t,e)&&(null==u||!1===u))&&n.r.s(t,e);else e=_(e)in t?_(e.substring(2)):_(e[2])+e.substring(3),u?u!==r&&n.r.v(t,e,u):n.r.p(t,e);else if(r!==u){var v=i(r),p=i(u),d=v.filter(function(n){return!p.includes(n)}),h=i(t.className).filter(function(n){return!d.includes(n)}),y=p.filter(function(n){return!v.includes(n)&&!h.includes(n)});h.push.apply(h,y),t.className=h.join(" ")}}function i(n){return null==n||""===n?[]:n.trim().split(/\s+/)}function o(n,t,e){try{n[t]=e}catch(n){}}function u(n,t,e,i,o){var u=11===e.d.nodeType&&e.d.host?e.d.host:e.d,f=t&&t.vattrs||O,c=e.vattrs||O;for(o in f)c&&null!=c[o]||null==f[o]||r(n,u,o,f[o],void 0,i,e.y);for(o in c)o in f&&c[o]===("value"===o||"checked"===o?u[o]:f[o])||r(n,u,o,f[o],c[o],i,e.y)}function f(n,t){function e(i,o,f,c,a,v,b,m,w){if(m=o.vchildren[f],s||(p=!0,"slot"===m.vtag&&(l&&t.b(c,l+"-s"),m.vchildren?m.m=!0:m.w=!0)),x(m.vtext))m.d=t.g(m.vtext);else if(m.w)m.d=t.g("");else{if(v=m.d=N||"svg"===m.vtag?t.M("http://www.w3.org/2000/svg",m.vtag):t.u(m.m?"slot-fb":m.vtag),n.j(v)&&n.k.delete(y),N="svg"===m.vtag||"foreignObject"!==m.vtag&&N,u(n,null,m,N),x(l)&&v["s-si"]!==l&&t.b(v,v["s-si"]=l),m.vchildren)for(a=0;a<m.vchildren.length;++a)(b=e(i,m,a,v))&&t.A(v,b);"svg"===m.vtag&&(N=!1)}return m.d["s-hn"]=h,(m.m||m.w)&&(m.d["s-sr"]=!0,m.d["s-cr"]=d,m.d["s-sn"]=m.vname||"",(w=i&&i.vchildren&&i.vchildren[f])&&w.vtag===m.vtag&&i.d&&r(i.d)),m.d}function r(e,i,o,u){n.C=!0;var f=t.O(e);for(o=f.length-1;o>=0;o--)(u=f[o])["s-hn"]!==h&&u["s-ol"]&&(t.S(u),t.f(a(u),u,c(u)),t.S(u["s-ol"]),u["s-ol"]=null,p=!0),i&&r(u,i);n.C=!1}function i(n,r,i,o,u,f,a,s){var l=n["s-cr"];for((a=l&&t.x(l)||n).shadowRoot&&t._(a)===h&&(a=a.shadowRoot);u<=f;++u)o[u]&&(s=x(o[u].vtext)?t.g(o[u].vtext):e(null,i,u,n))&&(o[u].d=s,t.f(a,s,c(r)))}function o(n,e,i,o){for(;e<=i;++e)x(n[e])&&(o=n[e].d,v=!0,o["s-ol"]?t.S(o["s-ol"]):r(o,!0),t.S(o))}function f(n,t){return n.vtag===t.vtag&&n.vkey===t.vkey&&("slot"!==n.vtag||n.vname===t.vname)}function c(n){return n&&n["s-ol"]?n["s-ol"]:n}function a(n){return t.x(n["s-ol"]?n["s-ol"]:n)}var s,l,v,p,d,h,y,b=[];return function m(w,g,M,j,k,$,A,E,C,O,S,_){if(y=w,h=t._(y),d=y["s-cr"],s=j,l=y["s-sc"],p=v=!1,function s(l,v,p){var d=v.d=l.d,h=l.vchildren,y=v.vchildren;N=v.d&&x(t.P(v.d))&&void 0!==v.d.ownerSVGElement,N="svg"===v.vtag||"foreignObject"!==v.vtag&&N,x(v.vtext)?(p=d["s-cr"])?t.T(t.x(p),v.vtext):l.vtext!==v.vtext&&t.T(d,v.vtext):("slot"!==v.vtag&&u(n,l,v,N),x(h)&&x(y)?function b(n,u,l,v,p,d,h,y){for(var b=0,m=0,w=u.length-1,g=u[0],M=u[w],j=v.length-1,k=v[0],$=v[j];b<=w&&m<=j;)if(null==g)g=u[++b];else if(null==M)M=u[--w];else if(null==k)k=v[++m];else if(null==$)$=v[--j];else if(f(g,k))s(g,k),g=u[++b],k=v[++m];else if(f(M,$))s(M,$),M=u[--w],$=v[--j];else if(f(g,$))"slot"!==g.vtag&&"slot"!==$.vtag||r(t.x(g.d)),s(g,$),t.f(n,g.d,t.W(M.d)),g=u[++b],$=v[--j];else if(f(M,k))"slot"!==g.vtag&&"slot"!==$.vtag||r(t.x(M.d)),s(M,k),t.f(n,M.d,g.d),M=u[--w],k=v[++m];else{for(p=null,d=b;d<=w;++d)if(u[d]&&x(u[d].vkey)&&u[d].vkey===k.vkey){p=d;break}x(p)?((y=u[p]).vtag!==k.vtag?h=e(u&&u[m],l,p,n):(s(y,k),u[p]=void 0,h=y.d),k=v[++m]):(h=e(u&&u[m],l,m,n),k=v[++m]),h&&t.f(a(g.d),h,c(g.d))}b>w?i(n,null==v[j+1]?null:v[j+1].d,l,v,m,j):m>j&&o(u,b,w)}(d,h,v,y):x(y)?(x(l.vtext)&&t.T(d,""),i(d,null,v,y,0,y.length-1)):x(h)&&o(h,0,h.length-1)),N&&"svg"===v.vtag&&(N=!1)}(g,M),p){for(function n(e,r,i,o,u,f,c,a,s,l){for(u=0,f=(r=t.O(e)).length;u<f;u++){if((i=r[u])["s-sr"]&&(o=i["s-cr"]))for(a=t.O(t.x(o)),s=i["s-sn"],c=a.length-1;c>=0;c--)(o=a[c])["s-cn"]||o["s-nr"]||o["s-hn"]===i["s-hn"]||((3===(l=t.N(o))||8===l)&&""===s||1===l&&null===t.R(o,"slot")&&""===s||1===l&&t.R(o,"slot")===s)&&(b.some(function(n){return n.L===o})||(v=!0,o["s-sn"]=s,b.push({D:i,L:o})));1===t.N(i)&&n(i)}}(M.d),A=0;A<b.length;A++)(E=b[A]).L["s-ol"]||((C=t.g(""))["s-nr"]=E.L,t.f(t.x(E.L),E.L["s-ol"]=C,E.L));for(n.C=!0,A=0;A<b.length;A++){for(E=b[A],S=t.x(E.D),_=t.W(E.D),C=E.L["s-ol"];C=t.F(C);)if((O=C["s-nr"])&&O&&O["s-sn"]===E.L["s-sn"]&&S===t.x(O)&&(O=t.W(O))&&O&&!O["s-nr"]){_=O;break}(!_&&S!==t.x(E.L)||t.W(E.L)!==_)&&E.L!==_&&(t.S(E.L),t.f(S,E.L,_))}n.C=!1}return v&&function n(e,r,i,o,u,f,c,a){for(o=0,u=(i=t.O(e)).length;o<u;o++)if(r=i[o],1===t.N(r)){if(r["s-sr"])for(c=r["s-sn"],r.hidden=!1,f=0;f<u;f++)if(i[f]["s-hn"]!==r["s-hn"])if(a=t.N(i[f]),""!==c){if(1===a&&c===t.R(i[f],"slot")){r.hidden=!0;break}}else if(1===a||3===a&&""!==t.H(i[f]).trim()){r.hidden=!0;break}n(r)}}(M.d),b.length=0,M}}function c(n,t){n&&(n.vattrs&&n.vattrs.ref&&n.vattrs.ref(t?null:n.d),n.vchildren&&n.vchildren.forEach(function(n){c(n,t)}))}function a(n,t){for(var e,r,i=null,o=!1,u=!1,f=arguments.length;f-- >2;)R.push(arguments[f]);for(;R.length>0;){var c=R.pop();if(c&&void 0!==c.pop)for(f=c.length;f--;)R.push(c[f]);else"boolean"==typeof c&&(c=null),(u="function"!=typeof n)&&(null==c?c="":"number"==typeof c?c=String(c):"string"!=typeof c&&(u=!1)),u&&o?i[i.length-1].vtext+=c:null===i?i=[u?{vtext:c}:c]:i.push(u?{vtext:c}:c),o=u}if(null!=t){if(t.className&&(t.class=t.className),"object"==typeof t.class){for(f in t.class)t.class[f]&&R.push(f);t.class=R.join(" "),R.length=0}null!=t.key&&(e=t.key),null!=t.name&&(r=t.name)}return"function"==typeof n?n(t,i||[],L):{vtag:n,vchildren:i,vtext:void 0,vattrs:t,vkey:e,vname:r,d:void 0,y:!1}}function s(n){return{vtag:n.vtag,vchildren:n.vchildren,vtext:n.vtext,vattrs:n.vattrs,vkey:n.vkey,vname:n.vname}}function l(n){return{q:n[0],I:n[1],U:!!n[2],B:!!n[3],G:!!n[4]}}function v(n,t){if(x(t)&&"object"!=typeof t&&"function"!=typeof t){if(n===Boolean||4===n)return"false"!==t&&(""===t||!!t);if(n===Number||8===n)return parseFloat(t);if(n===String||2===n)return t.toString()}return t}function p(n,t,e){n.Q.add(t),n.Y.has(t)||(n.Y.set(t,!0),n.Z?n.queue.write(function(){return d(n,t,e)}):n.queue.tick(function(){return d(n,t,e)}))}function d(n,e,r,i,o,u){return k(this,void 0,void 0,function(){var i,f;return $(this,function(c){switch(c.z){case 0:if(n.Y.delete(e),n.J.has(e))return[3,12];if(o=n.K.get(e))return[3,6];if((u=n.V.get(e))&&!u["s-rn"])return(u["s-rc"]=u["s-rc"]||[]).push(function(){d(n,e,r)}),[2];if(!(o=function s(n,t,e,r,i,o,u,f){try{i=new(o=n.c(t).X),function c(n,t,e,r,i,o){n.nn.set(r,e),n.tn.has(e)||n.tn.set(e,{}),Object.entries(Object.assign({color:{type:String}},t.properties,{mode:{type:String}})).forEach(function(t){var u=t[0],f=t[1];(function c(n,t,e,r,i,o,u,f,a){if(t.type||t.state){var s=n.tn.get(e);t.state||(!t.attr||void 0!==s[i]&&""!==s[i]||(f=o&&o.en)&&x(a=f[t.attr])&&(s[i]=v(t.type,a)),e.hasOwnProperty(i)&&(void 0===s[i]&&(s[i]=v(t.type,e[i])),"mode"!==i&&delete e[i])),r.hasOwnProperty(i)&&void 0===s[i]&&(s[i]=r[i]),t.watchCallbacks&&(s[D+i]=t.watchCallbacks.slice()),b(r,i,function l(t){return(t=n.tn.get(n.nn.get(this)))&&t[i]},function p(e,r){(r=n.nn.get(this))&&(t.state||t.mutable)&&h(n,r,i,e,u)})}else t.elementRef&&y(r,i,e)})(n,f,e,r,u,i,o)})}(n,o,t,i,e,r),function a(n,t,e){if(t){var r=n.nn.get(e);t.forEach(function(t){e[t.method]={emit:function(e){return n.rn(r,t.name,{bubbles:t.bubbles,composed:t.composed,cancelable:t.cancelable,detail:e})}}})}}(n,o.events,i)}catch(e){i={},n.in(e,7,t,!0)}return n.K.set(t,i),i}(n,e,n.on.get(e),r)))return[3,5];c.z=1;case 1:return c.un.push([1,4,,5]),o.componentWillLoad?[4,o.componentWillLoad()]:[3,3];case 2:c.fn(),c.z=3;case 3:return[3,5];case 4:return i=c.fn(),n.in(i,3,e),[3,5];case 5:case 6:return[3,11];case 7:return c.un.push([7,10,,11]),o.componentWillUpdate?[4,o.componentWillUpdate()]:[3,9];case 8:c.fn(),c.z=9;case 9:return[3,11];case 10:return f=c.fn(),n.in(f,5,e),[3,11];case 11:(function l(n,e,r,i,o){try{var u=e.X.host,f=e.X.encapsulation,c="shadow"===f&&n.r.e,s=r;if(!r["s-rn"]){n.cn(n,n.r,e,r);var l=r["s-sc"];l&&(n.r.b(r,t(l,!0)),"scoped"===f&&n.r.b(r,t(l)))}if(i.render||i.hostData||u){n.an=!0;var v=i.render&&i.render();n.an=!1;var p=n.sn.get(r)||{};p.d=s;var d=a(null,void 0,v);n.sn.set(r,n.render(r,p,d,c,f))}r["s-rn"]=!0,r["s-rc"]&&(r["s-rc"].forEach(function(n){return n()}),r["s-rc"]=null)}catch(t){n.an=!1,n.in(t,8,r,!0)}})(n,n.c(e),e,o),e["s-init"](),c.z=12;case 12:return[2]}})})}function h(n,t,e,r,i,o){var u=n.tn.get(t);u||n.tn.set(t,u={});var f=u[e];if(r!==f&&(u[e]=r,o=n.K.get(t))){var c=u[D+e];if(c)for(var a=0;a<c.length;a++)try{o[c[a]].call(o,r,f,e)}catch(n){}!n.an&&t["s-rn"]&&p(n,t,i)}}function y(n,t,e){Object.defineProperty(n,t,{configurable:!0,value:e})}function b(n,t,e,r){Object.defineProperty(n,t,{configurable:!0,get:e,set:r})}function m(n,t,e,r,i,o){if(n.Q.delete(t),(i=n.V.get(t))&&((r=i["s-ld"])&&((e=r.indexOf(t))>-1&&r.splice(e,1),r.length||i["s-init"]&&i["s-init"]()),n.V.delete(t)),n.ln.length&&!n.Q.size)for(;o=n.ln.shift();)o()}function w(n,t,e,r,i){if(e.connectedCallback=function(){(function e(n,t,r,i){n.J.delete(r),n.vn.has(r)||(r["s-id"]||(r["s-id"]=n.pn()),n.dn=!0,n.Q.add(r),n.vn.set(r,!0),function o(n,t,e){for(e=t;e=n.r.P(e);)if(n.j(e)){n.k.has(t)||(n.V.set(t,e),(e["s-ld"]=e["s-ld"]||[]).push(t));break}}(n,r),n.queue.tick(function(){n.on.set(r,function e(n,t,r,i,o){return r.mode||(r.mode=n.hn(r)),r["s-cr"]||n.R(r,E)||n.e&&1===t.t||(r["s-cr"]=n.g(""),r["s-cr"]["s-cn"]=!0,n.f(r,r["s-cr"],n.O(r)[0])),n.e||1!==t.t||(r.shadowRoot=r),i={yn:r["s-id"],en:{}},t.a&&Object.keys(t.a).forEach(function(e){(o=t.a[e].bn)&&(i.en[o]=n.R(r,o))}),i}(n.r,t,r)),n.mn(t,r)}))})(n,t,this)},e.disconnectedCallback=function(){(function t(n,e,r){!n.C&&function i(n,t){for(;t;){if(!n.x(t))return 9!==n.N(t);t=n.x(t)}}(n.r,e)&&(n.J.set(e,!0),m(n,e),c(n.sn.get(e),!0),n.r.p(e),n.wn.delete(e),[n.V,n.gn,n.on].forEach(function(n){return n.delete(e)}))})(n,this)},e["s-init"]=function(){(function t(n,e,r,i,o,u,f){if(n.K.get(e)&&!n.J.has(e)&&(!e["s-ld"]||!e["s-ld"].length)){n.k.set(e,!0),n.Mn.has(e)||(n.Mn.set(e,!0),e["s-ld"]=void 0,n.r.b(e,r));try{c(n.sn.get(e)),(u=n.gn.get(e))&&(u.forEach(function(n){return n(e)}),n.gn.delete(e))}catch(t){n.in(t,4,e)}m(n,e)}})(n,this,r)},e.forceUpdate=function(){p(n,this,i)},t.a){var o=Object.entries(t.a),u={};o.forEach(function(n){var t=n[0],e=n[1].bn;e&&(u[e]=t)}),u=Object.assign({},u),e.attributeChangedCallback=function(n,t,e){(function r(n,t,e,i){var o=n[_(e)];o&&(t[o]=i)})(u,this,n,e)},function f(n,t,e,r){t.forEach(function(t){var i=t[0],o=t[1],u=o.jn;3&u?b(e,i,function t(){return(n.tn.get(this)||{})[i]},function t(e){h(n,this,i,v(o.kn,e),r)}):32===u&&y(e,i,T)})}(n,o,e,i)}}function g(n,t,e,r){return function(){var i=arguments;return function o(n,t,e){var r=t[e],i=n.i.body;return i?(r||(r=i.querySelector(e)),r||(r=t[e]=n.u(e),n.A(i,r)),r.componentOnReady()):Promise.resolve()}(n,t,e).then(function(n){return n[r].apply(n,i)})}}function M(n,t,r,i,o,u,c){var s=r.performance,l={html:{}},v={},d=r[n]=r[n]||{},h=function y(n,t,e){n.ael||(n.ael=function(n,t,e,r){return n.addEventListener(t,e,r)},n.rel=function(n,t,e,r){return n.removeEventListener(t,e,r)});var r=new WeakMap;"function"!=typeof t.CustomEvent&&(t.CustomEvent=function(n,t,r){return t=t||{},(r=e.createEvent("CustomEvent")).initCustomEvent(n,t.bubbles,t.cancelable,t.detail),r},t.CustomEvent.prototype=t.Event.prototype);var i={i:e,e:!!e.documentElement.attachShadow,$n:!1,N:function(n){return n.nodeType},u:function(n){return e.createElement(n)},M:function(n,t){return e.createElementNS(n,t)},g:function(n){return e.createTextNode(n)},An:function(n){return e.createComment(n)},f:function(n,t,e){return n.insertBefore(t,e)},S:function(n){return n.remove()},A:function(n,t){return n.appendChild(t)},b:function(n,t){if(n.classList)n.classList.add(t);else if("svg"===n.nodeName.toLowerCase()){var e=n.getAttribute("class")||"";e.split(" ").includes(t)||(e+=" "+t),n.setAttribute("class",e.trim())}},O:function(n){return n.childNodes},x:function(n){return n.parentNode},W:function(n){return n.nextSibling},F:function(n){return n.previousSibling},_:function(n){return _(n.nodeName)},H:function(n){return n.textContent},T:function(n,t){return n.textContent=t},R:function(n,t){return n.getAttribute(t)},En:function(n,t,e){return n.setAttribute(t,e)},Cn:function(n,t,e,r){return n.setAttributeNS(t,e,r)},s:function(n,t){return n.removeAttribute(t)},l:function(n,t){return n.hasAttribute(t)},hn:function(t){return t.getAttribute("mode")||(n.Context||{}).mode},On:function(n,r){return"child"===r?n.firstElementChild:"parent"===r?i.P(n):"body"===r?e.body:"document"===r?e:"window"===r?t:n},v:function(t,e,o,u,f,c,a,s){var l=e,v=t,p=r.get(t);if(p&&p[l]&&p[l](),"string"==typeof c?v=i.On(t,c):"object"==typeof c?v=c:(s=e.split(":")).length>1&&(v=i.On(t,s[0]),e=s[1]),v){var d=o;(s=e.split(".")).length>1&&(e=s[0],d=function(n){n.keyCode===S[s[1]]&&o(n)}),a=i.$n?{capture:!!u,passive:!!f}:!!u,n.ael(v,e,d,a),p||r.set(t,p={}),p[l]=function(){v&&n.rel(v,e,d,a),p[l]=null}}},p:function(n,t){var e=r.get(n);e&&(t?e[t]&&e[t]():Object.keys(e).forEach(function(n){e[n]&&e[n]()}))},Sn:function(n,e,r){var i=new t.CustomEvent(e,r);return n&&n.dispatchEvent(i),i},P:function(n,t){return(t=i.x(n))&&11===i.N(t)?t.host:t}};try{t.addEventListener("e",null,Object.defineProperty({},"passive",{get:function(){return i.$n=!0}}))}catch(n){}return i}(d,r,i);t.isServer=t.isPrerender=!(t.isClient=!0),t.window=r,t.location=r.location,t.document=i,t.resourcesUrl=t.publicPath=o,t.emit=function(n,e,r){return h.Sn(n,t.eventNameFn?t.eventNameFn(e):e,r)},d.h=a,d.Context=t;var b=r["s-defined"]=r["s-defined"]||{},m=0,M={r:h,xn:function j(n,t){var e=n.n;r.customElements.get(e)||(w(M,l[e]=n,t.prototype,u,s),t.observedAttributes=Object.values(n.a).map(function(n){return n.bn}).filter(function(n){return!!n}),r.customElements.define(n.n,t))},rn:t.emit,c:function(n){return l[h._(n)]},_n:function(n){return t[n]},isClient:!0,j:function(n){return!(!b[h._(n)]&&!M.c(n))},pn:function(){return n+m++},in:function(n,t,e){},Pn:function(n){return function t(n,e,r){return{create:g(n,e,r,"create"),componentOnReady:g(n,e,r,"componentOnReady")}}(h,v,n)},queue:t.queue=function k(n,t){function e(t){return function(e){t.push(e),d||(d=!0,n.raf(o))}}function r(n){for(var t=0;t<n.length;t++)try{n[t](u())}catch(n){}n.length=0}function i(n,t){for(var e,r=0;r<n.length&&(e=u())<t;)try{n[r++](e)}catch(n){}r===n.length?n.length=0:0!==r&&n.splice(0,r)}function o(){p++,r(s);var t=f?u()+7*Math.ceil(p*(1/22)):Infinity;i(l,t),i(v,t),l.length>0&&(v.push.apply(v,l),l.length=0),(d=s.length+l.length+v.length>0)?n.raf(o):p=0}var u=function(){return t.performance.now()},f=!1!==n.asyncQueue,c=Promise.resolve(),a=[],s=[],l=[],v=[],p=0,d=!1;return n.raf||(n.raf=t.requestAnimationFrame.bind(t)),{tick:function(n){a.push(n),1===a.length&&c.then(function(){return r(a)})},read:e(s),write:e(l)}}(d,r),mn:function $(n,t,e){if(n.X)p(M,t,s);else{var r={mode:t.mode,scoped:!1};n.Tn(r).then(function(e){try{n.X=e,function r(n,t,e,i,o,u){if(i){var f=t.n+(o||C);t[f]||(t[f]=i)}}(0,n,n.t,e.style,e.styleMode)}catch(t){n.X=function i(){}}p(M,t,s)})}},an:!1,Z:!1,C:!1,cn:e,V:new WeakMap,o:new WeakMap,vn:new WeakMap,wn:new WeakMap,Mn:new WeakMap,k:new WeakMap,nn:new WeakMap,on:new WeakMap,K:new WeakMap,J:new WeakMap,Y:new WeakMap,gn:new WeakMap,Wn:new WeakMap,sn:new WeakMap,tn:new WeakMap,Q:new Set,ln:[]};d.onReady=function(){return new Promise(function(n){return M.queue.write(function(){return M.Q.size?M.ln.push(n):n()})})},M.render=f(M,h);var A=h.i.documentElement;return A["s-ld"]=[],A["s-rn"]=!0,A["s-init"]=function(){M.k.set(A,d.loaded=M.Z=!0),h.Sn(r,"appload",{detail:{namespace:n}})},function E(n,t,e,r,i,o){if(t.componentOnReady=function(t,e){if(!t.nodeName.includes("-"))return e(null),!1;var r=n.c(t);if(r)if(n.k.has(t))e(t);else{var i=n.gn.get(t)||[];i.push(e),n.gn.set(t,i)}return!!r},i){for(o=i.length-1;o>=0;o--)t.componentOnReady(i[o][0],i[o][1])&&i.splice(o,1);for(o=0;o<r.length;o++)if(!e[r[o]].componentOnReady)return;for(o=0;o<i.length;o++)i[o][1](null);i.length=0}}(M,d,r,r["s-apps"],r["s-cr"]),d.initialized=!0,M}function j(n,t,e){void 0===e&&(e={});var r=Array.isArray(t)?t:[t],i=n.document,o=e.hydratedCssClass||"hydrated",u=r.map(function(n){return n[0]});if(u.length>0){var f=i.createElement("style");f.innerHTML=u.join()+"{visibility:hidden}."+o+"{visibility:inherit}",f.setAttribute("data-styles",""),i.head.insertBefore(f,i.head.firstChild)}var c=e.namespace||"bruit";return H||(H=!0,function a(n,t,e){(n["s-apps"]=n["s-apps"]||[]).push(t),e.componentOnReady||(e.componentOnReady=function t(){function e(t){if(r.nodeName.indexOf("-")>0){for(var e=n["s-apps"],i=0,o=0;o<e.length;o++)if(n[e[o]].componentOnReady){if(n[e[o]].componentOnReady(r,t))return;i++}if(i<e.length)return void(n["s-cr"]=n["s-cr"]||[]).push([r,t])}t(null)}var r=this;return n.Promise?new n.Promise(e):{then:e}})}(n,c,n.HTMLElement.prototype)),applyPolyfills(n).then(function(){if(!F[c]){var r={},u=e.resourcesUrl||"./";A(c,r,n,i,u,o),F[c]=M(c,r,n,i,u,o)}t.forEach(function(t){var e;!function r(n){return/\{\s*\[native code\]\s*\}/.test(""+n)}(n.customElements.define)?(e=function(t){return n.HTMLElement.call(this,t)}).prototype=Object.create(n.HTMLElement.prototype,{constructor:{value:e,configurable:!0}}):e=new Function("w","return class extends w.HTMLElement{}")(n),F[c].xn(function i(n){var t=function e(n){var t=n[0],e=n[1],r=n[3],i=n[4],o=n[5],u={color:{bn:"color"}};if(r)for(var f=0;f<r.length;f++){var c=r[f];u[c[0]]={jn:c[1],Nn:!!c[2],bn:"string"==typeof c[3]?c[3]:c[3]?c[0]:0,kn:c[4]}}return{n:t,Tn:e,a:Object.assign({},u),t:i,Rn:o?o.map(l):void 0}}(n),r=t.Tn,i=P(n[0]);return t.Tn=function(n){var t=n.mode,e=n.scoped;return function o(n,t,e){return import(
function n(n,t){return"sc-"+n.n+(t&&t!==C?"-"+t:"")}function t(n,t){return n+(t?"-h":"-s")}function e(t,e,r,i){var o=r.n+i.mode,u=r[o];if((2===r.t||1===r.t&&!t.r.e)&&(i["s-sc"]=u?n(r,i.mode):n(r)),u||(u=r[o=r.n+C]),u){var f=e.i.head,c=t.o.get(f);if(c||t.o.set(f,c={}),!c[o]){var a=void 0;if((a=e.u("style")).innerHTML=u,c[o]=!0,a){var s=f.querySelectorAll("[data-styles]");e.f(f,a,s.length&&s[s.length-1].nextSibling||f.firstChild)}}}}function r(n,t,e,r,u,f,c){if("class"!==e||f)if("style"===e){for(var a in r)u&&null!=u[a]||(/-/.test(a)?t.style.removeProperty(a):t.style[a]="");for(var a in u)r&&u[a]===r[a]||(/-/.test(a)?t.style.setProperty(a,u[a]):t.style[a]=u[a])}else if("o"!==e[0]||"n"!==e[1]||!/[A-Z]/.test(e[2])||e in t)if("list"!==e&&"type"!==e&&!f&&(e in t||-1!==["object","function"].indexOf(typeof u)&&null!==u)){var s=n.c(t);s&&s.a&&s.a[e]?o(t,e,u):"ref"!==e&&(o(t,e,null==u?"":u),null!=u&&!1!==u||n.r.s(t,e))}else null!=u&&"key"!==e?function l(n,t,e,r){void 0===r&&(r="boolean"==typeof e);var i=t!==(t=t.replace(/^xlink\:?/,""));null==e||r&&(!e||"false"===e)?i?n.removeAttributeNS(W,_(t)):n.removeAttribute(t):"function"!=typeof e&&(e=r?"":e.toString(),i?n.setAttributeNS(W,_(t),e):n.setAttribute(t,e))}(t,e,u):(f||n.r.l(t,e)&&(null==u||!1===u))&&n.r.s(t,e);else e=_(e)in t?_(e.substring(2)):_(e[2])+e.substring(3),u?u!==r&&n.r.v(t,e,u):n.r.p(t,e);else if(r!==u){var v=i(r),p=i(u),d=v.filter(function(n){return!p.includes(n)}),h=i(t.className).filter(function(n){return!d.includes(n)}),y=p.filter(function(n){return!v.includes(n)&&!h.includes(n)});h.push.apply(h,y),t.className=h.join(" ")}}function i(n){return null==n||""===n?[]:n.trim().split(/\s+/)}function o(n,t,e){try{n[t]=e}catch(n){}}function u(n,t,e,i,o){var u=11===e.d.nodeType&&e.d.host?e.d.host:e.d,f=t&&t.vattrs||O,c=e.vattrs||O;for(o in f)c&&null!=c[o]||null==f[o]||r(n,u,o,f[o],void 0,i,e.y);for(o in c)o in f&&c[o]===("value"===o||"checked"===o?u[o]:f[o])||r(n,u,o,f[o],c[o],i,e.y)}function f(n,t){function e(i,o,f,c,a,v,m,b,w){if(b=o.vchildren[f],s||(p=!0,"slot"===b.vtag&&(l&&t.m(c,l+"-s"),b.vchildren?b.b=!0:b.w=!0)),x(b.vtext))b.d=t.g(b.vtext);else if(b.w)b.d=t.g("");else{if(v=b.d=N||"svg"===b.vtag?t.M("http://www.w3.org/2000/svg",b.vtag):t.u(b.b?"slot-fb":b.vtag),n.k(v)&&n.j.delete(y),N="svg"===b.vtag||"foreignObject"!==b.vtag&&N,u(n,null,b,N),x(l)&&v["s-si"]!==l&&t.m(v,v["s-si"]=l),b.vchildren)for(a=0;a<b.vchildren.length;++a)(m=e(i,b,a,v))&&t.A(v,m);"svg"===b.vtag&&(N=!1)}return b.d["s-hn"]=h,(b.b||b.w)&&(b.d["s-sr"]=!0,b.d["s-cr"]=d,b.d["s-sn"]=b.vname||"",(w=i&&i.vchildren&&i.vchildren[f])&&w.vtag===b.vtag&&i.d&&r(i.d)),b.d}function r(e,i,o,u){n.C=!0;var f=t.O(e);for(o=f.length-1;o>=0;o--)(u=f[o])["s-hn"]!==h&&u["s-ol"]&&(t.S(u),t.f(a(u),u,c(u)),t.S(u["s-ol"]),u["s-ol"]=null,p=!0),i&&r(u,i);n.C=!1}function i(n,r,i,o,u,f,a,s){var l=n["s-cr"];for((a=l&&t.x(l)||n).shadowRoot&&t._(a)===h&&(a=a.shadowRoot);u<=f;++u)o[u]&&(s=x(o[u].vtext)?t.g(o[u].vtext):e(null,i,u,n))&&(o[u].d=s,t.f(a,s,c(r)))}function o(n,e,i,o){for(;e<=i;++e)x(n[e])&&(o=n[e].d,v=!0,o["s-ol"]?t.S(o["s-ol"]):r(o,!0),t.S(o))}function f(n,t){return n.vtag===t.vtag&&n.vkey===t.vkey&&("slot"!==n.vtag||n.vname===t.vname)}function c(n){return n&&n["s-ol"]?n["s-ol"]:n}function a(n){return t.x(n["s-ol"]?n["s-ol"]:n)}var s,l,v,p,d,h,y,m=[];return function b(w,g,M,k,j,$,A,E,C,O,S,_){if(y=w,h=t._(y),d=y["s-cr"],s=k,l=y["s-sc"],p=v=!1,function s(l,v,p){var d=v.d=l.d,h=l.vchildren,y=v.vchildren;N=v.d&&x(t.P(v.d))&&void 0!==v.d.ownerSVGElement,N="svg"===v.vtag||"foreignObject"!==v.vtag&&N,x(v.vtext)?(p=d["s-cr"])?t.T(t.x(p),v.vtext):l.vtext!==v.vtext&&t.T(d,v.vtext):("slot"!==v.vtag&&u(n,l,v,N),x(h)&&x(y)?function m(n,u,l,v,p,d,h,y){for(var m=0,b=0,w=u.length-1,g=u[0],M=u[w],k=v.length-1,j=v[0],$=v[k];m<=w&&b<=k;)if(null==g)g=u[++m];else if(null==M)M=u[--w];else if(null==j)j=v[++b];else if(null==$)$=v[--k];else if(f(g,j))s(g,j),g=u[++m],j=v[++b];else if(f(M,$))s(M,$),M=u[--w],$=v[--k];else if(f(g,$))"slot"!==g.vtag&&"slot"!==$.vtag||r(t.x(g.d)),s(g,$),t.f(n,g.d,t.W(M.d)),g=u[++m],$=v[--k];else if(f(M,j))"slot"!==g.vtag&&"slot"!==$.vtag||r(t.x(M.d)),s(M,j),t.f(n,M.d,g.d),M=u[--w],j=v[++b];else{for(p=null,d=m;d<=w;++d)if(u[d]&&x(u[d].vkey)&&u[d].vkey===j.vkey){p=d;break}x(p)?((y=u[p]).vtag!==j.vtag?h=e(u&&u[b],l,p,n):(s(y,j),u[p]=void 0,h=y.d),j=v[++b]):(h=e(u&&u[b],l,b,n),j=v[++b]),h&&t.f(a(g.d),h,c(g.d))}m>w?i(n,null==v[k+1]?null:v[k+1].d,l,v,b,k):b>k&&o(u,m,w)}(d,h,v,y):x(y)?(x(l.vtext)&&t.T(d,""),i(d,null,v,y,0,y.length-1)):x(h)&&o(h,0,h.length-1)),N&&"svg"===v.vtag&&(N=!1)}(g,M),p){for(function n(e,r,i,o,u,f,c,a,s,l){for(u=0,f=(r=t.O(e)).length;u<f;u++){if((i=r[u])["s-sr"]&&(o=i["s-cr"]))for(a=t.O(t.x(o)),s=i["s-sn"],c=a.length-1;c>=0;c--)(o=a[c])["s-cn"]||o["s-nr"]||o["s-hn"]===i["s-hn"]||((3===(l=t.N(o))||8===l)&&""===s||1===l&&null===t.R(o,"slot")&&""===s||1===l&&t.R(o,"slot")===s)&&(m.some(function(n){return n.L===o})||(v=!0,o["s-sn"]=s,m.push({D:i,L:o})));1===t.N(i)&&n(i)}}(M.d),A=0;A<m.length;A++)(E=m[A]).L["s-ol"]||((C=t.g(""))["s-nr"]=E.L,t.f(t.x(E.L),E.L["s-ol"]=C,E.L));for(n.C=!0,A=0;A<m.length;A++){for(E=m[A],S=t.x(E.D),_=t.W(E.D),C=E.L["s-ol"];C=t.F(C);)if((O=C["s-nr"])&&O&&O["s-sn"]===E.L["s-sn"]&&S===t.x(O)&&(O=t.W(O))&&O&&!O["s-nr"]){_=O;break}(!_&&S!==t.x(E.L)||t.W(E.L)!==_)&&E.L!==_&&(t.S(E.L),t.f(S,E.L,_))}n.C=!1}return v&&function n(e,r,i,o,u,f,c,a){for(o=0,u=(i=t.O(e)).length;o<u;o++)if(r=i[o],1===t.N(r)){if(r["s-sr"])for(c=r["s-sn"],r.hidden=!1,f=0;f<u;f++)if(i[f]["s-hn"]!==r["s-hn"])if(a=t.N(i[f]),""!==c){if(1===a&&c===t.R(i[f],"slot")){r.hidden=!0;break}}else if(1===a||3===a&&""!==t.H(i[f]).trim()){r.hidden=!0;break}n(r)}}(M.d),m.length=0,M}}function c(n,t){n&&(n.vattrs&&n.vattrs.ref&&n.vattrs.ref(t?null:n.d),n.vchildren&&n.vchildren.forEach(function(n){c(n,t)}))}function a(n,t){for(var e,r,i=null,o=!1,u=!1,f=arguments.length;f-- >2;)R.push(arguments[f]);for(;R.length>0;){var c=R.pop();if(c&&void 0!==c.pop)for(f=c.length;f--;)R.push(c[f]);else"boolean"==typeof c&&(c=null),(u="function"!=typeof n)&&(null==c?c="":"number"==typeof c?c=String(c):"string"!=typeof c&&(u=!1)),u&&o?i[i.length-1].vtext+=c:null===i?i=[u?{vtext:c}:c]:i.push(u?{vtext:c}:c),o=u}if(null!=t){if(t.className&&(t.class=t.className),"object"==typeof t.class){for(f in t.class)t.class[f]&&R.push(f);t.class=R.join(" "),R.length=0}null!=t.key&&(e=t.key),null!=t.name&&(r=t.name)}return"function"==typeof n?n(t,i||[],L):{vtag:n,vchildren:i,vtext:void 0,vattrs:t,vkey:e,vname:r,d:void 0,y:!1}}function s(n){return{vtag:n.vtag,vchildren:n.vchildren,vtext:n.vtext,vattrs:n.vattrs,vkey:n.vkey,vname:n.vname}}function l(n){return{q:n[0],I:n[1],U:!!n[2],B:!!n[3],G:!!n[4]}}function v(n,t){if(x(t)&&"object"!=typeof t&&"function"!=typeof t){if(n===Boolean||4===n)return"false"!==t&&(""===t||!!t);if(n===Number||8===n)return parseFloat(t);if(n===String||2===n)return t.toString()}return t}function p(n,t,e){n.Q.add(t),n.Y.has(t)||(n.Y.set(t,!0),n.Z?n.queue.write(function(){return d(n,t,e)}):n.queue.tick(function(){return d(n,t,e)}))}function d(n,e,r,i,o,u){return j(this,void 0,void 0,function(){var i,f;return $(this,function(c){switch(c.z){case 0:if(n.Y.delete(e),n.J.has(e))return[3,12];if(o=n.K.get(e))return[3,6];if((u=n.V.get(e))&&!u["s-rn"])return(u["s-rc"]=u["s-rc"]||[]).push(function(){d(n,e,r)}),[2];if(!(o=function s(n,t,e,r,i,o,u,f){try{i=new(o=n.c(t).X),function c(n,t,e,r,i,o){n.nn.set(r,e),n.tn.has(e)||n.tn.set(e,{}),Object.entries(Object.assign({color:{type:String}},t.properties,{mode:{type:String}})).forEach(function(t){var u=t[0],f=t[1];(function c(n,t,e,r,i,o,u,f,a){if(t.type||t.state){var s=n.tn.get(e);t.state||(!t.attr||void 0!==s[i]&&""!==s[i]||(f=o&&o.en)&&x(a=f[t.attr])&&(s[i]=v(t.type,a)),e.hasOwnProperty(i)&&(void 0===s[i]&&(s[i]=v(t.type,e[i])),"mode"!==i&&delete e[i])),r.hasOwnProperty(i)&&void 0===s[i]&&(s[i]=r[i]),t.watchCallbacks&&(s[D+i]=t.watchCallbacks.slice()),m(r,i,function l(t){return(t=n.tn.get(n.nn.get(this)))&&t[i]},function p(e,r){(r=n.nn.get(this))&&(t.state||t.mutable)&&h(n,r,i,e,u)})}else t.elementRef&&y(r,i,e)})(n,f,e,r,u,i,o)})}(n,o,t,i,e,r)}catch(e){i={},n.rn(e,7,t,!0)}return n.K.set(t,i),i}(n,e,n.in.get(e),r)))return[3,5];c.z=1;case 1:return c.on.push([1,4,,5]),o.componentWillLoad?[4,o.componentWillLoad()]:[3,3];case 2:c.un(),c.z=3;case 3:return[3,5];case 4:return i=c.un(),n.rn(i,3,e),[3,5];case 5:case 6:return[3,11];case 7:return c.on.push([7,10,,11]),o.componentWillUpdate?[4,o.componentWillUpdate()]:[3,9];case 8:c.un(),c.z=9;case 9:return[3,11];case 10:return f=c.un(),n.rn(f,5,e),[3,11];case 11:(function l(n,e,r,i,o){try{var u=e.X.host,f=e.X.encapsulation,c="shadow"===f&&n.r.e,s=r;if(!r["s-rn"]){n.fn(n,n.r,e,r);var l=r["s-sc"];l&&(n.r.m(r,t(l,!0)),"scoped"===f&&n.r.m(r,t(l)))}if(i.render||i.hostData||u){n.cn=!0;var v=i.render&&i.render();n.cn=!1;var p=n.an.get(r)||{};p.d=s;var d=a(null,void 0,v);n.an.set(r,n.render(r,p,d,c,f))}r["s-rn"]=!0,r["s-rc"]&&(r["s-rc"].forEach(function(n){return n()}),r["s-rc"]=null)}catch(t){n.cn=!1,n.rn(t,8,r,!0)}})(n,n.c(e),e,o),e["s-init"](),c.z=12;case 12:return[2]}})})}function h(n,t,e,r,i,o){var u=n.tn.get(t);u||n.tn.set(t,u={});var f=u[e];if(r!==f&&(u[e]=r,o=n.K.get(t))){var c=u[D+e];if(c)for(var a=0;a<c.length;a++)try{o[c[a]].call(o,r,f,e)}catch(n){}!n.cn&&t["s-rn"]&&p(n,t,i)}}function y(n,t,e){Object.defineProperty(n,t,{configurable:!0,value:e})}function m(n,t,e,r){Object.defineProperty(n,t,{configurable:!0,get:e,set:r})}function b(n,t,e,r,i,o){if(n.Q.delete(t),(i=n.V.get(t))&&((r=i["s-ld"])&&((e=r.indexOf(t))>-1&&r.splice(e,1),r.length||i["s-init"]&&i["s-init"]()),n.V.delete(t)),n.sn.length&&!n.Q.size)for(;o=n.sn.shift();)o()}function w(n,t,e,r,i){if(e.connectedCallback=function(){(function e(n,t,r,i){n.J.delete(r),n.ln.has(r)||(r["s-id"]||(r["s-id"]=n.vn()),n.pn=!0,n.Q.add(r),n.ln.set(r,!0),function o(n,t,e){for(e=t;e=n.r.P(e);)if(n.k(e)){n.j.has(t)||(n.V.set(t,e),(e["s-ld"]=e["s-ld"]||[]).push(t));break}}(n,r),n.queue.tick(function(){n.in.set(r,function e(n,t,r,i,o){return r.mode||(r.mode=n.dn(r)),r["s-cr"]||n.R(r,E)||n.e&&1===t.t||(r["s-cr"]=n.g(""),r["s-cr"]["s-cn"]=!0,n.f(r,r["s-cr"],n.O(r)[0])),n.e||1!==t.t||(r.shadowRoot=r),i={hn:r["s-id"],en:{}},t.a&&Object.keys(t.a).forEach(function(e){(o=t.a[e].yn)&&(i.en[o]=n.R(r,o))}),i}(n.r,t,r)),n.mn(t,r)}))})(n,t,this)},e.disconnectedCallback=function(){(function t(n,e,r){!n.C&&function i(n,t){for(;t;){if(!n.x(t))return 9!==n.N(t);t=n.x(t)}}(n.r,e)&&(n.J.set(e,!0),b(n,e),c(n.an.get(e),!0),n.r.p(e),n.bn.delete(e),[n.V,n.wn,n.in].forEach(function(n){return n.delete(e)}))})(n,this)},e["s-init"]=function(){(function t(n,e,r,i,o,u,f){if(n.K.get(e)&&!n.J.has(e)&&(!e["s-ld"]||!e["s-ld"].length)){n.j.set(e,!0),n.gn.has(e)||(n.gn.set(e,!0),e["s-ld"]=void 0,n.r.m(e,r));try{c(n.an.get(e)),(u=n.wn.get(e))&&(u.forEach(function(n){return n(e)}),n.wn.delete(e))}catch(t){n.rn(t,4,e)}b(n,e)}})(n,this,r)},e.forceUpdate=function(){p(n,this,i)},t.a){var o=Object.entries(t.a),u={};o.forEach(function(n){var t=n[0],e=n[1].yn;e&&(u[e]=t)}),u=Object.assign({},u),e.attributeChangedCallback=function(n,t,e){(function r(n,t,e,i){var o=n[_(e)];o&&(t[o]=i)})(u,this,n,e)},function f(n,t,e,r){t.forEach(function(t){var i=t[0],o=t[1],u=o.Mn;3&u?m(e,i,function t(){return(n.tn.get(this)||{})[i]},function t(e){h(n,this,i,v(o.kn,e),r)}):32===u&&y(e,i,T)})}(n,o,e,i)}}function g(n,t,e,r){return function(){var i=arguments;return function o(n,t,e){var r=t[e],i=n.i.body;return i?(r||(r=i.querySelector(e)),r||(r=t[e]=n.u(e),n.A(i,r)),r.componentOnReady()):Promise.resolve()}(n,t,e).then(function(n){return n[r].apply(n,i)})}}function M(n,t,r,i,o,u,c){var s=r.performance,l={html:{}},v={},d=r[n]=r[n]||{},h=function y(n,t,e){n.ael||(n.ael=function(n,t,e,r){return n.addEventListener(t,e,r)},n.rel=function(n,t,e,r){return n.removeEventListener(t,e,r)});var r=new WeakMap;"function"!=typeof t.CustomEvent&&(t.CustomEvent=function(n,t,r){return t=t||{},(r=e.createEvent("CustomEvent")).initCustomEvent(n,t.bubbles,t.cancelable,t.detail),r},t.CustomEvent.prototype=t.Event.prototype);var i={i:e,e:!!e.documentElement.attachShadow,jn:!1,N:function(n){return n.nodeType},u:function(n){return e.createElement(n)},M:function(n,t){return e.createElementNS(n,t)},g:function(n){return e.createTextNode(n)},$n:function(n){return e.createComment(n)},f:function(n,t,e){return n.insertBefore(t,e)},S:function(n){return n.remove()},A:function(n,t){return n.appendChild(t)},m:function(n,t){if(n.classList)n.classList.add(t);else if("svg"===n.nodeName.toLowerCase()){var e=n.getAttribute("class")||"";e.split(" ").includes(t)||(e+=" "+t),n.setAttribute("class",e.trim())}},O:function(n){return n.childNodes},x:function(n){return n.parentNode},W:function(n){return n.nextSibling},F:function(n){return n.previousSibling},_:function(n){return _(n.nodeName)},H:function(n){return n.textContent},T:function(n,t){return n.textContent=t},R:function(n,t){return n.getAttribute(t)},An:function(n,t,e){return n.setAttribute(t,e)},En:function(n,t,e,r){return n.setAttributeNS(t,e,r)},s:function(n,t){return n.removeAttribute(t)},l:function(n,t){return n.hasAttribute(t)},dn:function(t){return t.getAttribute("mode")||(n.Context||{}).mode},Cn:function(n,r){return"child"===r?n.firstElementChild:"parent"===r?i.P(n):"body"===r?e.body:"document"===r?e:"window"===r?t:n},v:function(t,e,o,u,f,c,a,s){var l=e,v=t,p=r.get(t);if(p&&p[l]&&p[l](),"string"==typeof c?v=i.Cn(t,c):"object"==typeof c?v=c:(s=e.split(":")).length>1&&(v=i.Cn(t,s[0]),e=s[1]),v){var d=o;(s=e.split(".")).length>1&&(e=s[0],d=function(n){n.keyCode===S[s[1]]&&o(n)}),a=i.jn?{capture:!!u,passive:!!f}:!!u,n.ael(v,e,d,a),p||r.set(t,p={}),p[l]=function(){v&&n.rel(v,e,d,a),p[l]=null}}},p:function(n,t){var e=r.get(n);e&&(t?e[t]&&e[t]():Object.keys(e).forEach(function(n){e[n]&&e[n]()}))},On:function(n,e,r){var i=new t.CustomEvent(e,r);return n&&n.dispatchEvent(i),i},P:function(n,t){return(t=i.x(n))&&11===i.N(t)?t.host:t}};return i}(d,r,i);t.isServer=t.isPrerender=!(t.isClient=!0),t.window=r,t.location=r.location,t.document=i,t.resourcesUrl=t.publicPath=o,d.h=a,d.Context=t;var m=r["s-defined"]=r["s-defined"]||{},b=0,M={r:h,Sn:function k(n,t){var e=n.n;r.customElements.get(e)||(w(M,l[e]=n,t.prototype,u,s),t.observedAttributes=Object.values(n.a).map(function(n){return n.yn}).filter(function(n){return!!n}),r.customElements.define(n.n,t))},xn:t.emit,c:function(n){return l[h._(n)]},_n:function(n){return t[n]},isClient:!0,k:function(n){return!(!m[h._(n)]&&!M.c(n))},vn:function(){return n+b++},rn:function(n,t,e){},Pn:function(n){return function t(n,e,r){return{create:g(n,e,r,"create"),componentOnReady:g(n,e,r,"componentOnReady")}}(h,v,n)},queue:t.queue=function j(n,t){function e(t){return function(e){t.push(e),d||(d=!0,n.raf(o))}}function r(n){for(var t=0;t<n.length;t++)try{n[t](u())}catch(n){}n.length=0}function i(n,t){for(var e,r=0;r<n.length&&(e=u())<t;)try{n[r++](e)}catch(n){}r===n.length?n.length=0:0!==r&&n.splice(0,r)}function o(){p++,r(s);var t=f?u()+7*Math.ceil(p*(1/22)):Infinity;i(l,t),i(v,t),l.length>0&&(v.push.apply(v,l),l.length=0),(d=s.length+l.length+v.length>0)?n.raf(o):p=0}var u=function(){return t.performance.now()},f=!1!==n.asyncQueue,c=Promise.resolve(),a=[],s=[],l=[],v=[],p=0,d=!1;return n.raf||(n.raf=t.requestAnimationFrame.bind(t)),{tick:function(n){a.push(n),1===a.length&&c.then(function(){return r(a)})},read:e(s),write:e(l)}}(d,r),mn:function $(n,t,e){if(n.X)p(M,t,s);else{var r={mode:t.mode,scoped:!1};n.Tn(r).then(function(e){try{n.X=e,function r(n,t,e,i,o,u){if(i){var f=t.n+(o||C);t[f]||(t[f]=i)}}(0,n,n.t,e.style,e.styleMode)}catch(t){n.X=function i(){}}p(M,t,s)})}},cn:!1,Z:!1,C:!1,fn:e,V:new WeakMap,o:new WeakMap,ln:new WeakMap,bn:new WeakMap,gn:new WeakMap,j:new WeakMap,nn:new WeakMap,in:new WeakMap,K:new WeakMap,J:new WeakMap,Y:new WeakMap,wn:new WeakMap,Wn:new WeakMap,an:new WeakMap,tn:new WeakMap,Q:new Set,sn:[]};d.onReady=function(){return new Promise(function(n){return M.queue.write(function(){return M.Q.size?M.sn.push(n):n()})})},M.render=f(M,h);var A=h.i.documentElement;return A["s-ld"]=[],A["s-rn"]=!0,A["s-init"]=function(){M.j.set(A,d.loaded=M.Z=!0),h.On(r,"appload",{detail:{namespace:n}})},function E(n,t,e,r,i,o){if(t.componentOnReady=function(t,e){if(!t.nodeName.includes("-"))return e(null),!1;var r=n.c(t);if(r)if(n.j.has(t))e(t);else{var i=n.wn.get(t)||[];i.push(e),n.wn.set(t,i)}return!!r},i){for(o=i.length-1;o>=0;o--)t.componentOnReady(i[o][0],i[o][1])&&i.splice(o,1);for(o=0;o<r.length;o++)if(!e[r[o]].componentOnReady)return;for(o=0;o<i.length;o++)i[o][1](null);i.length=0}}(M,d,r,r["s-apps"],r["s-cr"]),d.initialized=!0,M}function k(n,t,e){void 0===e&&(e={});var r=Array.isArray(t)?t:[t],i=n.document,o=e.hydratedCssClass||"hydrated",u=r.map(function(n){return n[0]});if(u.length>0){var f=i.createElement("style");f.innerHTML=u.join()+"{visibility:hidden}."+o+"{visibility:inherit}",f.setAttribute("data-styles",""),i.head.insertBefore(f,i.head.firstChild)}var c=e.namespace||"bruit";return H||(H=!0,function a(n,t,e){(n["s-apps"]=n["s-apps"]||[]).push(t),e.componentOnReady||(e.componentOnReady=function t(){function e(t){if(r.nodeName.indexOf("-")>0){for(var e=n["s-apps"],i=0,o=0;o<e.length;o++)if(n[e[o]].componentOnReady){if(n[e[o]].componentOnReady(r,t))return;i++}if(i<e.length)return void(n["s-cr"]=n["s-cr"]||[]).push([r,t])}t(null)}var r=this;return n.Promise?new n.Promise(e):{then:e}})}(n,c,n.HTMLElement.prototype)),applyPolyfills(n).then(function(){if(!F[c]){var r={},u=e.resourcesUrl||"./";A(c,r,n,i,u,o),F[c]=M(c,r,n,i,u,o)}t.forEach(function(t){var e;!function r(n){return/\{\s*\[native code\]\s*\}/.test(""+n)}(n.customElements.define)?(e=function(t){return n.HTMLElement.call(this,t)}).prototype=Object.create(n.HTMLElement.prototype,{constructor:{value:e,configurable:!0}}):e=new Function("w","return class extends w.HTMLElement{}")(n),F[c].Sn(function i(n){var t=function e(n){var t=n[0],e=n[1],r=n[3],i=n[4],o=n[5],u={color:{yn:"color"}};if(r)for(var f=0;f<r.length;f++){var c=r[f];u[c[0]]={Mn:c[1],Nn:!!c[2],yn:"string"==typeof c[3]?c[3]:c[3]?c[0]:0,kn:c[4]}}return{n:t,Tn:e,a:Object.assign({},u),t:i,Rn:o?o.map(l):void 0}}(n),r=t.Tn,i=P(n[0]);return t.Tn=function(n){var t=n.mode,e=n.scoped;return function o(n,t,e){return import(
/* webpackInclude: /\.entry\.js$/ */
/* webpackMode: "lazy" */
"./build/"+n+(t?".sc":"")+".entry.js").then(function(n){return n[e]})}("string"==typeof r?r:r[t],e,i)},t}(t),e)})})}this&&this.Ln||(Object.setPrototypeOf||Array);var k=this&&this.Dn||function(n,t,e,r){return new(e||(e=Promise))(function(i,o){function u(n){try{c(r.Fn(n))}catch(n){o(n)}}function f(n){try{c(r.throw(n))}catch(n){o(n)}}function c(n){n.Hn?i(n.value):new e(function(t){t(n.value)}).then(u,f)}c((r=r.apply(n,t||[])).Fn())})},$=this&&this.qn||function(n,t){function e(e){return function(u){return function c(e){if(r)throw new TypeError("Generator is already executing.");for(;f;)try{if(r=1,i&&(o=2&e[0]?i.return:e[0]?i.throw||((o=i.return)&&o.call(i),0):i.Fn)&&!(o=o.call(i,e[1])).Hn)return o;switch(i=0,o&&(e=[2&e[0],o.value]),e[0]){case 0:case 1:o=e;break;case 4:return f.z++,{value:e[1],Hn:!1};case 5:f.z++,i=e[1],e=[0];continue;case 7:e=f.In.pop(),f.un.pop();continue;default:if(!(o=(o=f.un).length>0&&o[o.length-1])&&(6===e[0]||2===e[0])){f=0;continue}if(3===e[0]&&(!o||e[1]>o[0]&&e[1]<o[3])){f.z=e[1];break}if(6===e[0]&&f.z<o[1]){f.z=o[1],o=e;break}if(o&&f.z<o[2]){f.z=o[2],f.In.push(e);break}o[2]&&f.In.pop(),f.un.pop();continue}e=t.call(n,f)}catch(n){e=[6,n],i=0}finally{r=o=0}if(5&e[0])throw e[1];return{value:e[0]?e[1]:void 0,Hn:!0}}([e,u])}}var r,i,o,u,f={z:0,fn:function(){if(1&o[0])throw o[1];return o[1]},un:[],In:[]};return u={Fn:e(0),throw:e(1),return:e(2)},"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u},A=function(){};function applyPolyfills(n){n.Un=function(){function t(){var n=setTimeout;return function(){return n(e,1)}}function e(){for(var n=0;n<m;n+=2)(0,O[n])(O[n+1]),O[n]=void 0,O[n+1]=void 0;m=0}function r(n,t){var e=this,r=new this.constructor(o);void 0===r[x]&&h(r);var i=e.Bn;if(i){var u=arguments[i-1];M(function(){return d(i,r,u,e.Gn)})}else v(e,r,n,t);return r}function i(n){if(n&&"object"==typeof n&&n.constructor===this)return n;var t=new this(o);return c(t,n),t}function o(){}function u(n){try{return n.then}catch(n){return W.error=n,W}}function f(n,t,e){t.constructor===n.constructor&&e===r&&t.constructor.resolve===i?function(n,t){t.Bn===P?s(n,t.Gn):t.Bn===T?l(n,t.Gn):v(t,void 0,function(t){return c(n,t)},function(t){return l(n,t)})}(n,t):e===W?(l(n,W.error),W.error=null):void 0===e?s(n,t):"function"==typeof e?function(n,t,e){M(function(n){var r=!1,i=function(n,t,e,r){try{n.call(t,e,r)}catch(n){return n}}(e,t,function(e){r||(r=!0,t!==e?c(n,e):s(n,e))},function(t){r||(r=!0,l(n,t))},n.Qn);!r&&i&&(r=!0,l(n,i))},n)}(n,t,e):s(n,t)}function c(n,t){if(n===t)l(n,new TypeError("cannot resolve promise w/ itself"));else{var e=typeof t;null===t||"object"!==e&&"function"!==e?s(n,t):f(n,t,u(t))}}function a(n){n.Yn&&n.Yn(n.Gn),p(n)}function s(n,t){n.Bn===_&&(n.Gn=t,n.Bn=P,0!==n.Zn.length&&M(p,n))}function l(n,t){n.Bn===_&&(n.Bn=T,n.Gn=t,M(a,n))}function v(n,t,e,r){var i=n.Zn,o=i.length;n.Yn=null,i[o]=t,i[o+P]=e,i[o+T]=r,0===o&&n.Bn&&M(p,n)}function p(n){var t=n.Zn,e=n.Bn;if(0!==t.length){for(var r,i,o=n.Gn,u=0;u<t.length;u+=3)r=t[u],i=t[u+e],r?d(e,r,i,o):i(o);n.Zn.length=0}}function d(n,t,e,r){var i="function"==typeof e,o=void 0,u=void 0,f=void 0,a=void 0;if(i){try{o=e(r)}catch(n){W.error=n,o=W}if(o===W?(a=!0,u=o.error,o.error=null):f=!0,t===o)return void l(t,new TypeError("Cannot return same promise"))}else o=r,f=!0;t.Bn===_&&(i&&f?c(t,o):a?l(t,u):n===P?s(t,o):n===T&&l(t,o))}function h(n){n[x]=N++,n.Bn=void 0,n.Gn=void 0,n.Zn=[]}var y,b=Array.isArray?Array.isArray:function(n){return"[object Array]"===Object.prototype.toString.call(n)},m=0,w=void 0,g=void 0,M=function(n,t){O[m]=n,O[m+1]=t,2===(m+=2)&&(g?g(e):S())},j=(y=void 0!==n?n:void 0)||{},k=j.zn||j.Jn;j="undefined"==typeof self;var $,A,E,C="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,O=Array(1e3),S=void 0;S=k?($=0,A=new k(e),E=document.createTextNode(""),A.observe(E,{characterData:!0}),function(){E.data=$=++$%2}):C?function(){var n=new MessageChannel;return n.Kn.onmessage=e,function(){return n.Vn.postMessage(0)}}():void 0===y&&"function"==typeof require?function(){try{var n=Function("return this")().Xn("vertx");return void 0!==(w=n.nt||n.tt)?function(){w(e)}:t()}catch(n){return t()}}():t();var x=Math.random().toString(36).substring(2),_=void 0,P=1,T=2,W={error:null},N=0,R=function(){function n(n,t){this.et=n,this.rt=new n(o),this.rt[x]||h(this.rt),b(t)?(this.it=this.length=t.length,this.Gn=Array(this.length),0===this.length?s(this.rt,this.Gn):(this.length=this.length||0,this.ot(t),0===this.it&&s(this.rt,this.Gn))):l(this.rt,Error("Array Methods must be provided an Array"))}return n.prototype.ot=function(n){for(var t=0;this.Bn===_&&t<n.length;t++)this.ut(n[t],t)},n.prototype.ut=function(n,t){var e=this.et,c=e.resolve;c===i?(c=u(n))===r&&n.Bn!==_?this.ft(n.Bn,t,n.Gn):"function"!=typeof c?(this.it--,this.Gn[t]=n):e===L?(f(e=new e(o),n,c),this.ct(e,t)):this.ct(new e(function(t){return t(n)}),t):this.ct(c(n),t)},n.prototype.ft=function(n,t,e){var r=this.rt;r.Bn===_&&(this.it--,n===T?l(r,e):this.Gn[t]=e),0===this.it&&s(r,this.Gn)},n.prototype.ct=function(n,t){var e=this;v(n,void 0,function(n){return e.ft(P,t,n)},function(n){return e.ft(T,t,n)})},n}(),L=function(){function n(t){if(this[x]=N++,this.Gn=this.Bn=void 0,this.Zn=[],o!==t){if("function"!=typeof t)throw new TypeError("Must pass a resolver fn as 1st arg");if(!(this instanceof n))throw new TypeError("Failed to construct 'Promise': Use the 'new' operator.");!function(n,t){try{t(function(t){c(n,t)},function(t){l(n,t)})}catch(t){l(n,t)}}(this,t)}}return n.prototype.catch=function(n){return this.then(null,n)},n.prototype.at=function(n){var t=this.constructor;return this.then(function(e){return t.resolve(n()).then(function(){return e})},function(e){return t.resolve(n()).then(function(){throw e})})},n}();return L.prototype.then=r,L.all=function(n){return new R(this,n).rt},L.race=function(n){var t=this;return b(n)?new t(function(e,r){for(var i=n.length,o=0;o<i;o++)t.resolve(n[o]).then(e,r)}):new t(function(n,t){return t(new TypeError("Must pass array to race"))})},L.resolve=i,L.reject=function(n){var t=new this(o);return l(t,n),t},L.st=function(n){g=n},L.lt=function(n){M=n},L.vt=M,L.pt=function(){var n=void 0;if("undefined"!=typeof global)n=global;else if("undefined"!=typeof self)n=self;else try{n=Function("return this")()}catch(n){throw Error("polyfill failed")}var t=n.Promise;if(t){var e=null;try{e=Object.prototype.toString.call(t.resolve())}catch(n){}if("[object Promise]"===e&&!t.dt)return}n.Promise=L},L.Promise=L,L.pt(),L}();var t=[];return n.customElements&&(!n.Element||n.Element.prototype.closest&&n.Element.prototype.matches&&n.Element.prototype.remove)||t.push(import("./polyfills/dom.js")),"function"==typeof Object.assign&&Object.entries||t.push(import("./polyfills/object.js")),Array.prototype.find&&Array.prototype.includes||t.push(import("./polyfills/array.js")),String.prototype.startsWith&&String.prototype.endsWith||t.push(import("./polyfills/string.js")),n.fetch||t.push(import("./polyfills/fetch.js")),function e(){try{var n=new URL("b","http://a");return n.pathname="c%20d","http://a/c%20d"===n.href&&n.ht}catch(n){return!1}}||t.push(import("./polyfills/url.js")),Promise.all(t).then(function(t){t.forEach(function(t){t.applyPolyfill(n,n.document)})})}var E="ssrv",C="$",O={},S={enter:13,escape:27,space:32,tab:9,left:37,up:38,right:39,down:40},x=function(n){return null!=n},_=function(n){return n.toLowerCase()},P=function(n){return _(n).split("-").map(function(n){return n.charAt(0).toUpperCase()+n.slice(1)}).join("")},T=function(){},W="http://www.w3.org/1999/xlink",N=!1,R=[],L={forEach:function(n,t){n.forEach(function(n,e,r){return t(s(n),e,r)})},map:function(n,t){return n.map(function(n,e,r){return function i(n){return{vtag:n.vtag,vchildren:n.vchildren,vtext:n.vtext,vattrs:n.vattrs,vkey:n.vkey,vname:n.vname}}(t(s(n),e,r))})}},D="wc-",F={},H=!1;export{j as defineCustomElement,a as h};
"./build/"+n+(t?".sc":"")+".entry.js").then(function(n){return n[e]})}("string"==typeof r?r:r[t],e,i)},t}(t),e)})})}this&&this.Ln||(Object.setPrototypeOf||Array);var j=this&&this.Dn||function(n,t,e,r){return new(e||(e=Promise))(function(i,o){function u(n){try{c(r.Fn(n))}catch(n){o(n)}}function f(n){try{c(r.throw(n))}catch(n){o(n)}}function c(n){n.Hn?i(n.value):new e(function(t){t(n.value)}).then(u,f)}c((r=r.apply(n,t||[])).Fn())})},$=this&&this.qn||function(n,t){function e(e){return function(u){return function c(e){if(r)throw new TypeError("Generator is already executing.");for(;f;)try{if(r=1,i&&(o=2&e[0]?i.return:e[0]?i.throw||((o=i.return)&&o.call(i),0):i.Fn)&&!(o=o.call(i,e[1])).Hn)return o;switch(i=0,o&&(e=[2&e[0],o.value]),e[0]){case 0:case 1:o=e;break;case 4:return f.z++,{value:e[1],Hn:!1};case 5:f.z++,i=e[1],e=[0];continue;case 7:e=f.In.pop(),f.on.pop();continue;default:if(!(o=(o=f.on).length>0&&o[o.length-1])&&(6===e[0]||2===e[0])){f=0;continue}if(3===e[0]&&(!o||e[1]>o[0]&&e[1]<o[3])){f.z=e[1];break}if(6===e[0]&&f.z<o[1]){f.z=o[1],o=e;break}if(o&&f.z<o[2]){f.z=o[2],f.In.push(e);break}o[2]&&f.In.pop(),f.on.pop();continue}e=t.call(n,f)}catch(n){e=[6,n],i=0}finally{r=o=0}if(5&e[0])throw e[1];return{value:e[0]?e[1]:void 0,Hn:!0}}([e,u])}}var r,i,o,u,f={z:0,un:function(){if(1&o[0])throw o[1];return o[1]},on:[],In:[]};return u={Fn:e(0),throw:e(1),return:e(2)},"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u},A=function(){};function applyPolyfills(n){n.Un=function(){function t(){var n=setTimeout;return function(){return n(e,1)}}function e(){for(var n=0;n<b;n+=2)(0,O[n])(O[n+1]),O[n]=void 0,O[n+1]=void 0;b=0}function r(n,t){var e=this,r=new this.constructor(o);void 0===r[x]&&h(r);var i=e.Bn;if(i){var u=arguments[i-1];M(function(){return d(i,r,u,e.Gn)})}else v(e,r,n,t);return r}function i(n){if(n&&"object"==typeof n&&n.constructor===this)return n;var t=new this(o);return c(t,n),t}function o(){}function u(n){try{return n.then}catch(n){return W.error=n,W}}function f(n,t,e){t.constructor===n.constructor&&e===r&&t.constructor.resolve===i?function(n,t){t.Bn===P?s(n,t.Gn):t.Bn===T?l(n,t.Gn):v(t,void 0,function(t){return c(n,t)},function(t){return l(n,t)})}(n,t):e===W?(l(n,W.error),W.error=null):void 0===e?s(n,t):"function"==typeof e?function(n,t,e){M(function(n){var r=!1,i=function(n,t,e,r){try{n.call(t,e,r)}catch(n){return n}}(e,t,function(e){r||(r=!0,t!==e?c(n,e):s(n,e))},function(t){r||(r=!0,l(n,t))},n.Qn);!r&&i&&(r=!0,l(n,i))},n)}(n,t,e):s(n,t)}function c(n,t){if(n===t)l(n,new TypeError("cannot resolve promise w/ itself"));else{var e=typeof t;null===t||"object"!==e&&"function"!==e?s(n,t):f(n,t,u(t))}}function a(n){n.Yn&&n.Yn(n.Gn),p(n)}function s(n,t){n.Bn===_&&(n.Gn=t,n.Bn=P,0!==n.Zn.length&&M(p,n))}function l(n,t){n.Bn===_&&(n.Bn=T,n.Gn=t,M(a,n))}function v(n,t,e,r){var i=n.Zn,o=i.length;n.Yn=null,i[o]=t,i[o+P]=e,i[o+T]=r,0===o&&n.Bn&&M(p,n)}function p(n){var t=n.Zn,e=n.Bn;if(0!==t.length){for(var r,i,o=n.Gn,u=0;u<t.length;u+=3)r=t[u],i=t[u+e],r?d(e,r,i,o):i(o);n.Zn.length=0}}function d(n,t,e,r){var i="function"==typeof e,o=void 0,u=void 0,f=void 0,a=void 0;if(i){try{o=e(r)}catch(n){W.error=n,o=W}if(o===W?(a=!0,u=o.error,o.error=null):f=!0,t===o)return void l(t,new TypeError("Cannot return same promise"))}else o=r,f=!0;t.Bn===_&&(i&&f?c(t,o):a?l(t,u):n===P?s(t,o):n===T&&l(t,o))}function h(n){n[x]=N++,n.Bn=void 0,n.Gn=void 0,n.Zn=[]}var y,m=Array.isArray?Array.isArray:function(n){return"[object Array]"===Object.prototype.toString.call(n)},b=0,w=void 0,g=void 0,M=function(n,t){O[b]=n,O[b+1]=t,2===(b+=2)&&(g?g(e):S())},k=(y=void 0!==n?n:void 0)||{},j=k.zn||k.Jn;k="undefined"==typeof self;var $,A,E,C="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,O=Array(1e3),S=void 0;S=j?($=0,A=new j(e),E=document.createTextNode(""),A.observe(E,{characterData:!0}),function(){E.data=$=++$%2}):C?function(){var n=new MessageChannel;return n.Kn.onmessage=e,function(){return n.Vn.postMessage(0)}}():void 0===y&&"function"==typeof require?function(){try{var n=Function("return this")().Xn("vertx");return void 0!==(w=n.nt||n.tt)?function(){w(e)}:t()}catch(n){return t()}}():t();var x=Math.random().toString(36).substring(2),_=void 0,P=1,T=2,W={error:null},N=0,R=function(){function n(n,t){this.et=n,this.rt=new n(o),this.rt[x]||h(this.rt),m(t)?(this.it=this.length=t.length,this.Gn=Array(this.length),0===this.length?s(this.rt,this.Gn):(this.length=this.length||0,this.ot(t),0===this.it&&s(this.rt,this.Gn))):l(this.rt,Error("Array Methods must be provided an Array"))}return n.prototype.ot=function(n){for(var t=0;this.Bn===_&&t<n.length;t++)this.ut(n[t],t)},n.prototype.ut=function(n,t){var e=this.et,c=e.resolve;c===i?(c=u(n))===r&&n.Bn!==_?this.ft(n.Bn,t,n.Gn):"function"!=typeof c?(this.it--,this.Gn[t]=n):e===L?(f(e=new e(o),n,c),this.ct(e,t)):this.ct(new e(function(t){return t(n)}),t):this.ct(c(n),t)},n.prototype.ft=function(n,t,e){var r=this.rt;r.Bn===_&&(this.it--,n===T?l(r,e):this.Gn[t]=e),0===this.it&&s(r,this.Gn)},n.prototype.ct=function(n,t){var e=this;v(n,void 0,function(n){return e.ft(P,t,n)},function(n){return e.ft(T,t,n)})},n}(),L=function(){function n(t){if(this[x]=N++,this.Gn=this.Bn=void 0,this.Zn=[],o!==t){if("function"!=typeof t)throw new TypeError("Must pass a resolver fn as 1st arg");if(!(this instanceof n))throw new TypeError("Failed to construct 'Promise': Use the 'new' operator.");!function(n,t){try{t(function(t){c(n,t)},function(t){l(n,t)})}catch(t){l(n,t)}}(this,t)}}return n.prototype.catch=function(n){return this.then(null,n)},n.prototype.at=function(n){var t=this.constructor;return this.then(function(e){return t.resolve(n()).then(function(){return e})},function(e){return t.resolve(n()).then(function(){throw e})})},n}();return L.prototype.then=r,L.all=function(n){return new R(this,n).rt},L.race=function(n){var t=this;return m(n)?new t(function(e,r){for(var i=n.length,o=0;o<i;o++)t.resolve(n[o]).then(e,r)}):new t(function(n,t){return t(new TypeError("Must pass array to race"))})},L.resolve=i,L.reject=function(n){var t=new this(o);return l(t,n),t},L.st=function(n){g=n},L.lt=function(n){M=n},L.vt=M,L.pt=function(){var n=void 0;if("undefined"!=typeof global)n=global;else if("undefined"!=typeof self)n=self;else try{n=Function("return this")()}catch(n){throw Error("polyfill failed")}var t=n.Promise;if(t){var e=null;try{e=Object.prototype.toString.call(t.resolve())}catch(n){}if("[object Promise]"===e&&!t.dt)return}n.Promise=L},L.Promise=L,L.pt(),L}();var t=[];return n.customElements&&(!n.Element||n.Element.prototype.closest&&n.Element.prototype.matches&&n.Element.prototype.remove)||t.push(import("./polyfills/dom.js")),"function"==typeof Object.assign&&Object.entries||t.push(import("./polyfills/object.js")),Array.prototype.find&&Array.prototype.includes||t.push(import("./polyfills/array.js")),String.prototype.startsWith&&String.prototype.endsWith||t.push(import("./polyfills/string.js")),n.fetch||t.push(import("./polyfills/fetch.js")),function e(){try{var n=new URL("b","http://a");return n.pathname="c%20d","http://a/c%20d"===n.href&&n.ht}catch(n){return!1}}||t.push(import("./polyfills/url.js")),Promise.all(t).then(function(t){t.forEach(function(t){t.applyPolyfill(n,n.document)})})}var E="ssrv",C="$",O={},S={enter:13,escape:27,space:32,tab:9,left:37,up:38,right:39,down:40},x=function(n){return null!=n},_=function(n){return n.toLowerCase()},P=function(n){return _(n).split("-").map(function(n){return n.charAt(0).toUpperCase()+n.slice(1)}).join("")},T=function(){},W="http://www.w3.org/1999/xlink",N=!1,R=[],L={forEach:function(n,t){n.forEach(function(n,e,r){return t(s(n),e,r)})},map:function(n,t){return n.map(function(n,e,r){return function i(n){return{vtag:n.vtag,vchildren:n.vchildren,vtext:n.vtext,vattrs:n.vattrs,vkey:n.vkey,vname:n.vname}}(t(s(n),e,r))})}},D="wc-",F={},H=!1;export{k as defineCustomElement,a as h};
// bruit: Host Data, ES Module/es5 Target
export var BruitIo = ["bruit-io","054easvn",1,[["_config",16],["bruitElement",64],["config",1,0,1,2],["data",1],["dataFn",1],["modalBrtField",16],["modalError",16],["modalOpened",16]]];
export var BruitIo = ["bruit-io","xketernj",1,[["_config",16],["bruitElement",64],["config",1,0,1,2],["data",1],["dataFn",1],["modalBrtField",16],["modalError",16],["modalOpened",16]]];

@@ -5,5 +5,5 @@ /*!

*/
function n(n,t){return"sc-"+n.n+(t&&t!==C?"-"+t:"")}function t(n,t){return n+(t?"-h":"-s")}function e(t,e,r,i){var o=r.n+i.mode,u=r[o];if((2===r.t||1===r.t&&!t.r.e)&&(i["s-sc"]=u?n(r,i.mode):n(r)),u||(u=r[o=r.n+C]),u){var f=e.i.head,c=t.o.get(f);if(c||t.o.set(f,c={}),!c[o]){var a=void 0;if(t.u?a=t.u.f(i,o,u):((a=e.c("style")).innerHTML=u,c[o]=!0),a){var s=f.querySelectorAll("[data-styles]");e.a(f,a,s.length&&s[s.length-1].nextSibling||f.firstChild)}}}}function r(n,t,e,r,u,f,c){if("class"!==e||f)if("style"===e){for(var a in r)u&&null!=u[a]||(/-/.test(a)?t.style.removeProperty(a):t.style[a]="");for(var a in u)r&&u[a]===r[a]||(/-/.test(a)?t.style.setProperty(a,u[a]):t.style[a]=u[a])}else if("o"!==e[0]||"n"!==e[1]||!/[A-Z]/.test(e[2])||e in t)if("list"!==e&&"type"!==e&&!f&&(e in t||-1!==["object","function"].indexOf(typeof u)&&null!==u)){var s=n.s(t);s&&s.l&&s.l[e]?o(t,e,u):"ref"!==e&&(o(t,e,null==u?"":u),null!=u&&!1!==u||n.r.v(t,e))}else null!=u&&"key"!==e?function l(n,t,e,r){void 0===r&&(r="boolean"==typeof e);var i=t!==(t=t.replace(/^xlink\:?/,""));null==e||r&&(!e||"false"===e)?i?n.removeAttributeNS(W,_(t)):n.removeAttribute(t):"function"!=typeof e&&(e=r?"":e.toString(),i?n.setAttributeNS(W,_(t),e):n.setAttribute(t,e))}(t,e,u):(f||n.r.p(t,e)&&(null==u||!1===u))&&n.r.v(t,e);else e=_(e)in t?_(e.substring(2)):_(e[2])+e.substring(3),u?u!==r&&n.r.d(t,e,u):n.r.y(t,e);else if(r!==u){var v=i(r),p=i(u),d=v.filter(function(n){return!p.includes(n)}),h=i(t.className).filter(function(n){return!d.includes(n)}),y=p.filter(function(n){return!v.includes(n)&&!h.includes(n)});h.push.apply(h,y),t.className=h.join(" ")}}function i(n){return null==n||""===n?[]:n.trim().split(/\s+/)}function o(n,t,e){try{n[t]=e}catch(n){}}function u(n,t,e,i,o){var u=11===e.b.nodeType&&e.b.host?e.b.host:e.b,f=t&&t.vattrs||O,c=e.vattrs||O;for(o in f)c&&null!=c[o]||null==f[o]||r(n,u,o,f[o],void 0,i,e.m);for(o in c)o in f&&c[o]===("value"===o||"checked"===o?u[o]:f[o])||r(n,u,o,f[o],c[o],i,e.m)}function f(n,t){function e(i,o,f,c,a,v,b,m,w){if(m=o.vchildren[f],s||(p=!0,"slot"===m.vtag&&(l&&t.w(c,l+"-s"),m.vchildren?m.g=!0:m.M=!0)),x(m.vtext))m.b=t.j(m.vtext);else if(m.M)m.b=t.j("");else{if(v=m.b=N||"svg"===m.vtag?t.k("http://www.w3.org/2000/svg",m.vtag):t.c(m.g?"slot-fb":m.vtag),n.A(v)&&n.C.delete(y),N="svg"===m.vtag||"foreignObject"!==m.vtag&&N,u(n,null,m,N),x(l)&&v["s-si"]!==l&&t.w(v,v["s-si"]=l),m.vchildren)for(a=0;a<m.vchildren.length;++a)(b=e(i,m,a,v))&&t.O(v,b);"svg"===m.vtag&&(N=!1)}return m.b["s-hn"]=h,(m.g||m.M)&&(m.b["s-sr"]=!0,m.b["s-cr"]=d,m.b["s-sn"]=m.vname||"",(w=i&&i.vchildren&&i.vchildren[f])&&w.vtag===m.vtag&&i.b&&r(i.b)),m.b}function r(e,i,o,u){n.S=!0;var f=t.x(e);for(o=f.length-1;o>=0;o--)(u=f[o])["s-hn"]!==h&&u["s-ol"]&&(t._(u),t.a(a(u),u,c(u)),t._(u["s-ol"]),u["s-ol"]=null,p=!0),i&&r(u,i);n.S=!1}function i(n,r,i,o,u,f,a,s){var l=n["s-cr"];for((a=l&&t.P(l)||n).shadowRoot&&t.T(a)===h&&(a=a.shadowRoot);u<=f;++u)o[u]&&(s=x(o[u].vtext)?t.j(o[u].vtext):e(null,i,u,n))&&(o[u].b=s,t.a(a,s,c(r)))}function o(n,e,i,o){for(;e<=i;++e)x(n[e])&&(o=n[e].b,v=!0,o["s-ol"]?t._(o["s-ol"]):r(o,!0),t._(o))}function f(n,t){return n.vtag===t.vtag&&n.vkey===t.vkey&&("slot"!==n.vtag||n.vname===t.vname)}function c(n){return n&&n["s-ol"]?n["s-ol"]:n}function a(n){return t.P(n["s-ol"]?n["s-ol"]:n)}var s,l,v,p,d,h,y,b=[];return function m(w,g,M,j,k,$,A,E,C,O,S,_){if(y=w,h=t.T(y),d=y["s-cr"],s=j,l=y["s-sc"],p=v=!1,function s(l,v,p){var d=v.b=l.b,h=l.vchildren,y=v.vchildren;N=v.b&&x(t.W(v.b))&&void 0!==v.b.ownerSVGElement,N="svg"===v.vtag||"foreignObject"!==v.vtag&&N,x(v.vtext)?(p=d["s-cr"])?t.N(t.P(p),v.vtext):l.vtext!==v.vtext&&t.N(d,v.vtext):("slot"!==v.vtag&&u(n,l,v,N),x(h)&&x(y)?function b(n,u,l,v,p,d,h,y){for(var b=0,m=0,w=u.length-1,g=u[0],M=u[w],j=v.length-1,k=v[0],$=v[j];b<=w&&m<=j;)if(null==g)g=u[++b];else if(null==M)M=u[--w];else if(null==k)k=v[++m];else if(null==$)$=v[--j];else if(f(g,k))s(g,k),g=u[++b],k=v[++m];else if(f(M,$))s(M,$),M=u[--w],$=v[--j];else if(f(g,$))"slot"!==g.vtag&&"slot"!==$.vtag||r(t.P(g.b)),s(g,$),t.a(n,g.b,t.R(M.b)),g=u[++b],$=v[--j];else if(f(M,k))"slot"!==g.vtag&&"slot"!==$.vtag||r(t.P(M.b)),s(M,k),t.a(n,M.b,g.b),M=u[--w],k=v[++m];else{for(p=null,d=b;d<=w;++d)if(u[d]&&x(u[d].vkey)&&u[d].vkey===k.vkey){p=d;break}x(p)?((y=u[p]).vtag!==k.vtag?h=e(u&&u[m],l,p,n):(s(y,k),u[p]=void 0,h=y.b),k=v[++m]):(h=e(u&&u[m],l,m,n),k=v[++m]),h&&t.a(a(g.b),h,c(g.b))}b>w?i(n,null==v[j+1]?null:v[j+1].b,l,v,m,j):m>j&&o(u,b,w)}(d,h,v,y):x(y)?(x(l.vtext)&&t.N(d,""),i(d,null,v,y,0,y.length-1)):x(h)&&o(h,0,h.length-1)),N&&"svg"===v.vtag&&(N=!1)}(g,M),p){for(function n(e,r,i,o,u,f,c,a,s,l){for(u=0,f=(r=t.x(e)).length;u<f;u++){if((i=r[u])["s-sr"]&&(o=i["s-cr"]))for(a=t.x(t.P(o)),s=i["s-sn"],c=a.length-1;c>=0;c--)(o=a[c])["s-cn"]||o["s-nr"]||o["s-hn"]===i["s-hn"]||((3===(l=t.L(o))||8===l)&&""===s||1===l&&null===t.D(o,"slot")&&""===s||1===l&&t.D(o,"slot")===s)&&(b.some(function(n){return n.F===o})||(v=!0,o["s-sn"]=s,b.push({H:i,F:o})));1===t.L(i)&&n(i)}}(M.b),A=0;A<b.length;A++)(E=b[A]).F["s-ol"]||((C=t.j(""))["s-nr"]=E.F,t.a(t.P(E.F),E.F["s-ol"]=C,E.F));for(n.S=!0,A=0;A<b.length;A++){for(E=b[A],S=t.P(E.H),_=t.R(E.H),C=E.F["s-ol"];C=t.q(C);)if((O=C["s-nr"])&&O&&O["s-sn"]===E.F["s-sn"]&&S===t.P(O)&&(O=t.R(O))&&O&&!O["s-nr"]){_=O;break}(!_&&S!==t.P(E.F)||t.R(E.F)!==_)&&E.F!==_&&(t._(E.F),t.a(S,E.F,_))}n.S=!1}return v&&function n(e,r,i,o,u,f,c,a){for(o=0,u=(i=t.x(e)).length;o<u;o++)if(r=i[o],1===t.L(r)){if(r["s-sr"])for(c=r["s-sn"],r.hidden=!1,f=0;f<u;f++)if(i[f]["s-hn"]!==r["s-hn"])if(a=t.L(i[f]),""!==c){if(1===a&&c===t.D(i[f],"slot")){r.hidden=!0;break}}else if(1===a||3===a&&""!==t.I(i[f]).trim()){r.hidden=!0;break}n(r)}}(M.b),b.length=0,M}}function c(n,t){n&&(n.vattrs&&n.vattrs.ref&&n.vattrs.ref(t?null:n.b),n.vchildren&&n.vchildren.forEach(function(n){c(n,t)}))}function a(n,t){for(var e,r,i=null,o=!1,u=!1,f=arguments.length;f-- >2;)R.push(arguments[f]);for(;R.length>0;){var c=R.pop();if(c&&void 0!==c.pop)for(f=c.length;f--;)R.push(c[f]);else"boolean"==typeof c&&(c=null),(u="function"!=typeof n)&&(null==c?c="":"number"==typeof c?c=String(c):"string"!=typeof c&&(u=!1)),u&&o?i[i.length-1].vtext+=c:null===i?i=[u?{vtext:c}:c]:i.push(u?{vtext:c}:c),o=u}if(null!=t){if(t.className&&(t.class=t.className),"object"==typeof t.class){for(f in t.class)t.class[f]&&R.push(f);t.class=R.join(" "),R.length=0}null!=t.key&&(e=t.key),null!=t.name&&(r=t.name)}return"function"==typeof n?n(t,i||[],L):{vtag:n,vchildren:i,vtext:void 0,vattrs:t,vkey:e,vname:r,b:void 0,m:!1}}function s(n){return{vtag:n.vtag,vchildren:n.vchildren,vtext:n.vtext,vattrs:n.vattrs,vkey:n.vkey,vname:n.vname}}function l(n){return{U:n[0],B:n[1],G:!!n[2],Q:!!n[3],Y:!!n[4]}}function v(n,t){if(x(t)&&"object"!=typeof t&&"function"!=typeof t){if(n===Boolean||4===n)return"false"!==t&&(""===t||!!t);if(n===Number||8===n)return parseFloat(t);if(n===String||2===n)return t.toString()}return t}function p(n,t,e){n.Z.add(t),n.z.has(t)||(n.z.set(t,!0),n.J?n.queue.write(function(){return d(n,t,e)}):n.queue.tick(function(){return d(n,t,e)}))}function d(n,e,r,i,o,u){return k(this,void 0,void 0,function(){var i,f;return $(this,function(c){switch(c.K){case 0:if(n.z.delete(e),n.V.has(e))return[3,12];if(o=n.X.get(e))return[3,6];if((u=n.nn.get(e))&&!u["s-rn"])return(u["s-rc"]=u["s-rc"]||[]).push(function(){d(n,e,r)}),[2];if(!(o=function s(n,t,e,r,i,o,u,f){try{i=new(o=n.s(t).tn),function c(n,t,e,r,i,o){n.en.set(r,e),n.rn.has(e)||n.rn.set(e,{}),Object.entries(Object.assign({color:{type:String}},t.properties,{mode:{type:String}})).forEach(function(t){var u=t[0],f=t[1];(function c(n,t,e,r,i,o,u,f,a){if(t.type||t.state){var s=n.rn.get(e);t.state||(!t.attr||void 0!==s[i]&&""!==s[i]||(f=o&&o.in)&&x(a=f[t.attr])&&(s[i]=v(t.type,a)),e.hasOwnProperty(i)&&(void 0===s[i]&&(s[i]=v(t.type,e[i])),"mode"!==i&&delete e[i])),r.hasOwnProperty(i)&&void 0===s[i]&&(s[i]=r[i]),t.watchCallbacks&&(s[D+i]=t.watchCallbacks.slice()),b(r,i,function l(t){return(t=n.rn.get(n.en.get(this)))&&t[i]},function p(e,r){(r=n.en.get(this))&&(t.state||t.mutable)&&h(n,r,i,e,u)})}else t.elementRef&&y(r,i,e)})(n,f,e,r,u,i,o)})}(n,o,t,i,e,r),function a(n,t,e){if(t){var r=n.en.get(e);t.forEach(function(t){e[t.method]={emit:function(e){return n.on(r,t.name,{bubbles:t.bubbles,composed:t.composed,cancelable:t.cancelable,detail:e})}}})}}(n,o.events,i)}catch(e){i={},n.un(e,7,t,!0)}return n.X.set(t,i),i}(n,e,n.fn.get(e),r)))return[3,5];c.K=1;case 1:return c.cn.push([1,4,,5]),o.componentWillLoad?[4,o.componentWillLoad()]:[3,3];case 2:c.an(),c.K=3;case 3:return[3,5];case 4:return i=c.an(),n.un(i,3,e),[3,5];case 5:case 6:return[3,11];case 7:return c.cn.push([7,10,,11]),o.componentWillUpdate?[4,o.componentWillUpdate()]:[3,9];case 8:c.an(),c.K=9;case 9:return[3,11];case 10:return f=c.an(),n.un(f,5,e),[3,11];case 11:(function l(n,e,r,i,o){try{var u=e.tn.host,f=e.tn.encapsulation,c="shadow"===f&&n.r.e,s=r;if(!r["s-rn"]){n.sn(n,n.r,e,r);var l=r["s-sc"];l&&(n.r.w(r,t(l,!0)),"scoped"===f&&n.r.w(r,t(l)))}if(i.render||i.hostData||u){n.ln=!0;var v=i.render&&i.render();n.ln=!1;var p=n.vn.get(r)||{};p.b=s;var d=a(null,void 0,v);n.vn.set(r,n.render(r,p,d,c,f))}n.u&&n.u.pn(r),r["s-rn"]=!0,r["s-rc"]&&(r["s-rc"].forEach(function(n){return n()}),r["s-rc"]=null)}catch(t){n.ln=!1,n.un(t,8,r,!0)}})(n,n.s(e),e,o),e["s-init"](),c.K=12;case 12:return[2]}})})}function h(n,t,e,r,i,o){var u=n.rn.get(t);u||n.rn.set(t,u={});var f=u[e];if(r!==f&&(u[e]=r,o=n.X.get(t))){var c=u[D+e];if(c)for(var a=0;a<c.length;a++)try{o[c[a]].call(o,r,f,e)}catch(n){}!n.ln&&t["s-rn"]&&p(n,t,i)}}function y(n,t,e){Object.defineProperty(n,t,{configurable:!0,value:e})}function b(n,t,e,r){Object.defineProperty(n,t,{configurable:!0,get:e,set:r})}function m(n,t,e,r,i,o){if(n.Z.delete(t),(i=n.nn.get(t))&&((r=i["s-ld"])&&((e=r.indexOf(t))>-1&&r.splice(e,1),r.length||i["s-init"]&&i["s-init"]()),n.nn.delete(t)),n.dn.length&&!n.Z.size)for(;o=n.dn.shift();)o()}function w(n,t,e,r,i){if(e.connectedCallback=function(){(function e(n,t,r,i){n.V.delete(r),n.hn.has(r)||(r["s-id"]||(r["s-id"]=n.yn()),n.bn=!0,n.Z.add(r),n.hn.set(r,!0),function o(n,t,e){for(e=t;e=n.r.W(e);)if(n.A(e)){n.C.has(t)||(n.nn.set(t,e),(e["s-ld"]=e["s-ld"]||[]).push(t));break}}(n,r),n.queue.tick(function(){n.fn.set(r,function e(n,t,r,i,o){return r.mode||(r.mode=n.mn(r)),r["s-cr"]||n.D(r,E)||n.e&&1===t.t||(r["s-cr"]=n.j(""),r["s-cr"]["s-cn"]=!0,n.a(r,r["s-cr"],n.x(r)[0])),n.e||1!==t.t||(r.shadowRoot=r),i={wn:r["s-id"],in:{}},t.l&&Object.keys(t.l).forEach(function(e){(o=t.l[e].gn)&&(i.in[o]=n.D(r,o))}),i}(n.r,t,r)),n.Mn(t,r)}))})(n,t,this)},e.disconnectedCallback=function(){(function t(n,e,r){!n.S&&function i(n,t){for(;t;){if(!n.P(t))return 9!==n.L(t);t=n.P(t)}}(n.r,e)&&(n.V.set(e,!0),m(n,e),c(n.vn.get(e),!0),n.r.y(e),n.jn.delete(e),n.u&&n.u.kn(e),[n.nn,n.$n,n.fn].forEach(function(n){return n.delete(e)}))})(n,this)},e["s-init"]=function(){(function t(n,e,r,i,o,u,f){if(n.X.get(e)&&!n.V.has(e)&&(!e["s-ld"]||!e["s-ld"].length)){n.C.set(e,!0),n.An.has(e)||(n.An.set(e,!0),e["s-ld"]=void 0,n.r.w(e,r));try{c(n.vn.get(e)),(u=n.$n.get(e))&&(u.forEach(function(n){return n(e)}),n.$n.delete(e))}catch(t){n.un(t,4,e)}m(n,e)}})(n,this,r)},e.forceUpdate=function(){p(n,this,i)},t.l){var o=Object.entries(t.l),u={};o.forEach(function(n){var t=n[0],e=n[1].gn;e&&(u[e]=t)}),u=Object.assign({},u),e.attributeChangedCallback=function(n,t,e){(function r(n,t,e,i){var o=n[_(e)];o&&(t[o]=i)})(u,this,n,e)},function f(n,t,e,r){t.forEach(function(t){var i=t[0],o=t[1],u=o.En;3&u?b(e,i,function t(){return(n.rn.get(this)||{})[i]},function t(e){h(n,this,i,v(o.Cn,e),r)}):32===u&&y(e,i,T)})}(n,o,e,i)}}function g(n,t,e,r){return function(){var i=arguments;return function o(n,t,e){var r=t[e],i=n.i.body;return i?(r||(r=i.querySelector(e)),r||(r=t[e]=n.c(e),n.O(i,r)),r.componentOnReady()):Promise.resolve()}(n,t,e).then(function(n){return n[r].apply(n,i)})}}function M(n,t,r,i,o,u,c){var s=r.performance,l={html:{}},v={},d=r[n]=r[n]||{},h=function y(n,t,e){n.ael||(n.ael=function(n,t,e,r){return n.addEventListener(t,e,r)},n.rel=function(n,t,e,r){return n.removeEventListener(t,e,r)});var r=new WeakMap;"function"!=typeof t.CustomEvent&&(t.CustomEvent=function(n,t,r){return t=t||{},(r=e.createEvent("CustomEvent")).initCustomEvent(n,t.bubbles,t.cancelable,t.detail),r},t.CustomEvent.prototype=t.Event.prototype);var i={i:e,e:!!e.documentElement.attachShadow,On:!1,L:function(n){return n.nodeType},c:function(n){return e.createElement(n)},k:function(n,t){return e.createElementNS(n,t)},j:function(n){return e.createTextNode(n)},Sn:function(n){return e.createComment(n)},a:function(n,t,e){return n.insertBefore(t,e)},_:function(n){return n.remove()},O:function(n,t){return n.appendChild(t)},w:function(n,t){if(n.classList)n.classList.add(t);else if("svg"===n.nodeName.toLowerCase()){var e=n.getAttribute("class")||"";e.split(" ").includes(t)||(e+=" "+t),n.setAttribute("class",e.trim())}},x:function(n){return n.childNodes},P:function(n){return n.parentNode},R:function(n){return n.nextSibling},q:function(n){return n.previousSibling},T:function(n){return _(n.nodeName)},I:function(n){return n.textContent},N:function(n,t){return n.textContent=t},D:function(n,t){return n.getAttribute(t)},xn:function(n,t,e){return n.setAttribute(t,e)},_n:function(n,t,e,r){return n.setAttributeNS(t,e,r)},v:function(n,t){return n.removeAttribute(t)},p:function(n,t){return n.hasAttribute(t)},mn:function(t){return t.getAttribute("mode")||(n.Context||{}).mode},Pn:function(n,r){return"child"===r?n.firstElementChild:"parent"===r?i.W(n):"body"===r?e.body:"document"===r?e:"window"===r?t:n},d:function(t,e,o,u,f,c,a,s){var l=e,v=t,p=r.get(t);if(p&&p[l]&&p[l](),"string"==typeof c?v=i.Pn(t,c):"object"==typeof c?v=c:(s=e.split(":")).length>1&&(v=i.Pn(t,s[0]),e=s[1]),v){var d=o;(s=e.split(".")).length>1&&(e=s[0],d=function(n){n.keyCode===S[s[1]]&&o(n)}),a=i.On?{capture:!!u,passive:!!f}:!!u,n.ael(v,e,d,a),p||r.set(t,p={}),p[l]=function(){v&&n.rel(v,e,d,a),p[l]=null}}},y:function(n,t){var e=r.get(n);e&&(t?e[t]&&e[t]():Object.keys(e).forEach(function(n){e[n]&&e[n]()}))},Tn:function(n,e,r){var i=new t.CustomEvent(e,r);return n&&n.dispatchEvent(i),i},W:function(n,t){return(t=i.P(n))&&11===i.L(t)?t.host:t}};try{t.addEventListener("e",null,Object.defineProperty({},"passive",{get:function(){return i.On=!0}}))}catch(n){}return i}(d,r,i);t.isServer=t.isPrerender=!(t.isClient=!0),t.window=r,t.location=r.location,t.document=i,t.resourcesUrl=t.publicPath=o,t.emit=function(n,e,r){return h.Tn(n,t.eventNameFn?t.eventNameFn(e):e,r)},d.h=a,d.Context=t;var b=r["s-defined"]=r["s-defined"]||{},m=0,M={r:h,Wn:function j(n,t){var e=n.n;r.customElements.get(e)||(w(M,l[e]=n,t.prototype,u,s),t.observedAttributes=Object.values(n.l).map(function(n){return n.gn}).filter(function(n){return!!n}),r.customElements.define(n.n,t))},on:t.emit,s:function(n){return l[h.T(n)]},Nn:function(n){return t[n]},isClient:!0,A:function(n){return!(!b[h.T(n)]&&!M.s(n))},yn:function(){return n+m++},un:function(n,t,e){},Rn:function(n){return function t(n,e,r){return{create:g(n,e,r,"create"),componentOnReady:g(n,e,r,"componentOnReady")}}(h,v,n)},queue:t.queue=function k(n,t){function e(t){return function(e){t.push(e),d||(d=!0,n.raf(o))}}function r(n){for(var t=0;t<n.length;t++)try{n[t](u())}catch(n){}n.length=0}function i(n,t){for(var e,r=0;r<n.length&&(e=u())<t;)try{n[r++](e)}catch(n){}r===n.length?n.length=0:0!==r&&n.splice(0,r)}function o(){p++,r(s);var t=f?u()+7*Math.ceil(p*(1/22)):Infinity;i(l,t),i(v,t),l.length>0&&(v.push.apply(v,l),l.length=0),(d=s.length+l.length+v.length>0)?n.raf(o):p=0}var u=function(){return t.performance.now()},f=!1!==n.asyncQueue,c=Promise.resolve(),a=[],s=[],l=[],v=[],p=0,d=!1;return n.raf||(n.raf=t.requestAnimationFrame.bind(t)),{tick:function(n){a.push(n),1===a.length&&c.then(function(){return r(a)})},read:e(s),write:e(l)}}(d,r),Mn:function $(n,t,e){if(n.tn)p(M,t,s);else{var r={mode:t.mode,scoped:!1};n.Ln(r).then(function(e){try{n.tn=e,function r(n,t,e,i,o,u){if(i){var f=t.n+(o||C);t[f]||(t[f]=i)}}(0,n,n.t,e.style,e.styleMode)}catch(t){n.tn=function i(){}}p(M,t,s)})}},ln:!1,J:!1,S:!1,sn:e,nn:new WeakMap,o:new WeakMap,hn:new WeakMap,jn:new WeakMap,An:new WeakMap,C:new WeakMap,en:new WeakMap,fn:new WeakMap,X:new WeakMap,V:new WeakMap,z:new WeakMap,$n:new WeakMap,Dn:new WeakMap,vn:new WeakMap,rn:new WeakMap,Z:new Set,dn:[]};d.onReady=function(){return new Promise(function(n){return M.queue.write(function(){return M.Z.size?M.dn.push(n):n()})})},M.render=f(M,h);var A=h.i.documentElement;return A["s-ld"]=[],A["s-rn"]=!0,A["s-init"]=function(){M.C.set(A,d.loaded=M.J=!0),h.Tn(r,"appload",{detail:{namespace:n}})},function E(n,t,e,r,i,o){if(t.componentOnReady=function(t,e){if(!t.nodeName.includes("-"))return e(null),!1;var r=n.s(t);if(r)if(n.C.has(t))e(t);else{var i=n.$n.get(t)||[];i.push(e),n.$n.set(t,i)}return!!r},i){for(o=i.length-1;o>=0;o--)t.componentOnReady(i[o][0],i[o][1])&&i.splice(o,1);for(o=0;o<r.length;o++)if(!e[r[o]].componentOnReady)return;for(o=0;o<i.length;o++)i[o][1](null);i.length=0}}(M,d,r,r["s-apps"],r["s-cr"]),d.initialized=!0,M}function j(n,t,e){void 0===e&&(e={});var r=Array.isArray(t)?t:[t],i=n.document,o=e.hydratedCssClass||"hydrated",u=r.map(function(n){return n[0]});if(u.length>0){var f=i.createElement("style");f.innerHTML=u.join()+"{visibility:hidden}."+o+"{visibility:inherit}",f.setAttribute("data-styles",""),i.head.insertBefore(f,i.head.firstChild)}var c=e.namespace||"bruit";return H||(H=!0,function a(n,t,e){(n["s-apps"]=n["s-apps"]||[]).push(t),e.componentOnReady||(e.componentOnReady=function t(){function e(t){if(r.nodeName.indexOf("-")>0){for(var e=n["s-apps"],i=0,o=0;o<e.length;o++)if(n[e[o]].componentOnReady){if(n[e[o]].componentOnReady(r,t))return;i++}if(i<e.length)return void(n["s-cr"]=n["s-cr"]||[]).push([r,t])}t(null)}var r=this;return n.Promise?new n.Promise(e):{then:e}})}(n,c,n.HTMLElement.prototype)),applyPolyfills(n).then(function(){if(!F[c]){var r={},u=e.resourcesUrl||"./";A(c,r,n,i,u,o),F[c]=M(c,r,n,i,u,o)}t.forEach(function(t){var e;!function r(n){return/\{\s*\[native code\]\s*\}/.test(""+n)}(n.customElements.define)?(e=function(t){return n.HTMLElement.call(this,t)}).prototype=Object.create(n.HTMLElement.prototype,{constructor:{value:e,configurable:!0}}):e=new Function("w","return class extends w.HTMLElement{}")(n),F[c].Wn(function i(n){var t=function e(n){var t=n[0],e=n[1],r=n[3],i=n[4],o=n[5],u={color:{gn:"color"}};if(r)for(var f=0;f<r.length;f++){var c=r[f];u[c[0]]={En:c[1],Fn:!!c[2],gn:"string"==typeof c[3]?c[3]:c[3]?c[0]:0,Cn:c[4]}}return{n:t,Ln:e,l:Object.assign({},u),t:i,Hn:o?o.map(l):void 0}}(n),r=t.Ln,i=P(n[0]);return t.Ln=function(n){var t=n.mode,e=n.scoped;return function o(n,t,e){return import(
function n(n,t){return"sc-"+n.n+(t&&t!==C?"-"+t:"")}function t(n,t){return n+(t?"-h":"-s")}function e(t,e,r,i){var o=r.n+i.mode,u=r[o];if((2===r.t||1===r.t&&!t.r.e)&&(i["s-sc"]=u?n(r,i.mode):n(r)),u||(u=r[o=r.n+C]),u){var f=e.i.head,c=t.o.get(f);if(c||t.o.set(f,c={}),!c[o]){var a=void 0;if(t.u?a=t.u.f(i,o,u):((a=e.c("style")).innerHTML=u,c[o]=!0),a){var s=f.querySelectorAll("[data-styles]");e.a(f,a,s.length&&s[s.length-1].nextSibling||f.firstChild)}}}}function r(n,t,e,r,u,f,c){if("class"!==e||f)if("style"===e){for(var a in r)u&&null!=u[a]||(/-/.test(a)?t.style.removeProperty(a):t.style[a]="");for(var a in u)r&&u[a]===r[a]||(/-/.test(a)?t.style.setProperty(a,u[a]):t.style[a]=u[a])}else if("o"!==e[0]||"n"!==e[1]||!/[A-Z]/.test(e[2])||e in t)if("list"!==e&&"type"!==e&&!f&&(e in t||-1!==["object","function"].indexOf(typeof u)&&null!==u)){var s=n.s(t);s&&s.l&&s.l[e]?o(t,e,u):"ref"!==e&&(o(t,e,null==u?"":u),null!=u&&!1!==u||n.r.v(t,e))}else null!=u&&"key"!==e?function l(n,t,e,r){void 0===r&&(r="boolean"==typeof e);var i=t!==(t=t.replace(/^xlink\:?/,""));null==e||r&&(!e||"false"===e)?i?n.removeAttributeNS(W,_(t)):n.removeAttribute(t):"function"!=typeof e&&(e=r?"":e.toString(),i?n.setAttributeNS(W,_(t),e):n.setAttribute(t,e))}(t,e,u):(f||n.r.p(t,e)&&(null==u||!1===u))&&n.r.v(t,e);else e=_(e)in t?_(e.substring(2)):_(e[2])+e.substring(3),u?u!==r&&n.r.d(t,e,u):n.r.y(t,e);else if(r!==u){var v=i(r),p=i(u),d=v.filter(function(n){return!p.includes(n)}),h=i(t.className).filter(function(n){return!d.includes(n)}),y=p.filter(function(n){return!v.includes(n)&&!h.includes(n)});h.push.apply(h,y),t.className=h.join(" ")}}function i(n){return null==n||""===n?[]:n.trim().split(/\s+/)}function o(n,t,e){try{n[t]=e}catch(n){}}function u(n,t,e,i,o){var u=11===e.m.nodeType&&e.m.host?e.m.host:e.m,f=t&&t.vattrs||O,c=e.vattrs||O;for(o in f)c&&null!=c[o]||null==f[o]||r(n,u,o,f[o],void 0,i,e.b);for(o in c)o in f&&c[o]===("value"===o||"checked"===o?u[o]:f[o])||r(n,u,o,f[o],c[o],i,e.b)}function f(n,t){function e(i,o,f,c,a,v,m,b,w){if(b=o.vchildren[f],s||(p=!0,"slot"===b.vtag&&(l&&t.w(c,l+"-s"),b.vchildren?b.g=!0:b.M=!0)),x(b.vtext))b.m=t.k(b.vtext);else if(b.M)b.m=t.k("");else{if(v=b.m=N||"svg"===b.vtag?t.j("http://www.w3.org/2000/svg",b.vtag):t.c(b.g?"slot-fb":b.vtag),n.A(v)&&n.C.delete(y),N="svg"===b.vtag||"foreignObject"!==b.vtag&&N,u(n,null,b,N),x(l)&&v["s-si"]!==l&&t.w(v,v["s-si"]=l),b.vchildren)for(a=0;a<b.vchildren.length;++a)(m=e(i,b,a,v))&&t.O(v,m);"svg"===b.vtag&&(N=!1)}return b.m["s-hn"]=h,(b.g||b.M)&&(b.m["s-sr"]=!0,b.m["s-cr"]=d,b.m["s-sn"]=b.vname||"",(w=i&&i.vchildren&&i.vchildren[f])&&w.vtag===b.vtag&&i.m&&r(i.m)),b.m}function r(e,i,o,u){n.S=!0;var f=t.x(e);for(o=f.length-1;o>=0;o--)(u=f[o])["s-hn"]!==h&&u["s-ol"]&&(t._(u),t.a(a(u),u,c(u)),t._(u["s-ol"]),u["s-ol"]=null,p=!0),i&&r(u,i);n.S=!1}function i(n,r,i,o,u,f,a,s){var l=n["s-cr"];for((a=l&&t.P(l)||n).shadowRoot&&t.T(a)===h&&(a=a.shadowRoot);u<=f;++u)o[u]&&(s=x(o[u].vtext)?t.k(o[u].vtext):e(null,i,u,n))&&(o[u].m=s,t.a(a,s,c(r)))}function o(n,e,i,o){for(;e<=i;++e)x(n[e])&&(o=n[e].m,v=!0,o["s-ol"]?t._(o["s-ol"]):r(o,!0),t._(o))}function f(n,t){return n.vtag===t.vtag&&n.vkey===t.vkey&&("slot"!==n.vtag||n.vname===t.vname)}function c(n){return n&&n["s-ol"]?n["s-ol"]:n}function a(n){return t.P(n["s-ol"]?n["s-ol"]:n)}var s,l,v,p,d,h,y,m=[];return function b(w,g,M,k,j,$,A,E,C,O,S,_){if(y=w,h=t.T(y),d=y["s-cr"],s=k,l=y["s-sc"],p=v=!1,function s(l,v,p){var d=v.m=l.m,h=l.vchildren,y=v.vchildren;N=v.m&&x(t.W(v.m))&&void 0!==v.m.ownerSVGElement,N="svg"===v.vtag||"foreignObject"!==v.vtag&&N,x(v.vtext)?(p=d["s-cr"])?t.N(t.P(p),v.vtext):l.vtext!==v.vtext&&t.N(d,v.vtext):("slot"!==v.vtag&&u(n,l,v,N),x(h)&&x(y)?function m(n,u,l,v,p,d,h,y){for(var m=0,b=0,w=u.length-1,g=u[0],M=u[w],k=v.length-1,j=v[0],$=v[k];m<=w&&b<=k;)if(null==g)g=u[++m];else if(null==M)M=u[--w];else if(null==j)j=v[++b];else if(null==$)$=v[--k];else if(f(g,j))s(g,j),g=u[++m],j=v[++b];else if(f(M,$))s(M,$),M=u[--w],$=v[--k];else if(f(g,$))"slot"!==g.vtag&&"slot"!==$.vtag||r(t.P(g.m)),s(g,$),t.a(n,g.m,t.R(M.m)),g=u[++m],$=v[--k];else if(f(M,j))"slot"!==g.vtag&&"slot"!==$.vtag||r(t.P(M.m)),s(M,j),t.a(n,M.m,g.m),M=u[--w],j=v[++b];else{for(p=null,d=m;d<=w;++d)if(u[d]&&x(u[d].vkey)&&u[d].vkey===j.vkey){p=d;break}x(p)?((y=u[p]).vtag!==j.vtag?h=e(u&&u[b],l,p,n):(s(y,j),u[p]=void 0,h=y.m),j=v[++b]):(h=e(u&&u[b],l,b,n),j=v[++b]),h&&t.a(a(g.m),h,c(g.m))}m>w?i(n,null==v[k+1]?null:v[k+1].m,l,v,b,k):b>k&&o(u,m,w)}(d,h,v,y):x(y)?(x(l.vtext)&&t.N(d,""),i(d,null,v,y,0,y.length-1)):x(h)&&o(h,0,h.length-1)),N&&"svg"===v.vtag&&(N=!1)}(g,M),p){for(function n(e,r,i,o,u,f,c,a,s,l){for(u=0,f=(r=t.x(e)).length;u<f;u++){if((i=r[u])["s-sr"]&&(o=i["s-cr"]))for(a=t.x(t.P(o)),s=i["s-sn"],c=a.length-1;c>=0;c--)(o=a[c])["s-cn"]||o["s-nr"]||o["s-hn"]===i["s-hn"]||((3===(l=t.L(o))||8===l)&&""===s||1===l&&null===t.D(o,"slot")&&""===s||1===l&&t.D(o,"slot")===s)&&(m.some(function(n){return n.F===o})||(v=!0,o["s-sn"]=s,m.push({H:i,F:o})));1===t.L(i)&&n(i)}}(M.m),A=0;A<m.length;A++)(E=m[A]).F["s-ol"]||((C=t.k(""))["s-nr"]=E.F,t.a(t.P(E.F),E.F["s-ol"]=C,E.F));for(n.S=!0,A=0;A<m.length;A++){for(E=m[A],S=t.P(E.H),_=t.R(E.H),C=E.F["s-ol"];C=t.q(C);)if((O=C["s-nr"])&&O&&O["s-sn"]===E.F["s-sn"]&&S===t.P(O)&&(O=t.R(O))&&O&&!O["s-nr"]){_=O;break}(!_&&S!==t.P(E.F)||t.R(E.F)!==_)&&E.F!==_&&(t._(E.F),t.a(S,E.F,_))}n.S=!1}return v&&function n(e,r,i,o,u,f,c,a){for(o=0,u=(i=t.x(e)).length;o<u;o++)if(r=i[o],1===t.L(r)){if(r["s-sr"])for(c=r["s-sn"],r.hidden=!1,f=0;f<u;f++)if(i[f]["s-hn"]!==r["s-hn"])if(a=t.L(i[f]),""!==c){if(1===a&&c===t.D(i[f],"slot")){r.hidden=!0;break}}else if(1===a||3===a&&""!==t.I(i[f]).trim()){r.hidden=!0;break}n(r)}}(M.m),m.length=0,M}}function c(n,t){n&&(n.vattrs&&n.vattrs.ref&&n.vattrs.ref(t?null:n.m),n.vchildren&&n.vchildren.forEach(function(n){c(n,t)}))}function a(n,t){for(var e,r,i=null,o=!1,u=!1,f=arguments.length;f-- >2;)R.push(arguments[f]);for(;R.length>0;){var c=R.pop();if(c&&void 0!==c.pop)for(f=c.length;f--;)R.push(c[f]);else"boolean"==typeof c&&(c=null),(u="function"!=typeof n)&&(null==c?c="":"number"==typeof c?c=String(c):"string"!=typeof c&&(u=!1)),u&&o?i[i.length-1].vtext+=c:null===i?i=[u?{vtext:c}:c]:i.push(u?{vtext:c}:c),o=u}if(null!=t){if(t.className&&(t.class=t.className),"object"==typeof t.class){for(f in t.class)t.class[f]&&R.push(f);t.class=R.join(" "),R.length=0}null!=t.key&&(e=t.key),null!=t.name&&(r=t.name)}return"function"==typeof n?n(t,i||[],L):{vtag:n,vchildren:i,vtext:void 0,vattrs:t,vkey:e,vname:r,m:void 0,b:!1}}function s(n){return{vtag:n.vtag,vchildren:n.vchildren,vtext:n.vtext,vattrs:n.vattrs,vkey:n.vkey,vname:n.vname}}function l(n){return{U:n[0],B:n[1],G:!!n[2],Q:!!n[3],Y:!!n[4]}}function v(n,t){if(x(t)&&"object"!=typeof t&&"function"!=typeof t){if(n===Boolean||4===n)return"false"!==t&&(""===t||!!t);if(n===Number||8===n)return parseFloat(t);if(n===String||2===n)return t.toString()}return t}function p(n,t,e){n.Z.add(t),n.z.has(t)||(n.z.set(t,!0),n.J?n.queue.write(function(){return d(n,t,e)}):n.queue.tick(function(){return d(n,t,e)}))}function d(n,e,r,i,o,u){return j(this,void 0,void 0,function(){var i,f;return $(this,function(c){switch(c.K){case 0:if(n.z.delete(e),n.V.has(e))return[3,12];if(o=n.X.get(e))return[3,6];if((u=n.nn.get(e))&&!u["s-rn"])return(u["s-rc"]=u["s-rc"]||[]).push(function(){d(n,e,r)}),[2];if(!(o=function s(n,t,e,r,i,o,u,f){try{i=new(o=n.s(t).tn),function c(n,t,e,r,i,o){n.en.set(r,e),n.rn.has(e)||n.rn.set(e,{}),Object.entries(Object.assign({color:{type:String}},t.properties,{mode:{type:String}})).forEach(function(t){var u=t[0],f=t[1];(function c(n,t,e,r,i,o,u,f,a){if(t.type||t.state){var s=n.rn.get(e);t.state||(!t.attr||void 0!==s[i]&&""!==s[i]||(f=o&&o.in)&&x(a=f[t.attr])&&(s[i]=v(t.type,a)),e.hasOwnProperty(i)&&(void 0===s[i]&&(s[i]=v(t.type,e[i])),"mode"!==i&&delete e[i])),r.hasOwnProperty(i)&&void 0===s[i]&&(s[i]=r[i]),t.watchCallbacks&&(s[D+i]=t.watchCallbacks.slice()),m(r,i,function l(t){return(t=n.rn.get(n.en.get(this)))&&t[i]},function p(e,r){(r=n.en.get(this))&&(t.state||t.mutable)&&h(n,r,i,e,u)})}else t.elementRef&&y(r,i,e)})(n,f,e,r,u,i,o)})}(n,o,t,i,e,r)}catch(e){i={},n.on(e,7,t,!0)}return n.X.set(t,i),i}(n,e,n.un.get(e),r)))return[3,5];c.K=1;case 1:return c.fn.push([1,4,,5]),o.componentWillLoad?[4,o.componentWillLoad()]:[3,3];case 2:c.cn(),c.K=3;case 3:return[3,5];case 4:return i=c.cn(),n.on(i,3,e),[3,5];case 5:case 6:return[3,11];case 7:return c.fn.push([7,10,,11]),o.componentWillUpdate?[4,o.componentWillUpdate()]:[3,9];case 8:c.cn(),c.K=9;case 9:return[3,11];case 10:return f=c.cn(),n.on(f,5,e),[3,11];case 11:(function l(n,e,r,i,o){try{var u=e.tn.host,f=e.tn.encapsulation,c="shadow"===f&&n.r.e,s=r;if(!r["s-rn"]){n.an(n,n.r,e,r);var l=r["s-sc"];l&&(n.r.w(r,t(l,!0)),"scoped"===f&&n.r.w(r,t(l)))}if(i.render||i.hostData||u){n.sn=!0;var v=i.render&&i.render();n.sn=!1;var p=n.ln.get(r)||{};p.m=s;var d=a(null,void 0,v);n.ln.set(r,n.render(r,p,d,c,f))}n.u&&n.u.vn(r),r["s-rn"]=!0,r["s-rc"]&&(r["s-rc"].forEach(function(n){return n()}),r["s-rc"]=null)}catch(t){n.sn=!1,n.on(t,8,r,!0)}})(n,n.s(e),e,o),e["s-init"](),c.K=12;case 12:return[2]}})})}function h(n,t,e,r,i,o){var u=n.rn.get(t);u||n.rn.set(t,u={});var f=u[e];if(r!==f&&(u[e]=r,o=n.X.get(t))){var c=u[D+e];if(c)for(var a=0;a<c.length;a++)try{o[c[a]].call(o,r,f,e)}catch(n){}!n.sn&&t["s-rn"]&&p(n,t,i)}}function y(n,t,e){Object.defineProperty(n,t,{configurable:!0,value:e})}function m(n,t,e,r){Object.defineProperty(n,t,{configurable:!0,get:e,set:r})}function b(n,t,e,r,i,o){if(n.Z.delete(t),(i=n.nn.get(t))&&((r=i["s-ld"])&&((e=r.indexOf(t))>-1&&r.splice(e,1),r.length||i["s-init"]&&i["s-init"]()),n.nn.delete(t)),n.pn.length&&!n.Z.size)for(;o=n.pn.shift();)o()}function w(n,t,e,r,i){if(e.connectedCallback=function(){(function e(n,t,r,i){n.V.delete(r),n.dn.has(r)||(r["s-id"]||(r["s-id"]=n.hn()),n.yn=!0,n.Z.add(r),n.dn.set(r,!0),function o(n,t,e){for(e=t;e=n.r.W(e);)if(n.A(e)){n.C.has(t)||(n.nn.set(t,e),(e["s-ld"]=e["s-ld"]||[]).push(t));break}}(n,r),n.queue.tick(function(){n.un.set(r,function e(n,t,r,i,o){return r.mode||(r.mode=n.mn(r)),r["s-cr"]||n.D(r,E)||n.e&&1===t.t||(r["s-cr"]=n.k(""),r["s-cr"]["s-cn"]=!0,n.a(r,r["s-cr"],n.x(r)[0])),n.e||1!==t.t||(r.shadowRoot=r),i={bn:r["s-id"],in:{}},t.l&&Object.keys(t.l).forEach(function(e){(o=t.l[e].wn)&&(i.in[o]=n.D(r,o))}),i}(n.r,t,r)),n.gn(t,r)}))})(n,t,this)},e.disconnectedCallback=function(){(function t(n,e,r){!n.S&&function i(n,t){for(;t;){if(!n.P(t))return 9!==n.L(t);t=n.P(t)}}(n.r,e)&&(n.V.set(e,!0),b(n,e),c(n.ln.get(e),!0),n.r.y(e),n.Mn.delete(e),n.u&&n.u.kn(e),[n.nn,n.jn,n.un].forEach(function(n){return n.delete(e)}))})(n,this)},e["s-init"]=function(){(function t(n,e,r,i,o,u,f){if(n.X.get(e)&&!n.V.has(e)&&(!e["s-ld"]||!e["s-ld"].length)){n.C.set(e,!0),n.$n.has(e)||(n.$n.set(e,!0),e["s-ld"]=void 0,n.r.w(e,r));try{c(n.ln.get(e)),(u=n.jn.get(e))&&(u.forEach(function(n){return n(e)}),n.jn.delete(e))}catch(t){n.on(t,4,e)}b(n,e)}})(n,this,r)},e.forceUpdate=function(){p(n,this,i)},t.l){var o=Object.entries(t.l),u={};o.forEach(function(n){var t=n[0],e=n[1].wn;e&&(u[e]=t)}),u=Object.assign({},u),e.attributeChangedCallback=function(n,t,e){(function r(n,t,e,i){var o=n[_(e)];o&&(t[o]=i)})(u,this,n,e)},function f(n,t,e,r){t.forEach(function(t){var i=t[0],o=t[1],u=o.An;3&u?m(e,i,function t(){return(n.rn.get(this)||{})[i]},function t(e){h(n,this,i,v(o.En,e),r)}):32===u&&y(e,i,T)})}(n,o,e,i)}}function g(n,t,e,r){return function(){var i=arguments;return function o(n,t,e){var r=t[e],i=n.i.body;return i?(r||(r=i.querySelector(e)),r||(r=t[e]=n.c(e),n.O(i,r)),r.componentOnReady()):Promise.resolve()}(n,t,e).then(function(n){return n[r].apply(n,i)})}}function M(n,t,r,i,o,u,c){var s=r.performance,l={html:{}},v={},d=r[n]=r[n]||{},h=function y(n,t,e){n.ael||(n.ael=function(n,t,e,r){return n.addEventListener(t,e,r)},n.rel=function(n,t,e,r){return n.removeEventListener(t,e,r)});var r=new WeakMap;"function"!=typeof t.CustomEvent&&(t.CustomEvent=function(n,t,r){return t=t||{},(r=e.createEvent("CustomEvent")).initCustomEvent(n,t.bubbles,t.cancelable,t.detail),r},t.CustomEvent.prototype=t.Event.prototype);var i={i:e,e:!!e.documentElement.attachShadow,Cn:!1,L:function(n){return n.nodeType},c:function(n){return e.createElement(n)},j:function(n,t){return e.createElementNS(n,t)},k:function(n){return e.createTextNode(n)},On:function(n){return e.createComment(n)},a:function(n,t,e){return n.insertBefore(t,e)},_:function(n){return n.remove()},O:function(n,t){return n.appendChild(t)},w:function(n,t){if(n.classList)n.classList.add(t);else if("svg"===n.nodeName.toLowerCase()){var e=n.getAttribute("class")||"";e.split(" ").includes(t)||(e+=" "+t),n.setAttribute("class",e.trim())}},x:function(n){return n.childNodes},P:function(n){return n.parentNode},R:function(n){return n.nextSibling},q:function(n){return n.previousSibling},T:function(n){return _(n.nodeName)},I:function(n){return n.textContent},N:function(n,t){return n.textContent=t},D:function(n,t){return n.getAttribute(t)},Sn:function(n,t,e){return n.setAttribute(t,e)},xn:function(n,t,e,r){return n.setAttributeNS(t,e,r)},v:function(n,t){return n.removeAttribute(t)},p:function(n,t){return n.hasAttribute(t)},mn:function(t){return t.getAttribute("mode")||(n.Context||{}).mode},_n:function(n,r){return"child"===r?n.firstElementChild:"parent"===r?i.W(n):"body"===r?e.body:"document"===r?e:"window"===r?t:n},d:function(t,e,o,u,f,c,a,s){var l=e,v=t,p=r.get(t);if(p&&p[l]&&p[l](),"string"==typeof c?v=i._n(t,c):"object"==typeof c?v=c:(s=e.split(":")).length>1&&(v=i._n(t,s[0]),e=s[1]),v){var d=o;(s=e.split(".")).length>1&&(e=s[0],d=function(n){n.keyCode===S[s[1]]&&o(n)}),a=i.Cn?{capture:!!u,passive:!!f}:!!u,n.ael(v,e,d,a),p||r.set(t,p={}),p[l]=function(){v&&n.rel(v,e,d,a),p[l]=null}}},y:function(n,t){var e=r.get(n);e&&(t?e[t]&&e[t]():Object.keys(e).forEach(function(n){e[n]&&e[n]()}))},Pn:function(n,e,r){var i=new t.CustomEvent(e,r);return n&&n.dispatchEvent(i),i},W:function(n,t){return(t=i.P(n))&&11===i.L(t)?t.host:t}};return i}(d,r,i);t.isServer=t.isPrerender=!(t.isClient=!0),t.window=r,t.location=r.location,t.document=i,t.resourcesUrl=t.publicPath=o,d.h=a,d.Context=t;var m=r["s-defined"]=r["s-defined"]||{},b=0,M={r:h,Tn:function k(n,t){var e=n.n;r.customElements.get(e)||(w(M,l[e]=n,t.prototype,u,s),t.observedAttributes=Object.values(n.l).map(function(n){return n.wn}).filter(function(n){return!!n}),r.customElements.define(n.n,t))},Wn:t.emit,s:function(n){return l[h.T(n)]},Nn:function(n){return t[n]},isClient:!0,A:function(n){return!(!m[h.T(n)]&&!M.s(n))},hn:function(){return n+b++},on:function(n,t,e){},Rn:function(n){return function t(n,e,r){return{create:g(n,e,r,"create"),componentOnReady:g(n,e,r,"componentOnReady")}}(h,v,n)},queue:t.queue=function j(n,t){function e(t){return function(e){t.push(e),d||(d=!0,n.raf(o))}}function r(n){for(var t=0;t<n.length;t++)try{n[t](u())}catch(n){}n.length=0}function i(n,t){for(var e,r=0;r<n.length&&(e=u())<t;)try{n[r++](e)}catch(n){}r===n.length?n.length=0:0!==r&&n.splice(0,r)}function o(){p++,r(s);var t=f?u()+7*Math.ceil(p*(1/22)):Infinity;i(l,t),i(v,t),l.length>0&&(v.push.apply(v,l),l.length=0),(d=s.length+l.length+v.length>0)?n.raf(o):p=0}var u=function(){return t.performance.now()},f=!1!==n.asyncQueue,c=Promise.resolve(),a=[],s=[],l=[],v=[],p=0,d=!1;return n.raf||(n.raf=t.requestAnimationFrame.bind(t)),{tick:function(n){a.push(n),1===a.length&&c.then(function(){return r(a)})},read:e(s),write:e(l)}}(d,r),gn:function $(n,t,e){if(n.tn)p(M,t,s);else{var r={mode:t.mode,scoped:!1};n.Ln(r).then(function(e){try{n.tn=e,function r(n,t,e,i,o,u){if(i){var f=t.n+(o||C);t[f]||(t[f]=i)}}(0,n,n.t,e.style,e.styleMode)}catch(t){n.tn=function i(){}}p(M,t,s)})}},sn:!1,J:!1,S:!1,an:e,nn:new WeakMap,o:new WeakMap,dn:new WeakMap,Mn:new WeakMap,$n:new WeakMap,C:new WeakMap,en:new WeakMap,un:new WeakMap,X:new WeakMap,V:new WeakMap,z:new WeakMap,jn:new WeakMap,Dn:new WeakMap,ln:new WeakMap,rn:new WeakMap,Z:new Set,pn:[]};d.onReady=function(){return new Promise(function(n){return M.queue.write(function(){return M.Z.size?M.pn.push(n):n()})})},M.render=f(M,h);var A=h.i.documentElement;return A["s-ld"]=[],A["s-rn"]=!0,A["s-init"]=function(){M.C.set(A,d.loaded=M.J=!0),h.Pn(r,"appload",{detail:{namespace:n}})},function E(n,t,e,r,i,o){if(t.componentOnReady=function(t,e){if(!t.nodeName.includes("-"))return e(null),!1;var r=n.s(t);if(r)if(n.C.has(t))e(t);else{var i=n.jn.get(t)||[];i.push(e),n.jn.set(t,i)}return!!r},i){for(o=i.length-1;o>=0;o--)t.componentOnReady(i[o][0],i[o][1])&&i.splice(o,1);for(o=0;o<r.length;o++)if(!e[r[o]].componentOnReady)return;for(o=0;o<i.length;o++)i[o][1](null);i.length=0}}(M,d,r,r["s-apps"],r["s-cr"]),d.initialized=!0,M}function k(n,t,e){void 0===e&&(e={});var r=Array.isArray(t)?t:[t],i=n.document,o=e.hydratedCssClass||"hydrated",u=r.map(function(n){return n[0]});if(u.length>0){var f=i.createElement("style");f.innerHTML=u.join()+"{visibility:hidden}."+o+"{visibility:inherit}",f.setAttribute("data-styles",""),i.head.insertBefore(f,i.head.firstChild)}var c=e.namespace||"bruit";return H||(H=!0,function a(n,t,e){(n["s-apps"]=n["s-apps"]||[]).push(t),e.componentOnReady||(e.componentOnReady=function t(){function e(t){if(r.nodeName.indexOf("-")>0){for(var e=n["s-apps"],i=0,o=0;o<e.length;o++)if(n[e[o]].componentOnReady){if(n[e[o]].componentOnReady(r,t))return;i++}if(i<e.length)return void(n["s-cr"]=n["s-cr"]||[]).push([r,t])}t(null)}var r=this;return n.Promise?new n.Promise(e):{then:e}})}(n,c,n.HTMLElement.prototype)),applyPolyfills(n).then(function(){if(!F[c]){var r={},u=e.resourcesUrl||"./";A(c,r,n,i,u,o),F[c]=M(c,r,n,i,u,o)}t.forEach(function(t){var e;!function r(n){return/\{\s*\[native code\]\s*\}/.test(""+n)}(n.customElements.define)?(e=function(t){return n.HTMLElement.call(this,t)}).prototype=Object.create(n.HTMLElement.prototype,{constructor:{value:e,configurable:!0}}):e=new Function("w","return class extends w.HTMLElement{}")(n),F[c].Tn(function i(n){var t=function e(n){var t=n[0],e=n[1],r=n[3],i=n[4],o=n[5],u={color:{wn:"color"}};if(r)for(var f=0;f<r.length;f++){var c=r[f];u[c[0]]={An:c[1],Fn:!!c[2],wn:"string"==typeof c[3]?c[3]:c[3]?c[0]:0,En:c[4]}}return{n:t,Ln:e,l:Object.assign({},u),t:i,Hn:o?o.map(l):void 0}}(n),r=t.Ln,i=P(n[0]);return t.Ln=function(n){var t=n.mode,e=n.scoped;return function o(n,t,e){return import(
/* webpackInclude: /\.entry\.js$/ */
/* webpackMode: "lazy" */
"./build/"+n+(t?".sc":"")+".entry.js").then(function(n){return n[e]})}("string"==typeof r?r:r[t],e,i)},t}(t),e)})})}this&&this.qn||(Object.setPrototypeOf||Array);var k=this&&this.In||function(n,t,e,r){return new(e||(e=Promise))(function(i,o){function u(n){try{c(r.Un(n))}catch(n){o(n)}}function f(n){try{c(r.throw(n))}catch(n){o(n)}}function c(n){n.Bn?i(n.value):new e(function(t){t(n.value)}).then(u,f)}c((r=r.apply(n,t||[])).Un())})},$=this&&this.Gn||function(n,t){function e(e){return function(u){return function c(e){if(r)throw new TypeError("Generator is already executing.");for(;f;)try{if(r=1,i&&(o=2&e[0]?i.return:e[0]?i.throw||((o=i.return)&&o.call(i),0):i.Un)&&!(o=o.call(i,e[1])).Bn)return o;switch(i=0,o&&(e=[2&e[0],o.value]),e[0]){case 0:case 1:o=e;break;case 4:return f.K++,{value:e[1],Bn:!1};case 5:f.K++,i=e[1],e=[0];continue;case 7:e=f.Qn.pop(),f.cn.pop();continue;default:if(!(o=(o=f.cn).length>0&&o[o.length-1])&&(6===e[0]||2===e[0])){f=0;continue}if(3===e[0]&&(!o||e[1]>o[0]&&e[1]<o[3])){f.K=e[1];break}if(6===e[0]&&f.K<o[1]){f.K=o[1],o=e;break}if(o&&f.K<o[2]){f.K=o[2],f.Qn.push(e);break}o[2]&&f.Qn.pop(),f.cn.pop();continue}e=t.call(n,f)}catch(n){e=[6,n],i=0}finally{r=o=0}if(5&e[0])throw e[1];return{value:e[0]?e[1]:void 0,Bn:!0}}([e,u])}}var r,i,o,u,f={K:0,an:function(){if(1&o[0])throw o[1];return o[1]},cn:[],Qn:[]};return u={Un:e(0),throw:e(1),return:e(2)},"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u},A=function(){};function applyPolyfills(n){n.Yn=function(){function t(){var n=setTimeout;return function(){return n(e,1)}}function e(){for(var n=0;n<m;n+=2)(0,O[n])(O[n+1]),O[n]=void 0,O[n+1]=void 0;m=0}function r(n,t){var e=this,r=new this.constructor(o);void 0===r[x]&&h(r);var i=e.Zn;if(i){var u=arguments[i-1];M(function(){return d(i,r,u,e.zn)})}else v(e,r,n,t);return r}function i(n){if(n&&"object"==typeof n&&n.constructor===this)return n;var t=new this(o);return c(t,n),t}function o(){}function u(n){try{return n.then}catch(n){return W.error=n,W}}function f(n,t,e){t.constructor===n.constructor&&e===r&&t.constructor.resolve===i?function(n,t){t.Zn===P?s(n,t.zn):t.Zn===T?l(n,t.zn):v(t,void 0,function(t){return c(n,t)},function(t){return l(n,t)})}(n,t):e===W?(l(n,W.error),W.error=null):void 0===e?s(n,t):"function"==typeof e?function(n,t,e){M(function(n){var r=!1,i=function(n,t,e,r){try{n.call(t,e,r)}catch(n){return n}}(e,t,function(e){r||(r=!0,t!==e?c(n,e):s(n,e))},function(t){r||(r=!0,l(n,t))},n.Jn);!r&&i&&(r=!0,l(n,i))},n)}(n,t,e):s(n,t)}function c(n,t){if(n===t)l(n,new TypeError("cannot resolve promise w/ itself"));else{var e=typeof t;null===t||"object"!==e&&"function"!==e?s(n,t):f(n,t,u(t))}}function a(n){n.Kn&&n.Kn(n.zn),p(n)}function s(n,t){n.Zn===_&&(n.zn=t,n.Zn=P,0!==n.Vn.length&&M(p,n))}function l(n,t){n.Zn===_&&(n.Zn=T,n.zn=t,M(a,n))}function v(n,t,e,r){var i=n.Vn,o=i.length;n.Kn=null,i[o]=t,i[o+P]=e,i[o+T]=r,0===o&&n.Zn&&M(p,n)}function p(n){var t=n.Vn,e=n.Zn;if(0!==t.length){for(var r,i,o=n.zn,u=0;u<t.length;u+=3)r=t[u],i=t[u+e],r?d(e,r,i,o):i(o);n.Vn.length=0}}function d(n,t,e,r){var i="function"==typeof e,o=void 0,u=void 0,f=void 0,a=void 0;if(i){try{o=e(r)}catch(n){W.error=n,o=W}if(o===W?(a=!0,u=o.error,o.error=null):f=!0,t===o)return void l(t,new TypeError("Cannot return same promise"))}else o=r,f=!0;t.Zn===_&&(i&&f?c(t,o):a?l(t,u):n===P?s(t,o):n===T&&l(t,o))}function h(n){n[x]=N++,n.Zn=void 0,n.zn=void 0,n.Vn=[]}var y,b=Array.isArray?Array.isArray:function(n){return"[object Array]"===Object.prototype.toString.call(n)},m=0,w=void 0,g=void 0,M=function(n,t){O[m]=n,O[m+1]=t,2===(m+=2)&&(g?g(e):S())},j=(y=void 0!==n?n:void 0)||{},k=j.Xn||j.nt;j="undefined"==typeof self;var $,A,E,C="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,O=Array(1e3),S=void 0;S=k?($=0,A=new k(e),E=document.createTextNode(""),A.observe(E,{characterData:!0}),function(){E.data=$=++$%2}):C?function(){var n=new MessageChannel;return n.tt.onmessage=e,function(){return n.et.postMessage(0)}}():void 0===y&&"function"==typeof require?function(){try{var n=Function("return this")().rt("vertx");return void 0!==(w=n.it||n.ot)?function(){w(e)}:t()}catch(n){return t()}}():t();var x=Math.random().toString(36).substring(2),_=void 0,P=1,T=2,W={error:null},N=0,R=function(){function n(n,t){this.ut=n,this.ft=new n(o),this.ft[x]||h(this.ft),b(t)?(this.ct=this.length=t.length,this.zn=Array(this.length),0===this.length?s(this.ft,this.zn):(this.length=this.length||0,this.at(t),0===this.ct&&s(this.ft,this.zn))):l(this.ft,Error("Array Methods must be provided an Array"))}return n.prototype.at=function(n){for(var t=0;this.Zn===_&&t<n.length;t++)this.st(n[t],t)},n.prototype.st=function(n,t){var e=this.ut,c=e.resolve;c===i?(c=u(n))===r&&n.Zn!==_?this.lt(n.Zn,t,n.zn):"function"!=typeof c?(this.ct--,this.zn[t]=n):e===L?(f(e=new e(o),n,c),this.vt(e,t)):this.vt(new e(function(t){return t(n)}),t):this.vt(c(n),t)},n.prototype.lt=function(n,t,e){var r=this.ft;r.Zn===_&&(this.ct--,n===T?l(r,e):this.zn[t]=e),0===this.ct&&s(r,this.zn)},n.prototype.vt=function(n,t){var e=this;v(n,void 0,function(n){return e.lt(P,t,n)},function(n){return e.lt(T,t,n)})},n}(),L=function(){function n(t){if(this[x]=N++,this.zn=this.Zn=void 0,this.Vn=[],o!==t){if("function"!=typeof t)throw new TypeError("Must pass a resolver fn as 1st arg");if(!(this instanceof n))throw new TypeError("Failed to construct 'Promise': Use the 'new' operator.");!function(n,t){try{t(function(t){c(n,t)},function(t){l(n,t)})}catch(t){l(n,t)}}(this,t)}}return n.prototype.catch=function(n){return this.then(null,n)},n.prototype.pt=function(n){var t=this.constructor;return this.then(function(e){return t.resolve(n()).then(function(){return e})},function(e){return t.resolve(n()).then(function(){throw e})})},n}();return L.prototype.then=r,L.all=function(n){return new R(this,n).ft},L.race=function(n){var t=this;return b(n)?new t(function(e,r){for(var i=n.length,o=0;o<i;o++)t.resolve(n[o]).then(e,r)}):new t(function(n,t){return t(new TypeError("Must pass array to race"))})},L.resolve=i,L.reject=function(n){var t=new this(o);return l(t,n),t},L.dt=function(n){g=n},L.ht=function(n){M=n},L.yt=M,L.bt=function(){var n=void 0;if("undefined"!=typeof global)n=global;else if("undefined"!=typeof self)n=self;else try{n=Function("return this")()}catch(n){throw Error("polyfill failed")}var t=n.Promise;if(t){var e=null;try{e=Object.prototype.toString.call(t.resolve())}catch(n){}if("[object Promise]"===e&&!t.mt)return}n.Promise=L},L.Promise=L,L.bt(),L}();var t=[];return n.customElements&&(!n.Element||n.Element.prototype.closest&&n.Element.prototype.matches&&n.Element.prototype.remove)||t.push(import("./polyfills/dom.js")),"function"==typeof Object.assign&&Object.entries||t.push(import("./polyfills/object.js")),Array.prototype.find&&Array.prototype.includes||t.push(import("./polyfills/array.js")),String.prototype.startsWith&&String.prototype.endsWith||t.push(import("./polyfills/string.js")),n.fetch||t.push(import("./polyfills/fetch.js")),function e(){try{var n=new URL("b","http://a");return n.pathname="c%20d","http://a/c%20d"===n.href&&n.wt}catch(n){return!1}}||t.push(import("./polyfills/url.js")),Promise.all(t).then(function(t){t.forEach(function(t){t.applyPolyfill(n,n.document)})})}var E="ssrv",C="$",O={},S={enter:13,escape:27,space:32,tab:9,left:37,up:38,right:39,down:40},x=function(n){return null!=n},_=function(n){return n.toLowerCase()},P=function(n){return _(n).split("-").map(function(n){return n.charAt(0).toUpperCase()+n.slice(1)}).join("")},T=function(){},W="http://www.w3.org/1999/xlink",N=!1,R=[],L={forEach:function(n,t){n.forEach(function(n,e,r){return t(s(n),e,r)})},map:function(n,t){return n.map(function(n,e,r){return function i(n){return{vtag:n.vtag,vchildren:n.vchildren,vtext:n.vtext,vattrs:n.vattrs,vkey:n.vkey,vname:n.vname}}(t(s(n),e,r))})}},D="wc-",F={},H=!1;export{j as defineCustomElement,a as h};
"./build/"+n+(t?".sc":"")+".entry.js").then(function(n){return n[e]})}("string"==typeof r?r:r[t],e,i)},t}(t),e)})})}this&&this.qn||(Object.setPrototypeOf||Array);var j=this&&this.In||function(n,t,e,r){return new(e||(e=Promise))(function(i,o){function u(n){try{c(r.Un(n))}catch(n){o(n)}}function f(n){try{c(r.throw(n))}catch(n){o(n)}}function c(n){n.Bn?i(n.value):new e(function(t){t(n.value)}).then(u,f)}c((r=r.apply(n,t||[])).Un())})},$=this&&this.Gn||function(n,t){function e(e){return function(u){return function c(e){if(r)throw new TypeError("Generator is already executing.");for(;f;)try{if(r=1,i&&(o=2&e[0]?i.return:e[0]?i.throw||((o=i.return)&&o.call(i),0):i.Un)&&!(o=o.call(i,e[1])).Bn)return o;switch(i=0,o&&(e=[2&e[0],o.value]),e[0]){case 0:case 1:o=e;break;case 4:return f.K++,{value:e[1],Bn:!1};case 5:f.K++,i=e[1],e=[0];continue;case 7:e=f.Qn.pop(),f.fn.pop();continue;default:if(!(o=(o=f.fn).length>0&&o[o.length-1])&&(6===e[0]||2===e[0])){f=0;continue}if(3===e[0]&&(!o||e[1]>o[0]&&e[1]<o[3])){f.K=e[1];break}if(6===e[0]&&f.K<o[1]){f.K=o[1],o=e;break}if(o&&f.K<o[2]){f.K=o[2],f.Qn.push(e);break}o[2]&&f.Qn.pop(),f.fn.pop();continue}e=t.call(n,f)}catch(n){e=[6,n],i=0}finally{r=o=0}if(5&e[0])throw e[1];return{value:e[0]?e[1]:void 0,Bn:!0}}([e,u])}}var r,i,o,u,f={K:0,cn:function(){if(1&o[0])throw o[1];return o[1]},fn:[],Qn:[]};return u={Un:e(0),throw:e(1),return:e(2)},"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u},A=function(){};function applyPolyfills(n){n.Yn=function(){function t(){var n=setTimeout;return function(){return n(e,1)}}function e(){for(var n=0;n<b;n+=2)(0,O[n])(O[n+1]),O[n]=void 0,O[n+1]=void 0;b=0}function r(n,t){var e=this,r=new this.constructor(o);void 0===r[x]&&h(r);var i=e.Zn;if(i){var u=arguments[i-1];M(function(){return d(i,r,u,e.zn)})}else v(e,r,n,t);return r}function i(n){if(n&&"object"==typeof n&&n.constructor===this)return n;var t=new this(o);return c(t,n),t}function o(){}function u(n){try{return n.then}catch(n){return W.error=n,W}}function f(n,t,e){t.constructor===n.constructor&&e===r&&t.constructor.resolve===i?function(n,t){t.Zn===P?s(n,t.zn):t.Zn===T?l(n,t.zn):v(t,void 0,function(t){return c(n,t)},function(t){return l(n,t)})}(n,t):e===W?(l(n,W.error),W.error=null):void 0===e?s(n,t):"function"==typeof e?function(n,t,e){M(function(n){var r=!1,i=function(n,t,e,r){try{n.call(t,e,r)}catch(n){return n}}(e,t,function(e){r||(r=!0,t!==e?c(n,e):s(n,e))},function(t){r||(r=!0,l(n,t))},n.Jn);!r&&i&&(r=!0,l(n,i))},n)}(n,t,e):s(n,t)}function c(n,t){if(n===t)l(n,new TypeError("cannot resolve promise w/ itself"));else{var e=typeof t;null===t||"object"!==e&&"function"!==e?s(n,t):f(n,t,u(t))}}function a(n){n.Kn&&n.Kn(n.zn),p(n)}function s(n,t){n.Zn===_&&(n.zn=t,n.Zn=P,0!==n.Vn.length&&M(p,n))}function l(n,t){n.Zn===_&&(n.Zn=T,n.zn=t,M(a,n))}function v(n,t,e,r){var i=n.Vn,o=i.length;n.Kn=null,i[o]=t,i[o+P]=e,i[o+T]=r,0===o&&n.Zn&&M(p,n)}function p(n){var t=n.Vn,e=n.Zn;if(0!==t.length){for(var r,i,o=n.zn,u=0;u<t.length;u+=3)r=t[u],i=t[u+e],r?d(e,r,i,o):i(o);n.Vn.length=0}}function d(n,t,e,r){var i="function"==typeof e,o=void 0,u=void 0,f=void 0,a=void 0;if(i){try{o=e(r)}catch(n){W.error=n,o=W}if(o===W?(a=!0,u=o.error,o.error=null):f=!0,t===o)return void l(t,new TypeError("Cannot return same promise"))}else o=r,f=!0;t.Zn===_&&(i&&f?c(t,o):a?l(t,u):n===P?s(t,o):n===T&&l(t,o))}function h(n){n[x]=N++,n.Zn=void 0,n.zn=void 0,n.Vn=[]}var y,m=Array.isArray?Array.isArray:function(n){return"[object Array]"===Object.prototype.toString.call(n)},b=0,w=void 0,g=void 0,M=function(n,t){O[b]=n,O[b+1]=t,2===(b+=2)&&(g?g(e):S())},k=(y=void 0!==n?n:void 0)||{},j=k.Xn||k.nt;k="undefined"==typeof self;var $,A,E,C="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,O=Array(1e3),S=void 0;S=j?($=0,A=new j(e),E=document.createTextNode(""),A.observe(E,{characterData:!0}),function(){E.data=$=++$%2}):C?function(){var n=new MessageChannel;return n.tt.onmessage=e,function(){return n.et.postMessage(0)}}():void 0===y&&"function"==typeof require?function(){try{var n=Function("return this")().rt("vertx");return void 0!==(w=n.it||n.ot)?function(){w(e)}:t()}catch(n){return t()}}():t();var x=Math.random().toString(36).substring(2),_=void 0,P=1,T=2,W={error:null},N=0,R=function(){function n(n,t){this.ut=n,this.ft=new n(o),this.ft[x]||h(this.ft),m(t)?(this.ct=this.length=t.length,this.zn=Array(this.length),0===this.length?s(this.ft,this.zn):(this.length=this.length||0,this.at(t),0===this.ct&&s(this.ft,this.zn))):l(this.ft,Error("Array Methods must be provided an Array"))}return n.prototype.at=function(n){for(var t=0;this.Zn===_&&t<n.length;t++)this.st(n[t],t)},n.prototype.st=function(n,t){var e=this.ut,c=e.resolve;c===i?(c=u(n))===r&&n.Zn!==_?this.lt(n.Zn,t,n.zn):"function"!=typeof c?(this.ct--,this.zn[t]=n):e===L?(f(e=new e(o),n,c),this.vt(e,t)):this.vt(new e(function(t){return t(n)}),t):this.vt(c(n),t)},n.prototype.lt=function(n,t,e){var r=this.ft;r.Zn===_&&(this.ct--,n===T?l(r,e):this.zn[t]=e),0===this.ct&&s(r,this.zn)},n.prototype.vt=function(n,t){var e=this;v(n,void 0,function(n){return e.lt(P,t,n)},function(n){return e.lt(T,t,n)})},n}(),L=function(){function n(t){if(this[x]=N++,this.zn=this.Zn=void 0,this.Vn=[],o!==t){if("function"!=typeof t)throw new TypeError("Must pass a resolver fn as 1st arg");if(!(this instanceof n))throw new TypeError("Failed to construct 'Promise': Use the 'new' operator.");!function(n,t){try{t(function(t){c(n,t)},function(t){l(n,t)})}catch(t){l(n,t)}}(this,t)}}return n.prototype.catch=function(n){return this.then(null,n)},n.prototype.pt=function(n){var t=this.constructor;return this.then(function(e){return t.resolve(n()).then(function(){return e})},function(e){return t.resolve(n()).then(function(){throw e})})},n}();return L.prototype.then=r,L.all=function(n){return new R(this,n).ft},L.race=function(n){var t=this;return m(n)?new t(function(e,r){for(var i=n.length,o=0;o<i;o++)t.resolve(n[o]).then(e,r)}):new t(function(n,t){return t(new TypeError("Must pass array to race"))})},L.resolve=i,L.reject=function(n){var t=new this(o);return l(t,n),t},L.dt=function(n){g=n},L.ht=function(n){M=n},L.yt=M,L.mt=function(){var n=void 0;if("undefined"!=typeof global)n=global;else if("undefined"!=typeof self)n=self;else try{n=Function("return this")()}catch(n){throw Error("polyfill failed")}var t=n.Promise;if(t){var e=null;try{e=Object.prototype.toString.call(t.resolve())}catch(n){}if("[object Promise]"===e&&!t.bt)return}n.Promise=L},L.Promise=L,L.mt(),L}();var t=[];return n.customElements&&(!n.Element||n.Element.prototype.closest&&n.Element.prototype.matches&&n.Element.prototype.remove)||t.push(import("./polyfills/dom.js")),"function"==typeof Object.assign&&Object.entries||t.push(import("./polyfills/object.js")),Array.prototype.find&&Array.prototype.includes||t.push(import("./polyfills/array.js")),String.prototype.startsWith&&String.prototype.endsWith||t.push(import("./polyfills/string.js")),n.fetch||t.push(import("./polyfills/fetch.js")),function e(){try{var n=new URL("b","http://a");return n.pathname="c%20d","http://a/c%20d"===n.href&&n.wt}catch(n){return!1}}||t.push(import("./polyfills/url.js")),Promise.all(t).then(function(t){t.forEach(function(t){t.applyPolyfill(n,n.document)})})}var E="ssrv",C="$",O={},S={enter:13,escape:27,space:32,tab:9,left:37,up:38,right:39,down:40},x=function(n){return null!=n},_=function(n){return n.toLowerCase()},P=function(n){return _(n).split("-").map(function(n){return n.charAt(0).toUpperCase()+n.slice(1)}).join("")},T=function(){},W="http://www.w3.org/1999/xlink",N=!1,R=[],L={forEach:function(n,t){n.forEach(function(n,e,r){return t(s(n),e,r)})},map:function(n,t){return n.map(function(n,e,r){return function i(n){return{vtag:n.vtag,vchildren:n.vchildren,vtext:n.vtext,vattrs:n.vattrs,vkey:n.vkey,vname:n.vname}}(t(s(n),e,r))})}},D="wc-",F={},H=!1;export{k as defineCustomElement,a as h};

@@ -40,6 +40,2 @@ /* tslint:disable */

'dataFn'?: () => Array<BrtData> | Promise<Array<BrtData>>;
/**
* emit bruit-error on internal error or config error ex : BruitIo.addEventListener('onError',error=>...)
*/
'onOnError'?: (event: CustomEvent) => void;
}

@@ -46,0 +42,0 @@ }

import '../../stencil.core';
import { EventEmitter } from '../../stencil.core';
import { BrtError, BrtField, BrtData, BrtConfig } from '@bruit/types';

@@ -26,3 +25,2 @@ import { BruitConfig } from '../../models/bruit-config.class';

*/
onError: EventEmitter;
/**

@@ -29,0 +27,0 @@ * modalOpened boolean manages the modal opening/closing action

{
"name": "@bruit/component",
"version": "0.4.7",
"version": "0.4.8",
"description": "send your feedbacks with bruit.io",

@@ -5,0 +5,0 @@ "private": false,

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc