/*! For license information please see widget.27ee4ac8f469219f5aa6-polyfilled.js.LICENSE.txt */
!function(){var t={575:function(t,e,n){(function(){"use strict";var t;function e(t){var e=0;return function(){return e<t.length?{done:!1,value:t[e++]}:{done:!0}}}var o,r="function"==typeof Object.defineProperties?Object.defineProperty:function(t,e,n){return t==Array.prototype||t==Object.prototype||(t[e]=n.value),t},i=function(t){t=["object"==typeof globalThis&&globalThis,t,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof n.g&&n.g];for(var e=0;e<t.length;++e){var o=t[e];if(o&&o.Math==Math)return o}throw Error("Cannot find global object")}(this);function a(t,e){if(e)t:{var n=i;t=t.split(".");for(var o=0;o<t.length-1;o++){var a=t[o];if(!(a in n))break t;n=n[a]}(e=e(o=n[t=t[t.length-1]]))!=o&&null!=e&&r(n,t,{configurable:!0,writable:!0,value:e})}}function s(t){return(t={next:t})[Symbol.iterator]=function(){return this},t}function l(t){var n="undefined"!=typeof Symbol&&Symbol.iterator&&t[Symbol.iterator];return n?n.call(t):{next:e(t)}}function c(t){if(!(t instanceof Array)){t=l(t);for(var e,n=[];!(e=t.next()).done;)n.push(e.value);t=n}return t}if(a("Symbol",(function(t){function e(t,e){this.g=t,r(this,"description",{configurable:!0,writable:!0,value:e})}if(t)return t;e.prototype.toString=function(){return this.g};var n=0;return function t(o){if(this instanceof t)throw new TypeError("Symbol is not a constructor");return new e("jscomp_symbol_"+(o||"")+"_"+n++,o)}})),a("Symbol.iterator",(function(t){if(t)return t;t=Symbol("Symbol.iterator");for(var n="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),o=0;o<n.length;o++){var a=i[n[o]];"function"==typeof a&&"function"!=typeof a.prototype[t]&&r(a.prototype,t,{configurable:!0,writable:!0,value:function(){return s(e(this))}})}return t})),"function"==typeof Object.setPrototypeOf)o=Object.setPrototypeOf;else{var u;t:{var d={};try{d.__proto__={a:!0},u=d.a;break t}catch(D){}u=!1}o=u?function(t,e){if(t.__proto__=e,t.__proto__!==e)throw new TypeError(t+" is not extensible");return t}:null}var h=o;function f(){this.u=!1,this.h=null,this.Oa=void 0,this.g=1,this.ea=0,this.i=null}function p(t){if(t.u)throw new TypeError("Generator is already running");t.u=!0}function m(t,e){t.i={ab:e,fb:!0},t.g=t.ea}function _(t,e){return t.g=3,{value:e}}function v(t){this.g=new f,this.h=t}function g(t,e,n,o){try{var r=e.call(t.g.h,n);if(!(r instanceof Object))throw new TypeError("Iterator result "+r+" is not an object");if(!r.done)return t.g.u=!1,r;var i=r.value}catch(e){return t.g.h=null,m(t.g,e),y(t)}return t.g.h=null,o.call(t.g,i),y(t)}function y(t){for(;t.g.g;)try{var e=t.h(t.g);if(e)return t.g.u=!1,{value:e.value,done:!1}}catch(e){t.g.Oa=void 0,m(t.g,e)}if(t.g.u=!1,t.g.i){if(e=t.g.i,t.g.i=null,e.fb)throw e.ab;return{value:e.return,done:!0}}return{value:void 0,done:!0}}function b(t){this.next=function(e){return p(t.g),t.g.h?e=g(t,t.g.h.next,e,t.g.O):(t.g.O(e),e=y(t)),e},this.throw=function(e){return p(t.g),t.g.h?e=g(t,t.g.h.throw,e,t.g.O):(m(t.g,e),e=y(t)),e},this.return=function(e){return function(t,e){p(t.g);var n=t.g.h;return n?g(t,"return"in n?n.return:function(t){return{value:t,done:!0}},e,t.g.return):(t.g.return(e),y(t))}(t,e)},this[Symbol.iterator]=function(){return this}}function E(t,e){return e=new b(new v(e)),h&&t.prototype&&h(e,t.prototype),e}f.prototype.O=function(t){this.Oa=t},f.prototype.return=function(t){this.i={return:t},this.g=this.ea},Array.from||(Array.from=function(t){return[].slice.call(t)}),Object.assign||(Object.assign=function(t){for(var e,n=[].slice.call(arguments,1),o=0;o<n.length;o++)if(e=n[o])for(var r=t,i=Object.keys(e),a=0;a<i.length;a++){var s=i[a];r[s]=e[s]}return t});var C=setTimeout;function A(){}function w(t){if(!(this instanceof w))throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this.N=0,this.Ha=!1,this.I=void 0,this.ba=[],k(t,this)}function N(t,e){for(;3===t.N;)t=t.I;0===t.N?t.ba.push(e):(t.Ha=!0,I((function(){var n=1===t.N?e.hb:e.ib;if(null===n)(1===t.N?S:T)(e.promise,t.I);else{try{var o=n(t.I)}catch(t){return void T(e.promise,t)}S(e.promise,o)}})))}function S(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var n=e.then;if(e instanceof w)return t.N=3,t.I=e,void x(t);if("function"==typeof n)return void k(function(t,e){return function(){t.apply(e,arguments)}}(n,e),t)}t.N=1,t.I=e,x(t)}catch(e){T(t,e)}}function T(t,e){t.N=2,t.I=e,x(t)}function x(t){2===t.N&&0===t.ba.length&&I((function(){t.Ha||"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t.I)}));for(var e=0,n=t.ba.length;e<n;e++)N(t,t.ba[e]);t.ba=null}function O(t,e,n){this.hb="function"==typeof t?t:null,this.ib="function"==typeof e?e:null,this.promise=n}function k(t,e){var n=!1;try{t((function(t){n||(n=!0,S(e,t))}),(function(t){n||(n=!0,T(e,t))}))}catch(t){n||(n=!0,T(e,t))}}function B(t){return t&&"object"==typeof t&&t.constructor===w?t:new w((function(e){e(t)}))}w.prototype.catch=function(t){return this.then(null,t)},w.prototype.then=function(t,e){var n=new this.constructor(A);return N(this,new O(t,e,n)),n},w.prototype.finally=function(t){var e=this.constructor;return this.then((function(n){return e.resolve(t()).then((function(){return n}))}),(function(n){return e.resolve(t()).then((function(){return e.reject(n)}))}))};var D,M,R,P,L,j,I="function"==typeof setImmediate&&function(t){setImmediate(t)}||function(t){C(t,0)};if(!window.Promise){window.Promise=w,w.prototype.then=w.prototype.then,w.all=function(t){return new w((function(e,n){function o(t,a){try{if(a&&("object"==typeof a||"function"==typeof a)){var s=a.then;if("function"==typeof s)return void s.call(a,(function(e){o(t,e)}),n)}r[t]=a,0==--i&&e(r)}catch(t){n(t)}}if(!t||void 0===t.length)return n(new TypeError("Promise.all accepts an array"));var r=Array.prototype.slice.call(t);if(0===r.length)return e([]);for(var i=r.length,a=0;a<r.length;a++)o(a,r[a])}))},w.race=function(t){return new w((function(e,n){if(!t||void 0===t.length)return n(new TypeError("Promise.race accepts an array"));for(var o=0,r=t.length;o<r;o++)B(t[o]).then(e,n)}))},w.resolve=B,w.reject=function(t){return new w((function(e,n){n(t)}))};var F=document.createTextNode(""),U=[];new MutationObserver((function(){for(var t=U.length,e=0;e<t;e++)U[e]();U.splice(0,t)})).observe(F,{characterData:!0}),I=function(t){U.push(t),F.textContent=0<F.textContent.length?"":"a"}}!function(t,e){if(!(e in t)){var o=typeof n.g==typeof o?window:n.g,r=0,i=String(Math.random()),a="__symbol@@"+i,s=t.getOwnPropertyNames,l=t.getOwnPropertyDescriptor,c=t.create,u=t.keys,d=t.freeze||t,h=t.defineProperty,f=t.defineProperties,p=l(t,"getOwnPropertyNames"),m=t.prototype,_=m.hasOwnProperty,v=m.propertyIsEnumerable,g=m.toString,y=function(t,e,n){_.call(t,a)||h(t,a,{enumerable:!1,configurable:!1,writable:!1,value:{}}),t[a]["@@"+e]=n},b=function(){},E=function(t){return t!=a&&!_.call(S,t)},C=function(t){return t!=a&&_.call(S,t)},A=function(t){var e=String(t);return C(e)?_.call(this,e)&&!!this[a]&&this[a]["@@"+e]:v.call(this,t)},w=function(e){return h(m,e,{enumerable:!1,configurable:!0,get:b,set:function(t){B(this,e,{enumerable:!1,configurable:!0,writable:!0,value:t}),y(this,e,!0)}}),S[e]=h(t(e),"constructor",T),d(S[e])},N=function t(e){if(this instanceof t)throw new TypeError("Symbol is not a constructor");return w("__symbol:".concat(e||"",i,++r))},S=c(null),T={value:N},x=function(t){return S[t]},O=function(t,e,n){var o=String(e);if(C(o)){if(e=B,n.enumerable){var r=c(n);r.enumerable=!1}else r=n;e(t,o,r),y(t,o,!!n.enumerable)}else h(t,e,n);return t},k=function(t){return s(t).filter(C).map(x)};p.value=O,h(t,"defineProperty",p),p.value=k,h(t,e,p),p.value=function(t){return s(t).filter(E)},h(t,"getOwnPropertyNames",p),p.value=function(t,e){var n=k(e);return n.length?u(e).concat(n).forEach((function(n){A.call(e,n)&&O(t,n,e[n])})):f(t,e),t},h(t,"defineProperties",p),p.value=A,h(m,"propertyIsEnumerable",p),p.value=N,h(o,"Symbol",p),p.value=function(t){return(t="__symbol:".concat("__symbol:",t,i))in m?S[t]:w(t)},h(N,"for",p),p.value=function(t){if(E(t))throw new TypeError(t+" is not a symbol");if(_.call(S,t)&&"__symbol:"===(t=t.slice(10)).slice(0,10)&&(t=t.slice(10))!==i)return 0<(t=t.slice(0,t.length-i.length)).length?t:void 0},h(N,"keyFor",p),p.value=function(t,e){var n=l(t,e);return n&&C(e)&&(n.enumerable=A.call(t,e)),n},h(t,"getOwnPropertyDescriptor",p),p.value=function(t,e){return 1===arguments.length||void 0===e?c(t):function(t,e){var n=c(t);return s(e).forEach((function(t){A.call(e,t)&&O(n,t,e[t])})),n}(t,e)},h(t,"create",p),p.value=function(){var t=g.call(this);return"[object String]"===t&&C(this)?"[object Symbol]":t},h(m,"toString",p);try{if(!0!==c(h({},"__symbol:",{get:function(){return h(this,"__symbol:",{value:!0})["__symbol:"]}}))["__symbol:"])throw"IE11";var B=h}catch(t){B=function(t,e,n){var o=l(m,e);delete m[e],h(t,e,n),h(m,e,o)}}}}(Object,"getOwnPropertySymbols"),D=Object,M=Symbol,P=D.defineProperty,L=D.prototype,j=L.toString,"iterator match replace search split hasInstance isConcatSpreadable unscopables species toPrimitive toStringTag".split(" ").forEach((function(t){t in M||(P(M,t,{value:M(t)}),"toStringTag"===t&&((R=D.getOwnPropertyDescriptor(L,"toString")).value=function(){var t=j.call(this),e=null==this?this:this[M.toStringTag];return null==e?t:"[object "+e+"]"},P(L,"toString",R)))})),function(t,e,n){function o(){return this}e[t]||(e[t]=function(){var e=0,n=this,r={next:function(){var t=n.length<=e;return t?{done:t}:{done:t,value:n[e++]}}};return r[t]=o,r}),n[t]||(n[t]=function(){var e=String.fromCodePoint,n=this,r=0,i=n.length,a={next:function(){var t=i<=r,o=t?"":e(n.codePointAt(r));return r+=o.length,t?{done:t}:{done:t,value:o}}};return a[t]=o,a})}(Symbol.iterator,Array.prototype,String.prototype);var H=Object.prototype.toString;Object.prototype.toString=function(){return void 0===this?"[object Undefined]":null===this?"[object Null]":H.call(this)},Object.keys=function(t){return Object.getOwnPropertyNames(t).filter((function(e){return(e=Object.getOwnPropertyDescriptor(t,e))&&e.enumerable}))},String.prototype[Symbol.iterator]&&String.prototype.codePointAt||(String.prototype[Symbol.iterator]=function t(){var e,n=this;return E(t,(function(t){if(1==t.g&&(e=0),3!=t.g)return e<n.length?t=_(t,n[e]):(t.g=0,t=void 0),t;e++,t.g=2}))}),Set.prototype[Symbol.iterator]||(Set.prototype[Symbol.iterator]=function t(){var e,n,o=this;return E(t,(function(t){if(1==t.g&&(e=[],o.forEach((function(t){e.push(t)})),n=0),3!=t.g)return n<e.length?t=_(t,e[n]):(t.g=0,t=void 0),t;n++,t.g=2}))}),Map.prototype[Symbol.iterator]||(Map.prototype[Symbol.iterator]=function t(){var e,n,o=this;return E(t,(function(t){if(1==t.g&&(e=[],o.forEach((function(t,n){e.push([n,t])})),n=0),3!=t.g)return n<e.length?t=_(t,e[n]):(t.g=0,t=void 0),t;n++,t.g=2}))});var W=document.createEvent("Event");if(W.initEvent("foo",!0,!0),W.preventDefault(),!W.defaultPrevented){var V=Event.prototype.preventDefault;Event.prototype.preventDefault=function(){this.cancelable&&(V.call(this),Object.defineProperty(this,"defaultPrevented",{get:function(){return!0},configurable:!0}))}}var q=/Trident/.test(navigator.userAgent);if(!window.Event||q&&"function"!=typeof window.Event){var z=window.Event;if(window.Event=function(t,e){e=e||{};var n=document.createEvent("Event");return n.initEvent(t,!!e.bubbles,!!e.cancelable),n},z){for(var G in z)window.Event[G]=z[G];window.Event.prototype=z.prototype}}if((!window.CustomEvent||q&&"function"!=typeof window.CustomEvent)&&(window.CustomEvent=function(t,e){e=e||{};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,!!e.bubbles,!!e.cancelable,e.detail),n},window.CustomEvent.prototype=window.Event.prototype),!window.MouseEvent||q&&"function"!=typeof window.MouseEvent){var $=window.MouseEvent;if(window.MouseEvent=function(t,e){e=e||{};var n=document.createEvent("MouseEvent");return n.initMouseEvent(t,!!e.bubbles,!!e.cancelable,e.view||window,e.detail,e.screenX,e.screenY,e.clientX,e.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,e.button,e.relatedTarget),n},$)for(var X in $)window.MouseEvent[X]=$[X];window.MouseEvent.prototype=$.prototype}var K,Y=function(){function t(){r++}var e=!1,n=!1,o={get capture(){return e=!0},get once(){return n=!0}},r=0,i=document.createElement("div");i.addEventListener("click",t,o);var a=e&&n;return a&&(i.dispatchEvent(new Event("click")),i.dispatchEvent(new Event("click")),a=1==r),i.removeEventListener("click",t,o),a}(),J=null!==(K=window.EventTarget)&&void 0!==K?K:window.Node;if(!Y&&"addEventListener"in J.prototype){var Z=function(t){if(!t||"object"!=typeof t&&"function"!=typeof t){var e=!!t;t=!1}else e=!!t.capture,t=!!t.once;return{capture:e,once:t}},Q=J.prototype.addEventListener,tt=J.prototype.removeEventListener,et=new WeakMap,nt=new WeakMap,ot=function(t,e,n){var o=n?et:nt;return void 0===(n=o.get(t))&&o.set(t,n=new Map),void 0===(t=n.get(e))&&n.set(e,t=new WeakMap),t};J.prototype.addEventListener=function(t,e,n){var o=this;if(null!=e){var r=(n=Z(n)).capture;n=n.once;var i=ot(this,t,r);if(!i.has(e)){var a=n?function(n){return i.delete(e),tt.call(o,t,a,r),"function"==typeof e?e.call(o,n):"function"==typeof(null==e?void 0:e.handleEvent)?e.handleEvent(n):void 0}:null;i.set(e,a),Q.call(this,t,null!=a?a:e,r)}}},J.prototype.removeEventListener=function(t,e,n){if(null!=e){n=Z(n).capture;var o=ot(this,t,n),r=o.get(e);void 0!==r&&(o.delete(e),tt.call(this,t,null!=r?r:e,n))}}}Object.getOwnPropertyDescriptor(Node.prototype,"baseURI")||Object.defineProperty(Node.prototype,"baseURI",{get:function(){var t=(this.ownerDocument||this).querySelector("base[href]");return t&&t.href||window.location.href},configurable:!0,enumerable:!0});var rt,it,at=Element.prototype,st=null!==(rt=Object.getOwnPropertyDescriptor(at,"attributes"))&&void 0!==rt?rt:Object.getOwnPropertyDescriptor(Node.prototype,"attributes"),lt=null!==(it=null==st?void 0:st.get)&&void 0!==it?it:function(){return this.attributes},ct=Array.prototype.map;at.hasOwnProperty("getAttributeNames")||(at.getAttributeNames=function(){return ct.call(lt.call(this),(function(t){return t.name}))});var ut,dt=Element.prototype;dt.hasOwnProperty("matches")||(dt.matches=null!==(ut=dt.webkitMatchesSelector)&&void 0!==ut?ut:dt.msMatchesSelector);var ht=Node.prototype.appendChild;function ft(t){(t=t.prototype).hasOwnProperty("append")||Object.defineProperty(t,"append",{configurable:!0,enumerable:!0,writable:!0,value:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];for(n=(e=l(e)).next();!n.done;n=e.next())n=n.value,ht.call(this,"string"==typeof n?document.createTextNode(n):n)}})}ft(Document),ft(DocumentFragment),ft(Element);var pt,mt,_t=Node.prototype.insertBefore,vt=null!==(mt=null===(pt=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild"))||void 0===pt?void 0:pt.get)&&void 0!==mt?mt:function(){return this.firstChild};function gt(t){(t=t.prototype).hasOwnProperty("prepend")||Object.defineProperty(t,"prepend",{configurable:!0,enumerable:!0,writable:!0,value:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];n=vt.call(this);for(var o=(e=l(e)).next();!o.done;o=e.next())o=o.value,_t.call(this,"string"==typeof o?document.createTextNode(o):o,n)}})}gt(Document),gt(DocumentFragment),gt(Element);var yt,bt,Et=Node.prototype.appendChild,Ct=Node.prototype.removeChild,At=null!==(bt=null===(yt=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild"))||void 0===yt?void 0:yt.get)&&void 0!==bt?bt:function(){return this.firstChild};function wt(t){(t=t.prototype).hasOwnProperty("replaceChildren")||Object.defineProperty(t,"replaceChildren",{configurable:!0,enumerable:!0,writable:!0,value:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];for(;null!==(n=At.call(this));)Ct.call(this,n);for(n=(e=l(e)).next();!n.done;n=e.next())n=n.value,Et.call(this,"string"==typeof n?document.createTextNode(n):n)}})}wt(Document),wt(DocumentFragment),wt(Element);var Nt,St,Tt,xt,Ot=Node.prototype.insertBefore,kt=null!==(St=null===(Nt=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode"))||void 0===Nt?void 0:Nt.get)&&void 0!==St?St:function(){return this.parentNode},Bt=null!==(xt=null===(Tt=Object.getOwnPropertyDescriptor(Node.prototype,"nextSibling"))||void 0===Tt?void 0:Tt.get)&&void 0!==xt?xt:function(){return this.nextSibling};function Dt(t){(t=t.prototype).hasOwnProperty("after")||Object.defineProperty(t,"after",{configurable:!0,enumerable:!0,writable:!0,value:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];if(null!==(n=kt.call(this)))for(var o=Bt.call(this),r=(e=l(e)).next();!r.done;r=e.next())r=r.value,Ot.call(n,"string"==typeof r?document.createTextNode(r):r,o)}})}Dt(CharacterData),Dt(Element);var Mt,Rt,Pt=Node.prototype.insertBefore,Lt=null!==(Rt=null===(Mt=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode"))||void 0===Mt?void 0:Mt.get)&&void 0!==Rt?Rt:function(){return this.parentNode};function jt(t){(t=t.prototype).hasOwnProperty("before")||Object.defineProperty(t,"before",{configurable:!0,enumerable:!0,writable:!0,value:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];if(null!==(n=Lt.call(this)))for(var o=(e=l(e)).next();!o.done;o=e.next())o=o.value,Pt.call(n,"string"==typeof o?document.createTextNode(o):o,this)}})}jt(CharacterData),jt(Element);var It,Ft,Ut=Node.prototype.removeChild,Ht=null!==(Ft=null===(It=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode"))||void 0===It?void 0:It.get)&&void 0!==Ft?Ft:function(){return this.parentNode};function Wt(t){(t=t.prototype).hasOwnProperty("remove")||Object.defineProperty(t,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){var t=Ht.call(this);t&&Ut.call(t,this)}})}Wt(CharacterData),Wt(Element);var Vt,qt,zt=Node.prototype.insertBefore,Gt=Node.prototype.removeChild,$t=null!==(qt=null===(Vt=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode"))||void 0===Vt?void 0:Vt.get)&&void 0!==qt?qt:function(){return this.parentNode};function Xt(t){(t=t.prototype).hasOwnProperty("replaceWith")||Object.defineProperty(t,"replaceWith",{configurable:!0,enumerable:!0,writable:!0,value:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];if(null!==(n=$t.call(this))){for(var o=(e=l(e)).next();!o.done;o=e.next())o=o.value,zt.call(n,"string"==typeof o?document.createTextNode(o):o,this);Gt.call(n,this)}}})}Xt(CharacterData),Xt(Element);var Kt=window.Element.prototype,Yt=window.HTMLElement.prototype,Jt=window.SVGElement.prototype;!Yt.hasOwnProperty("classList")||Kt.hasOwnProperty("classList")||Jt.hasOwnProperty("classList")||Object.defineProperty(Kt,"classList",Object.getOwnPropertyDescriptor(Yt,"classList"));var Zt=Element.prototype,Qt=Element.prototype.hasAttribute,te=Element.prototype.setAttribute,ee=Element.prototype.removeAttribute;Zt.hasOwnProperty("toggleAttribute")||(Zt.toggleAttribute=function(t,e){return void 0===e?Qt.call(this,t)?(ee.call(this,t),!1):(te.call(this,t,""),!0):e?(Qt.call(this,t)||te.call(this,t,""),!0):(ee.call(this,t),!1)});var ne=document.createElement("style");ne.textContent="body {transition: opacity ease-in 0.2s; } \nbody[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } \n";var oe=document.querySelector("head");oe.insertBefore(ne,oe.firstChild);var re=window;re.WebComponents=re.WebComponents||{flags:{}};var ie=document.querySelector('script[src*="webcomponents-bundle"]'),ae=/wc-(.+)/,se={};if(!se.noOpts){if(location.search.slice(1).split("&").forEach((function(t){var e;(t=t.split("="))[0]&&(e=t[0].match(ae))&&(se[e[1]]=t[1]||!0)})),ie)for(var le=0,ce=void 0;ce=ie.attributes[le];le++)"src"!==ce.name&&(se[ce.name]=ce.value||!0);var ue={};se.log&&se.log.split&&se.log.split(",").forEach((function(t){ue[t]=!0})),se.log=ue}re.WebComponents.flags=se;var de=se.shadydom;if(de){re.ShadyDOM=re.ShadyDOM||{},re.ShadyDOM.force=de;var he=se.noPatch;re.ShadyDOM.noPatch="true"===he||he}var fe=se.register||se.ce;function pe(){}function me(t){return t.__shady||(t.__shady=new pe),t.__shady}function _e(t){return t&&t.__shady}fe&&window.customElements&&(re.customElements.forcePolyfill=fe),function(){function t(){}function e(t,e){if(!t.childNodes.length)return[];switch(t.nodeType){case Node.DOCUMENT_NODE:return m.call(t,e);case Node.DOCUMENT_FRAGMENT_NODE:return _.call(t,e);default:return p.call(t,e)}}var n="undefined"==typeof HTMLTemplateElement,o=!(document.createDocumentFragment().cloneNode()instanceof DocumentFragment),r=!1;/Trident/.test(navigator.userAgent)&&function(){function t(t,e){if(t instanceof DocumentFragment)for(var o;o=t.firstChild;)n.call(this,o,e);else n.call(this,t,e);return t}r=!0;var e=Node.prototype.cloneNode;Node.prototype.cloneNode=function(t){return t=e.call(this,t),this instanceof DocumentFragment&&(t.__proto__=DocumentFragment.prototype),t},DocumentFragment.prototype.querySelectorAll=HTMLElement.prototype.querySelectorAll,DocumentFragment.prototype.querySelector=HTMLElement.prototype.querySelector,Object.defineProperties(DocumentFragment.prototype,{nodeType:{get:function(){return Node.DOCUMENT_FRAGMENT_NODE},configurable:!0},localName:{get:function(){},configurable:!0},nodeName:{get:function(){return"#document-fragment"},configurable:!0}});var n=Node.prototype.insertBefore;Node.prototype.insertBefore=t;var o=Node.prototype.appendChild;Node.prototype.appendChild=function(e){return e instanceof DocumentFragment?t.call(this,e,null):o.call(this,e),e};var i=Node.prototype.removeChild,a=Node.prototype.replaceChild;Node.prototype.replaceChild=function(e,n){return e instanceof DocumentFragment?(t.call(this,e,n),i.call(this,n)):a.call(this,e,n),n},Document.prototype.createDocumentFragment=function(){var t=this.createElement("df");return t.__proto__=DocumentFragment.prototype,t};var s=Document.prototype.importNode;Document.prototype.importNode=function(t,e){return e=s.call(this,t,e||!1),t instanceof DocumentFragment&&(e.__proto__=DocumentFragment.prototype),e}}();var i=Node.prototype.cloneNode,a=Document.prototype.createElement,s=Document.prototype.importNode,l=Node.prototype.removeChild,c=Node.prototype.appendChild,u=Node.prototype.replaceChild,d=DOMParser.prototype.parseFromString,h=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML")||{get:function(){return this.innerHTML},set:function(t){this.innerHTML=t}},f=Object.getOwnPropertyDescriptor(window.Node.prototype,"childNodes")||{get:function(){return this.childNodes}},p=Element.prototype.querySelectorAll,m=Document.prototype.querySelectorAll,_=DocumentFragment.prototype.querySelectorAll,v=function(){if(!n){var t=document.createElement("template"),e=document.createElement("template");return e.content.appendChild(document.createElement("div")),t.content.appendChild(e),0===(t=t.cloneNode(!0)).content.childNodes.length||0===t.content.firstChild.content.childNodes.length||o}}();if(n){var g=document.implementation.createHTMLDocument("template"),y=!0,b=document.createElement("style");b.textContent="template{display:none;}";var E=document.head;E.insertBefore(b,E.firstElementChild),t.prototype=Object.create(HTMLElement.prototype);var C=!document.createElement("div").hasOwnProperty("innerHTML");t.Z=function(e){if(!e.content&&e.namespaceURI===document.documentElement.namespaceURI){e.content=g.createDocumentFragment();for(var n;n=e.firstChild;)c.call(e.content,n);if(C)e.__proto__=t.prototype;else if(e.cloneNode=function(e){return t.va(this,e)},y)try{w(e),N(e)}catch(t){y=!1}t.bootstrap(e.content)}};var A={option:["select"],thead:["table"],col:["colgroup","table"],tr:["tbody","table"],th:["tr","tbody","table"],td:["tr","tbody","table"]},w=function(e){Object.defineProperty(e,"innerHTML",{get:function(){return B(this)},set:function(e){var n=A[(/<([a-z][^/\0>\x20\t\r\n\f]+)/i.exec(e)||["",""])[1].toLowerCase()];if(n)for(var o=0;o<n.length;o++)e="<"+n[o]+">"+e+"</"+n[o]+">";for(g.body.innerHTML=e,t.bootstrap(g);this.content.firstChild;)l.call(this.content,this.content.firstChild);if(e=g.body,n)for(o=0;o<n.length;o++)e=e.lastChild;for(;e.firstChild;)c.call(this.content,e.firstChild)},configurable:!0})},N=function(t){Object.defineProperty(t,"outerHTML",{get:function(){return"<template>"+this.innerHTML+"</template>"},set:function(t){if(!this.parentNode)throw Error("Failed to set the 'outerHTML' property on 'Element': This element has no parent node.");for(g.body.innerHTML=t,t=this.ownerDocument.createDocumentFragment();g.body.firstChild;)c.call(t,g.body.firstChild);u.call(this.parentNode,t,this)},configurable:!0})};w(t.prototype),N(t.prototype),t.bootstrap=function(n){for(var o,r=0,i=(n=e(n,"template")).length;r<i&&(o=n[r]);r++)t.Z(o)},document.addEventListener("DOMContentLoaded",(function(){t.bootstrap(document)})),Document.prototype.createElement=function(){var e=a.apply(this,arguments);return"template"===e.localName&&t.Z(e),e},DOMParser.prototype.parseFromString=function(){var e=d.apply(this,arguments);return t.bootstrap(e),e},Object.defineProperty(HTMLElement.prototype,"innerHTML",{get:function(){return B(this)},set:function(e){h.set.call(this,e),t.bootstrap(this)},configurable:!0,enumerable:!0});var S=/[&\u00A0"]/g,T=/[&\u00A0<>]/g,x=function(t){switch(t){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case" ":return"&nbsp;"}},O=(b=function(t){for(var e={},n=0;n<t.length;n++)e[t[n]]=!0;return e})("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),k=b("style script xmp iframe noembed noframes plaintext noscript".split(" ")),B=function(t,e){"template"===t.localName&&(t=t.content);for(var n,o="",r=e?e(t):f.get.call(t),i=0,a=r.length;i<a&&(n=r[i]);i++){t:{var s=n,l=t,c=e;switch(s.nodeType){case Node.ELEMENT_NODE:for(var u=s.localName,d="<"+u,h=s.attributes,p=0;l=h[p];p++)d+=" "+l.name+'="'+l.value.replace(S,x)+'"';d+=">",s=O[u]?d:d+B(s,c)+"</"+u+">";break t;case Node.TEXT_NODE:s=s.data,s=l&&k[l.localName]?s:s.replace(T,x);break t;case Node.COMMENT_NODE:s="\x3c!--"+s.data+"--\x3e";break t;default:throw window.console.error(s),Error("not implemented")}}o+=s}return o}}if(n||v){t.va=function(t,e){var n=i.call(t,!1);return this.Z&&this.Z(n),e&&(c.call(n.content,i.call(t.content,!0)),D(n.content,t.content)),n};var D=function(n,o){if(o.querySelectorAll&&0!==(o=e(o,"template")).length)for(var r,i,a=0,s=(n=e(n,"template")).length;a<s;a++)i=o[a],r=n[a],t&&t.Z&&t.Z(i),u.call(r.parentNode,M.call(i,!0),r)},M=Node.prototype.cloneNode=function(e){if(!r&&o&&this instanceof DocumentFragment){if(!e)return this.ownerDocument.createDocumentFragment();var n=R.call(this.ownerDocument,this,!0)}else n=this.nodeType===Node.ELEMENT_NODE&&"template"===this.localName&&this.namespaceURI==document.documentElement.namespaceURI?t.va(this,e):i.call(this,e);return e&&D(n,this),n},R=Document.prototype.importNode=function(n,o){if(o=o||!1,"template"===n.localName)return t.va(n,o);var r=s.call(this,n,o);if(o){D(r,n),n=e(r,'script:not([type]),script[type="application/javascript"],script[type="text/javascript"]');for(var i,l=0;l<n.length;l++){i=n[l],(o=a.call(document,"script")).textContent=i.textContent;for(var c,d=i.attributes,h=0;h<d.length;h++)c=d[h],o.setAttribute(c.name,c.value);u.call(i.parentNode,o,i)}}return r}}n&&(window.HTMLTemplateElement=t)}(),pe.prototype.toJSON=function(){return{}};var ve=window.ShadyDOM||{};ve.cb=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var ge,ye=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");ve.D=!!(ye&&ye.configurable&&ye.get),ve.Ba=ve.force||!ve.cb,ve.J=ve.noPatch||!1,ve.ha=ve.preferPerformance,ve.Da="on-demand"===ve.J;var be=ve.querySelectorImplementation;function Ee(){return Document.prototype.msElementsFromPoint?"msElementsFromPoint":"elementsFromPoint"}function Ce(t){return(t=_e(t))&&void 0!==t.firstChild}function Ae(t){return t instanceof ShadowRoot}function we(t){return(t=(t=_e(t))&&t.root)&&yr(t)}ge=-1<["native","selectorEngine"].indexOf(be)?be:void 0,ve.wb=ge,ve.Ra=navigator.userAgent.match("Trident");var Ne=Element.prototype,Se=Ne.matches||Ne.matchesSelector||Ne.mozMatchesSelector||Ne.msMatchesSelector||Ne.oMatchesSelector||Ne.webkitMatchesSelector,Te=document.createTextNode(""),xe=0,Oe=[];function ke(t){Oe.push(t),Te.textContent=xe++}new MutationObserver((function(){for(;Oe.length;)try{Oe.shift()()}catch(t){throw Te.textContent=xe++,t}})).observe(Te,{characterData:!0});var Be=document.contains?function(t,e){return t.__shady_native_contains(e)}:function(t,e){return t===e||t.documentElement&&t.documentElement.__shady_native_contains(e)};function De(t,e){for(;e;){if(e==t)return!0;e=e.__shady_parentNode}return!1}function Me(t){for(var e=t.length-1;0<=e;e--){var n=t[e],o=n.getAttribute("id")||n.getAttribute("name");o&&"length"!==o&&isNaN(o)&&(t[o]=n)}return t.item=function(e){return t[e]},t.namedItem=function(e){if("length"!==e&&isNaN(e)&&t[e])return t[e];for(var n=l(t),o=n.next();!o.done;o=n.next())if(((o=o.value).getAttribute("id")||o.getAttribute("name"))==e)return o;return null},t}function Re(t){var e=[];for(t=t.__shady_native_firstChild;t;t=t.__shady_native_nextSibling)e.push(t);return e}function Pe(t){var e=[];for(t=t.__shady_firstChild;t;t=t.__shady_nextSibling)e.push(t);return e}function Le(t,e,n){if(n.configurable=!0,n.value)t[e]=n.value;else try{Object.defineProperty(t,e,n)}catch(t){}}function je(t,e,n,o){for(var r in n=void 0===n?"":n,e)o&&0<=o.indexOf(r)||Le(t,n+r,e[r])}function Ie(t,e){for(var n in e)n in t&&Le(t,n,e[n])}function Fe(t){var e={};return Object.getOwnPropertyNames(t).forEach((function(n){e[n]=Object.getOwnPropertyDescriptor(t,n)})),e}function Ue(t,e){for(var n,o=Object.getOwnPropertyNames(e),r=0;r<o.length;r++)t[n=o[r]]=e[n]}function He(t){return t instanceof Node?t:document.createTextNode(""+t)}function We(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];if(1===e.length)return He(e[0]);n=document.createDocumentFragment();for(var o=(e=l(e)).next();!o.done;o=e.next())n.appendChild(He(o.value));return n}function Ve(t){var e;for(e=void 0===e?1:e;0<e;e--)t=t.reduce((function(t,e){return Array.isArray(e)?t.push.apply(t,c(e)):t.push(e),t}),[]);return t}var qe,ze=[];function Ge(t){qe||(qe=!0,ke($e)),ze.push(t)}function $e(){qe=!1;for(var t=!!ze.length;ze.length;)ze.shift()();return t}function Xe(){this.g=!1,this.addedNodes=[],this.removedNodes=[],this.qa=new Set}$e.list=ze,Xe.prototype.flush=function(){if(this.g){this.g=!1;var t=this.takeRecords();t.length&&this.qa.forEach((function(e){e(t)}))}},Xe.prototype.takeRecords=function(){if(this.addedNodes.length||this.removedNodes.length){var t=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];return this.addedNodes=[],this.removedNodes=[],t}return[]};var Ke=/[&\u00A0"]/g,Ye=/[&\u00A0<>]/g;function Je(t){switch(t){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case" ":return"&nbsp;"}}function Ze(t){for(var e={},n=0;n<t.length;n++)e[t[n]]=!0;return e}var Qe=Ze("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),tn=Ze("style script xmp iframe noembed noframes plaintext noscript".split(" "));function en(t,e){"template"===t.localName&&(t=t.content);for(var n="",o=e?e(t):t.childNodes,r=0,i=o.length,a=void 0;r<i&&(a=o[r]);r++){t:{var s=a,l=t,c=e;switch(s.nodeType){case Node.ELEMENT_NODE:for(var u,d="<"+(l=s.localName),h=s.attributes,f=0;u=h[f];f++)d+=" "+u.name+'="'+u.value.replace(Ke,Je)+'"';d+=">",s=Qe[l]?d:d+en(s,c)+"</"+l+">";break t;case Node.TEXT_NODE:s=s.data,s=l&&tn[l.localName]?s:s.replace(Ye,Je);break t;case Node.COMMENT_NODE:s="\x3c!--"+s.data+"--\x3e";break t;default:throw window.console.error(s),Error("not implemented")}}n+=s}return n}var nn=ve.D,on={querySelector:function(t){return this.__shady_native_querySelector(t)},querySelectorAll:function(t){return this.__shady_native_querySelectorAll(t)}},rn={};function an(t){rn[t]=function(e){return e["__shady_native_"+t]}}function sn(t,e){for(var n in je(t,e,"__shady_native_"),e)an(n)}function ln(t,e){e=void 0===e?[]:e;for(var n=0;n<e.length;n++){var o=e[n],r=Object.getOwnPropertyDescriptor(t,o);r&&(Object.defineProperty(t,"__shady_native_"+o,r),r.value?on[o]||(on[o]=r.value):an(o))}}var cn=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),un=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),dn=document.implementation.createHTMLDocument("inert");function hn(t){for(var e;e=t.__shady_native_firstChild;)t.__shady_native_removeChild(e)}var fn=["firstElementChild","lastElementChild","children","childElementCount"],pn=["querySelector","querySelectorAll","append","prepend","replaceChildren"],mn=Fe({get childNodes(){return this.__shady_childNodes},get firstChild(){return this.__shady_firstChild},get lastChild(){return this.__shady_lastChild},get childElementCount(){return this.__shady_childElementCount},get children(){return this.__shady_children},get firstElementChild(){return this.__shady_firstElementChild},get lastElementChild(){return this.__shady_lastElementChild},get shadowRoot(){return this.__shady_shadowRoot}}),_n=Fe({get textContent(){return this.__shady_textContent},set textContent(t){this.__shady_textContent=t},get innerHTML(){return this.__shady_innerHTML},set innerHTML(t){this.__shady_innerHTML=t}}),vn=Fe({get parentElement(){return this.__shady_parentElement},get parentNode(){return this.__shady_parentNode},get nextSibling(){return this.__shady_nextSibling},get previousSibling(){return this.__shady_previousSibling},get nextElementSibling(){return this.__shady_nextElementSibling},get previousElementSibling(){return this.__shady_previousElementSibling},get className(){return this.__shady_className},set className(t){this.__shady_className=t}});function gn(t){for(var e in t){var n=t[e];n&&(n.enumerable=!1)}}gn(mn),gn(_n),gn(vn);var yn=ve.D||!0===ve.J,bn=yn?function(){}:function(t){var e=me(t);e.Ta||(e.Ta=!0,Ie(t,vn))},En=yn?function(){}:function(t){var e=me(t);e.Sa||(e.Sa=!0,Ie(t,mn),window.customElements&&window.customElements.polyfillWrapFlushCallback&&!ve.J||Ie(t,_n))},Cn="__eventWrappers"+Date.now(),An=function(){var t=Object.getOwnPropertyDescriptor(Event.prototype,"composed");return t?function(e){return t.get.call(e)}:null}(),wn=function(){function t(){}var e=!1,n={get capture(){return e=!0,!1}};return window.addEventListener("test",t,n),window.removeEventListener("test",t,n),e}();function Nn(t){if(null===t||"object"!=typeof t&&"function"!=typeof t)var e=!!t,n=!1;else{e=!!t.capture,n=!!t.once;var o=t.U}return{Pa:o,capture:e,once:n,Na:wn?t:e}}var Sn={blur:!0,focus:!0,focusin:!0,focusout:!0,click:!0,dblclick:!0,mousedown:!0,mouseenter:!0,mouseleave:!0,mousemove:!0,mouseout:!0,mouseover:!0,mouseup:!0,wheel:!0,beforeinput:!0,input:!0,keydown:!0,keyup:!0,compositionstart:!0,compositionupdate:!0,compositionend:!0,touchstart:!0,touchend:!0,touchmove:!0,touchcancel:!0,pointerover:!0,pointerenter:!0,pointerdown:!0,pointermove:!0,pointerup:!0,pointercancel:!0,pointerout:!0,pointerleave:!0,gotpointercapture:!0,lostpointercapture:!0,dragstart:!0,drag:!0,dragenter:!0,dragleave:!0,dragover:!0,drop:!0,dragend:!0,DOMActivate:!0,DOMFocusIn:!0,DOMFocusOut:!0,keypress:!0},Tn={DOMAttrModified:!0,DOMAttributeNameChanged:!0,DOMCharacterDataModified:!0,DOMElementNameChanged:!0,DOMNodeInserted:!0,DOMNodeInsertedIntoDocument:!0,DOMNodeRemoved:!0,DOMNodeRemovedFromDocument:!0,DOMSubtreeModified:!0};function xn(t){return t instanceof Node?t.__shady_getRootNode():t}function On(t,e){var n=[],o=t;for(t=xn(t);o;)n.push(o),o=o.__shady_assignedSlot?o.__shady_assignedSlot:o.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&o.host&&(e||o!==t)?o.host:o.__shady_parentNode;return n[n.length-1]===document&&n.push(window),n}function kn(t,e){if(!Ae)return t;t=On(t,!0);for(var n,o,r=0,i=void 0,a=void 0;r<e.length;r++)if((o=xn(n=e[r]))!==i&&(a=t.indexOf(o),i=o),!Ae(o)||-1<a)return n}var Bn={get composed(){return void 0===this.__composed&&(An?this.__composed="focusin"===this.type||"focusout"===this.type||An(this):!1!==this.isTrusted&&(this.__composed=Sn[this.type])),this.__composed||!1},composedPath:function(){return this.__composedPath||(this.__composedPath=On(this.__target,this.composed)),this.__composedPath},get target(){return kn(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){return this.__relatedTarget?(this.__relatedTargetComposedPath||(this.__relatedTargetComposedPath=On(this.__relatedTarget,!0)),kn(this.currentTarget||this.__previousCurrentTarget,this.__relatedTargetComposedPath)):null},stopPropagation:function(){Event.prototype.stopPropagation.call(this),this.ua=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this),this.ua=this.__immediatePropagationStopped=!0}},Dn=ve.D&&Object.getOwnPropertyDescriptor(Event.prototype,"eventPhase");function Mn(t){function e(e,n){return(e=new t(e,n)).__composed=n&&!!n.composed,e}return e.__proto__=t,e.prototype=t.prototype,e}Dn&&(Object.defineProperty(Bn,"eventPhase",{get:function(){return this.currentTarget===this.target?Event.AT_TARGET:this.__shady_native_eventPhase},enumerable:!0,configurable:!0}),Object.defineProperty(Bn,"__shady_native_eventPhase",Dn));var Rn={focus:!0,blur:!0};function Pn(t){return t.__target!==t.target||t.__relatedTarget!==t.relatedTarget}function Ln(t,e,n){if(n=e.__handlers&&e.__handlers[t.type]&&e.__handlers[t.type][n])for(var o,r=0;(o=n[r])&&(!Pn(t)||t.target!==t.relatedTarget)&&(o.call(e,t),!t.__immediatePropagationStopped);r++);}var jn=new Event("e").hasOwnProperty("currentTarget");function In(t){var e=(t=jn?Object.create(t):t).composedPath(),n=e.map((function(t){return kn(t,e)})),o=t.bubbles,r=Object.getOwnPropertyDescriptor(t,"currentTarget");Object.defineProperty(t,"currentTarget",{configurable:!0,enumerable:!0,get:function(){return l}});var i=Event.CAPTURING_PHASE,a=Object.getOwnPropertyDescriptor(t,"eventPhase");Object.defineProperty(t,"eventPhase",{configurable:!0,enumerable:!0,get:function(){return i}});try{for(var s=e.length-1;0<=s;s--){var l=e[s];if(i=l===n[s]?Event.AT_TARGET:Event.CAPTURING_PHASE,Ln(t,l,"capture"),t.ua)return}for(s=0;s<e.length;s++){var c=(l=e[s])===n[s];if((c||o)&&(i=c?Event.AT_TARGET:Event.BUBBLING_PHASE,Ln(t,l,"bubble"),t.ua))break}}finally{jn||(r?Object.defineProperty(t,"currentTarget",r):delete t.currentTarget,a?Object.defineProperty(t,"eventPhase",a):delete t.eventPhase)}}function Fn(t,e,n,o){for(var r=0;r<t.length;r++){var i=t[r],a=i.type,s=i.capture;if(e===i.node&&n===a&&o===s)return r}return-1}function Un(t){return $e(),!ve.ha&&this instanceof Node&&!Be(document,this)?(t.__target||qn(t,this),In(t)):this.__shady_native_dispatchEvent(t)}function Hn(t,e,n){var o=this,r=Nn(n),i=r.capture,a=r.once,s=r.Pa;if(r=r.Na,e){var l=typeof e;if(("function"===l||"object"===l)&&("object"!==l||e.handleEvent&&"function"==typeof e.handleEvent)){if(Tn[t])return this.__shady_native_addEventListener(t,e,r);var c=s||this;if(s=e[Cn]){if(-1<Fn(s,c,t,i))return}else e[Cn]=[];s=function(r){if(a&&o.__shady_removeEventListener(t,e,n),r.__target||qn(r),c!==o){var s=Object.getOwnPropertyDescriptor(r,"currentTarget");Object.defineProperty(r,"currentTarget",{get:function(){return c},configurable:!0});var u=Object.getOwnPropertyDescriptor(r,"eventPhase");Object.defineProperty(r,"eventPhase",{configurable:!0,enumerable:!0,get:function(){return i?Event.CAPTURING_PHASE:Event.BUBBLING_PHASE}})}if(r.__previousCurrentTarget=r.currentTarget,(!Ae(c)&&"slot"!==c.localName||-1!=r.composedPath().indexOf(c))&&(r.composed||-1<r.composedPath().indexOf(c)))if(Pn(r)&&r.target===r.relatedTarget)r.eventPhase===Event.BUBBLING_PHASE&&r.stopImmediatePropagation();else if(r.eventPhase===Event.CAPTURING_PHASE||r.bubbles||r.target===c||c instanceof Window){var d="function"===l?e.call(c,r):e.handleEvent&&e.handleEvent(r);return c!==o&&(s?(Object.defineProperty(r,"currentTarget",s),s=null):delete r.currentTarget,u?(Object.defineProperty(r,"eventPhase",u),u=null):delete r.eventPhase),d}},e[Cn].push({node:c,type:t,capture:i,ub:s}),this.__handlers=this.__handlers||{},this.__handlers[t]=this.__handlers[t]||{capture:[],bubble:[]},this.__handlers[t][i?"capture":"bubble"].push(s),Rn[t]||this.__shady_native_addEventListener(t,s,r)}}}function Wn(t,e,n){if(e){var o=Nn(n);n=o.capture;var r=o.Pa;if(o=o.Na,Tn[t])return this.__shady_native_removeEventListener(t,e,o);var i=r||this;r=void 0;var a=null;try{a=e[Cn]}catch(t){}a&&-1<(i=Fn(a,i,t,n))&&(r=a.splice(i,1)[0].ub,a.length||(e[Cn]=void 0)),this.__shady_native_removeEventListener(t,r||e,o),r&&this.__handlers&&this.__handlers[t]&&-1<(e=(t=this.__handlers[t][n?"capture":"bubble"]).indexOf(r))&&t.splice(e,1)}}var Vn=Fe(Bn);function qn(t,e){if(e=void 0===e?t.target:e,t.__target=e,t.__relatedTarget=t.relatedTarget,ve.D){if(!(e=Object.getPrototypeOf(t)).hasOwnProperty("__shady_patchedProto")){var n=Object.create(e);n.__shady_sourceProto=e,je(n,Vn),e.__shady_patchedProto=n}t.__proto__=e.__shady_patchedProto}else je(t,Vn)}var zn=Mn(Event),Gn=Mn(CustomEvent),$n=Mn(MouseEvent),Xn=Object.getOwnPropertyNames(Element.prototype).filter((function(t){return"on"===t.substring(0,2)})),Kn=Object.getOwnPropertyNames(HTMLElement.prototype).filter((function(t){return"on"===t.substring(0,2)}));function Yn(t){return{set:function(e){var n=me(this),o=t.substring(2);n.T||(n.T={}),n.T[t]&&this.removeEventListener(o,n.T[t]),this.__shady_addEventListener(o,e),n.T[t]=e},get:function(){var e=_e(this);return e&&e.T&&e.T[t]},configurable:!0}}function Jn(t,e){return{index:t,ia:[],pa:e}}function Zn(t,e,n,o){var r=0,i=0,a=0,s=0,l=Math.min(e-r,o-i);if(0==r&&0==i)t:{for(a=0;a<l;a++)if(t[a]!==n[a])break t;a=l}if(e==t.length&&o==n.length){s=t.length;for(var c=n.length,u=0;u<l-a&&Qn(t[--s],n[--c]);)u++;s=u}if(i+=a,o-=s,0==(e-=s)-(r+=a)&&0==o-i)return[];if(r==e){for(e=Jn(r,0);i<o;)e.ia.push(n[i++]);return[e]}if(i==o)return[Jn(r,e-r)];for(o=o-(a=i)+1,s=e-(l=r)+1,e=Array(o),c=0;c<o;c++)e[c]=Array(s),e[c][0]=c;for(c=0;c<s;c++)e[0][c]=c;for(c=1;c<o;c++)for(u=1;u<s;u++)if(t[l+u-1]===n[a+c-1])e[c][u]=e[c-1][u-1];else{var d=e[c-1][u]+1,h=e[c][u-1]+1;e[c][u]=d<h?d:h}for(l=e.length-1,a=e[0].length-1,o=e[l][a],t=[];0<l||0<a;)0==l?(t.push(2),a--):0==a?(t.push(3),l--):(s=e[l-1][a-1],(d=(c=e[l-1][a])<(u=e[l][a-1])?c<s?c:s:u<s?u:s)==s?(s==o?t.push(0):(t.push(1),o=s),l--,a--):d==c?(t.push(3),l--,o=c):(t.push(2),a--,o=u));for(t.reverse(),e=void 0,l=[],a=0;a<t.length;a++)switch(t[a]){case 0:e&&(l.push(e),e=void 0),r++,i++;break;case 1:e||(e=Jn(r,0)),e.pa++,r++,e.ia.push(n[i]),i++;break;case 2:e||(e=Jn(r,0)),e.pa++,r++;break;case 3:e||(e=Jn(r,0)),e.ia.push(n[i]),i++}return e&&l.push(e),l}function Qn(t,e){return t===e}var to=Fe({dispatchEvent:Un,addEventListener:Hn,removeEventListener:Wn}),eo=null;function no(){return eo||(eo=window.ShadyCSS&&window.ShadyCSS.ScopingShim),eo||null}function oo(t,e,n){var o=no();return!(!o||"class"!==e||(o.setElementClass(t,n),0))}function ro(t,e){var n=no();n&&n.unscopeNode(t,e)}function io(t,e){var n=no();if(!n)return!0;if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(n=!0,t=t.__shady_firstChild;t;t=t.__shady_nextSibling)n=n&&io(t,e);return n}return t.nodeType!==Node.ELEMENT_NODE||n.currentScopeForNode(t)===e}function ao(t){if(t.nodeType!==Node.ELEMENT_NODE)return"";var e=no();return e?e.currentScopeForNode(t):""}function so(t,e){if(t)for(t.nodeType===Node.ELEMENT_NODE&&e(t),t=t.__shady_firstChild;t;t=t.__shady_nextSibling)t.nodeType===Node.ELEMENT_NODE&&so(t,e)}var lo=window.document,co=ve.ha,uo=Object.getOwnPropertyDescriptor(Node.prototype,"isConnected"),ho=uo&&uo.get;function fo(t){for(var e;e=t.__shady_firstChild;)t.__shady_removeChild(e)}function po(t){var e=_e(t);if(e&&void 0!==e.ta)for(e=t.__shady_firstChild;e;e=e.__shady_nextSibling)po(e);(t=_e(t))&&(t.ta=void 0)}function mo(t){var e=t;if(t&&"slot"===t.localName){var n=_e(t);(n=n&&n.aa)&&(e=n.length?n[0]:mo(t.__shady_nextSibling))}return e}function _o(t,e,n){if(t=(t=_e(t))&&t.ga){if(e)if(e.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(var o=0,r=e.childNodes.length;o<r;o++)t.addedNodes.push(e.childNodes[o]);else t.addedNodes.push(e);n&&t.removedNodes.push(n),function(t){t.g||(t.g=!0,ke((function(){t.flush()})))}(t)}}var vo=Fe({get parentNode(){var t=_e(this);return void 0!==(t=t&&t.parentNode)?t:this.__shady_native_parentNode},get firstChild(){var t=_e(this);return void 0!==(t=t&&t.firstChild)?t:this.__shady_native_firstChild},get lastChild(){var t=_e(this);return void 0!==(t=t&&t.lastChild)?t:this.__shady_native_lastChild},get nextSibling(){var t=_e(this);return void 0!==(t=t&&t.nextSibling)?t:this.__shady_native_nextSibling},get previousSibling(){var t=_e(this);return void 0!==(t=t&&t.previousSibling)?t:this.__shady_native_previousSibling},get childNodes(){if(Ce(this)){var t=_e(this);if(!t.childNodes){t.childNodes=[];for(var e=this.__shady_firstChild;e;e=e.__shady_nextSibling)t.childNodes.push(e)}var n=t.childNodes}else n=this.__shady_native_childNodes;return n.item=function(t){return n[t]},n},get parentElement(){var t=_e(this);return(t=t&&t.parentNode)&&t.nodeType!==Node.ELEMENT_NODE&&(t=null),void 0!==t?t:this.__shady_native_parentElement},get isConnected(){if(ho&&ho.call(this))return!0;if(this.nodeType==Node.DOCUMENT_FRAGMENT_NODE)return!1;var t=this.ownerDocument;if(null===t||Be(t,this))return!0;for(t=this;t&&!(t instanceof Document);)t=t.__shady_parentNode||(Ae(t)?t.host:void 0);return!!(t&&t instanceof Document)},get textContent(){if(Ce(this)){for(var t=[],e=this.__shady_firstChild;e;e=e.__shady_nextSibling)e.nodeType!==Node.COMMENT_NODE&&t.push(e.__shady_textContent);return t.join("")}return this.__shady_native_textContent},set textContent(t){switch(null==t&&(t=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:if(!Ce(this)&&ve.D){var e=this.__shady_firstChild;(e!=this.__shady_lastChild||e&&e.nodeType!=Node.TEXT_NODE)&&fo(this),this.__shady_native_textContent=t}else fo(this),(0<t.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_insertBefore(document.createTextNode(t));break;default:this.nodeValue=t}},insertBefore:function(t,e){if(this.ownerDocument!==lo&&t.ownerDocument!==lo)return this.__shady_native_insertBefore(t,e),t;if(t===this)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(e){var n=_e(e);if(void 0!==(n=n&&n.parentNode)&&n!==this||void 0===n&&e.__shady_native_parentNode!==this)throw Error("Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.")}if(e===t)return t;_o(this,t);var o=[],r=(n=Ar(this))?n.host.localName:ao(this),i=t.__shady_parentNode;if(i){var a=ao(t),s=!!n||!Ar(t)||co&&void 0!==this.__noInsertionPoint;i.__shady_removeChild(t,s)}i=!0;var l=(!co||void 0===t.__noInsertionPoint&&void 0===this.__noInsertionPoint)&&!io(t,r),u=n&&!t.__noInsertionPoint&&(!co||t.nodeType===Node.DOCUMENT_FRAGMENT_NODE);return(u||l)&&(l&&(a=a||ao(t)),so(t,(function(t){if(u&&"slot"===t.localName&&o.push(t),l){var e=a;no()&&(e&&ro(t,e),(e=no())&&e.scopeNode(t,r))}}))),o.length&&(mr(n),n.i.push.apply(n.i,c(o)),ur(n)),Ce(this)&&(function(t,e,n){Qo(e,2);var o=me(e);if(void 0!==o.firstChild&&(o.childNodes=null),t.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(t=t.__shady_native_firstChild;t;t=t.__shady_native_nextSibling)tr(t,e,o,n);else tr(t,e,o,n)}(t,this,e),(s=_e(this)).root?(i=!1,we(this)&&ur(s.root)):n&&"slot"===this.localName&&(i=!1,ur(n))),i?(n=Ae(this)?this.host:this,e?(e=mo(e),n.__shady_native_insertBefore(t,e)):n.__shady_native_appendChild(t)):t.ownerDocument!==this.ownerDocument&&this.ownerDocument.adoptNode(t),t},appendChild:function(t){if(this!=t||!Ae(t))return this.__shady_insertBefore(t)},removeChild:function(t,e){if(e=void 0!==e&&e,this.ownerDocument!==lo)return this.__shady_native_removeChild(t);if(t.__shady_parentNode!==this)throw Error("The node to be removed is not a child of this node: "+t);_o(this,null,t);var n=Ar(t),o=n&&function(t,e){if(t.g){_r(t);var n,o=t.h;for(n in o)for(var r=o[n],i=0;i<r.length;i++){var a=r[i];if(De(e,a)){r.splice(i,1);var s=t.g.indexOf(a);if(0<=s&&(t.g.splice(s,1),(s=_e(a.__shady_parentNode))&&s.ka&&s.ka--),i--,s=(a=_e(a)).aa)for(var l=0;l<s.length;l++){var c=s[l],u=c.__shady_native_parentNode;u&&u.__shady_native_removeChild(c)}a.aa=[],a.assignedNodes=[],s=!0}}return s}}(n,t),r=_e(this);if(Ce(this)&&(function(t,e){var n=me(t);t===(e=me(e)).firstChild&&(e.firstChild=n.nextSibling),t===e.lastChild&&(e.lastChild=n.previousSibling),t=n.previousSibling;var o=n.nextSibling;t&&(me(t).nextSibling=o),o&&(me(o).previousSibling=t),n.parentNode=n.previousSibling=n.nextSibling=void 0,void 0!==e.childNodes&&(e.childNodes=null)}(t,this),we(this))){ur(r.root);var i=!0}if(no()&&!e&&n&&t.nodeType!==Node.TEXT_NODE){var a=ao(t);so(t,(function(t){ro(t,a)}))}return po(t),n&&((e="slot"===this.localName)&&(i=!0),(o||e)&&ur(n)),i||(i=Ae(this)?this.host:this,(!r.root&&"slot"!==t.localName||i===t.__shady_native_parentNode)&&i.__shady_native_removeChild(t)),t},replaceChild:function(t,e){return this.__shady_insertBefore(t,e),this.__shady_removeChild(e),t},cloneNode:function(t){if("template"==this.localName)return this.__shady_native_cloneNode(t);var e=this.__shady_native_cloneNode(!1);if(t&&e.nodeType!==Node.ATTRIBUTE_NODE){t=this.__shady_firstChild;for(var n;t;t=t.__shady_nextSibling)n=t.__shady_cloneNode(!0),e.__shady_appendChild(n)}return e},getRootNode:function(t){if(this&&this.nodeType){var e=me(this),n=e.ta;return void 0===n&&(Ae(this)?(n=this,e.ta=n):(n=(n=this.__shady_parentNode)?n.__shady_getRootNode(t):this,document.documentElement.__shady_native_contains(this)&&(e.ta=n))),n}},contains:function(t){return De(this,t)}}),go=Fe({get assignedSlot(){var t=this.__shady_parentNode;return(t=t&&t.__shady_shadowRoot)&&dr(t),(t=_e(this))&&t.assignedSlot||null}}),yo=new Map;function bo(t,e,n,o){for(o=void 0===o||o;e<t.length;e++)if("\\"===t[e]&&e<t.length-1&&"\n"!==t[e+1])e++;else{if(-1!==n.indexOf(t[e]))return e;if(o&&yo.has(t[e])){var r=yo.get(t[e]);e=bo(t,e+1,[r.end],r.sa)}}return t.length}function Eo(t,e,n){var o=[];return Co(t,e,n,o),o}function Co(t,e,n,o){for(t=t.__shady_firstChild;t;t=t.__shady_nextSibling){var r;if(r=t.nodeType===Node.ELEMENT_NODE){var i=e,a=n,s=o,l=i(r=t);l&&s.push(r),a&&a(l)?r=l:(Co(r,i,a,s),r=void 0)}if(r)break}}[["(",{end:")",sa:!0}],["[",{end:"]",sa:!0}],['"',{end:'"',sa:!1}],["'",{end:"'",sa:!1}]].forEach((function(t){var e=l(t);t=e.next().value,e=e.next().value,yo.set(t,e)}));var Ao={get firstElementChild(){var t=_e(this);if(t&&void 0!==t.firstChild){for(t=this.__shady_firstChild;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.__shady_nextSibling;return t}return this.__shady_native_firstElementChild},get lastElementChild(){var t=_e(this);if(t&&void 0!==t.lastChild){for(t=this.__shady_lastChild;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.__shady_previousSibling;return t}return this.__shady_native_lastElementChild},get children(){return Ce(this)?Me(Array.prototype.filter.call(Pe(this),(function(t){return t.nodeType===Node.ELEMENT_NODE}))):this.__shady_native_children},get childElementCount(){var t=this.__shady_children;return t?t.length:0}},wo=Fe((Ao.append=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];this.__shady_insertBefore(We.apply(null,c(e)),null)},Ao.prepend=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];this.__shady_insertBefore(We.apply(null,c(e)),this.__shady_firstChild)},Ao.replaceChildren=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];for(;null!==(n=this.__shady_firstChild);)this.__shady_removeChild(n);this.__shady_insertBefore(We.apply(null,c(e)),null)},Ao));function No(t,e){function n(e,n){return(e===t||-1===n.indexOf(":scope"))&&Se.call(e,n)}var o=function(t){function e(){if(0<o.length){for(;" "===o[o.length-1];)o.pop();n.push({La:o.filter((function(t,e){return 0==e%2})),Za:o.filter((function(t,e){return 1==e%2}))}),o.length=0}}for(var n=[],o=[],r=0;r<t.length;){var i=o[o.length-1],a=bo(t,r,[","," ",">","+","~"]),s=a===r?t[r]:t.substring(r,a);","===s?e():-1!==[void 0," ",">","+","~"].indexOf(i)&&" "===s||(" "===i&&-1!==[">","+","~"].indexOf(s)?o[o.length-1]=s:o.push(s)),r=a+(a===r?1:0)}return e(),n}(e);if(1>o.length)return[];for(e=Ve(Eo(t,(function(){return!0})).map((function(t){return Ve(o.map((function(e){var o=e.La,r=o.length-1;return n(t,o[r])?{target:t,da:e,fa:t,index:r}:[]})))})));e.some((function(t){return 0<t.index}));)e=Ve(e.map((function(t){if(0>=t.index)return t;var e=t.target,o=t.fa,r=t.da;t=t.index-1;var i=r.Za[t],a=r.La[t];if(" "===i){for(i=[],o=o.__shady_parentElement;o;o=o.__shady_parentElement)n(o,a)&&i.push({target:e,da:r,fa:o,index:t});return i}if(">"===i)return n(o=o.__shady_parentElement,a)?{target:e,da:r,fa:o,index:t}:[];if("+"===i)return(o=o.__shady_previousElementSibling)&&n(o,a)?{target:e,da:r,fa:o,index:t}:[];if("~"===i){for(i=[],o=o.__shady_previousElementSibling;o;o=o.__shady_previousElementSibling)n(o,a)&&i.push({target:e,da:r,fa:o,index:t});return i}throw Error("Unrecognized combinator: '"+i+"'.")})));return function(t){for(var e=[],n=new Set,o=(t=l(t)).next();!o.done;o=t.next())o=o.value,n.has(o)||(e.push(o),n.add(o));return e}(e.map((function(t){return t.target})))}var So=ve.querySelectorImplementation,To=Fe({querySelector:function(t){if("native"===So){for(var e=Array.prototype.slice.call((this instanceof ShadowRoot?this.host:this).__shady_native_querySelectorAll(t)),n=this.__shady_getRootNode(),o=(e=l(e)).next();!o.done;o=e.next())if((o=o.value).__shady_getRootNode()==n)return o;return null}if("selectorEngine"===So)return No(this,t)[0]||null;if(void 0===So)return Eo(this,(function(e){return Se.call(e,t)}),(function(t){return!!t}))[0]||null;throw Error("Unrecognized value of ShadyDOM.querySelectorImplementation: '"+So+"'")},querySelectorAll:function(t,e){if(e||"native"===So){e=Array.prototype.slice.call((this instanceof ShadowRoot?this.host:this).__shady_native_querySelectorAll(t));var n=this.__shady_getRootNode();return Me(e.filter((function(t){return t.__shady_getRootNode()==n})))}if("selectorEngine"===So)return Me(No(this,t));if(void 0===So)return Me(Eo(this,(function(e){return Se.call(e,t)})));throw Error("Unrecognized value of ShadyDOM.querySelectorImplementation: '"+So+"'")}}),xo=ve.ha&&!ve.J?Ue({},wo):wo;Ue(wo,To);var Oo=Fe({after:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];if(null!==(n=this.__shady_parentNode)){var o=this.__shady_nextSibling;n.__shady_insertBefore(We.apply(null,c(e)),o)}},before:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];null!==(n=this.__shady_parentNode)&&n.__shady_insertBefore(We.apply(null,c(e)),this)},remove:function(){var t=this.__shady_parentNode;null!==t&&t.__shady_removeChild(this)},replaceWith:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];if(null!==(n=this.__shady_parentNode)){var o=this.__shady_nextSibling;n.__shady_removeChild(this),n.__shady_insertBefore(We.apply(null,c(e)),o)}}}),ko=window.document;function Bo(t,e){if("slot"===e)we(t=t.__shady_parentNode)&&ur(_e(t).root);else if("slot"===t.localName&&"name"===e&&(e=Ar(t))){if(e.g){_r(e);var n=t.Ua,o=vr(t);if(o!==n){var r=(n=e.h[n]).indexOf(t);0<=r&&n.splice(r,1),(n=e.h[o]||(e.h[o]=[])).push(t),1<n.length&&(e.h[o]=gr(n))}}ur(e)}}var Do=Fe({get previousElementSibling(){var t=_e(this);if(t&&void 0!==t.previousSibling){for(t=this.__shady_previousSibling;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.__shady_previousSibling;return t}return this.__shady_native_previousElementSibling},get nextElementSibling(){var t=_e(this);if(t&&void 0!==t.nextSibling){for(t=this.__shady_nextSibling;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.__shady_nextSibling;return t}return this.__shady_native_nextElementSibling},get slot(){return this.getAttribute("slot")},set slot(t){this.__shady_setAttribute("slot",t)},get className(){return this.getAttribute("class")||""},set className(t){this.__shady_setAttribute("class",t)},setAttribute:function(t,e){this.ownerDocument!==ko?this.__shady_native_setAttribute(t,e):oo(this,t,e)||(this.__shady_native_setAttribute(t,e),Bo(this,t))},removeAttribute:function(t){this.ownerDocument!==ko?this.__shady_native_removeAttribute(t):oo(this,t,"")?""===this.getAttribute(t)&&this.__shady_native_removeAttribute(t):(this.__shady_native_removeAttribute(t),Bo(this,t))},toggleAttribute:function(t,e){return this.ownerDocument!==ko?this.__shady_native_toggleAttribute(t,e):oo(this,t,"")?""!==this.getAttribute(t)||e?void 0:this.__shady_native_toggleAttribute(t,e):(e=this.__shady_native_toggleAttribute(t,e),Bo(this,t),e)}});ve.ha||Xn.forEach((function(t){Do[t]=Yn(t)}));var Mo=Fe({attachShadow:function(t){if(!this)throw Error("Must provide a host.");if(!t)throw Error("Not enough arguments.");if(t.shadyUpgradeFragment&&!ve.Ra){var e=t.shadyUpgradeFragment;if(e.__proto__=ShadowRoot.prototype,cr(e,this,t),er(e,e),t=e.__noInsertionPoint?null:e.querySelectorAll("slot"),e.__noInsertionPoint=void 0,t&&t.length){var n=e;mr(n),n.i.push.apply(n.i,c(t)),ur(e)}e.host.__shady_native_appendChild(e)}else e=new lr(ir,this,t);return this.__CE_shadowRoot=e},get shadowRoot(){var t=_e(this);return t&&t.lb||null}});Ue(Do,Mo);var Ro=document.implementation.createHTMLDocument("inert"),Po=Fe({get innerHTML(){return Ce(this)?en("template"===this.localName?this.content:this,Pe):this.__shady_native_innerHTML},set innerHTML(t){if("template"===this.localName)this.__shady_native_innerHTML=t;else{fo(this);var e=this.localName||"div";for(e=this.namespaceURI&&this.namespaceURI!==Ro.namespaceURI?Ro.createElementNS(this.namespaceURI,e):Ro.createElement(e),ve.D?e.__shady_native_innerHTML=t:e.innerHTML=t;t=e.__shady_firstChild;)this.__shady_insertBefore(t)}}}),Lo=Fe({blur:function(){var t=_e(this);(t=(t=t&&t.root)&&t.activeElement)?t.__shady_blur():this.__shady_native_blur()}});ve.ha||Kn.forEach((function(t){Lo[t]=Yn(t)}));var jo=Fe({assignedNodes:function(t){if("slot"===this.localName){var e=this.__shady_getRootNode();return e&&Ae(e)&&dr(e),(e=_e(this))&&(t&&t.flatten?e.aa:e.assignedNodes)||[]}},addEventListener:function(t,e,n){if("slot"!==this.localName||"slotchange"===t)Hn.call(this,t,e,n);else{"object"!=typeof n&&(n={capture:!!n});var o=this.__shady_parentNode;if(!o)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");n.U=this,o.__shady_addEventListener(t,e,n)}},removeEventListener:function(t,e,n){if("slot"!==this.localName||"slotchange"===t)Wn.call(this,t,e,n);else{"object"!=typeof n&&(n={capture:!!n});var o=this.__shady_parentNode;if(!o)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");n.U=this,o.__shady_removeEventListener(t,e,n)}}}),Io=Fe({getElementById:function(t){return""===t?null:Eo(this,(function(e){return e.id==t}),(function(t){return!!t}))[0]||null}});function Fo(t,e){for(var n;e&&!t.has(n=e.__shady_getRootNode());)e=n.host;return e}var Uo="__shady_native_"+Ee(),Ho=Fe({get activeElement(){var t=ve.D?document.__shady_native_activeElement:document.activeElement;if(!t||!t.nodeType)return null;var e=!!Ae(this);if(!(this===document||e&&this.host!==t&&this.host.__shady_native_contains(t)))return null;for(e=Ar(t);e&&e!==this;)e=Ar(t=e.host);return this===document?e?null:t:e===this?t:null},elementsFromPoint:function(t,e){if(t=document[Uo](t,e),this===document&&ve.useNativeDocumentEFP)return t;t=[].slice.call(t),e=function(t){var e=new Set;for(e.add(t);Ae(t)&&t.host;)t=t.host.__shady_getRootNode(),e.add(t);return e}(this);for(var n=new Set,o=0;o<t.length;o++)n.add(Fo(e,t[o]));var r=[];return n.forEach((function(t){return r.push(t)})),r},elementFromPoint:function(t,e){return this===document&&ve.useNativeDocumentEFP?this.__shady_native_elementFromPoint(t,e):this.__shady_elementsFromPoint(t,e)[0]||null}}),Wo=window.document,Vo=Fe({importNode:function(t,e){if(t.ownerDocument!==Wo||"template"===t.localName)return this.__shady_native_importNode(t,e);var n=this.__shady_native_importNode(t,!1);if(e)for(t=t.__shady_firstChild;t;t=t.__shady_nextSibling)e=this.__shady_importNode(t,!0),n.__shady_appendChild(e);return n}}),qo=Fe({dispatchEvent:Un,addEventListener:Hn.bind(window),removeEventListener:Wn.bind(window)}),zo={};Object.getOwnPropertyDescriptor(HTMLElement.prototype,"parentElement")&&(zo.parentElement=vo.parentElement),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"contains")&&(zo.contains=vo.contains),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"children")&&(zo.children=wo.children),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML")&&(zo.innerHTML=Po.innerHTML),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"className")&&(zo.className=Do.className);var Go={EventTarget:[to],Node:[vo,window.EventTarget?null:to],Text:[go],Comment:[go],CDATASection:[go],ProcessingInstruction:[go],Element:[Do,wo,Oo,go,!ve.D||"innerHTML"in Element.prototype?Po:null,window.HTMLSlotElement?null:jo],HTMLElement:[Lo,zo],HTMLSlotElement:[jo],DocumentFragment:[xo,Io],Document:[Vo,xo,Io,Ho],Window:[qo],CharacterData:[Oo],XMLHttpRequest:[window.EventTarget?null:to]},$o=ve.D?null:["innerHTML","textContent"];function Xo(t,e,n,o){e.forEach((function(e){return t&&e&&je(t,e,n,o)}))}function Ko(t){var e,n=t?null:$o;for(e in Go)Xo(window[e]&&window[e].prototype,Go[e],t,n)}function Yo(t){return t.__shady_protoIsPatched=!0,Xo(t,Go.EventTarget),Xo(t,Go.Node),Xo(t,Go.Element),Xo(t,Go.HTMLElement),Xo(t,Go.HTMLSlotElement),t}["Text","Comment","CDATASection","ProcessingInstruction"].forEach((function(t){var e=window[t],n=Object.create(e.prototype);n.__shady_protoIsPatched=!0,Xo(n,Go.EventTarget),Xo(n,Go.Node),Go[t]&&Xo(n,Go[t]),e.prototype.__shady_patchedProto=n}));var Jo=ve.Da,Zo=ve.D;function Qo(t,e){if(Jo&&!t.__shady_protoIsPatched&&!Ae(t)){var n=Object.getPrototypeOf(t),o=n.hasOwnProperty("__shady_patchedProto")&&n.__shady_patchedProto;o||(Yo(o=Object.create(n)),n.__shady_patchedProto=o),Object.setPrototypeOf(t,o)}Zo||(1===e?bn(t):2===e&&En(t))}function tr(t,e,n,o){Qo(t,1),o=o||null;var r=me(t),i=o?me(o):null;r.previousSibling=o?i.previousSibling:e.__shady_lastChild,(i=_e(r.previousSibling))&&(i.nextSibling=t),(i=_e(r.nextSibling=o))&&(i.previousSibling=t),r.parentNode=e,o?o===n.firstChild&&(n.firstChild=t):(n.lastChild=t,n.firstChild||(n.firstChild=t)),n.childNodes=null}function er(t,e){var n=me(t);if(e||void 0===n.firstChild){n.childNodes=null;var o=n.firstChild=t.__shady_native_firstChild;for(n.lastChild=t.__shady_native_lastChild,Qo(t,2),n=o,o=void 0;n;n=n.__shady_native_nextSibling){var r=me(n);r.parentNode=e||t,r.nextSibling=n.__shady_native_nextSibling,r.previousSibling=o||null,o=n,Qo(n,1)}}}var nr=Fe({addEventListener:function(t,e,n){"object"!=typeof n&&(n={capture:!!n}),n.U=n.U||this,this.host.__shady_addEventListener(t,e,n)},removeEventListener:function(t,e,n){"object"!=typeof n&&(n={capture:!!n}),n.U=n.U||this,this.host.__shady_removeEventListener(t,e,n)}});function or(t,e){je(t,nr,e),je(t,Ho,e),je(t,Po,e),je(t,wo,e),ve.J&&!e?(je(t,vo,e),je(t,Io,e)):ve.D||(je(t,vn),je(t,mn),je(t,_n))}var rr,ir={},ar=ve.deferConnectionCallbacks&&"loading"===document.readyState;function sr(t){var e=[];do{e.unshift(t)}while(t=t.__shady_parentNode);return e}function lr(t,e,n){if(t!==ir)throw new TypeError("Illegal constructor");this.g=null,cr(this,e,n)}function cr(t,e,n){if(t.host=e,t.mode=n&&n.mode,er(t.host),(e=me(t.host)).root=t,e.lb="closed"!==t.mode?t:null,(e=me(t)).firstChild=e.lastChild=e.parentNode=e.nextSibling=e.previousSibling=null,ve.preferPerformance)for(;e=t.host.__shady_native_firstChild;)t.host.__shady_native_removeChild(e);else ur(t)}function ur(t){t.Y||(t.Y=!0,Ge((function(){return dr(t)})))}function dr(t){var e;if(e=t.Y){for(var n;t;)t.Y&&(n=t),Ae(t=(e=t).host.__shady_getRootNode())&&(e=_e(e.host))&&0<e.ka||(t=void 0);e=n}(n=e)&&n._renderSelf()}function hr(t,e,n){var o=me(e),r=o.xa;o.xa=null,n||(n=(t=t.h[e.__shady_slot||"__catchall"])&&t[0]),n?(me(n).assignedNodes.push(e),o.assignedSlot=n):o.assignedSlot=void 0,r!==o.assignedSlot&&o.assignedSlot&&(me(o.assignedSlot).Aa=!0)}function fr(t,e,n){for(var o=0,r=void 0;o<n.length&&(r=n[o]);o++)if("slot"==r.localName){var i=_e(r).assignedNodes;i&&i.length&&fr(t,e,i)}else e.push(n[o])}function pr(t,e){e.__shady_native_dispatchEvent(new Event("slotchange")),(e=_e(e)).assignedSlot&&pr(t,e.assignedSlot)}function mr(t){t.i=t.i||[],t.g=t.g||[],t.h=t.h||{}}function _r(t){if(t.i&&t.i.length){for(var e,n=t.i,o=0;o<n.length;o++){var r=n[o];er(r);var i=r.__shady_parentNode;er(i),(i=_e(i)).ka=(i.ka||0)+1,i=vr(r),t.h[i]?((e=e||{})[i]=!0,t.h[i].push(r)):t.h[i]=[r],t.g.push(r)}if(e)for(var a in e)t.h[a]=gr(t.h[a]);t.i=[]}}function vr(t){var e=t.name||t.getAttribute("name")||"__catchall";return t.Ua=e}function gr(t){return t.sort((function(t,e){t=sr(t);for(var n=sr(e),o=0;o<t.length;o++){e=t[o];var r=n[o];if(e!==r)return(t=Pe(e.__shady_parentNode)).indexOf(e)-t.indexOf(r)}}))}function yr(t){return _r(t),!(!t.g||!t.g.length)}if(lr.prototype._renderSelf=function(){var t=ar;if(ar=!0,this.Y=!1,this.g){_r(this);for(var e,n=0;n<this.g.length;n++){var o=_e(e=this.g[n]),r=o.assignedNodes;if(o.assignedNodes=[],o.aa=[],o.Ja=r)for(o=0;o<r.length;o++){var i=_e(r[o]);i.xa=i.assignedSlot,i.assignedSlot===e&&(i.assignedSlot=null)}}for(n=this.host.__shady_firstChild;n;n=n.__shady_nextSibling)hr(this,n);for(n=0;n<this.g.length;n++){if(!(r=_e(e=this.g[n])).assignedNodes.length)for(o=e.__shady_firstChild;o;o=o.__shady_nextSibling)hr(this,o,e);if((o=(o=_e(e.__shady_parentNode))&&o.root)&&(yr(o)||o.Y)&&o._renderSelf(),fr(this,r.aa,r.assignedNodes),o=r.Ja){for(i=0;i<o.length;i++)_e(o[i]).xa=null;r.Ja=null,o.length>r.assignedNodes.length&&(r.Aa=!0)}r.Aa&&(r.Aa=!1,pr(this,e))}for(e=this.g,n=[],r=0;r<e.length;r++)(i=_e(o=e[r].__shady_parentNode))&&i.root||!(0>n.indexOf(o))||n.push(o);for(e=0;e<n.length;e++){for(r=(i=n[e])===this?this.host:i,o=[],i=i.__shady_firstChild;i;i=i.__shady_nextSibling)if("slot"==i.localName)for(var a=_e(i).aa,s=0;s<a.length;s++)o.push(a[s]);else o.push(i);i=Re(r),a=Zn(o,o.length,i,i.length);for(var l=s=0,c=void 0;s<a.length&&(c=a[s]);s++){for(var u=0,d=void 0;u<c.ia.length&&(d=c.ia[u]);u++)d.__shady_native_parentNode===r&&r.__shady_native_removeChild(d),i.splice(c.index+l,1);l-=c.pa}for(l=0,c=void 0;l<a.length&&(c=a[l]);l++)for(s=i[c.index],u=c.index;u<c.index+c.pa;u++)d=o[u],r.__shady_native_insertBefore(d,s),i.splice(u,0,d)}}if(!ve.preferPerformance&&!this.Ia)for(n=this.host.__shady_firstChild;n;n=n.__shady_nextSibling)e=_e(n),n.__shady_native_parentNode!==this.host||"slot"!==n.localName&&e.assignedSlot||this.host.__shady_native_removeChild(n);this.Ia=!0,ar=t,rr&&rr()},function(t){t.__proto__=DocumentFragment.prototype,or(t,"__shady_"),or(t),Object.defineProperties(t,{nodeType:{value:Node.DOCUMENT_FRAGMENT_NODE,configurable:!0},nodeName:{value:"#document-fragment",configurable:!0},nodeValue:{value:null,configurable:!0}}),["localName","namespaceURI","prefix"].forEach((function(e){Object.defineProperty(t,e,{value:void 0,configurable:!0})})),["ownerDocument","baseURI","isConnected"].forEach((function(e){Object.defineProperty(t,e,{get:function(){return this.host[e]},configurable:!0})}))}(lr.prototype),window.customElements&&window.customElements.define&&ve.Ba&&!ve.preferPerformance){var br=new Map;rr=function(){var t=[];br.forEach((function(e,n){t.push([n,e])})),br.clear();for(var e=0;e<t.length;e++){var n=t[e][0];t[e][1]?n.__shadydom_connectedCallback():n.__shadydom_disconnectedCallback()}},ar&&document.addEventListener("readystatechange",(function(){ar=!1,rr()}),{once:!0});var Er=window.customElements.define,Cr=function(t,e){var n=e.prototype.connectedCallback,o=e.prototype.disconnectedCallback;Er.call(window.customElements,t,function(t,e,n){var o=0,r="__isConnected"+o++;return(e||n)&&(t.prototype.connectedCallback=t.prototype.__shadydom_connectedCallback=function(){ar?br.set(this,!0):this[r]||(this[r]=!0,e&&e.call(this))},t.prototype.disconnectedCallback=t.prototype.__shadydom_disconnectedCallback=function(){ar?this.isConnected||br.set(this,!1):this[r]&&(this[r]=!1,n&&n.call(this))}),t}(e,n,o)),e.prototype.connectedCallback=n,e.prototype.disconnectedCallback=o};window.customElements.define=Cr,Object.defineProperty(window.CustomElementRegistry.prototype,"define",{value:Cr,configurable:!0})}function Ar(t){if(Ae(t=t.__shady_getRootNode()))return t}function wr(t){this.node=t}function Nr(t){Object.defineProperty(wr.prototype,t,{get:function(){return this.node["__shady_"+t]},set:function(e){this.node["__shady_"+t]=e},configurable:!0})}(t=wr.prototype).addEventListener=function(t,e,n){return this.node.__shady_addEventListener(t,e,n)},t.removeEventListener=function(t,e,n){return this.node.__shady_removeEventListener(t,e,n)},t.appendChild=function(t){return this.node.__shady_appendChild(t)},t.insertBefore=function(t,e){return this.node.__shady_insertBefore(t,e)},t.removeChild=function(t){return this.node.__shady_removeChild(t)},t.replaceChild=function(t,e){return this.node.__shady_replaceChild(t,e)},t.cloneNode=function(t){return this.node.__shady_cloneNode(t)},t.getRootNode=function(t){return this.node.__shady_getRootNode(t)},t.contains=function(t){return this.node.__shady_contains(t)},t.dispatchEvent=function(t){return this.node.__shady_dispatchEvent(t)},t.setAttribute=function(t,e){this.node.__shady_setAttribute(t,e)},t.getAttribute=function(t){return this.node.__shady_native_getAttribute(t)},t.hasAttribute=function(t){return this.node.__shady_native_hasAttribute(t)},t.removeAttribute=function(t){this.node.__shady_removeAttribute(t)},t.toggleAttribute=function(t,e){return this.node.__shady_toggleAttribute(t,e)},t.attachShadow=function(t){return this.node.__shady_attachShadow(t)},t.focus=function(){this.node.__shady_native_focus()},t.blur=function(){this.node.__shady_blur()},t.importNode=function(t,e){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_importNode(t,e)},t.getElementById=function(t){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_getElementById(t)},t.elementsFromPoint=function(t,e){return this.node.__shady_elementsFromPoint(t,e)},t.elementFromPoint=function(t,e){return this.node.__shady_elementFromPoint(t,e)},t.querySelector=function(t){return this.node.__shady_querySelector(t)},t.querySelectorAll=function(t,e){return this.node.__shady_querySelectorAll(t,e)},t.assignedNodes=function(t){if("slot"===this.node.localName)return this.node.__shady_assignedNodes(t)},t.append=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];return this.node.__shady_append.apply(this.node,c(e))},t.prepend=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];return this.node.__shady_prepend.apply(this.node,c(e))},t.after=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];return this.node.__shady_after.apply(this.node,c(e))},t.before=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];return this.node.__shady_before.apply(this.node,c(e))},t.remove=function(){return this.node.__shady_remove()},t.replaceWith=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];return this.node.__shady_replaceWith.apply(this.node,c(e))},i.Object.defineProperties(wr.prototype,{activeElement:{configurable:!0,enumerable:!0,get:function(){if(Ae(this.node)||this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_activeElement}},_activeElement:{configurable:!0,enumerable:!0,get:function(){return this.activeElement}},host:{configurable:!0,enumerable:!0,get:function(){if(Ae(this.node))return this.node.host}},parentNode:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentNode}},firstChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstChild}},lastChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastChild}},nextSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextSibling}},previousSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousSibling}},childNodes:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childNodes}},parentElement:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentElement}},firstElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstElementChild}},lastElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastElementChild}},nextElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextElementSibling}},previousElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousElementSibling}},children:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_children}},childElementCount:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childElementCount}},shadowRoot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_shadowRoot}},assignedSlot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_assignedSlot}},isConnected:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_isConnected}},innerHTML:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_innerHTML},set:function(t){this.node.__shady_innerHTML=t}},textContent:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_textContent},set:function(t){this.node.__shady_textContent=t}},slot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_slot},set:function(t){this.node.__shady_slot=t}},className:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_className},set:function(t){this.node.__shady_className=t}}}),Xn.forEach((function(t){return Nr(t)})),Kn.forEach((function(t){return Nr(t)}));var Sr=new WeakMap;function Tr(t){if(Ae(t)||t instanceof wr)return t;var e=Sr.get(t);return e||(e=new wr(t),Sr.set(t,e)),e}if(ve.Ba){var xr=ve.D?function(t){return t}:function(t){return En(t),bn(t),t},Or={inUse:ve.Ba,patch:xr,isShadyRoot:Ae,enqueue:Ge,flush:$e,flushInitial:function(t){!t.Ia&&t.Y&&dr(t)},settings:ve,filterMutations:function(t,e){var n=e.getRootNode();return t.map((function(t){var e=n===t.target.getRootNode();if(e&&t.addedNodes){if(e=[].slice.call(t.addedNodes).filter((function(t){return n===t.getRootNode()})),e.length)return t=Object.create(t),Object.defineProperty(t,"addedNodes",{value:e,configurable:!0}),t}else if(e)return t})).filter((function(t){return t}))},observeChildren:function(t,e){var n=me(t);n.ga||(n.ga=new Xe),n.ga.qa.add(e);var o=n.ga;return{Va:e,X:o,Wa:t,takeRecords:function(){return o.takeRecords()}}},unobserveChildren:function(t){var e=t&&t.X;e&&(e.qa.delete(t.Va),e.qa.size||(me(t.Wa).ga=null))},deferConnectionCallbacks:ve.deferConnectionCallbacks,preferPerformance:ve.preferPerformance,handlesDynamicScoping:!0,wrap:ve.J?Tr:xr,wrapIfNeeded:!0===ve.J?Tr:function(t){return t},Wrapper:wr,composedPath:function(t){return t.__composedPath||(t.__composedPath=On(t.target,!0)),t.__composedPath},noPatch:ve.J,patchOnDemand:ve.Da,nativeMethods:on,nativeTree:rn,patchElementProto:Yo,querySelectorImplementation:ve.querySelectorImplementation};window.ShadyDOM=Or,function(){var t=["dispatchEvent","addEventListener","removeEventListener"];window.EventTarget?(ln(window.EventTarget.prototype,t),void 0===window.__shady_native_addEventListener&&ln(Window.prototype,t)):(ln(Node.prototype,t),ln(Window.prototype,t),ln(XMLHttpRequest.prototype,t)),nn?ln(Node.prototype,"parentNode firstChild lastChild previousSibling nextSibling childNodes parentElement textContent".split(" ")):sn(Node.prototype,{parentNode:{get:function(){return cn.currentNode=this,cn.parentNode()}},firstChild:{get:function(){return cn.currentNode=this,cn.firstChild()}},lastChild:{get:function(){return cn.currentNode=this,cn.lastChild()}},previousSibling:{get:function(){return cn.currentNode=this,cn.previousSibling()}},nextSibling:{get:function(){return cn.currentNode=this,cn.nextSibling()}},childNodes:{get:function(){var t=[];cn.currentNode=this;for(var e=cn.firstChild();e;)t.push(e),e=cn.nextSibling();return t}},parentElement:{get:function(){return un.currentNode=this,un.parentNode()}},textContent:{get:function(){switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:for(var t,e=document.createTreeWalker(this,NodeFilter.SHOW_TEXT,null,!1),n="";t=e.nextNode();)n+=t.nodeValue;return n;default:return this.nodeValue}},set:function(t){switch(null==t&&(t=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:hn(this),(0<t.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_native_insertBefore(document.createTextNode(t),void 0);break;default:this.nodeValue=t}}}}),ln(Node.prototype,"appendChild insertBefore removeChild replaceChild cloneNode contains".split(" ")),ln(HTMLElement.prototype,["parentElement","contains"]),t={firstElementChild:{get:function(){return un.currentNode=this,un.firstChild()}},lastElementChild:{get:function(){return un.currentNode=this,un.lastChild()}},children:{get:function(){var t=[];un.currentNode=this;for(var e=un.firstChild();e;)t.push(e),e=un.nextSibling();return Me(t)}},childElementCount:{get:function(){return this.children?this.children.length:0}}},nn?(ln(Element.prototype,fn),ln(Element.prototype,["previousElementSibling","nextElementSibling","innerHTML","className"]),ln(HTMLElement.prototype,["children","innerHTML","className"])):(sn(Element.prototype,t),sn(Element.prototype,{previousElementSibling:{get:function(){return un.currentNode=this,un.previousSibling()}},nextElementSibling:{get:function(){return un.currentNode=this,un.nextSibling()}},innerHTML:{get:function(){return en(this,Re)},set:function(t){var e="template"===this.localName?this.content:this;hn(e);var n=this.localName||"div";for((n=this.namespaceURI&&this.namespaceURI!==dn.namespaceURI?dn.createElementNS(this.namespaceURI,n):dn.createElement(n)).innerHTML=t,t="template"===this.localName?n.content:n;n=t.__shady_native_firstChild;)e.__shady_native_insertBefore(n,void 0)}},className:{get:function(){return this.getAttribute("class")||""},set:function(t){this.setAttribute("class",t)}}})),ln(Element.prototype,"setAttribute getAttribute hasAttribute removeAttribute toggleAttribute focus blur".split(" ")),ln(Element.prototype,pn),ln(HTMLElement.prototype,["focus","blur"]),window.HTMLTemplateElement&&ln(window.HTMLTemplateElement.prototype,["innerHTML"]),nn?ln(DocumentFragment.prototype,fn):sn(DocumentFragment.prototype,t),ln(DocumentFragment.prototype,pn),nn?(ln(Document.prototype,fn),ln(Document.prototype,["activeElement"])):sn(Document.prototype,t),ln(Document.prototype,["importNode","getElementById","elementFromPoint",Ee()]),ln(Document.prototype,pn)}(),Ko("__shady_"),Object.defineProperty(document,"_activeElement",Ho.activeElement),je(Window.prototype,qo,"__shady_"),ve.J?ve.Da&&je(Element.prototype,Mo):(Ko(),function(){if(!An&&Object.getOwnPropertyDescriptor(Event.prototype,"isTrusted")){var t=function(){var t=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0});this.__shady_dispatchEvent(t)};Element.prototype.click?Element.prototype.click=t:HTMLElement.prototype.click&&(HTMLElement.prototype.click=t)}}()),function(){for(var t in Rn)window.__shady_native_addEventListener(t,(function(t){t.__target||(qn(t),In(t))}),!0)}(),window.Event=zn,window.CustomEvent=Gn,window.MouseEvent=$n,window.ShadowRoot=lr}var kr=window.Document.prototype.createElement,Br=window.Document.prototype.createElementNS,Dr=window.Document.prototype.importNode,Mr=window.Document.prototype.prepend,Rr=window.Document.prototype.append,Pr=window.DocumentFragment.prototype.prepend,Lr=window.DocumentFragment.prototype.append,jr=window.Node.prototype.cloneNode,Ir=window.Node.prototype.appendChild,Fr=window.Node.prototype.insertBefore,Ur=window.Node.prototype.removeChild,Hr=window.Node.prototype.replaceChild,Wr=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),Vr=window.Element.prototype.attachShadow,qr=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),zr=window.Element.prototype.getAttribute,Gr=window.Element.prototype.setAttribute,$r=window.Element.prototype.removeAttribute,Xr=window.Element.prototype.toggleAttribute,Kr=window.Element.prototype.getAttributeNS,Yr=window.Element.prototype.setAttributeNS,Jr=window.Element.prototype.removeAttributeNS,Zr=window.Element.prototype.insertAdjacentElement,Qr=window.Element.prototype.insertAdjacentHTML,ti=window.Element.prototype.prepend,ei=window.Element.prototype.append,ni=window.Element.prototype.before,oi=window.Element.prototype.after,ri=window.Element.prototype.replaceWith,ii=window.Element.prototype.remove,ai=window.HTMLElement,si=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),li=window.HTMLElement.prototype.insertAdjacentElement,ci=window.HTMLElement.prototype.insertAdjacentHTML,ui=new Set;function di(t){var e=ui.has(t);return t=/^[a-z][.0-9_a-z]*-[-.0-9_a-z]*$/.test(t),!e&&t}"annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" ").forEach((function(t){return ui.add(t)}));var hi=document.contains?document.contains.bind(document):document.documentElement.contains.bind(document.documentElement);function fi(t){var e=t.isConnected;if(void 0!==e)return e;if(hi(t))return!0;for(;t&&!(t.__CE_isImportDocument||t instanceof Document);)t=t.parentNode||(window.ShadowRoot&&t instanceof ShadowRoot?t.host:void 0);return!(!t||!(t.__CE_isImportDocument||t instanceof Document))}function pi(t){var e=t.children;if(e)return Array.prototype.slice.call(e);for(e=[],t=t.firstChild;t;t=t.nextSibling)t.nodeType===Node.ELEMENT_NODE&&e.push(t);return e}function mi(t,e){for(;e&&e!==t&&!e.nextSibling;)e=e.parentNode;return e&&e!==t?e.nextSibling:null}function _i(t,e,n){for(var o=t;o;){if(o.nodeType===Node.ELEMENT_NODE){var r=o;e(r);var i=r.localName;if("link"===i&&"import"===r.getAttribute("rel")){if(o=r.import,void 0===n&&(n=new Set),o instanceof Node&&!n.has(o))for(n.add(o),o=o.firstChild;o;o=o.nextSibling)_i(o,e,n);o=mi(t,r);continue}if("template"===i){o=mi(t,r);continue}if(r=r.__CE_shadowRoot)for(r=r.firstChild;r;r=r.nextSibling)_i(r,e,n)}o=o.firstChild?o.firstChild:mi(t,o)}}function vi(){var t=!(null==ji||!ji.noDocumentConstructionObserver),e=!(null==ji||!ji.shadyDomFastWalk);this.ca=[],this.g=[],this.W=!1,this.shadyDomFastWalk=e,this.sb=!t}function gi(t,e,n,o){var r=window.ShadyDOM;if(t.shadyDomFastWalk&&r&&r.inUse){if(e.nodeType===Node.ELEMENT_NODE&&n(e),e.querySelectorAll)for(t=r.nativeMethods.querySelectorAll.call(e,"*"),e=0;e<t.length;e++)n(t[e])}else _i(e,n,o)}function yi(t,e){t.W&&gi(t,e,(function(e){return bi(t,e)}))}function bi(t,e){if(t.W&&!e.__CE_patched){e.__CE_patched=!0;for(var n=0;n<t.ca.length;n++)t.ca[n](e);for(n=0;n<t.g.length;n++)t.g[n](e)}}function Ei(t,e){var n=[];for(gi(t,e,(function(t){return n.push(t)})),e=0;e<n.length;e++){var o=n[e];1===o.__CE_state?t.connectedCallback(o):wi(t,o)}}function Ci(t,e){var n=[];for(gi(t,e,(function(t){return n.push(t)})),e=0;e<n.length;e++){var o=n[e];1===o.__CE_state&&t.disconnectedCallback(o)}}function Ai(t,e,n){var o=(n=void 0===n?{}:n).tb,r=n.upgrade||function(e){return wi(t,e)},i=[];for(gi(t,e,(function(e){if(t.W&&bi(t,e),"link"===e.localName&&"import"===e.getAttribute("rel")){var n=e.import;n instanceof Node&&(n.__CE_isImportDocument=!0,n.__CE_registry=document.__CE_registry),n&&"complete"===n.readyState?n.__CE_documentLoadHandled=!0:e.addEventListener("load",(function(){var n=e.import;if(!n.__CE_documentLoadHandled){n.__CE_documentLoadHandled=!0;var i=new Set;o&&(o.forEach((function(t){return i.add(t)})),i.delete(n)),Ai(t,n,{tb:i,upgrade:r})}}))}else i.push(e)}),o),e=0;e<i.length;e++)r(i[e])}function wi(t,e){try{var n=e.ownerDocument,o=n.__CE_registry,r=o&&(n.defaultView||n.__CE_isImportDocument)?Ri(o,e.localName):void 0;if(r&&void 0===e.__CE_state){r.constructionStack.push(e);try{try{if(new r.constructorFunction!==e)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{r.constructionStack.pop()}}catch(t){throw e.__CE_state=2,t}if(e.__CE_state=1,e.__CE_definition=r,r.attributeChangedCallback&&e.hasAttributes()){var i=r.observedAttributes;for(r=0;r<i.length;r++){var a=i[r],s=e.getAttribute(a);null!==s&&t.attributeChangedCallback(e,a,null,s,null)}}fi(e)&&t.connectedCallback(e)}}catch(t){Si(t)}}function Ni(t,e,n,o){var r=e.__CE_registry;if(r&&(null===o||"http://www.w3.org/1999/xhtml"===o)&&(r=Ri(r,n)))try{var i=new r.constructorFunction;if(void 0===i.__CE_state||void 0===i.__CE_definition)throw Error("Failed to construct '"+n+"': The returned value was not constructed with the HTMLElement constructor.");if("http://www.w3.org/1999/xhtml"!==i.namespaceURI)throw Error("Failed to construct '"+n+"': The constructed element's namespace must be the HTML namespace.");if(i.hasAttributes())throw Error("Failed to construct '"+n+"': The constructed element must not have any attributes.");if(null!==i.firstChild)throw Error("Failed to construct '"+n+"': The constructed element must not have any children.");if(null!==i.parentNode)throw Error("Failed to construct '"+n+"': The constructed element must not have a parent node.");if(i.ownerDocument!==e)throw Error("Failed to construct '"+n+"': The constructed element's owner document is incorrect.");if(i.localName!==n)throw Error("Failed to construct '"+n+"': The constructed element's local name is incorrect.");return i}catch(r){return Si(r),e=null===o?kr.call(e,n):Br.call(e,o,n),Object.setPrototypeOf(e,HTMLUnknownElement.prototype),e.__CE_state=2,e.__CE_definition=void 0,bi(t,e),e}return bi(t,e=null===o?kr.call(e,n):Br.call(e,o,n)),e}function Si(t){var e="",n="",o=0,r=0;t instanceof Error?(e=t.message,n=t.sourceURL||t.fileName||"",o=t.line||t.lineNumber||0,r=t.column||t.columnNumber||0):e="Uncaught "+String(t);var i=void 0;void 0===ErrorEvent.prototype.initErrorEvent?i=new ErrorEvent("error",{cancelable:!0,message:e,filename:n,lineno:o,colno:r,error:t}):((i=document.createEvent("ErrorEvent")).initErrorEvent("error",!1,!0,e,n,o),i.preventDefault=function(){Object.defineProperty(this,"defaultPrevented",{configurable:!0,get:function(){return!0}})}),void 0===i.error&&Object.defineProperty(i,"error",{configurable:!0,enumerable:!0,get:function(){return t}}),window.dispatchEvent(i),i.defaultPrevented||console.error(t)}function Ti(){var t=this;this.I=void 0,this.Ka=new Promise((function(e){t.g=e}))}function xi(t){var e=document;this.X=void 0,this.S=t,this.g=e,Ai(this.S,this.g),"loading"===this.g.readyState&&(this.X=new MutationObserver(this.h.bind(this)),this.X.observe(this.g,{childList:!0,subtree:!0}))}function Oi(t){t.X&&t.X.disconnect()}function ki(t){this.ma=new Map,this.na=new Map,this.Fa=new Map,this.wa=!1,this.za=new Map,this.la=function(t){return t()},this.V=!1,this.oa=[],this.S=t,this.Ga=t.sb?new xi(t):void 0}function Bi(t,e){if(!di(e))throw new SyntaxError("The element name '"+e+"' is not valid.");if(Ri(t,e))throw Error("A custom element with name '"+e+"' has already been defined.");if(t.wa)throw Error("A custom element is already being defined.")}function Di(t,e,n){var o;t.wa=!0;try{var r=n.prototype;if(!(r instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var i=function(t){var e=r[t];if(void 0!==e&&!(e instanceof Function))throw Error("The '"+t+"' callback must be a function.");return e},a=i("connectedCallback"),s=i("disconnectedCallback"),l=i("adoptedCallback"),c=(o=i("attributeChangedCallback"))&&n.observedAttributes||[]}catch(t){throw t}finally{t.wa=!1}return n={localName:e,constructorFunction:n,connectedCallback:a,disconnectedCallback:s,adoptedCallback:l,attributeChangedCallback:o,observedAttributes:c,constructionStack:[]},t.na.set(e,n),t.Fa.set(n.constructorFunction,n),n}function Mi(t){if(!1!==t.V){t.V=!1;for(var e=[],n=t.oa,o=new Map,r=0;r<n.length;r++)o.set(n[r],[]);for(Ai(t.S,document,{upgrade:function(n){if(void 0===n.__CE_state){var r=n.localName,i=o.get(r);i?i.push(n):t.na.has(r)&&e.push(n)}}}),r=0;r<e.length;r++)wi(t.S,e[r]);for(r=0;r<n.length;r++){for(var i=n[r],a=o.get(i),s=0;s<a.length;s++)wi(t.S,a[s]);(i=t.za.get(i))&&i.resolve(void 0)}n.length=0}}function Ri(t,e){var n=t.na.get(e);if(n)return n;if(n=t.ma.get(e)){t.ma.delete(e);try{return Di(t,e,n())}catch(t){Si(t)}}}function Pi(t,e,n){function o(e){return function(n){for(var o=[],r=0;r<arguments.length;++r)o[r]=arguments[r];r=[];for(var i=[],a=0;a<o.length;a++){var s=o[a];if(s instanceof Element&&fi(s)&&i.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)r.push(s);else r.push(s)}for(e.apply(this,o),o=0;o<i.length;o++)Ci(t,i[o]);if(fi(this))for(o=0;o<r.length;o++)(i=r[o])instanceof Element&&Ei(t,i)}}void 0!==n.prepend&&(e.prepend=o(n.prepend)),void 0!==n.append&&(e.append=o(n.append))}vi.prototype.connectedCallback=function(t){var e=t.__CE_definition;if(e.connectedCallback)try{e.connectedCallback.call(t)}catch(t){Si(t)}},vi.prototype.disconnectedCallback=function(t){var e=t.__CE_definition;if(e.disconnectedCallback)try{e.disconnectedCallback.call(t)}catch(t){Si(t)}},vi.prototype.attributeChangedCallback=function(t,e,n,o,r){var i=t.__CE_definition;if(i.attributeChangedCallback&&-1<i.observedAttributes.indexOf(e))try{i.attributeChangedCallback.call(t,e,n,o,r)}catch(t){Si(t)}},Ti.prototype.resolve=function(t){if(this.I)throw Error("Already resolved.");this.I=t,this.g(t)},xi.prototype.h=function(t){var e=this.g.readyState;for("interactive"!==e&&"complete"!==e||Oi(this),e=0;e<t.length;e++)for(var n=t[e].addedNodes,o=0;o<n.length;o++)Ai(this.S,n[o])},(t=ki.prototype).jb=function(t,e){var n=this;if(!(e instanceof Function))throw new TypeError("Custom element constructor getters must be functions.");Bi(this,t),this.ma.set(t,e),this.oa.push(t),this.V||(this.V=!0,this.la((function(){return Mi(n)})))},t.define=function(t,e){var n=this;if(!(e instanceof Function))throw new TypeError("Custom element constructors must be functions.");Bi(this,t),Di(this,t,e),this.oa.push(t),this.V||(this.V=!0,this.la((function(){return Mi(n)})))},t.upgrade=function(t){Ai(this.S,t)},t.get=function(t){if(t=Ri(this,t))return t.constructorFunction},t.whenDefined=function(t){if(!di(t))return Promise.reject(new SyntaxError("'"+t+"' is not a valid custom element name."));var e=this.za.get(t);if(e)return e.Ka;e=new Ti,this.za.set(t,e);var n=this.na.has(t)||this.ma.has(t);return t=-1===this.oa.indexOf(t),n&&t&&e.resolve(void 0),e.Ka},t.polyfillWrapFlushCallback=function(t){this.Ga&&Oi(this.Ga);var e=this.la;this.la=function(n){return t((function(){return e(n)}))}},ki.prototype.define=ki.prototype.define,ki.prototype.upgrade=ki.prototype.upgrade,ki.prototype.get=ki.prototype.get,ki.prototype.whenDefined=ki.prototype.whenDefined,ki.prototype.polyfillDefineLazy=ki.prototype.jb,ki.prototype.polyfillWrapFlushCallback=ki.prototype.polyfillWrapFlushCallback;var Li={},ji=window.customElements;function Ii(){var t=new vi;!function(t){function e(){var e=this.constructor,n=document.__CE_registry.Fa.get(e);if(!n)throw Error("Failed to construct a custom element: The constructor was not registered with `customElements`.");var o=n.constructionStack;if(0===o.length)return o=kr.call(document,n.localName),Object.setPrototypeOf(o,e.prototype),o.__CE_state=1,o.__CE_definition=n,bi(t,o),o;var r=o.length-1,i=o[r];if(i===Li)throw Error("Failed to construct '"+n.localName+"': This element was already constructed.");return o[r]=Li,Object.setPrototypeOf(i,e.prototype),bi(t,i),i}e.prototype=ai.prototype,Object.defineProperty(HTMLElement.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:e}),window.HTMLElement=e}(t),function(t){Document.prototype.createElement=function(e){return Ni(t,this,e,null)},Document.prototype.importNode=function(e,n){return e=Dr.call(this,e,!!n),this.__CE_registry?Ai(t,e):yi(t,e),e},Document.prototype.createElementNS=function(e,n){return Ni(t,this,n,e)},Pi(t,Document.prototype,{prepend:Mr,append:Rr})}(t),Pi(t,DocumentFragment.prototype,{prepend:Pr,append:Lr}),function(t){function e(e,n){Object.defineProperty(e,"textContent",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(e){if(this.nodeType===Node.TEXT_NODE)n.set.call(this,e);else{var o=void 0;if(this.firstChild){var r=this.childNodes,i=r.length;if(0<i&&fi(this)){o=Array(i);for(var a=0;a<i;a++)o[a]=r[a]}}if(n.set.call(this,e),o)for(e=0;e<o.length;e++)Ci(t,o[e])}}})}Node.prototype.insertBefore=function(e,n){if(e instanceof DocumentFragment){var o=pi(e);if(e=Fr.call(this,e,n),fi(this))for(n=0;n<o.length;n++)Ei(t,o[n]);return e}return o=e instanceof Element&&fi(e),n=Fr.call(this,e,n),o&&Ci(t,e),fi(this)&&Ei(t,e),n},Node.prototype.appendChild=function(e){if(e instanceof DocumentFragment){var n=pi(e);if(e=Ir.call(this,e),fi(this))for(var o=0;o<n.length;o++)Ei(t,n[o]);return e}return n=e instanceof Element&&fi(e),o=Ir.call(this,e),n&&Ci(t,e),fi(this)&&Ei(t,e),o},Node.prototype.cloneNode=function(e){return e=jr.call(this,!!e),this.ownerDocument.__CE_registry?Ai(t,e):yi(t,e),e},Node.prototype.removeChild=function(e){var n=e instanceof Element&&fi(e),o=Ur.call(this,e);return n&&Ci(t,e),o},Node.prototype.replaceChild=function(e,n){if(e instanceof DocumentFragment){var o=pi(e);if(e=Hr.call(this,e,n),fi(this))for(Ci(t,n),n=0;n<o.length;n++)Ei(t,o[n]);return e}o=e instanceof Element&&fi(e);var r=Hr.call(this,e,n),i=fi(this);return i&&Ci(t,n),o&&Ci(t,e),i&&Ei(t,e),r},Wr&&Wr.get?e(Node.prototype,Wr):function(t,e){t.W=!0,t.ca.push(e)}(t,(function(t){e(t,{enumerable:!0,configurable:!0,get:function(){for(var t=[],e=this.firstChild;e;e=e.nextSibling)e.nodeType!==Node.COMMENT_NODE&&t.push(e.textContent);return t.join("")},set:function(t){for(;this.firstChild;)Ur.call(this,this.firstChild);null!=t&&""!==t&&Ir.call(this,document.createTextNode(t))}})}))}(t),function(t){function e(e,n){Object.defineProperty(e,"innerHTML",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(e){var o=this,r=void 0;if(fi(this)&&(r=[],gi(t,this,(function(t){t!==o&&r.push(t)}))),n.set.call(this,e),r)for(var i=0;i<r.length;i++){var a=r[i];1===a.__CE_state&&t.disconnectedCallback(a)}return this.ownerDocument.__CE_registry?Ai(t,this):yi(t,this),e}})}function n(e,n){e.insertAdjacentElement=function(e,o){var r=fi(o);return e=n.call(this,e,o),r&&Ci(t,o),fi(e)&&Ei(t,o),e}}function o(e,n){function o(e,n){for(var o=[];e!==n;e=e.nextSibling)o.push(e);for(n=0;n<o.length;n++)Ai(t,o[n])}e.insertAdjacentHTML=function(t,e){if("beforebegin"===(t=t.toLowerCase())){var r=this.previousSibling;n.call(this,t,e),o(r||this.parentNode.firstChild,this)}else if("afterbegin"===t)r=this.firstChild,n.call(this,t,e),o(this.firstChild,r);else if("beforeend"===t)r=this.lastChild,n.call(this,t,e),o(r||this.firstChild,null);else{if("afterend"!==t)throw new SyntaxError("The value provided ("+String(t)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");r=this.nextSibling,n.call(this,t,e),o(this.nextSibling,r)}}}Vr&&(Element.prototype.attachShadow=function(e){if(e=Vr.call(this,e),t.W&&!e.__CE_patched){e.__CE_patched=!0;for(var n=0;n<t.ca.length;n++)t.ca[n](e)}return this.__CE_shadowRoot=e}),qr&&qr.get?e(Element.prototype,qr):si&&si.get?e(HTMLElement.prototype,si):function(t,e){t.W=!0,t.g.push(e)}(t,(function(t){e(t,{enumerable:!0,configurable:!0,get:function(){return jr.call(this,!0).innerHTML},set:function(t){var e="template"===this.localName,n=e?this.content:this,o=Br.call(document,this.namespaceURI,this.localName);for(o.innerHTML=t;0<n.childNodes.length;)Ur.call(n,n.childNodes[0]);for(t=e?o.content:o;0<t.childNodes.length;)Ir.call(n,t.childNodes[0])}})})),Element.prototype.setAttribute=function(e,n){if(1!==this.__CE_state)return Gr.call(this,e,n);var o=zr.call(this,e);Gr.call(this,e,n),n=zr.call(this,e),t.attributeChangedCallback(this,e,o,n,null)},Element.prototype.setAttributeNS=function(e,n,o){if(1!==this.__CE_state)return Yr.call(this,e,n,o);var r=Kr.call(this,e,n);Yr.call(this,e,n,o),o=Kr.call(this,e,n),t.attributeChangedCallback(this,n,r,o,e)},Element.prototype.removeAttribute=function(e){if(1!==this.__CE_state)return $r.call(this,e);var n=zr.call(this,e);$r.call(this,e),null!==n&&t.attributeChangedCallback(this,e,n,null,null)},Xr&&(Element.prototype.toggleAttribute=function(e,n){if(1!==this.__CE_state)return Xr.call(this,e,n);var o=zr.call(this,e);return null!==o!==(n=Xr.call(this,e,n))&&t.attributeChangedCallback(this,e,o,n?"":null,null),n}),Element.prototype.removeAttributeNS=function(e,n){if(1!==this.__CE_state)return Jr.call(this,e,n);var o=Kr.call(this,e,n);Jr.call(this,e,n);var r=Kr.call(this,e,n);o!==r&&t.attributeChangedCallback(this,n,o,r,e)},li?n(HTMLElement.prototype,li):Zr&&n(Element.prototype,Zr),ci?o(HTMLElement.prototype,ci):Qr&&o(Element.prototype,Qr),Pi(t,Element.prototype,{prepend:ti,append:ei}),function(t){function e(e){return function(n){for(var o=[],r=0;r<arguments.length;++r)o[r]=arguments[r];r=[];for(var i=[],a=0;a<o.length;a++){var s=o[a];if(s instanceof Element&&fi(s)&&i.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)r.push(s);else r.push(s)}for(e.apply(this,o),o=0;o<i.length;o++)Ci(t,i[o]);if(fi(this))for(o=0;o<r.length;o++)(i=r[o])instanceof Element&&Ei(t,i)}}var n=Element.prototype;void 0!==ni&&(n.before=e(ni)),void 0!==oi&&(n.after=e(oi)),void 0!==ri&&(n.replaceWith=function(e){for(var n=[],o=0;o<arguments.length;++o)n[o]=arguments[o];o=[];for(var r=[],i=0;i<n.length;i++){var a=n[i];if(a instanceof Element&&fi(a)&&r.push(a),a instanceof DocumentFragment)for(a=a.firstChild;a;a=a.nextSibling)o.push(a);else o.push(a)}for(i=fi(this),ri.apply(this,n),n=0;n<r.length;n++)Ci(t,r[n]);if(i)for(Ci(t,this),n=0;n<o.length;n++)(r=o[n])instanceof Element&&Ei(t,r)}),void 0!==ii&&(n.remove=function(){var e=fi(this);ii.call(this),e&&Ci(t,this)})}(t)}(t),window.CustomElementRegistry=ki,t=new ki(t),document.__CE_registry=t,Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:t})}function Fi(){this.end=this.start=0,this.rules=this.parent=this.previous=null,this.cssText=this.parsedCssText="",this.atRule=!1,this.type=0,this.parsedSelector=this.selector=this.keyframesName=""}function Ui(t){var e=t=t.replace(Ki,"").replace(Yi,""),n=new Fi;n.start=0,n.end=e.length;for(var o=n,r=0,i=e.length;r<i;r++)if("{"===e[r]){o.rules||(o.rules=[]);var a=o,s=a.rules[a.rules.length-1]||null;(o=new Fi).start=r+1,o.parent=a,o.previous=s,a.rules.push(o)}else"}"===e[r]&&(o.end=r+1,o=o.parent||n);return Hi(n,t)}function Hi(t,e){var n=e.substring(t.start,t.end-1);if(t.parsedCssText=t.cssText=n.trim(),t.parent&&(n=function(t){return t.replace(/\\([0-9a-f]{1,6})\s/gi,(function(t,e){for(e=6-(t=e).length;e--;)t="0"+t;return"\\"+t}))}(n=e.substring(t.previous?t.previous.end:t.parent.start,t.start-1)),n=(n=n.replace(na," ")).substring(n.lastIndexOf(";")+1),n=t.parsedSelector=t.selector=n.trim(),t.atRule=0===n.indexOf("@"),t.atRule?0===n.indexOf("@media")?t.type=$i:n.match(ea)&&(t.type=Gi,t.keyframesName=t.selector.split(na).pop()):t.type=0===n.indexOf("--")?Xi:zi),n=t.rules)for(var o=0,r=n.length,i=void 0;o<r&&(i=n[o]);o++)Hi(i,e);return t}function Wi(t,e,n){n=void 0===n?"":n;var o="";if(t.cssText||t.rules){var r,i=t.rules;if((r=i)&&(r=!((r=i[0])&&r.selector&&0===r.selector.indexOf("--"))),r){r=0;for(var a=i.length,s=void 0;r<a&&(s=i[r]);r++)o=Wi(s,e,o)}else(o=(e=e?t.cssText:(e=(e=t.cssText).replace(Ji,"").replace(Zi,"")).replace(Qi,"").replace(ta,"")).trim())&&(o="  "+o+"\n")}return o&&(t.selector&&(n+=t.selector+" {\n"),n+=o,t.selector&&(n+="}\n\n")),n}ji&&!ji.forcePolyfill&&"function"==typeof ji.define&&"function"==typeof ji.get||Ii(),window.__CE_installPolyfill=Ii;var Vi,qi,zi=1,Gi=7,$i=4,Xi=1e3,Ki=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,Yi=/@import[^;]*;/gim,Ji=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,Zi=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,Qi=/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,ta=/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,ea=/^@[^\s]*keyframes/,na=/\s+/g,oa=!(window.ShadyDOM&&window.ShadyDOM.inUse);function ra(t){Vi=(!t||!t.shimcssproperties)&&(oa||!(navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)||!window.CSS||!CSS.supports||!CSS.supports("box-shadow","0 0 0 var(--foo)")))}window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(qi=window.ShadyCSS.cssBuild);var ia=!(!window.ShadyCSS||!window.ShadyCSS.disableRuntime);window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?Vi=window.ShadyCSS.nativeCss:window.ShadyCSS?(ra(window.ShadyCSS),window.ShadyCSS=void 0):ra(window.WebComponents&&window.WebComponents.flags);var aa=Vi,sa=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,la=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,ca=/(--[\w-]+)\s*([:,;)]|$)/gi,ua=/(animation\s*:)|(animation-name\s*:)/,da=/@media\s(.*)/,ha=/\{[^}]*\}/g,fa=new Set;function pa(t,e){return t?("string"==typeof t&&(t=Ui(t)),e&&va(t,e),Wi(t,aa)):""}function ma(t){return!t.__cssRules&&t.textContent&&(t.__cssRules=Ui(t.textContent)),t.__cssRules||null}function _a(t){return!!t.parent&&t.parent.type===Gi}function va(t,e,n,o){if(t){var r=!1,i=t.type;if(o&&i===$i){var a=t.selector.match(da);a&&(window.matchMedia(a[1]).matches||(r=!0))}if(i===zi?e(t):n&&i===Gi?n(t):i===Xi&&(r=!0),(t=t.rules)&&!r)for(r=0,i=t.length,a=void 0;r<i&&(a=t[r]);r++)va(a,e,n,o)}}function ga(t,e,n,o){var r=document.createElement("style");return e&&r.setAttribute("scope",e),r.textContent=t,Ea(r,n,o),r}var ya=null;function ba(t){t=document.createComment(" Shady DOM styles for "+t+" ");var e=document.head;return e.insertBefore(t,(ya?ya.nextSibling:null)||e.firstChild),ya=t}function Ea(t,e,n){(e=e||document.head).insertBefore(t,n&&n.nextSibling||e.firstChild),ya?t.compareDocumentPosition(ya)===Node.DOCUMENT_POSITION_PRECEDING&&(ya=t):ya=t}function Ca(t,e){for(var n=0,o=t.length;e<o;e++)if("("===t[e])n++;else if(")"===t[e]&&0==--n)return e;return-1}function Aa(t,e){var n=t.indexOf("var(");if(-1===n)return e(t,"","","");var o=Ca(t,n+3),r=t.substring(n+4,o);return n=t.substring(0,n),t=Aa(t.substring(o+1),e),-1===(o=r.indexOf(","))?e(n,r.trim(),"",t):e(n,r.substring(0,o).trim(),r.substring(o+1).trim(),t)}function wa(t,e){oa?t.setAttribute("class",e):window.ShadyDOM.nativeMethods.setAttribute.call(t,"class",e)}var Na=window.ShadyDOM&&window.ShadyDOM.wrap||function(t){return t};function Sa(t){var e=t.localName,n="";return e?-1<e.indexOf("-")||(n=e,e=t.getAttribute&&t.getAttribute("is")||""):(e=t.is,n=t.extends),{is:e,ja:n}}function Ta(t){for(var e=[],n="",o=0;0<=o&&o<t.length;o++)if("("===t[o]){var r=Ca(t,o);n+=t.slice(o,r+1),o=r}else","===t[o]?(e.push(n),n=""):n+=t[o];return n&&e.push(n),e}function xa(t){if(void 0!==qi)return qi;if(void 0===t.__cssBuild){var e=t.getAttribute("css-build");if(e)t.__cssBuild=e;else{if(""!==(e=(e="template"===t.localName?t.content.firstChild:t.firstChild)instanceof Comment&&"css-build"===(e=e.textContent.trim().split(":"))[0]?e[1]:"")){var n="template"===t.localName?t.content.firstChild:t.firstChild;n.parentNode.removeChild(n)}t.__cssBuild=e}}return t.__cssBuild||""}function Oa(t){return!(""===(t=void 0===t?"":t)||!aa)&&(oa?"shadow"===t:"shady"===t)}function ka(){}function Ba(t,e,n){var o;if(e.nodeType===Node.ELEMENT_NODE&&n(e),o="template"===e.localName?(e.content||e._content||e).childNodes:e.children||e.childNodes)for(e=0;e<o.length;e++)Ba(t,o[e],n)}function Da(t,e,n){if(e)if(t.classList)n?(t.classList.remove("style-scope"),t.classList.remove(e)):(t.classList.add("style-scope"),t.classList.add(e));else if(t.getAttribute){var o=t.getAttribute("class");n?o&&wa(t,e=o.replace("style-scope","").replace(e,"")):wa(t,(o?o+" ":"")+"style-scope "+e)}}function Ma(t,e,n){Ba(Ka,t,(function(t){Da(t,e,!0),Da(t,n)}))}function Ra(t,e){Ba(Ka,t,(function(t){Da(t,e||"",!0)}))}function Pa(t,e,n,o,r){var i=Ka;return""===(r=void 0===r?"":r)&&(r=oa||"shady"===(void 0===o?"":o)?pa(e,n):function(t,e,n,o,r){var i=La(n,o);return n=n?"."+n:"",pa(e,(function(e){e.i||(e.selector=e.G=ja(t,e,t.h,n,i),e.i=!0),r&&r(e,n,i)}))}(i,e,(t=Sa(t)).is,t.ja,n)+"\n\n"),r.trim()}function La(t,e){return e?"[is="+t+"]":t}function ja(t,e,n,o,r){var i=Ta(e.selector);if(!_a(e)){e=0;for(var a=i.length,s=void 0;e<a&&(s=i[e]);e++)i[e]=n.call(t,s,o,r)}return i.filter((function(t){return!!t})).join(",")}function Ia(t){return t.replace(Ha,(function(t,e,n){return-1<n.indexOf("+")?n=n.replace(/\+/g,"___"):-1<n.indexOf("___")&&(n=n.replace(/___/g,"+")),":"+e+"("+n+")"}))}function Fa(t,e){t=t.split(/(\[.+?\])/);for(var n=[],o=0;o<t.length;o++)if(1==o%2)n.push(t[o]);else{var r=t[o];""===r&&o===t.length-1||((r=r.split(":"))[0]+=e,n.push(r.join(":")))}return n.join("")}function Ua(t){":root"===t.selector&&(t.selector="html")}ka.prototype.h=function(t,e,n){var o=!1;t=t.trim();var r=Ha.test(t);r&&(t=Ia(t=t.replace(Ha,(function(t,e,n){return":"+e+"("+n.replace(/\s/g,"")+")"}))));var i=Xa.test(t);if(i){var a=function(t){for(var e,n=[];e=t.match(Xa);){var o=e.index,r=Ca(t,o);if(-1===r)throw Error(e.input+" selector missing ')'");e=t.slice(o,r+1),t=t.replace(e,""),n.push(e)}return{Ea:t,matches:n}}(t);t=a.Ea,a=a.matches}return t=(t=t.replace(qa,":host $1")).replace(Wa,(function(t,r,i){return o||(t=function(t,e,n,o){var r=t.indexOf("::slotted");if(0<=t.indexOf(":host")?t=function(t,e){var n=t.match(za);return(n=n&&n[2].trim()||"")?n[0].match(Va)?t.replace(za,(function(t,n,o){return e+o})):n.split(Va)[0]===e?n:"should_not_match":t.replace(":host",e)}(t,o):0!==r&&(t=n?Fa(t,n):t),n=!1,0<=r&&(e="",n=!0),n){var i=!0;n&&(t=t.replace(Ga,(function(t,e){return" > "+e})))}return{value:t,Ya:e,stop:i}}(i,r,e,n),o=o||t.stop,r=t.Ya,i=t.value),r+i})),i&&(t=function(t,e){var n=t.split("");return e.reduce((function(t,e,o){return t+e+n[o+1]}),n[0])}(t,a)),r&&(t=Ia(t)),t.replace($a,(function(t,e,n,o){return'[dir="'+n+'"] '+e+o+", "+e+'[dir="'+n+'"]'+o}))},ka.prototype.i=function(t){return t.match(":host")?"":t.match("::slotted")?this.h(t,":not(.style-scope)"):Fa(t.trim(),":not(.style-scope)")},i.Object.defineProperties(ka.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});var Ha=/:(nth[-\w]+)\(([^)]+)\)/,Wa=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,Va=/[[.:#*]/,qa=/^(::slotted)/,za=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Ga=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,$a=/(.*):dir\((?:(ltr|rtl))\)(.*)/,Xa=/:(?:matches|any|-(?:webkit|moz)-any)/,Ka=new ka;function Ya(t,e,n,o,r){this.M=t||null,this.h=e||null,this.Ca=n||[],this.K=null,this.cssBuild=r||"",this.ja=o||"",this.g=this.L=this.R=null}function Ja(t){return t?t.__styleInfo:null}function Za(t,e){return t.__styleInfo=e}function Qa(t){var e=this.matches||this.matchesSelector||this.mozMatchesSelector||this.msMatchesSelector||this.oMatchesSelector||this.webkitMatchesSelector;return e&&e.call(this,t)}Ya.prototype.i=function(){return this.M},Ya.prototype._getStyleRules=Ya.prototype.i;var ts=/:host\s*>\s*/,es=navigator.userAgent.match("Trident");function ns(){}function os(t){if(!t.F){var e={},n={};rs(t,n)&&(e.P=n,t.rules=null),e.cssText=t.parsedCssText.replace(ha,"").replace(sa,""),t.F=e}}function rs(t,e){var n=t.F;if(!n){n=t.parsedCssText;for(var o;t=sa.exec(n);)"inherit"===(o=(t[2]||t[3]).trim())&&"unset"===o||(e[t[1].trim()]=o),o=!0;return o}if(n.P)return Object.assign(e,n.P),!0}function is(t,e,n){return e&&(e=0<=e.indexOf(";")?as(t,e,n):Aa(e,(function(e,o,r,i){return o?((o=is(t,n[o],n))&&"initial"!==o?"apply-shim-inherit"===o&&(o="inherit"):o=is(t,n[r]||r,n)||r,e+(o||"")+i):e+i}))),e&&e.trim()||""}function as(t,e,n){e=e.split(";");for(var o,r,i=0;i<e.length;i++)if(o=e[i]){if(la.lastIndex=0,r=la.exec(o))o=is(t,n[r[1]],n);else if(-1!==(r=o.indexOf(":"))){var a=o.substring(r);a=is(t,a=a.trim(),n)||a,o=o.substring(0,r)+a}e[i]=o&&o.lastIndexOf(";")===o.length-1?o.slice(0,-1):o||""}return e.join(";")}function ss(t){return function(e){return e.replace(t.u,t.g)}}function ls(t,e){var n=cs,o=ma(t);t.textContent=pa(o,(function(t){var o=t.cssText=t.parsedCssText;t.F&&t.F.cssText&&(o=o.replace(Ji,"").replace(Zi,""),t.cssText=as(n,o,e))}))}i.Object.defineProperties(ns.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var cs=new ns,us={},ds=window.customElements;if(ds&&!oa&&!ia){var hs=ds.define;ds.define=function(t,e,n){us[t]||(us[t]=ba(t)),hs.call(ds,t,e,n)}}function fs(){this.cache={}}function ps(){}fs.prototype.store=function(t,e,n,o){var r=this.cache[t]||[];r.push({P:e,styleElement:n,L:o}),100<r.length&&r.shift(),this.cache[t]=r};var ms=new RegExp(Ka.g+"\\s*([^\\s]*)");function _s(t){return(t=(t.classList&&t.classList.value?t.classList.value:t.getAttribute("class")||"").match(ms))?t[1]:""}function vs(t){var e=Na(t).getRootNode();return e===t||e===t.ownerDocument?"":(t=e.host)?Sa(t).is:""}function gs(t){for(var e=0;e<t.length;e++){var n=t[e];if(n.target!==document.documentElement&&n.target!==document.head)for(var o=0;o<n.addedNodes.length;o++){var r=n.addedNodes[o];if(r.nodeType===Node.ELEMENT_NODE){var i=r.getRootNode(),a=_s(r);if(a&&i===r.ownerDocument&&("style"!==r.localName&&"template"!==r.localName||""===xa(r)))Ra(r,a);else if(i instanceof ShadowRoot)for((i=vs(r))!==a&&Ma(r,a,i),r=window.ShadyDOM.nativeMethods.querySelectorAll.call(r,":not(."+Ka.g+")"),a=0;a<r.length;a++){var s=vs(i=r[a]);s&&Da(i,s)}}}}}if(!(oa||window.ShadyDOM&&window.ShadyDOM.handlesDynamicScoping)){var ys=new MutationObserver(gs),bs=function(t){ys.observe(t,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)bs(document);else{var Es=function(){bs(document.body)};window.HTMLImports?window.HTMLImports.whenReady(Es):requestAnimationFrame((function(){if("loading"===document.readyState){var t=function(){Es(),document.removeEventListener("readystatechange",t)};document.addEventListener("readystatechange",t)}else Es()}))}ps=function(){gs(ys.takeRecords())}}var Cs={},As=Promise.resolve();function ws(t){(t=Cs[t])&&(t._applyShimCurrentVersion=t._applyShimCurrentVersion||0,t._applyShimValidatingVersion=t._applyShimValidatingVersion||0,t._applyShimNextVersion=(t._applyShimNextVersion||0)+1)}function Ns(t){return t._applyShimCurrentVersion===t._applyShimNextVersion}var Ss={},Ts=new fs;function xs(){this.ea={},this.i=document.documentElement;var t=new Fi;t.rules=[],this.u=Za(this.i,new Ya(t)),this.O=!1,this.g=this.h=null}function Os(t){var e=Sa(t),n=e.is;e=e.ja;var o=us[n]||null,r=Cs[n];if(r)return Za(t,e=new Ya(n=r._styleAst,o,r.g,e,r=xa(r))),e}function ks(t){if(!t.h&&window.ShadyCSS&&window.ShadyCSS.ApplyShim){t.h=window.ShadyCSS.ApplyShim,t.h.invalidCallback=ws;var e=!0}else e=!1;return function(t){!t.g&&window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&(t.g=window.ShadyCSS.CustomStyleInterface,t.g.transformCallback=function(e){t.Qa(e)},t.g.validateCallback=function(){requestAnimationFrame((function(){(t.g.enqueued||t.O)&&t.flushCustomStyles()}))})}(t),e}function Bs(t,e,n){var o=Sa(e).is;if(n.K){var r,i=n.K;for(r in i)null===r?e.style.removeProperty(r):e.style.setProperty(r,i[r])}!(i=Cs[o])&&e!==t.i||i&&""!==xa(i)||!i||!i._style||Ns(i)||((Ns(i)||i._applyShimValidatingVersion!==i._applyShimNextVersion)&&(ks(t),t.h&&t.h.transformRules(i._styleAst,o),i._style.textContent=Pa(e,n.M),function(t){t._applyShimValidatingVersion=t._applyShimNextVersion,t._validating||(t._validating=!0,As.then((function(){t._applyShimCurrentVersion=t._applyShimNextVersion,t._validating=!1})))}(i)),oa&&(t=e.shadowRoot)&&(t=t.querySelector("style"))&&(t.textContent=Pa(e,n.M)),n.M=i._styleAst)}function Ds(t,e){return(e=Na(e).getRootNode().host)?Ja(e)||Os(e)?e:Ds(t,e):t.i}function Ms(t,e,n){var o=Ds(t,e),r=Ja(o),i=r.R;for(var a in o===t.i||i||(Ms(t,o,r),i=r.R),t=Object.create(i||null),o=function(t,e,n){var o={},r={};return va(e,(function(e){!function(t,e,n,o){if(e.F||os(e),e.F.P){var r=Sa(t);t=r.is,r=r.ja,r=t?La(t,r):"html";var i=e.parsedSelector,a=!!i.match(ts)||"html"===r&&-1<i.indexOf("html"),s=0===i.indexOf(":host")&&!a;"shady"===n&&(s=!(a=i===r+" > *."+r||-1!==i.indexOf("html"))&&0===i.indexOf(r)),(a||s)&&(n=r,s&&(e.G||(e.G=ja(Ka,e,Ka.h,t?"."+t:"",r)),n=e.G||r),a&&"html"===r&&(n=e.G||e.O),o({Ea:n,gb:s,vb:a}))}}(t,e,n,(function(n){Qa.call(t._element||t,n.Ea)&&(n.gb?rs(e,o):rs(e,r))}))}),null,!0),{mb:r,eb:o}}(e,n.M,n.cssBuild),e=function(t,e){var n={},o=[];return va(t,(function(t){t.F||os(t);var r=t.G||t.parsedSelector;e&&t.F.P&&r&&Qa.call(e,r)&&(rs(t,n),t=t.index,r=parseInt(t/32,10),o[r]=(o[r]||0)|1<<t%32)}),null,!0),{P:n,key:o}}(r.M,e).P,Object.assign(t,o.eb,e,o.mb),e=n.K)((r=e[a])||0===r)&&(t[a]=r);for(a=cs,e=Object.getOwnPropertyNames(t),r=0;r<e.length;r++)t[o=e[r]]=is(a,t[o],t);n.R=t}(t=xs.prototype).flush=function(){ps()},t.bb=function(t){return ma(t)},t.qb=function(t){return pa(t)},t.prepareTemplate=function(t,e,n){this.prepareTemplateDom(t,e),this.prepareTemplateStyles(t,e,n)},t.prepareTemplateStyles=function(t,e,n){if(!t._prepared&&!ia){oa||us[e]||(us[e]=ba(e)),t._prepared=!0,t.name=e,t.extends=n,Cs[e]=t;var o=xa(t),r=Oa(o);n={is:e,extends:n};for(var i=[],a=t.content.querySelectorAll("style"),s=0;s<a.length;s++){var l=a[s];if(l.hasAttribute("shady-unscoped")){if(!oa){var c=l.textContent;if(!fa.has(c)){fa.add(c);var u=document.createElement("style");u.setAttribute("shady-unscoped",""),u.textContent=c,document.head.appendChild(u)}l.parentNode.removeChild(l)}}else i.push(l.textContent),l.parentNode.removeChild(l)}i=i.join("").trim()+(Ss[e]||""),ks(this),r||((a=!o)&&(a=la.test(i)||sa.test(i),la.lastIndex=0,sa.lastIndex=0),s=Ui(i),a&&aa&&this.h&&this.h.transformRules(s,e),t._styleAst=s),a=[],aa||(a=function(t){var e={},n=[],o=0;for(var r in va(t,(function(t){os(t),t.index=o++,t=t.F.cssText;for(var n;n=ca.exec(t);){var r=n[1];":"!==n[2]&&(e[r]=!0)}}),(function(t){n.push(t)})),t.h=n,t=[],e)t.push(r);return t}(t._styleAst)),a.length&&!aa||(s=oa?t.content:null,e=us[e]||null,o=(o=Pa(n,t._styleAst,null,o,r?i:"")).length?ga(o,n.is,s,e):null,t._style=o),t.g=a}},t.kb=function(t,e){Ss[e]=t.join(" ")},t.prepareTemplateDom=function(t,e){if(!ia){var n=xa(t);oa||"shady"===n||t._domPrepared||(t._domPrepared=!0,function(t,e){Ba(Ka,t,(function(t){Da(t,e||"")}))}(t.content,e))}},t.flushCustomStyles=function(){if(!ia){var t=ks(this);if(this.g){var e=this.g.processStyles();if((t||this.g.enqueued)&&!Oa(this.u.cssBuild)){if(aa){if(!this.u.cssBuild)for(t=0;t<e.length;t++){var n=this.g.getStyleForCustomStyle(e[t]);if(n&&aa&&this.h){var o=ma(n);ks(this),this.h.transformRules(o),n.textContent=pa(o)}}}else{for(function(t,e){e=e.map((function(e){return t.g.getStyleForCustomStyle(e)})).filter((function(t){return!!t})),e.sort((function(t,e){return(t=e.compareDocumentPosition(t))&Node.DOCUMENT_POSITION_FOLLOWING?1:t&Node.DOCUMENT_POSITION_PRECEDING?-1:0})),t.u.M.rules=e.map((function(t){return ma(t)}))}(this,e),Ms(this,this.i,this.u),t=0;t<e.length;t++)(n=this.g.getStyleForCustomStyle(e[t]))&&ls(n,this.u.R);this.O&&this.styleDocument()}this.g.enqueued=!1}}}},t.styleElement=function(t,e){if(ia){if(e){Ja(t)||Za(t,new Ya(null));var n=Ja(t);n.K=n.K||{},Object.assign(n.K,e),Bs(this,t,n)}}else if(n=Ja(t)||Os(t))if(t!==this.i&&(this.O=!0),e&&(n.K=n.K||{},Object.assign(n.K,e)),aa)Bs(this,t,n);else if(this.flush(),Ms(this,t,n),n.Ca&&n.Ca.length){var o;e=Sa(t).is;t:{if(o=Ts.cache[e])for(var r=o.length-1;0<=r;r--){var i=o[r];e:{for(var a=n.Ca,s=0;s<a.length;s++){var l=a[s];if(i.P[l]!==n.R[l]){a=!1;break e}}a=!0}if(a){o=i;break t}}o=void 0}a=o?o.styleElement:null,r=n.L,(i=o&&o.L)||(i=e+"-"+(i=this.ea[e]=(this.ea[e]||0)+1)),n.L=i,i=n.L,s=cs,s=a?a.textContent||"":function(t,e,n,o){var r=Sa(e),i=La(r.is,r.ja),a=new RegExp("(?:^|[^.#[:])"+(e.extends?"\\"+i.slice(0,-1)+"\\]":i)+"($|[.:[\\s>+~])"),s=Ja(e);r=s.M,s=s.cssBuild;var l=function(t,e){t=t.h;var n={};if(!oa&&t)for(var o=0,r=t[o];o<t.length;r=t[++o]){var i=r,a=e;i.u=new RegExp("\\b"+i.keyframesName+"(?!\\B|-)","g"),i.g=i.keyframesName+"-"+a,i.G=i.G||i.selector,i.selector=i.G.replace(i.keyframesName,i.g),n[r.keyframesName]=ss(r)}return n}(r,o);return Pa(e,r,(function(e){var r="";if(e.F||os(e),e.F.cssText&&(r=as(t,e.F.cssText,n)),e.cssText=r,!oa&&!_a(e)&&e.cssText){var s=r=e.cssText;if(null==e.Ma&&(e.Ma=ua.test(r)),e.Ma)if(null==e.ra)for(var c in e.ra=[],l)r!==(s=(s=l[c])(r))&&(r=s,e.ra.push(c));else{for(c=0;c<e.ra.length;++c)r=(s=l[e.ra[c]])(r);s=r}e.cssText=s,e.G=e.G||e.selector,r="."+o,s=0;for(var u=(c=Ta(e.G)).length,d=void 0;s<u&&(d=c[s]);s++)c[s]=d.match(a)?d.replace(i,r):r+" "+d;e.selector=c.join(",")}}),s)}(s,t,n.R,i);var c=(l=Ja(t)).g;c&&!oa&&c!==a&&(c._useCount--,0>=c._useCount&&c.parentNode&&c.parentNode.removeChild(c)),oa?l.g?(l.g.textContent=s,a=l.g):s&&(a=ga(s,i,t.shadowRoot,l.h)):a?a.parentNode||(es&&-1<s.indexOf("@media")&&(a.textContent=s),Ea(a,null,l.h)):s&&(a=ga(s,i,null,l.h)),a&&(a._useCount=a._useCount||0,l.g!=a&&a._useCount++,l.g=a),i=a,oa||(a=n.L,l=s=t.getAttribute("class")||"",r&&(l=s.replace(new RegExp("\\s*x-scope\\s*"+r+"\\s*","g")," ")),s!==(l+=(l?" ":"")+"x-scope "+a)&&wa(t,l)),o||Ts.store(e,n.R,i,n.L)}},t.styleDocument=function(t){this.styleSubtree(this.i,t)},t.styleSubtree=function(t,e){var n=Na(t),o=n.shadowRoot,r=t===this.i;if((o||r)&&this.styleElement(t,e),t=r?n:o)for(t=Array.from(t.querySelectorAll("*")).filter((function(t){return Na(t).shadowRoot})),e=0;e<t.length;e++)this.styleSubtree(t[e])},t.Qa=function(t){var e=this,n=xa(t);if(n!==this.u.cssBuild&&(this.u.cssBuild=n),!Oa(n)){var o=ma(t);va(o,(function(t){if(oa)Ua(t);else{var o=Ka;t.selector=t.parsedSelector,Ua(t),t.selector=t.G=ja(o,t,o.i,void 0,void 0)}aa&&""===n&&(ks(e),e.h&&e.h.transformRule(t))})),aa?t.textContent=pa(o):this.u.M.rules.push(o)}},t.getComputedStyleValue=function(t,e){var n;return aa||(n=(Ja(t)||Ja(Ds(this,t))).R[e]),(n=n||window.getComputedStyle(t).getPropertyValue(e))?n.trim():""},t.pb=function(t,e){var n=Na(t).getRootNode();if(e=e?("string"==typeof e?e:String(e)).split(/\s/):[],!(n=n.host&&n.host.localName)){var o=t.getAttribute("class");if(o){o=o.split(/\s/);for(var r=0;r<o.length;r++)if(o[r]===Ka.g){n=o[r+1];break}}}n&&e.push(Ka.g,n),aa||(n=Ja(t))&&n.L&&e.push(cs.g,n.L),wa(t,e.join(" "))},t.Xa=function(t){return Ja(t)},t.ob=function(t,e){Da(t,e)},t.rb=function(t,e){Da(t,e,!0)},t.nb=function(t){return vs(t)},t.$a=function(t){return _s(t)},xs.prototype.flush=xs.prototype.flush,xs.prototype.prepareTemplate=xs.prototype.prepareTemplate,xs.prototype.styleElement=xs.prototype.styleElement,xs.prototype.styleDocument=xs.prototype.styleDocument,xs.prototype.styleSubtree=xs.prototype.styleSubtree,xs.prototype.getComputedStyleValue=xs.prototype.getComputedStyleValue,xs.prototype.setElementClass=xs.prototype.pb,xs.prototype._styleInfoForNode=xs.prototype.Xa,xs.prototype.transformCustomStyleForDocument=xs.prototype.Qa,xs.prototype.getStyleAst=xs.prototype.bb,xs.prototype.styleAstToString=xs.prototype.qb,xs.prototype.flushCustomStyles=xs.prototype.flushCustomStyles,xs.prototype.scopeNode=xs.prototype.ob,xs.prototype.unscopeNode=xs.prototype.rb,xs.prototype.scopeForNode=xs.prototype.nb,xs.prototype.currentScopeForNode=xs.prototype.$a,xs.prototype.prepareAdoptedCssText=xs.prototype.kb,Object.defineProperties(xs.prototype,{nativeShadow:{get:function(){return oa}},nativeCss:{get:function(){return aa}}});var Rs,Ps,Ls=new xs;window.ShadyCSS&&(Rs=window.ShadyCSS.ApplyShim,Ps=window.ShadyCSS.CustomStyleInterface),window.ShadyCSS={ScopingShim:Ls,prepareTemplate:function(t,e,n){Ls.flushCustomStyles(),Ls.prepareTemplate(t,e,n)},prepareTemplateDom:function(t,e){Ls.prepareTemplateDom(t,e)},prepareTemplateStyles:function(t,e,n){Ls.flushCustomStyles(),Ls.prepareTemplateStyles(t,e,n)},styleSubtree:function(t,e){Ls.flushCustomStyles(),Ls.styleSubtree(t,e)},styleElement:function(t){Ls.flushCustomStyles(),Ls.styleElement(t)},styleDocument:function(t){Ls.flushCustomStyles(),Ls.styleDocument(t)},flushCustomStyles:function(){Ls.flushCustomStyles()},getComputedStyleValue:function(t,e){return Ls.getComputedStyleValue(t,e)},nativeCss:aa,nativeShadow:oa,cssBuild:qi,disableRuntime:ia},Rs&&(window.ShadyCSS.ApplyShim=Rs),Ps&&(window.ShadyCSS.CustomStyleInterface=Ps),function(t){function e(t){return""==t&&(i.call(this),this.m=!0),t.toLowerCase()}function n(t){var e=t.charCodeAt(0);return 32<e&&127>e&&-1==[34,35,60,62,63,96].indexOf(e)?t:encodeURIComponent(t)}function o(t){var e=t.charCodeAt(0);return 32<e&&127>e&&-1==[34,35,60,62,96].indexOf(e)?t:encodeURIComponent(t)}function r(t,r,a){function s(t){v.push(t)}var l=r||"scheme start",f=0,p="",m=!1,_=!1,v=[];t:for(;(null!=t[f-1]||0==f)&&!this.m;){var g=t[f];switch(l){case"scheme start":if(!g||!d.test(g)){if(r){s("Invalid scheme.");break t}p="",l="no scheme";continue}p+=g.toLowerCase(),l="scheme";break;case"scheme":if(g&&h.test(g))p+=g.toLowerCase();else{if(":"!=g){if(r){null!=g&&s("Code point not allowed in scheme: "+g);break t}p="",f=0,l="no scheme";continue}if(this.l=p,p="",r)break t;void 0!==c[this.l]&&(this.H=!0),l="file"==this.l?"relative":this.H&&a&&a.l==this.l?"relative or authority":this.H?"authority first slash":"scheme data"}break;case"scheme data":"?"==g?(this.A="?",l="query"):"#"==g?(this.C="#",l="fragment"):null!=g&&"\t"!=g&&"\n"!=g&&"\r"!=g&&(this.ya+=n(g));break;case"no scheme":if(a&&void 0!==c[a.l]){l="relative";continue}s("Missing scheme."),i.call(this),this.m=!0;break;case"relative or authority":if("/"!=g||"/"!=t[f+1]){s("Expected /, got: "+g),l="relative";continue}l="authority ignore slashes";break;case"relative":if(this.H=!0,"file"!=this.l&&(this.l=a.l),null==g){this.o=a.o,this.v=a.v,this.s=a.s.slice(),this.A=a.A,this.B=a.B,this.j=a.j;break t}if("/"==g||"\\"==g)"\\"==g&&s("\\ is an invalid code point."),l="relative slash";else if("?"==g)this.o=a.o,this.v=a.v,this.s=a.s.slice(),this.A="?",this.B=a.B,this.j=a.j,l="query";else{if("#"!=g){l=t[f+1];var y=t[f+2];("file"!=this.l||!d.test(g)||":"!=l&&"|"!=l||null!=y&&"/"!=y&&"\\"!=y&&"?"!=y&&"#"!=y)&&(this.o=a.o,this.v=a.v,this.B=a.B,this.j=a.j,this.s=a.s.slice(),this.s.pop()),l="relative path";continue}this.o=a.o,this.v=a.v,this.s=a.s.slice(),this.A=a.A,this.C="#",this.B=a.B,this.j=a.j,l="fragment"}break;case"relative slash":if("/"!=g&&"\\"!=g){"file"!=this.l&&(this.o=a.o,this.v=a.v,this.B=a.B,this.j=a.j),l="relative path";continue}"\\"==g&&s("\\ is an invalid code point."),l="file"==this.l?"file host":"authority ignore slashes";break;case"authority first slash":if("/"!=g){s("Expected '/', got: "+g),l="authority ignore slashes";continue}l="authority second slash";break;case"authority second slash":if(l="authority ignore slashes","/"!=g){s("Expected '/', got: "+g);continue}break;case"authority ignore slashes":if("/"!=g&&"\\"!=g){l="authority";continue}s("Expected authority, got: "+g);break;case"authority":if("@"==g){for(m&&(s("@ already seen."),p+="%40"),m=!0,g=0;g<p.length;g++)"\t"==(y=p[g])||"\n"==y||"\r"==y?s("Invalid whitespace in authority."):":"==y&&null===this.j?this.j="":(y=n(y),null!==this.j?this.j+=y:this.B+=y);p=""}else{if(null==g||"/"==g||"\\"==g||"?"==g||"#"==g){f-=p.length,p="",l="host";continue}p+=g}break;case"file host":if(null==g||"/"==g||"\\"==g||"?"==g||"#"==g){2!=p.length||!d.test(p[0])||":"!=p[1]&&"|"!=p[1]?(0!=p.length&&(this.o=e.call(this,p),p=""),l="relative path start"):l="relative path";continue}"\t"==g||"\n"==g||"\r"==g?s("Invalid whitespace in file host."):p+=g;break;case"host":case"hostname":if(":"!=g||_){if(null==g||"/"==g||"\\"==g||"?"==g||"#"==g){if(this.o=e.call(this,p),p="",l="relative path start",r)break t;continue}"\t"!=g&&"\n"!=g&&"\r"!=g?("["==g?_=!0:"]"==g&&(_=!1),p+=g):s("Invalid code point in host/hostname: "+g)}else if(this.o=e.call(this,p),p="",l="port","hostname"==r)break t;break;case"port":if(/[0-9]/.test(g))p+=g;else{if(null==g||"/"==g||"\\"==g||"?"==g||"#"==g||r){if(""!=p&&((p=parseInt(p,10))!=c[this.l]&&(this.v=p+""),p=""),r)break t;l="relative path start";continue}"\t"==g||"\n"==g||"\r"==g?s("Invalid code point in port: "+g):(i.call(this),this.m=!0)}break;case"relative path start":if("\\"==g&&s("'\\' not allowed in path."),l="relative path","/"!=g&&"\\"!=g)continue;break;case"relative path":null!=g&&"/"!=g&&"\\"!=g&&(r||"?"!=g&&"#"!=g)?"\t"!=g&&"\n"!=g&&"\r"!=g&&(p+=n(g)):("\\"==g&&s("\\ not allowed in relative path."),(y=u[p.toLowerCase()])&&(p=y),".."==p?(this.s.pop(),"/"!=g&&"\\"!=g&&this.s.push("")):"."==p&&"/"!=g&&"\\"!=g?this.s.push(""):"."!=p&&("file"==this.l&&0==this.s.length&&2==p.length&&d.test(p[0])&&"|"==p[1]&&(p=p[0]+":"),this.s.push(p)),p="","?"==g?(this.A="?",l="query"):"#"==g&&(this.C="#",l="fragment"));break;case"query":r||"#"!=g?null!=g&&"\t"!=g&&"\n"!=g&&"\r"!=g&&(this.A+=o(g)):(this.C="#",l="fragment");break;case"fragment":null!=g&&"\t"!=g&&"\n"!=g&&"\r"!=g&&(this.C+=g)}f++}}function i(){this.B=this.ya=this.l="",this.j=null,this.v=this.o="",this.s=[],this.C=this.A="",this.H=this.m=!1}function a(t,e){void 0===e||e instanceof a||(e=new a(String(e))),this.g=t,i.call(this),r.call(this,this.g.replace(/^[ \t\r\n\f]+|[ \t\r\n\f]+$/g,""),null,e)}var s=!1;try{var l=new URL("b","http://a");l.pathname="c%20d",s="http://a/c%20d"===l.href}catch(t){}if(!s){var c=Object.create(null);c.ftp=21,c.file=0,c.gopher=70,c.http=80,c.https=443,c.ws=80,c.wss=443;var u=Object.create(null);u["%2e"]=".",u[".%2e"]="..",u["%2e."]="..",u["%2e%2e"]="..";var d=/[a-zA-Z]/,h=/[a-zA-Z0-9+\-.]/;a.prototype={toString:function(){return this.href},get href(){if(this.m)return this.g;var t="";return""==this.B&&null==this.j||(t=this.B+(null!=this.j?":"+this.j:"")+"@"),this.protocol+(this.H?"//"+t+this.host:"")+this.pathname+this.A+this.C},set href(t){i.call(this),r.call(this,t)},get protocol(){return this.l+":"},set protocol(t){this.m||r.call(this,t+":","scheme start")},get host(){return this.m?"":this.v?this.o+":"+this.v:this.o},set host(t){!this.m&&this.H&&r.call(this,t,"host")},get hostname(){return this.o},set hostname(t){!this.m&&this.H&&r.call(this,t,"hostname")},get port(){return this.v},set port(t){!this.m&&this.H&&r.call(this,t,"port")},get pathname(){return this.m?"":this.H?"/"+this.s.join("/"):this.ya},set pathname(t){!this.m&&this.H&&(this.s=[],r.call(this,t,"relative path start"))},get search(){return this.m||!this.A||"?"==this.A?"":this.A},set search(t){!this.m&&this.H&&(this.A="?","?"==t[0]&&(t=t.slice(1)),r.call(this,t,"query"))},get hash(){return this.m||!this.C||"#"==this.C?"":this.C},set hash(t){this.m||(t?(this.C="#","#"==t[0]&&(t=t.slice(1)),r.call(this,t,"fragment")):this.C="")},get origin(){var t;if(this.m||!this.l)return"";switch(this.l){case"data":case"file":case"javascript":case"mailto":return"null"}return(t=this.host)?this.l+"://"+t:""}};var f=t.URL;f&&(a.createObjectURL=function(t){return f.createObjectURL.apply(f,arguments)},a.revokeObjectURL=function(t){f.revokeObjectURL(t)}),t.URL=a}}(window);var js=window.customElements,Is=!1,Fs=null;function Us(){window.HTMLTemplateElement.bootstrap&&window.HTMLTemplateElement.bootstrap(window.document),Fs&&Fs(),Is=!0,window.WebComponents.ready=!0,document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))}js.polyfillWrapFlushCallback&&js.polyfillWrapFlushCallback((function(t){Fs=t,Is&&t()})),"complete"!==document.readyState?(window.addEventListener("load",Us),window.addEventListener("DOMContentLoaded",(function(){window.removeEventListener("load",Us),Us()}))):Us()}).call(this)},647:function(t,e,n){var o=n(15),r=n(645)(o);r.push([t.id,".account-card {\n  display: flex;\n  font-family: var(--font-family-regular);\n  margin-bottom: var(--spacing-m);\n  border: 1px solid var(--color-lava-light);\n  padding: var(--spacing-l) var(--spacing-xs);\n  justify-content: space-between;\n}\n\n.account-card__information {\n  display: flex;\n}\n\n/*** IMAGE ***/\n.account-card__image {\n  display: inline-block;\n  margin-right: var(--spacing-m);\n  margin-left: var(--spacing-m);\n  display: flex;\n  align-items: center;\n}\n\n.account-card__image img {\n  width: 30px;\n  height: 30px;\n}\n\n/*** ACCOUNT BANK ***/\n#account-card__information-bank {\n  font-size: var(--font-size-smallBody);\n}\n\n/*** ACCOUNT NUMBER ***/\n.account-card__information-accountnumber--masked {\n  display: block;\n  width: 2px;\n  height: 2px;\n  background: var(--color-lava-dark);\n  border-radius: 100%;\n  margin-right: 2px;\n}\n\n#account-card__information-accountnumber {\n  display: flex;\n  align-items: center;\n  font-size: var(--font-size-caption);\n  color: var(--color-lava-dark);\n}\n\n#account-card__information-accountnumber--visible {\n  margin-left: var(--spacing-xs);\n}\n\n/*** ACCOUNT CHANGE BUTTON ***/\n.account-card__change-button {\n  align-self: center;\n  text-align: right;\n  font-family: var(--font-family-medium);\n  font-size: var(--font-size-smallBody);\n  margin-right: var(--spacing-s);\n}\n","",{version:3,sources:["webpack://./src/components/AccountCard/styles.css"],names:[],mappings:"AAAA;EACE,aAAa;EACb,uCAAuC;EACvC,+BAA+B;EAC/B,yCAAyC;EACzC,2CAA2C;EAC3C,8BAA8B;AAChC;;AAEA;EACE,aAAa;AACf;;AAEA,cAAc;AACd;EACE,qBAAqB;EACrB,8BAA8B;EAC9B,6BAA6B;EAC7B,aAAa;EACb,mBAAmB;AACrB;;AAEA;EACE,WAAW;EACX,YAAY;AACd;;AAEA,qBAAqB;AACrB;EACE,qCAAqC;AACvC;;AAEA,uBAAuB;AACvB;EACE,cAAc;EACd,UAAU;EACV,WAAW;EACX,kCAAkC;EAClC,mBAAmB;EACnB,iBAAiB;AACnB;;AAEA;EACE,aAAa;EACb,mBAAmB;EACnB,mCAAmC;EACnC,6BAA6B;AAC/B;;AAEA;EACE,8BAA8B;AAChC;;AAEA,8BAA8B;AAC9B;EACE,kBAAkB;EAClB,iBAAiB;EACjB,sCAAsC;EACtC,qCAAqC;EACrC,8BAA8B;AAChC",sourcesContent:[".account-card {\n  display: flex;\n  font-family: var(--font-family-regular);\n  margin-bottom: var(--spacing-m);\n  border: 1px solid var(--color-lava-light);\n  padding: var(--spacing-l) var(--spacing-xs);\n  justify-content: space-between;\n}\n\n.account-card__information {\n  display: flex;\n}\n\n/*** IMAGE ***/\n.account-card__image {\n  display: inline-block;\n  margin-right: var(--spacing-m);\n  margin-left: var(--spacing-m);\n  display: flex;\n  align-items: center;\n}\n\n.account-card__image img {\n  width: 30px;\n  height: 30px;\n}\n\n/*** ACCOUNT BANK ***/\n#account-card__information-bank {\n  font-size: var(--font-size-smallBody);\n}\n\n/*** ACCOUNT NUMBER ***/\n.account-card__information-accountnumber--masked {\n  display: block;\n  width: 2px;\n  height: 2px;\n  background: var(--color-lava-dark);\n  border-radius: 100%;\n  margin-right: 2px;\n}\n\n#account-card__information-accountnumber {\n  display: flex;\n  align-items: center;\n  font-size: var(--font-size-caption);\n  color: var(--color-lava-dark);\n}\n\n#account-card__information-accountnumber--visible {\n  margin-left: var(--spacing-xs);\n}\n\n/*** ACCOUNT CHANGE BUTTON ***/\n.account-card__change-button {\n  align-self: center;\n  text-align: right;\n  font-family: var(--font-family-medium);\n  font-size: var(--font-size-smallBody);\n  margin-right: var(--spacing-s);\n}\n"],sourceRoot:""}]),t.exports=r},872:function(t,e,n){var o=n(15),r=n(645)(o);r.push([t.id,"button {\n  background-color: var(--color-green);\n  border: none;\n  width: 100%;\n  text-align: center;\n  padding: var(--spacing-l);\n  cursor: pointer;\n}\n\napp-text {\n  width: 100%;\n}\n","",{version:3,sources:["webpack://./src/components/FilledButton/styles.css"],names:[],mappings:"AAAA;EACE,oCAAoC;EACpC,YAAY;EACZ,WAAW;EACX,kBAAkB;EAClB,yBAAyB;EACzB,eAAe;AACjB;;AAEA;EACE,WAAW;AACb",sourcesContent:["button {\n  background-color: var(--color-green);\n  border: none;\n  width: 100%;\n  text-align: center;\n  padding: var(--spacing-l);\n  cursor: pointer;\n}\n\napp-text {\n  width: 100%;\n}\n"],sourceRoot:""}]),t.exports=r},677:function(t,e,n){var o=n(15),r=n(645)(o);r.push([t.id,".container__title {\n  display: flex;\n  align-items: center;\n  justify-content: center;\n}\n\n.container__logo {\n  display: inline-block;\n  max-width: 85px;\n}\n\n.container__logo img {\n  width: 100%;\n}\n\n.container__filled-button {\n  margin-bottom: var(--spacing-m);\n}\n\napp-text #title {\n  display: inline-block;\n  text-align: center;\n  margin-bottom: var(--spacing-xs);\n}\n\napp-text #subtitle {\n  display: block;\n  font-size: var(--font-size-smallBody);\n  text-align: center;\n}\n","",{version:3,sources:["webpack://./src/components/Header/styles.css"],names:[],mappings:"AAAA;EACE,aAAa;EACb,mBAAmB;EACnB,uBAAuB;AACzB;;AAEA;EACE,qBAAqB;EACrB,eAAe;AACjB;;AAEA;EACE,WAAW;AACb;;AAEA;EACE,+BAA+B;AACjC;;AAEA;EACE,qBAAqB;EACrB,kBAAkB;EAClB,gCAAgC;AAClC;;AAEA;EACE,cAAc;EACd,qCAAqC;EACrC,kBAAkB;AACpB",sourcesContent:[".container__title {\n  display: flex;\n  align-items: center;\n  justify-content: center;\n}\n\n.container__logo {\n  display: inline-block;\n  max-width: 85px;\n}\n\n.container__logo img {\n  width: 100%;\n}\n\n.container__filled-button {\n  margin-bottom: var(--spacing-m);\n}\n\napp-text #title {\n  display: inline-block;\n  text-align: center;\n  margin-bottom: var(--spacing-xs);\n}\n\napp-text #subtitle {\n  display: block;\n  font-size: var(--font-size-smallBody);\n  text-align: center;\n}\n"],sourceRoot:""}]),t.exports=r},997:function(t,e,n){var o=n(15),r=n(645)(o);r.push([t.id,"a {\n  font-size: var(--font-size-caption);\n  color: var(--color-green-medium);\n  text-decoration: none;\n}\n","",{version:3,sources:["webpack://./src/components/LegalDisclaimer/styles.css"],names:[],mappings:"AAAA;EACE,mCAAmC;EACnC,gCAAgC;EAChC,qBAAqB;AACvB",sourcesContent:["a {\n  font-size: var(--font-size-caption);\n  color: var(--color-green-medium);\n  text-decoration: none;\n}\n"],sourceRoot:""}]),t.exports=r},800:function(t,e,n){var o=n(15),r=n(645)(o);r.push([t.id,"::slotted(*) {\n  font-family: var(--font-family-regular);\n  font-size: var(--font-size-body);\n  color: var(--color-lava);\n  margin: 0;\n  display: inline-block;\n}\n","",{version:3,sources:["webpack://./src/components/Text/styles.css"],names:[],mappings:"AAAA;EACE,uCAAuC;EACvC,gCAAgC;EAChC,wBAAwB;EACxB,SAAS;EACT,qBAAqB;AACvB",sourcesContent:["::slotted(*) {\n  font-family: var(--font-family-regular);\n  font-size: var(--font-size-body);\n  color: var(--color-lava);\n  margin: 0;\n  display: inline-block;\n}\n"],sourceRoot:""}]),t.exports=r},770:function(t,e,n){var o=n(15),r=n(645)(o);r.push([t.id,"button {\n  color: var(--color-green-medium);\n  font-weight: 500;\n  border: 0;\n  background: transparent;\n  cursor: pointer;\n  padding: var(--spacing-s) var(--spacing-xs);\n  width: 100%;\n}\n\napp-text {\n  width: 100%;\n}\n","",{version:3,sources:["webpack://./src/components/TextButton/styles.css"],names:[],mappings:"AAAA;EACE,gCAAgC;EAChC,gBAAgB;EAChB,SAAS;EACT,uBAAuB;EACvB,eAAe;EACf,2CAA2C;EAC3C,WAAW;AACb;;AAEA;EACE,WAAW;AACb",sourcesContent:["button {\n  color: var(--color-green-medium);\n  font-weight: 500;\n  border: 0;\n  background: transparent;\n  cursor: pointer;\n  padding: var(--spacing-s) var(--spacing-xs);\n  width: 100%;\n}\n\napp-text {\n  width: 100%;\n}\n"],sourceRoot:""}]),t.exports=r},320:function(t,e,n){var o=n(15),r=n(645)(o);r.push([t.id,"#app {\n  border: 1px solid var(--color-lava-light);\n  padding: var(--spacing-m);\n}\n","",{version:3,sources:["webpack://./src/view/App/styles.css"],names:[],mappings:"AAAA;EACE,yCAAyC;EACzC,yBAAyB;AAC3B",sourcesContent:["#app {\n  border: 1px solid var(--color-lava-light);\n  padding: var(--spacing-m);\n}\n"],sourceRoot:""}]),t.exports=r},217:function(t,e,n){var o=n(15),r=n(645)(o);r.push([t.id,"#consent-confirm-view {\n  text-align: center;\n}\n\n.container__buttons {\n  display: flex;\n  width: 100%;\n  margin-bottom: var(--spacing-m);\n}\n\n.container__header {\n  display: block;\n  margin-bottom: var(--spacing-xl);\n}\n\n.consent__text {\n  font-size: var(--font-size-smallBody);\n  margin-bottom: var(--spacing-xxl);\n}\n\n.button {\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  width: 100%;\n  font-size: var(--font-size-body);\n  font-family: var(--font-family-regular);\n}\n","",{version:3,sources:["webpack://./src/view/ConsentConfirmView/styles.css"],names:[],mappings:"AAAA;EACE,kBAAkB;AACpB;;AAEA;EACE,aAAa;EACb,WAAW;EACX,+BAA+B;AACjC;;AAEA;EACE,cAAc;EACd,gCAAgC;AAClC;;AAEA;EACE,qCAAqC;EACrC,iCAAiC;AACnC;;AAEA;EACE,aAAa;EACb,uBAAuB;EACvB,mBAAmB;EACnB,WAAW;EACX,gCAAgC;EAChC,uCAAuC;AACzC",sourcesContent:["#consent-confirm-view {\n  text-align: center;\n}\n\n.container__buttons {\n  display: flex;\n  width: 100%;\n  margin-bottom: var(--spacing-m);\n}\n\n.container__header {\n  display: block;\n  margin-bottom: var(--spacing-xl);\n}\n\n.consent__text {\n  font-size: var(--font-size-smallBody);\n  margin-bottom: var(--spacing-xxl);\n}\n\n.button {\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  width: 100%;\n  font-size: var(--font-size-body);\n  font-family: var(--font-family-regular);\n}\n"],sourceRoot:""}]),t.exports=r},922:function(t,e,n){var o=n(15),r=n(645)(o);r.push([t.id,"#consent-view {\n  text-align: center;\n}\n\n.container__buttons {\n  display: flex;\n  width: 100%;\n  margin-bottom: var(--spacing-m);\n}\n\n.container__header {\n  display: block;\n  margin-bottom: var(--spacing-xl);\n}\n\n.consent__text {\n  font-size: var(--font-size-smallBody);\n  margin-bottom: var(--spacing-xxl);\n}\n\n.button {\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  width: 100%;\n  font-size: var(--font-size-body);\n  font-family: var(--font-family-regular);\n}\n","",{version:3,sources:["webpack://./src/view/ConsentView/styles.css"],names:[],mappings:"AAAA;EACE,kBAAkB;AACpB;;AAEA;EACE,aAAa;EACb,WAAW;EACX,+BAA+B;AACjC;;AAEA;EACE,cAAc;EACd,gCAAgC;AAClC;;AAEA;EACE,qCAAqC;EACrC,iCAAiC;AACnC;;AAEA;EACE,aAAa;EACb,uBAAuB;EACvB,mBAAmB;EACnB,WAAW;EACX,gCAAgC;EAChC,uCAAuC;AACzC",sourcesContent:["#consent-view {\n  text-align: center;\n}\n\n.container__buttons {\n  display: flex;\n  width: 100%;\n  margin-bottom: var(--spacing-m);\n}\n\n.container__header {\n  display: block;\n  margin-bottom: var(--spacing-xl);\n}\n\n.consent__text {\n  font-size: var(--font-size-smallBody);\n  margin-bottom: var(--spacing-xxl);\n}\n\n.button {\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  width: 100%;\n  font-size: var(--font-size-body);\n  font-family: var(--font-family-regular);\n}\n"],sourceRoot:""}]),t.exports=r},228:function(t,e,n){var o=n(15),r=n(645)(o);r.push([t.id,"#first-user-view {\n  text-align: center;\n}\n\n.container__filled-button {\n  display: block;\n  margin-bottom: var(--spacing-m);\n}\n\n.container__header {\n  display: block;\n  margin-bottom: var(--spacing-m);\n}\n","",{version:3,sources:["webpack://./src/view/FirstUserView/styles.css"],names:[],mappings:"AAAA;EACE,kBAAkB;AACpB;;AAEA;EACE,cAAc;EACd,+BAA+B;AACjC;;AAEA;EACE,cAAc;EACd,+BAA+B;AACjC",sourcesContent:["#first-user-view {\n  text-align: center;\n}\n\n.container__filled-button {\n  display: block;\n  margin-bottom: var(--spacing-m);\n}\n\n.container__header {\n  display: block;\n  margin-bottom: var(--spacing-m);\n}\n"],sourceRoot:""}]),t.exports=r},934:function(t,e,n){var o=n(15),r=n(645)(o);r.push([t.id,".container__filled-button {\n  display: block;\n  margin-bottom: var(--spacing-m);\n}\n\n.container__header {\n  display: block;\n  margin-bottom: var(--spacing-m);\n}\n\n#consent__link {\n  font-size: var(--font-size-caption);\n  color: var(--color-green-medium);\n  cursor: pointer;\n}\n","",{version:3,sources:["webpack://./src/view/RecurringUserView/styles.css"],names:[],mappings:"AAAA;EACE,cAAc;EACd,+BAA+B;AACjC;;AAEA;EACE,cAAc;EACd,+BAA+B;AACjC;;AAEA;EACE,mCAAmC;EACnC,gCAAgC;EAChC,eAAe;AACjB",sourcesContent:[".container__filled-button {\n  display: block;\n  margin-bottom: var(--spacing-m);\n}\n\n.container__header {\n  display: block;\n  margin-bottom: var(--spacing-m);\n}\n\n#consent__link {\n  font-size: var(--font-size-caption);\n  color: var(--color-green-medium);\n  cursor: pointer;\n}\n"],sourceRoot:""}]),t.exports=r},611:function(t,e,n){var o=n(15),r=n(645)(o);r.push([t.id,"@font-face {\n  font-family: 'TrustlySansRegular';\n  src: url('https://assets.trustly.com/checkout/fonts/TrustlySans-Regular.woff')\n    format('woff');\n  font-weight: 400;\n  font-style: normal;\n}\n\n@font-face {\n  font-family: 'TrustlySansMedium';\n  src: url('https://assets.trustly.com/checkout/fonts/TrustlySans-Medium.woff')\n    format('woff');\n  font-weight: 500;\n  font-style: normal;\n}\n","",{version:3,sources:["webpack://./src/view/styles/fonts.css"],names:[],mappings:"AAAA;EACE,iCAAiC;EACjC;kBACgB;EAChB,gBAAgB;EAChB,kBAAkB;AACpB;;AAEA;EACE,gCAAgC;EAChC;kBACgB;EAChB,gBAAgB;EAChB,kBAAkB;AACpB",sourcesContent:["@font-face {\n  font-family: 'TrustlySansRegular';\n  src: url('https://assets.trustly.com/checkout/fonts/TrustlySans-Regular.woff')\n    format('woff');\n  font-weight: 400;\n  font-style: normal;\n}\n\n@font-face {\n  font-family: 'TrustlySansMedium';\n  src: url('https://assets.trustly.com/checkout/fonts/TrustlySans-Medium.woff')\n    format('woff');\n  font-weight: 500;\n  font-style: normal;\n}\n"],sourceRoot:""}]),t.exports=r},942:function(t,e,n){var o=n(15),r=n(645),i=n(611),a=r(o);a.i(i),a.push([t.id,"#trustly-widget {\n  width: 100%;\n  max-width: 350px;\n  font-size: 16px;\n\n  --spacing-xs: 4px;\n  --spacing-s: 8px;\n  --spacing-m: 12px;\n  --spacing-l: 16px;\n  --spacing-xl: 20px;\n  --spacing-xxl: 32px;\n\n  --font-family-regular: 'TrustlySansRegular', 'Helvetica Neue', 'Arial',\n    'sans-serif';\n  --font-family-medium: 'TrustlySandMedium', 'Helvetica Neue', 'Arial',\n    'sans-serif';\n\n  --font-size-title: 1.25em;\n  --font-size-body: 1em;\n  --font-size-smallBody: 0.875em;\n  --font-size-caption: 0.75em;\n\n  --color-lava: #00000;\n  --color-lava-dark: #3b4c5c;\n  --color-lava-medium: #65798b;\n  --color-lava-light: #d8dfe4;\n  --color-green: #0ee06e;\n  --color-green-medium: #007b74;\n}\n","",{version:3,sources:["webpack://./src/view/styles/main.css"],names:[],mappings:"AAEA;EACE,WAAW;EACX,gBAAgB;EAChB,eAAe;;EAEf,iBAAiB;EACjB,gBAAgB;EAChB,iBAAiB;EACjB,iBAAiB;EACjB,kBAAkB;EAClB,mBAAmB;;EAEnB;gBACc;EACd;gBACc;;EAEd,yBAAyB;EACzB,qBAAqB;EACrB,8BAA8B;EAC9B,2BAA2B;;EAE3B,oBAAoB;EACpB,0BAA0B;EAC1B,4BAA4B;EAC5B,2BAA2B;EAC3B,sBAAsB;EACtB,6BAA6B;AAC/B",sourcesContent:["@import url('./fonts.css');\n\n#trustly-widget {\n  width: 100%;\n  max-width: 350px;\n  font-size: 16px;\n\n  --spacing-xs: 4px;\n  --spacing-s: 8px;\n  --spacing-m: 12px;\n  --spacing-l: 16px;\n  --spacing-xl: 20px;\n  --spacing-xxl: 32px;\n\n  --font-family-regular: 'TrustlySansRegular', 'Helvetica Neue', 'Arial',\n    'sans-serif';\n  --font-family-medium: 'TrustlySandMedium', 'Helvetica Neue', 'Arial',\n    'sans-serif';\n\n  --font-size-title: 1.25em;\n  --font-size-body: 1em;\n  --font-size-smallBody: 0.875em;\n  --font-size-caption: 0.75em;\n\n  --color-lava: #00000;\n  --color-lava-dark: #3b4c5c;\n  --color-lava-medium: #65798b;\n  --color-lava-light: #d8dfe4;\n  --color-green: #0ee06e;\n  --color-green-medium: #007b74;\n}\n"],sourceRoot:""}]),t.exports=a},645:function(t){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=t(e);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,o){"string"==typeof t&&(t=[[null,t,""]]);var r={};if(o)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(r[a]=!0)}for(var s=0;s<t.length;s++){var l=[].concat(t[s]);o&&r[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),e.push(l))}},e}},15:function(t){"use strict";function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}t.exports=function(t){var n,o,r=(o=4,function(t){if(Array.isArray(t))return t}(n=t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null!=n){var o,r,i=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(i.push(o.value),!e||i.length!==e);a=!0);}catch(t){s=!0,r=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw r}}return i}}(n,o)||function(t,n){if(t){if("string"==typeof t)return e(t,n);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?e(t,n):void 0}}(n,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),i=r[1],a=r[3];if(!a)return i;if("function"==typeof btoa){var s=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),l="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(s),c="/*# ".concat(l," */"),u=a.sources.map((function(t){return"/*# sourceURL=".concat(a.sourceRoot||"").concat(t," */")}));return[i].concat(u).concat([c]).join("\n")}return[i].join("\n")}}},e={};function n(o){var r=e[o];if(void 0!==r)return r.exports;var i=e[o]={id:o,exports:{}};return t[o].call(i.exports,i,i.exports,n),i.exports}n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},n.h=function(){return"6429a03660f46abfa302"},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},function(){"use strict";n(575);const t=window.__checkout_widget__&&window.__checkout_widget__.config,e=`${t&&t.baseUrl||"https://checkout.trustly.com"}/checkout-widget/account-data?EndUserID=:EndUserID&Username=:Username`,o="https://assets.trustly.com",r=`${o}/checkout`,i=`${o}/checkout-widget/lang/:locale.json`,a=`${r}/logos/banks`,s="button-clicked",l="remove-consent",c="render-view",u="text-button-clicked";var d=n(942),h=n.n(d),f=n(320),p=n.n(f);let m=function(t){return t.APP_VIEW="app-view",t.RECURRING_USER_VIEW="recurring-user-view",t.FIRST_USER_VIEW="first-user-view",t.CONSENT_VIEW="consent-view",t.CONSENT_CONFIRM_VIEW="consent-confirm-view",t}({});var _=n(228),v=n.n(_);let g=function(t){return t.UNEXPECTED_ERROR="UNEXPECTED_ERROR",t.API_ERROR="API_ERROR",t.MISSING_TRANSLATION_KEY="MISSING_TRANSLATION_KEY",t.WRONG_TYPE_ASSET="WRONG_TYPE_ASSET",t}({}),y=function(t){return t.ERROR="ERROR",t.WARNING="WARNING",t}({});const b=(t,e)=>{let n=t;for(const t of Object.keys(e))n=n.replace(`:${t}`,e[t]);return n},E=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;try{return t()}catch(n){if(e<5)return E(t,++e)}},C=t=>{for(const e in t){const n=t[e];void 0===n&&(t[e]=null),"object"==typeof n&&C(n)}return t},A=(t,e,n)=>fetch(b(t,n),{method:e,headers:{"Content-Type":"application/json"}}),w=t=>{const e=t.getLogPayload();try{((t,e)=>{const o=C(e),r=n.h()||"";fetch(t,{method:"POST",body:JSON.stringify(o),headers:{"Content-Type":"application/json","X-BHash":r}})})("/log",e)}catch(t){}};class N{constructor(t,e,n){this.type=t,this.code=e,this.message=k(n)}getLogPayload(){return{type:this.type,code:this.code,message:this.message,serviceName:"checkout_widget",data:null}}}class S extends N{constructor(t){super(y.ERROR,g.UNEXPECTED_ERROR,t)}}class T extends N{constructor(t){super(y.WARNING,g.MISSING_TRANSLATION_KEY,t)}}class x extends N{constructor(t){super(y.WARNING,g.API_ERROR,t)}}class O extends N{constructor(t){super(y.WARNING,g.WRONG_TYPE_ASSET,t)}}const k=t=>"string"==typeof t?t:t instanceof Error?JSON.stringify({errorMessage:t.message,errorStack:t.stack}):JSON.stringify(t),B=new class{t=t=>this.translations&&this.translations[t]?this.translations[t]:(w(new T(`Missing translation value for key '${t}'`)),t);setTranslation(t){this.translations=t}setCurrentLanguage(t){this.currentLanguage=t}},D=B.t;const M=t=>{const{content:e,className:n,id:o,styles:r}=t,i=document.createElement("template");return i.innerHTML=`\n    ${r?`<style>${r}</style>`:""}\n    ${e}\n  `,n&&i.classList.add(n),o&&(i.id=o),i},R=(t,e)=>{t.attachShadow({mode:"open"}),t.shadowRoot.appendChild(e.content.cloneNode(!0))},P=(t,e)=>new CustomEvent(t,{bubbles:!0,composed:!0,detail:e});var L=n(800),j=n.n(L);let I=function(t){return t.ACCOUNT_CARD="account-card",t.FILLED_BUTTON="filled-button",t.TEXT_BUTTON="text-button",t.APP_HEADER="app-header",t.LEGAL_DISCLAIMER="legal-disclaimer",t.APP_TEXT="app-text",t}({});class F extends HTMLElement{constructor(){super();const t=M({content:"\n    <slot></slot>\n  ",styles:j()});R(this,t)}}window.customElements.define(I.APP_TEXT,F);var U=n(872),H=n.n(U);class W extends HTMLElement{constructor(){super();const t=M({content:'\n    <app-text><button id="filled-button"><slot></slot></button></app-text>\n  ',styles:H()});R(this,t)}onClick(){this.shadowRoot.dispatchEvent(P(s))}connectedCallback(){this.addEventListener("click",this.onClick)}disconnectedCallback(){this.removeEventListener("click",this.onClick)}}window.customElements.define(I.FILLED_BUTTON,W);var V=n(997),q=n.n(V);class z extends HTMLElement{constructor(){super();const t=(()=>{const t=B.currentLanguage;return`\n    <app-text>\n      <a href="${r}/legal/privacypolicy/${t}.pdf" target="_blank">\n        ${D("widget.policy")}\n      </a>\n    </app-text>\n  `})(),e=M({content:t,styles:q()});R(this,e)}}window.customElements.define(I.LEGAL_DISCLAIMER,z);var G=n(677),$=n.n(G);class X extends HTMLElement{constructor(){super();const t=M({content:'\n    <div class="container__title">\n      <div class="container__logo">\n        <img\n          alt="Trustly Logo"\n          src="https://assets.trustly.com/trustly-logos/horizontal/black.png"\n        />\n      </div>\n      <app-text>\n        <slot name="title" id="title"></slot>\n      </app-text>\n    </div>\n    <app-text>\n      <slot name="subtitle" id="subtitle"></slot>\n    </app-text>\n  ',styles:$()});R(this,t)}}window.customElements.define(I.APP_HEADER,X);class K extends HTMLElement{constructor(t){super();const e=`\n    <div id="first-user-view">\n      <app-header class="container__header">\n        <h1 slot="title">${D("widget.title")}</h1>\n        <h2 slot="subtitle">${D("widget.subtitle")}</h2>\n      </app-header>\n      <filled-button class="container__filled-button">\n        ${D("widget.cta.pay_now.button")}\n      </filled-button>\n      <div>\n        <legal-disclaimer></legal-disclaimer>\n      </div>\n    </div>\n  `,n=M({content:e,styles:v(),id:m.FIRST_USER_VIEW});R(this,n),this.initCallback=t}onButtonClicked(){this.initCallback()}connectedCallback(){this.addEventListener(s,this.onButtonClicked)}disconnectedCallback(){this.removeEventListener(s,this.onButtonClicked)}}window.customElements.define(m.FIRST_USER_VIEW,K);var Y=n(934),J=n.n(Y),Z=n(647),Q=n.n(Z);class tt extends HTMLElement{props=null;constructor(){super(),this.props=this.getProps()}getProps(){return[...this.attributes].map((t=>{let{name:e,textContent:n}=t;return{name:e,value:n}})).reduce(((t,e)=>{let{name:n,value:o}=e;return{...t,[n]:this.parse(o)}}),null)}parse(t){try{return JSON.parse(t)}catch(e){return t}}}var et=tt,nt=n(770),ot=n.n(nt);class rt extends HTMLElement{constructor(){super();const t=M({content:"<app-text><button><slot></slot></button></app-text>",styles:ot()});R(this,t)}onClick(){this.shadowRoot.dispatchEvent(P(u))}connectedCallback(){this.addEventListener("click",this.onClick)}disconnectedCallback(){this.removeEventListener("click",this.onClick)}}window.customElements.define(I.TEXT_BUTTON,rt),window.customElements.define(I.ACCOUNT_CARD,class extends et{constructor(){super();try{const t=(t=>{const e=((t,e)=>{try{const n=t.toLowerCase(),o=e.toLowerCase();return`${a}/${n}/${o}/round.png`}catch(n){return w(new O(`Wrong format in asset(s). Expected string, received countryCode: ${t} and bankCode: ${e}. Error: ${n}`)),`${a}/default/fallback/round.png`}})(t.country_code,t.bank_code),n=Array.from(Array(4).keys()).map((()=>'<span class="account-card__information-accountnumber--masked"></span>')).join("");return`\n    <div class="account-card">\n      <div class="account-card__information">\n        <div class="account-card__image">\n          <img\n            src="${e}"\n          />\n        </div>\n        <div>\n          <span id="account-card__information-bank">${t.bank}</span>\n          <div id="account-card__information-accountnumber">\n            ${n}\n            <span id="account-card__information-accountnumber--visible">${t.last_digits}</span>\n          </div>\n        </div>\n      </div>\n      <div class="account-card__change-button">\n        <text-button>\n          ${D("general.cta_link.change")}\n        </text-button>\n      </div>\n    </div>\n  `})(this.props),e=M({content:t,styles:Q()});R(this,e)}catch(t){w(new S(t))}}});const it="consent__link";class at extends HTMLElement{constructor(t,e){super();const{account_id:n}=t;this.initCallback=e,this.callbackData={AccountID:n};const o=(t=>`\n    <div>\n      <app-header class="container__header">\n        <h1 slot="title">${D("widget.title")}</h1>\n        <h2 slot="subtitle">${D("widget.subtitle")}</h2>\n      </app-header>\n      <account-card bank="${t.bank}" last_digits="${t.last_digits}" bank_code="${t.bank_code}" country_code="${t.country_code}"> </account-card>\n      <filled-button class="container__filled-button">\n        ${D("widget.cta.pay_now.button")}\n      </filled-button>\n      <text-button id="${it}">\n        ${D("widget.account.disclaimer")}\n      </text-button>\n    </div>\n  `)(t),r=M({content:o,styles:J()});R(this,r)}onButtonClicked(){this.initCallback(this.callbackData)}onChangeButtonClicked(){this.initCallback()}connectedCallback(){this.consentButtonElement=this.shadowRoot.getElementById(it),this.consentButtonElement.addEventListener("click",this.onRenderConsentView),this.addEventListener(s,this.onButtonClicked),this.addEventListener(u,this.onChangeButtonClicked)}disconnectedCallback(){this.consentButtonElement.removeEventListener("click",this.onRenderConsentView),this.removeEventListener(s,this.onButtonClicked),this.removeEventListener(u,this.onChangeButtonClicked)}onRenderConsentView=()=>{this.shadowRoot.dispatchEvent(P(c,m.CONSENT_VIEW))}}window.customElements.define(m.RECURRING_USER_VIEW,at);var st=n(922),lt=n.n(st);const ct="regret-button",ut="forget-button";class dt extends HTMLElement{constructor(){super();const t=`\n    <div id="consent-view">\n      <app-header class="container__header">\n        <h1 slot="title">${D("widget.title")}</h1>\n      </app-header>\n      <app-text>\n        <p class="consent__text">\n          ${D("widget.content.permission")}\n        </p>\n      </app-text>\n      <div class="container__buttons">\n        <text-button id="${ct}" class="button">\n          ${D("widget.cta.do_not_forget.button")}\n        </text-button>\n        <filled-button id="${ut}" class="button">\n          ${D("widget.cta.forget.button")}\n        </filled-button>\n      </div>\n      <legal-disclaimer></legal-disclaimer>\n    </div>\n  `,e=M({content:t,styles:lt()});R(this,e)}connectedCallback(){this.regretButtonElement=this.shadowRoot.getElementById(ct),this.forgetButtonElement=this.shadowRoot.getElementById(ut),this.regretButtonElement.addEventListener("click",this.onGoToRecurringUserView),this.forgetButtonElement.addEventListener("click",this.onGoToConfirmStep)}disconnectedCallback(){this.regretButtonElement.removeEventListener("click",this.onGoToRecurringUserView),this.forgetButtonElement.removeEventListener("click",this.onGoToConfirmStep)}onGoToConfirmStep=()=>{this.shadowRoot.dispatchEvent(P(c,m.CONSENT_CONFIRM_VIEW))};onGoToRecurringUserView=()=>{this.shadowRoot.dispatchEvent(P(c,m.RECURRING_USER_VIEW))}}window.customElements.define(m.CONSENT_VIEW,dt);var ht=n(217),ft=n.n(ht);const pt="regret-button",mt="forget-button";class _t extends HTMLElement{constructor(){super();const t=`\n    <div id="consent-confirm-view">\n      <app-header class="container__header">\n        <h1 slot="title">${D("widget.title")}</h1>\n      </app-header>\n      <app-text>\n        <p class="consent__text">\n          ${D("widget.content.confirmation")}\n        </p>\n      </app-text>\n      <div class="container__buttons">\n        <text-button id="${pt}" class="button">\n          ${D("widget.cta.no.button")}\n        </text-button>\n        <filled-button id="${mt}" class="button">\n          ${D("widget.cta.yes.button")}\n        </filled-button>\n      </div>\n      <legal-disclaimer></legal-disclaimer>\n    </div>\n  `,e=M({content:t,styles:ft()});R(this,e)}connectedCallback(){this.regretButtonElement=this.shadowRoot.getElementById(pt),this.forgetButtonElement=this.shadowRoot.getElementById(mt),this.regretButtonElement.addEventListener("click",this.onGoToRecurringUserView),this.forgetButtonElement.addEventListener("click",this.onRemoveConsent)}disconnectedCallback(){this.regretButtonElement.removeEventListener("click",this.onGoToRecurringUserView),this.forgetButtonElement.removeEventListener("click",this.onRemoveConsent)}onRemoveConsent=()=>{this.shadowRoot.dispatchEvent(P(l))};onGoToRecurringUserView=()=>{this.shadowRoot.dispatchEvent(P(c,m.RECURRING_USER_VIEW))}}window.customElements.define(m.CONSENT_CONFIRM_VIEW,_t);class vt extends HTMLElement{constructor(t,e,n){super();const o=M({content:'<div id="app"></div>',styles:p()});R(this,o),this.appElement=this.shadowRoot.getElementById("app"),this.initCallback=t,this.userIdentifier=e,this.accountData=n,this.renderInitial()}connectedCallback(){this.addEventListener(l,this.removeConsent),this.addEventListener(c,this.onViewChange)}disconnectedCallback(){this.removeEventListener(l,this.removeConsent),this.removeEventListener(c,this.onViewChange)}renderInitial(){if(this.accountData)return this.renderView(m.RECURRING_USER_VIEW);this.renderView(m.FIRST_USER_VIEW)}onViewChange(t){const e=t.detail;this.renderView(e)}renderView(t){const e=this.getView(t);this.appElement.innerHTML="",this.appElement.appendChild(e)}async removeConsent(){await(async t=>{(await E((()=>((t,e)=>A(t,"DELETE",e))(e,t)))).ok})(this.userIdentifier),this.renderView(m.FIRST_USER_VIEW)}getView(t){switch(t){case m.RECURRING_USER_VIEW:return new at(this.accountData,this.initCallback);case m.FIRST_USER_VIEW:return new K(this.initCallback);case m.CONSENT_VIEW:return new dt;case m.CONSENT_CONFIRM_VIEW:return new _t;default:return new K(this.initCallback)}}}window.customElements.define(m.APP_VIEW,vt);const gt=(t,e,n)=>{try{const o=new vt(t,e,n),r=document.getElementById("trustly-widget"),i=document.createElement("style");i.innerHTML=`${h()}`,r.appendChild(i),r.appendChild(o)}catch(t){w(new S(t))}};let yt=function(t){return t.RECURRING_USER="RecurringUser",t.FIRST_TIME_USER="FirstTimeUser",t}({});var bt=JSON.parse('{"widget.test.key":"This is a test key","widget.cta.pay_now.button":"Pay now","widget.account.disclaimer":"Learn why we remember your account.","input.prefix":"EUR","input.user_input":"10","manual_amount.pre_selected.value_3":"150 EUR","selected_account.account_number_(not-translatable)":"•••• 8321","widget.subtitle":"Fast, reliable and secure.","manual_amount.pre_selected.value_1":"20 EUR","selected_account.account_name_(not-translatable)":"Personal account","manual_amount.pre_selected.value_2":"50 EUR","widget.policy":"Learn more in Trustly’s privacy policy.","widget.cta.forget.button":"Forget","widget.cta.no.button":"No","widget.cta.yes.button":"Yes","widget.content.confirmation":"Are you sure you want us to forget your account?","general.enter_amount.amount.label":"Amount","general.cta_link.change":"Change","general.messages.select_another_account.body":"Sorry, we can’t find that account. Select another account to continue.","general.cta.select_account":"Select account","general.messages.select_another_account.title":"Select another account","widget.cta.do_not_forget.button":"Don’t forget","widget.content.permission":"We remember your account details for faster, simpler payments. Do you want Trustly to forget your account?","widget.title":"pay with your bank","exp.secure_connection.label":"Secure connection by","widget.trustly_remembers.body":"Trustly remembers your account to improve your payment experience.","widget.forget_account.cta":"Don\'t remember my account","exp.learn_more.cta":"Learn more","exp.change_account.cta":"Change","exp.trustly_remembers.body":"Trustly remembers your bank account so you can pay faster.","exp.forget_account.body":"Do you want us to forget your account?","exp.forget.cta":"Forget","exp.not_forget.cta":"Don’t forget","exp.privacy.disclaimer":"Read Trustly’s privacy policy.","exp.confirm_forget.body":"Are you sure you want us to forget your account?","exp.yes.cta":"Yes","exp.no.cta":"No","exp.forget_account.cta":"Forget my account","exp.confirm_short.body":"Are you sure?"}');const Et=/([a-z]{2})_([A-Z]{2})/;window.TrustlyWidget={init:async(t,n,o,r)=>{try{const a={EndUserID:t,Username:n},{Locale:s}=r||{},l=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!t)return"en";const e=t.match(Et);return e&&e.length>1?e[1]:"en"}(s),c=await(async t=>{const e=b(i,{locale:t});try{const t=await E((()=>fetch(e)));return t.ok?t.json():bt}catch(t){return bt}})(l);B.setCurrentLanguage(l),B.setTranslation(c);const u=await(async t=>{const n=await E((()=>((t,e)=>A(t,"GET",e))(e,t)));return n.ok&&204!==n.status?n.json():null})(a);return gt(o,a,u),{status:u?yt.RECURRING_USER:yt.FIRST_TIME_USER}}catch(t){return w(new x(t)),gt(o,null,null),{status:yt.FIRST_TIME_USER}}}}}()}();
//# sourceMappingURL=map/27ee4ac8f469219f5aa6-polyfilled.js.map