tocco-widget-bundle 3.13.43 → 3.13.44
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 +4 -0
- package/dist/address-update.js +1 -1
- package/dist/chunk-103.da6cfcb4de196b42d66a.js +19 -0
- package/dist/chunk-601.6d9c30d1334109ac1832.js +1 -0
- package/dist/chunk-vendor-icons.e7b460b6518214bb5b8b.js +1 -0
- package/dist/docs-browser.js +2 -2
- package/dist/education-portfolio.js +1 -1
- package/dist/entity-browser.js +1 -1
- package/dist/entity-dms.js +2 -2
- package/dist/evaluation-execution-participation.js +1 -1
- package/dist/event-registration.js +1 -1
- package/dist/freemarker-code.js +1 -1
- package/dist/function-mutation.js +1 -1
- package/dist/job-application.js +1 -1
- package/dist/login.js +1 -1
- package/dist/mailing-list.js +1 -1
- package/dist/membership-registration.js +1 -1
- package/dist/password-update.js +1 -1
- package/dist/personal-dms.js +2 -2
- package/dist/public-dms.js +2 -2
- package/dist/sso-login.js +1 -1
- package/dist/stint-auction.js +1 -1
- package/dist/user-availability.js +1 -1
- package/dist/user-grades.js +1 -1
- package/dist/user-menu.js +1 -1
- package/dist/wage-view.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-103.032ff10491291b37409a.js +0 -19
- package/dist/chunk-601.c92773b17d41879ea5ed.js +0 -1
- package/dist/chunk-vendor-icons.9a0f95c0784f2f7b4ea7.js +0 -1
package/dist/entity-browser.js
CHANGED
|
@@ -64,4 +64,4 @@ var r=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[hre
|
|
|
64
64
|
* LICENSE file in the root directory of this source tree.
|
|
65
65
|
*/var r=n(4883);var o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=r.useSyncExternalStore,a=r.useRef,c=r.useEffect,s=r.useMemo,u=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,l){var d=a(null);if(null===d.current){var p={hasValue:!1,value:null};d.current=p}else p=d.current;d=s((function(){function e(e){if(!c){if(c=!0,i=e,e=r(e),void 0!==l&&p.hasValue){var t=p.value;if(l(t,e))return a=t}return a=e}if(t=a,o(i,e))return t;var n=r(e);return void 0!==l&&l(t,n)?(i=e,t):(i=e,a=n)}var i,a,c=!1,s=void 0===n?null:n;return[function(){return e(t())},null===s?void 0:function(){return e(s())}]}),[t,n,r,l]);var f=i(e,d[0],d[1]);return c((function(){p.hasValue=!0,p.value=f}),[f]),u(f),f}},78418:(e,t,n)=>{"use strict";e.exports=n(85160)},91943:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)}},43407:(e,t,n)=>{"use strict";var r;n.d(t,{A:()=>i});var o=new Uint8Array(16);function i(){if(!r&&!(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(o)}},38823:(e,t,n)=>{"use strict";n.d(t,{k:()=>i});for(var r=[],o=0;o<256;++o)r.push((o+256).toString(16).slice(1));function i(e,t=0){return(r[e[t+0]]+r[e[t+1]]+r[e[t+2]]+r[e[t+3]]+"-"+r[e[t+4]]+r[e[t+5]]+"-"+r[e[t+6]]+r[e[t+7]]+"-"+r[e[t+8]]+r[e[t+9]]+"-"+r[e[t+10]]+r[e[t+11]]+r[e[t+12]]+r[e[t+13]]+r[e[t+14]]+r[e[t+15]]).toLowerCase()}},18562:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(91943),o=n(43407),i=n(38823);const a=function(e,t,n){if(r.A.randomUUID&&!t&&!e)return r.A.randomUUID();var a=(e=e||{}).random||(e.rng||o.A)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t){n=n||0;for(var c=0;c<16;++c)t[n+c]=a[c];return t}return(0,i.k)(a)}},4883:e=>{"use strict";e.exports=t},81845:t=>{"use strict";t.exports=e},22847:e=>{e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},56868:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},37372:(e,t,n)=>{"use strict";var r=Object.create,o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,c=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty,u=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of a(t))!s.call(e,c)&&c!==n&&o(e,c,{get:()=>t[c],enumerable:!(r=i(t,c))||r.enumerable});return e},l={};((e,t)=>{for(var n in t)o(e,n,{get:t[n],enumerable:!0})})(l,{Provider:()=>ce,ReactReduxContext:()=>ne,batch:()=>ye,connect:()=>ae,createDispatchHook:()=>pe,createSelectorHook:()=>ve,createStoreHook:()=>le,shallowEqual:()=>U,useDispatch:()=>fe,useSelector:()=>ge,useStore:()=>de}),e.exports=(e=>u(o({},"__esModule",{value:!0}),e))(l);var d=((e,t,n)=>(n=null!=e?r(c(e)):{},u(!t&&e&&e.__esModule?n:o(n,"default",{value:e,enumerable:!0}),e)))(n(4883)),p=d.version.startsWith("19"),f=Symbol.for(p?"react.transitional.element":"react.element"),h=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),g=Symbol.for("react.profiler"),y=Symbol.for("react.consumer"),b=Symbol.for("react.context"),x=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),A=Symbol.for("react.suspense_list"),O=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),E=x,S=O;function j(e){return function(e){if("object"==typeof e&&null!==e){let{$$typeof:t}=e;switch(t){case f:switch(e=e.type){case m:case g:case v:case w:case A:return e;default:switch(e=e&&e.$$typeof){case b:case x:case k:case O:case y:return e;default:return t}}case h:return t}}}(e)===O}function T(e,t,n,r,{areStatesEqual:o,areOwnPropsEqual:i,areStatePropsEqual:a}){let c,s,u,l,d,p=!1;function f(p,f){let h=!i(f,s),m=!o(p,c,f,s);return c=p,s=f,h&&m?(u=e(c,s),t.dependsOnOwnProps&&(l=t(r,s)),d=n(u,l,s),d):h?(e.dependsOnOwnProps&&(u=e(c,s)),t.dependsOnOwnProps&&(l=t(r,s)),d=n(u,l,s),d):m?function(){let t=e(c,s),r=!a(t,u);return u=t,r&&(d=n(u,l,s)),d}():d}return function(o,i){return p?f(o,i):function(o,i){return c=o,s=i,u=e(c,s),l=t(r,s),d=n(u,l,s),p=!0,d}(o,i)}}function P(e){return function(t){let n=e(t);function r(){return n}return r.dependsOnOwnProps=!1,r}}function C(e){return e.dependsOnOwnProps?!!e.dependsOnOwnProps:1!==e.length}function _(e,t){return function(t,{displayName:n}){let r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e,void 0)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=C(e);let o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=C(o),o=r(t,n)),o},r}}function D(e,t){return(n,r)=>{throw new Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${r.wrappedComponentName}.`)}}function R(e,t,n){return{...n,...e,...t}}function N(e){e()}var I={notify(){},get:()=>[]};function M(e,t){let n,r=I,o=0,i=!1;function a(){u.onStateChange&&u.onStateChange()}function c(){o++,n||(n=t?t.addNestedSub(a):e.subscribe(a),r=function(){let e=null,t=null;return{clear(){e=null,t=null},notify(){N((()=>{let t=e;for(;t;)t.callback(),t=t.next}))},get(){let t=[],n=e;for(;n;)t.push(n),n=n.next;return t},subscribe(n){let r=!0,o=t={callback:n,next:null,prev:t};return o.prev?o.prev.next=o:e=o,function(){!r||null===e||(r=!1,o.next?o.next.prev=o.prev:t=o.prev,o.prev?o.prev.next=o.next:e=o.next)}}}}())}function s(){o--,n&&0===o&&(n(),n=void 0,r.clear(),r=I)}let u={addNestedSub:function(e){c();let t=r.subscribe(e),n=!1;return()=>{n||(n=!0,t(),s())}},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:a,isSubscribed:function(){return i},trySubscribe:function(){i||(i=!0,c())},tryUnsubscribe:function(){i&&(i=!1,s())},getListeners:()=>r};return u}var L=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",F=typeof navigator<"u"&&"ReactNative"===navigator.product,H=L||F?d.useLayoutEffect:d.useEffect;function B(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function U(e,t){if(B(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r=0;r<n.length;r++)if(!Object.prototype.hasOwnProperty.call(t,n[r])||!B(e[n[r]],t[n[r]]))return!1;return!0}var W={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},z={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},G={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},q={[E]:{$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},[S]:G};function Y(e){return j(e)?G:q[e.$$typeof]||W}var V=Object.defineProperty,$=Object.getOwnPropertyNames,K=Object.getOwnPropertySymbols,J=Object.getOwnPropertyDescriptor,X=Object.getPrototypeOf,Q=Object.prototype;function Z(e,t){if("string"!=typeof t){if(Q){let n=X(t);n&&n!==Q&&Z(e,n)}let n=$(t);K&&(n=n.concat(K(t)));let r=Y(e),o=Y(t);for(let i=0;i<n.length;++i){let a=n[i];if(!(z[a]||o&&o[a]||r&&r[a])){let n=J(t,a);try{V(e,a,n)}catch{}}}}return e}var ee=Symbol.for("react-redux-context"),te=typeof globalThis<"u"?globalThis:{};var ne=function(){if(!d.createContext)return{};let e=te[ee]??=new Map,t=e.get(d.createContext);return t||(t=d.createContext(null),e.set(d.createContext,t)),t}(),re=[null,null];function oe(e,t,n,r,o,i){e.current=r,n.current=!1,o.current&&(o.current=null,i())}function ie(e,t){return e===t}var ae=function(e,t,n,{pure:r,areStatesEqual:o=ie,areOwnPropsEqual:i=U,areStatePropsEqual:a=U,areMergedPropsEqual:c=U,forwardRef:s=!1,context:u=ne}={}){let l=u,p=function(e){return e?"function"==typeof e?_(e):D(e,"mapStateToProps"):P((()=>({})))}(e),f=function(e){return e&&"object"==typeof e?P((t=>function(e,t){let n={};for(let r in e){let o=e[r];"function"==typeof o&&(n[r]=(...e)=>t(o(...e)))}return n}(e,t))):e?"function"==typeof e?_(e):D(e,"mapDispatchToProps"):P((e=>({dispatch:e})))}(t),h=function(e){return e?"function"==typeof e?function(e){return function(t,{displayName:n,areMergedPropsEqual:r}){let o,i=!1;return function(t,n,a){let c=e(t,n,a);return i?r(c,o)||(o=c):(i=!0,o=c),o}}}(e):D(e,"mergeProps"):()=>R}(n),m=!!e;return e=>{let t=e.displayName||e.name||"Component",n=`Connect(${t})`,r={shouldHandleStateChanges:m,displayName:n,wrappedComponentName:t,WrappedComponent:e,initMapStateToProps:p,initMapDispatchToProps:f,initMergeProps:h,areStatesEqual:o,areStatePropsEqual:a,areOwnPropsEqual:i,areMergedPropsEqual:c};function u(t){let[n,o,i]=d.useMemo((()=>{let{reactReduxForwardedRef:e,...n}=t;return[t.context,e,n]}),[t]),a=d.useMemo((()=>l),[n,l]),c=d.useContext(a),s=!!t.store&&!!t.store.getState&&!!t.store.dispatch,u=!!c&&!!c.store,p=s?t.store:c.store,f=u?c.getServerState:p.getState,h=d.useMemo((()=>function(e,{initMapStateToProps:t,initMapDispatchToProps:n,initMergeProps:r,...o}){return T(t(e,o),n(e,o),r(e,o),e,o)}(p.dispatch,r)),[p]),[v,g]=d.useMemo((()=>{if(!m)return re;let e=M(p,s?void 0:c.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[p,s,c]),y=d.useMemo((()=>s?c:{...c,subscription:v}),[s,c,v]),b=d.useRef(void 0),x=d.useRef(i),w=d.useRef(void 0),A=d.useRef(!1),O=d.useRef(!1),k=d.useRef(void 0);H((()=>(O.current=!0,()=>{O.current=!1})),[]);let E,S=d.useMemo((()=>()=>w.current&&i===x.current?w.current:h(p.getState(),i)),[p,i]),j=d.useMemo((()=>e=>v?function(e,t,n,r,o,i,a,c,s,u,l){if(!e)return()=>{};let d=!1,p=null,f=()=>{if(d||!c.current)return;let e,n,f=t.getState();try{e=r(f,o.current)}catch(e){n=e,p=e}n||(p=null),e===i.current?a.current||u():(i.current=e,s.current=e,a.current=!0,l())};return n.onStateChange=f,n.trySubscribe(),f(),()=>{if(d=!0,n.tryUnsubscribe(),n.onStateChange=null,p)throw p}}(m,p,v,h,x,b,A,O,w,g,e):()=>{}),[v]);!function(e,t,n){H((()=>e(...t)),n)}(oe,[x,b,A,i,w,g]);try{E=d.useSyncExternalStore(j,S,f?()=>h(f(),i):S)}catch(e){throw k.current&&(e.message+=`\nThe error may be correlated with this previous error:\n${k.current.stack}\n\n`),e}H((()=>{k.current=void 0,w.current=void 0,b.current=E}));let P=d.useMemo((()=>d.createElement(e,{...E,ref:o})),[o,e,E]);return d.useMemo((()=>m?d.createElement(a.Provider,{value:y},P):P),[a,P,y])}let v=d.memo(u);if(v.WrappedComponent=e,v.displayName=u.displayName=n,s){let t=d.forwardRef((function(e,t){return d.createElement(v,{...e,reactReduxForwardedRef:t})}));return t.displayName=n,t.WrappedComponent=e,Z(t,e)}return Z(v,e)}};var ce=function(e){let{children:t,context:n,serverState:r,store:o}=e,i=d.useMemo((()=>{let e=M(o);return{store:o,subscription:e,getServerState:r?()=>r:void 0}}),[o,r]),a=d.useMemo((()=>o.getState()),[o]);return H((()=>{let{subscription:e}=i;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),a!==o.getState()&&e.notifyNestedSubs(),()=>{e.tryUnsubscribe(),e.onStateChange=void 0}}),[i,a]),d.createElement((n||ne).Provider,{value:i},t)};function se(e=ne){return function(){return d.useContext(e)}}var ue=se();function le(e=ne){let t=e===ne?ue:se(e),n=()=>{let{store:e}=t();return e};return Object.assign(n,{withTypes:()=>n}),n}var de=le();function pe(e=ne){let t=e===ne?de:le(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var fe=pe(),he=n(78418),me=(e,t)=>e===t;function ve(e=ne){let t=e===ne?ue:se(e),n=(e,n={})=>{let{equalityFn:r=me}="function"==typeof n?{equalityFn:n}:n,o=t(),{store:i,subscription:a,getServerState:c}=o,s=(d.useRef(!0),d.useCallback({[e.name]:t=>e(t)}[e.name],[e])),u=(0,he.useSyncExternalStoreWithSelector)(a.addNestedSub,i.getState,c||i.getState,s,r);return d.useDebugValue(u),u};return Object.assign(n,{withTypes:()=>n}),n}var ge=ve(),ye=N},58168:(e,t,n)=>{"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{A:()=>r})},98587:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{A:()=>r})},7230:(e,t,n)=>{"use strict";n.d(t,{LU:()=>s,MS:()=>r,Sv:()=>l,XZ:()=>c,YK:()=>a,j:()=>i,vd:()=>o,yE:()=>u});var r="-ms-",o="-moz-",i="-webkit-",a="comm",c="rule",s="decl",u="@import",l="@keyframes"},35095:(e,t,n)=>{"use strict";n.d(t,{MY:()=>i,r1:()=>o});var r=n(30735);function o(e){var t=(0,r.FK)(e);return function(n,r,o,i){for(var a="",c=0;c<t;c++)a+=e[c](n,r,o,i)||"";return a}}function i(e){return function(t){t.root||(t=t.return)&&e(t)}}},27292:(e,t,n)=>{"use strict";n.d(t,{wE:()=>a});var r=n(7230),o=n(30735),i=n(65070);function a(e){return(0,i.VF)(c("",null,null,null,[""],e=(0,i.c4)(e),0,[0],e))}function c(e,t,n,r,a,d,p,f,h){for(var m=0,v=0,g=p,y=0,b=0,x=0,w=1,A=1,O=1,k=0,E="",S=a,j=d,T=r,P=E;A;)switch(x=k,k=(0,i.K2)()){case 40:if(108!=x&&58==(0,o.wN)(P,g-1)){-1!=(0,o.K5)(P+=(0,o.HC)((0,i.Tb)(k),"&","&\f"),"&\f")&&(O=-1);break}case 34:case 39:case 91:P+=(0,i.Tb)(k);break;case 9:case 10:case 13:case 32:P+=(0,i.mw)(x);break;case 92:P+=(0,i.Nc)((0,i.OW)()-1,7);continue;case 47:switch((0,i.se)()){case 42:case 47:(0,o.BC)(u((0,i.nf)((0,i.K2)(),(0,i.OW)()),t,n),h);break;default:P+="/"}break;case 123*w:f[m++]=(0,o.b2)(P)*O;case 125*w:case 59:case 0:switch(k){case 0:case 125:A=0;case 59+v:b>0&&(0,o.b2)(P)-g&&(0,o.BC)(b>32?l(P+";",r,n,g-1):l((0,o.HC)(P," ","")+";",r,n,g-2),h);break;case 59:P+=";";default:if((0,o.BC)(T=s(P,t,n,m,v,a,f,E,S=[],j=[],g),d),123===k)if(0===v)c(P,t,T,T,S,d,g,f,j);else switch(99===y&&110===(0,o.wN)(P,3)?100:y){case 100:case 109:case 115:c(e,T,T,r&&(0,o.BC)(s(e,T,T,0,0,a,f,E,a,S=[],g),j),a,j,g,f,r?S:j);break;default:c(P,T,T,T,[""],j,0,f,j)}}m=v=b=0,w=O=1,E=P="",g=p;break;case 58:g=1+(0,o.b2)(P),b=x;default:if(w<1)if(123==k)--w;else if(125==k&&0==w++&&125==(0,i.YL)())continue;switch(P+=(0,o.HT)(k),k*w){case 38:O=v>0?1:(P+="\f",-1);break;case 44:f[m++]=((0,o.b2)(P)-1)*O,O=1;break;case 64:45===(0,i.se)()&&(P+=(0,i.Tb)((0,i.K2)())),y=(0,i.se)(),v=g=(0,o.b2)(E=P+=(0,i.Cv)((0,i.OW)())),k++;break;case 45:45===x&&2==(0,o.b2)(P)&&(w=0)}}return d}function s(e,t,n,a,c,s,u,l,d,p,f){for(var h=c-1,m=0===c?s:[""],v=(0,o.FK)(m),g=0,y=0,b=0;g<a;++g)for(var x=0,w=(0,o.c1)(e,h+1,h=(0,o.tn)(y=u[g])),A=e;x<v;++x)(A=(0,o.Bq)(y>0?m[x]+" "+w:(0,o.HC)(w,/&\f/g,m[x])))&&(d[b++]=A);return(0,i.rH)(e,t,n,0===c?r.XZ:l,d,p,f)}function u(e,t,n){return(0,i.rH)(e,t,n,r.YK,(0,o.HT)((0,i.Tp)()),(0,o.c1)(e,2,-2),0)}function l(e,t,n,a){return(0,i.rH)(e,t,n,r.LU,(0,o.c1)(e,0,a),(0,o.c1)(e,a+1,-1),a)}},97467:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,l:()=>i});var r=n(7230),o=n(30735);function i(e,t){for(var n="",r=(0,o.FK)(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function a(e,t,n,a){switch(e.type){case r.yE:case r.LU:return e.return=e.return||e.value;case r.YK:return"";case r.Sv:return e.return=e.value+"{"+i(e.children,a)+"}";case r.XZ:e.value=e.props.join(",")}return(0,o.b2)(n=i(e.children,a))?e.return=e.value+"{"+n+"}":""}},65070:(e,t,n)=>{"use strict";n.d(t,{C:()=>d,Cv:()=>S,G1:()=>c,K2:()=>h,Nc:()=>O,OW:()=>v,Sh:()=>y,Tb:()=>w,Tp:()=>p,VF:()=>x,YL:()=>f,c4:()=>b,di:()=>g,mw:()=>A,nf:()=>E,rH:()=>l,se:()=>m});var r=n(30735),o=1,i=1,a=0,c=0,s=0,u="";function l(e,t,n,r,a,c,s){return{value:e,root:t,parent:n,type:r,props:a,children:c,line:o,column:i,length:s,return:""}}function d(e,t){return(0,r.kp)(l("",null,null,"",null,null,0),e,{length:-e.length},t)}function p(){return s}function f(){return s=c>0?(0,r.wN)(u,--c):0,i--,10===s&&(i=1,o--),s}function h(){return s=c<a?(0,r.wN)(u,c++):0,i++,10===s&&(i=1,o++),s}function m(){return(0,r.wN)(u,c)}function v(){return c}function g(e,t){return(0,r.c1)(u,e,t)}function y(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function b(e){return o=i=1,a=(0,r.b2)(u=e),c=0,[]}function x(e){return u="",e}function w(e){return(0,r.Bq)(g(c-1,k(91===e?e+2:40===e?e+1:e)))}function A(e){for(;(s=m())&&s<33;)h();return y(e)>2||y(s)>3?"":" "}function O(e,t){for(;--t&&h()&&!(s<48||s>102||s>57&&s<65||s>70&&s<97););return g(e,v()+(t<6&&32==m()&&32==h()))}function k(e){for(;h();)switch(s){case e:return c;case 34:case 39:34!==e&&39!==e&&k(s);break;case 40:41===e&&k(e);break;case 92:h()}return c}function E(e,t){for(;h()&&e+s!==57&&(e+s!==84||47!==m()););return"/*"+g(t,c-1)+"*"+(0,r.HT)(47===e?e:h())}function S(e){for(;!y(m());)h();return g(e,c)}},30735:(e,t,n)=>{"use strict";n.d(t,{BC:()=>m,Bq:()=>c,FK:()=>h,HC:()=>u,HT:()=>o,K5:()=>l,YW:()=>s,b2:()=>f,c1:()=>p,kg:()=>v,kp:()=>i,tW:()=>a,tn:()=>r,wN:()=>d});var r=Math.abs,o=String.fromCharCode,i=Object.assign;function a(e,t){return 45^d(e,0)?(((t<<2^d(e,0))<<2^d(e,1))<<2^d(e,2))<<2^d(e,3):0}function c(e){return e.trim()}function s(e,t){return(e=t.exec(e))?e[0]:e}function u(e,t,n){return e.replace(t,n)}function l(e,t){return e.indexOf(t)}function d(e,t){return 0|e.charCodeAt(t)}function p(e,t,n){return e.slice(t,n)}function f(e){return e.length}function h(e){return e.length}function m(e,t){return t.push(e),e}function v(e,t){return e.map(t).join("")}},95361:(e,t,n)=>{"use strict";n.d(t,{BN:()=>v,ER:()=>g,Ej:()=>y,RK:()=>s,UE:()=>c,UU:()=>u,__:()=>a,cY:()=>m,jD:()=>p,mG:()=>h,rD:()=>i});var r=n(22386);function o(e,t,n){let{reference:o,floating:i}=e;const a=(0,r.TV)(t),c=(0,r.Dz)(t),s=(0,r.sq)(c),u=(0,r.C0)(t),l="y"===a,d=o.x+o.width/2-i.width/2,p=o.y+o.height/2-i.height/2,f=o[s]/2-i[s]/2;let h;switch(u){case"top":h={x:d,y:o.y-i.height};break;case"bottom":h={x:d,y:o.y+o.height};break;case"right":h={x:o.x+o.width,y:p};break;case"left":h={x:o.x-i.width,y:p};break;default:h={x:o.x,y:o.y}}switch((0,r.Sg)(t)){case"start":h[c]-=f*(n&&l?-1:1);break;case"end":h[c]+=f*(n&&l?-1:1)}return h}const i=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:a=[],platform:c}=n,s=a.filter(Boolean),u=await(null==c.isRTL?void 0:c.isRTL(t));let l=await c.getElementRects({reference:e,floating:t,strategy:i}),{x:d,y:p}=o(l,r,u),f=r,h={},m=0;for(let n=0;n<s.length;n++){const{name:a,fn:v}=s[n],{x:g,y,data:b,reset:x}=await v({x:d,y:p,initialPlacement:r,placement:f,strategy:i,middlewareData:h,rects:l,platform:c,elements:{reference:e,floating:t}});d=null!=g?g:d,p=null!=y?y:p,h={...h,[a]:{...h[a],...b}},x&&m<=50&&(m++,"object"==typeof x&&(x.placement&&(f=x.placement),x.rects&&(l=!0===x.rects?await c.getElementRects({reference:e,floating:t,strategy:i}):x.rects),({x:d,y:p}=o(l,f,u))),n=-1)}return{x:d,y:p,placement:f,strategy:i,middlewareData:h}};async function a(e,t){var n;void 0===t&&(t={});const{x:o,y:i,platform:a,rects:c,elements:s,strategy:u}=e,{boundary:l="clippingAncestors",rootBoundary:d="viewport",elementContext:p="floating",altBoundary:f=!1,padding:h=0}=(0,r._3)(t,e),m=(0,r.nI)(h),v=s[f?"floating"===p?"reference":"floating":p],g=(0,r.B1)(await a.getClippingRect({element:null==(n=await(null==a.isElement?void 0:a.isElement(v)))||n?v:v.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(s.floating)),boundary:l,rootBoundary:d,strategy:u})),y="floating"===p?{...c.floating,x:o,y:i}:c.reference,b=await(null==a.getOffsetParent?void 0:a.getOffsetParent(s.floating)),x=await(null==a.isElement?void 0:a.isElement(b))&&await(null==a.getScale?void 0:a.getScale(b))||{x:1,y:1},w=(0,r.B1)(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:y,offsetParent:b,strategy:u}):y);return{top:(g.top-w.top+m.top)/x.y,bottom:(w.bottom-g.bottom+m.bottom)/x.y,left:(g.left-w.left+m.left)/x.x,right:(w.right-g.right+m.right)/x.x}}const c=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:i,rects:a,platform:c,elements:s,middlewareData:u}=t,{element:l,padding:d=0}=(0,r._3)(e,t)||{};if(null==l)return{};const p=(0,r.nI)(d),f={x:n,y:o},h=(0,r.Dz)(i),m=(0,r.sq)(h),v=await c.getDimensions(l),g="y"===h,y=g?"top":"left",b=g?"bottom":"right",x=g?"clientHeight":"clientWidth",w=a.reference[m]+a.reference[h]-f[h]-a.floating[m],A=f[h]-a.reference[h],O=await(null==c.getOffsetParent?void 0:c.getOffsetParent(l));let k=O?O[x]:0;k&&await(null==c.isElement?void 0:c.isElement(O))||(k=s.floating[x]||a.floating[m]);const E=w/2-A/2,S=k/2-v[m]/2-1,j=(0,r.jk)(p[y],S),T=(0,r.jk)(p[b],S),P=j,C=k-v[m]-T,_=k/2-v[m]/2+E,D=(0,r.qE)(P,_,C),R=!u.arrow&&null!=(0,r.Sg)(i)&&_!==D&&a.reference[m]/2-(_<P?j:T)-v[m]/2<0,N=R?_<P?_-P:_-C:0;return{[h]:f[h]+N,data:{[h]:D,centerOffset:_-D-N,...R&&{alignmentOffset:N}},reset:R}}});const s=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,o,i;const{rects:c,middlewareData:s,placement:u,platform:l,elements:d}=t,{crossAxis:p=!1,alignment:f,allowedPlacements:h=r.DD,autoAlignment:m=!0,...v}=(0,r._3)(e,t),g=void 0!==f||h===r.DD?function(e,t,n){return(e?[...n.filter((t=>(0,r.Sg)(t)===e)),...n.filter((t=>(0,r.Sg)(t)!==e))]:n.filter((e=>(0,r.C0)(e)===e))).filter((n=>!e||(0,r.Sg)(n)===e||!!t&&(0,r.aD)(n)!==n))}(f||null,m,h):h,y=await a(t,v),b=(null==(n=s.autoPlacement)?void 0:n.index)||0,x=g[b];if(null==x)return{};const w=(0,r.w7)(x,c,await(null==l.isRTL?void 0:l.isRTL(d.floating)));if(u!==x)return{reset:{placement:g[0]}};const A=[y[(0,r.C0)(x)],y[w[0]],y[w[1]]],O=[...(null==(o=s.autoPlacement)?void 0:o.overflows)||[],{placement:x,overflows:A}],k=g[b+1];if(k)return{data:{index:b+1,overflows:O},reset:{placement:k}};const E=O.map((e=>{const t=(0,r.Sg)(e.placement);return[e.placement,t&&p?e.overflows.slice(0,2).reduce(((e,t)=>e+t),0):e.overflows[0],e.overflows]})).sort(((e,t)=>e[1]-t[1])),S=(null==(i=E.filter((e=>e[2].slice(0,(0,r.Sg)(e[0])?2:3).every((e=>e<=0))))[0])?void 0:i[0])||E[0][0];return S!==u?{data:{index:b+1,overflows:O},reset:{placement:S}}:{}}}},u=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:i,middlewareData:c,rects:s,initialPlacement:u,platform:l,elements:d}=t,{mainAxis:p=!0,crossAxis:f=!0,fallbackPlacements:h,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:g=!0,...y}=(0,r._3)(e,t);if(null!=(n=c.arrow)&&n.alignmentOffset)return{};const b=(0,r.C0)(i),x=(0,r.C0)(u)===u,w=await(null==l.isRTL?void 0:l.isRTL(d.floating)),A=h||(x||!g?[(0,r.bV)(u)]:(0,r.WJ)(u));h||"none"===v||A.push(...(0,r.lP)(u,g,v,w));const O=[u,...A],k=await a(t,y),E=[];let S=(null==(o=c.flip)?void 0:o.overflows)||[];if(p&&E.push(k[b]),f){const e=(0,r.w7)(i,s,w);E.push(k[e[0]],k[e[1]])}if(S=[...S,{placement:i,overflows:E}],!E.every((e=>e<=0))){var j,T;const e=((null==(j=c.flip)?void 0:j.index)||0)+1,t=O[e];if(t)return{data:{index:e,overflows:S},reset:{placement:t}};let n=null==(T=S.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:T.placement;if(!n)switch(m){case"bestFit":{var P;const e=null==(P=S.map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:P[0];e&&(n=e);break}case"initialPlacement":n=u}if(i!==n)return{reset:{placement:n}}}return{}}}};function l(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function d(e){return r.r_.some((t=>e[t]>=0))}const p=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:o="referenceHidden",...i}=(0,r._3)(e,t);switch(o){case"referenceHidden":{const e=l(await a(t,{...i,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:d(e)}}}case"escaped":{const e=l(await a(t,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:d(e)}}}default:return{}}}}};function f(e){const t=(0,r.jk)(...e.map((e=>e.left))),n=(0,r.jk)(...e.map((e=>e.top)));return{x:t,y:n,width:(0,r.T9)(...e.map((e=>e.right)))-t,height:(0,r.T9)(...e.map((e=>e.bottom)))-n}}const h=function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){const{placement:n,elements:o,rects:i,platform:a,strategy:c}=t,{padding:s=2,x:u,y:l}=(0,r._3)(e,t),d=Array.from(await(null==a.getClientRects?void 0:a.getClientRects(o.reference))||[]),p=function(e){const t=e.slice().sort(((e,t)=>e.y-t.y)),n=[];let o=null;for(let e=0;e<t.length;e++){const r=t[e];!o||r.y-o.y>o.height/2?n.push([r]):n[n.length-1].push(r),o=r}return n.map((e=>(0,r.B1)(f(e))))}(d),h=(0,r.B1)(f(d)),m=(0,r.nI)(s);const v=await a.getElementRects({reference:{getBoundingClientRect:function(){if(2===p.length&&p[0].left>p[1].right&&null!=u&&null!=l)return p.find((e=>u>e.left-m.left&&u<e.right+m.right&&l>e.top-m.top&&l<e.bottom+m.bottom))||h;if(p.length>=2){if("y"===(0,r.TV)(n)){const e=p[0],t=p[p.length-1],o="top"===(0,r.C0)(n),i=e.top,a=t.bottom,c=o?e.left:t.left,s=o?e.right:t.right;return{top:i,bottom:a,left:c,right:s,width:s-c,height:a-i,x:c,y:i}}const e="left"===(0,r.C0)(n),t=(0,r.T9)(...p.map((e=>e.right))),o=(0,r.jk)(...p.map((e=>e.left))),i=p.filter((n=>e?n.left===o:n.right===t)),a=i[0].top,c=i[i.length-1].bottom;return{top:a,bottom:c,left:o,right:t,width:t-o,height:c-a,x:o,y:a}}return h}},floating:o.floating,strategy:c});return i.reference.x!==v.reference.x||i.reference.y!==v.reference.y||i.reference.width!==v.reference.width||i.reference.height!==v.reference.height?{reset:{rects:v}}:{}}}};const m=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,o;const{x:i,y:a,placement:c,middlewareData:s}=t,u=await async function(e,t){const{placement:n,platform:o,elements:i}=e,a=await(null==o.isRTL?void 0:o.isRTL(i.floating)),c=(0,r.C0)(n),s=(0,r.Sg)(n),u="y"===(0,r.TV)(n),l=["left","top"].includes(c)?-1:1,d=a&&u?-1:1,p=(0,r._3)(t,e);let{mainAxis:f,crossAxis:h,alignmentAxis:m}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return s&&"number"==typeof m&&(h="end"===s?-1*m:m),u?{x:h*d,y:f*l}:{x:f*l,y:h*d}}(t,e);return c===(null==(n=s.offset)?void 0:n.placement)&&null!=(o=s.arrow)&&o.alignmentOffset?{}:{x:i+u.x,y:a+u.y,data:{...u,placement:c}}}}},v=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:i}=t,{mainAxis:c=!0,crossAxis:s=!1,limiter:u={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=(0,r._3)(e,t),d={x:n,y:o},p=await a(t,l),f=(0,r.TV)((0,r.C0)(i)),h=(0,r.PG)(f);let m=d[h],v=d[f];if(c){const e="y"===h?"bottom":"right",t=m+p["y"===h?"top":"left"],n=m-p[e];m=(0,r.qE)(t,m,n)}if(s){const e="y"===f?"bottom":"right",t=v+p["y"===f?"top":"left"],n=v-p[e];v=(0,r.qE)(t,v,n)}const g=u.fn({...t,[h]:m,[f]:v});return{...g,data:{x:g.x-n,y:g.y-o}}}}},g=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:n,y:o,placement:i,rects:a,middlewareData:c}=t,{offset:s=0,mainAxis:u=!0,crossAxis:l=!0}=(0,r._3)(e,t),d={x:n,y:o},p=(0,r.TV)(i),f=(0,r.PG)(p);let h=d[f],m=d[p];const v=(0,r._3)(s,t),g="number"==typeof v?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(u){const e="y"===f?"height":"width",t=a.reference[f]-a.floating[e]+g.mainAxis,n=a.reference[f]+a.reference[e]-g.mainAxis;h<t?h=t:h>n&&(h=n)}if(l){var y,b;const e="y"===f?"width":"height",t=["top","left"].includes((0,r.C0)(i)),n=a.reference[p]-a.floating[e]+(t&&(null==(y=c.offset)?void 0:y[p])||0)+(t?0:g.crossAxis),o=a.reference[p]+a.reference[e]+(t?0:(null==(b=c.offset)?void 0:b[p])||0)-(t?g.crossAxis:0);m<n?m=n:m>o&&(m=o)}return{[f]:h,[p]:m}}}},y=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:o,platform:i,elements:c}=t,{apply:s=(()=>{}),...u}=(0,r._3)(e,t),l=await a(t,u),d=(0,r.C0)(n),p=(0,r.Sg)(n),f="y"===(0,r.TV)(n),{width:h,height:m}=o.floating;let v,g;"top"===d||"bottom"===d?(v=d,g=p===(await(null==i.isRTL?void 0:i.isRTL(c.floating))?"start":"end")?"left":"right"):(g=d,v="end"===p?"top":"bottom");const y=m-l[v],b=h-l[g],x=!t.middlewareData.shift;let w=y,A=b;if(f){const e=h-l.left-l.right;A=p||x?(0,r.jk)(b,e):e}else{const e=m-l.top-l.bottom;w=p||x?(0,r.jk)(y,e):e}if(x&&!p){const e=(0,r.T9)(l.left,0),t=(0,r.T9)(l.right,0),n=(0,r.T9)(l.top,0),o=(0,r.T9)(l.bottom,0);f?A=h-2*(0!==e||0!==t?e+t:(0,r.T9)(l.left,l.right)):w=m-2*(0!==n||0!==o?n+o:(0,r.T9)(l.top,l.bottom))}await s({...t,availableWidth:A,availableHeight:w});const O=await i.getDimensions(c.floating);return h!==O.width||m!==O.height?{reset:{rects:!0}}:{}}}}},22386:(e,t,n)=>{"use strict";n.d(t,{B1:()=>k,C0:()=>p,DD:()=>i,Dz:()=>g,PG:()=>h,Sg:()=>f,T9:()=>c,TV:()=>v,WJ:()=>b,_3:()=>d,aD:()=>x,bV:()=>A,jk:()=>a,lP:()=>w,nI:()=>O,qE:()=>l,r_:()=>r,sq:()=>m,w7:()=>y});const r=["top","right","bottom","left"],o=["start","end"],i=r.reduce(((e,t)=>e.concat(t,t+"-"+o[0],t+"-"+o[1])),[]),a=Math.min,c=Math.max,s=(Math.round,Math.floor,{left:"right",right:"left",bottom:"top",top:"bottom"}),u={start:"end",end:"start"};function l(e,t,n){return c(e,a(t,n))}function d(e,t){return"function"==typeof e?e(t):e}function p(e){return e.split("-")[0]}function f(e){return e.split("-")[1]}function h(e){return"x"===e?"y":"x"}function m(e){return"y"===e?"height":"width"}function v(e){return["top","bottom"].includes(p(e))?"y":"x"}function g(e){return h(v(e))}function y(e,t,n){void 0===n&&(n=!1);const r=f(e),o=g(e),i=m(o);let a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=A(a)),[a,A(a)]}function b(e){const t=A(e);return[x(e),t,x(t)]}function x(e){return e.replace(/start|end/g,(e=>u[e]))}function w(e,t,n,r){const o=f(e);let i=function(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:a;default:return[]}}(p(e),"start"===n,r);return o&&(i=i.map((e=>e+"-"+o)),t&&(i=i.concat(i.map(x)))),i}function A(e){return e.replace(/left|right|bottom|top/g,(e=>s[e]))}function O(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function k(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}},18491:(e,t,n)=>{"use strict";n.d(t,{BN:()=>E,ER:()=>_,Ej:()=>j,RK:()=>k,UE:()=>P,UU:()=>S,__:()=>A,cY:()=>O,iD:()=>x,jD:()=>T,ll:()=>w,mG:()=>C,rD:()=>D});var r=n(22386),o=n(95361),i=n(62257),a=n(88963);function c(e){const t=(0,a.L9)(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=(0,a.sb)(e),c=o?e.offsetWidth:n,s=o?e.offsetHeight:r,u=(0,i.LI)(n)!==c||(0,i.LI)(r)!==s;return u&&(n=c,r=s),{width:n,height:r,$:u}}function s(e){return(0,a.vq)(e)?e:e.contextElement}function u(e){const t=s(e);if(!(0,a.sb)(t))return(0,i.Jx)(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:u}=c(t);let l=(u?(0,i.LI)(n.width):n.width)/r,d=(u?(0,i.LI)(n.height):n.height)/o;return l&&Number.isFinite(l)||(l=1),d&&Number.isFinite(d)||(d=1),{x:l,y:d}}const l=(0,i.Jx)(0);function d(e){const t=(0,a.zk)(e);return(0,a.Tc)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:l}function p(e,t,n,o){void 0===t&&(t=!1),void 0===n&&(n=!1);const c=e.getBoundingClientRect(),l=s(e);let p=(0,i.Jx)(1);t&&(o?(0,a.vq)(o)&&(p=u(o)):p=u(e));const f=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==(0,a.zk)(e))&&t}(l,n,o)?d(l):(0,i.Jx)(0);let h=(c.left+f.x)/p.x,m=(c.top+f.y)/p.y,v=c.width/p.x,g=c.height/p.y;if(l){const e=(0,a.zk)(l),t=o&&(0,a.vq)(o)?(0,a.zk)(o):o;let n=e,r=n.frameElement;for(;r&&o&&t!==n;){const e=u(r),t=r.getBoundingClientRect(),o=(0,a.L9)(r),i=t.left+(r.clientLeft+parseFloat(o.paddingLeft))*e.x,c=t.top+(r.clientTop+parseFloat(o.paddingTop))*e.y;h*=e.x,m*=e.y,v*=e.x,g*=e.y,h+=i,m+=c,n=(0,a.zk)(r),r=n.frameElement}}return(0,r.B1)({width:v,height:g,x:h,y:m})}function f(e){return p((0,a.ep)(e)).left+(0,a.CP)(e).scrollLeft}function h(e,t,n){let o;if("viewport"===t)o=function(e,t){const n=(0,a.zk)(e),r=(0,a.ep)(e),o=n.visualViewport;let i=r.clientWidth,c=r.clientHeight,s=0,u=0;if(o){i=o.width,c=o.height;const e=(0,a.Tc)();(!e||e&&"fixed"===t)&&(s=o.offsetLeft,u=o.offsetTop)}return{width:i,height:c,x:s,y:u}}(e,n);else if("document"===t)o=function(e){const t=(0,a.ep)(e),n=(0,a.CP)(e),r=e.ownerDocument.body,o=(0,i.T9)(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),c=(0,i.T9)(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+f(e);const u=-n.scrollTop;return"rtl"===(0,a.L9)(r).direction&&(s+=(0,i.T9)(t.clientWidth,r.clientWidth)-o),{width:o,height:c,x:s,y:u}}((0,a.ep)(e));else if((0,a.vq)(t))o=function(e,t){const n=p(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,c=(0,a.sb)(e)?u(e):(0,i.Jx)(1);return{width:e.clientWidth*c.x,height:e.clientHeight*c.y,x:o*c.x,y:r*c.y}}(t,n);else{const n=d(e);o={...t,x:t.x-n.x,y:t.y-n.y}}return(0,r.B1)(o)}function m(e,t){const n=(0,a.$4)(e);return!(n===t||!(0,a.vq)(n)||(0,a.eu)(n))&&("fixed"===(0,a.L9)(n).position||m(n,t))}function v(e,t,n){const r=(0,a.sb)(t),o=(0,a.ep)(t),c="fixed"===n,s=p(e,!0,c,t);let u={scrollLeft:0,scrollTop:0};const l=(0,i.Jx)(0);if(r||!r&&!c)if(("body"!==(0,a.mq)(t)||(0,a.ZU)(o))&&(u=(0,a.CP)(t)),r){const e=p(t,!0,c,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&(l.x=f(o));return{x:s.left+u.scrollLeft-l.x,y:s.top+u.scrollTop-l.y,width:s.width,height:s.height}}function g(e){return"static"===(0,a.L9)(e).position}function y(e,t){return(0,a.sb)(e)&&"fixed"!==(0,a.L9)(e).position?t?t(e):e.offsetParent:null}function b(e,t){const n=(0,a.zk)(e);if((0,a.Tf)(e))return n;if(!(0,a.sb)(e)){let t=(0,a.$4)(e);for(;t&&!(0,a.eu)(t);){if((0,a.vq)(t)&&!g(t))return t;t=(0,a.$4)(t)}return n}let r=y(e,t);for(;r&&(0,a.Lv)(r)&&g(r);)r=y(r,t);return r&&(0,a.eu)(r)&&g(r)&&!(0,a.sQ)(r)?n:r||(0,a.gJ)(e)||n}const x={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const c="fixed"===o,s=(0,a.ep)(r),l=!!t&&(0,a.Tf)(t.floating);if(r===s||l&&c)return n;let d={scrollLeft:0,scrollTop:0},f=(0,i.Jx)(1);const h=(0,i.Jx)(0),m=(0,a.sb)(r);if((m||!m&&!c)&&(("body"!==(0,a.mq)(r)||(0,a.ZU)(s))&&(d=(0,a.CP)(r)),(0,a.sb)(r))){const e=p(r);f=u(r),h.x=e.x+r.clientLeft,h.y=e.y+r.clientTop}return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-d.scrollLeft*f.x+h.x,y:n.y*f.y-d.scrollTop*f.y+h.y}},getDocumentElement:a.ep,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const c=[..."clippingAncestors"===n?(0,a.Tf)(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=(0,a.v9)(e,[],!1).filter((e=>(0,a.vq)(e)&&"body"!==(0,a.mq)(e))),o=null;const i="fixed"===(0,a.L9)(e).position;let c=i?(0,a.$4)(e):e;for(;(0,a.vq)(c)&&!(0,a.eu)(c);){const t=(0,a.L9)(c),n=(0,a.sQ)(c);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||(0,a.ZU)(c)&&!n&&m(e,c))?r=r.filter((e=>e!==c)):o=t,c=(0,a.$4)(c)}return t.set(e,r),r}(t,this._c):[].concat(n),r],s=c[0],u=c.reduce(((e,n)=>{const r=h(t,n,o);return e.top=(0,i.T9)(r.top,e.top),e.right=(0,i.jk)(r.right,e.right),e.bottom=(0,i.jk)(r.bottom,e.bottom),e.left=(0,i.T9)(r.left,e.left),e}),h(t,s,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},getOffsetParent:b,getElementRects:async function(e){const t=this.getOffsetParent||b,n=this.getDimensions,r=await n(e.floating);return{reference:v(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=c(e);return{width:t,height:n}},getScale:u,isElement:a.vq,isRTL:function(e){return"rtl"===(0,a.L9)(e).direction}};function w(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:c=!0,elementResize:u="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:d=!1}=r,f=s(e),h=o||c?[...f?(0,a.v9)(f):[],...(0,a.v9)(t)]:[];h.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0}),c&&e.addEventListener("resize",n)}));const m=f&&l?function(e,t){let n,r=null;const o=(0,a.ep)(e);function c(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(s,u){void 0===s&&(s=!1),void 0===u&&(u=1),c();const{left:l,top:d,width:p,height:f}=e.getBoundingClientRect();if(s||t(),!p||!f)return;const h={rootMargin:-(0,i.RI)(d)+"px "+-(0,i.RI)(o.clientWidth-(l+p))+"px "+-(0,i.RI)(o.clientHeight-(d+f))+"px "+-(0,i.RI)(l)+"px",threshold:(0,i.T9)(0,(0,i.jk)(1,u))||1};let m=!0;function v(e){const t=e[0].intersectionRatio;if(t!==u){if(!m)return a();t?a(!1,t):n=setTimeout((()=>{a(!1,1e-7)}),1e3)}m=!1}try{r=new IntersectionObserver(v,{...h,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(v,h)}r.observe(e)}(!0),c}(f,n):null;let v,g=-1,y=null;u&&(y=new ResizeObserver((e=>{let[r]=e;r&&r.target===f&&y&&(y.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame((()=>{var e;null==(e=y)||e.observe(t)}))),n()})),f&&!d&&y.observe(f),y.observe(t));let b=d?p(e):null;return d&&function t(){const r=p(e);!b||r.x===b.x&&r.y===b.y&&r.width===b.width&&r.height===b.height||n();b=r,v=requestAnimationFrame(t)}(),n(),()=>{var e;h.forEach((e=>{o&&e.removeEventListener("scroll",n),c&&e.removeEventListener("resize",n)})),null==m||m(),null==(e=y)||e.disconnect(),y=null,d&&cancelAnimationFrame(v)}}const A=o.__,O=o.cY,k=o.RK,E=o.BN,S=o.UU,j=o.Ej,T=o.jD,P=o.UE,C=o.mG,_=o.ER,D=(e,t,n)=>{const r=new Map,i={platform:x,...n},a={...i.platform,_c:r};return(0,o.rD)(e,t,{...i,platform:a})}},88963:(e,t,n)=>{"use strict";function r(e){return a(e)?(e.nodeName||"").toLowerCase():"#document"}function o(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function i(e){var t;return null==(t=(a(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function a(e){return e instanceof Node||e instanceof o(e).Node}function c(e){return e instanceof Element||e instanceof o(e).Element}function s(e){return e instanceof HTMLElement||e instanceof o(e).HTMLElement}function u(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof o(e).ShadowRoot)}function l(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=g(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function d(e){return["table","td","th"].includes(r(e))}function p(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(e){return!1}}))}function f(e){const t=m(),n=c(e)?g(e):e;return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function h(e){let t=b(e);for(;s(t)&&!v(t);){if(f(t))return t;if(p(t))return null;t=b(t)}return null}function m(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function v(e){return["html","body","#document"].includes(r(e))}function g(e){return o(e).getComputedStyle(e)}function y(e){return c(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function b(e){if("html"===r(e))return e;const t=e.assignedSlot||e.parentNode||u(e)&&e.host||i(e);return u(t)?t.host:t}function x(e){const t=b(e);return v(t)?e.ownerDocument?e.ownerDocument.body:e.body:s(t)&&l(t)?t:x(t)}function w(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=x(e),a=i===(null==(r=e.ownerDocument)?void 0:r.body),c=o(i);return a?t.concat(c,c.visualViewport||[],l(i)?i:[],c.frameElement&&n?w(c.frameElement):[]):t.concat(i,w(i,[],n))}n.d(t,{$4:()=>b,CP:()=>y,L9:()=>g,Lv:()=>d,Tc:()=>m,Tf:()=>p,ZU:()=>l,ep:()=>i,eu:()=>v,gJ:()=>h,mq:()=>r,sQ:()=>f,sb:()=>s,v9:()=>w,vq:()=>c,zk:()=>o})},62257:(e,t,n)=>{"use strict";n.d(t,{Jx:()=>c,LI:()=>i,RI:()=>a,T9:()=>o,jk:()=>r});const r=Math.min,o=Math.max,i=Math.round,a=Math.floor,c=e=>({x:e,y:e})},34743:(e,t,n)=>{"use strict";n.d(t,{BN:()=>h,ER:()=>m,Ej:()=>g,RK:()=>y,UE:()=>w,UU:()=>v,cY:()=>f,jD:()=>b,mG:()=>x,we:()=>d});var r=n(18491),o=n(4883),i=n(81845),a="undefined"!=typeof document?o.useLayoutEffect:o.useEffect;function c(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!=r--;)if(!c(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){const n=o[r];if(("_owner"!==n||!e.$$typeof)&&!c(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function s(e){if("undefined"==typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function u(e,t){const n=s(e);return Math.round(t*n)/n}function l(e){const t=o.useRef(e);return a((()=>{t.current=e})),t}function d(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:d=[],platform:p,elements:{reference:f,floating:h}={},transform:m=!0,whileElementsMounted:v,open:g}=e,[y,b]=o.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[x,w]=o.useState(d);c(x,d)||w(d);const[A,O]=o.useState(null),[k,E]=o.useState(null),S=o.useCallback((e=>{e!==C.current&&(C.current=e,O(e))}),[]),j=o.useCallback((e=>{e!==_.current&&(_.current=e,E(e))}),[]),T=f||A,P=h||k,C=o.useRef(null),_=o.useRef(null),D=o.useRef(y),R=null!=v,N=l(v),I=l(p),M=l(g),L=o.useCallback((()=>{if(!C.current||!_.current)return;const e={placement:t,strategy:n,middleware:x};I.current&&(e.platform=I.current),(0,r.rD)(C.current,_.current,e).then((e=>{const t={...e,isPositioned:!1!==M.current};F.current&&!c(D.current,t)&&(D.current=t,i.flushSync((()=>{b(t)})))}))}),[x,t,n,I,M]);a((()=>{!1===g&&D.current.isPositioned&&(D.current.isPositioned=!1,b((e=>({...e,isPositioned:!1}))))}),[g]);const F=o.useRef(!1);a((()=>(F.current=!0,()=>{F.current=!1})),[]),a((()=>{if(T&&(C.current=T),P&&(_.current=P),T&&P){if(N.current)return N.current(T,P,L);L()}}),[T,P,L,N,R]);const H=o.useMemo((()=>({reference:C,floating:_,setReference:S,setFloating:j})),[S,j]),B=o.useMemo((()=>({reference:T,floating:P})),[T,P]),U=o.useMemo((()=>{const e={position:n,left:0,top:0};if(!B.floating)return e;const t=u(B.floating,y.x),r=u(B.floating,y.y);return m?{...e,transform:"translate("+t+"px, "+r+"px)",...s(B.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}}),[n,m,B.floating,y.x,y.y]);return o.useMemo((()=>({...y,update:L,refs:H,elements:B,floatingStyles:U})),[y,L,H,B,U])}const p=e=>({name:"arrow",options:e,fn(t){const{element:n,padding:o}="function"==typeof e?e(t):e;return n&&(i=n,{}.hasOwnProperty.call(i,"current"))?null!=n.current?(0,r.UE)({element:n.current,padding:o}).fn(t):{}:n?(0,r.UE)({element:n,padding:o}).fn(t):{};var i}}),f=(e,t)=>({...(0,r.cY)(e),options:[e,t]}),h=(e,t)=>({...(0,r.BN)(e),options:[e,t]}),m=(e,t)=>({...(0,r.ER)(e),options:[e,t]}),v=(e,t)=>({...(0,r.UU)(e),options:[e,t]}),g=(e,t)=>({...(0,r.Ej)(e),options:[e,t]}),y=(e,t)=>({...(0,r.RK)(e),options:[e,t]}),b=(e,t)=>({...(0,r.jD)(e),options:[e,t]}),x=(e,t)=>({...(0,r.mG)(e),options:[e,t]}),w=(e,t)=>({...p(e),options:[e,t]})},58689:(e,t,n)=>{"use strict";var r;n.d(t,{Mk:()=>M,XF:()=>J,bv:()=>le,ie:()=>S,kp:()=>te,s9:()=>ie,we:()=>ae});var o=n(4883),i=n(66984),a=n(74848),c=n(86635),s=n(49054),u=n(81845),l=n(88963),d=n(34743);const p={...r||(r=n.t(o,2))},f=p.useInsertionEffect||(e=>e());function h(e){const t=o.useRef((()=>{0}));return f((()=>{t.current=e})),o.useCallback((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)}),[])}const m="ArrowUp",v="ArrowDown",g="ArrowLeft",y="ArrowRight";var b="undefined"!=typeof document?o.useLayoutEffect:o.useEffect;const x=[g,y],w=[m,v];let A=!1,O=0;const k=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+O++;const E=p.useId||function(){const[e,t]=o.useState((()=>A?k():void 0));return b((()=>{null==e&&t(k())}),[]),o.useEffect((()=>{A=!0}),[]),e};const S=o.forwardRef((function(e,t){const{context:{placement:n,elements:{floating:r},middlewareData:{arrow:i,shift:s}},width:u=14,height:l=7,tipRadius:d=0,strokeWidth:p=0,staticOffset:f,stroke:h,d:m,style:{transform:v,...g}={},...y}=e;const x=E(),[w,A]=o.useState(!1);if(b((()=>{if(!r)return;"rtl"===(0,c.L9)(r).direction&&A(!0)}),[r]),!r)return null;const[O,k]=n.split("-"),S="top"===O||"bottom"===O;let j=f;(S&&null!=s&&s.x||!S&&null!=s&&s.y)&&(j=null);const T=2*p,P=T/2,C=u/2*(d/-8+1),_=l/2*d/4,D=!!m,R=j&&"end"===k?"bottom":"top";let N=j&&"end"===k?"right":"left";j&&w&&(N="end"===k?"left":"right");const I=null!=(null==i?void 0:i.x)?j||i.x:"",M=null!=(null==i?void 0:i.y)?j||i.y:"",L=m||"M0,0 H"+u+" L"+(u-C)+","+(l-_)+" Q"+u/2+","+l+" "+C+","+(l-_)+" Z",F={top:D?"rotate(180deg)":"",left:D?"rotate(90deg)":"rotate(-90deg)",bottom:D?"":"rotate(180deg)",right:D?"rotate(-90deg)":"rotate(90deg)"}[O];return(0,a.jsxs)("svg",{...y,"aria-hidden":!0,ref:t,width:D?u:u+T,height:u,viewBox:"0 0 "+u+" "+(l>u?l:u),style:{position:"absolute",pointerEvents:"none",[N]:I,[R]:M,[O]:S||D?"100%":"calc(100% - "+T/2+"px)",transform:[F,v].filter((e=>!!e)).join(" "),...g},children:[T>0&&(0,a.jsx)("path",{clipPath:"url(#"+x+")",fill:"none",stroke:h,strokeWidth:T+(m?0:1),d:L}),(0,a.jsx)("path",{stroke:T&&!m?y.fill:"none",d:L}),(0,a.jsx)("clipPath",{id:x,children:(0,a.jsx)("rect",{x:-P,y:P*(D?-1:1),width:u+T,height:u})})]})}));function j(){const e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach((e=>e(n)))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,(null==(r=e.get(t))?void 0:r.filter((e=>e!==n)))||[])}}}const T=o.createContext(null),P=o.createContext(null),C=()=>{var e;return(null==(e=o.useContext(T))?void 0:e.id)||null},_=()=>o.useContext(P);function D(e){return"data-floating-ui-"+e}function R(e){const t=(0,o.useRef)(e);return b((()=>{t.current=e})),t}const N=D("safe-polygon");function I(e,t,n){return n&&!(0,i.Go)(n)?0:"number"==typeof e?e:null==e?void 0:e[t]}function M(e,t){void 0===t&&(t={});const{open:n,onOpenChange:r,dataRef:a,events:s,elements:u}=e,{enabled:l=!0,delay:d=0,handleClose:p=null,mouseOnly:f=!1,restMs:m=0,move:v=!0}=t,g=_(),y=C(),x=R(p),w=R(d),A=R(n),O=o.useRef(),k=o.useRef(-1),E=o.useRef(),S=o.useRef(-1),j=o.useRef(!0),T=o.useRef(!1),P=o.useRef((()=>{})),D=o.useRef(!1),M=o.useCallback((()=>{var e;const t=null==(e=a.current.openEvent)?void 0:e.type;return(null==t?void 0:t.includes("mouse"))&&"mousedown"!==t}),[a]);o.useEffect((()=>{if(l)return s.on("openchange",e),()=>{s.off("openchange",e)};function e(e){let{open:t}=e;t||(clearTimeout(k.current),clearTimeout(S.current),j.current=!0,D.current=!1)}}),[l,s]),o.useEffect((()=>{if(!l)return;if(!x.current)return;if(!n)return;function e(e){M()&&r(!1,e,"hover")}const t=(0,i.YE)(u.floating).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}}),[u.floating,n,r,l,x,M]);const L=o.useCallback((function(e,t,n){void 0===t&&(t=!0),void 0===n&&(n="hover");const o=I(w.current,"close",O.current);o&&!E.current?(clearTimeout(k.current),k.current=window.setTimeout((()=>r(!1,e,n)),o)):t&&(clearTimeout(k.current),r(!1,e,n))}),[w,r]),F=h((()=>{P.current(),E.current=void 0})),H=h((()=>{if(T.current){const e=(0,i.YE)(u.floating).body;e.style.pointerEvents="",e.removeAttribute(N),T.current=!1}})),B=h((()=>!!a.current.openEvent&&["click","mousedown"].includes(a.current.openEvent.type)));o.useEffect((()=>{if(l&&(0,c.vq)(u.domReference)){var e;const r=u.domReference;return n&&r.addEventListener("mouseleave",s),null==(e=u.floating)||e.addEventListener("mouseleave",s),v&&r.addEventListener("mousemove",t,{once:!0}),r.addEventListener("mouseenter",t),r.addEventListener("mouseleave",o),()=>{var e;n&&r.removeEventListener("mouseleave",s),null==(e=u.floating)||e.removeEventListener("mouseleave",s),v&&r.removeEventListener("mousemove",t),r.removeEventListener("mouseenter",t),r.removeEventListener("mouseleave",o)}}function t(e){if(clearTimeout(k.current),j.current=!1,f&&!(0,i.Go)(O.current)||m>0&&!I(w.current,"open"))return;const t=I(w.current,"open",O.current);t?k.current=window.setTimeout((()=>{A.current||r(!0,e,"hover")}),t):n||r(!0,e,"hover")}function o(e){if(B())return;P.current();const t=(0,i.YE)(u.floating);if(clearTimeout(S.current),D.current=!1,x.current&&a.current.floatingContext){n||clearTimeout(k.current),E.current=x.current({...a.current.floatingContext,tree:g,x:e.clientX,y:e.clientY,onClose(){H(),F(),B()||L(e,!0,"safe-polygon")}});const r=E.current;return t.addEventListener("mousemove",r),void(P.current=()=>{t.removeEventListener("mousemove",r)})}("touch"!==O.current||!(0,i.gR)(u.floating,e.relatedTarget))&&L(e)}function s(e){B()||a.current.floatingContext&&(null==x.current||x.current({...a.current.floatingContext,tree:g,x:e.clientX,y:e.clientY,onClose(){H(),F(),B()||L(e)}})(e))}}),[u,l,e,f,m,v,L,F,H,r,n,A,g,w,x,a,B]),b((()=>{var e;if(l&&n&&null!=(e=x.current)&&e.__options.blockPointerEvents&&M()){T.current=!0;const e=u.floating;if((0,c.vq)(u.domReference)&&e){var t;const n=(0,i.YE)(u.floating).body;n.setAttribute(N,"");const r=u.domReference,o=null==g||null==(t=g.nodesRef.current.find((e=>e.id===y)))||null==(t=t.context)?void 0:t.elements.floating;return o&&(o.style.pointerEvents=""),n.style.pointerEvents="none",r.style.pointerEvents="auto",e.style.pointerEvents="auto",()=>{n.style.pointerEvents="",r.style.pointerEvents="",e.style.pointerEvents=""}}}}),[l,n,y,u,g,x,M]),b((()=>{n||(O.current=void 0,D.current=!1,F(),H())}),[n,F,H]),o.useEffect((()=>()=>{F(),clearTimeout(k.current),clearTimeout(S.current),H()}),[l,u.domReference,F,H]);const U=o.useMemo((()=>{function e(e){O.current=e.pointerType}return{onPointerDown:e,onPointerEnter:e,onMouseMove(e){const{nativeEvent:t}=e;function o(){j.current||A.current||r(!0,t,"hover")}f&&!(0,i.Go)(O.current)||n||0===m||D.current&&e.movementX**2+e.movementY**2<2||(clearTimeout(S.current),"touch"===O.current?o():(D.current=!0,S.current=window.setTimeout(o,m)))}}}),[f,r,n,A,m]),W=o.useMemo((()=>({onMouseEnter(){clearTimeout(k.current)},onMouseLeave(e){B()||L(e.nativeEvent,!1)}})),[L,B]);return o.useMemo((()=>l?{reference:U,floating:W}:{}),[l,U,W])}function L(e,t){let n=e.filter((e=>{var n;return e.parentId===t&&(null==(n=e.context)?void 0:n.open)})),r=n;for(;r.length;)r=e.filter((e=>{var t;return null==(t=r)?void 0:t.some((t=>{var n;return e.parentId===t.id&&(null==(n=e.context)?void 0:n.open)}))})),n=n.concat(r);return n}const F=()=>({getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function H(e,t){const n=(0,s.Kr)(e,F());"prev"===t&&n.reverse();const r=n.indexOf((0,i.RS)((0,i.YE)(e)));return n.slice(r+1)[0]}function B(){return H(document.body,"next")}function U(){return H(document.body,"prev")}function W(e,t){const n=t||e.currentTarget,r=e.relatedTarget;return!r||!(0,i.gR)(n,r)}function z(e){(0,s.Kr)(e,F()).forEach((e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}))}function G(e){e.querySelectorAll("[data-tabindex]").forEach((e=>{const t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")}))}const q={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0};function Y(e){"Tab"===e.key&&(e.target,clearTimeout(undefined))}const V=o.forwardRef((function(e,t){const[n,r]=o.useState();b((()=>((0,i.nr)()&&r("button"),document.addEventListener("keydown",Y),()=>{document.removeEventListener("keydown",Y)})),[]);const c={ref:t,tabIndex:0,role:n,"aria-hidden":!n||void 0,[D("focus-guard")]:"",style:q};return(0,a.jsx)("span",{...e,...c})})),$=o.createContext(null),K=D("portal");function J(e){const{children:t,id:n,root:r,preserveTabOrder:i=!0}=e,s=function(e){void 0===e&&(e={});const{id:t,root:n}=e,r=E(),i=X(),[a,s]=o.useState(null),u=o.useRef(null);return b((()=>()=>{null==a||a.remove(),queueMicrotask((()=>{u.current=null}))}),[a]),b((()=>{if(!r)return;if(u.current)return;const e=t?document.getElementById(t):null;if(!e)return;const n=document.createElement("div");n.id=r,n.setAttribute(K,""),e.appendChild(n),u.current=n,s(n)}),[t,r]),b((()=>{if(null===n)return;if(!r)return;if(u.current)return;let e=n||(null==i?void 0:i.portalNode);e&&!(0,c.vq)(e)&&(e=e.current),e=e||document.body;let o=null;t&&(o=document.createElement("div"),o.id=t,e.appendChild(o));const a=document.createElement("div");a.id=r,a.setAttribute(K,""),e=o||e,e.appendChild(a),u.current=a,s(a)}),[t,n,r,i]),a}({id:n,root:r}),[l,d]=o.useState(null),p=o.useRef(null),f=o.useRef(null),h=o.useRef(null),m=o.useRef(null),v=null==l?void 0:l.modal,g=null==l?void 0:l.open,y=!!l&&!l.modal&&l.open&&i&&!(!r&&!s);return o.useEffect((()=>{if(s&&i&&!v)return s.addEventListener("focusin",e,!0),s.addEventListener("focusout",e,!0),()=>{s.removeEventListener("focusin",e,!0),s.removeEventListener("focusout",e,!0)};function e(e){if(s&&W(e)){("focusin"===e.type?G:z)(s)}}}),[s,i,v]),o.useEffect((()=>{s&&(g||G(s))}),[g,s]),(0,a.jsxs)($.Provider,{value:o.useMemo((()=>({preserveTabOrder:i,beforeOutsideRef:p,afterOutsideRef:f,beforeInsideRef:h,afterInsideRef:m,portalNode:s,setFocusManagerState:d})),[i,s]),children:[y&&s&&(0,a.jsx)(V,{"data-type":"outside",ref:p,onFocus:e=>{if(W(e,s)){var t;null==(t=h.current)||t.focus()}else{const e=U()||(null==l?void 0:l.domReference);null==e||e.focus()}}}),y&&s&&(0,a.jsx)("span",{"aria-owns":s.id,style:q}),s&&u.createPortal(t,s),y&&s&&(0,a.jsx)(V,{"data-type":"outside",ref:f,onFocus:e=>{if(W(e,s)){var t;null==(t=m.current)||t.focus()}else{const t=B()||(null==l?void 0:l.domReference);null==t||t.focus(),(null==l?void 0:l.closeOnFocusOut)&&(null==l||l.onOpenChange(!1,e.nativeEvent,"focus-out"))}}})]})}const X=()=>o.useContext($),Q="data-floating-ui-focusable";function Z(e){return(0,c.sb)(e.target)&&"BUTTON"===e.target.tagName}function ee(e){return(0,i.$u)(e)}function te(e,t){void 0===t&&(t={});const{open:n,onOpenChange:r,dataRef:a,elements:{domReference:c}}=e,{enabled:s=!0,event:u="click",toggle:l=!0,ignoreMouse:d=!1,keyboardHandlers:p=!0,stickIfOpen:f=!0}=t,h=o.useRef(),m=o.useRef(!1),v=o.useMemo((()=>({onPointerDown(e){h.current=e.pointerType},onMouseDown(e){const t=h.current;0===e.button&&"click"!==u&&((0,i.Go)(t,!0)&&d||(!n||!l||a.current.openEvent&&f&&"mousedown"!==a.current.openEvent.type?(e.preventDefault(),r(!0,e.nativeEvent,"click")):r(!1,e.nativeEvent,"click")))},onClick(e){const t=h.current;"mousedown"===u&&h.current?h.current=void 0:(0,i.Go)(t,!0)&&d||(!n||!l||a.current.openEvent&&f&&"click"!==a.current.openEvent.type?r(!0,e.nativeEvent,"click"):r(!1,e.nativeEvent,"click"))},onKeyDown(e){h.current=void 0,e.defaultPrevented||!p||Z(e)||(" "!==e.key||ee(c)||(e.preventDefault(),m.current=!0),"Enter"===e.key&&r(!n||!l,e.nativeEvent,"click"))},onKeyUp(e){e.defaultPrevented||!p||Z(e)||ee(c)||" "===e.key&&m.current&&(m.current=!1,r(!n||!l,e.nativeEvent,"click"))}})),[a,c,u,d,p,r,n,f,l]);return o.useMemo((()=>s?{reference:v}:{}),[s,v])}const ne={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},re={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},oe=e=>{var t,n;return{escapeKey:"boolean"==typeof e?e:null!=(t=null==e?void 0:e.escapeKey)&&t,outsidePress:"boolean"==typeof e?e:null==(n=null==e?void 0:e.outsidePress)||n}};function ie(e,t){void 0===t&&(t={});const{open:n,onOpenChange:r,elements:a,dataRef:s}=e,{enabled:u=!0,escapeKey:d=!0,outsidePress:p=!0,outsidePressEvent:f="pointerdown",referencePress:m=!1,referencePressEvent:v="pointerdown",ancestorScroll:g=!1,bubbles:y,capture:b}=t,x=_(),w=h("function"==typeof p?p:()=>!1),A="function"==typeof p?w:p,O=o.useRef(!1),k=o.useRef(!1),{escapeKey:E,outsidePress:S}=oe(y),{escapeKey:j,outsidePress:T}=oe(b),P=o.useRef(!1),C=h((e=>{var t;if(!n||!u||!d||"Escape"!==e.key)return;if(P.current)return;const o=null==(t=s.current.floatingContext)?void 0:t.nodeId,a=x?L(x.nodesRef.current,o):[];if(!E&&(e.stopPropagation(),a.length>0)){let e=!0;if(a.forEach((t=>{var n;null==(n=t.context)||!n.open||t.context.dataRef.current.__escapeKeyBubbles||(e=!1)})),!e)return}r(!1,(0,i.O_)(e)?e.nativeEvent:e,"escape-key")})),R=h((e=>{var t;const n=()=>{var t;C(e),null==(t=(0,i.EW)(e))||t.removeEventListener("keydown",n)};null==(t=(0,i.EW)(e))||t.addEventListener("keydown",n)})),N=h((e=>{var t;const n=O.current;O.current=!1;const o=k.current;if(k.current=!1,"click"===f&&o)return;if(n)return;if("function"==typeof A&&!A(e))return;const u=(0,i.EW)(e),l="["+D("inert")+"]",d=(0,i.YE)(a.floating).querySelectorAll(l);let p=(0,c.vq)(u)?u:null;for(;p&&!(0,c.eu)(p);){const e=(0,c.$4)(p);if((0,c.eu)(e)||!(0,c.vq)(e))break;p=e}if(d.length&&(0,c.vq)(u)&&!(0,i.tZ)(u)&&!(0,i.gR)(u,a.floating)&&Array.from(d).every((e=>!(0,i.gR)(p,e))))return;if((0,c.sb)(u)&&F){const t=(0,c.eu)(u),n=(0,c.L9)(u),r=/auto|scroll/,o=t||r.test(n.overflowX),i=t||r.test(n.overflowY),a=o&&u.clientWidth>0&&u.scrollWidth>u.clientWidth,s=i&&u.clientHeight>0&&u.scrollHeight>u.clientHeight,l="rtl"===n.direction,d=s&&(l?e.offsetX<=u.offsetWidth-u.clientWidth:e.offsetX>u.clientWidth),p=a&&e.offsetY>u.clientHeight;if(d||p)return}const h=null==(t=s.current.floatingContext)?void 0:t.nodeId,m=x&&L(x.nodesRef.current,h).some((t=>{var n;return(0,i.F2)(e,null==(n=t.context)?void 0:n.elements.floating)}));if((0,i.F2)(e,a.floating)||(0,i.F2)(e,a.domReference)||m)return;const v=x?L(x.nodesRef.current,h):[];if(v.length>0){let e=!0;if(v.forEach((t=>{var n;null==(n=t.context)||!n.open||t.context.dataRef.current.__outsidePressBubbles||(e=!1)})),!e)return}r(!1,e,"outside-press")})),I=h((e=>{var t;const n=()=>{var t;N(e),null==(t=(0,i.EW)(e))||t.removeEventListener(f,n)};null==(t=(0,i.EW)(e))||t.addEventListener(f,n)}));o.useEffect((()=>{if(!n||!u)return;s.current.__escapeKeyBubbles=E,s.current.__outsidePressBubbles=S;let e=-1;function t(e){r(!1,e,"ancestor-scroll")}function o(){window.clearTimeout(e),P.current=!0}function p(){e=window.setTimeout((()=>{P.current=!1}),(0,c.Tc)()?5:0)}const h=(0,i.YE)(a.floating);d&&(h.addEventListener("keydown",j?R:C,j),h.addEventListener("compositionstart",o),h.addEventListener("compositionend",p)),A&&h.addEventListener(f,T?I:N,T);let m=[];return g&&((0,c.vq)(a.domReference)&&(m=(0,l.v9)(a.domReference)),(0,c.vq)(a.floating)&&(m=m.concat((0,l.v9)(a.floating))),!(0,c.vq)(a.reference)&&a.reference&&a.reference.contextElement&&(m=m.concat((0,l.v9)(a.reference.contextElement)))),m=m.filter((e=>{var t;return e!==(null==(t=h.defaultView)?void 0:t.visualViewport)})),m.forEach((e=>{e.addEventListener("scroll",t,{passive:!0})})),()=>{d&&(h.removeEventListener("keydown",j?R:C,j),h.removeEventListener("compositionstart",o),h.removeEventListener("compositionend",p)),A&&h.removeEventListener(f,T?I:N,T),m.forEach((e=>{e.removeEventListener("scroll",t)})),window.clearTimeout(e)}}),[s,a,d,A,f,n,r,g,u,E,S,C,j,R,N,T,I]),o.useEffect((()=>{O.current=!1}),[A,f]);const M=o.useMemo((()=>({onKeyDown:C,...m&&{[ne[v]]:e=>{r(!1,e.nativeEvent,"reference-press")},..."click"!==v&&{onClick(e){r(!1,e.nativeEvent,"reference-press")}}}})),[C,r,m,v]),F=o.useMemo((()=>({onKeyDown:C,onMouseDown(){k.current=!0},onMouseUp(){k.current=!0},[re[f]]:()=>{O.current=!0}})),[C,f]);return o.useMemo((()=>u?{reference:M,floating:F}:{}),[u,M,F])}function ae(e){void 0===e&&(e={});const{nodeId:t}=e,n=function(e){const{open:t=!1,onOpenChange:n,elements:r}=e,i=E(),a=o.useRef({}),[c]=o.useState((()=>j())),s=null!=C(),[u,l]=o.useState(r.reference),d=h(((e,t,r)=>{a.current.openEvent=e?t:void 0,c.emit("openchange",{open:e,event:t,reason:r,nested:s}),null==n||n(e,t,r)})),p=o.useMemo((()=>({setPositionReference:l})),[]),f=o.useMemo((()=>({reference:u||r.reference||null,floating:r.floating||null,domReference:r.reference})),[u,r.reference,r.floating]);return o.useMemo((()=>({dataRef:a,open:t,onOpenChange:d,elements:f,events:c,floatingId:i,refs:p})),[t,d,f,c,i,p])}({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,i=r.elements,[a,s]=o.useState(null),[u,l]=o.useState(null),p=(null==i?void 0:i.domReference)||a,f=o.useRef(null),m=_();b((()=>{p&&(f.current=p)}),[p]);const v=(0,d.we)({...e,elements:{...i,...u&&{reference:u}}}),g=o.useCallback((e=>{const t=(0,c.vq)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;l(t),v.refs.setReference(t)}),[v.refs]),y=o.useCallback((e=>{((0,c.vq)(e)||null===e)&&(f.current=e,s(e)),((0,c.vq)(v.refs.reference.current)||null===v.refs.reference.current||null!==e&&!(0,c.vq)(e))&&v.refs.setReference(e)}),[v.refs]),x=o.useMemo((()=>({...v.refs,setReference:y,setPositionReference:g,domReference:f})),[v.refs,y,g]),w=o.useMemo((()=>({...v.elements,domReference:p})),[v.elements,p]),A=o.useMemo((()=>({...v,...r,refs:x,elements:w,nodeId:t})),[v,x,w,t,r]);return b((()=>{r.dataRef.current.floatingContext=A;const e=null==m?void 0:m.nodesRef.current.find((e=>e.id===t));e&&(e.context=A)})),o.useMemo((()=>({...v,context:A,refs:x,elements:w})),[v,x,w,A])}const ce="active",se="selected";function ue(e,t,n){const r=new Map,o="item"===n;let i=e;if(o&&e){const{[ce]:t,[se]:n,...r}=e;i=r}return{..."floating"===n&&{tabIndex:-1,[Q]:""},...i,...t.map((t=>{const r=t?t[n]:null;return"function"==typeof r?e?r(e):null:r})).concat(e).reduce(((e,t)=>t?(Object.entries(t).forEach((t=>{let[n,i]=t;var a;o&&[ce,se].includes(n)||(0===n.indexOf("on")?(r.has(n)||r.set(n,[]),"function"==typeof i&&(null==(a=r.get(n))||a.push(i),e[n]=function(){for(var e,t=arguments.length,o=new Array(t),i=0;i<t;i++)o[i]=arguments[i];return null==(e=r.get(n))?void 0:e.map((e=>e(...o))).find((e=>void 0!==e))})):e[n]=i)})),e):e),{})}}function le(e){void 0===e&&(e=[]);const t=e.map((e=>null==e?void 0:e.reference)),n=e.map((e=>null==e?void 0:e.floating)),r=e.map((e=>null==e?void 0:e.item)),i=o.useCallback((t=>ue(t,e,"reference")),t),a=o.useCallback((t=>ue(t,e,"floating")),n),c=o.useCallback((t=>ue(t,e,"item")),r);return o.useMemo((()=>({getReferenceProps:i,getFloatingProps:a,getItemProps:c})),[i,a,c])}},66984:(e,t,n)=>{"use strict";n.d(t,{$t:()=>c,$u:()=>x,EW:()=>y,F2:()=>g,Go:()=>f,O_:()=>h,Pg:()=>u,RS:()=>o,WZ:()=>A,YE:()=>v,YF:()=>s,cX:()=>p,gR:()=>i,jo:()=>w,nr:()=>l,tZ:()=>m,uo:()=>a});var r=n(86635);function o(e){let t=e.activeElement;for(;null!=(null==(n=t)||null==(n=n.shadowRoot)?void 0:n.activeElement);){var n;t=t.shadowRoot.activeElement}return t}function i(e,t){if(!e||!t)return!1;const n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&(0,r.Ng)(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function a(){const e=navigator.userAgentData;return null!=e&&e.platform?e.platform:navigator.platform}function c(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map((e=>{let{brand:t,version:n}=e;return t+"/"+n})).join(" "):navigator.userAgent}function s(e){return!(0!==e.mozInputSource||!e.isTrusted)||(d()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function u(e){return!c().includes("jsdom/")&&(!d()&&0===e.width&&0===e.height||d()&&1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType||e.width<1&&e.height<1&&0===e.pressure&&0===e.detail&&"touch"===e.pointerType)}function l(){return/apple/i.test(navigator.vendor)}function d(){const e=/android/i;return e.test(a())||e.test(c())}function p(){return a().toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints}function f(e,t){const n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function h(e){return"nativeEvent"in e}function m(e){return e.matches("html,body")}function v(e){return(null==e?void 0:e.ownerDocument)||document}function g(e,t){if(null==t)return!1;if("composedPath"in e)return e.composedPath().includes(t);const n=e;return null!=n.target&&t.contains(n.target)}function y(e){return"composedPath"in e?e.composedPath()[0]:e.target}const b="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";function x(e){return(0,r.sb)(e)&&e.matches(b)}function w(e){e.preventDefault(),e.stopPropagation()}function A(e){return!!e&&("combobox"===e.getAttribute("role")&&x(e))}},86635:(e,t,n)=>{"use strict";function r(){return"undefined"!=typeof window}function o(e){return a(e)?(e.nodeName||"").toLowerCase():"#document"}function i(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function a(e){return!!r()&&(e instanceof Node||e instanceof i(e).Node)}function c(e){return!!r()&&(e instanceof Element||e instanceof i(e).Element)}function s(e){return!!r()&&(e instanceof HTMLElement||e instanceof i(e).HTMLElement)}function u(e){return!(!r()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof i(e).ShadowRoot)}function l(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function d(e){return["html","body","#document"].includes(o(e))}function p(e){return i(e).getComputedStyle(e)}function f(e){if("html"===o(e))return e;const t=e.assignedSlot||e.parentNode||u(e)&&e.host||function(e){var t;return null==(t=(a(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}(e);return u(t)?t.host:t}n.d(t,{$4:()=>f,L9:()=>p,Ng:()=>u,Tc:()=>l,eu:()=>d,mq:()=>o,sb:()=>s,vq:()=>c,zk:()=>i})},81293:(e,t,n)=>{"use strict";n.d(t,{C6:()=>o,Cl:()=>i,fX:()=>a});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.create;function a(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;"function"==typeof SuppressedError&&SuppressedError},20038:(e,t,n)=>{"use strict";n.d(t,{U1:()=>d});var r=n(14644),o=n(27346),i="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?r.Zz:r.Zz.apply(null,arguments)};"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;var a=class e extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,e.prototype)}static get[Symbol.species](){return e}concat(...e){return super.concat.apply(this,e)}prepend(...t){return 1===t.length&&Array.isArray(t[0])?new e(...t[0].concat(this)):new e(...t.concat(this))}};var c=()=>function(e){const{thunk:t=!0,immutableCheck:n=!0,serializableCheck:r=!0,actionCreatorCheck:i=!0}=e??{};let c=new a;return t&&("boolean"==typeof t?c.push(o.P):c.push((0,o.Y)(t.extraArgument))),c},s="RTK_autoBatch",u=e=>t=>{setTimeout(t,e)},l=e=>function(t){const{autoBatch:n=!0}=t??{};let r=new a(e);return n&&r.push(((e={type:"raf"})=>t=>(...n)=>{const r=t(...n);let o=!0,i=!1,a=!1;const c=new Set,l="tick"===e.type?queueMicrotask:"raf"===e.type?"undefined"!=typeof window&&window.requestAnimationFrame?window.requestAnimationFrame:u(10):"callback"===e.type?e.queueNotification:u(e.timeout),d=()=>{a=!1,i&&(i=!1,c.forEach((e=>e())))};return Object.assign({},r,{subscribe(e){const t=r.subscribe((()=>o&&e()));return c.add(e),()=>{t(),c.delete(e)}},dispatch(e){try{return o=!e?.meta?.[s],i=!o,i&&(a||(a=!0,l(d))),r.dispatch(e)}finally{o=!0}}})})("object"==typeof n?n:void 0)),r};function d(e){const t=c(),{reducer:n,middleware:o,devTools:a=!0,preloadedState:s,enhancers:u}=e||{};let d,p;if("function"==typeof n)d=n;else{if(!(0,r.Qd)(n))throw new Error(f(1));d=(0,r.HY)(n)}p="function"==typeof o?o(t):t();let h=r.Zz;a&&(h=i({trace:!1,..."object"==typeof a&&a}));const m=(0,r.Tw)(...p),v=l(m);const g=h(..."function"==typeof u?u(v):v());return(0,r.y$)(d,s,g)}var{assign:p}=Object;Symbol.for("rtk-state-proxy-original");function f(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}},51819:(e,t,n)=>{"use strict";function r(e,t){return(e<0?"-":"")+Math.abs(e).toString().padStart(t,"0")}n.d(t,{F:()=>r})},92516:(e,t,n)=>{"use strict";n.d(t,{q:()=>o});let r={};function o(){return r}},32082:(e,t,n)=>{"use strict";n.d(t,{_:()=>v});var r=n(71104),o=n(84543),i=n(51898),a=n(97084),c=n(84485),s=n(51819),u=n(87758);const l="midnight",d="noon",p="morning",f="afternoon",h="evening",m="night",v={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){const t=e.getFullYear(),r=t>0?t:1-t;return n.ordinalNumber(r,{unit:"year"})}return u.C.y(e,t)},Y:function(e,t,n,r){const o=(0,c.h)(e,r),i=o>0?o:1-o;if("YY"===t){const e=i%100;return(0,s.F)(e,2)}return"Yo"===t?n.ordinalNumber(i,{unit:"year"}):(0,s.F)(i,t.length)},R:function(e,t){const n=(0,i.p)(e);return(0,s.F)(n,t.length)},u:function(e,t){const n=e.getFullYear();return(0,s.F)(n,t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return(0,s.F)(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return(0,s.F)(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return u.C.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return(0,s.F)(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const o=(0,a.N)(e,r);return"wo"===t?n.ordinalNumber(o,{unit:"week"}):(0,s.F)(o,t.length)},I:function(e,t,n){const r=(0,o.s)(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):(0,s.F)(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):u.C.d(e,t)},D:function(e,t,n){const o=(0,r.F)(e);return"Do"===t?n.ordinalNumber(o,{unit:"dayOfYear"}):(0,s.F)(o,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return(0,s.F)(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return(0,s.F)(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),o=0===r?7:r;switch(t){case"i":return String(o);case"ii":return(0,s.F)(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let o;switch(o=12===r?d:0===r?l:r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let o;switch(o=r>=17?h:r>=12?f:r>=4?p:m,t){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return u.C.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):u.C.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):(0,s.F)(r,t.length)},k:function(e,t,n){let r=e.getHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):(0,s.F)(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):u.C.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):u.C.s(e,t)},S:function(e,t){return u.C.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return y(r);case"XXXX":case"XX":return b(r);default:return b(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return y(r);case"xxxx":case"xx":return b(r);default:return b(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+g(r,":");default:return"GMT"+b(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+g(r,":");default:return"GMT"+b(r,":")}},t:function(e,t,n){const r=Math.trunc(+e/1e3);return(0,s.F)(r,t.length)},T:function(e,t,n){return(0,s.F)(+e,t.length)}};function g(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),o=Math.trunc(r/60),i=r%60;return 0===i?n+String(o):n+String(o)+t+(0,s.F)(i,2)}function y(e,t){if(e%60==0){return(e>0?"-":"+")+(0,s.F)(Math.abs(e)/60,2)}return b(e,t)}function b(e,t=""){const n=e>0?"-":"+",r=Math.abs(e);return n+(0,s.F)(Math.trunc(r/60),2)+t+(0,s.F)(r%60,2)}},87758:(e,t,n)=>{"use strict";n.d(t,{C:()=>o});var r=n(51819);const o={y(e,t){const n=e.getFullYear(),o=n>0?n:1-n;return(0,r.F)("yy"===t?o%100:o,t.length)},M(e,t){const n=e.getMonth();return"M"===t?String(n+1):(0,r.F)(n+1,2)},d:(e,t)=>(0,r.F)(e.getDate(),t.length),a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>(0,r.F)(e.getHours()%12||12,t.length),H:(e,t)=>(0,r.F)(e.getHours(),t.length),m:(e,t)=>(0,r.F)(e.getMinutes(),t.length),s:(e,t)=>(0,r.F)(e.getSeconds(),t.length),S(e,t){const n=t.length,o=e.getMilliseconds(),i=Math.trunc(o*Math.pow(10,n-3));return(0,r.F)(i,t.length)}}},78668:(e,t,n)=>{"use strict";n.d(t,{m:()=>i});const r=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},o=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},i={p:o,P:(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],i=n[1],a=n[2];if(!a)return r(e,t);let c;switch(i){case"P":c=t.dateTime({width:"short"});break;case"PP":c=t.dateTime({width:"medium"});break;case"PPP":c=t.dateTime({width:"long"});break;default:c=t.dateTime({width:"full"})}return c.replace("{{date}}",r(i,t)).replace("{{time}}",o(a,t))}}},1108:(e,t,n)=>{"use strict";n.d(t,{G:()=>o});var r=n(29407);function o(e){const t=(0,r.a)(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}},5305:(e,t,n)=>{"use strict";n.d(t,{x:()=>o});var r=n(43329);function o(e,...t){const n=r.w.bind(null,e||t.find((e=>"object"==typeof e)));return t.map(n)}},3265:(e,t,n)=>{"use strict";n.d(t,{Ss:()=>s,ef:()=>a,xM:()=>c});const r=/^D+$/,o=/^Y+$/,i=["D","DD","YY","YYYY"];function a(e){return r.test(e)}function c(e){return o.test(e)}function s(e,t,n){const r=function(e,t,n){const r="Y"===e[0]?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(e,t,n);if(console.warn(r),i.includes(e))throw new RangeError(r)}},61501:(e,t,n)=>{"use strict";n.d(t,{Cg:()=>i,_P:()=>s,_m:()=>c,my:()=>r,s0:()=>a,w4:()=>o});Math.pow(10,8);const r=6048e5,o=864e5,i=6e4,a=36e5,c=1e3,s=Symbol.for("constructDateFrom")},43329:(e,t,n)=>{"use strict";n.d(t,{w:()=>o});var r=n(61501);function o(e,t){return"function"==typeof e?e(t):e&&"object"==typeof e&&r._P in e?e[r._P](t):e instanceof Date?new e.constructor(t):new Date(t)}},2831:(e,t,n)=>{"use strict";n.d(t,{m:()=>c});var r=n(1108),o=n(5305),i=n(61501),a=n(6463);function c(e,t,n){const[c,s]=(0,o.x)(n?.in,e,t),u=(0,a.o)(c),l=(0,a.o)(s),d=+u-(0,r.G)(u),p=+l-(0,r.G)(l);return Math.round((d-p)/i.w4)}},12541:(e,t,n)=>{"use strict";n.d(t,{GP:()=>m});var r=n(14501),o=n(92516),i=n(32082),a=n(78668),c=n(3265),s=n(32370),u=n(29407);const l=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,d=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,p=/^'([^]*?)'?$/,f=/''/g,h=/[a-zA-Z]/;function m(e,t,n){const p=(0,o.q)(),f=n?.locale??p.locale??r.c,m=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??p.firstWeekContainsDate??p.locale?.options?.firstWeekContainsDate??1,g=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??p.weekStartsOn??p.locale?.options?.weekStartsOn??0,y=(0,u.a)(e,n?.in);if(!(0,s.f)(y))throw new RangeError("Invalid time value");let b=t.match(d).map((e=>{const t=e[0];if("p"===t||"P"===t){return(0,a.m[t])(e,f.formatLong)}return e})).join("").match(l).map((e=>{if("''"===e)return{isToken:!1,value:"'"};const t=e[0];if("'"===t)return{isToken:!1,value:v(e)};if(i._[t])return{isToken:!0,value:e};if(t.match(h))throw new RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}}));f.localize.preprocessor&&(b=f.localize.preprocessor(y,b));const x={firstWeekContainsDate:m,weekStartsOn:g,locale:f};return b.map((r=>{if(!r.isToken)return r.value;const o=r.value;(!n?.useAdditionalWeekYearTokens&&(0,c.xM)(o)||!n?.useAdditionalDayOfYearTokens&&(0,c.ef)(o))&&(0,c.Ss)(o,t,String(e));return(0,i._[o[0]])(y,o,f.localize,x)})).join("")}function v(e){const t=e.match(p);return t?t[1].replace(f,"'"):e}},71104:(e,t,n)=>{"use strict";n.d(t,{F:()=>a});var r=n(2831),o=n(70228),i=n(29407);function a(e,t){const n=(0,i.a)(e,t?.in);return(0,r.m)(n,(0,o.D)(n))+1}},40337:(e,t,n)=>{"use strict";n.d(t,{q:()=>o});var r=n(29407);function o(e,t){return(0,r.a)(e,t?.in).getHours()}},84543:(e,t,n)=>{"use strict";n.d(t,{s:()=>c});var r=n(61501),o=n(22008),i=n(30569),a=n(29407);function c(e,t){const n=(0,a.a)(e,t?.in),c=+(0,o.b)(n)-+(0,i.w)(n);return Math.round(c/r.my)+1}},51898:(e,t,n)=>{"use strict";n.d(t,{p:()=>a});var r=n(43329),o=n(22008),i=n(29407);function a(e,t){const n=(0,i.a)(e,t?.in),a=n.getFullYear(),c=(0,r.w)(n,0);c.setFullYear(a+1,0,4),c.setHours(0,0,0,0);const s=(0,o.b)(c),u=(0,r.w)(n,0);u.setFullYear(a,0,4),u.setHours(0,0,0,0);const l=(0,o.b)(u);return n.getTime()>=s.getTime()?a+1:n.getTime()>=l.getTime()?a:a-1}},4155:(e,t,n)=>{"use strict";n.d(t,{O:()=>o});var r=n(29407);function o(e,t){return(0,r.a)(e,t?.in).getMinutes()}},97084:(e,t,n)=>{"use strict";n.d(t,{N:()=>c});var r=n(61501),o=n(80337),i=n(73576),a=n(29407);function c(e,t){const n=(0,a.a)(e,t?.in),c=+(0,o.k)(n,t)-+(0,i.b)(n,t);return Math.round(c/r.my)+1}},84485:(e,t,n)=>{"use strict";n.d(t,{h:()=>c});var r=n(92516),o=n(43329),i=n(80337),a=n(29407);function c(e,t){const n=(0,a.a)(e,t?.in),c=n.getFullYear(),s=(0,r.q)(),u=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??s.firstWeekContainsDate??s.locale?.options?.firstWeekContainsDate??1,l=(0,o.w)(t?.in||e,0);l.setFullYear(c+1,0,u),l.setHours(0,0,0,0);const d=(0,i.k)(l,t),p=(0,o.w)(t?.in||e,0);p.setFullYear(c,0,u),p.setHours(0,0,0,0);const f=(0,i.k)(p,t);return+n>=+d?c+1:+n>=+f?c:c-1}},80658:(e,t,n)=>{"use strict";function r(e){return e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e)}n.d(t,{$:()=>r})},90096:(e,t,n)=>{"use strict";n.d(t,{R:()=>i});var r=n(5305),o=n(80337);function i(e,t,n){const[i,a]=(0,r.x)(n?.in,e,t);return+(0,o.k)(i,n)==+(0,o.k)(a,n)}},32370:(e,t,n)=>{"use strict";n.d(t,{f:()=>i});var r=n(80658),o=n(29407);function i(e){return!(!(0,r.$)(e)&&"number"!=typeof e||isNaN(+(0,o.a)(e)))}},7277:(e,t,n)=>{"use strict";function r(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}n.d(t,{k:()=>r})},33443:(e,t,n)=>{"use strict";function r(e){return(t,n)=>{let r;if("formatting"===(n?.context?String(n.context):"standalone")&&e.formattingValues){const t=e.defaultFormattingWidth||e.defaultWidth,o=n?.width?String(n.width):t;r=e.formattingValues[o]||e.formattingValues[t]}else{const t=e.defaultWidth,o=n?.width?String(n.width):e.defaultWidth;r=e.values[o]||e.values[t]}return r[e.argumentCallback?e.argumentCallback(t):t]}}n.d(t,{o:()=>r})},57883:(e,t,n)=>{"use strict";function r(e){return(t,n={})=>{const r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(o);if(!i)return null;const a=i[0],c=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],s=Array.isArray(c)?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n;return}(c,(e=>e.test(a))):function(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n;return}(c,(e=>e.test(a)));let u;u=e.valueCallback?e.valueCallback(s):s,u=n.valueCallback?n.valueCallback(u):u;return{value:u,rest:t.slice(a.length)}}}n.d(t,{A:()=>r})},20337:(e,t,n)=>{"use strict";function r(e){return(t,n={})=>{const r=t.match(e.matchPattern);if(!r)return null;const o=r[0],i=t.match(e.parsePattern);if(!i)return null;let a=e.valueCallback?e.valueCallback(i[0]):i[0];a=n.valueCallback?n.valueCallback(a):a;return{value:a,rest:t.slice(o.length)}}}n.d(t,{K:()=>r})},86688:(e,t,n)=>{"use strict";n.d(t,{de:()=>s});var r=n(3034),o=n(21451),i=n(58773),a=n(7925),c=n(18081);const s={code:"de",formatDistance:r.B,formatLong:o.s,formatRelative:i.o,localize:a.k,match:c.Y,options:{weekStartsOn:1,firstWeekContainsDate:4}}},3034:(e,t,n)=>{"use strict";n.d(t,{B:()=>o});const r={lessThanXSeconds:{standalone:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"},withPreposition:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"}},xSeconds:{standalone:{one:"1 Sekunde",other:"{{count}} Sekunden"},withPreposition:{one:"1 Sekunde",other:"{{count}} Sekunden"}},halfAMinute:{standalone:"eine halbe Minute",withPreposition:"einer halben Minute"},lessThanXMinutes:{standalone:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"},withPreposition:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"}},xMinutes:{standalone:{one:"1 Minute",other:"{{count}} Minuten"},withPreposition:{one:"1 Minute",other:"{{count}} Minuten"}},aboutXHours:{standalone:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"},withPreposition:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"}},xHours:{standalone:{one:"1 Stunde",other:"{{count}} Stunden"},withPreposition:{one:"1 Stunde",other:"{{count}} Stunden"}},xDays:{standalone:{one:"1 Tag",other:"{{count}} Tage"},withPreposition:{one:"1 Tag",other:"{{count}} Tagen"}},aboutXWeeks:{standalone:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"},withPreposition:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"}},xWeeks:{standalone:{one:"1 Woche",other:"{{count}} Wochen"},withPreposition:{one:"1 Woche",other:"{{count}} Wochen"}},aboutXMonths:{standalone:{one:"etwa 1 Monat",other:"etwa {{count}} Monate"},withPreposition:{one:"etwa 1 Monat",other:"etwa {{count}} Monaten"}},xMonths:{standalone:{one:"1 Monat",other:"{{count}} Monate"},withPreposition:{one:"1 Monat",other:"{{count}} Monaten"}},aboutXYears:{standalone:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahre"},withPreposition:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahren"}},xYears:{standalone:{one:"1 Jahr",other:"{{count}} Jahre"},withPreposition:{one:"1 Jahr",other:"{{count}} Jahren"}},overXYears:{standalone:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahre"},withPreposition:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahren"}},almostXYears:{standalone:{one:"fast 1 Jahr",other:"fast {{count}} Jahre"},withPreposition:{one:"fast 1 Jahr",other:"fast {{count}} Jahren"}}},o=(e,t,n)=>{let o;const i=n?.addSuffix?r[e].withPreposition:r[e].standalone;return o="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?"in "+o:"vor "+o:o}},21451:(e,t,n)=>{"use strict";n.d(t,{s:()=>o});var r=n(7277);const o={date:(0,r.k)({formats:{full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},defaultWidth:"full"}),time:(0,r.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,r.k)({formats:{full:"{{date}} 'um' {{time}}",long:"{{date}} 'um' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})}},58773:(e,t,n)=>{"use strict";n.d(t,{o:()=>o});const r={lastWeek:"'letzten' eeee 'um' p",yesterday:"'gestern um' p",today:"'heute um' p",tomorrow:"'morgen um' p",nextWeek:"eeee 'um' p",other:"P"},o=(e,t,n,o)=>r[e]},7925:(e,t,n)=>{"use strict";n.d(t,{k:()=>a});var r=n(33443);const o={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],wide:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]},i={narrow:o.narrow,abbreviated:["Jan.","Feb.","März","Apr.","Mai","Juni","Juli","Aug.","Sep.","Okt.","Nov.","Dez."],wide:o.wide},a={ordinalNumber:e=>Number(e)+".",era:(0,r.o)({values:{narrow:["v.Chr.","n.Chr."],abbreviated:["v.Chr.","n.Chr."],wide:["vor Christus","nach Christus"]},defaultWidth:"wide"}),quarter:(0,r.o)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. Quartal","2. Quartal","3. Quartal","4. Quartal"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,r.o)({values:o,formattingValues:i,defaultWidth:"wide"}),day:(0,r.o)({values:{narrow:["S","M","D","M","D","F","S"],short:["So","Mo","Di","Mi","Do","Fr","Sa"],abbreviated:["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],wide:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},defaultWidth:"wide"}),dayPeriod:(0,r.o)({values:{narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachm.",evening:"Abend",night:"Nacht"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"}},defaultWidth:"wide",formattingValues:{narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachm.",evening:"abends",night:"nachts"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"}},defaultFormattingWidth:"wide"})}},18081:(e,t,n)=>{"use strict";n.d(t,{Y:()=>o});var r=n(57883);const o={ordinalNumber:(0,n(20337).K)({matchPattern:/^(\d+)(\.)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e)}),era:(0,r.A)({matchPatterns:{narrow:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,abbreviated:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,wide:/^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^v/i,/^n/i]},defaultParseWidth:"any"}),quarter:(0,r.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? Quartal/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,r.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(j[aä]n|feb|mär[z]?|apr|mai|jun[i]?|jul[i]?|aug|sep|okt|nov|dez)\.?/i,wide:/^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^j[aä]/i,/^f/i,/^mär/i,/^ap/i,/^mai/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,r.A)({matchPatterns:{narrow:/^[smdmf]/i,short:/^(so|mo|di|mi|do|fr|sa)/i,abbreviated:/^(son?|mon?|die?|mit?|don?|fre?|sam?)\.?/i,wide:/^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^so/i,/^mo/i,/^di/i,/^mi/i,/^do/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,r.A)({matchPatterns:{narrow:/^(vm\.?|nm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,abbreviated:/^(vorm\.?|nachm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,wide:/^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i},defaultMatchWidth:"wide",parsePatterns:{any:{am:/^v/i,pm:/^n/i,midnight:/^Mitte/i,noon:/^Mitta/i,morning:/morgens/i,afternoon:/nachmittags/i,evening:/abends/i,night:/nachts/i}},defaultParseWidth:"any"})}},14501:(e,t,n)=>{"use strict";n.d(t,{c:()=>s});var r=n(70331),o=n(75270),i=n(31456),a=n(51584),c=n(18106);const s={code:"en-US",formatDistance:r.B,formatLong:o.s,formatRelative:i.o,localize:a.k,match:c.Y,options:{weekStartsOn:0,firstWeekContainsDate:1}}},70331:(e,t,n)=>{"use strict";n.d(t,{B:()=>o});const r={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},o=(e,t,n)=>{let o;const i=r[e];return o="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+o:o+" ago":o}},75270:(e,t,n)=>{"use strict";n.d(t,{s:()=>o});var r=n(7277);const o={date:(0,r.k)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,r.k)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,r.k)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})}},31456:(e,t,n)=>{"use strict";n.d(t,{o:()=>o});const r={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},o=(e,t,n,o)=>r[e]},51584:(e,t,n)=>{"use strict";n.d(t,{k:()=>o});var r=n(33443);const o={ordinalNumber:(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:(0,r.o)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,r.o)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,r.o)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:(0,r.o)({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:(0,r.o)({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})}},18106:(e,t,n)=>{"use strict";n.d(t,{Y:()=>o});var r=n(57883);const o={ordinalNumber:(0,n(20337).K)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,r.A)({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:(0,r.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,r.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,r.A)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,r.A)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})}},75867:(e,t,n)=>{"use strict";n.d(t,{O:()=>s});var r=n(54277),o=n(35478),i=n(32180),a=n(86908),c=n(63778);const s={code:"fr-CH",formatDistance:r.B,formatLong:a.s,formatRelative:c.o,localize:o.k,match:i.Y,options:{weekStartsOn:1,firstWeekContainsDate:4}}},86908:(e,t,n)=>{"use strict";n.d(t,{s:()=>o});var r=n(7277);const o={date:(0,r.k)({formats:{full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd.MM.y"},defaultWidth:"full"}),time:(0,r.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,r.k)({formats:{full:"{{date}} 'à' {{time}}",long:"{{date}} 'à' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})}},63778:(e,t,n)=>{"use strict";n.d(t,{o:()=>o});const r={lastWeek:"eeee 'la semaine dernière à' p",yesterday:"'hier à' p",today:"'aujourd’hui à' p",tomorrow:"'demain à' p'",nextWeek:"eeee 'la semaine prochaine à' p",other:"P"},o=(e,t,n,o)=>r[e]},54277:(e,t,n)=>{"use strict";n.d(t,{B:()=>o});const r={lessThanXSeconds:{one:"moins d’une seconde",other:"moins de {{count}} secondes"},xSeconds:{one:"1 seconde",other:"{{count}} secondes"},halfAMinute:"30 secondes",lessThanXMinutes:{one:"moins d’une minute",other:"moins de {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"environ 1 heure",other:"environ {{count}} heures"},xHours:{one:"1 heure",other:"{{count}} heures"},xDays:{one:"1 jour",other:"{{count}} jours"},aboutXWeeks:{one:"environ 1 semaine",other:"environ {{count}} semaines"},xWeeks:{one:"1 semaine",other:"{{count}} semaines"},aboutXMonths:{one:"environ 1 mois",other:"environ {{count}} mois"},xMonths:{one:"1 mois",other:"{{count}} mois"},aboutXYears:{one:"environ 1 an",other:"environ {{count}} ans"},xYears:{one:"1 an",other:"{{count}} ans"},overXYears:{one:"plus d’un an",other:"plus de {{count}} ans"},almostXYears:{one:"presqu’un an",other:"presque {{count}} ans"}},o=(e,t,n)=>{let o;const i=r[e];return o="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?"dans "+o:"il y a "+o:o}},35478:(e,t,n)=>{"use strict";n.d(t,{k:()=>i});var r=n(33443);const o=["MMM","MMMM"],i={preprocessor:(e,t)=>{if(1===e.getDate())return t;return t.some((e=>e.isToken&&o.includes(e.value)))?t.map((e=>e.isToken&&"do"===e.value?{isToken:!0,value:"d"}:e)):t},ordinalNumber:(e,t)=>{const n=Number(e),r=t?.unit;if(0===n)return"0";let o;return o=1===n?r&&["year","week","hour","minute","second"].includes(r)?"ère":"er":"ème",n+o},era:(0,r.o)({values:{narrow:["av. J.-C","ap. J.-C"],abbreviated:["av. J.-C","ap. J.-C"],wide:["avant Jésus-Christ","après Jésus-Christ"]},defaultWidth:"wide"}),quarter:(0,r.o)({values:{narrow:["T1","T2","T3","T4"],abbreviated:["1er trim.","2ème trim.","3ème trim.","4ème trim."],wide:["1er trimestre","2ème trimestre","3ème trimestre","4ème trimestre"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,r.o)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],wide:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"]},defaultWidth:"wide"}),day:(0,r.o)({values:{narrow:["D","L","M","M","J","V","S"],short:["di","lu","ma","me","je","ve","sa"],abbreviated:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],wide:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},defaultWidth:"wide"}),dayPeriod:(0,r.o)({values:{narrow:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"mat.",afternoon:"ap.m.",evening:"soir",night:"mat."},abbreviated:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"matin",afternoon:"après-midi",evening:"soir",night:"matin"},wide:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"du matin",afternoon:"de l’après-midi",evening:"du soir",night:"du matin"}},defaultWidth:"wide"})}},32180:(e,t,n)=>{"use strict";n.d(t,{Y:()=>o});var r=n(57883);const o={ordinalNumber:(0,n(20337).K)({matchPattern:/^(\d+)(ième|ère|ème|er|e)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e)}),era:(0,r.A)({matchPatterns:{narrow:/^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i,abbreviated:/^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,wide:/^(avant Jésus-Christ|après Jésus-Christ)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^av/i,/^ap/i]},defaultParseWidth:"any"}),quarter:(0,r.A)({matchPatterns:{narrow:/^T?[1234]/i,abbreviated:/^[1234](er|ème|e)? trim\.?/i,wide:/^[1234](er|ème|e)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,r.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,wide:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^av/i,/^ma/i,/^juin/i,/^juil/i,/^ao/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,r.A)({matchPatterns:{narrow:/^[lmjvsd]/i,short:/^(di|lu|ma|me|je|ve|sa)/i,abbreviated:/^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,wide:/^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^di/i,/^lu/i,/^ma/i,/^me/i,/^je/i,/^ve/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,r.A)({matchPatterns:{narrow:/^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i,any:/^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^min/i,noon:/^mid/i,morning:/mat/i,afternoon:/ap/i,evening:/soir/i,night:/nuit/i}},defaultParseWidth:"any"})}},95494:(e,t,n)=>{"use strict";n.d(t,{it:()=>s});var r=n(6200),o=n(41601),i=n(79207),a=n(43847),c=n(58255);const s={code:"it",formatDistance:r.B,formatLong:o.s,formatRelative:i.o,localize:a.k,match:c.Y,options:{weekStartsOn:1,firstWeekContainsDate:4}}},6200:(e,t,n)=>{"use strict";n.d(t,{B:()=>o});const r={lessThanXSeconds:{one:"meno di un secondo",other:"meno di {{count}} secondi"},xSeconds:{one:"un secondo",other:"{{count}} secondi"},halfAMinute:"alcuni secondi",lessThanXMinutes:{one:"meno di un minuto",other:"meno di {{count}} minuti"},xMinutes:{one:"un minuto",other:"{{count}} minuti"},aboutXHours:{one:"circa un'ora",other:"circa {{count}} ore"},xHours:{one:"un'ora",other:"{{count}} ore"},xDays:{one:"un giorno",other:"{{count}} giorni"},aboutXWeeks:{one:"circa una settimana",other:"circa {{count}} settimane"},xWeeks:{one:"una settimana",other:"{{count}} settimane"},aboutXMonths:{one:"circa un mese",other:"circa {{count}} mesi"},xMonths:{one:"un mese",other:"{{count}} mesi"},aboutXYears:{one:"circa un anno",other:"circa {{count}} anni"},xYears:{one:"un anno",other:"{{count}} anni"},overXYears:{one:"più di un anno",other:"più di {{count}} anni"},almostXYears:{one:"quasi un anno",other:"quasi {{count}} anni"}},o=(e,t,n)=>{let o;const i=r[e];return o="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"tra "+o:o+" fa":o}},41601:(e,t,n)=>{"use strict";n.d(t,{s:()=>o});var r=n(7277);const o={date:(0,r.k)({formats:{full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:(0,r.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,r.k)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})}},79207:(e,t,n)=>{"use strict";n.d(t,{o:()=>c});var r=n(90096);const o=["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"];function i(e){return"'"+o[e]+" alle' p"}const a={lastWeek:(e,t,n)=>{const a=e.getDay();return(0,r.R)(e,t,n)?i(a):function(e){return 0===e?"'domenica scorsa alle' p":"'"+o[e]+" scorso alle' p"}(a)},yesterday:"'ieri alle' p",today:"'oggi alle' p",tomorrow:"'domani alle' p",nextWeek:(e,t,n)=>{const a=e.getDay();return(0,r.R)(e,t,n)?i(a):function(e){return 0===e?"'domenica prossima alle' p":"'"+o[e]+" prossimo alle' p"}(a)},other:"P"},c=(e,t,n,r)=>{const o=a[e];return"function"==typeof o?o(t,n,r):o}},43847:(e,t,n)=>{"use strict";n.d(t,{k:()=>o});var r=n(33443);const o={ordinalNumber:(e,t)=>{const n=Number(e);return String(n)},era:(0,r.o)({values:{narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["avanti Cristo","dopo Cristo"]},defaultWidth:"wide"}),quarter:(0,r.o)({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,r.o)({values:{narrow:["G","F","M","A","M","G","L","A","S","O","N","D"],abbreviated:["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],wide:["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"]},defaultWidth:"wide"}),day:(0,r.o)({values:{narrow:["D","L","M","M","G","V","S"],short:["dom","lun","mar","mer","gio","ven","sab"],abbreviated:["dom","lun","mar","mer","gio","ven","sab"],wide:["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"]},defaultWidth:"wide"}),dayPeriod:(0,r.o)({values:{narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"}},defaultWidth:"wide",formattingValues:{narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"}},defaultFormattingWidth:"wide"})}},58255:(e,t,n)=>{"use strict";n.d(t,{Y:()=>o});var r=n(57883);const o={ordinalNumber:(0,n(20337).K)({matchPattern:/^(\d+)(º)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,r.A)({matchPatterns:{narrow:/^(aC|dC)/i,abbreviated:/^(a\.?\s?C\.?|a\.?\s?e\.?\s?v\.?|d\.?\s?C\.?|e\.?\s?v\.?)/i,wide:/^(avanti Cristo|avanti Era Volgare|dopo Cristo|Era Volgare)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^a/i,/^(d|e)/i]},defaultParseWidth:"any"}),quarter:(0,r.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^t[1234]/i,wide:/^[1234](º)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,r.A)({matchPatterns:{narrow:/^[gfmalsond]/i,abbreviated:/^(gen|feb|mar|apr|mag|giu|lug|ago|set|ott|nov|dic)/i,wide:/^(gennaio|febbraio|marzo|aprile|maggio|giugno|luglio|agosto|settembre|ottobre|novembre|dicembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^g/i,/^f/i,/^m/i,/^a/i,/^m/i,/^g/i,/^l/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ge/i,/^f/i,/^mar/i,/^ap/i,/^mag/i,/^gi/i,/^l/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,r.A)({matchPatterns:{narrow:/^[dlmgvs]/i,short:/^(do|lu|ma|me|gi|ve|sa)/i,abbreviated:/^(dom|lun|mar|mer|gio|ven|sab)/i,wide:/^(domenica|luned[i|ì]|marted[i|ì]|mercoled[i|ì]|gioved[i|ì]|venerd[i|ì]|sabato)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^g/i,/^v/i,/^s/i],any:[/^d/i,/^l/i,/^ma/i,/^me/i,/^g/i,/^v/i,/^s/i]},defaultParseWidth:"any"}),dayPeriod:(0,r.A)({matchPatterns:{narrow:/^(a|m\.|p|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i,any:/^([ap]\.?\s?m\.?|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mezza/i,noon:/^mezzo/i,morning:/mattina/i,afternoon:/pomeriggio/i,evening:/sera/i,night:/notte/i}},defaultParseWidth:"any"})}},14533:(e,t,n)=>{"use strict";n.d(t,{a:()=>o});var r=n(29407);function o(e,t,n){const o=(0,r.a)(e,n?.in);return o.setHours(t),o}},36374:(e,t,n)=>{"use strict";n.d(t,{$:()=>o});var r=n(29407);function o(e,t,n){const o=(0,r.a)(e,n?.in);return o.setMilliseconds(t),o}},74279:(e,t,n)=>{"use strict";n.d(t,{g:()=>o});var r=n(29407);function o(e,t,n){const o=(0,r.a)(e,n?.in);return o.setMinutes(t),o}},81007:(e,t,n)=>{"use strict";n.d(t,{g:()=>o});var r=n(29407);function o(e,t,n){const o=(0,r.a)(e,n?.in);return o.setSeconds(t),o}},6463:(e,t,n)=>{"use strict";n.d(t,{o:()=>o});var r=n(29407);function o(e,t){const n=(0,r.a)(e,t?.in);return n.setHours(0,0,0,0),n}},22008:(e,t,n)=>{"use strict";n.d(t,{b:()=>o});var r=n(80337);function o(e,t){return(0,r.k)(e,{...t,weekStartsOn:1})}},30569:(e,t,n)=>{"use strict";n.d(t,{w:()=>a});var r=n(43329),o=n(51898),i=n(22008);function a(e,t){const n=(0,o.p)(e,t),a=(0,r.w)(t?.in||e,0);return a.setFullYear(n,0,4),a.setHours(0,0,0,0),(0,i.b)(a)}},80337:(e,t,n)=>{"use strict";n.d(t,{k:()=>i});var r=n(92516),o=n(29407);function i(e,t){const n=(0,r.q)(),i=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,a=(0,o.a)(e,t?.in),c=a.getDay(),s=(c<i?7:0)+c-i;return a.setDate(a.getDate()-s),a.setHours(0,0,0,0),a}},73576:(e,t,n)=>{"use strict";n.d(t,{b:()=>c});var r=n(92516),o=n(43329),i=n(84485),a=n(80337);function c(e,t){const n=(0,r.q)(),c=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,s=(0,i.h)(e,t),u=(0,o.w)(t?.in||e,0);u.setFullYear(s,0,c),u.setHours(0,0,0,0);return(0,a.k)(u,t)}},70228:(e,t,n)=>{"use strict";n.d(t,{D:()=>o});var r=n(29407);function o(e,t){const n=(0,r.a)(e,t?.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}},29407:(e,t,n)=>{"use strict";n.d(t,{a:()=>o});var r=n(43329);function o(e,t){return(0,r.w)(t||e,e)}},99418:(e,t,n)=>{"use strict";n.d(t,{A:()=>ae});
|
|
66
66
|
/*! @license DOMPurify 3.2.4 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.4/LICENSE */
|
|
67
|
-
const{entries:r,setPrototypeOf:o,isFrozen:i,getPrototypeOf:a,getOwnPropertyDescriptor:c}=Object;let{freeze:s,seal:u,create:l}=Object,{apply:d,construct:p}="undefined"!=typeof Reflect&&Reflect;s||(s=function(e){return e}),u||(u=function(e){return e}),d||(d=function(e,t,n){return e.apply(t,n)}),p||(p=function(e,t){return new e(...t)});const f=j(Array.prototype.forEach),h=j(Array.prototype.lastIndexOf),m=j(Array.prototype.pop),v=j(Array.prototype.push),g=j(Array.prototype.splice),y=j(String.prototype.toLowerCase),b=j(String.prototype.toString),x=j(String.prototype.match),w=j(String.prototype.replace),A=j(String.prototype.indexOf),O=j(String.prototype.trim),k=j(Object.prototype.hasOwnProperty),E=j(RegExp.prototype.test),S=function(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return p(e,n)}}(TypeError);function j(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return d(e,t,r)}}function T(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:y;o&&o(e,null);let r=t.length;for(;r--;){let o=t[r];if("string"==typeof o){const e=n(o);e!==o&&(i(t)||(t[r]=e),o=e)}e[o]=!0}return e}function P(e){for(let t=0;t<e.length;t++){k(e,t)||(e[t]=null)}return e}function C(e){const t=l(null);for(const[n,o]of r(e)){k(e,n)&&(Array.isArray(o)?t[n]=P(o):o&&"object"==typeof o&&o.constructor===Object?t[n]=C(o):t[n]=o)}return t}function _(e,t){for(;null!==e;){const n=c(e,t);if(n){if(n.get)return j(n.get);if("function"==typeof n.value)return j(n.value)}e=a(e)}return function(){return null}}const D=s(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),R=s(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),N=s(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),I=s(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),M=s(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),L=s(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),F=s(["#text"]),H=s(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),B=s(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),U=s(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),W=s(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),z=u(/\{\{[\w\W]*|[\w\W]*\}\}/gm),G=u(/<%[\w\W]*|[\w\W]*%>/gm),q=u(/\$\{[\w\W]*/gm),Y=u(/^data-[\-\w.\u00B7-\uFFFF]+$/),V=u(/^aria-[\-\w]+$/),$=u(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),K=u(/^(?:\w+script|data):/i),J=u(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),X=u(/^html$/i),Q=u(/^[a-z][.\w]*(-[.\w]+)+$/i);var Z=Object.freeze({__proto__:null,ARIA_ATTR:V,ATTR_WHITESPACE:J,CUSTOM_ELEMENT:Q,DATA_ATTR:Y,DOCTYPE_NAME:X,ERB_EXPR:G,IS_ALLOWED_URI:$,IS_SCRIPT_OR_DATA:K,MUSTACHE_EXPR:z,TMPLIT_EXPR:q});const ee=1,te=3,ne=7,re=8,oe=9,ie=function(){return"undefined"==typeof window?null:window};var ae=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ie();const n=t=>e(t);if(n.version="3.2.4",n.removed=[],!t||!t.document||t.document.nodeType!==oe||!t.Element)return n.isSupported=!1,n;let{document:o}=t;const i=o,a=i.currentScript,{DocumentFragment:c,HTMLTemplateElement:u,Node:d,Element:p,NodeFilter:j,NamedNodeMap:P=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:z,DOMParser:G,trustedTypes:q}=t,Y=p.prototype,V=_(Y,"cloneNode"),K=_(Y,"remove"),J=_(Y,"nextSibling"),Q=_(Y,"childNodes"),ae=_(Y,"parentNode");if("function"==typeof u){const e=o.createElement("template");e.content&&e.content.ownerDocument&&(o=e.content.ownerDocument)}let ce,se="";const{implementation:ue,createNodeIterator:le,createDocumentFragment:de,getElementsByTagName:pe}=o,{importNode:fe}=i;let he={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof r&&"function"==typeof ae&&ue&&void 0!==ue.createHTMLDocument;const{MUSTACHE_EXPR:me,ERB_EXPR:ve,TMPLIT_EXPR:ge,DATA_ATTR:ye,ARIA_ATTR:be,IS_SCRIPT_OR_DATA:xe,ATTR_WHITESPACE:we,CUSTOM_ELEMENT:Ae}=Z;let{IS_ALLOWED_URI:Oe}=Z,ke=null;const Ee=T({},[...D,...R,...N,...M,...F]);let Se=null;const je=T({},[...H,...B,...U,...W]);let Te=Object.seal(l(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Pe=null,Ce=null,_e=!0,De=!0,Re=!1,Ne=!0,Ie=!1,Me=!0,Le=!1,Fe=!1,He=!1,Be=!1,Ue=!1,We=!1,ze=!0,Ge=!1,qe=!0,Ye=!1,Ve={},$e=null;const Ke=T({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Je=null;const Xe=T({},["audio","video","img","source","image","track"]);let Qe=null;const Ze=T({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),et="http://www.w3.org/1998/Math/MathML",tt="http://www.w3.org/2000/svg",nt="http://www.w3.org/1999/xhtml";let rt=nt,ot=!1,it=null;const at=T({},[et,tt,nt],b);let ct=T({},["mi","mo","mn","ms","mtext"]),st=T({},["annotation-xml"]);const ut=T({},["title","style","font","a","script"]);let lt=null;const dt=["application/xhtml+xml","text/html"];let pt=null,ft=null;const ht=o.createElement("form"),mt=function(e){return e instanceof RegExp||e instanceof Function},vt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!ft||ft!==e){if(e&&"object"==typeof e||(e={}),e=C(e),lt=-1===dt.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,pt="application/xhtml+xml"===lt?b:y,ke=k(e,"ALLOWED_TAGS")?T({},e.ALLOWED_TAGS,pt):Ee,Se=k(e,"ALLOWED_ATTR")?T({},e.ALLOWED_ATTR,pt):je,it=k(e,"ALLOWED_NAMESPACES")?T({},e.ALLOWED_NAMESPACES,b):at,Qe=k(e,"ADD_URI_SAFE_ATTR")?T(C(Ze),e.ADD_URI_SAFE_ATTR,pt):Ze,Je=k(e,"ADD_DATA_URI_TAGS")?T(C(Xe),e.ADD_DATA_URI_TAGS,pt):Xe,$e=k(e,"FORBID_CONTENTS")?T({},e.FORBID_CONTENTS,pt):Ke,Pe=k(e,"FORBID_TAGS")?T({},e.FORBID_TAGS,pt):{},Ce=k(e,"FORBID_ATTR")?T({},e.FORBID_ATTR,pt):{},Ve=!!k(e,"USE_PROFILES")&&e.USE_PROFILES,_e=!1!==e.ALLOW_ARIA_ATTR,De=!1!==e.ALLOW_DATA_ATTR,Re=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ne=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Ie=e.SAFE_FOR_TEMPLATES||!1,Me=!1!==e.SAFE_FOR_XML,Le=e.WHOLE_DOCUMENT||!1,Be=e.RETURN_DOM||!1,Ue=e.RETURN_DOM_FRAGMENT||!1,We=e.RETURN_TRUSTED_TYPE||!1,He=e.FORCE_BODY||!1,ze=!1!==e.SANITIZE_DOM,Ge=e.SANITIZE_NAMED_PROPS||!1,qe=!1!==e.KEEP_CONTENT,Ye=e.IN_PLACE||!1,Oe=e.ALLOWED_URI_REGEXP||$,rt=e.NAMESPACE||nt,ct=e.MATHML_TEXT_INTEGRATION_POINTS||ct,st=e.HTML_INTEGRATION_POINTS||st,Te=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&mt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Te.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&mt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Te.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Te.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ie&&(De=!1),Ue&&(Be=!0),Ve&&(ke=T({},F),Se=[],!0===Ve.html&&(T(ke,D),T(Se,H)),!0===Ve.svg&&(T(ke,R),T(Se,B),T(Se,W)),!0===Ve.svgFilters&&(T(ke,N),T(Se,B),T(Se,W)),!0===Ve.mathMl&&(T(ke,M),T(Se,U),T(Se,W))),e.ADD_TAGS&&(ke===Ee&&(ke=C(ke)),T(ke,e.ADD_TAGS,pt)),e.ADD_ATTR&&(Se===je&&(Se=C(Se)),T(Se,e.ADD_ATTR,pt)),e.ADD_URI_SAFE_ATTR&&T(Qe,e.ADD_URI_SAFE_ATTR,pt),e.FORBID_CONTENTS&&($e===Ke&&($e=C($e)),T($e,e.FORBID_CONTENTS,pt)),qe&&(ke["#text"]=!0),Le&&T(ke,["html","head","body"]),ke.table&&(T(ke,["tbody"]),delete Pe.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw S('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw S('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ce=e.TRUSTED_TYPES_POLICY,se=ce.createHTML("")}else void 0===ce&&(ce=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const o="dompurify"+(n?"#"+n:"");try{return e.createPolicy(o,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(q,a)),null!==ce&&"string"==typeof se&&(se=ce.createHTML(""));s&&s(e),ft=e}},gt=T({},[...R,...N,...I]),yt=T({},[...M,...L]),bt=function(e){v(n.removed,{element:e});try{ae(e).removeChild(e)}catch(t){K(e)}},xt=function(e,t){try{v(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){v(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(Be||Ue)try{bt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},wt=function(e){let t=null,n=null;if(He)e="<remove></remove>"+e;else{const t=x(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===lt&&rt===nt&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const r=ce?ce.createHTML(e):e;if(rt===nt)try{t=(new G).parseFromString(r,lt)}catch(e){}if(!t||!t.documentElement){t=ue.createDocument(rt,"template",null);try{t.documentElement.innerHTML=ot?se:r}catch(e){}}const i=t.body||t.documentElement;return e&&n&&i.insertBefore(o.createTextNode(n),i.childNodes[0]||null),rt===nt?pe.call(t,Le?"html":"body")[0]:Le?t.documentElement:i},At=function(e){return le.call(e.ownerDocument||e,e,j.SHOW_ELEMENT|j.SHOW_COMMENT|j.SHOW_TEXT|j.SHOW_PROCESSING_INSTRUCTION|j.SHOW_CDATA_SECTION,null)},Ot=function(e){return e instanceof z&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof P)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},kt=function(e){return"function"==typeof d&&e instanceof d};function Et(e,t,r){f(e,(e=>{e.call(n,t,r,ft)}))}const St=function(e){let t=null;if(Et(he.beforeSanitizeElements,e,null),Ot(e))return bt(e),!0;const r=pt(e.nodeName);if(Et(he.uponSanitizeElement,e,{tagName:r,allowedTags:ke}),e.hasChildNodes()&&!kt(e.firstElementChild)&&E(/<[/\w]/g,e.innerHTML)&&E(/<[/\w]/g,e.textContent))return bt(e),!0;if(e.nodeType===ne)return bt(e),!0;if(Me&&e.nodeType===re&&E(/<[/\w]/g,e.data))return bt(e),!0;if(!ke[r]||Pe[r]){if(!Pe[r]&&Tt(r)){if(Te.tagNameCheck instanceof RegExp&&E(Te.tagNameCheck,r))return!1;if(Te.tagNameCheck instanceof Function&&Te.tagNameCheck(r))return!1}if(qe&&!$e[r]){const t=ae(e)||e.parentNode,n=Q(e)||e.childNodes;if(n&&t){for(let r=n.length-1;r>=0;--r){const o=V(n[r],!0);o.__removalCount=(e.__removalCount||0)+1,t.insertBefore(o,J(e))}}}return bt(e),!0}return e instanceof p&&!function(e){let t=ae(e);t&&t.tagName||(t={namespaceURI:rt,tagName:"template"});const n=y(e.tagName),r=y(t.tagName);return!!it[e.namespaceURI]&&(e.namespaceURI===tt?t.namespaceURI===nt?"svg"===n:t.namespaceURI===et?"svg"===n&&("annotation-xml"===r||ct[r]):Boolean(gt[n]):e.namespaceURI===et?t.namespaceURI===nt?"math"===n:t.namespaceURI===tt?"math"===n&&st[r]:Boolean(yt[n]):e.namespaceURI===nt?!(t.namespaceURI===tt&&!st[r])&&!(t.namespaceURI===et&&!ct[r])&&!yt[n]&&(ut[n]||!gt[n]):!("application/xhtml+xml"!==lt||!it[e.namespaceURI]))}(e)?(bt(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!E(/<\/no(script|embed|frames)/i,e.innerHTML)?(Ie&&e.nodeType===te&&(t=e.textContent,f([me,ve,ge],(e=>{t=w(t,e," ")})),e.textContent!==t&&(v(n.removed,{element:e.cloneNode()}),e.textContent=t)),Et(he.afterSanitizeElements,e,null),!1):(bt(e),!0)},jt=function(e,t,n){if(ze&&("id"===t||"name"===t)&&(n in o||n in ht))return!1;if(De&&!Ce[t]&&E(ye,t));else if(_e&&E(be,t));else if(!Se[t]||Ce[t]){if(!(Tt(e)&&(Te.tagNameCheck instanceof RegExp&&E(Te.tagNameCheck,e)||Te.tagNameCheck instanceof Function&&Te.tagNameCheck(e))&&(Te.attributeNameCheck instanceof RegExp&&E(Te.attributeNameCheck,t)||Te.attributeNameCheck instanceof Function&&Te.attributeNameCheck(t))||"is"===t&&Te.allowCustomizedBuiltInElements&&(Te.tagNameCheck instanceof RegExp&&E(Te.tagNameCheck,n)||Te.tagNameCheck instanceof Function&&Te.tagNameCheck(n))))return!1}else if(Qe[t]);else if(E(Oe,w(n,we,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==A(n,"data:")||!Je[e]){if(Re&&!E(xe,w(n,we,"")));else if(n)return!1}else;return!0},Tt=function(e){return"annotation-xml"!==e&&x(e,Ae)},Pt=function(e){Et(he.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||Ot(e))return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Se,forceKeepAttr:void 0};let o=t.length;for(;o--;){const i=t[o],{name:a,namespaceURI:c,value:s}=i,u=pt(a);let l="value"===a?s:O(s);if(r.attrName=u,r.attrValue=l,r.keepAttr=!0,r.forceKeepAttr=void 0,Et(he.uponSanitizeAttribute,e,r),l=r.attrValue,!Ge||"id"!==u&&"name"!==u||(xt(a,e),l="user-content-"+l),Me&&E(/((--!?|])>)|<\/(style|title)/i,l)){xt(a,e);continue}if(r.forceKeepAttr)continue;if(xt(a,e),!r.keepAttr)continue;if(!Ne&&E(/\/>/i,l)){xt(a,e);continue}Ie&&f([me,ve,ge],(e=>{l=w(l,e," ")}));const d=pt(e.nodeName);if(jt(d,u,l)){if(ce&&"object"==typeof q&&"function"==typeof q.getAttributeType)if(c);else switch(q.getAttributeType(d,u)){case"TrustedHTML":l=ce.createHTML(l);break;case"TrustedScriptURL":l=ce.createScriptURL(l)}try{c?e.setAttributeNS(c,a,l):e.setAttribute(a,l),Ot(e)?bt(e):m(n.removed)}catch(e){}}}Et(he.afterSanitizeAttributes,e,null)},Ct=function e(t){let n=null;const r=At(t);for(Et(he.beforeSanitizeShadowDOM,t,null);n=r.nextNode();)Et(he.uponSanitizeShadowNode,n,null),St(n),Pt(n),n.content instanceof c&&e(n.content);Et(he.afterSanitizeShadowDOM,t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,o=null,a=null,s=null;if(ot=!e,ot&&(e="\x3c!--\x3e"),"string"!=typeof e&&!kt(e)){if("function"!=typeof e.toString)throw S("toString is not a function");if("string"!=typeof(e=e.toString()))throw S("dirty is not a string, aborting")}if(!n.isSupported)return e;if(Fe||vt(t),n.removed=[],"string"==typeof e&&(Ye=!1),Ye){if(e.nodeName){const t=pt(e.nodeName);if(!ke[t]||Pe[t])throw S("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof d)r=wt("\x3c!----\x3e"),o=r.ownerDocument.importNode(e,!0),o.nodeType===ee&&"BODY"===o.nodeName||"HTML"===o.nodeName?r=o:r.appendChild(o);else{if(!Be&&!Ie&&!Le&&-1===e.indexOf("<"))return ce&&We?ce.createHTML(e):e;if(r=wt(e),!r)return Be?null:We?se:""}r&&He&&bt(r.firstChild);const u=At(Ye?e:r);for(;a=u.nextNode();)St(a),Pt(a),a.content instanceof c&&Ct(a.content);if(Ye)return e;if(Be){if(Ue)for(s=de.call(r.ownerDocument);r.firstChild;)s.appendChild(r.firstChild);else s=r;return(Se.shadowroot||Se.shadowrootmode)&&(s=fe.call(i,s,!0)),s}let l=Le?r.outerHTML:r.innerHTML;return Le&&ke["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&E(X,r.ownerDocument.doctype.name)&&(l="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+l),Ie&&f([me,ve,ge],(e=>{l=w(l,e," ")})),ce&&We?ce.createHTML(l):l},n.setConfig=function(){vt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Fe=!0},n.clearConfig=function(){ft=null,Fe=!1},n.isValidAttribute=function(e,t,n){ft||vt({});const r=pt(e),o=pt(t);return jt(r,o,n)},n.addHook=function(e,t){"function"==typeof t&&v(he[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=h(he[e],t);return-1===n?void 0:g(he[e],n,1)[0]}return m(he[e])},n.removeHooks=function(e){he[e]=[]},n.removeAllHooks=function(){he={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}()},28167:(e,t,n)=>{"use strict";n.d(t,{sH:()=>r});function r(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function c(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,c)}s((r=r.apply(e,t||[])).next())}))}Object.create;Object.create;"function"==typeof SuppressedError&&SuppressedError},77801:(e,t,n)=>{"use strict";n.d(t,{C6:()=>o,Cl:()=>i,Tt:()=>a,fX:()=>c});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}Object.create;function c(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;"function"==typeof SuppressedError&&SuppressedError},1481:(e,t,n)=>{"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{A:()=>r})},67812:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(3214),o=n(90832);function i(e,t,n){return i=(0,o.A)()?Reflect.construct:function(e,t,n){var o=[null];o.push.apply(o,t);var i=new(Function.bind.apply(e,o));return n&&(0,r.A)(i,n.prototype),i},i.apply(null,arguments)}},41528:(e,t,n)=>{"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{A:()=>r})},55778:(e,t,n)=>{"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{A:()=>r})},96331:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(3214);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.A)(e,t)}},9018:(e,t,n)=>{"use strict";function r(e){return-1!==Function.toString.call(e).indexOf("[native code]")}n.d(t,{A:()=>r})},90832:(e,t,n)=>{"use strict";function r(){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}}n.d(t,{A:()=>r})},3214:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{A:()=>r})},52107:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(55778),o=n(3214),i=n(9018),a=n(67812);function c(e){var t="function"==typeof Map?new Map:void 0;return c=function(e){if(null===e||!(0,i.A)(e))return e;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,n)}function n(){return(0,a.A)(e,arguments,(0,r.A)(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),(0,o.A)(n,e)},c(e)}},40622:(e,t,n)=>{"use strict";n.d(t,{C6:()=>o,Cl:()=>i,Tt:()=>a,fX:()=>c});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}Object.create;function c(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;"function"==typeof SuppressedError&&SuppressedError},71468:(e,t,n)=>{"use strict";n.d(t,{Kq:()=>ee,Ng:()=>Z});var r=n(4883),o=(n(78418),r.version.startsWith("19")),i=Symbol.for(o?"react.transitional.element":"react.element"),a=Symbol.for("react.portal"),c=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),l=Symbol.for("react.consumer"),d=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),g=p,y=m;function b(e){if("object"==typeof e&&null!==e){const{$$typeof:t}=e;switch(t){case i:switch(e=e.type){case c:case u:case s:case f:case h:return e;default:switch(e=e&&e.$$typeof){case d:case p:case v:case m:case l:return e;default:return t}}case a:return t}}}function x(e,t,n,r,{areStatesEqual:o,areOwnPropsEqual:i,areStatePropsEqual:a}){let c,s,u,l,d,p=!1;function f(p,f){const h=!i(f,s),m=!o(p,c,f,s);return c=p,s=f,h&&m?(u=e(c,s),t.dependsOnOwnProps&&(l=t(r,s)),d=n(u,l,s),d):h?(e.dependsOnOwnProps&&(u=e(c,s)),t.dependsOnOwnProps&&(l=t(r,s)),d=n(u,l,s),d):m?function(){const t=e(c,s),r=!a(t,u);return u=t,r&&(d=n(u,l,s)),d}():d}return function(o,i){return p?f(o,i):(c=o,s=i,u=e(c,s),l=t(r,s),d=n(u,l,s),p=!0,d)}}function w(e){return function(t){const n=e(t);function r(){return n}return r.dependsOnOwnProps=!1,r}}function A(e){return e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function O(e,t){return function(t,{displayName:n}){const r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e,void 0)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=A(e);let o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=A(o),o=r(t,n)),o},r}}function k(e,t){return(n,r)=>{throw new Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${r.wrappedComponentName}.`)}}function E(e,t,n){return{...n,...e,...t}}function S(e){e()}var j={notify(){},get:()=>[]};function T(e,t){let n,r=j,o=0,i=!1;function a(){u.onStateChange&&u.onStateChange()}function c(){o++,n||(n=t?t.addNestedSub(a):e.subscribe(a),r=function(){let e=null,t=null;return{clear(){e=null,t=null},notify(){S((()=>{let t=e;for(;t;)t.callback(),t=t.next}))},get(){const t=[];let n=e;for(;n;)t.push(n),n=n.next;return t},subscribe(n){let r=!0;const o=t={callback:n,next:null,prev:t};return o.prev?o.prev.next=o:e=o,function(){r&&null!==e&&(r=!1,o.next?o.next.prev=o.prev:t=o.prev,o.prev?o.prev.next=o.next:e=o.next)}}}}())}function s(){o--,n&&0===o&&(n(),n=void 0,r.clear(),r=j)}const u={addNestedSub:function(e){c();const t=r.subscribe(e);let n=!1;return()=>{n||(n=!0,t(),s())}},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:a,isSubscribed:function(){return i},trySubscribe:function(){i||(i=!0,c())},tryUnsubscribe:function(){i&&(i=!1,s())},getListeners:()=>r};return u}var P=(()=>!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement))(),C=(()=>"undefined"!=typeof navigator&&"ReactNative"===navigator.product)(),_=(()=>P||C?r.useLayoutEffect:r.useEffect)();function D(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function R(e,t){if(D(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r=0;r<n.length;r++)if(!Object.prototype.hasOwnProperty.call(t,n[r])||!D(e[n[r]],t[n[r]]))return!1;return!0}var N={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},I={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},M={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},L={[g]:{$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},[y]:M};function F(e){return function(e){return b(e)===m}(e)?M:L[e.$$typeof]||N}var H=Object.defineProperty,B=Object.getOwnPropertyNames,U=Object.getOwnPropertySymbols,W=Object.getOwnPropertyDescriptor,z=Object.getPrototypeOf,G=Object.prototype;function q(e,t){if("string"!=typeof t){if(G){const n=z(t);n&&n!==G&&q(e,n)}let n=B(t);U&&(n=n.concat(U(t)));const r=F(e),o=F(t);for(let i=0;i<n.length;++i){const a=n[i];if(!(I[a]||o&&o[a]||r&&r[a])){const n=W(t,a);try{H(e,a,n)}catch(e){}}}}return e}var Y=Symbol.for("react-redux-context"),V="undefined"!=typeof globalThis?globalThis:{};function $(){if(!r.createContext)return{};const e=V[Y]??=new Map;let t=e.get(r.createContext);return t||(t=r.createContext(null),e.set(r.createContext,t)),t}var K=$(),J=[null,null];function X(e,t,n,r,o,i){e.current=r,n.current=!1,o.current&&(o.current=null,i())}function Q(e,t){return e===t}var Z=function(e,t,n,{pure:o,areStatesEqual:i=Q,areOwnPropsEqual:a=R,areStatePropsEqual:c=R,areMergedPropsEqual:s=R,forwardRef:u=!1,context:l=K}={}){const d=l,p=function(e){return e?"function"==typeof e?O(e):k(e,"mapStateToProps"):w((()=>({})))}(e),f=function(e){return e&&"object"==typeof e?w((t=>function(e,t){const n={};for(const r in e){const o=e[r];"function"==typeof o&&(n[r]=(...e)=>t(o(...e)))}return n}(e,t))):e?"function"==typeof e?O(e):k(e,"mapDispatchToProps"):w((e=>({dispatch:e})))}(t),h=function(e){return e?"function"==typeof e?function(e){return function(t,{displayName:n,areMergedPropsEqual:r}){let o,i=!1;return function(t,n,a){const c=e(t,n,a);return i?r(c,o)||(o=c):(i=!0,o=c),o}}}(e):k(e,"mergeProps"):()=>E}(n),m=Boolean(e);return e=>{const t=e.displayName||e.name||"Component",n=`Connect(${t})`,o={shouldHandleStateChanges:m,displayName:n,wrappedComponentName:t,WrappedComponent:e,initMapStateToProps:p,initMapDispatchToProps:f,initMergeProps:h,areStatesEqual:i,areStatePropsEqual:c,areOwnPropsEqual:a,areMergedPropsEqual:s};function l(t){const[n,i,a]=r.useMemo((()=>{const{reactReduxForwardedRef:e,...n}=t;return[t.context,e,n]}),[t]),c=r.useMemo((()=>d),[n,d]),s=r.useContext(c),u=Boolean(t.store)&&Boolean(t.store.getState)&&Boolean(t.store.dispatch),l=Boolean(s)&&Boolean(s.store);const p=u?t.store:s.store,f=l?s.getServerState:p.getState,h=r.useMemo((()=>function(e,{initMapStateToProps:t,initMapDispatchToProps:n,initMergeProps:r,...o}){return x(t(e,o),n(e,o),r(e,o),e,o)}(p.dispatch,o)),[p]),[v,g]=r.useMemo((()=>{if(!m)return J;const e=T(p,u?void 0:s.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[p,u,s]),y=r.useMemo((()=>u?s:{...s,subscription:v}),[u,s,v]),b=r.useRef(void 0),w=r.useRef(a),A=r.useRef(void 0),O=r.useRef(!1),k=r.useRef(!1),E=r.useRef(void 0);_((()=>(k.current=!0,()=>{k.current=!1})),[]);const S=r.useMemo((()=>()=>A.current&&a===w.current?A.current:h(p.getState(),a)),[p,a]),j=r.useMemo((()=>e=>v?function(e,t,n,r,o,i,a,c,s,u,l){if(!e)return()=>{};let d=!1,p=null;const f=()=>{if(d||!c.current)return;const e=t.getState();let n,f;try{n=r(e,o.current)}catch(e){f=e,p=e}f||(p=null),n===i.current?a.current||u():(i.current=n,s.current=n,a.current=!0,l())};return n.onStateChange=f,n.trySubscribe(),f(),()=>{if(d=!0,n.tryUnsubscribe(),n.onStateChange=null,p)throw p}}(m,p,v,h,w,b,O,k,A,g,e):()=>{}),[v]);var P,C,D;let R;P=X,C=[w,b,O,a,A,g],_((()=>P(...C)),D);try{R=r.useSyncExternalStore(j,S,f?()=>h(f(),a):S)}catch(e){throw E.current&&(e.message+=`\nThe error may be correlated with this previous error:\n${E.current.stack}\n\n`),e}_((()=>{E.current=void 0,A.current=void 0,b.current=R}));const N=r.useMemo((()=>r.createElement(e,{...R,ref:i})),[i,e,R]);return r.useMemo((()=>m?r.createElement(c.Provider,{value:y},N):N),[c,N,y])}const v=r.memo(l);if(v.WrappedComponent=e,v.displayName=l.displayName=n,u){const t=r.forwardRef((function(e,t){return r.createElement(v,{...e,reactReduxForwardedRef:t})}));return t.displayName=n,t.WrappedComponent=e,q(t,e)}return q(v,e)}};var ee=function(e){const{children:t,context:n,serverState:o,store:i}=e,a=r.useMemo((()=>{const e=T(i);return{store:i,subscription:e,getServerState:o?()=>o:void 0}}),[i,o]),c=r.useMemo((()=>i.getState()),[i]);_((()=>{const{subscription:e}=a;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),c!==i.getState()&&e.notifyNestedSubs(),()=>{e.tryUnsubscribe(),e.onStateChange=void 0}}),[a,c]);const s=n||K;return r.createElement(s.Provider,{value:a},t)}},77987:(e,t,n)=>{"use strict";function r(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}n.d(t,{A:()=>r})},6695:(e,t,n)=>{"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{A:()=>r})},88097:(e,t,n)=>{"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{A:()=>r})},65166:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{A:()=>r})},21648:(e,t,n)=>{"use strict";function r(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}n.d(t,{A:()=>r})},37820:(e,t,n)=>{"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{A:()=>r})},47029:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(88097);function o(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 i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){(0,r.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},23715:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(8609);function o(e,t){if(null==e)return{};var n,o,i=(0,r.A)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},8609:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{A:()=>r})},52167:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(6695),o=n(21648),i=n(25134),a=n(37820);function c(e,t){return(0,r.A)(e)||(0,o.A)(e,t)||(0,i.A)(e,t)||(0,a.A)()}},47978:(e,t,n)=>{"use strict";function r(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.d(t,{A:()=>r})},65710:(e,t,n)=>{"use strict";function r(e){return r="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},r(e)}n.d(t,{A:()=>r})},25134:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(77987);function o(e,t){if(e){if("string"==typeof e)return(0,r.A)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.A)(e,t):void 0}}},72367:(e,t,n)=>{"use strict";n.d(t,{B1:()=>r});function r(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}Math.min,Math.max;const o=["top","right","bottom","left"];o.reduce(((e,t)=>e.concat(t,t+"-start",t+"-end")),[])},9725:(e,t,n)=>{"use strict";n.d(t,{ll:()=>x});n(72367);function r(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function o(e){if(null==e)return window;if(!r(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function i(e){return o(e).getComputedStyle(e)}function a(e){return r(e)?"":e?(e.nodeName||"").toLowerCase():""}function c(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map((e=>e.brand+"/"+e.version)).join(" "):navigator.userAgent}function s(e){return e instanceof o(e).HTMLElement}function u(e){return e instanceof o(e).Element}function l(e){return"undefined"!=typeof ShadowRoot&&(e instanceof o(e).ShadowRoot||e instanceof ShadowRoot)}function d(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=i(e);return/auto|scroll|overlay|hidden/.test(t+r+n)&&!["inline","contents"].includes(o)}function p(){return!/^((?!chrome|android).)*safari/i.test(c())}function f(e){return["html","body","#document"].includes(a(e))}Math.min,Math.max;const h=Math.round;function m(e,t,n){var r,i,a,c;void 0===t&&(t=!1),void 0===n&&(n=!1);const l=e.getBoundingClientRect();let d=1,f=1;t&&s(e)&&(d=e.offsetWidth>0&&h(l.width)/e.offsetWidth||1,f=e.offsetHeight>0&&h(l.height)/e.offsetHeight||1);const m=u(e)?o(e):window,v=!p()&&n,g=(l.left+(v&&null!=(r=null==(i=m.visualViewport)?void 0:i.offsetLeft)?r:0))/d,y=(l.top+(v&&null!=(a=null==(c=m.visualViewport)?void 0:c.offsetTop)?a:0))/f,b=l.width/d,x=l.height/f;return{width:b,height:x,top:y,right:g+b,bottom:y+x,left:g,x:g,y}}function v(e){return(t=e,(t instanceof o(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function g(e){if("html"===a(e))return e;const t=e.assignedSlot||e.parentNode||(l(e)?e.host:null)||v(e);return l(t)?t.host:t}function y(e){const t=g(e);return f(t)?e.ownerDocument.body:s(t)&&d(t)?t:y(t)}function b(e,t){var n;void 0===t&&(t=[]);const r=y(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),a=o(r),c=i?[a].concat(a.visualViewport||[],d(r)?r:[]):r,s=t.concat(c);return i?s:s.concat(b(c))}function x(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:c=!1}=r,s=o&&!c,l=s||i?[...u(e)?b(e):e.contextElement?b(e.contextElement):[],...b(t)]:[];l.forEach((e=>{s&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));let d,p=null;if(a){let r=!0;p=new ResizeObserver((()=>{r||n(),r=!1})),u(e)&&!c&&p.observe(e),u(e)||!e.contextElement||c||p.observe(e.contextElement),p.observe(t)}let f=c?m(e):null;return c&&function t(){const r=m(e);!f||r.x===f.x&&r.y===f.y&&r.width===f.width&&r.height===f.height||n(),f=r,d=requestAnimationFrame(t)}(),n(),()=>{var e;l.forEach((e=>{s&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)})),null==(e=p)||e.disconnect(),p=null,c&&cancelAnimationFrame(d)}}},92149:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(4883),o=n(81845),i=n(2418);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}const c=["onUpdate","onRepositioned","renderElement","renderElementTag","renderElementTo","renderTarget","className","id","style"];class s extends r.Component{constructor(...e){super(...e),this._targetNode=r.createRef(),this._elementNode=r.createRef(),this._elementParentNode=null,this._tetherInstance=null}componentDidMount(){this._createContainer(),this.forceUpdate()}componentDidUpdate(e){if(e.renderElementTag===this.props.renderElementTag&&e.renderElementTo===this.props.renderElementTo||this._createContainer(),this._elementParentNode&&e.className!==this.props.className){const t=(e.className||"").split(" ").filter((e=>e.length>0)),n=(this.props.className||"").split(" ").filter((e=>e.length>0));this._elementParentNode.classList.remove(...t),this._elementParentNode.classList.add(...n)}this._update()}componentWillUnmount(){this._destroy()}getTetherInstance(){return this._tetherInstance}disable(){var e;null==(e=this._tetherInstance)||e.disable()}enable(){var e;null==(e=this._tetherInstance)||e.enable()}on(e,t,n){this._tetherInstance.on(e,t,n)}once(e,t,n){this._tetherInstance.once(e,t,n)}off(e,t){this._tetherInstance.off(e,t)}position(){var e;null==(e=this._tetherInstance)||e.position()}_runRenders(){let e="function"==typeof this.props.renderTarget?this.props.renderTarget(this._targetNode):null,t="function"==typeof this.props.renderElement?this.props.renderElement(this._elementNode):null;return(0,r.isValidElement)(e)||(e=null),(0,r.isValidElement)(t)||(t=null),{targetComponent:e,elementComponent:t}}_createTetherInstance(e){this._tetherInstance&&this._destroy(),this._tetherInstance=new i(e),this._registerEventListeners()}_destroyTetherInstance(){this._tetherInstance&&(this._tetherInstance.destroy(),this._tetherInstance=null)}_registerEventListeners(){this.on("update",((...e)=>this.props.onUpdate&&this.props.onUpdate.apply(this,e))),this.on("repositioned",((...e)=>this.props.onRepositioned&&this.props.onRepositioned.apply(this,e)))}get _renderNode(){const{renderElementTo:e}=this.props;return"string"==typeof e?document.querySelector(e):e||document.body}_destroy(){this._destroyTetherInstance(),this._removeContainer()}_createContainer(){this._removeContainer();const{renderElementTag:e="div",className:t}=this.props;this._elementParentNode=document.createElement(e),this._elementParentNode.className=t||""}_addContainerToDOM(){this._elementParentNode&&this._renderNode&&this._elementParentNode.parentNode!==this._renderNode&&this._renderNode.append(this._elementParentNode)}_removeContainer(){this._elementParentNode&&this._elementParentNode.parentNode&&this._elementParentNode.remove()}_update(){this._elementNode.current&&this._targetNode.current?this._updateTether():this._destroy()}_updateTether(){var e;const t=this.props,{id:n,style:r}=t,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)t.indexOf(n=i[r])>=0||(o[n]=e[n]);return o}(t,c),i=a({target:this._targetNode.current,element:this._elementParentNode},o),s=n||"";if(this._elementParentNode&&this._elementParentNode.id!==s&&(this._elementParentNode.id=s),this._elementParentNode&&r){const e=this._elementParentNode.style;for(const t in r)if(e[t]!==r[t]){let n=r[t];n&&(e[t]=n)}}this._addContainerToDOM(),this._tetherInstance?this._tetherInstance.setOptions(i):this._createTetherInstance(i),null==(e=this._tetherInstance)||e.position()}render(){const{targetComponent:e,elementComponent:t}=this._runRenders();return e?r.createElement(r.Fragment,null,e,t&&this._elementParentNode&&o.createPortal(t,this._elementParentNode)):null}}},27346:(e,t,n)=>{"use strict";function r(e){return({dispatch:t,getState:n})=>r=>o=>"function"==typeof o?o(t,n,e):r(o)}n.d(t,{P:()=>o,Y:()=>i});var o=r(),i=r},14644:(e,t,n)=>{"use strict";function r(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}n.d(t,{HY:()=>u,Qd:()=>c,Tw:()=>f,Zz:()=>p,ve:()=>h,y$:()=>s,zH:()=>d});var o=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")(),i=()=>Math.random().toString(36).substring(7).split("").join("."),a={INIT:`@@redux/INIT${i()}`,REPLACE:`@@redux/REPLACE${i()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${i()}`};function c(e){if("object"!=typeof e||null===e)return!1;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||null===Object.getPrototypeOf(e)}function s(e,t,n){if("function"!=typeof e)throw new Error(r(2));if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(r(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(r(1));return n(s)(e,t)}let i=e,u=t,l=new Map,d=l,p=0,f=!1;function h(){d===l&&(d=new Map,l.forEach(((e,t)=>{d.set(t,e)})))}function m(){if(f)throw new Error(r(3));return u}function v(e){if("function"!=typeof e)throw new Error(r(4));if(f)throw new Error(r(5));let t=!0;h();const n=p++;return d.set(n,e),function(){if(t){if(f)throw new Error(r(6));t=!1,h(),d.delete(n),l=null}}}function g(e){if(!c(e))throw new Error(r(7));if(void 0===e.type)throw new Error(r(8));if("string"!=typeof e.type)throw new Error(r(17));if(f)throw new Error(r(9));try{f=!0,u=i(u,e)}finally{f=!1}return(l=d).forEach((e=>{e()})),e}g({type:a.INIT});return{dispatch:g,subscribe:v,getState:m,replaceReducer:function(e){if("function"!=typeof e)throw new Error(r(10));i=e,g({type:a.REPLACE})},[o]:function(){const e=v;return{subscribe(t){if("object"!=typeof t||null===t)throw new Error(r(11));function n(){const e=t;e.next&&e.next(m())}n();return{unsubscribe:e(n)}},[o](){return this}}}}}function u(e){const t=Object.keys(e),n={};for(let r=0;r<t.length;r++){const o=t[r];0,"function"==typeof e[o]&&(n[o]=e[o])}const o=Object.keys(n);let i;try{!function(e){Object.keys(e).forEach((t=>{const n=e[t];if(void 0===n(void 0,{type:a.INIT}))throw new Error(r(12));if(void 0===n(void 0,{type:a.PROBE_UNKNOWN_ACTION()}))throw new Error(r(13))}))}(n)}catch(e){i=e}return function(e={},t){if(i)throw i;let a=!1;const c={};for(let i=0;i<o.length;i++){const s=o[i],u=n[s],l=e[s],d=u(l,t);if(void 0===d){t&&t.type;throw new Error(r(14))}c[s]=d,a=a||d!==l}return a=a||o.length!==Object.keys(e).length,a?c:e}}function l(e,t){return function(...n){return t(e.apply(this,n))}}function d(e,t){if("function"==typeof e)return l(e,t);if("object"!=typeof e||null===e)throw new Error(r(16));const n={};for(const r in e){const o=e[r];"function"==typeof o&&(n[r]=l(o,t))}return n}function p(...e){return 0===e.length?e=>e:1===e.length?e[0]:e.reduce(((e,t)=>(...n)=>e(t(...n))))}function f(...e){return t=>(n,o)=>{const i=t(n,o);let a=()=>{throw new Error(r(15))};const c={getState:i.getState,dispatch:(e,...t)=>a(e,...t)},s=e.map((e=>e(c)));return a=p(...s)(i.dispatch),{...i,dispatch:a}}}function h(e){return c(e)&&"type"in e&&"string"==typeof e.type}}},c={};function s(e){var t=c[e];if(void 0!==t)return t.exports;var n=c[e]={id:e,loaded:!1,exports:{}};return a[e].call(n.exports,n,n.exports,s),n.loaded=!0,n.exports}s.m=a,s.amdD=function(){throw new Error("define cannot be used indirect")},s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,s.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var o=Object.create(null);s.r(o);var i={};n=n||[null,r({}),r([]),r(r)];for(var a=2&t&&e;"object"==typeof a&&!~n.indexOf(a);a=r(a))Object.getOwnPropertyNames(a).forEach((t=>i[t]=()=>e[t]));return i.default=()=>e,s.d(o,i),o},s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce(((t,n)=>(s.f[n](e,t),t)),[])),s.u=e=>"chunk-"+({222:"vendor-libphonenumber-js",236:"actions",262:"html-editor",310:"vendor-fontawesome",556:"docs-actions",672:"phone-formatter",722:"code-editor",916:"vendor-icons"}[e]||e)+"."+{103:"032ff10491291b37409a",123:"ac393721117e074a8146",211:"3440a8cf06d93ddf2a22",222:"80540f07b74d90c7030f",236:"3c763308a7b191809fb8",262:"c6edfbf548ea05d7b4ef",264:"d086e7b6f5e07f62a05d",310:"5a9ed8cbebd7b6c77c2c",389:"185e13c535962fcbc2f8",553:"c128d432d26f7548d10f",556:"532c4b6a53fecab84244",601:"c92773b17d41879ea5ed",668:"f4b14741aa67d56e95e4",672:"0899eb884a0c573f03ce",722:"9b33dd657c2cabd685c6",827:"d6342ceea1e020947fbc",916:"9a0f95c0784f2f7b4ea7",987:"052f3600e9afc9c3b201"}[e]+".js",s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o={},i="tocco-widget-bundle:",s.l=(e,t,n,r)=>{if(o[e])o[e].push(t);else{var a,c;if(void 0!==n)for(var u=document.getElementsByTagName("script"),l=0;l<u.length;l++){var d=u[l];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==i+n){a=d;break}}a||(c=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,s.nc&&a.setAttribute("nonce",s.nc),a.setAttribute("data-webpack",i+n),a.src=e),o[e]=[t];var p=(t,n)=>{a.onerror=a.onload=null,clearTimeout(f);var r=o[e];if(delete o[e],a.parentNode&&a.parentNode.removeChild(a),r&&r.forEach((e=>e(n))),t)return t(n)},f=setTimeout(p.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=p.bind(null,a.onerror),a.onload=p.bind(null,a.onload),c&&document.head.appendChild(a)}},s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),s.j=101,s.p="/",(()=>{var e={101:0};s.f.j=(t,n)=>{var r=s.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise(((n,o)=>r=e[t]=[n,o]));n.push(r[2]=o);var i=s.p+s.u(t),a=new Error;s.l(i,(n=>{if(s.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",a.name="ChunkLoadError",a.type=o,a.request=i,r[1](a)}}),"chunk-"+t,t)}};var t=(t,n)=>{var r,o,[i,a,c]=n,u=0;if(i.some((t=>0!==e[t]))){for(r in a)s.o(a,r)&&(s.m[r]=a[r]);if(c)c(s)}for(t&&t(n);u<i.length;u++)o=i[u],s.o(e,o)&&e[o]&&e[o][0](),e[o]=0},n=this.webpackChunktocco_widget_bundle=this.webpackChunktocco_widget_bundle||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),s.nc=void 0;var u={};return(()=>{"use strict";s.r(u),s.d(u,{app:()=>qe});var e=s(61402),t=s(26396),n=s.n(t),r=s(62193),o=s.n(r),i=s(2404),a=s.n(i),c=s(71086),l=s.n(c),d=s(5556),p=s.n(d),f=s(4883),h=s.n(f),m=s(47767),v=s(84976),g=s(88951),y=s(13128),b=s(59042),x=s(28391),w=s(96450),A=s(72942),O=s(52334),k=s(82682),E=s(38159),S=s(33393),j=s(7311),T=s(66498),P=s(35301),C=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return T.A.getDispatchActions(e,_,t)},_=[{name:"entityName",action:P.Zl,mandatory:!0,argsFactory:function(e){return[e.entityName]}},{name:"entityName",action:P.uO,argsFactory:function(e){return[e.formBase||e.entityName]}},{name:"formBase",action:P.uO,argsFactory:function(e){return[e.formBase]}},{name:"scrollBehaviour",action:P.Zy,argsFactory:function(e){return[e.scrollBehaviour]}},{name:"id",action:P.RH,argsFactory:function(e){return[e.id||(new Date).valueOf()]}}],D=s(44467),R=s(92207),N=s.n(R),I=s(90167),M=s(29056),L=s(71635),F=n()(n()({},L.Bt,M.A.singleTransferReducer("formTouched")),L.wr,M.A.singleTransferReducer("detailParams")),H={detailParams:void 0,formTouched:!1};var B=s(15890),U=s.n(B),W=s(22056),z=s.n(W),G=s(32742),q=s(57327),Y=s(27399);function V(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 $(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?V(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):V(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var K=function(e){var t={};return e.fields.forEach((function(e){t[e.fieldName]=$({},e)})),e.relations.forEach((function(e){t[e.relationName]=$({type:"relation"},e)})),t};function J(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:K;return N().mark((function n(){var r;return N().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,I.T1)(q.A.requestSaga,"entities/".concat(e,"/model"));case 2:return r=n.sent,n.next=5,(0,I.T1)(t,r.body);case 5:return n.abrupt("return",n.sent);case 6:case"end":return n.stop()}}),n)}))()}var X={CREATE:"create",UPDATE:"update"};const Q={modes:X,getMode:function(e){return void 0===e?X.CREATE:X.UPDATE}};var Z=s(21259),ee=s.n(Z);const te=function(e){var t=e.split("/").filter((function(e){return!!e})),n=t[t.length-1],r=t.filter((function(e,t){return t>1&&t%2==0})).map((function(e){return e.split(".")})).reduce((function(e,t){return[].concat(ee()(e),ee()(t))}),[]);if(isNaN(n)){return{modelPaths:r,entityId:undefined,parentUrl:"/"+t.slice(0,-1).join("/")}}return{modelPaths:r,entityId:t[t.length-1],parentUrl:"/"+t.slice(0,-2).join("/")}};const ne=function(e,t){return 0!==t.length||(!e||isNaN(e))};var re=s(74848),oe=N().mark(ue),ie=N().mark(le),ae=N().mark(fe),ce=function(e){return e.entityBrowser},se=function(e){return e.input};function ue(){return N().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,I.Q7)([(0,I.p8)(L.M4,de),(0,I.p8)(L.z3,le),(0,I.p8)(L.o7,he)]);case 2:case"end":return e.stop()}}),oe)}function le(){return N().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,I.yJ)(L.EJ(void 0));case 2:case"end":return e.stop()}}),ie)}function de(e){var t=e.payload;return N().mark((function e(){var n,r,o,i,a,c,s,u,l,d,p,f,h,m,v,g;return N().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,I.T1)(te,t.url);case 2:return n=e.sent,r=n.modelPaths,o=n.entityId,i=n.parentUrl,e.next=8,(0,I.Lt)(ce);case 8:return a=e.sent,c=a.entityName,s=a.formBase,e.next=13,(0,I.T1)(Q.getMode,o);case 13:return u=e.sent,e.next=16,(0,I.T1)(pe,c,r,s);case 16:return l=e.sent,d=z()(l,2),p=d[0],f=d[1],e.next=22,(0,I.Lt)(se);case 22:return h=e.sent,m=h.initialKey,e.next=26,(0,I.T1)(ne,m,r);case 26:return v=e.sent,g={mode:u,entityId:o,entityName:p,formName:f,parentUrl:i,showBackButton:v},e.next=30,(0,I.yJ)(L.EJ(g));case 30:case"end":return e.stop()}}),e)}))()}function pe(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n;return N().mark((function o(){var i,a,c,s,u,l,d;return N().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(i=U()(t),a=i[0],c=i.slice(1),a){o.next=3;break}return o.abrupt("return",[e,r]);case 3:return o.next=5,(0,I.T1)(J,e);case 5:if(s=o.sent,u=s[a]){o.next=16;break}return o.next=10,(0,I.T1)(q.A.fetchForm,"".concat(n,"_detail_").concat(a),"list");case 10:return l=o.sent,o.next=13,(0,I.T1)(pe,l.modelName,c,"".concat(n,"_").concat(a));case 13:case 19:return o.abrupt("return",o.sent);case 16:return d="".concat(n,"_").concat(u.targetEntity),o.next=19,(0,I.T1)(pe,u.targetEntity,c,n,d);case 20:case"end":return o.stop()}}),o)}))()}function fe(e){var t;return N().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,I.T1)(G.Ix);case 2:return t=n.sent,n.next=5,(0,I.yJ)(A.A.modal("navigation-pending-changes","client.entity-browser.detail.confirmTouchedFormTitle",e,(function(e){var n=e.close;return(0,re.jsx)(Y.A,{onYes:function(){n(),t.put("yes")},onNo:function(){n(),t.put("no")}})}),!0,(function(){return t.put("no")})));case 5:return n.next=7,(0,I.s)(t);case 7:return n.abrupt("return",n.sent);case 8:case"end":return n.stop()}}),ae)}function he(e){var t=e.payload;return N().mark((function e(){var n,r;return N().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.message,r=t.confirmCallback,e.next=3,(0,I.T1)(fe,n);case 3:if("yes"!==e.sent){e.next=9;break}return e.next=7,(0,I.T1)(r,!0);case 7:e.next=11;break;case 9:return e.next=11,(0,I.T1)(r,!1);case 11:case"end":return e.stop()}}),e)}))()}var me=N().mark(ve);function ve(){return N().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,I.Q7)([(0,I.Zy)(ue)]);case 2:case"end":return e.stop()}}),me)}const ge=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:H,t=arguments.length>1?arguments[1]:void 0,n=F[t.type];return n?n(e,t):e};function ye(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 be(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ye(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ye(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var xe=n()(n()(n()(n()({},P.Rf,M.A.singleTransferReducer("entityName")),P.g0,(function(e,t){var n=t.payload.formBase;return n?be(be({},e),{},{formBase:n}):be({},e)})),P.J6,M.A.singleTransferReducer("scrollBehaviour")),P.PH,M.A.singleTransferReducer("appId")),we={entityName:"",formBase:"",scrollBehaviour:"none",appId:""};var Ae=N().mark(Ee),Oe=N().mark(Se),ke=N().mark(je);function Ee(){return N().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,I.Q7)([(0,I.T1)(Se),(0,I.p8)(P.XA,je)]);case 2:case"end":return e.stop()}}),Ae)}function Se(){return N().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,I.s)(e.A.INPUT_INITIALIZED);case 2:return t.next=4,(0,I.yJ)(w.A.doSessionCheck());case 4:case"end":return t.stop()}}),Oe)}function je(){return N().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,I.yJ)(x.A.fireExternalEvent("onRouteChange"));case 2:case"end":return e.stop()}}),ke)}var Te=N().mark(Pe);function Pe(){return N().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,I.Q7)([(0,I.Zy)(Ee)]);case 2:case"end":return e.stop()}}),Te)}const Ce=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:we,t=arguments.length>1?arguments[1]:void 0,n=xe[t.type];return n?n(e,t):e},_e={detail:ge,form:D.A,entityBrowser:Ce};var De,Re,Ne=[Pe,ve];function Ie(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 Me(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ie(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ie(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Le="entity-browser",Fe=["onVisibilityStatusChange","onRouteChange"],He=h().lazy((function(){return Promise.all([s.e(553),s.e(123),s.e(601)]).then(s.bind(s,63601))})),Be=function(){return De||(De=(0,re.jsx)(f.Suspense,{fallback:"",children:(0,re.jsx)(He,{})}))},Ue=function(e){var t=e.initialKey,n=e.initialAction,r=(0,m.Zp)(),o=(0,m.zy)().pathname;(0,f.useEffect)((function(){if(t&&!isNaN(t)){if(!o.match(/\/detail\/[0-9]*/)){var e="/detail/".concat(t);r(e)}}if(n&&n.name){var i="/action/".concat(n.name,"?").concat(S.A.toQueryString(n.properties));r(i)}}),[])},We=function(e){var t=e.memoryRouter,n=e.initialKey,r=e.initialAction,o=(t?m.bg:v.Ge)([{path:"*",element:(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(Ue,{initialKey:n,initialAction:r}),Re||(Re=(0,re.jsx)(Be,{}))]})}]);return(0,re.jsx)(v.pg,{router:o})},ze=function(t,n,r,o){n=Me(Me({},n),{},{id:t}),E.A.setInputEnvs(n);var i=e.A.createStore(_e,Ne,n,Le);x.A.addToStore(i,(function(t){return e.A.getEvents(Fe,t.input)})),g.A.addToStore(i),y.A.dynamicActionsAddToStore(i),b.A.addToStore(i,!0,["console","remote","notification"]),A.A.addToStore(i,!0),w.A.addToStore(i);var a=(0,re.jsx)(We,{memoryRouter:n.memoryHistory,initialKey:n.initialKey,initialAction:n.initialAction});return e.A.createApp(Le,a,i,{input:n,actions:C(n),publicPath:o,textResourceModules:["component","common","actions","entity-list","entity-detail"]})},Ge=function(t){var n=e.A.useApp({initApp:ze,props:t,packageName:Le}),r=n.component,i=n.store,c=j.A.usePrevious(t);return j.A.useDidUpdate((function(){var e=l()(t,(function(e,t){return!a()(e,c[t])}));o()(e)||C(e,!1).forEach((function(e){i.dispatch(e)}))}),[t]),(0,re.jsx)(re.Fragment,{children:r})};Ge.propTypes=Me({entityName:p().string.isRequired,searchFormType:O.X,formBase:p().string,limit:p().oneOfType([p().number,p().string]),preselectedSearchFields:p().array,searchFilters:p().arrayOf(p().string),simpleSearchFields:p().string,initialKey:p().string,initialAction:p().shape({name:p().string,properties:p().objectOf(p().object)}),businessUnit:p().string,memoryHistory:p().bool,backendUrl:p().string,scrollBehaviour:p().oneOf(["none","inline"]),appContext:k.A.propTypes,modifyFormDefinition:p().func,modifyEntityPaths:p().func,disableDetailView:p().bool,reportIds:p().arrayOf(p().string),customActionEventHandlers:p().objectOf(p().objectOf(p().func)),isHidden:p().bool},x.A.createPropTypes(Fe));var qe=e.A.createBundleableApp(Le,ze,Ge);e.A.registerAppInRegistry(qe.name,qe.init)})(),u})()));
|
|
67
|
+
const{entries:r,setPrototypeOf:o,isFrozen:i,getPrototypeOf:a,getOwnPropertyDescriptor:c}=Object;let{freeze:s,seal:u,create:l}=Object,{apply:d,construct:p}="undefined"!=typeof Reflect&&Reflect;s||(s=function(e){return e}),u||(u=function(e){return e}),d||(d=function(e,t,n){return e.apply(t,n)}),p||(p=function(e,t){return new e(...t)});const f=j(Array.prototype.forEach),h=j(Array.prototype.lastIndexOf),m=j(Array.prototype.pop),v=j(Array.prototype.push),g=j(Array.prototype.splice),y=j(String.prototype.toLowerCase),b=j(String.prototype.toString),x=j(String.prototype.match),w=j(String.prototype.replace),A=j(String.prototype.indexOf),O=j(String.prototype.trim),k=j(Object.prototype.hasOwnProperty),E=j(RegExp.prototype.test),S=function(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return p(e,n)}}(TypeError);function j(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return d(e,t,r)}}function T(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:y;o&&o(e,null);let r=t.length;for(;r--;){let o=t[r];if("string"==typeof o){const e=n(o);e!==o&&(i(t)||(t[r]=e),o=e)}e[o]=!0}return e}function P(e){for(let t=0;t<e.length;t++){k(e,t)||(e[t]=null)}return e}function C(e){const t=l(null);for(const[n,o]of r(e)){k(e,n)&&(Array.isArray(o)?t[n]=P(o):o&&"object"==typeof o&&o.constructor===Object?t[n]=C(o):t[n]=o)}return t}function _(e,t){for(;null!==e;){const n=c(e,t);if(n){if(n.get)return j(n.get);if("function"==typeof n.value)return j(n.value)}e=a(e)}return function(){return null}}const D=s(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),R=s(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),N=s(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),I=s(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),M=s(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),L=s(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),F=s(["#text"]),H=s(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),B=s(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),U=s(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),W=s(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),z=u(/\{\{[\w\W]*|[\w\W]*\}\}/gm),G=u(/<%[\w\W]*|[\w\W]*%>/gm),q=u(/\$\{[\w\W]*/gm),Y=u(/^data-[\-\w.\u00B7-\uFFFF]+$/),V=u(/^aria-[\-\w]+$/),$=u(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),K=u(/^(?:\w+script|data):/i),J=u(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),X=u(/^html$/i),Q=u(/^[a-z][.\w]*(-[.\w]+)+$/i);var Z=Object.freeze({__proto__:null,ARIA_ATTR:V,ATTR_WHITESPACE:J,CUSTOM_ELEMENT:Q,DATA_ATTR:Y,DOCTYPE_NAME:X,ERB_EXPR:G,IS_ALLOWED_URI:$,IS_SCRIPT_OR_DATA:K,MUSTACHE_EXPR:z,TMPLIT_EXPR:q});const ee=1,te=3,ne=7,re=8,oe=9,ie=function(){return"undefined"==typeof window?null:window};var ae=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ie();const n=t=>e(t);if(n.version="3.2.4",n.removed=[],!t||!t.document||t.document.nodeType!==oe||!t.Element)return n.isSupported=!1,n;let{document:o}=t;const i=o,a=i.currentScript,{DocumentFragment:c,HTMLTemplateElement:u,Node:d,Element:p,NodeFilter:j,NamedNodeMap:P=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:z,DOMParser:G,trustedTypes:q}=t,Y=p.prototype,V=_(Y,"cloneNode"),K=_(Y,"remove"),J=_(Y,"nextSibling"),Q=_(Y,"childNodes"),ae=_(Y,"parentNode");if("function"==typeof u){const e=o.createElement("template");e.content&&e.content.ownerDocument&&(o=e.content.ownerDocument)}let ce,se="";const{implementation:ue,createNodeIterator:le,createDocumentFragment:de,getElementsByTagName:pe}=o,{importNode:fe}=i;let he={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof r&&"function"==typeof ae&&ue&&void 0!==ue.createHTMLDocument;const{MUSTACHE_EXPR:me,ERB_EXPR:ve,TMPLIT_EXPR:ge,DATA_ATTR:ye,ARIA_ATTR:be,IS_SCRIPT_OR_DATA:xe,ATTR_WHITESPACE:we,CUSTOM_ELEMENT:Ae}=Z;let{IS_ALLOWED_URI:Oe}=Z,ke=null;const Ee=T({},[...D,...R,...N,...M,...F]);let Se=null;const je=T({},[...H,...B,...U,...W]);let Te=Object.seal(l(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Pe=null,Ce=null,_e=!0,De=!0,Re=!1,Ne=!0,Ie=!1,Me=!0,Le=!1,Fe=!1,He=!1,Be=!1,Ue=!1,We=!1,ze=!0,Ge=!1,qe=!0,Ye=!1,Ve={},$e=null;const Ke=T({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Je=null;const Xe=T({},["audio","video","img","source","image","track"]);let Qe=null;const Ze=T({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),et="http://www.w3.org/1998/Math/MathML",tt="http://www.w3.org/2000/svg",nt="http://www.w3.org/1999/xhtml";let rt=nt,ot=!1,it=null;const at=T({},[et,tt,nt],b);let ct=T({},["mi","mo","mn","ms","mtext"]),st=T({},["annotation-xml"]);const ut=T({},["title","style","font","a","script"]);let lt=null;const dt=["application/xhtml+xml","text/html"];let pt=null,ft=null;const ht=o.createElement("form"),mt=function(e){return e instanceof RegExp||e instanceof Function},vt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!ft||ft!==e){if(e&&"object"==typeof e||(e={}),e=C(e),lt=-1===dt.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,pt="application/xhtml+xml"===lt?b:y,ke=k(e,"ALLOWED_TAGS")?T({},e.ALLOWED_TAGS,pt):Ee,Se=k(e,"ALLOWED_ATTR")?T({},e.ALLOWED_ATTR,pt):je,it=k(e,"ALLOWED_NAMESPACES")?T({},e.ALLOWED_NAMESPACES,b):at,Qe=k(e,"ADD_URI_SAFE_ATTR")?T(C(Ze),e.ADD_URI_SAFE_ATTR,pt):Ze,Je=k(e,"ADD_DATA_URI_TAGS")?T(C(Xe),e.ADD_DATA_URI_TAGS,pt):Xe,$e=k(e,"FORBID_CONTENTS")?T({},e.FORBID_CONTENTS,pt):Ke,Pe=k(e,"FORBID_TAGS")?T({},e.FORBID_TAGS,pt):{},Ce=k(e,"FORBID_ATTR")?T({},e.FORBID_ATTR,pt):{},Ve=!!k(e,"USE_PROFILES")&&e.USE_PROFILES,_e=!1!==e.ALLOW_ARIA_ATTR,De=!1!==e.ALLOW_DATA_ATTR,Re=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ne=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Ie=e.SAFE_FOR_TEMPLATES||!1,Me=!1!==e.SAFE_FOR_XML,Le=e.WHOLE_DOCUMENT||!1,Be=e.RETURN_DOM||!1,Ue=e.RETURN_DOM_FRAGMENT||!1,We=e.RETURN_TRUSTED_TYPE||!1,He=e.FORCE_BODY||!1,ze=!1!==e.SANITIZE_DOM,Ge=e.SANITIZE_NAMED_PROPS||!1,qe=!1!==e.KEEP_CONTENT,Ye=e.IN_PLACE||!1,Oe=e.ALLOWED_URI_REGEXP||$,rt=e.NAMESPACE||nt,ct=e.MATHML_TEXT_INTEGRATION_POINTS||ct,st=e.HTML_INTEGRATION_POINTS||st,Te=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&mt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Te.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&mt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Te.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Te.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ie&&(De=!1),Ue&&(Be=!0),Ve&&(ke=T({},F),Se=[],!0===Ve.html&&(T(ke,D),T(Se,H)),!0===Ve.svg&&(T(ke,R),T(Se,B),T(Se,W)),!0===Ve.svgFilters&&(T(ke,N),T(Se,B),T(Se,W)),!0===Ve.mathMl&&(T(ke,M),T(Se,U),T(Se,W))),e.ADD_TAGS&&(ke===Ee&&(ke=C(ke)),T(ke,e.ADD_TAGS,pt)),e.ADD_ATTR&&(Se===je&&(Se=C(Se)),T(Se,e.ADD_ATTR,pt)),e.ADD_URI_SAFE_ATTR&&T(Qe,e.ADD_URI_SAFE_ATTR,pt),e.FORBID_CONTENTS&&($e===Ke&&($e=C($e)),T($e,e.FORBID_CONTENTS,pt)),qe&&(ke["#text"]=!0),Le&&T(ke,["html","head","body"]),ke.table&&(T(ke,["tbody"]),delete Pe.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw S('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw S('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ce=e.TRUSTED_TYPES_POLICY,se=ce.createHTML("")}else void 0===ce&&(ce=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const o="dompurify"+(n?"#"+n:"");try{return e.createPolicy(o,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(q,a)),null!==ce&&"string"==typeof se&&(se=ce.createHTML(""));s&&s(e),ft=e}},gt=T({},[...R,...N,...I]),yt=T({},[...M,...L]),bt=function(e){v(n.removed,{element:e});try{ae(e).removeChild(e)}catch(t){K(e)}},xt=function(e,t){try{v(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){v(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(Be||Ue)try{bt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},wt=function(e){let t=null,n=null;if(He)e="<remove></remove>"+e;else{const t=x(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===lt&&rt===nt&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const r=ce?ce.createHTML(e):e;if(rt===nt)try{t=(new G).parseFromString(r,lt)}catch(e){}if(!t||!t.documentElement){t=ue.createDocument(rt,"template",null);try{t.documentElement.innerHTML=ot?se:r}catch(e){}}const i=t.body||t.documentElement;return e&&n&&i.insertBefore(o.createTextNode(n),i.childNodes[0]||null),rt===nt?pe.call(t,Le?"html":"body")[0]:Le?t.documentElement:i},At=function(e){return le.call(e.ownerDocument||e,e,j.SHOW_ELEMENT|j.SHOW_COMMENT|j.SHOW_TEXT|j.SHOW_PROCESSING_INSTRUCTION|j.SHOW_CDATA_SECTION,null)},Ot=function(e){return e instanceof z&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof P)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},kt=function(e){return"function"==typeof d&&e instanceof d};function Et(e,t,r){f(e,(e=>{e.call(n,t,r,ft)}))}const St=function(e){let t=null;if(Et(he.beforeSanitizeElements,e,null),Ot(e))return bt(e),!0;const r=pt(e.nodeName);if(Et(he.uponSanitizeElement,e,{tagName:r,allowedTags:ke}),e.hasChildNodes()&&!kt(e.firstElementChild)&&E(/<[/\w]/g,e.innerHTML)&&E(/<[/\w]/g,e.textContent))return bt(e),!0;if(e.nodeType===ne)return bt(e),!0;if(Me&&e.nodeType===re&&E(/<[/\w]/g,e.data))return bt(e),!0;if(!ke[r]||Pe[r]){if(!Pe[r]&&Tt(r)){if(Te.tagNameCheck instanceof RegExp&&E(Te.tagNameCheck,r))return!1;if(Te.tagNameCheck instanceof Function&&Te.tagNameCheck(r))return!1}if(qe&&!$e[r]){const t=ae(e)||e.parentNode,n=Q(e)||e.childNodes;if(n&&t){for(let r=n.length-1;r>=0;--r){const o=V(n[r],!0);o.__removalCount=(e.__removalCount||0)+1,t.insertBefore(o,J(e))}}}return bt(e),!0}return e instanceof p&&!function(e){let t=ae(e);t&&t.tagName||(t={namespaceURI:rt,tagName:"template"});const n=y(e.tagName),r=y(t.tagName);return!!it[e.namespaceURI]&&(e.namespaceURI===tt?t.namespaceURI===nt?"svg"===n:t.namespaceURI===et?"svg"===n&&("annotation-xml"===r||ct[r]):Boolean(gt[n]):e.namespaceURI===et?t.namespaceURI===nt?"math"===n:t.namespaceURI===tt?"math"===n&&st[r]:Boolean(yt[n]):e.namespaceURI===nt?!(t.namespaceURI===tt&&!st[r])&&!(t.namespaceURI===et&&!ct[r])&&!yt[n]&&(ut[n]||!gt[n]):!("application/xhtml+xml"!==lt||!it[e.namespaceURI]))}(e)?(bt(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!E(/<\/no(script|embed|frames)/i,e.innerHTML)?(Ie&&e.nodeType===te&&(t=e.textContent,f([me,ve,ge],(e=>{t=w(t,e," ")})),e.textContent!==t&&(v(n.removed,{element:e.cloneNode()}),e.textContent=t)),Et(he.afterSanitizeElements,e,null),!1):(bt(e),!0)},jt=function(e,t,n){if(ze&&("id"===t||"name"===t)&&(n in o||n in ht))return!1;if(De&&!Ce[t]&&E(ye,t));else if(_e&&E(be,t));else if(!Se[t]||Ce[t]){if(!(Tt(e)&&(Te.tagNameCheck instanceof RegExp&&E(Te.tagNameCheck,e)||Te.tagNameCheck instanceof Function&&Te.tagNameCheck(e))&&(Te.attributeNameCheck instanceof RegExp&&E(Te.attributeNameCheck,t)||Te.attributeNameCheck instanceof Function&&Te.attributeNameCheck(t))||"is"===t&&Te.allowCustomizedBuiltInElements&&(Te.tagNameCheck instanceof RegExp&&E(Te.tagNameCheck,n)||Te.tagNameCheck instanceof Function&&Te.tagNameCheck(n))))return!1}else if(Qe[t]);else if(E(Oe,w(n,we,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==A(n,"data:")||!Je[e]){if(Re&&!E(xe,w(n,we,"")));else if(n)return!1}else;return!0},Tt=function(e){return"annotation-xml"!==e&&x(e,Ae)},Pt=function(e){Et(he.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||Ot(e))return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Se,forceKeepAttr:void 0};let o=t.length;for(;o--;){const i=t[o],{name:a,namespaceURI:c,value:s}=i,u=pt(a);let l="value"===a?s:O(s);if(r.attrName=u,r.attrValue=l,r.keepAttr=!0,r.forceKeepAttr=void 0,Et(he.uponSanitizeAttribute,e,r),l=r.attrValue,!Ge||"id"!==u&&"name"!==u||(xt(a,e),l="user-content-"+l),Me&&E(/((--!?|])>)|<\/(style|title)/i,l)){xt(a,e);continue}if(r.forceKeepAttr)continue;if(xt(a,e),!r.keepAttr)continue;if(!Ne&&E(/\/>/i,l)){xt(a,e);continue}Ie&&f([me,ve,ge],(e=>{l=w(l,e," ")}));const d=pt(e.nodeName);if(jt(d,u,l)){if(ce&&"object"==typeof q&&"function"==typeof q.getAttributeType)if(c);else switch(q.getAttributeType(d,u)){case"TrustedHTML":l=ce.createHTML(l);break;case"TrustedScriptURL":l=ce.createScriptURL(l)}try{c?e.setAttributeNS(c,a,l):e.setAttribute(a,l),Ot(e)?bt(e):m(n.removed)}catch(e){}}}Et(he.afterSanitizeAttributes,e,null)},Ct=function e(t){let n=null;const r=At(t);for(Et(he.beforeSanitizeShadowDOM,t,null);n=r.nextNode();)Et(he.uponSanitizeShadowNode,n,null),St(n),Pt(n),n.content instanceof c&&e(n.content);Et(he.afterSanitizeShadowDOM,t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,o=null,a=null,s=null;if(ot=!e,ot&&(e="\x3c!--\x3e"),"string"!=typeof e&&!kt(e)){if("function"!=typeof e.toString)throw S("toString is not a function");if("string"!=typeof(e=e.toString()))throw S("dirty is not a string, aborting")}if(!n.isSupported)return e;if(Fe||vt(t),n.removed=[],"string"==typeof e&&(Ye=!1),Ye){if(e.nodeName){const t=pt(e.nodeName);if(!ke[t]||Pe[t])throw S("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof d)r=wt("\x3c!----\x3e"),o=r.ownerDocument.importNode(e,!0),o.nodeType===ee&&"BODY"===o.nodeName||"HTML"===o.nodeName?r=o:r.appendChild(o);else{if(!Be&&!Ie&&!Le&&-1===e.indexOf("<"))return ce&&We?ce.createHTML(e):e;if(r=wt(e),!r)return Be?null:We?se:""}r&&He&&bt(r.firstChild);const u=At(Ye?e:r);for(;a=u.nextNode();)St(a),Pt(a),a.content instanceof c&&Ct(a.content);if(Ye)return e;if(Be){if(Ue)for(s=de.call(r.ownerDocument);r.firstChild;)s.appendChild(r.firstChild);else s=r;return(Se.shadowroot||Se.shadowrootmode)&&(s=fe.call(i,s,!0)),s}let l=Le?r.outerHTML:r.innerHTML;return Le&&ke["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&E(X,r.ownerDocument.doctype.name)&&(l="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+l),Ie&&f([me,ve,ge],(e=>{l=w(l,e," ")})),ce&&We?ce.createHTML(l):l},n.setConfig=function(){vt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Fe=!0},n.clearConfig=function(){ft=null,Fe=!1},n.isValidAttribute=function(e,t,n){ft||vt({});const r=pt(e),o=pt(t);return jt(r,o,n)},n.addHook=function(e,t){"function"==typeof t&&v(he[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=h(he[e],t);return-1===n?void 0:g(he[e],n,1)[0]}return m(he[e])},n.removeHooks=function(e){he[e]=[]},n.removeAllHooks=function(){he={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}()},28167:(e,t,n)=>{"use strict";n.d(t,{sH:()=>r});function r(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function c(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,c)}s((r=r.apply(e,t||[])).next())}))}Object.create;Object.create;"function"==typeof SuppressedError&&SuppressedError},77801:(e,t,n)=>{"use strict";n.d(t,{C6:()=>o,Cl:()=>i,Tt:()=>a,fX:()=>c});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}Object.create;function c(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;"function"==typeof SuppressedError&&SuppressedError},1481:(e,t,n)=>{"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{A:()=>r})},67812:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(3214),o=n(90832);function i(e,t,n){return i=(0,o.A)()?Reflect.construct:function(e,t,n){var o=[null];o.push.apply(o,t);var i=new(Function.bind.apply(e,o));return n&&(0,r.A)(i,n.prototype),i},i.apply(null,arguments)}},41528:(e,t,n)=>{"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{A:()=>r})},55778:(e,t,n)=>{"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{A:()=>r})},96331:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(3214);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.A)(e,t)}},9018:(e,t,n)=>{"use strict";function r(e){return-1!==Function.toString.call(e).indexOf("[native code]")}n.d(t,{A:()=>r})},90832:(e,t,n)=>{"use strict";function r(){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}}n.d(t,{A:()=>r})},3214:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{A:()=>r})},52107:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(55778),o=n(3214),i=n(9018),a=n(67812);function c(e){var t="function"==typeof Map?new Map:void 0;return c=function(e){if(null===e||!(0,i.A)(e))return e;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,n)}function n(){return(0,a.A)(e,arguments,(0,r.A)(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),(0,o.A)(n,e)},c(e)}},40622:(e,t,n)=>{"use strict";n.d(t,{C6:()=>o,Cl:()=>i,Tt:()=>a,fX:()=>c});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}Object.create;function c(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;"function"==typeof SuppressedError&&SuppressedError},71468:(e,t,n)=>{"use strict";n.d(t,{Kq:()=>ee,Ng:()=>Z});var r=n(4883),o=(n(78418),r.version.startsWith("19")),i=Symbol.for(o?"react.transitional.element":"react.element"),a=Symbol.for("react.portal"),c=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),l=Symbol.for("react.consumer"),d=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),g=p,y=m;function b(e){if("object"==typeof e&&null!==e){const{$$typeof:t}=e;switch(t){case i:switch(e=e.type){case c:case u:case s:case f:case h:return e;default:switch(e=e&&e.$$typeof){case d:case p:case v:case m:case l:return e;default:return t}}case a:return t}}}function x(e,t,n,r,{areStatesEqual:o,areOwnPropsEqual:i,areStatePropsEqual:a}){let c,s,u,l,d,p=!1;function f(p,f){const h=!i(f,s),m=!o(p,c,f,s);return c=p,s=f,h&&m?(u=e(c,s),t.dependsOnOwnProps&&(l=t(r,s)),d=n(u,l,s),d):h?(e.dependsOnOwnProps&&(u=e(c,s)),t.dependsOnOwnProps&&(l=t(r,s)),d=n(u,l,s),d):m?function(){const t=e(c,s),r=!a(t,u);return u=t,r&&(d=n(u,l,s)),d}():d}return function(o,i){return p?f(o,i):(c=o,s=i,u=e(c,s),l=t(r,s),d=n(u,l,s),p=!0,d)}}function w(e){return function(t){const n=e(t);function r(){return n}return r.dependsOnOwnProps=!1,r}}function A(e){return e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function O(e,t){return function(t,{displayName:n}){const r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e,void 0)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=A(e);let o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=A(o),o=r(t,n)),o},r}}function k(e,t){return(n,r)=>{throw new Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${r.wrappedComponentName}.`)}}function E(e,t,n){return{...n,...e,...t}}function S(e){e()}var j={notify(){},get:()=>[]};function T(e,t){let n,r=j,o=0,i=!1;function a(){u.onStateChange&&u.onStateChange()}function c(){o++,n||(n=t?t.addNestedSub(a):e.subscribe(a),r=function(){let e=null,t=null;return{clear(){e=null,t=null},notify(){S((()=>{let t=e;for(;t;)t.callback(),t=t.next}))},get(){const t=[];let n=e;for(;n;)t.push(n),n=n.next;return t},subscribe(n){let r=!0;const o=t={callback:n,next:null,prev:t};return o.prev?o.prev.next=o:e=o,function(){r&&null!==e&&(r=!1,o.next?o.next.prev=o.prev:t=o.prev,o.prev?o.prev.next=o.next:e=o.next)}}}}())}function s(){o--,n&&0===o&&(n(),n=void 0,r.clear(),r=j)}const u={addNestedSub:function(e){c();const t=r.subscribe(e);let n=!1;return()=>{n||(n=!0,t(),s())}},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:a,isSubscribed:function(){return i},trySubscribe:function(){i||(i=!0,c())},tryUnsubscribe:function(){i&&(i=!1,s())},getListeners:()=>r};return u}var P=(()=>!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement))(),C=(()=>"undefined"!=typeof navigator&&"ReactNative"===navigator.product)(),_=(()=>P||C?r.useLayoutEffect:r.useEffect)();function D(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function R(e,t){if(D(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r=0;r<n.length;r++)if(!Object.prototype.hasOwnProperty.call(t,n[r])||!D(e[n[r]],t[n[r]]))return!1;return!0}var N={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},I={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},M={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},L={[g]:{$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},[y]:M};function F(e){return function(e){return b(e)===m}(e)?M:L[e.$$typeof]||N}var H=Object.defineProperty,B=Object.getOwnPropertyNames,U=Object.getOwnPropertySymbols,W=Object.getOwnPropertyDescriptor,z=Object.getPrototypeOf,G=Object.prototype;function q(e,t){if("string"!=typeof t){if(G){const n=z(t);n&&n!==G&&q(e,n)}let n=B(t);U&&(n=n.concat(U(t)));const r=F(e),o=F(t);for(let i=0;i<n.length;++i){const a=n[i];if(!(I[a]||o&&o[a]||r&&r[a])){const n=W(t,a);try{H(e,a,n)}catch(e){}}}}return e}var Y=Symbol.for("react-redux-context"),V="undefined"!=typeof globalThis?globalThis:{};function $(){if(!r.createContext)return{};const e=V[Y]??=new Map;let t=e.get(r.createContext);return t||(t=r.createContext(null),e.set(r.createContext,t)),t}var K=$(),J=[null,null];function X(e,t,n,r,o,i){e.current=r,n.current=!1,o.current&&(o.current=null,i())}function Q(e,t){return e===t}var Z=function(e,t,n,{pure:o,areStatesEqual:i=Q,areOwnPropsEqual:a=R,areStatePropsEqual:c=R,areMergedPropsEqual:s=R,forwardRef:u=!1,context:l=K}={}){const d=l,p=function(e){return e?"function"==typeof e?O(e):k(e,"mapStateToProps"):w((()=>({})))}(e),f=function(e){return e&&"object"==typeof e?w((t=>function(e,t){const n={};for(const r in e){const o=e[r];"function"==typeof o&&(n[r]=(...e)=>t(o(...e)))}return n}(e,t))):e?"function"==typeof e?O(e):k(e,"mapDispatchToProps"):w((e=>({dispatch:e})))}(t),h=function(e){return e?"function"==typeof e?function(e){return function(t,{displayName:n,areMergedPropsEqual:r}){let o,i=!1;return function(t,n,a){const c=e(t,n,a);return i?r(c,o)||(o=c):(i=!0,o=c),o}}}(e):k(e,"mergeProps"):()=>E}(n),m=Boolean(e);return e=>{const t=e.displayName||e.name||"Component",n=`Connect(${t})`,o={shouldHandleStateChanges:m,displayName:n,wrappedComponentName:t,WrappedComponent:e,initMapStateToProps:p,initMapDispatchToProps:f,initMergeProps:h,areStatesEqual:i,areStatePropsEqual:c,areOwnPropsEqual:a,areMergedPropsEqual:s};function l(t){const[n,i,a]=r.useMemo((()=>{const{reactReduxForwardedRef:e,...n}=t;return[t.context,e,n]}),[t]),c=r.useMemo((()=>d),[n,d]),s=r.useContext(c),u=Boolean(t.store)&&Boolean(t.store.getState)&&Boolean(t.store.dispatch),l=Boolean(s)&&Boolean(s.store);const p=u?t.store:s.store,f=l?s.getServerState:p.getState,h=r.useMemo((()=>function(e,{initMapStateToProps:t,initMapDispatchToProps:n,initMergeProps:r,...o}){return x(t(e,o),n(e,o),r(e,o),e,o)}(p.dispatch,o)),[p]),[v,g]=r.useMemo((()=>{if(!m)return J;const e=T(p,u?void 0:s.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[p,u,s]),y=r.useMemo((()=>u?s:{...s,subscription:v}),[u,s,v]),b=r.useRef(void 0),w=r.useRef(a),A=r.useRef(void 0),O=r.useRef(!1),k=r.useRef(!1),E=r.useRef(void 0);_((()=>(k.current=!0,()=>{k.current=!1})),[]);const S=r.useMemo((()=>()=>A.current&&a===w.current?A.current:h(p.getState(),a)),[p,a]),j=r.useMemo((()=>e=>v?function(e,t,n,r,o,i,a,c,s,u,l){if(!e)return()=>{};let d=!1,p=null;const f=()=>{if(d||!c.current)return;const e=t.getState();let n,f;try{n=r(e,o.current)}catch(e){f=e,p=e}f||(p=null),n===i.current?a.current||u():(i.current=n,s.current=n,a.current=!0,l())};return n.onStateChange=f,n.trySubscribe(),f(),()=>{if(d=!0,n.tryUnsubscribe(),n.onStateChange=null,p)throw p}}(m,p,v,h,w,b,O,k,A,g,e):()=>{}),[v]);var P,C,D;let R;P=X,C=[w,b,O,a,A,g],_((()=>P(...C)),D);try{R=r.useSyncExternalStore(j,S,f?()=>h(f(),a):S)}catch(e){throw E.current&&(e.message+=`\nThe error may be correlated with this previous error:\n${E.current.stack}\n\n`),e}_((()=>{E.current=void 0,A.current=void 0,b.current=R}));const N=r.useMemo((()=>r.createElement(e,{...R,ref:i})),[i,e,R]);return r.useMemo((()=>m?r.createElement(c.Provider,{value:y},N):N),[c,N,y])}const v=r.memo(l);if(v.WrappedComponent=e,v.displayName=l.displayName=n,u){const t=r.forwardRef((function(e,t){return r.createElement(v,{...e,reactReduxForwardedRef:t})}));return t.displayName=n,t.WrappedComponent=e,q(t,e)}return q(v,e)}};var ee=function(e){const{children:t,context:n,serverState:o,store:i}=e,a=r.useMemo((()=>{const e=T(i);return{store:i,subscription:e,getServerState:o?()=>o:void 0}}),[i,o]),c=r.useMemo((()=>i.getState()),[i]);_((()=>{const{subscription:e}=a;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),c!==i.getState()&&e.notifyNestedSubs(),()=>{e.tryUnsubscribe(),e.onStateChange=void 0}}),[a,c]);const s=n||K;return r.createElement(s.Provider,{value:a},t)}},77987:(e,t,n)=>{"use strict";function r(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}n.d(t,{A:()=>r})},6695:(e,t,n)=>{"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{A:()=>r})},88097:(e,t,n)=>{"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{A:()=>r})},65166:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{A:()=>r})},21648:(e,t,n)=>{"use strict";function r(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}n.d(t,{A:()=>r})},37820:(e,t,n)=>{"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{A:()=>r})},47029:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(88097);function o(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 i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){(0,r.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},23715:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(8609);function o(e,t){if(null==e)return{};var n,o,i=(0,r.A)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},8609:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{A:()=>r})},52167:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(6695),o=n(21648),i=n(25134),a=n(37820);function c(e,t){return(0,r.A)(e)||(0,o.A)(e,t)||(0,i.A)(e,t)||(0,a.A)()}},47978:(e,t,n)=>{"use strict";function r(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.d(t,{A:()=>r})},65710:(e,t,n)=>{"use strict";function r(e){return r="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},r(e)}n.d(t,{A:()=>r})},25134:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(77987);function o(e,t){if(e){if("string"==typeof e)return(0,r.A)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.A)(e,t):void 0}}},72367:(e,t,n)=>{"use strict";n.d(t,{B1:()=>r});function r(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}Math.min,Math.max;const o=["top","right","bottom","left"];o.reduce(((e,t)=>e.concat(t,t+"-start",t+"-end")),[])},9725:(e,t,n)=>{"use strict";n.d(t,{ll:()=>x});n(72367);function r(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function o(e){if(null==e)return window;if(!r(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function i(e){return o(e).getComputedStyle(e)}function a(e){return r(e)?"":e?(e.nodeName||"").toLowerCase():""}function c(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map((e=>e.brand+"/"+e.version)).join(" "):navigator.userAgent}function s(e){return e instanceof o(e).HTMLElement}function u(e){return e instanceof o(e).Element}function l(e){return"undefined"!=typeof ShadowRoot&&(e instanceof o(e).ShadowRoot||e instanceof ShadowRoot)}function d(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=i(e);return/auto|scroll|overlay|hidden/.test(t+r+n)&&!["inline","contents"].includes(o)}function p(){return!/^((?!chrome|android).)*safari/i.test(c())}function f(e){return["html","body","#document"].includes(a(e))}Math.min,Math.max;const h=Math.round;function m(e,t,n){var r,i,a,c;void 0===t&&(t=!1),void 0===n&&(n=!1);const l=e.getBoundingClientRect();let d=1,f=1;t&&s(e)&&(d=e.offsetWidth>0&&h(l.width)/e.offsetWidth||1,f=e.offsetHeight>0&&h(l.height)/e.offsetHeight||1);const m=u(e)?o(e):window,v=!p()&&n,g=(l.left+(v&&null!=(r=null==(i=m.visualViewport)?void 0:i.offsetLeft)?r:0))/d,y=(l.top+(v&&null!=(a=null==(c=m.visualViewport)?void 0:c.offsetTop)?a:0))/f,b=l.width/d,x=l.height/f;return{width:b,height:x,top:y,right:g+b,bottom:y+x,left:g,x:g,y}}function v(e){return(t=e,(t instanceof o(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function g(e){if("html"===a(e))return e;const t=e.assignedSlot||e.parentNode||(l(e)?e.host:null)||v(e);return l(t)?t.host:t}function y(e){const t=g(e);return f(t)?e.ownerDocument.body:s(t)&&d(t)?t:y(t)}function b(e,t){var n;void 0===t&&(t=[]);const r=y(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),a=o(r),c=i?[a].concat(a.visualViewport||[],d(r)?r:[]):r,s=t.concat(c);return i?s:s.concat(b(c))}function x(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:c=!1}=r,s=o&&!c,l=s||i?[...u(e)?b(e):e.contextElement?b(e.contextElement):[],...b(t)]:[];l.forEach((e=>{s&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));let d,p=null;if(a){let r=!0;p=new ResizeObserver((()=>{r||n(),r=!1})),u(e)&&!c&&p.observe(e),u(e)||!e.contextElement||c||p.observe(e.contextElement),p.observe(t)}let f=c?m(e):null;return c&&function t(){const r=m(e);!f||r.x===f.x&&r.y===f.y&&r.width===f.width&&r.height===f.height||n(),f=r,d=requestAnimationFrame(t)}(),n(),()=>{var e;l.forEach((e=>{s&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)})),null==(e=p)||e.disconnect(),p=null,c&&cancelAnimationFrame(d)}}},92149:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(4883),o=n(81845),i=n(2418);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}const c=["onUpdate","onRepositioned","renderElement","renderElementTag","renderElementTo","renderTarget","className","id","style"];class s extends r.Component{constructor(...e){super(...e),this._targetNode=r.createRef(),this._elementNode=r.createRef(),this._elementParentNode=null,this._tetherInstance=null}componentDidMount(){this._createContainer(),this.forceUpdate()}componentDidUpdate(e){if(e.renderElementTag===this.props.renderElementTag&&e.renderElementTo===this.props.renderElementTo||this._createContainer(),this._elementParentNode&&e.className!==this.props.className){const t=(e.className||"").split(" ").filter((e=>e.length>0)),n=(this.props.className||"").split(" ").filter((e=>e.length>0));this._elementParentNode.classList.remove(...t),this._elementParentNode.classList.add(...n)}this._update()}componentWillUnmount(){this._destroy()}getTetherInstance(){return this._tetherInstance}disable(){var e;null==(e=this._tetherInstance)||e.disable()}enable(){var e;null==(e=this._tetherInstance)||e.enable()}on(e,t,n){this._tetherInstance.on(e,t,n)}once(e,t,n){this._tetherInstance.once(e,t,n)}off(e,t){this._tetherInstance.off(e,t)}position(){var e;null==(e=this._tetherInstance)||e.position()}_runRenders(){let e="function"==typeof this.props.renderTarget?this.props.renderTarget(this._targetNode):null,t="function"==typeof this.props.renderElement?this.props.renderElement(this._elementNode):null;return(0,r.isValidElement)(e)||(e=null),(0,r.isValidElement)(t)||(t=null),{targetComponent:e,elementComponent:t}}_createTetherInstance(e){this._tetherInstance&&this._destroy(),this._tetherInstance=new i(e),this._registerEventListeners()}_destroyTetherInstance(){this._tetherInstance&&(this._tetherInstance.destroy(),this._tetherInstance=null)}_registerEventListeners(){this.on("update",((...e)=>this.props.onUpdate&&this.props.onUpdate.apply(this,e))),this.on("repositioned",((...e)=>this.props.onRepositioned&&this.props.onRepositioned.apply(this,e)))}get _renderNode(){const{renderElementTo:e}=this.props;return"string"==typeof e?document.querySelector(e):e||document.body}_destroy(){this._destroyTetherInstance(),this._removeContainer()}_createContainer(){this._removeContainer();const{renderElementTag:e="div",className:t}=this.props;this._elementParentNode=document.createElement(e),this._elementParentNode.className=t||""}_addContainerToDOM(){this._elementParentNode&&this._renderNode&&this._elementParentNode.parentNode!==this._renderNode&&this._renderNode.append(this._elementParentNode)}_removeContainer(){this._elementParentNode&&this._elementParentNode.parentNode&&this._elementParentNode.remove()}_update(){this._elementNode.current&&this._targetNode.current?this._updateTether():this._destroy()}_updateTether(){var e;const t=this.props,{id:n,style:r}=t,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)t.indexOf(n=i[r])>=0||(o[n]=e[n]);return o}(t,c),i=a({target:this._targetNode.current,element:this._elementParentNode},o),s=n||"";if(this._elementParentNode&&this._elementParentNode.id!==s&&(this._elementParentNode.id=s),this._elementParentNode&&r){const e=this._elementParentNode.style;for(const t in r)if(e[t]!==r[t]){let n=r[t];n&&(e[t]=n)}}this._addContainerToDOM(),this._tetherInstance?this._tetherInstance.setOptions(i):this._createTetherInstance(i),null==(e=this._tetherInstance)||e.position()}render(){const{targetComponent:e,elementComponent:t}=this._runRenders();return e?r.createElement(r.Fragment,null,e,t&&this._elementParentNode&&o.createPortal(t,this._elementParentNode)):null}}},27346:(e,t,n)=>{"use strict";function r(e){return({dispatch:t,getState:n})=>r=>o=>"function"==typeof o?o(t,n,e):r(o)}n.d(t,{P:()=>o,Y:()=>i});var o=r(),i=r},14644:(e,t,n)=>{"use strict";function r(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}n.d(t,{HY:()=>u,Qd:()=>c,Tw:()=>f,Zz:()=>p,ve:()=>h,y$:()=>s,zH:()=>d});var o=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")(),i=()=>Math.random().toString(36).substring(7).split("").join("."),a={INIT:`@@redux/INIT${i()}`,REPLACE:`@@redux/REPLACE${i()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${i()}`};function c(e){if("object"!=typeof e||null===e)return!1;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||null===Object.getPrototypeOf(e)}function s(e,t,n){if("function"!=typeof e)throw new Error(r(2));if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(r(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(r(1));return n(s)(e,t)}let i=e,u=t,l=new Map,d=l,p=0,f=!1;function h(){d===l&&(d=new Map,l.forEach(((e,t)=>{d.set(t,e)})))}function m(){if(f)throw new Error(r(3));return u}function v(e){if("function"!=typeof e)throw new Error(r(4));if(f)throw new Error(r(5));let t=!0;h();const n=p++;return d.set(n,e),function(){if(t){if(f)throw new Error(r(6));t=!1,h(),d.delete(n),l=null}}}function g(e){if(!c(e))throw new Error(r(7));if(void 0===e.type)throw new Error(r(8));if("string"!=typeof e.type)throw new Error(r(17));if(f)throw new Error(r(9));try{f=!0,u=i(u,e)}finally{f=!1}return(l=d).forEach((e=>{e()})),e}g({type:a.INIT});return{dispatch:g,subscribe:v,getState:m,replaceReducer:function(e){if("function"!=typeof e)throw new Error(r(10));i=e,g({type:a.REPLACE})},[o]:function(){const e=v;return{subscribe(t){if("object"!=typeof t||null===t)throw new Error(r(11));function n(){const e=t;e.next&&e.next(m())}n();return{unsubscribe:e(n)}},[o](){return this}}}}}function u(e){const t=Object.keys(e),n={};for(let r=0;r<t.length;r++){const o=t[r];0,"function"==typeof e[o]&&(n[o]=e[o])}const o=Object.keys(n);let i;try{!function(e){Object.keys(e).forEach((t=>{const n=e[t];if(void 0===n(void 0,{type:a.INIT}))throw new Error(r(12));if(void 0===n(void 0,{type:a.PROBE_UNKNOWN_ACTION()}))throw new Error(r(13))}))}(n)}catch(e){i=e}return function(e={},t){if(i)throw i;let a=!1;const c={};for(let i=0;i<o.length;i++){const s=o[i],u=n[s],l=e[s],d=u(l,t);if(void 0===d){t&&t.type;throw new Error(r(14))}c[s]=d,a=a||d!==l}return a=a||o.length!==Object.keys(e).length,a?c:e}}function l(e,t){return function(...n){return t(e.apply(this,n))}}function d(e,t){if("function"==typeof e)return l(e,t);if("object"!=typeof e||null===e)throw new Error(r(16));const n={};for(const r in e){const o=e[r];"function"==typeof o&&(n[r]=l(o,t))}return n}function p(...e){return 0===e.length?e=>e:1===e.length?e[0]:e.reduce(((e,t)=>(...n)=>e(t(...n))))}function f(...e){return t=>(n,o)=>{const i=t(n,o);let a=()=>{throw new Error(r(15))};const c={getState:i.getState,dispatch:(e,...t)=>a(e,...t)},s=e.map((e=>e(c)));return a=p(...s)(i.dispatch),{...i,dispatch:a}}}function h(e){return c(e)&&"type"in e&&"string"==typeof e.type}}},c={};function s(e){var t=c[e];if(void 0!==t)return t.exports;var n=c[e]={id:e,loaded:!1,exports:{}};return a[e].call(n.exports,n,n.exports,s),n.loaded=!0,n.exports}s.m=a,s.amdD=function(){throw new Error("define cannot be used indirect")},s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,s.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var o=Object.create(null);s.r(o);var i={};n=n||[null,r({}),r([]),r(r)];for(var a=2&t&&e;"object"==typeof a&&!~n.indexOf(a);a=r(a))Object.getOwnPropertyNames(a).forEach((t=>i[t]=()=>e[t]));return i.default=()=>e,s.d(o,i),o},s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce(((t,n)=>(s.f[n](e,t),t)),[])),s.u=e=>"chunk-"+({222:"vendor-libphonenumber-js",236:"actions",262:"html-editor",310:"vendor-fontawesome",556:"docs-actions",672:"phone-formatter",722:"code-editor",916:"vendor-icons"}[e]||e)+"."+{103:"da6cfcb4de196b42d66a",123:"ac393721117e074a8146",211:"3440a8cf06d93ddf2a22",222:"80540f07b74d90c7030f",236:"3c763308a7b191809fb8",262:"c6edfbf548ea05d7b4ef",264:"d086e7b6f5e07f62a05d",310:"5a9ed8cbebd7b6c77c2c",389:"185e13c535962fcbc2f8",553:"c128d432d26f7548d10f",556:"532c4b6a53fecab84244",601:"6d9c30d1334109ac1832",668:"f4b14741aa67d56e95e4",672:"0899eb884a0c573f03ce",722:"9b33dd657c2cabd685c6",827:"d6342ceea1e020947fbc",916:"e7b460b6518214bb5b8b",987:"052f3600e9afc9c3b201"}[e]+".js",s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o={},i="tocco-widget-bundle:",s.l=(e,t,n,r)=>{if(o[e])o[e].push(t);else{var a,c;if(void 0!==n)for(var u=document.getElementsByTagName("script"),l=0;l<u.length;l++){var d=u[l];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==i+n){a=d;break}}a||(c=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,s.nc&&a.setAttribute("nonce",s.nc),a.setAttribute("data-webpack",i+n),a.src=e),o[e]=[t];var p=(t,n)=>{a.onerror=a.onload=null,clearTimeout(f);var r=o[e];if(delete o[e],a.parentNode&&a.parentNode.removeChild(a),r&&r.forEach((e=>e(n))),t)return t(n)},f=setTimeout(p.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=p.bind(null,a.onerror),a.onload=p.bind(null,a.onload),c&&document.head.appendChild(a)}},s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),s.j=101,s.p="/",(()=>{var e={101:0};s.f.j=(t,n)=>{var r=s.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise(((n,o)=>r=e[t]=[n,o]));n.push(r[2]=o);var i=s.p+s.u(t),a=new Error;s.l(i,(n=>{if(s.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",a.name="ChunkLoadError",a.type=o,a.request=i,r[1](a)}}),"chunk-"+t,t)}};var t=(t,n)=>{var r,o,[i,a,c]=n,u=0;if(i.some((t=>0!==e[t]))){for(r in a)s.o(a,r)&&(s.m[r]=a[r]);if(c)c(s)}for(t&&t(n);u<i.length;u++)o=i[u],s.o(e,o)&&e[o]&&e[o][0](),e[o]=0},n=this.webpackChunktocco_widget_bundle=this.webpackChunktocco_widget_bundle||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),s.nc=void 0;var u={};return(()=>{"use strict";s.r(u),s.d(u,{app:()=>qe});var e=s(61402),t=s(26396),n=s.n(t),r=s(62193),o=s.n(r),i=s(2404),a=s.n(i),c=s(71086),l=s.n(c),d=s(5556),p=s.n(d),f=s(4883),h=s.n(f),m=s(47767),v=s(84976),g=s(88951),y=s(13128),b=s(59042),x=s(28391),w=s(96450),A=s(72942),O=s(52334),k=s(82682),E=s(38159),S=s(33393),j=s(7311),T=s(66498),P=s(35301),C=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return T.A.getDispatchActions(e,_,t)},_=[{name:"entityName",action:P.Zl,mandatory:!0,argsFactory:function(e){return[e.entityName]}},{name:"entityName",action:P.uO,argsFactory:function(e){return[e.formBase||e.entityName]}},{name:"formBase",action:P.uO,argsFactory:function(e){return[e.formBase]}},{name:"scrollBehaviour",action:P.Zy,argsFactory:function(e){return[e.scrollBehaviour]}},{name:"id",action:P.RH,argsFactory:function(e){return[e.id||(new Date).valueOf()]}}],D=s(44467),R=s(92207),N=s.n(R),I=s(90167),M=s(29056),L=s(71635),F=n()(n()({},L.Bt,M.A.singleTransferReducer("formTouched")),L.wr,M.A.singleTransferReducer("detailParams")),H={detailParams:void 0,formTouched:!1};var B=s(15890),U=s.n(B),W=s(22056),z=s.n(W),G=s(32742),q=s(57327),Y=s(27399);function V(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 $(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?V(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):V(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var K=function(e){var t={};return e.fields.forEach((function(e){t[e.fieldName]=$({},e)})),e.relations.forEach((function(e){t[e.relationName]=$({type:"relation"},e)})),t};function J(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:K;return N().mark((function n(){var r;return N().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,I.T1)(q.A.requestSaga,"entities/".concat(e,"/model"));case 2:return r=n.sent,n.next=5,(0,I.T1)(t,r.body);case 5:return n.abrupt("return",n.sent);case 6:case"end":return n.stop()}}),n)}))()}var X={CREATE:"create",UPDATE:"update"};const Q={modes:X,getMode:function(e){return void 0===e?X.CREATE:X.UPDATE}};var Z=s(21259),ee=s.n(Z);const te=function(e){var t=e.split("/").filter((function(e){return!!e})),n=t[t.length-1],r=t.filter((function(e,t){return t>1&&t%2==0})).map((function(e){return e.split(".")})).reduce((function(e,t){return[].concat(ee()(e),ee()(t))}),[]);if(isNaN(n)){return{modelPaths:r,entityId:undefined,parentUrl:"/"+t.slice(0,-1).join("/")}}return{modelPaths:r,entityId:t[t.length-1],parentUrl:"/"+t.slice(0,-2).join("/")}};const ne=function(e,t){return 0!==t.length||(!e||isNaN(e))};var re=s(74848),oe=N().mark(ue),ie=N().mark(le),ae=N().mark(fe),ce=function(e){return e.entityBrowser},se=function(e){return e.input};function ue(){return N().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,I.Q7)([(0,I.p8)(L.M4,de),(0,I.p8)(L.z3,le),(0,I.p8)(L.o7,he)]);case 2:case"end":return e.stop()}}),oe)}function le(){return N().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,I.yJ)(L.EJ(void 0));case 2:case"end":return e.stop()}}),ie)}function de(e){var t=e.payload;return N().mark((function e(){var n,r,o,i,a,c,s,u,l,d,p,f,h,m,v,g;return N().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,I.T1)(te,t.url);case 2:return n=e.sent,r=n.modelPaths,o=n.entityId,i=n.parentUrl,e.next=8,(0,I.Lt)(ce);case 8:return a=e.sent,c=a.entityName,s=a.formBase,e.next=13,(0,I.T1)(Q.getMode,o);case 13:return u=e.sent,e.next=16,(0,I.T1)(pe,c,r,s);case 16:return l=e.sent,d=z()(l,2),p=d[0],f=d[1],e.next=22,(0,I.Lt)(se);case 22:return h=e.sent,m=h.initialKey,e.next=26,(0,I.T1)(ne,m,r);case 26:return v=e.sent,g={mode:u,entityId:o,entityName:p,formName:f,parentUrl:i,showBackButton:v},e.next=30,(0,I.yJ)(L.EJ(g));case 30:case"end":return e.stop()}}),e)}))()}function pe(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n;return N().mark((function o(){var i,a,c,s,u,l,d;return N().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(i=U()(t),a=i[0],c=i.slice(1),a){o.next=3;break}return o.abrupt("return",[e,r]);case 3:return o.next=5,(0,I.T1)(J,e);case 5:if(s=o.sent,u=s[a]){o.next=16;break}return o.next=10,(0,I.T1)(q.A.fetchForm,"".concat(n,"_detail_").concat(a),"list");case 10:return l=o.sent,o.next=13,(0,I.T1)(pe,l.modelName,c,"".concat(n,"_").concat(a));case 13:case 19:return o.abrupt("return",o.sent);case 16:return d="".concat(n,"_").concat(u.targetEntity),o.next=19,(0,I.T1)(pe,u.targetEntity,c,n,d);case 20:case"end":return o.stop()}}),o)}))()}function fe(e){var t;return N().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,I.T1)(G.Ix);case 2:return t=n.sent,n.next=5,(0,I.yJ)(A.A.modal("navigation-pending-changes","client.entity-browser.detail.confirmTouchedFormTitle",e,(function(e){var n=e.close;return(0,re.jsx)(Y.A,{onYes:function(){n(),t.put("yes")},onNo:function(){n(),t.put("no")}})}),!0,(function(){return t.put("no")})));case 5:return n.next=7,(0,I.s)(t);case 7:return n.abrupt("return",n.sent);case 8:case"end":return n.stop()}}),ae)}function he(e){var t=e.payload;return N().mark((function e(){var n,r;return N().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.message,r=t.confirmCallback,e.next=3,(0,I.T1)(fe,n);case 3:if("yes"!==e.sent){e.next=9;break}return e.next=7,(0,I.T1)(r,!0);case 7:e.next=11;break;case 9:return e.next=11,(0,I.T1)(r,!1);case 11:case"end":return e.stop()}}),e)}))()}var me=N().mark(ve);function ve(){return N().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,I.Q7)([(0,I.Zy)(ue)]);case 2:case"end":return e.stop()}}),me)}const ge=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:H,t=arguments.length>1?arguments[1]:void 0,n=F[t.type];return n?n(e,t):e};function ye(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 be(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ye(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ye(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var xe=n()(n()(n()(n()({},P.Rf,M.A.singleTransferReducer("entityName")),P.g0,(function(e,t){var n=t.payload.formBase;return n?be(be({},e),{},{formBase:n}):be({},e)})),P.J6,M.A.singleTransferReducer("scrollBehaviour")),P.PH,M.A.singleTransferReducer("appId")),we={entityName:"",formBase:"",scrollBehaviour:"none",appId:""};var Ae=N().mark(Ee),Oe=N().mark(Se),ke=N().mark(je);function Ee(){return N().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,I.Q7)([(0,I.T1)(Se),(0,I.p8)(P.XA,je)]);case 2:case"end":return e.stop()}}),Ae)}function Se(){return N().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,I.s)(e.A.INPUT_INITIALIZED);case 2:return t.next=4,(0,I.yJ)(w.A.doSessionCheck());case 4:case"end":return t.stop()}}),Oe)}function je(){return N().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,I.yJ)(x.A.fireExternalEvent("onRouteChange"));case 2:case"end":return e.stop()}}),ke)}var Te=N().mark(Pe);function Pe(){return N().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,I.Q7)([(0,I.Zy)(Ee)]);case 2:case"end":return e.stop()}}),Te)}const Ce=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:we,t=arguments.length>1?arguments[1]:void 0,n=xe[t.type];return n?n(e,t):e},_e={detail:ge,form:D.A,entityBrowser:Ce};var De,Re,Ne=[Pe,ve];function Ie(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 Me(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ie(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ie(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Le="entity-browser",Fe=["onVisibilityStatusChange","onRouteChange"],He=h().lazy((function(){return Promise.all([s.e(553),s.e(123),s.e(601)]).then(s.bind(s,63601))})),Be=function(){return De||(De=(0,re.jsx)(f.Suspense,{fallback:"",children:(0,re.jsx)(He,{})}))},Ue=function(e){var t=e.initialKey,n=e.initialAction,r=(0,m.Zp)(),o=(0,m.zy)().pathname;(0,f.useEffect)((function(){if(t&&!isNaN(t)){if(!o.match(/\/detail\/[0-9]*/)){var e="/detail/".concat(t);r(e)}}if(n&&n.name){var i="/action/".concat(n.name,"?").concat(S.A.toQueryString(n.properties));r(i)}}),[])},We=function(e){var t=e.memoryRouter,n=e.initialKey,r=e.initialAction,o=(t?m.bg:v.Ge)([{path:"*",element:(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(Ue,{initialKey:n,initialAction:r}),Re||(Re=(0,re.jsx)(Be,{}))]})}]);return(0,re.jsx)(v.pg,{router:o})},ze=function(t,n,r,o){n=Me(Me({},n),{},{id:t}),E.A.setInputEnvs(n);var i=e.A.createStore(_e,Ne,n,Le);x.A.addToStore(i,(function(t){return e.A.getEvents(Fe,t.input)})),g.A.addToStore(i),y.A.dynamicActionsAddToStore(i),b.A.addToStore(i,!0,["console","remote","notification"]),A.A.addToStore(i,!0),w.A.addToStore(i);var a=(0,re.jsx)(We,{memoryRouter:n.memoryHistory,initialKey:n.initialKey,initialAction:n.initialAction});return e.A.createApp(Le,a,i,{input:n,actions:C(n),publicPath:o,textResourceModules:["component","common","actions","entity-list","entity-detail"]})},Ge=function(t){var n=e.A.useApp({initApp:ze,props:t,packageName:Le}),r=n.component,i=n.store,c=j.A.usePrevious(t);return j.A.useDidUpdate((function(){var e=l()(t,(function(e,t){return!a()(e,c[t])}));o()(e)||C(e,!1).forEach((function(e){i.dispatch(e)}))}),[t]),(0,re.jsx)(re.Fragment,{children:r})};Ge.propTypes=Me({entityName:p().string.isRequired,searchFormType:O.X,formBase:p().string,limit:p().oneOfType([p().number,p().string]),preselectedSearchFields:p().array,searchFilters:p().arrayOf(p().string),simpleSearchFields:p().string,initialKey:p().string,initialAction:p().shape({name:p().string,properties:p().objectOf(p().object)}),businessUnit:p().string,memoryHistory:p().bool,backendUrl:p().string,scrollBehaviour:p().oneOf(["none","inline"]),appContext:k.A.propTypes,modifyFormDefinition:p().func,modifyEntityPaths:p().func,disableDetailView:p().bool,reportIds:p().arrayOf(p().string),customActionEventHandlers:p().objectOf(p().objectOf(p().func)),isHidden:p().bool},x.A.createPropTypes(Fe));var qe=e.A.createBundleableApp(Le,ze,Ge);e.A.registerAppInRegistry(qe.name,qe.init)})(),u})()));
|