@egen-civitas/esm-app-shell 2.7.0 → 2.8.1

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.
@@ -1 +1 @@
1
- (self.webpackChunk_egen_civitas_esm_app_shell=self.webpackChunk_egen_civitas_esm_app_shell||[]).push([["5534"],{648(e,t){var r,n;r=this,n=function(){return function(e,t,r){t.prototype.isToday=function(){var e="YYYY-MM-DD",t=r();return this.format(e)===t.format(e)}}},"object"==(t&&"u">typeof Symbol&&t.constructor===Symbol?"symbol":typeof t)?e.exports=n():"function"==typeof define&&define.amd?define(n):(r="u">typeof globalThis?globalThis:r||self).dayjs_plugin_isToday=n()},8279(e,t,r){"use strict";var n=r(803);t.createRoot=n.createRoot,t.hydrateRoot=n.hydrateRoot},3642(e,t,r){"use strict";var n=r(8783),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=n.useState,a=n.useEffect,s=n.useLayoutEffect,l=n.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!o(e,r)}catch(e){return!0}}var c="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=i({inst:{value:r,getSnapshot:t}}),o=n[0].inst,c=n[1];return s(function(){o.value=r,o.getSnapshot=t,u(o)&&c({inst:o})},[e,r,t]),a(function(){return u(o)&&c({inst:o}),e(function(){u(o)&&c({inst:o})})},[e]),l(r),r};t.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:c},8597(e,t,r){"use strict";e.exports=r(3642)},5794(e,t,r){"use strict";r.d(t,{D3:()=>d,jj:()=>f,uA:()=>c,B4:()=>h,sM:()=>p,jX:()=>u});var n=r(1442);function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){i(e,t,r[t])})}return e}function s(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}var l={flags:function(){var e={},t=!0,r=!1,n=void 0;try{for(var o,i=Object.keys(localStorage)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var s=o.value;if(s.startsWith("egen:feature-flag:")){var l=s.replace("egen:feature-flag:",""),u=JSON.parse(localStorage.getItem("egen:feature-flag-meta:".concat(l))||"{}");e[l]=a({enabled:"true"===localStorage.getItem(s)},u)}}}catch(e){r=!0,n=e}finally{try{t||null==i.return||i.return()}finally{if(r)throw n}}return e}()},u=(0,n.getGlobalStore)("feature-flags",l);function c(e,t,r){u.setState(function(n){var o,l;return{flags:s(a({},n.flags),i({},e,{enabled:null!=(o=null==(l=n.flags[e])?void 0:l.enabled)&&o,label:t,description:r}))}})}function d(){var e=u.getState().flags;Object.keys(localStorage).filter(function(e){return e.startsWith("egen:feature-flag:")}).forEach(function(t){var r=t.replace("egen:feature-flag:","");e[r]||(localStorage.removeItem(t),localStorage.removeItem("egen:feature-flag-meta:".concat(r)))})}function f(e){return u.getState().flags[e].enabled}function p(e,t){u.subscribe(function(r){t(r.flags[e].enabled)})}function h(e,t){u.setState(function(r){return{flags:s(a({},r.flags),i({},e,s(a({},r.flags[e]),{enabled:t})))}})}u.subscribe(function(e){var t=!0,r=!1,n=void 0;try{for(var i,a=Object.entries(e.flags)[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){var s,l=(s=i.value,function(e){if(Array.isArray(e))return e}(s)||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o=[],i=!0,a=!1;try{for(n=n.call(e);!(i=(t=n.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(e){a=!0,r=e}finally{try{i||null==n.return||n.return()}finally{if(a)throw r}}return o}}(s)||function(e){if(e){if("string"==typeof e)return o(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return o(e,2)}}(s)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u=l[0],c=l[1];localStorage.setItem("egen:feature-flag:".concat(u),c.enabled.toString()),localStorage.setItem("egen:feature-flag-meta:".concat(u),JSON.stringify({label:c.label,description:c.description}))}}catch(e){r=!0,n=e}finally{try{t||null==a.return||a.return()}finally{if(r)throw n}}})},6269(e,t,r){"use strict";r.d(t,{A:()=>c});var n=r(8783),o=r.n(n),i=r(8597),a=r(4555);let s=o().use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;if("rejected"===e.status)throw e.reason;throw e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e}),l={dedupe:!0};a.OBJECT.defineProperty(a.SWRConfig,"defaultValue",{value:a.defaultConfig});let u=(0,a.withArgs)((e,t,r)=>{let{cache:o,compare:u,suspense:c,fallbackData:d,revalidateOnMount:f,revalidateIfStale:p,refreshInterval:h,refreshWhenHidden:y,refreshWhenOffline:b,keepPreviousData:m}=r,[g,v,E,O]=a.SWRGlobalState.get(o),[w,S]=(0,a.serialize)(e),x=(0,n.useRef)(!1),C=(0,n.useRef)(!1),j=(0,n.useRef)(w),k=(0,n.useRef)(t),A=(0,n.useRef)(r),P=()=>A.current.isVisible()&&A.current.isOnline(),[_,R,D,I]=(0,a.createCacheHelper)(o,w),N=(0,n.useRef)({}).current,T=(0,a.isUndefined)(d)?r.fallback[w]:d,U=(e,t)=>{for(let r in N)if("data"===r){if(!u(e[r],t[r])&&(!(0,a.isUndefined)(e[r])||!u(H,t[r])))return!1}else if(t[r]!==e[r])return!1;return!0},L=(0,n.useMemo)(()=>{let e=!!w&&!!t&&((0,a.isUndefined)(f)?!A.current.isPaused()&&!c&&(!!(0,a.isUndefined)(p)||p):f),r=t=>{let r=(0,a.mergeObjects)(t);return(delete r._k,e)?{isValidating:!0,isLoading:!0,...r}:r},n=_(),o=I(),i=r(n),s=n===o?i:r(o),l=i;return[()=>{let e=r(_());return U(e,l)?(l.data=e.data,l.isLoading=e.isLoading,l.isValidating=e.isValidating,l.error=e.error,l):(l=e,e)},()=>s]},[o,w]),M=(0,i.useSyncExternalStore)((0,n.useCallback)(e=>D(w,(t,r)=>{U(r,t)||e()}),[o,w]),L[0],L[1]),B=!x.current,F=g[w]&&g[w].length>0,V=M.data,G=(0,a.isUndefined)(V)?T:V,X=M.error,W=(0,n.useRef)(G),H=m?(0,a.isUndefined)(V)?W.current:V:G,K=(!F||!!(0,a.isUndefined)(X))&&(B&&!(0,a.isUndefined)(f)?f:!A.current.isPaused()&&(c?!(0,a.isUndefined)(G)&&p:(0,a.isUndefined)(G)||p)),z=!!(w&&t&&B&&K),Y=(0,a.isUndefined)(M.isValidating)?z:M.isValidating,q=(0,a.isUndefined)(M.isLoading)?z:M.isLoading,J=(0,n.useCallback)(async e=>{let t,n,o=k.current;if(!w||!o||C.current||A.current.isPaused())return!1;let i=!0,s=e||{},l=!E[w]||!s.dedupe,c=()=>a.IS_REACT_LEGACY?!C.current&&w===j.current&&x.current:w===j.current,d={isValidating:!1,isLoading:!1},f=()=>{R(d)},p=()=>{let e=E[w];e&&e[1]===n&&delete E[w]},h={isValidating:!0};(0,a.isUndefined)(_().data)&&(h.isLoading=!0);try{if(l&&(R(h),r.loadingTimeout&&(0,a.isUndefined)(_().data)&&setTimeout(()=>{i&&c()&&A.current.onLoadingSlow(w,r)},r.loadingTimeout),E[w]=[o(S),(0,a.getTimestamp)()]),[t,n]=E[w],t=await t,l&&setTimeout(p,r.dedupingInterval),!E[w]||E[w][1]!==n)return l&&c()&&A.current.onDiscarded(w),!1;d.error=a.UNDEFINED;let e=v[w];if(!(0,a.isUndefined)(e)&&(n<=e[0]||n<=e[1]||0===e[1]))return f(),l&&c()&&A.current.onDiscarded(w),!1;let s=_().data;d.data=u(s,t)?s:t,l&&c()&&A.current.onSuccess(t,w,r)}catch(r){p();let e=A.current,{shouldRetryOnError:t}=e;!e.isPaused()&&(d.error=r,l&&c()&&(e.onError(r,w,e),(!0===t||(0,a.isFunction)(t)&&t(r))&&(!A.current.revalidateOnFocus||!A.current.revalidateOnReconnect||P())&&e.onErrorRetry(r,w,e,e=>{let t=g[w];t&&t[0]&&t[0](a.revalidateEvents.ERROR_REVALIDATE_EVENT,e)},{retryCount:(s.retryCount||0)+1,dedupe:!0})))}return i=!1,f(),!0},[w,o]),Q=(0,n.useCallback)((...e)=>(0,a.internalMutate)(o,j.current,...e),[]);if((0,a.useIsomorphicLayoutEffect)(()=>{k.current=t,A.current=r,(0,a.isUndefined)(V)||(W.current=V)}),(0,a.useIsomorphicLayoutEffect)(()=>{if(!w)return;let e=J.bind(a.UNDEFINED,l),t=0,r=(0,a.subscribeCallback)(w,g,(r,n={})=>{if(r==a.revalidateEvents.FOCUS_EVENT){let r=Date.now();A.current.revalidateOnFocus&&r>t&&P()&&(t=r+A.current.focusThrottleInterval,e())}else if(r==a.revalidateEvents.RECONNECT_EVENT)A.current.revalidateOnReconnect&&P()&&e();else if(r==a.revalidateEvents.MUTATE_EVENT)return J();else if(r==a.revalidateEvents.ERROR_REVALIDATE_EVENT)return J(n)});return C.current=!1,j.current=w,x.current=!0,R({_k:S}),K&&((0,a.isUndefined)(G)||a.IS_SERVER?e():(0,a.rAF)(e)),()=>{C.current=!0,r()}},[w]),(0,a.useIsomorphicLayoutEffect)(()=>{let e;function t(){let t=(0,a.isFunction)(h)?h(_().data):h;t&&-1!==e&&(e=setTimeout(r,t))}function r(){!_().error&&(y||A.current.isVisible())&&(b||A.current.isOnline())?J(l).then(t):t()}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[h,y,b,w]),(0,n.useDebugValue)(H),c&&(0,a.isUndefined)(G)&&w){if(!a.IS_REACT_LEGACY&&a.IS_SERVER)throw Error("Fallback data is required when using suspense in SSR.");k.current=t,A.current=r,C.current=!1;let e=O[w];if((0,a.isUndefined)(e)||s(Q(e)),(0,a.isUndefined)(X)){let e=J(l);(0,a.isUndefined)(H)||(e.status="fulfilled",e.value=!0),s(e)}else throw X}return{mutate:Q,get data(){return N.data=!0,H},get error(){return N.error=!0,X},get isValidating(){return N.isValidating=!0,Y},get isLoading(){return N.isLoading=!0,q}}}),c=(0,a.withMiddleware)(u,e=>(t,r,n)=>(n.revalidateOnFocus=!1,n.revalidateIfStale=!1,n.revalidateOnReconnect=!1,e(t,r,n)))},3709(e,t,r){"use strict";r.d(t,{Ay:()=>d});var n=r(8783),o=r.n(n),i=r(8597),a=r(4555);let s=o().use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;if("rejected"===e.status)throw e.reason;throw e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e}),l={dedupe:!0};a.OBJECT.defineProperty(a.SWRConfig,"defaultValue",{value:a.defaultConfig});let u=(0,a.withArgs)((e,t,r)=>{let{cache:o,compare:u,suspense:c,fallbackData:d,revalidateOnMount:f,revalidateIfStale:p,refreshInterval:h,refreshWhenHidden:y,refreshWhenOffline:b,keepPreviousData:m}=r,[g,v,E,O]=a.SWRGlobalState.get(o),[w,S]=(0,a.serialize)(e),x=(0,n.useRef)(!1),C=(0,n.useRef)(!1),j=(0,n.useRef)(w),k=(0,n.useRef)(t),A=(0,n.useRef)(r),P=()=>A.current.isVisible()&&A.current.isOnline(),[_,R,D,I]=(0,a.createCacheHelper)(o,w),N=(0,n.useRef)({}).current,T=(0,a.isUndefined)(d)?r.fallback[w]:d,U=(e,t)=>{for(let r in N)if("data"===r){if(!u(e[r],t[r])&&(!(0,a.isUndefined)(e[r])||!u(H,t[r])))return!1}else if(t[r]!==e[r])return!1;return!0},L=(0,n.useMemo)(()=>{let e=!!w&&!!t&&((0,a.isUndefined)(f)?!A.current.isPaused()&&!c&&(!!(0,a.isUndefined)(p)||p):f),r=t=>{let r=(0,a.mergeObjects)(t);return(delete r._k,e)?{isValidating:!0,isLoading:!0,...r}:r},n=_(),o=I(),i=r(n),s=n===o?i:r(o),l=i;return[()=>{let e=r(_());return U(e,l)?(l.data=e.data,l.isLoading=e.isLoading,l.isValidating=e.isValidating,l.error=e.error,l):(l=e,e)},()=>s]},[o,w]),M=(0,i.useSyncExternalStore)((0,n.useCallback)(e=>D(w,(t,r)=>{U(r,t)||e()}),[o,w]),L[0],L[1]),B=!x.current,F=g[w]&&g[w].length>0,V=M.data,G=(0,a.isUndefined)(V)?T:V,X=M.error,W=(0,n.useRef)(G),H=m?(0,a.isUndefined)(V)?W.current:V:G,K=(!F||!!(0,a.isUndefined)(X))&&(B&&!(0,a.isUndefined)(f)?f:!A.current.isPaused()&&(c?!(0,a.isUndefined)(G)&&p:(0,a.isUndefined)(G)||p)),z=!!(w&&t&&B&&K),Y=(0,a.isUndefined)(M.isValidating)?z:M.isValidating,q=(0,a.isUndefined)(M.isLoading)?z:M.isLoading,J=(0,n.useCallback)(async e=>{let t,n,o=k.current;if(!w||!o||C.current||A.current.isPaused())return!1;let i=!0,s=e||{},l=!E[w]||!s.dedupe,c=()=>a.IS_REACT_LEGACY?!C.current&&w===j.current&&x.current:w===j.current,d={isValidating:!1,isLoading:!1},f=()=>{R(d)},p=()=>{let e=E[w];e&&e[1]===n&&delete E[w]},h={isValidating:!0};(0,a.isUndefined)(_().data)&&(h.isLoading=!0);try{if(l&&(R(h),r.loadingTimeout&&(0,a.isUndefined)(_().data)&&setTimeout(()=>{i&&c()&&A.current.onLoadingSlow(w,r)},r.loadingTimeout),E[w]=[o(S),(0,a.getTimestamp)()]),[t,n]=E[w],t=await t,l&&setTimeout(p,r.dedupingInterval),!E[w]||E[w][1]!==n)return l&&c()&&A.current.onDiscarded(w),!1;d.error=a.UNDEFINED;let e=v[w];if(!(0,a.isUndefined)(e)&&(n<=e[0]||n<=e[1]||0===e[1]))return f(),l&&c()&&A.current.onDiscarded(w),!1;let s=_().data;d.data=u(s,t)?s:t,l&&c()&&A.current.onSuccess(t,w,r)}catch(r){p();let e=A.current,{shouldRetryOnError:t}=e;!e.isPaused()&&(d.error=r,l&&c()&&(e.onError(r,w,e),(!0===t||(0,a.isFunction)(t)&&t(r))&&(!A.current.revalidateOnFocus||!A.current.revalidateOnReconnect||P())&&e.onErrorRetry(r,w,e,e=>{let t=g[w];t&&t[0]&&t[0](a.revalidateEvents.ERROR_REVALIDATE_EVENT,e)},{retryCount:(s.retryCount||0)+1,dedupe:!0})))}return i=!1,f(),!0},[w,o]),Q=(0,n.useCallback)((...e)=>(0,a.internalMutate)(o,j.current,...e),[]);if((0,a.useIsomorphicLayoutEffect)(()=>{k.current=t,A.current=r,(0,a.isUndefined)(V)||(W.current=V)}),(0,a.useIsomorphicLayoutEffect)(()=>{if(!w)return;let e=J.bind(a.UNDEFINED,l),t=0,r=(0,a.subscribeCallback)(w,g,(r,n={})=>{if(r==a.revalidateEvents.FOCUS_EVENT){let r=Date.now();A.current.revalidateOnFocus&&r>t&&P()&&(t=r+A.current.focusThrottleInterval,e())}else if(r==a.revalidateEvents.RECONNECT_EVENT)A.current.revalidateOnReconnect&&P()&&e();else if(r==a.revalidateEvents.MUTATE_EVENT)return J();else if(r==a.revalidateEvents.ERROR_REVALIDATE_EVENT)return J(n)});return C.current=!1,j.current=w,x.current=!0,R({_k:S}),K&&((0,a.isUndefined)(G)||a.IS_SERVER?e():(0,a.rAF)(e)),()=>{C.current=!0,r()}},[w]),(0,a.useIsomorphicLayoutEffect)(()=>{let e;function t(){let t=(0,a.isFunction)(h)?h(_().data):h;t&&-1!==e&&(e=setTimeout(r,t))}function r(){!_().error&&(y||A.current.isVisible())&&(b||A.current.isOnline())?J(l).then(t):t()}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[h,y,b,w]),(0,n.useDebugValue)(H),c&&(0,a.isUndefined)(G)&&w){if(!a.IS_REACT_LEGACY&&a.IS_SERVER)throw Error("Fallback data is required when using suspense in SSR.");k.current=t,A.current=r,C.current=!1;let e=O[w];if((0,a.isUndefined)(e)||s(Q(e)),(0,a.isUndefined)(X)){let e=J(l);(0,a.isUndefined)(H)||(e.status="fulfilled",e.value=!0),s(e)}else throw X}return{mutate:Q,get data(){return N.data=!0,H},get error(){return N.error=!0,X},get isValidating(){return N.isValidating=!0,Y},get isLoading(){return N.isLoading=!0,q}}}),c=Promise.resolve(),d=(0,a.withMiddleware)(u,e=>(t,r,o)=>{let s,l=(0,n.useRef)(!1),{cache:u,initialSize:d=1,revalidateAll:f=!1,persistSize:p=!1,revalidateFirstPage:h=!0,revalidateOnMount:y=!1,parallel:b=!1}=o,[,,,m]=a.SWRGlobalState.get(a.cache);try{(s=(0,a.serialize)(t?t(0,null):null)[0])&&(s=a.INFINITE_PREFIX+s)}catch(e){}let[g,v,E]=(0,a.createCacheHelper)(u,s),O=(0,n.useCallback)(()=>(0,a.isUndefined)(g()._l)?d:g()._l,[u,s,d]);(0,i.useSyncExternalStore)((0,n.useCallback)(e=>s?E(s,()=>{e()}):()=>{},[u,s]),O,O);let w=(0,n.useCallback)(()=>{let e=g()._l;return(0,a.isUndefined)(e)?d:e},[s,d]),S=(0,n.useRef)(w());(0,a.useIsomorphicLayoutEffect)(()=>{if(!l.current){l.current=!0;return}s&&v({_l:p?S.current:w()})},[s,u]);let x=y&&!l.current,C=e(s,async e=>{let n=g()._i,i=g()._r;v({_r:a.UNDEFINED});let s=[],l=w(),[c]=(0,a.createCacheHelper)(u,e),d=c().data,p=[],y=null;for(let e=0;e<l;++e){let[l,c]=(0,a.serialize)(t(e,b?null:y));if(!l)break;let[g,v]=(0,a.createCacheHelper)(u,l),E=g().data,O=f||n||(0,a.isUndefined)(E)||h&&!e&&!(0,a.isUndefined)(d)||x||d&&!(0,a.isUndefined)(d[e])&&!o.compare(d[e],E);if(r&&("function"==typeof i?i(E,c):O)){let t=async()=>{if(l in m){let e=m[l];delete m[l],E=await e}else E=await r(c);v({data:E,_k:c}),s[e]=E};b?p.push(t):await t()}else s[e]=E;b||(y=E)}return b&&await Promise.all(p.map(e=>e())),v({_i:a.UNDEFINED}),s},o),j=(0,n.useCallback)(function(e,t){let r="boolean"==typeof t?{revalidate:t}:t||{},n=!1!==r.revalidate;return s?(n&&((0,a.isUndefined)(e)?v({_i:!0,_r:r.revalidate}):v({_i:!1,_r:r.revalidate})),arguments.length?C.mutate(e,{...r,revalidate:n}):C.mutate()):c},[s,u]),k=(0,n.useCallback)(e=>{let r;if(!s)return c;let[,n]=(0,a.createCacheHelper)(u,s);if((0,a.isFunction)(e)?r=e(w()):"number"==typeof e&&(r=e),"number"!=typeof r)return c;n({_l:r}),S.current=r;let o=[],[i]=(0,a.createCacheHelper)(u,s),l=null;for(let e=0;e<r;++e){let[r]=(0,a.serialize)(t(e,l)),[n]=(0,a.createCacheHelper)(u,r),s=r?n().data:a.UNDEFINED;if((0,a.isUndefined)(s))return j(i().data);o.push(s),l=s}return j(o)},[s,u,j,w]);return{size:w(),setSize:k,mutate:j,get data(){return C.data},get error(){return C.error},get isValidating(){return C.isValidating},get isLoading(){return C.isLoading}}})},4356(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function o(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a(e,t,r){return t&&i(e.prototype,t),r&&i(e,r),e}r.d(t,{A:()=>c});var s=function(){function e(){o(this,e)}return a(e,[{key:"add",value:function(e,t,r){if("string"!=typeof arguments[0])for(var n in arguments[0])this.add(n,arguments[0][n],arguments[1]);else(Array.isArray(e)?e:[e]).forEach(function(e){this[e]=this[e]||[],t&&this[e][r?"unshift":"push"](t)},this)}},{key:"run",value:function(e,t){this[e]=this[e]||[],this[e].forEach(function(e){e.call(t&&t.context?t.context:t,t)})}}]),e}(),l=function(){function e(t){o(this,e),this.jsep=t,this.registered={}}return a(e,[{key:"register",value:function(){for(var e=this,t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];r.forEach(function(t){if((void 0===t?"undefined":t&&"u">typeof Symbol&&t.constructor===Symbol?"symbol":typeof t)!="object"||!t.name||!t.init)throw Error("Invalid JSEP plugin format");e.registered[t.name]||(t.init(e.jsep),e.registered[t.name]=t)})}}]),e}(),u=function(){function e(t){o(this,e),this.expr=t,this.index=0}return a(e,[{key:"char",get:function(){return this.expr.charAt(this.index)}},{key:"code",get:function(){return this.expr.charCodeAt(this.index)}},{key:"throwError",value:function(e){var t=Error(e+" at character "+this.index);throw t.index=this.index,t.description=e,t}},{key:"runHook",value:function(t,r){if(e.hooks[t]){var n={context:this,node:r};return e.hooks.run(t,n),n.node}return r}},{key:"searchHook",value:function(t){if(e.hooks[t]){var r={context:this};return e.hooks[t].find(function(e){return e.call(r.context,r),r.node}),r.node}}},{key:"gobbleSpaces",value:function(){for(var t=this.code;t===e.SPACE_CODE||t===e.TAB_CODE||t===e.LF_CODE||t===e.CR_CODE;)t=this.expr.charCodeAt(++this.index);this.runHook("gobble-spaces")}},{key:"parse",value:function(){this.runHook("before-all");var t=this.gobbleExpressions(),r=1===t.length?t[0]:{type:e.COMPOUND,body:t};return this.runHook("after-all",r)}},{key:"gobbleExpressions",value:function(t){for(var r,n,o=[];this.index<this.expr.length;)if((r=this.code)===e.SEMCOL_CODE||r===e.COMMA_CODE)this.index++;else if(n=this.gobbleExpression())o.push(n);else if(this.index<this.expr.length){if(r===t)break;this.throwError('Unexpected "'+this.char+'"')}return o}},{key:"gobbleExpression",value:function(){var e=this.searchHook("gobble-expression")||this.gobbleBinaryExpression();return this.gobbleSpaces(),this.runHook("after-expression",e)}},{key:"gobbleBinaryOp",value:function(){this.gobbleSpaces();for(var t=this.expr.substr(this.index,e.max_binop_len),r=t.length;r>0;){if(e.binary_ops.hasOwnProperty(t)&&(!e.isIdentifierStart(this.code)||this.index+t.length<this.expr.length&&!e.isIdentifierPart(this.expr.charCodeAt(this.index+t.length))))return this.index+=r,t;t=t.substr(0,--r)}return!1}},{key:"gobbleBinaryExpression",value:function(){var t,r,n,o,i,a,s,l,u,c;if(!(a=this.gobbleToken())||!(r=this.gobbleBinaryOp()))return a;for(i={value:r,prec:e.binaryPrecedence(r),right_a:e.right_associative.has(r)},(s=this.gobbleToken())||this.throwError("Expected expression after "+r),o=[a,i,s];r=this.gobbleBinaryOp();){if(0===(n=e.binaryPrecedence(r))){this.index-=r.length;break}for(i={value:r,prec:n,right_a:e.right_associative.has(r)},u=r;o.length>2&&(c=o[o.length-2],i.right_a&&c.right_a?n>c.prec:n<=c.prec);)s=o.pop(),r=o.pop().value,a=o.pop(),t={type:e.BINARY_EXP,operator:r,left:a,right:s},o.push(t);(t=this.gobbleToken())||this.throwError("Expected expression after "+u),o.push(i,t)}for(l=o.length-1,t=o[l];l>1;)t={type:e.BINARY_EXP,operator:o[l-1].value,left:o[l-2],right:t},l-=2;return t}},{key:"gobbleToken",value:function(){var t,r,n,o;if(this.gobbleSpaces(),o=this.searchHook("gobble-token"))return this.runHook("after-token",o);if(t=this.code,e.isDecimalDigit(t)||t===e.PERIOD_CODE)return this.gobbleNumericLiteral();if(t===e.SQUOTE_CODE||t===e.DQUOTE_CODE)o=this.gobbleStringLiteral();else if(t===e.OBRACK_CODE)o=this.gobbleArray();else{for(n=(r=this.expr.substr(this.index,e.max_unop_len)).length;n>0;){if(e.unary_ops.hasOwnProperty(r)&&(!e.isIdentifierStart(this.code)||this.index+r.length<this.expr.length&&!e.isIdentifierPart(this.expr.charCodeAt(this.index+r.length)))){this.index+=n;var i=this.gobbleToken();return i||this.throwError("missing unaryOp argument"),this.runHook("after-token",{type:e.UNARY_EXP,operator:r,argument:i,prefix:!0})}r=r.substr(0,--n)}e.isIdentifierStart(t)?(o=this.gobbleIdentifier(),e.literals.hasOwnProperty(o.name)?o={type:e.LITERAL,value:e.literals[o.name],raw:o.name}:o.name===e.this_str&&(o={type:e.THIS_EXP})):t===e.OPAREN_CODE&&(o=this.gobbleGroup())}return o?(o=this.gobbleTokenProperty(o),this.runHook("after-token",o)):this.runHook("after-token",!1)}},{key:"gobbleTokenProperty",value:function(t){this.gobbleSpaces();for(var r=this.code;r===e.PERIOD_CODE||r===e.OBRACK_CODE||r===e.OPAREN_CODE||r===e.QUMARK_CODE;){var n=void 0;if(r===e.QUMARK_CODE){if(this.expr.charCodeAt(this.index+1)!==e.PERIOD_CODE)break;n=!0,this.index+=2,this.gobbleSpaces(),r=this.code}this.index++,r===e.OBRACK_CODE?((t={type:e.MEMBER_EXP,computed:!0,object:t,property:this.gobbleExpression()}).property||this.throwError('Unexpected "'+this.char+'"'),this.gobbleSpaces(),(r=this.code)!==e.CBRACK_CODE&&this.throwError("Unclosed ["),this.index++):r===e.OPAREN_CODE?t={type:e.CALL_EXP,arguments:this.gobbleArguments(e.CPAREN_CODE),callee:t}:(r===e.PERIOD_CODE||n)&&(n&&this.index--,this.gobbleSpaces(),t={type:e.MEMBER_EXP,computed:!1,object:t,property:this.gobbleIdentifier()}),n&&(t.optional=!0),this.gobbleSpaces(),r=this.code}return t}},{key:"gobbleNumericLiteral",value:function(){for(var t,r,n="";e.isDecimalDigit(this.code);)n+=this.expr.charAt(this.index++);if(this.code===e.PERIOD_CODE)for(n+=this.expr.charAt(this.index++);e.isDecimalDigit(this.code);)n+=this.expr.charAt(this.index++);if("e"===(t=this.char)||"E"===t){for(n+=this.expr.charAt(this.index++),("+"===(t=this.char)||"-"===t)&&(n+=this.expr.charAt(this.index++));e.isDecimalDigit(this.code);)n+=this.expr.charAt(this.index++);e.isDecimalDigit(this.expr.charCodeAt(this.index-1))||this.throwError("Expected exponent ("+n+this.char+")")}return r=this.code,e.isIdentifierStart(r)?this.throwError("Variable names cannot start with a number ("+n+this.char+")"):(r===e.PERIOD_CODE||1===n.length&&n.charCodeAt(0)===e.PERIOD_CODE)&&this.throwError("Unexpected period"),{type:e.LITERAL,value:parseFloat(n),raw:n}}},{key:"gobbleStringLiteral",value:function(){for(var t="",r=this.index,n=this.expr.charAt(this.index++),o=!1;this.index<this.expr.length;){var i=this.expr.charAt(this.index++);if(i===n){o=!0;break}if("\\"===i)switch(i=this.expr.charAt(this.index++)){case"n":t+="\n";break;case"r":t+="\r";break;case"t":t+=" ";break;case"b":t+="\b";break;case"f":t+="\f";break;case"v":t+="\v";break;default:t+=i}else t+=i}return o||this.throwError('Unclosed quote after "'+t+'"'),{type:e.LITERAL,value:t,raw:this.expr.substring(r,this.index)}}},{key:"gobbleIdentifier",value:function(){var t=this.code,r=this.index;for(e.isIdentifierStart(t)?this.index++:this.throwError("Unexpected "+this.char);this.index<this.expr.length;)if(t=this.code,e.isIdentifierPart(t))this.index++;else break;return{type:e.IDENTIFIER,name:this.expr.slice(r,this.index)}}},{key:"gobbleArguments",value:function(t){for(var r=[],n=!1,o=0;this.index<this.expr.length;){this.gobbleSpaces();var i=this.code;if(i===t){n=!0,this.index++,t===e.CPAREN_CODE&&o&&o>=r.length&&this.throwError("Unexpected token "+String.fromCharCode(t));break}if(i===e.COMMA_CODE){if(this.index++,++o!==r.length){if(t===e.CPAREN_CODE)this.throwError("Unexpected token ,");else if(t===e.CBRACK_CODE)for(var a=r.length;a<o;a++)r.push(null)}}else if(r.length!==o&&0!==o)this.throwError("Expected comma");else{var s=this.gobbleExpression();s&&s.type!==e.COMPOUND||this.throwError("Expected comma"),r.push(s)}}return n||this.throwError("Expected "+String.fromCharCode(t)),r}},{key:"gobbleGroup",value:function(){this.index++;var t=this.gobbleExpressions(e.CPAREN_CODE);if(this.code===e.CPAREN_CODE)return(this.index++,1===t.length)?t[0]:!!t.length&&{type:e.SEQUENCE_EXP,expressions:t};this.throwError("Unclosed (")}},{key:"gobbleArray",value:function(){return this.index++,{type:e.ARRAY_EXP,elements:this.gobbleArguments(e.CBRACK_CODE)}}}],[{key:"version",get:function(){return"1.4.0"}},{key:"toString",value:function(){return"JavaScript Expression Parser (JSEP) v"+e.version}},{key:"addUnaryOp",value:function(t){return e.max_unop_len=Math.max(t.length,e.max_unop_len),e.unary_ops[t]=1,e}},{key:"addBinaryOp",value:function(t,r,n){return e.max_binop_len=Math.max(t.length,e.max_binop_len),e.binary_ops[t]=r,n?e.right_associative.add(t):e.right_associative.delete(t),e}},{key:"addIdentifierChar",value:function(t){return e.additional_identifier_chars.add(t),e}},{key:"addLiteral",value:function(t,r){return e.literals[t]=r,e}},{key:"removeUnaryOp",value:function(t){return delete e.unary_ops[t],t.length===e.max_unop_len&&(e.max_unop_len=e.getMaxKeyLen(e.unary_ops)),e}},{key:"removeAllUnaryOps",value:function(){return e.unary_ops={},e.max_unop_len=0,e}},{key:"removeIdentifierChar",value:function(t){return e.additional_identifier_chars.delete(t),e}},{key:"removeBinaryOp",value:function(t){return delete e.binary_ops[t],t.length===e.max_binop_len&&(e.max_binop_len=e.getMaxKeyLen(e.binary_ops)),e.right_associative.delete(t),e}},{key:"removeAllBinaryOps",value:function(){return e.binary_ops={},e.max_binop_len=0,e}},{key:"removeLiteral",value:function(t){return delete e.literals[t],e}},{key:"removeAllLiterals",value:function(){return e.literals={},e}},{key:"parse",value:function(t){return new e(t).parse()}},{key:"getMaxKeyLen",value:function(e){var t,r;return(t=Math).max.apply(t,[0].concat(function(e){if(Array.isArray(e))return n(e)}(r=Object.keys(e).map(function(e){return e.length}))||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e){if(e){if("string"==typeof e)return n(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return n(e,void 0)}}(r)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()))}},{key:"isDecimalDigit",value:function(e){return e>=48&&e<=57}},{key:"binaryPrecedence",value:function(t){return e.binary_ops[t]||0}},{key:"isIdentifierStart",value:function(t){return t>=65&&t<=90||t>=97&&t<=122||t>=128&&!e.binary_ops[String.fromCharCode(t)]||e.additional_identifier_chars.has(String.fromCharCode(t))}},{key:"isIdentifierPart",value:function(t){return e.isIdentifierStart(t)||e.isDecimalDigit(t)}}]),e}();Object.assign(u,{hooks:new s,plugins:new l(u),COMPOUND:"Compound",SEQUENCE_EXP:"SequenceExpression",IDENTIFIER:"Identifier",MEMBER_EXP:"MemberExpression",LITERAL:"Literal",THIS_EXP:"ThisExpression",CALL_EXP:"CallExpression",UNARY_EXP:"UnaryExpression",BINARY_EXP:"BinaryExpression",ARRAY_EXP:"ArrayExpression",TAB_CODE:9,LF_CODE:10,CR_CODE:13,SPACE_CODE:32,PERIOD_CODE:46,COMMA_CODE:44,SQUOTE_CODE:39,DQUOTE_CODE:34,OPAREN_CODE:40,CPAREN_CODE:41,OBRACK_CODE:91,CBRACK_CODE:93,QUMARK_CODE:63,SEMCOL_CODE:59,COLON_CODE:58,unary_ops:{"-":1,"!":1,"~":1,"+":1},binary_ops:{"||":1,"??":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":10,"/":10,"%":10,"**":11},right_associative:new Set(["**"]),additional_identifier_chars:new Set(["$","_"]),literals:{true:!0,false:!1,null:null},this_str:"this"}),u.max_unop_len=u.getMaxKeyLen(u.unary_ops),u.max_binop_len=u.getMaxKeyLen(u.binary_ops);var c=function(e){return new u(e).parse()},d=Object.getOwnPropertyNames(function e(){o(this,e)});Object.getOwnPropertyNames(u).filter(function(e){return!d.includes(e)&&void 0===c[e]}).forEach(function(e){c[e]=u[e]}),c.Jsep=u,c.plugins.register({name:"ternary",init:function(e){e.hooks.add("after-expression",function(t){if(t.node&&this.code===e.QUMARK_CODE){this.index++;var r=t.node,n=this.gobbleExpression();if(n||this.throwError("Expected expression"),this.gobbleSpaces(),this.code===e.COLON_CODE){this.index++;var o=this.gobbleExpression();if(o||this.throwError("Expected expression"),t.node={type:"ConditionalExpression",test:r,consequent:n,alternate:o},r.operator&&e.binary_ops[r.operator]<=.9){for(var i=r;i.right.operator&&e.binary_ops[i.right.operator]<=.9;)i=i.right;t.node.test=i.right,i.right=t.node,t.node=r}}else this.throwError("Expected :")}})}})},7403(e,t,r){"use strict";r.d(t,{A:()=>o});var n=r(2102);let o=(0,r(6317).A)(function(e,t,r){(0,n.A)(e,t,r)})},2879(e,t,r){"use strict";function n(e){return e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach(function(t){var n,o,i;n=e,o=t,i=r[t],o in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e){return(a="function"==typeof Symbol&&"symbol"==n(Symbol.iterator)?function(e){return void 0===e?"undefined":n(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":n(e)})(e)}function s(e){return(s="function"==typeof Symbol&&"symbol"==n(Symbol.iterator)?function(e){return void 0===e?"undefined":n(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":n(e)})(e)}function l(e,t){var r;if("function"!=typeof(r=t.domElement?function(){return t.domElement}:t.domElementGetter?t.domElementGetter:e.domElementGetter?e.domElementGetter:function(e){var t=e.appName||e.name;if(!t)throw Error("single-spa's dom-element-getter-helpers was not given an application name as a prop, so it can't make a unique dom element container for the react application");var r="single-spa-application:".concat(t);return function(){var e=document.getElementById(r);return e||((e=document.createElement("div")).id=r,document.body.appendChild(e)),e}}(t)))throw Error("single-spa's dom-element-getter-helpers was given an invalid domElementGetter for application or parcel '".concat(t.name,"'. Expected a function, received ").concat(s(r)));return function(){var e,n=r(t);if(null!=(e=HTMLElement)&&"u">typeof Symbol&&e[Symbol.hasInstance]?!e[Symbol.hasInstance](n):!(n instanceof e))throw Error("single-spa's dom-element-getter-helpers: domElementGetter returned an invalid dom element for application or parcel '".concat(t.name,"'. Expected HTMLElement, received ").concat(s(n)));return n}}r.d(t,{A:()=>d,i:()=>u});var u=null;try{u=require("react").createContext()}catch(e){}var c={React:null,ReactDOM:null,ReactDOMClient:null,rootComponent:null,loadRootComponent:null,errorBoundary:null,errorBoundaryClass:null,domElementGetter:null,parcelCanUpdate:!0,suppressComponentDidCatchWarning:!1,domElements:{},renderResults:{},updateResolves:{},unmountResolves:{}};function d(e){if("object"!==a(e))throw Error("single-spa-react requires a configuration object");var t,r=i(i({},c),e);if(!r.React)throw Error("single-spa-react must be passed opts.React");if(!r.ReactDOM&&!r.ReactDOMClient)throw Error("single-spa-react must be passed opts.ReactDOM or opts.ReactDOMClient");if(r.renderType||(null!=(t=r.ReactDOMClient)&&t.createRoot?r.renderType="createRoot":r.renderType="render"),!r.rootComponent&&!r.loadRootComponent)throw Error("single-spa-react must be passed opts.rootComponent or opts.loadRootComponent");if(r.errorBoundary&&"function"!=typeof r.errorBoundary)throw Error("The errorBoundary opt for single-spa-react must either be omitted or be a function that returns React elements");!u&&r.React.createContext&&(u=r.React.createContext()),r.SingleSpaRoot=function(e){function t(e){t.displayName="SingleSpaRoot(".concat(e.name,")")}return t.prototype=Object.create(e.React.Component.prototype),t.prototype.componentDidMount=function(){setTimeout(this.props.mountFinished)},t.prototype.componentWillUnmount=function(){setTimeout(this.props.unmountFinished)},t.prototype.render=function(){return setTimeout(this.props.updateFinished),this.props.children},t}(r);var n={bootstrap:f.bind(null,r),mount:p.bind(null,r),unmount:h.bind(null,r)};return r.parcelCanUpdate&&(n.update=y.bind(null,r)),n}function f(e,t){return e.rootComponent?Promise.resolve():e.loadRootComponent(t).then(function(t){e.rootComponent=t})}function p(e,t){return new Promise(function(r,n){e.suppressComponentDidCatchWarning||!function(e){if(!(e&&"string"==typeof e.version&&e.version.indexOf(".")>=0))return!1;var t=e.version.slice(0,e.version.indexOf("."));try{return Number(t)>=16}catch(e){return!1}}(e.React)||e.errorBoundary||e.errorBoundaryClass||(e.rootComponent.prototype?e.rootComponent.prototype.componentDidCatch||console.warn("single-spa-react: ".concat(t.name||t.appName||t.childAppName,"'s rootComponent should implement componentDidCatch to avoid accidentally unmounting the entire single-spa application.")):console.warn("single-spa-react: ".concat(t.name||t.appName||t.childAppName,"'s rootComponent does not implement an error boundary. If using a functional component, consider providing an opts.errorBoundary to singleSpaReact(opts).")));var o,i=m(e,t,function(){r(this)}),a=l(e,t)(),s=function(e){var t=e.reactDom,r=e.renderType,n=e.elementToRender,o=e.domElement,i=t[r];if("function"!=typeof i)throw Error('renderType "'.concat(r,'" did not return a function.'));switch(r){case"createRoot":case"unstable_createRoot":case"createBlockingRoot":case"unstable_createBlockingRoot":var a=i(o);return a.render(n),a;case"hydrateRoot":return i(o,n);default:return i(n,o),null}}({elementToRender:i,domElement:a,reactDom:b(e),renderType:"function"==typeof(o=e).renderType?o.renderType():o.renderType});e.domElements[t.name]=a,e.renderResults[t.name]=s})}function h(e,t){return new Promise(function(r){e.unmountResolves[t.name]=r;var n=e.renderResults[t.name];n&&n.unmount?n.unmount():b(e).unmountComponentAtNode(e.domElements[t.name]),delete e.domElements[t.name],delete e.renderResults[t.name]})}function y(e,t){return new Promise(function(r){e.updateResolves[t.name]||(e.updateResolves[t.name]=[]),e.updateResolves[t.name].push(r);var n=m(e,t,null),o=e.renderResults[t.name];if(o&&o.render)o.render(n);else{var i=l(e,t)();b(e).render(n,i)}})}function b(e){return e.ReactDOMClient||e.ReactDOM}function m(e,t,r){var n=e.React.createElement(e.rootComponent,t),o=u?e.React.createElement(u.Provider,{value:t},n):n;return(e.errorBoundary||t.errorBoundary||e.errorBoundaryClass||t.errorBoundaryClass)&&(e.errorBoundaryClass=e.errorBoundaryClass||t.errorBoundaryClass||function(e,t){function r(t){e.React.Component.apply(this,arguments),this.state={caughtError:null,caughtErrorInfo:null},r.displayName="SingleSpaReactErrorBoundary(".concat(t.name,")")}return r.prototype=Object.create(e.React.Component.prototype),r.prototype.render=function(){return this.state.caughtError?(e.errorBoundary||t.errorBoundary)(this.state.caughtError,this.state.caughtErrorInfo,this.props):this.props.children},r.prototype.componentDidCatch=function(e,t){this.setState({caughtError:e,caughtErrorInfo:t})},r}(e,t),o=e.React.createElement(e.errorBoundaryClass,t,o)),o=e.React.createElement(e.SingleSpaRoot,i(i({},t),{},{mountFinished:r,updateFinished:function(){e.updateResolves[t.name]&&(e.updateResolves[t.name].forEach(function(e){return e()}),delete e.updateResolves[t.name])},unmountFinished:function(){e.unmountResolves[t.name]&&(e.unmountResolves[t.name](),delete e.unmountResolves[t.name])}}),o)}},3400(e,t,r){"use strict";r.d(t,{mI:()=>p,ly:()=>_,rm:()=>R,Bv:()=>u,Vs:()=>m,cD:()=>c,KU:()=>l,XM:()=>A,Ty:()=>v,E$:()=>b,TG:()=>w,qd:()=>S,pJ:()=>x,SY:()=>d,R5:()=>k,g8:()=>f,iS:()=>g,r_:()=>j,Zu:()=>s,bS:()=>P});var n,o,i=r(3975);function a(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){r(e);return}s.done?t(l):Promise.resolve(l).then(n,o)}var s="".concat(i.restBaseUrl,"/attachment");function l(e,t){return(0,i.egenFetch)("".concat(s,"/").concat(e),{signal:t.signal})}function u(e,t,r){return(0,i.egenFetch)("".concat(s,"?entity=").concat(e,"&includeOrphan=").concat(t),{signal:r.signal})}function c(e,t){var r;return(r=function(){var r;return function(e,t){var r,n,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),s=Object.defineProperty;return s(a,"next",{value:l(0)}),s(a,"throw",{value:l(1)}),s(a,"return",{value:l(2)}),"function"==typeof Symbol&&s(a,Symbol.iterator,{value:function(){return this}}),a;function l(s){return function(l){var u=[s,l];if(r)throw TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&u[0]?n.return:u[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,u[1])).done)return o;switch(n=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return i.label++,{value:u[1],done:!1};case 5:i.label++,n=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){i=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){i.label=u[1];break}if(6===u[0]&&i.label<o[1]){i.label=o[1],o=u;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(u);break}o[2]&&i.ops.pop(),i.trys.pop();continue}u=t.call(e,i)}catch(e){u=[6,e],n=0}finally{r=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}}(this,function(n){return(r=new FormData).append("fileCaption",t.fileDescription),r.append("entity",e),t.file?r.append("file",t.file,t.fileName):(r.append("file",new File([""],t.fileName),t.fileName),r.append("base64Content",t.base64Content)),[2,(0,i.egenFetch)("".concat(s),{method:"POST",body:r})]})},function(){var e=this,t=arguments;return new Promise(function(n,o){var i=r.apply(e,t);function s(e){a(i,n,o,s,l,"next",e)}function l(e){a(i,n,o,s,l,"throw",e)}s(void 0)})})()}function d(e,t){return(0,i.egenFetch)("".concat(s,"/").concat(e),{method:"DELETE",signal:t.signal})}function f(e,t){var r=new CustomEvent("egen:".concat(e),{detail:null!=t?t:void 0,cancelable:!0,bubbles:!0});return window.dispatchEvent(r)}function p(e,t){var r=function(e){t("detail"in e&&null!==e.detail?e.detail:void 0)};return window.addEventListener("egen:".concat(e),r),function(){window.removeEventListener("egen:".concat(e),r)}}var h=r(4391),y=r(3862);function b(e){return{uuid:e.uuid,display:e.display}}function m(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=new URLSearchParams;e&&r.set("tag",e),t&&r.set("q",t);var n=r.toString(),o="".concat(i.restBaseUrl,"/location").concat(n?"?"+n:"");return(0,i.egenObservableFetch)(o).pipe((0,h.T)(function(e){return e.data.results.map(b)})).pipe((0,y.s)(1))}function g(e){return{uuid:e.uuid,display:e.display,name:e.name}}function v(){return(0,i.egenObservableFetch)("".concat(i.restBaseUrl,"/sessiontype")).pipe((0,h.T)(function(e){return e.data.results.map(g)})).pipe((0,y.s)(1))}var E=r(1442),O=r(919),w=((n={}).NEW="startSession",n.EDIT="editSession",n.LOADING="loadingSession",n),S=((o={}).NOTSTARTED="notStarted",o.ONGOING="ongoing",o),x="custom:(uuid,display,voided,indication,startDatetime,stopDatetime,interactions:(uuid,display,interactionDatetime,form:(uuid,name),location:ref,interactionType:ref,interactionHandlers:(uuid,display,handler:(uuid,display))),entity:(uuid,display),sessionType:(uuid,name,display),attributes:(uuid,display,attributeType:(name,datatypeClassname,uuid),value),location:(uuid,name,display))",C=function(){try{return JSON.parse(sessionStorage.getItem("egen:sessionStoreState")||"null")}catch(e){return null}}()||{entityUuid:null,manuallySetSessionUuid:null,mutateSessionCallbacks:{}};function j(){return(0,E.getGlobalStore)("session",C)}function k(e,t){j().setState({entityUuid:e,manuallySetSessionUuid:t})}function A(e,t){return(0,i.egenFetch)("".concat(i.restBaseUrl,"/session"),{signal:t.signal,method:"POST",headers:{"Content-type":"application/json"},body:e})}function P(e,t,r){return(0,i.egenFetch)("".concat(i.restBaseUrl,"/session/").concat(e),{signal:r.signal,method:"POST",headers:{"Content-type":"application/json"},body:t})}function _(e,t,r){return(0,i.egenFetch)("".concat(i.restBaseUrl,"/session?entity=").concat(e,"&v=").concat(null!=r?r:x),{signal:t.signal,method:"GET",headers:{"Content-type":"application/json"}})}j().subscribe(function(e){var t;t=e,sessionStorage.setItem("egen:sessionStoreState",JSON.stringify(t))});var R=new O.BehaviorSubject(null)},6014(e,t,r){"use strict";r.d(t,{dX:()=>S,wE:()=>k,_3:()=>v,uN:()=>j,$F:()=>x,Gz:()=>w,eb:()=>O,Sj:()=>C,mv:()=>E,PQ:()=>n.A});var n=r(4356),o="ArrowFunctionExpression";function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var s=r(4693);function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function u(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){r(e);return}s.done?t(l):Promise.resolve(l).then(n,o)}function c(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function a(e){u(i,n,o,a,s,"next",e)}function s(e){u(i,n,o,a,s,"throw",e)}a(void 0)})}}function d(e,t,r){return(d=m()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var o=new(Function.bind.apply(e,n));return r&&h(o,r.prototype),o}).apply(null,arguments)}function f(e,t){return null!=t&&"u">typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e){if(e){if("string"==typeof e)return l(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return l(e,void 0)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e){return e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function m(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(m=function(){return!!e})()}function g(e,t){var r,n,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),s=Object.defineProperty;return s(a,"next",{value:l(0)}),s(a,"throw",{value:l(1)}),s(a,"return",{value:l(2)}),"function"==typeof Symbol&&s(a,Symbol.iterator,{value:function(){return this}}),a;function l(s){return function(l){var u=[s,l];if(r)throw TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&u[0]?n.return:u[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,u[1])).done)return o;switch(n=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return i.label++,{value:u[1],done:!1};case 5:i.label++,n=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){i=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){i.label=u[1];break}if(6===u[0]&&i.label<o[1]){i.label=o[1],o=u;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(u);break}o[2]&&i.ops.pop(),i.trys.pop();continue}u=t.call(e,i)}catch(e){u=[6,e],n=0}finally{r=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}}function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return C(e,t,A)}function E(e){return c(function(e){var t=arguments;return g(this,function(r){return[2,j(e,t.length>1&&void 0!==t[1]?t[1]:{},A)]})}).apply(this,arguments)}function O(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return C(e,t,P)}function w(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return j(e,t,P)}function S(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return C(e,t,_)}function x(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return j(e,t,_)}function C(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;if("string"!=typeof e&&((void 0===e?"undefined":b(e))!=="object"||!e||!("type"in e)))throw"Unknown expression type ".concat(e,". Expressions must either be a string or pre-compiled string.");if("string"==typeof e&&0===e.trim().length)throw{type:"Empty expression",message:"Expression cannot be an empty string"};null==t&&(t={});var o=I(t,s.z),i=R("string"==typeof e?(0,n.A)(e):e,o);if(r(i))return i;throw{type:"Invalid result",message:"string"==typeof e?"The expression ".concat(e," did not produce a valid result"):"The expression did not produce a valid result"}}function j(e,t){return c(function(e){var t,r,o,i=arguments;return g(this,function(a){if(t=i.length>1&&void 0!==i[1]?i[1]:{},r=i.length>2?i[2]:void 0,"string"!=typeof e&&((void 0===e?"undefined":b(e))!=="object"||!e||!("type"in e)))return[2,Promise.reject("Unknown expression type ".concat(e,". Expressions must either be a string or pre-compiled string."))];if("string"==typeof e&&0===e.trim().length)throw{type:"Empty expression",message:"Expression cannot be an empty string"};return null==t&&(t={}),o=I(t,s.f),[2,Promise.resolve(R("string"==typeof e?(0,n.A)(e):e,o)).then(function(t){if(r(t))return t;throw{type:"Invalid result",message:"string"==typeof e?"The expression ".concat(e," did not produce a valid result"):"The expression did not produce a valid result"}})]})}).apply(this,arguments)}function k(e){return(0,n.A)(e)}function A(e){return"string"==typeof e||"number"==typeof e||"boolean"==typeof e||null==e||f(e,Date)}function P(e){return"boolean"==typeof e}function _(e){return"number"==typeof e}function R(e,t){switch(e.type){case"UnaryExpression":var r,n,o,i,a,s,l,u,c,p,h=e,m=t,g=R(h.argument,m);switch(h.operator){case"+":return+g;case"-":return-g;case"~":return~g;case"!":return!g;default:throw"Expression evaluator does not support operator '".concat(h.operator,"''")}case"BinaryExpression":var v=e,E=t,O=R(v.left,E),w=R(v.right,E);switch(v.operator){case"+":return O+w;case"-":return O-w;case"*":return O*w;case"/":return O/w;case"%":return O%w;case"**":return Math.pow(O,w);case"==":return O==w;case"===":return O===w;case"!=":return O!=w;case"!==":return O!==w;case">":return O>w;case">=":return O>=w;case"<":return O<w;case"<=":return O<=w;case"in":return O in w;case"&&":return O&&w;case"||":return O||w;case"??":return null!=O?O:w;default:throw"Expression evaluator does not support operator '".concat(v.operator,"' operator")}case"ConditionalExpression":return S=e,x=t,R(S.test,x)?R(S.consequent,x):R(S.alternate,x);case"CallExpression":var S,x,C,j=e,k=t,A=null==(C=j.arguments)?void 0:C.map(N(k)),P=R(j.callee,k);if(P){if("function"!=typeof P)throw"".concat(U(j.callee)," is not a function")}else throw"No function named ".concat(U(j.callee)," is defined in this context");return P.apply(void 0,y(A));case"ArrowFunctionExpression":return L=e,M=t,G=null!=(B=null==(V=L.params)?void 0:V.map(function(e){if("Identifier"===e.type)return e.name;throw"Cannot handle parameter of type ".concat(e.type)}))?B:[],(function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];if(t.length<G.length)throw"Required argument(s) ".concat(G.slice(t.length,-1).join(", ")," were not provided");var n=Object.fromEntries(G.reduce(function(e,r,n){var o=t[n];return function e(t){if("string"==typeof t||"number"==typeof t||"boolean"==typeof t||"function"==typeof t||null===t||f(t,RegExp))return!0;if((void 0===t?"undefined":b(t))==="object"){var r=!0,n=!1,o=void 0;try{for(var i,a=Object.keys(t)[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var s=i.value;if(!e(t[s]))return!1}}catch(e){n=!0,o=e}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}return!0}if(Array.isArray(t)){var l=!0,u=!1,c=void 0;try{for(var d,p=t[Symbol.iterator]();!(l=(d=p.next()).done);l=!0){var h=d.value;if(!e(h))return!1}}catch(e){u=!0,c=e}finally{try{l||null==p.return||p.return()}finally{if(u)throw c}}}return!1}(o)&&e.push([r,o]),e},[]));return R(L.body,M.addVariables(n))}).bind(null!=(F=M.thisObj)?F:null);case"MemberExpression":return function(e,t){var r,n=R(e.object,t);if(void 0===n)switch(e.object.type){case"Identifier":var o=D(e.object,t);throw ReferenceError("ReferenceError: ".concat(o," is not defined"));case"MemberExpression":var i=D(e.property,t);throw TypeError("TypeError: cannot read properties of undefined (reading '".concat(i,"')"));default:throw"VisitMemberExpression does not support operator '".concat(e.object.type,"' type")}var a=n;if("string"==typeof n)a=String.prototype;else if("number"==typeof n)a=Number.prototype;else if("function"==typeof n);else if((void 0===n?"undefined":b(n))!=="object")throw"VisitMemberExpression does not support member access on type ".concat(void 0===n?"undefined":b(n));switch(t.thisObj=a,e.property.type){case"Identifier":case"MemberExpression":r=R(e.property,t);break;default:var s=R(e.property,t);if(void 0===s)throw{type:"Illegal property access",message:"No property was supplied to the property access"};T(s),r=n[s]}return"function"==typeof r?r.bind(n):r}(e,t);case"ArrayExpression":return X=e,W=t,null==(H=X.elements)?void 0:H.map(N(W));case"SequenceExpression":return K=e,z=t,(Y=K.expressions.map(N(z)))[Y.length-1];case"NewExpression":var _=e,I=t;if(_.callee&&"Identifier"===_.callee.type){var L,M,B,F,V,G,X,W,H,K,z,Y,q,J=null==(q=_.arguments)?void 0:q.map(N(I));switch(_.callee.name){case"Date":return d(Date,y(J));case"RegExp":return d(RegExp,y(J));default:throw"Cannot instantiate object of type ".concat(_.callee.name)}}if(_.callee)throw"new must be called with either Date or RegExp";throw'Could not handle "new" without a specified class';case"Literal":return T((r=e).value),r.value;case"Identifier":var Q=e,$=t;T(Q.name);var Z=$.thisObj;if(Z&&((void 0===Z?"undefined":b(Z))==="object"||"function"==typeof Z)&&Q.name in Z){var ee=Z[Q.name];return T(ee),ee}if($.variables&&Q.name in $.variables){var et=$.variables[Q.name];return T(et),et}return Q.name in $.globals?$.globals[Q.name]:void 0;case"TemplateLiteral":return n=e,o=t,u=null!=(i=null==(s=n.expressions)?void 0:s.map(N(o)))?i:[],(c=null!=(a=null==(l=n.quasis)?void 0:l.map(N(o)))?a:[]).filter(function(e){return!e.tail}).map(function(e){return e.value}).join("")+u.join("")+c.filter(function(e){return e.tail}).map(function(e){return e.value}).join("");case"TemplateElement":return{value:(p=e).cooked,tail:p.tail};default:throw"Expression evaluator does not support expression of type '".concat(e.type,"'")}}function D(e,t){switch(e.type){case"Literal":return e.value;case"Identifier":return e.name;case"MemberExpression":return D(e.property,t);default:throw"VisitExpressionName does not support expression of type '".concat(e.type,"'")}}function I(e,t){var r={thisObj:void 0,variables:p({},e),globals:p({},t),addVariables:function(e){return this.variables=p({},this.variables,e),this}};return r.addVariables.bind(r),r}function N(e){return function(t){return null===t?null:R(t,e)}}function T(e){if("__proto__"===e||"prototype"===e||"constructor"===e)throw{type:"Illegal property access",message:"Cannot access the ".concat(e," property of objects")}}function U(e){if(!e)return null;if("MemberExpression"===e.type){var t;return null==(t=e.property)?void 0:t.name}return e.name}n.A.plugins.register({name:"arrow",init:function(e){e.addBinaryOp("=>",.1,!0),e.hooks.add("gobble-expression",function(t){if(this.gobbleSpaces(),this.code===e.OPAREN_CODE){var r=this.index;if(this.index++,this.gobbleSpaces(),this.code===e.CPAREN_CODE){this.index++;var n=this.gobbleBinaryOp();if("=>"===n){var i=this.gobbleBinaryExpression();i||this.throwError("Expected expression after "+n),t.node={type:o,params:null,body:i};return}}this.index=r}}),e.hooks.add("after-expression",function(t){!function t(r){r&&(Object.values(r).forEach(function(e){e&&(void 0===e?"undefined":e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e)=="object"&&t(e)}),"=>"===r.operator&&(r.type=o,r.params=r.left?[r.left]:null,r.body=r.right,r.params&&r.params[0].type===e.SEQUENCE_EXP&&(r.params=r.params[0].expressions),delete r.left,delete r.right,delete r.operator))}(t.node)})}}),n.A.plugins.register({name:"new",init:function(e){e.addUnaryOp("new"),e.hooks.add("after-token",function(t){var r=t.node;if(r&&"new"===r.operator){r.argument&&[e.CALL_EXP,e.MEMBER_EXP].includes(r.argument.type)||this.throwError("Expected new function()"),t.node=r.argument;for(var n=t.node;n.type===e.MEMBER_EXP||n.type===e.CALL_EXP&&n.callee.type===e.MEMBER_EXP;)n=n.type===e.MEMBER_EXP?n.object:n.callee.object;n.type="NewExpression"}})}}),n.A.plugins.register({name:"numbers",init:function(e){function t(e){return"x"===e||"X"===e?(this.index+=2,[[48,57],[65,70],[97,102]]):"b"===e||"B"===e?(this.index+=2,[[48,49]]):"o"===e||"O"===e||e>="0"&&e<="7"?(this.index+=e<="7"?1:2,[[48,55]]):null}function r(t){var r=this,n=this.index,o="",i=function(){for(;e.isDecimalDigit(r.code)||95===r.code;)95===r.code?r.index++:o+=r.expr.charAt(r.index++)};i(),this.code===e.PERIOD_CODE&&(o+=this.expr.charAt(this.index++),i());var a=this.char;("e"===a||"E"===a)&&(o+=this.expr.charAt(this.index++),("+"===(a=this.char)||"-"===a)&&(o+=this.expr.charAt(this.index++)),i(),e.isDecimalDigit(this.expr.charCodeAt(this.index-1))||this.throwError("Expected exponent ("+o+this.char+")"));var s=this.code;if(e.isIdentifierStart(s))this.throwError("Variable names cannot start with a number ("+o+this.char+")");else if(s===e.PERIOD_CODE){o.length>1&&this.throwError("Unexpected period ".concat(JSON.stringify({chCode:s,number:o},null,2))),this.index=n;return}t.node={type:e.LITERAL,value:parseFloat(o),raw:this.expr.substring(n,this.index)}}e.hooks.add("gobble-token",function(n){if(48===this.code){var o=this.index,a=this.expr.charAt(this.index+1),s=t.call(this,a);if(s){for(var l,u,c,d="";l=this.code,u=s,95===l||u.some(function(e){var t=function(e){if(Array.isArray(e))return e}(e)||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o=[],i=!0,a=!1;try{for(n=n.call(e);!(i=(t=n.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(e){a=!0,r=e}finally{try{i||null==n.return||n.return()}finally{if(a)throw r}}return o}}(e)||function(e){if(e){if("string"==typeof e)return i(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return i(e,2)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=t[0],n=t[1];return l>=r&&l<=n});)95===this.code?this.index++:d+=this.expr.charAt(this.index++);if(e.isIdentifierPart(this.code)){if(e.isDecimalDigit(this.code)&&e.isDecimalDigit(a.charCodeAt(0))){this.index=o+1,r.call(this,n);return}this.throwError("unexpected char within number")}n.node={type:e.LITERAL,value:parseInt(d,"x"===(c=a)||"X"===c?16:"b"===c||"B"===c?2:8),raw:this.expr.substring(o,this.index)}}}else(e.isDecimalDigit(this.code)||this.code===e.PERIOD_CODE)&&r.call(this,n)})}}),n.A.plugins.register({name:"regex",init:function(e){e.hooks.add("gobble-token",function(t){if(47===this.code){for(var r=++this.index,n=!1;this.index<this.expr.length;){if(47===this.code&&!n){for(var o=this.expr.slice(r,this.index),i="";++this.index<this.expr.length;){var a=this.code;if(a>=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57)i+=this.char;else break}var s=void 0;try{s=new RegExp(o,i)}catch(e){this.throwError(e.message)}return t.node={type:e.LITERAL,value:s,raw:this.expr.slice(r-1,this.index)},t.node=this.gobbleTokenProperty(t.node),t.node}this.code===e.OBRACK_CODE?n=!0:n&&this.code===e.CBRACK_CODE&&(n=!1),this.index+=92===this.code?2:1}this.throwError("Unclosed Regex")}})}}),n.A.plugins.register({name:"ternary",init:function(e){e.hooks.add("after-expression",function(t){if(t.node&&this.code===e.QUMARK_CODE){this.index++;var r=t.node,n=this.gobbleExpression();if(n||this.throwError("Expected expression"),this.gobbleSpaces(),this.code===e.COLON_CODE){this.index++;var o=this.gobbleExpression();if(o||this.throwError("Expected expression"),t.node={type:"ConditionalExpression",test:r,consequent:n,alternate:o},r.operator&&e.binary_ops[r.operator]<=.9){for(var i=r;i.right.operator&&e.binary_ops[i.right.operator]<=.9;)i=i.right;t.node.test=i.right,i.right=t.node,t.node=r}}else this.throwError("Expected :")}})}}),n.A.plugins.register({name:"jsepTemplateLiteral",init:function(e){function t(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];if(96===this.code){for(var r={type:"TemplateLiteral",quasis:[],expressions:[]},n="",o="",i=!1,s=this.expr.length,l=function(){return r.quasis.push({type:"TemplateElement",value:{raw:o,cooked:n},tail:i})};this.index<s;){var u,c,d=this.expr.charAt(++this.index);if("`"===d)return this.index+=1,i=!0,l(),e.node=r,t&&(e.node=this.gobbleTokenProperty(e.node)),e.node;if("$"===d&&"{"===this.expr.charAt(this.index+1))this.index+=2,l(),o="",n="",(c=r.expressions).push.apply(c,function(e){if(Array.isArray(e))return a(e)}(u=this.gobbleExpressions(125))||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(u)||function(e){if(e){if("string"==typeof e)return a(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return a(e,void 0)}}(u)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),125!==this.code&&this.throwError("unclosed ${");else if("\\"===d)switch(o+=d,d=this.expr.charAt(++this.index),o+=d,d){case"n":n+="\n";break;case"r":n+="\r";break;case"t":n+=" ";break;case"b":n+="\b";break;case"f":n+="\f";break;case"v":n+="\v";break;default:n+=d}else n+=d,o+=d}this.throwError("Unclosed `")}}e.hooks.add("gobble-token",t),e.hooks.add("after-token",function(r){if((r.node.type===e.IDENTIFIER||r.node.type===e.MEMBER_EXP)&&96===this.code)return r.node={type:"TaggedTemplateExpression",tag:r.node,quasi:t.bind(this)(r,!1)},r.node=this.gobbleTokenProperty(r.node),r.node})}}),n.A.addBinaryOp("in",7),n.A.addBinaryOp("??",1)},4693(e,t,r){"use strict";r.d(t,{f:()=>a,z:()=>i});var n,o,i={Array:Array,Boolean:Boolean,Symbol:Symbol,Infinity:1/0,NaN:NaN,Math:Math,Number:Number,BigInt:BigInt,String:String,RegExp:RegExp,JSON:JSON,isFinite:isFinite,isNaN:isNaN,parseFloat:parseFloat,parseInt:parseInt,decodeURI:decodeURI,encodeURI:encodeURI,encodeURIComponent:encodeURIComponent,Object:{__proto__:void 0,assign:Object.assign.bind(null),fromEntries:Object.fromEntries.bind(null),hasOwn:Object.hasOwn.bind(null),keys:Object.keys.bind(null),is:Object.is.bind(null),values:Object.values.bind(null)}},a=(n=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({},i),o=o={Promise:Promise},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(o)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(o,e))}),n)},784(e,t,r){"use strict";r.d(t,{Xr:()=>z,J_:()=>eP,zx:()=>G,ES:()=>I,FY:()=>X,zF:()=>m,Uh:()=>eT,io:()=>eS,Ef:()=>f,p$:()=>J,Yw:()=>ec,dO:()=>d,o1:()=>eR,oE:()=>q,DK:()=>Y,R6:()=>Q,YX:()=>eD,As:()=>Z,Tj:()=>T,rD:()=>eI,ZJ:()=>eu,Qb:()=>eN,wG:()=>eX,oW:()=>er,K0:()=>L,Q_:()=>ej,a9:()=>y,xg:()=>N,Sk:()=>et,e4:()=>ee,SW:()=>$,H9:()=>K,DQ:()=>b,Ml:()=>e_,Xb:()=>eC,rq:()=>en,Fg:()=>ep,VK:()=>U,QS:()=>eo,rf:()=>es,pm:()=>ew,Ju:()=>ef,cL:()=>H,ap:()=>W,Yo:()=>M,No:()=>B});var n=r(3975),o=r(3645),i=r(6014),a=r(5794),s=r(9726),l=r(2316),u=r(4809),c=r(7403);function d(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return f((0,l.s)(),e,t)}function f(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!!(e?t:r)}var p=r(1442),h=(0,p.createGlobalStore)("extensionsInternal",{slots:{},extensions:{}}),y=function(){return(0,p.getGlobalStore)("extensionsInternal",{slots:{},extensions:{}})};function b(e){var t=h.getState(),r=e(t);r!==t&&h.setState(r)}var m=function(){return(0,p.getGlobalStore)("extensions",{slots:{}})};function g(e){var t=[],r=!0,n=!1,i=void 0;try{for(var a,s=Object.values(e.extensions)[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var l=a.value,c=!0,d=!1,f=void 0;try{for(var p,h=l.instances[Symbol.iterator]();!(c=(p=h.next()).done);c=!0){var y=p.value;t.push({slotModuleName:y.slotModuleName,extensionModuleName:l.moduleName,slotName:y.slotName,extensionId:y.id})}}catch(e){d=!0,f=e}finally{try{c||null==h.return||h.return()}finally{if(d)throw f}}}}catch(e){n=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(n)throw i}}(0,u.A)(o.configExtensionStore.getState().mountedExtensions,t)||o.configExtensionStore.setState({mountedExtensions:t})}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function O(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){E(e,t,r[t])})}return e}function w(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function S(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,s=!1;try{for(o=o.call(e);!(a=(r=o.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,n=e}finally{try{a||null==o.return||o.return()}finally{if(s)throw n}}return i}}(e,t)||C(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function x(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||C(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function C(e,t){if(e){if("string"==typeof e)return v(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return v(e,t)}}g(h.getState()),h.subscribe(g);var j=y(),k=m(),A=(0,o.getExtensionSlotsConfigStore)(),P=(0,o.getExtensionsConfigStore)();function _(e,t,r,n,i){var a={},s=(0,l.s)(),c=Object.entries(n.flags).filter(function(e){return S(e,2)[1].enabled}).map(function(e){return S(e,1)[0]}),d=!0,f=!1,p=void 0;try{for(var h,y=Object.entries(e.slots)[Symbol.iterator]();!(d=(h=y.next()).done);d=!0){var b=S(h.value,2),m=b[0],g=b[1],v=(0,o.getExtensionSlotConfigFromStore)(t,g.name).config,E=V(m,e,v,r,c,s,i.session);a[m]={moduleName:g.moduleName,assignedExtensions:E}}}catch(e){f=!0,p=e}finally{try{d||null==y.return||y.return()}finally{if(f)throw p}}(0,u.A)(k.getState().slots,a)||k.setState({slots:a})}function R(){_(j.getState(),A.getState(),P.getState(),a.jX.getState(),n.sessionStore.getState())}function D(e,t,r){return{moduleName:t,name:e,attachedIds:[],config:null,state:r}}function I(e){return S(e.split("#"),1)[0]}function N(e,t){var r=I(t);return e.extensions[r]}function T(e){return N(j.getState(),e)}j.subscribe(function(e){_(e,A.getState(),P.getState(),a.jX.getState(),n.sessionStore.getState())}),A.subscribe(function(e){_(j.getState(),e,P.getState(),a.jX.getState(),n.sessionStore.getState())}),P.subscribe(function(e){_(j.getState(),A.getState(),e,a.jX.getState(),n.sessionStore.getState())}),a.jX.subscribe(function(e){_(j.getState(),A.getState(),P.getState(),e,n.sessionStore.getState())}),n.sessionStore.subscribe(function(e){_(j.getState(),A.getState(),P.getState(),a.jX.getState(),e)}),R(),(0,s.gj)(R);var U=function(e){return j.setState(function(t){return t.extensions[e.name]=w(O({},e),{instances:[]}),t})};function L(e,t){b(function(r){var n=r.slots[e];return n?w(O({},r),{slots:w(O({},r.slots),E({},e,w(O({},n),{attachedIds:x(n.attachedIds).concat([t])})))}):w(O({},r),{slots:w(O({},r.slots),E({},e,w(O({},D(e)),{attachedIds:[t]})))})})}function M(e,t){b(function(r){var n=r.slots[e];return n&&n.attachedIds.includes(t)?w(O({},r),{slots:w(O({},r.slots),E({},e,w(O({},n),{attachedIds:n.attachedIds.filter(function(e){return e!==t})})))}):r})}function B(e){b(function(t){var r=t.slots[e];return r?w(O({},t),{slots:w(O({},t.slots),E({},e,w(O({},r),{attachedIds:[]})))}):t})}function F(e,t,r,n){var o=t.indexOf(e);if(-1!==o)return o;if(void 0!==r)return 1e3+r;var i=n.indexOf(e);return -1!==i?2e3+i:-1}function V(e,t,r,a,s,l,u){var d=(v=r,E=t.slots[e].attachedIds,w=v.add||[],S=v.remove||[],C=v.order||[],k=j.getState().extensions,x(E).concat(x(w)).filter(function(e){return!S.includes(e)}).sort(function(e,t){var r,n,o=F(e,C,null==(r=k[I(e)])?void 0:r.order,E),i=F(t,C,null==(n=k[I(t)])?void 0:n.order,E);return -1===i?-1:-1===o?1:o-i})),p=[],h=null==(A=t.slots[e])?void 0:A.state,y=h&&(void 0===h?"undefined":h&&"u">typeof Symbol&&h.constructor===Symbol?"symbol":typeof h)=="object"?O({session:u},h):{session:u},b=!0,m=!1,g=void 0;try{for(var v,E,w,S,C,k,A,P,_=d[Symbol.iterator]();!(b=(P=_.next()).done);b=!0){var R=P.value,D=(0,o.getExtensionConfigFromStore)(a,e,R).config,N=(0,o.getExtensionConfigFromExtensionSlotStore)(r,e,R),T=(0,c.A)(D,N),U=I(R),L=t.extensions[U];if(L){var M,B,V,G,X,W,H,K,z,Y,q=null!=(M=null!=(B=null==T||null==(H=T["Display conditions"])?void 0:H.privileges)?B:L.privileges)?M:[];if(q&&("string"==typeof q||Array.isArray(q)&&q.length>0)&&(!(null==u?void 0:u.user)||!(0,n.userHasAccess)(q,u.user)))continue;var J=(null==T||null==(K=T["Display conditions"])?void 0:K.expression)||L.displayExpression;if(void 0!==J&&"string"==typeof J&&J.trim().length>0)try{if(!(0,i.eb)(J,y))continue}catch(t){console.error("Error while evaluating expression '".concat(J,"' for extension ").concat(U," in slot ").concat(e),t);continue}if(L.featureFlag&&!s.includes(L.featureFlag)||window.offlineEnabled&&!f(l,L.online,L.offline))continue;p.push({id:R,name:U,moduleName:L.moduleName,config:T,featureFlag:L.featureFlag,meta:L.meta,online:null==(V=null!=(G=null==T||null==(z=T["Display conditions"])?void 0:z.online)?G:L.online)||V,offline:null!=(X=null!=(W=null==T||null==(Y=T["Display conditions"])?void 0:Y.offline)?W:L.offline)&&X})}}}catch(e){m=!0,g=e}finally{try{b||null==_.return||_.return()}finally{if(m)throw g}}return p}function G(e){var t=j.getState(),r=(0,o.getExtensionSlotConfig)(e).config,i=P.getState(),s=a.jX.getState(),u=n.sessionStore.getState(),c=(0,l.s)();return V(e,t,r,i,Object.entries(s.flags).filter(function(e){return S(e,2)[1].enabled}).map(function(e){return S(e,1)[0]}),c,u.session)}var X=function(e,t,r){return j.setState(function(n){var o,i=null==(o=n.slots[t])?void 0:o.moduleName;if(i&&i!=e)return console.warn("An extension slot with the name '".concat(t,'\' already exists. Refusing to register the same slot name twice (in "registerExtensionSlot"). The existing one is from module ').concat(i,".")),n;if(i&&i==e)return n;if(n.slots[t])return w(O({},n),{slots:w(O({},n.slots),E({},t,w(O({},n.slots[t]),{moduleName:e,state:r})))});var a=D(t,e,r);return w(O({},n),{slots:w(O({},n.slots),E({},t,O({},a)))})})};function W(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];j.setState(function(n){var o=r?(0,c.A)(n.slots[e].state,t):t;return w(O({},n),{slots:w(O({},n.slots),E({},e,w(O({},n.slots[e]),{state:o})))})})}var H=function(){return k.setState(function(){return{slots:{},extensions:{}}})},K="topbar-level2-nav",z="*";function Y(e){return!!e&&(void 0===e?"undefined":e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e)=="object"&&!!["section","label","route"].every(function(t){return"string"==typeof e[t]&&e[t].length>0})&&(void 0===e.group||"string"==typeof e.group&&0!==e.group.length)&&(void 0===e.sectionRoute||"string"==typeof e.sectionRoute&&0!==e.sectionRoute.length)&&(void 0===e.workspaces||!!(Array.isArray(e.workspaces)&&e.workspaces.every(function(e){return"string"==typeof e})))}function q(e,t){var r=e.workspaces;return!r||0===r.length||r.includes(z)||r.includes(t)}var J="shell-rail-left-slot",Q="shell-rail-bottom-slot",$="shell-rail-right-slot",Z={left:J,bottom:Q,right:$};function ee(e){return"string"==typeof e&&0!==e.length&&/^(https:\/\/|\/(?!\/)|data:image\/(svg\+xml|png|webp|gif|jpeg)[;,])/i.test(e)}function et(e){if(!e||(void 0===e?"undefined":e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e)!="object")return['`meta` est absente : ajouter au moins { "title": "…" }'];var t=[];return("string"!=typeof e.title||0===e.title.length)&&t.push("`title` doit \xeatre une cha\xeene non vide"),void 0!==e.titleKey&&"string"!=typeof e.titleKey&&t.push("`titleKey` doit \xeatre une cha\xeene"),void 0!==e.icon&&"string"!=typeof e.icon&&t.push("`icon` doit \xeatre une cha\xeene"),void 0===e.iconUrl||ee(e.iconUrl)||t.push("`iconUrl` doit commencer par https://, / ou data:image/(svg+xml|png|webp|gif|jpeg)"),void 0===e.order||"number"==typeof e.order&&Number.isFinite(e.order)||t.push("`order` doit \xeatre un nombre fini"),void 0!==e.global&&"boolean"!=typeof e.global&&t.push("`global` doit \xeatre un bool\xe9en"),void 0!==e.rail&&"left"!==e.rail&&"right"!==e.rail&&t.push('`rail` vaut "left" ou "right"'),t}function er(e){return 0===et(e).length}function en(e){return Object.values(Z).includes(e)}function eo(e){var t=e.moduleName,r=e.name,n=e.anchor,o=e.meta,i=e.load,a=e.privileges,s=e.featureFlag,l=e.displayExpression,u=et(o);return u.length>0||!Z[n]?(console.warn("[workbench] La fen\xeatre d'outils \xab ".concat(r," \xbb de ").concat(t," n'est pas enregistr\xe9e : ").concat(u.join(" ; ")||"zone inconnue \xab ".concat(String(n)," \xbb"),".")),!1):(U({name:r,moduleName:t,load:i,meta:o,privileges:a,featureFlag:s,displayExpression:l,online:!0,offline:!1}),L(Z[n],r),!0)}function ei(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ea(e){return e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}var es=(0,p.createGlobalStore)("nav-behaviors",{behaviors:{}}),el=function(e){return"entry"in e?"entry:".concat(e.entry):"section:".concat(e.section)};function eu(e,t){var r=el(e);return es.setState(function(e){var n,o;return{behaviors:(n=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){ei(e,t,r[t])})}return e}({},e.behaviors),o=null!=(o=ei({},r,t))?o:{},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(o)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(o,e))}),n)}}),function(){var e=es.getState().behaviors;if(e[r]===t){e[r];var n,o=function(e,t){if(null==e)return{};var r,n,o,i={};if("u">typeof Reflect&&Reflect.ownKeys){for(o=0,r=Reflect.ownKeys(Object(e));o<r.length;o++)n=r[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n]);return i}if(i=function(e,t){if(null==e)return{};var r,n,o={},i=Object.getOwnPropertyNames(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r]);return o}(e,t),Object.getOwnPropertySymbols)for(o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)n=r[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n]);return i}(e,[(n=function(e,t){if("object"!==ea(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==ea(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(r,"string"),"symbol"===ea(n)?n:String(n))]);es.setState({behaviors:o})}}}function ec(e){return es.getState().behaviors[el(e)]}var ed=(0,p.createGlobalStore)("modalRegistry",{modals:{}});function ef(e){ed.setState(function(t){return t.modals[e.name]=e,t})}function ep(e){var t=ed.getState().modals[e];if(!t){var r=T(e);r&&(t={name:e,load:r.load,moduleName:r.moduleName},console.warn("Modal ".concat(e,' was registered as an extension. This is deprecated and will be removed in the future. Please register it in the "modals" section of routes.json instead of the "extensions" section.')),ef(t))}return t}var eh=r(5565);function ey(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function eb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function em(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){eb(e,t,r[t])})}return e}function eg(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function ev(e){return function(e){if(Array.isArray(e))return ey(e)}(e)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e){if(e){if("string"==typeof e)return ey(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return ey(e,void 0)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var eE=(0,p.createGlobalStore)("workspaceRegistrations",{workspaces:{}}),eO=(0,p.createGlobalStore)("workspaceGroups",{workspaceGroups:{}});function ew(e){eE.setState(function(t){var r,n,o,i,a,s;return{workspaces:eg(em({},t.workspaces),eb({},e.name,eg(em({},e),{load:e.load,preferredWindowSize:null!=(r=e.preferredWindowSize)?r:"normal",type:null!=(n=e.type)?n:"form",canHide:null!=(o=e.canHide)&&o,canMaximize:null!=(i=e.canMaximize)&&i,width:null!=(a=e.width)?a:"narrow",groups:null!=(s=e.groups)?s:[]})))}})}function eS(e){eO.setState(function(t){var r=t.workspaceGroups[e.name];return r?{workspaceGroups:eg(em({},t.workspaceGroups),eb({},e.name,eg(em({},r),{members:Array.from(new Set(ev(r.members).concat(ev(e.members))))})))}:{workspaceGroups:eg(em({},t.workspaceGroups),eb({},e.name,{name:e.name,members:e.members}))}})}var ex=new Set;function eC(e){var t=eE.getState().workspaces;if(t[e])return t[e];var r,n,o,i,a,s,l,u,c,d,f,p,h=T(e);if(h)return ex.has(e)||(console.warn("The workspace '".concat(e,'\' is registered as an extension. This is deprecated. Please register it in the "workspaces" section of the routes.json file.')),ex.add(e)),{name:h.name,title:function(e){var t,r=null==e||null==(t=e.meta)?void 0:t.title;return"string"==typeof r?r:r&&(void 0===r?"undefined":r&&"u">typeof Symbol&&r.constructor===Symbol?"symbol":typeof r)=="object"?(0,eh.t)(e.moduleName,r.key,r.default):e.name}(h),moduleName:h.moduleName,preferredWindowSize:null!=(r=null==(l=h.meta)?void 0:l.screenSize)?r:"normal",load:h.load,type:null!=(n=null==(u=h.meta)?void 0:u.type)?n:"form",canHide:null!=(o=null==(c=h.meta)?void 0:c.canHide)&&o,canMaximize:null!=(i=null==(d=h.meta)?void 0:d.canMaximize)&&i,width:null!=(a=null==(f=h.meta)?void 0:f.width)?a:"narrow",groups:null!=(s=null==(p=h.meta)?void 0:p.groups)?s:[]};throw Error("No workspace named '".concat(e,"' has been registered."))}function ej(e){var t=eO.getState().workspaceGroups;if(t[e])return t[e];throw Error("No workspace group named '".concat(e,"' has been registered."))}function ek(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}function eA(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}var eP=(0,p.createGlobalStore)("workspace2",{registeredGroupsByName:{},registeredWindowsByName:{},registeredWorkspacesByName:{},openedGroup:null,openedWindows:[],workspaceTitleByWorkspaceName:{},isMostRecentlyOpenedWindowHidden:!1});function e_(e){var t=eP.getState(),r=t.registeredWorkspacesByName,n=t.registeredWindowsByName,o=r[e];if(o){var i=n[o.window];if(i)return i;throw Error("No workspace window found with name: ".concat(o.window," for workspace: ").concat(e))}throw Error("No workspace found with name: ".concat(e))}function eR(e){var t=eP.getState(),r=t.registeredGroupsByName,n=t.registeredWindowsByName[e];if(n){var o=r[n.group];if(o)return o;throw Error("No workspace group found with name: ".concat(n.group," for window: ").concat(e))}throw Error("No workspace window found with name: ".concat(e))}function eD(e){return eP.getState().openedWindows.findIndex(function(t){return t.openedWorkspaces.find(function(t){return t.workspaceName===e})})}function eI(e,t){if(0!=t.length){var r=ek({},eP.getState().registeredGroupsByName),n=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var l=a.value;if(r[l.name])throw Error("Cannot register workspace group ".concat(l.name," more than once"));r[l.name]=eA(ek({},l),{moduleName:e})}}catch(e){o=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}eP.setState({registeredGroupsByName:r})}}function eN(e,t){if(0!=t.length){var r=ek({},eP.getState().registeredWindowsByName),n=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var l=a.value;if(r[l.name])throw Error("Cannot register workspace window ".concat(l.name," more than once"));var u=eA(ek({},l),{moduleName:e});r[l.name]=u}}catch(e){o=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}eP.setState({registeredWindowsByName:r})}}function eT(e,t){if(0!=t.length){var r=ek({},eP.getState().registeredWorkspacesByName),n=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var l=a.value;if(r[l.name])throw Error("Cannot register workspace ".concat(l.name," more than once"));var u=eA(ek({},l),{moduleName:e});r[l.name]=u}}catch(e){o=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}eP.setState({registeredWorkspacesByName:r})}}var eU=r(9250);function eL(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function eM(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){r(e);return}s.done?t(l):Promise.resolve(l).then(n,o)}function eB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function eF(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){eB(e,t,r[t])})}return e}function eV(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}var eG=0;function eX(e,t,r,n){var o;return(o=function(e,t,r,n){var o,i,a,s,l,u,c,f,p,h,y,m,g=arguments;return function(e,t){var r,n,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),s=Object.defineProperty;return s(a,"next",{value:l(0)}),s(a,"throw",{value:l(1)}),s(a,"return",{value:l(2)}),"function"==typeof Symbol&&s(a,Symbol.iterator,{value:function(){return this}}),a;function l(s){return function(l){var u=[s,l];if(r)throw TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&u[0]?n.return:u[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,u[1])).done)return o;switch(n=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return i.label++,{value:u[1],done:!1};case 5:i.label++,n=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){i=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){i.label=u[1];break}if(6===u[0]&&i.label<o[1]){i.label=o[1],o=u;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(u);break}o[2]&&i.ops.pop(),i.trys.pop();continue}u=t.call(e,i)}catch(e){u=[6,e],n=0}finally{r=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}}(this,function(v){switch(v.label){case 0:if(o=g.length>4&&void 0!==g[4]?g[4]:function(e){return e},i=g.length>5&&void 0!==g[5]?g[5]:{},a=I(n),s=T(n),l=null,!e)return[3,3];if(!s)throw Error("Couldn't find extension '".concat(a,"' to attach to '").concat(t,"'"));if(u=s.meta,c=s.moduleName,f=s.online,p=s.offline,h=s.load,!d(f,p))return[3,2];return b(function(o){var i;return eV(eF({},o),{extensions:eV(eF({},o.extensions),eB({},a,eV(eF({},o.extensions[a]),{instances:((function(e){if(Array.isArray(e))return eL(e)})(i=o.extensions[a].instances)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(i)||function(e){if(e){if("string"==typeof e)return eL(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return eL(e,void 0)}}(i)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).concat([{domElement:e,id:n,slotName:t,slotModuleName:r}])})))})}),[4,h()];case 1:y=v.sent(),m=eG++,l=(0,eU.mountRootParcel)(o(eV(eF({},y),{name:"".concat(t,"/").concat(a,"-").concat(m)})),eV(eF({},i),{_meta:u,_extensionContext:{extensionId:n,extensionSlotName:t,extensionSlotModuleName:r,extensionModuleName:c},domElement:e})),v.label=2;case 2:return[3,4];case 3:console.warn("Tried to render ".concat(n," into ").concat(t," but no DOM element was available.")),v.label=4;case 4:return[2,l]}})},function(){var e=this,t=arguments;return new Promise(function(r,n){var i=o.apply(e,t);function a(e){eM(i,r,n,a,s,"next",e)}function s(e){eM(i,r,n,a,s,"throw",e)}a(void 0)})}).apply(this,arguments)}},5565(e,t,r){"use strict";r.d(t,{V:()=>c,t:()=>u});var n,o,i=(n=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({},{address1:"Address line 1",address2:"Address line 2",address3:"Address line 3",address4:"Address line 4",address5:"Address line 5",address6:"Address line 6",city:"City",cityVillage:"City",country:"Country",countyDistrict:"District",district:"District",postalCode:"Postal code",state:"State",stateProvince:"State"},{closeAllOpenedWorkspaces:"Discard changes in {{count}} workspaces",closingAllWorkspacesPromptBody:"There may be unsaved changes in the following workspaces. Do you want to discard changes in the following workspaces? {{workspaceNames}}",closingAllWorkspacesPromptTitle:"You have unsaved changes",discard:"Discard",hide:"Hide",maximize:"Maximize",minimize:"Minimize",openAnyway:"Open anyway",unsavedChangesInOpenedWorkspace:"You may have unsaved changes in the opened workspace. Do you want to discard these changes?",unsavedChangesInWorkspace:'There may be unsaved changes in "{{workspaceName}}". Please save them before opening another workspace.',unsavedChangesTitleText:"Unsaved changes",workspaceHeader:"Workspace header"},{closeWorkspaces2PromptTitle:"Close workspace(s)",closeWorkspaces2PromptBody:"You are about to close the following workspace(s), which might have unsaved changes:"}),o=o={abnormalValue:"Abnormal value",actions:"Actions",actionableNotification:"Actionable notification",address:"Address",age:"Age",batchActionItemSelected:"{{totalSelected}} item selected",batchActionsItemsSelected:"{{totalSelected}} items selected",cancel:"Cancel",change:"Change",close:"Close",closesActionableNotification:"Close actionable notification",closeSnackbar:"Close snackbar",confirm:"Confirm",contactAdministratorIfIssuePersists:"Contact your system administrator if the problem persists.",delete:"Delete",discardChanges:"Discard changes",edit:"Edit",emptyStateText:"There are no {{displayText}} to display",error:"Error",errorCopy:"Sorry, there was a problem displaying this information. You can try to reload this page, or contact the site administrator and quote the error code above.",errorLoadingLoginLocations:"Unable to load login locations. Please try again or contact support if the problem persists.",female:"Female",Framework:"Framework",groups:"Groups",loading:"Loading",male:"Male",noResultsToDisplay:"No results to display",notAvailable:"Not available",other:"Other",paginationItemsCount:"{{pageItemsCount}} / {{totalItems}} items",paginationOfPages:"of {{count}} pages",print:"Print",printError:"Print error",printErrorExplainer:"An error occurred in {{errorLocation}}",printing:"Printing",recordNewEntry:"Record {{displayText}}",resetOverrides:"Reset overrides",save:"Save",scriptLoadingFailed:"Error: Script failed to load",scriptLoadingError:"Failed to load overridden script from {{url}}. Please check that the bundled script is available at the expected URL. Click the button below to reset all import map overrides.",searchForLocation:"Search for a location",seeAll:"See all",seeMoreGroups:"See {{count}} more groups",selectAll:"Select all",sex:"Sex",showLess:"Show less",showMore:"Show more",snackbarNotification:"Snackbar notification",toggleDevTools:"Toggle dev tools",unknown:"Unknown",yearAbbreviation:"yr",yearsAbbreviation:"yrs"},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(o)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(o,e))}),n),a=r(8209),s=r.n(a),l=s().default||s();function u(e,t,r,n){return l.t(t,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({ns:e,defaultValue:r},n))}function c(e,t,r){return i[e]?u("core",e,null!=t?t:i[e],r):(console.error("O3 Core Translations does not provide key '".concat(e,"'. The key itself is being rendered as text.")),e)}l.on("initialized",function(){window.i18next.loadNamespaces(["core"])})},2316(e,t,r){"use strict";function n(e){return!window.offlineEnabled||(null!=e?e:navigator.onLine)}r.d(t,{s:()=>n})}}]);
1
+ (self.webpackChunk_egen_civitas_esm_app_shell=self.webpackChunk_egen_civitas_esm_app_shell||[]).push([["5413"],{648(e,t){var r,n;r=this,n=function(){return function(e,t,r){t.prototype.isToday=function(){var e="YYYY-MM-DD",t=r();return this.format(e)===t.format(e)}}},"object"==(t&&"u">typeof Symbol&&t.constructor===Symbol?"symbol":typeof t)?e.exports=n():"function"==typeof define&&define.amd?define(n):(r="u">typeof globalThis?globalThis:r||self).dayjs_plugin_isToday=n()},8279(e,t,r){"use strict";var n=r(803);t.createRoot=n.createRoot,t.hydrateRoot=n.hydrateRoot},3642(e,t,r){"use strict";var n=r(8783),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=n.useState,a=n.useEffect,s=n.useLayoutEffect,l=n.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!o(e,r)}catch(e){return!0}}var c="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=i({inst:{value:r,getSnapshot:t}}),o=n[0].inst,c=n[1];return s(function(){o.value=r,o.getSnapshot=t,u(o)&&c({inst:o})},[e,r,t]),a(function(){return u(o)&&c({inst:o}),e(function(){u(o)&&c({inst:o})})},[e]),l(r),r};t.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:c},8597(e,t,r){"use strict";e.exports=r(3642)},5794(e,t,r){"use strict";r.d(t,{D3:()=>d,jj:()=>f,uA:()=>c,B4:()=>h,sM:()=>p,jX:()=>u});var n=r(1442);function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){i(e,t,r[t])})}return e}function s(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}var l={flags:function(){var e={},t=!0,r=!1,n=void 0;try{for(var o,i=Object.keys(localStorage)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var s=o.value;if(s.startsWith("egen:feature-flag:")){var l=s.replace("egen:feature-flag:",""),u=JSON.parse(localStorage.getItem("egen:feature-flag-meta:".concat(l))||"{}");e[l]=a({enabled:"true"===localStorage.getItem(s)},u)}}}catch(e){r=!0,n=e}finally{try{t||null==i.return||i.return()}finally{if(r)throw n}}return e}()},u=(0,n.getGlobalStore)("feature-flags",l);function c(e,t,r){u.setState(function(n){var o,l;return{flags:s(a({},n.flags),i({},e,{enabled:null!=(o=null==(l=n.flags[e])?void 0:l.enabled)&&o,label:t,description:r}))}})}function d(){var e=u.getState().flags;Object.keys(localStorage).filter(function(e){return e.startsWith("egen:feature-flag:")}).forEach(function(t){var r=t.replace("egen:feature-flag:","");e[r]||(localStorage.removeItem(t),localStorage.removeItem("egen:feature-flag-meta:".concat(r)))})}function f(e){return u.getState().flags[e].enabled}function p(e,t){u.subscribe(function(r){t(r.flags[e].enabled)})}function h(e,t){u.setState(function(r){return{flags:s(a({},r.flags),i({},e,s(a({},r.flags[e]),{enabled:t})))}})}u.subscribe(function(e){var t=!0,r=!1,n=void 0;try{for(var i,a=Object.entries(e.flags)[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){var s,l=(s=i.value,function(e){if(Array.isArray(e))return e}(s)||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o=[],i=!0,a=!1;try{for(n=n.call(e);!(i=(t=n.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(e){a=!0,r=e}finally{try{i||null==n.return||n.return()}finally{if(a)throw r}}return o}}(s)||function(e){if(e){if("string"==typeof e)return o(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return o(e,2)}}(s)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u=l[0],c=l[1];localStorage.setItem("egen:feature-flag:".concat(u),c.enabled.toString()),localStorage.setItem("egen:feature-flag-meta:".concat(u),JSON.stringify({label:c.label,description:c.description}))}}catch(e){r=!0,n=e}finally{try{t||null==a.return||a.return()}finally{if(r)throw n}}})},6269(e,t,r){"use strict";r.d(t,{A:()=>c});var n=r(8783),o=r.n(n),i=r(8597),a=r(4555);let s=o().use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;if("rejected"===e.status)throw e.reason;throw e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e}),l={dedupe:!0};a.OBJECT.defineProperty(a.SWRConfig,"defaultValue",{value:a.defaultConfig});let u=(0,a.withArgs)((e,t,r)=>{let{cache:o,compare:u,suspense:c,fallbackData:d,revalidateOnMount:f,revalidateIfStale:p,refreshInterval:h,refreshWhenHidden:y,refreshWhenOffline:m,keepPreviousData:b}=r,[g,v,E,O]=a.SWRGlobalState.get(o),[w,S]=(0,a.serialize)(e),x=(0,n.useRef)(!1),j=(0,n.useRef)(!1),C=(0,n.useRef)(w),k=(0,n.useRef)(t),A=(0,n.useRef)(r),P=()=>A.current.isVisible()&&A.current.isOnline(),[R,_,D,I]=(0,a.createCacheHelper)(o,w),N=(0,n.useRef)({}).current,T=(0,a.isUndefined)(d)?r.fallback[w]:d,U=(e,t)=>{for(let r in N)if("data"===r){if(!u(e[r],t[r])&&(!(0,a.isUndefined)(e[r])||!u(W,t[r])))return!1}else if(t[r]!==e[r])return!1;return!0},L=(0,n.useMemo)(()=>{let e=!!w&&!!t&&((0,a.isUndefined)(f)?!A.current.isPaused()&&!c&&(!!(0,a.isUndefined)(p)||p):f),r=t=>{let r=(0,a.mergeObjects)(t);return(delete r._k,e)?{isValidating:!0,isLoading:!0,...r}:r},n=R(),o=I(),i=r(n),s=n===o?i:r(o),l=i;return[()=>{let e=r(R());return U(e,l)?(l.data=e.data,l.isLoading=e.isLoading,l.isValidating=e.isValidating,l.error=e.error,l):(l=e,e)},()=>s]},[o,w]),M=(0,i.useSyncExternalStore)((0,n.useCallback)(e=>D(w,(t,r)=>{U(r,t)||e()}),[o,w]),L[0],L[1]),B=!x.current,F=g[w]&&g[w].length>0,V=M.data,H=(0,a.isUndefined)(V)?T:V,G=M.error,X=(0,n.useRef)(H),W=b?(0,a.isUndefined)(V)?X.current:V:H,K=(!F||!!(0,a.isUndefined)(G))&&(B&&!(0,a.isUndefined)(f)?f:!A.current.isPaused()&&(c?!(0,a.isUndefined)(H)&&p:(0,a.isUndefined)(H)||p)),z=!!(w&&t&&B&&K),Y=(0,a.isUndefined)(M.isValidating)?z:M.isValidating,q=(0,a.isUndefined)(M.isLoading)?z:M.isLoading,J=(0,n.useCallback)(async e=>{let t,n,o=k.current;if(!w||!o||j.current||A.current.isPaused())return!1;let i=!0,s=e||{},l=!E[w]||!s.dedupe,c=()=>a.IS_REACT_LEGACY?!j.current&&w===C.current&&x.current:w===C.current,d={isValidating:!1,isLoading:!1},f=()=>{_(d)},p=()=>{let e=E[w];e&&e[1]===n&&delete E[w]},h={isValidating:!0};(0,a.isUndefined)(R().data)&&(h.isLoading=!0);try{if(l&&(_(h),r.loadingTimeout&&(0,a.isUndefined)(R().data)&&setTimeout(()=>{i&&c()&&A.current.onLoadingSlow(w,r)},r.loadingTimeout),E[w]=[o(S),(0,a.getTimestamp)()]),[t,n]=E[w],t=await t,l&&setTimeout(p,r.dedupingInterval),!E[w]||E[w][1]!==n)return l&&c()&&A.current.onDiscarded(w),!1;d.error=a.UNDEFINED;let e=v[w];if(!(0,a.isUndefined)(e)&&(n<=e[0]||n<=e[1]||0===e[1]))return f(),l&&c()&&A.current.onDiscarded(w),!1;let s=R().data;d.data=u(s,t)?s:t,l&&c()&&A.current.onSuccess(t,w,r)}catch(r){p();let e=A.current,{shouldRetryOnError:t}=e;!e.isPaused()&&(d.error=r,l&&c()&&(e.onError(r,w,e),(!0===t||(0,a.isFunction)(t)&&t(r))&&(!A.current.revalidateOnFocus||!A.current.revalidateOnReconnect||P())&&e.onErrorRetry(r,w,e,e=>{let t=g[w];t&&t[0]&&t[0](a.revalidateEvents.ERROR_REVALIDATE_EVENT,e)},{retryCount:(s.retryCount||0)+1,dedupe:!0})))}return i=!1,f(),!0},[w,o]),Q=(0,n.useCallback)((...e)=>(0,a.internalMutate)(o,C.current,...e),[]);if((0,a.useIsomorphicLayoutEffect)(()=>{k.current=t,A.current=r,(0,a.isUndefined)(V)||(X.current=V)}),(0,a.useIsomorphicLayoutEffect)(()=>{if(!w)return;let e=J.bind(a.UNDEFINED,l),t=0,r=(0,a.subscribeCallback)(w,g,(r,n={})=>{if(r==a.revalidateEvents.FOCUS_EVENT){let r=Date.now();A.current.revalidateOnFocus&&r>t&&P()&&(t=r+A.current.focusThrottleInterval,e())}else if(r==a.revalidateEvents.RECONNECT_EVENT)A.current.revalidateOnReconnect&&P()&&e();else if(r==a.revalidateEvents.MUTATE_EVENT)return J();else if(r==a.revalidateEvents.ERROR_REVALIDATE_EVENT)return J(n)});return j.current=!1,C.current=w,x.current=!0,_({_k:S}),K&&((0,a.isUndefined)(H)||a.IS_SERVER?e():(0,a.rAF)(e)),()=>{j.current=!0,r()}},[w]),(0,a.useIsomorphicLayoutEffect)(()=>{let e;function t(){let t=(0,a.isFunction)(h)?h(R().data):h;t&&-1!==e&&(e=setTimeout(r,t))}function r(){!R().error&&(y||A.current.isVisible())&&(m||A.current.isOnline())?J(l).then(t):t()}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[h,y,m,w]),(0,n.useDebugValue)(W),c&&(0,a.isUndefined)(H)&&w){if(!a.IS_REACT_LEGACY&&a.IS_SERVER)throw Error("Fallback data is required when using suspense in SSR.");k.current=t,A.current=r,j.current=!1;let e=O[w];if((0,a.isUndefined)(e)||s(Q(e)),(0,a.isUndefined)(G)){let e=J(l);(0,a.isUndefined)(W)||(e.status="fulfilled",e.value=!0),s(e)}else throw G}return{mutate:Q,get data(){return N.data=!0,W},get error(){return N.error=!0,G},get isValidating(){return N.isValidating=!0,Y},get isLoading(){return N.isLoading=!0,q}}}),c=(0,a.withMiddleware)(u,e=>(t,r,n)=>(n.revalidateOnFocus=!1,n.revalidateIfStale=!1,n.revalidateOnReconnect=!1,e(t,r,n)))},3709(e,t,r){"use strict";r.d(t,{Ay:()=>d});var n=r(8783),o=r.n(n),i=r(8597),a=r(4555);let s=o().use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;if("rejected"===e.status)throw e.reason;throw e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e}),l={dedupe:!0};a.OBJECT.defineProperty(a.SWRConfig,"defaultValue",{value:a.defaultConfig});let u=(0,a.withArgs)((e,t,r)=>{let{cache:o,compare:u,suspense:c,fallbackData:d,revalidateOnMount:f,revalidateIfStale:p,refreshInterval:h,refreshWhenHidden:y,refreshWhenOffline:m,keepPreviousData:b}=r,[g,v,E,O]=a.SWRGlobalState.get(o),[w,S]=(0,a.serialize)(e),x=(0,n.useRef)(!1),j=(0,n.useRef)(!1),C=(0,n.useRef)(w),k=(0,n.useRef)(t),A=(0,n.useRef)(r),P=()=>A.current.isVisible()&&A.current.isOnline(),[R,_,D,I]=(0,a.createCacheHelper)(o,w),N=(0,n.useRef)({}).current,T=(0,a.isUndefined)(d)?r.fallback[w]:d,U=(e,t)=>{for(let r in N)if("data"===r){if(!u(e[r],t[r])&&(!(0,a.isUndefined)(e[r])||!u(W,t[r])))return!1}else if(t[r]!==e[r])return!1;return!0},L=(0,n.useMemo)(()=>{let e=!!w&&!!t&&((0,a.isUndefined)(f)?!A.current.isPaused()&&!c&&(!!(0,a.isUndefined)(p)||p):f),r=t=>{let r=(0,a.mergeObjects)(t);return(delete r._k,e)?{isValidating:!0,isLoading:!0,...r}:r},n=R(),o=I(),i=r(n),s=n===o?i:r(o),l=i;return[()=>{let e=r(R());return U(e,l)?(l.data=e.data,l.isLoading=e.isLoading,l.isValidating=e.isValidating,l.error=e.error,l):(l=e,e)},()=>s]},[o,w]),M=(0,i.useSyncExternalStore)((0,n.useCallback)(e=>D(w,(t,r)=>{U(r,t)||e()}),[o,w]),L[0],L[1]),B=!x.current,F=g[w]&&g[w].length>0,V=M.data,H=(0,a.isUndefined)(V)?T:V,G=M.error,X=(0,n.useRef)(H),W=b?(0,a.isUndefined)(V)?X.current:V:H,K=(!F||!!(0,a.isUndefined)(G))&&(B&&!(0,a.isUndefined)(f)?f:!A.current.isPaused()&&(c?!(0,a.isUndefined)(H)&&p:(0,a.isUndefined)(H)||p)),z=!!(w&&t&&B&&K),Y=(0,a.isUndefined)(M.isValidating)?z:M.isValidating,q=(0,a.isUndefined)(M.isLoading)?z:M.isLoading,J=(0,n.useCallback)(async e=>{let t,n,o=k.current;if(!w||!o||j.current||A.current.isPaused())return!1;let i=!0,s=e||{},l=!E[w]||!s.dedupe,c=()=>a.IS_REACT_LEGACY?!j.current&&w===C.current&&x.current:w===C.current,d={isValidating:!1,isLoading:!1},f=()=>{_(d)},p=()=>{let e=E[w];e&&e[1]===n&&delete E[w]},h={isValidating:!0};(0,a.isUndefined)(R().data)&&(h.isLoading=!0);try{if(l&&(_(h),r.loadingTimeout&&(0,a.isUndefined)(R().data)&&setTimeout(()=>{i&&c()&&A.current.onLoadingSlow(w,r)},r.loadingTimeout),E[w]=[o(S),(0,a.getTimestamp)()]),[t,n]=E[w],t=await t,l&&setTimeout(p,r.dedupingInterval),!E[w]||E[w][1]!==n)return l&&c()&&A.current.onDiscarded(w),!1;d.error=a.UNDEFINED;let e=v[w];if(!(0,a.isUndefined)(e)&&(n<=e[0]||n<=e[1]||0===e[1]))return f(),l&&c()&&A.current.onDiscarded(w),!1;let s=R().data;d.data=u(s,t)?s:t,l&&c()&&A.current.onSuccess(t,w,r)}catch(r){p();let e=A.current,{shouldRetryOnError:t}=e;!e.isPaused()&&(d.error=r,l&&c()&&(e.onError(r,w,e),(!0===t||(0,a.isFunction)(t)&&t(r))&&(!A.current.revalidateOnFocus||!A.current.revalidateOnReconnect||P())&&e.onErrorRetry(r,w,e,e=>{let t=g[w];t&&t[0]&&t[0](a.revalidateEvents.ERROR_REVALIDATE_EVENT,e)},{retryCount:(s.retryCount||0)+1,dedupe:!0})))}return i=!1,f(),!0},[w,o]),Q=(0,n.useCallback)((...e)=>(0,a.internalMutate)(o,C.current,...e),[]);if((0,a.useIsomorphicLayoutEffect)(()=>{k.current=t,A.current=r,(0,a.isUndefined)(V)||(X.current=V)}),(0,a.useIsomorphicLayoutEffect)(()=>{if(!w)return;let e=J.bind(a.UNDEFINED,l),t=0,r=(0,a.subscribeCallback)(w,g,(r,n={})=>{if(r==a.revalidateEvents.FOCUS_EVENT){let r=Date.now();A.current.revalidateOnFocus&&r>t&&P()&&(t=r+A.current.focusThrottleInterval,e())}else if(r==a.revalidateEvents.RECONNECT_EVENT)A.current.revalidateOnReconnect&&P()&&e();else if(r==a.revalidateEvents.MUTATE_EVENT)return J();else if(r==a.revalidateEvents.ERROR_REVALIDATE_EVENT)return J(n)});return j.current=!1,C.current=w,x.current=!0,_({_k:S}),K&&((0,a.isUndefined)(H)||a.IS_SERVER?e():(0,a.rAF)(e)),()=>{j.current=!0,r()}},[w]),(0,a.useIsomorphicLayoutEffect)(()=>{let e;function t(){let t=(0,a.isFunction)(h)?h(R().data):h;t&&-1!==e&&(e=setTimeout(r,t))}function r(){!R().error&&(y||A.current.isVisible())&&(m||A.current.isOnline())?J(l).then(t):t()}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[h,y,m,w]),(0,n.useDebugValue)(W),c&&(0,a.isUndefined)(H)&&w){if(!a.IS_REACT_LEGACY&&a.IS_SERVER)throw Error("Fallback data is required when using suspense in SSR.");k.current=t,A.current=r,j.current=!1;let e=O[w];if((0,a.isUndefined)(e)||s(Q(e)),(0,a.isUndefined)(G)){let e=J(l);(0,a.isUndefined)(W)||(e.status="fulfilled",e.value=!0),s(e)}else throw G}return{mutate:Q,get data(){return N.data=!0,W},get error(){return N.error=!0,G},get isValidating(){return N.isValidating=!0,Y},get isLoading(){return N.isLoading=!0,q}}}),c=Promise.resolve(),d=(0,a.withMiddleware)(u,e=>(t,r,o)=>{let s,l=(0,n.useRef)(!1),{cache:u,initialSize:d=1,revalidateAll:f=!1,persistSize:p=!1,revalidateFirstPage:h=!0,revalidateOnMount:y=!1,parallel:m=!1}=o,[,,,b]=a.SWRGlobalState.get(a.cache);try{(s=(0,a.serialize)(t?t(0,null):null)[0])&&(s=a.INFINITE_PREFIX+s)}catch(e){}let[g,v,E]=(0,a.createCacheHelper)(u,s),O=(0,n.useCallback)(()=>(0,a.isUndefined)(g()._l)?d:g()._l,[u,s,d]);(0,i.useSyncExternalStore)((0,n.useCallback)(e=>s?E(s,()=>{e()}):()=>{},[u,s]),O,O);let w=(0,n.useCallback)(()=>{let e=g()._l;return(0,a.isUndefined)(e)?d:e},[s,d]),S=(0,n.useRef)(w());(0,a.useIsomorphicLayoutEffect)(()=>{if(!l.current){l.current=!0;return}s&&v({_l:p?S.current:w()})},[s,u]);let x=y&&!l.current,j=e(s,async e=>{let n=g()._i,i=g()._r;v({_r:a.UNDEFINED});let s=[],l=w(),[c]=(0,a.createCacheHelper)(u,e),d=c().data,p=[],y=null;for(let e=0;e<l;++e){let[l,c]=(0,a.serialize)(t(e,m?null:y));if(!l)break;let[g,v]=(0,a.createCacheHelper)(u,l),E=g().data,O=f||n||(0,a.isUndefined)(E)||h&&!e&&!(0,a.isUndefined)(d)||x||d&&!(0,a.isUndefined)(d[e])&&!o.compare(d[e],E);if(r&&("function"==typeof i?i(E,c):O)){let t=async()=>{if(l in b){let e=b[l];delete b[l],E=await e}else E=await r(c);v({data:E,_k:c}),s[e]=E};m?p.push(t):await t()}else s[e]=E;m||(y=E)}return m&&await Promise.all(p.map(e=>e())),v({_i:a.UNDEFINED}),s},o),C=(0,n.useCallback)(function(e,t){let r="boolean"==typeof t?{revalidate:t}:t||{},n=!1!==r.revalidate;return s?(n&&((0,a.isUndefined)(e)?v({_i:!0,_r:r.revalidate}):v({_i:!1,_r:r.revalidate})),arguments.length?j.mutate(e,{...r,revalidate:n}):j.mutate()):c},[s,u]),k=(0,n.useCallback)(e=>{let r;if(!s)return c;let[,n]=(0,a.createCacheHelper)(u,s);if((0,a.isFunction)(e)?r=e(w()):"number"==typeof e&&(r=e),"number"!=typeof r)return c;n({_l:r}),S.current=r;let o=[],[i]=(0,a.createCacheHelper)(u,s),l=null;for(let e=0;e<r;++e){let[r]=(0,a.serialize)(t(e,l)),[n]=(0,a.createCacheHelper)(u,r),s=r?n().data:a.UNDEFINED;if((0,a.isUndefined)(s))return C(i().data);o.push(s),l=s}return C(o)},[s,u,C,w]);return{size:w(),setSize:k,mutate:C,get data(){return j.data},get error(){return j.error},get isValidating(){return j.isValidating},get isLoading(){return j.isLoading}}})},4356(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function o(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a(e,t,r){return t&&i(e.prototype,t),r&&i(e,r),e}r.d(t,{A:()=>c});var s=function(){function e(){o(this,e)}return a(e,[{key:"add",value:function(e,t,r){if("string"!=typeof arguments[0])for(var n in arguments[0])this.add(n,arguments[0][n],arguments[1]);else(Array.isArray(e)?e:[e]).forEach(function(e){this[e]=this[e]||[],t&&this[e][r?"unshift":"push"](t)},this)}},{key:"run",value:function(e,t){this[e]=this[e]||[],this[e].forEach(function(e){e.call(t&&t.context?t.context:t,t)})}}]),e}(),l=function(){function e(t){o(this,e),this.jsep=t,this.registered={}}return a(e,[{key:"register",value:function(){for(var e=this,t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];r.forEach(function(t){if((void 0===t?"undefined":t&&"u">typeof Symbol&&t.constructor===Symbol?"symbol":typeof t)!="object"||!t.name||!t.init)throw Error("Invalid JSEP plugin format");e.registered[t.name]||(t.init(e.jsep),e.registered[t.name]=t)})}}]),e}(),u=function(){function e(t){o(this,e),this.expr=t,this.index=0}return a(e,[{key:"char",get:function(){return this.expr.charAt(this.index)}},{key:"code",get:function(){return this.expr.charCodeAt(this.index)}},{key:"throwError",value:function(e){var t=Error(e+" at character "+this.index);throw t.index=this.index,t.description=e,t}},{key:"runHook",value:function(t,r){if(e.hooks[t]){var n={context:this,node:r};return e.hooks.run(t,n),n.node}return r}},{key:"searchHook",value:function(t){if(e.hooks[t]){var r={context:this};return e.hooks[t].find(function(e){return e.call(r.context,r),r.node}),r.node}}},{key:"gobbleSpaces",value:function(){for(var t=this.code;t===e.SPACE_CODE||t===e.TAB_CODE||t===e.LF_CODE||t===e.CR_CODE;)t=this.expr.charCodeAt(++this.index);this.runHook("gobble-spaces")}},{key:"parse",value:function(){this.runHook("before-all");var t=this.gobbleExpressions(),r=1===t.length?t[0]:{type:e.COMPOUND,body:t};return this.runHook("after-all",r)}},{key:"gobbleExpressions",value:function(t){for(var r,n,o=[];this.index<this.expr.length;)if((r=this.code)===e.SEMCOL_CODE||r===e.COMMA_CODE)this.index++;else if(n=this.gobbleExpression())o.push(n);else if(this.index<this.expr.length){if(r===t)break;this.throwError('Unexpected "'+this.char+'"')}return o}},{key:"gobbleExpression",value:function(){var e=this.searchHook("gobble-expression")||this.gobbleBinaryExpression();return this.gobbleSpaces(),this.runHook("after-expression",e)}},{key:"gobbleBinaryOp",value:function(){this.gobbleSpaces();for(var t=this.expr.substr(this.index,e.max_binop_len),r=t.length;r>0;){if(e.binary_ops.hasOwnProperty(t)&&(!e.isIdentifierStart(this.code)||this.index+t.length<this.expr.length&&!e.isIdentifierPart(this.expr.charCodeAt(this.index+t.length))))return this.index+=r,t;t=t.substr(0,--r)}return!1}},{key:"gobbleBinaryExpression",value:function(){var t,r,n,o,i,a,s,l,u,c;if(!(a=this.gobbleToken())||!(r=this.gobbleBinaryOp()))return a;for(i={value:r,prec:e.binaryPrecedence(r),right_a:e.right_associative.has(r)},(s=this.gobbleToken())||this.throwError("Expected expression after "+r),o=[a,i,s];r=this.gobbleBinaryOp();){if(0===(n=e.binaryPrecedence(r))){this.index-=r.length;break}for(i={value:r,prec:n,right_a:e.right_associative.has(r)},u=r;o.length>2&&(c=o[o.length-2],i.right_a&&c.right_a?n>c.prec:n<=c.prec);)s=o.pop(),r=o.pop().value,a=o.pop(),t={type:e.BINARY_EXP,operator:r,left:a,right:s},o.push(t);(t=this.gobbleToken())||this.throwError("Expected expression after "+u),o.push(i,t)}for(l=o.length-1,t=o[l];l>1;)t={type:e.BINARY_EXP,operator:o[l-1].value,left:o[l-2],right:t},l-=2;return t}},{key:"gobbleToken",value:function(){var t,r,n,o;if(this.gobbleSpaces(),o=this.searchHook("gobble-token"))return this.runHook("after-token",o);if(t=this.code,e.isDecimalDigit(t)||t===e.PERIOD_CODE)return this.gobbleNumericLiteral();if(t===e.SQUOTE_CODE||t===e.DQUOTE_CODE)o=this.gobbleStringLiteral();else if(t===e.OBRACK_CODE)o=this.gobbleArray();else{for(n=(r=this.expr.substr(this.index,e.max_unop_len)).length;n>0;){if(e.unary_ops.hasOwnProperty(r)&&(!e.isIdentifierStart(this.code)||this.index+r.length<this.expr.length&&!e.isIdentifierPart(this.expr.charCodeAt(this.index+r.length)))){this.index+=n;var i=this.gobbleToken();return i||this.throwError("missing unaryOp argument"),this.runHook("after-token",{type:e.UNARY_EXP,operator:r,argument:i,prefix:!0})}r=r.substr(0,--n)}e.isIdentifierStart(t)?(o=this.gobbleIdentifier(),e.literals.hasOwnProperty(o.name)?o={type:e.LITERAL,value:e.literals[o.name],raw:o.name}:o.name===e.this_str&&(o={type:e.THIS_EXP})):t===e.OPAREN_CODE&&(o=this.gobbleGroup())}return o?(o=this.gobbleTokenProperty(o),this.runHook("after-token",o)):this.runHook("after-token",!1)}},{key:"gobbleTokenProperty",value:function(t){this.gobbleSpaces();for(var r=this.code;r===e.PERIOD_CODE||r===e.OBRACK_CODE||r===e.OPAREN_CODE||r===e.QUMARK_CODE;){var n=void 0;if(r===e.QUMARK_CODE){if(this.expr.charCodeAt(this.index+1)!==e.PERIOD_CODE)break;n=!0,this.index+=2,this.gobbleSpaces(),r=this.code}this.index++,r===e.OBRACK_CODE?((t={type:e.MEMBER_EXP,computed:!0,object:t,property:this.gobbleExpression()}).property||this.throwError('Unexpected "'+this.char+'"'),this.gobbleSpaces(),(r=this.code)!==e.CBRACK_CODE&&this.throwError("Unclosed ["),this.index++):r===e.OPAREN_CODE?t={type:e.CALL_EXP,arguments:this.gobbleArguments(e.CPAREN_CODE),callee:t}:(r===e.PERIOD_CODE||n)&&(n&&this.index--,this.gobbleSpaces(),t={type:e.MEMBER_EXP,computed:!1,object:t,property:this.gobbleIdentifier()}),n&&(t.optional=!0),this.gobbleSpaces(),r=this.code}return t}},{key:"gobbleNumericLiteral",value:function(){for(var t,r,n="";e.isDecimalDigit(this.code);)n+=this.expr.charAt(this.index++);if(this.code===e.PERIOD_CODE)for(n+=this.expr.charAt(this.index++);e.isDecimalDigit(this.code);)n+=this.expr.charAt(this.index++);if("e"===(t=this.char)||"E"===t){for(n+=this.expr.charAt(this.index++),("+"===(t=this.char)||"-"===t)&&(n+=this.expr.charAt(this.index++));e.isDecimalDigit(this.code);)n+=this.expr.charAt(this.index++);e.isDecimalDigit(this.expr.charCodeAt(this.index-1))||this.throwError("Expected exponent ("+n+this.char+")")}return r=this.code,e.isIdentifierStart(r)?this.throwError("Variable names cannot start with a number ("+n+this.char+")"):(r===e.PERIOD_CODE||1===n.length&&n.charCodeAt(0)===e.PERIOD_CODE)&&this.throwError("Unexpected period"),{type:e.LITERAL,value:parseFloat(n),raw:n}}},{key:"gobbleStringLiteral",value:function(){for(var t="",r=this.index,n=this.expr.charAt(this.index++),o=!1;this.index<this.expr.length;){var i=this.expr.charAt(this.index++);if(i===n){o=!0;break}if("\\"===i)switch(i=this.expr.charAt(this.index++)){case"n":t+="\n";break;case"r":t+="\r";break;case"t":t+=" ";break;case"b":t+="\b";break;case"f":t+="\f";break;case"v":t+="\v";break;default:t+=i}else t+=i}return o||this.throwError('Unclosed quote after "'+t+'"'),{type:e.LITERAL,value:t,raw:this.expr.substring(r,this.index)}}},{key:"gobbleIdentifier",value:function(){var t=this.code,r=this.index;for(e.isIdentifierStart(t)?this.index++:this.throwError("Unexpected "+this.char);this.index<this.expr.length;)if(t=this.code,e.isIdentifierPart(t))this.index++;else break;return{type:e.IDENTIFIER,name:this.expr.slice(r,this.index)}}},{key:"gobbleArguments",value:function(t){for(var r=[],n=!1,o=0;this.index<this.expr.length;){this.gobbleSpaces();var i=this.code;if(i===t){n=!0,this.index++,t===e.CPAREN_CODE&&o&&o>=r.length&&this.throwError("Unexpected token "+String.fromCharCode(t));break}if(i===e.COMMA_CODE){if(this.index++,++o!==r.length){if(t===e.CPAREN_CODE)this.throwError("Unexpected token ,");else if(t===e.CBRACK_CODE)for(var a=r.length;a<o;a++)r.push(null)}}else if(r.length!==o&&0!==o)this.throwError("Expected comma");else{var s=this.gobbleExpression();s&&s.type!==e.COMPOUND||this.throwError("Expected comma"),r.push(s)}}return n||this.throwError("Expected "+String.fromCharCode(t)),r}},{key:"gobbleGroup",value:function(){this.index++;var t=this.gobbleExpressions(e.CPAREN_CODE);if(this.code===e.CPAREN_CODE)return(this.index++,1===t.length)?t[0]:!!t.length&&{type:e.SEQUENCE_EXP,expressions:t};this.throwError("Unclosed (")}},{key:"gobbleArray",value:function(){return this.index++,{type:e.ARRAY_EXP,elements:this.gobbleArguments(e.CBRACK_CODE)}}}],[{key:"version",get:function(){return"1.4.0"}},{key:"toString",value:function(){return"JavaScript Expression Parser (JSEP) v"+e.version}},{key:"addUnaryOp",value:function(t){return e.max_unop_len=Math.max(t.length,e.max_unop_len),e.unary_ops[t]=1,e}},{key:"addBinaryOp",value:function(t,r,n){return e.max_binop_len=Math.max(t.length,e.max_binop_len),e.binary_ops[t]=r,n?e.right_associative.add(t):e.right_associative.delete(t),e}},{key:"addIdentifierChar",value:function(t){return e.additional_identifier_chars.add(t),e}},{key:"addLiteral",value:function(t,r){return e.literals[t]=r,e}},{key:"removeUnaryOp",value:function(t){return delete e.unary_ops[t],t.length===e.max_unop_len&&(e.max_unop_len=e.getMaxKeyLen(e.unary_ops)),e}},{key:"removeAllUnaryOps",value:function(){return e.unary_ops={},e.max_unop_len=0,e}},{key:"removeIdentifierChar",value:function(t){return e.additional_identifier_chars.delete(t),e}},{key:"removeBinaryOp",value:function(t){return delete e.binary_ops[t],t.length===e.max_binop_len&&(e.max_binop_len=e.getMaxKeyLen(e.binary_ops)),e.right_associative.delete(t),e}},{key:"removeAllBinaryOps",value:function(){return e.binary_ops={},e.max_binop_len=0,e}},{key:"removeLiteral",value:function(t){return delete e.literals[t],e}},{key:"removeAllLiterals",value:function(){return e.literals={},e}},{key:"parse",value:function(t){return new e(t).parse()}},{key:"getMaxKeyLen",value:function(e){var t,r;return(t=Math).max.apply(t,[0].concat(function(e){if(Array.isArray(e))return n(e)}(r=Object.keys(e).map(function(e){return e.length}))||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e){if(e){if("string"==typeof e)return n(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return n(e,void 0)}}(r)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()))}},{key:"isDecimalDigit",value:function(e){return e>=48&&e<=57}},{key:"binaryPrecedence",value:function(t){return e.binary_ops[t]||0}},{key:"isIdentifierStart",value:function(t){return t>=65&&t<=90||t>=97&&t<=122||t>=128&&!e.binary_ops[String.fromCharCode(t)]||e.additional_identifier_chars.has(String.fromCharCode(t))}},{key:"isIdentifierPart",value:function(t){return e.isIdentifierStart(t)||e.isDecimalDigit(t)}}]),e}();Object.assign(u,{hooks:new s,plugins:new l(u),COMPOUND:"Compound",SEQUENCE_EXP:"SequenceExpression",IDENTIFIER:"Identifier",MEMBER_EXP:"MemberExpression",LITERAL:"Literal",THIS_EXP:"ThisExpression",CALL_EXP:"CallExpression",UNARY_EXP:"UnaryExpression",BINARY_EXP:"BinaryExpression",ARRAY_EXP:"ArrayExpression",TAB_CODE:9,LF_CODE:10,CR_CODE:13,SPACE_CODE:32,PERIOD_CODE:46,COMMA_CODE:44,SQUOTE_CODE:39,DQUOTE_CODE:34,OPAREN_CODE:40,CPAREN_CODE:41,OBRACK_CODE:91,CBRACK_CODE:93,QUMARK_CODE:63,SEMCOL_CODE:59,COLON_CODE:58,unary_ops:{"-":1,"!":1,"~":1,"+":1},binary_ops:{"||":1,"??":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":10,"/":10,"%":10,"**":11},right_associative:new Set(["**"]),additional_identifier_chars:new Set(["$","_"]),literals:{true:!0,false:!1,null:null},this_str:"this"}),u.max_unop_len=u.getMaxKeyLen(u.unary_ops),u.max_binop_len=u.getMaxKeyLen(u.binary_ops);var c=function(e){return new u(e).parse()},d=Object.getOwnPropertyNames(function e(){o(this,e)});Object.getOwnPropertyNames(u).filter(function(e){return!d.includes(e)&&void 0===c[e]}).forEach(function(e){c[e]=u[e]}),c.Jsep=u,c.plugins.register({name:"ternary",init:function(e){e.hooks.add("after-expression",function(t){if(t.node&&this.code===e.QUMARK_CODE){this.index++;var r=t.node,n=this.gobbleExpression();if(n||this.throwError("Expected expression"),this.gobbleSpaces(),this.code===e.COLON_CODE){this.index++;var o=this.gobbleExpression();if(o||this.throwError("Expected expression"),t.node={type:"ConditionalExpression",test:r,consequent:n,alternate:o},r.operator&&e.binary_ops[r.operator]<=.9){for(var i=r;i.right.operator&&e.binary_ops[i.right.operator]<=.9;)i=i.right;t.node.test=i.right,i.right=t.node,t.node=r}}else this.throwError("Expected :")}})}})},7403(e,t,r){"use strict";r.d(t,{A:()=>o});var n=r(2102);let o=(0,r(6317).A)(function(e,t,r){(0,n.A)(e,t,r)})},2879(e,t,r){"use strict";function n(e){return e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach(function(t){var n,o,i;n=e,o=t,i=r[t],o in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e){return(a="function"==typeof Symbol&&"symbol"==n(Symbol.iterator)?function(e){return void 0===e?"undefined":n(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":n(e)})(e)}function s(e){return(s="function"==typeof Symbol&&"symbol"==n(Symbol.iterator)?function(e){return void 0===e?"undefined":n(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":n(e)})(e)}function l(e,t){var r;if("function"!=typeof(r=t.domElement?function(){return t.domElement}:t.domElementGetter?t.domElementGetter:e.domElementGetter?e.domElementGetter:function(e){var t=e.appName||e.name;if(!t)throw Error("single-spa's dom-element-getter-helpers was not given an application name as a prop, so it can't make a unique dom element container for the react application");var r="single-spa-application:".concat(t);return function(){var e=document.getElementById(r);return e||((e=document.createElement("div")).id=r,document.body.appendChild(e)),e}}(t)))throw Error("single-spa's dom-element-getter-helpers was given an invalid domElementGetter for application or parcel '".concat(t.name,"'. Expected a function, received ").concat(s(r)));return function(){var e,n=r(t);if(null!=(e=HTMLElement)&&"u">typeof Symbol&&e[Symbol.hasInstance]?!e[Symbol.hasInstance](n):!(n instanceof e))throw Error("single-spa's dom-element-getter-helpers: domElementGetter returned an invalid dom element for application or parcel '".concat(t.name,"'. Expected HTMLElement, received ").concat(s(n)));return n}}r.d(t,{A:()=>d,i:()=>u});var u=null;try{u=require("react").createContext()}catch(e){}var c={React:null,ReactDOM:null,ReactDOMClient:null,rootComponent:null,loadRootComponent:null,errorBoundary:null,errorBoundaryClass:null,domElementGetter:null,parcelCanUpdate:!0,suppressComponentDidCatchWarning:!1,domElements:{},renderResults:{},updateResolves:{},unmountResolves:{}};function d(e){if("object"!==a(e))throw Error("single-spa-react requires a configuration object");var t,r=i(i({},c),e);if(!r.React)throw Error("single-spa-react must be passed opts.React");if(!r.ReactDOM&&!r.ReactDOMClient)throw Error("single-spa-react must be passed opts.ReactDOM or opts.ReactDOMClient");if(r.renderType||(null!=(t=r.ReactDOMClient)&&t.createRoot?r.renderType="createRoot":r.renderType="render"),!r.rootComponent&&!r.loadRootComponent)throw Error("single-spa-react must be passed opts.rootComponent or opts.loadRootComponent");if(r.errorBoundary&&"function"!=typeof r.errorBoundary)throw Error("The errorBoundary opt for single-spa-react must either be omitted or be a function that returns React elements");!u&&r.React.createContext&&(u=r.React.createContext()),r.SingleSpaRoot=function(e){function t(e){t.displayName="SingleSpaRoot(".concat(e.name,")")}return t.prototype=Object.create(e.React.Component.prototype),t.prototype.componentDidMount=function(){setTimeout(this.props.mountFinished)},t.prototype.componentWillUnmount=function(){setTimeout(this.props.unmountFinished)},t.prototype.render=function(){return setTimeout(this.props.updateFinished),this.props.children},t}(r);var n={bootstrap:f.bind(null,r),mount:p.bind(null,r),unmount:h.bind(null,r)};return r.parcelCanUpdate&&(n.update=y.bind(null,r)),n}function f(e,t){return e.rootComponent?Promise.resolve():e.loadRootComponent(t).then(function(t){e.rootComponent=t})}function p(e,t){return new Promise(function(r,n){e.suppressComponentDidCatchWarning||!function(e){if(!(e&&"string"==typeof e.version&&e.version.indexOf(".")>=0))return!1;var t=e.version.slice(0,e.version.indexOf("."));try{return Number(t)>=16}catch(e){return!1}}(e.React)||e.errorBoundary||e.errorBoundaryClass||(e.rootComponent.prototype?e.rootComponent.prototype.componentDidCatch||console.warn("single-spa-react: ".concat(t.name||t.appName||t.childAppName,"'s rootComponent should implement componentDidCatch to avoid accidentally unmounting the entire single-spa application.")):console.warn("single-spa-react: ".concat(t.name||t.appName||t.childAppName,"'s rootComponent does not implement an error boundary. If using a functional component, consider providing an opts.errorBoundary to singleSpaReact(opts).")));var o,i=b(e,t,function(){r(this)}),a=l(e,t)(),s=function(e){var t=e.reactDom,r=e.renderType,n=e.elementToRender,o=e.domElement,i=t[r];if("function"!=typeof i)throw Error('renderType "'.concat(r,'" did not return a function.'));switch(r){case"createRoot":case"unstable_createRoot":case"createBlockingRoot":case"unstable_createBlockingRoot":var a=i(o);return a.render(n),a;case"hydrateRoot":return i(o,n);default:return i(n,o),null}}({elementToRender:i,domElement:a,reactDom:m(e),renderType:"function"==typeof(o=e).renderType?o.renderType():o.renderType});e.domElements[t.name]=a,e.renderResults[t.name]=s})}function h(e,t){return new Promise(function(r){e.unmountResolves[t.name]=r;var n=e.renderResults[t.name];n&&n.unmount?n.unmount():m(e).unmountComponentAtNode(e.domElements[t.name]),delete e.domElements[t.name],delete e.renderResults[t.name]})}function y(e,t){return new Promise(function(r){e.updateResolves[t.name]||(e.updateResolves[t.name]=[]),e.updateResolves[t.name].push(r);var n=b(e,t,null),o=e.renderResults[t.name];if(o&&o.render)o.render(n);else{var i=l(e,t)();m(e).render(n,i)}})}function m(e){return e.ReactDOMClient||e.ReactDOM}function b(e,t,r){var n=e.React.createElement(e.rootComponent,t),o=u?e.React.createElement(u.Provider,{value:t},n):n;return(e.errorBoundary||t.errorBoundary||e.errorBoundaryClass||t.errorBoundaryClass)&&(e.errorBoundaryClass=e.errorBoundaryClass||t.errorBoundaryClass||function(e,t){function r(t){e.React.Component.apply(this,arguments),this.state={caughtError:null,caughtErrorInfo:null},r.displayName="SingleSpaReactErrorBoundary(".concat(t.name,")")}return r.prototype=Object.create(e.React.Component.prototype),r.prototype.render=function(){return this.state.caughtError?(e.errorBoundary||t.errorBoundary)(this.state.caughtError,this.state.caughtErrorInfo,this.props):this.props.children},r.prototype.componentDidCatch=function(e,t){this.setState({caughtError:e,caughtErrorInfo:t})},r}(e,t),o=e.React.createElement(e.errorBoundaryClass,t,o)),o=e.React.createElement(e.SingleSpaRoot,i(i({},t),{},{mountFinished:r,updateFinished:function(){e.updateResolves[t.name]&&(e.updateResolves[t.name].forEach(function(e){return e()}),delete e.updateResolves[t.name])},unmountFinished:function(){e.unmountResolves[t.name]&&(e.unmountResolves[t.name](),delete e.unmountResolves[t.name])}}),o)}},3400(e,t,r){"use strict";r.d(t,{mI:()=>p,ly:()=>R,rm:()=>_,Bv:()=>u,Vs:()=>b,cD:()=>c,KU:()=>l,XM:()=>A,Ty:()=>v,E$:()=>m,TG:()=>w,qd:()=>S,pJ:()=>x,SY:()=>d,R5:()=>k,g8:()=>f,iS:()=>g,r_:()=>C,Zu:()=>s,bS:()=>P});var n,o,i=r(3975);function a(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){r(e);return}s.done?t(l):Promise.resolve(l).then(n,o)}var s="".concat(i.restBaseUrl,"/attachment");function l(e,t){return(0,i.egenFetch)("".concat(s,"/").concat(e),{signal:t.signal})}function u(e,t,r){return(0,i.egenFetch)("".concat(s,"?entity=").concat(e,"&includeOrphan=").concat(t),{signal:r.signal})}function c(e,t){var r;return(r=function(){var r;return function(e,t){var r,n,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),s=Object.defineProperty;return s(a,"next",{value:l(0)}),s(a,"throw",{value:l(1)}),s(a,"return",{value:l(2)}),"function"==typeof Symbol&&s(a,Symbol.iterator,{value:function(){return this}}),a;function l(s){return function(l){var u=[s,l];if(r)throw TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&u[0]?n.return:u[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,u[1])).done)return o;switch(n=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return i.label++,{value:u[1],done:!1};case 5:i.label++,n=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){i=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){i.label=u[1];break}if(6===u[0]&&i.label<o[1]){i.label=o[1],o=u;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(u);break}o[2]&&i.ops.pop(),i.trys.pop();continue}u=t.call(e,i)}catch(e){u=[6,e],n=0}finally{r=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}}(this,function(n){return(r=new FormData).append("fileCaption",t.fileDescription),r.append("entity",e),t.file?r.append("file",t.file,t.fileName):(r.append("file",new File([""],t.fileName),t.fileName),r.append("base64Content",t.base64Content)),[2,(0,i.egenFetch)("".concat(s),{method:"POST",body:r})]})},function(){var e=this,t=arguments;return new Promise(function(n,o){var i=r.apply(e,t);function s(e){a(i,n,o,s,l,"next",e)}function l(e){a(i,n,o,s,l,"throw",e)}s(void 0)})})()}function d(e,t){return(0,i.egenFetch)("".concat(s,"/").concat(e),{method:"DELETE",signal:t.signal})}function f(e,t){var r=new CustomEvent("egen:".concat(e),{detail:null!=t?t:void 0,cancelable:!0,bubbles:!0});return window.dispatchEvent(r)}function p(e,t){var r=function(e){t("detail"in e&&null!==e.detail?e.detail:void 0)};return window.addEventListener("egen:".concat(e),r),function(){window.removeEventListener("egen:".concat(e),r)}}var h=r(4391),y=r(3862);function m(e){return{uuid:e.uuid,display:e.display}}function b(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=new URLSearchParams;e&&r.set("tag",e),t&&r.set("q",t);var n=r.toString(),o="".concat(i.restBaseUrl,"/location").concat(n?"?"+n:"");return(0,i.egenObservableFetch)(o).pipe((0,h.T)(function(e){return e.data.results.map(m)})).pipe((0,y.s)(1))}function g(e){return{uuid:e.uuid,display:e.display,name:e.name}}function v(){return(0,i.egenObservableFetch)("".concat(i.restBaseUrl,"/sessiontype")).pipe((0,h.T)(function(e){return e.data.results.map(g)})).pipe((0,y.s)(1))}var E=r(1442),O=r(919),w=((n={}).NEW="startSession",n.EDIT="editSession",n.LOADING="loadingSession",n),S=((o={}).NOTSTARTED="notStarted",o.ONGOING="ongoing",o),x="custom:(uuid,display,voided,indication,startDatetime,stopDatetime,interactions:(uuid,display,interactionDatetime,form:(uuid,name),location:ref,interactionType:ref,interactionHandlers:(uuid,display,handler:(uuid,display))),entity:(uuid,display),sessionType:(uuid,name,display),attributes:(uuid,display,attributeType:(name,datatypeClassname,uuid),value),location:(uuid,name,display))",j=function(){try{return JSON.parse(sessionStorage.getItem("egen:sessionStoreState")||"null")}catch(e){return null}}()||{entityUuid:null,manuallySetSessionUuid:null,mutateSessionCallbacks:{}};function C(){return(0,E.getGlobalStore)("session",j)}function k(e,t){C().setState({entityUuid:e,manuallySetSessionUuid:t})}function A(e,t){return(0,i.egenFetch)("".concat(i.restBaseUrl,"/session"),{signal:t.signal,method:"POST",headers:{"Content-type":"application/json"},body:e})}function P(e,t,r){return(0,i.egenFetch)("".concat(i.restBaseUrl,"/session/").concat(e),{signal:r.signal,method:"POST",headers:{"Content-type":"application/json"},body:t})}function R(e,t,r){return(0,i.egenFetch)("".concat(i.restBaseUrl,"/session?entity=").concat(e,"&v=").concat(null!=r?r:x),{signal:t.signal,method:"GET",headers:{"Content-type":"application/json"}})}C().subscribe(function(e){var t;t=e,sessionStorage.setItem("egen:sessionStoreState",JSON.stringify(t))});var _=new O.BehaviorSubject(null)},6014(e,t,r){"use strict";r.d(t,{dX:()=>S,wE:()=>k,_3:()=>v,uN:()=>C,$F:()=>x,Gz:()=>w,eb:()=>O,Sj:()=>j,mv:()=>E,PQ:()=>n.A});var n=r(4356),o="ArrowFunctionExpression";function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var s=r(4693);function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function u(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){r(e);return}s.done?t(l):Promise.resolve(l).then(n,o)}function c(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function a(e){u(i,n,o,a,s,"next",e)}function s(e){u(i,n,o,a,s,"throw",e)}a(void 0)})}}function d(e,t,r){return(d=b()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var o=new(Function.bind.apply(e,n));return r&&h(o,r.prototype),o}).apply(null,arguments)}function f(e,t){return null!=t&&"u">typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e){if(e){if("string"==typeof e)return l(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return l(e,void 0)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e){return e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function b(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(b=function(){return!!e})()}function g(e,t){var r,n,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),s=Object.defineProperty;return s(a,"next",{value:l(0)}),s(a,"throw",{value:l(1)}),s(a,"return",{value:l(2)}),"function"==typeof Symbol&&s(a,Symbol.iterator,{value:function(){return this}}),a;function l(s){return function(l){var u=[s,l];if(r)throw TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&u[0]?n.return:u[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,u[1])).done)return o;switch(n=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return i.label++,{value:u[1],done:!1};case 5:i.label++,n=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){i=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){i.label=u[1];break}if(6===u[0]&&i.label<o[1]){i.label=o[1],o=u;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(u);break}o[2]&&i.ops.pop(),i.trys.pop();continue}u=t.call(e,i)}catch(e){u=[6,e],n=0}finally{r=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}}function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return j(e,t,A)}function E(e){return c(function(e){var t=arguments;return g(this,function(r){return[2,C(e,t.length>1&&void 0!==t[1]?t[1]:{},A)]})}).apply(this,arguments)}function O(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return j(e,t,P)}function w(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return C(e,t,P)}function S(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return j(e,t,R)}function x(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return C(e,t,R)}function j(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;if("string"!=typeof e&&((void 0===e?"undefined":m(e))!=="object"||!e||!("type"in e)))throw"Unknown expression type ".concat(e,". Expressions must either be a string or pre-compiled string.");if("string"==typeof e&&0===e.trim().length)throw{type:"Empty expression",message:"Expression cannot be an empty string"};null==t&&(t={});var o=I(t,s.z),i=_("string"==typeof e?(0,n.A)(e):e,o);if(r(i))return i;throw{type:"Invalid result",message:"string"==typeof e?"The expression ".concat(e," did not produce a valid result"):"The expression did not produce a valid result"}}function C(e,t){return c(function(e){var t,r,o,i=arguments;return g(this,function(a){if(t=i.length>1&&void 0!==i[1]?i[1]:{},r=i.length>2?i[2]:void 0,"string"!=typeof e&&((void 0===e?"undefined":m(e))!=="object"||!e||!("type"in e)))return[2,Promise.reject("Unknown expression type ".concat(e,". Expressions must either be a string or pre-compiled string."))];if("string"==typeof e&&0===e.trim().length)throw{type:"Empty expression",message:"Expression cannot be an empty string"};return null==t&&(t={}),o=I(t,s.f),[2,Promise.resolve(_("string"==typeof e?(0,n.A)(e):e,o)).then(function(t){if(r(t))return t;throw{type:"Invalid result",message:"string"==typeof e?"The expression ".concat(e," did not produce a valid result"):"The expression did not produce a valid result"}})]})}).apply(this,arguments)}function k(e){return(0,n.A)(e)}function A(e){return"string"==typeof e||"number"==typeof e||"boolean"==typeof e||null==e||f(e,Date)}function P(e){return"boolean"==typeof e}function R(e){return"number"==typeof e}function _(e,t){switch(e.type){case"UnaryExpression":var r,n,o,i,a,s,l,u,c,p,h=e,b=t,g=_(h.argument,b);switch(h.operator){case"+":return+g;case"-":return-g;case"~":return~g;case"!":return!g;default:throw"Expression evaluator does not support operator '".concat(h.operator,"''")}case"BinaryExpression":var v=e,E=t,O=_(v.left,E),w=_(v.right,E);switch(v.operator){case"+":return O+w;case"-":return O-w;case"*":return O*w;case"/":return O/w;case"%":return O%w;case"**":return Math.pow(O,w);case"==":return O==w;case"===":return O===w;case"!=":return O!=w;case"!==":return O!==w;case">":return O>w;case">=":return O>=w;case"<":return O<w;case"<=":return O<=w;case"in":return O in w;case"&&":return O&&w;case"||":return O||w;case"??":return null!=O?O:w;default:throw"Expression evaluator does not support operator '".concat(v.operator,"' operator")}case"ConditionalExpression":return S=e,x=t,_(S.test,x)?_(S.consequent,x):_(S.alternate,x);case"CallExpression":var S,x,j,C=e,k=t,A=null==(j=C.arguments)?void 0:j.map(N(k)),P=_(C.callee,k);if(P){if("function"!=typeof P)throw"".concat(U(C.callee)," is not a function")}else throw"No function named ".concat(U(C.callee)," is defined in this context");return P.apply(void 0,y(A));case"ArrowFunctionExpression":return L=e,M=t,H=null!=(B=null==(V=L.params)?void 0:V.map(function(e){if("Identifier"===e.type)return e.name;throw"Cannot handle parameter of type ".concat(e.type)}))?B:[],(function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];if(t.length<H.length)throw"Required argument(s) ".concat(H.slice(t.length,-1).join(", ")," were not provided");var n=Object.fromEntries(H.reduce(function(e,r,n){var o=t[n];return function e(t){if("string"==typeof t||"number"==typeof t||"boolean"==typeof t||"function"==typeof t||null===t||f(t,RegExp))return!0;if((void 0===t?"undefined":m(t))==="object"){var r=!0,n=!1,o=void 0;try{for(var i,a=Object.keys(t)[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var s=i.value;if(!e(t[s]))return!1}}catch(e){n=!0,o=e}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}return!0}if(Array.isArray(t)){var l=!0,u=!1,c=void 0;try{for(var d,p=t[Symbol.iterator]();!(l=(d=p.next()).done);l=!0){var h=d.value;if(!e(h))return!1}}catch(e){u=!0,c=e}finally{try{l||null==p.return||p.return()}finally{if(u)throw c}}}return!1}(o)&&e.push([r,o]),e},[]));return _(L.body,M.addVariables(n))}).bind(null!=(F=M.thisObj)?F:null);case"MemberExpression":return function(e,t){var r,n=_(e.object,t);if(void 0===n)switch(e.object.type){case"Identifier":var o=D(e.object,t);throw ReferenceError("ReferenceError: ".concat(o," is not defined"));case"MemberExpression":var i=D(e.property,t);throw TypeError("TypeError: cannot read properties of undefined (reading '".concat(i,"')"));default:throw"VisitMemberExpression does not support operator '".concat(e.object.type,"' type")}var a=n;if("string"==typeof n)a=String.prototype;else if("number"==typeof n)a=Number.prototype;else if("function"==typeof n);else if((void 0===n?"undefined":m(n))!=="object")throw"VisitMemberExpression does not support member access on type ".concat(void 0===n?"undefined":m(n));switch(t.thisObj=a,e.property.type){case"Identifier":case"MemberExpression":r=_(e.property,t);break;default:var s=_(e.property,t);if(void 0===s)throw{type:"Illegal property access",message:"No property was supplied to the property access"};T(s),r=n[s]}return"function"==typeof r?r.bind(n):r}(e,t);case"ArrayExpression":return G=e,X=t,null==(W=G.elements)?void 0:W.map(N(X));case"SequenceExpression":return K=e,z=t,(Y=K.expressions.map(N(z)))[Y.length-1];case"NewExpression":var R=e,I=t;if(R.callee&&"Identifier"===R.callee.type){var L,M,B,F,V,H,G,X,W,K,z,Y,q,J=null==(q=R.arguments)?void 0:q.map(N(I));switch(R.callee.name){case"Date":return d(Date,y(J));case"RegExp":return d(RegExp,y(J));default:throw"Cannot instantiate object of type ".concat(R.callee.name)}}if(R.callee)throw"new must be called with either Date or RegExp";throw'Could not handle "new" without a specified class';case"Literal":return T((r=e).value),r.value;case"Identifier":var Q=e,$=t;T(Q.name);var Z=$.thisObj;if(Z&&((void 0===Z?"undefined":m(Z))==="object"||"function"==typeof Z)&&Q.name in Z){var ee=Z[Q.name];return T(ee),ee}if($.variables&&Q.name in $.variables){var et=$.variables[Q.name];return T(et),et}return Q.name in $.globals?$.globals[Q.name]:void 0;case"TemplateLiteral":return n=e,o=t,u=null!=(i=null==(s=n.expressions)?void 0:s.map(N(o)))?i:[],(c=null!=(a=null==(l=n.quasis)?void 0:l.map(N(o)))?a:[]).filter(function(e){return!e.tail}).map(function(e){return e.value}).join("")+u.join("")+c.filter(function(e){return e.tail}).map(function(e){return e.value}).join("");case"TemplateElement":return{value:(p=e).cooked,tail:p.tail};default:throw"Expression evaluator does not support expression of type '".concat(e.type,"'")}}function D(e,t){switch(e.type){case"Literal":return e.value;case"Identifier":return e.name;case"MemberExpression":return D(e.property,t);default:throw"VisitExpressionName does not support expression of type '".concat(e.type,"'")}}function I(e,t){var r={thisObj:void 0,variables:p({},e),globals:p({},t),addVariables:function(e){return this.variables=p({},this.variables,e),this}};return r.addVariables.bind(r),r}function N(e){return function(t){return null===t?null:_(t,e)}}function T(e){if("__proto__"===e||"prototype"===e||"constructor"===e)throw{type:"Illegal property access",message:"Cannot access the ".concat(e," property of objects")}}function U(e){if(!e)return null;if("MemberExpression"===e.type){var t;return null==(t=e.property)?void 0:t.name}return e.name}n.A.plugins.register({name:"arrow",init:function(e){e.addBinaryOp("=>",.1,!0),e.hooks.add("gobble-expression",function(t){if(this.gobbleSpaces(),this.code===e.OPAREN_CODE){var r=this.index;if(this.index++,this.gobbleSpaces(),this.code===e.CPAREN_CODE){this.index++;var n=this.gobbleBinaryOp();if("=>"===n){var i=this.gobbleBinaryExpression();i||this.throwError("Expected expression after "+n),t.node={type:o,params:null,body:i};return}}this.index=r}}),e.hooks.add("after-expression",function(t){!function t(r){r&&(Object.values(r).forEach(function(e){e&&(void 0===e?"undefined":e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e)=="object"&&t(e)}),"=>"===r.operator&&(r.type=o,r.params=r.left?[r.left]:null,r.body=r.right,r.params&&r.params[0].type===e.SEQUENCE_EXP&&(r.params=r.params[0].expressions),delete r.left,delete r.right,delete r.operator))}(t.node)})}}),n.A.plugins.register({name:"new",init:function(e){e.addUnaryOp("new"),e.hooks.add("after-token",function(t){var r=t.node;if(r&&"new"===r.operator){r.argument&&[e.CALL_EXP,e.MEMBER_EXP].includes(r.argument.type)||this.throwError("Expected new function()"),t.node=r.argument;for(var n=t.node;n.type===e.MEMBER_EXP||n.type===e.CALL_EXP&&n.callee.type===e.MEMBER_EXP;)n=n.type===e.MEMBER_EXP?n.object:n.callee.object;n.type="NewExpression"}})}}),n.A.plugins.register({name:"numbers",init:function(e){function t(e){return"x"===e||"X"===e?(this.index+=2,[[48,57],[65,70],[97,102]]):"b"===e||"B"===e?(this.index+=2,[[48,49]]):"o"===e||"O"===e||e>="0"&&e<="7"?(this.index+=e<="7"?1:2,[[48,55]]):null}function r(t){var r=this,n=this.index,o="",i=function(){for(;e.isDecimalDigit(r.code)||95===r.code;)95===r.code?r.index++:o+=r.expr.charAt(r.index++)};i(),this.code===e.PERIOD_CODE&&(o+=this.expr.charAt(this.index++),i());var a=this.char;("e"===a||"E"===a)&&(o+=this.expr.charAt(this.index++),("+"===(a=this.char)||"-"===a)&&(o+=this.expr.charAt(this.index++)),i(),e.isDecimalDigit(this.expr.charCodeAt(this.index-1))||this.throwError("Expected exponent ("+o+this.char+")"));var s=this.code;if(e.isIdentifierStart(s))this.throwError("Variable names cannot start with a number ("+o+this.char+")");else if(s===e.PERIOD_CODE){o.length>1&&this.throwError("Unexpected period ".concat(JSON.stringify({chCode:s,number:o},null,2))),this.index=n;return}t.node={type:e.LITERAL,value:parseFloat(o),raw:this.expr.substring(n,this.index)}}e.hooks.add("gobble-token",function(n){if(48===this.code){var o=this.index,a=this.expr.charAt(this.index+1),s=t.call(this,a);if(s){for(var l,u,c,d="";l=this.code,u=s,95===l||u.some(function(e){var t=function(e){if(Array.isArray(e))return e}(e)||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o=[],i=!0,a=!1;try{for(n=n.call(e);!(i=(t=n.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(e){a=!0,r=e}finally{try{i||null==n.return||n.return()}finally{if(a)throw r}}return o}}(e)||function(e){if(e){if("string"==typeof e)return i(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return i(e,2)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=t[0],n=t[1];return l>=r&&l<=n});)95===this.code?this.index++:d+=this.expr.charAt(this.index++);if(e.isIdentifierPart(this.code)){if(e.isDecimalDigit(this.code)&&e.isDecimalDigit(a.charCodeAt(0))){this.index=o+1,r.call(this,n);return}this.throwError("unexpected char within number")}n.node={type:e.LITERAL,value:parseInt(d,"x"===(c=a)||"X"===c?16:"b"===c||"B"===c?2:8),raw:this.expr.substring(o,this.index)}}}else(e.isDecimalDigit(this.code)||this.code===e.PERIOD_CODE)&&r.call(this,n)})}}),n.A.plugins.register({name:"regex",init:function(e){e.hooks.add("gobble-token",function(t){if(47===this.code){for(var r=++this.index,n=!1;this.index<this.expr.length;){if(47===this.code&&!n){for(var o=this.expr.slice(r,this.index),i="";++this.index<this.expr.length;){var a=this.code;if(a>=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57)i+=this.char;else break}var s=void 0;try{s=new RegExp(o,i)}catch(e){this.throwError(e.message)}return t.node={type:e.LITERAL,value:s,raw:this.expr.slice(r-1,this.index)},t.node=this.gobbleTokenProperty(t.node),t.node}this.code===e.OBRACK_CODE?n=!0:n&&this.code===e.CBRACK_CODE&&(n=!1),this.index+=92===this.code?2:1}this.throwError("Unclosed Regex")}})}}),n.A.plugins.register({name:"ternary",init:function(e){e.hooks.add("after-expression",function(t){if(t.node&&this.code===e.QUMARK_CODE){this.index++;var r=t.node,n=this.gobbleExpression();if(n||this.throwError("Expected expression"),this.gobbleSpaces(),this.code===e.COLON_CODE){this.index++;var o=this.gobbleExpression();if(o||this.throwError("Expected expression"),t.node={type:"ConditionalExpression",test:r,consequent:n,alternate:o},r.operator&&e.binary_ops[r.operator]<=.9){for(var i=r;i.right.operator&&e.binary_ops[i.right.operator]<=.9;)i=i.right;t.node.test=i.right,i.right=t.node,t.node=r}}else this.throwError("Expected :")}})}}),n.A.plugins.register({name:"jsepTemplateLiteral",init:function(e){function t(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];if(96===this.code){for(var r={type:"TemplateLiteral",quasis:[],expressions:[]},n="",o="",i=!1,s=this.expr.length,l=function(){return r.quasis.push({type:"TemplateElement",value:{raw:o,cooked:n},tail:i})};this.index<s;){var u,c,d=this.expr.charAt(++this.index);if("`"===d)return this.index+=1,i=!0,l(),e.node=r,t&&(e.node=this.gobbleTokenProperty(e.node)),e.node;if("$"===d&&"{"===this.expr.charAt(this.index+1))this.index+=2,l(),o="",n="",(c=r.expressions).push.apply(c,function(e){if(Array.isArray(e))return a(e)}(u=this.gobbleExpressions(125))||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(u)||function(e){if(e){if("string"==typeof e)return a(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return a(e,void 0)}}(u)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),125!==this.code&&this.throwError("unclosed ${");else if("\\"===d)switch(o+=d,d=this.expr.charAt(++this.index),o+=d,d){case"n":n+="\n";break;case"r":n+="\r";break;case"t":n+=" ";break;case"b":n+="\b";break;case"f":n+="\f";break;case"v":n+="\v";break;default:n+=d}else n+=d,o+=d}this.throwError("Unclosed `")}}e.hooks.add("gobble-token",t),e.hooks.add("after-token",function(r){if((r.node.type===e.IDENTIFIER||r.node.type===e.MEMBER_EXP)&&96===this.code)return r.node={type:"TaggedTemplateExpression",tag:r.node,quasi:t.bind(this)(r,!1)},r.node=this.gobbleTokenProperty(r.node),r.node})}}),n.A.addBinaryOp("in",7),n.A.addBinaryOp("??",1)},4693(e,t,r){"use strict";r.d(t,{f:()=>a,z:()=>i});var n,o,i={Array:Array,Boolean:Boolean,Symbol:Symbol,Infinity:1/0,NaN:NaN,Math:Math,Number:Number,BigInt:BigInt,String:String,RegExp:RegExp,JSON:JSON,isFinite:isFinite,isNaN:isNaN,parseFloat:parseFloat,parseInt:parseInt,decodeURI:decodeURI,encodeURI:encodeURI,encodeURIComponent:encodeURIComponent,Object:{__proto__:void 0,assign:Object.assign.bind(null),fromEntries:Object.fromEntries.bind(null),hasOwn:Object.hasOwn.bind(null),keys:Object.keys.bind(null),is:Object.is.bind(null),values:Object.values.bind(null)}},a=(n=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({},i),o=o={Promise:Promise},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(o)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(o,e))}),n)},3693(e,t,r){"use strict";r.d(t,{Xr:()=>z,J_:()=>eH,zx:()=>H,ES:()=>I,FY:()=>G,zF:()=>b,Uh:()=>eY,io:()=>eU,Ef:()=>f,p$:()=>Q,Yw:()=>eS,dO:()=>d,o1:()=>eX,uu:()=>eh,oE:()=>q,R6:()=>$,YX:()=>eW,As:()=>ee,eh:()=>et,Tj:()=>T,DK:()=>Y,ND:()=>ep,fP:()=>ef,lN:()=>en,oW:()=>ea,K0:()=>L,ZJ:()=>ew,BR:()=>eb,rD:()=>eK,Q_:()=>eB,a9:()=>y,xg:()=>N,Qb:()=>ez,Sk:()=>ei,e4:()=>eo,SW:()=>Z,H9:()=>K,DQ:()=>m,Ml:()=>eG,Xb:()=>eM,rq:()=>es,Fg:()=>eC,VK:()=>U,QS:()=>el,SK:()=>ed,Te:()=>ey,rf:()=>eE,Ju:()=>ej,pm:()=>eT,wG:()=>e2,cL:()=>W,y$:()=>ec,ap:()=>X,Yo:()=>M,No:()=>B,wR:()=>em});var n=r(3975),o=r(3645),i=r(6014),a=r(5794),s=r(9726),l=r(2316),u=r(4809),c=r(7403);function d(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return f((0,l.s)(),e,t)}function f(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!!(e?t:r)}var p=r(1442),h=(0,p.createGlobalStore)("extensionsInternal",{slots:{},extensions:{}}),y=function(){return(0,p.getGlobalStore)("extensionsInternal",{slots:{},extensions:{}})};function m(e){var t=h.getState(),r=e(t);r!==t&&h.setState(r)}var b=function(){return(0,p.getGlobalStore)("extensions",{slots:{}})};function g(e){var t=[],r=!0,n=!1,i=void 0;try{for(var a,s=Object.values(e.extensions)[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var l=a.value,c=!0,d=!1,f=void 0;try{for(var p,h=l.instances[Symbol.iterator]();!(c=(p=h.next()).done);c=!0){var y=p.value;t.push({slotModuleName:y.slotModuleName,extensionModuleName:l.moduleName,slotName:y.slotName,extensionId:y.id})}}catch(e){d=!0,f=e}finally{try{c||null==h.return||h.return()}finally{if(d)throw f}}}}catch(e){n=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(n)throw i}}(0,u.A)(o.configExtensionStore.getState().mountedExtensions,t)||o.configExtensionStore.setState({mountedExtensions:t})}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function O(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){E(e,t,r[t])})}return e}function w(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function S(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,s=!1;try{for(o=o.call(e);!(a=(r=o.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,n=e}finally{try{a||null==o.return||o.return()}finally{if(s)throw n}}return i}}(e,t)||j(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function x(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||j(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function j(e,t){if(e){if("string"==typeof e)return v(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return v(e,t)}}g(h.getState()),h.subscribe(g);var C=y(),k=b(),A=(0,o.getExtensionSlotsConfigStore)(),P=(0,o.getExtensionsConfigStore)();function R(e,t,r,n,i){var a={},s=(0,l.s)(),c=Object.entries(n.flags).filter(function(e){return S(e,2)[1].enabled}).map(function(e){return S(e,1)[0]}),d=!0,f=!1,p=void 0;try{for(var h,y=Object.entries(e.slots)[Symbol.iterator]();!(d=(h=y.next()).done);d=!0){var m=S(h.value,2),b=m[0],g=m[1],v=(0,o.getExtensionSlotConfigFromStore)(t,g.name).config,E=V(b,e,v,r,c,s,i.session);a[b]={moduleName:g.moduleName,assignedExtensions:E}}}catch(e){f=!0,p=e}finally{try{d||null==y.return||y.return()}finally{if(f)throw p}}(0,u.A)(k.getState().slots,a)||k.setState({slots:a})}function _(){R(C.getState(),A.getState(),P.getState(),a.jX.getState(),n.sessionStore.getState())}function D(e,t,r){return{moduleName:t,name:e,attachedIds:[],config:null,state:r}}function I(e){return S(e.split("#"),1)[0]}function N(e,t){var r=I(t);return e.extensions[r]}function T(e){return N(C.getState(),e)}C.subscribe(function(e){R(e,A.getState(),P.getState(),a.jX.getState(),n.sessionStore.getState())}),A.subscribe(function(e){R(C.getState(),e,P.getState(),a.jX.getState(),n.sessionStore.getState())}),P.subscribe(function(e){R(C.getState(),A.getState(),e,a.jX.getState(),n.sessionStore.getState())}),a.jX.subscribe(function(e){R(C.getState(),A.getState(),P.getState(),e,n.sessionStore.getState())}),n.sessionStore.subscribe(function(e){R(C.getState(),A.getState(),P.getState(),a.jX.getState(),e)}),_(),(0,s.gj)(_);var U=function(e){return C.setState(function(t){return t.extensions[e.name]=w(O({},e),{instances:[]}),t})};function L(e,t){m(function(r){var n=r.slots[e];return n?w(O({},r),{slots:w(O({},r.slots),E({},e,w(O({},n),{attachedIds:x(n.attachedIds).concat([t])})))}):w(O({},r),{slots:w(O({},r.slots),E({},e,w(O({},D(e)),{attachedIds:[t]})))})})}function M(e,t){m(function(r){var n=r.slots[e];return n&&n.attachedIds.includes(t)?w(O({},r),{slots:w(O({},r.slots),E({},e,w(O({},n),{attachedIds:n.attachedIds.filter(function(e){return e!==t})})))}):r})}function B(e){m(function(t){var r=t.slots[e];return r?w(O({},t),{slots:w(O({},t.slots),E({},e,w(O({},r),{attachedIds:[]})))}):t})}function F(e,t,r,n){var o=t.indexOf(e);if(-1!==o)return o;if(void 0!==r)return 1e3+r;var i=n.indexOf(e);return -1!==i?2e3+i:-1}function V(e,t,r,a,s,l,u){var d=(v=r,E=t.slots[e].attachedIds,w=v.add||[],S=v.remove||[],j=v.order||[],k=C.getState().extensions,x(E).concat(x(w)).filter(function(e){return!S.includes(e)}).sort(function(e,t){var r,n,o=F(e,j,null==(r=k[I(e)])?void 0:r.order,E),i=F(t,j,null==(n=k[I(t)])?void 0:n.order,E);return -1===i?-1:-1===o?1:o-i})),p=[],h=null==(A=t.slots[e])?void 0:A.state,y=h&&(void 0===h?"undefined":h&&"u">typeof Symbol&&h.constructor===Symbol?"symbol":typeof h)=="object"?O({session:u},h):{session:u},m=!0,b=!1,g=void 0;try{for(var v,E,w,S,j,k,A,P,R=d[Symbol.iterator]();!(m=(P=R.next()).done);m=!0){var _=P.value,D=(0,o.getExtensionConfigFromStore)(a,e,_).config,N=(0,o.getExtensionConfigFromExtensionSlotStore)(r,e,_),T=(0,c.A)(D,N),U=I(_),L=t.extensions[U];if(L){var M,B,V,H,G,X,W,K,z,Y,q=null!=(M=null!=(B=null==T||null==(W=T["Display conditions"])?void 0:W.privileges)?B:L.privileges)?M:[];if(q&&("string"==typeof q||Array.isArray(q)&&q.length>0)&&(!(null==u?void 0:u.user)||!(0,n.userHasAccess)(q,u.user)))continue;var J=(null==T||null==(K=T["Display conditions"])?void 0:K.expression)||L.displayExpression;if(void 0!==J&&"string"==typeof J&&J.trim().length>0)try{if(!(0,i.eb)(J,y))continue}catch(t){console.error("Error while evaluating expression '".concat(J,"' for extension ").concat(U," in slot ").concat(e),t);continue}if(L.featureFlag&&!s.includes(L.featureFlag)||window.offlineEnabled&&!f(l,L.online,L.offline))continue;p.push({id:_,name:U,moduleName:L.moduleName,config:T,featureFlag:L.featureFlag,meta:L.meta,online:null==(V=null!=(H=null==T||null==(z=T["Display conditions"])?void 0:z.online)?H:L.online)||V,offline:null!=(G=null!=(X=null==T||null==(Y=T["Display conditions"])?void 0:Y.offline)?X:L.offline)&&G})}}}catch(e){b=!0,g=e}finally{try{m||null==R.return||R.return()}finally{if(b)throw g}}return p}function H(e){var t=C.getState(),r=(0,o.getExtensionSlotConfig)(e).config,i=P.getState(),s=a.jX.getState(),u=n.sessionStore.getState(),c=(0,l.s)();return V(e,t,r,i,Object.entries(s.flags).filter(function(e){return S(e,2)[1].enabled}).map(function(e){return S(e,1)[0]}),c,u.session)}var G=function(e,t,r){return C.setState(function(n){var o,i=null==(o=n.slots[t])?void 0:o.moduleName;if(i&&i!=e)return console.warn("An extension slot with the name '".concat(t,'\' already exists. Refusing to register the same slot name twice (in "registerExtensionSlot"). The existing one is from module ').concat(i,".")),n;if(i&&i==e)return n;if(n.slots[t])return w(O({},n),{slots:w(O({},n.slots),E({},t,w(O({},n.slots[t]),{moduleName:e,state:r})))});var a=D(t,e,r);return w(O({},n),{slots:w(O({},n.slots),E({},t,O({},a)))})})};function X(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];C.setState(function(n){var o=r?(0,c.A)(n.slots[e].state,t):t;return w(O({},n),{slots:w(O({},n.slots),E({},e,w(O({},n.slots[e]),{state:o})))})})}var W=function(){return k.setState(function(){return{slots:{},extensions:{}}})},K="topbar-level2-nav",z="*";function Y(e){return!!e&&(void 0===e?"undefined":e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e)=="object"&&!!["section","label","route"].every(function(t){return"string"==typeof e[t]&&e[t].length>0})&&(void 0===e.group||"string"==typeof e.group&&0!==e.group.length)&&(void 0===e.sectionRoute||"string"==typeof e.sectionRoute&&0!==e.sectionRoute.length)&&(void 0===e.workspaces||!!(Array.isArray(e.workspaces)&&e.workspaces.every(function(e){return"string"==typeof e})))}function q(e,t){var r=e.workspaces;return!r||0===r.length||r.includes(z)||r.includes(t)}function J(e){return e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}var Q="shell-rail-left-slot",$="shell-rail-bottom-slot",Z="shell-rail-right-slot",ee={left:Q,bottom:$,right:Z},et={height:40,minHeight:15,maxHeight:100},er=["height","minHeight","maxHeight"];function en(e){var t=e.compartment;if(!t||"default"===t||(void 0===t?"undefined":J(t))!=="object")return null;var r=function(e){var r=t[e];return"number"==typeof r&&Number.isFinite(r)&&r>0&&r<=100?r:et[e]},n=r("minHeight"),o=Math.max(n,r("maxHeight"));return{height:Math.min(o,Math.max(n,r("height"))),minHeight:n,maxHeight:o}}function eo(e){return"string"==typeof e&&0!==e.length&&/^(https:\/\/|\/(?!\/)|data:image\/(svg\+xml|png|webp|gif|jpeg)[;,])/i.test(e)}function ei(e){if(!e||(void 0===e?"undefined":J(e))!=="object")return['`meta` est absente : ajouter au moins { "title": "…" }'];var t=[];if(("string"!=typeof e.title||0===e.title.length)&&t.push("`title` doit \xeatre une cha\xeene non vide"),void 0!==e.titleKey&&"string"!=typeof e.titleKey&&t.push("`titleKey` doit \xeatre une cha\xeene"),void 0!==e.icon&&"string"!=typeof e.icon&&t.push("`icon` doit \xeatre une cha\xeene"),void 0===e.iconUrl||eo(e.iconUrl)||t.push("`iconUrl` doit commencer par https://, / ou data:image/(svg+xml|png|webp|gif|jpeg)"),void 0===e.order||"number"==typeof e.order&&Number.isFinite(e.order)||t.push("`order` doit \xeatre un nombre fini"),void 0!==e.global&&"boolean"!=typeof e.global&&t.push("`global` doit \xeatre un bool\xe9en"),void 0!==e.rail&&"left"!==e.rail&&"right"!==e.rail&&t.push('`rail` vaut "left" ou "right"'),void 0!==e.compartment&&"default"!==e.compartment){var r=e.compartment;if(!r||(void 0===r?"undefined":J(r))!=="object"||Array.isArray(r))t.push('`compartment` vaut "default" ou un objet { height, minHeight, maxHeight }');else{var n=!0,o=!1,i=void 0;try{for(var a,s=er[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var l=a.value,u=r[l];void 0!==u&&("number"!=typeof u||!Number.isFinite(u)||u<=0||u>100)&&t.push("`compartment.".concat(l,"` doit \xeatre un nombre dans ]0, 100] (pourcentage de la zone)"))}}catch(e){o=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}if(en({compartment:r})&&0===t.length){var c,d,f={minHeight:null!=(c=r.minHeight)?c:et.minHeight,maxHeight:null!=(d=r.maxHeight)?d:et.maxHeight};f.minHeight>f.maxHeight&&t.push("`compartment.minHeight` ne peut pas d\xe9passer `compartment.maxHeight`")}}}return t}function ea(e){return 0===ei(e).length}function es(e){return Object.values(ee).includes(e)}function el(e){var t=e.moduleName,r=e.name,n=e.anchor,o=e.meta,i=e.load,a=e.privileges,s=e.featureFlag,l=e.displayExpression,u=ei(o);return u.length>0||!ee[n]?(console.warn("[workbench] La fen\xeatre d'outils \xab ".concat(r," \xbb de ").concat(t," n'est pas enregistr\xe9e : ").concat(u.join(" ; ")||"zone inconnue \xab ".concat(String(n)," \xbb"),".")),!1):("bottom"===n&&o.compartment&&"default"!==o.compartment&&console.warn("[workbench] La fen\xeatre d'outils \xab ".concat(r," \xbb de ").concat(t," : `compartment` est ignor\xe9 dans la zone basse (zones gauche et droite uniquement).")),U({name:r,moduleName:t,load:i,meta:o,privileges:a,featureFlag:s,displayExpression:l,online:!0,offline:!1}),L(ee[n],r),!0)}function eu(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var ec="staggered-menu-slot",ed=["top","content","bottom"],ef="content";function ep(e){return"string"==typeof e&&ed.includes(e)}function eh(e){if(!e||(void 0===e?"undefined":e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e)!="object")return['`meta` est absente : ajouter au moins { "title": "…" }'];var t=[];return("string"!=typeof e.title||0===e.title.length)&&t.push("`title` doit \xeatre une cha\xeene non vide"),void 0!==e.titleKey&&"string"!=typeof e.titleKey&&t.push("`titleKey` doit \xeatre une cha\xeene"),void 0===e.area||ep(e.area)||t.push("`area` vaut ".concat(ed.map(function(e){return'"'.concat(e,'"')}).join(", "))),void 0===e.order||"number"==typeof e.order&&Number.isFinite(e.order)||t.push("`order` doit \xeatre un nombre fini"),void 0===e.priority||"number"==typeof e.priority&&Number.isFinite(e.priority)||t.push("`priority` doit \xeatre un nombre fini"),void 0!==e.global&&"boolean"!=typeof e.global&&t.push("`global` doit \xeatre un bool\xe9en"),void 0!==e.showTitle&&"boolean"!=typeof e.showTitle&&t.push("`showTitle` doit \xeatre un bool\xe9en"),t}function ey(e){return 0===eh(e).length}function em(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=function(e){return ed.indexOf(e)},o=e.map(function(e,t){return{extension:e,index:t}}).filter(function(e){return ey(e.extension.meta)}).filter(function(e){var r=e.extension;return!0===r.meta.global||t.has(r.moduleName)}).map(function(e){var t,r,n,o=e.extension,i=e.index,a=o.meta;return{index:i,entry:{id:o.name,moduleName:o.moduleName,meta:a,area:null!=(t=a.area)?t:ef,order:null!=(r=a.order)?r:i,priority:null!=(n=a.priority)?n:0,extension:o}}}),i=((function(e){if(Array.isArray(e))return eu(e)})(o)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(o)||function(e){if(e){if("string"==typeof e)return eu(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return eu(e,void 0)}}(o)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).sort(function(e,t){return n(e.entry.area)-n(t.entry.area)||e.entry.order-t.entry.order||t.entry.priority-e.entry.priority||e.index-t.index}),a=r.maxEntries;if("number"!=typeof a||!Number.isFinite(a)||a<0||a>=i.length)return i.map(function(e){return e.entry});var s=new Set(i.map(function(e,t){return{item:e,displayIndex:t}}).sort(function(e,t){return t.item.entry.priority-e.item.entry.priority||e.displayIndex-t.displayIndex}).slice(0,Math.floor(a)).map(function(e){return e.item}));return i.filter(function(e){return s.has(e)}).map(function(e){return e.entry})}function eb(e){var t=e.moduleName,r=e.name,n=e.meta,o=e.load,i=e.slot,a=void 0===i?ec:i,s=e.privileges,l=e.featureFlag,u=e.displayExpression,c=eh(n);return c.length>0||!a?(console.warn("[staggered-menu] L'entr\xe9e \xab ".concat(r," \xbb de ").concat(t," n'est pas enregistr\xe9e : ").concat(c.join(" ; ")||"slot vide",".")),!1):(U({name:r,moduleName:t,load:o,meta:n,privileges:s,featureFlag:l,displayExpression:u,online:!0,offline:!1}),L(a,r),!0)}function eg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ev(e){return e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}var eE=(0,p.createGlobalStore)("nav-behaviors",{behaviors:{}}),eO=function(e){return"entry"in e?"entry:".concat(e.entry):"section:".concat(e.section)};function ew(e,t){var r=eO(e);return eE.setState(function(e){var n,o;return{behaviors:(n=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){eg(e,t,r[t])})}return e}({},e.behaviors),o=null!=(o=eg({},r,t))?o:{},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(o)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(o,e))}),n)}}),function(){var e=eE.getState().behaviors;if(e[r]===t){e[r];var n,o=function(e,t){if(null==e)return{};var r,n,o,i={};if("u">typeof Reflect&&Reflect.ownKeys){for(o=0,r=Reflect.ownKeys(Object(e));o<r.length;o++)n=r[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n]);return i}if(i=function(e,t){if(null==e)return{};var r,n,o={},i=Object.getOwnPropertyNames(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r]);return o}(e,t),Object.getOwnPropertySymbols)for(o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)n=r[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n]);return i}(e,[(n=function(e,t){if("object"!==ev(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==ev(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(r,"string"),"symbol"===ev(n)?n:String(n))]);eE.setState({behaviors:o})}}}function eS(e){return eE.getState().behaviors[eO(e)]}var ex=(0,p.createGlobalStore)("modalRegistry",{modals:{}});function ej(e){ex.setState(function(t){return t.modals[e.name]=e,t})}function eC(e){var t=ex.getState().modals[e];if(!t){var r=T(e);r&&(t={name:e,load:r.load,moduleName:r.moduleName},console.warn("Modal ".concat(e,' was registered as an extension. This is deprecated and will be removed in the future. Please register it in the "modals" section of routes.json instead of the "extensions" section.')),ej(t))}return t}var ek=r(5565);function eA(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function eP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function eR(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){eP(e,t,r[t])})}return e}function e_(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function eD(e){return function(e){if(Array.isArray(e))return eA(e)}(e)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e){if(e){if("string"==typeof e)return eA(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return eA(e,void 0)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var eI=(0,p.createGlobalStore)("workspaceRegistrations",{workspaces:{}}),eN=(0,p.createGlobalStore)("workspaceGroups",{workspaceGroups:{}});function eT(e){eI.setState(function(t){var r,n,o,i,a,s;return{workspaces:e_(eR({},t.workspaces),eP({},e.name,e_(eR({},e),{load:e.load,preferredWindowSize:null!=(r=e.preferredWindowSize)?r:"normal",type:null!=(n=e.type)?n:"form",canHide:null!=(o=e.canHide)&&o,canMaximize:null!=(i=e.canMaximize)&&i,width:null!=(a=e.width)?a:"narrow",groups:null!=(s=e.groups)?s:[]})))}})}function eU(e){eN.setState(function(t){var r=t.workspaceGroups[e.name];return r?{workspaceGroups:e_(eR({},t.workspaceGroups),eP({},e.name,e_(eR({},r),{members:Array.from(new Set(eD(r.members).concat(eD(e.members))))})))}:{workspaceGroups:e_(eR({},t.workspaceGroups),eP({},e.name,{name:e.name,members:e.members}))}})}var eL=new Set;function eM(e){var t=eI.getState().workspaces;if(t[e])return t[e];var r,n,o,i,a,s,l,u,c,d,f,p,h=T(e);if(h)return eL.has(e)||(console.warn("The workspace '".concat(e,'\' is registered as an extension. This is deprecated. Please register it in the "workspaces" section of the routes.json file.')),eL.add(e)),{name:h.name,title:function(e){var t,r=null==e||null==(t=e.meta)?void 0:t.title;return"string"==typeof r?r:r&&(void 0===r?"undefined":r&&"u">typeof Symbol&&r.constructor===Symbol?"symbol":typeof r)=="object"?(0,ek.t)(e.moduleName,r.key,r.default):e.name}(h),moduleName:h.moduleName,preferredWindowSize:null!=(r=null==(l=h.meta)?void 0:l.screenSize)?r:"normal",load:h.load,type:null!=(n=null==(u=h.meta)?void 0:u.type)?n:"form",canHide:null!=(o=null==(c=h.meta)?void 0:c.canHide)&&o,canMaximize:null!=(i=null==(d=h.meta)?void 0:d.canMaximize)&&i,width:null!=(a=null==(f=h.meta)?void 0:f.width)?a:"narrow",groups:null!=(s=null==(p=h.meta)?void 0:p.groups)?s:[]};throw Error("No workspace named '".concat(e,"' has been registered."))}function eB(e){var t=eN.getState().workspaceGroups;if(t[e])return t[e];throw Error("No workspace group named '".concat(e,"' has been registered."))}function eF(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}function eV(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}var eH=(0,p.createGlobalStore)("workspace2",{registeredGroupsByName:{},registeredWindowsByName:{},registeredWorkspacesByName:{},openedGroup:null,openedWindows:[],workspaceTitleByWorkspaceName:{},isMostRecentlyOpenedWindowHidden:!1});function eG(e){var t=eH.getState(),r=t.registeredWorkspacesByName,n=t.registeredWindowsByName,o=r[e];if(o){var i=n[o.window];if(i)return i;throw Error("No workspace window found with name: ".concat(o.window," for workspace: ").concat(e))}throw Error("No workspace found with name: ".concat(e))}function eX(e){var t=eH.getState(),r=t.registeredGroupsByName,n=t.registeredWindowsByName[e];if(n){var o=r[n.group];if(o)return o;throw Error("No workspace group found with name: ".concat(n.group," for window: ").concat(e))}throw Error("No workspace window found with name: ".concat(e))}function eW(e){return eH.getState().openedWindows.findIndex(function(t){return t.openedWorkspaces.find(function(t){return t.workspaceName===e})})}function eK(e,t){if(0!=t.length){var r=eF({},eH.getState().registeredGroupsByName),n=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var l=a.value;if(r[l.name])throw Error("Cannot register workspace group ".concat(l.name," more than once"));r[l.name]=eV(eF({},l),{moduleName:e})}}catch(e){o=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}eH.setState({registeredGroupsByName:r})}}function ez(e,t){if(0!=t.length){var r=eF({},eH.getState().registeredWindowsByName),n=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var l=a.value;if(r[l.name])throw Error("Cannot register workspace window ".concat(l.name," more than once"));var u=eV(eF({},l),{moduleName:e});r[l.name]=u}}catch(e){o=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}eH.setState({registeredWindowsByName:r})}}function eY(e,t){if(0!=t.length){var r=eF({},eH.getState().registeredWorkspacesByName),n=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var l=a.value;if(r[l.name])throw Error("Cannot register workspace ".concat(l.name," more than once"));var u=eV(eF({},l),{moduleName:e});r[l.name]=u}}catch(e){o=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}eH.setState({registeredWorkspacesByName:r})}}var eq=r(9250);function eJ(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function eQ(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){r(e);return}s.done?t(l):Promise.resolve(l).then(n,o)}function e$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function eZ(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){e$(e,t,r[t])})}return e}function e0(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}var e1=0;function e2(e,t,r,n){var o;return(o=function(e,t,r,n){var o,i,a,s,l,u,c,f,p,h,y,b,g=arguments;return function(e,t){var r,n,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),s=Object.defineProperty;return s(a,"next",{value:l(0)}),s(a,"throw",{value:l(1)}),s(a,"return",{value:l(2)}),"function"==typeof Symbol&&s(a,Symbol.iterator,{value:function(){return this}}),a;function l(s){return function(l){var u=[s,l];if(r)throw TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&u[0]?n.return:u[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,u[1])).done)return o;switch(n=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return i.label++,{value:u[1],done:!1};case 5:i.label++,n=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){i=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){i.label=u[1];break}if(6===u[0]&&i.label<o[1]){i.label=o[1],o=u;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(u);break}o[2]&&i.ops.pop(),i.trys.pop();continue}u=t.call(e,i)}catch(e){u=[6,e],n=0}finally{r=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}}(this,function(v){switch(v.label){case 0:if(o=g.length>4&&void 0!==g[4]?g[4]:function(e){return e},i=g.length>5&&void 0!==g[5]?g[5]:{},a=I(n),s=T(n),l=null,!e)return[3,3];if(!s)throw Error("Couldn't find extension '".concat(a,"' to attach to '").concat(t,"'"));if(u=s.meta,c=s.moduleName,f=s.online,p=s.offline,h=s.load,!d(f,p))return[3,2];return m(function(o){var i;return e0(eZ({},o),{extensions:e0(eZ({},o.extensions),e$({},a,e0(eZ({},o.extensions[a]),{instances:((function(e){if(Array.isArray(e))return eJ(e)})(i=o.extensions[a].instances)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(i)||function(e){if(e){if("string"==typeof e)return eJ(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return eJ(e,void 0)}}(i)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).concat([{domElement:e,id:n,slotName:t,slotModuleName:r}])})))})}),[4,h()];case 1:y=v.sent(),b=e1++,l=(0,eq.mountRootParcel)(o(e0(eZ({},y),{name:"".concat(t,"/").concat(a,"-").concat(b)})),e0(eZ({},i),{_meta:u,_extensionContext:{extensionId:n,extensionSlotName:t,extensionSlotModuleName:r,extensionModuleName:c},domElement:e})),v.label=2;case 2:return[3,4];case 3:console.warn("Tried to render ".concat(n," into ").concat(t," but no DOM element was available.")),v.label=4;case 4:return[2,l]}})},function(){var e=this,t=arguments;return new Promise(function(r,n){var i=o.apply(e,t);function a(e){eQ(i,r,n,a,s,"next",e)}function s(e){eQ(i,r,n,a,s,"throw",e)}a(void 0)})}).apply(this,arguments)}},5565(e,t,r){"use strict";r.d(t,{V:()=>c,t:()=>u});var n,o,i=(n=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({},{address1:"Address line 1",address2:"Address line 2",address3:"Address line 3",address4:"Address line 4",address5:"Address line 5",address6:"Address line 6",city:"City",cityVillage:"City",country:"Country",countyDistrict:"District",district:"District",postalCode:"Postal code",state:"State",stateProvince:"State"},{closeAllOpenedWorkspaces:"Discard changes in {{count}} workspaces",closingAllWorkspacesPromptBody:"There may be unsaved changes in the following workspaces. Do you want to discard changes in the following workspaces? {{workspaceNames}}",closingAllWorkspacesPromptTitle:"You have unsaved changes",discard:"Discard",hide:"Hide",maximize:"Maximize",minimize:"Minimize",openAnyway:"Open anyway",unsavedChangesInOpenedWorkspace:"You may have unsaved changes in the opened workspace. Do you want to discard these changes?",unsavedChangesInWorkspace:'There may be unsaved changes in "{{workspaceName}}". Please save them before opening another workspace.',unsavedChangesTitleText:"Unsaved changes",workspaceHeader:"Workspace header"},{closeWorkspaces2PromptTitle:"Close workspace(s)",closeWorkspaces2PromptBody:"You are about to close the following workspace(s), which might have unsaved changes:"}),o=o={abnormalValue:"Abnormal value",actions:"Actions",actionableNotification:"Actionable notification",address:"Address",age:"Age",batchActionItemSelected:"{{totalSelected}} item selected",batchActionsItemsSelected:"{{totalSelected}} items selected",cancel:"Cancel",change:"Change",close:"Close",closesActionableNotification:"Close actionable notification",closeSnackbar:"Close snackbar",confirm:"Confirm",contactAdministratorIfIssuePersists:"Contact your system administrator if the problem persists.",delete:"Delete",discardChanges:"Discard changes",edit:"Edit",emptyStateText:"There are no {{displayText}} to display",error:"Error",errorCopy:"Sorry, there was a problem displaying this information. You can try to reload this page, or contact the site administrator and quote the error code above.",errorLoadingLoginLocations:"Unable to load login locations. Please try again or contact support if the problem persists.",female:"Female",Framework:"Framework",groups:"Groups",loading:"Loading",male:"Male",noResultsToDisplay:"No results to display",notAvailable:"Not available",other:"Other",paginationItemsCount:"{{pageItemsCount}} / {{totalItems}} items",paginationOfPages:"of {{count}} pages",print:"Print",printError:"Print error",printErrorExplainer:"An error occurred in {{errorLocation}}",printing:"Printing",recordNewEntry:"Record {{displayText}}",resetOverrides:"Reset overrides",save:"Save",scriptLoadingFailed:"Error: Script failed to load",scriptLoadingError:"Failed to load overridden script from {{url}}. Please check that the bundled script is available at the expected URL. Click the button below to reset all import map overrides.",searchForLocation:"Search for a location",seeAll:"See all",seeMoreGroups:"See {{count}} more groups",selectAll:"Select all",sex:"Sex",showLess:"Show less",showMore:"Show more",snackbarNotification:"Snackbar notification",toggleDevTools:"Toggle dev tools",unknown:"Unknown",yearAbbreviation:"yr",yearsAbbreviation:"yrs"},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(o)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(o,e))}),n),a=r(8209),s=r.n(a),l=s().default||s();function u(e,t,r,n){return l.t(t,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({ns:e,defaultValue:r},n))}function c(e,t,r){return i[e]?u("core",e,null!=t?t:i[e],r):(console.error("O3 Core Translations does not provide key '".concat(e,"'. The key itself is being rendered as text.")),e)}l.on("initialized",function(){window.i18next.loadNamespaces(["core"])})},2316(e,t,r){"use strict";function n(e){return!window.offlineEnabled||(null!=e?e:navigator.onLine)}r.d(t,{s:()=>n})}}]);