@dnb/eufemia 9.45.2 → 9.45.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/cjs/components/input-masked/InputMaskedUtils.js +1 -1
- package/cjs/shared/Eufemia.js +1 -1
- package/components/input-masked/InputMaskedUtils.js +1 -1
- package/es/components/input-masked/InputMaskedUtils.js +1 -1
- package/es/shared/Eufemia.js +1 -1
- package/esm/dnb-ui-basis.min.mjs +1 -1
- package/esm/dnb-ui-components.min.mjs +1 -1
- package/esm/dnb-ui-elements.min.mjs +1 -1
- package/esm/dnb-ui-extensions.min.mjs +1 -1
- package/esm/dnb-ui-lib.min.mjs +2 -2
- package/esm/dnb-ui-web-components.min.mjs +2 -2
- package/package.json +1 -1
- package/shared/Eufemia.js +1 -1
- package/umd/dnb-ui-basis.min.js +1 -1
- package/umd/dnb-ui-components.min.js +1 -1
- package/umd/dnb-ui-elements.min.js +1 -1
- package/umd/dnb-ui-extensions.min.js +1 -1
- package/umd/dnb-ui-lib.min.js +2 -2
- package/umd/dnb-ui-web-components.min.js +2 -2
|
@@ -14,7 +14,7 @@ for(i=97;i<123;i++)r[String.fromCharCode(i)]=i-32;for(var i=48;i<58;i++)r[i-48]=
|
|
|
14
14
|
* @link https://github.com/ten1seven/what-input
|
|
15
15
|
* @license MIT
|
|
16
16
|
*/
|
|
17
|
-
!function(e,t){var n;n=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.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,o=Date.now(),i="false",a=["button","input","select","textarea"],l=[],c=[16,17,18,91,93],u=[],s={keydown:"keyboard",keyup:"keyboard",mousedown:"mouse",mousemove:"mouse",MSPointerDown:"pointer",MSPointerMove:"pointer",pointerdown:"pointer",pointermove:"pointer",touchstart:"touch",touchend:"touch"},f=!1,d={x:null,y:null},p={2:"touch",3:"touch",4:"mouse"},v=!1;try{var h=Object.defineProperty({},"passive",{get:function(){v=!0}});window.addEventListener("test",null,h)}catch(e){}var m=function(){var e=!!v&&{passive:!0};document.addEventListener("DOMContentLoaded",y),window.PointerEvent?(window.addEventListener("pointerdown",g),window.addEventListener("pointermove",_)):window.MSPointerEvent?(window.addEventListener("MSPointerDown",g),window.addEventListener("MSPointerMove",_)):(window.addEventListener("mousedown",g),window.addEventListener("mousemove",_),"ontouchstart"in window&&(window.addEventListener("touchstart",g,e),window.addEventListener("touchend",g))),window.addEventListener(S(),_,e),window.addEventListener("keydown",g),window.addEventListener("keyup",g),window.addEventListener("focusin",w),window.addEventListener("focusout",O)},y=function(){if(i=!(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){}b("input"),b("intent")},g=function(e){var t=e.which,o=s[e.type];"pointer"===o&&(o=k(e));var i=!u.length&&-1===c.indexOf(t),l=u.length&&-1!==u.indexOf(t),f="keyboard"===o&&t&&(i||l)||"mouse"===o||"touch"===o;if(x(o)&&(f=!1),f&&n!==o&&(E("input",n=o),b("input")),f&&r!==o){var d=document.activeElement;d&&d.nodeName&&(-1===a.indexOf(d.nodeName.toLowerCase())||"button"===d.nodeName.toLowerCase()&&!T(d,"form"))&&(E("intent",r=o),b("intent"))}},b=function(t){e.setAttribute("data-what"+t,"input"===t?n:r),j(t)},_=function(e){var t=s[e.type];"pointer"===t&&(t=k(e)),P(e),(!f&&!x(t)||f&&"wheel"===e.type||"mousewheel"===e.type||"DOMMouseScroll"===e.type)&&r!==t&&(E("intent",r=t),b("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(" ",","))):O()},O=function(){t=null,e.removeAttribute("data-whatelement"),e.removeAttribute("data-whatclasses")},E=function(e,t){if(i)try{window.sessionStorage.setItem("what-"+e,t)}catch(e){}},k=function(e){return"number"==typeof e.pointerType?p[e.pointerType]:"pen"===e.pointerType?"touch":e.pointerType},x=function(e){var t=Date.now(),r="mouse"===e&&"touch"===n&&t-o<200;return o=t,r},S=function(){return"onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll"},j=function(e){for(var t=0,o=l.length;t<o;t++)l[t].type===e&&l[t].fn.call(void 0,"input"===e?n:r)},P=function(e){d.x!==e.screenX||d.y!==e.screenY?(f=!1,d.x=e.screenX,d.y=e.screenY):f=!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&&(s[S()]="mouse",m()),{ask:function(e){return"intent"===e?r:n},element:function(){return t},ignoreKeys:function(e){c=e},specificKeys:function(e){u=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()}(ky);var xy=ky.exports;!function(e){var t=function(e){var t,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var o=t&&t.prototype instanceof m?t:m,i=Object.create(o.prototype),a=new P(r||[]);return i._invoke=function(e,t,n){var r=f;return function(o,i){if(r===p)throw new Error("Generator is already running");if(r===v){if("throw"===o)throw i;return C()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var l=x(a,n);if(l){if(l===h)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var c=s(e,t,n);if("normal"===c.type){if(r=n.done?v:d,c.arg===h)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=v,n.method="throw",n.arg=c.arg)}}}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var f="suspendedStart",d="suspendedYield",p="executing",v="completed",h={};function m(){}function y(){}function g(){}var b={};c(b,i,(function(){return this}));var _=Object.getPrototypeOf,w=_&&_(_(T([])));w&&w!==n&&r.call(w,i)&&(b=w);var O=g.prototype=m.prototype=Object.create(b);function E(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function n(o,i,a,l){var c=s(e[o],e,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,l)}),(function(e){n("throw",e,a,l)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return n("throw",e,a,l)}))}l(c.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function x(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,x(e,n),"throw"===n.method))return h;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var o=s(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,h;var i=o.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,h):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}function S(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 j(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function T(e){if(e){var n=e[i];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:C}}function C(){return{value:t,done:!0}}return y.prototype=g,c(O,"constructor",g),c(g,"constructor",y),y.displayName=c(g,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,c(e,l,"GeneratorFunction")),e.prototype=Object.create(O),e},e.awrap=function(e){return{__await:e}},E(k.prototype),c(k.prototype,a,(function(){return this})),e.AsyncIterator=k,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new k(u(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},E(O),c(O,l,"Generator"),c(O,i,(function(){return this})),c(O,"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,P.prototype={constructor:P,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(j),!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 o(r,o){return l.type="throw",l.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],l=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(a)},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),h},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),j(n),h}},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 o=r.arg;j(n)}return o}}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),h}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}({exports:{}});var Sy=TypeError,jy=function(e){if(e>9007199254740991)throw Sy("Maximum allowed index exceeded");return e},Py=fo,Ty=g,Cy=Hl,Ry=oe,Ny=Ze,Ay=Or,Ly=jy,Dy=rl,My=ic,Iy=ys,Hy=ye,Fy=ht("isConcatSpreadable"),zy=Hy>=51||!Ty((function(){var e=[];return e[Fy]=!1,e.concat()[0]!==e})),By=Iy("concat"),Wy=function(e){if(!Ry(e))return!1;var t=e[Fy];return void 0!==t?!!t:Cy(e)};Py({target:"Array",proto:!0,arity:1,forced:!zy||!By},{concat:function(e){var t,n,r,o,i,a=Ny(this),l=My(a,0),c=0;for(t=-1,r=arguments.length;t<r;t++)if(Wy(i=-1===t?a:arguments[t]))for(o=Ay(i),Ly(c+o),n=0;n<o;n++,c++)n in i&&Dy(l,c,i[n]);else Ly(c+1),Dy(l,c++,i);return l.length=c,l}});var Uy,Vy,$y,qy,Gy,Ky,Yy,Zy="Mac|iPad|iPhone|iPod",Xy="Linux",Jy=!1,Qy=!1,eg=!1,tg=!1,ng=function(){var e;return"undefined"!=typeof navigator&&new RegExp("Android","i").test(null===(e=navigator)||void 0===e?void 0:e.userAgent)};function rg(e){var t=0;if(e)do{isNaN(e.offsetTop)||(t+=e.offsetTop)}while(e=e.offsetParent);return t}function og(e){var t=0;if(e)do{isNaN(e.offsetLeft)||(t+=e.offsetLeft)}while(e=e.offsetParent);return t}function ig(){return function(){try{return window.getSelection().toString()}catch(e){}return""}().length>0}Jy="undefined"!=typeof window&&"undefined"!=typeof document&&!!window.MSInputMethodContext&&!!document.documentMode,"undefined"!=typeof navigator&&/edge/i.test(null===(Uy=navigator)||void 0===Uy?void 0:Uy.userAgent),Qy="undefined"!=typeof navigator&&new RegExp("iOS|iPhone|iPad|iPod","i").test(null===(Vy=navigator)||void 0===Vy?void 0:Vy.platform),eg="undefined"!=typeof navigator&&/safari/i.test(null===($y=navigator)||void 0===$y?void 0:$y.userAgent)&&!/chrome/i.test(null===(qy=navigator)||void 0===qy?void 0:qy.userAgent),"undefined"!=typeof navigator&&new RegExp("Win","i").test(null===(Gy=navigator)||void 0===Gy?void 0:Gy.platform),ng(),tg="undefined"!=typeof navigator&&new RegExp(Zy,"i").test(null===(Ky=navigator)||void 0===Ky?void 0:Ky.platform),"undefined"!=typeof navigator&&new RegExp(Xy,"i").test(null===(Yy=navigator)||void 0===Yy?void 0:Yy.platform);var ag=function(e,t){try{var n=/[A-Z]/.test(e)?e:null,r=n?null:e.replace(/^\./,""),o=function(e){return e?n?(null==e?void 0:e.tagName)===n:null==e?void 0:e.classList.contains(r):null};if(o(t))return t;for(;(t=null===(i=t)||void 0===i?void 0:i.parentElement)&&!o(t);)var i}catch(e){}return t};var lg=b,cg=hn.EXISTS,ug=D,sg=Wt.f,fg=Function.prototype,dg=ug(fg.toString),pg=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,vg=ug(pg.exec);lg&&!cg&&sg(fg,"name",{configurable:!0,get:function(){try{return vg(pg,dg(this))[1]}catch(e){return""}}});var hg=fo,mg=b,yg=m,gg=D,bg=Qe,_g=te,wg=ue,Og=ko,Eg=Wt.f,kg=Kr,xg=yg.Symbol,Sg=xg&&xg.prototype;if(mg&&_g(xg)&&(!("description"in Sg)||void 0!==xg().description)){var jg={},Pg=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:Og(arguments[0]),t=wg(Sg,this)?new xg(e):void 0===e?xg():xg(e);return""===e&&(jg[t]=!0),t};kg(Pg,xg),Pg.prototype=Sg,Sg.constructor=Pg;var Tg="Symbol(test)"==String(xg("test")),Cg=gg(Sg.valueOf),Rg=gg(Sg.toString),Ng=/^Symbol\((.*)\)[^)]+$/,Ag=gg("".replace),Lg=gg("".slice);Eg(Sg,"description",{configurable:!0,get:function(){var e=Cg(this);if(bg(jg,e))return"";var t=Rg(e),n=Tg?Lg(t,7,-1):Ag(t,Ng,"$1");return""===n?void 0:n}}),hg({global:!0,constructor:!0,forced:!0},{Symbol:Pg})}wl("iterator");var Dg=X,Mg=Uf,Ig=uh,Hg=Vn,Fg=Wt.f,zg=ey,Bg=yh,Wg=b,Ug="Array Iterator",Vg=Hg.set,$g=Hg.getterFor(Ug),qg=zg(Array,"Array",(function(e,t){Vg(this,{type:Ug,target:Dg(e),index:0,kind:t})}),(function(){var e=$g(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,Bg(void 0,!0)):Bg("keys"==n?r:"values"==n?t[r]:[r,t[r]],!1)}),"values"),Gg=Ig.Arguments=Ig.Array;if(Mg("keys"),Mg("values"),Mg("entries"),Wg&&"values"!==Gg.name)try{Fg(Gg,"name",{value:"values"})}catch(e){}var Kg=m,Yg=id,Zg=cd,Xg=qg,Jg=cn,Qg=ht,eb=Qg("iterator"),tb=Qg("toStringTag"),nb=Xg.values,rb=function(e,t){if(e){if(e[eb]!==nb)try{Jg(e,eb,nb)}catch(t){e[eb]=nb}if(e[tb]||Jg(e,tb,t),Yg[t])for(var n in Xg)if(e[n]!==Xg[n])try{Jg(e,n,Xg[n])}catch(t){e[n]=Xg[n]}}};for(var ob in Yg)rb(Kg[ob]&&Kg[ob].prototype,ob);function ib(e){return function(e){if(Array.isArray(e))return Jd(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Qd(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.")}()}rb(Zg,"DOMTokenList");var ab,lb=fo,cb=Nl,ub=y.f,sb=_r,fb=ko,db=Kf,pb=K,vb=Zf,hb=cb("".endsWith),mb=cb("".slice),yb=Math.min,gb=vb("endsWith");function bb(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 _b(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 _b(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 i,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw i}}}}function _b(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}lb({target:"String",proto:!0,forced:!!(gb||(ab=ub(String.prototype,"endsWith"),!ab||ab.writable))&&!gb},{endsWith:function(e){var t=fb(pb(this));db(e);var n=arguments.length>1?arguments[1]:void 0,r=t.length,o=void 0===n?r:yb(sb(n),r),i=fb(e);return hb?hb(t,i,o):mb(t,o-i.length,o)===i}});var wb=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return Yd(this,e),Ts(this,"bypassElement",void 0),Ts(this,"bypassSelectors",void 0),Ts(this,"_nodesToInvalidate",void 0),Ts(this,"options",void 0),this.bypassElement=null,this.bypassSelectors=[],this.options=t||{},this}return Xd(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=bb(this._nodesToInvalidate);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(r){if(!1!==this.options.tabIndex){var o=r.getAttribute("tabindex");null!==o&&void 0===r.__tabindex&&(r.__tabindex=o),r.setAttribute("tabindex","-1")}if(!1!==this.options.ariaHidden){var i=r.getAttribute("aria-hidden");null!==i&&void 0===r.__ariahidden&&(r.__ariahidden=i),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=bb(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(Jy){var o=[],i=r.split(":").map((function(t){return t.endsWith(" *)")&&(o.push.apply(o,ib(Array.from((e||document.documentElement).querySelectorAll(t.match(/\(([^)]*)\)/)[1])))),t=t.replace(" *","")),t})).join(":");return Array.from((e||document.documentElement).querySelectorAll(i)).filter((function(e){return!o.includes(e)}))}return Array.from((e||document.documentElement).querySelectorAll(r))}}]),e}();function Ob(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 Eb(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ob(Object(n),!0).forEach((function(t){Ts(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ob(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function kb(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=Eb(Eb({},t),e);for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return Eb(Eb({},e),jb(e,t,r))}function xb(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return Eb(Eb({},e),jb(e,t,r,{checkPropKey:!0}))}function Sb(e){return e.reduce((function(e,t){return t&&(e=Eb(Eb({},e),t)),e}),{})}function jb(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=r.checkPropKey,i=void 0!==o&&o,a=Sb(n);return Object.entries(a).reduce((function(n,r){var o=ep(r,2),a=o[0],l=o[1];return i&&!Object.prototype.hasOwnProperty.call(e,a)||e[a]!==(null==t?void 0:t[a])||(n[a]=l),n}),{})}var Pb=D,Tb=Ne,Cb=oe,Rb=Qe,Nb=zu,Ab=_,Lb=Function,Db=Pb([].concat),Mb=Pb([].join),Ib={},Hb=function(e,t,n){if(!Rb(Ib,t)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";Ib[t]=Lb("C,a","return new C("+Mb(r,",")+")")}return Ib[t](e,n)},Fb=Ab?Lb.bind:function(e){var t=Tb(this),n=t.prototype,r=Nb(arguments,1),o=function(){var n=Db(r,Nb(arguments));return this instanceof o?Hb(t,n.length,n):t.apply(e,n)};return Cb(n)&&(o.prototype=n),o},zb=fo,Bb=Fu,Wb=Fb,Ub=Ws,Vb=Gt,$b=oe,qb=ti,Gb=g,Kb=ce("Reflect","construct"),Yb=Object.prototype,Zb=[].push,Xb=Gb((function(){function e(){}return!(Kb((function(){}),[],e)instanceof e)})),Jb=!Gb((function(){Kb((function(){}))})),Qb=Xb||Jb;function e_(e,t){return e_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e_(e,t)}function t_(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&&e_(e,t)}function n_(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r_(e,t){if(t&&("object"===tp(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return n_(e)}function o_(e){return o_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},o_(e)}function i_(){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 a_(e,t,n){return a_=i_()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&e_(o,n.prototype),o},a_.apply(null,arguments)}function l_(e){var t="function"==typeof Map?new Map:void 0;return l_=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 a_(e,arguments,o_(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),e_(r,e)},l_(e)}zb({target:"Reflect",stat:!0,forced:Qb,sham:Qb},{construct:function(e,t){Ub(e),Vb(t);var n=arguments.length<3?e:Ub(arguments[2]);if(Jb&&!Xb)return Kb(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 Bb(Zb,r,t),new(Bb(Wb,e,r))}var o=n.prototype,i=qb($b(o)?o:Yb),a=Bb(e,i,t);return $b(a)?a:i}});var c_=fo,u_=jr.indexOf,s_=sd,f_=Nl([].indexOf),d_=!!f_&&1/f_([1],1,-0)<0,p_=s_("indexOf");c_({target:"Array",proto:!0,forced:d_||!p_},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return d_?f_(this,e,t)||0:u_(this,e,t)}});var v_=D(1..valueOf),h_=b,m_=m,y_=D,g_=ro,b_=lr,__=Qe,w_=Fi,O_=ue,E_=Se,k_=Et,x_=g,S_=cr.f,j_=y.f,P_=Wt.f,T_=v_,C_=yy.trim,R_="Number",N_=m_.Number,A_=N_.prototype,L_=m_.TypeError,D_=y_("".slice),M_=y_("".charCodeAt),I_=function(e){var t=k_(e,"number");return"bigint"==typeof t?t:H_(t)},H_=function(e){var t,n,r,o,i,a,l,c,u=k_(e,"number");if(E_(u))throw L_("Cannot convert a Symbol value to a number");if("string"==typeof u&&u.length>2)if(u=C_(u),43===(t=M_(u,0))||45===t){if(88===(n=M_(u,2))||120===n)return NaN}else if(48===t){switch(M_(u,1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+u}for(a=(i=D_(u,2)).length,l=0;l<a;l++)if((c=M_(i,l))<48||c>o)return NaN;return parseInt(i,r)}return+u};if(g_(R_,!N_(" 0o1")||!N_("0b1")||N_("+0x1"))){for(var F_,z_=function(e){var t=arguments.length<1?0:N_(I_(e)),n=this;return O_(A_,n)&&x_((function(){T_(n)}))?w_(Object(t),n,z_):t},B_=h_?S_(N_):"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(","),W_=0;B_.length>W_;W_++)__(N_,F_=B_[W_])&&!__(z_,F_)&&P_(z_,F_,j_(N_,F_));z_.prototype=A_,A_.constructor=z_,b_(m_,R_,z_,{constructor:!0})}function U_(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"===tp(e)&&(n=e.message),this.err=new Error("".concat(e,"\n\n").concat(n)),500===r)throw this.err;console.log(this.err)}var V_={exports:{}},$_=g,q_=oe,G_=F,K_=kp,Y_=Object.isExtensible,Z_=$_((function(){Y_(1)}))||K_?function(e){return!!q_(e)&&((!K_||"ArrayBuffer"!=G_(e))&&(!Y_||Y_(e)))}:Y_,X_=!g((function(){return Object.isExtensible(Object.preventExtensions({}))})),J_=fo,Q_=D,ew=Cn,tw=oe,nw=Qe,rw=Wt.f,ow=cr,iw=Qa,aw=Z_,lw=X_,cw=!1,uw=ot("meta"),sw=0,fw=function(e){rw(e,uw,{value:{objectID:"O"+sw++,weakData:{}}})},dw=V_.exports={enable:function(){dw.enable=function(){},cw=!0;var e=ow.f,t=Q_([].splice),n={};n[uw]=1,e(n).length&&(ow.f=function(n){for(var r=e(n),o=0,i=r.length;o<i;o++)if(r[o]===uw){t(r,o,1);break}return r},J_({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:iw.f}))},fastKey:function(e,t){if(!tw(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!nw(e,uw)){if(!aw(e))return"F";if(!t)return"E";fw(e)}return e[uw].objectID},getWeakData:function(e,t){if(!nw(e,uw)){if(!aw(e))return!0;if(!t)return!1;fw(e)}return e[uw].weakData},onFreeze:function(e){return lw&&cw&&aw(e)&&!nw(e,uw)&&fw(e),e}};ew[uw]=!0;var pw=Ml,vw=E,hw=Gt,mw=Pe,yw=om,gw=Or,bw=ue,_w=ym,ww=sm,Ow=Jh,Ew=TypeError,kw=function(e,t){this.stopped=e,this.result=t},xw=kw.prototype,Sw=function(e,t,n){var r,o,i,a,l,c,u,s=n&&n.that,f=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_RECORD),p=!(!n||!n.IS_ITERATOR),v=!(!n||!n.INTERRUPTED),h=pw(t,s),m=function(e){return r&&Ow(r,"normal",e),new kw(!0,e)},y=function(e){return f?(hw(e),v?h(e[0],e[1],m):h(e[0],e[1])):v?h(e,m):h(e)};if(d)r=e.iterator;else if(p)r=e;else{if(!(o=ww(e)))throw Ew(mw(e)+" is not iterable");if(yw(o)){for(i=0,a=gw(e);a>i;i++)if((l=y(e[i]))&&bw(xw,l))return l;return new kw(!1)}r=_w(e,o)}for(c=d?e.next:r.next;!(u=vw(c,r)).done;){try{l=y(u.value)}catch(e){Ow(r,"throw",e)}if("object"==typeof l&&l&&bw(xw,l))return l}return new kw(!1)},jw=ue,Pw=TypeError,Tw=function(e,t){if(jw(t,e))return e;throw Pw("Incorrect invocation")},Cw=fo,Rw=m,Nw=D,Aw=ro,Lw=lr,Dw=V_.exports,Mw=Sw,Iw=Tw,Hw=te,Fw=$,zw=oe,Bw=g,Ww=Am,Uw=Tl,Vw=Fi,$w=lr,qw=Wt.f,Gw=ti,Kw=function(e,t,n){for(var r in t)$w(e,r,t[r],n);return e},Yw=Ml,Zw=Tw,Xw=$,Jw=Sw,Qw=ey,eO=yh,tO=ta,nO=b,rO=V_.exports.fastKey,oO=Vn.set,iO=Vn.getterFor,aO={getConstructor:function(e,t,n,r){var o=e((function(e,o){Zw(e,i),oO(e,{type:t,index:Gw(null),first:void 0,last:void 0,size:0}),nO||(e.size=0),Xw(o)||Jw(o,e[r],{that:e,AS_ENTRIES:n})})),i=o.prototype,a=iO(t),l=function(e,t,n){var r,o,i=a(e),l=c(e,t);return l?l.value=n:(i.last=l={index:o=rO(t,!0),key:t,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=l),r&&(r.next=l),nO?i.size++:e.size++,"F"!==o&&(i.index[o]=l)),e},c=function(e,t){var n,r=a(e),o=rO(t);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==t)return n};return Kw(i,{clear:function(){for(var e=a(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,nO?e.size=0:this.size=0},delete:function(e){var t=this,n=a(t),r=c(t,e);if(r){var o=r.next,i=r.previous;delete n.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),n.first==r&&(n.first=o),n.last==r&&(n.last=i),nO?n.size--:t.size--}return!!r},forEach:function(e){for(var t,n=a(this),r=Yw(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!!c(this,e)}}),Kw(i,n?{get:function(e){var t=c(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)}}),nO&&qw(i,"size",{get:function(){return a(this).size}}),o},setStrong:function(e,t,n){var r=t+" Iterator",o=iO(t),i=iO(r);Qw(e,t,(function(e,t){oO(this,{type:r,target:e,state:o(e),kind:t,last:void 0})}),(function(){for(var e=i(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)?eO("keys"==t?n.key:"values"==t?n.value:[n.key,n.value],!1):(e.target=void 0,eO(void 0,!0))}),n?"entries":"values",!n,!0),tO(t)}},lO=function(e,t,n){var r=-1!==e.indexOf("Map"),o=-1!==e.indexOf("Weak"),i=r?"set":"add",a=Rw[e],l=a&&a.prototype,c=a,u={},s=function(e){var t=Nw(l[e]);Lw(l,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(o&&!zw(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return o&&!zw(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(o&&!zw(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(Aw(e,!Hw(a)||!(o||l.forEach&&!Bw((function(){(new a).entries().next()})))))c=n.getConstructor(t,e,r,i),Dw.enable();else if(Aw(e,!0)){var f=new c,d=f[i](o?{}:-0,1)!=f,p=Bw((function(){f.has(1)})),v=Ww((function(e){new a(e)})),h=!o&&Bw((function(){for(var e=new a,t=5;t--;)e[i](t,t);return!e.has(-0)}));v||((c=t((function(e,t){Iw(e,l);var n=Vw(new a,e,c);return Fw(t)||Mw(t,n[i],{that:n,AS_ENTRIES:r}),n}))).prototype=l,l.constructor=c),(p||h)&&(s("delete"),s("has"),r&&s("get")),(h||d)&&s(i),o&&l.clear&&delete l.clear}return u[e]=c,Cw({global:!0,constructor:!0,forced:c!=a},u),Uw(c,e),o||n.setStrong(c,e,r),c};lO("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),aO);var cO,uO,sO,fO,dO=TypeError,pO=/(?:ipad|iphone|ipod).*applewebkit/i.test(se),vO=m,hO=Fu,mO=Ml,yO=te,gO=Qe,bO=g,_O=Uo,wO=zu,OO=Ct,EO=function(e,t){if(e<t)throw dO("Not enough arguments");return e},kO=pO,xO=Hp,SO=vO.setImmediate,jO=vO.clearImmediate,PO=vO.process,TO=vO.Dispatch,CO=vO.Function,RO=vO.MessageChannel,NO=vO.String,AO=0,LO={},DO="onreadystatechange";try{cO=vO.location}catch(e){}var MO=function(e){if(gO(LO,e)){var t=LO[e];delete LO[e],t()}},IO=function(e){return function(){MO(e)}},HO=function(e){MO(e.data)},FO=function(e){vO.postMessage(NO(e),cO.protocol+"//"+cO.host)};SO&&jO||(SO=function(e){EO(arguments.length,1);var t=yO(e)?e:CO(e),n=wO(arguments,1);return LO[++AO]=function(){hO(t,void 0,n)},uO(AO),AO},jO=function(e){delete LO[e]},xO?uO=function(e){PO.nextTick(IO(e))}:TO&&TO.now?uO=function(e){TO.now(IO(e))}:RO&&!kO?(fO=(sO=new RO).port2,sO.port1.onmessage=HO,uO=mO(fO.postMessage,fO)):vO.addEventListener&&yO(vO.postMessage)&&!vO.importScripts&&cO&&"file:"!==cO.protocol&&!bO(FO)?(uO=FO,vO.addEventListener("message",HO,!1)):uO=DO in OO("script")?function(e){_O.appendChild(OO("script")).onreadystatechange=function(){_O.removeChild(this),MO(e)}}:function(e){setTimeout(IO(e),0)});var zO,BO,WO,UO,VO,$O,qO,GO,KO={set:SO,clear:jO},YO=m,ZO=/ipad|iphone|ipod/i.test(se)&&void 0!==YO.Pebble,XO=/web0s(?!.*chrome)/i.test(se),JO=m,QO=Ml,eE=y.f,tE=KO.set,nE=pO,rE=ZO,oE=XO,iE=Hp,aE=JO.MutationObserver||JO.WebKitMutationObserver,lE=JO.document,cE=JO.process,uE=JO.Promise,sE=eE(JO,"queueMicrotask"),fE=sE&&sE.value;fE||(zO=function(){var e,t;for(iE&&(e=cE.domain)&&e.exit();BO;){t=BO.fn,BO=BO.next;try{t()}catch(e){throw BO?UO():WO=void 0,e}}WO=void 0,e&&e.enter()},nE||iE||oE||!aE||!lE?!rE&&uE&&uE.resolve?((qO=uE.resolve(void 0)).constructor=uE,GO=QO(qO.then,qO),UO=function(){GO(zO)}):iE?UO=function(){cE.nextTick(zO)}:(tE=QO(tE,JO),UO=function(){tE(zO)}):(VO=!0,$O=lE.createTextNode(""),new aE(zO).observe($O,{characterData:!0}),UO=function(){$O.data=VO=!VO}));var dE=fE||function(e){var t={fn:e,next:void 0};WO&&(WO.next=t),BO||(BO=t,UO()),WO=t},pE=m,vE=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},hE=function(){this.head=null,this.tail=null};hE.prototype={add:function(e){var t={item:e,next:null};this.head?this.tail.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return this.head=e.next,this.tail===e&&(this.tail=null),e.item}};var mE=hE,yE=m.Promise,gE="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,bE=!gE&&!Hp&&"object"==typeof window&&"object"==typeof document,_E=m,wE=yE,OE=te,EE=ro,kE=On,xE=ht,SE=bE,jE=gE,PE=ye;wE&&wE.prototype;var TE=xE("species"),CE=!1,RE=OE(_E.PromiseRejectionEvent),NE=EE("Promise",(function(){var e=kE(wE),t=e!==String(wE);if(!t&&66===PE)return!0;if(!PE||PE<51||!/native code/.test(e)){var n=new wE((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};if((n.constructor={})[TE]=r,!(CE=n.then((function(){}))instanceof r))return!0}return!t&&(SE||jE)&&!RE})),AE={CONSTRUCTOR:NE,REJECTION_EVENT:RE,SUBCLASSING:CE},LE={},DE=Ne,ME=TypeError,IE=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw ME("Bad Promise constructor");t=e,n=r})),this.resolve=DE(t),this.reject=DE(n)};LE.f=function(e){return new IE(e)};var HE,FE,zE,BE=fo,WE=Hp,UE=m,VE=E,$E=lr,qE=Di,GE=Tl,KE=ta,YE=Ne,ZE=te,XE=oe,JE=Tw,QE=Gs,ek=KO.set,tk=dE,nk=function(e,t){var n=pE.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))},rk=vE,ok=mE,ik=Vn,ak=yE,lk=LE,ck="Promise",uk=AE.CONSTRUCTOR,sk=AE.REJECTION_EVENT,fk=AE.SUBCLASSING,dk=ik.getterFor(ck),pk=ik.set,vk=ak&&ak.prototype,hk=ak,mk=vk,yk=UE.TypeError,gk=UE.document,bk=UE.process,_k=lk.f,wk=_k,Ok=!!(gk&&gk.createEvent&&UE.dispatchEvent),Ek="unhandledrejection",kk=function(e){var t;return!(!XE(e)||!ZE(t=e.then))&&t},xk=function(e,t){var n,r,o,i=t.value,a=1==t.state,l=a?e.ok:e.fail,c=e.resolve,u=e.reject,s=e.domain;try{l?(a||(2===t.rejection&&Ck(t),t.rejection=1),!0===l?n=i:(s&&s.enter(),n=l(i),s&&(s.exit(),o=!0)),n===e.promise?u(yk("Promise-chain cycle")):(r=kk(n))?VE(r,n,c,u):c(n)):u(i)}catch(e){s&&!o&&s.exit(),u(e)}},Sk=function(e,t){e.notified||(e.notified=!0,tk((function(){for(var n,r=e.reactions;n=r.get();)xk(n,e);e.notified=!1,t&&!e.rejection&&Pk(e)})))},jk=function(e,t,n){var r,o;Ok?((r=gk.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),UE.dispatchEvent(r)):r={promise:t,reason:n},!sk&&(o=UE["on"+e])?o(r):e===Ek&&nk("Unhandled promise rejection",n)},Pk=function(e){VE(ek,UE,(function(){var t,n=e.facade,r=e.value;if(Tk(e)&&(t=rk((function(){WE?bk.emit("unhandledRejection",r,n):jk(Ek,n,r)})),e.rejection=WE||Tk(e)?2:1,t.error))throw t.value}))},Tk=function(e){return 1!==e.rejection&&!e.parent},Ck=function(e){VE(ek,UE,(function(){var t=e.facade;WE?bk.emit("rejectionHandled",t):jk("rejectionhandled",t,e.value)}))},Rk=function(e,t,n){return function(r){e(t,r,n)}},Nk=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,Sk(e,!0))},Ak=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw yk("Promise can't be resolved itself");var r=kk(t);r?tk((function(){var n={done:!1};try{VE(r,t,Rk(Ak,n,e),Rk(Nk,n,e))}catch(t){Nk(n,t,e)}})):(e.value=t,e.state=1,Sk(e,!1))}catch(t){Nk({done:!1},t,e)}}};if(uk&&(mk=(hk=function(e){JE(this,mk),YE(e),VE(HE,this);var t=dk(this);try{e(Rk(Ak,t),Rk(Nk,t))}catch(e){Nk(t,e)}}).prototype,(HE=function(e){pk(this,{type:ck,done:!1,notified:!1,parent:!1,reactions:new ok,rejection:!1,state:0,value:void 0})}).prototype=$E(mk,"then",(function(e,t){var n=dk(this),r=_k(QE(this,hk));return n.parent=!0,r.ok=!ZE(e)||e,r.fail=ZE(t)&&t,r.domain=WE?bk.domain:void 0,0==n.state?n.reactions.add(r):tk((function(){xk(r,n)})),r.promise})),FE=function(){var e=new HE,t=dk(e);this.promise=e,this.resolve=Rk(Ak,t),this.reject=Rk(Nk,t)},lk.f=_k=function(e){return e===hk||undefined===e?new FE(e):wk(e)},ZE(ak)&&vk!==Object.prototype)){zE=vk.then,fk||$E(vk,"then",(function(e,t){var n=this;return new hk((function(e,t){VE(zE,n,e,t)})).then(e,t)}),{unsafe:!0});try{delete vk.constructor}catch(e){}qE&&qE(vk,mk)}BE({global:!0,constructor:!0,wrap:!0,forced:uk},{Promise:hk}),GE(hk,ck,!1),KE(ck);var Lk=yE,Dk=AE.CONSTRUCTOR||!Am((function(e){Lk.all(e).then(void 0,(function(){}))})),Mk=E,Ik=Ne,Hk=LE,Fk=vE,zk=Sw;fo({target:"Promise",stat:!0,forced:Dk},{all:function(e){var t=this,n=Hk.f(t),r=n.resolve,o=n.reject,i=Fk((function(){var n=Ik(t.resolve),i=[],a=0,l=1;zk(e,(function(e){var c=a++,u=!1;l++,Mk(n,t,e).then((function(e){u||(u=!0,i[c]=e,--l||r(i))}),o)})),--l||r(i)}));return i.error&&o(i.value),n.promise}});var Bk=fo,Wk=AE.CONSTRUCTOR,Uk=yE,Vk=ce,$k=te,qk=lr,Gk=Uk&&Uk.prototype;if(Bk({target:"Promise",proto:!0,forced:Wk,real:!0},{catch:function(e){return this.then(void 0,e)}}),$k(Uk)){var Kk=Vk("Promise").prototype.catch;Gk.catch!==Kk&&qk(Gk,"catch",Kk,{unsafe:!0})}var Yk=E,Zk=Ne,Xk=LE,Jk=vE,Qk=Sw;fo({target:"Promise",stat:!0,forced:Dk},{race:function(e){var t=this,n=Xk.f(t),r=n.reject,o=Jk((function(){var o=Zk(t.resolve);Qk(e,(function(e){Yk(o,t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}});var ex=E,tx=LE;fo({target:"Promise",stat:!0,forced:AE.CONSTRUCTOR},{reject:function(e){var t=tx.f(this);return ex(t.reject,void 0,e),t.promise}});var nx=Gt,rx=oe,ox=LE,ix=fo,ax=AE.CONSTRUCTOR,lx=function(e,t){if(nx(e),rx(t)&&t.constructor===e)return t;var n=ox.f(e);return(0,n.resolve)(t),n.promise};ce("Promise"),ix({target:"Promise",stat:!0,forced:ax},{resolve:function(e){return lx(this,e)}});var cx=b,ux=Hl,sx=TypeError,fx=Object.getOwnPropertyDescriptor,dx=cx&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}(),px=Pe,vx=TypeError,hx=fo,mx=Ze,yx=yr,gx=pr,bx=Or,_x=dx?function(e,t){if(ux(e)&&!fx(e,"length").writable)throw sx("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t},wx=jy,Ox=ic,Ex=rl,kx=function(e,t){if(!delete e[t])throw vx("Cannot delete property "+px(t)+" of "+px(e))},xx=ys("splice"),Sx=Math.max,jx=Math.min;function Px(e,t){var n=e.document,r=e.Object,o=function(e){var t,n,o,i,a=/^[A-Z]+[a-z]/,l=function(e,t){(t=t.toLowerCase())in c||(c[e]=(c[e]||[]).concat(t),c[t]=c[t.toUpperCase()]=e)},c=(r.create||r)(null),u={};for(n in e)for(i in e[n])for(o=e[n][i],c[i]=o,t=0;t<o.length;t++)c[o[t].toLowerCase()]=c[o[t].toUpperCase()]=i;return u.get=function(e){return"string"==typeof e?c[e]||(a.test(e)?[]:""):function(e){var t,n=[];for(t in c)e.test(t)&&n.push(t);return n}(e)},u.set=function(e,t){return a.test(e)?l(e,t):l(t,e),u},u}({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"!==tp(t)&&(t={type:t||"auto"});var i,a,l,c,u,s,f,d,p,v="registerElement",h="__registerElement"+(1e5*e.Math.random()>>0),m="addEventListener",y="attached",g="Callback",b="detached",_="extends",w="attributeChangedCallback",O="createdCallback",E="ADDITION",k="MODIFICATION",x="REMOVAL",S="DOMAttrModified",j="DOMContentLoaded",P="<",T="=",C=/^[A-Z][A-Z0-9]*(?:-[A-Z0-9]+)+$/,R=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],N=[],A=[],L="",D=n.documentElement,M=N.indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},I=r.prototype,H=I.hasOwnProperty,F=I.isPrototypeOf,z=r.defineProperty,B=[],W=r.getOwnPropertyDescriptor,U=r.getOwnPropertyNames,V=r.getPrototypeOf,$=r.setPrototypeOf,q=!!r.__proto__,G="__dreCEv1",K=e.customElements,Y=!/^force/.test(t.type)&&!!(K&&K.define&&K.get&&K.whenDefined),Z=r.create||r,X=e.Map||function(){var e,t=[],n=[];return{get:function(e){return n[M.call(t,e)]},set:function(r,o){(e=M.call(t,r))<0?n[t.push(r)-1]=o:n[e]=o}}},J=e.Promise||function(e){var t=[],n=!1,r={catch:function(){return r},then:function(e){return t.push(e),n&&setTimeout(o,1),r}};function o(e){for(n=!0;t.length;)t.shift()(e)}return e(o),r},Q=!1,ee=Z(null),te=Z(null),ne=new X,re=function(e){return e.toLowerCase()},oe=r.create||function e(t){return t?(e.prototype=t,new e):this},ie=$||(q?function(e,t){return e.__proto__=t,e}:U&&W?function(){function e(e,t){for(var n,r=U(t),o=0,i=r.length;o<i;o++)n=r[o],H.call(e,n)||z(e,n,W(t,n))}return function(t,n){do{e(t,n)}while((n=V(n))&&!F.call(n,t));return t}}():function(e,t){for(var n in t)e[n]=t[n];return e}),ae=e.MutationObserver||e.WebKitMutationObserver,le=(e.HTMLElement||e.Element||e.Node).prototype,ce=!F.call(le,D),ue=ce?function(e,t,n){return e[t]=n.value,e}:z,se=ce?function(e){return 1===e.nodeType}:function(e){return F.call(le,e)},fe=ce&&[],de=le.attachShadow,pe=le.cloneNode,ve=le.dispatchEvent,he=le.getAttribute,me=le.hasAttribute,ye=le.removeAttribute,ge=le.setAttribute,be=n.createElement,_e=be,we=ae&&{attributes:!0,characterData:!0,attributeOldValue:!0},Oe=ae||function(e){je=!1,D.removeEventListener(S,Oe)},Ee=0,ke=v in n&&!/^force-all/.test(t.type),xe=!0,Se=!1,je=!0,Pe=!0,Te=!0;function Ce(){var e=i.splice(0,i.length);for(Ee=0;e.length;)e.shift().call(null,e.shift())}function Re(e,t){for(var n=0,r=e.length;n<r;n++)Be(e[n],t)}function Ne(e){return function(t){se(t)&&(Be(t,e),L.length&&Re(t.querySelectorAll(L),e))}}function Ae(e){var t=he.call(e,"is"),n=e.nodeName.toUpperCase(),r=M.call(N,t?T+t.toUpperCase():P+n);return t&&-1<r&&!Le(n,t)?-1:r}function Le(e,t){return-1<L.indexOf(e+'[is="'+t+'"]')}function De(e){var t=e.currentTarget,n=e.attrChange,r=e.attrName,o=e.target,i=e.ADDITION||2,a=e.REMOVAL||3;!Te||o&&o!==t||!t.attributeChangedCallback||"style"===r||e.prevValue===e.newValue&&(""!==e.newValue||n!==i&&n!==a)||t.attributeChangedCallback(r,n===i?null:e.prevValue,n===a?null:e.newValue)}function Me(e){var t=Ne(e);return function(e){i.push(t,e.target),Ee&&clearTimeout(Ee),Ee=setTimeout(Ce,1)}}function Ie(e){Pe&&(Pe=!1,e.currentTarget.removeEventListener(j,Ie)),L.length&&Re((e.target||n).querySelectorAll(L),e.detail===b?b:y),ce&&function(){for(var e,t=0,n=fe.length;t<n;t++)e=fe[t],D.contains(e)||(n--,fe.splice(t--,1),Be(e,b))}()}function He(e,t){var n=this;ge.call(n,e,t),a.call(n,{target:n})}function Fe(e,t){ie(e,t),u?u.observe(e,we):(je&&(e.setAttribute=He,e[h]=c(e),e.addEventListener("DOMSubtreeModified",a)),e.addEventListener(S,De)),e.createdCallback&&Te&&(e.created=!0,e.createdCallback(),e.created=!1)}function ze(e){throw new Error("A "+e+" type is already registered")}function Be(e,t){var n,r,o=Ae(e);-1<o&&(f(e,A[o]),o=0,t!==y||e.attached?t!==b||e.detached||(e.attached=!1,e.detached=!0,r="disconnected",o=1):(e.detached=!1,e.attached=!0,r="connected",o=1,ce&&M.call(fe,e)<0&&fe.push(e)),o&&(n=e[t+g]||e[r+g])&&n.call(e))}function We(){}function Ue(e,t,r){var o=r&&r.extends||"",i=t.prototype,a=oe(i),l=t.observedAttributes||B,c={prototype:a};ue(a,O,{value:function(){if(Q)Q=!1;else if(!this[G]){this[G]=!0,new t(this),i.createdCallback&&i.createdCallback.call(this);var e=ee[ne.get(t)];(!Y||e.create.length>1)&&qe(this)}}}),ue(a,w,{value:function(e){-1<M.call(l,e)&&i.attributeChangedCallback.apply(this,arguments)}}),i.connectedCallback&&ue(a,"attachedCallback",{value:i.connectedCallback}),i.disconnectedCallback&&ue(a,"detachedCallback",{value:i.disconnectedCallback}),o&&(c.extends=o),e=e.toUpperCase(),ee[e]={constructor:t,create:o?[o,re(e)]:[e]},ne.set(t,e),n.registerElement(e.toLowerCase(),c),Ge(e),te[e].r()}function Ve(e){var t=ee[e.toUpperCase()];return t&&t.constructor}function $e(e){return"string"==typeof e?e:e&&e.is||""}function qe(e){for(var t,n=e.attributeChangedCallback,r=n?e.attributes:B,o=r.length;o--;)t=r[o],n.call(e,t.name||t.nodeName,null,t.value||t.nodeValue)}function Ge(e){return(e=e.toUpperCase())in te||(te[e]={},te[e].p=new J((function(t){te[e].r=t}))),te[e].p}function Ke(){K&&delete e.customElements,z(e,"customElements",{configurable:!0,value:new We}),z(e,"CustomElementRegistry",{configurable:!0,value:We});for(var t=function(t){var r=e[t];if(r){e[t]=function(e){var t,o;return e||(e=this),e[G]||(Q=!0,t=ee[ne.get(e.constructor)],(e=(o=Y&&1===t.create.length)?Reflect.construct(r,B,t.constructor):n.createElement.apply(n,t.create))[G]=!0,Q=!1,o||qe(e)),e},e[t].prototype=r.prototype;try{r.prototype.constructor=e[t]}catch(n){z(r,G,{value:e[t]})}}},r=o.get(/^HTML[A-Z]*[a-z]/),i=r.length;i--;t(r[i]));n.createElement=function(e,t){var n=$e(t);return n?_e.call(this,e,re(n)):_e.call(this,e)},ke||(Se=!0,n.registerElement(""))}if(ae&&((p=n.createElement("div")).innerHTML="<div><div></div></div>",new ae((function(e,t){if(e[0]&&"childList"==e[0].type&&!e[0].removedNodes[0].childNodes.length){var n=(p=W(le,"innerHTML"))&&p.set;n&&z(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=""),ke||($||q?(f=function(e,t){F.call(t,e)||Fe(e,t)},d=Fe):(f=function(e,t){e[h]||(e[h]=r(!0),Fe(e,t))},d=f),ce?(je=!1,function(){var e=W(le,m),t=e.value,n=function(e){var t=new CustomEvent(S,{bubbles:!0});t.attrName=e,t.prevValue=he.call(this,e),t.newValue=null,t.REMOVAL=t.attrChange=2,ye.call(this,e),ve.call(this,t)},r=function(e,t){var n=me.call(this,e),r=n&&he.call(this,e),o=new CustomEvent(S,{bubbles:!0});ge.call(this,e,t),o.attrName=e,o.prevValue=n?r:null,o.newValue=t,n?o.MODIFICATION=o.attrChange=1:o.ADDITION=o.attrChange=0,ve.call(this,o)},o=function(e){var t,n=e.currentTarget,r=n[h],o=e.propertyName;r.hasOwnProperty(o)&&(r=r[o],(t=new CustomEvent(S,{bubbles:!0})).attrName=r.name,t.prevValue=r.value||null,t.newValue=r.value=n[o]||null,null==t.prevValue?t.ADDITION=t.attrChange=0:t.MODIFICATION=t.attrChange=1,ve.call(n,t))};e.value=function(e,i,a){e===S&&this.attributeChangedCallback&&this.setAttribute!==r&&(this[h]={className:{name:"class",value:this.className}},this.setAttribute=r,this.removeAttribute=n,t.call(this,"propertychange",o)),t.call(this,e,i,a)},z(le,m,e)}()):ae||(D.addEventListener(S,Oe),D.setAttribute(h,1),D.removeAttribute(h),je&&(a=function(e){var t,n,r,o=this;if(o===e.target){for(r in t=o[h],o[h]=n=c(o),n){if(!(r in t))return l(0,o,r,t[r],n[r],E);if(n[r]!==t[r])return l(1,o,r,t[r],n[r],k)}for(r in t)if(!(r in n))return l(2,o,r,t[r],n[r],x)}},l=function(e,t,n,r,o,i){var a={attrChange:e,currentTarget:t,attrName:n,prevValue:r,newValue:o};a[i]=e,De(a)},c=function(e){for(var t,n,r={},o=e.attributes,i=0,a=o.length;i<a;i++)"setAttribute"!==(n=(t=o[i]).name)&&(r[n]=t.value);return r})),n.registerElement=function(e,t){if(r=e.toUpperCase(),xe&&(xe=!1,ae?(u=function(e,t){function n(e,t){for(var n=0,r=e.length;n<r;t(e[n++]));}return new ae((function(r){for(var o,i,a,l=0,c=r.length;l<c;l++)"childList"===(o=r[l]).type?(n(o.addedNodes,e),n(o.removedNodes,t)):(i=o.target,Te&&i.attributeChangedCallback&&"style"!==o.attributeName&&(a=he.call(i,o.attributeName))!==o.oldValue&&i.attributeChangedCallback(o.attributeName,o.oldValue,a))}))}(Ne(y),Ne(b)),s=function(e){return u.observe(e,{childList:!0,subtree:!0}),e},s(n),de&&(le.attachShadow=function(){return s(de.apply(this,arguments))})):(i=[],n.addEventListener("DOMNodeInserted",Me(y)),n.addEventListener("DOMNodeRemoved",Me(b))),n.addEventListener(j,Ie),n.addEventListener("readystatechange",Ie),le.cloneNode=function(e){var t=pe.call(this,!!e),n=Ae(t);return-1<n&&d(t,A[n]),e&&L.length&&function(e){for(var t,n=0,r=e.length;n<r;n++)t=e[n],d(t,A[Ae(t)])}(t.querySelectorAll(L)),t}),Se)return Se=!1;if(-2<M.call(N,T+r)+M.call(N,P+r)&&ze(e),!C.test(r)||-1<M.call(R,r))throw new Error("The type "+e+" is invalid");var r,o,a=function(){return c?n.createElement(f,r):n.createElement(f)},l=t||I,c=H.call(l,_),f=c?t.extends.toUpperCase():r;return c&&-1<M.call(N,P+f)&&ze(f),o=N.push((c?T:P)+r)-1,L=L.concat(L.length?",":"",c?f+'[is="'+e.toLowerCase()+'"]':f),a.prototype=A[o]=H.call(l,"prototype")?l.prototype:oe(le),L.length&&Re(n.querySelectorAll(L),y),a},n.createElement=_e=function(e,t){var r=$e(t),o=r?be.call(n,e,re(r)):be.call(n,e),i=""+e,a=M.call(N,(r?T:P)+(r||i).toUpperCase()),l=-1<a;return r&&(o.setAttribute("is",r=r.toLowerCase()),l&&(l=Le(i.toUpperCase(),r))),Te=!n.createElement.innerHTMLHelper,l&&d(o,A[a]),o}),We.prototype={constructor:We,define:Y?function(e,t,n){if(n)Ue(e,t,n);else{var r=e.toUpperCase();ee[r]={constructor:t,create:[r]},ne.set(t,r),K.define(e,t)}}:Ue,get:Y?function(e){return K.get(e)||Ve(e)}:Ve,whenDefined:Y?function(e){return J.race([K.whenDefined(e),Ge(e)])}:Ge},!K||/^force/.test(t.type))Ke();else if(!t.noBuiltIn)try{!function(t,r,o){if(r.extends="a",(t.prototype=oe(HTMLAnchorElement.prototype)).constructor=t,e.customElements.define(o,t,r),he.call(n.createElement("a",{is:o}),"is")!==o||Y&&he.call(new t,"is")!==o)throw r}((function e(){return Reflect.construct(HTMLAnchorElement,[],e)}),{},"document-register-element-a")}catch(e){Ke()}if(!t.noBuiltIn)try{be.call(n,"a","a")}catch(e){re=function(e){return{is:e.toLowerCase()}}}}function Tx(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 Cx(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tx(Object(n),!0).forEach((function(t){Ts(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tx(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Rx(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=o_(e);if(t){var o=o_(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return r_(this,n)}}hx({target:"Array",proto:!0,forced:!xx},{splice:function(e,t){var n,r,o,i,a,l,c=mx(this),u=bx(c),s=yx(e,u),f=arguments.length;for(0===f?n=r=0:1===f?(n=0,r=u-s):(n=f-2,r=jx(Sx(gx(t),0),u-s)),wx(u+n-r),o=Ox(c,r),i=0;i<r;i++)(a=s+i)in c&&Ex(o,i,c[a]);if(o.length=r,n<r){for(i=s;i<u-r;i++)l=i+n,(a=i+r)in c?c[l]=c[a]:kx(c,l);for(i=u;i>u-r+n;i--)kx(c,i-1)}else if(n>r)for(i=u-r;i>s;i--)l=i+n-1,(a=i+r-1)in c?c[l]=c[a]:kx(c,l);for(i=0;i<n;i++)c[i+s]=arguments[i+2];return _x(c,u-r+n),o}});var Nx,Ax=void 0!==Kd&&!1,Lx=Ax,Dx="undefined"!=typeof window&&(window.registeredElements=window.registeredElements||[])||[],Mx=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]:{},o=r.attributesExcludelist,i=void 0===o?["id"]:o;if(e||(e=t.displayName||t.name),-1===Dx.indexOf(e)){if(Dx.push(e),"undefined"==typeof document||"undefined"==typeof window)return null;Lx||(Lx=!0,Px(window)),n&&(n=Hx(n));var a=function(e){t_(o,e);var r=Rx(o);function o(e){var t;return Yd(this,o),(t=r.call(this,e))._elementRef=l.default.createRef(),t._customMethods={},t._customEvents=[],t._isConnected=!1,t._props={},t}return Xd(o,[{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(){Ax||c.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=Fx(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(ib(e.event?e.event.split(","):[]),ib(Object.entries(e).map((function(e){var t=ep(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=ep(t.split("="),2),r=n[0],o=n[1];r=Bx[r]||r,e[r]=function(){try{var e=o.split("."),t=ep(e,2),n=t[0],i=t[1];i=i?window[n][i]:window[n];for(var a=arguments.length,c=new Array(a),u=0;u<a;u++)c[u]=arguments[u];var s=i.apply(n,[].concat(c));if(s instanceof HTMLElement){for(var f=[],d=s.childNodes,p=s.attributes,v={},h=d.length;h--;)f.push(Fx(d[h]));for(var m=p.length;m--;)v[zx[p[m].name]||p[m].name]=p[m].value;var y=s.nodeName.toLowerCase();return s.remove(),l.default.createElement(y,v,f)}return s}catch(e){new U_("The '".concat(r,"' event has failed. '").concat(o,"' has to exist on a 'window' scope!"),e)}}})),delete e.event),e}},{key:"setProps",value:function(e,t){return"string"==typeof e&&(e=Ts({},e,t)),this.renderElement(e)}},{key:"getRef",value:function(){return this._ref}},{key:"addEvent",value:function(e,t){var n,r=this,o=function(e){return t.apply(r,[e])};return null===(n=this._customEvents)||void 0===n||n.push({eventName:e,eventCallback:t,eventWrapper:o}),o}},{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),o=1;o<n;o++)r[o-1]=arguments[o];this._customEvents.forEach((function(n){var o=n.eventName,i=n.eventCallback;o===e&&"function"==typeof i&&i.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=Cx(Cx(Cx({},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 o=i.length;o--;)n[i[o]]&&this.removeAttribute(i[o]);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),c.default.render(this._ref,this),this}}],[{key:"observedAttributes",get:function(){return n||[]}}]),o}(l_(HTMLElement));return window.customElements.define(e,a)}},Ix=function(e){return e&&!/[A-Z]/.test(e)&&!/children/.test(e)},Hx=function(e){return Array.isArray(e)?e.filter(Ix):Object.entries(e||{}).reduce((function(e,t){var n=ep(t,1)[0];return e.push(n),e}),[]).filter(Ix)},Fx=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=[],o={},i=0,a=t.attributes,c=t.childNodes;for(i=a.length;i--;)o[a[i].name]=a[i].value;for(i=c.length;i--;)r[i]=e(c[i]);return o.key="key".concat(1e3*Math.random()),l.default.createElement(n||t.nodeName.toLowerCase(),o,r)},zx={class:"className",for:"htmlFor"},Bx={onclick:"onClick"};function Wx(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 Ux(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wx(Object(n),!0).forEach((function(t){Ts(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wx(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(){Yd(this,e)}return Xd(e,[{key:"version",get:function(){return"9.45.2"}}]),e}();window.Eufemia=new e}}(),xy.specificKeys([9]),Nx=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(Zy))?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(Xy))&&document.documentElement.setAttribute("data-os","linux")}catch(e){}document.removeEventListener("DOMContentLoaded",e)}},"undefined"!=typeof document&&"loading"===document.readyState?document.addEventListener("DOMContentLoaded",Nx):Nx();var Vx=function(e,t){if(e&&e.attributes){var n=e.attributes;n&&("{"===n[0]&&(n=JSON.parse(n)),n&&"object"===tp(n)&&Object.entries(n).forEach((function(e){var n=ep(e,2),r=n[0],o=n[1];f(t,Ts({},r,o))})),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"===tp(t))for(var o in t)"function"!=typeof t[o]||/(^[a-z]{1,}[A-Z]{1})/.test(o)?(null===t[o]||/[^a-z-]/i.test(o))&&delete t[o]:delete t[o];return t},$x=function(e){if(!e)return null;if(void 0!==kd&&Array.isArray(kd.registeredElements)&&kd.registeredElements.length>0){var t=null;if(Object.entries(e).reverse().map((function(n){var r=ep(n,2),o=r[0],i=r[1];return o.includes("render_")&&/^render_/.test(o)&&"function"==typeof i?(t&&(Object.isFrozen(e)&&(e=Ux({},e)),e.children=t),t=l.default.createElement(l.default.Fragment,{key:o},i(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},qx=function e(){for(var t={},n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];var i=r[0];return!0!==i&&!1!==i||(r.shift(),i&&(t=r.shift())),r.reduce((function(t,n){return n&&(t=f(t,Object.entries(n).reduce((function(n,r){var o=ep(r,2),i=o[0],a=o[1];return null!==a&&("object"===tp(a)?(a=e(t[i]||{},a),Object.keys(a).length>0&&(n[i]=a)):n[i]=a),n}),{}))),t}),t)},Gx=function(e){return null!=e&&("true"===String(e)||"1"===String(e))},Kx=function(e,t,n){var r=void 0,o=Ux(Ux({},n&&n.event||{}),n);if(o&&o.attributes&&o.event){var i=o.event.currentTarget;if(i)try{var a=Ux({},i.dataset||{}),l=Ux({},o.attributes);for(var c in l)/^data-/.test(c)&&(a[String(c).replace(/^data-/,"")]=l[c]);for(var u in a)o.event.currentTarget.dataset&&(o.event.currentTarget.dataset[u]=a[u]),o.event.target&&o.event.target.dataset&&(o.event.target.dataset[u]=a[u])}catch(e){}}var s=e&&e.props||e;if(s.custom_element&&"function"==typeof s.custom_element.fireEvent&&(r=s.custom_element.fireEvent(t,o)),t.includes("_")){if("function"==typeof s[t]){var f=s[t].apply(e,[o]);void 0!==f&&(r=f)}if("function"==typeof s[t=Yx(t)]){var d=s[t].apply(e,[o]);void 0!==d&&(r=d)}}else{if("function"==typeof s[t]){var p=s[t].apply(e,[o]);void 0!==p&&(r=p)}if("function"==typeof s[t=Zx(t)]){var v=s[t].apply(e,[o]);void 0!==v&&(r=v)}}return r},Yx=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()})))}),"")},Zx=function(e){return e.replace(/\B[A-Z]/g,(function(e){return"_".concat(e)})).toLowerCase()};!function(){function e(t,n){var r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Yd(this,e),Ts(this,"checkOutsideClick",(function(e){var t=e.event,n=e.ignoreElements,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;try{var o=t.target;if("HTML"===(null==o?void 0:o.tagName)&&(t.pageX>document.documentElement.clientWidth-40||t.pageY>document.documentElement.clientHeight-40))return;if(Xx(o))return;for(var i,a=0,l=n.length;a<l;++a)if(i=o,n[a])do{if(i===n[a])return;i=i&&i.parentNode}while(i);"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"===Ey(e)&&(window.removeEventListener("keydown",r.keydownCallback),"function"==typeof n&&n({event:e}))},window.addEventListener("keydown",this.keydownCallback),o.includedKeys&&(this.keyupCallback=function(e){var t=Ey(e);o.includedKeys.includes(t)&&"function"==typeof r.handleClickOutside&&r.handleClickOutside(e,(function(){r.keyupCallback&&window.removeEventListener("keyup",r.keyupCallback)}))},window.addEventListener("keyup",this.keyupCallback)))}Xd(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)}}])}();var Xx=function(e){return e&&(e.scrollHeight>e.offsetHeight||e.scrollWidth>e.offsetWidth)&&Jx(e)},Jx=function(e){var t="undefined"!=typeof window?window.getComputedStyle(e):{};return/scroll|auto/i.test((t.overflow||"")+(t.overflowX||"")+(t.overflowY||""))},Qx=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)+eS++).slice(-t)},eS=0,tS=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},nS=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 rS(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return iS("aria-labelledby",t)}function oS(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return iS("aria-describedby",t)}function iS(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 aS(e,t){Array.isArray(e)||(e=[e]);var n=null;return e.some((function(e){if(e&&e.props&&e.props.children){var r=aS(e.props.children,t);if(r)return n=r}return l.default.isValidElement(e)&&t(e)?n=e:null})),n}function lS(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 cS(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lS(Object(n),!0).forEach((function(t){Ts(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lS(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function uS(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.locales?qx(Ed,e.locales):Ed;e.__context__&&(f(e,e.__context__),delete e.__context__);var n=sS(e.locale||_d,t),r=t[n]||Ed[_d]||{};t[n]&&(t[n]=dS(t[n],r));var o=cS(cS({updateTranslation:function(e,t){o.translation=o.locales[e]=t},getTranslation:function(e){if(e){var t=e.lang||e.locale;if(t&&o.locales[t]&&t!==n)return o.locales[t]}return o.translation},locales:t,locale:null,breakpoints:null,skeleton:null},e),{},{translation:r});return o}function sS(e,t){return t[e]||"en"!==e&&"en"!==e.split("-")[0]?e:"en-GB"}var fS=l.default.createContext(uS({locale:_d,currency:"NOK",currency_display:"code"}));function dS(e,t){for(var n in e)if(String(n).includes(".")){var r=n.split(".");t[r[0]]&&function(){var t=e[n],o=r.length-1;r.forEach((function(n,r){e[n]=r===o?t:e[n],e=e[n]||{}}))}()}return e}var pS={exports:{}},vS={},hS="function"==typeof Symbol&&Symbol.for,mS=hS?Symbol.for("react.element"):60103,yS=hS?Symbol.for("react.portal"):60106,gS=hS?Symbol.for("react.fragment"):60107,bS=hS?Symbol.for("react.strict_mode"):60108,_S=hS?Symbol.for("react.profiler"):60114,wS=hS?Symbol.for("react.provider"):60109,OS=hS?Symbol.for("react.context"):60110,ES=hS?Symbol.for("react.async_mode"):60111,kS=hS?Symbol.for("react.concurrent_mode"):60111,xS=hS?Symbol.for("react.forward_ref"):60112,SS=hS?Symbol.for("react.suspense"):60113,jS=hS?Symbol.for("react.suspense_list"):60120,PS=hS?Symbol.for("react.memo"):60115,TS=hS?Symbol.for("react.lazy"):60116,CS=hS?Symbol.for("react.block"):60121,RS=hS?Symbol.for("react.fundamental"):60117,NS=hS?Symbol.for("react.responder"):60118,AS=hS?Symbol.for("react.scope"):60119;function LS(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case mS:switch(e=e.type){case ES:case kS:case gS:case _S:case bS:case SS:return e;default:switch(e=e&&e.$$typeof){case OS:case xS:case TS:case PS:case wS:return e;default:return t}}case yS:return t}}}function DS(e){return LS(e)===kS}vS.AsyncMode=ES,vS.ConcurrentMode=kS,vS.ContextConsumer=OS,vS.ContextProvider=wS,vS.Element=mS,vS.ForwardRef=xS,vS.Fragment=gS,vS.Lazy=TS,vS.Memo=PS,vS.Portal=yS,vS.Profiler=_S,vS.StrictMode=bS,vS.Suspense=SS,vS.isAsyncMode=function(e){return DS(e)||LS(e)===ES},vS.isConcurrentMode=DS,vS.isContextConsumer=function(e){return LS(e)===OS},vS.isContextProvider=function(e){return LS(e)===wS},vS.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===mS},vS.isForwardRef=function(e){return LS(e)===xS},vS.isFragment=function(e){return LS(e)===gS},vS.isLazy=function(e){return LS(e)===TS},vS.isMemo=function(e){return LS(e)===PS},vS.isPortal=function(e){return LS(e)===yS},vS.isProfiler=function(e){return LS(e)===_S},vS.isStrictMode=function(e){return LS(e)===bS},vS.isSuspense=function(e){return LS(e)===SS},vS.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===gS||e===kS||e===_S||e===bS||e===SS||e===jS||"object"==typeof e&&null!==e&&(e.$$typeof===TS||e.$$typeof===PS||e.$$typeof===wS||e.$$typeof===OS||e.$$typeof===xS||e.$$typeof===RS||e.$$typeof===NS||e.$$typeof===AS||e.$$typeof===CS)},vS.typeOf=LS;
|
|
17
|
+
!function(e,t){var n;n=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.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,o=Date.now(),i="false",a=["button","input","select","textarea"],l=[],c=[16,17,18,91,93],u=[],s={keydown:"keyboard",keyup:"keyboard",mousedown:"mouse",mousemove:"mouse",MSPointerDown:"pointer",MSPointerMove:"pointer",pointerdown:"pointer",pointermove:"pointer",touchstart:"touch",touchend:"touch"},f=!1,d={x:null,y:null},p={2:"touch",3:"touch",4:"mouse"},v=!1;try{var h=Object.defineProperty({},"passive",{get:function(){v=!0}});window.addEventListener("test",null,h)}catch(e){}var m=function(){var e=!!v&&{passive:!0};document.addEventListener("DOMContentLoaded",y),window.PointerEvent?(window.addEventListener("pointerdown",g),window.addEventListener("pointermove",_)):window.MSPointerEvent?(window.addEventListener("MSPointerDown",g),window.addEventListener("MSPointerMove",_)):(window.addEventListener("mousedown",g),window.addEventListener("mousemove",_),"ontouchstart"in window&&(window.addEventListener("touchstart",g,e),window.addEventListener("touchend",g))),window.addEventListener(S(),_,e),window.addEventListener("keydown",g),window.addEventListener("keyup",g),window.addEventListener("focusin",w),window.addEventListener("focusout",O)},y=function(){if(i=!(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){}b("input"),b("intent")},g=function(e){var t=e.which,o=s[e.type];"pointer"===o&&(o=k(e));var i=!u.length&&-1===c.indexOf(t),l=u.length&&-1!==u.indexOf(t),f="keyboard"===o&&t&&(i||l)||"mouse"===o||"touch"===o;if(x(o)&&(f=!1),f&&n!==o&&(E("input",n=o),b("input")),f&&r!==o){var d=document.activeElement;d&&d.nodeName&&(-1===a.indexOf(d.nodeName.toLowerCase())||"button"===d.nodeName.toLowerCase()&&!T(d,"form"))&&(E("intent",r=o),b("intent"))}},b=function(t){e.setAttribute("data-what"+t,"input"===t?n:r),j(t)},_=function(e){var t=s[e.type];"pointer"===t&&(t=k(e)),P(e),(!f&&!x(t)||f&&"wheel"===e.type||"mousewheel"===e.type||"DOMMouseScroll"===e.type)&&r!==t&&(E("intent",r=t),b("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(" ",","))):O()},O=function(){t=null,e.removeAttribute("data-whatelement"),e.removeAttribute("data-whatclasses")},E=function(e,t){if(i)try{window.sessionStorage.setItem("what-"+e,t)}catch(e){}},k=function(e){return"number"==typeof e.pointerType?p[e.pointerType]:"pen"===e.pointerType?"touch":e.pointerType},x=function(e){var t=Date.now(),r="mouse"===e&&"touch"===n&&t-o<200;return o=t,r},S=function(){return"onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll"},j=function(e){for(var t=0,o=l.length;t<o;t++)l[t].type===e&&l[t].fn.call(void 0,"input"===e?n:r)},P=function(e){d.x!==e.screenX||d.y!==e.screenY?(f=!1,d.x=e.screenX,d.y=e.screenY):f=!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&&(s[S()]="mouse",m()),{ask:function(e){return"intent"===e?r:n},element:function(){return t},ignoreKeys:function(e){c=e},specificKeys:function(e){u=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()}(ky);var xy=ky.exports;!function(e){var t=function(e){var t,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var o=t&&t.prototype instanceof m?t:m,i=Object.create(o.prototype),a=new P(r||[]);return i._invoke=function(e,t,n){var r=f;return function(o,i){if(r===p)throw new Error("Generator is already running");if(r===v){if("throw"===o)throw i;return C()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var l=x(a,n);if(l){if(l===h)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var c=s(e,t,n);if("normal"===c.type){if(r=n.done?v:d,c.arg===h)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=v,n.method="throw",n.arg=c.arg)}}}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var f="suspendedStart",d="suspendedYield",p="executing",v="completed",h={};function m(){}function y(){}function g(){}var b={};c(b,i,(function(){return this}));var _=Object.getPrototypeOf,w=_&&_(_(T([])));w&&w!==n&&r.call(w,i)&&(b=w);var O=g.prototype=m.prototype=Object.create(b);function E(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function n(o,i,a,l){var c=s(e[o],e,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,l)}),(function(e){n("throw",e,a,l)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return n("throw",e,a,l)}))}l(c.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function x(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,x(e,n),"throw"===n.method))return h;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var o=s(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,h;var i=o.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,h):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}function S(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 j(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function T(e){if(e){var n=e[i];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:C}}function C(){return{value:t,done:!0}}return y.prototype=g,c(O,"constructor",g),c(g,"constructor",y),y.displayName=c(g,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,c(e,l,"GeneratorFunction")),e.prototype=Object.create(O),e},e.awrap=function(e){return{__await:e}},E(k.prototype),c(k.prototype,a,(function(){return this})),e.AsyncIterator=k,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new k(u(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},E(O),c(O,l,"Generator"),c(O,i,(function(){return this})),c(O,"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,P.prototype={constructor:P,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(j),!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 o(r,o){return l.type="throw",l.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],l=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(a)},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),h},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),j(n),h}},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 o=r.arg;j(n)}return o}}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),h}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}({exports:{}});var Sy=TypeError,jy=function(e){if(e>9007199254740991)throw Sy("Maximum allowed index exceeded");return e},Py=fo,Ty=g,Cy=Hl,Ry=oe,Ny=Ze,Ay=Or,Ly=jy,Dy=rl,My=ic,Iy=ys,Hy=ye,Fy=ht("isConcatSpreadable"),zy=Hy>=51||!Ty((function(){var e=[];return e[Fy]=!1,e.concat()[0]!==e})),By=Iy("concat"),Wy=function(e){if(!Ry(e))return!1;var t=e[Fy];return void 0!==t?!!t:Cy(e)};Py({target:"Array",proto:!0,arity:1,forced:!zy||!By},{concat:function(e){var t,n,r,o,i,a=Ny(this),l=My(a,0),c=0;for(t=-1,r=arguments.length;t<r;t++)if(Wy(i=-1===t?a:arguments[t]))for(o=Ay(i),Ly(c+o),n=0;n<o;n++,c++)n in i&&Dy(l,c,i[n]);else Ly(c+1),Dy(l,c++,i);return l.length=c,l}});var Uy,Vy,$y,qy,Gy,Ky,Yy,Zy="Mac|iPad|iPhone|iPod",Xy="Linux",Jy=!1,Qy=!1,eg=!1,tg=!1,ng=function(){var e;return"undefined"!=typeof navigator&&new RegExp("Android","i").test(null===(e=navigator)||void 0===e?void 0:e.userAgent)};function rg(e){var t=0;if(e)do{isNaN(e.offsetTop)||(t+=e.offsetTop)}while(e=e.offsetParent);return t}function og(e){var t=0;if(e)do{isNaN(e.offsetLeft)||(t+=e.offsetLeft)}while(e=e.offsetParent);return t}function ig(){return function(){try{return window.getSelection().toString()}catch(e){}return""}().length>0}Jy="undefined"!=typeof window&&"undefined"!=typeof document&&!!window.MSInputMethodContext&&!!document.documentMode,"undefined"!=typeof navigator&&/edge/i.test(null===(Uy=navigator)||void 0===Uy?void 0:Uy.userAgent),Qy="undefined"!=typeof navigator&&new RegExp("iOS|iPhone|iPad|iPod","i").test(null===(Vy=navigator)||void 0===Vy?void 0:Vy.platform),eg="undefined"!=typeof navigator&&/safari/i.test(null===($y=navigator)||void 0===$y?void 0:$y.userAgent)&&!/chrome/i.test(null===(qy=navigator)||void 0===qy?void 0:qy.userAgent),"undefined"!=typeof navigator&&new RegExp("Win","i").test(null===(Gy=navigator)||void 0===Gy?void 0:Gy.platform),ng(),tg="undefined"!=typeof navigator&&new RegExp(Zy,"i").test(null===(Ky=navigator)||void 0===Ky?void 0:Ky.platform),"undefined"!=typeof navigator&&new RegExp(Xy,"i").test(null===(Yy=navigator)||void 0===Yy?void 0:Yy.platform);var ag=function(e,t){try{var n=/[A-Z]/.test(e)?e:null,r=n?null:e.replace(/^\./,""),o=function(e){return e?n?(null==e?void 0:e.tagName)===n:null==e?void 0:e.classList.contains(r):null};if(o(t))return t;for(;(t=null===(i=t)||void 0===i?void 0:i.parentElement)&&!o(t);)var i}catch(e){}return t};var lg=b,cg=hn.EXISTS,ug=D,sg=Wt.f,fg=Function.prototype,dg=ug(fg.toString),pg=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,vg=ug(pg.exec);lg&&!cg&&sg(fg,"name",{configurable:!0,get:function(){try{return vg(pg,dg(this))[1]}catch(e){return""}}});var hg=fo,mg=b,yg=m,gg=D,bg=Qe,_g=te,wg=ue,Og=ko,Eg=Wt.f,kg=Kr,xg=yg.Symbol,Sg=xg&&xg.prototype;if(mg&&_g(xg)&&(!("description"in Sg)||void 0!==xg().description)){var jg={},Pg=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:Og(arguments[0]),t=wg(Sg,this)?new xg(e):void 0===e?xg():xg(e);return""===e&&(jg[t]=!0),t};kg(Pg,xg),Pg.prototype=Sg,Sg.constructor=Pg;var Tg="Symbol(test)"==String(xg("test")),Cg=gg(Sg.valueOf),Rg=gg(Sg.toString),Ng=/^Symbol\((.*)\)[^)]+$/,Ag=gg("".replace),Lg=gg("".slice);Eg(Sg,"description",{configurable:!0,get:function(){var e=Cg(this);if(bg(jg,e))return"";var t=Rg(e),n=Tg?Lg(t,7,-1):Ag(t,Ng,"$1");return""===n?void 0:n}}),hg({global:!0,constructor:!0,forced:!0},{Symbol:Pg})}wl("iterator");var Dg=X,Mg=Uf,Ig=uh,Hg=Vn,Fg=Wt.f,zg=ey,Bg=yh,Wg=b,Ug="Array Iterator",Vg=Hg.set,$g=Hg.getterFor(Ug),qg=zg(Array,"Array",(function(e,t){Vg(this,{type:Ug,target:Dg(e),index:0,kind:t})}),(function(){var e=$g(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,Bg(void 0,!0)):Bg("keys"==n?r:"values"==n?t[r]:[r,t[r]],!1)}),"values"),Gg=Ig.Arguments=Ig.Array;if(Mg("keys"),Mg("values"),Mg("entries"),Wg&&"values"!==Gg.name)try{Fg(Gg,"name",{value:"values"})}catch(e){}var Kg=m,Yg=id,Zg=cd,Xg=qg,Jg=cn,Qg=ht,eb=Qg("iterator"),tb=Qg("toStringTag"),nb=Xg.values,rb=function(e,t){if(e){if(e[eb]!==nb)try{Jg(e,eb,nb)}catch(t){e[eb]=nb}if(e[tb]||Jg(e,tb,t),Yg[t])for(var n in Xg)if(e[n]!==Xg[n])try{Jg(e,n,Xg[n])}catch(t){e[n]=Xg[n]}}};for(var ob in Yg)rb(Kg[ob]&&Kg[ob].prototype,ob);function ib(e){return function(e){if(Array.isArray(e))return Jd(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Qd(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.")}()}rb(Zg,"DOMTokenList");var ab,lb=fo,cb=Nl,ub=y.f,sb=_r,fb=ko,db=Kf,pb=K,vb=Zf,hb=cb("".endsWith),mb=cb("".slice),yb=Math.min,gb=vb("endsWith");function bb(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 _b(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 _b(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 i,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw i}}}}function _b(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}lb({target:"String",proto:!0,forced:!!(gb||(ab=ub(String.prototype,"endsWith"),!ab||ab.writable))&&!gb},{endsWith:function(e){var t=fb(pb(this));db(e);var n=arguments.length>1?arguments[1]:void 0,r=t.length,o=void 0===n?r:yb(sb(n),r),i=fb(e);return hb?hb(t,i,o):mb(t,o-i.length,o)===i}});var wb=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return Yd(this,e),Ts(this,"bypassElement",void 0),Ts(this,"bypassSelectors",void 0),Ts(this,"_nodesToInvalidate",void 0),Ts(this,"options",void 0),this.bypassElement=null,this.bypassSelectors=[],this.options=t||{},this}return Xd(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=bb(this._nodesToInvalidate);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(r){if(!1!==this.options.tabIndex){var o=r.getAttribute("tabindex");null!==o&&void 0===r.__tabindex&&(r.__tabindex=o),r.setAttribute("tabindex","-1")}if(!1!==this.options.ariaHidden){var i=r.getAttribute("aria-hidden");null!==i&&void 0===r.__ariahidden&&(r.__ariahidden=i),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=bb(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(Jy){var o=[],i=r.split(":").map((function(t){return t.endsWith(" *)")&&(o.push.apply(o,ib(Array.from((e||document.documentElement).querySelectorAll(t.match(/\(([^)]*)\)/)[1])))),t=t.replace(" *","")),t})).join(":");return Array.from((e||document.documentElement).querySelectorAll(i)).filter((function(e){return!o.includes(e)}))}return Array.from((e||document.documentElement).querySelectorAll(r))}}]),e}();function Ob(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 Eb(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ob(Object(n),!0).forEach((function(t){Ts(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ob(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function kb(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=Eb(Eb({},t),e);for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return Eb(Eb({},e),jb(e,t,r))}function xb(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return Eb(Eb({},e),jb(e,t,r,{checkPropKey:!0}))}function Sb(e){return e.reduce((function(e,t){return t&&(e=Eb(Eb({},e),t)),e}),{})}function jb(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=r.checkPropKey,i=void 0!==o&&o,a=Sb(n);return Object.entries(a).reduce((function(n,r){var o=ep(r,2),a=o[0],l=o[1];return i&&!Object.prototype.hasOwnProperty.call(e,a)||e[a]!==(null==t?void 0:t[a])||(n[a]=l),n}),{})}var Pb=D,Tb=Ne,Cb=oe,Rb=Qe,Nb=zu,Ab=_,Lb=Function,Db=Pb([].concat),Mb=Pb([].join),Ib={},Hb=function(e,t,n){if(!Rb(Ib,t)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";Ib[t]=Lb("C,a","return new C("+Mb(r,",")+")")}return Ib[t](e,n)},Fb=Ab?Lb.bind:function(e){var t=Tb(this),n=t.prototype,r=Nb(arguments,1),o=function(){var n=Db(r,Nb(arguments));return this instanceof o?Hb(t,n.length,n):t.apply(e,n)};return Cb(n)&&(o.prototype=n),o},zb=fo,Bb=Fu,Wb=Fb,Ub=Ws,Vb=Gt,$b=oe,qb=ti,Gb=g,Kb=ce("Reflect","construct"),Yb=Object.prototype,Zb=[].push,Xb=Gb((function(){function e(){}return!(Kb((function(){}),[],e)instanceof e)})),Jb=!Gb((function(){Kb((function(){}))})),Qb=Xb||Jb;function e_(e,t){return e_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e_(e,t)}function t_(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&&e_(e,t)}function n_(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r_(e,t){if(t&&("object"===tp(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return n_(e)}function o_(e){return o_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},o_(e)}function i_(){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 a_(e,t,n){return a_=i_()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&e_(o,n.prototype),o},a_.apply(null,arguments)}function l_(e){var t="function"==typeof Map?new Map:void 0;return l_=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 a_(e,arguments,o_(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),e_(r,e)},l_(e)}zb({target:"Reflect",stat:!0,forced:Qb,sham:Qb},{construct:function(e,t){Ub(e),Vb(t);var n=arguments.length<3?e:Ub(arguments[2]);if(Jb&&!Xb)return Kb(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 Bb(Zb,r,t),new(Bb(Wb,e,r))}var o=n.prototype,i=qb($b(o)?o:Yb),a=Bb(e,i,t);return $b(a)?a:i}});var c_=fo,u_=jr.indexOf,s_=sd,f_=Nl([].indexOf),d_=!!f_&&1/f_([1],1,-0)<0,p_=s_("indexOf");c_({target:"Array",proto:!0,forced:d_||!p_},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return d_?f_(this,e,t)||0:u_(this,e,t)}});var v_=D(1..valueOf),h_=b,m_=m,y_=D,g_=ro,b_=lr,__=Qe,w_=Fi,O_=ue,E_=Se,k_=Et,x_=g,S_=cr.f,j_=y.f,P_=Wt.f,T_=v_,C_=yy.trim,R_="Number",N_=m_.Number,A_=N_.prototype,L_=m_.TypeError,D_=y_("".slice),M_=y_("".charCodeAt),I_=function(e){var t=k_(e,"number");return"bigint"==typeof t?t:H_(t)},H_=function(e){var t,n,r,o,i,a,l,c,u=k_(e,"number");if(E_(u))throw L_("Cannot convert a Symbol value to a number");if("string"==typeof u&&u.length>2)if(u=C_(u),43===(t=M_(u,0))||45===t){if(88===(n=M_(u,2))||120===n)return NaN}else if(48===t){switch(M_(u,1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+u}for(a=(i=D_(u,2)).length,l=0;l<a;l++)if((c=M_(i,l))<48||c>o)return NaN;return parseInt(i,r)}return+u};if(g_(R_,!N_(" 0o1")||!N_("0b1")||N_("+0x1"))){for(var F_,z_=function(e){var t=arguments.length<1?0:N_(I_(e)),n=this;return O_(A_,n)&&x_((function(){T_(n)}))?w_(Object(t),n,z_):t},B_=h_?S_(N_):"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(","),W_=0;B_.length>W_;W_++)__(N_,F_=B_[W_])&&!__(z_,F_)&&P_(z_,F_,j_(N_,F_));z_.prototype=A_,A_.constructor=z_,b_(m_,R_,z_,{constructor:!0})}function U_(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"===tp(e)&&(n=e.message),this.err=new Error("".concat(e,"\n\n").concat(n)),500===r)throw this.err;console.log(this.err)}var V_={exports:{}},$_=g,q_=oe,G_=F,K_=kp,Y_=Object.isExtensible,Z_=$_((function(){Y_(1)}))||K_?function(e){return!!q_(e)&&((!K_||"ArrayBuffer"!=G_(e))&&(!Y_||Y_(e)))}:Y_,X_=!g((function(){return Object.isExtensible(Object.preventExtensions({}))})),J_=fo,Q_=D,ew=Cn,tw=oe,nw=Qe,rw=Wt.f,ow=cr,iw=Qa,aw=Z_,lw=X_,cw=!1,uw=ot("meta"),sw=0,fw=function(e){rw(e,uw,{value:{objectID:"O"+sw++,weakData:{}}})},dw=V_.exports={enable:function(){dw.enable=function(){},cw=!0;var e=ow.f,t=Q_([].splice),n={};n[uw]=1,e(n).length&&(ow.f=function(n){for(var r=e(n),o=0,i=r.length;o<i;o++)if(r[o]===uw){t(r,o,1);break}return r},J_({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:iw.f}))},fastKey:function(e,t){if(!tw(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!nw(e,uw)){if(!aw(e))return"F";if(!t)return"E";fw(e)}return e[uw].objectID},getWeakData:function(e,t){if(!nw(e,uw)){if(!aw(e))return!0;if(!t)return!1;fw(e)}return e[uw].weakData},onFreeze:function(e){return lw&&cw&&aw(e)&&!nw(e,uw)&&fw(e),e}};ew[uw]=!0;var pw=Ml,vw=E,hw=Gt,mw=Pe,yw=om,gw=Or,bw=ue,_w=ym,ww=sm,Ow=Jh,Ew=TypeError,kw=function(e,t){this.stopped=e,this.result=t},xw=kw.prototype,Sw=function(e,t,n){var r,o,i,a,l,c,u,s=n&&n.that,f=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_RECORD),p=!(!n||!n.IS_ITERATOR),v=!(!n||!n.INTERRUPTED),h=pw(t,s),m=function(e){return r&&Ow(r,"normal",e),new kw(!0,e)},y=function(e){return f?(hw(e),v?h(e[0],e[1],m):h(e[0],e[1])):v?h(e,m):h(e)};if(d)r=e.iterator;else if(p)r=e;else{if(!(o=ww(e)))throw Ew(mw(e)+" is not iterable");if(yw(o)){for(i=0,a=gw(e);a>i;i++)if((l=y(e[i]))&&bw(xw,l))return l;return new kw(!1)}r=_w(e,o)}for(c=d?e.next:r.next;!(u=vw(c,r)).done;){try{l=y(u.value)}catch(e){Ow(r,"throw",e)}if("object"==typeof l&&l&&bw(xw,l))return l}return new kw(!1)},jw=ue,Pw=TypeError,Tw=function(e,t){if(jw(t,e))return e;throw Pw("Incorrect invocation")},Cw=fo,Rw=m,Nw=D,Aw=ro,Lw=lr,Dw=V_.exports,Mw=Sw,Iw=Tw,Hw=te,Fw=$,zw=oe,Bw=g,Ww=Am,Uw=Tl,Vw=Fi,$w=lr,qw=Wt.f,Gw=ti,Kw=function(e,t,n){for(var r in t)$w(e,r,t[r],n);return e},Yw=Ml,Zw=Tw,Xw=$,Jw=Sw,Qw=ey,eO=yh,tO=ta,nO=b,rO=V_.exports.fastKey,oO=Vn.set,iO=Vn.getterFor,aO={getConstructor:function(e,t,n,r){var o=e((function(e,o){Zw(e,i),oO(e,{type:t,index:Gw(null),first:void 0,last:void 0,size:0}),nO||(e.size=0),Xw(o)||Jw(o,e[r],{that:e,AS_ENTRIES:n})})),i=o.prototype,a=iO(t),l=function(e,t,n){var r,o,i=a(e),l=c(e,t);return l?l.value=n:(i.last=l={index:o=rO(t,!0),key:t,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=l),r&&(r.next=l),nO?i.size++:e.size++,"F"!==o&&(i.index[o]=l)),e},c=function(e,t){var n,r=a(e),o=rO(t);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==t)return n};return Kw(i,{clear:function(){for(var e=a(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,nO?e.size=0:this.size=0},delete:function(e){var t=this,n=a(t),r=c(t,e);if(r){var o=r.next,i=r.previous;delete n.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),n.first==r&&(n.first=o),n.last==r&&(n.last=i),nO?n.size--:t.size--}return!!r},forEach:function(e){for(var t,n=a(this),r=Yw(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!!c(this,e)}}),Kw(i,n?{get:function(e){var t=c(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)}}),nO&&qw(i,"size",{get:function(){return a(this).size}}),o},setStrong:function(e,t,n){var r=t+" Iterator",o=iO(t),i=iO(r);Qw(e,t,(function(e,t){oO(this,{type:r,target:e,state:o(e),kind:t,last:void 0})}),(function(){for(var e=i(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)?eO("keys"==t?n.key:"values"==t?n.value:[n.key,n.value],!1):(e.target=void 0,eO(void 0,!0))}),n?"entries":"values",!n,!0),tO(t)}},lO=function(e,t,n){var r=-1!==e.indexOf("Map"),o=-1!==e.indexOf("Weak"),i=r?"set":"add",a=Rw[e],l=a&&a.prototype,c=a,u={},s=function(e){var t=Nw(l[e]);Lw(l,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(o&&!zw(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return o&&!zw(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(o&&!zw(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(Aw(e,!Hw(a)||!(o||l.forEach&&!Bw((function(){(new a).entries().next()})))))c=n.getConstructor(t,e,r,i),Dw.enable();else if(Aw(e,!0)){var f=new c,d=f[i](o?{}:-0,1)!=f,p=Bw((function(){f.has(1)})),v=Ww((function(e){new a(e)})),h=!o&&Bw((function(){for(var e=new a,t=5;t--;)e[i](t,t);return!e.has(-0)}));v||((c=t((function(e,t){Iw(e,l);var n=Vw(new a,e,c);return Fw(t)||Mw(t,n[i],{that:n,AS_ENTRIES:r}),n}))).prototype=l,l.constructor=c),(p||h)&&(s("delete"),s("has"),r&&s("get")),(h||d)&&s(i),o&&l.clear&&delete l.clear}return u[e]=c,Cw({global:!0,constructor:!0,forced:c!=a},u),Uw(c,e),o||n.setStrong(c,e,r),c};lO("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),aO);var cO,uO,sO,fO,dO=TypeError,pO=/(?:ipad|iphone|ipod).*applewebkit/i.test(se),vO=m,hO=Fu,mO=Ml,yO=te,gO=Qe,bO=g,_O=Uo,wO=zu,OO=Ct,EO=function(e,t){if(e<t)throw dO("Not enough arguments");return e},kO=pO,xO=Hp,SO=vO.setImmediate,jO=vO.clearImmediate,PO=vO.process,TO=vO.Dispatch,CO=vO.Function,RO=vO.MessageChannel,NO=vO.String,AO=0,LO={},DO="onreadystatechange";try{cO=vO.location}catch(e){}var MO=function(e){if(gO(LO,e)){var t=LO[e];delete LO[e],t()}},IO=function(e){return function(){MO(e)}},HO=function(e){MO(e.data)},FO=function(e){vO.postMessage(NO(e),cO.protocol+"//"+cO.host)};SO&&jO||(SO=function(e){EO(arguments.length,1);var t=yO(e)?e:CO(e),n=wO(arguments,1);return LO[++AO]=function(){hO(t,void 0,n)},uO(AO),AO},jO=function(e){delete LO[e]},xO?uO=function(e){PO.nextTick(IO(e))}:TO&&TO.now?uO=function(e){TO.now(IO(e))}:RO&&!kO?(fO=(sO=new RO).port2,sO.port1.onmessage=HO,uO=mO(fO.postMessage,fO)):vO.addEventListener&&yO(vO.postMessage)&&!vO.importScripts&&cO&&"file:"!==cO.protocol&&!bO(FO)?(uO=FO,vO.addEventListener("message",HO,!1)):uO=DO in OO("script")?function(e){_O.appendChild(OO("script")).onreadystatechange=function(){_O.removeChild(this),MO(e)}}:function(e){setTimeout(IO(e),0)});var zO,BO,WO,UO,VO,$O,qO,GO,KO={set:SO,clear:jO},YO=m,ZO=/ipad|iphone|ipod/i.test(se)&&void 0!==YO.Pebble,XO=/web0s(?!.*chrome)/i.test(se),JO=m,QO=Ml,eE=y.f,tE=KO.set,nE=pO,rE=ZO,oE=XO,iE=Hp,aE=JO.MutationObserver||JO.WebKitMutationObserver,lE=JO.document,cE=JO.process,uE=JO.Promise,sE=eE(JO,"queueMicrotask"),fE=sE&&sE.value;fE||(zO=function(){var e,t;for(iE&&(e=cE.domain)&&e.exit();BO;){t=BO.fn,BO=BO.next;try{t()}catch(e){throw BO?UO():WO=void 0,e}}WO=void 0,e&&e.enter()},nE||iE||oE||!aE||!lE?!rE&&uE&&uE.resolve?((qO=uE.resolve(void 0)).constructor=uE,GO=QO(qO.then,qO),UO=function(){GO(zO)}):iE?UO=function(){cE.nextTick(zO)}:(tE=QO(tE,JO),UO=function(){tE(zO)}):(VO=!0,$O=lE.createTextNode(""),new aE(zO).observe($O,{characterData:!0}),UO=function(){$O.data=VO=!VO}));var dE=fE||function(e){var t={fn:e,next:void 0};WO&&(WO.next=t),BO||(BO=t,UO()),WO=t},pE=m,vE=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},hE=function(){this.head=null,this.tail=null};hE.prototype={add:function(e){var t={item:e,next:null};this.head?this.tail.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return this.head=e.next,this.tail===e&&(this.tail=null),e.item}};var mE=hE,yE=m.Promise,gE="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,bE=!gE&&!Hp&&"object"==typeof window&&"object"==typeof document,_E=m,wE=yE,OE=te,EE=ro,kE=On,xE=ht,SE=bE,jE=gE,PE=ye;wE&&wE.prototype;var TE=xE("species"),CE=!1,RE=OE(_E.PromiseRejectionEvent),NE=EE("Promise",(function(){var e=kE(wE),t=e!==String(wE);if(!t&&66===PE)return!0;if(!PE||PE<51||!/native code/.test(e)){var n=new wE((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};if((n.constructor={})[TE]=r,!(CE=n.then((function(){}))instanceof r))return!0}return!t&&(SE||jE)&&!RE})),AE={CONSTRUCTOR:NE,REJECTION_EVENT:RE,SUBCLASSING:CE},LE={},DE=Ne,ME=TypeError,IE=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw ME("Bad Promise constructor");t=e,n=r})),this.resolve=DE(t),this.reject=DE(n)};LE.f=function(e){return new IE(e)};var HE,FE,zE,BE=fo,WE=Hp,UE=m,VE=E,$E=lr,qE=Di,GE=Tl,KE=ta,YE=Ne,ZE=te,XE=oe,JE=Tw,QE=Gs,ek=KO.set,tk=dE,nk=function(e,t){var n=pE.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))},rk=vE,ok=mE,ik=Vn,ak=yE,lk=LE,ck="Promise",uk=AE.CONSTRUCTOR,sk=AE.REJECTION_EVENT,fk=AE.SUBCLASSING,dk=ik.getterFor(ck),pk=ik.set,vk=ak&&ak.prototype,hk=ak,mk=vk,yk=UE.TypeError,gk=UE.document,bk=UE.process,_k=lk.f,wk=_k,Ok=!!(gk&&gk.createEvent&&UE.dispatchEvent),Ek="unhandledrejection",kk=function(e){var t;return!(!XE(e)||!ZE(t=e.then))&&t},xk=function(e,t){var n,r,o,i=t.value,a=1==t.state,l=a?e.ok:e.fail,c=e.resolve,u=e.reject,s=e.domain;try{l?(a||(2===t.rejection&&Ck(t),t.rejection=1),!0===l?n=i:(s&&s.enter(),n=l(i),s&&(s.exit(),o=!0)),n===e.promise?u(yk("Promise-chain cycle")):(r=kk(n))?VE(r,n,c,u):c(n)):u(i)}catch(e){s&&!o&&s.exit(),u(e)}},Sk=function(e,t){e.notified||(e.notified=!0,tk((function(){for(var n,r=e.reactions;n=r.get();)xk(n,e);e.notified=!1,t&&!e.rejection&&Pk(e)})))},jk=function(e,t,n){var r,o;Ok?((r=gk.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),UE.dispatchEvent(r)):r={promise:t,reason:n},!sk&&(o=UE["on"+e])?o(r):e===Ek&&nk("Unhandled promise rejection",n)},Pk=function(e){VE(ek,UE,(function(){var t,n=e.facade,r=e.value;if(Tk(e)&&(t=rk((function(){WE?bk.emit("unhandledRejection",r,n):jk(Ek,n,r)})),e.rejection=WE||Tk(e)?2:1,t.error))throw t.value}))},Tk=function(e){return 1!==e.rejection&&!e.parent},Ck=function(e){VE(ek,UE,(function(){var t=e.facade;WE?bk.emit("rejectionHandled",t):jk("rejectionhandled",t,e.value)}))},Rk=function(e,t,n){return function(r){e(t,r,n)}},Nk=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,Sk(e,!0))},Ak=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw yk("Promise can't be resolved itself");var r=kk(t);r?tk((function(){var n={done:!1};try{VE(r,t,Rk(Ak,n,e),Rk(Nk,n,e))}catch(t){Nk(n,t,e)}})):(e.value=t,e.state=1,Sk(e,!1))}catch(t){Nk({done:!1},t,e)}}};if(uk&&(mk=(hk=function(e){JE(this,mk),YE(e),VE(HE,this);var t=dk(this);try{e(Rk(Ak,t),Rk(Nk,t))}catch(e){Nk(t,e)}}).prototype,(HE=function(e){pk(this,{type:ck,done:!1,notified:!1,parent:!1,reactions:new ok,rejection:!1,state:0,value:void 0})}).prototype=$E(mk,"then",(function(e,t){var n=dk(this),r=_k(QE(this,hk));return n.parent=!0,r.ok=!ZE(e)||e,r.fail=ZE(t)&&t,r.domain=WE?bk.domain:void 0,0==n.state?n.reactions.add(r):tk((function(){xk(r,n)})),r.promise})),FE=function(){var e=new HE,t=dk(e);this.promise=e,this.resolve=Rk(Ak,t),this.reject=Rk(Nk,t)},lk.f=_k=function(e){return e===hk||undefined===e?new FE(e):wk(e)},ZE(ak)&&vk!==Object.prototype)){zE=vk.then,fk||$E(vk,"then",(function(e,t){var n=this;return new hk((function(e,t){VE(zE,n,e,t)})).then(e,t)}),{unsafe:!0});try{delete vk.constructor}catch(e){}qE&&qE(vk,mk)}BE({global:!0,constructor:!0,wrap:!0,forced:uk},{Promise:hk}),GE(hk,ck,!1),KE(ck);var Lk=yE,Dk=AE.CONSTRUCTOR||!Am((function(e){Lk.all(e).then(void 0,(function(){}))})),Mk=E,Ik=Ne,Hk=LE,Fk=vE,zk=Sw;fo({target:"Promise",stat:!0,forced:Dk},{all:function(e){var t=this,n=Hk.f(t),r=n.resolve,o=n.reject,i=Fk((function(){var n=Ik(t.resolve),i=[],a=0,l=1;zk(e,(function(e){var c=a++,u=!1;l++,Mk(n,t,e).then((function(e){u||(u=!0,i[c]=e,--l||r(i))}),o)})),--l||r(i)}));return i.error&&o(i.value),n.promise}});var Bk=fo,Wk=AE.CONSTRUCTOR,Uk=yE,Vk=ce,$k=te,qk=lr,Gk=Uk&&Uk.prototype;if(Bk({target:"Promise",proto:!0,forced:Wk,real:!0},{catch:function(e){return this.then(void 0,e)}}),$k(Uk)){var Kk=Vk("Promise").prototype.catch;Gk.catch!==Kk&&qk(Gk,"catch",Kk,{unsafe:!0})}var Yk=E,Zk=Ne,Xk=LE,Jk=vE,Qk=Sw;fo({target:"Promise",stat:!0,forced:Dk},{race:function(e){var t=this,n=Xk.f(t),r=n.reject,o=Jk((function(){var o=Zk(t.resolve);Qk(e,(function(e){Yk(o,t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}});var ex=E,tx=LE;fo({target:"Promise",stat:!0,forced:AE.CONSTRUCTOR},{reject:function(e){var t=tx.f(this);return ex(t.reject,void 0,e),t.promise}});var nx=Gt,rx=oe,ox=LE,ix=fo,ax=AE.CONSTRUCTOR,lx=function(e,t){if(nx(e),rx(t)&&t.constructor===e)return t;var n=ox.f(e);return(0,n.resolve)(t),n.promise};ce("Promise"),ix({target:"Promise",stat:!0,forced:ax},{resolve:function(e){return lx(this,e)}});var cx=b,ux=Hl,sx=TypeError,fx=Object.getOwnPropertyDescriptor,dx=cx&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}(),px=Pe,vx=TypeError,hx=fo,mx=Ze,yx=yr,gx=pr,bx=Or,_x=dx?function(e,t){if(ux(e)&&!fx(e,"length").writable)throw sx("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t},wx=jy,Ox=ic,Ex=rl,kx=function(e,t){if(!delete e[t])throw vx("Cannot delete property "+px(t)+" of "+px(e))},xx=ys("splice"),Sx=Math.max,jx=Math.min;function Px(e,t){var n=e.document,r=e.Object,o=function(e){var t,n,o,i,a=/^[A-Z]+[a-z]/,l=function(e,t){(t=t.toLowerCase())in c||(c[e]=(c[e]||[]).concat(t),c[t]=c[t.toUpperCase()]=e)},c=(r.create||r)(null),u={};for(n in e)for(i in e[n])for(o=e[n][i],c[i]=o,t=0;t<o.length;t++)c[o[t].toLowerCase()]=c[o[t].toUpperCase()]=i;return u.get=function(e){return"string"==typeof e?c[e]||(a.test(e)?[]:""):function(e){var t,n=[];for(t in c)e.test(t)&&n.push(t);return n}(e)},u.set=function(e,t){return a.test(e)?l(e,t):l(t,e),u},u}({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"!==tp(t)&&(t={type:t||"auto"});var i,a,l,c,u,s,f,d,p,v="registerElement",h="__registerElement"+(1e5*e.Math.random()>>0),m="addEventListener",y="attached",g="Callback",b="detached",_="extends",w="attributeChangedCallback",O="createdCallback",E="ADDITION",k="MODIFICATION",x="REMOVAL",S="DOMAttrModified",j="DOMContentLoaded",P="<",T="=",C=/^[A-Z][A-Z0-9]*(?:-[A-Z0-9]+)+$/,R=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],N=[],A=[],L="",D=n.documentElement,M=N.indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},I=r.prototype,H=I.hasOwnProperty,F=I.isPrototypeOf,z=r.defineProperty,B=[],W=r.getOwnPropertyDescriptor,U=r.getOwnPropertyNames,V=r.getPrototypeOf,$=r.setPrototypeOf,q=!!r.__proto__,G="__dreCEv1",K=e.customElements,Y=!/^force/.test(t.type)&&!!(K&&K.define&&K.get&&K.whenDefined),Z=r.create||r,X=e.Map||function(){var e,t=[],n=[];return{get:function(e){return n[M.call(t,e)]},set:function(r,o){(e=M.call(t,r))<0?n[t.push(r)-1]=o:n[e]=o}}},J=e.Promise||function(e){var t=[],n=!1,r={catch:function(){return r},then:function(e){return t.push(e),n&&setTimeout(o,1),r}};function o(e){for(n=!0;t.length;)t.shift()(e)}return e(o),r},Q=!1,ee=Z(null),te=Z(null),ne=new X,re=function(e){return e.toLowerCase()},oe=r.create||function e(t){return t?(e.prototype=t,new e):this},ie=$||(q?function(e,t){return e.__proto__=t,e}:U&&W?function(){function e(e,t){for(var n,r=U(t),o=0,i=r.length;o<i;o++)n=r[o],H.call(e,n)||z(e,n,W(t,n))}return function(t,n){do{e(t,n)}while((n=V(n))&&!F.call(n,t));return t}}():function(e,t){for(var n in t)e[n]=t[n];return e}),ae=e.MutationObserver||e.WebKitMutationObserver,le=(e.HTMLElement||e.Element||e.Node).prototype,ce=!F.call(le,D),ue=ce?function(e,t,n){return e[t]=n.value,e}:z,se=ce?function(e){return 1===e.nodeType}:function(e){return F.call(le,e)},fe=ce&&[],de=le.attachShadow,pe=le.cloneNode,ve=le.dispatchEvent,he=le.getAttribute,me=le.hasAttribute,ye=le.removeAttribute,ge=le.setAttribute,be=n.createElement,_e=be,we=ae&&{attributes:!0,characterData:!0,attributeOldValue:!0},Oe=ae||function(e){je=!1,D.removeEventListener(S,Oe)},Ee=0,ke=v in n&&!/^force-all/.test(t.type),xe=!0,Se=!1,je=!0,Pe=!0,Te=!0;function Ce(){var e=i.splice(0,i.length);for(Ee=0;e.length;)e.shift().call(null,e.shift())}function Re(e,t){for(var n=0,r=e.length;n<r;n++)Be(e[n],t)}function Ne(e){return function(t){se(t)&&(Be(t,e),L.length&&Re(t.querySelectorAll(L),e))}}function Ae(e){var t=he.call(e,"is"),n=e.nodeName.toUpperCase(),r=M.call(N,t?T+t.toUpperCase():P+n);return t&&-1<r&&!Le(n,t)?-1:r}function Le(e,t){return-1<L.indexOf(e+'[is="'+t+'"]')}function De(e){var t=e.currentTarget,n=e.attrChange,r=e.attrName,o=e.target,i=e.ADDITION||2,a=e.REMOVAL||3;!Te||o&&o!==t||!t.attributeChangedCallback||"style"===r||e.prevValue===e.newValue&&(""!==e.newValue||n!==i&&n!==a)||t.attributeChangedCallback(r,n===i?null:e.prevValue,n===a?null:e.newValue)}function Me(e){var t=Ne(e);return function(e){i.push(t,e.target),Ee&&clearTimeout(Ee),Ee=setTimeout(Ce,1)}}function Ie(e){Pe&&(Pe=!1,e.currentTarget.removeEventListener(j,Ie)),L.length&&Re((e.target||n).querySelectorAll(L),e.detail===b?b:y),ce&&function(){for(var e,t=0,n=fe.length;t<n;t++)e=fe[t],D.contains(e)||(n--,fe.splice(t--,1),Be(e,b))}()}function He(e,t){var n=this;ge.call(n,e,t),a.call(n,{target:n})}function Fe(e,t){ie(e,t),u?u.observe(e,we):(je&&(e.setAttribute=He,e[h]=c(e),e.addEventListener("DOMSubtreeModified",a)),e.addEventListener(S,De)),e.createdCallback&&Te&&(e.created=!0,e.createdCallback(),e.created=!1)}function ze(e){throw new Error("A "+e+" type is already registered")}function Be(e,t){var n,r,o=Ae(e);-1<o&&(f(e,A[o]),o=0,t!==y||e.attached?t!==b||e.detached||(e.attached=!1,e.detached=!0,r="disconnected",o=1):(e.detached=!1,e.attached=!0,r="connected",o=1,ce&&M.call(fe,e)<0&&fe.push(e)),o&&(n=e[t+g]||e[r+g])&&n.call(e))}function We(){}function Ue(e,t,r){var o=r&&r.extends||"",i=t.prototype,a=oe(i),l=t.observedAttributes||B,c={prototype:a};ue(a,O,{value:function(){if(Q)Q=!1;else if(!this[G]){this[G]=!0,new t(this),i.createdCallback&&i.createdCallback.call(this);var e=ee[ne.get(t)];(!Y||e.create.length>1)&&qe(this)}}}),ue(a,w,{value:function(e){-1<M.call(l,e)&&i.attributeChangedCallback.apply(this,arguments)}}),i.connectedCallback&&ue(a,"attachedCallback",{value:i.connectedCallback}),i.disconnectedCallback&&ue(a,"detachedCallback",{value:i.disconnectedCallback}),o&&(c.extends=o),e=e.toUpperCase(),ee[e]={constructor:t,create:o?[o,re(e)]:[e]},ne.set(t,e),n.registerElement(e.toLowerCase(),c),Ge(e),te[e].r()}function Ve(e){var t=ee[e.toUpperCase()];return t&&t.constructor}function $e(e){return"string"==typeof e?e:e&&e.is||""}function qe(e){for(var t,n=e.attributeChangedCallback,r=n?e.attributes:B,o=r.length;o--;)t=r[o],n.call(e,t.name||t.nodeName,null,t.value||t.nodeValue)}function Ge(e){return(e=e.toUpperCase())in te||(te[e]={},te[e].p=new J((function(t){te[e].r=t}))),te[e].p}function Ke(){K&&delete e.customElements,z(e,"customElements",{configurable:!0,value:new We}),z(e,"CustomElementRegistry",{configurable:!0,value:We});for(var t=function(t){var r=e[t];if(r){e[t]=function(e){var t,o;return e||(e=this),e[G]||(Q=!0,t=ee[ne.get(e.constructor)],(e=(o=Y&&1===t.create.length)?Reflect.construct(r,B,t.constructor):n.createElement.apply(n,t.create))[G]=!0,Q=!1,o||qe(e)),e},e[t].prototype=r.prototype;try{r.prototype.constructor=e[t]}catch(n){z(r,G,{value:e[t]})}}},r=o.get(/^HTML[A-Z]*[a-z]/),i=r.length;i--;t(r[i]));n.createElement=function(e,t){var n=$e(t);return n?_e.call(this,e,re(n)):_e.call(this,e)},ke||(Se=!0,n.registerElement(""))}if(ae&&((p=n.createElement("div")).innerHTML="<div><div></div></div>",new ae((function(e,t){if(e[0]&&"childList"==e[0].type&&!e[0].removedNodes[0].childNodes.length){var n=(p=W(le,"innerHTML"))&&p.set;n&&z(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=""),ke||($||q?(f=function(e,t){F.call(t,e)||Fe(e,t)},d=Fe):(f=function(e,t){e[h]||(e[h]=r(!0),Fe(e,t))},d=f),ce?(je=!1,function(){var e=W(le,m),t=e.value,n=function(e){var t=new CustomEvent(S,{bubbles:!0});t.attrName=e,t.prevValue=he.call(this,e),t.newValue=null,t.REMOVAL=t.attrChange=2,ye.call(this,e),ve.call(this,t)},r=function(e,t){var n=me.call(this,e),r=n&&he.call(this,e),o=new CustomEvent(S,{bubbles:!0});ge.call(this,e,t),o.attrName=e,o.prevValue=n?r:null,o.newValue=t,n?o.MODIFICATION=o.attrChange=1:o.ADDITION=o.attrChange=0,ve.call(this,o)},o=function(e){var t,n=e.currentTarget,r=n[h],o=e.propertyName;r.hasOwnProperty(o)&&(r=r[o],(t=new CustomEvent(S,{bubbles:!0})).attrName=r.name,t.prevValue=r.value||null,t.newValue=r.value=n[o]||null,null==t.prevValue?t.ADDITION=t.attrChange=0:t.MODIFICATION=t.attrChange=1,ve.call(n,t))};e.value=function(e,i,a){e===S&&this.attributeChangedCallback&&this.setAttribute!==r&&(this[h]={className:{name:"class",value:this.className}},this.setAttribute=r,this.removeAttribute=n,t.call(this,"propertychange",o)),t.call(this,e,i,a)},z(le,m,e)}()):ae||(D.addEventListener(S,Oe),D.setAttribute(h,1),D.removeAttribute(h),je&&(a=function(e){var t,n,r,o=this;if(o===e.target){for(r in t=o[h],o[h]=n=c(o),n){if(!(r in t))return l(0,o,r,t[r],n[r],E);if(n[r]!==t[r])return l(1,o,r,t[r],n[r],k)}for(r in t)if(!(r in n))return l(2,o,r,t[r],n[r],x)}},l=function(e,t,n,r,o,i){var a={attrChange:e,currentTarget:t,attrName:n,prevValue:r,newValue:o};a[i]=e,De(a)},c=function(e){for(var t,n,r={},o=e.attributes,i=0,a=o.length;i<a;i++)"setAttribute"!==(n=(t=o[i]).name)&&(r[n]=t.value);return r})),n.registerElement=function(e,t){if(r=e.toUpperCase(),xe&&(xe=!1,ae?(u=function(e,t){function n(e,t){for(var n=0,r=e.length;n<r;t(e[n++]));}return new ae((function(r){for(var o,i,a,l=0,c=r.length;l<c;l++)"childList"===(o=r[l]).type?(n(o.addedNodes,e),n(o.removedNodes,t)):(i=o.target,Te&&i.attributeChangedCallback&&"style"!==o.attributeName&&(a=he.call(i,o.attributeName))!==o.oldValue&&i.attributeChangedCallback(o.attributeName,o.oldValue,a))}))}(Ne(y),Ne(b)),s=function(e){return u.observe(e,{childList:!0,subtree:!0}),e},s(n),de&&(le.attachShadow=function(){return s(de.apply(this,arguments))})):(i=[],n.addEventListener("DOMNodeInserted",Me(y)),n.addEventListener("DOMNodeRemoved",Me(b))),n.addEventListener(j,Ie),n.addEventListener("readystatechange",Ie),le.cloneNode=function(e){var t=pe.call(this,!!e),n=Ae(t);return-1<n&&d(t,A[n]),e&&L.length&&function(e){for(var t,n=0,r=e.length;n<r;n++)t=e[n],d(t,A[Ae(t)])}(t.querySelectorAll(L)),t}),Se)return Se=!1;if(-2<M.call(N,T+r)+M.call(N,P+r)&&ze(e),!C.test(r)||-1<M.call(R,r))throw new Error("The type "+e+" is invalid");var r,o,a=function(){return c?n.createElement(f,r):n.createElement(f)},l=t||I,c=H.call(l,_),f=c?t.extends.toUpperCase():r;return c&&-1<M.call(N,P+f)&&ze(f),o=N.push((c?T:P)+r)-1,L=L.concat(L.length?",":"",c?f+'[is="'+e.toLowerCase()+'"]':f),a.prototype=A[o]=H.call(l,"prototype")?l.prototype:oe(le),L.length&&Re(n.querySelectorAll(L),y),a},n.createElement=_e=function(e,t){var r=$e(t),o=r?be.call(n,e,re(r)):be.call(n,e),i=""+e,a=M.call(N,(r?T:P)+(r||i).toUpperCase()),l=-1<a;return r&&(o.setAttribute("is",r=r.toLowerCase()),l&&(l=Le(i.toUpperCase(),r))),Te=!n.createElement.innerHTMLHelper,l&&d(o,A[a]),o}),We.prototype={constructor:We,define:Y?function(e,t,n){if(n)Ue(e,t,n);else{var r=e.toUpperCase();ee[r]={constructor:t,create:[r]},ne.set(t,r),K.define(e,t)}}:Ue,get:Y?function(e){return K.get(e)||Ve(e)}:Ve,whenDefined:Y?function(e){return J.race([K.whenDefined(e),Ge(e)])}:Ge},!K||/^force/.test(t.type))Ke();else if(!t.noBuiltIn)try{!function(t,r,o){if(r.extends="a",(t.prototype=oe(HTMLAnchorElement.prototype)).constructor=t,e.customElements.define(o,t,r),he.call(n.createElement("a",{is:o}),"is")!==o||Y&&he.call(new t,"is")!==o)throw r}((function e(){return Reflect.construct(HTMLAnchorElement,[],e)}),{},"document-register-element-a")}catch(e){Ke()}if(!t.noBuiltIn)try{be.call(n,"a","a")}catch(e){re=function(e){return{is:e.toLowerCase()}}}}function Tx(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 Cx(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tx(Object(n),!0).forEach((function(t){Ts(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tx(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Rx(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=o_(e);if(t){var o=o_(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return r_(this,n)}}hx({target:"Array",proto:!0,forced:!xx},{splice:function(e,t){var n,r,o,i,a,l,c=mx(this),u=bx(c),s=yx(e,u),f=arguments.length;for(0===f?n=r=0:1===f?(n=0,r=u-s):(n=f-2,r=jx(Sx(gx(t),0),u-s)),wx(u+n-r),o=Ox(c,r),i=0;i<r;i++)(a=s+i)in c&&Ex(o,i,c[a]);if(o.length=r,n<r){for(i=s;i<u-r;i++)l=i+n,(a=i+r)in c?c[l]=c[a]:kx(c,l);for(i=u;i>u-r+n;i--)kx(c,i-1)}else if(n>r)for(i=u-r;i>s;i--)l=i+n-1,(a=i+r-1)in c?c[l]=c[a]:kx(c,l);for(i=0;i<n;i++)c[i+s]=arguments[i+2];return _x(c,u-r+n),o}});var Nx,Ax=void 0!==Kd&&!1,Lx=Ax,Dx="undefined"!=typeof window&&(window.registeredElements=window.registeredElements||[])||[],Mx=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]:{},o=r.attributesExcludelist,i=void 0===o?["id"]:o;if(e||(e=t.displayName||t.name),-1===Dx.indexOf(e)){if(Dx.push(e),"undefined"==typeof document||"undefined"==typeof window)return null;Lx||(Lx=!0,Px(window)),n&&(n=Hx(n));var a=function(e){t_(o,e);var r=Rx(o);function o(e){var t;return Yd(this,o),(t=r.call(this,e))._elementRef=l.default.createRef(),t._customMethods={},t._customEvents=[],t._isConnected=!1,t._props={},t}return Xd(o,[{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(){Ax||c.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=Fx(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(ib(e.event?e.event.split(","):[]),ib(Object.entries(e).map((function(e){var t=ep(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=ep(t.split("="),2),r=n[0],o=n[1];r=Bx[r]||r,e[r]=function(){try{var e=o.split("."),t=ep(e,2),n=t[0],i=t[1];i=i?window[n][i]:window[n];for(var a=arguments.length,c=new Array(a),u=0;u<a;u++)c[u]=arguments[u];var s=i.apply(n,[].concat(c));if(s instanceof HTMLElement){for(var f=[],d=s.childNodes,p=s.attributes,v={},h=d.length;h--;)f.push(Fx(d[h]));for(var m=p.length;m--;)v[zx[p[m].name]||p[m].name]=p[m].value;var y=s.nodeName.toLowerCase();return s.remove(),l.default.createElement(y,v,f)}return s}catch(e){new U_("The '".concat(r,"' event has failed. '").concat(o,"' has to exist on a 'window' scope!"),e)}}})),delete e.event),e}},{key:"setProps",value:function(e,t){return"string"==typeof e&&(e=Ts({},e,t)),this.renderElement(e)}},{key:"getRef",value:function(){return this._ref}},{key:"addEvent",value:function(e,t){var n,r=this,o=function(e){return t.apply(r,[e])};return null===(n=this._customEvents)||void 0===n||n.push({eventName:e,eventCallback:t,eventWrapper:o}),o}},{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),o=1;o<n;o++)r[o-1]=arguments[o];this._customEvents.forEach((function(n){var o=n.eventName,i=n.eventCallback;o===e&&"function"==typeof i&&i.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=Cx(Cx(Cx({},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 o=i.length;o--;)n[i[o]]&&this.removeAttribute(i[o]);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),c.default.render(this._ref,this),this}}],[{key:"observedAttributes",get:function(){return n||[]}}]),o}(l_(HTMLElement));return window.customElements.define(e,a)}},Ix=function(e){return e&&!/[A-Z]/.test(e)&&!/children/.test(e)},Hx=function(e){return Array.isArray(e)?e.filter(Ix):Object.entries(e||{}).reduce((function(e,t){var n=ep(t,1)[0];return e.push(n),e}),[]).filter(Ix)},Fx=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=[],o={},i=0,a=t.attributes,c=t.childNodes;for(i=a.length;i--;)o[a[i].name]=a[i].value;for(i=c.length;i--;)r[i]=e(c[i]);return o.key="key".concat(1e3*Math.random()),l.default.createElement(n||t.nodeName.toLowerCase(),o,r)},zx={class:"className",for:"htmlFor"},Bx={onclick:"onClick"};function Wx(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 Ux(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wx(Object(n),!0).forEach((function(t){Ts(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wx(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(){Yd(this,e)}return Xd(e,[{key:"version",get:function(){return"9.45.3"}}]),e}();window.Eufemia=new e}}(),xy.specificKeys([9]),Nx=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(Zy))?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(Xy))&&document.documentElement.setAttribute("data-os","linux")}catch(e){}document.removeEventListener("DOMContentLoaded",e)}},"undefined"!=typeof document&&"loading"===document.readyState?document.addEventListener("DOMContentLoaded",Nx):Nx();var Vx=function(e,t){if(e&&e.attributes){var n=e.attributes;n&&("{"===n[0]&&(n=JSON.parse(n)),n&&"object"===tp(n)&&Object.entries(n).forEach((function(e){var n=ep(e,2),r=n[0],o=n[1];f(t,Ts({},r,o))})),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"===tp(t))for(var o in t)"function"!=typeof t[o]||/(^[a-z]{1,}[A-Z]{1})/.test(o)?(null===t[o]||/[^a-z-]/i.test(o))&&delete t[o]:delete t[o];return t},$x=function(e){if(!e)return null;if(void 0!==kd&&Array.isArray(kd.registeredElements)&&kd.registeredElements.length>0){var t=null;if(Object.entries(e).reverse().map((function(n){var r=ep(n,2),o=r[0],i=r[1];return o.includes("render_")&&/^render_/.test(o)&&"function"==typeof i?(t&&(Object.isFrozen(e)&&(e=Ux({},e)),e.children=t),t=l.default.createElement(l.default.Fragment,{key:o},i(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},qx=function e(){for(var t={},n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];var i=r[0];return!0!==i&&!1!==i||(r.shift(),i&&(t=r.shift())),r.reduce((function(t,n){return n&&(t=f(t,Object.entries(n).reduce((function(n,r){var o=ep(r,2),i=o[0],a=o[1];return null!==a&&("object"===tp(a)?(a=e(t[i]||{},a),Object.keys(a).length>0&&(n[i]=a)):n[i]=a),n}),{}))),t}),t)},Gx=function(e){return null!=e&&("true"===String(e)||"1"===String(e))},Kx=function(e,t,n){var r=void 0,o=Ux(Ux({},n&&n.event||{}),n);if(o&&o.attributes&&o.event){var i=o.event.currentTarget;if(i)try{var a=Ux({},i.dataset||{}),l=Ux({},o.attributes);for(var c in l)/^data-/.test(c)&&(a[String(c).replace(/^data-/,"")]=l[c]);for(var u in a)o.event.currentTarget.dataset&&(o.event.currentTarget.dataset[u]=a[u]),o.event.target&&o.event.target.dataset&&(o.event.target.dataset[u]=a[u])}catch(e){}}var s=e&&e.props||e;if(s.custom_element&&"function"==typeof s.custom_element.fireEvent&&(r=s.custom_element.fireEvent(t,o)),t.includes("_")){if("function"==typeof s[t]){var f=s[t].apply(e,[o]);void 0!==f&&(r=f)}if("function"==typeof s[t=Yx(t)]){var d=s[t].apply(e,[o]);void 0!==d&&(r=d)}}else{if("function"==typeof s[t]){var p=s[t].apply(e,[o]);void 0!==p&&(r=p)}if("function"==typeof s[t=Zx(t)]){var v=s[t].apply(e,[o]);void 0!==v&&(r=v)}}return r},Yx=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()})))}),"")},Zx=function(e){return e.replace(/\B[A-Z]/g,(function(e){return"_".concat(e)})).toLowerCase()};!function(){function e(t,n){var r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Yd(this,e),Ts(this,"checkOutsideClick",(function(e){var t=e.event,n=e.ignoreElements,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;try{var o=t.target;if("HTML"===(null==o?void 0:o.tagName)&&(t.pageX>document.documentElement.clientWidth-40||t.pageY>document.documentElement.clientHeight-40))return;if(Xx(o))return;for(var i,a=0,l=n.length;a<l;++a)if(i=o,n[a])do{if(i===n[a])return;i=i&&i.parentNode}while(i);"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"===Ey(e)&&(window.removeEventListener("keydown",r.keydownCallback),"function"==typeof n&&n({event:e}))},window.addEventListener("keydown",this.keydownCallback),o.includedKeys&&(this.keyupCallback=function(e){var t=Ey(e);o.includedKeys.includes(t)&&"function"==typeof r.handleClickOutside&&r.handleClickOutside(e,(function(){r.keyupCallback&&window.removeEventListener("keyup",r.keyupCallback)}))},window.addEventListener("keyup",this.keyupCallback)))}Xd(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)}}])}();var Xx=function(e){return e&&(e.scrollHeight>e.offsetHeight||e.scrollWidth>e.offsetWidth)&&Jx(e)},Jx=function(e){var t="undefined"!=typeof window?window.getComputedStyle(e):{};return/scroll|auto/i.test((t.overflow||"")+(t.overflowX||"")+(t.overflowY||""))},Qx=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)+eS++).slice(-t)},eS=0,tS=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},nS=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 rS(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return iS("aria-labelledby",t)}function oS(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return iS("aria-describedby",t)}function iS(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 aS(e,t){Array.isArray(e)||(e=[e]);var n=null;return e.some((function(e){if(e&&e.props&&e.props.children){var r=aS(e.props.children,t);if(r)return n=r}return l.default.isValidElement(e)&&t(e)?n=e:null})),n}function lS(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 cS(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lS(Object(n),!0).forEach((function(t){Ts(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lS(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function uS(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.locales?qx(Ed,e.locales):Ed;e.__context__&&(f(e,e.__context__),delete e.__context__);var n=sS(e.locale||_d,t),r=t[n]||Ed[_d]||{};t[n]&&(t[n]=dS(t[n],r));var o=cS(cS({updateTranslation:function(e,t){o.translation=o.locales[e]=t},getTranslation:function(e){if(e){var t=e.lang||e.locale;if(t&&o.locales[t]&&t!==n)return o.locales[t]}return o.translation},locales:t,locale:null,breakpoints:null,skeleton:null},e),{},{translation:r});return o}function sS(e,t){return t[e]||"en"!==e&&"en"!==e.split("-")[0]?e:"en-GB"}var fS=l.default.createContext(uS({locale:_d,currency:"NOK",currency_display:"code"}));function dS(e,t){for(var n in e)if(String(n).includes(".")){var r=n.split(".");t[r[0]]&&function(){var t=e[n],o=r.length-1;r.forEach((function(n,r){e[n]=r===o?t:e[n],e=e[n]||{}}))}()}return e}var pS={exports:{}},vS={},hS="function"==typeof Symbol&&Symbol.for,mS=hS?Symbol.for("react.element"):60103,yS=hS?Symbol.for("react.portal"):60106,gS=hS?Symbol.for("react.fragment"):60107,bS=hS?Symbol.for("react.strict_mode"):60108,_S=hS?Symbol.for("react.profiler"):60114,wS=hS?Symbol.for("react.provider"):60109,OS=hS?Symbol.for("react.context"):60110,ES=hS?Symbol.for("react.async_mode"):60111,kS=hS?Symbol.for("react.concurrent_mode"):60111,xS=hS?Symbol.for("react.forward_ref"):60112,SS=hS?Symbol.for("react.suspense"):60113,jS=hS?Symbol.for("react.suspense_list"):60120,PS=hS?Symbol.for("react.memo"):60115,TS=hS?Symbol.for("react.lazy"):60116,CS=hS?Symbol.for("react.block"):60121,RS=hS?Symbol.for("react.fundamental"):60117,NS=hS?Symbol.for("react.responder"):60118,AS=hS?Symbol.for("react.scope"):60119;function LS(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case mS:switch(e=e.type){case ES:case kS:case gS:case _S:case bS:case SS:return e;default:switch(e=e&&e.$$typeof){case OS:case xS:case TS:case PS:case wS:return e;default:return t}}case yS:return t}}}function DS(e){return LS(e)===kS}vS.AsyncMode=ES,vS.ConcurrentMode=kS,vS.ContextConsumer=OS,vS.ContextProvider=wS,vS.Element=mS,vS.ForwardRef=xS,vS.Fragment=gS,vS.Lazy=TS,vS.Memo=PS,vS.Portal=yS,vS.Profiler=_S,vS.StrictMode=bS,vS.Suspense=SS,vS.isAsyncMode=function(e){return DS(e)||LS(e)===ES},vS.isConcurrentMode=DS,vS.isContextConsumer=function(e){return LS(e)===OS},vS.isContextProvider=function(e){return LS(e)===wS},vS.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===mS},vS.isForwardRef=function(e){return LS(e)===xS},vS.isFragment=function(e){return LS(e)===gS},vS.isLazy=function(e){return LS(e)===TS},vS.isMemo=function(e){return LS(e)===PS},vS.isPortal=function(e){return LS(e)===yS},vS.isProfiler=function(e){return LS(e)===_S},vS.isStrictMode=function(e){return LS(e)===bS},vS.isSuspense=function(e){return LS(e)===SS},vS.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===gS||e===kS||e===_S||e===bS||e===SS||e===jS||"object"==typeof e&&null!==e&&(e.$$typeof===TS||e.$$typeof===PS||e.$$typeof===wS||e.$$typeof===OS||e.$$typeof===xS||e.$$typeof===RS||e.$$typeof===NS||e.$$typeof===AS||e.$$typeof===CS)},vS.typeOf=LS;
|
|
18
18
|
/*
|
|
19
19
|
object-assign
|
|
20
20
|
(c) Sindre Sorhus
|