@dnb/eufemia 9.34.1 → 9.34.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,7 +9,7 @@ for(o=97;o<123;o++)r[String.fromCharCode(o)]=o-32;for(var o=48;o<58;o++)r[o-48]=
9
9
  * @link https://github.com/ten1seven/what-input
10
10
  * @license MIT
11
11
  */
12
- !function(e,t){var n;n=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={exports:{},id:r,loaded:!1};return e[r].call(a.exports,a,a.exports,n),a.loaded=!0,a.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t){e.exports=function(){if("undefined"==typeof document||"undefined"==typeof window)return{ask:function(){return"initial"},element:function(){return null},ignoreKeys:function(){},specificKeys:function(){},registerOnChange:function(){},unRegisterOnChange:function(){}};var e=document.documentElement,t=null,n="initial",r=n,a=Date.now(),o="false",i=["button","input","select","textarea"],l=[],s=[16,17,18,91,93],c=[],u={keydown:"keyboard",keyup:"keyboard",mousedown:"mouse",mousemove:"mouse",MSPointerDown:"pointer",MSPointerMove:"pointer",pointerdown:"pointer",pointermove:"pointer",touchstart:"touch",touchend:"touch"},d=!1,f={x:null,y:null},p={2:"touch",3:"touch",4:"mouse"},h=!1;try{var m=Object.defineProperty({},"passive",{get:function(){h=!0}});window.addEventListener("test",null,m)}catch(e){}var v=function(){var e=!!h&&{passive:!0};document.addEventListener("DOMContentLoaded",b),window.PointerEvent?(window.addEventListener("pointerdown",g),window.addEventListener("pointermove",y)):window.MSPointerEvent?(window.addEventListener("MSPointerDown",g),window.addEventListener("MSPointerMove",y)):(window.addEventListener("mousedown",g),window.addEventListener("mousemove",y),"ontouchstart"in window&&(window.addEventListener("touchstart",g,e),window.addEventListener("touchend",g))),window.addEventListener(P(),y,e),window.addEventListener("keydown",g),window.addEventListener("keyup",g),window.addEventListener("focusin",w),window.addEventListener("focusout",k)},b=function(){if(o=!(e.getAttribute("data-whatpersist")||"false"===document.body.getAttribute("data-whatpersist")))try{window.sessionStorage.getItem("what-input")&&(n=window.sessionStorage.getItem("what-input")),window.sessionStorage.getItem("what-intent")&&(r=window.sessionStorage.getItem("what-intent"))}catch(e){}_("input"),_("intent")},g=function(e){var t=e.which,a=u[e.type];"pointer"===a&&(a=x(e));var o=!c.length&&-1===s.indexOf(t),l=c.length&&-1!==c.indexOf(t),d="keyboard"===a&&t&&(o||l)||"mouse"===a||"touch"===a;if(E(a)&&(d=!1),d&&n!==a&&(O("input",n=a),_("input")),d&&r!==a){var f=document.activeElement;f&&f.nodeName&&(-1===i.indexOf(f.nodeName.toLowerCase())||"button"===f.nodeName.toLowerCase()&&!T(f,"form"))&&(O("intent",r=a),_("intent"))}},_=function(t){e.setAttribute("data-what"+t,"input"===t?n:r),S(t)},y=function(e){var t=u[e.type];"pointer"===t&&(t=x(e)),C(e),(!d&&!E(t)||d&&"wheel"===e.type||"mousewheel"===e.type||"DOMMouseScroll"===e.type)&&r!==t&&(O("intent",r=t),_("intent"))},w=function(n){n.target.nodeName?(t=n.target.nodeName.toLowerCase(),e.setAttribute("data-whatelement",t),n.target.classList&&n.target.classList.length&&e.setAttribute("data-whatclasses",n.target.classList.toString().replace(" ",","))):k()},k=function(){t=null,e.removeAttribute("data-whatelement"),e.removeAttribute("data-whatclasses")},O=function(e,t){if(o)try{window.sessionStorage.setItem("what-"+e,t)}catch(e){}},x=function(e){return"number"==typeof e.pointerType?p[e.pointerType]:"pen"===e.pointerType?"touch":e.pointerType},E=function(e){var t=Date.now(),r="mouse"===e&&"touch"===n&&t-a<200;return a=t,r},P=function(){return"onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll"},S=function(e){for(var t=0,a=l.length;t<a;t++)l[t].type===e&&l[t].fn.call(void 0,"input"===e?n:r)},C=function(e){f.x!==e.screenX||f.y!==e.screenY?(d=!1,f.x=e.screenX,f.y=e.screenY):d=!0},T=function(e,t){var n=window.Element.prototype;if(n.matches||(n.matches=n.msMatchesSelector||n.webkitMatchesSelector),n.closest)return e.closest(t);do{if(e.matches(t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null};return"addEventListener"in window&&Array.prototype.indexOf&&(u[P()]="mouse",v()),{ask:function(e){return"intent"===e?r:n},element:function(){return t},ignoreKeys:function(e){s=e},specificKeys:function(e){c=e},registerOnChange:function(e,t){l.push({fn:e,type:t||"input"})},unRegisterOnChange:function(e){var t=function(e){for(var t=0,n=l.length;t<n;t++)if(l[t].fn===e)return t}(e);(t||0===t)&&l.splice(t,1)},clearStorage:function(){window.sessionStorage.clear()}}}()}])},e.exports=n()}(lv);var sv=lv.exports;function cv(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function uv(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){cv(o,r,a,i,l,"next",e)}function l(e){cv(o,r,a,i,l,"throw",e)}i(void 0)}))}}var dv={exports:{}};!function(e){var t=function(e){var t,n=Object.prototype,r=n.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",i=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var a=t&&t.prototype instanceof v?t:v,o=Object.create(a.prototype),i=new C(r||[]);return o._invoke=function(e,t,n){var r=d;return function(a,o){if(r===p)throw new Error("Generator is already running");if(r===h){if("throw"===a)throw o;return D()}for(n.method=a,n.arg=o;;){var i=n.delegate;if(i){var l=E(i,n);if(l){if(l===m)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===d)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var s=u(e,t,n);if("normal"===s.type){if(r=n.done?h:f,s.arg===m)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r=h,n.method="throw",n.arg=s.arg)}}}(e,n,i),o}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var d="suspendedStart",f="suspendedYield",p="executing",h="completed",m={};function v(){}function b(){}function g(){}var _={};s(_,o,(function(){return this}));var y=Object.getPrototypeOf,w=y&&y(y(T([])));w&&w!==n&&r.call(w,o)&&(_=w);var k=g.prototype=v.prototype=Object.create(_);function O(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(a,o,i,l){var s=u(e[a],e,o);if("throw"!==s.type){var c=s.arg,d=c.value;return d&&"object"==typeof d&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,i,l)}),(function(e){n("throw",e,i,l)})):t.resolve(d).then((function(e){c.value=e,i(c)}),(function(e){return n("throw",e,i,l)}))}l(s.arg)}var a;this._invoke=function(e,r){function o(){return new t((function(t,a){n(e,r,t,a)}))}return a=a?a.then(o,o):o()}}function E(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,E(e,n),"throw"===n.method))return m;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var a=u(r,e.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,m;var o=a.arg;return o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function T(e){if(e){var n=e[o];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var a=-1,i=function n(){for(;++a<e.length;)if(r.call(e,a))return n.value=e[a],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}return{next:D}}function D(){return{value:t,done:!0}}return b.prototype=g,s(k,"constructor",g),s(g,"constructor",b),b.displayName=s(g,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,s(e,l,"GeneratorFunction")),e.prototype=Object.create(k),e},e.awrap=function(e){return{__await:e}},O(x.prototype),s(x.prototype,i,(function(){return this})),e.AsyncIterator=x,e.async=function(t,n,r,a,o){void 0===o&&(o=Promise);var i=new x(c(t,n,r,a),o);return e.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},O(k),s(k,l,"Generator"),s(k,o,(function(){return this})),s(k,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=T,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(S),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function a(r,a){return l.type="throw",l.arg=e,n.next=r,a&&(n.method="next",n.arg=t),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],l=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),S(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;S(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}(dv);var fv=dv.exports,pv=ba,hv=I,mv=H,vv=xa,bv=ge,gv=ut,_v=Cr,yv=Tl,wv=Go,kv=td,Ov=je,xv=Tt("isConcatSpreadable"),Ev=9007199254740991,Pv="Maximum allowed index exceeded",Sv=hv.TypeError,Cv=Ov>=51||!mv((function(){var e=[];return e[xv]=!1,e.concat()[0]!==e})),Tv=kv("concat"),Dv=function(e){if(!bv(e))return!1;var t=e[xv];return void 0!==t?!!t:vv(e)};pv({target:"Array",proto:!0,forced:!Cv||!Tv},{concat:function(e){var t,n,r,a,o,i=gv(this),l=wv(i,0),s=0;for(t=-1,r=arguments.length;t<r;t++)if(Dv(o=-1===t?i:arguments[t])){if(s+(a=_v(o))>Ev)throw Sv(Pv);for(n=0;n<a;n++,s++)n in o&&yv(l,s,o[n])}else{if(s>=Ev)throw Sv(Pv);yv(l,s++,o)}return l.length=s,l}});var jv,Nv,Rv,Mv,Av,Lv,Iv,Fv="Mac|iPad|iPhone|iPod",Hv="Linux",Bv=!1,zv=!1,Uv=!1,Vv=!1,Wv=!1,qv=!1,Yv=!1,Kv=function(){var e;return Yv="undefined"!=typeof navigator&&new RegExp("Android","i").test(null===(e=navigator)||void 0===e?void 0:e.userAgent)};function Gv(e){var t=0;if(e)do{isNaN(e.offsetTop)||(t+=e.offsetTop)}while(e=e.offsetParent);return t}function Zv(e){var t=0;if(e)do{isNaN(e.offsetLeft)||(t+=e.offsetLeft)}while(e=e.offsetParent);return t}function $v(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:250,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=a.immediate,i=void 0!==o&&o,l=a.instance,s=void 0===l?null:l,c=function(){return clearTimeout(t)};function u(){for(var a=arguments.length,o=new Array(a),l=0;l<a;l++)o[l]=arguments[l];var c=this;"function"==typeof n&&n();var u=function(){t=null,i||(n=e.apply(s||c,o))},d=i&&!t;return clearTimeout(t),t=setTimeout(u,r),d&&(n=e.apply(s||c,o)),n}return u.cancel=c,u}function Xv(){return function(){try{return window.getSelection().toString()}catch(e){}return""}().length>0}function Qv(){try{var e=window.getSelection();if(e.rangeCount>0){var t=e.getRangeAt(0).startContainer;return t&&"object"===Ul(t)&&(t=t.parentNode),t}}catch(e){}return null}Bv="undefined"!=typeof window&&"undefined"!=typeof document&&!!window.MSInputMethodContext&&!!document.documentMode,zv="undefined"!=typeof navigator&&/edge/i.test(null===(jv=navigator)||void 0===jv?void 0:jv.userAgent),Uv="undefined"!=typeof navigator&&new RegExp("iOS|iPhone|iPad|iPod","i").test(null===(Nv=navigator)||void 0===Nv?void 0:Nv.platform),Vv="undefined"!=typeof navigator&&/safari/i.test(null===(Rv=navigator)||void 0===Rv?void 0:Rv.userAgent)&&!/chrome/i.test(null===(Mv=navigator)||void 0===Mv?void 0:Mv.userAgent),Wv="undefined"!=typeof navigator&&new RegExp("Win","i").test(null===(Av=navigator)||void 0===Av?void 0:Av.platform),Kv(),qv="undefined"!=typeof navigator&&new RegExp(Fv,"i").test(null===(Lv=navigator)||void 0===Lv?void 0:Lv.platform),"undefined"!=typeof navigator&&new RegExp(Hv,"i").test(null===(Iv=navigator)||void 0===Iv?void 0:Iv.platform);var Jv=function(){},eb=function(e,t){try{var n=/[A-Z]/.test(e)?e:null,r=n?null:e.replace(/^\./,""),a=function(e){return e?n?(null==e?void 0:e.tagName)===n:null==e?void 0:e.classList.contains(r):null};if(a(t))return t;for(;(t=null===(o=t)||void 0===o?void 0:o.parentElement)&&!a(t);)var o}catch(e){}return t};var tb=B,nb=or.EXISTS,rb=ee,ab=rn.f,ob=Function.prototype,ib=rb(ob.toString),lb=/^\s*function ([^ (]*)/,sb=rb(lb.exec);tb&&!nb&&ab(ob,"name",{configurable:!0,get:function(){try{return sb(lb,ib(this))[1]}catch(e){return""}}});var cb=ba,ub=B,db=I,fb=ee,pb=pt,hb=ve,mb=Oe,vb=Fa,bb=rn.f,gb=ea,_b=db.Symbol,yb=_b&&_b.prototype;if(ub&&hb(_b)&&(!("description"in yb)||void 0!==_b().description)){var wb={},kb=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:vb(arguments[0]),t=mb(yb,this)?new _b(e):void 0===e?_b():_b(e);return""===e&&(wb[t]=!0),t};gb(kb,_b),kb.prototype=yb,yb.constructor=kb;var Ob="Symbol(test)"==String(_b("test")),xb=fb(yb.toString),Eb=fb(yb.valueOf),Pb=/^Symbol\((.*)\)[^)]+$/,Sb=fb("".replace),Cb=fb("".slice);bb(yb,"description",{configurable:!0,get:function(){var e=Eb(this),t=xb(e);if(pb(wb,e))return"";var n=Ob?Cb(t,7,-1):Sb(t,Pb,"$1");return""===n?void 0:n}}),cb({global:!0,forced:!0},{Symbol:kb})}yo("iterator");var Tb=me,Db=fd,jb=Yp,Nb=Jn,Rb=Fm,Mb="Array Iterator",Ab=Nb.set,Lb=Nb.getterFor(Mb),Ib=Rb(Array,"Array",(function(e,t){Ab(this,{type:Mb,target:Tb(e),index:0,kind:t})}),(function(){var e=Lb(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values");jb.Arguments=jb.Array,Db("keys"),Db("values"),Db("entries");var Fb=I,Hb=Cu,Bb=ju,zb=Ib,Ub=gn,Vb=Tt,Wb=Vb("iterator"),qb=Vb("toStringTag"),Yb=zb.values,Kb=function(e,t){if(e){if(e[Wb]!==Yb)try{Ub(e,Wb,Yb)}catch(t){e[Wb]=Yb}if(e[qb]||Ub(e,qb,t),Hb[t])for(var n in zb)if(e[n]!==zb[n])try{Ub(e,n,zb[n])}catch(t){e[n]=zb[n]}}};for(var Gb in Hb)Kb(Fb[Gb]&&Fb[Gb].prototype,Gb);function Zb(e){return function(e){if(Array.isArray(e))return Hl(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Bl(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}Kb(Bb,"DOMTokenList");var $b,Xb=ba,Qb=ee,Jb=F.f,eg=Pr,tg=Fa,ng=bd,rg=fe,ag=_d,og=Qb("".endsWith),ig=Qb("".slice),lg=Math.min,sg=ag("endsWith");function cg(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return ug(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ug(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){l=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(l)throw o}}}}function ug(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}Xb({target:"String",proto:!0,forced:!!(sg||($b=Jb(String.prototype,"endsWith"),!$b||$b.writable))&&!sg},{endsWith:function(e){var t=tg(rg(this));ng(e);var n=arguments.length>1?arguments[1]:void 0,r=t.length,a=void 0===n?r:lg(eg(n),r),o=tg(e);return og?og(t,o,a):ig(t,a-o.length,a)===o}});var dg=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return Ml(this,e),Il(this,"bypassElement",void 0),Il(this,"bypassSelectors",void 0),Il(this,"_nodesToInvalidate",void 0),Il(this,"options",void 0),this.bypassElement=null,this.bypassSelectors=[],this.options=t||{},this}return Ll(e,[{key:"setBypassElement",value:function(e){return e instanceof HTMLElement&&(this.bypassElement=e),this}},{key:"setBypassSelector",value:function(e){return Array.isArray(e)||(e=[e]),this.bypassSelectors=e,this}},{key:"activate",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this._nodesToInvalidate||this._runInvalidaiton(e)}},{key:"revert",value:function(){this._revertInvalidation(),this._nodesToInvalidate=null}},{key:"_runInvalidaiton",value:function(e){if("undefined"!=typeof document){this._nodesToInvalidate=this.getNodesToInvalidate(e);var t,n=cg(this._nodesToInvalidate);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(r){if(!1!==this.options.tabIndex){var a=r.getAttribute("tabindex");null!==a&&void 0===r.__tabindex&&(r.__tabindex=a),r.setAttribute("tabindex","-1")}if(!1!==this.options.ariaHidden){var o=r.getAttribute("aria-hidden");null!==o&&void 0===r.__ariahidden&&(r.__ariahidden=o),r.setAttribute("aria-hidden","true")}}}}catch(e){n.e(e)}finally{n.f()}}}},{key:"_revertInvalidation",value:function(){if(Array.isArray(this._nodesToInvalidate)){var e,t=cg(this._nodesToInvalidate);try{for(t.s();!(e=t.n()).done;){var n=e.value;n&&(!1!==this.options.tabIndex&&(void 0!==n.__tabindex?(n.setAttribute("tabindex",n.__tabindex),delete n.__tabindex):n.removeAttribute("tabindex")),!1!==this.options.ariaHidden&&(void 0!==n.__ariahidden?(n.setAttribute("aria-hidden",n.__ariahidden),delete n.__ariahidden):n.removeAttribute("aria-hidden")))}}catch(e){t.e(e)}finally{t.f()}}}},{key:"getNodesToInvalidate",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if("undefined"==typeof document)return[];"string"==typeof e&&(e=document.querySelector(e));var t=e?"*":"html *",n=this.bypassSelectors.map((function(e){return":not(".concat(e,")")})).join(""),r="".concat(t," ").concat(n,":not(script):not(style):not(path):not(head *)");if(Bv){var a=[],o=r.split(":").map((function(t){return t.endsWith(" *)")&&(a.push.apply(a,Zb(Array.from((e||document.documentElement).querySelectorAll(t.match(/\(([^)]*)\)/)[1])))),t=t.replace(" *","")),t})).join(":");return Array.from((e||document.documentElement).querySelectorAll(o)).filter((function(e){return!a.includes(e)}))}return Array.from((e||document.documentElement).querySelectorAll(r))}}]),e}();function fg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pg(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fg(Object(n),!0).forEach((function(t){Il(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fg(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function hg(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=pg(pg({},t),e);for(var n=arguments.length,r=new Array(n>2?n-2:0),a=2;a<n;a++)r[a-2]=arguments[a];return pg(pg({},e),bg(e,t,r))}function mg(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length,r=new Array(n>2?n-2:0),a=2;a<n;a++)r[a-2]=arguments[a];return pg(pg({},e),bg(e,t,r,{checkPropKey:!0}))}function vg(e){return e.reduce((function(e,t){return t&&(e=pg(pg({},e),t)),e}),{})}function bg(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=r.checkPropKey,o=void 0!==a&&a,i=vg(n);return Object.entries(i).reduce((function(n,r){var a=zl(r,2),i=a[0],l=a[1];return o&&!Object.prototype.hasOwnProperty.call(e,i)||e[i]!==t[i]||(n[i]=l),n}),{})}var gg=ee,_g=Ke,yg=ge,wg=pt,kg=lo,Og=I.Function,xg=gg([].concat),Eg=gg([].join),Pg={},Sg=function(e,t,n){if(!wg(Pg,t)){for(var r=[],a=0;a<t;a++)r[a]="a["+a+"]";Pg[t]=Og("C,a","return new C("+Eg(r,",")+")")}return Pg[t](e,n)},Cg=Og.bind||function(e){var t=_g(this),n=t.prototype,r=kg(arguments,1),a=function(){var n=xg(r,kg(arguments));return this instanceof a?Sg(t,n.length,n):t.apply(e,n)};return yg(n)&&(a.prototype=n),a},Tg=ba,Dg=ka,jg=Cg,Ng=Af,Rg=cn,Mg=ge,Ag=oo,Lg=H,Ig=ke("Reflect","construct"),Fg=Object.prototype,Hg=[].push,Bg=Lg((function(){function e(){}return!(Ig((function(){}),[],e)instanceof e)})),zg=!Lg((function(){Ig((function(){}))})),Ug=Bg||zg;function Vg(e,t){return Vg=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Vg(e,t)}function Wg(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vg(e,t)}function qg(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yg(e,t){if(t&&("object"===Ul(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return qg(e)}function Kg(e){return Kg=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Kg(e)}function Gg(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function Zg(e,t,n){return Zg=Gg()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var a=new(Function.bind.apply(e,r));return n&&Vg(a,n.prototype),a},Zg.apply(null,arguments)}function $g(e){var t="function"==typeof Map?new Map:void 0;return $g=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return Zg(e,arguments,Kg(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Vg(r,e)},$g(e)}Tg({target:"Reflect",stat:!0,forced:Ug,sham:Ug},{construct:function(e,t){Ng(e),Rg(t);var n=arguments.length<3?e:Ng(arguments[2]);if(zg&&!Bg)return Ig(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return Dg(Hg,r,t),new(Dg(jg,e,r))}var a=n.prototype,o=Ag(Mg(a)?a:Fg),i=Dg(e,o,t);return Mg(i)?i:o}});var Xg=ba,Qg=Rr.indexOf,Jg=Ru,e_=ee([].indexOf),t_=!!e_&&1/e_([1],1,-0)<0,n_=Jg("indexOf");Xg({target:"Array",proto:!0,forced:t_||!n_},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return t_?e_(this,e,t)||0:Qg(this,e,t)}});var r_=ee(1..valueOf),a_=B,o_=I,i_=ee,l_=ca,s_=_n.exports,c_=pt,u_=pc,d_=Oe,f_=ze,p_=Ft,h_=H,m_=vr.f,v_=F.f,b_=rn.f,g_=r_,__=ev.trim,y_="Number",w_=o_.Number,k_=w_.prototype,O_=o_.TypeError,x_=i_("".slice),E_=i_("".charCodeAt),P_=function(e){var t=p_(e,"number");return"bigint"==typeof t?t:S_(t)},S_=function(e){var t,n,r,a,o,i,l,s,c=p_(e,"number");if(f_(c))throw O_("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=__(c),43===(t=E_(c,0))||45===t){if(88===(n=E_(c,2))||120===n)return NaN}else if(48===t){switch(E_(c,1)){case 66:case 98:r=2,a=49;break;case 79:case 111:r=8,a=55;break;default:return+c}for(i=(o=x_(c,2)).length,l=0;l<i;l++)if((s=E_(o,l))<48||s>a)return NaN;return parseInt(o,r)}return+c};if(l_(y_,!w_(" 0o1")||!w_("0b1")||w_("+0x1"))){for(var C_,T_=function(e){var t=arguments.length<1?0:w_(P_(e)),n=this;return d_(k_,n)&&h_((function(){g_(n)}))?u_(Object(t),n,T_):t},D_=a_?m_(w_):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),j_=0;D_.length>j_;j_++)c_(w_,C_=D_[j_])&&!c_(T_,C_)&&b_(T_,C_,v_(w_,C_));T_.prototype=k_,k_.constructor=T_,s_(o_,y_,T_)}function N_(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{message:null},n=t.message,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100;if("object"===Ul(e)&&(n=e.message),this.err=new Error("".concat(e,"\n\n").concat(n)),500===r)throw this.err;console.log(this.err)}var R_={exports:{}},M_=H,A_=ge,L_=ae,I_=Pd,F_=Object.isExtensible,H_=M_((function(){F_(1)}))||I_?function(e){return!!A_(e)&&((!I_||"ArrayBuffer"!=L_(e))&&(!F_||F_(e)))}:F_,B_=!H((function(){return Object.isExtensible(Object.preventExtensions({}))})),z_=ba,U_=ee,V_=An,W_=ge,q_=pt,Y_=rn.f,K_=vr,G_=io,Z_=H_,$_=B_,X_=!1,Q_=gt("meta"),J_=0,ey=function(e){Y_(e,Q_,{value:{objectID:"O"+J_++,weakData:{}}})},ty=R_.exports={enable:function(){ty.enable=function(){},X_=!0;var e=K_.f,t=U_([].splice),n={};n[Q_]=1,e(n).length&&(K_.f=function(n){for(var r=e(n),a=0,o=r.length;a<o;a++)if(r[a]===Q_){t(r,a,1);break}return r},z_({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:G_.f}))},fastKey:function(e,t){if(!W_(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!q_(e,Q_)){if(!Z_(e))return"F";if(!t)return"E";ey(e)}return e[Q_].objectID},getWeakData:function(e,t){if(!q_(e,Q_)){if(!Z_(e))return!0;if(!t)return!1;ey(e)}return e[Q_].weakData},onFreeze:function(e){return $_&&X_&&Z_(e)&&!q_(e,Q_)&&ey(e),e}};V_[Q_]=!0;var ny=So,ry=U,ay=cn,oy=Ve,iy=zh,ly=Cr,sy=Oe,cy=Jh,uy=Yh,dy=Ah,fy=I.TypeError,py=function(e,t){this.stopped=e,this.result=t},hy=py.prototype,my=function(e,t,n){var r,a,o,i,l,s,c,u=n&&n.that,d=!(!n||!n.AS_ENTRIES),f=!(!n||!n.IS_ITERATOR),p=!(!n||!n.INTERRUPTED),h=ny(t,u),m=function(e){return r&&dy(r,"normal",e),new py(!0,e)},v=function(e){return d?(ay(e),p?h(e[0],e[1],m):h(e[0],e[1])):p?h(e,m):h(e)};if(f)r=e;else{if(!(a=uy(e)))throw fy(oy(e)+" is not iterable");if(iy(a)){for(o=0,i=ly(e);i>o;o++)if((l=v(e[o]))&&sy(hy,l))return l;return new py(!1)}r=cy(e,a)}for(s=r.next;!(c=ry(s,r)).done;){try{l=v(c.value)}catch(e){dy(r,"throw",e)}if("object"==typeof l&&l&&sy(hy,l))return l}return new py(!1)},vy=Oe,by=I.TypeError,gy=function(e,t){if(vy(t,e))return e;throw by("Incorrect invocation")},_y=ba,yy=I,wy=ee,ky=ca,Oy=_n.exports,xy=R_.exports,Ey=my,Py=gy,Sy=ve,Cy=ge,Ty=H,Dy=vm,jy=xo,Ny=pc,Ry=_n.exports,My=function(e,t,n){for(var r in t)Ry(e,r,t[r],n);return e},Ay=rn.f,Ly=oo,Iy=My,Fy=So,Hy=gy,By=my,zy=Fm,Uy=kc,Vy=B,Wy=R_.exports.fastKey,qy=Jn.set,Yy=Jn.getterFor,Ky={getConstructor:function(e,t,n,r){var a=e((function(e,a){Hy(e,o),qy(e,{type:t,index:Ly(null),first:void 0,last:void 0,size:0}),Vy||(e.size=0),null!=a&&By(a,e[r],{that:e,AS_ENTRIES:n})})),o=a.prototype,i=Yy(t),l=function(e,t,n){var r,a,o=i(e),l=s(e,t);return l?l.value=n:(o.last=l={index:a=Wy(t,!0),key:t,value:n,previous:r=o.last,next:void 0,removed:!1},o.first||(o.first=l),r&&(r.next=l),Vy?o.size++:e.size++,"F"!==a&&(o.index[a]=l)),e},s=function(e,t){var n,r=i(e),a=Wy(t);if("F"!==a)return r.index[a];for(n=r.first;n;n=n.next)if(n.key==t)return n};return Iy(o,{clear:function(){for(var e=i(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,Vy?e.size=0:this.size=0},delete:function(e){var t=this,n=i(t),r=s(t,e);if(r){var a=r.next,o=r.previous;delete n.index[r.index],r.removed=!0,o&&(o.next=a),a&&(a.previous=o),n.first==r&&(n.first=a),n.last==r&&(n.last=o),Vy?n.size--:t.size--}return!!r},forEach:function(e){for(var t,n=i(this),r=Fy(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!s(this,e)}}),Iy(o,n?{get:function(e){var t=s(this,e);return t&&t.value},set:function(e,t){return l(this,0===e?0:e,t)}}:{add:function(e){return l(this,e=0===e?0:e,e)}}),Vy&&Ay(o,"size",{get:function(){return i(this).size}}),a},setStrong:function(e,t,n){var r=t+" Iterator",a=Yy(t),o=Yy(r);zy(e,t,(function(e,t){qy(this,{type:r,target:e,state:a(e),kind:t,last:void 0})}),(function(){for(var e=o(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),Uy(t)}},Gy=function(e,t,n){var r=-1!==e.indexOf("Map"),a=-1!==e.indexOf("Weak"),o=r?"set":"add",i=yy[e],l=i&&i.prototype,s=i,c={},u=function(e){var t=wy(l[e]);Oy(l,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(a&&!Cy(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return a&&!Cy(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(a&&!Cy(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(ky(e,!Sy(i)||!(a||l.forEach&&!Ty((function(){(new i).entries().next()})))))s=n.getConstructor(t,e,r,o),xy.enable();else if(ky(e,!0)){var d=new s,f=d[o](a?{}:-0,1)!=d,p=Ty((function(){d.has(1)})),h=Dy((function(e){new i(e)})),m=!a&&Ty((function(){for(var e=new i,t=5;t--;)e[o](t,t);return!e.has(-0)}));h||((s=t((function(e,t){Py(e,l);var n=Ny(new i,e,s);return null!=t&&Ey(t,n[o],{that:n,AS_ENTRIES:r}),n}))).prototype=l,l.constructor=s),(p||m)&&(u("delete"),u("has"),r&&u("get")),(m||f)&&u(o),a&&l.clear&&delete l.clear}return c[e]=s,_y({global:!0,forced:s!=i},c),jy(s,e),a||n.setStrong(s,e,r),s};Gy("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),Ky);var Zy,$y,Xy,Qy,Jy=I.Promise,ew=/(?:ipad|iphone|ipod).*applewebkit/i.test(xe),tw=I,nw=ka,rw=So,aw=ve,ow=pt,iw=H,lw=Ka,sw=lo,cw=qt,uw=ew,dw=Bd,fw=tw.setImmediate,pw=tw.clearImmediate,hw=tw.process,mw=tw.Dispatch,vw=tw.Function,bw=tw.MessageChannel,gw=tw.String,_w=0,yw={},ww="onreadystatechange";try{Zy=tw.location}catch(e){}var kw=function(e){if(ow(yw,e)){var t=yw[e];delete yw[e],t()}},Ow=function(e){return function(){kw(e)}},xw=function(e){kw(e.data)},Ew=function(e){tw.postMessage(gw(e),Zy.protocol+"//"+Zy.host)};fw&&pw||(fw=function(e){var t=sw(arguments,1);return yw[++_w]=function(){nw(aw(e)?e:vw(e),void 0,t)},$y(_w),_w},pw=function(e){delete yw[e]},dw?$y=function(e){hw.nextTick(Ow(e))}:mw&&mw.now?$y=function(e){mw.now(Ow(e))}:bw&&!uw?(Qy=(Xy=new bw).port2,Xy.port1.onmessage=xw,$y=rw(Qy.postMessage,Qy)):tw.addEventListener&&aw(tw.postMessage)&&!tw.importScripts&&Zy&&"file:"!==Zy.protocol&&!iw(Ew)?($y=Ew,tw.addEventListener("message",xw,!1)):$y=ww in cw("script")?function(e){lw.appendChild(cw("script")).onreadystatechange=function(){lw.removeChild(this),kw(e)}}:function(e){setTimeout(Ow(e),0)});var Pw,Sw,Cw,Tw,Dw,jw,Nw,Rw,Mw={set:fw,clear:pw},Aw=I,Lw=/ipad|iphone|ipod/i.test(xe)&&void 0!==Aw.Pebble,Iw=/web0s(?!.*chrome)/i.test(xe),Fw=I,Hw=So,Bw=F.f,zw=Mw.set,Uw=ew,Vw=Lw,Ww=Iw,qw=Bd,Yw=Fw.MutationObserver||Fw.WebKitMutationObserver,Kw=Fw.document,Gw=Fw.process,Zw=Fw.Promise,$w=Bw(Fw,"queueMicrotask"),Xw=$w&&$w.value;Xw||(Pw=function(){var e,t;for(qw&&(e=Gw.domain)&&e.exit();Sw;){t=Sw.fn,Sw=Sw.next;try{t()}catch(e){throw Sw?Tw():Cw=void 0,e}}Cw=void 0,e&&e.enter()},Uw||qw||Ww||!Yw||!Kw?!Vw&&Zw&&Zw.resolve?((Nw=Zw.resolve(void 0)).constructor=Zw,Rw=Hw(Nw.then,Nw),Tw=function(){Rw(Pw)}):qw?Tw=function(){Gw.nextTick(Pw)}:(zw=Hw(zw,Fw),Tw=function(){zw(Pw)}):(Dw=!0,jw=Kw.createTextNode(""),new Yw(Pw).observe(jw,{characterData:!0}),Tw=function(){jw.data=Dw=!Dw}));var Qw=Xw||function(e){var t={fn:e,next:void 0};Cw&&(Cw.next=t),Sw||(Sw=t,Tw()),Cw=t},Jw={},ek=Ke,tk=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=ek(t),this.reject=ek(n)};Jw.f=function(e){return new tk(e)};var nk,rk,ak,ok,ik=cn,lk=ge,sk=Jw,ck=I,uk="object"==typeof window,dk=ba,fk=I,pk=ke,hk=U,mk=Jy,vk=_n.exports,bk=My,gk=cc,_k=xo,yk=kc,wk=Ke,kk=ve,Ok=ge,xk=gy,Ek=Pn,Pk=my,Sk=vm,Ck=Hf,Tk=Mw.set,Dk=Qw,jk=function(e,t){if(ik(e),lk(t)&&t.constructor===e)return t;var n=sk.f(e);return(0,n.resolve)(t),n.promise},Nk=function(e,t){var n=ck.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))},Rk=Jw,Mk=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},Ak=Jn,Lk=ca,Ik=uk,Fk=Bd,Hk=je,Bk=Tt("species"),zk="Promise",Uk=Ak.get,Vk=Ak.set,Wk=Ak.getterFor(zk),qk=mk&&mk.prototype,Yk=mk,Kk=qk,Gk=fk.TypeError,Zk=fk.document,$k=fk.process,Xk=Rk.f,Qk=Xk,Jk=!!(Zk&&Zk.createEvent&&fk.dispatchEvent),eO=kk(fk.PromiseRejectionEvent),tO="unhandledrejection",nO=!1,rO=Lk(zk,(function(){var e=Ek(Yk),t=e!==String(Yk);if(!t&&66===Hk)return!0;if(Hk>=51&&/native code/.test(e))return!1;var n=new Yk((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};return(n.constructor={})[Bk]=r,!(nO=n.then((function(){}))instanceof r)||!t&&Ik&&!eO})),aO=rO||!Sk((function(e){Yk.all(e).catch((function(){}))})),oO=function(e){var t;return!(!Ok(e)||!kk(t=e.then))&&t},iO=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;Dk((function(){for(var r=e.value,a=1==e.state,o=0;n.length>o;){var i,l,s,c=n[o++],u=a?c.ok:c.fail,d=c.resolve,f=c.reject,p=c.domain;try{u?(a||(2===e.rejection&&uO(e),e.rejection=1),!0===u?i=r:(p&&p.enter(),i=u(r),p&&(p.exit(),s=!0)),i===c.promise?f(Gk("Promise-chain cycle")):(l=oO(i))?hk(l,i,d,f):d(i)):f(r)}catch(e){p&&!s&&p.exit(),f(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&sO(e)}))}},lO=function(e,t,n){var r,a;Jk?((r=Zk.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),fk.dispatchEvent(r)):r={promise:t,reason:n},!eO&&(a=fk["on"+e])?a(r):e===tO&&Nk("Unhandled promise rejection",n)},sO=function(e){hk(Tk,fk,(function(){var t,n=e.facade,r=e.value;if(cO(e)&&(t=Mk((function(){Fk?$k.emit("unhandledRejection",r,n):lO(tO,n,r)})),e.rejection=Fk||cO(e)?2:1,t.error))throw t.value}))},cO=function(e){return 1!==e.rejection&&!e.parent},uO=function(e){hk(Tk,fk,(function(){var t=e.facade;Fk?$k.emit("rejectionHandled",t):lO("rejectionhandled",t,e.value)}))},dO=function(e,t,n){return function(r){e(t,r,n)}},fO=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,iO(e,!0))},pO=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw Gk("Promise can't be resolved itself");var r=oO(t);r?Dk((function(){var n={done:!1};try{hk(r,t,dO(pO,n,e),dO(fO,n,e))}catch(t){fO(n,t,e)}})):(e.value=t,e.state=1,iO(e,!1))}catch(t){fO({done:!1},t,e)}}};if(rO&&(Kk=(Yk=function(e){xk(this,Kk),wk(e),hk(nk,this);var t=Uk(this);try{e(dO(pO,t),dO(fO,t))}catch(e){fO(t,e)}}).prototype,(nk=function(e){Vk(this,{type:zk,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=bk(Kk,{then:function(e,t){var n=Wk(this),r=n.reactions,a=Xk(Ck(this,Yk));return a.ok=!kk(e)||e,a.fail=kk(t)&&t,a.domain=Fk?$k.domain:void 0,n.parent=!0,r[r.length]=a,0!=n.state&&iO(n,!1),a.promise},catch:function(e){return this.then(void 0,e)}}),rk=function(){var e=new nk,t=Uk(e);this.promise=e,this.resolve=dO(pO,t),this.reject=dO(fO,t)},Rk.f=Xk=function(e){return e===Yk||e===ak?new rk(e):Qk(e)},kk(mk)&&qk!==Object.prototype)){ok=qk.then,nO||(vk(qk,"then",(function(e,t){var n=this;return new Yk((function(e,t){hk(ok,n,e,t)})).then(e,t)}),{unsafe:!0}),vk(qk,"catch",Kk.catch,{unsafe:!0}));try{delete qk.constructor}catch(e){}gk&&gk(qk,Kk)}dk({global:!0,wrap:!0,forced:rO},{Promise:Yk}),_k(Yk,zk,!1),yk(zk),ak=pk(zk),dk({target:zk,stat:!0,forced:rO},{reject:function(e){var t=Xk(this);return hk(t.reject,void 0,e),t.promise}}),dk({target:zk,stat:!0,forced:rO},{resolve:function(e){return jk(this,e)}}),dk({target:zk,stat:!0,forced:aO},{all:function(e){var t=this,n=Xk(t),r=n.resolve,a=n.reject,o=Mk((function(){var n=wk(t.resolve),o=[],i=0,l=1;Pk(e,(function(e){var s=i++,c=!1;l++,hk(n,t,e).then((function(e){c||(c=!0,o[s]=e,--l||r(o))}),a)})),--l||r(o)}));return o.error&&a(o.value),n.promise},race:function(e){var t=this,n=Xk(t),r=n.reject,a=Mk((function(){var a=wk(t.resolve);Pk(e,(function(e){hk(a,t,e).then(n.resolve,r)}))}));return a.error&&r(a.value),n.promise}});var hO=ba,mO=I,vO=Or,bO=_r,gO=Cr,_O=ut,yO=Go,wO=Tl,kO=td("splice"),OO=mO.TypeError,xO=Math.max,EO=Math.min,PO=9007199254740991,SO="Maximum allowed length exceeded";function CO(e,t){var n=e.document,r=e.Object,a=function(e){var t,n,a,o,i=/^[A-Z]+[a-z]/,l=function(e,t){(t=t.toLowerCase())in s||(s[e]=(s[e]||[]).concat(t),s[t]=s[t.toUpperCase()]=e)},s=(r.create||r)(null),c={};for(n in e)for(o in e[n])for(a=e[n][o],s[o]=a,t=0;t<a.length;t++)s[a[t].toLowerCase()]=s[a[t].toUpperCase()]=o;return c.get=function(e){return"string"==typeof e?s[e]||(i.test(e)?[]:""):function(e){var t,n=[];for(t in s)e.test(t)&&n.push(t);return n}(e)},c.set=function(e,t){return i.test(e)?l(e,t):l(t,e),c},c}({collections:{HTMLAllCollection:["all"],HTMLCollection:["forms"],HTMLFormControlsCollection:["elements"],HTMLOptionsCollection:["options"]},elements:{Element:["element"],HTMLAnchorElement:["a"],HTMLAppletElement:["applet"],HTMLAreaElement:["area"],HTMLAttachmentElement:["attachment"],HTMLAudioElement:["audio"],HTMLBRElement:["br"],HTMLBaseElement:["base"],HTMLBodyElement:["body"],HTMLButtonElement:["button"],HTMLCanvasElement:["canvas"],HTMLContentElement:["content"],HTMLDListElement:["dl"],HTMLDataElement:["data"],HTMLDataListElement:["datalist"],HTMLDetailsElement:["details"],HTMLDialogElement:["dialog"],HTMLDirectoryElement:["dir"],HTMLDivElement:["div"],HTMLDocument:["document"],HTMLElement:["element","abbr","address","article","aside","b","bdi","bdo","cite","code","command","dd","dfn","dt","em","figcaption","figure","footer","header","i","kbd","mark","nav","noscript","rp","rt","ruby","s","samp","section","small","strong","sub","summary","sup","u","var","wbr"],HTMLEmbedElement:["embed"],HTMLFieldSetElement:["fieldset"],HTMLFontElement:["font"],HTMLFormElement:["form"],HTMLFrameElement:["frame"],HTMLFrameSetElement:["frameset"],HTMLHRElement:["hr"],HTMLHeadElement:["head"],HTMLHeadingElement:["h1","h2","h3","h4","h5","h6"],HTMLHtmlElement:["html"],HTMLIFrameElement:["iframe"],HTMLImageElement:["img"],HTMLInputElement:["input"],HTMLKeygenElement:["keygen"],HTMLLIElement:["li"],HTMLLabelElement:["label"],HTMLLegendElement:["legend"],HTMLLinkElement:["link"],HTMLMapElement:["map"],HTMLMarqueeElement:["marquee"],HTMLMediaElement:["media"],HTMLMenuElement:["menu"],HTMLMenuItemElement:["menuitem"],HTMLMetaElement:["meta"],HTMLMeterElement:["meter"],HTMLModElement:["del","ins"],HTMLOListElement:["ol"],HTMLObjectElement:["object"],HTMLOptGroupElement:["optgroup"],HTMLOptionElement:["option"],HTMLOutputElement:["output"],HTMLParagraphElement:["p"],HTMLParamElement:["param"],HTMLPictureElement:["picture"],HTMLPreElement:["pre"],HTMLProgressElement:["progress"],HTMLQuoteElement:["blockquote","q","quote"],HTMLScriptElement:["script"],HTMLSelectElement:["select"],HTMLShadowElement:["shadow"],HTMLSlotElement:["slot"],HTMLSourceElement:["source"],HTMLSpanElement:["span"],HTMLStyleElement:["style"],HTMLTableCaptionElement:["caption"],HTMLTableCellElement:["td","th"],HTMLTableColElement:["col","colgroup"],HTMLTableElement:["table"],HTMLTableRowElement:["tr"],HTMLTableSectionElement:["thead","tbody","tfoot"],HTMLTemplateElement:["template"],HTMLTextAreaElement:["textarea"],HTMLTimeElement:["time"],HTMLTitleElement:["title"],HTMLTrackElement:["track"],HTMLUListElement:["ul"],HTMLUnknownElement:["unknown","vhgroupv","vkeygen"],HTMLVideoElement:["video"]},nodes:{Attr:["node"],Audio:["audio"],CDATASection:["node"],CharacterData:["node"],Comment:["#comment"],Document:["#document"],DocumentFragment:["#document-fragment"],DocumentType:["node"],HTMLDocument:["#document"],Image:["img"],Option:["option"],ProcessingInstruction:["node"],ShadowRoot:["#shadow-root"],Text:["#text"],XMLDocument:["xml"]}});"object"!==Ul(t)&&(t={type:t||"auto"});var o,i,l,s,c,u,d,f,p,h="registerElement",m="__registerElement"+(1e5*e.Math.random()>>0),v="addEventListener",b="attached",g="Callback",_="detached",y="extends",w="attributeChangedCallback",k="createdCallback",O="ADDITION",x="MODIFICATION",E="REMOVAL",P="DOMAttrModified",S="DOMContentLoaded",C="<",T="=",D=/^[A-Z][A-Z0-9]*(?:-[A-Z0-9]+)+$/,j=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],N=[],R=[],M="",A=n.documentElement,L=N.indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},I=r.prototype,F=I.hasOwnProperty,H=I.isPrototypeOf,B=r.defineProperty,z=[],U=r.getOwnPropertyDescriptor,V=r.getOwnPropertyNames,W=r.getPrototypeOf,q=r.setPrototypeOf,Y=!!r.__proto__,K="__dreCEv1",G=e.customElements,Z=!/^force/.test(t.type)&&!!(G&&G.define&&G.get&&G.whenDefined),$=r.create||r,X=e.Map||function(){var e,t=[],n=[];return{get:function(e){return n[L.call(t,e)]},set:function(r,a){(e=L.call(t,r))<0?n[t.push(r)-1]=a:n[e]=a}}},Q=e.Promise||function(e){var t=[],n=!1,r={catch:function(){return r},then:function(e){return t.push(e),n&&setTimeout(a,1),r}};function a(e){for(n=!0;t.length;)t.shift()(e)}return e(a),r},J=!1,ee=$(null),te=$(null),ne=new X,re=function(e){return e.toLowerCase()},ae=r.create||function e(t){return t?(e.prototype=t,new e):this},oe=q||(Y?function(e,t){return e.__proto__=t,e}:V&&U?function(){function e(e,t){for(var n,r=V(t),a=0,o=r.length;a<o;a++)n=r[a],F.call(e,n)||B(e,n,U(t,n))}return function(t,n){do{e(t,n)}while((n=W(n))&&!H.call(n,t));return t}}():function(e,t){for(var n in t)e[n]=t[n];return e}),ie=e.MutationObserver||e.WebKitMutationObserver,le=(e.HTMLElement||e.Element||e.Node).prototype,se=!H.call(le,A),ce=se?function(e,t,n){return e[t]=n.value,e}:B,ue=se?function(e){return 1===e.nodeType}:function(e){return H.call(le,e)},de=se&&[],fe=le.attachShadow,pe=le.cloneNode,he=le.dispatchEvent,me=le.getAttribute,ve=le.hasAttribute,be=le.removeAttribute,ge=le.setAttribute,_e=n.createElement,ye=_e,we=ie&&{attributes:!0,characterData:!0,attributeOldValue:!0},ke=ie||function(e){Se=!1,A.removeEventListener(P,ke)},Oe=0,xe=h in n&&!/^force-all/.test(t.type),Ee=!0,Pe=!1,Se=!0,Ce=!0,Te=!0;function De(){var e=o.splice(0,o.length);for(Oe=0;e.length;)e.shift().call(null,e.shift())}function je(e,t){for(var n=0,r=e.length;n<r;n++)ze(e[n],t)}function Ne(e){return function(t){ue(t)&&(ze(t,e),M.length&&je(t.querySelectorAll(M),e))}}function Re(e){var t=me.call(e,"is"),n=e.nodeName.toUpperCase(),r=L.call(N,t?T+t.toUpperCase():C+n);return t&&-1<r&&!Me(n,t)?-1:r}function Me(e,t){return-1<M.indexOf(e+'[is="'+t+'"]')}function Ae(e){var t=e.currentTarget,n=e.attrChange,r=e.attrName,a=e.target,o=e.ADDITION||2,i=e.REMOVAL||3;!Te||a&&a!==t||!t.attributeChangedCallback||"style"===r||e.prevValue===e.newValue&&(""!==e.newValue||n!==o&&n!==i)||t.attributeChangedCallback(r,n===o?null:e.prevValue,n===i?null:e.newValue)}function Le(e){var t=Ne(e);return function(e){o.push(t,e.target),Oe&&clearTimeout(Oe),Oe=setTimeout(De,1)}}function Ie(e){Ce&&(Ce=!1,e.currentTarget.removeEventListener(S,Ie)),M.length&&je((e.target||n).querySelectorAll(M),e.detail===_?_:b),se&&function(){for(var e,t=0,n=de.length;t<n;t++)e=de[t],A.contains(e)||(n--,de.splice(t--,1),ze(e,_))}()}function Fe(e,t){var n=this;ge.call(n,e,t),i.call(n,{target:n})}function He(e,t){oe(e,t),c?c.observe(e,we):(Se&&(e.setAttribute=Fe,e[m]=s(e),e.addEventListener("DOMSubtreeModified",i)),e.addEventListener(P,Ae)),e.createdCallback&&Te&&(e.created=!0,e.createdCallback(),e.created=!1)}function Be(e){throw new Error("A "+e+" type is already registered")}function ze(e,t){var n,r,a=Re(e);-1<a&&(d(e,R[a]),a=0,t!==b||e.attached?t!==_||e.detached||(e.attached=!1,e.detached=!0,r="disconnected",a=1):(e.detached=!1,e.attached=!0,r="connected",a=1,se&&L.call(de,e)<0&&de.push(e)),a&&(n=e[t+g]||e[r+g])&&n.call(e))}function Ue(){}function Ve(e,t,r){var a=r&&r.extends||"",o=t.prototype,i=ae(o),l=t.observedAttributes||z,s={prototype:i};ce(i,k,{value:function(){if(J)J=!1;else if(!this[K]){this[K]=!0,new t(this),o.createdCallback&&o.createdCallback.call(this);var e=ee[ne.get(t)];(!Z||e.create.length>1)&&Ye(this)}}}),ce(i,w,{value:function(e){-1<L.call(l,e)&&o.attributeChangedCallback.apply(this,arguments)}}),o.connectedCallback&&ce(i,"attachedCallback",{value:o.connectedCallback}),o.disconnectedCallback&&ce(i,"detachedCallback",{value:o.disconnectedCallback}),a&&(s.extends=a),e=e.toUpperCase(),ee[e]={constructor:t,create:a?[a,re(e)]:[e]},ne.set(t,e),n.registerElement(e.toLowerCase(),s),Ke(e),te[e].r()}function We(e){var t=ee[e.toUpperCase()];return t&&t.constructor}function qe(e){return"string"==typeof e?e:e&&e.is||""}function Ye(e){for(var t,n=e.attributeChangedCallback,r=n?e.attributes:z,a=r.length;a--;)t=r[a],n.call(e,t.name||t.nodeName,null,t.value||t.nodeValue)}function Ke(e){return(e=e.toUpperCase())in te||(te[e]={},te[e].p=new Q((function(t){te[e].r=t}))),te[e].p}function Ge(){G&&delete e.customElements,B(e,"customElements",{configurable:!0,value:new Ue}),B(e,"CustomElementRegistry",{configurable:!0,value:Ue});for(var t=function(t){var r=e[t];if(r){e[t]=function(e){var t,a;return e||(e=this),e[K]||(J=!0,t=ee[ne.get(e.constructor)],(e=(a=Z&&1===t.create.length)?Reflect.construct(r,z,t.constructor):n.createElement.apply(n,t.create))[K]=!0,J=!1,a||Ye(e)),e},e[t].prototype=r.prototype;try{r.prototype.constructor=e[t]}catch(n){B(r,K,{value:e[t]})}}},r=a.get(/^HTML[A-Z]*[a-z]/),o=r.length;o--;t(r[o]));n.createElement=function(e,t){var n=qe(t);return n?ye.call(this,e,re(n)):ye.call(this,e)},xe||(Pe=!0,n.registerElement(""))}if(ie&&((p=n.createElement("div")).innerHTML="<div><div></div></div>",new ie((function(e,t){if(e[0]&&"childList"==e[0].type&&!e[0].removedNodes[0].childNodes.length){var n=(p=U(le,"innerHTML"))&&p.set;n&&B(le,"innerHTML",{set:function(e){for(;this.lastChild;)this.removeChild(this.lastChild);n.call(this,e)}})}t.disconnect(),p=null})).observe(p,{childList:!0,subtree:!0}),p.innerHTML=""),xe||(q||Y?(d=function(e,t){H.call(t,e)||He(e,t)},f=He):(d=function(e,t){e[m]||(e[m]=r(!0),He(e,t))},f=d),se?(Se=!1,function(){var e=U(le,v),t=e.value,n=function(e){var t=new CustomEvent(P,{bubbles:!0});t.attrName=e,t.prevValue=me.call(this,e),t.newValue=null,t.REMOVAL=t.attrChange=2,be.call(this,e),he.call(this,t)},r=function(e,t){var n=ve.call(this,e),r=n&&me.call(this,e),a=new CustomEvent(P,{bubbles:!0});ge.call(this,e,t),a.attrName=e,a.prevValue=n?r:null,a.newValue=t,n?a.MODIFICATION=a.attrChange=1:a.ADDITION=a.attrChange=0,he.call(this,a)},a=function(e){var t,n=e.currentTarget,r=n[m],a=e.propertyName;r.hasOwnProperty(a)&&(r=r[a],(t=new CustomEvent(P,{bubbles:!0})).attrName=r.name,t.prevValue=r.value||null,t.newValue=r.value=n[a]||null,null==t.prevValue?t.ADDITION=t.attrChange=0:t.MODIFICATION=t.attrChange=1,he.call(n,t))};e.value=function(e,o,i){e===P&&this.attributeChangedCallback&&this.setAttribute!==r&&(this[m]={className:{name:"class",value:this.className}},this.setAttribute=r,this.removeAttribute=n,t.call(this,"propertychange",a)),t.call(this,e,o,i)},B(le,v,e)}()):ie||(A.addEventListener(P,ke),A.setAttribute(m,1),A.removeAttribute(m),Se&&(i=function(e){var t,n,r,a=this;if(a===e.target){for(r in t=a[m],a[m]=n=s(a),n){if(!(r in t))return l(0,a,r,t[r],n[r],O);if(n[r]!==t[r])return l(1,a,r,t[r],n[r],x)}for(r in t)if(!(r in n))return l(2,a,r,t[r],n[r],E)}},l=function(e,t,n,r,a,o){var i={attrChange:e,currentTarget:t,attrName:n,prevValue:r,newValue:a};i[o]=e,Ae(i)},s=function(e){for(var t,n,r={},a=e.attributes,o=0,i=a.length;o<i;o++)"setAttribute"!==(n=(t=a[o]).name)&&(r[n]=t.value);return r})),n.registerElement=function(e,t){if(r=e.toUpperCase(),Ee&&(Ee=!1,ie?(c=function(e,t){function n(e,t){for(var n=0,r=e.length;n<r;t(e[n++]));}return new ie((function(r){for(var a,o,i,l=0,s=r.length;l<s;l++)"childList"===(a=r[l]).type?(n(a.addedNodes,e),n(a.removedNodes,t)):(o=a.target,Te&&o.attributeChangedCallback&&"style"!==a.attributeName&&(i=me.call(o,a.attributeName))!==a.oldValue&&o.attributeChangedCallback(a.attributeName,a.oldValue,i))}))}(Ne(b),Ne(_)),u=function(e){return c.observe(e,{childList:!0,subtree:!0}),e},u(n),fe&&(le.attachShadow=function(){return u(fe.apply(this,arguments))})):(o=[],n.addEventListener("DOMNodeInserted",Le(b)),n.addEventListener("DOMNodeRemoved",Le(_))),n.addEventListener(S,Ie),n.addEventListener("readystatechange",Ie),le.cloneNode=function(e){var t=pe.call(this,!!e),n=Re(t);return-1<n&&f(t,R[n]),e&&M.length&&function(e){for(var t,n=0,r=e.length;n<r;n++)t=e[n],f(t,R[Re(t)])}(t.querySelectorAll(M)),t}),Pe)return Pe=!1;if(-2<L.call(N,T+r)+L.call(N,C+r)&&Be(e),!D.test(r)||-1<L.call(j,r))throw new Error("The type "+e+" is invalid");var r,a,i=function(){return s?n.createElement(d,r):n.createElement(d)},l=t||I,s=F.call(l,y),d=s?t.extends.toUpperCase():r;return s&&-1<L.call(N,C+d)&&Be(d),a=N.push((s?T:C)+r)-1,M=M.concat(M.length?",":"",s?d+'[is="'+e.toLowerCase()+'"]':d),i.prototype=R[a]=F.call(l,"prototype")?l.prototype:ae(le),M.length&&je(n.querySelectorAll(M),b),i},n.createElement=ye=function(e,t){var r=qe(t),a=r?_e.call(n,e,re(r)):_e.call(n,e),o=""+e,i=L.call(N,(r?T:C)+(r||o).toUpperCase()),l=-1<i;return r&&(a.setAttribute("is",r=r.toLowerCase()),l&&(l=Me(o.toUpperCase(),r))),Te=!n.createElement.innerHTMLHelper,l&&f(a,R[i]),a}),Ue.prototype={constructor:Ue,define:Z?function(e,t,n){if(n)Ve(e,t,n);else{var r=e.toUpperCase();ee[r]={constructor:t,create:[r]},ne.set(t,r),G.define(e,t)}}:Ve,get:Z?function(e){return G.get(e)||We(e)}:We,whenDefined:Z?function(e){return Q.race([G.whenDefined(e),Ke(e)])}:Ke},!G||/^force/.test(t.type))Ge();else if(!t.noBuiltIn)try{!function(t,r,a){if(r.extends="a",(t.prototype=ae(HTMLAnchorElement.prototype)).constructor=t,e.customElements.define(a,t,r),me.call(n.createElement("a",{is:a}),"is")!==a||Z&&me.call(new t,"is")!==a)throw r}((function e(){return Reflect.construct(HTMLAnchorElement,[],e)}),{},"document-register-element-a")}catch(e){Ge()}if(!t.noBuiltIn)try{_e.call(n,"a","a")}catch(e){re=function(e){return{is:e.toLowerCase()}}}}function TO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function DO(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?TO(Object(n),!0).forEach((function(t){Il(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):TO(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function jO(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Kg(e);if(t){var a=Kg(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return Yg(this,n)}}hO({target:"Array",proto:!0,forced:!kO},{splice:function(e,t){var n,r,a,o,i,l,s=_O(this),c=gO(s),u=vO(e,c),d=arguments.length;if(0===d?n=r=0:1===d?(n=0,r=c-u):(n=d-2,r=EO(xO(bO(t),0),c-u)),c+n-r>PO)throw OO(SO);for(a=yO(s,r),o=0;o<r;o++)(i=u+o)in s&&wO(a,o,s[i]);if(a.length=r,n<r){for(o=u;o<c-r;o++)l=o+n,(i=o+r)in s?s[l]=s[i]:delete s[l];for(o=c;o>c-r+n;o--)delete s[o-1]}else if(n>r)for(o=c-r;o>u;o--)l=o+n-1,(i=o+r-1)in s?s[l]=s[i]:delete s[l];for(o=0;o<n;o++)s[o+u]=arguments[o+2];return s.length=c-r+n,a}});var NO=void 0!==A&&!1,RO=NO,MO="undefined"!=typeof window&&(window.registeredElements=window.registeredElements||[])||[],AO=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=r.attributesExcludelist,o=void 0===a?["id"]:a;if(e||(e=t.displayName||t.name),-1===MO.indexOf(e)){if(MO.push(e),"undefined"==typeof document||"undefined"==typeof window)return null;RO||(RO=!0,CO(window)),n&&(n=IO(n));var i=function(e){Wg(a,e);var r=jO(a);function a(e){var t;return Ml(this,a),(t=r.call(this,e))._elementRef=l.default.createRef(),t._customMethods={},t._customEvents=[],t._isConnected=!1,t._props={},t}return Ll(a,[{key:"connectedCallback",value:function(){this.updateChildren(),this.renderElement(),this._isConnected=!0}},{key:"attributeChangedCallback",value:function(e,t,n){return!(!this._isConnected||t===n)&&(this.renderElement(),n)}},{key:"disconnectedCallback",value:function(){NO||s.default.unmountComponentAtNode(this),this._children&&delete this._children,this._isConnected&&delete this._isConnected,this._elementRef&&delete this._elementRef,this._customMethods&&delete this._customMethods,this._customEvents&&delete this._customEvents,this._props=null,this._ref=null}},{key:"updateChildren",value:function(){this._children=[];var e,t,n=this.childNodes;for(e=n.length;e--;)(t=FO(n[e]))&&this._children.push(t)}},{key:"connectEvents",value:function(){for(var e={},t=this.attributes.length;t--;)e[this.attributes[t].name]=this.attributes[t].value;e.events&&(e.event=e.events,delete e.events);var n=[].concat(Zb(e.event?e.event.split(","):[]),Zb(Object.entries(e).map((function(e){var t=zl(e,2),n=t[0],r=t[1];return n&&/^(on_|on[A-Z]|render_)/.test(n)?n+"="+r:null})).filter(Boolean)));return n.length>0&&(n.forEach((function(t){var n=zl(t.split("="),2),r=n[0],a=n[1];r=BO[r]||r,e[r]=function(){try{var e=a.split("."),t=zl(e,2),n=t[0],o=t[1];o=o?window[n][o]:window[n];for(var i=arguments.length,s=new Array(i),c=0;c<i;c++)s[c]=arguments[c];var u=o.apply(n,[].concat(s));if(u instanceof HTMLElement){for(var d=[],f=u.childNodes,p=u.attributes,h={},m=f.length;m--;)d.push(FO(f[m]));for(var v=p.length;v--;)h[HO[p[v].name]||p[v].name]=p[v].value;var b=u.nodeName.toLowerCase();return u.remove(),l.default.createElement(b,h,d)}return u}catch(e){new N_("The '".concat(r,"' event has failed. '").concat(a,"' has to exist on a 'window' scope!"),e)}}})),delete e.event),e}},{key:"setProps",value:function(e,t){return"string"==typeof e&&(e=Il({},e,t)),this.renderElement(e)}},{key:"getRef",value:function(){return this._ref}},{key:"addEvent",value:function(e,t){var n,r=this,a=function(e){return t.apply(r,[e])};return null===(n=this._customEvents)||void 0===n||n.push({eventName:e,eventCallback:t,eventWrapper:a}),a}},{key:"removeEvent",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this._customEvents=this._customEvents.reduce((function(n,r){t?r.eventCallback!==t&&n.push(r):r.eventWrapper!==e&&n.push(r);return n}),[])}},{key:"fireEvent",value:function(e){for(var t=this,n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];this._customEvents.forEach((function(n){var a=n.eventName,o=n.eventCallback;a===e&&"function"==typeof o&&o.apply(t,[].concat(r))}))}},{key:"renderElement",value:function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(var r in n=DO(DO(DO({},this._props),this.connectEvents()),n))"true"===n[r]?n[r]=!0:"false"===n[r]?n[r]=!1:void 0===n[r]||null===n[r]||isNaN(Number(n[r]))||(n[r]=Number(n[r]));for(var a=o.length;a--;)n[o[a]]&&this.removeAttribute(o[a]);return this._children&&this._children.length>0&&(n.children=this._children),this._elementRef&&(n.ref=this._elementRef),n.custom_element||(n.custom_element=this),n.custom_method||(n.custom_method=function(t,n){e[t]=e._customMethods[t]=n}),this._props=n,this._ref=l.default.createElement(t,n),s.default.render(this._ref,this),this}}],[{key:"observedAttributes",get:function(){return n||[]}}]),a}($g(HTMLElement));return window.customElements.define(e,i)}},LO=function(e){return e&&!/[A-Z]/.test(e)&&!/children/.test(e)},IO=function(e){return Array.isArray(e)?e.filter(LO):Object.entries(e||{}).reduce((function(e,t){var n=zl(t,1)[0];return e.push(n),e}),[]).filter(LO)},FO=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(3===t.nodeType)return t.nodeValue;if(1!==t.nodeType)return null;var r=[],a={},o=0,i=t.attributes,s=t.childNodes;for(o=i.length;o--;)a[i[o].name]=i[o].value;for(o=s.length;o--;)r[o]=e(s[o]);return a.key="key".concat(1e3*Math.random()),l.default.createElement(n||t.nodeName.toLowerCase(),a,r)},HO={class:"className",for:"htmlFor"},BO={onclick:"onClick"};function zO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function UO(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zO(Object(n),!0).forEach((function(t){Il(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zO(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var VO=function(){function e(t){var n=this;return Ml(this,e),Il(this,"id",void 0),Il(this,"listeners",void 0),Il(this,"update",(function(e){n.set(e),qO.__EEE__[n.id].instances.forEach((function(e){e.listeners.forEach((function(t){"function"==typeof t&&t(e.get())}))}))})),Il(this,"set",(function(e){qO.__EEE__[n.id].data=UO(UO({},qO.__EEE__[n.id].data),e)})),Il(this,"get",(function(){return qO.__EEE__[n.id].data})),qO.__EEE__=qO.__EEE__||{},qO.__EEE__[t]||(qO.__EEE__[t]={instances:[],count:0,data:{}}),qO.__EEE__[t].count=qO.__EEE__[t].count+1,qO.__EEE__[t].instances.push(this),this.id=t,this.listeners=[],this}return Ll(e,[{key:"listen",value:function(e){return this.listeners.includes(e)||this.listeners.push(e),this}},{key:"unlisten",value:function(e){for(var t=0,n=this.listeners.length;t<n;t++)(!e||e&&e===this.listeners[t])&&(this.listeners[t]=null)}},{key:"remove",value:function(){this.unlisten(),qO.__EEE__[this.id].count=qO.__EEE__[this.id].count-1,qO.__EEE__[this.id].count<=0&&delete qO[this.id]}}],[{key:"createInstance",value:function(t){return new e(t)}}]),e}();Il(VO,"__EEE__",void 0);var WO,qO="undefined"!=typeof window?window:VO,YO=VO;function KO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function GO(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?KO(Object(n),!0).forEach((function(t){Il(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):KO(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}!function(){if("undefined"!=typeof window){var e=function(){function e(){Ml(this,e)}return Ll(e,[{key:"version",get:function(){return"9.34.1"}}]),e}();window.Eufemia=new e}}(),sv.specificKeys([9]),WO=function e(){if("undefined"!=typeof document&&"undefined"!=typeof window&&"undefined"!=typeof navigator){try{"undefined"!=typeof window&&window.IS_TEST?document.documentElement.setAttribute("data-os","other"):null!==navigator.platform.match(new RegExp(Fv))?document.documentElement.setAttribute("data-os","mac"):null!==navigator.platform.match(new RegExp("Win"))?document.documentElement.setAttribute("data-os","win"):null!==navigator.platform.match(new RegExp(Hv))&&document.documentElement.setAttribute("data-os","linux")}catch(e){}document.removeEventListener("DOMContentLoaded",e)}},"undefined"!=typeof document&&"loading"===document.readyState?document.addEventListener("DOMContentLoaded",WO):WO();var ZO=function(e,t){if(e&&e.attributes){var n=e.attributes;n&&("{"===n[0]&&(n=JSON.parse(n)),n&&"object"===Ul(n)&&Object.entries(n).forEach((function(e){var n=zl(e,2),r=n[0],a=n[1];Fl(t,Il({},r,a))})),delete t.attributes)}if(null!==t.disabled&&"false"!==t.disabled||delete t.disabled,void 0!==t.space&&delete t.space,void 0!==t.top&&delete t.top,void 0!==t.right&&delete t.right,void 0!==t.bottom&&delete t.bottom,void 0!==t.left&&delete t.left,void 0!==t.no_collapse?delete t.no_collapse:"true"===t.disabled&&(t.disabled=!0),!0===t.disabled&&(t["aria-disabled"]=!0),e&&e.tabindex){var r=e.tabindex;"off"===r&&(r="-1"),t.tabIndex=r}if(t&&"object"===Ul(t))for(var a in t)"function"!=typeof t[a]||/(^[a-z]{1,}[A-Z]{1})/.test(a)?(null===t[a]||/[^a-z-]/i.test(a))&&delete t[a]:delete t[a];return t},$O=function(e){if(!e)return null;if(void 0!==d&&Array.isArray(d.registeredElements)&&d.registeredElements.length>0){var t=null;if(Object.entries(e).reverse().map((function(n){var r=zl(n,2),a=r[0],o=r[1];return a.includes("render_")&&/^render_/.test(a)&&"function"==typeof o?(t&&(Object.isFrozen(e)&&(e=GO({},e)),e.children=t),t=l.default.createElement(l.default.Fragment,{key:a},o(e))):null})).filter(Boolean),t)return t}var n="function"==typeof e.children?e.children(e):e.children;if(Array.isArray(n)){var r=n.reduce((function(e,t){return"string"!=typeof t&&"number"!=typeof t||e.push(t),e}),[]);if(r.length===n.length&&r.length>0)return r.join("")}return n},XO=function e(){for(var t={},n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];var o=r[0];return!0!==o&&!1!==o||(r.shift(),o&&(t=r.shift())),r.reduce((function(t,n){return n&&(t=Fl(t,Object.entries(n).reduce((function(n,r){var a=zl(r,2),o=a[0],i=a[1];return null!==i&&("object"===Ul(i)?(i=e(t[o]||{},i),Object.keys(i).length>0&&(n[o]=i)):n[o]=i),n}),{}))),t}),t)},QO=function(e){return null!=e&&("true"===String(e)||"1"===String(e))},JO=function(e,t,n){var r=void 0,a=GO(GO({},n&&n.event||{}),n);if(a&&a.attributes&&a.event){var o=a.event.currentTarget;if(o)try{var i=GO({},o.dataset||{}),l=GO({},a.attributes);for(var s in l)/^data-/.test(s)&&(i[String(s).replace(/^data-/,"")]=l[s]);for(var c in i)a.event.currentTarget.dataset&&(a.event.currentTarget.dataset[c]=i[c]),a.event.target&&a.event.target.dataset&&(a.event.target.dataset[c]=i[c])}catch(e){}}var u=e&&e.props||e;if(u.custom_element&&"function"==typeof u.custom_element.fireEvent&&(r=u.custom_element.fireEvent(t,a)),t.includes("_")){if("function"==typeof u[t]){var d=u[t].apply(e,[a]);void 0!==d&&(r=d)}if("function"==typeof u[t=ex(t)]){var f=u[t].apply(e,[a]);void 0!==f&&(r=f)}}else{if("function"==typeof u[t]){var p=u[t].apply(e,[a]);void 0!==p&&(r=p)}if("function"==typeof u[t=tx(t)]){var h=u[t].apply(e,[a]);void 0!==h&&(r=h)}}return r},ex=function(e){return e.split(/_/g).reduce((function(e,t,n){return e+(0===n?t:t.replace(/(\w)(\w*)/g,(function(e,t,n){return t.toUpperCase()+n.toLowerCase()})))}),"")},tx=function(e){return e.replace(/\B[A-Z]/g,(function(e){return"_".concat(e)})).toLowerCase()},nx=function(e){return e.replace(/\B[A-Z]/g,(function(e){return"-".concat(e)})).toLowerCase()},rx=function(e,t,n){return new ax(e,t,n)},ax=function(){function e(t,n){var r=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Ml(this,e),Il(this,"checkOutsideClick",(function(e){var t=e.event,n=e.ignoreElements,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;try{var a=t.target;if("HTML"===(null==a?void 0:a.tagName)&&(t.pageX>document.documentElement.clientWidth-40||t.pageY>document.documentElement.clientHeight-40))return;if(ox(a))return;for(var o,i=0,l=n.length;i<l;++i)if(o=a,n[i])do{if(o===n[i])return;o=o&&o.parentNode}while(o);"function"==typeof r&&r()}catch(e){}})),this.handleClickOutside||"undefined"==typeof document||"undefined"==typeof window||(Array.isArray(t)||(t=[t]),this.handleClickOutside=function(e){r.checkOutsideClick({event:e,ignoreElements:t},(function(){return"function"==typeof n&&n({event:e})}))},document.addEventListener("mousedown",this.handleClickOutside),this.keydownCallback=function(e){"esc"===iv(e)&&(window.removeEventListener("keydown",r.keydownCallback),"function"==typeof n&&n({event:e}))},window.addEventListener("keydown",this.keydownCallback),a.includedKeys&&(this.keyupCallback=function(e){var t=iv(e);a.includedKeys.includes(t)&&"function"==typeof r.handleClickOutside&&r.handleClickOutside(e,(function(){r.keyupCallback&&window.removeEventListener("keyup",r.keyupCallback)}))},window.addEventListener("keyup",this.keyupCallback)))}return Ll(e,[{key:"remove",value:function(){this.handleClickOutside&&"undefined"!=typeof document&&(document.removeEventListener("mousedown",this.handleClickOutside),this.handleClickOutside=null),this.keydownCallback&&"undefined"!=typeof window&&(window.removeEventListener("keydown",this.keydownCallback),this.keydownCallback=null),this.keyupCallback&&"undefined"!=typeof window&&(window.removeEventListener("keyup",this.keyupCallback),this.keyupCallback=null)}}]),e}(),ox=function(e){return e&&(e.scrollHeight>e.offsetHeight||e.scrollWidth>e.offsetWidth)&&ix(e)},ix=function(e){var t="undefined"!=typeof window?window.getComputedStyle(e):{};return/scroll|auto/i.test((t.overflow||"")+(t.overflowX||"")+(t.overflowY||""))},lx=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"id-",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:8;return e+String(Math.random().toString(36).substr(2,t)+sx++).slice(-t)},sx=0,cx=function(e){return String(e).toLowerCase().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")},ux=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;try{var r=function(e){if(n&&n(e))return e;return e&&e===t};if(r(e))return e;for(;(e=e&&e.parentElement)&&!r(e););}catch(e){}return e},dx=function(e){return eb(".dnb-scroll-view",e)},fx=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;Array.isArray(e)||(e=[e]);var n=function e(n){if(l.default.isValidElement(n))if("string"==typeof n.props.children)n=n.props.children.trim();else{if(!Array.isArray(n.props.children))return null;n=n.props.children.reduce((function(n,r){return"string"!=typeof r&&(r=e(r)),"string"==typeof r&&(n=(n+(t||"")+r).trim()),n}),"")}return n};return e.map((function(e){return n(e)})).filter(Boolean).join(t).trim()};function px(e,t){return e?t:null}function hx(e){return e&&"error"!==e&&"warn"!==e&&"info"!==e}function mx(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return bx("aria-labelledby",t)}function vx(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return bx("aria-describedby",t)}function bx(e,t){return""===(t=(t=t.map((function(n){return n&&t.includes(n[e])?null:(n&&void 0!==n[e]&&(n=n[e]),"string"!=typeof n&&(n=null),n)}))).filter(Boolean).join(" "))&&(t=void 0),t}function gx(e,t){Array.isArray(e)||(e=[e]);var n=null;return e.some((function(e){if(e&&e.props&&e.props.children){var r=gx(e.props.children,t);if(r)return n=r}return l.default.isValidElement(e)&&t(e)?n=e:null})),n}function _x(e){return e.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&")}function yx(e){return Object.keys(e).forEach((function(t){void 0===e[t]&&delete e[t]})),e}function wx(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var kx={exports:{}},Ox={},xx="function"==typeof Symbol&&Symbol.for,Ex=xx?Symbol.for("react.element"):60103,Px=xx?Symbol.for("react.portal"):60106,Sx=xx?Symbol.for("react.fragment"):60107,Cx=xx?Symbol.for("react.strict_mode"):60108,Tx=xx?Symbol.for("react.profiler"):60114,Dx=xx?Symbol.for("react.provider"):60109,jx=xx?Symbol.for("react.context"):60110,Nx=xx?Symbol.for("react.async_mode"):60111,Rx=xx?Symbol.for("react.concurrent_mode"):60111,Mx=xx?Symbol.for("react.forward_ref"):60112,Ax=xx?Symbol.for("react.suspense"):60113,Lx=xx?Symbol.for("react.suspense_list"):60120,Ix=xx?Symbol.for("react.memo"):60115,Fx=xx?Symbol.for("react.lazy"):60116,Hx=xx?Symbol.for("react.block"):60121,Bx=xx?Symbol.for("react.fundamental"):60117,zx=xx?Symbol.for("react.responder"):60118,Ux=xx?Symbol.for("react.scope"):60119;function Vx(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Ex:switch(e=e.type){case Nx:case Rx:case Sx:case Tx:case Cx:case Ax:return e;default:switch(e=e&&e.$$typeof){case jx:case Mx:case Fx:case Ix:case Dx:return e;default:return t}}case Px:return t}}}function Wx(e){return Vx(e)===Rx}Ox.AsyncMode=Nx,Ox.ConcurrentMode=Rx,Ox.ContextConsumer=jx,Ox.ContextProvider=Dx,Ox.Element=Ex,Ox.ForwardRef=Mx,Ox.Fragment=Sx,Ox.Lazy=Fx,Ox.Memo=Ix,Ox.Portal=Px,Ox.Profiler=Tx,Ox.StrictMode=Cx,Ox.Suspense=Ax,Ox.isAsyncMode=function(e){return Wx(e)||Vx(e)===Nx},Ox.isConcurrentMode=Wx,Ox.isContextConsumer=function(e){return Vx(e)===jx},Ox.isContextProvider=function(e){return Vx(e)===Dx},Ox.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Ex},Ox.isForwardRef=function(e){return Vx(e)===Mx},Ox.isFragment=function(e){return Vx(e)===Sx},Ox.isLazy=function(e){return Vx(e)===Fx},Ox.isMemo=function(e){return Vx(e)===Ix},Ox.isPortal=function(e){return Vx(e)===Px},Ox.isProfiler=function(e){return Vx(e)===Tx},Ox.isStrictMode=function(e){return Vx(e)===Cx},Ox.isSuspense=function(e){return Vx(e)===Ax},Ox.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Sx||e===Rx||e===Tx||e===Cx||e===Ax||e===Lx||"object"==typeof e&&null!==e&&(e.$$typeof===Fx||e.$$typeof===Ix||e.$$typeof===Dx||e.$$typeof===jx||e.$$typeof===Mx||e.$$typeof===Bx||e.$$typeof===zx||e.$$typeof===Ux||e.$$typeof===Hx)},Ox.typeOf=Vx;
12
+ !function(e,t){var n;n=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={exports:{},id:r,loaded:!1};return e[r].call(a.exports,a,a.exports,n),a.loaded=!0,a.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t){e.exports=function(){if("undefined"==typeof document||"undefined"==typeof window)return{ask:function(){return"initial"},element:function(){return null},ignoreKeys:function(){},specificKeys:function(){},registerOnChange:function(){},unRegisterOnChange:function(){}};var e=document.documentElement,t=null,n="initial",r=n,a=Date.now(),o="false",i=["button","input","select","textarea"],l=[],s=[16,17,18,91,93],c=[],u={keydown:"keyboard",keyup:"keyboard",mousedown:"mouse",mousemove:"mouse",MSPointerDown:"pointer",MSPointerMove:"pointer",pointerdown:"pointer",pointermove:"pointer",touchstart:"touch",touchend:"touch"},d=!1,f={x:null,y:null},p={2:"touch",3:"touch",4:"mouse"},h=!1;try{var m=Object.defineProperty({},"passive",{get:function(){h=!0}});window.addEventListener("test",null,m)}catch(e){}var v=function(){var e=!!h&&{passive:!0};document.addEventListener("DOMContentLoaded",b),window.PointerEvent?(window.addEventListener("pointerdown",g),window.addEventListener("pointermove",y)):window.MSPointerEvent?(window.addEventListener("MSPointerDown",g),window.addEventListener("MSPointerMove",y)):(window.addEventListener("mousedown",g),window.addEventListener("mousemove",y),"ontouchstart"in window&&(window.addEventListener("touchstart",g,e),window.addEventListener("touchend",g))),window.addEventListener(P(),y,e),window.addEventListener("keydown",g),window.addEventListener("keyup",g),window.addEventListener("focusin",w),window.addEventListener("focusout",k)},b=function(){if(o=!(e.getAttribute("data-whatpersist")||"false"===document.body.getAttribute("data-whatpersist")))try{window.sessionStorage.getItem("what-input")&&(n=window.sessionStorage.getItem("what-input")),window.sessionStorage.getItem("what-intent")&&(r=window.sessionStorage.getItem("what-intent"))}catch(e){}_("input"),_("intent")},g=function(e){var t=e.which,a=u[e.type];"pointer"===a&&(a=x(e));var o=!c.length&&-1===s.indexOf(t),l=c.length&&-1!==c.indexOf(t),d="keyboard"===a&&t&&(o||l)||"mouse"===a||"touch"===a;if(E(a)&&(d=!1),d&&n!==a&&(O("input",n=a),_("input")),d&&r!==a){var f=document.activeElement;f&&f.nodeName&&(-1===i.indexOf(f.nodeName.toLowerCase())||"button"===f.nodeName.toLowerCase()&&!T(f,"form"))&&(O("intent",r=a),_("intent"))}},_=function(t){e.setAttribute("data-what"+t,"input"===t?n:r),S(t)},y=function(e){var t=u[e.type];"pointer"===t&&(t=x(e)),C(e),(!d&&!E(t)||d&&"wheel"===e.type||"mousewheel"===e.type||"DOMMouseScroll"===e.type)&&r!==t&&(O("intent",r=t),_("intent"))},w=function(n){n.target.nodeName?(t=n.target.nodeName.toLowerCase(),e.setAttribute("data-whatelement",t),n.target.classList&&n.target.classList.length&&e.setAttribute("data-whatclasses",n.target.classList.toString().replace(" ",","))):k()},k=function(){t=null,e.removeAttribute("data-whatelement"),e.removeAttribute("data-whatclasses")},O=function(e,t){if(o)try{window.sessionStorage.setItem("what-"+e,t)}catch(e){}},x=function(e){return"number"==typeof e.pointerType?p[e.pointerType]:"pen"===e.pointerType?"touch":e.pointerType},E=function(e){var t=Date.now(),r="mouse"===e&&"touch"===n&&t-a<200;return a=t,r},P=function(){return"onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll"},S=function(e){for(var t=0,a=l.length;t<a;t++)l[t].type===e&&l[t].fn.call(void 0,"input"===e?n:r)},C=function(e){f.x!==e.screenX||f.y!==e.screenY?(d=!1,f.x=e.screenX,f.y=e.screenY):d=!0},T=function(e,t){var n=window.Element.prototype;if(n.matches||(n.matches=n.msMatchesSelector||n.webkitMatchesSelector),n.closest)return e.closest(t);do{if(e.matches(t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null};return"addEventListener"in window&&Array.prototype.indexOf&&(u[P()]="mouse",v()),{ask:function(e){return"intent"===e?r:n},element:function(){return t},ignoreKeys:function(e){s=e},specificKeys:function(e){c=e},registerOnChange:function(e,t){l.push({fn:e,type:t||"input"})},unRegisterOnChange:function(e){var t=function(e){for(var t=0,n=l.length;t<n;t++)if(l[t].fn===e)return t}(e);(t||0===t)&&l.splice(t,1)},clearStorage:function(){window.sessionStorage.clear()}}}()}])},e.exports=n()}(lv);var sv=lv.exports;function cv(e,t,n,r,a,o,i){try{var l=e[o](i),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,a)}function uv(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){cv(o,r,a,i,l,"next",e)}function l(e){cv(o,r,a,i,l,"throw",e)}i(void 0)}))}}var dv={exports:{}};!function(e){var t=function(e){var t,n=Object.prototype,r=n.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",i=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var a=t&&t.prototype instanceof v?t:v,o=Object.create(a.prototype),i=new C(r||[]);return o._invoke=function(e,t,n){var r=d;return function(a,o){if(r===p)throw new Error("Generator is already running");if(r===h){if("throw"===a)throw o;return D()}for(n.method=a,n.arg=o;;){var i=n.delegate;if(i){var l=E(i,n);if(l){if(l===m)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===d)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var s=u(e,t,n);if("normal"===s.type){if(r=n.done?h:f,s.arg===m)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r=h,n.method="throw",n.arg=s.arg)}}}(e,n,i),o}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var d="suspendedStart",f="suspendedYield",p="executing",h="completed",m={};function v(){}function b(){}function g(){}var _={};s(_,o,(function(){return this}));var y=Object.getPrototypeOf,w=y&&y(y(T([])));w&&w!==n&&r.call(w,o)&&(_=w);var k=g.prototype=v.prototype=Object.create(_);function O(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(a,o,i,l){var s=u(e[a],e,o);if("throw"!==s.type){var c=s.arg,d=c.value;return d&&"object"==typeof d&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,i,l)}),(function(e){n("throw",e,i,l)})):t.resolve(d).then((function(e){c.value=e,i(c)}),(function(e){return n("throw",e,i,l)}))}l(s.arg)}var a;this._invoke=function(e,r){function o(){return new t((function(t,a){n(e,r,t,a)}))}return a=a?a.then(o,o):o()}}function E(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,E(e,n),"throw"===n.method))return m;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var a=u(r,e.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,m;var o=a.arg;return o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function T(e){if(e){var n=e[o];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var a=-1,i=function n(){for(;++a<e.length;)if(r.call(e,a))return n.value=e[a],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}return{next:D}}function D(){return{value:t,done:!0}}return b.prototype=g,s(k,"constructor",g),s(g,"constructor",b),b.displayName=s(g,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,s(e,l,"GeneratorFunction")),e.prototype=Object.create(k),e},e.awrap=function(e){return{__await:e}},O(x.prototype),s(x.prototype,i,(function(){return this})),e.AsyncIterator=x,e.async=function(t,n,r,a,o){void 0===o&&(o=Promise);var i=new x(c(t,n,r,a),o);return e.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},O(k),s(k,l,"Generator"),s(k,o,(function(){return this})),s(k,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=T,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(S),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function a(r,a){return l.type="throw",l.arg=e,n.next=r,a&&(n.method="next",n.arg=t),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],l=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),S(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;S(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}(dv);var fv=dv.exports,pv=ba,hv=I,mv=H,vv=xa,bv=ge,gv=ut,_v=Cr,yv=Tl,wv=Go,kv=td,Ov=je,xv=Tt("isConcatSpreadable"),Ev=9007199254740991,Pv="Maximum allowed index exceeded",Sv=hv.TypeError,Cv=Ov>=51||!mv((function(){var e=[];return e[xv]=!1,e.concat()[0]!==e})),Tv=kv("concat"),Dv=function(e){if(!bv(e))return!1;var t=e[xv];return void 0!==t?!!t:vv(e)};pv({target:"Array",proto:!0,forced:!Cv||!Tv},{concat:function(e){var t,n,r,a,o,i=gv(this),l=wv(i,0),s=0;for(t=-1,r=arguments.length;t<r;t++)if(Dv(o=-1===t?i:arguments[t])){if(s+(a=_v(o))>Ev)throw Sv(Pv);for(n=0;n<a;n++,s++)n in o&&yv(l,s,o[n])}else{if(s>=Ev)throw Sv(Pv);yv(l,s++,o)}return l.length=s,l}});var jv,Nv,Rv,Mv,Av,Lv,Iv,Fv="Mac|iPad|iPhone|iPod",Hv="Linux",Bv=!1,zv=!1,Uv=!1,Vv=!1,Wv=!1,qv=!1,Yv=!1,Kv=function(){var e;return Yv="undefined"!=typeof navigator&&new RegExp("Android","i").test(null===(e=navigator)||void 0===e?void 0:e.userAgent)};function Gv(e){var t=0;if(e)do{isNaN(e.offsetTop)||(t+=e.offsetTop)}while(e=e.offsetParent);return t}function Zv(e){var t=0;if(e)do{isNaN(e.offsetLeft)||(t+=e.offsetLeft)}while(e=e.offsetParent);return t}function $v(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:250,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=a.immediate,i=void 0!==o&&o,l=a.instance,s=void 0===l?null:l,c=function(){return clearTimeout(t)};function u(){for(var a=arguments.length,o=new Array(a),l=0;l<a;l++)o[l]=arguments[l];var c=this;"function"==typeof n&&n();var u=function(){t=null,i||(n=e.apply(s||c,o))},d=i&&!t;return clearTimeout(t),t=setTimeout(u,r),d&&(n=e.apply(s||c,o)),n}return u.cancel=c,u}function Xv(){return function(){try{return window.getSelection().toString()}catch(e){}return""}().length>0}function Qv(){try{var e=window.getSelection();if(e.rangeCount>0){var t=e.getRangeAt(0).startContainer;return t&&"object"===Ul(t)&&(t=t.parentNode),t}}catch(e){}return null}Bv="undefined"!=typeof window&&"undefined"!=typeof document&&!!window.MSInputMethodContext&&!!document.documentMode,zv="undefined"!=typeof navigator&&/edge/i.test(null===(jv=navigator)||void 0===jv?void 0:jv.userAgent),Uv="undefined"!=typeof navigator&&new RegExp("iOS|iPhone|iPad|iPod","i").test(null===(Nv=navigator)||void 0===Nv?void 0:Nv.platform),Vv="undefined"!=typeof navigator&&/safari/i.test(null===(Rv=navigator)||void 0===Rv?void 0:Rv.userAgent)&&!/chrome/i.test(null===(Mv=navigator)||void 0===Mv?void 0:Mv.userAgent),Wv="undefined"!=typeof navigator&&new RegExp("Win","i").test(null===(Av=navigator)||void 0===Av?void 0:Av.platform),Kv(),qv="undefined"!=typeof navigator&&new RegExp(Fv,"i").test(null===(Lv=navigator)||void 0===Lv?void 0:Lv.platform),"undefined"!=typeof navigator&&new RegExp(Hv,"i").test(null===(Iv=navigator)||void 0===Iv?void 0:Iv.platform);var Jv=function(){},eb=function(e,t){try{var n=/[A-Z]/.test(e)?e:null,r=n?null:e.replace(/^\./,""),a=function(e){return e?n?(null==e?void 0:e.tagName)===n:null==e?void 0:e.classList.contains(r):null};if(a(t))return t;for(;(t=null===(o=t)||void 0===o?void 0:o.parentElement)&&!a(t);)var o}catch(e){}return t};var tb=B,nb=or.EXISTS,rb=ee,ab=rn.f,ob=Function.prototype,ib=rb(ob.toString),lb=/^\s*function ([^ (]*)/,sb=rb(lb.exec);tb&&!nb&&ab(ob,"name",{configurable:!0,get:function(){try{return sb(lb,ib(this))[1]}catch(e){return""}}});var cb=ba,ub=B,db=I,fb=ee,pb=pt,hb=ve,mb=Oe,vb=Fa,bb=rn.f,gb=ea,_b=db.Symbol,yb=_b&&_b.prototype;if(ub&&hb(_b)&&(!("description"in yb)||void 0!==_b().description)){var wb={},kb=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:vb(arguments[0]),t=mb(yb,this)?new _b(e):void 0===e?_b():_b(e);return""===e&&(wb[t]=!0),t};gb(kb,_b),kb.prototype=yb,yb.constructor=kb;var Ob="Symbol(test)"==String(_b("test")),xb=fb(yb.toString),Eb=fb(yb.valueOf),Pb=/^Symbol\((.*)\)[^)]+$/,Sb=fb("".replace),Cb=fb("".slice);bb(yb,"description",{configurable:!0,get:function(){var e=Eb(this),t=xb(e);if(pb(wb,e))return"";var n=Ob?Cb(t,7,-1):Sb(t,Pb,"$1");return""===n?void 0:n}}),cb({global:!0,forced:!0},{Symbol:kb})}yo("iterator");var Tb=me,Db=fd,jb=Yp,Nb=Jn,Rb=Fm,Mb="Array Iterator",Ab=Nb.set,Lb=Nb.getterFor(Mb),Ib=Rb(Array,"Array",(function(e,t){Ab(this,{type:Mb,target:Tb(e),index:0,kind:t})}),(function(){var e=Lb(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values");jb.Arguments=jb.Array,Db("keys"),Db("values"),Db("entries");var Fb=I,Hb=Cu,Bb=ju,zb=Ib,Ub=gn,Vb=Tt,Wb=Vb("iterator"),qb=Vb("toStringTag"),Yb=zb.values,Kb=function(e,t){if(e){if(e[Wb]!==Yb)try{Ub(e,Wb,Yb)}catch(t){e[Wb]=Yb}if(e[qb]||Ub(e,qb,t),Hb[t])for(var n in zb)if(e[n]!==zb[n])try{Ub(e,n,zb[n])}catch(t){e[n]=zb[n]}}};for(var Gb in Hb)Kb(Fb[Gb]&&Fb[Gb].prototype,Gb);function Zb(e){return function(e){if(Array.isArray(e))return Hl(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Bl(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}Kb(Bb,"DOMTokenList");var $b,Xb=ba,Qb=ee,Jb=F.f,eg=Pr,tg=Fa,ng=bd,rg=fe,ag=_d,og=Qb("".endsWith),ig=Qb("".slice),lg=Math.min,sg=ag("endsWith");function cg(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return ug(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ug(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){l=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(l)throw o}}}}function ug(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}Xb({target:"String",proto:!0,forced:!!(sg||($b=Jb(String.prototype,"endsWith"),!$b||$b.writable))&&!sg},{endsWith:function(e){var t=tg(rg(this));ng(e);var n=arguments.length>1?arguments[1]:void 0,r=t.length,a=void 0===n?r:lg(eg(n),r),o=tg(e);return og?og(t,o,a):ig(t,a-o.length,a)===o}});var dg=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return Ml(this,e),Il(this,"bypassElement",void 0),Il(this,"bypassSelectors",void 0),Il(this,"_nodesToInvalidate",void 0),Il(this,"options",void 0),this.bypassElement=null,this.bypassSelectors=[],this.options=t||{},this}return Ll(e,[{key:"setBypassElement",value:function(e){return e instanceof HTMLElement&&(this.bypassElement=e),this}},{key:"setBypassSelector",value:function(e){return Array.isArray(e)||(e=[e]),this.bypassSelectors=e,this}},{key:"activate",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this._nodesToInvalidate||this._runInvalidaiton(e)}},{key:"revert",value:function(){this._revertInvalidation(),this._nodesToInvalidate=null}},{key:"_runInvalidaiton",value:function(e){if("undefined"!=typeof document){this._nodesToInvalidate=this.getNodesToInvalidate(e);var t,n=cg(this._nodesToInvalidate);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(r){if(!1!==this.options.tabIndex){var a=r.getAttribute("tabindex");null!==a&&void 0===r.__tabindex&&(r.__tabindex=a),r.setAttribute("tabindex","-1")}if(!1!==this.options.ariaHidden){var o=r.getAttribute("aria-hidden");null!==o&&void 0===r.__ariahidden&&(r.__ariahidden=o),r.setAttribute("aria-hidden","true")}}}}catch(e){n.e(e)}finally{n.f()}}}},{key:"_revertInvalidation",value:function(){if(Array.isArray(this._nodesToInvalidate)){var e,t=cg(this._nodesToInvalidate);try{for(t.s();!(e=t.n()).done;){var n=e.value;n&&(!1!==this.options.tabIndex&&(void 0!==n.__tabindex?(n.setAttribute("tabindex",n.__tabindex),delete n.__tabindex):n.removeAttribute("tabindex")),!1!==this.options.ariaHidden&&(void 0!==n.__ariahidden?(n.setAttribute("aria-hidden",n.__ariahidden),delete n.__ariahidden):n.removeAttribute("aria-hidden")))}}catch(e){t.e(e)}finally{t.f()}}}},{key:"getNodesToInvalidate",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if("undefined"==typeof document)return[];"string"==typeof e&&(e=document.querySelector(e));var t=e?"*":"html *",n=this.bypassSelectors.map((function(e){return":not(".concat(e,")")})).join(""),r="".concat(t," ").concat(n,":not(script):not(style):not(path):not(head *)");if(Bv){var a=[],o=r.split(":").map((function(t){return t.endsWith(" *)")&&(a.push.apply(a,Zb(Array.from((e||document.documentElement).querySelectorAll(t.match(/\(([^)]*)\)/)[1])))),t=t.replace(" *","")),t})).join(":");return Array.from((e||document.documentElement).querySelectorAll(o)).filter((function(e){return!a.includes(e)}))}return Array.from((e||document.documentElement).querySelectorAll(r))}}]),e}();function fg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pg(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fg(Object(n),!0).forEach((function(t){Il(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fg(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function hg(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=pg(pg({},t),e);for(var n=arguments.length,r=new Array(n>2?n-2:0),a=2;a<n;a++)r[a-2]=arguments[a];return pg(pg({},e),bg(e,t,r))}function mg(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length,r=new Array(n>2?n-2:0),a=2;a<n;a++)r[a-2]=arguments[a];return pg(pg({},e),bg(e,t,r,{checkPropKey:!0}))}function vg(e){return e.reduce((function(e,t){return t&&(e=pg(pg({},e),t)),e}),{})}function bg(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=r.checkPropKey,o=void 0!==a&&a,i=vg(n);return Object.entries(i).reduce((function(n,r){var a=zl(r,2),i=a[0],l=a[1];return o&&!Object.prototype.hasOwnProperty.call(e,i)||e[i]!==(null==t?void 0:t[i])||(n[i]=l),n}),{})}var gg=ee,_g=Ke,yg=ge,wg=pt,kg=lo,Og=I.Function,xg=gg([].concat),Eg=gg([].join),Pg={},Sg=function(e,t,n){if(!wg(Pg,t)){for(var r=[],a=0;a<t;a++)r[a]="a["+a+"]";Pg[t]=Og("C,a","return new C("+Eg(r,",")+")")}return Pg[t](e,n)},Cg=Og.bind||function(e){var t=_g(this),n=t.prototype,r=kg(arguments,1),a=function(){var n=xg(r,kg(arguments));return this instanceof a?Sg(t,n.length,n):t.apply(e,n)};return yg(n)&&(a.prototype=n),a},Tg=ba,Dg=ka,jg=Cg,Ng=Af,Rg=cn,Mg=ge,Ag=oo,Lg=H,Ig=ke("Reflect","construct"),Fg=Object.prototype,Hg=[].push,Bg=Lg((function(){function e(){}return!(Ig((function(){}),[],e)instanceof e)})),zg=!Lg((function(){Ig((function(){}))})),Ug=Bg||zg;function Vg(e,t){return Vg=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Vg(e,t)}function Wg(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vg(e,t)}function qg(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yg(e,t){if(t&&("object"===Ul(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return qg(e)}function Kg(e){return Kg=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Kg(e)}function Gg(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function Zg(e,t,n){return Zg=Gg()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var a=new(Function.bind.apply(e,r));return n&&Vg(a,n.prototype),a},Zg.apply(null,arguments)}function $g(e){var t="function"==typeof Map?new Map:void 0;return $g=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return Zg(e,arguments,Kg(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Vg(r,e)},$g(e)}Tg({target:"Reflect",stat:!0,forced:Ug,sham:Ug},{construct:function(e,t){Ng(e),Rg(t);var n=arguments.length<3?e:Ng(arguments[2]);if(zg&&!Bg)return Ig(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return Dg(Hg,r,t),new(Dg(jg,e,r))}var a=n.prototype,o=Ag(Mg(a)?a:Fg),i=Dg(e,o,t);return Mg(i)?i:o}});var Xg=ba,Qg=Rr.indexOf,Jg=Ru,e_=ee([].indexOf),t_=!!e_&&1/e_([1],1,-0)<0,n_=Jg("indexOf");Xg({target:"Array",proto:!0,forced:t_||!n_},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return t_?e_(this,e,t)||0:Qg(this,e,t)}});var r_=ee(1..valueOf),a_=B,o_=I,i_=ee,l_=ca,s_=_n.exports,c_=pt,u_=pc,d_=Oe,f_=ze,p_=Ft,h_=H,m_=vr.f,v_=F.f,b_=rn.f,g_=r_,__=ev.trim,y_="Number",w_=o_.Number,k_=w_.prototype,O_=o_.TypeError,x_=i_("".slice),E_=i_("".charCodeAt),P_=function(e){var t=p_(e,"number");return"bigint"==typeof t?t:S_(t)},S_=function(e){var t,n,r,a,o,i,l,s,c=p_(e,"number");if(f_(c))throw O_("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=__(c),43===(t=E_(c,0))||45===t){if(88===(n=E_(c,2))||120===n)return NaN}else if(48===t){switch(E_(c,1)){case 66:case 98:r=2,a=49;break;case 79:case 111:r=8,a=55;break;default:return+c}for(i=(o=x_(c,2)).length,l=0;l<i;l++)if((s=E_(o,l))<48||s>a)return NaN;return parseInt(o,r)}return+c};if(l_(y_,!w_(" 0o1")||!w_("0b1")||w_("+0x1"))){for(var C_,T_=function(e){var t=arguments.length<1?0:w_(P_(e)),n=this;return d_(k_,n)&&h_((function(){g_(n)}))?u_(Object(t),n,T_):t},D_=a_?m_(w_):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),j_=0;D_.length>j_;j_++)c_(w_,C_=D_[j_])&&!c_(T_,C_)&&b_(T_,C_,v_(w_,C_));T_.prototype=k_,k_.constructor=T_,s_(o_,y_,T_)}function N_(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{message:null},n=t.message,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100;if("object"===Ul(e)&&(n=e.message),this.err=new Error("".concat(e,"\n\n").concat(n)),500===r)throw this.err;console.log(this.err)}var R_={exports:{}},M_=H,A_=ge,L_=ae,I_=Pd,F_=Object.isExtensible,H_=M_((function(){F_(1)}))||I_?function(e){return!!A_(e)&&((!I_||"ArrayBuffer"!=L_(e))&&(!F_||F_(e)))}:F_,B_=!H((function(){return Object.isExtensible(Object.preventExtensions({}))})),z_=ba,U_=ee,V_=An,W_=ge,q_=pt,Y_=rn.f,K_=vr,G_=io,Z_=H_,$_=B_,X_=!1,Q_=gt("meta"),J_=0,ey=function(e){Y_(e,Q_,{value:{objectID:"O"+J_++,weakData:{}}})},ty=R_.exports={enable:function(){ty.enable=function(){},X_=!0;var e=K_.f,t=U_([].splice),n={};n[Q_]=1,e(n).length&&(K_.f=function(n){for(var r=e(n),a=0,o=r.length;a<o;a++)if(r[a]===Q_){t(r,a,1);break}return r},z_({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:G_.f}))},fastKey:function(e,t){if(!W_(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!q_(e,Q_)){if(!Z_(e))return"F";if(!t)return"E";ey(e)}return e[Q_].objectID},getWeakData:function(e,t){if(!q_(e,Q_)){if(!Z_(e))return!0;if(!t)return!1;ey(e)}return e[Q_].weakData},onFreeze:function(e){return $_&&X_&&Z_(e)&&!q_(e,Q_)&&ey(e),e}};V_[Q_]=!0;var ny=So,ry=U,ay=cn,oy=Ve,iy=zh,ly=Cr,sy=Oe,cy=Jh,uy=Yh,dy=Ah,fy=I.TypeError,py=function(e,t){this.stopped=e,this.result=t},hy=py.prototype,my=function(e,t,n){var r,a,o,i,l,s,c,u=n&&n.that,d=!(!n||!n.AS_ENTRIES),f=!(!n||!n.IS_ITERATOR),p=!(!n||!n.INTERRUPTED),h=ny(t,u),m=function(e){return r&&dy(r,"normal",e),new py(!0,e)},v=function(e){return d?(ay(e),p?h(e[0],e[1],m):h(e[0],e[1])):p?h(e,m):h(e)};if(f)r=e;else{if(!(a=uy(e)))throw fy(oy(e)+" is not iterable");if(iy(a)){for(o=0,i=ly(e);i>o;o++)if((l=v(e[o]))&&sy(hy,l))return l;return new py(!1)}r=cy(e,a)}for(s=r.next;!(c=ry(s,r)).done;){try{l=v(c.value)}catch(e){dy(r,"throw",e)}if("object"==typeof l&&l&&sy(hy,l))return l}return new py(!1)},vy=Oe,by=I.TypeError,gy=function(e,t){if(vy(t,e))return e;throw by("Incorrect invocation")},_y=ba,yy=I,wy=ee,ky=ca,Oy=_n.exports,xy=R_.exports,Ey=my,Py=gy,Sy=ve,Cy=ge,Ty=H,Dy=vm,jy=xo,Ny=pc,Ry=_n.exports,My=function(e,t,n){for(var r in t)Ry(e,r,t[r],n);return e},Ay=rn.f,Ly=oo,Iy=My,Fy=So,Hy=gy,By=my,zy=Fm,Uy=kc,Vy=B,Wy=R_.exports.fastKey,qy=Jn.set,Yy=Jn.getterFor,Ky={getConstructor:function(e,t,n,r){var a=e((function(e,a){Hy(e,o),qy(e,{type:t,index:Ly(null),first:void 0,last:void 0,size:0}),Vy||(e.size=0),null!=a&&By(a,e[r],{that:e,AS_ENTRIES:n})})),o=a.prototype,i=Yy(t),l=function(e,t,n){var r,a,o=i(e),l=s(e,t);return l?l.value=n:(o.last=l={index:a=Wy(t,!0),key:t,value:n,previous:r=o.last,next:void 0,removed:!1},o.first||(o.first=l),r&&(r.next=l),Vy?o.size++:e.size++,"F"!==a&&(o.index[a]=l)),e},s=function(e,t){var n,r=i(e),a=Wy(t);if("F"!==a)return r.index[a];for(n=r.first;n;n=n.next)if(n.key==t)return n};return Iy(o,{clear:function(){for(var e=i(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,Vy?e.size=0:this.size=0},delete:function(e){var t=this,n=i(t),r=s(t,e);if(r){var a=r.next,o=r.previous;delete n.index[r.index],r.removed=!0,o&&(o.next=a),a&&(a.previous=o),n.first==r&&(n.first=a),n.last==r&&(n.last=o),Vy?n.size--:t.size--}return!!r},forEach:function(e){for(var t,n=i(this),r=Fy(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!s(this,e)}}),Iy(o,n?{get:function(e){var t=s(this,e);return t&&t.value},set:function(e,t){return l(this,0===e?0:e,t)}}:{add:function(e){return l(this,e=0===e?0:e,e)}}),Vy&&Ay(o,"size",{get:function(){return i(this).size}}),a},setStrong:function(e,t,n){var r=t+" Iterator",a=Yy(t),o=Yy(r);zy(e,t,(function(e,t){qy(this,{type:r,target:e,state:a(e),kind:t,last:void 0})}),(function(){for(var e=o(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),Uy(t)}},Gy=function(e,t,n){var r=-1!==e.indexOf("Map"),a=-1!==e.indexOf("Weak"),o=r?"set":"add",i=yy[e],l=i&&i.prototype,s=i,c={},u=function(e){var t=wy(l[e]);Oy(l,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(a&&!Cy(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return a&&!Cy(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(a&&!Cy(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(ky(e,!Sy(i)||!(a||l.forEach&&!Ty((function(){(new i).entries().next()})))))s=n.getConstructor(t,e,r,o),xy.enable();else if(ky(e,!0)){var d=new s,f=d[o](a?{}:-0,1)!=d,p=Ty((function(){d.has(1)})),h=Dy((function(e){new i(e)})),m=!a&&Ty((function(){for(var e=new i,t=5;t--;)e[o](t,t);return!e.has(-0)}));h||((s=t((function(e,t){Py(e,l);var n=Ny(new i,e,s);return null!=t&&Ey(t,n[o],{that:n,AS_ENTRIES:r}),n}))).prototype=l,l.constructor=s),(p||m)&&(u("delete"),u("has"),r&&u("get")),(m||f)&&u(o),a&&l.clear&&delete l.clear}return c[e]=s,_y({global:!0,forced:s!=i},c),jy(s,e),a||n.setStrong(s,e,r),s};Gy("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),Ky);var Zy,$y,Xy,Qy,Jy=I.Promise,ew=/(?:ipad|iphone|ipod).*applewebkit/i.test(xe),tw=I,nw=ka,rw=So,aw=ve,ow=pt,iw=H,lw=Ka,sw=lo,cw=qt,uw=ew,dw=Bd,fw=tw.setImmediate,pw=tw.clearImmediate,hw=tw.process,mw=tw.Dispatch,vw=tw.Function,bw=tw.MessageChannel,gw=tw.String,_w=0,yw={},ww="onreadystatechange";try{Zy=tw.location}catch(e){}var kw=function(e){if(ow(yw,e)){var t=yw[e];delete yw[e],t()}},Ow=function(e){return function(){kw(e)}},xw=function(e){kw(e.data)},Ew=function(e){tw.postMessage(gw(e),Zy.protocol+"//"+Zy.host)};fw&&pw||(fw=function(e){var t=sw(arguments,1);return yw[++_w]=function(){nw(aw(e)?e:vw(e),void 0,t)},$y(_w),_w},pw=function(e){delete yw[e]},dw?$y=function(e){hw.nextTick(Ow(e))}:mw&&mw.now?$y=function(e){mw.now(Ow(e))}:bw&&!uw?(Qy=(Xy=new bw).port2,Xy.port1.onmessage=xw,$y=rw(Qy.postMessage,Qy)):tw.addEventListener&&aw(tw.postMessage)&&!tw.importScripts&&Zy&&"file:"!==Zy.protocol&&!iw(Ew)?($y=Ew,tw.addEventListener("message",xw,!1)):$y=ww in cw("script")?function(e){lw.appendChild(cw("script")).onreadystatechange=function(){lw.removeChild(this),kw(e)}}:function(e){setTimeout(Ow(e),0)});var Pw,Sw,Cw,Tw,Dw,jw,Nw,Rw,Mw={set:fw,clear:pw},Aw=I,Lw=/ipad|iphone|ipod/i.test(xe)&&void 0!==Aw.Pebble,Iw=/web0s(?!.*chrome)/i.test(xe),Fw=I,Hw=So,Bw=F.f,zw=Mw.set,Uw=ew,Vw=Lw,Ww=Iw,qw=Bd,Yw=Fw.MutationObserver||Fw.WebKitMutationObserver,Kw=Fw.document,Gw=Fw.process,Zw=Fw.Promise,$w=Bw(Fw,"queueMicrotask"),Xw=$w&&$w.value;Xw||(Pw=function(){var e,t;for(qw&&(e=Gw.domain)&&e.exit();Sw;){t=Sw.fn,Sw=Sw.next;try{t()}catch(e){throw Sw?Tw():Cw=void 0,e}}Cw=void 0,e&&e.enter()},Uw||qw||Ww||!Yw||!Kw?!Vw&&Zw&&Zw.resolve?((Nw=Zw.resolve(void 0)).constructor=Zw,Rw=Hw(Nw.then,Nw),Tw=function(){Rw(Pw)}):qw?Tw=function(){Gw.nextTick(Pw)}:(zw=Hw(zw,Fw),Tw=function(){zw(Pw)}):(Dw=!0,jw=Kw.createTextNode(""),new Yw(Pw).observe(jw,{characterData:!0}),Tw=function(){jw.data=Dw=!Dw}));var Qw=Xw||function(e){var t={fn:e,next:void 0};Cw&&(Cw.next=t),Sw||(Sw=t,Tw()),Cw=t},Jw={},ek=Ke,tk=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=ek(t),this.reject=ek(n)};Jw.f=function(e){return new tk(e)};var nk,rk,ak,ok,ik=cn,lk=ge,sk=Jw,ck=I,uk="object"==typeof window,dk=ba,fk=I,pk=ke,hk=U,mk=Jy,vk=_n.exports,bk=My,gk=cc,_k=xo,yk=kc,wk=Ke,kk=ve,Ok=ge,xk=gy,Ek=Pn,Pk=my,Sk=vm,Ck=Hf,Tk=Mw.set,Dk=Qw,jk=function(e,t){if(ik(e),lk(t)&&t.constructor===e)return t;var n=sk.f(e);return(0,n.resolve)(t),n.promise},Nk=function(e,t){var n=ck.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))},Rk=Jw,Mk=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},Ak=Jn,Lk=ca,Ik=uk,Fk=Bd,Hk=je,Bk=Tt("species"),zk="Promise",Uk=Ak.get,Vk=Ak.set,Wk=Ak.getterFor(zk),qk=mk&&mk.prototype,Yk=mk,Kk=qk,Gk=fk.TypeError,Zk=fk.document,$k=fk.process,Xk=Rk.f,Qk=Xk,Jk=!!(Zk&&Zk.createEvent&&fk.dispatchEvent),eO=kk(fk.PromiseRejectionEvent),tO="unhandledrejection",nO=!1,rO=Lk(zk,(function(){var e=Ek(Yk),t=e!==String(Yk);if(!t&&66===Hk)return!0;if(Hk>=51&&/native code/.test(e))return!1;var n=new Yk((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};return(n.constructor={})[Bk]=r,!(nO=n.then((function(){}))instanceof r)||!t&&Ik&&!eO})),aO=rO||!Sk((function(e){Yk.all(e).catch((function(){}))})),oO=function(e){var t;return!(!Ok(e)||!kk(t=e.then))&&t},iO=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;Dk((function(){for(var r=e.value,a=1==e.state,o=0;n.length>o;){var i,l,s,c=n[o++],u=a?c.ok:c.fail,d=c.resolve,f=c.reject,p=c.domain;try{u?(a||(2===e.rejection&&uO(e),e.rejection=1),!0===u?i=r:(p&&p.enter(),i=u(r),p&&(p.exit(),s=!0)),i===c.promise?f(Gk("Promise-chain cycle")):(l=oO(i))?hk(l,i,d,f):d(i)):f(r)}catch(e){p&&!s&&p.exit(),f(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&sO(e)}))}},lO=function(e,t,n){var r,a;Jk?((r=Zk.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),fk.dispatchEvent(r)):r={promise:t,reason:n},!eO&&(a=fk["on"+e])?a(r):e===tO&&Nk("Unhandled promise rejection",n)},sO=function(e){hk(Tk,fk,(function(){var t,n=e.facade,r=e.value;if(cO(e)&&(t=Mk((function(){Fk?$k.emit("unhandledRejection",r,n):lO(tO,n,r)})),e.rejection=Fk||cO(e)?2:1,t.error))throw t.value}))},cO=function(e){return 1!==e.rejection&&!e.parent},uO=function(e){hk(Tk,fk,(function(){var t=e.facade;Fk?$k.emit("rejectionHandled",t):lO("rejectionhandled",t,e.value)}))},dO=function(e,t,n){return function(r){e(t,r,n)}},fO=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,iO(e,!0))},pO=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw Gk("Promise can't be resolved itself");var r=oO(t);r?Dk((function(){var n={done:!1};try{hk(r,t,dO(pO,n,e),dO(fO,n,e))}catch(t){fO(n,t,e)}})):(e.value=t,e.state=1,iO(e,!1))}catch(t){fO({done:!1},t,e)}}};if(rO&&(Kk=(Yk=function(e){xk(this,Kk),wk(e),hk(nk,this);var t=Uk(this);try{e(dO(pO,t),dO(fO,t))}catch(e){fO(t,e)}}).prototype,(nk=function(e){Vk(this,{type:zk,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=bk(Kk,{then:function(e,t){var n=Wk(this),r=n.reactions,a=Xk(Ck(this,Yk));return a.ok=!kk(e)||e,a.fail=kk(t)&&t,a.domain=Fk?$k.domain:void 0,n.parent=!0,r[r.length]=a,0!=n.state&&iO(n,!1),a.promise},catch:function(e){return this.then(void 0,e)}}),rk=function(){var e=new nk,t=Uk(e);this.promise=e,this.resolve=dO(pO,t),this.reject=dO(fO,t)},Rk.f=Xk=function(e){return e===Yk||e===ak?new rk(e):Qk(e)},kk(mk)&&qk!==Object.prototype)){ok=qk.then,nO||(vk(qk,"then",(function(e,t){var n=this;return new Yk((function(e,t){hk(ok,n,e,t)})).then(e,t)}),{unsafe:!0}),vk(qk,"catch",Kk.catch,{unsafe:!0}));try{delete qk.constructor}catch(e){}gk&&gk(qk,Kk)}dk({global:!0,wrap:!0,forced:rO},{Promise:Yk}),_k(Yk,zk,!1),yk(zk),ak=pk(zk),dk({target:zk,stat:!0,forced:rO},{reject:function(e){var t=Xk(this);return hk(t.reject,void 0,e),t.promise}}),dk({target:zk,stat:!0,forced:rO},{resolve:function(e){return jk(this,e)}}),dk({target:zk,stat:!0,forced:aO},{all:function(e){var t=this,n=Xk(t),r=n.resolve,a=n.reject,o=Mk((function(){var n=wk(t.resolve),o=[],i=0,l=1;Pk(e,(function(e){var s=i++,c=!1;l++,hk(n,t,e).then((function(e){c||(c=!0,o[s]=e,--l||r(o))}),a)})),--l||r(o)}));return o.error&&a(o.value),n.promise},race:function(e){var t=this,n=Xk(t),r=n.reject,a=Mk((function(){var a=wk(t.resolve);Pk(e,(function(e){hk(a,t,e).then(n.resolve,r)}))}));return a.error&&r(a.value),n.promise}});var hO=ba,mO=I,vO=Or,bO=_r,gO=Cr,_O=ut,yO=Go,wO=Tl,kO=td("splice"),OO=mO.TypeError,xO=Math.max,EO=Math.min,PO=9007199254740991,SO="Maximum allowed length exceeded";function CO(e,t){var n=e.document,r=e.Object,a=function(e){var t,n,a,o,i=/^[A-Z]+[a-z]/,l=function(e,t){(t=t.toLowerCase())in s||(s[e]=(s[e]||[]).concat(t),s[t]=s[t.toUpperCase()]=e)},s=(r.create||r)(null),c={};for(n in e)for(o in e[n])for(a=e[n][o],s[o]=a,t=0;t<a.length;t++)s[a[t].toLowerCase()]=s[a[t].toUpperCase()]=o;return c.get=function(e){return"string"==typeof e?s[e]||(i.test(e)?[]:""):function(e){var t,n=[];for(t in s)e.test(t)&&n.push(t);return n}(e)},c.set=function(e,t){return i.test(e)?l(e,t):l(t,e),c},c}({collections:{HTMLAllCollection:["all"],HTMLCollection:["forms"],HTMLFormControlsCollection:["elements"],HTMLOptionsCollection:["options"]},elements:{Element:["element"],HTMLAnchorElement:["a"],HTMLAppletElement:["applet"],HTMLAreaElement:["area"],HTMLAttachmentElement:["attachment"],HTMLAudioElement:["audio"],HTMLBRElement:["br"],HTMLBaseElement:["base"],HTMLBodyElement:["body"],HTMLButtonElement:["button"],HTMLCanvasElement:["canvas"],HTMLContentElement:["content"],HTMLDListElement:["dl"],HTMLDataElement:["data"],HTMLDataListElement:["datalist"],HTMLDetailsElement:["details"],HTMLDialogElement:["dialog"],HTMLDirectoryElement:["dir"],HTMLDivElement:["div"],HTMLDocument:["document"],HTMLElement:["element","abbr","address","article","aside","b","bdi","bdo","cite","code","command","dd","dfn","dt","em","figcaption","figure","footer","header","i","kbd","mark","nav","noscript","rp","rt","ruby","s","samp","section","small","strong","sub","summary","sup","u","var","wbr"],HTMLEmbedElement:["embed"],HTMLFieldSetElement:["fieldset"],HTMLFontElement:["font"],HTMLFormElement:["form"],HTMLFrameElement:["frame"],HTMLFrameSetElement:["frameset"],HTMLHRElement:["hr"],HTMLHeadElement:["head"],HTMLHeadingElement:["h1","h2","h3","h4","h5","h6"],HTMLHtmlElement:["html"],HTMLIFrameElement:["iframe"],HTMLImageElement:["img"],HTMLInputElement:["input"],HTMLKeygenElement:["keygen"],HTMLLIElement:["li"],HTMLLabelElement:["label"],HTMLLegendElement:["legend"],HTMLLinkElement:["link"],HTMLMapElement:["map"],HTMLMarqueeElement:["marquee"],HTMLMediaElement:["media"],HTMLMenuElement:["menu"],HTMLMenuItemElement:["menuitem"],HTMLMetaElement:["meta"],HTMLMeterElement:["meter"],HTMLModElement:["del","ins"],HTMLOListElement:["ol"],HTMLObjectElement:["object"],HTMLOptGroupElement:["optgroup"],HTMLOptionElement:["option"],HTMLOutputElement:["output"],HTMLParagraphElement:["p"],HTMLParamElement:["param"],HTMLPictureElement:["picture"],HTMLPreElement:["pre"],HTMLProgressElement:["progress"],HTMLQuoteElement:["blockquote","q","quote"],HTMLScriptElement:["script"],HTMLSelectElement:["select"],HTMLShadowElement:["shadow"],HTMLSlotElement:["slot"],HTMLSourceElement:["source"],HTMLSpanElement:["span"],HTMLStyleElement:["style"],HTMLTableCaptionElement:["caption"],HTMLTableCellElement:["td","th"],HTMLTableColElement:["col","colgroup"],HTMLTableElement:["table"],HTMLTableRowElement:["tr"],HTMLTableSectionElement:["thead","tbody","tfoot"],HTMLTemplateElement:["template"],HTMLTextAreaElement:["textarea"],HTMLTimeElement:["time"],HTMLTitleElement:["title"],HTMLTrackElement:["track"],HTMLUListElement:["ul"],HTMLUnknownElement:["unknown","vhgroupv","vkeygen"],HTMLVideoElement:["video"]},nodes:{Attr:["node"],Audio:["audio"],CDATASection:["node"],CharacterData:["node"],Comment:["#comment"],Document:["#document"],DocumentFragment:["#document-fragment"],DocumentType:["node"],HTMLDocument:["#document"],Image:["img"],Option:["option"],ProcessingInstruction:["node"],ShadowRoot:["#shadow-root"],Text:["#text"],XMLDocument:["xml"]}});"object"!==Ul(t)&&(t={type:t||"auto"});var o,i,l,s,c,u,d,f,p,h="registerElement",m="__registerElement"+(1e5*e.Math.random()>>0),v="addEventListener",b="attached",g="Callback",_="detached",y="extends",w="attributeChangedCallback",k="createdCallback",O="ADDITION",x="MODIFICATION",E="REMOVAL",P="DOMAttrModified",S="DOMContentLoaded",C="<",T="=",D=/^[A-Z][A-Z0-9]*(?:-[A-Z0-9]+)+$/,j=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],N=[],R=[],M="",A=n.documentElement,L=N.indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},I=r.prototype,F=I.hasOwnProperty,H=I.isPrototypeOf,B=r.defineProperty,z=[],U=r.getOwnPropertyDescriptor,V=r.getOwnPropertyNames,W=r.getPrototypeOf,q=r.setPrototypeOf,Y=!!r.__proto__,K="__dreCEv1",G=e.customElements,Z=!/^force/.test(t.type)&&!!(G&&G.define&&G.get&&G.whenDefined),$=r.create||r,X=e.Map||function(){var e,t=[],n=[];return{get:function(e){return n[L.call(t,e)]},set:function(r,a){(e=L.call(t,r))<0?n[t.push(r)-1]=a:n[e]=a}}},Q=e.Promise||function(e){var t=[],n=!1,r={catch:function(){return r},then:function(e){return t.push(e),n&&setTimeout(a,1),r}};function a(e){for(n=!0;t.length;)t.shift()(e)}return e(a),r},J=!1,ee=$(null),te=$(null),ne=new X,re=function(e){return e.toLowerCase()},ae=r.create||function e(t){return t?(e.prototype=t,new e):this},oe=q||(Y?function(e,t){return e.__proto__=t,e}:V&&U?function(){function e(e,t){for(var n,r=V(t),a=0,o=r.length;a<o;a++)n=r[a],F.call(e,n)||B(e,n,U(t,n))}return function(t,n){do{e(t,n)}while((n=W(n))&&!H.call(n,t));return t}}():function(e,t){for(var n in t)e[n]=t[n];return e}),ie=e.MutationObserver||e.WebKitMutationObserver,le=(e.HTMLElement||e.Element||e.Node).prototype,se=!H.call(le,A),ce=se?function(e,t,n){return e[t]=n.value,e}:B,ue=se?function(e){return 1===e.nodeType}:function(e){return H.call(le,e)},de=se&&[],fe=le.attachShadow,pe=le.cloneNode,he=le.dispatchEvent,me=le.getAttribute,ve=le.hasAttribute,be=le.removeAttribute,ge=le.setAttribute,_e=n.createElement,ye=_e,we=ie&&{attributes:!0,characterData:!0,attributeOldValue:!0},ke=ie||function(e){Se=!1,A.removeEventListener(P,ke)},Oe=0,xe=h in n&&!/^force-all/.test(t.type),Ee=!0,Pe=!1,Se=!0,Ce=!0,Te=!0;function De(){var e=o.splice(0,o.length);for(Oe=0;e.length;)e.shift().call(null,e.shift())}function je(e,t){for(var n=0,r=e.length;n<r;n++)ze(e[n],t)}function Ne(e){return function(t){ue(t)&&(ze(t,e),M.length&&je(t.querySelectorAll(M),e))}}function Re(e){var t=me.call(e,"is"),n=e.nodeName.toUpperCase(),r=L.call(N,t?T+t.toUpperCase():C+n);return t&&-1<r&&!Me(n,t)?-1:r}function Me(e,t){return-1<M.indexOf(e+'[is="'+t+'"]')}function Ae(e){var t=e.currentTarget,n=e.attrChange,r=e.attrName,a=e.target,o=e.ADDITION||2,i=e.REMOVAL||3;!Te||a&&a!==t||!t.attributeChangedCallback||"style"===r||e.prevValue===e.newValue&&(""!==e.newValue||n!==o&&n!==i)||t.attributeChangedCallback(r,n===o?null:e.prevValue,n===i?null:e.newValue)}function Le(e){var t=Ne(e);return function(e){o.push(t,e.target),Oe&&clearTimeout(Oe),Oe=setTimeout(De,1)}}function Ie(e){Ce&&(Ce=!1,e.currentTarget.removeEventListener(S,Ie)),M.length&&je((e.target||n).querySelectorAll(M),e.detail===_?_:b),se&&function(){for(var e,t=0,n=de.length;t<n;t++)e=de[t],A.contains(e)||(n--,de.splice(t--,1),ze(e,_))}()}function Fe(e,t){var n=this;ge.call(n,e,t),i.call(n,{target:n})}function He(e,t){oe(e,t),c?c.observe(e,we):(Se&&(e.setAttribute=Fe,e[m]=s(e),e.addEventListener("DOMSubtreeModified",i)),e.addEventListener(P,Ae)),e.createdCallback&&Te&&(e.created=!0,e.createdCallback(),e.created=!1)}function Be(e){throw new Error("A "+e+" type is already registered")}function ze(e,t){var n,r,a=Re(e);-1<a&&(d(e,R[a]),a=0,t!==b||e.attached?t!==_||e.detached||(e.attached=!1,e.detached=!0,r="disconnected",a=1):(e.detached=!1,e.attached=!0,r="connected",a=1,se&&L.call(de,e)<0&&de.push(e)),a&&(n=e[t+g]||e[r+g])&&n.call(e))}function Ue(){}function Ve(e,t,r){var a=r&&r.extends||"",o=t.prototype,i=ae(o),l=t.observedAttributes||z,s={prototype:i};ce(i,k,{value:function(){if(J)J=!1;else if(!this[K]){this[K]=!0,new t(this),o.createdCallback&&o.createdCallback.call(this);var e=ee[ne.get(t)];(!Z||e.create.length>1)&&Ye(this)}}}),ce(i,w,{value:function(e){-1<L.call(l,e)&&o.attributeChangedCallback.apply(this,arguments)}}),o.connectedCallback&&ce(i,"attachedCallback",{value:o.connectedCallback}),o.disconnectedCallback&&ce(i,"detachedCallback",{value:o.disconnectedCallback}),a&&(s.extends=a),e=e.toUpperCase(),ee[e]={constructor:t,create:a?[a,re(e)]:[e]},ne.set(t,e),n.registerElement(e.toLowerCase(),s),Ke(e),te[e].r()}function We(e){var t=ee[e.toUpperCase()];return t&&t.constructor}function qe(e){return"string"==typeof e?e:e&&e.is||""}function Ye(e){for(var t,n=e.attributeChangedCallback,r=n?e.attributes:z,a=r.length;a--;)t=r[a],n.call(e,t.name||t.nodeName,null,t.value||t.nodeValue)}function Ke(e){return(e=e.toUpperCase())in te||(te[e]={},te[e].p=new Q((function(t){te[e].r=t}))),te[e].p}function Ge(){G&&delete e.customElements,B(e,"customElements",{configurable:!0,value:new Ue}),B(e,"CustomElementRegistry",{configurable:!0,value:Ue});for(var t=function(t){var r=e[t];if(r){e[t]=function(e){var t,a;return e||(e=this),e[K]||(J=!0,t=ee[ne.get(e.constructor)],(e=(a=Z&&1===t.create.length)?Reflect.construct(r,z,t.constructor):n.createElement.apply(n,t.create))[K]=!0,J=!1,a||Ye(e)),e},e[t].prototype=r.prototype;try{r.prototype.constructor=e[t]}catch(n){B(r,K,{value:e[t]})}}},r=a.get(/^HTML[A-Z]*[a-z]/),o=r.length;o--;t(r[o]));n.createElement=function(e,t){var n=qe(t);return n?ye.call(this,e,re(n)):ye.call(this,e)},xe||(Pe=!0,n.registerElement(""))}if(ie&&((p=n.createElement("div")).innerHTML="<div><div></div></div>",new ie((function(e,t){if(e[0]&&"childList"==e[0].type&&!e[0].removedNodes[0].childNodes.length){var n=(p=U(le,"innerHTML"))&&p.set;n&&B(le,"innerHTML",{set:function(e){for(;this.lastChild;)this.removeChild(this.lastChild);n.call(this,e)}})}t.disconnect(),p=null})).observe(p,{childList:!0,subtree:!0}),p.innerHTML=""),xe||(q||Y?(d=function(e,t){H.call(t,e)||He(e,t)},f=He):(d=function(e,t){e[m]||(e[m]=r(!0),He(e,t))},f=d),se?(Se=!1,function(){var e=U(le,v),t=e.value,n=function(e){var t=new CustomEvent(P,{bubbles:!0});t.attrName=e,t.prevValue=me.call(this,e),t.newValue=null,t.REMOVAL=t.attrChange=2,be.call(this,e),he.call(this,t)},r=function(e,t){var n=ve.call(this,e),r=n&&me.call(this,e),a=new CustomEvent(P,{bubbles:!0});ge.call(this,e,t),a.attrName=e,a.prevValue=n?r:null,a.newValue=t,n?a.MODIFICATION=a.attrChange=1:a.ADDITION=a.attrChange=0,he.call(this,a)},a=function(e){var t,n=e.currentTarget,r=n[m],a=e.propertyName;r.hasOwnProperty(a)&&(r=r[a],(t=new CustomEvent(P,{bubbles:!0})).attrName=r.name,t.prevValue=r.value||null,t.newValue=r.value=n[a]||null,null==t.prevValue?t.ADDITION=t.attrChange=0:t.MODIFICATION=t.attrChange=1,he.call(n,t))};e.value=function(e,o,i){e===P&&this.attributeChangedCallback&&this.setAttribute!==r&&(this[m]={className:{name:"class",value:this.className}},this.setAttribute=r,this.removeAttribute=n,t.call(this,"propertychange",a)),t.call(this,e,o,i)},B(le,v,e)}()):ie||(A.addEventListener(P,ke),A.setAttribute(m,1),A.removeAttribute(m),Se&&(i=function(e){var t,n,r,a=this;if(a===e.target){for(r in t=a[m],a[m]=n=s(a),n){if(!(r in t))return l(0,a,r,t[r],n[r],O);if(n[r]!==t[r])return l(1,a,r,t[r],n[r],x)}for(r in t)if(!(r in n))return l(2,a,r,t[r],n[r],E)}},l=function(e,t,n,r,a,o){var i={attrChange:e,currentTarget:t,attrName:n,prevValue:r,newValue:a};i[o]=e,Ae(i)},s=function(e){for(var t,n,r={},a=e.attributes,o=0,i=a.length;o<i;o++)"setAttribute"!==(n=(t=a[o]).name)&&(r[n]=t.value);return r})),n.registerElement=function(e,t){if(r=e.toUpperCase(),Ee&&(Ee=!1,ie?(c=function(e,t){function n(e,t){for(var n=0,r=e.length;n<r;t(e[n++]));}return new ie((function(r){for(var a,o,i,l=0,s=r.length;l<s;l++)"childList"===(a=r[l]).type?(n(a.addedNodes,e),n(a.removedNodes,t)):(o=a.target,Te&&o.attributeChangedCallback&&"style"!==a.attributeName&&(i=me.call(o,a.attributeName))!==a.oldValue&&o.attributeChangedCallback(a.attributeName,a.oldValue,i))}))}(Ne(b),Ne(_)),u=function(e){return c.observe(e,{childList:!0,subtree:!0}),e},u(n),fe&&(le.attachShadow=function(){return u(fe.apply(this,arguments))})):(o=[],n.addEventListener("DOMNodeInserted",Le(b)),n.addEventListener("DOMNodeRemoved",Le(_))),n.addEventListener(S,Ie),n.addEventListener("readystatechange",Ie),le.cloneNode=function(e){var t=pe.call(this,!!e),n=Re(t);return-1<n&&f(t,R[n]),e&&M.length&&function(e){for(var t,n=0,r=e.length;n<r;n++)t=e[n],f(t,R[Re(t)])}(t.querySelectorAll(M)),t}),Pe)return Pe=!1;if(-2<L.call(N,T+r)+L.call(N,C+r)&&Be(e),!D.test(r)||-1<L.call(j,r))throw new Error("The type "+e+" is invalid");var r,a,i=function(){return s?n.createElement(d,r):n.createElement(d)},l=t||I,s=F.call(l,y),d=s?t.extends.toUpperCase():r;return s&&-1<L.call(N,C+d)&&Be(d),a=N.push((s?T:C)+r)-1,M=M.concat(M.length?",":"",s?d+'[is="'+e.toLowerCase()+'"]':d),i.prototype=R[a]=F.call(l,"prototype")?l.prototype:ae(le),M.length&&je(n.querySelectorAll(M),b),i},n.createElement=ye=function(e,t){var r=qe(t),a=r?_e.call(n,e,re(r)):_e.call(n,e),o=""+e,i=L.call(N,(r?T:C)+(r||o).toUpperCase()),l=-1<i;return r&&(a.setAttribute("is",r=r.toLowerCase()),l&&(l=Me(o.toUpperCase(),r))),Te=!n.createElement.innerHTMLHelper,l&&f(a,R[i]),a}),Ue.prototype={constructor:Ue,define:Z?function(e,t,n){if(n)Ve(e,t,n);else{var r=e.toUpperCase();ee[r]={constructor:t,create:[r]},ne.set(t,r),G.define(e,t)}}:Ve,get:Z?function(e){return G.get(e)||We(e)}:We,whenDefined:Z?function(e){return Q.race([G.whenDefined(e),Ke(e)])}:Ke},!G||/^force/.test(t.type))Ge();else if(!t.noBuiltIn)try{!function(t,r,a){if(r.extends="a",(t.prototype=ae(HTMLAnchorElement.prototype)).constructor=t,e.customElements.define(a,t,r),me.call(n.createElement("a",{is:a}),"is")!==a||Z&&me.call(new t,"is")!==a)throw r}((function e(){return Reflect.construct(HTMLAnchorElement,[],e)}),{},"document-register-element-a")}catch(e){Ge()}if(!t.noBuiltIn)try{_e.call(n,"a","a")}catch(e){re=function(e){return{is:e.toLowerCase()}}}}function TO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function DO(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?TO(Object(n),!0).forEach((function(t){Il(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):TO(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function jO(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Kg(e);if(t){var a=Kg(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return Yg(this,n)}}hO({target:"Array",proto:!0,forced:!kO},{splice:function(e,t){var n,r,a,o,i,l,s=_O(this),c=gO(s),u=vO(e,c),d=arguments.length;if(0===d?n=r=0:1===d?(n=0,r=c-u):(n=d-2,r=EO(xO(bO(t),0),c-u)),c+n-r>PO)throw OO(SO);for(a=yO(s,r),o=0;o<r;o++)(i=u+o)in s&&wO(a,o,s[i]);if(a.length=r,n<r){for(o=u;o<c-r;o++)l=o+n,(i=o+r)in s?s[l]=s[i]:delete s[l];for(o=c;o>c-r+n;o--)delete s[o-1]}else if(n>r)for(o=c-r;o>u;o--)l=o+n-1,(i=o+r-1)in s?s[l]=s[i]:delete s[l];for(o=0;o<n;o++)s[o+u]=arguments[o+2];return s.length=c-r+n,a}});var NO=void 0!==A&&!1,RO=NO,MO="undefined"!=typeof window&&(window.registeredElements=window.registeredElements||[])||[],AO=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=r.attributesExcludelist,o=void 0===a?["id"]:a;if(e||(e=t.displayName||t.name),-1===MO.indexOf(e)){if(MO.push(e),"undefined"==typeof document||"undefined"==typeof window)return null;RO||(RO=!0,CO(window)),n&&(n=IO(n));var i=function(e){Wg(a,e);var r=jO(a);function a(e){var t;return Ml(this,a),(t=r.call(this,e))._elementRef=l.default.createRef(),t._customMethods={},t._customEvents=[],t._isConnected=!1,t._props={},t}return Ll(a,[{key:"connectedCallback",value:function(){this.updateChildren(),this.renderElement(),this._isConnected=!0}},{key:"attributeChangedCallback",value:function(e,t,n){return!(!this._isConnected||t===n)&&(this.renderElement(),n)}},{key:"disconnectedCallback",value:function(){NO||s.default.unmountComponentAtNode(this),this._children&&delete this._children,this._isConnected&&delete this._isConnected,this._elementRef&&delete this._elementRef,this._customMethods&&delete this._customMethods,this._customEvents&&delete this._customEvents,this._props=null,this._ref=null}},{key:"updateChildren",value:function(){this._children=[];var e,t,n=this.childNodes;for(e=n.length;e--;)(t=FO(n[e]))&&this._children.push(t)}},{key:"connectEvents",value:function(){for(var e={},t=this.attributes.length;t--;)e[this.attributes[t].name]=this.attributes[t].value;e.events&&(e.event=e.events,delete e.events);var n=[].concat(Zb(e.event?e.event.split(","):[]),Zb(Object.entries(e).map((function(e){var t=zl(e,2),n=t[0],r=t[1];return n&&/^(on_|on[A-Z]|render_)/.test(n)?n+"="+r:null})).filter(Boolean)));return n.length>0&&(n.forEach((function(t){var n=zl(t.split("="),2),r=n[0],a=n[1];r=BO[r]||r,e[r]=function(){try{var e=a.split("."),t=zl(e,2),n=t[0],o=t[1];o=o?window[n][o]:window[n];for(var i=arguments.length,s=new Array(i),c=0;c<i;c++)s[c]=arguments[c];var u=o.apply(n,[].concat(s));if(u instanceof HTMLElement){for(var d=[],f=u.childNodes,p=u.attributes,h={},m=f.length;m--;)d.push(FO(f[m]));for(var v=p.length;v--;)h[HO[p[v].name]||p[v].name]=p[v].value;var b=u.nodeName.toLowerCase();return u.remove(),l.default.createElement(b,h,d)}return u}catch(e){new N_("The '".concat(r,"' event has failed. '").concat(a,"' has to exist on a 'window' scope!"),e)}}})),delete e.event),e}},{key:"setProps",value:function(e,t){return"string"==typeof e&&(e=Il({},e,t)),this.renderElement(e)}},{key:"getRef",value:function(){return this._ref}},{key:"addEvent",value:function(e,t){var n,r=this,a=function(e){return t.apply(r,[e])};return null===(n=this._customEvents)||void 0===n||n.push({eventName:e,eventCallback:t,eventWrapper:a}),a}},{key:"removeEvent",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this._customEvents=this._customEvents.reduce((function(n,r){t?r.eventCallback!==t&&n.push(r):r.eventWrapper!==e&&n.push(r);return n}),[])}},{key:"fireEvent",value:function(e){for(var t=this,n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];this._customEvents.forEach((function(n){var a=n.eventName,o=n.eventCallback;a===e&&"function"==typeof o&&o.apply(t,[].concat(r))}))}},{key:"renderElement",value:function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(var r in n=DO(DO(DO({},this._props),this.connectEvents()),n))"true"===n[r]?n[r]=!0:"false"===n[r]?n[r]=!1:void 0===n[r]||null===n[r]||isNaN(Number(n[r]))||(n[r]=Number(n[r]));for(var a=o.length;a--;)n[o[a]]&&this.removeAttribute(o[a]);return this._children&&this._children.length>0&&(n.children=this._children),this._elementRef&&(n.ref=this._elementRef),n.custom_element||(n.custom_element=this),n.custom_method||(n.custom_method=function(t,n){e[t]=e._customMethods[t]=n}),this._props=n,this._ref=l.default.createElement(t,n),s.default.render(this._ref,this),this}}],[{key:"observedAttributes",get:function(){return n||[]}}]),a}($g(HTMLElement));return window.customElements.define(e,i)}},LO=function(e){return e&&!/[A-Z]/.test(e)&&!/children/.test(e)},IO=function(e){return Array.isArray(e)?e.filter(LO):Object.entries(e||{}).reduce((function(e,t){var n=zl(t,1)[0];return e.push(n),e}),[]).filter(LO)},FO=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(3===t.nodeType)return t.nodeValue;if(1!==t.nodeType)return null;var r=[],a={},o=0,i=t.attributes,s=t.childNodes;for(o=i.length;o--;)a[i[o].name]=i[o].value;for(o=s.length;o--;)r[o]=e(s[o]);return a.key="key".concat(1e3*Math.random()),l.default.createElement(n||t.nodeName.toLowerCase(),a,r)},HO={class:"className",for:"htmlFor"},BO={onclick:"onClick"};function zO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function UO(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zO(Object(n),!0).forEach((function(t){Il(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zO(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var VO=function(){function e(t){var n=this;return Ml(this,e),Il(this,"id",void 0),Il(this,"listeners",void 0),Il(this,"update",(function(e){n.set(e),qO.__EEE__[n.id].instances.forEach((function(e){e.listeners.forEach((function(t){"function"==typeof t&&t(e.get())}))}))})),Il(this,"set",(function(e){qO.__EEE__[n.id].data=UO(UO({},qO.__EEE__[n.id].data),e)})),Il(this,"get",(function(){return qO.__EEE__[n.id].data})),qO.__EEE__=qO.__EEE__||{},qO.__EEE__[t]||(qO.__EEE__[t]={instances:[],count:0,data:{}}),qO.__EEE__[t].count=qO.__EEE__[t].count+1,qO.__EEE__[t].instances.push(this),this.id=t,this.listeners=[],this}return Ll(e,[{key:"listen",value:function(e){return this.listeners.includes(e)||this.listeners.push(e),this}},{key:"unlisten",value:function(e){for(var t=0,n=this.listeners.length;t<n;t++)(!e||e&&e===this.listeners[t])&&(this.listeners[t]=null)}},{key:"remove",value:function(){this.unlisten(),qO.__EEE__[this.id].count=qO.__EEE__[this.id].count-1,qO.__EEE__[this.id].count<=0&&delete qO[this.id]}}],[{key:"createInstance",value:function(t){return new e(t)}}]),e}();Il(VO,"__EEE__",void 0);var WO,qO="undefined"!=typeof window?window:VO,YO=VO;function KO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function GO(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?KO(Object(n),!0).forEach((function(t){Il(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):KO(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}!function(){if("undefined"!=typeof window){var e=function(){function e(){Ml(this,e)}return Ll(e,[{key:"version",get:function(){return"9.34.2"}}]),e}();window.Eufemia=new e}}(),sv.specificKeys([9]),WO=function e(){if("undefined"!=typeof document&&"undefined"!=typeof window&&"undefined"!=typeof navigator){try{"undefined"!=typeof window&&window.IS_TEST?document.documentElement.setAttribute("data-os","other"):null!==navigator.platform.match(new RegExp(Fv))?document.documentElement.setAttribute("data-os","mac"):null!==navigator.platform.match(new RegExp("Win"))?document.documentElement.setAttribute("data-os","win"):null!==navigator.platform.match(new RegExp(Hv))&&document.documentElement.setAttribute("data-os","linux")}catch(e){}document.removeEventListener("DOMContentLoaded",e)}},"undefined"!=typeof document&&"loading"===document.readyState?document.addEventListener("DOMContentLoaded",WO):WO();var ZO=function(e,t){if(e&&e.attributes){var n=e.attributes;n&&("{"===n[0]&&(n=JSON.parse(n)),n&&"object"===Ul(n)&&Object.entries(n).forEach((function(e){var n=zl(e,2),r=n[0],a=n[1];Fl(t,Il({},r,a))})),delete t.attributes)}if(null!==t.disabled&&"false"!==t.disabled||delete t.disabled,void 0!==t.space&&delete t.space,void 0!==t.top&&delete t.top,void 0!==t.right&&delete t.right,void 0!==t.bottom&&delete t.bottom,void 0!==t.left&&delete t.left,void 0!==t.no_collapse?delete t.no_collapse:"true"===t.disabled&&(t.disabled=!0),!0===t.disabled&&(t["aria-disabled"]=!0),e&&e.tabindex){var r=e.tabindex;"off"===r&&(r="-1"),t.tabIndex=r}if(t&&"object"===Ul(t))for(var a in t)"function"!=typeof t[a]||/(^[a-z]{1,}[A-Z]{1})/.test(a)?(null===t[a]||/[^a-z-]/i.test(a))&&delete t[a]:delete t[a];return t},$O=function(e){if(!e)return null;if(void 0!==d&&Array.isArray(d.registeredElements)&&d.registeredElements.length>0){var t=null;if(Object.entries(e).reverse().map((function(n){var r=zl(n,2),a=r[0],o=r[1];return a.includes("render_")&&/^render_/.test(a)&&"function"==typeof o?(t&&(Object.isFrozen(e)&&(e=GO({},e)),e.children=t),t=l.default.createElement(l.default.Fragment,{key:a},o(e))):null})).filter(Boolean),t)return t}var n="function"==typeof e.children?e.children(e):e.children;if(Array.isArray(n)){var r=n.reduce((function(e,t){return"string"!=typeof t&&"number"!=typeof t||e.push(t),e}),[]);if(r.length===n.length&&r.length>0)return r.join("")}return n},XO=function e(){for(var t={},n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];var o=r[0];return!0!==o&&!1!==o||(r.shift(),o&&(t=r.shift())),r.reduce((function(t,n){return n&&(t=Fl(t,Object.entries(n).reduce((function(n,r){var a=zl(r,2),o=a[0],i=a[1];return null!==i&&("object"===Ul(i)?(i=e(t[o]||{},i),Object.keys(i).length>0&&(n[o]=i)):n[o]=i),n}),{}))),t}),t)},QO=function(e){return null!=e&&("true"===String(e)||"1"===String(e))},JO=function(e,t,n){var r=void 0,a=GO(GO({},n&&n.event||{}),n);if(a&&a.attributes&&a.event){var o=a.event.currentTarget;if(o)try{var i=GO({},o.dataset||{}),l=GO({},a.attributes);for(var s in l)/^data-/.test(s)&&(i[String(s).replace(/^data-/,"")]=l[s]);for(var c in i)a.event.currentTarget.dataset&&(a.event.currentTarget.dataset[c]=i[c]),a.event.target&&a.event.target.dataset&&(a.event.target.dataset[c]=i[c])}catch(e){}}var u=e&&e.props||e;if(u.custom_element&&"function"==typeof u.custom_element.fireEvent&&(r=u.custom_element.fireEvent(t,a)),t.includes("_")){if("function"==typeof u[t]){var d=u[t].apply(e,[a]);void 0!==d&&(r=d)}if("function"==typeof u[t=ex(t)]){var f=u[t].apply(e,[a]);void 0!==f&&(r=f)}}else{if("function"==typeof u[t]){var p=u[t].apply(e,[a]);void 0!==p&&(r=p)}if("function"==typeof u[t=tx(t)]){var h=u[t].apply(e,[a]);void 0!==h&&(r=h)}}return r},ex=function(e){return e.split(/_/g).reduce((function(e,t,n){return e+(0===n?t:t.replace(/(\w)(\w*)/g,(function(e,t,n){return t.toUpperCase()+n.toLowerCase()})))}),"")},tx=function(e){return e.replace(/\B[A-Z]/g,(function(e){return"_".concat(e)})).toLowerCase()},nx=function(e){return e.replace(/\B[A-Z]/g,(function(e){return"-".concat(e)})).toLowerCase()},rx=function(e,t,n){return new ax(e,t,n)},ax=function(){function e(t,n){var r=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Ml(this,e),Il(this,"checkOutsideClick",(function(e){var t=e.event,n=e.ignoreElements,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;try{var a=t.target;if("HTML"===(null==a?void 0:a.tagName)&&(t.pageX>document.documentElement.clientWidth-40||t.pageY>document.documentElement.clientHeight-40))return;if(ox(a))return;for(var o,i=0,l=n.length;i<l;++i)if(o=a,n[i])do{if(o===n[i])return;o=o&&o.parentNode}while(o);"function"==typeof r&&r()}catch(e){}})),this.handleClickOutside||"undefined"==typeof document||"undefined"==typeof window||(Array.isArray(t)||(t=[t]),this.handleClickOutside=function(e){r.checkOutsideClick({event:e,ignoreElements:t},(function(){return"function"==typeof n&&n({event:e})}))},document.addEventListener("mousedown",this.handleClickOutside),this.keydownCallback=function(e){"esc"===iv(e)&&(window.removeEventListener("keydown",r.keydownCallback),"function"==typeof n&&n({event:e}))},window.addEventListener("keydown",this.keydownCallback),a.includedKeys&&(this.keyupCallback=function(e){var t=iv(e);a.includedKeys.includes(t)&&"function"==typeof r.handleClickOutside&&r.handleClickOutside(e,(function(){r.keyupCallback&&window.removeEventListener("keyup",r.keyupCallback)}))},window.addEventListener("keyup",this.keyupCallback)))}return Ll(e,[{key:"remove",value:function(){this.handleClickOutside&&"undefined"!=typeof document&&(document.removeEventListener("mousedown",this.handleClickOutside),this.handleClickOutside=null),this.keydownCallback&&"undefined"!=typeof window&&(window.removeEventListener("keydown",this.keydownCallback),this.keydownCallback=null),this.keyupCallback&&"undefined"!=typeof window&&(window.removeEventListener("keyup",this.keyupCallback),this.keyupCallback=null)}}]),e}(),ox=function(e){return e&&(e.scrollHeight>e.offsetHeight||e.scrollWidth>e.offsetWidth)&&ix(e)},ix=function(e){var t="undefined"!=typeof window?window.getComputedStyle(e):{};return/scroll|auto/i.test((t.overflow||"")+(t.overflowX||"")+(t.overflowY||""))},lx=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"id-",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:8;return e+String(Math.random().toString(36).substr(2,t)+sx++).slice(-t)},sx=0,cx=function(e){return String(e).toLowerCase().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")},ux=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;try{var r=function(e){if(n&&n(e))return e;return e&&e===t};if(r(e))return e;for(;(e=e&&e.parentElement)&&!r(e););}catch(e){}return e},dx=function(e){return eb(".dnb-scroll-view",e)},fx=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;Array.isArray(e)||(e=[e]);var n=function e(n){if(l.default.isValidElement(n))if("string"==typeof n.props.children)n=n.props.children.trim();else{if(!Array.isArray(n.props.children))return null;n=n.props.children.reduce((function(n,r){return"string"!=typeof r&&(r=e(r)),"string"==typeof r&&(n=(n+(t||"")+r).trim()),n}),"")}return n};return e.map((function(e){return n(e)})).filter(Boolean).join(t).trim()};function px(e,t){return e?t:null}function hx(e){return e&&"error"!==e&&"warn"!==e&&"info"!==e}function mx(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return bx("aria-labelledby",t)}function vx(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return bx("aria-describedby",t)}function bx(e,t){return""===(t=(t=t.map((function(n){return n&&t.includes(n[e])?null:(n&&void 0!==n[e]&&(n=n[e]),"string"!=typeof n&&(n=null),n)}))).filter(Boolean).join(" "))&&(t=void 0),t}function gx(e,t){Array.isArray(e)||(e=[e]);var n=null;return e.some((function(e){if(e&&e.props&&e.props.children){var r=gx(e.props.children,t);if(r)return n=r}return l.default.isValidElement(e)&&t(e)?n=e:null})),n}function _x(e){return e.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&")}function yx(e){return Object.keys(e).forEach((function(t){void 0===e[t]&&delete e[t]})),e}function wx(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var kx={exports:{}},Ox={},xx="function"==typeof Symbol&&Symbol.for,Ex=xx?Symbol.for("react.element"):60103,Px=xx?Symbol.for("react.portal"):60106,Sx=xx?Symbol.for("react.fragment"):60107,Cx=xx?Symbol.for("react.strict_mode"):60108,Tx=xx?Symbol.for("react.profiler"):60114,Dx=xx?Symbol.for("react.provider"):60109,jx=xx?Symbol.for("react.context"):60110,Nx=xx?Symbol.for("react.async_mode"):60111,Rx=xx?Symbol.for("react.concurrent_mode"):60111,Mx=xx?Symbol.for("react.forward_ref"):60112,Ax=xx?Symbol.for("react.suspense"):60113,Lx=xx?Symbol.for("react.suspense_list"):60120,Ix=xx?Symbol.for("react.memo"):60115,Fx=xx?Symbol.for("react.lazy"):60116,Hx=xx?Symbol.for("react.block"):60121,Bx=xx?Symbol.for("react.fundamental"):60117,zx=xx?Symbol.for("react.responder"):60118,Ux=xx?Symbol.for("react.scope"):60119;function Vx(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Ex:switch(e=e.type){case Nx:case Rx:case Sx:case Tx:case Cx:case Ax:return e;default:switch(e=e&&e.$$typeof){case jx:case Mx:case Fx:case Ix:case Dx:return e;default:return t}}case Px:return t}}}function Wx(e){return Vx(e)===Rx}Ox.AsyncMode=Nx,Ox.ConcurrentMode=Rx,Ox.ContextConsumer=jx,Ox.ContextProvider=Dx,Ox.Element=Ex,Ox.ForwardRef=Mx,Ox.Fragment=Sx,Ox.Lazy=Fx,Ox.Memo=Ix,Ox.Portal=Px,Ox.Profiler=Tx,Ox.StrictMode=Cx,Ox.Suspense=Ax,Ox.isAsyncMode=function(e){return Wx(e)||Vx(e)===Nx},Ox.isConcurrentMode=Wx,Ox.isContextConsumer=function(e){return Vx(e)===jx},Ox.isContextProvider=function(e){return Vx(e)===Dx},Ox.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Ex},Ox.isForwardRef=function(e){return Vx(e)===Mx},Ox.isFragment=function(e){return Vx(e)===Sx},Ox.isLazy=function(e){return Vx(e)===Fx},Ox.isMemo=function(e){return Vx(e)===Ix},Ox.isPortal=function(e){return Vx(e)===Px},Ox.isProfiler=function(e){return Vx(e)===Tx},Ox.isStrictMode=function(e){return Vx(e)===Cx},Ox.isSuspense=function(e){return Vx(e)===Ax},Ox.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Sx||e===Rx||e===Tx||e===Cx||e===Ax||e===Lx||"object"==typeof e&&null!==e&&(e.$$typeof===Fx||e.$$typeof===Ix||e.$$typeof===Dx||e.$$typeof===jx||e.$$typeof===Mx||e.$$typeof===Bx||e.$$typeof===zx||e.$$typeof===Ux||e.$$typeof===Hx)},Ox.typeOf=Vx;
13
13
  /*
14
14
  object-assign
15
15
  (c) Sindre Sorhus