UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

1 lines 712 kB
import e,{createContext as t,useContext as n,useRef as r,useEffect as o,useState as i,useCallback as a,useMemo as s,Fragment as l,forwardRef as c,useReducer as u,useLayoutEffect as d}from"react";import*as p from"../icons/dnb/primary_icons";import*as h from"../icons/dnb/primary_icons_medium";import f,{createPortal as m}from"react-dom";function b(){return b=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},b.apply(null,arguments)}function g(e){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},g(e)}function v(e){var t=function(e,t){if("object"!=g(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=g(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==g(t)?t:t+""}function y(e,t,n){return(t=v(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function w(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var O,E,k,S,x,P,D,j,C,T,N,A,M,R,I,L,F,H,z,$,B,U,V,W,q,G,K,Y,Z={},X="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function Q(){if(E)return O;E=1;var e=function(e){return e&&e.Math===Math&&e};return O=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof X&&X)||e("object"==typeof this&&this)||function(){return this}()||Function("return this")()}function J(){if(P)return x;P=1;var e="object"==typeof document&&document.all;return x=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(e){return"function"==typeof e}}function ee(){if(j)return D;j=1;var e=J();return D=function(t){return"object"==typeof t?null!==t:e(t)}}function te(){if(T)return C;T=1;var e=Q(),t=ee(),n=e.document,r=t(n)&&t(n.createElement);return C=function(e){return r?n.createElement(e):{}}}function ne(){return R?M:(R=1,M=function(e){try{return!!e()}catch(e){return!0}})}function re(){if(L)return I;L=1;var e=ne();return I=!e((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))}function oe(){if(H)return F;H=1;var e=re(),t=Function.prototype,n=t.call,r=e&&t.bind.bind(n,n);return F=e?r:function(e){return function(){return n.apply(e,arguments)}},F}function ie(){if($)return z;$=1;var e=oe(),t=e({}.toString),n=e("".slice);return z=function(e){return n(t(e),8,-1)}}function ae(){if(U)return B;U=1;var e=oe(),t=ne(),n=ie(),r=Object,o=e("".split);return B=t((function(){return!r("z").propertyIsEnumerable(0)}))?function(e){return"String"===n(e)?o(e,""):r(e)}:r}function se(){return W?V:(W=1,V=function(e){return null==e})}function le(){if(G)return q;G=1;var e=se(),t=TypeError;return q=function(n){if(e(n))throw new t("Can't call method on "+n);return n}}function ce(){if(Y)return K;Y=1;var e=ae(),t=le();return K=function(n){return e(t(n))}}var ue,de,pe,he,fe,me,be,ge,ve,ye,_e,we,Oe,Ee,ke,Se,xe,Pe,De,je,Ce,Te,Ne,Ae,Me,Re={exports:{}};function Ie(){return de?ue:(de=1,ue=!1)}function Le(){if(he)return pe;he=1;var e=Q(),t=Object.defineProperty;return pe=function(n,r){try{t(e,n,{value:r,configurable:!0,writable:!0})}catch(t){e[n]=r}return r}}function Fe(){if(fe)return Re.exports;fe=1;var e=Ie(),t=Q(),n=Le(),r="__core-js_shared__",o=Re.exports=t[r]||n(r,{});return(o.versions||(o.versions=[])).push({version:"3.41.0",mode:e?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.41.0/LICENSE",source:"https://github.com/zloirock/core-js"}),Re.exports}function He(){if(be)return me;be=1;var e=Fe();return me=function(t,n){return e[t]||(e[t]=n||{})}}function ze(){if(ve)return ge;ve=1;var e=le(),t=Object;return ge=function(n){return t(e(n))}}function $e(){if(_e)return ye;_e=1;var e=oe(),t=ze(),n=e({}.hasOwnProperty);return ye=Object.hasOwn||function(e,r){return n(t(e),r)}}function Be(){if(Oe)return we;Oe=1;var e=oe(),t=0,n=Math.random(),r=e(1..toString);return we=function(e){return"Symbol("+(void 0===e?"":e)+")_"+r(++t+n,36)}}function Ue(){if(xe)return Se;xe=1;var e,t,n=Q(),r=function(){if(ke)return Ee;ke=1;var e=Q().navigator,t=e&&e.userAgent;return Ee=t?String(t):""}(),o=n.process,i=n.Deno,a=o&&o.versions||i&&i.version,s=a&&a.v8;return s&&(t=(e=s.split("."))[0]>0&&e[0]<4?1:+(e[0]+e[1])),!t&&r&&(!(e=r.match(/Edge\/(\d+)/))||e[1]>=74)&&(e=r.match(/Chrome\/(\d+)/))&&(t=+e[1]),Se=t}function Ve(){if(De)return Pe;De=1;var e=Ue(),t=ne(),n=Q().String;return Pe=!!Object.getOwnPropertySymbols&&!t((function(){var t=Symbol("symbol detection");return!n(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&e&&e<41}))}function We(){if(Ce)return je;Ce=1;var e=Ve();return je=e&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function qe(){if(Ne)return Te;Ne=1;var e=Q(),t=He(),n=$e(),r=Be(),o=Ve(),i=We(),a=e.Symbol,s=t("wks"),l=i?a.for||a:a&&a.withoutSetter||r;return Te=function(e){return n(s,e)||(s[e]=o&&n(a,e)?a[e]:l("Symbol."+e)),s[e]}}function Ge(){if(Me)return Ae;Me=1;var e=ee(),t=String,n=TypeError;return Ae=function(r){if(e(r))return r;throw new n(t(r)+" is not an object")}}var Ke,Ye,Ze,Xe,Qe={};function Je(){if(Ye)return Ke;Ye=1;var e=ne();return Ke=!e((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))}function et(){if(Xe)return Ze;Xe=1;var e=Je(),t=ne();return Ze=e&&t((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))}var tt,nt,rt,ot,it,at,st,lt,ct,ut,dt,pt,ht,ft,mt,bt,gt,vt,yt,_t,wt,Ot,Et,kt,St,xt,Pt,Dt,jt,Ct,Tt,Nt,At,Mt,Rt,It,Lt,Ft,Ht,zt,$t,Bt,Ut,Vt,Wt,qt,Gt,Kt,Yt,Zt,Xt,Qt,Jt,en,tn,nn,rn,on,an,sn,ln,cn,un={};function dn(){if(nt)return tt;nt=1;var e=Je(),t=ne(),n=te();return tt=!e&&!t((function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a}))}function pn(){if(ot)return rt;ot=1;var e=re(),t=Function.prototype.call;return rt=e?t.bind(t):function(){return t.apply(t,arguments)},rt}function hn(){if(at)return it;at=1;var e=Q(),t=J();return it=function(n,r){return arguments.length<2?(o=e[n],t(o)?o:void 0):e[n]&&e[n][r];var o},it}function fn(){if(lt)return st;lt=1;var e=oe();return st=e({}.isPrototypeOf)}function mn(){if(ut)return ct;ut=1;var e=hn(),t=J(),n=fn(),r=We(),o=Object;return ct=r?function(e){return"symbol"==typeof e}:function(r){var i=e("Symbol");return t(i)&&n(i.prototype,o(r))}}function bn(){if(pt)return dt;pt=1;var e=String;return dt=function(t){try{return e(t)}catch(e){return"Object"}}}function gn(){if(ft)return ht;ft=1;var e=J(),t=bn(),n=TypeError;return ht=function(r){if(e(r))return r;throw new n(t(r)+" is not a function")}}function vn(){if(bt)return mt;bt=1;var e=gn(),t=se();return mt=function(n,r){var o=n[r];return t(o)?void 0:e(o)},mt}function yn(){if(vt)return gt;vt=1;var e=pn(),t=J(),n=ee(),r=TypeError;return gt=function(o,i){var a,s;if("string"===i&&t(a=o.toString)&&!n(s=e(a,o)))return s;if(t(a=o.valueOf)&&!n(s=e(a,o)))return s;if("string"!==i&&t(a=o.toString)&&!n(s=e(a,o)))return s;throw new r("Can't convert object to primitive value")}}function _n(){if(_t)return yt;_t=1;var e=pn(),t=ee(),n=mn(),r=vn(),o=yn(),i=qe(),a=TypeError,s=i("toPrimitive");return yt=function(i,l){if(!t(i)||n(i))return i;var c,u=r(i,s);if(u){if(void 0===l&&(l="default"),c=e(u,i,l),!t(c)||n(c))return c;throw new a("Can't convert object to primitive value")}return void 0===l&&(l="number"),o(i,l)}}function wn(){if(Ot)return wt;Ot=1;var e=_n(),t=mn();return wt=function(n){var r=e(n,"string");return t(r)?r:r+""}}function On(){if(Et)return un;Et=1;var e=Je(),t=dn(),n=et(),r=Ge(),o=wn(),i=TypeError,a=Object.defineProperty,s=Object.getOwnPropertyDescriptor,l="enumerable",c="configurable",u="writable";return un.f=e?n?function(e,t,n){if(r(e),t=o(t),r(n),"function"==typeof e&&"prototype"===t&&"value"in n&&u in n&&!n[u]){var i=s(e,t);i&&i[u]&&(e[t]=n.value,n={configurable:c in n?n[c]:i[c],enumerable:l in n?n[l]:i[l],writable:!1})}return a(e,t,n)}:a:function(e,n,s){if(r(e),n=o(n),r(s),t)try{return a(e,n,s)}catch(e){}if("get"in s||"set"in s)throw new i("Accessors not supported");return"value"in s&&(e[n]=s.value),e},un}function En(){if(Pt)return xt;Pt=1;var e=function(){if(St)return kt;St=1;var e=Math.ceil,t=Math.floor;return kt=Math.trunc||function(n){var r=+n;return(r>0?t:e)(r)}}();return xt=function(t){var n=+t;return n!=n||0===n?0:e(n)},xt}function kn(){if(jt)return Dt;jt=1;var e=En(),t=Math.max,n=Math.min;return Dt=function(r,o){var i=e(r);return i<0?t(i+o,0):n(i,o)}}function Sn(){if(Tt)return Ct;Tt=1;var e=En(),t=Math.min;return Ct=function(n){var r=e(n);return r>0?t(r,9007199254740991):0}}function xn(){if(At)return Nt;At=1;var e=Sn();return Nt=function(t){return e(t.length)}}function Pn(){return Lt?It:(Lt=1,It={})}function Dn(){if(Ht)return Ft;Ht=1;var e=oe(),t=$e(),n=ce(),r=function(){if(Rt)return Mt;Rt=1;var e=ce(),t=kn(),n=xn(),r=function(r){return function(o,i,a){var s=e(o),l=n(s);if(0===l)return!r&&-1;var c,u=t(a,l);if(r&&i!=i){for(;l>u;)if((c=s[u++])!=c)return!0}else for(;l>u;u++)if((r||u in s)&&s[u]===i)return r||u||0;return!r&&-1}};return Mt={includes:r(!0),indexOf:r(!1)}}().indexOf,o=Pn(),i=e([].push);return Ft=function(e,a){var s,l=n(e),c=0,u=[];for(s in l)!t(o,s)&&t(l,s)&&i(u,s);for(;a.length>c;)t(l,s=a[c++])&&(~r(u,s)||i(u,s));return u},Ft}function jn(){return $t?zt:($t=1,zt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}function Cn(){if(Ut)return Bt;Ut=1;var e=Dn(),t=jn();return Bt=Object.keys||function(n){return e(n,t)}}function Tn(){if(qt)return Wt;qt=1;var e=hn();return Wt=e("document","documentElement")}function Nn(){if(Kt)return Gt;Kt=1;var e=He(),t=Be(),n=e("keys");return Gt=function(e){return n[e]||(n[e]=t(e))}}function An(){if(Zt)return Yt;Zt=1;var e,t=Ge(),n=function(){if(Vt)return Qe;Vt=1;var e=Je(),t=et(),n=On(),r=Ge(),o=ce(),i=Cn();return Qe.f=e&&!t?Object.defineProperties:function(e,t){r(e);for(var a,s=o(t),l=i(t),c=l.length,u=0;c>u;)n.f(e,a=l[u++],s[a]);return e},Qe}(),r=jn(),o=Pn(),i=Tn(),a=te(),s=Nn(),l="prototype",c="script",u=s("IE_PROTO"),d=function(){},p=function(e){return"<"+c+">"+e+"</"+c+">"},h=function(e){e.write(p("")),e.close();var t=e.parentWindow.Object;return e=null,t},f=function(){try{e=new ActiveXObject("htmlfile")}catch(e){}var t,n,o;f="undefined"!=typeof document?document.domain&&e?h(e):(n=a("iframe"),o="java"+c+":",n.style.display="none",i.appendChild(n),n.src=String(o),(t=n.contentWindow.document).open(),t.write(p("document.F=Object")),t.close(),t.F):h(e);for(var s=r.length;s--;)delete f[l][r[s]];return f()};return o[u]=!0,Yt=Object.create||function(e,r){var o;return null!==e?(d[l]=t(e),o=new d,d[l]=null,o[u]=e):o=f(),void 0===r?o:n.f(o,r)}}function Mn(){if(Qt)return Xt;Qt=1;var e=qe(),t=An(),n=On().f,r=e("unscopables"),o=Array.prototype;return void 0===o[r]&&n(o,r,{configurable:!0,value:t(null)}),Xt=function(e){o[r][e]=!0}}function Rn(){return en?Jt:(en=1,Jt={})}function In(){return on?rn:(on=1,rn=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}})}function Ln(){if(sn)return an;sn=1;var e=Je(),t=On(),n=In();return an=e?function(e,r,o){return t.f(e,r,n(1,o))}:function(e,t,n){return e[t]=n,e}}function Fn(){if(cn)return ln;cn=1;var e,t,n,r=function(){if(nn)return tn;nn=1;var e=Q(),t=J(),n=e.WeakMap;return tn=t(n)&&/native code/.test(String(n))}(),o=Q(),i=ee(),a=Ln(),s=$e(),l=Fe(),c=Nn(),u=Pn(),d="Object already initialized",p=o.TypeError,h=o.WeakMap;if(r||l.state){var f=l.state||(l.state=new h);f.get=f.get,f.has=f.has,f.set=f.set,e=function(e,t){if(f.has(e))throw new p(d);return t.facade=e,f.set(e,t),t},t=function(e){return f.get(e)||{}},n=function(e){return f.has(e)}}else{var m=c("state");u[m]=!0,e=function(e,t){if(s(e,m))throw new p(d);return t.facade=e,a(e,m,t),t},t=function(e){return s(e,m)?e[m]:{}},n=function(e){return s(e,m)}}return ln={set:e,get:t,has:n,enforce:function(r){return n(r)?t(r):e(r,{})},getterFor:function(e){return function(n){var r;if(!i(n)||(r=t(n)).type!==e)throw new p("Incompatible receiver, "+e+" required");return r}}}}var Hn,zn,$n={},Bn={};function Un(){if(Hn)return Bn;Hn=1;var e={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,n=t&&!e.call({1:2},1);return Bn.f=n?function(e){var n=t(this,e);return!!n&&n.enumerable}:e,Bn}function Vn(){if(zn)return $n;zn=1;var e=Je(),t=pn(),n=Un(),r=In(),o=ce(),i=wn(),a=$e(),s=dn(),l=Object.getOwnPropertyDescriptor;return $n.f=e?l:function(e,c){if(e=o(e),c=i(c),s)try{return l(e,c)}catch(e){}if(a(e,c))return r(!t(n.f,e,c),e[c])},$n}var Wn,qn,Gn,Kn,Yn,Zn,Xn,Qn={exports:{}};function Jn(){if(qn)return Wn;qn=1;var e=Je(),t=$e(),n=Function.prototype,r=e&&Object.getOwnPropertyDescriptor,o=t(n,"name"),i=o&&"something"===function(){}.name,a=o&&(!e||e&&r(n,"name").configurable);return Wn={EXISTS:o,PROPER:i,CONFIGURABLE:a}}function er(){if(Kn)return Gn;Kn=1;var e=oe(),t=J(),n=Fe(),r=e(Function.toString);return t(n.inspectSource)||(n.inspectSource=function(e){return r(e)}),Gn=n.inspectSource}function tr(){if(Yn)return Qn.exports;Yn=1;var e=oe(),t=ne(),n=J(),r=$e(),o=Je(),i=Jn().CONFIGURABLE,a=er(),s=Fn(),l=s.enforce,c=s.get,u=String,d=Object.defineProperty,p=e("".slice),h=e("".replace),f=e([].join),m=o&&!t((function(){return 8!==d((function(){}),"length",{value:8}).length})),b=String(String).split("String"),g=Qn.exports=function(e,t,n){"Symbol("===p(u(t),0,7)&&(t="["+h(u(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!r(e,"name")||i&&e.name!==t)&&(o?d(e,"name",{value:t,configurable:!0}):e.name=t),m&&n&&r(n,"arity")&&e.length!==n.arity&&d(e,"length",{value:n.arity});try{n&&r(n,"constructor")&&n.constructor?o&&d(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var a=l(e);return r(a,"source")||(a.source=f(b,"string"==typeof t?t:"")),e};return Function.prototype.toString=g((function(){return n(this)&&c(this).source||a(this)}),"toString"),Qn.exports}function nr(){if(Xn)return Zn;Xn=1;var e=J(),t=On(),n=tr(),r=Le();return Zn=function(o,i,a,s){s||(s={});var l=s.enumerable,c=void 0!==s.name?s.name:i;if(e(a)&&n(a,c,s),s.global)l?o[i]=a:r(i,a);else{try{s.unsafe?o[i]&&(l=!0):delete o[i]}catch(e){}l?o[i]=a:t.f(o,i,{value:a,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return o}}var rr,or={};var ir,ar,sr,lr,cr,ur,dr,pr,hr,fr,mr,br,gr,vr,yr,_r,wr,Or,Er,kr,Sr,xr,Pr,Dr,jr,Cr,Tr,Nr,Ar,Mr,Rr,Ir,Lr,Fr,Hr={};function zr(){return ir||(ir=1,Hr.f=Object.getOwnPropertySymbols),Hr}function $r(){if(sr)return ar;sr=1;var e=hn(),t=oe(),n=function(){if(rr)return or;rr=1;var e=Dn(),t=jn().concat("length","prototype");return or.f=Object.getOwnPropertyNames||function(n){return e(n,t)},or}(),r=zr(),o=Ge(),i=t([].concat);return ar=e("Reflect","ownKeys")||function(e){var t=n.f(o(e)),a=r.f;return a?i(t,a(e)):t}}function Br(){if(cr)return lr;cr=1;var e=$e(),t=$r(),n=Vn(),r=On();return lr=function(o,i,a){for(var s=t(i),l=r.f,c=n.f,u=0;u<s.length;u++){var d=s[u];e(o,d)||a&&e(a,d)||l(o,d,c(i,d))}}}function Ur(){if(hr)return pr;hr=1;var e=Q(),t=Vn().f,n=Ln(),r=nr(),o=Le(),i=Br(),a=function(){if(dr)return ur;dr=1;var e=ne(),t=J(),n=/#|\.prototype\./,r=function(n,r){var l=i[o(n)];return l===s||l!==a&&(t(r)?e(r):!!r)},o=r.normalize=function(e){return String(e).replace(n,".").toLowerCase()},i=r.data={},a=r.NATIVE="N",s=r.POLYFILL="P";return ur=r}();return pr=function(s,l){var c,u,d,p,h,f=s.target,m=s.global,b=s.stat;if(c=m?e:b?e[f]||o(f,{}):e[f]&&e[f].prototype)for(u in l){if(p=l[u],d=s.dontCallGetSet?(h=t(c,u))&&h.value:c[u],!a(m?u:f+(b?".":"#")+u,s.forced)&&void 0!==d){if(typeof p==typeof d)continue;i(p,d)}(s.sham||d&&d.sham)&&n(p,"sham",!0),r(c,u,p,s)}}}function Vr(){if(gr)return br;gr=1;var e=$e(),t=J(),n=ze(),r=Nn(),o=function(){if(mr)return fr;mr=1;var e=ne();return fr=!e((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))}(),i=r("IE_PROTO"),a=Object,s=a.prototype;return br=o?a.getPrototypeOf:function(r){var o=n(r);if(e(o,i))return o[i];var l=o.constructor;return t(l)&&o instanceof l?l.prototype:o instanceof a?s:null}}function Wr(){if(yr)return vr;yr=1;var e,t,n,r=ne(),o=J(),i=ee(),a=An(),s=Vr(),l=nr(),c=qe(),u=Ie(),d=c("iterator"),p=!1;return[].keys&&("next"in(n=[].keys())?(t=s(s(n)))!==Object.prototype&&(e=t):p=!0),!i(e)||r((function(){var t={};return e[d].call(t)!==t}))?e={}:u&&(e=a(e)),o(e[d])||l(e,d,(function(){return this})),vr={IteratorPrototype:e,BUGGY_SAFARI_ITERATORS:p}}function qr(){if(wr)return _r;wr=1;var e=On().f,t=$e(),n=qe()("toStringTag");return _r=function(r,o,i){r&&!i&&(r=r.prototype),r&&!t(r,n)&&e(r,n,{configurable:!0,value:o})}}function Gr(){if(Er)return Or;Er=1;var e=Wr().IteratorPrototype,t=An(),n=In(),r=qr(),o=Rn(),i=function(){return this};return Or=function(a,s,l,c){var u=s+" Iterator";return a.prototype=t(e,{next:n(+!c,l)}),r(a,u,!1,!0),o[u]=i,a}}function Kr(){if(Pr)return xr;Pr=1;var e=ee();return xr=function(t){return e(t)||null===t}}function Yr(){if(jr)return Dr;jr=1;var e=Kr(),t=String,n=TypeError;return Dr=function(r){if(e(r))return r;throw new n("Can't set "+t(r)+" as a prototype")}}function Zr(){if(Tr)return Cr;Tr=1;var e=function(){if(Sr)return kr;Sr=1;var e=oe(),t=gn();return kr=function(n,r,o){try{return e(t(Object.getOwnPropertyDescriptor(n,r)[o]))}catch(e){}}}(),t=ee(),n=le(),r=Yr();return Cr=Object.setPrototypeOf||("__proto__"in{}?function(){var o,i=!1,a={};try{(o=e(Object.prototype,"__proto__","set"))(a,[]),i=a instanceof Array}catch(e){}return function(e,a){return n(e),r(a),t(e)?(i?o(e,a):e.__proto__=a,e):e}}():void 0)}function Xr(){if(Ar)return Nr;Ar=1;var e=Ur(),t=pn(),n=Ie(),r=Jn(),o=J(),i=Gr(),a=Vr(),s=Zr(),l=qr(),c=Ln(),u=nr(),d=qe(),p=Rn(),h=Wr(),f=r.PROPER,m=r.CONFIGURABLE,b=h.IteratorPrototype,g=h.BUGGY_SAFARI_ITERATORS,v=d("iterator"),y="keys",_="values",w="entries",O=function(){return this};return Nr=function(r,d,h,E,k,S,x){i(h,d,E);var P,D,j,C=function(e){if(e===k&&R)return R;if(!g&&e&&e in A)return A[e];switch(e){case y:case _:case w:return function(){return new h(this,e)}}return function(){return new h(this)}},T=d+" Iterator",N=!1,A=r.prototype,M=A[v]||A["@@iterator"]||k&&A[k],R=!g&&M||C(k),I="Array"===d&&A.entries||M;if(I&&(P=a(I.call(new r)))!==Object.prototype&&P.next&&(n||a(P)===b||(s?s(P,b):o(P[v])||u(P,v,O)),l(P,T,!0,!0),n&&(p[T]=O)),f&&k===_&&M&&M.name!==_&&(!n&&m?c(A,"name",_):(N=!0,R=function(){return t(M,this)})),k)if(D={values:C(_),keys:S?R:C(y),entries:C(w)},x)for(j in D)(g||N||!(j in A))&&u(A,j,D[j]);else e({target:d,proto:!0,forced:g||N},D);return n&&!x||A[v]===R||u(A,v,R,{name:k}),p[d]=R,D}}function Qr(){return Rr?Mr:(Rr=1,Mr=function(e,t){return{value:e,done:t}})}function Jr(){if(Lr)return Ir;Lr=1;var e=ce(),t=Mn(),n=Rn(),r=Fn(),o=On().f,i=Xr(),a=Qr(),s=Ie(),l=Je(),c="Array Iterator",u=r.set,d=r.getterFor(c);Ir=i(Array,"Array",(function(t,n){u(this,{type:c,target:e(t),index:0,kind:n})}),(function(){var e=d(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=null,a(void 0,!0);switch(e.kind){case"keys":return a(n,!1);case"values":return a(t[n],!1)}return a([n,t[n]],!1)}),"values");var p=n.Arguments=n.Array;if(t("keys"),t("values"),t("entries"),!s&&l&&"values"!==p.name)try{o(p,"name",{value:"values"})}catch(e){}return Ir}!function(){if(Fr)return Z;Fr=1;var e=Q(),t=S?k:(S=1,k={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}),n=function(){if(A)return N;A=1;var e=te()("span").classList,t=e&&e.constructor&&e.constructor.prototype;return N=t===Object.prototype?void 0:t}(),r=Jr(),o=Ln(),i=qr(),a=qe()("iterator"),s=r.values,l=function(e,n){if(e){if(e[a]!==s)try{o(e,a,s)}catch(t){e[a]=s}if(i(e,n,!0),t[n])for(var l in r)if(e[l]!==r[l])try{o(e,l,r[l])}catch(t){e[l]=r[l]}}};for(var c in t)l(e[c]&&e[c].prototype,c);l(n,"DOMTokenList")}();var eo,to={exports:{}};var no,ro,oo,io=w((eo||(eo=1,no=to,function(){var e={}.hasOwnProperty;function t(){for(var e="",t=0;t<arguments.length;t++){var o=arguments[t];o&&(e=r(e,n(o)))}return e}function n(n){if("string"==typeof n||"number"==typeof n)return n;if("object"!=typeof n)return"";if(Array.isArray(n))return t.apply(null,n);if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]"))return n.toString();var o="";for(var i in n)e.call(n,i)&&n[i]&&(o=r(o,i));return o}function r(e,t){return t?e?e+" "+t:e+t:e}no.exports?(t.default=t,no.exports=t):window.classNames=t}()),to.exports)),ao={};var so,lo,co,uo,po,ho,fo,mo,bo,go,vo,yo,_o,wo,Oo,Eo,ko,So,xo,Po,Do,jo,Co,To,No,Ao,Mo,Ro,Io={};function Lo(){if(uo)return co;uo=1;var e=function(){if(lo)return so;lo=1;var e={};return e[qe()("toStringTag")]="z",so="[object z]"===String(e)}(),t=J(),n=ie(),r=qe()("toStringTag"),o=Object,i="Arguments"===n(function(){return arguments}());return co=e?n:function(e){var a,s,l;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(s=function(e,t){try{return e[t]}catch(e){}}(a=o(e),r))?s:i?n(a):"Object"===(l=n(a))&&t(a.callee)?"Arguments":l}}function Fo(){if(ho)return po;ho=1;var e=Lo(),t=String;return po=function(n){if("Symbol"===e(n))throw new TypeError("Cannot convert a Symbol value to a string");return t(n)}}function Ho(){if(mo)return fo;mo=1;var e=Ge();return fo=function(){var t=e(this),n="";return t.hasIndices&&(n+="d"),t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.dotAll&&(n+="s"),t.unicode&&(n+="u"),t.unicodeSets&&(n+="v"),t.sticky&&(n+="y"),n}}function zo(){if(Eo)return Oo;Eo=1;var e,t,n=pn(),r=oe(),o=Fo(),i=Ho(),a=function(){if(go)return bo;go=1;var e=ne(),t=Q().RegExp,n=e((function(){var e=t("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),r=n||e((function(){return!t("a","y").sticky})),o=n||e((function(){var e=t("^r","gy");return e.lastIndex=2,null!==e.exec("str")}));return bo={BROKEN_CARET:o,MISSED_STICKY:r,UNSUPPORTED_Y:n}}(),s=He(),l=An(),c=Fn().get,u=function(){if(yo)return vo;yo=1;var e=ne(),t=Q().RegExp;return vo=e((function(){var e=t(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}))}(),d=function(){if(wo)return _o;wo=1;var e=ne(),t=Q().RegExp;return _o=e((function(){var e=t("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))}(),p=s("native-string-replace",String.prototype.replace),h=RegExp.prototype.exec,f=h,m=r("".charAt),b=r("".indexOf),g=r("".replace),v=r("".slice),y=(t=/b*/g,n(h,e=/a/,"a"),n(h,t,"a"),0!==e.lastIndex||0!==t.lastIndex),_=a.BROKEN_CARET,w=void 0!==/()??/.exec("")[1];return(y||w||_||u||d)&&(f=function(e){var t,r,a,s,u,d,O,E=this,k=c(E),S=o(e),x=k.raw;if(x)return x.lastIndex=E.lastIndex,t=n(f,x,S),E.lastIndex=x.lastIndex,t;var P=k.groups,D=_&&E.sticky,j=n(i,E),C=E.source,T=0,N=S;if(D&&(j=g(j,"y",""),-1===b(j,"g")&&(j+="g"),N=v(S,E.lastIndex),E.lastIndex>0&&(!E.multiline||E.multiline&&"\n"!==m(S,E.lastIndex-1))&&(C="(?: "+C+")",N=" "+N,T++),r=new RegExp("^(?:"+C+")",j)),w&&(r=new RegExp("^"+C+"$(?!\\s)",j)),y&&(a=E.lastIndex),s=n(h,D?r:E,N),D?s?(s.input=v(s.input,T),s[0]=v(s[0],T),s.index=E.lastIndex,E.lastIndex+=s[0].length):E.lastIndex=0:y&&s&&(E.lastIndex=E.global?s.index+s[0].length:a),w&&s&&s.length>1&&n(p,s[0],r,(function(){for(u=1;u<arguments.length-2;u++)void 0===arguments[u]&&(s[u]=void 0)})),s&&P)for(s.groups=d=l(null),u=0;u<P.length;u++)d[(O=P[u])[0]]=s[O[1]];return s}),Oo=f}function $o(){if(xo)return So;xo=1,function(){if(ko)return Io;ko=1;var e=Ur(),t=zo();e({target:"RegExp",proto:!0,forced:/./.exec!==t},{exec:t})}();var e=pn(),t=nr(),n=zo(),r=ne(),o=qe(),i=Ln(),a=o("species"),s=RegExp.prototype;return So=function(l,c,u,d){var p=o(l),h=!r((function(){var e={};return e[p]=function(){return 7},7!==""[l](e)})),f=h&&!r((function(){var e=!1,t=/a/;return"split"===l&&((t={}).constructor={},t.constructor[a]=function(){return t},t.flags="",t[p]=/./[p]),t.exec=function(){return e=!0,null},t[p](""),!e}));if(!h||!f||u){var m=/./[p],b=c(p,""[l],(function(t,r,o,i,a){var l=r.exec;return l===n||l===s.exec?h&&!a?{done:!0,value:e(m,r,o,i)}:{done:!0,value:e(t,o,r,i)}:{done:!1}}));t(String.prototype,l,b[0]),t(s,p,b[1])}d&&i(s[p],"sham",!0)}}function Bo(){if(Do)return Po;Do=1;var e=oe(),t=En(),n=Fo(),r=le(),o=e("".charAt),i=e("".charCodeAt),a=e("".slice),s=function(e){return function(s,l){var c,u,d=n(r(s)),p=t(l),h=d.length;return p<0||p>=h?e?"":void 0:(c=i(d,p))<55296||c>56319||p+1===h||(u=i(d,p+1))<56320||u>57343?e?o(d,p):c:e?a(d,p,p+2):u-56320+(c-55296<<10)+65536}};return Po={codeAt:s(!1),charAt:s(!0)}}function Uo(){if(Co)return jo;Co=1;var e=Bo().charAt;return jo=function(t,n,r){return n+(r?e(t,n).length:1)}}function Vo(){if(No)return To;No=1;var e=oe(),t=ze(),n=Math.floor,r=e("".charAt),o=e("".replace),i=e("".slice),a=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;return To=function(e,l,c,u,d,p){var h=c+e.length,f=u.length,m=s;return void 0!==d&&(d=t(d),m=a),o(p,m,(function(t,o){var a;switch(r(o,0)){case"$":return"$";case"&":return e;case"`":return i(l,0,c);case"'":return i(l,h);case"<":a=d[i(o,1,-1)];break;default:var s=+o;if(0===s)return t;if(s>f){var p=n(s/10);return 0===p?t:p<=f?void 0===u[p-1]?r(o,1):u[p-1]+r(o,1):t}a=u[s-1]}return void 0===a?"":a}))},To}function Wo(){if(Mo)return Ao;Mo=1;var e=pn(),t=Ge(),n=J(),r=ie(),o=zo(),i=TypeError;return Ao=function(a,s){var l=a.exec;if(n(l)){var c=e(l,a,s);return null!==c&&t(c),c}if("RegExp"===r(a))return e(o,a,s);throw new i("RegExp#exec called on incompatible receiver")}}!function(){if(Ro)return ao;Ro=1;var e=function(){if(oo)return ro;oo=1;var e=re(),t=Function.prototype,n=t.apply,r=t.call;return ro="object"==typeof Reflect&&Reflect.apply||(e?r.bind(n):function(){return r.apply(n,arguments)}),ro}(),t=pn(),n=oe(),r=$o(),o=ne(),i=Ge(),a=J(),s=se(),l=En(),c=Sn(),u=Fo(),d=le(),p=Uo(),h=vn(),f=Vo(),m=Wo(),b=qe()("replace"),g=Math.max,v=Math.min,y=n([].concat),_=n([].push),w=n("".indexOf),O=n("".slice),E="$0"==="a".replace(/./,"$0"),k=!!/./[b]&&""===/./[b]("a","$0");r("replace",(function(n,r,o){var E=k?"$":"$0";return[function(e,n){var o=d(this),i=s(e)?void 0:h(e,b);return i?t(i,e,o,n):t(r,u(o),e,n)},function(t,n){var s=i(this),d=u(t);if("string"==typeof n&&-1===w(n,E)&&-1===w(n,"$<")){var h=o(r,s,d,n);if(h.done)return h.value}var b=a(n);b||(n=u(n));var k,S=s.global;S&&(k=s.unicode,s.lastIndex=0);for(var x,P=[];null!==(x=m(s,d))&&(_(P,x),S);){""===u(x[0])&&(s.lastIndex=p(d,c(s.lastIndex),k))}for(var D,j="",C=0,T=0;T<P.length;T++){for(var N,A=u((x=P[T])[0]),M=g(v(l(x.index),d.length),0),R=[],I=1;I<x.length;I++)_(R,void 0===(D=x[I])?D:String(D));var L=x.groups;if(b){var F=y([A],R,M,d);void 0!==L&&_(F,L),N=u(e(n,void 0,F))}else N=f(A,d,M,R,L,n);M>=C&&(j+=O(d,C,M)+N,C=M+A.length)}return j+O(d,C)}]}),!!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!E||k)}();var qo,Go,Ko,Yo,Zo,Xo,Qo,Jo,ei,ti,ni,ri,oi,ii,ai={};function si(){if(Go)return qo;Go=1;var e=ie(),t=oe();return qo=function(n){if("Function"===e(n))return t(n)}}function li(){if(Jo)return Qo;Jo=1;var e=oe(),t=ne(),n=J(),r=Lo(),o=hn(),i=er(),a=function(){},s=o("Reflect","construct"),l=/^\s*(?:class|function)\b/,c=e(l.exec),u=!l.test(a),d=function(e){if(!n(e))return!1;try{return s(a,[],e),!0}catch(e){return!1}},p=function(e){if(!n(e))return!1;switch(r(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return u||!!c(l,i(e))}catch(e){return!0}};return p.sham=!0,Qo=!s||t((function(){var e;return d(d.call)||!d(Object)||!d((function(){e=!0}))||e}))?p:d}function ci(){if(ti)return ei;ti=1;var e=li(),t=bn(),n=TypeError;return ei=function(r){if(e(r))return r;throw new n(t(r)+" is not a constructor")}}function ui(){if(ri)return ni;ri=1;var e=Ge(),t=ci(),n=se(),r=qe()("species");return ni=function(o,i){var a,s=e(o).constructor;return void 0===s||n(a=e(s)[r])?i:t(a)}}function di(){if(oi)return ai;oi=1;var e=Ur(),t=pn(),n=si(),r=Gr(),o=Qr(),i=le(),a=Sn(),s=Fo(),l=Ge(),c=se(),u=ie(),d=function(){if(Yo)return Ko;Yo=1;var e=ee(),t=ie(),n=qe()("match");return Ko=function(r){var o;return e(r)&&(void 0!==(o=r[n])?!!o:"RegExp"===t(r))}}(),p=function(){if(Xo)return Zo;Xo=1;var e=pn(),t=$e(),n=fn(),r=Ho(),o=RegExp.prototype;return Zo=function(i){var a=i.flags;return void 0!==a||"flags"in o||t(i,"flags")||!n(o,i)?a:e(r,i)}}(),h=vn(),f=nr(),m=ne(),b=qe(),g=ui(),v=Uo(),y=Wo(),_=Fn(),w=Ie(),O=b("matchAll"),E="RegExp String",k=E+" Iterator",S=_.set,x=_.getterFor(k),P=RegExp.prototype,D=TypeError,j=n("".indexOf),C=n("".matchAll),T=!!C&&!m((function(){C("a",/./)})),N=r((function(e,t,n,r){S(this,{type:k,regexp:e,string:t,global:n,unicode:r,done:!1})}),E,(function(){var e=x(this);if(e.done)return o(void 0,!0);var t=e.regexp,n=e.string,r=y(t,n);return null===r?(e.done=!0,o(void 0,!0)):e.global?(""===s(r[0])&&(t.lastIndex=v(n,a(t.lastIndex),e.unicode)),o(r,!1)):(e.done=!0,o(r,!1))})),A=function(e){var t,n,r,o=l(this),i=s(e),c=g(o,RegExp),u=s(p(o));return t=new c(c===RegExp?o.source:o,u),n=!!~j(u,"g"),r=!!~j(u,"u"),t.lastIndex=a(o.lastIndex),new N(t,i,n,r)};return e({target:"String",proto:!0,forced:T},{matchAll:function(e){var n,r,o,a,l=i(this);if(c(e)){if(T)return C(l,e)}else{if(d(e)&&(n=s(i(p(e))),!~j(n,"g")))throw new D("`.matchAll` does not allow non-global regexes");if(T)return C(l,e);if(void 0===(o=h(e,O))&&w&&"RegExp"===u(e)&&(o=A),o)return t(o,e,l)}return r=s(l),a=new RegExp(e,"g"),w?t(A,a,r):a[O](r)}}),w||O in P||f(P,O,A),ai}function pi(e){if(e&&"object"==typeof e){const t=e,n=t.which||t.keyCode||t.charCode;if(n)e=n;else if(t.key&&((e=t.key.toLowerCase()).startsWith("arrow")&&(e=e.replace("arrow","")),"spacebar"===e&&(e=e.replace("bar","")),"tab"!==e))return e}if("number"==typeof e)return mi[e];const t=String(e);{const e=hi[t.toLowerCase()];if(e)return e}{const e=fi[t.toLowerCase()];if(e)return e}return 1===t.length?t.charCodeAt(0):void 0}ii||(ii=1,di());const hi={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},fi={windows:91,"⇧":16,"⌥":18,"⌃":17,"⌘":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,spacebar:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};for(let e=97;e<123;e++)hi[String.fromCharCode(e)]=e-32;for(let e=48;e<58;e++)hi[e-48]=e;for(let e=1;e<13;e++)hi["f"+e]=e+111;for(let e=0;e<10;e++)hi["numpad "+e]=e+96;const mi={};for(const e in hi)mi[hi[e]]=e;for(const e in fi)hi[e]=fi[e];var bi,gi={exports:{}};var vi,yi=bi?gi.exports:(bi=1,vi=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=!1,a=["button","input","select","textarea"],s=[],l=[16,17,18,91,93],c=[],u={keydown:"keyboard",keyup:"keyboard",mousedown:"mouse",mousemove:"mouse",MSPointerDown:"pointer",MSPointerMove:"pointer",pointerdown:"pointer",pointermove:"pointer",touchstart:"touch",touchend:"touch"},d=!1,p={x:null,y:null},h={2:"touch",3:"touch",4:"mouse"},f=!1;try{var m=Object.defineProperty({},"passive",{get:function(){f=!0}});window.addEventListener("test",null,m)}catch(e){}var b=function(){var e=!f||{passive:!0,capture:!0};document.addEventListener("DOMContentLoaded",g,!0),window.PointerEvent?(window.addEventListener("pointerdown",v,!0),window.addEventListener("pointermove",_,!0)):window.MSPointerEvent?(window.addEventListener("MSPointerDown",v,!0),window.addEventListener("MSPointerMove",_,!0)):(window.addEventListener("mousedown",v,!0),window.addEventListener("mousemove",_,!0),"ontouchstart"in window&&(window.addEventListener("touchstart",v,e),window.addEventListener("touchend",v,!0))),window.addEventListener(x(),_,e),window.addEventListener("keydown",v,!0),window.addEventListener("keyup",v,!0),window.addEventListener("focusin",w,!0),window.addEventListener("focusout",O,!0)},g=function(){if(i=!("false"===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){}y("input"),y("intent")},v=function(e){var t=e.which,o=u[e.type];"pointer"===o&&(o=k(e));var i=!c.length&&-1===l.indexOf(t),s=c.length&&-1!==c.indexOf(t),d="keyboard"===o&&t&&(i||s)||"mouse"===o||"touch"===o;if(S(o)&&(d=!1),d&&n!==o&&(E("input",n=o),y("input")),d&&r!==o){var p=document.activeElement;p&&p.nodeName&&(-1===a.indexOf(p.nodeName.toLowerCase())||"button"===p.nodeName.toLowerCase()&&!j(p,"form"))&&(E("intent",r=o),y("intent"))}},y=function(t){e.setAttribute("data-what"+t,"input"===t?n:r),P(t)},_=function(e){var t=u[e.type];"pointer"===t&&(t=k(e)),D(e),(!d&&!S(t)||d&&"wheel"===e.type||"mousewheel"===e.type||"DOMMouseScroll"===e.type)&&r!==t&&(E("intent",r=t),y("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?h[e.pointerType]:"pen"===e.pointerType?"touch":e.pointerType},S=function(e){var t=Date.now(),r="mouse"===e&&"touch"===n&&t-o<200;return o=t,r},x=function(){return"onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll"},P=function(e){for(var t=0,o=s.length;t<o;t++)s[t].type===e&&s[t].fn.call(void 0,"input"===e?n:r)},D=function(e){p.x!==e.screenX||p.y!==e.screenY?(d=!1,p.x=e.screenX,p.y=e.screenY):d=!0},j=function(e,t){var n=window.Element.prototype;if(n.matches||(n.matches=n.msMatchesSelector||n.webkitMatchesSelector),n.closest)return e.closest(t);do{if(e.matches(t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null};return"addEventListener"in window&&Array.prototype.indexOf&&(u[x()]="mouse",b()),{ask:function(e){return"intent"===e?r:n},element:function(){return t},ignoreKeys:function(e){l=e},specificKeys:function(e){c=e},registerOnChange:function(e,t){s.push({fn:e,type:t||"input"})},unRegisterOnChange:function(e){var t=function(e){for(var t=0,n=s.length;t<n;t++)if(s[t].fn===e)return t}(e);(t||0===t)&&s.splice(t,1)},clearStorage:function(){window.sessionStorage.clear()}}}()}])},gi.exports=vi()),_i=w(yi);function wi(){throw new Error("setTimeout has not been defined")}function Oi(){throw new Error("clearTimeout has not been defined")}var Ei=wi,ki=Oi;function Si(e){if(Ei===setTimeout)return setTimeout(e,0);if((Ei===wi||!Ei)&&setTimeout)return Ei=setTimeout,setTimeout(e,0);try{return Ei(e,0)}catch(t){try{return Ei.call(null,e,0)}catch(t){return Ei.call(this,e,0)}}}"function"==typeof X.setTimeout&&(Ei=setTimeout),"function"==typeof X.clearTimeout&&(ki=clearTimeout);var xi,Pi=[],Di=!1,ji=-1;function Ci(){Di&&xi&&(Di=!1,xi.length?Pi=xi.concat(Pi):ji=-1,Pi.length&&Ti())}function Ti(){if(!Di){var e=Si(Ci);Di=!0;for(var t=Pi.length;t;){for(xi=Pi,Pi=[];++ji<t;)xi&&xi[ji].run();ji=-1,t=Pi.length}xi=null,Di=!1,function(e){if(ki===clearTimeout)return clearTimeout(e);if((ki===Oi||!ki)&&clearTimeout)return ki=clearTimeout,clearTimeout(e);try{return ki(e)}catch(t){try{return ki.call(null,e)}catch(t){return ki.call(this,e)}}}(e)}}function Ni(e,t){this.fun=e,this.array=t}Ni.prototype.run=function(){this.fun.apply(null,this.array)};function Ai(){}var Mi=Ai,Ri=Ai,Ii=Ai,Li=Ai,Fi=Ai,Hi=Ai,zi=Ai;var $i=X.performance||{},Bi=$i.now||$i.mozNow||$i.msNow||$i.oNow||$i.webkitNow||function(){return(new Date).getTime()};var Ui=new Date;var Vi={nextTick:function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];Pi.push(new Ni(e,t)),1!==Pi.length||Di||Si(Ti)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:Mi,addListener:Ri,once:Ii,off:Li,removeListener:Fi,removeAllListeners:Hi,emit:zi,binding:function(e){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(e){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(e){var t=.001*Bi.call($i),n=Math.floor(t),r=Math.floor(t%1*1e9);return e&&(n-=e[0],(r-=e[1])<0&&(n--,r+=1e9)),[n,r]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-Ui)/1e3}};function Wi(e){var t,n,r,o,i,a,s;const l="getMockImplementation";null!==(t=e)&&void 0!==t&&null!==(n=t[l])&&void 0!==n&&n.call(t)&&(e=e[l]());const c=e instanceof(async()=>null).constructor;if(c!==("AsyncFunction"===(null===(r=e)||void 0===r||null===(o=r.constructor)||void 0===o?void 0:o.name)))return!0;return!!(null===(i=e)||void 0===i||null===(a=i.toString())||void 0===a||null===(s=a.trim())||void 0===s?void 0:s.match(/return _ref[^.]*\.apply/))||c}function qi(e){let t,n,r,o,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,{immediate:a=!1,instance:s=null,async:l=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},c=!1;const u=[],d=()=>{var e;c=!0,clearTimeout(t),null===(e=r)||void 0===e||e(),u.forEach((e=>{e()}))},p=e=>(u.includes(e)||u.push(e),()=>c);function h(){for(var u=arguments.length,h=new Array(u),f=0;f<u;f++)h[f]=arguments[f];"function"==typeof n&&n(),c=!1;const m=s||this||{};m.cancel=d,m.addCancelEvent=p;const b=i=>{if(t=null,i||!a)try{var s;n=e.apply(m,h),null===(s=r)||void 0===s||s(n)}catch(e){var l;null===(l=o)||void 0===l||l(e)}},g=a&&!t;return clearTimeout(t),t=setTimeout(b,i),g&&b(!0),l?new Promise(((e,t)=>{r=e,o=t})):n}function f(){return h(...arguments)}async function m(){return h(...arguments)}return f.cancel=d,f.addCancelEvent=p,m.cancel=d,m.addCancelEvent=p,Wi(e)?m:f}const Gi="Mac|iPad|iPhone|iPod",Ki="Linux";let Yi=!1,Zi=!1,Xi=!1,Qi=!1,Ji=!1,ea=!1;const ta=()=>{var e;return ea="undefined"!=typeof navigator&&new RegExp("Android","i").test(null===(e=navigator)||void 0===e?void 0:e.userAgent)};var na,ra,oa,ia,aa,sa,la;Yi="undefined"!=typeof navigator&&/edge/i.test(null===(na=navigator)||void 0===na?void 0:na.userAgent),Zi="undefined"!=typeof navigator&&new RegExp("iOS|iPhone|iPad|iPod","i").test(null===(ra=navigator)||void 0===ra?void 0:ra.platform),Xi="undefined"!=typeof navigator&&/safari/i.test(null===(oa=navigator)||void 0===oa?void 0:oa.userAgent)&&!/chrome/i.test(null===(ia=navigator)||void 0===ia?void 0:ia.userAgent),Qi="undefined"!=typeof navigator&&new RegExp("Win","i").test(null===(aa=navigator)||void 0===aa?void 0:aa.platform),ta(),Ji="undefined"!=typeof navigator&&new RegExp(Gi,"i").test(null===(sa=navigator)||void 0===sa?void 0:sa.platform),"undefined"!=typeof navigator&&new RegExp(Ki,"i").test(null===(la=navigator)||void 0===la?void 0:la.platform);const ca={};function ua(e){let t=0;if(e)do{isNaN(e.offsetTop)||(t+=e.offsetTop)}while(e=e.offsetParent);return t}function da(e){let t=0;if(e)do{isNaN(e.offsetLeft)||(t+=e.offsetLeft)}while(e=e.offsetParent);return t}function pa(){return function(){try{return window.getSelection().toString()}catch(e){}return""}().length>0}function ha(){try{const e=window.getSelection();if(e.rangeCount>0){let t=e.getRangeAt(0).startContainer;return t&&"object"==typeof t&&(t=t.parentNode),t}}catch(e){}return null}function fa(e){return String(e).includes("--")?e:e?/#|var/.test(e)?e:`var(--color-${e})`:void 0}!function(){try{0}catch(e){console.error(e)}}();const ma=(e,t)=>{try{const r=/[A-Z]/.test(e)?e:null,o=r?null:e.replace(/^\./,""),i=e=>e?r?(null==e?void 0:e.tagName)===r:null==e?void 0:e.classList.contains(o):null;if(i(t))return t;for(;(t=null===(n=t)||void 0===n?void 0:n.parentElement)&&!i(t);)var n}catch(e){}return t};function ba(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}const ga=t=>{if(!t)return null;if(void 0!==X&&Array.isArray(X.registeredElements)&&X.registeredElements.length>0){let n=null;if(Object.entries(t).reverse().map((r=>{let[o,i]=r;return o.includes("render_")&&/^render_/.test(o)&&"function"==typeof i?(n&&(Object.isFrozen(t)&&(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ba(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ba(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t)),t.children=n),n=e.createElement(e.Fragment,{key:o},i(t))):null})).filter(Boolean),n)return n}const n="function"==typeof t.children?t.children(t):t.children;if(Array.isArray(n)){const e=n.reduce(((e,t)=>("string"!=typeof t&&"number"!=typeof t||e.push(t),e)),[]);if(e.length===n.length&&e.length>0)return e.join("")}return n},va=(e,t,n)=>new ya(e,t,n);class ya{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};y(this,"checkOutsideClick",(function(e){let{event:t,ignoreElements:n}=e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;try{const e=t.target;if("HTML"===(null==e?void 0:e.tagName)&&(t.pageX>document.documentElement.clientWidth-40||t.pageY>document.documentElement.clientHeight-40))return;if(_a(e))return;for(let t,r=0,o=n.length;r<o;++r){const o=n[r]&&"current"in n[r]?n[r].current:n[r];if(t=e,n[r])do{if(t===o)return;t=t&&t.parentNode}while(t)}"function"==typeof r&&r()}catch(e){}})),this.handleClickOutside||"undefined"==typeof document||"undefined"==typeof window||(Array.isArray(e)||(e=[e]),this.handleClickOutside=n=>{this.checkOutsideClick({event:n,ignoreElements:e},(()=>"function"==typeof t&&t({event:n})))},document.addEventListener("mousedown",this.handleClickOutside),this.keydownCallback=e=>{"esc"===pi(e)&&(window.removeEventListener("keydown",this.keydownCallback),"function"==typeof t&&t({event:e}))},window.addEventListener("keydown",this.keydownCallback),n.includedKeys&&(this.keyupCallback=e=>{const t=pi(e);n.includedKeys.includes(t)&&"function"==typeof this.handleClickOutside&&this.handleClickOutside(e,(()=>{this.keyupCallback&&window.removeEventListener("keyup",this.keyupCallback)}))},window.addEventListener("keyup",this.keyupCallback)))}remove(){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)}}const _a=e=>e&&(e.scrollHeight>e.offsetHeight||e.scrollWidth>e.offsetWidth)&&wa(e),wa=e=>{const t="undefined"!=typeof window?window.getComputedStyle(e):{};return/scroll|auto/i.test((t.overflow||"")+(t.overflowX||"")+(t.overflowY||""))};class Oa{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return this.bypassElement=null,this.bypassSelectors=[],this.options=e||{},this}setBypassElement(e){return e instanceof HTMLElement&&(this.bypassElement=e),this}setBypassSelector(e){return Array.isArray(e)||(e=[e]),this.bypassSelectors=e,this}activate(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this._nodesToInvalidate||this._runInvalidation(e)}revert(){this._revertInvalidation(),this._nodesToInvalidate=null}_runInvalidation(e){if("undefined"!=typeof document&&(this._nodesToInvalidate=this.getNodesToInvalidate(e),Array.isArray(this._nodesToInvalidate)))for(const e of this._nodesToInvalidate)if(e){if(!1!==this.options.tabIndex){const t=e.getAttribute("tabindex");null!==t&&void 0===e.__tabindex&&(e.__tabindex=t),e.setAttribute("tabindex","-1")}if(!1!==this.options.ariaHidden){const t=e.getAttribute("aria-hidden");null!==t&&void 0===e.__ariahidden&&(e.__ariahidden=t),e.setAttribute("aria-hidden","true")}}}_revertInvalidation(){if(Array.isArray(this._nodesToInvalidate))for(const e of this._nodesToInvalidate)e&&(!1!==this.options.tabIndex&&(void 0!==e.__tabindex?(e.setAttribute("tabindex",e.__tabindex),delete e.__tabindex):e.removeAttribute("tabindex")),!1!==this.options.ariaHidden&&(void 0!==e.__ariahidden?(e.setAttribute("aria-hidden",e.__ariahidden),delete e.__ariahidden):e.removeAttribute("aria-hidden")))}getNodesToInvalidate(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if("undefined"==typeof document)return[];"string"==typeof e&&(e=document.querySelector(e));const t=`${e?"*":"html *"} ${this.bypassSelectors.map((e=>`:not(${e})`)).join("")}:not(script):not(style):not(path):not(head *)`;try{return Array.from((e||document.documentElement).querySelectorAll(t))}catch(e){}}}function Ea(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 ka(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ea(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ea(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Sa(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=ka(ka({},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 ka(ka({},e),Pa(e,t,r))}function xa(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return ka(ka({},e),Pa(e,t,r,{onlyMergeExistingProps:!0}))}function Pa(e,t,n){let{onlyMergeExistingProps:r=!1}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const o=function(e){return e.reduce(((e,t)=>(t&&(e=ka(ka({},e),t)),e)),{})}(n);return Object.entries(o).reduce(((n,o)=>{let[i,a]=o;return r&&!Object.prototype.hasOwnProperty.call(e,i)||e[i]===(null==t?void 0:t[i])&&(n[i]=a),n}),{})}function Da(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;Array.isArray(t)&&(t=t.reduce(((e,t)=>(e[t]=!0,e)),{})),Array.isArray(n)&&(n=n.reduce(((e,t)=>(e[t]=!0,e)),{}));const r=Array.isArray(e);return Object.entries(e).reduce(((e,o)=>{var i,a;let[s,l]=o;return r&&(s=l),("function"==typeof t?t(s):void 0!==(null===(i=t)||void 0===i?void 0:i[s]))&&!("function"==typeof n?n(s):void 0!==(null===(a=n)||void 0===a?void 0:a[s]))||(r?e.push(l):e[s]=l),e}),r?[]:{})}function ja(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 Ca(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ja(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ja(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}!function(){if("undefined"!=typeof window){class e{constructor(){window.__eufemiaVersions||(window.__eufemiaVersions=[]),window.__eufemiaVersions.includes(this.version)||window.__eufemiaVersions.push(this.version),window.__eufemiaSHAs||(window.__eufemiaSHAs=[]),window.__eufemiaSHAs.includes(this.sha)||window.__eufemiaSHAs.push(this.sha)}get version(){return"10.77.0"}get versions(){return window.__eufemiaVersions}get sha(){return"727eb87b2"}get shas(){return window.__eufemiaSHAs}}window.Eufemia=new e}}(),_i.specificKeys([9]),function(){const 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(Gi))?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(Ki))&&document.docume